/* Verwalterei – öffentliche Webseite. Eigenes CSS, keine externen Schriften oder Bibliotheken. */
:root {
  --marke: #5271FF;          /* Markenfarbe (Flächen, Akzente, grosse Schrift) */
  --marke-text: #3a56e0;     /* Markenblau für Text/Links auf hellem Grund (Kontrast ≥ 4.5:1) */
  --knopf: #3a56e0;
  --knopf-hover: #2d47c4;
  --knopf-text: #ffffff;
  --grund: #f7f8fc;
  --flaeche: #ffffff;
  --flaeche-2: #eef1ff;
  --text: #334155;
  --titel: #0f172a;
  --leise: #556070;
  --rand: #dfe3ec;
  --ok: #0f7a4a;
  --warn-grund: #fff4d6;
  --warn-text: #6b4a00;
  --schatten: 0 10px 30px rgb(15 23 42 / .07);
  --radius: 14px;
  --breite: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --marke: #7b93ff;
    --marke-text: #9aaeff;
    --knopf: #7b93ff;
    --knopf-hover: #9aaeff;
    --knopf-text: #0b1020;
    --grund: #0d1120;
    --flaeche: #151b2d;
    --flaeche-2: #1b2340;
    --text: #cdd5e1;
    --titel: #f8fafc;
    --leise: #a3afc2;
    --rand: #2a3350;
    --ok: #4fd18f;
    --warn-grund: #3a2f12;
    --warn-text: #ffe2a0;
    --schatten: 0 10px 30px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--marke-text); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marke); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--titel); line-height: 1.2; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); margin: 0 0 .75rem; }
h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; }
.leise { color: var(--leise); }
.klein { font-size: .9rem; }
.zentriert { text-align: center; }
.nur-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--knopf); color: var(--knopf-text); padding: .7rem 1rem; border-radius: 8px; }
.sprung:focus { top: .5rem; }

.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }
.abschnitt { padding: 3.5rem 0; }
.abschnitt.farbig { background: var(--flaeche); border-block: 1px solid var(--rand); }
.kopf-abschnitt { max-width: 46rem; margin: 0 auto 2.25rem; text-align: center; }
.kopf-abschnitt p { color: var(--leise); font-size: 1.08rem; }
.oberzeile { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--marke-text); margin-bottom: .5rem; }

/* Kopfleiste */
.kopfleiste { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--grund) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rand); }
.kopfleiste .huelle { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.marke { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--titel); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; min-height: 44px; }
.marke img { width: 36px; height: 36px; }
@media (prefers-color-scheme: dark) { .marke img, .logo-invert { filter: invert(1) hue-rotate(180deg); } }
.navi { margin-left: auto; }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.navi a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.navi a:hover { background: var(--flaeche-2); color: var(--titel); }
.navi a[aria-current="page"] { color: var(--marke-text); background: var(--flaeche-2); }
.menue-knopf { display: none; margin-left: auto; min-width: 44px; min-height: 44px; border: 1px solid var(--rand); border-radius: 10px; background: var(--flaeche); color: var(--titel); font: inherit; font-weight: 700; padding: 0 .8rem; cursor: pointer; }
.kopf-cta { display: flex; gap: .5rem; }

@media (max-width: 960px) {
  .menue-knopf { display: inline-flex; align-items: center; gap: .4rem; }
  .kopf-cta .knopf-zweit, .gestartet .kopf-cta .knopf-zweit { display: none !important; }
  .navi { position: absolute; left: 0; right: 0; top: 100%; background: var(--flaeche); border-bottom: 1px solid var(--rand); box-shadow: var(--schatten); display: none; margin: 0; }
  .navi.offen { display: block; }
  .navi ul { flex-direction: column; align-items: stretch; padding: .5rem 1rem 1rem; gap: 0; }
  .navi a { width: 100%; }
  .kopf-cta { margin-left: 0; }
}
@media (max-width: 420px) {
  .marke span { font-size: 1.1rem; }
  .kopf-cta .knopf { padding: 0 .8rem; }
}
.js-aus .navi { display: block; position: static; box-shadow: none; border: 0; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: 0 1.2rem; border-radius: 10px; border: 2px solid var(--knopf); background: var(--knopf); color: var(--knopf-text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.knopf:hover { background: var(--knopf-hover); border-color: var(--knopf-hover); text-decoration: none; }
.knopf-zweit { background: transparent; color: var(--marke-text); }
.knopf-zweit:hover { background: var(--flaeche-2); color: var(--titel); border-color: var(--knopf); }
.knopf-gross { min-height: 52px; padding: 0 1.6rem; font-size: 1.05rem; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .75rem; }
.knopf-reihe.mitte { justify-content: center; }

/* Hero mit Countdown */
.hero { padding: 3rem 0 3.5rem; background:
  radial-gradient(50rem 26rem at 85% -10%, color-mix(in srgb, var(--marke) 22%, transparent), transparent 70%),
  radial-gradient(40rem 22rem at -10% 110%, color-mix(in srgb, var(--marke) 12%, transparent), transparent 70%); }
.hero-raster { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-raster { grid-template-columns: 1.05fr .95fr; } }
.hero h1 span { color: var(--marke-text); }
.hero .lead { font-size: 1.15rem; color: var(--leise); max-width: 36rem; }
.slogan { font-weight: 800; color: var(--titel); letter-spacing: .02em; margin-bottom: 1.2rem; }
.slogan b { color: var(--marke-text); }
.countdown-box { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--schatten); margin: 1.5rem 0; max-width: 34rem; }
.countdown-titel { font-weight: 700; color: var(--titel); margin: 0 0 .7rem; font-size: .98rem; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.feld { background: var(--flaeche-2); border-radius: 10px; padding: .6rem .25rem .5rem; text-align: center; }
.zahl { display: block; font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 800; color: var(--titel); font-variant-numeric: tabular-nums; line-height: 1.1; }
.einheit { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--leise); }
.verfuegbar { display: none; font-size: 1.3rem; font-weight: 800; color: var(--ok); margin: 0; }
.gestartet .countdown, .gestartet .countdown-titel { display: none; }
.gestartet .verfuegbar { display: block; }
.nach-start { display: none !important; }
.gestartet .nach-start { display: inline-flex !important; }
.gestartet h2.nach-start, .gestartet p.nach-start { display: block !important; }
.gestartet .vor-start { display: none !important; }

.screen { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rand); box-shadow: var(--schatten); background: var(--flaeche); }
.screen img { display: block; width: 100%; }
.screen figcaption { font-size: .85rem; color: var(--leise); padding: .6rem .9rem; border-top: 1px solid var(--rand); }
.screen-paar { position: relative; }
.screen-paar .screen figcaption { padding-right: 34%; }
.screen-mobil { position: absolute; right: -0.5rem; bottom: -1.8rem; width: 30%; max-width: 170px; border-radius: 18px; border: 4px solid var(--titel); box-shadow: var(--schatten); background: var(--flaeche); overflow: hidden; }
.screen-mobil img { display: block; width: 100%; }
@media (max-width: 600px) { .screen-mobil { right: .25rem; width: 34%; } }

/* Karten und Raster */
.raster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.raster-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.karte { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.35rem; }
.karte p:last-child, .karte ul:last-child { margin-bottom: 0; }
.karte p { color: var(--leise); }
.symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--flaeche-2); color: var(--marke-text); margin-bottom: .8rem; }
.symbol svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karte-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.karte-link:hover { text-decoration: underline; }
.haken { list-style: none; padding: 0; margin: 0 0 1rem; }
.haken li { position: relative; padding-left: 1.7rem; margin: .4rem 0; }
.haken li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .9rem; height: .5rem; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.zielgruppe { border-top: 4px solid var(--marke); }

.band { background: linear-gradient(135deg, #2d47c4, #3a56e0 60%, #4a63e8); color: #fff; border-radius: 20px; padding: 2.2rem 1.5rem; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #eef1ff; max-width: 42rem; margin-left: auto; margin-right: auto; }
.band .knopf { background: #fff; color: #1e2f8a; border-color: #fff; }
.band .knopf:hover { background: #eef1ff; }
.band .knopf-zweit { background: transparent; color: #fff; border-color: #fff; }
.band .knopf-zweit:hover { background: rgb(255 255 255 / .12); color: #fff; }

.kennzahlen { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); text-align: center; }
.kennzahl b { display: block; font-size: 1.6rem; color: var(--titel); }
.kennzahl span { color: var(--leise); font-size: .95rem; }

/* Funktionsseite */
.inhalt-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.inhalt-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--rand); background: var(--flaeche); text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.inhalt-nav a:hover { border-color: var(--marke); color: var(--marke-text); }
.modul { display: grid; gap: 2rem; align-items: start; padding: 2.5rem 0; border-top: 1px solid var(--rand); scroll-margin-top: 80px; }
@media (min-width: 960px) { .modul.mit-bild { grid-template-columns: 1fr 1fr; } .modul.mit-bild.umgekehrt > :first-child { order: 2; } }
.modul ul.haken { columns: 1; }
@media (min-width: 700px) { .modul:not(.mit-bild) ul.haken { columns: 2; column-gap: 2rem; } .modul ul.haken li { break-inside: avoid; } }
.hinweis-ehrlich { background: var(--flaeche-2); border-left: 4px solid var(--marke); padding: .8rem 1rem; border-radius: 8px; font-size: .93rem; }

/* Preise */
.umschalter { display: inline-flex; border: 1px solid var(--rand); border-radius: 12px; background: var(--flaeche); padding: 4px; gap: 4px; flex-wrap: wrap; justify-content: center; }
.umschalter label { position: relative; }
.umschalter input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.umschalter span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 9px; font-weight: 700; color: var(--text); }
.umschalter input:checked + span { background: var(--knopf); color: var(--knopf-text); }
.umschalter input:focus-visible + span { outline: 3px solid var(--marke); outline-offset: 2px; }
.umschalter-reihe { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 1.5rem; }
.pakete { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.paket { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.3rem 1.1rem; display: flex; flex-direction: column; position: relative; }
.paket.hervor { border: 2px solid var(--marke); box-shadow: var(--schatten); }
.paket .abzeichen { position: absolute; top: -.8rem; left: 1rem; background: var(--knopf); color: var(--knopf-text); font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; }
.paket h3 { font-size: 1.25rem; margin-bottom: .1rem; }
.paket .fuer { color: var(--leise); font-size: .92rem; min-height: 3em; }
.preis { font-size: clamp(1.7rem, 2.4vw, 2.1rem); font-weight: 800; color: var(--titel); line-height: 1.1; margin: .6rem 0 .1rem; font-variant-numeric: tabular-nums; }
.preis small { font-size: .9rem; font-weight: 600; color: var(--leise); white-space: nowrap; }
.preis-zusatz { font-size: .85rem; color: var(--leise); min-height: 2.6em; }
.paket ul { list-style: none; padding: 0; margin: .8rem 0 1rem; font-size: .93rem; }
.paket li { padding: .3rem 0; border-top: 1px dashed var(--rand); }
.paket .knopf { margin-top: auto; }
.tabelle-huelle { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rand); border-radius: var(--radius); background: var(--flaeche); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: .9rem 1rem; font-weight: 700; color: var(--titel); }
th, td { padding: .7rem .9rem; border-top: 1px solid var(--rand); text-align: left; vertical-align: top; }
thead th { background: var(--flaeche-2); color: var(--titel); white-space: nowrap; }
td.zahl-zelle, th.zahl-zelle { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rechner { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .rechner { grid-template-columns: 1fr 1fr; } }
.rechner label.feldname { display: block; font-weight: 700; color: var(--titel); margin-bottom: .35rem; }
.rechner input[type=number] { width: 100%; min-height: 48px; font: inherit; font-size: 1.15rem; padding: .4rem .8rem; border: 1px solid var(--rand); border-radius: 10px; background: var(--grund); color: var(--titel); }
.rechner input[type=range] { width: 100%; min-height: 44px; accent-color: var(--knopf); }
.rechner fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.rechner legend { font-weight: 700; color: var(--titel); margin-bottom: .35rem; padding: 0; }
.ergebnis { background: var(--flaeche-2); border-radius: var(--radius); padding: 1.3rem; }
.ergebnis .gross { font-size: 2.4rem; font-weight: 800; color: var(--titel); font-variant-numeric: tabular-nums; line-height: 1.1; }
.ergebnis dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 1rem 0 0; }
.ergebnis dt { color: var(--leise); }
.ergebnis dd { margin: 0; text-align: right; font-weight: 700; color: var(--titel); font-variant-numeric: tabular-nums; }

/* FAQ */
details { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 12px; margin-bottom: .6rem; }
summary { cursor: pointer; padding: .9rem 1.1rem; min-height: 44px; font-weight: 700; color: var(--titel); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--marke-text); flex: none; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 1.1rem 1rem; }
.faq { max-width: 52rem; margin: 0 auto; }

/* Platzhalter / Hinweise */
.platzhalter { background: var(--warn-grund); color: var(--warn-text); font-weight: 700; padding: 0 .3rem; border-radius: 4px; outline: 1px dashed currentColor; }
.warnbox { background: var(--warn-grund); color: var(--warn-text); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.rechtstext { max-width: 50rem; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Schritte */
.schritte { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.schritte li { counter-increment: s; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 1.2rem; }
.schritte li::before { content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--knopf); color: var(--knopf-text); font-weight: 800; margin-bottom: .6rem; }

/* Fusszeile */
.fuss { border-top: 1px solid var(--rand); background: var(--flaeche); padding: 2.5rem 0 1.5rem; margin-top: 3rem; font-size: .95rem; }
.fuss-raster { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.fuss h2 { font-size: 1rem; margin-bottom: .4rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.fuss li a:hover { color: var(--marke-text); text-decoration: underline; }
.fuss .zeile { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rand); color: var(--leise); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

@media print { .kopfleiste, .fuss, .band { display: none; } body { background: #fff; color: #000; } }
