/* =====================================================================
   Schriften – liegen auf dem eigenen Server (keine Verbindung zu Google).
   Die vier .woff2-Dateien liegen im selben Ordner wie style.css (siehe README).
   Fehlen sie, zeigt die Seite automatisch Ersatzschriften.
   ===================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("dm-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* =====================================================================
   Sun on Cue · Stylesheet
   Farben aus dem Logo: Schwarz, Weiß und Orange (#F7931D).
   Zwei Darstellungen über dieselben Farb-Tokens:
   – Golden Hour (hell): warmes Weiß, Schwarz, Orange – wie das Logo auf Weiß
   – Set bei Nacht (dunkel): Schwarz, warmes Weiß, Orange – wie das Logo auf Schwarz
   Ohne Auswahl folgt die Seite der Systemeinstellung der Besucher,
   über den Schalter in der Kopfzeile lässt sie sich umstellen.
   Farben nur über die Tokens ändern, nie direkt in den Komponenten.
   ===================================================================== */

:root {
  /* ---------- Golden Hour ---------- */
  --bg: #FFF9F2;
  --surface: #FFFFFF;
  --tint: #FFEFDC;
  --ink: #141210;
  --muted: #5E564D;
  --line: rgba(20, 18, 16, 0.14);
  --line-strong: rgba(20, 18, 16, 0.3);
  --sun: #F7931D;          /* Markenorange aus dem Logo */
  --sun-hi: #FFC872;
  --sun-text: #A34F00;     /* Orange für Text auf hellem Grund */
  --on-sun: #141210;
  --dusk: #8A3B0C;
  --deep: #1E1712;
  --glow: rgba(247, 147, 29, 0.45);
  --shadow: 0 40px 80px -36px rgba(20, 18, 16, 0.45);
  --error: #B42318;
  --grain: 0;
  --logo-ink: #231F20;     /* „SUN“ im Logo (Schwarz aus der Logodatei) */

  /* Ablauf-Band: in beiden Looks dunkel, wie eine Schnitt-Timeline */
  --band-bg: #141210;
  --band-ink: #F7F2EA;
  --band-muted: #BDB3A7;
  --band-sun: #F7931D;

  /* Farben, die in beiden Looks gleich bleiben */
  --on-media: #FFF9F2;
  --media-scrim: rgba(15, 14, 13, 0.55);
  --clip-1: #FFE0A8;
  --clip-2: #FFC872;
  --clip-3: #F7931D;
  --clip-4: #E5761A;
  --clip-5: #C95F16;
  --clip-ink: #141210;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.3 -.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* ---------- Schrift & Raster ---------- */
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display-stretch: 82%;  /* Überschriften etwas schmaler, passend zum Logo */

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --header-h: 90px;
  --pad-y: clamp(80px, 11vw, 150px);
  --r-frame: 20px;
  --r-box: 24px;
}

/* ---------- Set bei Nacht ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0F0E0D;
    --surface: #1A1816;
    --tint: #23201C;
    --ink: #F7F2EA;
    --muted: #ADA398;
    --line: rgba(247, 242, 234, 0.12);
    --line-strong: rgba(247, 242, 234, 0.28);
    --sun-text: #FFA640;
    --on-sun: #0F0E0D;
    --dusk: #5C2A0B;
    --deep: #0A0908;
    --glow: rgba(247, 147, 29, 0.3);
    --shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.85);
    --error: #FF9C8F;
    --grain: 0.05;
    --logo-ink: #FFFFFF;
    --band-bg: #1A1816;
    --band-ink: #F7F2EA;
    --band-muted: #ADA398;
    --band-sun: #FFA640;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F0E0D;
  --surface: #1A1816;
  --tint: #23201C;
  --ink: #F7F2EA;
  --muted: #ADA398;
  --line: rgba(247, 242, 234, 0.12);
  --line-strong: rgba(247, 242, 234, 0.28);
  --sun-text: #FFA640;
  --on-sun: #0F0E0D;
  --dusk: #5C2A0B;
  --deep: #0A0908;
  --glow: rgba(247, 147, 29, 0.3);
  --shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.85);
  --error: #FF9C8F;
  --grain: 0.05;
  --logo-ink: #FFFFFF;
  --band-bg: #1A1816;
  --band-ink: #F7F2EA;
  --band-muted: #ADA398;
  --band-sun: #FFA640;
}

/* =====================================================================
   Grundlagen
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img, video { max-width: 100%; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Filmkorn, nur im Look „Set bei Nacht“ sichtbar */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: var(--noise);
  opacity: var(--grain);
}

.site { overflow-x: clip; }

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-color: var(--sun); }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  text-wrap: balance;
}
h1 { font-weight: 800; font-stretch: var(--display-stretch); line-height: 0.95; letter-spacing: -0.02em; }
h2 {
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.375rem);
  font-weight: 800;
  font-stretch: var(--display-stretch);
  line-height: 1;
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.lead {
  max-width: 36em;
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.8125rem/1.2 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun-text);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sun);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.logo-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip:focus { transform: translateY(0); }

/* =====================================================================
   Buttons & Chips
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2, .7, .2, 1), box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn--small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn--primary { background: var(--sun); color: var(--on-sun); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--glow); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--tint); border-color: var(--ink); }
.btn__icon { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font: 500 0.6875rem/1 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =====================================================================
   Kopfzeile, Navigation & Darstellungs-Schalter
   ===================================================================== */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.4s ease;
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 2.2vw, 28px);
  min-height: var(--header-h);
}

/* Logo: „SUN“ übernimmt die Logofarbe des Looks, „ON CUE“ bleibt orange */
.logo-link {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  color: var(--logo-ink);
  text-decoration: none;
}
.logo {
  display: block;
  width: auto;
  height: 72px;            /* so groß, dass „ON CUE“ auch auf normalen Bildschirmen scharf bleibt */
  aspect-ratio: 180.94 / 192.39;
  overflow: visible;
}
.logo--footer { height: 112px; }
@media (max-width: 560px) {
  :root { --header-h: 80px; }
  .logo--header { height: 60px; }
}

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 2.4vw, 36px); }
.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(16px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-size: 0.975rem;
  text-decoration: none;
}
.nav__list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__list a:hover::after,
.nav__list a[aria-current="location"]::after { transform: scaleX(1); }

/* Schalter Golden Hour / Set bei Nacht (funktioniert nur mit JavaScript) */
.theme-switch {
  display: none;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.js .theme-switch { display: inline-flex; }
.theme-switch button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.theme-switch button svg { width: 18px; height: 18px; }
.theme-switch button:hover:not([aria-pressed="true"]) { background: var(--tint); }
.theme-switch button[aria-pressed="true"] { background: var(--sun); color: var(--on-sun); }
@media (pointer: coarse) {
  .theme-switch button { width: 40px; height: 40px; }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 16px; height: 10px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }
[data-open="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
[data-open="true"] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

.back-link { font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; text-decoration-color: var(--sun); }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.35);
  }
  .js .site-header[data-open="true"] .nav { display: flex; }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
  }
  .js .nav__list a::after { display: none; }
  .js .nav .btn { align-self: flex-start; }
}

/* =====================================================================
   Einstieg
   ===================================================================== */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(32px, 6vw, 88px) clamp(56px, 7vw, 96px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}
.hero__text { position: relative; z-index: 1; display: grid; justify-items: start; gap: clamp(20px, 2.6vw, 30px); }
.hero__title { font-size: clamp(2.8rem, 1rem + 5vw, 5.4rem); }
.hero__title span { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  font: 500 0.8125rem/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Bühne: tief stehende Sonne am Horizont, darunter die Spiegelung */
.stage {
  --stage-h: clamp(230px, 44vw, 440px);
  position: relative;
  height: var(--stage-h);
  isolation: isolate;
}
.sun {
  position: absolute;
  bottom: 30%;
  left: 50%;
  z-index: 0;
  width: min(90%, calc(var(--stage-h) * 0.95));
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun-hi) 8%, var(--sun) 82%);
  box-shadow: 0 0 110px 36px var(--glow);
  transform: translate(-50%, 32%);
}
.stage__ground {
  position: absolute;
  top: 70%;
  right: -40%;
  bottom: -400px;
  left: -40%;
  z-index: 1;
  background: var(--bg);
  transition: background-color 0.4s ease;
}
.stage__horizon {
  position: absolute;
  top: 70%;
  right: -12%;
  left: -12%;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
}
.stage__reflection {
  position: absolute;
  top: calc(70% + 6px);
  left: 50%;
  z-index: 2;
  width: min(70%, calc(var(--stage-h) * 0.8));
  height: 24%;
  background: repeating-linear-gradient(180deg, var(--sun) 0 2px, transparent 2px 9px);
  opacity: 0.55;
  transform: translateX(-50%);
  -webkit-mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 0%, transparent 100%);
}

@media (min-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

/* =====================================================================
   Video-Rahmen (für den Abschnitt „Arbeiten“, sobald Reels da sind)
   ===================================================================== */

.frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-frame);
  background: var(--deep);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.frame video,
.frame > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame video { opacity: 0; transition: opacity 0.6s ease; }
.frame.is-ready video { opacity: 1; }
.cue {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 28%, transparent);
}
/* Lichtstimmung, solange ein Video noch lädt */
.ph-media {
  --x: calc(22% + var(--i, 0) * 7%);
  --y: calc(28% + var(--i, 0) * 3%);
  --x2: calc(78% - var(--i, 0) * 5%);
  --y2: calc(64% - var(--i, 0) * 2%);
  --a: calc(150deg + var(--i, 0) * 23deg);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background: var(--deep);
}
.ph-media::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(34% 28% at var(--x) var(--y), var(--sun-hi) 0%, transparent 100%),
    radial-gradient(44% 36% at var(--x2) var(--y2), var(--sun) 0%, transparent 100%),
    radial-gradient(60% 45% at 50% 105%, var(--dusk) 0%, transparent 100%),
    linear-gradient(var(--a), var(--deep) 10%, var(--dusk) 90%);
}

/* =====================================================================
   Abschnitte
   ===================================================================== */

.section { padding-block: var(--pad-y); }
.section--flush-top { padding-top: 0; }
.hero + .section { padding-top: clamp(40px, 6vw, 88px); }

.section__head {
  display: grid;
  justify-items: start;
  gap: clamp(16px, 2vw, 22px);
  max-width: 50rem;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head--split { max-width: none; }
.section__title { display: grid; justify-items: start; gap: clamp(16px, 2vw, 22px); }

@media (min-width: 960px) {
  .section__head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(32px, 6vw, 96px);
  }
}

/* ---------- Leistungen ---------- */

.goals {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 4vw, 56px);
}
.goal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.goal > p:not(.goal__label) { color: var(--muted); text-wrap: pretty; }
.goal__label {
  margin-top: auto;
  padding-top: 8px;
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.formats li {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.875rem;
  line-height: 1.2;
}

.deliver {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  background: var(--surface);
}
.deliver__intro { display: grid; align-content: start; gap: 12px; }
.deliver__intro p { color: var(--muted); }
.deliver__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 14px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.deliver__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 600;
}
.deliver__list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  transform: translateY(-2px);
}

@media (min-width: 560px) {
  .deliver__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 880px) {
  .goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deliver { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(32px, 5vw, 72px); }
}

/* ---------- Arbeiten: Vorführung im Sucher ----------
   Eine dunkle Bühne in beiden Looks. Das gewählte Reel läuft im Sucher (Hochformat mit Bildecken),
   hinter dem die Sonne nachglüht. Rechts der Name des Reels groß und darunter die Auswahl. */

.section.showcase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--band-bg);
  color: var(--band-ink);
}
.hero + .section.showcase { padding-top: var(--pad-y); }
.showcase .eyebrow { color: var(--band-sun); }
.showcase .eyebrow::before { background: var(--band-sun); }
.showcase .lead { color: var(--band-muted); }
.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.05;
}

.showcase__grid {
  display: grid;
  gap: 24px;
  margin-top: clamp(32px, 5vw, 72px);
  align-items: center;
}
/* Sucher: am Handy so hoch, dass Bühne und Auswahl zusammen ins Bild passen,
   am Computer so hoch, dass die Bühne samt Kopfzeile ganz zu sehen ist */
.showcase { --viewer-w: min(400px, max(220px, calc((100svh - 330px) * 0.5625))); }
.viewer {
  position: relative;
  width: min(100%, var(--viewer-w));
  margin-inline: auto;
}
@media (min-width: 1000px) {
  .showcase { --viewer-w: min(400px, max(260px, calc((100svh - 170px) * 0.5625))); }
  .showcase__grid { grid-template-columns: var(--viewer-w) minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); }
  .viewer { width: 100%; margin-inline: 0; }
}
/* Nachglühen: tief stehende Sonne hinter dem Monitor */
.viewer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -38%;
  width: 290%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--sun-hi) 75%, transparent) 0%,
    color-mix(in srgb, var(--sun) 55%, transparent) 30%,
    color-mix(in srgb, var(--dusk) 40%, transparent) 56%,
    transparent 100%);
  pointer-events: none;
}
.viewer__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(247, 242, 234, 0.16),
    0 60px 120px -50px rgba(0, 0, 0, 0.9);
}
.viewer__poster,
.viewer__layer,
.viewer__full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewer__layer { opacity: 0; transition: opacity 0.45s ease; }
.viewer__layer.is-front { opacity: 1; }
.viewer__full { z-index: 3; object-fit: contain; background: #000; }

/* Bildecken wie im Kamerasucher */
.viewer__marks {
  --m: rgba(247, 242, 234, 0.8);
  --l: 22px;
  --w: 2px;
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) top left / var(--l) var(--w),
    linear-gradient(var(--m), var(--m)) top left / var(--w) var(--l),
    linear-gradient(var(--m), var(--m)) top right / var(--l) var(--w),
    linear-gradient(var(--m), var(--m)) top right / var(--w) var(--l),
    linear-gradient(var(--m), var(--m)) bottom left / var(--l) var(--w),
    linear-gradient(var(--m), var(--m)) bottom left / var(--w) var(--l),
    linear-gradient(var(--m), var(--m)) bottom right / var(--l) var(--w),
    linear-gradient(var(--m), var(--m)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.viewer__status,
.viewer__time {
  position: absolute;
  top: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #F7F2EA;
  font: 500 0.75rem/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.viewer__status { left: 28px; }
.viewer__time { right: 28px; }
.viewer__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 32%, transparent);
}
.viewer__progress {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(247, 242, 234, 0.28);
  pointer-events: none;
}
.viewer__progress span { display: block; width: 0; height: 100%; background: var(--sun); }

/* Die ganze Bühne startet das Reel mit Ton */
.viewer__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 52px;
  border-radius: inherit;
  color: var(--on-sun);
  text-decoration: none;
}
.viewer__play:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }
.viewer__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px 0 8px;
  border-radius: 999px;
  background: var(--sun);
  font: 600 1rem/1 var(--font-body);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s cubic-bezier(.2, .7, .2, 1);
}
.viewer__pill svg {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--on-sun);
  color: var(--sun);
}
.viewer__dur { font: 500 0.8125rem/1 var(--font-mono); font-variant-numeric: tabular-nums; opacity: 0.7; }
.viewer__play:hover .viewer__pill { transform: translateY(-3px); }
.viewer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #F7F2EA;
  font: 600 0.875rem/1 var(--font-body);
  cursor: pointer;
}
.viewer__close svg { width: 16px; height: 16px; }
.viewer__close[hidden] { display: none; }
.viewer__screen.is-playing .viewer__play,
.viewer__screen.is-playing .viewer__marks,
.viewer__screen.is-playing .viewer__status,
.viewer__screen.is-playing .viewer__time,
.viewer__screen.is-playing .viewer__progress,
.viewer__screen.is-static .viewer__status,
.viewer__screen.is-static .viewer__time,
.viewer__screen.is-static .viewer__progress { display: none; }

/* Name des Reels und Auswahl */
.showcase__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
}
/* Am Handy steht die Auswahl direkt unter der Bühne, der Name darunter */
@media (max-width: 999px) {
  .showcase__info .bin { order: -1; }
}
.showcase__now { display: grid; gap: 12px; }
.showcase__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: var(--display-stretch);
  font-size: clamp(2.5rem, 1rem + 6vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--band-ink);
}
.showcase__format {
  max-width: 36ch;
  min-height: 2.7em; /* zwei Zeilen reserviert: Die Auswahl springt beim Wechsel nicht */
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.5rem);
  line-height: 1.35;
  color: var(--band-muted);
}
.showcase__format > span { display: inline-block; }
.showcase__client { color: var(--band-ink); }
.showcase__now.is-changing .showcase__title,
.showcase__now.is-changing .showcase__format { animation: showcase-swap 0.5s cubic-bezier(.2, .7, .2, 1) both; }
.showcase__now.is-changing .showcase__format { animation-delay: 0.06s; }
@keyframes showcase-swap { from { opacity: 0; transform: translateY(18px); } }

.bin {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
  max-width: 600px;
}
.clip {
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: 14px;
  color: var(--band-muted);
  text-decoration: none;
}
.clip__thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(247, 242, 234, 0.14);
  transition: transform 0.25s cubic-bezier(.2, .7, .2, 1), box-shadow 0.25s ease;
}
.clip__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
  transition: filter 0.25s ease, transform 0.6s cubic-bezier(.2, .7, .2, 1);
}
.clip:hover .clip__thumb { transform: translateY(-3px); }
.clip:hover .clip__thumb img { transform: scale(1.05); }
.clip:hover .clip__thumb img,
.clip:focus-visible .clip__thumb img,
.clip.is-active .clip__thumb img { filter: none; }
.clip.is-active .clip__thumb { box-shadow: 0 0 0 2px var(--band-sun); }
.clip:focus-visible { outline: none; }
.clip:focus-visible .clip__thumb { box-shadow: 0 0 0 2px var(--band-bg), 0 0 0 5px var(--band-ink); }
.clip__progress {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(247, 242, 234, 0.3);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.clip.is-active .clip__progress { opacity: 1; }
.clip__progress span { display: block; width: 0; height: 100%; background: var(--band-sun); }
.clip__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1.125rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--band-muted);
  hyphens: auto;
  overflow-wrap: anywhere;
}
.clip.is-active .clip__name { color: var(--band-ink); }
.clip__dur {
  margin-top: -6px;
  font: 500 0.75rem/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--band-muted);
}

@media (prefers-reduced-motion: reduce) {
  .showcase__now.is-changing .showcase__title,
  .showcase__now.is-changing .showcase__format { animation: none; }
  .viewer__layer,
  .clip__thumb,
  .clip__thumb img,
  .viewer__pill { transition: none; }
  .clip:hover .clip__thumb img { transform: none; }
}

/* ---------- Ablauf ---------- */

.band { background: var(--band-bg); color: var(--band-ink); }
.band .eyebrow { color: var(--band-sun); }
.band .eyebrow::before { background: var(--band-sun); }

.timeline { position: relative; }
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step:nth-child(1) { --clip-a: var(--clip-1); --clip-b: var(--clip-2); }
.step:nth-child(2) { --clip-a: var(--clip-2); --clip-b: var(--clip-3); }
.step:nth-child(3) { --clip-a: var(--clip-3); --clip-b: var(--clip-4); }
.step:nth-child(4) { --clip-a: var(--clip-4); --clip-b: var(--clip-5); }
.step:nth-child(5) { --clip-a: var(--clip-5); --clip-b: var(--clip-5); }

.step__clip {
  position: relative;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: center;
  min-height: 88px;
  padding-top: 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--clip-a), var(--clip-b));
}
.step__clip::before,
.step__clip::after {
  content: "";
  position: absolute;
  right: 12px;
  left: 12px;
  height: 3px;
  border-radius: 2px;
  background: rgba(20, 18, 16, 0.3);
}
.step__clip::before { top: 5px; }
.step__clip::after { bottom: 5px; }
.step__no {
  font: 500 0.8125rem/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--clip-ink);
}
.step h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem); color: var(--band-ink); }
.step p { font-size: 1rem; color: var(--band-muted); text-wrap: pretty; }

.playhead {
  display: none;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: var(--band-ink);
}
.playhead::before {
  content: "";
  position: absolute;
  background: var(--band-ink);
}
/* Handy: waagrechte Linie, die nach unten wandert */
.timeline.is-armed .playhead { display: block; top: 0; left: -6px; width: 56px; height: 2px; }
.timeline.is-armed .playhead::before {
  top: 50%;
  left: -6px;
  width: 10px;
  height: 12px;
  transform: translateY(-50%);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%);
}
.timeline.is-live .playhead { animation: playhead-y 2.8s cubic-bezier(.65, 0, .35, 1) forwards; }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 8px; }
  .step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    row-gap: 14px;
    padding-bottom: 0;
  }
  .step h3, .step p { padding-right: 18px; }
  .step h3 { min-height: 2.3em; } /* Titel mit einer oder zwei Zeilen: Texte starten auf einer Linie */
  .step__clip {
    grid-row: auto;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    height: 48px;
    margin-bottom: 12px;
    padding: 0 18px;
    background: linear-gradient(90deg, var(--clip-a), var(--clip-b));
  }
  .step__clip::before,
  .step__clip::after { top: 10px; bottom: 10px; width: 3px; height: auto; }
  .step__clip::before { left: 5px; right: auto; }
  .step__clip::after { right: 5px; left: auto; }

  .timeline.is-armed .playhead { top: -10px; left: 0; width: 2px; height: 68px; }
  .timeline.is-armed .playhead::before {
    top: -4px;
    left: 50%;
    width: 14px;
    height: 12px;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
  }
  .timeline.is-live .playhead { animation-name: playhead-x; }
}

@keyframes playhead-x { from { left: 0; } to { left: calc(100% - 2px); } }
@keyframes playhead-y { from { top: 0; } to { top: calc(100% - 2px); } }

/* ---------- Über uns ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px);
}
.about__head { margin-bottom: 0; }
.team {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.person {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.person h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; font-stretch: var(--display-stretch); letter-spacing: -0.02em; }
.person__role {
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun-text);
}
.person > p:not(.person__role) { color: var(--muted); text-wrap: pretty; }

@media (min-width: 720px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
}
@media (min-width: 960px) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .about__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
}
.faq__head { display: grid; justify-items: start; gap: 18px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--sun-text); }
.faq__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.faq__icon::after { transform: rotate(90deg); }
details[open] .faq__icon { background: var(--sun); border-color: var(--sun); }
details[open] .faq__icon::before,
details[open] .faq__icon::after { background: var(--on-sun); }
details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { max-width: 44em; padding: 0 48px 26px 0; color: var(--muted); }

@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}
@media (min-width: 960px) {
  .contact { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

.form { display: grid; gap: 24px; }
.form__fields { display: grid; gap: 22px; }

.choices-set { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.choices-set legend { margin-bottom: 12px; padding: 0; font-weight: 600; }
.optional { margin-left: 6px; font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.choice span::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.choice input:checked + span::before { background: var(--sun); border-color: var(--sun); }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }

.row-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 620px) {
  .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field { display: grid; align-content: start; gap: 8px; }
.field label { font-size: 0.975rem; font-weight: 600; }
.req { color: var(--sun-text); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.85; }
.field input:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--sun);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 24%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 0.9rem; color: var(--error); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note { max-width: 40em; font-size: 0.9rem; color: var(--muted); }
.form__status {
  padding: 14px 16px;
  border: 1px solid var(--error);
  border-radius: 14px;
  font-size: 0.95rem;
  color: var(--error);
}

.form-done {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  background: var(--surface);
}
.form-done:focus { outline: none; }
.form-done__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.form-done__preview {
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun-text);
}
.form-done .btn { margin-top: 8px; }

.form-flash { display: none; padding: 14px 16px; border-radius: 14px; background: var(--tint); }
.form-flash:target { display: block; }
.form-flash--error { color: var(--error); }

.direct {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-box);
  background: var(--tint);
}
.direct__list { display: grid; gap: 20px; margin: 0; }
.direct__list dt {
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.direct__list dd {
  margin: 6px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.direct__list a { text-decoration: none; }
.direct__list a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.direct__copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.direct__social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.copy-btn {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 0.8125rem/1 var(--font-body);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }

/* =====================================================================
   Fußzeile
   ===================================================================== */

.site-footer {
  padding-block: 36px calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}
.site-footer__brand { display: flex; align-items: center; gap: 20px; }
.site-footer__brand .logo-link { margin-right: 0; }
.site-footer__brand p { max-width: 14em; font-size: 0.95rem; line-height: 1.45; color: var(--muted); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.site-footer__copy { font-size: 0.9rem; font-variant-numeric: tabular-nums; color: var(--muted); }

/* =====================================================================
   Rechtliche Seiten
   ===================================================================== */

.legal { padding-block: clamp(40px, 7vw, 96px) clamp(72px, 10vw, 128px); }
.legal__wrap { display: grid; justify-items: start; gap: clamp(24px, 3vw, 36px); max-width: 46rem; }
.legal h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.5rem); line-height: 0.98; }
.legal__meta { margin-top: -12px; font: 500 0.8125rem/1.4 var(--font-mono); color: var(--muted); }
.legal__block { display: grid; gap: 10px; width: 100%; padding-top: 24px; border-top: 1px solid var(--line); }
.legal__block h2 { font-size: 1.35rem; font-weight: 600; font-stretch: 100%; line-height: 1.2; letter-spacing: -0.01em; }
.legal__block p { max-width: 42em; }
.legal__block ul { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; }
.legal__block li::marker { color: var(--sun); }

/* =====================================================================
   Bewegung
   ===================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .sun { animation: sunrise 1.9s cubic-bezier(.2, .75, .25, 1) 0.1s both; }
  .ph-media::before {
    animation: drift 20s ease-in-out infinite alternate;
    animation-delay: calc(var(--i, 0) * -2.3s);
  }
}

@keyframes sunrise {
  from { transform: translate(-50%, 90%); }
  to { transform: translate(-50%, 32%); }
}
@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1); }
  to { transform: translate3d(3%, 3%, 0) rotate(4deg) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
