/* =====================================================================
   LexTailor – eigene Bausteine (Baukasten ImmoTailor): Schichten-Grafik,
   Vorher/Nachher, Status-Marken. Schwarz-Weiß mit genau einem Akzent:
   der LexTailor-Ring trägt die Marker-Farbe (wechselt mit data-accent).
   ===================================================================== */

:root {
  --zf-core: #111111; --zf-core-ink: #ffffff;
  --zf-plat: #ebe8e1; --zf-plat-ink: #111111;
  --zf-biz: #d6d2c8; --zf-biz-ink: #111111;
  --zf-ki: #3b3935; --zf-ki-ink: #ffffff;
  --zf-immo: var(--marker); --zf-immo-ink: #111111;
  --zf-immop: color-mix(in srgb, var(--marker) 38%, #ffffff); --zf-immop-ink: #111111;
  --zf-sap: #f3f1ec; --zf-sap-ink: #111111;
  --zf-gap: var(--bg);
  --zf-red: #c8321f;
  --zf-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --zf-serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Source Serif Pro", "Sitka Text", Cambria, Georgia, serif;
}
:root[data-mode="dark"] {
  --zf-core: #f1eee6; --zf-core-ink: #111111;
  --zf-plat: #2a2926; --zf-plat-ink: #f1eee6;
  --zf-biz: #3d3b36; --zf-biz-ink: #f1eee6;
  --zf-ki: #cfcabd; --zf-ki-ink: #111111;
  --zf-immop: color-mix(in srgb, var(--marker) 42%, #121212); --zf-immop-ink: #f1eee6;
  --zf-sap: #1c1c1a; --zf-sap-ink: #f1eee6;
  --zf-red: #ff7a66;
}

/* ---------- Farbklassen (Segmente, Legende, Muster) ---------- */
.zf-sw { display: inline-block; width: 12px; height: 12px; flex: none; border: 1px solid var(--ink); }
.zf-sw.g-core, .zf-lev .g-core { background: var(--zf-core); }
.zf-sw.g-plat, .zf-lev .g-plat { background: var(--zf-plat); }
.zf-sw.g-biz, .zf-lev .g-biz { background: var(--zf-biz); }
.zf-sw.g-ki, .zf-lev .g-ki { background: var(--zf-ki); }
.zf-sw.g-immo, .zf-lev .g-immo { background: var(--zf-immo); }
.zf-sw.g-immop, .zf-lev .g-immop { background: var(--zf-immop); }
.zf-sw.g-sap, .zf-lev .g-sap { background: var(--zf-sap); }

.zf-seg path, .zf-seg .zf-base { stroke: var(--zf-gap); stroke-width: 3; cursor: pointer; transition: opacity 0.25s ease, filter 0.15s ease; }
.zf-seg.g-core .zf-base { fill: var(--zf-core); } .zf-seg.g-core text { fill: var(--zf-core-ink); }
.zf-seg.g-plat path { fill: var(--zf-plat); } .zf-seg.g-plat text { fill: var(--zf-plat-ink); }
.zf-seg.g-biz path { fill: var(--zf-biz); } .zf-seg.g-biz text { fill: var(--zf-biz-ink); }
.zf-seg.g-ki path { fill: var(--zf-ki); } .zf-seg.g-ki text { fill: var(--zf-ki-ink); }
.zf-seg.g-immo path { fill: var(--zf-immo); } .zf-seg.g-immo text { fill: var(--zf-immo-ink); }
.zf-seg.g-immop path { fill: var(--zf-immop); } .zf-seg.g-immop text { fill: var(--zf-immop-ink); }
.zf-seg.g-sap path { fill: var(--zf-sap); } .zf-seg.g-sap text { fill: var(--zf-sap-ink); }
.zf-seg.st-vorschau path { fill-opacity: 0.55; }
.zf-seg.st-geplant path { fill: var(--bg); stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 6 5; }
.zf-seg.st-geplant text { fill: var(--ink); }
.zf-seg text { font-family: var(--zf-sans); font-weight: 700; pointer-events: none; }
.zf-seg text.zf-disp { font-family: var(--zf-serif); font-weight: 700; font-style: italic; }
.zf-seg { transition: opacity 0.25s ease; }
.zf-seg:hover path, .zf-seg:hover .zf-base { filter: brightness(1.06); }
.zf-seg.dim { opacity: 0.16; }
.zf-seg.sel path, .zf-seg.sel .zf-base { stroke: var(--ink); stroke-width: 4; }
.zf-seg:focus { outline: none; }
.zf-seg:focus-visible path, .zf-seg:focus-visible .zf-base { stroke: var(--ink); stroke-width: 5; }
.zf-nd { fill: #ffffff; stroke: #111111; stroke-width: 2.5; }
.zf-frame { fill: none; stroke: var(--ink); stroke-width: 1.5; pointer-events: none; }
.zf-arc { fill: var(--ink); font-family: var(--zf-sans); font-weight: 700; letter-spacing: 5px; }
.zf-arc[role="button"] { cursor: pointer; }
.zf-arc:focus-visible { outline: 2px solid var(--ink); }
.zf-halo { fill: none; stroke: var(--bg); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.zf-line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.zf-line.draw { transition: stroke-dashoffset 1.4s cubic-bezier(0.6, 0, 0.2, 1); }
.zf-step { pointer-events: none; }
.zf-step circle { fill: var(--ink); stroke: var(--bg); stroke-width: 3; }
.zf-step text { fill: var(--bg); font: 800 16px var(--zf-sans); }

/* ---------- Bildtafel und Unterschrift (wie im Heft) ---------- */
.zf-plate { background: var(--bg-2); padding: clamp(14px, 2.6vw, 34px); }
[data-tone="weiss"]:not([data-mode="dark"]) .zf-plate { background: #ecebe7; }
.zf-canvas { max-width: 860px; margin: 0 auto; }
.zf-svg { display: block; width: 100%; height: auto; overflow: visible; }
.zf-under { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--ink); font: italic 400 0.9rem/1.45 var(--zf-serif); color: var(--muted); }
.zf-under a { color: var(--ink); }

/* Titel-Abbildung: Bildunterschrift läuft mit */
.zf-hero .zf-cap { display: grid; gap: 4px; margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--ink); min-height: 7.6em; }
.zf-cap-k { font: 700 0.7rem/1.3 var(--zf-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.zf-cap-t { font: 700 1.15rem/1.3 var(--zf-serif); color: var(--ink); }
.zf-cap-d { font: italic 400 0.95rem/1.45 var(--zf-serif); color: var(--muted); }

/* ---------- Vollständige Grafik ---------- */
.zf-full { display: grid; gap: 18px; }
.zf-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.zf-lbl { font: 700 0.7rem/1 var(--zf-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); min-width: 9.5em; }
.zf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zf-chip { appearance: none; font: 700 0.78rem/1 var(--zf-sans); letter-spacing: 0.04em; padding: 9px 12px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; border-radius: 0; }
.zf-chip:hover { background: var(--bg-2); }
.zf-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.zf-chip.zf-flow { border-style: solid; box-shadow: inset 0 -3px 0 var(--marker); }
.zf-chip.zf-flow[aria-pressed="true"] { background: var(--marker); color: #111; box-shadow: none; border-color: #111; }
.zf-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 1020px) { .zf-main { grid-template-columns: minmax(0, 1fr); } }
.zf-fig { margin: 0; min-width: 0; }
.zf-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.zf-legbtn { appearance: none; background: none; border: 0; padding: 4px 0; color: var(--ink); font: 600 0.82rem/1.2 var(--zf-sans); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.zf-legbtn:hover { text-decoration: underline; }
.zf-keys { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font: 400 0.8rem/1.3 var(--zf-sans); color: var(--muted); }
.zf-keys span { display: inline-flex; align-items: center; gap: 8px; }
.zf-k { display: inline-block; width: 20px; height: 12px; }
.zf-k-frame { border: 1.5px solid var(--ink); background: var(--zf-immo); }
.zf-k-vor { background: var(--zf-immo); opacity: 0.55; }
.zf-k-road { border: 1.5px dashed var(--ink); }
.zf-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2.5px #111; flex: none; }

.zf-panel { position: sticky; top: 16px; border-top: 3px solid var(--ink); padding-top: 14px; display: grid; gap: 12px; max-height: calc(100vh - 32px); overflow: auto; }
@media (max-width: 1020px) { .zf-panel { position: static; max-height: none; } }
.zf-panel h3 { font: 700 0.7rem/1.2 var(--zf-sans); letter-spacing: 0.18em; text-transform: uppercase; margin: 8px 0 0; }
.zf-panel p, .zf-panel ul, .zf-panel ol { margin: 0; }
.zf-eyebrow { font: 700 0.7rem/1.3 var(--zf-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.zf-panel .zf-h { font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--zf-serif); letter-spacing: -0.01em; text-transform: none; margin: 0; }
.zf-desc { font-size: 1.02rem; color: var(--ink-2); max-width: 60ch; }
.zf-status { justify-self: start; font: 700 0.72rem/1 var(--zf-sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 8px; border: 1.5px solid var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.zf-status.st-neu { background: var(--marker); color: #111; border-color: #111; }
.zf-status.st-geplant { border-style: dashed; }
.zf-status.st-vorschau { color: var(--muted); }
.zf-feats { list-style: none; padding: 0; display: grid; gap: 6px; font-family: var(--zf-sans); font-size: 0.92rem; }
.zf-feats li { padding-left: 18px; position: relative; }
.zf-feats li::before { content: "—"; position: absolute; left: 0; }
.zf-value { list-style: none; padding: 0; display: grid; gap: 8px; }
.zf-value li { background: var(--marker-soft); padding: 8px 10px; font-size: 0.98rem; }
.zf-rel { display: flex; flex-wrap: wrap; gap: 6px; }
.zf-item { appearance: none; display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 0.82rem/1.2 var(--zf-sans); cursor: pointer; text-align: left; }
.zf-item:hover { background: var(--bg-2); }
.zf-rings { list-style: none; padding: 0; display: grid; gap: 10px; }
.zf-rings li { display: flex; gap: 10px; align-items: flex-start; }
.zf-rings li .zf-sw { margin-top: 6px; }
.zf-rings b { display: block; font-family: var(--zf-serif); }
.zf-rings span { font-size: 0.92rem; color: var(--muted); }
.zf-lev { display: flex; height: 28px; border: 1px solid var(--ink); overflow: hidden; }
.zf-lev span { display: flex; align-items: center; justify-content: center; font: 800 0.8rem/1 var(--zf-sans); color: #111; min-width: 0; overflow: hidden; }
.zf-lev .g-biz { color: var(--zf-biz-ink); }
.zf-levkey { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 0.78rem/1.35 var(--zf-sans); color: var(--muted); }
.zf-levkey span { display: inline-flex; gap: 6px; align-items: center; }
.zf-tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.zf-tally div { padding: 10px 10px 8px 0; border-right: 1px solid var(--line); display: grid; }
.zf-tally div:last-child { border-right: 0; padding-left: 10px; }
.zf-tally div + div { padding-left: 10px; }
.zf-tally b { font: 700 2rem/1 var(--zf-serif); }
.zf-tally span { font: 400 0.76rem/1.3 var(--zf-sans); color: var(--muted); }
.zf-steps { padding: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; }
.zf-steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: 10px; counter-increment: st; }
.zf-steps li::before { content: counter(st); grid-row: span 3; font: 700 1.6rem/1 var(--zf-serif); }
.zf-steps b { font-weight: 700; }
.zf-steps small { display: block; font: 400 0.8rem/1.4 var(--zf-sans); color: var(--muted); }
.zf-steps em { font-style: normal; background: linear-gradient(transparent 55%, var(--marker-soft) 55%); color: var(--ink); }
.zf-note { font: italic 400 0.9rem/1.45 var(--zf-serif); color: var(--muted); }
.zf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; margin-top: 18px; }
.zf-col { border-top: 2px solid var(--ink); padding: 12px 0 18px; display: grid; gap: 10px; align-content: start; }
.zf-col-immo { border-top-width: 5px; border-top-color: var(--marker); }
.zf-col-h { display: flex; gap: 8px; align-items: center; margin: 0; }
.zf-col-h b { font-family: var(--zf-serif); font-size: 1.1rem; }
.zf-col-h small { margin-left: auto; font: 400 0.8rem/1 var(--zf-sans); color: var(--muted); }

/* ---------- Wohnungsspiegel-Abbildung ---------- */
.sp { margin: 0; }
.sp-plate { background: var(--bg-2); padding: clamp(16px, 3vw, 32px); display: grid; gap: 16px; }
[data-tone="weiss"]:not([data-mode="dark"]) .sp-plate { background: #ecebe7; }
.sp-h { margin: 0; font: 700 0.72rem/1.2 var(--zf-sans); letter-spacing: 0.16em; text-transform: uppercase; }
.sp-house { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.sp-floors { display: grid; gap: 6px; padding-bottom: 0; }
.sp-floors span { font: 400 0.78rem/1 var(--zf-sans); color: var(--muted); height: 40px; display: flex; align-items: center; }
.sp-stiege { display: grid; gap: 8px; min-width: 0; }
.sp-name { margin: 0; text-align: center; font: 700 0.82rem/1 var(--zf-sans); border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sp-top { position: relative; height: 40px; display: flex; align-items: center; justify-content: center; font: 700 0.78rem/1 var(--zf-sans); white-space: nowrap; overflow: hidden; }
.st-vermietet { background: var(--ink); color: var(--bg); }
.st-verkauft { background: #8a867c; color: #fff; }
.st-frei { background: var(--marker); color: #111; }
.st-reserviert { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(17, 17, 17, 0.09) 6px 8px); }
[data-mode="dark"] .st-reserviert { background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(241, 238, 230, 0.14) 6px 8px); }
.st-uebergabe { color: #111; background: color-mix(in srgb, var(--marker) 35%, #ffffff); box-shadow: inset 5px 0 0 #111, inset 0 0 0 1.5px #111; }
.st-mangel::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 13px 13px 0; border-color: transparent var(--zf-red) transparent transparent; }
.sp-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-legend .sp-top { height: auto; padding: 6px 10px; font-size: 0.74rem; }
@media (max-width: 520px) { .sp-top { font-size: 0.66rem; } .sp-floors span { font-size: 0.68rem; } .sp-house { gap: 8px; } }

/* ---------- Vorher / Nachher ---------- */
.vn { margin: 0; }
.vn-scroll { overflow-x: auto; background: var(--bg-2); padding: clamp(10px, 2vw, 24px); }
[data-tone="weiss"]:not([data-mode="dark"]) .vn-scroll { background: #ecebe7; }
.vn svg { display: block; width: 100%; min-width: 720px; height: auto; }
.vn-h { fill: var(--ink); font: 700 26px var(--zf-serif); }
.vn-s { fill: var(--muted); font: italic 400 16px var(--zf-serif); }
.vn-break line { stroke: var(--zf-red); stroke-width: 2; stroke-dasharray: 6 5; }
.vn-ah { fill: var(--zf-red); }
.vn-ah2 { fill: var(--ink); }
.vn-bl text { fill: var(--zf-red); font: 700 13px var(--zf-sans); }
.vn-box rect { fill: var(--bg); stroke: var(--ink); stroke-width: 1.2; }
.vn-box .vn-main { stroke-width: 2.4; }
.vn-bt text { fill: var(--ink); font: 700 14px var(--zf-sans); }
.vn-arrow { stroke: var(--ink); stroke-width: 3; }
.vn-um { fill: var(--ink); font: 800 12px var(--zf-sans); letter-spacing: 2px; }
.vn-r { stroke: var(--zf-gap); stroke-width: 3; }
.vn-port { fill: var(--zf-immop); } .vn-immo { fill: var(--zf-immo); } .vn-ki { fill: var(--zf-ki); }
.vn-biz { fill: var(--zf-biz); } .vn-plat { fill: var(--zf-plat); } .vn-core { fill: var(--zf-core); }
.vn-rl text { font: 700 14px var(--zf-sans); }
.vn-t-port { fill: var(--zf-immop-ink); } .vn-t-immo { fill: var(--zf-immo-ink); } .vn-t-ki { fill: var(--zf-ki-ink); }
.vn-t-biz { fill: var(--zf-biz-ink); } .vn-t-plat { fill: var(--zf-plat-ink); } .vn-t-core { fill: var(--zf-core-ink); }
.vn-rl .vn-big { font: italic 700 20px var(--zf-serif); }
.vn-rl .vn-small { font: 400 12px var(--zf-sans); }
.vn-foot { fill: var(--ink); font: 700 17px var(--zf-serif); }

/* ---------- Seiten-Bausteine ---------- */
.st-pill { display: inline-block; font: 700 0.68rem/1 var(--zf-sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 7px; border: 1.5px solid var(--ink); margin-bottom: 10px; }
.st-pill.neu { background: var(--marker); color: #111; border-color: #111; }
.st-pill.vorschau { color: var(--muted); border-color: var(--muted); }
.st-pill.roadmap { border-style: dashed; }
.band-word { font: italic 700 clamp(3rem, 9vw, 7.5rem)/0.9 var(--zf-serif); letter-spacing: -0.03em; margin: 0; }
.band-word span { background: linear-gradient(104deg, transparent 0.1em, var(--marker) 0.15em, var(--marker) calc(100% - 0.1em), transparent); color: #111; padding: 0 0.1em; }
.honest-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.honest-list li { border-top: 1px solid var(--ink); padding: 14px 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 20px; }
.honest-list b { font-family: var(--zf-serif); font-size: 1.15rem; }
@media (max-width: 720px) { .honest-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.law-list { list-style: none; padding: 0; margin: 0; columns: 2 320px; column-gap: 36px; }
.law-list li { break-inside: avoid; border-top: 1px solid var(--ink); padding: 12px 0 14px; }
.law-list b { display: block; font: 700 0.72rem/1.2 var(--zf-sans); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.fn-cards .card h3 { margin-top: 0; }
.group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.group-head .count { font: italic 400 1.1rem/1 var(--zf-serif); color: var(--muted); }
.road-tl li .st-pill { margin: 0 0 0 8px; vertical-align: 0.15em; }
.hero-figure { min-width: 0; }
@media (max-width: 980px) { .hero-figure { order: 2; } }

/* Titelseite: die lebende Abbildung bekommt mehr Raum, gedimmte Ringe bleiben lesbar */
.page-home .hero > .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
@media (max-width: 980px) { .page-home .hero > .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.zf-hero .zf-seg.dim { opacity: 0.38; }

/* ---------- Marktkarten ---------- */
.mk { margin: 0 0 40px; }
.mk-title { font: 700 0.72rem/1.2 var(--zf-sans); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 12px; }
.mk-grid { display: grid; gap: 0 18px; }
.mk-c2 .mk-grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
.mk-c3 .mk-grid { grid-template-columns: auto repeat(3, minmax(0, 1fr)); }
.mk-y { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font: 700 0.68rem/1.2 var(--zf-sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 0 6px; border-right: 1px solid var(--ink); }
.mk-x { text-align: center; font: 700 0.68rem/1.3 var(--zf-sans); letter-spacing: 0.1em; text-transform: uppercase; padding-top: 8px; border-top: 1px solid var(--ink); }
.mk-q { border-top: 2px solid var(--ink); padding: 12px 0 18px; min-height: 120px; min-width: 0; }
.mk-q ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mk-hot { border-top: 5px solid var(--marker); background: linear-gradient(var(--marker-soft), transparent 70%); }
.mk .mchip { border: 1px solid var(--ink); background: var(--bg); border-radius: 0; padding: 5px 9px; font: 600 0.82rem/1.25 var(--zf-sans); display: inline-flex; gap: 6px; align-items: center; max-width: 100%; overflow-wrap: anywhere; }
.mk .mchip-self { background: var(--marker); color: #111; border-color: #111; display: grid; gap: 2px; padding: 9px 12px; }
.mk .mchip-self b { font: 700 1.15rem/1.1 var(--zf-serif); }
.mk .mchip-self span { font: 400 0.76rem/1.3 var(--zf-sans); }
.mk-at { font: 800 0.6rem/1 var(--zf-sans); letter-spacing: 0.06em; text-decoration: none; padding: 2px 4px; background: var(--ink); color: var(--bg); }
.mk-empty { color: var(--muted); font-family: var(--zf-sans); }
.mk figcaption { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--ink); font: italic 400 0.88rem/1.45 var(--zf-serif); color: var(--muted); max-width: 95ch; }
.mk figcaption a { color: var(--ink); }
.mk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 36px; }
@media (max-width: 620px) { .mk-row { grid-template-columns: minmax(0, 1fr); } .mk .mchip { font-size: 0.72rem; padding: 4px 6px; } .mk-q { min-height: 0; } .mk-y { font-size: 0.58rem; padding: 0 3px; } .mk-grid { gap: 0 8px; } .mk-x { font-size: 0.58rem; letter-spacing: 0.04em; } }

/* ---------- Vergleichstabelle (Ergänzungen) ---------- */
.vg-seg { display: block; font: 400 0.72rem/1.2 var(--zf-sans); color: var(--muted); margin-top: 3px; letter-spacing: 0.04em; }
.vg .v-part { font-size: 0.86rem; }
.vg tbody th mark { white-space: normal; }

/* ---------- Auf einen Blick (für Leser und Antwortmaschinen) ---------- */
.tldr { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0 16px; margin: 0 0 28px; max-width: 760px; }
.tldr-h { font: 700 0.72rem/1.2 var(--zf-sans); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 8px; }
.tldr ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }

/* ---------- FAQ ---------- */
.faq { border-top: 3px double var(--ink); }
.faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 36px; margin: 0; }
.faq-list > div { border-top: 1px solid var(--ink); padding: 14px 0 18px; }
.faq-list dt { font: 700 1.12rem/1.3 var(--zf-serif); margin-bottom: 6px; }
.faq-list dd { margin: 0; color: var(--ink-2); }

/* ---------- Für wen: Bestandsskala ---------- */
.scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.scale li { border-top: 6px solid var(--ink); padding: 14px 18px 0 0; position: relative; }
.scale li:nth-child(1) { border-top-color: color-mix(in srgb, var(--marker) 45%, #ffffff); }
.scale li:nth-child(2) { border-top-color: var(--marker); }
.scale li:nth-child(3) { border-top-color: var(--ink); }
.scale .sc-k { font: 700 0.7rem/1.2 var(--zf-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.scale h3 { margin: 6px 0; font-size: 1.5rem; }
.scale h3 a { text-decoration: none; }
.scale h3 a:hover { text-decoration: underline; }
.scale p { font-size: 1rem; }
@media (max-width: 860px) { .scale { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.mk-grid { row-gap: 14px; }
.mk-y { border-top: 2px solid var(--ink); }
.mk-at { flex: none; white-space: nowrap; }
.mk .mchip-self b { overflow-wrap: normal; word-break: keep-all; }
@media (max-width: 620px) { .mk .mchip-self b { font-size: 0.95rem; } .mk .mchip-self { padding: 7px 8px; } }

/* =====================================================================
   Marktkarten interaktiv: Einflug, Chip-Details, Kartenlabor,
   Lebenszyklus-Strecke, Zahlenband (Herausforderer)
   ===================================================================== */
.mchip[hidden] { display: none !important; }
.mchip[data-wired] { cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.mchip[data-wired]:hover, .mchip[data-wired]:focus-visible, .mchip.mk-same { box-shadow: 0 0 0 2px var(--ink); outline: none; }
.mchip.mk-same:not(.mchip-self) { background: var(--ink); color: var(--bg); }
.mchip.mk-same:not(.mchip-self) .mk-at { background: var(--bg); color: var(--ink); }

/* Einflug */
.mk-js .mchip { opacity: 0; transform: translateY(12px) scale(.96); }
.mk-js.mk-in .mchip { opacity: 1; transform: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), background-color .15s, color .15s, box-shadow .15s; }
.mk-js .mchip-self { opacity: 0; }
.mk-js.mk-in .mchip-self { opacity: 1; animation: mk-land .9s cubic-bezier(.2,.9,.25,1.25) both; }
.mk-js .mk-hot { background: transparent; }
.mk-js.mk-in .mk-hot { animation: mk-hot 1.6s ease .9s both; }
@keyframes mk-land {
  0% { opacity: 0; transform: translate(-40px, -70px) rotate(-6deg) scale(1.35); box-shadow: 0 30px 40px rgba(0,0,0,.25); }
  60% { opacity: 1; transform: translate(0, 4px) rotate(1deg) scale(1.04); box-shadow: 0 4px 0 #111; }
  80% { transform: translate(0, -2px) scale(1.01); }
  100% { opacity: 1; transform: none; box-shadow: 6px 6px 0 #111; }
}
@keyframes mk-hot { from { background: transparent; } to { background: linear-gradient(var(--marker-soft), transparent 70%); } }
.mk .mchip-self, .mkl .mchip-self { box-shadow: 6px 6px 0 #111; }
:root[data-mode="dark"] .mk .mchip-self, :root[data-mode="dark"] .mkl .mchip-self { box-shadow: 6px 6px 0 var(--ink); }

/* Chip-Popover */
.mk-pop { position: absolute; z-index: 60; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 14px 16px 12px; font-family: var(--zf-sans); }
.mk-pop-self { border-color: #111; box-shadow: 8px 8px 0 var(--marker); }
.mk-pop-h { margin: 0 0 10px; display: grid; gap: 2px; }
.mk-pop-h b { font: 700 1.25rem/1.1 var(--zf-serif); }
.mk-pop-h span { font: 700 .66rem/1.2 var(--zf-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mk-pop-self .mk-pop-h span { color: var(--ink); background: var(--marker); justify-self: start; padding: 2px 6px; }
.mk-pop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mk-pop-list li { display: grid; grid-template-columns: 1.2em 1fr auto; gap: 8px; align-items: baseline; font-size: .86rem; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.mk-pop-list i { font-style: normal; }
.mk-pop-list em { font-style: normal; font-size: .72rem; color: var(--muted); }
.mk-pop-list .l2 i { color: var(--ink); }
.mk-pop-list .l2 em { color: var(--ink); font-weight: 700; }
.mk-pop-sum { margin: 10px 0 6px; font-size: .82rem; font-weight: 600; }
.mk-pop-src { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; }
.mk-pop-src a { color: var(--ink); }
.mk-pop-src small { color: var(--muted); width: 100%; }

/* ---------- Herausforderer-Band ---------- */
.hz { position: relative; overflow: hidden; }
.hz-kicker { display: inline-block; background: var(--ink); color: var(--bg); font: 800 .72rem/1 var(--zf-sans); letter-spacing: .2em; text-transform: uppercase; padding: 8px 10px; margin-bottom: 18px; }
.hz h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.02em; max-width: 16ch; }
.hz h2 span { background: linear-gradient(104deg, transparent .08em, var(--marker) .12em, var(--marker) calc(100% - .08em), transparent); color: #111; padding: 0 .08em; }
.hz-nums { list-style: none; margin: 34px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.hz-nums li { padding: 16px 18px 6px 0; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.hz-nums li + li { padding-left: 18px; }
.hz-nums li:last-child { border-right: 0; }
.hz-nums b { font: 800 clamp(2.6rem, 6vw, 4.8rem)/.9 var(--zf-serif); font-variant-numeric: tabular-nums; }
.hz-nums li:first-child b, .hz-nums li:nth-child(3) b { background: linear-gradient(transparent 55%, var(--marker) 55%); justify-self: start; padding: 0 .06em; }
.hz-nums span { font: 600 .84rem/1.35 var(--zf-sans); color: var(--muted); max-width: 26ch; }
.hz-note { font: italic .86rem/1.45 var(--zf-serif); color: var(--muted); max-width: 90ch; }
.hz-claims { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.hz-claims li { border-top: 1px solid var(--ink); padding-top: 12px; }
.hz-claims b { display: block; font: 700 1.15rem/1.2 var(--zf-serif); margin-bottom: 6px; }
.hz-claims span { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .hz-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hz-nums li:nth-child(2) { border-right: 0; } .hz-nums li:nth-child(3) { padding-left: 0; } .hz-claims { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* ---------- Kartenlabor ---------- */
.mkl { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px 36px; align-items: start; }
.mkl-ctrl, .mkl-segs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; }
.mkl-sel { display: grid; gap: 4px; font: 700 .66rem/1 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; }
.mkl-sel select { font: 600 1rem/1.2 var(--zf-sans); color: var(--ink); background: var(--bg); border: 2px solid var(--ink); border-radius: 0; padding: 9px 34px 9px 12px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 11px) 55%; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.mkl-sel select:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.mkl-times { font: 800 1.6rem/1 var(--zf-serif); padding-bottom: 8px; }
.mkl-btn { padding: 11px 14px; font-size: .74rem; }
.mkl-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.mkl-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.mkl-segs { align-items: center; gap: 8px; }
.mkl-segs-l { font: 700 .66rem/1 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mkl-segbtn { font: 600 .82rem/1 var(--zf-sans); border: 1.5px solid var(--ink); background: var(--bg); color: var(--ink); padding: 7px 10px; cursor: pointer; border-radius: 0; }
.mkl-segbtn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.mkl-segbtn[aria-pressed="false"] { text-decoration: line-through; opacity: .6; }
.mkl-fig { margin: 0; min-width: 0; }
.mkl-board { display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; gap: 0 8px; }
.mkl-ylab { grid-column: 1; grid-row: 1; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font: 800 .74rem/1.2 var(--zf-sans); letter-spacing: .12em; text-transform: uppercase; background: var(--marker); color: #111; padding: 8px 4px; align-self: stretch; }
.mkl-yax { grid-column: 2; grid-row: 1; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.mkl-yax span { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font: 600 .62rem/1.1 var(--zf-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--ink); padding: 0 4px; }
.mkl-grid { grid-column: 3; grid-row: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(118px, auto)); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: calc(100% / 3) calc(100% / 3); }
.mkl-cell { position: relative; padding: 10px; min-width: 0; transition: background-color .4s; }
.mkl-cell ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mkl-top { background: linear-gradient(var(--marker-soft), transparent 85%); box-shadow: inset 0 0 0 3px var(--ink); }
.mkl-tag { display: block; font: 800 .6rem/1 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.mkl-flash { animation: mkl-flash .9s ease; }
@keyframes mkl-flash { 0% { background-color: var(--marker); } 100% { background-color: transparent; } }
.mkl-xax { grid-column: 3; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkl-xax span { text-align: center; font: 600 .62rem/1.1 var(--zf-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 2px 0; }
.mkl-xlab { grid-column: 3; grid-row: 3; justify-self: end; font: 800 .74rem/1.2 var(--zf-sans); letter-spacing: .12em; text-transform: uppercase; background: var(--marker); color: #111; padding: 6px 10px; margin-top: 6px; }
.mkl-xlab::after { content: " →"; }
.mkl .mchip { border: 1px solid var(--ink); background: var(--bg); padding: 4px 8px; font: 600 .78rem/1.25 var(--zf-sans); display: inline-flex; max-width: 100%; overflow-wrap: anywhere; will-change: transform; }
.mkl .mchip-self { background: var(--marker); color: #111; border-color: #111; padding: 7px 11px; position: relative; z-index: 2; }
.mkl .mchip-self b { font: 700 1.05rem/1.1 var(--zf-serif); overflow-wrap: normal; word-break: keep-all; }
.mkl-fig figcaption { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--ink); font: italic .86rem/1.45 var(--zf-serif); color: var(--muted); }
.mkl-fig figcaption a { color: var(--ink); }
.mkl-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.mkl-out { margin: 0; font: 400 1.05rem/1.45 var(--zf-serif); border-left: 5px solid var(--marker); padding: 4px 0 4px 14px; min-height: 4.5em; }
.mkl-out b { display: block; font: 700 .72rem/1.3 var(--zf-sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.mkl-score { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); }
.mkl-score p { margin: 0; padding: 10px 10px 0 0; display: grid; gap: 4px; }
.mkl-score p + p { border-left: 1px solid var(--line); padding-left: 12px; }
.mkl-score b { font: 800 2.6rem/.9 var(--zf-serif); font-variant-numeric: tabular-nums; }
.mkl-score span { font: 600 .74rem/1.3 var(--zf-sans); color: var(--muted); }
.mkl-done { margin: 0; background: var(--ink); color: var(--bg); padding: 16px 18px; font: 400 1rem/1.45 var(--zf-serif); animation: mk-land .8s cubic-bezier(.2,.9,.25,1.25) both; box-shadow: 6px 6px 0 var(--marker); }
.mkl-done b { display: block; font: 800 1.8rem/1 var(--zf-serif); color: var(--marker); margin-bottom: 6px; }
.mkl.mk-js .mchip { opacity: 0; transform: scale(.8); }
.mkl.mk-js.mk-in .mchip { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1), background-color .15s, color .15s, box-shadow .15s; }
.mkl.mk-js .mchip-self { opacity: 0; }
.mkl.mk-js.mk-in .mchip-self { opacity: 1; animation: mk-land .9s cubic-bezier(.2,.9,.25,1.25) both; }
@media (max-width: 980px) { .mkl { grid-template-columns: minmax(0, 1fr); } .mkl-side { position: static; order: 3; } .mkl-fig { order: 4; } }
@media (max-width: 620px) {
  .mkl-acts { margin-left: 0; width: 100%; } .mkl-acts .mkl-btn { flex: 1 1 auto; }
  .mkl .mchip { font-size: .6rem; padding: 3px 4px; letter-spacing: -.01em; }
  .mkl-out { min-height: 0; }
  .mkl-times { display: none; }
  .mkl-sel, .mkl-sel select { width: 100%; }
  .mkl-grid { grid-template-rows: repeat(3, minmax(84px, auto)); }
  .mkl-cell { padding: 6px 4px; }
  .mkl .mchip-self b { font-size: .86rem; }
  .mkl-yax span, .mkl-xax span { font-size: .52rem; letter-spacing: .02em; }
}

/* ---------- Lebenszyklus-Strecke ---------- */
.ls { margin: 0; }
.ls-scroll { overflow-x: auto; }
.ls-row { display: grid; grid-template-columns: minmax(170px, 1.3fr) repeat(6, minmax(64px, 1fr)); align-items: center; min-width: 640px; border-bottom: 1px solid var(--line); }
.ls-head { border-bottom: 2px solid var(--ink); }
.ls-st { text-align: center; font: 700 .64rem/1.2 var(--zf-sans); letter-spacing: .1em; text-transform: uppercase; padding: 0 2px 10px; }
.ls-name { font: 600 .9rem/1.2 var(--zf-sans); padding: 9px 10px 9px 0; justify-self: start; }
.ls-name[data-wired] { cursor: pointer; }
.ls-name[data-wired]:hover, .ls-name.mk-same, .ls-name:focus-visible { background: var(--ink); color: var(--bg); outline: none; padding-left: 6px; }
.ls-seg { min-width: 640px; font: 800 .6rem/1 var(--zf-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 16px 0 6px; border-bottom: 1px solid var(--ink); }
.ls-cell { position: relative; display: grid; place-items: center; height: 100%; min-height: 38px; }
.ls-cell::before { content: ""; position: absolute; right: 50%; width: 100%; top: 50%; height: 3px; transform: translateY(-50%) scaleX(1); transform-origin: left center; z-index: 0; }
.ls-cell:not(.ln-full):not(.ln-part)::before { display: none; }
.ls-cell.ln-full::before { background: var(--ink); }
.ls-cell.ln-part::before { background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 9px); height: 2px; }
.ls-dot { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--bg); display: block; }
.ls-dot.d-ja { background: var(--ink); }
.ls-dot.d-teil { background: linear-gradient(90deg, var(--ink) 50%, var(--bg) 50%); }
.ls-dot.d-na { border-color: var(--line); border-style: dashed; }
.ls-self { background: var(--marker-soft); border-bottom: 3px solid var(--ink); border-top: 3px solid var(--ink); }
.ls-self .ls-name { font: 700 1.15rem/1.1 var(--zf-serif); }
.ls-self .ls-cell.ln-full::before { height: 7px; background: var(--ink); }
.ls-self .ls-dot { width: 20px; height: 20px; background: var(--marker); border: 3px solid #111; }
.ls figcaption { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--ink); font: italic .86rem/1.45 var(--zf-serif); color: var(--muted); max-width: 95ch; }
.ls figcaption a { color: var(--ink); }
.ls-js .ls-cell::before { transform: translateY(-50%) scaleX(0); }
.ls-js .ls-dot { transform: scale(0); }
.ls-js.ls-in .ls-dot { transform: none; transition: transform .35s cubic-bezier(.2,.9,.3,1.4); }
.ls-js.ls-in .ls-cell::before { transform: translateY(-50%) scaleX(1); transition: transform .45s ease; }
.ls-js.ls-in .ls-cell:nth-child(2) .ls-dot { transition-delay: .1s; }
.ls-js.ls-in .ls-cell:nth-child(3)::before, .ls-js.ls-in .ls-cell:nth-child(3) .ls-dot { transition-delay: .3s; }
.ls-js.ls-in .ls-cell:nth-child(4)::before, .ls-js.ls-in .ls-cell:nth-child(4) .ls-dot { transition-delay: .5s; }
.ls-js.ls-in .ls-cell:nth-child(5)::before, .ls-js.ls-in .ls-cell:nth-child(5) .ls-dot { transition-delay: .7s; }
.ls-js.ls-in .ls-cell:nth-child(6)::before, .ls-js.ls-in .ls-cell:nth-child(6) .ls-dot { transition-delay: .9s; }
.ls-js.ls-in .ls-cell:nth-child(7)::before, .ls-js.ls-in .ls-cell:nth-child(7) .ls-dot { transition-delay: 1.1s; }
.ls-js.ls-in .ls-self .ls-cell::before { transition-duration: .6s; }
@media (prefers-reduced-motion: reduce) { .mk-js .mchip, .mkl.mk-js .mchip, .ls-js .ls-dot { opacity: 1; transform: none; } }

.mk-home { margin: 40px 0 28px; }

/* =====================================================================
   Kampagnen-Seiten: Rückwärts-Fahrplan, Checkliste, Umstiegs-Check, Post
   ===================================================================== */
.fp { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.fp li { position: relative; padding: 18px 14px 18px 0; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); }
.fp li + li { padding-left: 14px; }
.fp li:last-child { border-right: 0; }
.fp li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--ink); }
.fp li + li::before { left: 14px; }
.fp-when { font: 800 .66rem/1.2 var(--zf-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fp b { font: 700 1.08rem/1.2 var(--zf-serif); }
.fp span:not(.fp-when) { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.fp-state { font: 700 .72rem/1.3 var(--zf-sans); font-style: normal; letter-spacing: .04em; }
.fp-past { opacity: .45; }
.fp-past::before { background: var(--ink) !important; }
.fp-now { background: linear-gradient(var(--marker-soft), transparent 90%); }
.fp-now::before { background: var(--marker) !important; border-color: #111 !important; width: 21px !important; height: 21px !important; top: -12px !important; }
.fp-now .fp-state { background: var(--marker); color: #111; justify-self: start; padding: 3px 7px; }
.fp-next .fp-state { color: var(--ink); }
.fp-end .fp-when { color: #111; background: var(--marker); justify-self: start; padding: 3px 6px; }
@media (max-width: 980px) {
  .fp { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 3px solid var(--ink); }
  .fp li, .fp li + li { padding: 4px 0 18px 22px; border-right: 0; }
  .fp li::before, .fp li + li::before { left: -9px; top: 6px; }
  .fp-now::before { left: -12px !important; top: 4px !important; }
}

.ck { max-width: 820px; }
.ck-bar { height: 10px; border: 2px solid var(--ink); margin-bottom: 8px; }
.ck-fill { display: block; height: 100%; width: 0; background: var(--marker); transition: width .35s ease; }
.ck-count { font-weight: 700; margin: 0 0 14px; }
.ck-list { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--ink); }
.ck-list li { border-bottom: 1px solid var(--line); }
.ck-list label { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 12px 0; cursor: pointer; }
.ck-list input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid var(--ink); margin: 2px 0 0; display: grid; place-items: center; cursor: pointer; background: var(--bg); }
.ck-list input:checked { background: var(--marker); }
.ck-list input:checked::after { content: "✓"; font: 900 15px/1 var(--zf-sans); color: #111; }
.ck-list input:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.ck-list input:checked + span { opacity: .55; text-decoration: line-through; text-decoration-thickness: 1px; }
.ck-done .ck-count { background: var(--marker); color: #111; display: inline-block; padding: 4px 8px; }

.qz { display: grid; gap: 0; max-width: 900px; border-top: 3px solid var(--ink); }
.qz-q { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qz-q legend { float: left; width: 100%; font: 700 1.15rem/1.3 var(--zf-serif); margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.qz-n { font: 800 .72rem/1 var(--zf-sans); background: var(--ink); color: var(--bg); padding: 5px 8px; flex: none; }
.qz-ok .qz-n { background: var(--marker); color: #111; }
.qz-q label { position: relative; cursor: pointer; }
.qz-q input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qz-q label span { display: block; border: 2px solid var(--ink); padding: 9px 14px; font: 600 .92rem/1.25 var(--zf-sans); background: var(--bg); transition: background-color .15s, transform .15s; }
.qz-q label:hover span { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.qz-q input:checked + span { background: var(--marker); color: #111; box-shadow: 4px 4px 0 #111; }
.qz-q input:focus-visible + span { outline: 3px solid var(--marker); outline-offset: 2px; }
.qz-progress { font-weight: 700; padding-top: 14px; }
.qz-res { margin-top: 40px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; border-top: 3px solid var(--ink); padding-top: 26px; animation: mk-land .7s cubic-bezier(.2,.9,.25,1.2) both; }
.qz-meter-h { font: 800 .66rem/1.2 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; }
.qz-score { margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; }
.qz-score b { font: 800 5rem/.9 var(--zf-serif); }
.qz-score span { font: 600 .85rem/1.2 var(--zf-sans); color: var(--muted); }
.qz-bar { height: 14px; border: 2px solid var(--ink); }
.qz-bar span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(135deg, var(--ink) 0 6px, var(--marker) 6px 12px); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.qz-tag { display: inline-block; background: var(--ink); color: var(--bg); font: 800 .7rem/1 var(--zf-sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 9px; margin: 0 0 12px; }
.qz-prof h2 { margin-bottom: 12px; }
.qz-next { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--ink); }
.qz-next li { border-bottom: 1px solid var(--line); }
.qz-next a { display: block; padding: 10px 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.qz-next a:hover { background: var(--marker-soft); }
@media (max-width: 780px) { .qz-res { grid-template-columns: minmax(0, 1fr); gap: 20px; } .qz-score b { font-size: 3.6rem; } }

.card-link { display: block; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--ink); }
.post-k { font-weight: 800; }
.post-dl { margin: 0 0 30px; border-top: 2px solid var(--ink); }
.post-dl > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-dl dt { font: 800 .72rem/1.4 var(--zf-sans); letter-spacing: .12em; text-transform: uppercase; }
.post-dl dd { margin: 0; }
@media (max-width: 620px) { .post-dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.post-optout { border: 3px solid var(--ink); padding: 20px 22px; box-shadow: 8px 8px 0 var(--marker); }
.post-optout h3 { margin-top: 0; }

@media print {
  body.page-abrechnung .section:not(#checkliste), body.page-abrechnung .hero, body.page-abrechnung .fn-list, body.page-abrechnung .faq { display: none !important; }
  body.page-abrechnung .ck .btn-row, body.page-abrechnung .ck-bar { display: none; }
  .ck-list input { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* =====================================================================
   Ablauf als Präsentation (Keynote-Stapel): dunkle Bühne, Spur links, Kartenstapel rechts
   ===================================================================== */
html.zd-lock { overflow: hidden; }
.zd-full { position: fixed; inset: 0; z-index: 90; background: radial-gradient(ellipse at 60% 40%, #232323 0%, #0c0c0c 70%); color: #f4f1ea; opacity: 0; transition: opacity .25s ease; display: grid;
  --ink: #111; --bg: #fffdf8; --muted: #5d5a55; --line: #ddd7ca; }
.zd-full.zd-on { opacity: 1; }
.zd[hidden] { display: none; }
.zd-in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(1280px, 100%); margin: 0 auto; padding: 18px 24px 16px; gap: 14px; min-height: 0; }
.zd-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.zd-brand { margin: 0; display: flex; gap: 14px; align-items: baseline; font: 700 .78rem/1.2 var(--zf-sans); letter-spacing: .14em; text-transform: uppercase; }
.zd-brand span { color: var(--marker); }
.zd-ctl { display: flex; gap: 8px; }
.zd-btn { appearance: none; border: 1.5px solid var(--zd-fg, #f4f1ea); background: transparent; color: var(--zd-fg, #f4f1ea); font: 700 .8rem/1 var(--zf-sans); letter-spacing: .06em; padding: 10px 14px; cursor: pointer; border-radius: 0; min-width: 44px; min-height: 40px; }
.zd-btn:hover:not([disabled]) { background: var(--zd-fg, #f4f1ea); color: var(--zd-bg, #111); }
.zd-btn[disabled] { opacity: .3; cursor: default; }
.zd-btn[aria-pressed="true"] { background: var(--marker); color: #111; border-color: var(--marker); }
.zd-btn:focus-visible, .zd-dots button:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.zd-x { font-size: 1.3rem; padding: 6px 12px; }
.zd-body { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.4fr); gap: 34px; align-items: center; min-height: 0; }
.zd-left { align-self: center; }
.zd-spur { width: 100%; height: auto; display: block; overflow: visible; }
.zd-lane text { fill: #cfcac0; font: 700 12px/1 var(--zf-sans); letter-spacing: .04em; }
.zd-lane line { stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 2 5; }
.zd-lane rect { stroke: #f4f1ea; stroke-width: 1; }
.zd-lane rect.g-core { fill: var(--zf-core); } .zd-lane rect.g-plat { fill: var(--zf-plat); } .zd-lane rect.g-biz { fill: var(--zf-biz); }
.zd-lane rect.g-ki { fill: var(--zf-ki); } .zd-lane rect.g-immo { fill: var(--zf-immo); } .zd-lane rect.g-immop { fill: var(--zf-immop); }
:root[data-mode="dark"] .zd-lane rect.g-core { fill: #111; }
.zd-track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; stroke-dasharray: 3 6; }
.zd-path { fill: none; stroke: var(--marker); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1); }
.zd-pt { cursor: pointer; }
.zd-pt circle { fill: #1b1b1b; stroke: rgba(255,255,255,.35); stroke-width: 1.5; transition: fill .3s, stroke .3s, r .3s; }
.zd-pt text { fill: rgba(255,255,255,.55); font: 800 12px/1 var(--zf-sans); text-anchor: middle; pointer-events: none; }
.zd-pt.on circle { fill: #f4f1ea; stroke: #f4f1ea; } .zd-pt.on text { fill: #111; }
.zd-pt.cur circle { fill: var(--marker); stroke: #fff; stroke-width: 3; r: 17; } .zd-pt.cur text { fill: #111; }
.zd-cap { margin: 10px 0 0; font: italic .86rem/1.45 var(--zf-serif); color: #a9a49a; max-width: 46ch; }

.zd-stack { position: relative; height: min(64vh, 560px); perspective: 1600px; }
.zd-card { position: absolute; inset: 0; background: var(--bg); color: var(--ink); padding: 34px 38px 30px; display: flex; flex-direction: column; gap: 14px; overflow: auto;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); transform-origin: 50% 0; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .45s ease, filter .45s ease; will-change: transform, opacity; }
.zd-card[data-rel="cur"] { transform: none; opacity: 1; z-index: 5; }
.zd-card[data-rel="n1"] { transform: translateY(-18px) scale(.955); opacity: .75; z-index: 4; filter: brightness(.82); cursor: pointer; }
.zd-card[data-rel="n2"] { transform: translateY(-34px) scale(.91); opacity: .45; z-index: 3; filter: brightness(.7); }
.zd-card[data-rel="far"] { transform: translateY(-46px) scale(.87); opacity: 0; z-index: 2; pointer-events: none; }
.zd-card[data-rel="past"] { transform: translateX(-46%) rotate(-4deg) scale(.86); opacity: 0; z-index: 6; pointer-events: none; }
.zd-card[data-rel="n1"] > *, .zd-card[data-rel="n2"] > * { pointer-events: none; }
.zd .zd-k { margin: 0; display: flex; gap: 12px; align-items: center; font: 800 .72rem/1 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.zd-no { font: 800 2.4rem/.9 var(--zf-serif); letter-spacing: -.02em; color: var(--ink); background: linear-gradient(transparent 58%, var(--marker) 58%); padding: 0 .06em; }
.zd .zd-h { font: 800 clamp(2.2rem, 4.6vw, 4rem)/1 var(--zf-serif); letter-spacing: -.02em; margin: 6px 0 4px; color: var(--ink); }
.zd .zd-t { font: 700 clamp(1.5rem, 2.8vw, 2.4rem)/1.12 var(--zf-serif); letter-spacing: -.015em; margin: 0; color: var(--ink); max-width: 26ch; }
.zd .zd-lead { font: 400 1.15rem/1.5 var(--zf-serif); margin: 0; max-width: 52ch; }
.zd-hint { margin: auto 0 0; font: 700 .74rem/1 var(--zf-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.zd .zd-tally { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.zd-tally li { padding: 12px 14px 0 0; display: grid; gap: 4px; } .zd-tally li + li { border-left: 1px solid var(--line); padding-left: 14px; }
.zd-tally b { font: 800 3.4rem/.9 var(--zf-serif); } .zd-tally li:last-child b { background: linear-gradient(transparent 55%, var(--marker) 55%); justify-self: start; padding: 0 .06em; }
.zd-tally span { font: 600 .8rem/1.3 var(--zf-sans); color: var(--muted); }
.zd .zd-vs { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); margin-top: 6px; }
.zd-vs > div { padding: 12px 14px; display: grid; gap: 6px; align-content: start; }
.zd-vs span { font: 800 .66rem/1 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.zd-old { background: #efebe2; } .zd-old s { font: 400 1.05rem/1.35 var(--zf-serif); color: #6b675f; text-decoration-thickness: 2px; text-decoration-color: #c8321f; }
.zd-new { background: var(--marker); color: #111; } .zd-new span { color: #111; } .zd-new b { font: 700 1.25rem/1.2 var(--zf-serif); }
.zd .zd-desc { margin: 0; font: 400 1.02rem/1.55 var(--zf-serif); color: #3b3935; max-width: 60ch; }
.zd-meta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 700 .78rem/1 var(--zf-sans); letter-spacing: .04em; }
.zd-meta .zf-sw { width: 14px; height: 14px; }
.zd-meta .zf-status { margin-left: auto; }
.zd-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 3px solid var(--ink); }
.zd-sum > div { padding: 12px 14px 0 0; } .zd-sum > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.zd-sum span { font: 800 .66rem/1 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.zd .zd-sum ol { margin: 8px 0 0; padding-left: 1.3em; font: 400 .98rem/1.5 var(--zf-serif); }
.zd-sum s { color: #6b675f; text-decoration-color: #c8321f; }
.zd-sum > div + div li::marker { color: #111; font-weight: 800; }
.zd-outro .btn-row { margin-top: auto; }
.zd-nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.zd-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.zd-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1.5px solid var(--zd-fg, #f4f1ea); background: transparent; cursor: pointer; transition: width .3s, background-color .3s; }
.zd-dots button[aria-current="true"] { width: 34px; border-radius: 6px; background: var(--marker); border-color: var(--marker); }
.zf-play { background: var(--ink); color: var(--bg); }
@media (max-width: 900px) {
  .zd-in { padding: 12px 14px 12px; gap: 10px; }
  .zd-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
  .zd-spur { max-height: 26vh; } .zd-cap { display: none; }
  .zd-stack { height: auto; min-height: 0; }
  .zd-card { padding: 20px 18px 18px; gap: 10px; }
  .zd-card[data-rel="n1"] { transform: translateY(-10px) scale(.96); } .zd-card[data-rel="n2"] { transform: translateY(-18px) scale(.92); }
  .zd-vs, .zd-sum { grid-template-columns: minmax(0, 1fr); }
  .zd-sum > div + div { border-left: 0; padding-left: 0; }
  .zd-full .zd-brand b { display: none; }
  .zd-tally b { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .zd, .zd-card, .zd-path { transition: none; } }

/* Keynote-„Build“: Inhalt der aktuellen Karte baut sich auf */
@keyframes zd-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zd-in-r { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.zd-card[data-rel="cur"] .zd-t, .zd-card[data-rel="cur"] .zd-h { animation: zd-up .5s .12s both; }
.zd-card[data-rel="cur"] .zd-old { animation: zd-up .45s .3s both; }
.zd-card[data-rel="cur"] .zd-new { animation: zd-in-r .5s .55s both; }
.zd-card[data-rel="cur"] .zd-desc, .zd-card[data-rel="cur"] .zd-tally, .zd-card[data-rel="cur"] .zd-sum { animation: zd-up .5s .7s both; }
.zd-card[data-rel="cur"] .zd-old s { text-decoration-color: transparent; animation: zd-strike .4s .95s forwards; }
@keyframes zd-strike { to { text-decoration-color: #c8321f; } }
@media (prefers-reduced-motion: reduce) { .zd-card[data-rel="cur"] * { animation: none !important; } .zd-card[data-rel="cur"] .zd-old s { text-decoration-color: #c8321f; } }

/* ---------- Präsentation im Panel: Gesamtübersicht bleibt daneben sichtbar ---------- */
.zf-deckmode .zf-panel { overflow: visible; max-height: none; border-top: 0; padding-top: 0; }
.zd-inline { --zd-fg: var(--ink); --zd-bg: var(--bg); display: grid; gap: 12px; outline: none; color: var(--ink); }
.zd-inline .zd-top { flex-wrap: wrap; border-top: 3px solid var(--ink); padding-top: 12px; }
.zd-inline .zd-brand { flex-direction: column; gap: 4px; align-items: flex-start; letter-spacing: .12em; }
.zd-inline .zd-brand b { font: 700 1.35rem/1.15 var(--zf-serif); letter-spacing: -.01em; text-transform: none; }
.zd-brand .zd-kick { color: var(--muted); }
.zd-full .zd-brand .zd-kick { color: #a9a49a; }
.zd-inline .zd-brand span[data-zd-count] { color: var(--ink); background: var(--marker); padding: 3px 6px; }
.zd-inline .zd-btn { padding: 8px 11px; min-height: 36px; font-size: .74rem; }
.zd-inline .zd-stack { height: clamp(420px, 58vh, 560px); margin-top: 30px; }
.zd.zd-inline .zd-t, .zd.zd-inline .zd-h { text-transform: none; letter-spacing: -.01em; margin: 0; }
.zd-inline .zd-card { border: 1.5px solid var(--ink); box-shadow: 0 18px 36px rgba(0,0,0,.16); padding: 24px 24px 20px; gap: 12px; }
.zd-inline .zd-card[data-rel="n1"] { transform: translateY(-14px) scale(.96); }
.zd-inline .zd-card[data-rel="n2"] { transform: translateY(-26px) scale(.92); }
.zd-inline .zd-card[data-rel="past"] { transform: translateX(-30%) rotate(-3deg) scale(.9); }
.zd.zd-inline .zd-h { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.zd.zd-inline .zd-t { font-size: clamp(1.25rem, 1.75vw, 1.65rem); }
.zd.zd-inline .zd-tally b { font-size: 2.6rem; }
.zd.zd-inline .zd-lead { font-size: 1.02rem; }
.zd-inline .zd-old { background: var(--bg-2); }
.zd-inline .zd-nav { justify-content: space-between; }
.zd-mini { display: none; }
@media (max-width: 1020px) {
  .zd-inline .zd-mini { display: block; width: 132px; margin: -4px auto 0; border-radius: 50%; background: #ecebe7; padding: 4px; }
  .zd-inline .zd-mini svg { width: 100%; height: auto; display: block; }
  .zd-inline .zd-stack { height: clamp(460px, 70vh, 600px); }
}
@media (max-width: 620px) { .zd.zd-inline .zd-vs, .zd.zd-inline .zd-sum { grid-template-columns: minmax(0, 1fr); } .zd-inline .zd-sum > div + div { border-left: 0; padding-left: 0; } }

/* Aktueller Schritt im Rad */
@keyframes zf-pulse { 50% { stroke-width: 14px; } }
.zf-seg.cur path, .zf-seg.cur .zf-base { stroke: var(--marker); stroke-width: 9px; paint-order: stroke; animation: zf-pulse 1.6s ease-in-out infinite; }
.zf-seg.cur { opacity: 1 !important; }
.zf-step.cur circle { r: 23px; fill: var(--marker); stroke: var(--ink); stroke-width: 3px; }
.zf-step.cur text { fill: #111; font-size: 19px; }
@media (prefers-reduced-motion: reduce) { .zf-seg.cur path, .zf-seg.cur .zf-base { animation: none; } }

/* Vollbild: Rad live oben links, Spur darunter */
.zd-full .zd-left { display: grid; gap: 10px; justify-items: center; align-content: center; min-height: 0; }
.zd-wheel { width: min(100%, 44vh); aspect-ratio: 1; border-radius: 50%; background: #ecebe7; padding: 6px; }
.zd-wheel svg { width: 100%; height: 100%; display: block; }
.zd-full .zd-spur { max-height: 27vh; width: auto; max-width: 100%; }
.zd-full .zd-brand { gap: 12px; }
@media (max-width: 900px) { .zd-wheel { width: 30vh; } .zd-full .zd-spur { display: none; } }

/* Abläufe mit Roadmap-Anteil, Pro/Contra KI-Service-Desk */
.zf-flow small { font: 600 .66rem/1 var(--zf-sans); letter-spacing: .02em; opacity: .75; }
.zf-chip.zf-flow-road { border-style: dashed; }
.zd-note { margin: 0; display: grid; gap: 6px; font: 400 .9rem/1.45 var(--zf-sans); color: var(--muted); border-left: 4px solid var(--ink); padding: 4px 0 4px 10px; }
.zd-note .zf-status { justify-self: start; }
.pc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); margin-bottom: 22px; }
.pc-col { padding: 16px 20px 6px 0; }
.pc-col + .pc-col { padding-left: 20px; border-left: 1px solid var(--line); }
.pc-h { margin: 0 0 10px; font: 800 .72rem/1 var(--zf-sans); letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.pc-h::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--ink); flex: none; }
.pc-pro .pc-h::before { background: var(--ink); }
.pc-con .pc-h::before { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, transparent 2px 5px); }
.pc-ours .pc-h::before { background: var(--marker); }
.pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pc li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.5; }
.pc li b { display: block; font-family: var(--zf-serif); font-size: 1.06rem; margin-bottom: 2px; }
.pc-ours { background: linear-gradient(var(--marker-soft), transparent 60%); }
.pc .zf-status, .head .zf-status { vertical-align: middle; }
@media (max-width: 900px) { .pc { grid-template-columns: minmax(0, 1fr); } .pc-col + .pc-col { padding-left: 0; border-left: 0; border-top: 3px solid var(--ink); margin-top: 8px; } .pc-ours { padding-left: 12px !important; } }

/* =====================================================================
   Story-Blueprint (alle Tailor-Websites): Kapitelnavigation, Kapitel, Motto, Wandel-Tabelle
   ===================================================================== */
.sb { max-width: 760px; }
.sb-toc { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0 10px; margin: 0 0 48px; }
.sb-toc-h { margin: 0 0 8px; font: 800 .7rem/1 var(--zf-sans); letter-spacing: .18em; text-transform: uppercase; }
.sb-toc ol { list-style: none; margin: 0; padding: 0; columns: 2 240px; column-gap: 28px; }
.sb-toc li { break-inside: avoid; }
.sb-toc a { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; color: var(--ink); text-decoration: none; font: 600 .98rem/1.3 var(--zf-serif); border-bottom: 1px dotted var(--line); }
.sb-toc a span { font: 800 .72rem/1 var(--zf-sans); color: var(--muted); min-width: 1.6em; }
.sb-toc a:hover { background: var(--marker-soft); }
.sb-ch { margin: 0 0 64px; scroll-margin-top: 90px; }
.sb-k { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; font: 800 .72rem/1 var(--zf-sans); letter-spacing: .18em; text-transform: uppercase; }
.sb-n { font: 800 2.6rem/.85 var(--zf-serif); letter-spacing: -.02em; background: linear-gradient(transparent 58%, var(--marker) 58%); padding: 0 .06em; }
.sb-ch h2 { font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.12 var(--zf-serif); letter-spacing: -.015em; margin: 0 0 16px; }
.sb-ch p { font-size: 1.1rem; line-height: 1.7; }
.sb-ch .chapters { margin-top: 28px; gap: 34px; }
.sb-ch .chapters h3 { font: 700 clamp(1.25rem, 2.2vw, 1.6rem)/1.2 var(--zf-serif); margin: 6px 0 8px; }
.sb-dx { white-space: nowrap; font-family: var(--zf-sans); font-size: .92em; }
.sb-motto { margin: 30px 0 8px; padding: 26px 26px 20px; background: var(--ink); color: var(--bg); box-shadow: 8px 8px 0 var(--marker); }
.sb-motto p { margin: 0 0 12px; font: 800 clamp(1.9rem, 4.6vw, 3rem)/1.02 var(--zf-serif); letter-spacing: -.02em; color: var(--bg); }
.sb-motto p::first-line { color: var(--marker); }
.sb-motto cite { font: italic .95rem/1.4 var(--zf-serif); color: color-mix(in srgb, var(--bg) 75%, transparent); }
.sb-shift { border: 2px solid var(--ink); margin: 22px 0; }
.sb-shift > div { display: grid; grid-template-columns: 1fr 1fr; }
.sb-shift > div + div { border-top: 1px solid var(--line); }
.sb-shift span { padding: 10px 14px; font-size: .98rem; line-height: 1.4; }
.sb-shift span:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.sb-shift span + span { border-left: 1px solid var(--line); font-weight: 600; }
.sb-shift-h span { font: 800 .72rem/1 var(--zf-sans) !important; letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important; color: var(--ink) !important; padding: 12px 14px; }
.sb-shift-h span + span { background: var(--marker); color: #111 !important; }
.sb-rules { list-style: none; margin: 16px 0; padding: 0; border-top: 2px solid var(--ink); }
.sb-rules li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; line-height: 1.55; }
.sb-rules b { display: block; font-family: var(--zf-serif); font-size: 1.12rem; }
.sb-small { font: .82rem/1.45 var(--zf-sans) !important; color: var(--muted); }
@media (max-width: 620px) { .sb-shift > div { grid-template-columns: minmax(0, 1fr); } .sb-shift span + span { border-left: 0; border-top: 1px dashed var(--line); } }
[data-design="magazin"] .section-dark .hero h1 .l2, [data-design="magazin"] .hero.section-dark h1 .l2 { color: #f4f1ea; }

/* =====================================================================
   Kanzlei-Bausteine (aus der RecordTailor Lawyer Edition übernommen)
   ===================================================================== */
/* ---------- Hero: Schriftsatz statt Rechnung ---------- */
.akte { font-family: var(--serif, Georgia, serif); }
.akte .beleg-head { align-items: flex-start; }
.akte .beleg-title { font: 700 0.95rem/1.25 var(--font); letter-spacing: 0.06em; text-transform: uppercase; max-width: 15ch; }
.akte-gz { font: 700 0.78rem/1.4 var(--mono); }
.akte-body { font-size: 0.92rem; line-height: 1.6; color: var(--paper-ink); }
.akte-body p { margin: 0 0 0.7em; }
.akte-body .pt { font: 700 0.72rem/1 var(--mono); color: #5b5866; margin-right: 6px; }
.akte .beleg-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.buchung .tag { color: #a8a4c0; }
.buchung .ok { color: #7fe0b4; }
.buchung .bad { color: #ff9c8a; }

/* ---------- Kampagnenband ---------- */
.ak-band { grid-template-columns: minmax(0, 1fr) auto; row-gap: 18px; }
.ak-band .belegt-word { grid-column: 1 / -1; }
@media (max-width: 860px) { .ak-band { grid-template-columns: minmax(0, 1fr); } .ak-band .belegt-word { font-size: clamp(2.2rem, 12vw, 4rem); } }

/* ---------- Zwei Zitate nebeneinander (Widerspruchskarte) ---------- */
.zc { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; margin: 26px 0; }
.zc-q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.zc-q cite { display: block; font: 700 0.72rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-bottom: 8px; }
.zc-q blockquote { margin: 0; font-size: 1.12rem; line-height: 1.45; }
.zc-vs { align-self: center; font: 800 0.8rem/1 var(--mono); letter-spacing: 0.14em; padding: 8px 10px; border: 2px solid var(--danger); color: var(--danger); }
.zc-why { border-left: 4px solid var(--marker-line); padding: 6px 0 6px 18px; margin: 0 0 18px; }
.zc-why p { margin: 0 0 6px; }
.verdict { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; padding: 0; list-style: none; font: 700 0.7rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.verdict li { padding: 6px 9px; border: 1.5px solid var(--ink); }
.verdict .v-hot { background: var(--danger); border-color: var(--danger); color: #fff; }
.verdict .v-good { background: var(--ok); border-color: var(--ok); color: #fff; }

/* ---------- Positionswechsel ---------- */
.pw { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pw li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.pw b { font: 700 0.75rem/1.2 var(--font); letter-spacing: 0.1em; text-transform: uppercase; }
.pw .from { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); font: 700 1.25rem/1.2 var(--mono); }
.pw .to { font: 800 1.25rem/1.2 var(--mono); background: linear-gradient(transparent 55%, var(--marker-soft) 55%); }
.pw .arrow { color: var(--muted); font: 700 0.8rem/1 var(--mono); white-space: nowrap; }
.pw small { display: block; font: 400 0.82rem/1.4 var(--font); color: var(--muted); text-decoration: none; margin-top: 4px; }

/* ---------- Rechenweg einer Frist ---------- */
.rw { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.rw caption { text-align: left; font: 700 0.72rem/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 12px; color: var(--muted); }
.rw th, .rw td { text-align: left; padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.rw th { font: 700 0.95rem/1.3 var(--mono); white-space: nowrap; width: 9.5rem; }
.rw td.norm { font: 700 0.8rem/1.3 var(--mono); color: var(--muted); white-space: nowrap; text-align: right; }
.rw tr.end th, .rw tr.end td { border-top: 2px solid var(--ink); font-weight: 800; }
.rw tr.end th { font-size: 1.1rem; background: linear-gradient(transparent 55%, var(--marker-soft) 55%); }
.rw-sign { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font: 600 0.85rem/1.4 var(--font); }
.rw-sign span::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.rw-sign .no::before { content: "✕ "; color: var(--danger); }

/* ---------- KI-Protokoll ---------- */
.kilog { width: 100%; border-collapse: collapse; font: 0.82rem/1.45 var(--mono); }
.kilog th, .kilog td { padding: 9px 10px 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); text-align: left; vertical-align: top; }
.kilog thead th { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.66rem; color: #a8a4c0; }
.kilog .deny { color: #ff9c8a; font-weight: 700; }
.kilog .allow { color: #7fe0b4; }
.kilog-wrap { overflow-x: auto; }

/* ---------- Gates ---------- */
.gates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 26px 0 0; counter-reset: g; }
.gates li { padding: 18px 18px 0 0; border-top: 3px solid var(--ink); position: relative; }
.gates li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.gates b { display: block; font: 800 0.72rem/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.gates p { font-size: 0.95rem; margin: 0; }

/* ---------- Status-Chips ---------- */
.st { flex: none; font: 700 0.62rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 7px; border: 1.5px solid currentColor; white-space: nowrap; }
.st-da { color: var(--ok); }
.st-pilot { color: #b26b00; }
:root[data-mode="dark"] .st-pilot { color: #ffb84d; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 0.9rem; margin-top: 18px; }
.legend span.st { margin-right: 6px; }

/* ---------- Funktionen ---------- */
.fx-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 28px; margin: 30px 0 28px; border-top: 2px solid var(--ink); }
.fx-index a { display: flex; gap: 10px; align-items: baseline; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.fx-index a span { font: 700 0.75rem/1 var(--mono); color: var(--muted); }
.fx-index small { margin-left: auto; font: 700 0.75rem/1 var(--mono); color: var(--muted); }
.fx-index a:hover { background: var(--marker-soft); }
.fx-group { padding: clamp(48px, 7vw, 84px) 0; }
.fx-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: start; margin-bottom: 30px; }
.fx-no { font: 800 clamp(2.6rem, 6vw, 4.4rem)/0.9 var(--mono); letter-spacing: -0.05em; color: var(--muted); }
.fx-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 36px; }
.fx-item { padding: 18px 0; border-top: 1px solid var(--line); }
.fx-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fx-item h3 { font-size: 1.12rem; margin: 0 0 6px; }
.fx-item p { margin: 0; font-size: 0.98rem; color: var(--ink-2); }
.fx-item .fx-note { margin-top: 8px; font: 600 0.8rem/1.35 var(--font); color: #b26b00; }
:root[data-mode="dark"] .fx-item .fx-note { color: #ffb84d; }

/* ---------- Roadmap ---------- */
.rm { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.rm-step { padding: 20px 22px 8px 0; border-top: 4px solid var(--ink); position: relative; }
.rm-step + .rm-step { padding-left: 22px; border-left: 1px solid var(--line); }
.rm-done { border-top-color: var(--ok); }
.rm-now { border-top-color: var(--marker-line); }
.rm-now::after { content: "Wir sind hier"; position: absolute; top: -30px; left: 22px; font: 700 0.62rem/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; background: var(--marker); color: #111; padding: 5px 7px; }
.rm-step:first-child.rm-now::after { left: 0; }
.rm-next, .rm-later { border-top-style: dashed; }
.rm-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font: 700 0.72rem/1.2 var(--font); letter-spacing: 0.12em; text-transform: uppercase; }
.rm-head time { color: var(--muted); }
.rm h3 { font-size: 1.3rem; }
.rm ul { padding-left: 1.1em; margin: 0; }
.rm ul li { margin-bottom: 8px; font-size: 0.95rem; line-height: 1.5; }
.rm-done ul li::marker { content: "✓  "; color: var(--ok); font-weight: 800; }
.rm-teaser p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }

/* ---------- Kollisionspanel ---------- */
.kol { border: 2px solid var(--danger); background: var(--danger-soft); padding: 18px 20px; }
.kol-title { font: 800 0.8rem/1.2 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--danger); margin-bottom: 10px; }
.kol dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 12px; font: 0.9rem/1.4 var(--mono); }
.kol dt { color: var(--muted); }
.kol dd { margin: 0; font-weight: 700; }
.kol .btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ---------- Widerspruchs-Test ---------- */
.wt-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding: 12px 0; background: var(--bg); border-bottom: 2px solid var(--ink); margin-bottom: 24px; }
.wt-bar .clock { font: 800 1.6rem/1 var(--mono); }
.wt-stat { font: 700 0.75rem/1.2 var(--font); letter-spacing: 0.1em; text-transform: uppercase; }
.wt-stat b { font: 800 1.2rem/1 var(--mono); margin-left: 6px; letter-spacing: 0; }
.wt-bar .btn { margin-left: auto; }
.wt-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wt-doc { background: var(--paper); color: var(--paper-ink); border: 1px solid #d9d5c8; padding: 22px 20px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 34px -24px rgba(0,0,0,.4); }
.wt-doc header { border-bottom: 1.5px solid #1d1c26; padding-bottom: 10px; margin-bottom: 12px; }
.wt-doc header b { display: block; font: 800 0.95rem/1.25 var(--font); }
.wt-doc header span { font: 0.72rem/1.4 var(--mono); color: #5b5866; }
.wt-doc p { margin: 0 0 6px; line-height: 1.55; font-size: 0.97rem; }
.wt-s { all: unset; display: inline; cursor: pointer; border-radius: 2px; padding: 1px 0; transition: background 0.15s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wt-s:hover { background: rgba(var(--marker-rgb), 0.18); }
.wt-s:focus-visible { outline: 2px solid #1d1c26; outline-offset: 2px; }
.wt-s.sel { background: rgba(var(--marker-rgb), 0.5); }
.wt-s.miss { background: rgba(200, 50, 31, 0.25); animation: wt-shake 0.35s; }
.wt-s.found { background: var(--marker-soft); text-decoration: underline; text-decoration-color: var(--danger); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: default; }
.wt-s.found::after { content: attr(data-badge); display: inline-block; margin-left: 4px; font: 800 0.62rem/1 var(--mono); background: var(--danger); color: #fff; padding: 2px 4px; vertical-align: 2px; }
@keyframes wt-shake { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.wt-result { margin-top: 30px; border-top: 4px double var(--ink); padding-top: 20px; }
.wt-result [data-r] { font: 800 clamp(1.3rem, 2.6vw, 1.9rem)/1.25 var(--serif, Georgia, serif); }
.wt-exps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 16px; }
.wt-exp { border-top: 2px solid var(--danger); padding-top: 12px; }
.wt-exp h3 { font-size: 1.1rem; }
.wt-exp h3 span { font: 800 0.7rem/1 var(--mono); background: var(--danger); color: #fff; padding: 3px 5px; margin-right: 8px; vertical-align: 2px; }
.wt-exp p { font-size: 0.95rem; margin: 0 0 6px; }

/* ---------- Story ---------- */
.story-hero .lead { max-width: 60ch; }
.exhibit { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 520px; margin: 30px 0 8px; align-items: end; }
.exhibit span { display: flex; align-items: flex-end; justify-content: center; height: 150px; background: #f1eee6; color: #111; border: 1.5px solid #f1eee6; font: 800 0.7rem/1 var(--mono); padding-bottom: 12px; position: relative; }
.exhibit span::before { content: ""; position: absolute; left: 50%; top: 18px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid #111; }
.exhibit span:nth-child(2n) { height: 140px; }
.exhibit span:nth-child(3n) { height: 158px; }
.exhibit span.hot { background: var(--marker); border-color: var(--marker); }
.exhibit-cap { font: 0.78rem/1.4 var(--mono); color: #a8a4c0; }
.aside-note { border-left: 4px solid var(--marker-line); padding: 4px 0 4px 18px; font-style: italic; color: var(--ink-2); }
.scene { font: 0.9rem/1.6 var(--mono); background: var(--code-bg); color: var(--code-ink); padding: 18px 20px; margin: 18px 0; white-space: pre-wrap; }
.scene b { color: var(--marker); }

/* ---------- Für wen / nicht für wen ---------- */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.fit ul { padding-left: 1.1em; }
.fit li { margin-bottom: 8px; }
.fit-no li::marker { content: "✕  "; color: var(--danger); font-weight: 800; }
.fit-yes li::marker { content: "✓  "; color: var(--ok); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rm { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .rm-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .gates li:nth-child(3) { padding-left: 0; border-left: 0; }
  .wt-docs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .zc { grid-template-columns: minmax(0, 1fr); }
  .zc-vs { justify-self: start; }
  .pw li { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .pw li > b { grid-column: 1 / -1; }
  .rm, .gates, .wt-exps, .fit { grid-template-columns: minmax(0, 1fr); }
  .rm-step + .rm-step, .gates li + li { padding-left: 0; border-left: 0; }
  .fx-head { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rw th { width: auto; white-space: normal; }
  .rw td.norm { white-space: normal; }
  .exhibit span { height: 110px !important; }
  .brand .ed { font-size: 0.55rem; }
}

/* ---------- Magazin-Feinheiten ---------- */
[data-design="magazin"] .zc-q, [data-design="magazin"] .kol { border-radius: 0; }
[data-design="magazin"] .zc-q { background: transparent; border: 0; border-top: 2px solid var(--rule); padding: 14px 0 0; }
[data-design="magazin"] .zc-q blockquote { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
[data-design="magazin"] .fx-item h3, [data-design="magazin"] .rm h3 { font-family: var(--serif); }
[data-design="magazin"] .wt-doc p { font-family: var(--serif); }
.chapters p.scene, [data-design="magazin"] .chapters p.scene { color: var(--code-ink); font: 0.88rem/1.6 var(--mono); }
.section-dark .swipe { color: #14131d; }

/* =====================================================================
   LexTailor – Ergänzungen: Early Access, Live-Abgleich, Zitat-Check,
   Gegner-Röntgen, Verhandlungsmodus (Tablet), Beweismatrix, Anforderungen
   ===================================================================== */
/* Early Access: kräftig, nicht zaghaft – Markerfläche mit schwarzer Schraffur-Kante */
.st-pill.early { background: #111; color: var(--marker); border-color: #111; }
.eyebrow .st-pill { margin: 0; vertical-align: 0; }
.zf-seg.st-early path { fill-opacity: 0.78; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 2 4; }
.zf-status.st-early { background: #111; color: var(--marker); border-color: #111; }
.zf-k-early { background: var(--zf-immo); opacity: 0.78; outline: 1.5px dotted var(--ink); outline-offset: -1px; }
:root[data-mode="dark"] .st-pill.early, :root[data-mode="dark"] .zf-status.st-early { background: var(--marker); color: #111; border-color: var(--marker); }
.section-dark .st-pill.early { background: var(--marker); color: #111; border-color: var(--marker); }
.h-sub { font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.2 var(--zf-serif); margin: 36px 0 6px; letter-spacing: -0.01em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Live-Abgleich auf der Titelseite: Abbildungs-Unterschrift im Magazin-Design */
[data-design="magazin"] .page-home .stage::after {
  content: "Abb. 2 — Eine Klagebeantwortung wird gelesen: jede Aussage mit Fundstelle, abgeglichen mit der ganzen Akte und dem RIS. Tippen Sie auf eine markierte Stelle.";
  display: block; grid-column: 1 / -1; margin-top: 12px; font: italic 400 0.86rem/1.45 var(--serif); color: var(--muted);
  border-top: 1px solid var(--rule); padding-top: 8px;
}

/* Gegner-Röntgen */
.rx { margin: 0; border: 2px solid var(--ink); background: var(--bg); box-shadow: 8px 8px 0 var(--marker); }
.rx-h { margin: 0; padding: 14px 18px; background: #111; color: #f4f1ea; display: grid; gap: 4px; }
.rx-h b { font: 800 0.78rem/1 var(--zf-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--marker); }
.rx-h span { font: 0.82rem/1.35 var(--mono); color: #c9c5b8; }
.rx-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rx-list li { padding: 16px 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
.rx-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.rx-list b { grid-row: span 2; font: 800 2.4rem/0.9 var(--zf-serif); letter-spacing: -0.03em; }
.rx-list span { font-weight: 700; line-height: 1.25; }
.rx-list em { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.rx-list li.rx-hot b { color: var(--danger); }
.rx figcaption { padding: 10px 18px 12px; border-top: 1px solid var(--line); font: italic 0.85rem/1.4 var(--zf-serif); color: var(--muted); }
@media (max-width: 560px) { .rx-list { grid-template-columns: minmax(0, 1fr); } .rx-list li:nth-child(odd) { border-right: 0; } }

/* Zitat-Check */
.zcheck { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.zcheck caption { text-align: left; font: 700 0.72rem/1.3 var(--zf-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.zcheck thead th { text-align: left; font: 700 0.68rem/1 var(--zf-sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); }
.zcheck th[scope="row"], .zcheck td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.zcheck th[scope="row"] { font: 700 0.95rem/1.3 var(--mono); white-space: nowrap; }
.zcheck small { display: block; margin-top: 6px; font: 400 0.86rem/1.4 var(--zf-serif); font-style: italic; color: var(--muted); white-space: normal; }
.zcheck td { font-weight: 800; }
.zcheck td small { font-style: normal; font-family: var(--zf-sans); font-weight: 400; color: var(--ink-2, var(--ink)); }
.zc-bad { color: var(--danger); }
.zc-warn { color: #b26b00; }
:root[data-mode="dark"] .zc-warn { color: #ffb84d; }
.zc-ok { color: var(--ok); }
.zcheck-wide th[scope="row"] { white-space: normal; width: 46%; }
.rs-line { margin-top: 12px !important; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 0.92rem; }
.rs-line b { font-family: var(--mono); margin-right: 6px; }
.rs-line span { display: block; font: 700 0.72rem/1.3 var(--zf-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ok); margin-top: 4px; }

/* Live-Zeitleiste (Tagsatzung, Judikaturwächter) */
.tl-live { list-style: none; margin: 0; padding: 0; border-left: 2px solid currentColor; }
.tl-live li { position: relative; padding: 0 0 18px 22px; display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 12px; }
.tl-live li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid currentColor; }
.section-dark .tl-live li::before { background: #111; }
.tl-live time { font: 700 0.8rem/1.3 var(--mono); opacity: 0.75; }
.tl-live span { font: 800 0.66rem/1.3 var(--zf-sans); letter-spacing: 0.16em; text-transform: uppercase; }
.tl-live p { grid-column: 2; margin: 2px 0 0; font-size: 0.98rem; line-height: 1.45; }
.tl-live li.hot::before { background: var(--danger); border-color: var(--danger); }
.tl-live li.hot span, .tl-live li.hot b { color: var(--danger); }
.section-dark .tl-live li.hot span, .section-dark .tl-live li.hot b { color: #ff9c8a; }
.tl-live li.now::before { background: var(--marker); border-color: var(--marker); }
.tl-live li.now p { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--marker) 45%, transparent) 55%); justify-self: start; }

/* Verhandlungsmodus: native iPad-App (iPadOS, dunkel, Liquid-Glass-Seitenleiste) */
.vh-intro { max-width: 54rem; }
.ipad-wrap { margin: clamp(28px, 5vw, 56px) 0 0; container-type: inline-size; }
.vh-stage { position: relative; border-radius: clamp(14px, 2.4cqw, 28px); padding: clamp(18px, 6cqw, 72px) clamp(12px, 6cqw, 80px) clamp(22px, 6.5cqw, 80px); overflow: hidden;
  background: radial-gradient(60% 55% at 50% 100%, rgba(255,214,10,.22), transparent 70%), radial-gradient(50% 60% at 10% 0%, rgba(64,90,255,.28), transparent 70%), radial-gradient(45% 50% at 95% 10%, rgba(191,90,242,.22), transparent 70%), linear-gradient(180deg, #121318, #07080b); }
.vh-stage::after { content: ""; position: absolute; inset: auto 12% 3% 12%; height: 8%; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.7), transparent 70%); filter: blur(10px); z-index: 0; }
.ipad { position: relative; z-index: 1; border-radius: clamp(16px, 3.3cqw, 40px); padding: clamp(6px, 1.05cqw, 13px); background: #050506;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 0 clamp(2px, .32cqw, 4px) #2a2b2f, 0 0 0 clamp(3px, .45cqw, 5.5px) #6b6d73, 0 60px 90px -40px rgba(0,0,0,.9), 0 30px 60px -30px rgba(0,0,0,.6); }
.ipad::before { content: ""; position: absolute; top: 50%; left: clamp(2px, .42cqw, 5px); width: clamp(3px, .4cqw, 5px); height: clamp(3px, .4cqw, 5px); margin-top: -2px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a6a, #0b0d12 70%); }
.ios { --y: #ffd60a; --red: #ff453a; --green: #30d158; --blue: #0a84ff; --teal: #64d2ff; --purple: #bf5af2;
  --l1: #f5f5f7; --l2: rgba(235,235,245,.62); --l3: rgba(235,235,245,.34); --sep: rgba(255,255,255,.08);
  position: relative; overflow: hidden; border-radius: clamp(11px, 2.4cqw, 28px); color: var(--l1); aspect-ratio: 1.43; display: flex; flex-direction: column;
  font: 400 clamp(9px, 1.2cqw, 14px)/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased;
  background: radial-gradient(45% 60% at 0% 0%, #23306b 0%, transparent 70%), radial-gradient(40% 50% at 100% 100%, #3b1d5c 0%, transparent 70%), radial-gradient(30% 40% at 70% 10%, #0f3b47 0%, transparent 70%), #0b0c10; }
.ios::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 6; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 32%); border-radius: inherit; }
.ios .ic { width: 1.3em; height: 1.3em; flex: none; }
.c-red { color: var(--red); } .c-yel { color: var(--y); } .c-blue { color: var(--blue); } .c-teal { color: var(--teal); } .c-purple { color: var(--purple); }
.ios-status { display: flex; align-items: center; gap: .55em; padding: .7em 2em .1em; font-weight: 600; font-size: .95em; position: relative; z-index: 3; }
.ios-date { font-weight: 600; }
.ios-sb-r { margin-left: auto; display: inline-flex; align-items: center; gap: .45em; }
.ios-sb-r .ic { width: 1.05em; height: 1.05em; }
.ios-bat { width: 1.95em; height: .95em; border: 1px solid rgba(255,255,255,.45); border-radius: .32em; padding: 1px; position: relative; }
.ios-bat::after { content: ""; position: absolute; right: -3px; top: 30%; width: 2px; height: 40%; background: rgba(255,255,255,.45); border-radius: 0 1px 1px 0; }
.ios-bat i { display: block; height: 100%; width: 87%; background: #fff; border-radius: .16em; }
.g-app { flex: 1; min-height: 0; display: grid; grid-template-columns: 21.5% minmax(0, 1fr) 33%; gap: 0; padding: .3em .7em .9em; }
.g-glass { background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 20px 40px -20px rgba(0,0,0,.6); }
/* Seitenleiste (schwebend) */
.g-side { border-radius: 1.6em; padding: .9em .7em .8em; display: flex; flex-direction: column; min-height: 0; }
.g-side-tb { display: flex; justify-content: space-between; color: var(--l2); padding: 0 .35em .8em; }
.g-akte { display: flex; gap: .65em; align-items: center; padding: 0 .35em .9em; }
.g-akte b { display: block; font-weight: 650; font-size: 1.02em; line-height: 1.2; }
.g-akte small { color: var(--l2); font-size: .82em; }
.g-folder { width: 2.4em; height: 2.4em; flex: none; border-radius: .7em; display: grid; place-items: center; font: 800 1.15em/1 Georgia, serif; color: #111; background: linear-gradient(145deg, #ffe36a, #ffb800); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 10px rgba(255,190,0,.3); }
.g-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .15em; }
.g-nav li { display: flex; align-items: center; gap: .65em; padding: .55em .65em; border-radius: .85em; font-weight: 500; color: var(--l1); }
.g-nav li.sel { background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); font-weight: 600; }
.g-cnt { margin-left: auto; color: var(--l3); font-size: .9em; font-variant-numeric: tabular-nums; }
.g-dot { margin-left: auto; width: .55em; height: .55em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 .25em rgba(255,69,58,.25); }
.g-badge { margin-left: auto; min-width: 1.6em; text-align: center; background: var(--red); color: #fff; font-weight: 700; font-size: .82em; border-radius: 1em; padding: .12em .45em; transition: transform .25s; }
.g-badge.bump { transform: scale(1.3); }
.g-badge:empty { display: none; }
.g-sh { margin: 1.1em .7em .4em; font-size: .78em; font-weight: 600; color: var(--l3); text-transform: uppercase; letter-spacing: .04em; }
.g-day { list-style: none; margin: 0; padding: 0 .3em; display: grid; gap: .1em; }
.g-day li { display: grid; grid-template-columns: 3.1em 1fr; gap: .4em; padding: .35em .4em; border-left: 2px solid rgba(255,255,255,.12); font-size: .9em; color: var(--l2); }
.g-day li.now { border-left-color: var(--y); color: var(--l1); }
.g-day time { font-variant-numeric: tabular-nums; color: var(--l3); }
.g-me { margin-top: auto; display: flex; gap: .6em; align-items: center; padding: .7em .35em 0; border-top: 1px solid var(--sep); }
.g-me b { display: block; font-weight: 600; font-size: .92em; }
.g-me small { color: var(--l2); font-size: .8em; display: inline-flex; align-items: center; gap: .35em; }
.g-ok { width: .5em; height: .5em; border-radius: 50%; background: var(--green); display: inline-block; }
.g-av { width: 2.3em; height: 2.3em; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .85em; color: #fff; }
.g-av-me { background: linear-gradient(145deg, #5e5ce6, #2b2a9e); }
.g-av-w { background: linear-gradient(145deg, #ff9f0a, #ff6a00); width: 3em; height: 3em; font-size: .95em; }
/* Mitschrift */
.g-main { display: flex; flex-direction: column; min-height: 0; padding: .4em 1.6em 0 1.8em; }
.g-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .4em 0 .9em; }
.g-who { display: flex; gap: .8em; align-items: center; }
.g-who small { display: block; color: var(--l2); font-size: .85em; }
.g-who b { display: block; font: 700 1.9em/1.05 "Inter Display", -apple-system, "SF Pro Display", system-ui, sans-serif; letter-spacing: -0.025em; }
.g-tools { display: flex; gap: .5em; align-items: center; }
.g-live { display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border-radius: 2em; background: rgba(255,69,58,.16); color: #ff8a80; font-weight: 600; font-size: .88em; }
.g-live i { width: .55em; height: .55em; border-radius: 50%; background: var(--red); animation: g-pulse 1.6s ease-in-out infinite; }
.g-live time { font-variant-numeric: tabular-nums; color: var(--l1); }
@keyframes g-pulse { 50% { opacity: .35; } }
.g-btn { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); color: var(--l1); }
.g-btn .ic { width: 1.1em; height: 1.1em; }
.g-chips { display: flex; gap: .45em; margin-bottom: .9em; flex-wrap: wrap; }
.g-chips span { padding: .38em .8em; border-radius: 2em; background: rgba(255,255,255,.07); color: var(--l2); font-size: .86em; font-weight: 500; }
.g-chips span.on { background: var(--l1); color: #111; font-weight: 600; }
.g-chips b { color: var(--y); }
.g-log { list-style: none; margin: 0; padding: 0 0 0 .2em; flex: 1; min-height: 0; overflow: hidden; position: relative; }
.g-log::before { content: ""; position: absolute; left: 4.35em; top: .6em; bottom: 0; width: 1px; background: linear-gradient(var(--sep), rgba(255,255,255,.02)); }
.g-log li { position: relative; display: grid; grid-template-columns: 4.4em minmax(0, 1fr); column-gap: 1.2em; padding: .55em 0; transition: opacity .35s, transform .35s; }
.g-log li::before { content: ""; position: absolute; left: calc(4.35em - 3px); top: 1.05em; width: 7px; height: 7px; border-radius: 50%; background: #3a3b42; }
.g-log time { color: var(--l3); font-size: .85em; font-variant-numeric: tabular-nums; padding-top: .2em; }
.g-log p { margin: 0; font-size: 1.12em; line-height: 1.4; color: var(--l1); }
.g-log li.pre p { color: var(--l2); }
.g-hit { grid-column: 2; justify-self: start; margin-top: .4em; font-size: .8em; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff5a4e, #e0241a); padding: .28em .7em; border-radius: 2em; box-shadow: 0 6px 16px -6px rgba(255,69,58,.7); transition: opacity .3s, transform .3s; }
.g-log li.tab-trigger p, .g-log li.tab-trigger2 p { background: linear-gradient(90deg, rgba(255,69,58,.18), rgba(255,69,58,0) 85%); margin-left: -.5em; padding: .15em .5em; border-radius: .5em; }
.g-log li.tab-trigger::before, .g-log li.tab-trigger2::before { background: var(--red); box-shadow: 0 0 0 4px rgba(255,69,58,.25); }
.g-compose { display: flex; align-items: center; gap: .6em; padding: .7em 0 1.3em; }
.ios-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: .55em; border-radius: 2em; padding: .65em 1em; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); white-space: nowrap; overflow: hidden; color: var(--l1); font-size: 1.02em; }
.ios-field .ic { color: var(--l3); width: 1.2em; height: 1.2em; }
.ios-caret { width: 2px; height: 1.15em; background: var(--y); margin-left: -.45em; animation: ios-blink 1s steps(1) infinite; flex: none; }
.ios-ph { color: var(--l3); margin-left: -.3em; }
.ios-field.typing .ios-ph { display: none; }
@keyframes ios-blink { 50% { opacity: 0; } }
.g-send { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--y); display: grid; place-items: center; flex: none; box-shadow: 0 6px 18px -6px rgba(255,214,10,.7); }
.g-send svg { width: 1.25em; height: 1.25em; }
/* Inspektor */
.g-insp { display: flex; flex-direction: column; gap: .7em; min-height: 0; padding: .3em 0 0; position: relative; }
.ios-empty { display: none; }
.g-card { border-radius: 1.4em; padding: 1em 1.05em; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); transition: opacity .45s, transform .45s; }
.g-hero { background: linear-gradient(160deg, rgba(255,69,58,.2), rgba(255,255,255,.04) 55%); border-color: rgba(255,69,58,.35); }
.g-ch { margin: 0; display: flex; gap: .65em; align-items: center; }
.g-ch b { display: block; font-weight: 650; font-size: 1.05em; }
.g-ch small { color: var(--l2); font-size: .82em; }
.g-ico { width: 2.1em; height: 2.1em; border-radius: .65em; flex: none; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(145deg, #ff6b61, #d70015); box-shadow: 0 6px 14px -6px rgba(255,69,58,.8); }
.g-ico.ok { background: linear-gradient(145deg, #4cd964, #1e9e3e); box-shadow: 0 6px 14px -6px rgba(48,209,88,.7); }
.g-chev { margin-left: auto; color: var(--l3); font-size: 1.4em; }
.g-cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: .4em; align-items: center; margin: .9em 0 .8em; }
.g-tile { border-radius: .9em; padding: .55em .7em; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.08); }
.g-tile small { display: block; color: var(--l2); font-size: .78em; }
.g-tile b { font: 700 1.55em/1.1 "Inter Display", -apple-system, "SF Pro Display", system-ui, sans-serif; letter-spacing: -0.02em; color: #ff8a80; text-decoration: line-through 2px rgba(255,138,128,.55); }
.g-tile.ok b { color: var(--y); text-decoration: none; }
.g-delta { font-size: .78em; font-weight: 700; color: var(--l1); background: rgba(255,255,255,.1); border-radius: 2em; padding: .3em .55em; white-space: nowrap; }
.g-cmr { background: #fbfaf5; color: #1d1d1f; border-radius: .7em; padding: .55em .6em .6em; box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); transform: rotate(-.6deg); }
.g-cmr-h { margin: 0 0 .4em; font-size: .72em; display: flex; gap: .4em; align-items: baseline; color: #3a3a3c; }
.g-cmr-h b { font: 900 1.15em/1 Georgia, serif; color: #b3261e; letter-spacing: .04em; }
.g-cmr-h span { margin-left: auto; color: #8e8e93; }
.g-cmr-g { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #b9b5aa; }
.g-cmr-g span { position: relative; padding: .35em .45em .35em 1.5em; border: .5px solid #cfcbc0; font-size: .66em; line-height: 1.3; color: #6e6c66; }
.g-cmr-g span.w2 { grid-column: span 2; }
.g-cmr-g i { position: absolute; left: .35em; top: .35em; font: 700 .95em/1 ui-monospace, monospace; color: #b3261e; font-style: normal; }
.g-cmr-g span.hit { background: rgba(255,214,10,.55); outline: 2px solid var(--red); outline-offset: -1px; color: #1d1d1f; z-index: 1; }
.g-cmr-g b { color: #000; font-size: 1.12em; }
.g-cmr-g em { font-style: normal; color: #1d1d1f; }
.g-acts { display: flex; gap: .5em; margin: .85em 0 0; }
.g-primary, .g-sec { flex: 1; text-align: center; font-weight: 650; padding: .7em .5em; border-radius: 2em; font-size: .98em; }
.g-primary { background: var(--y); color: #111; box-shadow: 0 8px 20px -8px rgba(255,214,10,.8); }
.g-sec { background: rgba(255,255,255,.1); color: var(--l1); border: 1px solid rgba(255,255,255,.1); }
.g-rs-t { margin: .55em 0 0; color: var(--l2); font-size: .92em; }
.g-mini .g-ch b { font-size: .98em; }
/* Mitteilung (Liquid Glass) */
.ios-banner { position: absolute; z-index: 7; top: 2.6em; left: 50%; width: min(28em, 62%); transform: translateX(-50%); display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .75em; align-items: center;
  background: linear-gradient(160deg, rgba(80,80,90,.72), rgba(40,40,48,.72)); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,.16);
  border-radius: 1.6em; padding: .8em .95em; box-shadow: 0 24px 50px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2); transition: transform .5s cubic-bezier(.2,.9,.25,1.12), opacity .3s; }
.ios-appicon svg { width: 2.7em; height: 2.7em; display: block; border-radius: .65em; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.ios-banner-t { display: grid; gap: .1em; font-size: .97em; min-width: 0; }
.ios-banner-t b { font-weight: 650; }
.ios-banner-t span { color: rgba(245,245,247,.85); }
.ios-banner-m { align-self: start; color: var(--l2); font-size: .82em; }
.ios-home { position: absolute; bottom: .5em; left: 50%; transform: translateX(-50%); width: 12%; height: .32em; border-radius: 1em; background: rgba(255,255,255,.75); z-index: 7; }
/* Animation (verhandlung.js setzt .tab-anim). Ohne JS / reduzierte Bewegung: Endzustand ohne Mitteilung. */
#tab:not(.tab-anim) .ios-banner { display: none; }
.tab-anim .g-log li:not(.pre) { opacity: 0; transform: translateY(.6em); }
.tab-anim .g-log li.on { opacity: 1; transform: none; }
.tab-anim .g-log li:not(.hot) .g-hit { opacity: 0; transform: scale(.8); }
.tab-anim .g-log li:not(.hot).tab-trigger p, .tab-anim .g-log li:not(.hot).tab-trigger2 p { background: none; }
.tab-anim .g-log li:not(.hot).tab-trigger::before, .tab-anim .g-log li:not(.hot).tab-trigger2::before { background: #3a3b42; box-shadow: none; }
.tab-anim .g-card { opacity: 0; transform: translateY(.8em) scale(.98); }
.tab-anim .g-card.on { opacity: 1; transform: none; }
.tab-anim .g-card:not(.on) { position: absolute; visibility: hidden; }
.tab-anim .ios-empty { display: flex; flex-direction: column; align-items: center; gap: .9em; margin: auto; color: var(--l2); text-align: center; font-size: .9em; max-width: 16em; }
.tab-anim.has-alert .ios-empty { display: none; }
.g-scan { width: 3.4em; height: 3.4em; border-radius: 50%; border: 2px solid rgba(255,255,255,.1); border-top-color: var(--y); animation: g-spin 1.1s linear infinite; }
@keyframes g-spin { to { transform: rotate(360deg); } }
.tab-anim .ios-banner { transform: translate(-50%, -170%); opacity: 0; }
.tab-anim .ios-banner.on { transform: translate(-50%, 0); opacity: 1; }
/* Kompakt */
@container (max-width: 900px) {
  .ios { font-size: clamp(9px, 1.45cqw, 13px); }
  .g-app { grid-template-columns: minmax(0, 1fr) 42%; }
  .g-side { display: none; }
}
@container (max-width: 560px) {
  .vh-stage { padding: 14px 10px 18px; }
  .ios { aspect-ratio: auto; font-size: 11.5px; }
  .g-app { grid-template-columns: minmax(0, 1fr); padding: .3em .6em .8em; }
  .g-main { padding: .3em .5em 0; }
  .g-log { flex: none; }
  .g-insp { min-height: 25em; }
  .ios-banner { width: 90%; }
  .ios-home { display: none; }
  .g-tools .g-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .g-live i, .g-scan, .ios-caret { animation: none; } }

/* Beweismatrix und Anforderungen */
.bm, .req { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.bm caption, .req caption { text-align: left; font: 700 0.72rem/1.3 var(--zf-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.bm thead th, .req thead th { text-align: left; font: 700 0.68rem/1 var(--zf-sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); }
.bm th[scope="row"], .bm td, .req th[scope="row"], .req td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.bm th[scope="row"] { font-weight: 700; }
.bm td:nth-child(4) { font: 800 0.72rem/1.3 var(--zf-sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.bm-ok { color: var(--ok); } .bm-hot { color: var(--danger); } .bm-warn { color: #b26b00; }
.req { min-width: 720px; }
.req th[scope="row"] { font: 700 1.02rem/1.35 var(--zf-serif); width: 30%; }
.req td:nth-child(2) { font: 700 0.85rem/1.35 var(--mono); white-space: nowrap; width: 14%; }
.req .st-pill { margin: 0 6px 0 0; padding: 3px 5px; font-size: 0.6rem; vertical-align: 0.1em; }

/* Betriebsarten (KI in Österreich) */
.betr { display: grid; gap: 0; border-top: 3px solid var(--ink); }
.betr-c { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.betr-c h3 { margin: 4px 0 6px; font-size: 1.35rem; }
.betr-c ul { margin: 0; padding-left: 1.1em; }
.betr-c li { margin-bottom: 4px; }
.betr-c:first-child .card-num { background: var(--marker); color: #111; display: inline-block; padding: 4px 6px; }

/* Titelseite: Für wen mit vier Spalten */
.page-home .scale { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-home .scale li:nth-child(4) { border-top-color: color-mix(in srgb, var(--ink) 55%, var(--marker)); }
@media (max-width: 900px) { .page-home .scale { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .page-home .scale { grid-template-columns: minmax(0, 1fr); } }
/* Titelseite: die lange Headline bekommt etwas weniger Größe, damit Abbildung und Text auf Augenhöhe beginnen */
.page-home .hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
/* Live-Abgleich: fünf Reiter brechen auf schmalen Bildschirmen um */
.buchung-top { flex-wrap: wrap; row-gap: 8px; }
.buchung .tabs { flex-wrap: wrap; max-width: 100%; }
/* Lange Komposita (Datenschutz, Fundstellen) brechen auf dem Handy sauber um */
@media (max-width: 560px) { main p, main li, main dd, main td, main h1, main h2 { overflow-wrap: break-word; hyphens: auto; } }
.kol { align-self: start; }

/* =====================================================================
   „Unfair. Für die Gegenseite.“ – Warnhinweis, Stempel-Bühne, Zahlenband
   ===================================================================== */
.warn { display: inline-grid; gap: 4px; max-width: 34rem; margin: 0 0 22px; padding: 10px 14px 11px 40px; position: relative;
  border: 2px solid #111; background: repeating-linear-gradient(-45deg, var(--marker) 0 10px, #111 10px 20px) left / 26px 100% no-repeat, var(--bg);
  font: 400 0.86rem/1.4 var(--zf-sans); transform: rotate(-1deg); box-shadow: 4px 4px 0 #111; }
.warn b { font: 800 0.68rem/1 var(--zf-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--danger); }

/* Stempel-Bühne */
.sp { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 28px; align-items: start; margin-bottom: 16px; }
.sp-doc { background: #fffdf8; color: #1b1a20; border: 1px solid #d9d5c8; padding: 26px 28px 18px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 40px -28px rgba(0,0,0,.45); font-family: var(--zf-serif); }
.sp-head { border-bottom: 1.5px solid #1d1c26; padding-bottom: 10px; margin-bottom: 8px; display: grid; gap: 2px; }
.sp-head b { font: 800 1rem/1.25 var(--zf-sans); letter-spacing: 0.04em; text-transform: uppercase; }
.sp-head span { font: 0.76rem/1.4 var(--mono); color: #5b5866; }
.sp-list { list-style: none; counter-reset: sp; margin: 0; padding: 0; }
.sp-list li { counter-increment: sp; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 13.5rem; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed #d9d5c8; }
.sp-list li:last-child { border-bottom: 0; }
.sp-list p { margin: 0; font-size: 1.06rem; line-height: 1.45; padding-left: 2.1em; position: relative; transition: color .3s, text-decoration-color .3s; text-decoration: line-through 2px transparent; }
.sp-list p::before { content: counter(sp) "."; position: absolute; left: 0; font: 700 0.8rem/1.9 var(--mono); color: #7a766d; }
.sp-stamp { justify-self: end; display: grid; gap: 3px; text-align: center; padding: 7px 10px 6px; border: 3px solid currentColor; border-radius: 4px; transform: rotate(-6deg);
  font-family: var(--zf-sans); mix-blend-mode: multiply; background: rgba(255,255,255,.35); }
.sp-stamp b { font: 900 1.05rem/1 var(--zf-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.sp-stamp small { font: 600 0.66rem/1.25 var(--mono); letter-spacing: 0; }
.sp-list li:nth-child(even) .sp-stamp { transform: rotate(4deg); }
.s-red { color: #c8321f; } .s-amber { color: #b26b00; } .s-grey { color: #55524c; } .s-green { color: #0f7a57; }
.sp-list li:has(.s-red) p, .sp-list li:has(.s-amber) p, .sp-list li:has(.s-grey) p { color: #7a766d; text-decoration-color: rgba(200, 50, 31, .75); }
/* Animation: erst mit Klasse sp-anim (stempel.js) */
.sp-anim .sp-stamp { opacity: 0; transform: rotate(-14deg) scale(2.6); }
.sp-anim li.on .sp-stamp { opacity: 1; transform: rotate(-6deg) scale(1); transition: transform .22s cubic-bezier(.2, 1.6, .4, 1), opacity .12s; }
.sp-anim li.on:nth-child(even) .sp-stamp { transform: rotate(4deg) scale(1); }
.sp-anim li p { color: #1b1a20 !important; text-decoration-color: transparent !important; }
.sp-anim li.on:has(.s-red) p, .sp-anim li.on:has(.s-amber) p, .sp-anim li.on:has(.s-grey) p { color: #7a766d !important; text-decoration-color: rgba(200, 50, 31, .75) !important; }
.sp-anim li.on { animation: sp-thud .28s ease-out; }
@keyframes sp-thud { 30% { transform: translateY(2px); } 60% { transform: translateY(-1px); } }
/* Bilanz */
.sp-score { position: sticky; top: 90px; border-top: 6px solid var(--ink); padding-top: 14px; }
.sp-k { margin: 0; font: 800 0.7rem/1.2 var(--zf-sans); letter-spacing: 0.18em; text-transform: uppercase; }
.sp-big { margin: 6px 0 0; display: flex; align-items: baseline; gap: 10px; }
.sp-big b { font: 900 clamp(5rem, 11vw, 8.5rem)/0.85 var(--zf-serif); letter-spacing: -0.05em; color: var(--danger); }
.sp-big span { font: italic 700 1.6rem/1 var(--zf-serif); }
.sp-big.bump b { animation: sp-bump .35s ease-out; }
@keyframes sp-bump { 40% { transform: scale(1.18); } }
.sp-cap { margin: 4px 0 14px; font: 700 1.25rem/1.2 var(--zf-serif); }
.sp-tally { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.sp-tally li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.sp-tally b { font: 800 1.1rem/1 var(--mono); margin-right: 6px; }
.sp-time { margin: 0; font: italic 0.95rem/1.45 var(--zf-serif); color: var(--muted); }
.sp-done .sp-cap { background: linear-gradient(transparent 55%, var(--marker) 55%); display: inline; }
@media (max-width: 900px) {
  .sp { grid-template-columns: minmax(0, 1fr); }
  .sp-score { position: static; }
  .sp-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sp-stamp { justify-self: start; }
  .sp-doc { padding: 18px 16px 12px; }
}

/* Zahlenband */
.nb-k { margin: 0 0 18px; font: italic 800 clamp(1.6rem, 3.4vw, 2.6rem)/1.1 var(--zf-serif); color: var(--marker); }
.nb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid #f4f1ea; }
.nb li { padding: 18px 20px 6px 0; display: grid; gap: 8px; align-content: start; }
.nb li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
.nb b { font: 900 clamp(3.4rem, 7vw, 5.6rem)/0.9 var(--zf-serif); letter-spacing: -0.04em; color: #f4f1ea; font-variant-numeric: tabular-nums; }
.nb span { font-size: 0.95rem; line-height: 1.45; color: #d6d2c8; }
@media (max-width: 900px) { .nb { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nb li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .nb { grid-template-columns: minmax(0, 1fr); } .nb li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); } }
.band-word-c { text-align: center; margin: 4px 0 10px; }
.sp-doc { overflow: hidden; }
@media (min-width: 981px) { .page-home .hero-grid > .hero-figure { align-self: start; margin-top: 7.5rem; } }

/* Fußzeile: Die Zeitungs-Wortmarke und die Magazin-h2 gelten nur im Kopf, nicht im Footer */
:root .site-footer .brand { display: inline-flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 10px; font: 700 1.6rem/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
:root .site-footer .brand .logo-mark { display: inline-block; width: 30px; height: 30px; flex: none; }
:root .site-footer .footer-h { font: 700 0.72rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; }

/* Startseite: Handverlesen */
.hv { border-top: 4px double var(--ink); }
.hv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hv-head h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -0.03em; margin: 10px 0 18px; }
.hv-head h2 .l2 { display: block; font-style: italic; font-weight: 400; }
.hv-head .lead { margin-bottom: 24px; }
.hv-list { list-style: none; margin: 0; padding: 0; border-top: 6px solid var(--ink); }
.hv-list li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hv-n { grid-row: span 2; font: 700 2.2rem/1 var(--serif); color: var(--muted); letter-spacing: -0.02em; }
.hv-list h3 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -0.015em; }
.hv-list p { margin: 0; color: var(--ink-2); }
.hv-band { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.hv-band li { padding: 18px 20px 4px 0; display: grid; gap: 6px; align-content: start; }
.hv-band li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hv-band b { font: 700 clamp(2rem, 4vw, 3rem)/1 var(--serif); letter-spacing: -0.03em; background: linear-gradient(transparent 62%, rgba(var(--marker-rgb, 255, 225, 77), var(--marker-a, 0.45)) 62%); justify-self: start; padding: 0 4px; margin-left: -4px; }
.hv-band span { font-size: 0.95rem; color: var(--ink-2); max-width: 26ch; }
@media (max-width: 860px) {
  .hv-grid { grid-template-columns: minmax(0, 1fr); }
  .hv-band { grid-template-columns: minmax(0, 1fr); }
  .hv-band li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
