/* =========================================================================
   Kfz-Check · Grass Makler
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Komponenten · 5 Seitenbereiche
           6 Zustände · 7 Hilfsklassen · 8 Medien-Einstellungen
   Mobile-first: Basisstile für kleine Bildschirme, Erweiterungen per min-width.
   ========================================================================= */

/* ---------- 1 · Tokens ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-600-800.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Marke */
  --c-navy: #05213b;
  --c-navy-600: #0d3159;
  --c-gold: #c59b47;
  --c-gold-700: #8a6a24;   /* Gold als Textfarbe auf Hell (Kontrast ≥ 4,5:1) */
  --c-gold-50: #fbf5e8;
  --c-gold-100: #f3e7cc;
  /* Neutral */
  --c-bg: #ececec;
  --c-surface: #ffffff;
  --c-text: #05213b;
  --c-muted: #4f5d72;      /* ≥ 4,5:1 auf Weiß und auf --c-bg */
  --c-line: #c9cfd8;
  --c-line-strong: #8d97a6;
  /* Status */
  --c-error: #b3261e;
  --c-error-50: #fdecea;
  --c-success: #1d7a46;
  --c-success-50: #e8f5ed;
  --c-whatsapp: #117a3d;   /* dunkler als WhatsApp-Grün für Kontrast mit weißer Schrift */
  --c-whatsapp-700: #0d6331;
  --c-focus: #c59b47;

  --font-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-plate: "DIN Alternate", "DIN 1451", "Arial Narrow", Arial, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.4vw, 1.875rem);
  --fs-hero: clamp(2rem, 1.2rem + 5vw, 4rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem; --sp-12: 3rem;

  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(5 33 59 / 0.08);
  --shadow: 0 10px 24px -14px rgb(5 33 59 / 0.55);

  --tap: 3rem;            /* Mindestgröße für Touch-Ziele (48 px) */
  --container: 61.25rem;  /* 980 px */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 160ms;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2 · Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(5rem + var(--safe-top)); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 var(--fs-md)/1.55 var(--font-body);
  padding-bottom: calc(5.5rem + var(--safe-bottom)); /* Platz für die Aktionsleiste */
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.15em; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
code { font-size: 0.9em; background: var(--c-gold-50); padding: 0.1em 0.35em; border-radius: 0.3em; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- 3 · Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.page { padding-block: var(--sp-6) var(--sp-8); }
.grid { display: grid; gap: var(--sp-4) var(--sp-5); grid-template-columns: 1fr; }
.grid--mt { margin-top: var(--sp-4); }
.field--full { grid-column: 1 / -1; }
.field--center { align-self: center; }
.center { text-align: center; }

@media (min-width: 40em) {
  .grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 4 · Komponenten ---------- */

/* Buttons */
.btn {
  --btn-bg: var(--c-surface); --btn-fg: var(--c-navy); --btn-bd: var(--c-navy);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: var(--tap); padding: 0.75rem 1.5rem;
  border: 2px solid var(--btn-bd); border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-base); line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.btn--primary { --btn-bg: var(--c-navy); --btn-fg: #fff; --btn-bd: var(--c-navy); }
.btn--secondary { --btn-bg: var(--c-surface); }
.btn--gold { --btn-bg: var(--c-gold); --btn-fg: var(--c-navy); --btn-bd: var(--c-gold); }
.btn--whatsapp { --btn-bg: var(--c-whatsapp); --btn-fg: #fff; --btn-bd: var(--c-whatsapp); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.4); }
.btn--dashed { --btn-bg: transparent; border-style: dashed; }
.btn--text {
  --btn-bg: transparent; --btn-bd: transparent; min-height: 2.75rem; padding: 0.5rem 0.25rem;
  font-family: var(--font-body); font-weight: 700; text-decoration: underline;
}
.btn--danger { --btn-fg: var(--c-error); }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--grow { flex: 1 1 auto; max-width: 22rem; margin-left: auto; }
@media (hover: hover) {
  .btn--primary:hover { --btn-bg: var(--c-navy-600); --btn-bd: var(--c-navy-600); }
  .btn--secondary:hover, .btn--dashed:hover { --btn-bg: var(--c-gold-50); }
  .btn--gold:hover { --btn-bg: #d2ac5f; --btn-bd: #d2ac5f; }
  .btn--whatsapp:hover { --btn-bg: var(--c-whatsapp-700); --btn-bd: var(--c-whatsapp-700); }
  .btn--outline-light:hover { --btn-bd: var(--c-gold); --btn-fg: var(--c-gold); }
  .btn--text:hover { --btn-fg: var(--c-navy-600); }
}
/* Ladezustand */
.btn.is-loading { pointer-events: none; }
.btn.is-loading .icon { display: none; }
.btn.is-loading::before {
  content: ""; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Karten */
.card {
  background: var(--c-surface); border-radius: var(--radius-lg);
  padding: var(--sp-5); margin-bottom: var(--sp-4); box-shadow: var(--shadow-sm);
}
fieldset.card > legend { float: left; width: 100%; }
fieldset.card > legend + * { clear: both; }
.card__title { display: block; font-size: var(--fs-md); font-weight: 800; margin-bottom: var(--sp-3); }
.card__text { color: var(--c-muted); margin-bottom: var(--sp-4); }
.card__hint { color: var(--c-muted); font-size: var(--fs-sm); margin-top: var(--sp-3); }
.card--upload { border: 2.5px dashed var(--c-gold); background: #fffbf3; }
@media (min-width: 40em) { .card { padding: var(--sp-6); } }

.subgroup { margin-top: var(--sp-4); }
.subgroup__title { font-weight: 700; font-size: var(--fs-sm); margin-bottom: var(--sp-2); }

/* Formularfelder */
.field { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.field > label:not(.check) { font-weight: 700; font-size: 0.9375rem; }
.field__opt { font-weight: 400; color: var(--c-muted); }
.field__hint { font-size: var(--fs-sm); color: var(--c-muted); }
.field__error { display: none; font-size: var(--fs-sm); font-weight: 700; color: var(--c-error); }
.field__error::before { content: "⚠ "; }

input:where([type="text"], [type="tel"], [type="email"], [type="number"], [type="date"]), select, textarea {
  width: 100%; min-height: var(--tap); padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--c-line-strong); border-radius: var(--radius-sm);
  background: var(--c-surface); color: var(--c-text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none; -webkit-appearance: none;
}
input[type="date"] { min-width: 0; }
textarea { min-height: 6rem; resize: vertical; line-height: 1.45; }
select {
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-navy) 50%), linear-gradient(135deg, var(--c-navy) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.875rem) 50%;
  background-size: 0.375rem 0.375rem; background-repeat: no-repeat;
}
@media (hover: hover) {
  input:where([type="text"], [type="tel"], [type="email"], [type="number"], [type="date"]):hover, select:hover, textarea:hover { border-color: var(--c-navy); }
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 3px var(--c-gold-100), 0 0 0 5px var(--c-gold);
}
input:disabled, select:disabled, textarea:disabled { background: #f2f3f6; color: var(--c-muted); cursor: not-allowed; }
::placeholder { color: #6b7686; opacity: 1; }
.is-upper { text-transform: uppercase; }

.unit { position: relative; }
.unit input { padding-right: 3.5rem; }
.unit__label { position: absolute; right: 0.875rem; top: 50%; translate: 0 -50%; color: var(--c-muted); pointer-events: none; }

/* Checkbox mit Label */
.check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: var(--fs-base); min-height: 2.75rem; padding-block: 0.25rem; }
.check input { flex: none; width: 1.375rem; height: 1.375rem; margin: 0.1rem 0 0; accent-color: var(--c-navy); }
.check--mt { margin-top: var(--sp-4); }

/* Auswahlkacheln (Radio/Checkbox) */
.choices { display: grid; gap: 0.625rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.625rem;
  min-height: 3.25rem; padding: 0.75rem 0.875rem 0.75rem 2.75rem; position: relative;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-surface);
  font-weight: 600; line-height: 1.3;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.choice span::before {
  content: ""; position: absolute; left: 0.875rem; top: 50%; translate: 0 -50%;
  width: 1.125rem; height: 1.125rem; border: 2px solid var(--c-line-strong); border-radius: 50%; background: #fff;
}
.choice input[type="checkbox"] + span::before { border-radius: 0.3rem; }
.choice small { display: block; width: 100%; font-weight: 400; color: var(--c-muted); font-size: var(--fs-sm); }
@media (hover: hover) { .choice:hover span { border-color: var(--c-navy); } }
.choice input:checked + span { border-color: var(--c-navy); background: #f4f6fa; box-shadow: inset 0 0 0 1px var(--c-navy); }
.choice input:checked + span::before { border-color: var(--c-navy); background: var(--c-navy); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* Einwilligung */
.consent .check { font-size: var(--fs-base); }
.consent a { font-weight: 700; }

/* Hinweise */
.notice {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-4);
  background: var(--c-surface); border-left: 5px solid var(--c-gold); border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-5); font-size: 0.9375rem;
}
.notice--gold { display: block; background: var(--c-gold-50); border-left: 0; margin: var(--sp-4) 0 0; }

/* Chip (Countdown) */
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.25rem;
  padding: 0.3rem 0.875rem; margin-bottom: var(--sp-4);
  border-radius: var(--radius-pill); background: var(--c-gold); color: var(--c-navy);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); white-space: nowrap;
  visibility: hidden; /* Platz reservieren → kein Layout-Sprung (CLS) */
}
.chip.is-visible { visibility: visible; }
.chip strong { font-size: 1.15rem; }

/* Superheld-Tipp (Sprechblase) */
.tip { display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: var(--sp-5); }
.tip img { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 3px solid var(--c-gold); background: #666b70; }
.tip__bubble {
  position: relative; max-width: 36rem; margin-top: 0.25rem; padding: 0.75rem 1.125rem;
  background: var(--c-surface); border: 2.5px solid var(--c-navy); border-radius: 1.75rem;
  font-weight: 700; font-size: 0.9375rem; line-height: 1.4;
}
.tip__bubble::before, .tip__bubble::after {
  content: ""; position: absolute; background: var(--c-surface); border: 2.5px solid var(--c-navy); border-radius: 50%;
}
.tip__bubble::before { left: -0.85rem; top: 1.25rem; width: 0.875rem; height: 0.875rem; }
.tip__bubble::after { left: -1.5rem; top: 2.1rem; width: 0.5rem; height: 0.5rem; }

/* Auswahl Express / Ausführlich */
.modes { display: grid; gap: 0.75rem; margin-bottom: var(--sp-6); }
.mode {
  display: flex; flex-direction: column; gap: 0.25rem; padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg); background: var(--c-surface); border: 2px solid var(--c-line);
  text-align: left; font: inherit; color: inherit;
}
.mode--express { cursor: pointer; background: var(--c-navy); color: #fff; border-color: var(--c-navy); box-shadow: var(--shadow); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
@media (hover: hover) { .mode--express:hover { border-color: var(--c-gold); transform: translateY(-2px); } }
.mode--express:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.mode__badge {
  align-self: flex-start; margin-bottom: 0.25rem; padding: 0.25rem 0.625rem; border-radius: var(--radius-pill);
  background: var(--c-gold); color: var(--c-navy); font-family: var(--font-display); font-weight: 800; font-size: 0.8125rem;
}
.mode--detail .mode__badge { background: var(--c-bg); }
.mode__title { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; line-height: 1.3; }
.mode__text { font-size: var(--fs-sm); }
.mode--express .mode__text { color: #d9e1ec; }
.mode--detail .mode__text { color: var(--c-muted); }
@media (min-width: 40em) { .modes { grid-template-columns: 1fr 1fr; } }

/* Uploads */
.uploads { display: grid; gap: var(--sp-4); }
@media (min-width: 40em) { .uploads { grid-template-columns: 1fr 1fr; } }
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem;
  min-height: 7.5rem; padding: var(--sp-5) var(--sp-4); text-align: center; cursor: pointer;
  background: var(--c-surface); border: 1.5px solid var(--c-line-strong); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dropzone .icon--lg { width: 2rem; height: 2rem; }
.dropzone__title { font-family: var(--font-display); font-weight: 800; }
.dropzone__text { font-size: var(--fs-sm); color: var(--c-muted); }
@media (hover: hover) { .dropzone:hover { border-color: var(--c-navy); } }
.dropzone:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.dropzone.has-file { border-color: var(--c-navy); box-shadow: inset 0 0 0 1px var(--c-navy); }
.dropzone[aria-busy="true"] { cursor: progress; }
.file-list { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.file-list li {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0.2rem 0.75rem; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: #fff; font-size: 0.8125rem;
}
.file-list li::before { content: "📎 "; }
.upload-status { margin-top: var(--sp-3); font-size: 0.9375rem; padding: 0.625rem 0.75rem; border-radius: var(--radius-sm); background: #fff; }
.upload-status[data-tone="success"] { background: var(--c-success-50); color: #135a33; }
.upload-status[data-tone="warning"] { background: var(--c-gold-50); color: #5c4512; }
.upload-status[data-tone="error"] { background: var(--c-error-50); color: var(--c-error); }
.upload-status progress { display: block; width: 100%; height: 0.375rem; margin-top: 0.5rem; appearance: none; border: 0; border-radius: 0.25rem; background: var(--c-bg); overflow: hidden; }
.upload-status progress::-webkit-progress-bar { background: var(--c-bg); }
.upload-status progress::-webkit-progress-value { background: var(--c-gold); transition: width 200ms; }
.upload-status progress::-moz-progress-bar { background: var(--c-gold); }
.found { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: grid; gap: 0.25rem; }
.found li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 0.375rem 0.625rem; border-radius: var(--radius-sm); background: #fff; font-size: var(--fs-sm); }
.found li strong { text-align: right; }
.found li.is-missing { color: var(--c-muted); }

/* „erkannt, bitte prüfen“ */
.field.is-auto input, .field.is-auto select { border-color: var(--c-gold); background: #fffbf3; }
.field.is-auto > label:not(.check)::after { content: " · erkannt, bitte prüfen"; font-weight: 400; color: var(--c-gold-700); }

/* Kennzeichen */
.plate { display: inline-flex; flex-direction: row; align-items: stretch; gap: 0; max-width: 100%; border: 3px solid #111; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.plate__eu { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 2.25rem; padding: 0.25rem 0 0.3rem; background: #0646b8; color: #fff; font-weight: 700; font-size: var(--fs-sm); }
.plate__stars { font-size: 0.55rem; color: #ffd200; letter-spacing: -1px; margin-bottom: auto; }
input.plate__part {
  border: 0; border-radius: 0; min-height: 3.5rem; padding: 0.4rem 0.25rem; text-align: center;
  font: 700 1.5rem/1 var(--font-plate); letter-spacing: 0.04em; text-transform: uppercase;
}
input.plate__part:focus-visible { box-shadow: inset 0 0 0 3px var(--c-gold); }
.plate__part--city { width: 5rem; } .plate__part--letters { width: 4rem; } .plate__part--num { width: 6.25rem; }
.plate__dash { display: grid; place-items: center; padding-inline: 0.125rem; font-size: 1.4rem; font-weight: 700; }

/* Hilfe Fahrzeugschein */
.zb-help { display: flex; gap: var(--sp-4); align-items: center; margin: var(--sp-4) 0 0; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); background: var(--c-bg); }
.zb-help svg { flex: none; width: 8.5rem; }
.zb-help figcaption { font-size: var(--fs-sm); color: var(--c-muted); }

/* Weitere Fahrzeuge */
.fz-row { display: grid; gap: var(--sp-3); padding-block: var(--sp-4); border-top: 1px solid var(--c-line); }
.fz-row:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 40em) { .fz-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .fz-row { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } }

/* Zusammenfassung */
.summary {
  max-height: 22rem; overflow: auto; padding: var(--sp-5); margin-bottom: var(--sp-4);
  border-radius: var(--radius-lg); background: var(--c-navy); color: #fff;
  white-space: pre-wrap; font-size: 0.9375rem; line-height: 1.55;
}
.summary b { color: var(--c-gold); }

/* ---------- 5 · Seitenbereiche ---------- */
.skip-link {
  position: absolute; left: var(--sp-4); top: calc(-4rem + var(--safe-top)); z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--c-gold); color: var(--c-navy); font-weight: 800;
}
.skip-link:focus { top: calc(var(--sp-2) + var(--safe-top)); }

.site-header { background: var(--c-navy); color: #fff; padding-top: var(--safe-top); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 4.5rem; }
.site-header__logo img { height: 2.75rem; width: auto; }
.icon { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.hero { background: var(--c-navy); color: #fff; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "text img" "body body"; column-gap: var(--sp-4); align-items: start; padding-top: var(--sp-3); }
.hero__body { grid-area: body; }
.hero__text { grid-area: text; }
.hero__img { grid-area: img; width: 7.5rem; height: 7.5rem; border-radius: 50%; border: 4px solid var(--c-gold); object-fit: cover; background: #666b70; margin-top: 2.6rem; }
.hero__title { font-size: var(--fs-hero); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; }
.hero__accent { display: block; color: var(--c-gold); }
.hero__title::after { content: ""; display: block; width: 7rem; height: 0.25rem; margin-top: var(--sp-4); background: var(--c-gold); }
.hero__hello { margin-top: var(--sp-4); font-weight: 700; color: #fff; }
.hero__lead { margin-top: var(--sp-4); color: #d9e1ec; font-size: var(--fs-md); max-width: 34rem; }
.hero__lead strong { color: #fff; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 0; padding-block: var(--sp-5); color: #d9e1ec; font-size: 0.9375rem; }
.trust li { padding: 0.35rem 0.8rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.06); }
.trust strong { color: #fff; }
@media (max-width: 39.99em) { .trust { gap: 0.4rem; font-size: 0.8125rem; } .trust li { padding: 0.3rem 0.65rem; } }
.trust a { color: var(--c-gold); font-weight: 800; text-decoration: none; }
.trust a:hover { text-decoration: underline; }
@media (min-width: 48em) {
  .hero__inner { grid-template-areas: "text img" "body img"; align-items: end; padding-top: var(--sp-6); }
  .hero__body { padding-bottom: var(--sp-6); }
  .hero__img { width: 17.5rem; height: 17.5rem; margin-top: 0; border-radius: 50% 50% 0 0; border-bottom: 0; }
  .trust { border-top: 1px solid rgb(255 255 255 / 0.12); }
}

/* Fortschritt */
.steps { position: sticky; top: 0; z-index: 20; padding-top: var(--safe-top); }
.steps__inner { padding-block: 0; }
.steps__progress { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.stepper {
  position: relative; list-style: none; display: flex; gap: 0.375rem; margin: 0; padding: 0.625rem;
  background: var(--c-surface); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.stepper::-webkit-scrollbar { display: none; }
.stepper li { flex: 1 0 auto; scroll-snap-align: center; }
.stepper__btn {
  display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.375rem 0.875rem;
  border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--c-muted);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; cursor: pointer;
}
.stepper__num { display: grid; place-items: center; width: 1.625rem; height: 1.625rem; border-radius: 50%; border: 2px solid var(--c-line-strong); font-size: 0.75rem; }
.stepper__btn[aria-current="step"] { background: var(--c-navy); color: #fff; }
.stepper__btn[aria-current="step"] .stepper__num { border-color: var(--c-gold); background: var(--c-gold); color: var(--c-navy); }
.stepper__btn.is-done { color: var(--c-navy); }
.stepper__btn.is-done .stepper__num { border-color: var(--c-navy); background: var(--c-navy); color: #fff; }
.stepper__btn:disabled { cursor: default; opacity: 0.6; }
@media (hover: hover) { .stepper__btn:not(:disabled):not([aria-current]):hover { background: var(--c-bg); } }

/* Schritte */
.step { animation: step-in 260ms var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(0.375rem); } to { opacity: 1; transform: none; } }
.step__title { font-size: var(--fs-xl); font-weight: 800; margin-bottom: var(--sp-4); scroll-margin-top: 6rem; }
.step__title--center { text-align: center; text-transform: uppercase; }
.step__sub { color: var(--c-muted); margin: calc(-1 * var(--sp-3)) 0 var(--sp-5); }

/* Erfolgsseite */
.step--done { max-width: 36rem; margin-inline: auto; }
.done__img { width: 100%; max-width: 15rem; margin: 0 auto var(--sp-5); border: 5px solid var(--c-gold); border-radius: var(--radius-lg); }
.done-steps { margin: var(--sp-5) 0; padding: var(--sp-5) var(--sp-5) var(--sp-5) 2.75rem; background: var(--c-surface); border-radius: var(--radius-lg); display: grid; gap: var(--sp-3); }
.done-steps__docs { display: list-item; }
.done-steps__docs .btn { margin-block: var(--sp-3) var(--sp-1); }
.done-steps__docs .field__hint { display: block; }
.done-steps__docs.is-highlight { margin-left: -1.5rem; padding: var(--sp-3) var(--sp-3) var(--sp-3) 1.5rem; border-radius: var(--radius); background: var(--c-gold-50); outline: 2px solid var(--c-gold); }
.done-steps__docs.is-done { outline-color: var(--c-success); background: var(--c-success-50); }
.promo { margin-bottom: var(--sp-4); padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--c-navy); color: #fff; }
.promo__top { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.promo__top img { width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 3px solid var(--c-gold); background: #666b70; }
.promo__bubble { padding: 0.5rem 0.875rem; border-radius: 1.25rem; background: #fff; color: var(--c-navy); font-weight: 800; }
.promo__title { font-size: 1.25rem; margin-bottom: var(--sp-2); }
.promo p { color: #d9e1ec; margin-bottom: var(--sp-3); }
.promo__gift { padding: 0.625rem 0.75rem; border: 1px solid var(--c-gold); border-radius: var(--radius); background: rgb(197 155 71 / 0.18); color: #fff !important; }

/* Baukasten */
.bk-out { margin: var(--sp-4) 0; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); background: var(--c-navy); color: #fff; word-break: break-all; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.btn-row .btn { flex: 1 1 12rem; }

/* FAQ */
.faq { margin-top: var(--sp-10); }
.faq__title { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.faq details { background: var(--c-surface); border-radius: var(--radius); margin-bottom: var(--sp-2); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  min-height: var(--tap); padding: var(--sp-3) var(--sp-4); cursor: pointer; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 1.4rem/1 var(--font-display); color: var(--c-gold-700); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--c-focus); outline-offset: -3px; border-radius: var(--radius); }
.faq details p { padding: 0 var(--sp-4) var(--sp-4); color: var(--c-muted); }

/* Fußzeile */
.site-footer { padding-block: var(--sp-6) var(--sp-8); color: var(--c-muted); font-size: var(--fs-sm); }
.site-footer__inner { display: grid; gap: var(--sp-2); }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); margin: 0; padding: 0; }
.site-footer__links a { display: inline-block; padding-block: 0.6rem; }

/* Aktionsleiste */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 30; padding-bottom: var(--safe-bottom);
  background: rgb(236 236 236 / 0.94); border-top: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.action-bar__inner { display: flex; gap: var(--sp-3); padding-block: var(--sp-3); }

/* ---------- 6 · Zustände ---------- */
.field.is-invalid .field__error, .consent.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--c-error); box-shadow: 0 0 0 1px var(--c-error); }
.consent.is-invalid .check input { outline: 2px solid var(--c-error); outline-offset: 2px; }

/* ---------- 7 · Hilfsklassen ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- 8 · Medien-Einstellungen ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .choice span::before, .btn, .dropzone, .card { border: 1px solid CanvasText; }
  .choice input:checked + span { outline: 3px solid Highlight; }
}
@media print {
  .site-header, .hero, .steps, .action-bar, .faq, .modes { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* Einfache Inhaltsseiten (z. B. Erstinformation) */
.page-plain { padding-bottom: 0; }
.ei-p + .ei-p { margin-top: var(--sp-2); }

.review-link { margin-top: var(--sp-2); }
.review-link a { display: inline-block; padding: 0.75rem; font-weight: 700; }
.mode__title { font-size: 1rem; }
