/*
 * Startseite (ab 1.36). Mobil zuerst, ohne Schriften oder Skripte von außen.
 * Die Rohfarben (--ink-900, --gruen-700 …) kommen aus inc/farben.php (siehe Seite „Farbpalette“),
 * hier stehen nur die Rollen (Hintergrund, Text, Knopf …) für Hell- und Dunkelmodus.
 * Ab 1.46 nach dem Design-Manual: Hausschrift Atkinson Hyperlegible (eigener Server), eigene Icons und Grafiken, Ampel mit Formen.
 */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("../webschrift/AtkinsonHyperlegible-Regular.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../webschrift/AtkinsonHyperlegible-Bold.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap; src: url("../webschrift/AtkinsonHyperlegible-Italic.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 700 900; font-display: swap; src: url("../webschrift/AtkinsonHyperlegible-BoldItalic.ttf") format("truetype"); }
:root {
  color-scheme: light dark;
  --bg: var(--ink-50);
  --flaeche: var(--weiss);
  --text: var(--ink-900);
  --text2: var(--ink-600);
  --linie: var(--ink-200);
  --prim: var(--gruen-700);
  --prim-text: var(--weiss);
  --link: var(--gruen-700);
  --kachel: var(--gruen-100);
  --kachel-text: var(--gruen-800);
  --schatten: 0 1px 2px rgba(20, 35, 44, .06), 0 6px 20px rgba(20, 35, 44, .06);
  --radius: 14px;
  --seite: 1120px;
  --rand: 16px;
  --icon-akzent: var(--gruen-600);
  --karte: var(--weiss);
  --schrift: "Atkinson Hyperlegible", "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --schrift-zahl: var(--schrift);
  --m-offen: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='1 1 22 22'><circle cx='12' cy='12' r='8' fill='none' stroke='%23000' stroke-width='2.5'/></svg>");
  --m-arbeit: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='1 1 22 22'><circle cx='12' cy='12' r='8' fill='none' stroke='%23000' stroke-width='2.5'/><path d='M12 4A8 8 0 0 1 12 20Z'/></svg>");
  --m-fertig: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='1 1 22 22'><mask id='m'><rect width='24' height='24' fill='%23fff'/><path d='M7.5 12.2L10.5 15.2L16.5 9' fill='none' stroke='%23000' stroke-width='2.5'/></mask><circle cx='12' cy='12' r='9.25' mask='url(%23m)'/></svg>");
  --m-problem: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='1 1 22 22'><mask id='m'><rect width='24' height='24' fill='%23fff'/><path d='M12 9V13.5' stroke='%23000' stroke-width='2.5'/><rect x='10.75' y='15.5' width='2.5' height='2.5' fill='%23000'/></mask><path d='M12 2.5L22.5 20.5H1.5Z' mask='url(%23m)'/></svg>");
  --m-haken: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'><path d='M4 12L10 18L20 6'/></svg>");
  --m-kreuz: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'><path d='M6 6L18 18M18 6L6 18'/></svg>");
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink-900);
    --flaeche: var(--ink-800);
    --text: var(--ink-100);
    --text2: var(--ink-300);
    --linie: var(--ink-700);
    --prim: var(--gruen-400);
    --prim-text: var(--ink-900);
    --link: var(--gruen-400);
    --kachel: var(--ink-700);
    --kachel-text: var(--gruen-400);
    --schatten: none;
    --icon-akzent: var(--gruen-400);
    --karte: var(--ink-800);
  }
}

* { box-sizing: border-box; }
body { overflow-x: clip; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--schrift);
}
a { color: var(--link); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--seite); margin: 0 auto; padding: 0 var(--rand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--weiss); color: var(--ink-900); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gruen-400); outline-offset: 2px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--ink-900); color: var(--ink-100); border-bottom: 1px solid var(--ink-700); }
.kopf .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--weiss); text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: 1.15rem; }
.marke svg { flex: none; }
.kopf nav { display: none; margin-left: auto; gap: 4px; }
.kopf nav a { color: var(--ink-200); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.kopf nav a:hover { color: var(--weiss); background: var(--ink-800); }
.kopf .anmelden { margin-left: auto; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--prim); color: var(--prim-text);
}
.knopf:hover { filter: brightness(1.08); }
.knopf.hell { background: var(--gruen-400); color: var(--ink-900); }
.knopf.rand { background: transparent; color: var(--ink-100); border-color: var(--ink-300); }
.knopf.rand:hover { background: var(--ink-800); filter: none; }
.kopf .knopf { min-height: 40px; padding: 6px 16px; background: transparent; color: var(--weiss); border-color: var(--ink-300); }
.kopf .knopf:hover { background: var(--ink-800); filter: none; }

/* Held */
.held { background: var(--ink-900); color: var(--ink-100); position: relative; overflow: hidden; }
.held::before { /* Raster aus Kästchen, angelehnt an die Bildmarke */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--ink-800) 1px, transparent 1px), linear-gradient(90deg, var(--ink-800) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.held .wrap { position: relative; display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
.vorspann { color: var(--gruen-400); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.held h1 { font-size: clamp(2rem, 7.5vw, 3.4rem); color: var(--weiss); }
.held h1 em { font-style: normal; color: var(--gruen-400); }
.held .lead { font-size: 1.1rem; color: var(--ink-200); margin: 18px 0 26px; max-width: 34em; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
.held .fakten { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-300); font-size: .92rem; }
.held .fakten li::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .4em; vertical-align: -.12em; background: var(--gruen-400); -webkit-mask: var(--m-haken) center / contain no-repeat; mask: var(--m-haken) center / contain no-repeat; }

/* Beispielansicht im Held */
.vorschau { background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: 18px; padding: 18px; max-width: 420px; width: 100%; justify-self: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.vorschau .titel { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; color: var(--weiss); }
.vorschau .titel b { font-size: 1.25rem; }
.vorschau .titel span { color: var(--ink-300); font-size: .85rem; }
.zeile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--ink-900); margin-bottom: 8px; color: var(--ink-100); }
.zeile .punkt { flex: none; width: 14px; height: 14px; background: var(--ink-400, #7d909c); }
.zeile.ok .punkt { background: var(--gruen-500); }
.zeile.laeuft .punkt { background: var(--signal-gelb); --m: var(--m-arbeit); }
.zeile.ok .punkt { --m: var(--m-fertig); }
.zeile .was { flex: 1; font-weight: 600; }
.zeile .wert { color: var(--ink-300); font-size: .9rem; }
.balken { height: 10px; border-radius: 6px; background: var(--ink-900); overflow: hidden; margin: 14px 0 6px; }
.balken i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--gruen-600), var(--gruen-400)); }
.vorschau .fuss { color: var(--ink-300); font-size: .8rem; display: flex; justify-content: space-between; gap: 8px; }

/* Abschnitte */
section { scroll-margin-top: 68px; }
.abschnitt { padding-top: 56px; padding-bottom: 56px; }
.abschnitt .kopfzeile { max-width: 40em; margin-bottom: 32px; }
.abschnitt .kopfzeile .vorspann { color: var(--link); }
.abschnitt h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
.abschnitt .kopfzeile p { color: var(--text2); margin: 12px 0 0; font-size: 1.05rem; }

.raster { display: grid; gap: 16px; grid-template-columns: 1fr; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; box-shadow: var(--schatten); }
.karte h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.karte p { color: var(--text2); margin: 0; }
.symbol { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--kachel); color: var(--kachel-text); font-size: 1.4rem; }

.karte .vorteil { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie); color: var(--kachel-text); }
.karte .vorteil b { color: inherit; }
.vergleich { display: grid; gap: 16px; }
.vergleich ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vergleich li { padding-left: 28px; position: relative; color: var(--text); }
.vergleich li::before { position: absolute; left: 0; font-weight: 800; }
.vergleich .vorher li::before { content: ""; width: 1em; height: 1em; background: var(--text2); -webkit-mask: var(--m-kreuz) center / contain no-repeat; mask: var(--m-kreuz) center / contain no-repeat; }
.vergleich .nachher { border-color: var(--prim); border-width: 2px; }
.vergleich .nachher li::before { content: ""; width: 1em; height: 1em; background: var(--link); -webkit-mask: var(--m-haken) center / contain no-repeat; mask: var(--m-haken) center / contain no-repeat; }
.vergleich h3 { margin-top: 0; margin-bottom: 14px; }

/* Ablauf */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.schritte li { counter-increment: s; position: relative; padding: 22px 22px 22px 74px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.schritte li::before {
  content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--prim); color: var(--prim-text); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.schritte h3 { font-size: 1.1rem; margin-bottom: 6px; }
.schritte p { margin: 0; color: var(--text2); }

/* Datenschutz-Band */
.band { background: var(--ink-900); color: var(--ink-100); }
.band .abschnitt .kopfzeile p { color: var(--ink-300); }
.band .vorspann { color: var(--gruen-400); }
.band h2 { color: var(--weiss); }
.band .karte { background: var(--ink-800); border-color: var(--ink-700); box-shadow: none; }
.band .karte h3 { color: var(--weiss); }
.band .karte p { color: var(--ink-300); }
.band .symbol { background: var(--ink-700); color: var(--gruen-400); }
.band a { color: var(--gruen-400); }

/* Hinweisband (Gelb) */
.hinweis { background: var(--signal-gelb); color: var(--ink-900); border-radius: var(--radius); padding: 14px 18px; font-weight: 600; margin-top: 16px; }

/* Kontakt */
.kontakt { display: grid; gap: 28px; }
.kontakt .info p { color: var(--text2); }
.kontakt .info ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.kontakt .info li::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .4em; vertical-align: -.12em; background: var(--link); -webkit-mask: var(--m-haken) center / contain no-repeat; mask: var(--m-haken) center / contain no-repeat; }
.formular { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; box-shadow: var(--schatten); }
.formular label { display: block; font-weight: 600; margin-bottom: 14px; }
.formular label small { font-weight: 400; color: var(--text2); }
.formular input[type=text], .formular input[type=email], .formular textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--ink-500); border-radius: 10px;
}
.formular textarea { min-height: 140px; resize: vertical; }
.formular .haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text2); font-size: .93rem; }
.formular .haken input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--prim); }
.formular .knopf { width: 100%; }
.honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.meldung.gut { background: var(--gruen-100); color: var(--gruen-800); border: 1px solid var(--gruen-200); }
.meldung.schlecht { background: var(--signal-gelb); color: var(--ink-900); }
.meldung a { color: inherit; }
.klein { font-size: .88rem; color: var(--text2); }

/* Fuß */
.seitenfuss { background: var(--ink-900); color: var(--ink-300); padding: 36px 0 44px; font-size: .92rem; }
.seitenfuss .wrap { display: grid; gap: 16px; }
.seitenfuss a { color: var(--ink-100); }
.seitenfuss .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.seitenfuss .marke { font-size: 1rem; }

@media (min-width: 640px) {
  :root { --rand: 24px; }
  .raster { grid-template-columns: repeat(2, 1fr); }
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .formular { padding: 28px; }
}
@media (min-width: 900px) {
  .kopf nav { display: flex; }
  .kopf .anmelden { margin-left: 8px; }
  .held .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 88px; padding-bottom: 96px; gap: 56px; }
  .abschnitt { padding-top: 88px; padding-bottom: 88px; }
  .raster.drei { grid-template-columns: repeat(3, 1fr); }
  .raster.vier { grid-template-columns: repeat(4, 1fr); }
  .vergleich { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: repeat(4, 1fr); }
  .schritte li { padding: 74px 20px 22px; }
  .schritte li::before { left: 20px; top: 20px; }
  .kontakt { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .kopf { position: static; } .held::before { display: none; } }

.chip { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--kachel); color: var(--kachel-text); }
.karte .chip + h3 { margin-top: 12px; }

/* ===== Überarbeitung 1.37.2: Intro, Nutzen, Einblicke ===== */
.kopfzeile.mitte { margin-left: auto; margin-right: auto; text-align: center; }
.mitte-text { text-align: center; margin-top: 14px; }
.symbol.gross { width: 60px; height: 60px; font-size: 1.9rem; border-radius: 16px; }

/* Intro: Text und Gerätebild */
.held-text { max-width: 36em; }
.held .lead { max-width: 30em; }
.geraete { position: relative; width: 100%; max-width: 560px; justify-self: center; font-size: clamp(9px, 2.55vw, 14px); padding-bottom: 5.5em; }
.fenster { width: 92%; background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: 1em; box-shadow: 0 1.6em 3.6em rgba(0, 0, 0, .4); overflow: hidden; }
.fenster-kopf { display: flex; align-items: center; gap: .45em; padding: .8em 1em; background: var(--ink-900); color: var(--ink-300); font-size: .85em; }
.fenster-kopf i { width: .8em; height: .8em; border-radius: 50%; background: var(--ink-700); }
.fenster-kopf span { margin-left: .6em; }
.fenster-inhalt { padding: 1em; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; margin-bottom: 1em; }
.kachel { background: var(--ink-900); border-radius: .7em; padding: .7em .9em; display: flex; flex-direction: column; }
.kachel b { font-size: 2em; line-height: 1.1; }
.kachel span { font-size: .85em; color: var(--ink-300); }
.kachel.ok b { color: var(--gruen-400); } .kachel.laeuft b { color: var(--signal-gelb); } .kachel.offen b { color: var(--ink-200); }
.liste { display: grid; gap: .5em; }
.lz { display: flex; align-items: center; gap: .8em; background: var(--ink-900); border-radius: .6em; padding: .65em .9em; color: var(--ink-100); font-size: .95em; }
.lz b { flex: none; width: 7.5em; }
.lz .bahn { flex: 1; height: .6em; background: var(--ink-700); border-radius: .4em; overflow: hidden; }
.lz .bahn i { display: block; height: 100%; border-radius: .4em; }
.lz em { flex: none; width: 3.2em; text-align: right; font-style: normal; color: var(--ink-300); font-size: .9em; }
.lz.ok .bahn i { background: var(--gruen-500); } .lz.laeuft .bahn i { background: var(--signal-gelb); }
.punkt { flex: none; width: 1em; height: 1em; background: var(--ink-400, #7d909c); display: inline-block; }
.punkt, .zeile .punkt { -webkit-mask: var(--m, var(--m-offen)) center / contain no-repeat; mask: var(--m, var(--m-offen)) center / contain no-repeat; }
.ok > .punkt { background: var(--gruen-500); --m: var(--m-fertig); } .laeuft > .punkt { background: var(--signal-gelb); --m: var(--m-arbeit); } .offen > .punkt { background: var(--ink-400, #7d909c); --m: var(--m-offen); } .rot > .punkt { background: #e5534b; --m: var(--m-problem); }
.handy { position: absolute; right: 0; bottom: 1.4em; width: 14.5em; background: var(--ink-900); border: .35em solid var(--ink-700); border-radius: 2em; padding: 1.1em; color: var(--ink-100); box-shadow: 0 1.6em 3em rgba(0, 0, 0, .5); }
.handy-kopf { font-weight: 700; color: var(--weiss); text-align: center; margin-bottom: .8em; }
.handy-zahl { background: var(--ink-800); border-radius: .8em; padding: .7em .9em; margin-bottom: .7em; }
.handy-zahl small { display: block; color: var(--ink-300); font-size: .8em; }
.handy-zahl b { font-size: 1.9em; color: var(--weiss); } .handy-zahl u { text-decoration: none; font-size: .5em; color: var(--ink-300); }
.handy-schritt { display: flex; align-items: center; gap: .6em; background: var(--ink-800); border-radius: .6em; padding: .55em .8em; margin-bottom: .45em; font-size: .9em; }
.handy-knopf { margin-top: .8em; background: var(--gruen-400); color: var(--ink-900); font-weight: 800; text-align: center; padding: .8em; border-radius: .8em; font-size: .95em; }
.beispiel { position: absolute; left: 0; bottom: 0; margin: 0; font-size: .85em; color: var(--ink-300); }
.held .wrap { padding-top: 40px; }
.streifen { background: var(--ink-800); color: var(--ink-200); border-top: 1px solid var(--ink-700); }
.streifen .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding-top: 16px; padding-bottom: 16px; font-size: .95rem; }
.streifen b { margin-right: 6px; }

/* Nutzen */
.ergebnisse { margin-top: 8px; }
.ergebnis { padding: 4px 4px 4px 0; }
.ergebnis h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.ergebnis p { color: var(--text2); margin: 0; }
.szenen { margin-top: 64px; }
.szenen > h3 { font-size: 1.4rem; text-align: center; margin-bottom: 24px; }
.szene { margin-bottom: 20px; }
.szene .wann { font-weight: 800; margin: 0 0 8px; letter-spacing: .02em; }
.vn { display: grid; gap: 12px; }
.vn > div { border-radius: var(--radius); padding: 18px 20px; }
.vn p { margin: 6px 0 0; }
.vn span { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.frueher { background: var(--flaeche); border: 1px dashed var(--ink-500); color: var(--text2); }
.heute { background: var(--kachel); border: 2px solid var(--prim); color: var(--text); }
.heute span { color: var(--kachel-text); }

/* Einblicke */
.zeile-zwei { display: grid; gap: 24px; margin-bottom: 56px; align-items: center; }
.zeile-zwei .text h3 { font-size: 1.5rem; margin: 16px 0 10px; }
.zeile-zwei .text p { color: var(--text2); }
.zeile-zwei .text .vorteil { color: var(--kachel-text); border-top: 1px solid var(--linie); padding-top: 12px; }
.bild { background: var(--kachel); border-radius: 22px; padding: 28px 18px; display: flex; justify-content: center; }
.mk { width: 100%; max-width: 340px; background: var(--weiss); color: var(--ink-900); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(20, 35, 44, .25); }
.mk-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--ink-900); color: var(--weiss); padding: 12px 16px; }
.mk-kopf span { color: var(--ink-300); font-size: .85rem; }
.mk-wert { margin: 14px 16px; padding: 10px 14px; border: 2px solid var(--ink-200); border-radius: 12px; font-size: 2rem; font-weight: 800; text-align: right; }
.mk-wert u { text-decoration: none; font-size: 1rem; color: var(--ink-600); }
.mk-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px; }
.mk-block i { font-style: normal; font-weight: 700; font-size: 1.2rem; background: var(--ink-100); border-radius: 10px; text-align: center; padding: 10px 0; }
.mk-zeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 16px; }
.chip-foto { background: var(--gruen-100); color: var(--gruen-800); font-weight: 700; font-size: .85rem; padding: 6px 10px; border-radius: 99px; }
.mk-gross { background: var(--gruen-700); color: var(--weiss); font-weight: 800; padding: 10px 20px; border-radius: 10px; }
.mk-reihe { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ink-100); }
.mk-reihe b { flex: 1; }
.mk-reihe em { font-style: normal; font-size: .85rem; color: var(--ink-600); }
.mk-reihe .punkt { width: 14px; height: 14px; }
.mk-reihe.ok .punkt { background: var(--gruen-600); --m: var(--m-fertig); }
.mk-reihe.laeuft .punkt { background: #cc7a00; } .mk-reihe.rot .punkt { background: #c62828; }
.mk-etikett { padding: 22px; text-align: center; }
.etikett { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px solid var(--ink-900); border-radius: 10px; padding: 14px 16px; text-align: left; }
.et-text small { display: block; letter-spacing: .12em; font-weight: 700; color: var(--ink-600); }
.et-text b { font-size: 3rem; line-height: 1; display: block; }
.et-text span { font-weight: 700; }
.qr { width: 112px; height: 112px; flex: none; }
.mk-unter { margin: 14px 0 0; color: var(--ink-600); font-size: .9rem; }

/* Kompakte Karten */
.raster.kompakt .karte { padding: 18px; }
.raster.kompakt .karte h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.raster.kompakt .karte p { font-size: .95rem; }
.branchen .karte h3 { margin-top: 0; }

/* Schnittstellen */
.schnittstellen { display: grid; gap: 24px; align-items: center; }
.diagramm { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 4 / 3; }
.diagramm > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.knoten { position: absolute; transform: translate(-50%, -50%); background: var(--ink-800); border: 1px solid var(--ink-700); color: var(--ink-100); border-radius: 12px; padding: 10px 14px; font-size: .9rem; font-weight: 600; text-align: center; max-width: 42%; }
.mitte-knoten { left: 50%; top: 50%; background: var(--ink-700); border-color: var(--gruen-400); display: flex; align-items: center; gap: 10px; font-size: 1.1rem; letter-spacing: .1em; color: var(--weiss); }
.k1 { left: 16%; top: 16%; } .k2 { left: 84%; top: 16%; } .k3 { left: 14%; top: 83%; } .k4 { left: 50%; top: 92%; } .k5 { left: 86%; top: 83%; }
.schnitt-text h3 { color: var(--weiss); font-size: 1.4rem; margin-bottom: 10px; }
.schnitt-text p { color: var(--ink-300); }
.schnitt-text b { color: var(--weiss); }

.hinweis-ehrlich { margin: 24px auto 0; max-width: 46em; background: var(--kachel); border-left: 4px solid var(--prim); padding: 14px 18px; border-radius: 10px; color: var(--text); }
.chip.idee { background: transparent; border: 1px solid var(--linie); color: var(--text2); }

@media (min-width: 640px) {
  .vn { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .held .wrap { grid-template-columns: 1fr 1fr; padding-top: 72px; }
  .zeile-zwei { grid-template-columns: 1fr 1fr; gap: 56px; }
  .zeile-zwei.umgekehrt .bild { order: -1; }
  .schnittstellen { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .bild { padding: 40px; }
}

/* ===== Terminbuchung (ab 1.39), ohne Skript ===== */
#termin { scroll-margin-top: 76px; }
.buchung fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.buchung legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-weight: 800; font-size: 1.08rem; padding: 0; margin-bottom: 12px; }
.buchung legend small { font-weight: 400; font-size: .85rem; color: var(--text2); }
.buchung .nr { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--prim); color: var(--prim-text); font-size: .9rem; }
/* Kompakter Terminkalender (ab 1.39.1): Wochenraster oben, Uhrzeiten des gewählten Tages darunter */
.kal { position: relative; }
.kal .tw { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.kal-raster { display: grid; grid-template-columns: 2.9em repeat(var(--sp, 5), 1fr); gap: 4px; align-items: center; }
.kal-raster .wt { text-align: center; font-size: .75rem; font-weight: 800; color: var(--text2); letter-spacing: .04em; }
.kal-raster .kw { font-size: .7rem; color: var(--text2); font-variant-numeric: tabular-nums; }
.formular .tz, .tz { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; margin: 0 !important;
  border: 1.5px solid var(--ink-500); border-radius: 10px; background: var(--flaeche); cursor: pointer; line-height: 1.15; font-weight: 400 !important; }
.tz b { font-size: .98rem; font-variant-numeric: tabular-nums; }
.tz i { font-style: normal; font-size: .68rem; opacity: .75; }
.tz:hover { border-color: var(--prim); }
.kal .tw:focus-visible ~ .kal-raster { outline: 3px solid var(--gruen-400); outline-offset: 3px; border-radius: 10px; }
.tz.leer { border-color: transparent; background: transparent; cursor: default; color: var(--text2); opacity: .55; }
.tz.leer b { font-weight: 400; font-size: .85rem; }
.tz::after { content: ""; display: none; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gruen-600); border: 2px solid var(--flaeche); }
.kal-hinweis { margin: 8px 0 12px; font-size: .8rem; color: var(--text2); }
.panel { display: none; background: var(--bg); border: 1.5px solid var(--linie); border-radius: 12px; padding: 10px 10px 12px; }
.panel-kopf { margin: 0 0 8px; font-weight: 800; }
.zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; padding: 0; }
.zeit { position: relative; margin: 0 !important; }
.zeit input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.zeit span { display: flex; align-items: center; justify-content: center; min-height: 38px; font-size: .95rem; border: 1.5px solid var(--ink-500); border-radius: 10px; font-weight: 700; background: var(--flaeche); font-variant-numeric: tabular-nums; }
.zeit input:hover + span { border-color: var(--prim); }
.zeit input:focus-visible + span { outline: 3px solid var(--gruen-400); outline-offset: 2px; }
.zeit input:checked + span { background: var(--prim); border-color: var(--prim); color: var(--prim-text); }
.zeit input:checked + span::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .3em; background: currentColor; -webkit-mask: var(--m-haken) center / contain no-repeat; mask: var(--m-haken) center / contain no-repeat; }
.buchung textarea { min-height: 90px; }
.hinweis-unten { margin: 10px 0 0; text-align: center; }
.alternativ { margin-top: 16px; }
.alternativ > summary { cursor: pointer; font-weight: 700; color: var(--link); padding: 10px 0; }
.alternativ[open] > summary { margin-bottom: 8px; }

/* Whitepaper (Datenschutz, IT-Sicherheit) */
.whitepaper { margin-top: 36px; }
.whitepaper > h3 { font-size: 1.25rem; color: var(--weiss); }
.whitepaper > p { color: var(--ink-300); margin: 6px 0 16px; }
.raster.zwei { grid-template-columns: 1fr; }
.download { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px 14px; text-decoration: none; color: inherit; }
.download .dl-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.download .dl-text b { color: var(--weiss); }
.download .dl-text small { color: var(--ink-300); font-size: .9rem; line-height: 1.45; }
.download .dl-knopf { grid-column: 2; font-weight: 800; color: var(--gruen-400); white-space: nowrap; }
a.download:hover { border-color: var(--gruen-400); }
.download.leer .dl-knopf { font-weight: 600; }

/* Terminseite */
.schmal-termin { max-width: 640px; }
.termin-karte h1 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-bottom: 10px; }
.status-zeile { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text2); }
.badge { display: inline-block; padding: 3px 12px; border-radius: 99px; font-size: .85rem; font-weight: 800; }
.badge.gruen { background: var(--gruen-100); color: var(--gruen-800); }
.badge.rot { background: #fde2e1; color: #8c1d18; }
.badge.grau { background: var(--ink-100); color: var(--ink-700); }
.gedimmt { color: var(--text2); }
.knopfreihe, .aenderung { display: grid; gap: 10px; margin: 18px 0; }
.termin-karte .knopf { width: 100%; }
.knopf.zweit { background: transparent; color: var(--link); border-color: var(--link); }
.knopf.warn { background: #b42318; color: #fff; }
.absagen > summary { cursor: pointer; text-align: center; padding: 12px; color: var(--text2); font-weight: 600; }
.absagen form { margin-top: 6px; }
.termin-karte .buchung { margin-top: 18px; border-top: 1px solid var(--linie); padding-top: 18px; }
@media (min-width: 640px) {
  .raster.zwei { grid-template-columns: 1fr 1fr; }
  .knopfreihe { grid-template-columns: 1fr 1fr; }
}

/* Eigene Icons und Grafiken (ab 1.46) */
svg.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; flex: none; vertical-align: -.25em; overflow: visible; }
.symbol svg.ic { width: 26px; height: 26px; }
.symbol.gross svg.ic { width: 34px; height: 34px; }
.streifen b svg.ic { width: 22px; height: 22px; color: var(--gruen-400); --icon-akzent: var(--gruen-400); }
.knoten svg.ic { width: 20px; height: 20px; margin-right: 6px; }
.ic-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.grafik { display: block; width: 100%; height: auto; }
.szenen-grafik { max-width: 760px; margin: 0 auto 22px; }
.ablauf-grafik { max-width: 960px; margin: 8px auto 0; }
.mk-block i svg.ic { width: 22px; height: 22px; }
.chip-foto svg.ic { width: 18px; height: 18px; vertical-align: -.2em; }
/* Zahlen in der Zahlenschrift (Manual Kapitel 05) */
.handy-zahl b, .mk-wert, .kachel b, .zeit span { font-family: var(--schrift-zahl); font-variant-numeric: tabular-nums; }
.bild svg.grafik { max-width: 360px; margin: 0 auto; }
.export-grafik { max-width: 300px; margin: 0 auto 20px; }
.ablauf-grafik { margin: 0 auto 24px; }

/* Whitepaper anfordern (ab 1.54): Formular mit Bestätigung per E-Mail */
#whitepaper { scroll-margin-top: 76px; }
.wp-formular { margin-top: 18px; color: var(--text); }
.wp-formular h4 { font-size: 1.15rem; margin: 0 0 14px; }
.wp-formular fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.wp-formular legend { font-weight: 800; padding: 0; margin-bottom: 8px; }
.wp-formular .wp-auswahl .haken { margin-bottom: 8px; color: var(--text); font-size: 1rem; }
.wp-felder { display: grid; gap: 0 18px; }
.wp-einwilligung { background: var(--kachel); border-left: 4px solid var(--prim); padding: 12px 14px; border-radius: 10px; }
.wp-einwilligung b { color: var(--text); font-weight: 600; }
.wp-meldung { margin-top: 18px; }
.wp-ersatz { margin-top: 16px; }
.wp-seite .formular h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 12px; }
.wp-seite .dl-liste { display: grid; gap: 10px; margin: 18px 0; }
@media (min-width: 640px) {
  .wp-felder { grid-template-columns: 1fr 1fr; }
}

/* Termin und Kontakt als zwei Bereiche (ab 1.54) */
.bereich-vorspann { color: var(--link); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.bereich-titel { font-size: clamp(1.6rem, 5vw, 2.3rem); }
