/* =================================================================
   NeuzuzügerSchweiz – Landingpage Krankenkasse für Neuzuzüger
   Farben, Schrift und Abstände zentral in :root anpassen
   ================================================================= */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2-variations"),
       url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben */
  --ink: #0F2342;          /* Navy: Text und dunkle Flächen */
  --ink-soft: #51607A;     /* Sekundärtext */
  --ink-mute: #7A879B;
  --line: #DCE3EC;         /* Linien */
  --muted: #F4F6F9;        /* helle Sektionen */
  --white: #FFFFFF;
  --enzian: #2447A6;       /* Markenblau (Logo), Icons, Links */
  --enzian-deep: #1A3685;
  --enzian-tint: #EEF2FB;
  --red: #D52B1E;          /* Schweizer Rot: Haupt-Buttons, Akzente */
  --red-deep: #B41F14;
  --moss: #1F7A52;
  --green-tint: #E6F3EC;
  --error: #B42318;

  /* Aliase für bestehende Komponenten (Formular, Consent, Danke, Rechtliches) */
  --glacier: var(--muted);
  --sand: var(--muted);
  --note-bg: #F4F6F9;
  --note-ink: #51607A;
  --topo: none;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-card: 14px;
  --radius-ctrl: 8px;
  --shadow-card: 0 1px 2px rgba(15, 35, 66, .06), 0 24px 48px -24px rgba(15, 35, 66, .28);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--enzian); text-underline-offset: 3px; }
a:hover { color: var(--enzian-deep); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--enzian); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-ctrl); }
.skip-link:focus { top: 12px; color: var(--white); }
.no-js .js-only { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .9375rem; font-weight: 600; color: var(--red); letter-spacing: .01em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: #FF8A80; }
.section__title { font-size: clamp(1.875rem, 3.4vw, 2.75rem); letter-spacing: -.028em; line-height: 1.08; }
.section__intro { margin-top: 18px; font-size: 1.125rem; color: var(--ink-soft); max-width: 58ch; }

.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6.5 11.3 3 3 6-6.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.checks--light li { color: var(--white); }
.checks--light li::before { background-color: var(--red); }

.text-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.text-link:hover { color: var(--enzian); }
.text-link--light { color: var(--white); text-decoration-color: rgba(255, 255, 255, .5); }
.text-link--light:hover { color: var(--white); text-decoration-color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  border-radius: var(--radius-ctrl); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--accent { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -12px rgba(213, 43, 30, .7); }
.btn--accent:hover { background: var(--red-deep); color: var(--white); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--enzian-deep); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--text { background: transparent; color: var(--ink-soft); padding-left: 4px; padding-right: 4px; }
.btn--small { min-height: 42px; padding: 8px 18px; font-size: .9375rem; }
.btn--large { min-height: 58px; padding: 14px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.5) blur(8px); }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1875rem; letter-spacing: -.015em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 38px; flex: none; }
.site-nav { display: none; gap: 30px; margin-left: auto; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .96875rem; }
.site-nav a:hover { color: var(--ink); }
.site-header .btn--small { margin-left: auto; }
@media (min-width: 1000px) {
  .site-nav { display: flex; }
  .site-nav + .btn--small { margin-left: 0; }
}
@media (max-width: 420px) {
  .site-header__inner { min-height: 64px; gap: 12px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand__mark { width: 32px; height: 30px; }
  .site-header .btn--small { padding: 6px 12px; font-size: .8125rem; min-height: 38px; }
}
@media (max-width: 350px) { .site-header .btn--small { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background: var(--ink) image-set(url("../img/hero-neuzuzueger-960.webp") type("image/webp"), url("../img/hero-neuzuzueger-1200.jpg") type("image/jpeg")) 30% center / cover no-repeat;
  padding: clamp(40px, 6vw, 96px) 0 clamp(48px, 7vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 35, 66, .82) 0%, rgba(15, 35, 66, .74) 45%, rgba(15, 35, 66, .9) 100%);
}
@media (min-width: 961px) {
  .hero { background-image: image-set(url("../img/hero-neuzuzueger-1536.webp") type("image/webp"), url("../img/hero-neuzuzueger-1200.jpg") type("image/jpeg")); background-position: 20% 40%; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(15, 35, 66, .9) 0%, rgba(15, 35, 66, .72) 34%, rgba(15, 35, 66, .18) 58%, rgba(15, 35, 66, .05) 100%),
      linear-gradient(0deg, rgba(15, 35, 66, .45) 0%, rgba(15, 35, 66, 0) 35%);
  }
}
.hero__grid { display: grid; gap: 36px; }
.hero__title { font-size: clamp(2.375rem, 5.2vw, 4.125rem); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.hero__lead { margin-top: 22px; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: rgba(255, 255, 255, .88); max-width: 50ch; }
.hero .checks { margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.hero__form { scroll-margin-top: 100px; }
.hero__form:focus { outline: none; }
@media (min-width: 961px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 470px; gap: clamp(40px, 6vw, 96px); align-items: center; min-height: 560px; }
}
@media (max-width: 960px) {
  .hero .checks { display: none; }
}

/* Formular-Karte (Vergleich) */
.form-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-card); border-top: 4px solid var(--red);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .08);
  padding: clamp(22px, 3vw, 32px);
}
.form-card__head { margin-bottom: 18px; }
.form-card__title { font-size: 1.375rem; letter-spacing: -.02em; }
.form-card__sub { margin-top: 4px; color: var(--ink-soft); font-size: .96875rem; }

/* ---------- Fakten-Leiste ---------- */
.factbar { border-bottom: 1px solid var(--line); background: var(--white); }
.factbar__grid { display: grid; }
.factbar__item { display: grid; gap: 4px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.factbar__item:last-child { border-bottom: 0; }
.factbar__value { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.factbar__label { color: var(--ink-soft); font-size: .96875rem; line-height: 1.45; }
@media (min-width: 760px) {
  .factbar__grid { grid-template-columns: repeat(3, 1fr); }
  .factbar__item { padding: 34px 32px; border-bottom: 0; border-left: 1px solid var(--line); }
  .factbar__item:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Sektionen ---------- */
.section { padding: var(--section-y) 0; }
.section--muted { background: var(--muted); }
.section__head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* Split: Text + Bild */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 961px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 104px); } }
.split__media img { width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* Zeitstrahl 3-Monats-Frist */
.timeline { position: relative; margin: 40px 0 36px; }
.timeline__track { position: absolute; left: 7px; right: 7px; top: 6px; height: 3px; background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 66%, var(--red) 100%); }
.timeline__points { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline__points li { display: grid; gap: 2px; font-size: .9375rem; }
.timeline__points li:nth-child(2), .timeline__points li:nth-child(3) { text-align: center; justify-items: center; }
.timeline__points li.is-end { text-align: right; justify-items: end; }
.timeline__dot { width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); margin-bottom: 12px; }
.timeline__points li.is-start .timeline__dot { background: var(--ink); }
.timeline__points li.is-end .timeline__dot { border-color: var(--red); background: var(--red); }
.timeline__points strong { font-weight: 600; }
.timeline__points span:last-child { color: var(--ink-soft); font-size: .875rem; }
.timeline__points li.is-end span:last-child { color: var(--red); font-weight: 600; }

.outcomes { display: grid; gap: 20px; margin-bottom: 36px; }
@media (min-width: 560px) { .outcomes { grid-template-columns: 1fr 1fr; gap: 28px; } }
.outcome { display: flex; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .96875rem; line-height: 1.55; }
.outcome svg { width: 26px; height: 26px; flex: none; }
.outcome--ok svg { color: var(--moss); }
.outcome--late svg { color: var(--red); }
.outcome__title { font-weight: 600; color: var(--ink); margin-bottom: 2px; }

/* Das Wichtigste */
.features { display: grid; gap: 40px; }
@media (min-width: 820px) { .features { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.feature { padding-top: 28px; border-top: 2px solid var(--ink); }
.feature__icon { width: 40px; height: 40px; color: var(--enzian); margin-bottom: 22px; }
.feature h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); }

/* Ablauf */
.steps { list-style: none; display: grid; gap: 48px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps__item { position: relative; }
.steps__item img { width: 176px; height: auto; margin: 0 0 24px -10px; }
.steps__item h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.steps__item p { color: var(--ink-soft); max-width: 34ch; }
@media (min-width: 820px) {
  .steps__item:not(:last-child)::after {
    content: ""; position: absolute; top: 88px; left: 190px; right: -20px;
    border-top: 2px dashed #C3CEDD;
  }
}

/* Beratung: Bild randlos + Navy-Fläche */
.advice { display: grid; background: var(--ink); color: var(--white); }
.advice__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.advice__content { padding: clamp(48px, 7vw, 104px) var(--gutter); }
.advice .section__title { color: var(--white); }
.advice__lead { margin: 20px 0 28px; font-size: 1.125rem; color: rgba(255, 255, 255, .82); max-width: 52ch; }
.advice .checks { margin-bottom: 36px; }
@media (min-width: 961px) {
  .advice { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .advice__media img { aspect-ratio: auto; }
  .advice__content { align-self: center; padding-left: clamp(48px, 6vw, 96px); padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + 40px)); }
}

/* FAQ */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 961px) {
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(56px, 7vw, 104px); align-items: start; }
  .faq-layout__intro { position: sticky; top: 120px; }
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 56px 26px 0; font-weight: 600; font-size: 1.125rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M12 18h12M18 12v12' stroke='%230F2342' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 36px no-repeat;
  transition: transform .2s ease, border-color .2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg); border-color: var(--ink);
}
.faq summary:hover { color: var(--enzian); }
.faq__body { padding: 0 56px 26px 0; color: var(--ink-soft); }

/* Abschluss */
.closing { background: var(--muted); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.closing__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.closing__title { font-size: clamp(1.625rem, 3vw, 2.25rem); letter-spacing: -.025em; margin-bottom: 8px; }
.closing p { color: var(--ink-soft); font-size: 1.0625rem; }

/* Sticky CTA (Mobile) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -14px rgba(15, 35, 66, .3);
}
@media (min-width: 961px) { .sticky-cta { display: none !important; } }
body.consent-visible .sticky-cta { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B7C2D3; font-size: .9375rem; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 48px 0 36px; }
.brand--light, .brand--light:hover { color: var(--white); }
.site-footer__claim { color: #B7C2D3; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a, .site-footer .linklike { color: #B7C2D3; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--white); }
@media (max-width: 960px) { body.has-sticky .site-footer { padding-bottom: 84px; } }

/* ---------- Formular (eigenes Leadformular, falls wieder eingesetzt) ---------- */
.lead-form__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 22px; }
.lead-form__count { font-size: .875rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.progress { display: flex; gap: 4px; flex: 1; max-width: 200px; }
.progress__seg { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background-color .25s ease; }
.progress__seg.is-done { background: var(--enzian); }

.js .step { display: none; }
.js .step.is-active { display: block; }
.no-js .step + .step { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q + .q { margin-top: 24px; }
.q__title { padding: 0; margin-bottom: 16px; font-size: clamp(1.25rem, 2.2vw, 1.4rem); font-weight: 650; line-height: 1.25; letter-spacing: -.012em; }
.q__title--sub { font-size: 1.0625rem; margin-bottom: 12px; }
.q__hint { margin: -6px 0 12px; font-size: .9375rem; color: var(--ink-soft); }
.q__title [data-step-focus]:focus { outline: none; }
.q--sub { padding-top: 20px; border-top: 1px dashed var(--line); }
.js .q[data-show-if]:not([hidden]) { animation: reveal .22s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Antwortflächen */
.choices { display: grid; gap: 10px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  cursor: pointer; line-height: 1.35; font-weight: 500;
  transition: border-color .12s ease, background-color .12s ease;
}
.choice:hover { border-color: #9DB0D6; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choice__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #A8B6C8; background: var(--white); transition: border .12s ease; }
.choice:has(input:checked) { border-color: var(--enzian); background: var(--enzian-tint); }
.choice input:checked + .choice__dot { border: 6px solid var(--enzian); }
.choice:has(input:focus-visible) { outline: 3px solid var(--enzian); outline-offset: 2px; }
.choice input:focus-visible + .choice__dot { box-shadow: 0 0 0 3px rgba(36, 71, 166, .35); }
.q[aria-invalid="true"] .choice { border-color: #E3A8A1; }

@media (min-width: 440px) {
  .choices--grid { grid-template-columns: 1fr 1fr; }
}
.choices--row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.choices--row .choice { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 6px; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Eingabefelder */
.fields { display: grid; gap: 16px; }
@media (min-width: 440px) {
  .fields--two { grid-template-columns: 1fr 1fr; }
  .fields--zip { grid-template-columns: 120px 1fr; }
}
.field label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%; height: 52px; padding: 0 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-ctrl);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input::placeholder { color: #8A96A8; }
.field input:focus { outline: none; border-color: var(--enzian); box-shadow: 0 0 0 3px rgba(36, 71, 166, .18); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field input:disabled { background: var(--glacier); color: var(--ink-soft); cursor: not-allowed; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; cursor: pointer; line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid #A8B6C8; background: var(--white) center / 16px no-repeat;
  transition: background-color .12s ease, border-color .12s ease;
}
.check input:checked + .check__box {
  background-color: var(--enzian); border-color: var(--enzian);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.3 2.8 2.8 6.2-6.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input:focus-visible + .check__box { outline: 3px solid var(--enzian); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--error); }
.check--consent { font-size: .9375rem; color: var(--ink-soft); }

.field-error { margin-top: 8px; font-size: .9375rem; color: var(--error); font-weight: 500; }
.form-alert {
  margin-bottom: 18px; padding: 12px 14px; border-radius: var(--radius-ctrl);
  background: #FDECEA; border: 1px solid #F3C3BD; color: #7A1A12; font-size: .9375rem;
}
.form-alert ul { margin: 6px 0 0 18px; }

.lead-form__nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.lead-form__nav [data-prev] { margin-right: auto; }
.lead-form__nav [data-next], .lead-form__nav [data-submit] { min-width: 150px; }
.js .lead-form [data-submit] { display: none; }
.js .lead-form.is-last [data-submit] { display: inline-flex; }
.js .lead-form.is-last [data-next] { display: none; }
@media (max-width: 439px) {
  .lead-form__nav [data-next], .lead-form__nav [data-submit] { flex: 1; }
}

.lead-form__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .875rem; color: var(--ink-soft); }
.lead-form__note svg { width: 16px; height: 16px; flex: none; }

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


/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: flex-start; pointer-events: none; }
.consent__panel {
  pointer-events: auto; width: 100%; max-width: 460px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(19, 35, 58, .45);
  padding: 18px 18px 16px; max-height: calc(100vh - 24px); overflow-y: auto;
}
@media (min-width: 640px) { .consent { left: 24px; bottom: 24px; } .consent__panel { padding: 24px; } }
.consent__title { font-size: 1.125rem; margin-bottom: 8px; }
.consent__title:focus { outline: none; }
.consent__text { font-size: .9375rem; color: var(--ink-soft); line-height: 1.5; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.consent__actions .btn { flex: 1 1 120px; min-height: 46px; padding: 10px 14px; font-size: .9375rem; }
.consent__more { font-size: .9375rem; color: var(--ink-soft); margin-top: 2px; }
.consent__option { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.consent__option-title { font-weight: 600; display: block; }
.consent__option-text { font-size: .875rem; color: var(--ink-soft); margin-top: 2px; }
.switch-input, .switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative;
  width: 46px; height: 28px; margin: 2px 0 0; border-radius: 14px; background: #B7C2D0; cursor: pointer;
  transition: background-color .15s ease;
}
.switch-input::after, .switch span {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s ease;
}
.switch-input:checked { background: var(--enzian); }
.switch-input:checked::after { transform: translateX(18px); }
.switch--locked { background: var(--moss); opacity: .55; cursor: default; }
.switch--locked span { transform: translateX(18px); }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.025em; margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); max-width: 72ch; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.legal mark { background: var(--note-bg); color: var(--note-ink); padding: 0 4px; border-radius: 3px; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 650; color: var(--ink); background: var(--glacier); }

/* ---------- Danke-Seite ---------- */
.thanks { background: var(--glacier) var(--topo) no-repeat right -60px top 20px / 900px auto; padding: clamp(40px, 7vw, 96px) 0; min-height: 60vh; }
.thanks__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: clamp(28px, 5vw, 48px); }
.thanks__icon { width: 56px; height: 56px; color: var(--moss); margin-bottom: 20px; }
.thanks__title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -.025em; }
.thanks__lead { margin-top: 14px; font-size: 1.125rem; color: var(--ink-soft); max-width: 56ch; }
.thanks__subtitle { font-size: 1.0625rem; margin: 30px 0 12px; }
.thanks__steps { margin-left: 22px; display: grid; gap: 6px; color: var(--ink-soft); }
.thanks__hint { margin: 22px 0 28px; font-size: .9375rem; color: var(--ink-soft); }


.embed-slot { background: var(--white); border-radius: 16px; min-height: 200px; overflow: hidden; }
.embed-slot iframe { width: 100%; border: 0; display: block; }
.embed-slot--empty {
  min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 10px; padding: 32px; border: 2px dashed #9DB0D6; color: var(--ink-soft);
}
.embed-slot--empty svg { width: 48px; height: 48px; color: var(--enzian); }
.embed-slot__title { font-weight: 650; font-size: 1.125rem; color: var(--ink); }
.embed-slot--empty code { background: var(--glacier); padding: 2px 6px; border-radius: 4px; font-size: .875em; }
.embed-slot--empty { border-color: #C3CEDD; background: #F8FAFC; min-height: 400px; }
.form-card--embed .embed-slot { border-radius: 10px; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
