/* ==========================================================================
   Komponenten: Bausteine aus DESIGN.md §5 und §6, Umbrüche nach §7.
   Baut auf tokens.css und base.css auf. Farben und Schriften nur über
   Variablen. Markup-Beispiele: public/_styleguide.html und docs/komponenten.md.

   Inhalt
    1  Grundlagen (Icon, Linie, Label, Badge, Scroll-Sperre)
    2  Buttons und Textlinks
    3  Topbar, Header, Hauptmenü
    4  Mega-Menü
    5  Mobile Navigation
    6  Breadcrumb, Seitenkopf, Sub-Navigation
    7  Sektionstitel, Sektionskopf
    8  Hero Startseite, Bewertungszeile, Sterne
    9  Kennzahlenband
   10  Checkliste
   11  Bereichskarte
   12  Zielgruppen-Teaser
   13  Themenabschnitt
   14  Leistungsumfang
   15  Schritte (3 Kreise) / Lösung in vier Schritten
   16  Bewertungen
   17  Häufige Fragen
   18  Kontaktband, Footer
   19  Formular
   20  Modal
   21  Bild-Platzhalter
   22  Textseite (.prose)
   23  Vertragscheck
   ========================================================================== */

/* ---------- 1  Grundlagen ------------------------------------------------- */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Bereichs-Icon (Linienstärke 1,5) */
.area-icon { display: block; width: 40px; height: 40px; color: var(--navy); fill: none; }
.surface-navy .area-icon,
.card-area--dark .area-icon,
.card-topic--dark .area-icon { color: var(--gold); }

/* Goldlinie 96 x 3 (Hero, Seitenkopf) und kurze Linie 44 x 2 (Karten) */
.rule {
  display: block;
  width: 96px;
  height: 3px;
  background: var(--gold);
  border: 0;
  flex-shrink: 0;
}
.rule--short { width: 44px; height: 2px; background: var(--navy); }
.surface-navy .rule--short,
.card-area--dark .rule--short,
.card-topic--dark .rule--short { background: var(--gold); }

/* Kleines Label, z. B. "Mit Partnerunternehmen" */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.surface-navy .label,
.card-area--dark .label,
.card-topic--dark .label { color: var(--slate-400); }

/* Badge: Pille mit Goldrahmen */
.badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.badge--sm { padding: 6px 14px; font-size: 13px; }
.surface-navy .badge { color: var(--white); }

/* Scroll-Sperre für Modal und mobile Navigation (setzt main.js) */
html.is-locked, html.is-locked body { overflow: hidden; }

/* Sprungmarken unter Header + Sub-Navigation */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 56px + 16px); }

/* ---------- 2  Buttons und Textlinks ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy); }
.btn .icon { width: 16px; height: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: wait; }

.btn--lg { padding: 16px 28px; }

/* Sekundär: Goldrahmen. Auf Navy weiße Schrift, auf Hell Navy-Schrift. */
.btn--outline { background: transparent; color: var(--navy); font-weight: 600; }
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.surface-navy .btn--outline { color: var(--white); }
.surface-navy .btn--outline:hover { color: var(--navy); }

/* Formular-Button: eckig, Navy, 52px, volle Breite */
.btn--form {
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.btn--form:hover { background: var(--navy-600); border-color: var(--navy-600); color: var(--white); }
.surface-navy .btn--form { border-color: var(--gold); }

.btn--block { width: 100%; }

/* Zusatz zu einem Aufruf ("kostenlos und unverbindlich", "kostenloses Erstgespräch").
   Steht in einer Button-Zeile (.hero__actions, .section-actions, .page-head__meta)
   neben dem Button oder in .cta-group darunter. */
.cta-note { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-soft); }
.surface-navy .cta-note { color: var(--slate-300); }
.cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex-shrink: 0; }
.cta-note--end { text-align: right; }
@media (max-width: 479px) { .cta-note--end { text-align: center; } }

/* Textlink: Grundform in base.css (.textlink). Hier Varianten. */
button.textlink { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.textlink--back::after { content: none; }
.textlink--back::before { content: "←"; display: inline-block; margin-right: .5em; letter-spacing: 0; transition: transform var(--ease); }
.textlink--back:hover::before { transform: translateX(-3px); }
.textlink--down::after { content: "↓"; }
.textlink--down:hover::after { transform: translateY(3px); }
.card-area--dark .textlink,
.card-topic--dark .textlink,
.mega__tile .textlink { color: var(--gold); }
.card-area--dark .textlink:hover,
.card-topic--dark .textlink:hover,
.mega__tile .textlink:hover { color: var(--white); }

/* Trefferfläche mobil mind. 44px (DESIGN.md §8), ohne das Layout zu verschieben:
   Innenabstand nach oben/unten, gleich großer negativer Außenabstand. */
@media (max-width: 767px) {
  a.textlink, .breadcrumb a { padding-block: 14px; margin-block: -14px; }
  .breadcrumb a { display: inline-block; }
}

/* ---------- 3  Topbar, Header, Hauptmenü --------------------------------- */
.topbar { background: var(--navy-900); color: var(--slate-300); font-size: 14px; }
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  min-height: var(--topbar-h);
}
.topbar__link { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-300); }
.topbar__link:hover { color: var(--white); }
.topbar__link .icon { width: 13px; height: 13px; color: var(--gold); }
.topbar :focus-visible { outline-color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.site-header__logo { display: block; flex-shrink: 0; }
.site-header__logo img { width: auto; height: 56px; }

.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4.706vw - 31.76px, 36px);   /* 20px bei 1100, 36px bei 1440 */
}
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--navy);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease);
}
.main-nav__link:hover { color: var(--gold-700); }
.main-nav__link[aria-current],
.main-nav__toggle[aria-expanded="true"] { border-bottom-color: var(--gold); }
.main-nav__caret { width: 12px; height: 12px; transition: transform var(--ease); }
.main-nav__toggle[aria-expanded="true"] .main-nav__caret { transform: rotate(180deg); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin-right: -10px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.nav-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 1279px) {
  .main-nav__link { font-size: 15px; }
  .site-header__cta { padding-inline: 18px; }
}
@media (max-width: 1099px) {
  :root { --header-h: 72px; }
  .main-nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { gap: 16px; }
  .site-header__logo img { height: 48px; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .site-header__cta { display: inline-flex; margin-left: auto; }
}
@media (max-width: 767px) {
  .topbar__inner { min-height: 44px; }
  .topbar__link { min-height: 44px; }
  .topbar__link--mail { display: none; }
}

/* ---------- 4  Mega-Menü -------------------------------------------------- */
.mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding-block: 44px;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}
.mega__col { display: flex; flex-direction: column; gap: 14px; }
.mega__head { display: flex; align-items: baseline; gap: 10px; }
.mega__num {
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: var(--fs-num-sm);
  line-height: 1;
  color: var(--gold-600);
}
.mega__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mega__title {
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: 28px;
  line-height: 1.1;
  color: var(--navy);
  hyphens: auto;
}
.mega__title:hover { color: var(--gold-700); }
.mega__links { display: flex; flex-direction: column; gap: 8px; line-height: 1.2; }
.mega__link { font-size: 16px; line-height: 1.2; color: var(--ink); }
.mega__link:hover { color: var(--gold-700); }

.mega__tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--navy);
  color: var(--white);
}
.mega__tile-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.mega__tile-title {
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: 26px;
  line-height: 1.15;
  color: var(--white);
}
.mega__tile-phone { font-size: 15px; color: var(--slate-200); }
.mega__tile-phone:hover { color: var(--white); }
.mega__tile-link { margin-top: 10px; white-space: nowrap; }
.mega__tile :focus-visible { outline-color: var(--gold); }
.mega__foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }

.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy-950);
  opacity: .55;
}

/* 1100–1279px: vier Spalten, die Navy-Kachel als Leiste darunter */
@media (max-width: 1279px) {
  .mega__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
  .mega__tile {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 32px;
    padding: 20px 28px;
  }
  .mega__tile-link { margin-top: 0; margin-left: auto; }
}
@media (max-width: 1099px) {
  .mega, .mega-backdrop { display: none !important; }
}

/* ---------- 5  Mobile Navigation (unter 1100px) -------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--navy);
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 72px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__logo img { width: auto; height: 48px; }
.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border: 0;
  background: none;
  color: var(--navy);
}
.mobile-nav__close .icon { width: 26px; height: 26px; }
.mobile-nav__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--gutter) 32px;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--navy);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}
.mobile-nav__link:hover { color: var(--gold-700); }
.mobile-nav__link[aria-current] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }
.mobile-nav__caret { width: 14px; height: 14px; transition: transform var(--ease); }
.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__caret { transform: rotate(180deg); }
.mobile-nav__sub { padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
.mobile-nav__sublink {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-size: 17px;
  color: var(--ink);
}
.mobile-nav__num {
  width: 32px;
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: 24px;
  line-height: 1;
  color: var(--gold-600);
}
.mobile-nav__sublink--all {
  padding-left: 46px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
}
.mobile-nav__sublink--all::after { content: "→"; letter-spacing: 0; }
.mobile-nav__contact { display: flex; flex-direction: column; margin-top: 24px; font-size: 16px; }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--navy); }
.mobile-nav__contact .icon { width: 16px; height: 16px; color: var(--gold-700); }
.mobile-nav__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  flex-shrink: 0;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav__actions .btn { min-height: 48px; padding-inline: 12px; letter-spacing: 1px; }
@media (min-width: 1100px) {
  .mobile-nav { display: none !important; }
}

/* ---------- 6  Breadcrumb, Seitenkopf, Sub-Navigation -------------------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin: 0 .5em; }
.breadcrumb a, .surface-navy .breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--gold-700); }
.surface-navy .breadcrumb ol { color: var(--slate-400); }
.surface-navy .breadcrumb a:hover { color: var(--white); }

.page-head { padding: 56px 0 88px; border-top: 1px solid var(--navy-400); }
.page-head__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.page-head__num { margin-top: 8px; }
.page-head__title { max-width: 1100px; }
.page-head__lead { color: var(--slate-200); }
.page-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (max-width: 767px) { .page-head { padding: 36px 0 56px; } }

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: var(--navy);
}
.subnav__list {
  display: flex;
  align-items: stretch;
  gap: 36px;
  height: 56px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list > li { display: flex; }
.subnav__link {
  display: flex;
  align-items: center;
  padding-top: 2px;
  border-bottom: 2px solid transparent;
  color: var(--slate-300);
  font-size: 15px;
  white-space: nowrap;
}
.subnav__link:hover { color: var(--white); }
.subnav__link.is-active,
.subnav__link[aria-current] { color: var(--white); border-bottom-color: var(--gold); }
.subnav :focus-visible { outline-color: var(--gold); outline-offset: -2px; }
@media (max-width: 767px) { .subnav__list { gap: 28px; } }
/* Unter 1280px läuft die Leiste oft über: rechts ausblenden als Hinweis,
   dass sie seitlich scrollt. Rechter Innenabstand, damit der letzte Eintrag
   ganz sichtbar wird, wenn bis zum Ende gescrollt ist. */
@media (max-width: 1279px) {
  .subnav__list {
    padding-right: 48px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
  }
}

/* ---------- 7  Sektionstitel, Sektionskopf ------------------------------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 40px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  hyphens: manual;
}
.section-title::after { content: ""; flex: 1; min-width: 40px; height: 1px; background: var(--line); }
.surface-navy .section-title { color: var(--slate-300); }
.surface-navy .section-title::after { background: var(--navy-400); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: var(--measure-lead);
  margin-bottom: 48px;
}
.section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  max-width: none;
}
.section-head--split > :first-child { display: flex; flex-direction: column; gap: 14px; max-width: var(--measure-lead); }
.section-head:last-child { margin-bottom: 0; }   /* Kopf als Abschluss einer Sektion */
.section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
@media (max-width: 1023px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

/* ---------- 8  Hero Startseite, Bewertungszeile, Sterne ------------------ */
.hero { padding-block: var(--section-y-hero); }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 64px;
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__lead { max-width: 640px; color: var(--slate-200); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero__actions + .cta-note { margin-top: -8px; }
.hero__media img,
.hero__media .placeholder { width: 100%; aspect-ratio: 540 / 380; object-fit: cover; }
@media (max-width: 1199px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__media { max-width: 720px; }
}

.stars { display: inline-flex; gap: 3px; color: var(--gold-600); }
.stars .icon { width: 18px; height: 18px; }
.stars--lg .icon { width: 24px; height: 24px; }
.surface-navy .stars { color: var(--gold); }

.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; color: var(--ink-muted); }
.rating strong { font-weight: 700; color: var(--navy); }
.surface-navy .rating { color: var(--slate-300); }
.surface-navy .rating strong { color: var(--white); }

/* ---------- 9  Kennzahlenband --------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 20px;
  margin: 0;
}
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; }
.stats__value {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: var(--fs-num-lg);
  line-height: 1;
  color: var(--gold-600);
}
.stats__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
}
.surface-navy .stats__value { color: var(--gold); }
.surface-navy .stats__label { color: var(--slate-300); }
/* 768–1199px: vier schmale Spalten – „Jahre Erfahrung“ brach sonst als einziges Label um */
@media (min-width: 768px) and (max-width: 1199px) { .stats__label { letter-spacing: 2px; } }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 360px: "Vertragschecks" passt mit 3px Laufweite nicht in die halbe Spalte */
@media (max-width: 479px) {
  .stats { gap: 32px 16px; }
  .stats__label { font-size: 12px; letter-spacing: 1.5px; }
}

/* ---------- 10  Checkliste ------------------------------------------------ */
/* Der Haken ist reine Grafik (CSS-Maske), wird nicht vorgelesen. */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
  line-height: 1.45;
}
.checklist > li { position: relative; padding-left: 28px; }
.checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 16px;
  height: 16px;
  background: var(--gold-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist--sm { font-size: 16px; }
.surface-navy .checklist > li,
.card-area--dark .checklist > li,
.card-topic--dark .checklist > li { color: var(--slate-100); }
.surface-navy .checklist > li::before,
.card-area--dark .checklist > li::before,
.card-topic--dark .checklist > li::before { background: var(--gold); }

/* ---------- 11  Bereichskarte --------------------------------------------- */
.card-area {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}
.card-area__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-area__num:only-child { margin-left: auto; }   /* Kopf ohne Eyebrow: Ziffer rechts */
/* 1200–1399px: vierspaltige Karten sind am schmalsten – „Thermische Beschichtung“
   bliebe sonst nicht einzeilig neben der Ziffer */
@media (min-width: 1200px) and (max-width: 1399px) { .card-area__eyebrow { letter-spacing: 1.5px; } }
.card-area__eyebrow {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.card-area__num {
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: 30px;
  line-height: 1;
  color: var(--gold-600);
}
.card-area__title { font-size: var(--fs-h3); line-height: 1.1; }
.card-area .checklist { flex-grow: 1; font-size: 16px; }
.card-area__text { flex-grow: 1; font-size: 17px; line-height: 1.55; color: var(--ink-muted); }
.card-area__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.card-area--lg { padding: 40px; }
.card-area--lg .card-area__eyebrow { font-size: 12px; }
.card-area--lg .card-area__num { font-size: var(--fs-num); }
.card-area--lg .card-area__title { font-size: var(--fs-h3-lg); }
.card-area--lg .checklist { font-size: 17px; }

.card-area--dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.card-area--dark .card-area__eyebrow { color: var(--slate-300); }
.card-area--dark .card-area__num { color: var(--gold); }
.card-area--dark .card-area__title { color: var(--white); }
.card-area--dark .card-area__text { color: var(--slate-200); }
.card-area--dark :focus-visible { outline-color: var(--gold); }
@media (max-width: 767px) { .card-area--lg { padding: 28px 24px; } }

/* ---------- 12  Zielgruppen-Teaser (ganze Karte ist ein Link) ------------ */
.card-teaser {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: border-color var(--ease);
}
.card-teaser:hover { border-color: var(--navy); color: var(--navy); }
.card-teaser__title { font-size: var(--fs-h3-lg); line-height: 1.1; }
.card-teaser__text { font-size: 17px; line-height: 1.55; color: var(--ink-muted); }
.card-teaser .textlink { margin-top: auto; padding-top: 4px; }
.card-teaser:hover .textlink { color: var(--gold-700); }
.card-teaser:hover .textlink::after { transform: translateX(3px); }
@media (max-width: 767px) { .card-teaser { padding: 28px 24px; } }

/* ---------- 13  Themenabschnitt ------------------------------------------ */
.topic { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.topic__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}
.topic__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.topic__title { font-size: var(--fs-h2); line-height: 1.05; }
.topic__text { font-size: 17px; line-height: 1.55; color: var(--ink-muted); }

.card-topic {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}
.card-topic__title { font-size: var(--fs-h3); line-height: 1.1; }
.card-topic__text { font-size: 17px; line-height: 1.55; color: var(--ink-muted); }
.card-topic .checklist { flex-grow: 1; }
.card-topic__foot { margin-top: auto; padding-top: 8px; }
.card-topic--dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.card-topic--dark .card-topic__title { color: var(--white); }
.card-topic--dark .card-topic__text { color: var(--slate-200); }
.card-topic--dark .eyebrow { color: var(--gold); }
.card-topic--dark :focus-visible { outline-color: var(--gold); }

@media (max-width: 1199px) {
  .topic__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .topic__head { grid-column: 1 / -1; max-width: var(--measure-lead); }
}
@media (max-width: 767px) {
  .topic__inner { grid-template-columns: minmax(0, 1fr); }
  .card-topic { padding: 28px 24px; }
}

/* ---------- 14  Leistungsumfang ------------------------------------------ */
.scope__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 40px;
}
.scope__head-text { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.scope__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.scope__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.surface-cream .scope__col { background: var(--white); }
.scope__col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.scope__title { font-size: var(--fs-h4); line-height: 1.15; }
.scope__num { font-size: 13px; font-weight: 700; color: var(--gold-700); }
.scope__col .checklist { font-size: 16px; }

/* Spaltenköpfe einer Reihe gleich hoch, damit die Trennlinien auf einer Höhe
   liegen – auch wenn ein Titel ein-, der nächste dreizeilig ist. Jede Spalte
   besteht aus Kopf + GENAU EINEM Inhaltsblock. Mehrere Blöcke (Liste + Satz)
   in <div class="scope__body"> zusammenfassen. Ohne Subgrid: wie bisher. */
.scope__body { display: flex; flex-direction: column; gap: 14px; }
@supports (grid-template-rows: subgrid) {
  .scope__col {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 14px;
    align-content: start;
  }
  .scope__col-head { align-self: stretch; align-items: flex-end; }
  .scope__col-head .scope__num { align-self: flex-end; }
}

.surface-navy .scope__col { background: transparent; border-color: var(--navy-400); }
.surface-navy .scope__col-head { border-color: var(--navy-400); }
.surface-navy .scope__num { color: var(--gold); }

@media (max-width: 1199px) {
  .scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .scope__grid { grid-template-columns: minmax(0, 1fr); }
  .scope__col { padding: 24px; }
}

/* ---------- 15  Schritte / Lösung in vier Schritten ---------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps__item { display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-weight: 700;
  color: var(--navy);
}
/* min-width/hyphens: lange Komposita ("Wirtschaftlichkeitsprüfung") bleiben
   bei 768–1199px (drei schmale Spalten) in der Spalte */
.steps__text {
  min-width: 0;
  padding-top: 8px;
  font-size: var(--fs-step);
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.surface-navy .steps__num { color: var(--white); }
.surface-navy .steps__text { color: var(--slate-200); }
@media (max-width: 767px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.card-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
}
.card-step__media img,
.card-step__media .placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0; }
.card-step__body { display: flex; flex-direction: column; gap: 12px; flex-grow: 1; padding: 28px; }
.card-step__num {
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: var(--fs-num);
  line-height: 1;
  color: var(--gold-600);
}
.card-step__title { font-size: var(--fs-h4); line-height: 1.15; }
.card-step__text { font-size: 16px; line-height: 1.5; color: var(--ink-muted); }

/* ---------- 16  Bewertungen ----------------------------------------------- */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 40px;
}
.reviews__head-text { display: flex; flex-direction: column; gap: 14px; }
.reviews__score { display: flex; align-items: center; gap: 16px; }
.reviews__score-value {
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: var(--fs-num-lg);
  line-height: 1;
  color: var(--gold-600);
}
.reviews__score-text { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink-muted); }
.reviews__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reviews__list > li { display: flex; }
.card-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
}
.card-review__title { font-family: var(--font-sans); font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.card-review__quote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.card-review__quote > * + * { margin-top: 12px; }
.card-review__name { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.card-review__meta { display: block; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.surface-navy .reviews__score-value { color: var(--gold); }
.surface-navy .reviews__score-text { color: var(--slate-300); }

/* Unter 1200px: waagrecht wischen (Scroll-Snap), kein JS */
@media (max-width: 1199px) {
  .reviews__list {
    display: flex;
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
  }
  .reviews__list > li { flex: 0 0 min(420px, 85%); scroll-snap-align: start; }
  .card-review { padding: 28px 24px; }
}

/* ---------- 17  Häufige Fragen -------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--gold-700); }
.faq__q::after {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  background: var(--gold-700);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq__item[open] > .faq__q::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq__a { max-width: var(--measure-lead); padding: 0 44px 24px 0; color: var(--ink-muted); line-height: 1.55; }
.faq__a > * + * { margin-top: 12px; }
.faq__a a { text-decoration: underline; text-underline-offset: 3px; }

.surface-navy .faq, .surface-navy .faq__item { border-color: var(--navy-400); }
.surface-navy .faq__q { color: var(--white); }
.surface-navy .faq__q:hover { color: var(--gold); }
.surface-navy .faq__q::after { background: var(--gold); }
.surface-navy .faq__a { color: var(--slate-200); }

/* ---------- 18  Kontaktband, Footer --------------------------------------- */
.contact-band { padding: 80px 0 48px; }
.contact-band__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.contact-band__text { display: flex; flex-direction: column; gap: 14px; max-width: var(--measure); }
.contact-band__title { line-height: 1.1; }
.contact-band__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.contact-band__phone {
  font-family: var(--font-serif);
  font-weight: var(--serif-weight);
  font-size: clamp(32px, 28px + 1.111vw, 44px);
  line-height: 1.1;
  color: var(--gold);
  white-space: nowrap;
}
.contact-band__phone:hover { color: var(--white); }
.contact-band__mail { font-size: 17px; color: var(--slate-200); }
.contact-band__mail:hover { color: var(--white); }
.contact-band__cta { margin-top: 10px; }
@media (max-width: 1023px) {
  .contact-band__inner { flex-direction: column; align-items: flex-start; }
  .contact-band__contact { align-items: flex-start; }
}
@media (max-width: 767px) { .contact-band { padding: 56px 0 40px; } }

.site-footer { padding-bottom: 40px; font-size: var(--fs-footer); line-height: 1.9; color: var(--slate-300); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-top: 56px;
  border-top: 1px solid var(--navy-400);
}
main + .site-footer { padding-top: 24px; }
main + .site-footer .site-footer__grid { border-top-color: transparent; }
.site-footer__logo { display: inline-block; margin-bottom: 12px; }
.site-footer__logo img { width: 72px; height: auto; }
.site-footer__title { margin-bottom: 4px; color: var(--white); font-weight: 700; letter-spacing: 1px; }
.site-footer__address { font-style: normal; }
.site-footer a:not(.btn),
.site-footer__button { color: var(--slate-300); }
.site-footer a:not(.btn):hover,
.site-footer__button:hover { color: var(--white); }
.site-footer__button { padding: 0; border: 0; background: none; font: inherit; line-height: inherit; cursor: pointer; }
.site-footer__copy {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-400);
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate-400);
}
@media (max-width: 1199px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; }
  .site-footer__list a, .site-footer__button { display: inline-block; min-height: 44px; line-height: 44px; }
  .site-footer__list { line-height: 1.4; }
}

/* ---------- 19  Formular -------------------------------------------------- */
.card-form { padding: 40px; background: var(--white); border: 1px solid var(--line); }
@media (max-width: 767px) { .card-form { padding: 28px 20px; } }

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label,
.field__label { font-size: var(--fs-small); font-weight: 600; line-height: 1.4; color: var(--ink); }
.field__hint { font-weight: 400; color: var(--ink-soft); }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.field select,
.field textarea {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { height: auto; min-height: 110px; padding: 12px; line-height: 1.5; resize: vertical; }
.field select {
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  /* Pfeil in --navy (#15213D) */
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2315213D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-500); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }

/* Fehlerzustand: aria-invalid="true" am Feld (setzt main.js) oder .field.is-invalid */
.field [aria-invalid="true"],
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--gold-700) !important; box-shadow: inset 0 0 0 1px var(--gold-700); }
.field__error { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--gold-700); }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 479px) { .field-row { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-muted);
  cursor: pointer;
}
.consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.consent input[aria-invalid="true"] { outline: 2px solid var(--gold-700); outline-offset: 2px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha strong { color: var(--navy); }
.form-note {
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: var(--mist);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- 20  Modal ----------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal__backdrop { position: absolute; inset: 0; background: var(--navy-950); opacity: .72; }
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--navy);
}
.modal__close:hover { color: var(--gold-700); }
.modal__close .icon { width: 22px; height: 22px; }
.modal__title { margin-top: 10px; padding-right: 40px; }
.modal__intro { margin: 12px 0 24px; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
@media (max-width: 479px) {
  .modal { padding: 0; align-items: stretch; }
  .modal__dialog { max-height: none; height: 100%; padding: 56px 20px 28px; border: 0; }
}

/* ---------- 21  Bild-Platzhalter (TODO(Bild)) ----------------------------- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 20px;
  border: 1px dashed var(--slate-500);
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
}
.placeholder--hero { aspect-ratio: 540 / 380; }
.placeholder--16x9 { aspect-ratio: 16 / 9; }
.placeholder--3x2  { aspect-ratio: 3 / 2; }
.placeholder--1x1  { aspect-ratio: 1 / 1; }
.surface-navy .placeholder { border-color: var(--navy-300); background: var(--navy-600); color: var(--slate-400); }

/* Sichtbarer Entwurfshinweis für fehlende Inhalte (Abnahme durch den Kunden).
   Im HTML-Kommentar daneben steht TODO(Inhalt). Vor Livegang ersetzen. */
.todo {
  display: block;
  width: 100%;
  max-width: var(--measure);
  padding: 14px 18px;
  border: 1px dashed var(--gold-700);
  border-left: 4px solid var(--gold-700);
  background: var(--mist);
  color: var(--ink);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.todo::before {
  content: "Entwurf – Inhalt folgt";
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* Foto mit festem Seitenverhältnis */
.media { display: block; width: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }

/* ---------- 22  Textseite (Impressum, Datenschutz) ------------------------ */
.prose { max-width: var(--measure); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 56px;
  font-size: clamp(28px, 26.67px + .370vw, 32px);
  line-height: 1.15;
}
.prose h3 { margin-top: 36px; font-size: 24px; line-height: 1.2; }
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--gold-700); }
.prose strong { font-weight: 600; color: var(--navy); }
.prose address { font-style: normal; }

/* ---------- 23  Vertragscheck --------------------------------------------- */
/* Klassen passen zu den Hooks des Inline-Skripts in vertragscheck.html:
   .progress__bar, .wizard__step.is-active, .choice.is-selected, .dropzone.is-drag */
.wizard { max-width: 840px; margin-inline: auto; padding: 40px; background: var(--white); border: 1px solid var(--line); }
@media (max-width: 767px) { .wizard { padding: 28px 20px; } }

.progress__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-muted);
}
.progress { height: 8px; background: var(--mist-200); overflow: hidden; }
.wizard .progress { margin-bottom: 36px; }
.progress__bar { height: 100%; width: 0; background: var(--navy); transition: width 300ms ease; }

.wizard__step, .wizard__done { display: none; }
.wizard__step.is-active, .wizard__done.is-active { display: block; }
.wizard__step > * + *, .wizard__done > * + * { margin-top: 16px; }
.wizard__title { font-size: var(--fs-h3-lg); line-height: 1.1; }
.wizard__text { color: var(--ink-muted); }
.wizard__hint { font-size: var(--fs-small); font-weight: 600; color: var(--gold-700); }
.wizard__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px !important;
}
.wizard__actions .btn--form { width: auto; min-width: 220px; margin-left: auto; padding-inline: 32px; }
.wizard__actions + .cta-note { margin-top: 8px; }
@media (max-width: 479px) {
  .wizard__actions .btn--form { width: 100%; min-width: 0; order: -1; }
}

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 599px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.choice:hover { border-color: var(--navy); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold-700); outline-offset: 2px; }
.choice.is-selected,
.choice[aria-pressed="true"],
.choice:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.choice.is-selected::after,
.choice[aria-pressed="true"]::after,
.choice:has(input:checked)::after {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-left: auto;
  background: var(--gold-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  padding: 32px 24px;
  border: 1.5px dashed var(--slate-500);
  background: var(--cream);
  color: var(--ink-muted);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--navy); background: var(--mist); }
.dropzone:focus-within { outline: 2px solid var(--gold-700); outline-offset: 2px; }
.dropzone .icon { width: 32px; height: 32px; color: var(--navy); }
.dropzone__name { font-weight: 600; color: var(--navy); }
.dropzone__name:empty { display: none; }

/* Ziffern in Serif überall als Normalziffern, wie .num in base.css */
.mega__num, .mobile-nav__num, .card-area__num, .stats__value, .card-step__num,
.reviews__score-value, .contact-band__phone, .mega__tile-phone, .steps__num { font-variant-numeric: lining-nums; }
