@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-elevated: #242424;
  --accent: #E3000F;
  --accent-light: #fb2424;
  --accent-dark: #d90606;
  --text-primary: #fafafa;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --border: #2e2e2e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logoimg {
  height: 32px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Layout */
.section-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Impressum Page */
.legal-page {
  padding: 9rem 0 5rem;
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.legal-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.legal-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
}

.legal-block + .legal-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.legal-block h2 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  color: var(--text-primary);
}

.legal-block p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.legal-block a {
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

.legal-block a:hover {
  color: var(--accent-light);
}

/* Footer */
footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0 0 0;
    gap: 0;
  }

  .nav-links.active li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active li:last-child {
    border-bottom: none;
  }

  .nav-links.active a {
    display: block;
    padding: 1.35rem 2rem;
    font-size: 1.1rem;
  }

  .legal-page {
    padding: 7rem 0 4rem;
  }

  .legal-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .legal-block + .legal-block {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 1rem auto;
  }

  .footer-bottom {
    text-align: center;
  }
}


/* Cookie-Banner */
#cookie-banner {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 2rem;
	background: rgba(0, 0, 0, 0.196);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.cookie-box {
	position: relative;
	width: min(720px, 100%);
	padding: 2rem;
	background: rgba(26, 26, 26, 0.885);
	border: 1px solid var(--border);
	border-radius: 16px;
	color: var(--text-primary);
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.816),
		0 0 30px rgba(227, 0, 15, 0.08);
	animation: cookie-banner-in 0.35s ease;
}

.cookie-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 2rem;
	right: 2rem;
	height: 3px;
	border-radius: 0 0 4px 4px;
	background: var(--accent);
}

.cookie-box h2 {
	margin: 0 0 0.75rem;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-primary);
}

.cookie-box p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.7;
}

.cookie-box a {
	display: inline-block;
	margin-top: 0.25rem;
	color: var(--text-secondary);
	font-size: 0.85rem;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.2s;
}

.cookie-box a:hover {
	color: var(--accent-light);
}

.cookie-buttons {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 0.75rem;
}

.cookie-buttons button {
	min-height: 46px;
	padding: 0.75rem 1.4rem;
	border-radius: 9px;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s,
		border-color 0.2s,
		color 0.2s,
		transform 0.2s,
		box-shadow 0.2s;
}

.cookie-buttons button:hover {
	transform: translateY(-2px);
}

.cookie-buttons button:focus-visible {
	outline: 2px solid var(--accent-light);
	outline-offset: 3px;
}

#cookie-reject {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text-primary);
}

#cookie-reject:hover {
	background: var(--bg-elevated);
	border-color: var(--text-muted);
}

#cookie-accept {
	background: var(--accent);
	border: 1px solid var(--accent);
	color: var(--text-primary);
	box-shadow: 0 8px 24px rgba(227, 0, 15, 0.2);
}

#cookie-accept:hover {
	background: var(--accent-light);
	border-color: var(--accent-light);
	box-shadow: 0 10px 30px rgba(227, 0, 15, 0.3);
}

@keyframes cookie-banner-in {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 600px) {
	#cookie-banner {
		padding: 1rem;
	}

	.cookie-box {
		padding: 1.5rem;
		border-radius: 14px;
	}

	.cookie-box::before {
		left: 1.5rem;
		right: 1.5rem;
	}

	.cookie-box h2 {
		font-size: 1.25rem;
	}

	.cookie-buttons {
		flex-direction: column-reverse;
	}

	.cookie-buttons button {
		width: 100%;
	}
}