/* ==========================================================================
   Krany · Website-Styles
   Grundlage: Krany Corporate Design 1.0 (Tokens aus Kapitel 14)
   ========================================================================== */

/* Schriften lokal (SIL Open Font License) – keine Verbindung zu Google */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/bricolage-grotesque-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/bricolage-grotesque-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FFFFFF;
  --bg-2: #F3F6EF;
  --fill: #DDE5DC;
  --label: #05211C;
  --label-2: #4A5A54;
  --signal: #C6F21E;
  --on-signal: #05211C;
  --signal-soft: #E9F8B8;
  --ok: #1E7A3C;
  --warn: #9A5B00;
  --error: #C1291F;
  --anchor: #05211C;          /* der eine tiefgrüne Block pro Ansicht */
  --anchor-label: #FFFFFF;
  --anchor-label-2: #A6B8B1;
  --anchor-line: #143B33;
  --logo-field: #05211C;
  --line: #DDE5DC;
  --glass: #FFFFFFC7;
  --blur: 20px;

  /* Illustrations-Platzhalter (Baustellen-Bildfolge) */
  --ill-sky: #C9D5DD;
  --ill-sky-warm: #E8CBA5;
  --ill-ground: #B3AB98;
  --ill-ground-2: #A39B88;
  --ill-build: #7E7A72;
  --ill-build-2: #6E6A63;
  --ill-crane: #3B4744;
  --ill-window: #F4E7B5;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;

  --r-chip: 8px;
  --r-field: 12px;
  --r-card: 20px;
  --r-sheet: 28px;
  --r-pill: 999px;
  --hit: 44px;

  --ease: cubic-bezier(.2, 0, 0, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;

  --content: 1200px;
  --reading: 680px;
  --gutter: 20px;

  color-scheme: light;
}

/* Dunkel: Systemeinstellung, solange kein Schalter gesetzt ist */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05211C;
    --bg-2: #0B2E27;
    --fill: #143B33;
    --label: #EEF4EC;
    --label-2: #A6B8B1;
    --signal-soft: #C6F21E29;
    --ok: #3FCB6A;
    --warn: #F5B547;
    --error: #FF7A6E;
    --anchor: #0B2E27;
    --anchor-line: #1D4A40;
    --logo-field: #143B33;
    --line: #143B33;
    --glass: #05211CC7;
    --ill-sky: #8FA3AE;
    --ill-ground: #8E8776;
    --ill-ground-2: #7F7868;
    color-scheme: dark;
  }
}
/* Dunkel: per Schalter erzwungen */
:root[data-theme="dark"] {
  --bg: #05211C;
  --bg-2: #0B2E27;
  --fill: #143B33;
  --label: #EEF4EC;
  --label-2: #A6B8B1;
  --signal-soft: #C6F21E29;
  --ok: #3FCB6A;
  --warn: #F5B547;
  --error: #FF7A6E;
  --anchor: #0B2E27;
  --anchor-line: #1D4A40;
  --logo-field: #143B33;
  --line: #143B33;
  --glass: #05211CC7;
  --ill-sky: #8FA3AE;
  --ill-ground: #8E8776;
  --ill-ground-2: #7F7868;
  color-scheme: dark;
}

@media (prefers-reduced-transparency: reduce) {
  :root { --glass: var(--bg); }
}
@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; }
  html { scroll-behavior: auto !important; }
}

@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 1.0625rem;           /* 17 px */
  line-height: 1.53;              /* 26 px */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.tabular { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--signal); color: var(--on-signal);
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--label);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--signal);
  border-radius: 6px;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typo-Stile ---------- */
.display {
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 4rem);   /* 44 → 64 */
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.large-title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.25rem); line-height: 1.12; letter-spacing: -0.025em; }
.title-1 { font-size: 1.75rem; line-height: 1.22; letter-spacing: -0.02em; }
.title-2 { font-size: 1.375rem; line-height: 1.27; letter-spacing: -0.01em; }
.title-3 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: 1.1875rem; line-height: 1.5; color: var(--label-2); max-width: 36em; }
.footnote { font-size: .8125rem; line-height: 1.38; color: var(--label-2); }
.eyebrow {
  display: block;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--label-2); margin-bottom: 12px;
}

/* Leuchtmarker: ein Wort pro Überschrift, nur auf hellem Grund */
.mark {
  background: linear-gradient(transparent 62%, var(--signal) 62%, var(--signal) 94%, transparent 94%);
  padding: 0 .04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root[data-theme="dark"] .mark { background: none; box-shadow: inset 0 -.18em 0 var(--signal); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark { background: none; box-shadow: inset 0 -.18em 0 var(--signal); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--label); --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--hit);
  padding: 10px 22px;
  border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { --btn-bg: var(--signal); --btn-fg: var(--on-signal); }
.btn--primary:hover { box-shadow: inset 0 0 0 999px #05211C14; }
.btn--secondary:hover { box-shadow: inset 0 0 0 999px #FFFFFF1F; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--label);
  box-shadow: inset 0 0 0 1.5px var(--fill);
}
.btn--ghost:hover { --btn-bg: var(--bg-2); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }

.textlink {
  color: var(--label); font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--signal), var(--signal)) 0 100% / 100% 3px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--t-fast) var(--ease);
}
.textlink:hover { background-size: 100% 100%; color: var(--on-signal); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--label); }
.logo svg { width: 34px; height: 34px; }
.logo .logo-field { fill: var(--logo-field); }
.logo span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.625rem;
  letter-spacing: -0.03em; line-height: 1; margin-top: -3px;
}

/* ---------- Navigation (schwebend, Glas) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 12px var(--gutter) 0;
}
.nav {
  max-width: var(--content); margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 10px 10px 10px 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  border-radius: var(--r-sheet);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav__links { display: none; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 500; font-size: .9375rem;
  color: var(--label-2);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--label); background: var(--bg-2); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__actions .btn--portal span { display: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: var(--hit); height: var(--hit); flex: none;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--label);
  box-shadow: inset 0 0 0 1.5px var(--fill);
  transition: background-color var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 20px; height: 20px; }

.menu-toggle { display: inline-grid; }

/* Theme-Schalter (System / Hell / Dunkel) */
.theme-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  border-radius: var(--r-pill); background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.theme-switch button {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: transparent; color: var(--label-2); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.theme-switch button svg { width: 17px; height: 17px; }
.theme-switch button:hover { color: var(--label); }
.theme-switch button[aria-pressed="true"] { background: var(--label); color: var(--bg); }
.nav .theme-switch { display: none; }

/* Mobiles Menü */
.mobile-menu {
  max-width: var(--content); margin: 8px auto 0;
  padding: 12px; border-radius: var(--r-sheet);
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
  box-shadow: inset 0 0 0 1px var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: var(--hit); padding: 0 12px;
  border-radius: var(--r-field); text-decoration: none; font-weight: 600;
}
.mobile-menu a:not(.btn):hover { background: var(--bg-2); }
.mobile-menu__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 12px 4px 4px; border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .nav__actions .btn--portal span { display: inline; }
}
@media (min-width: 1024px) {
  .nav .theme-switch { display: inline-flex; }
}
@media (min-width: 1200px) {
  .nav__links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 420px) {
  .nav__actions .nav-cta { display: none; }
}

/* ---------- Sektionen ---------- */
section { padding: 64px 0; }
@media (min-width: 1024px) { section { padding: 96px 0; } }
.section--mist { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 64px; }
@media (min-width: 1024px) { .hero { padding: 64px 0 96px; } }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 5fr 7fr; gap: 56px; } }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none;
  font-size: .9375rem; color: var(--label-2);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--label); }

/* ---------- Player (Signatur) ---------- */
.player {
  border-radius: var(--r-sheet);
  background: var(--bg-2);
  padding: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.player__screen {
  position: relative; overflow: hidden;
  border-radius: calc(var(--r-sheet) - 12px);
  aspect-ratio: 16 / 9;
  background: var(--ill-sky);
}
.player__screen svg { width: 100%; height: 100%; }
.stamp {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--signal); color: var(--on-signal);
  font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.player__phase {
  position: absolute; right: 12px; top: 12px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: #FFFFFFE0; color: #05211C;
  font-size: .75rem; font-weight: 600;
}
.player__controls { display: flex; align-items: center; gap: 12px; padding: 16px 4px 4px; }
.play-btn {
  display: grid; place-items: center; flex: none;
  width: var(--hit); height: var(--hit); border-radius: 50%; border: 0; cursor: pointer;
  background: var(--label); color: var(--bg);
  transition: transform var(--t-fast) var(--ease);
}
.play-btn:active { transform: scale(.94); }
.play-btn svg { width: 18px; height: 18px; }
.timeline { flex: 1; min-width: 0; }
.timeline__months {
  display: flex; justify-content: space-between;
  font-size: .75rem; font-weight: 500; color: var(--label-2); margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.timeline__months .is-now { color: var(--label); font-weight: 700; }
.timeline__track { position: relative; height: 28px; }
.timeline__track::before {   /* geplante Bauzeit, gepunktet */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0;
  border-top: 2px dotted var(--label-2); transform: translateY(-1px); opacity: .7;
}
.timeline__range {
  position: absolute; left: 0; top: 0; height: 28px; margin: 0;
  width: var(--available, 82%);
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.timeline__range::-webkit-slider-runnable-track { height: 3px; background: var(--label); border-radius: 2px; }
.timeline__range::-moz-range-track { height: 3px; background: var(--label); border-radius: 2px; }
.timeline__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11.5px;
  border-radius: 50%; background: var(--signal); border: 2px solid #05211C;
  transition: transform var(--t-fast) var(--ease);
}
.timeline__range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--signal); border: 2px solid #05211C;
}
.timeline__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.timeline__range:focus-visible { outline: none; box-shadow: none; }
.timeline__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--label); }
.timeline__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--label); }
.player__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 8px 4px 0; font-size: .8125rem; color: var(--label-2);
}

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 600;
  background: var(--bg); color: var(--ok);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Ansprechpartner klein am Rand */
.contact-chip {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 16px; padding: 8px 16px 8px 8px;
  border-radius: var(--r-pill); background: var(--bg-2);
  text-decoration: none; color: var(--label);
  box-shadow: inset 0 0 0 1px var(--line);
}
.contact-chip small { display: block; font-size: .75rem; color: var(--label-2); line-height: 1.2; }
.contact-chip strong { display: block; font-size: .9375rem; line-height: 1.3; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fill); color: var(--label);
  font: 700 .875rem/1 var(--font-display); letter-spacing: -.01em;
  position: relative; overflow: hidden;
}
.avatar--lg { width: 72px; height: 72px; font-size: 1.375rem; }
.avatar__note {
  position: absolute; bottom: 0; left: 0; right: 0;
  font: 500 .5625rem/1.6 var(--font); text-align: center; letter-spacing: .02em;
  background: #05211CB3; color: #fff;
}

/* ---------- Karten / Features ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 24px; } }

.card {
  border-radius: var(--r-card); background: var(--bg-2); padding: 24px;
}
.section--mist .card { background: var(--bg); }
.card h3 { margin: 16px 0 8px; }
.card p { margin: 0; color: var(--label-2); }
.card__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--bg); color: var(--label);
}
.section--mist .card__icon { background: var(--bg-2); }
.card__icon svg { width: 22px; height: 22px; }
.card--feature-main {
  grid-column: 1 / -1;
  display: grid; gap: 24px; align-items: center;
}
@media (min-width: 1024px) { .card--feature-main { grid-template-columns: 1fr 1fr; padding: 32px; } }
.card--feature-main h3 { margin-top: 0; }
.embed-demo {
  border-radius: var(--r-field); overflow: hidden; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.embed-demo__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--label-2);
}
.embed-demo__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--fill); }
.embed-demo__bar span { margin-left: 8px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--bg-2); }
.embed-demo__body { padding: 16px; display: grid; gap: 10px; }
.embed-demo__body .ph { height: 10px; border-radius: 4px; background: var(--fill); }
.embed-demo__body .ph--title { width: 55%; height: 16px; background: var(--label); opacity: .85; }
.embed-demo__body .ph--short { width: 70%; }
.embed-demo__frame {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-chip); overflow: hidden;
  background: var(--ill-sky);
}
.embed-demo__frame svg { width: 100%; height: 100%; }
.embed-demo__frame .stamp { left: 8px; top: 8px; font-size: .6875rem; padding: 2px 8px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px;
  border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1.5px #05211C;
}

/* ---------- Anker-Block (tiefgrün, genau einmal pro Seite) ---------- */
.anchor {
  background: var(--anchor); color: var(--anchor-label);
  border-radius: var(--r-sheet);
  padding: 48px 24px;
}
@media (min-width: 1024px) { .anchor { padding: 72px 64px; } }
.anchor .eyebrow { color: var(--anchor-label-2); }
.anchor h2 { color: var(--anchor-label); max-width: 18em; }
.anchor p { color: var(--anchor-label-2); max-width: 40em; }
.anchor__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .anchor__grid { grid-template-columns: 6fr 5fr; gap: 64px; align-items: end; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--anchor-line); border-radius: var(--r-card); overflow: hidden; }
.stats div { background: var(--anchor); padding: 20px; }
.stats strong {
  display: block; font: 700 2rem/1.1 var(--font-display); letter-spacing: -.02em;
  color: var(--anchor-label); font-variant-numeric: tabular-nums;
}
.stats strong em { font-style: normal; color: var(--signal); }
.stats span { font-size: .875rem; color: var(--anchor-label-2); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); color: var(--label); box-shadow: inset 0 0 0 2px var(--label);
  font: 700 .9375rem/1 var(--font-display);
}
.step::after {
  content: ""; position: absolute; left: 44px; right: 0; top: 15px; height: 2px; background: var(--label);
}
.step:last-child::before { background: var(--signal); color: var(--on-signal); box-shadow: inset 0 0 0 2px #05211C; }
.step:last-child::after { background: none; border-top: 2px dotted var(--label-2); height: 0; }
@media (max-width: 1023px) {
  .step { padding: 0 0 0 52px; }
  .step::after { left: 15px; top: 40px; bottom: -16px; right: auto; width: 2px; height: auto; }
  .step:last-child::after { display: none; }
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--label-2); margin: 0; }
.step .footnote { margin-top: 8px; }

/* ---------- Portal ---------- */
.portal-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .portal-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.portal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phone {
  width: min(320px, 100%); margin: 0 auto;
  border-radius: 40px; padding: 10px;
  background: var(--label);
}
.phone__screen {
  border-radius: 31px; background: var(--bg); padding: 20px 16px 12px;
  display: grid; gap: 14px;
}
.phone__screen .footnote { margin: 0; }
.phone__img { position: relative; aspect-ratio: 4/3; border-radius: var(--r-field); overflow: hidden; background: var(--ill-sky); }
.phone__img svg { width: 100%; height: 100%; }
.phone__img .stamp { left: 8px; top: 8px; font-size: .6875rem; padding: 2px 8px; }
.phone__tl { position: relative; height: 20px; }
.phone__tl::before { content: ""; position: absolute; left: 0; width: 70%; top: 9px; height: 2px; background: var(--label); }
.phone__tl::after { content: ""; position: absolute; left: 70%; right: 0; top: 9px; border-top: 2px dotted var(--label-2); }
.phone__tl i { position: absolute; left: calc(70% - 10px); top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); border: 2px solid #05211C; z-index: 1; }
.phone__btn { height: 40px; border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal); display: grid; place-items: center; font-size: .8125rem; font-weight: 600; }
.phone__tabs { display: flex; justify-content: space-around; padding: 8px; border-radius: var(--r-pill); background: var(--bg-2); font-size: .6875rem; color: var(--label-2); }
.phone__tabs b { color: var(--label); }

/* ---------- Konfigurator ---------- */
.config { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .config { grid-template-columns: 7fr 5fr; gap: 32px; } }
.config__form { display: grid; gap: 28px; }
.config fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.config legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.config .hint { font-size: .875rem; color: var(--label-2); margin: 0 0 12px; }
.options { display: grid; gap: 8px; }
.options--2 { grid-template-columns: repeat(2, 1fr); }
.options--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .options--3 { grid-template-columns: repeat(3, 1fr); } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option label {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  min-height: 64px; padding: 12px 14px;
  border-radius: var(--r-field); background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--fill); cursor: pointer;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.option label b { font-weight: 600; }
.option label small { font-size: .8125rem; color: var(--label-2); font-variant-numeric: tabular-nums; }
.option input:hover + label { background: var(--bg-2); }
.option input:checked + label { box-shadow: inset 0 0 0 2px var(--label); background: var(--signal-soft); }
.option input:focus-visible + label { outline: 2px solid var(--label); outline-offset: 2px; box-shadow: inset 0 0 0 2px var(--label), 0 0 0 6px var(--signal); }

.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--fill); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--label); cursor: pointer; font-size: 1.25rem; line-height: 1; }
.stepper button:hover { background: var(--fill); }
.stepper button:disabled { opacity: .4; cursor: default; }
.stepper output { min-width: 3ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { min-width: 7ch; font-weight: 600; font-variant-numeric: tabular-nums; }
.range {
  flex: 1; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; margin: 0;
}
.range::-webkit-slider-runnable-track { height: 3px; background: var(--label); border-radius: 2px; }
.range::-moz-range-track { height: 3px; background: var(--label); border-radius: 2px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--signal); border: 2px solid #05211C; }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--signal); border: 2px solid #05211C; }

.summary {
  position: sticky; top: 100px;
  border-radius: var(--r-sheet); background: var(--bg); padding: 28px;
  box-shadow: inset 0 0 0 1.5px var(--fill);
}
.summary__price {
  font: 700 3rem/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  margin: 8px 0 4px;
}
.summary__price small { font: 500 1rem/1 var(--font); letter-spacing: 0; color: var(--label-2); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 24px 0; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.summary dt { color: var(--label-2); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary dl .sep { grid-column: 1 / -1; height: 1px; background: var(--line); }
.summary .checklist { font-size: .9375rem; margin-bottom: 24px; }
.summary .footnote { margin: 16px 0 0; }
.summary__custom { display: none; }
.summary.is-custom .summary__calc { display: none; }
.summary.is-custom .summary__custom { display: block; }

.sales-card {
  display: grid; gap: 16px; align-items: center;
  margin-top: 24px; padding: 24px; border-radius: var(--r-card); background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--fill);
}
@media (min-width: 640px) { .sales-card { grid-template-columns: auto 1fr auto; } }
.sales-card h3 { margin-bottom: 4px; }
.sales-card p { margin: 0; color: var(--label-2); }

/* ---------- Datenschutz-Sektion ---------- */
.privacy-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .privacy-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.sign {
  border-radius: var(--r-card); overflow: hidden; background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--fill); max-width: 360px;
}
.sign__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px; background: var(--signal); color: var(--on-signal); }
.sign__head strong { font: 700 1.125rem/1.2 var(--font-display); }
.sign__head svg { width: 28px; height: 28px; flex: none; }
.sign__body { padding: 16px; font-size: .875rem; }
.sign__body p { margin: 0 0 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-2); font-size: 1.25rem; font-weight: 500; transition: transform var(--t-base) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--signal); color: var(--on-signal); }
.faq details p { color: var(--label-2); max-width: var(--reading); padding-bottom: 8px; }

/* ---------- Kontakt / Formular ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 64px; } }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--label-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: var(--hit); padding: 10px 14px;
  border: 0; border-radius: var(--r-field);
  background: var(--bg); color: var(--label);
  box-shadow: inset 0 0 0 1.5px var(--fill);
  font: 400 1rem/1.4 var(--font);
  transition: box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--label-2); opacity: .8; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--label), 0 0 0 4px var(--signal); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--error); }
.field__error { display: none; margin-top: 6px; font-size: .8125rem; font-weight: 500; color: var(--error); }
.field__error::before { content: "■ "; }
.field.is-invalid .field__error, .consent-error:not([hidden]) { display: block; }
.segmented { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--fill); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 600; font-size: .9375rem; cursor: pointer; color: var(--label-2); }
.segmented input:checked + span { background: var(--label); color: var(--bg); }
.segmented input:focus-visible + span { outline: 2px solid var(--label); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--label-2); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #05211C; flex: none; }
.form-success {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; border-radius: var(--r-card); background: var(--signal-soft);
}
.form-success[hidden] { display: none; }
.form-success svg { width: 28px; height: 28px; flex: none; color: var(--ok); }
.form-success h3 { margin-bottom: 4px; }
.form-success p { margin: 0; }
.package-note { padding: 12px 16px; border-radius: var(--r-field); background: var(--bg); font-size: .9375rem; box-shadow: inset 0 0 0 1.5px var(--fill); }
.package-note[hidden] { display: none; }

.person {
  border-radius: var(--r-card); background: var(--bg); padding: 24px;
  box-shadow: inset 0 0 0 1.5px var(--fill);
}
.person__head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.person__head small { display: block; color: var(--label-2); font-size: .875rem; }
.person__head strong { font: 700 1.25rem/1.25 var(--font-display); }
.person ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.person li a {
  display: flex; align-items: center; gap: 12px; min-height: var(--hit); padding: 0 12px; margin: 0 -12px;
  border-radius: var(--r-field); text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums;
}
.person li a:hover { background: var(--bg-2); }
.person li svg { width: 20px; height: 20px; color: var(--label-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); padding: 64px 0 32px; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 4fr 2fr 2fr 3fr; } }
.footer__claim { font: 700 1.375rem/1.25 var(--font-display); letter-spacing: -.01em; margin: 20px 0 8px; }
.site-footer h2 { font: 600 .75rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--label-2); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--label-2);
}
.footer__progress { display: flex; align-items: center; gap: 0; width: 120px; }
.footer__progress::before { content: ""; flex: 3; height: 2px; background: var(--label); }
.footer__progress i { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1.5px #05211C; flex: none; }
.footer__progress::after { content: ""; flex: 1; border-top: 2px dotted var(--label-2); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 48px 0 96px; }
.legal__inner { max-width: 760px; }
.legal h1 { margin-bottom: 16px; }
.legal .lead { margin-bottom: 48px; }
.legal h2 { font-size: 1.375rem; line-height: 1.27; letter-spacing: -.01em; margin: 48px 0 12px; }
.legal h3 { font-size: 1.125rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--label); max-width: var(--reading); }
.legal ul, .legal ol { padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; }
.legal .box { padding: 20px 24px; border-radius: var(--r-card); background: var(--bg-2); margin: 16px 0; }
.legal .box p:last-child { margin: 0; }
.legal a { text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.legal-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--bg-2); text-decoration: none; font-size: .875rem; font-weight: 500; }
.legal-toc a:hover { background: var(--fill); }
.placeholder {
  background: var(--signal-soft); padding: 1px 6px; border-radius: 6px; font-weight: 600;
  box-shadow: inset 0 0 0 1px #05211C26;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Bewegung ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media print {
  .site-header, .theme-switch, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Ergänzungen v2 ---------- */
.card--service { grid-column: 1 / -1; display: grid; gap: 24px; align-items: center; }
.card--service h3 { margin-top: 0; }
@media (min-width: 1024px) { .card--service { grid-template-columns: 1fr 1fr; padding: 32px; } }
.card--service .checklist { color: var(--label); }

.trial {
  margin-top: 32px; padding: 24px; border-radius: var(--r-card); background: var(--bg-2);
}
.trial h3 { margin-bottom: 6px; }
.trial p { margin: 0; color: var(--label-2); }
.trial .portal-actions { margin-top: 20px; }

.form-intro { margin: 0; color: var(--label-2); max-width: var(--reading); }
.form-intro:empty { display: none; }
.segmented span { white-space: nowrap; }
@media (max-width: 480px) { .segmented span { padding: 0 12px; font-size: .875rem; } }

/* ---------- Cookie-Banner ---------- */
.consent-banner {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-left: auto;
  padding: 24px; border-radius: var(--r-sheet);
  background: var(--bg); color: var(--label);
  box-shadow: inset 0 0 0 1.5px var(--fill), 0 12px 40px #05211C2E;
}
.consent-banner h2 { margin-bottom: 8px; }
.consent-banner p { font-size: .9375rem; color: var(--label-2); margin-bottom: 16px; }
.consent-details { display: grid; gap: 8px; margin-bottom: 16px; }
.consent-cat {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px;
  border-radius: var(--r-field); background: var(--bg-2); cursor: pointer;
}
.consent-cat input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: #05211C; }
.consent-cat b { display: block; font-size: .9375rem; }
.consent-cat small { display: block; font-size: .8125rem; color: var(--label-2); line-height: 1.4; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .btn { flex: 1 1 auto; }
.footer-linkbtn {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; cursor: pointer; text-align: left;
}
.footer-linkbtn:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- Deutschlandkarte ---------- */
.de-map { margin: 32px 0 0; max-width: 420px; }
.de-map svg { width: 100%; height: auto; overflow: visible; }
.de-map__land { fill: var(--bg-2); stroke: var(--fill); stroke-width: 2; stroke-linejoin: round; }
.section--mist .de-map__land { fill: var(--bg); }
.de-map__link { stroke: var(--label-2); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.de-map__pin--hq circle { fill: var(--label); stroke: var(--bg); stroke-width: 3; }
.de-map__pin--dc circle { fill: var(--signal); stroke: #05211C; stroke-width: 3; }
.de-map__label { font: 700 17px var(--font-display); fill: var(--label); letter-spacing: -.01em; }
.de-map__sub { font: 500 13px var(--font); fill: var(--label-2); }
.de-map__legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.de-map__legend li { display: flex; gap: 12px; align-items: flex-start; }
.de-map__legend b { display: block; }
.de-map__legend span { color: var(--label-2); }
.de-map__legend b { color: var(--label); }
.dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; }
.dot--hq { background: var(--label); }
.dot--dc { background: var(--signal); box-shadow: 0 0 0 2px #05211C; }
.privacy-grid > .grid { align-content: start; }

/* ---------- Ratgeber ---------- */
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 3fr 2fr 2fr 2fr 3fr; } }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1.5px var(--fill); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--label-2); }
.price-table tbody th { font-weight: 500; }
.price-table td { white-space: nowrap; font-weight: 600; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.legal .cta-box { margin-top: 48px; padding: 28px; }
.legal .cta-box h2 { margin-top: 0; }

/* ---------- Foto Ansprechpartner ---------- */
.avatar--photo { width: 96px; height: 96px; background: var(--fill); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Spam-Falle (unsichtbar) ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Hinweisschild-Download ---------- */
.schild {
  display: grid; gap: 32px; align-items: center; margin-top: 48px;
  padding: 24px; border-radius: var(--r-sheet); background: var(--bg-2);
}
@media (min-width: 1024px) { .schild { grid-template-columns: 5fr 6fr; padding: 40px; gap: 48px; } }
.schild__preview { position: relative; display: block; padding: 0 0 18% 0; }
.schild__preview img { display: block; height: auto; border-radius: var(--r-field); box-shadow: 0 0 0 1px var(--fill), 0 12px 32px #05211C26; }
.schild__cover { width: 58%; }
.schild__sign { position: absolute; right: 0; bottom: 0; width: 66%; }
.schild__list { margin: 16px 0 0; font-size: .9375rem; }
.schild__links { display: flex; flex-wrap: wrap; gap: 8px; }
.schild__body h3 { margin: 0 0 12px; }
.schild__body > p { color: var(--label-2); max-width: 36em; }
.schild__form { display: grid; gap: 16px; margin-top: 24px; position: relative; }
.schild__row { display: flex; flex-wrap: wrap; gap: 8px; }
.schild__row input { flex: 1 1 220px; }
.schild__row .btn { flex: 0 0 auto; }
.schild__ready { margin-top: 24px; padding: 20px; border-radius: var(--r-card); background: var(--signal-soft); }
.schild__ready p { margin: 0 0 12px; }
