/* ==========================================================================
   brainbooster.academy — Landing Page
   Basis-Stile extrahiert aus /Vorlagen/styles.css (Petrol-Palette, Dark-Mode,
   Outfit-Font, Radius-System) + Komponenten-Stile für den One-Pager.
   ========================================================================== */

/* ---------- Design Tokens (extrahiert aus Vorlagen/styles.css) ---------- */
:root {
  /* Petrol / Primary Palette */
  --color-primary-50:  #e8fbfb;
  --color-primary-400: #00a0a1;
  --color-primary-500: #007373;
  --color-primary-600: #005a5b;
  --color-primary-700: #004343;
  --color-primary-800: #003232;
  --color-primary-900: #002020;
  --color-primary-950: #001313;

  /* Neutrals (zinc) */
  --color-zinc-100: #f4f4f5;
  --color-zinc-200: #e4e4e7;
  --color-zinc-300: #d4d4d8;
  --color-zinc-400: #9f9fa9;
  --color-zinc-500: #71717b;
  --color-zinc-700: #3f3f46;
  --color-zinc-800: #27272a;
  --color-zinc-900: #18181b;
  --color-zinc-950: #09090b;

  /* Dark-Mode Semantik — Petrol-Basis entsprechend Vorlagen/bb.png */
  --background: #012428;
  --background-rgb: 1, 36, 40;
  --surface: #04343a;
  --surface-2: #053b42;
  --foreground: var(--color-zinc-200);
  --muted-foreground: #9ab8ba;
  --border: rgba(0, 160, 161, 0.18);
  --accent: var(--color-primary-400);

  /* Typografie */
  --font-sans: "Outfit", "Outfit Fallback", ui-sans-serif, system-ui, sans-serif;

  /* Radius-System */
  --radius: 0.625rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;

  /* Easing / Motion */
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);

  /* Layout */
  --container: 72rem;
  --nav-height: 4.5rem;

  /* Referenten-Slider (Geschwindigkeit via data-speed am #sliderViewport,
     Sekunden pro Durchlauf — kleiner = schneller) */
  --slider-card-width: 260px;
  --slider-gap: 1.25rem;
}

/* ------------------------------ Base Reset ------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
  background: transparent;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--color-primary-500);
  color: #fff;
}

/* ------------------------------- Utilities ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 6rem;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary-400);
  border: 1px solid var(--border);
  background: rgba(0, 115, 115, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted-foreground);
  max-width: 42rem;
  font-size: 1.075rem;
}

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

.text-center .section-intro {
  margin-inline: auto;
}

/* ------------------------- Hintergrund-Ambiente ------------------------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(0, 130, 131, 0.3), transparent 60%),
    radial-gradient(50rem 35rem at -10% 30%, rgba(0, 160, 161, 0.16), transparent 60%),
    radial-gradient(70rem 50rem at 50% 110%, rgba(0, 90, 91, 0.3), transparent 60%);
}

/* Struktur-Textur (Noise) — vorgerastertes PNG statt Filter-SVG:
   background.svg nutzt feTurbulence/feSpecularLighting, deren Rasterung
   Mobile Safari (iOS) massiv ausbremst. Das PNG ist 560px groß und wird
   auf 280px skaliert (feines Korn); Alpha ist eingebacken — opacity hier
   bewusst sehr dezent wie beim ursprünglichen Look. */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../images/noise.png");
  background-size: 280px;
  opacity: 0.12;
}

/* ------------------------------ Header / Nav ---------------------------- */
/* Schwebendes Pill-Menü im knotch-Stil: gleitet beim Laden von oben ein,
   bleibt sticky und verdichtet sich beim Scrollen. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 58rem);
  padding: 0.5rem 0.6rem 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 160, 161, 0.18);
  background: rgba(var(--background-rgb), 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation: nav-drop 0.9s var(--ease-out-quint) 0.1s both;
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-130%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header.is-scrolled .nav-pill {
  background: rgba(var(--background-rgb), 0.85);
  border-color: rgba(0, 160, 161, 0.32);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  display: flex;
  flex-shrink: 0;
}

.nav-logo img {
  height: 2.1rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
  background: rgba(0, 160, 161, 0.14);
}

.nav-cta {
  flex-shrink: 0;
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin-inline: 0;
    padding: 0.75rem;
    background: rgba(var(--background-rgb), 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
  }

  .nav-cta {
    display: none;
  }
}

/* --------------------------------- Hero --------------------------------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  text-align: center;
  max-width: 54rem;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-50);
  background: rgba(0, 115, 115, 0.18);
  border: 1px solid rgba(0, 160, 161, 0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.75rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary-400);
  box-shadow: 0 0 12px var(--color-primary-400);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--color-primary-400), #4fd6d7 55%, var(--color-primary-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subheadline {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted-foreground);
  max-width: 38rem;
  margin-inline: auto;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Gestaffelte Einblende-Animation des Headline-Blocks */
.hero [data-hero-step] {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-rise 0.9s var(--ease-out-quint) forwards;
}

.hero [data-hero-step="1"] { animation-delay: 0.05s; }
.hero [data-hero-step="2"] { animation-delay: 0.18s; }
.hero [data-hero-step="3"] { animation-delay: 0.32s; }
.hero [data-hero-step="4"] { animation-delay: 0.46s; }

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------- Hero Background-Animation ----------------------- */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Weich driftende Licht-Orbs (Aurora-Effekt).
   Kein filter:blur — zu teuer auf Mobile-GPUs (iOS); die radialen
   Gradients sind bereits weich auslaufend. */
.hero-bg .orb {
  position: absolute;
  border-radius: 999px;
  mix-blend-mode: screen;
  opacity: 0.65;
}

.orb-1 {
  width: 44rem;
  height: 44rem;
  top: -16rem;
  left: -12rem;
  background: radial-gradient(circle at 35% 35%, rgba(0, 160, 161, 0.5), transparent 65%);
  animation: orb-1 16s ease-in-out infinite alternate;
}

.orb-2 {
  width: 38rem;
  height: 38rem;
  top: 18%;
  right: -14rem;
  background: radial-gradient(circle at 60% 40%, rgba(79, 214, 215, 0.35), transparent 65%);
  animation: orb-2 20s ease-in-out infinite alternate;
}

.orb-3 {
  width: 52rem;
  height: 28rem;
  bottom: -12rem;
  left: 18%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 115, 115, 0.55), transparent 70%);
  animation: orb-3 24s ease-in-out infinite alternate;
}

@keyframes orb-1 {
  to { transform: translate(6rem, 4rem) scale(1.12); }
}

@keyframes orb-2 {
  to { transform: translate(-5rem, -3rem) scale(1.08); }
}

@keyframes orb-3 {
  to { transform: translate(-4rem, -2rem) scale(1.1); }
}

/* Feines, langsam wanderndes Grid mit radialem Fokus */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 251, 251, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 251, 251, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60rem 38rem at 50% 32%, black 15%, transparent 75%);
  mask-image: radial-gradient(60rem 38rem at 50% 32%, black 15%, transparent 75%);
  animation: grid-pan 12s linear infinite;
}

@keyframes grid-pan {
  to { background-position: -56px -56px; }
}

/* Wort-für-Wort-Animation der Headline (JS zerlegt in .word/.word-inner) */
.hero h1.split {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.hero h1 .word-inner {
  display: inline-block;
  transform: translateY(115%);
  animation: word-rise 0.85s var(--ease-out-quint) forwards;
  animation-delay: var(--word-delay, 0s);
}

@keyframes word-rise {
  to { transform: translateY(0); }
}

/* Gradient wandert bei der Wort-Animation auf die Einzelwörter */
.hero h1.split .accent {
  background: none;
  color: inherit;
}

.hero h1 .accent-word {
  background: linear-gradient(120deg, var(--color-primary-400), #4fd6d7 55%, var(--color-primary-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg .orb,
  .hero-grid,
  .nav-pill,
  .hero h1 .word-inner {
    animation: none;
  }

  .hero h1 .word-inner {
    transform: none;
  }
}

/* -------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-quint), box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 115, 115, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 160, 161, 0.45);
}

.btn-ghost {
  color: var(--foreground);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  background: rgba(0, 160, 161, 0.1);
  transform: translateY(-2px);
}

/* ------------------------------ Trailer / Video ------------------------- */
.video-frame {
  position: relative;
  margin-inline: auto;
  margin-top: 3rem;
  max-width: 56rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(40rem 20rem at 50% 120%, rgba(0, 115, 115, 0.35), transparent 70%),
    linear-gradient(160deg, var(--surface-2), var(--color-primary-950));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* Wenn das PeerTube-IFrame eingesetzt wird, füllt es den Rahmen komplett */
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--muted-foreground);
}

.video-placeholder .play-button {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 160, 161, 0.14);
  border: 1px solid rgba(0, 160, 161, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-quint), background 0.3s ease;
}

.video-placeholder .play-button:hover {
  transform: scale(1.08);
  background: rgba(0, 160, 161, 0.25);
}

.video-placeholder .play-button svg {
  width: 30px;
  height: 30px;
  fill: var(--color-primary-50);
  margin-left: 4px;
}

.video-placeholder p {
  font-size: 0.925rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------- Info --------------------------------- */
.info-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: linear-gradient(170deg, rgba(0, 50, 50, 0.35), rgba(14, 20, 20, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease-out-quint), border-color 0.35s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 160, 161, 0.35);
}

.info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 160, 161, 0.14);
  color: var(--color-primary-400);
  margin-bottom: 1.1rem;
}

.info-card .icon svg {
  width: 22px;
  height: 22px;
}

.info-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* --------------------------- Referenten-Slider -------------------------- */
.slider-section {
  overflow: hidden;
  padding-block: 5rem;
}

.slider-viewport {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}

/* Horizontales Rand-Overlay: außen abgedunkelt, zur Mitte hin klar.
   Aktivierbar über die Klasse .has-edge-fade am Viewport. */
.slider-viewport.has-edge-fade::before,
.slider-viewport.has-edge-fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(4rem, 12vw, 12rem);
  z-index: 2;
  pointer-events: none;
}

.slider-viewport.has-edge-fade::before {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.slider-viewport.has-edge-fade::after {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

/* Der Endlos-Lauf wird per JS (requestAnimationFrame) pixelgenau animiert.
   Bewusst KEINE CSS-Keyframes: Safari (macOS & iOS) rendert %-Transform-
   Keyframes auf großen, GPU-composited Tracks fehlerhaft — die Animation
   steht bzw. Karten verschwinden nach und nach. Auch Hover-Pause und
   prefers-reduced-motion übernimmt das JS. */
.slider-track {
  display: flex;
  gap: var(--slider-gap);
  width: max-content;
  will-change: transform;
}

/* Referenten-Bildkarte */
.referent-card {
  position: relative;
  width: var(--slider-card-width);
  flex-shrink: 0;
}

.referent-image {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.referent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-quint), filter 0.5s ease;
}

/* Abdunkelndes Overlay (Basis) */
.referent-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 19, 0.25);
  transition: background 0.4s ease;
  pointer-events: none;
}

/* Option: Gradient-Overlay – oben hell, nach unten abgedunkelt */
.referent-image.has-gradient::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 19, 19, 0.05) 0%,
    rgba(0, 19, 19, 0.25) 55%,
    rgba(0, 19, 19, 0.78) 100%
  );
}

/* Option: Schwarz-Weiß-Darstellung */
.referent-image.is-grayscale img {
  filter: grayscale(1);
}

.referent-card:hover .referent-image img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.referent-card:hover .referent-image::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 19, 19, 0) 0%,
    rgba(0, 19, 19, 0.15) 55%,
    rgba(0, 19, 19, 0.7) 100%
  );
}

.referent-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
}

.referent-meta .name {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
}

.referent-meta .role {
  color: var(--color-primary-50);
  opacity: 0.75;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* ------------------------------- Newsletter ----------------------------- */
.newsletter-card {
  margin-top: 3rem;
  background:
    radial-gradient(30rem 16rem at 80% -20%, rgba(0, 160, 161, 0.18), transparent 70%),
    linear-gradient(160deg, rgba(0, 50, 50, 0.45), rgba(14, 20, 20, 0.7));
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.newsletter-form {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  width: min(24rem, 100%);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 19, 19, 0.55);
  color: var(--foreground);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-zinc-500);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-primary-400);
  box-shadow: 0 0 0 4px rgba(0, 160, 161, 0.15);
}

.newsletter-hint {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-zinc-500);
}

.newsletter-success {
  margin-top: 1.5rem;
  color: var(--color-primary-400);
  font-weight: 500;
  display: none;
}

/* -------------------------------- Footer -------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 6rem;
  margin-top: 4rem;
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(0, 19, 19, 0.4));
}

.footer-logo img {
  height: 3rem;
  width: auto;
  margin-inline: auto;
  opacity: 0.9;
}

.footer-imprint {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--color-zinc-500);
  line-height: 1.7;
}

.footer-imprint strong {
  color: var(--muted-foreground);
  font-weight: 600;
}

.footer-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-links a,
.footer-links button {
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--color-primary-400);
}

/* --------------------------- Scroll-Reveal ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------- Datenschutz-Modal -------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(46rem, 100%);
  max-height: min(80vh, 44rem);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease-out-quint);
}

.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.modal-close:hover {
  background: rgba(0, 160, 161, 0.12);
  color: #fff;
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.modal-body h1,
.modal-body h2,
.modal-body h3 {
  color: #fff;
  font-weight: 600;
  margin: 1.5em 0 0.5em;
}

.modal-body h1:first-child,
.modal-body h2:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 1em;
}

.modal-body a {
  color: var(--color-primary-400);
  text-decoration: underline;
}

/* ---------------------------- Cookie-Consent ---------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(var(--background-rgb), 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-quint);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner .cookie-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 160, 161, 0.14);
  color: var(--color-primary-400);
}

.cookie-banner .cookie-icon svg {
  width: 24px;
  height: 24px;
}

.cookie-banner .cookie-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cookie-banner .cookie-text a {
  color: var(--color-primary-400);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner .btn {
  flex-shrink: 0;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-wrap: wrap;
  }

  .cookie-banner .cookie-text {
    flex-basis: calc(100% - 44px - 1.25rem);
  }

  .cookie-banner .btn {
    margin-left: auto;
  }
}
