/* fonts.css wird im <head> separat verlinkt — ein @import hier würde die
   Schriften erst nach dem Laden dieses Stylesheets anfordern. */

/* ---------------------------------------------------------------- Tokens */

:root {
  --bg: #0D0D0C;
  --fg: #F5F5F1;
  --accent: #C8FF2E;
  --accent-glow: rgba(200, 255, 46, 0.2);
  --muted: #8C8C84;
  --dim: #6E6E68;
  --line: #1F1F1D;
  --surface: #161614;
  --surface-2: #131311;
  --surface-3: #1A1A18;
  --border: #262623;
  --input-bg: #0F0F0D;
  --frame: #33332E;

  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', var(--sans);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1440px;
  --nav-h: 90px;
}

/* ------------------------------------------------------------------ Base */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  font: 500 15px var(--sans);
  padding: 12px 20px;
  border-radius: 999px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ------------------------------------------------------------ Animations */

@keyframes blurIn {
  from { opacity: 0; filter: blur(12px); transform: translateY(-24px); }
  to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes blurSoft {
  from { opacity: 0; filter: blur(12px); }
  to   { opacity: 1; filter: blur(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* --------------------------------------------------------------- Navbar */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: clamp(14px, 3vw, 22px) clamp(14px, 4vw, 40px);
}

.nav__brand {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font: 700 17px var(--sans);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav__brand-dot { color: var(--accent); }

.nav__menu-wrap { position: relative; }

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 28px; height: 2px;
  background: var(--muted);
  transition: background 0.2s ease, transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle:hover span { background: var(--fg); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

.nav__menu {
  position: absolute;
  top: 100%; left: 8px;
  margin-top: 10px;
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  list-style: none;
}
.nav__menu[hidden] { display: none; }
.nav__menu a {
  display: block;
  font: 700 19px var(--sans);
  letter-spacing: -0.02em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__menu a:hover { background: var(--surface); }
.nav__menu a[aria-current="page"] { color: var(--accent); }

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font: 400 13px var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.status__dot {
  width: 7px; height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2.4s ease infinite;
}
@media (max-width: 779px) { .nav .status { display: none; } }

@media (max-width: 779px) {
  .nav {
    background: rgba(13, 13, 12, 0.72);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  }
}

/* ----------------------------------------------------------------- Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(104px, 20vh, 130px) 18px clamp(120px, 22vh, 150px);
}

.hero__title { width: 100%; margin: 0; font-weight: 400; }

.hero__pill {
  position: absolute;
  top: clamp(78px, 13vh, 104px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font: 400 12px var(--mono);
  color: #A8A8A0;
  white-space: nowrap;
}
@media (min-width: 780px) { .hero__pill { display: none; } }

.hero__stage { display: block; position: relative; width: 100%; text-align: center; }

.hero__wordmark {
  display: flex;
  justify-content: center;
  font: 800 clamp(66px, 15.5vw, 224px) / 0.8 var(--display);
  letter-spacing: -0.05em;
  color: var(--accent);
  white-space: nowrap;
}
.hero__wordmark span { animation: blurIn 0.6s ease-out both; }
.hero__wordmark:nth-of-type(1) span:nth-child(1) { animation-delay: 0.05s; }
.hero__wordmark:nth-of-type(1) span:nth-child(2) { animation-delay: 0.15s; }
.hero__wordmark:nth-of-type(1) span:nth-child(3) { animation-delay: 0.25s; }
.hero__wordmark:nth-of-type(1) span:nth-child(4) { animation-delay: 0.35s; }
.hero__wordmark:nth-of-type(1) span:nth-child(5) { animation-delay: 0.45s; }
.hero__wordmark:nth-of-type(1) span:nth-child(6) { animation-delay: 0.55s; }
.hero__wordmark:nth-of-type(2) span:nth-child(1) { animation-delay: 0.50s; }
.hero__wordmark:nth-of-type(2) span:nth-child(2) { animation-delay: 0.60s; }
.hero__wordmark:nth-of-type(2) span:nth-child(3) { animation-delay: 0.70s; }
.hero__wordmark:nth-of-type(2) span:nth-child(4) { animation-delay: 0.80s; }
.hero__wordmark:nth-of-type(2) span:nth-child(5) { animation-delay: 0.90s; }
.hero__wordmark:nth-of-type(2) span:nth-child(6) { animation-delay: 1.00s; }

.hero__portrait {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  animation: blurSoft 0.9s 0.9s ease-out both;
}
.hero__portrait img {
  width: clamp(74px, 9vw, 130px);
  aspect-ratio: 129 / 218;
  height: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 999px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75);
  transition: transform 0.4s ease;
}
.hero__portrait img:hover { transform: scale(1.08); }

.hero__claim {
  position: absolute;
  bottom: clamp(84px, 12vh, 132px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  font: 400 clamp(16px, 1.5vw, 22px) / 1.5 var(--sans);
  letter-spacing: normal;
  color: var(--muted);
  animation: blurSoft 0.8s 1.15s ease-out both;
  transition: color 0.3s ease;
}
.hero__claim:hover { color: var(--fg); }

.hero__target {
  display: inline-block;
  width: 27ch;
  max-width: 100%;
  white-space: nowrap;
  text-align: center;
}

.hero__rotator {
  display: inline-block;
  white-space: nowrap;
  color: var(--accent);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.hero__rotator.is-out { opacity: 0; transform: translateY(-8px); }

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 30px;
  line-height: 1;
  animation: bob 2.6s ease-in-out 1.8s infinite;
  transition: color 0.3s ease;
}
.hero__scroll:hover { color: var(--accent); }

/* ----------------------------------------------------------- Referenzen */

.section {
  padding-block: clamp(56px, 9vw, 80px);
  scroll-margin-top: var(--nav-h);
}

.section__title {
  margin: 0 0 48px;
  font: 700 clamp(32px, 4vw, 48px) / 1.1 var(--sans);
  letter-spacing: -0.03em;
  /* Verteilt die Zeilen gleichmäßig, statt ein einzelnes Wort
     als Schusterjunge auf der letzten Zeile stehen zu lassen. */
  text-wrap: balance;
}

/* Kopfbereich: Überschrift links, Einordnung rechts — nutzt die volle Breite,
   statt die rechte Hälfte leer zu lassen. */
.audience__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.audience__head .section__title { margin-bottom: 0; }

.audience__lead {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}

.audience__region {
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 899px) {
  .audience__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* Zeilenraster wie bei den Referenzen: Nummer, Mono-Label, Begriffe. */
.audience__rows { border-top: 1px solid var(--line); }

.audience__row {
  display: grid;
  grid-template-columns: clamp(30px, 5vw, 52px) minmax(120px, 190px) minmax(0, 1fr);
  gap: clamp(10px, 2vw, 24px);
  align-items: baseline;
  padding: clamp(26px, 4vw, 38px) clamp(10px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.audience__row:hover { background: var(--surface-2); }

.audience__nr { font: 400 13px var(--mono); color: var(--dim); }

.audience__label {
  margin: 0;
  font: 500 13px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Begriffe als Display-Type — dieselbe Stimme wie Hero und Referenzen. */
.terms {
  margin: 0;
  padding: 0;
  list-style: none;
  font: 700 clamp(19px, 2.2vw, 30px) / 1.35 var(--display);
  letter-spacing: -0.03em;
}
.terms li {
  display: inline;
  transition: color 0.25s ease;
}
.terms li:hover { color: var(--accent); }
/* Geschütztes Leerzeichen klebt den Punkt an das vorangehende Wort — sonst
   rutscht das Trennzeichen beim Umbruch an den Zeilenanfang. */
.terms li:not(:last-child)::after {
  content: "\00a0·";
  margin-left: 0.32em;
  color: var(--dim);
  font-weight: 400;
}

@media (max-width: 779px) {
  .audience__row {
    grid-template-columns: clamp(30px, 5vw, 52px) minmax(0, 1fr);
    row-gap: 14px;
  }
  .terms { grid-column: 1 / -1; }
}

.audience__note {
  margin: 22px 0 0;
  font: 400 13px var(--mono);
  color: var(--dim);
}

.refs { border-top: 1px solid var(--line); }

.ref {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 44%);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 4.5vw, 52px) clamp(10px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.ref:hover { background: var(--surface-2); }

.ref__body { grid-column: 1; grid-row: 1; min-width: 0; }
.ref__media { grid-column: 2; grid-row: 1; }

/* Nummer und Branche als Mono-Zeile über dem Namen — die Branche ist das,
   wonach Besucher suchen, also bekommt sie die Akzentfarbe. */
.ref__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font: 400 12px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ref__nr { color: var(--dim); }
.ref__cat {
  position: relative;
  padding-left: 22px;
  color: var(--accent);
}
.ref__cat::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 1px;
  background: var(--frame);
}

.ref__name {
  margin: 0;
  font: 700 clamp(24px, 2.9vw, 40px) / 1.05 var(--display);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}
.ref:hover .ref__name { color: var(--accent); }
/* Der Name trägt den Link; die Fläche darüber macht die ganze Karte klickbar,
   ohne dass der Linktext zur Textwüste wird. */
.ref__name a::after { content: ""; position: absolute; inset: 0; }

.ref__text {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
  color: var(--muted);
}

/* Ergebnissatz abgesetzt: was die Seite dem Kunden bringt. */
.ref__result {
  margin: 18px 0 0;
  padding-left: 16px;
  max-width: 46ch;
  border-left: 2px solid var(--accent);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: #C4C4BC;
}

.ref__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font: 500 14px var(--sans);
  color: var(--accent);
}
.ref__cta span { transition: transform 0.3s ease; }
.ref:hover .ref__cta span { transform: translate(3px, -3px); }

/* Vorschau liegt jetzt dauerhaft im Layout — auf Touch-Geräten war sie
   vorher unerreichbar. Die Neigung bleibt als Hover-Geste erhalten. */
.ref__media {
  display: block;
  transform: rotate(0deg) scale(1);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}
.ref:hover .ref__media {
  transform: rotate(var(--tilt)) scale(1.03);
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.75));
}

.browser {
  display: block;
  overflow: hidden;
  background: #1B1B18;
  border: 1px solid var(--frame);
  border-radius: 12px;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  background: #232320;
  border-bottom: 1px solid var(--frame);
}
.browser__bar span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3E3E38;
}
.browser img {
  width: 100%;
  /* height: auto ist nötig, damit aspect-ratio das height-Attribut überstimmt. */
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  background: var(--surface-2);
}

/* Gestapelt: Bild zuerst als visueller Anker, darunter der Text. */
@media (max-width: 899px) {
  .ref {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: clamp(30px, 6vw, 42px) 0;
  }
  .ref__media { grid-column: 1; grid-row: 1; }
  .ref__body { grid-column: 1; grid-row: 2; }
  .ref:hover { background: none; }
  .ref:hover .ref__media { transform: none; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); }
  .ref__text, .ref__result { max-width: none; }
  .ref__name { font-size: clamp(23px, 6.5vw, 32px); }
}

.refs__note {
  margin: 22px 0 0;
  font: 400 13px var(--mono);
  color: var(--dim);
}

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

.faq { max-width: 1040px; }
.faq .section__title { margin-bottom: clamp(30px, 5vw, 48px); }
.faq__items { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  color: var(--fg);
  font: 700 clamp(18px, 2vw, 22px) / 1.3 var(--sans);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font: 400 24px / 1 var(--mono);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  max-width: 760px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(48px, 6vw, 80px);
  padding-block: clamp(64px, 9vw, 100px);
  scroll-margin-top: var(--nav-h);
}

.eyebrow {
  font: 400 13px var(--mono);
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact__title {
  margin: 20px 0 0;
  font: 700 clamp(40px, 4.5vw, 64px) / 1.05 var(--sans);
  letter-spacing: -0.04em;
}

.promises {
  display: grid;
  gap: 28px;
  margin-top: 48px;
  max-width: 400px;
  padding: 0;
  list-style: none;
}
.promise { display: flex; gap: 18px; }
.promise__nr {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--accent);
  font: 500 14px var(--mono);
}
.promise__head { font-weight: 700; font-size: 16px; }
.promise p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.author {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 56px;
}
.author img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
.author__name { font-weight: 700; font-size: 15px; }
.author__role { margin-top: 4px; font: 400 13px var(--mono); color: var(--muted); }
.author__qual { margin-top: 3px; font: 400 12px var(--mono); color: var(--dim); }

/* --------------------------------------------------------------- Formular */

.form {
  align-self: start;
  padding: clamp(26px, 5vw, 44px) clamp(20px, 5vw, 48px);
  background: var(--surface);
  border-radius: 20px;
}

.form__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.form__person { display: flex; align-items: center; gap: 12px; }
.form__person h3 {
  margin: 0;
  font: 700 15px var(--sans);
}
.form__person p {
  margin: 3px 0 0;
  font: 400 11px/1.35 var(--mono);
  color: var(--muted);
}
.form__step-label { font: 500 13px var(--mono); color: var(--muted); }

.form__progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}
.form__progress span {
  height: 4px;
  background: #2b2b28;
  border-radius: 999px;
  transition: background 0.3s ease;
}
.form__progress span.is-active { background: var(--accent); }

.form__legend {
  padding: 0;
  margin: 0 0 12px;
  font: 700 clamp(25px, 3.1vw, 34px)/1.15 var(--sans);
  letter-spacing: -0.035em;
  color: var(--fg);
}
.form__hint { margin: 0 0 24px; font-size: 14px; color: var(--muted); }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

.form__fields { display: grid; gap: 24px; }
.form__fields--compact { gap: 14px; }

.field { display: grid; }
.field > label:not(.visually-hidden) {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--fg);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 16px 20px;
  /* Mindestens 16px — darunter zoomt iOS beim Fokussieren in das Feld hinein
     und der Nutzer muss anschließend manuell herauszoomen. */
  font: 400 18px var(--sans);
  color: var(--fg);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Beim Hineinspringen in ein Feld darf die fixierte Kopfzeile es nicht verdecken. */
.form__step,
.form__legend,
.field input,
.field textarea,
.field select,
.choice { scroll-margin-top: 96px; }
.field textarea { font-size: 16px; line-height: 1.55; resize: vertical; min-height: 132px; }
.field select {
  min-height: 58px;
  font-size: 16px;
  color-scheme: dark;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg); opacity: 0.35; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #FF6B5B; }

.field__error {
  margin-top: 8px;
  font: 400 13px var(--mono);
  color: #FF6B5B;
}
.field__error[hidden] { display: none; }

.choices { display: grid; gap: 12px; }
.choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font: 500 16px var(--sans);
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.choice:hover { border-color: var(--accent); background: #1B1B18; }
.choice[aria-pressed="true"] { border-color: var(--accent); background: #1B1B18; }
.choice__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.choice__sub { font: 400 13px var(--mono); color: var(--muted); }
.choice__arrow { color: var(--accent); }

.current-site { margin-top: 20px; }
.current-site[hidden] { display: none; }

.choice--check {
  position: relative;
  justify-content: flex-start;
}
.choice--check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.choice--check.is-checked,
.choice--check:has(input:checked) { border-color: var(--accent); background: #1B1B18; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.consent input {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin: 0;
  accent-color: var(--accent);
}
.consent label { cursor: pointer; }

/* Die Frage bekommt beim Schrittwechsel programmatisch den Fokus, damit
   Screenreader sie vorlesen — ein sichtbarer Fokusrahmen wäre dort irritierend. */
.form__legend:focus { outline: none; }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }

/* Spam-Falle — für Menschen unsichtbar, kein Tracking */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

.form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.form__actions--end { justify-content: flex-end; }

.btn-back {
  /* Innenabstand statt nur Text: sonst ist die Trefferfläche nur 20 px hoch
     und am Telefon kaum zu treffen. Der Rand wird links ausgeglichen, damit
     die Schrift optisch weiter bündig mit dem Formular steht. */
  padding: 12px 14px;
  margin-left: -14px;
  min-height: 44px;
  font: 500 14px var(--sans);
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.btn-back:hover { background: rgba(255, 255, 255, 0.05); }
.btn-back:hover { color: var(--fg); }

.btn-next {
  padding: 14px 30px;
  font: 500 15px var(--sans);
  color: var(--bg);
  background: var(--fg);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-next:hover { background: var(--accent); }

.btn-submit {
  padding: 16px 34px;
  font: 500 16px var(--sans);
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}
.btn-submit:hover { transform: scale(1.04); box-shadow: 0 0 44px var(--accent-glow); }
.btn-submit[disabled] { opacity: 0.55; cursor: progress; transform: none; box-shadow: none; }

.form__done { text-align: center; padding: 36px 0; }
.form__done-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 28px;
}
.form__done h3 {
  margin: 22px 0 0;
  font: 700 30px var(--sans);
  letter-spacing: -0.02em;
}
.form__done p {
  max-width: 340px;
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.form__error {
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #FFD5CF;
  background: rgba(255, 107, 91, 0.1);
  border: 1px solid rgba(255, 107, 91, 0.35);
  border-radius: 12px;
}
.form__error[hidden] { display: none; }
.form__error a { color: var(--fg); text-decoration: underline; }

/* Ohne JavaScript werden alle Schritte gleichzeitig gezeigt (das Formular
   bleibt per normalem POST nutzbar). Mit JS blendet site.js sie einzeln ein. */
.js .form__step[hidden] { display: none; }
.no-js .form__progress,
.no-js .form__step-label,
.no-js .choice__arrow { display: none; }
.no-js .btn-back, .no-js .btn-next { display: none; }

/* --------------------------------------------------------------- Footer */

.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  padding-block: 24px;
  font: 400 13px var(--mono);
  color: var(--muted);
  text-align: center;
}
.footer__inner a { color: var(--fg); }
.footer__inner a:hover { color: var(--accent); }

/* ------------------------------------------------------- Rechtstextseiten */

.legal {
  max-width: 780px;
  padding-block: clamp(120px, 18vh, 170px) clamp(64px, 9vw, 96px);
}
.legal h1 {
  margin: 16px 0 0;
  font: 700 clamp(36px, 5vw, 56px) / 1.05 var(--sans);
  letter-spacing: -0.04em;
}
.legal h2 {
  margin: 56px 0 0;
  font: 700 clamp(21px, 2.4vw, 26px) / 1.2 var(--sans);
  letter-spacing: -0.02em;
}
.legal h3 {
  margin: 32px 0 0;
  font: 700 17px var(--sans);
  letter-spacing: -0.01em;
}
.legal p, .legal ul, .legal ol {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #C4C4BC;
}
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--fg); }
.legal strong { color: var(--fg); font-weight: 700; }
.legal address { font-style: normal; }

.legal__meta {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font: 400 13px var(--mono);
  color: var(--dim);
}

.todo {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 5px;
  background: rgba(200, 255, 46, 0.12);
  border: 1px dashed var(--accent);
  color: var(--accent);
  font: 500 13px var(--mono);
}

/* ------------------------------------------------- Reduzierte Bewegung */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__rotator.is-out { opacity: 1; transform: none; }
}
