/* =====================================================================
   ProbeTailor – eigene Bausteine. Gemeinsame Teile aus dem Baukasten
   (immotailor-website: Bildtafel, Seiten-Bausteine, Marktkarten, Kartenlabor,
   Story-Blueprint), dazu ab „ProbeTailor“ unten: Standwörter, Periodensystem,
   Leiste, Pakete, Probelauf. Schwarz-Weiß mit einem Akzent (Marker); Farbe nur
   für die fünf Stände – immer zusammen mit Form und Wort.
   ===================================================================== */

: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;
}

/* ---------- 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); }

/* ---------- 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; }

/* =====================================================================
   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; }


/* =====================================================================
   ProbeTailor
   ===================================================================== */
:root {
  --st-pass: #1d7a4e; --st-fail: #c8321f; --st-blocked: #b06a00; --st-notrun: #6d6a62; --st-todo: #8d8a82;
  --st-pass-bg: #e3f1e9; --st-fail-bg: #f9e3df; --st-blocked-bg: #f7ead6; --st-notrun-bg: #e9e7e2; --st-todo-bg: transparent;
  --mono-ui: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
:root[data-mode="dark"] {
  --st-pass: #5fd39a; --st-fail: #ff7a66; --st-blocked: #f0a94a; --st-notrun: #aaa69c; --st-todo: #8f8b82;
  --st-pass-bg: rgba(95, 211, 154, .14); --st-fail-bg: rgba(255, 122, 102, .14); --st-blocked-bg: rgba(240, 169, 74, .14); --st-notrun-bg: rgba(170, 166, 156, .14);
}

/* ---------- Standwörter: Form + Wort + Farbe ---------- */
.st { display: inline-flex; align-items: center; gap: 6px; font: 700 .72rem/1 var(--mono-ui); letter-spacing: .04em; padding: 4px 7px 4px 6px; border: 1px solid currentColor; border-radius: 4px; white-space: nowrap; vertical-align: .1em; background: var(--surface); }
.st::before { content: ""; width: 8px; height: 8px; flex: none; box-sizing: border-box; }
.st-pass { color: var(--st-pass); } .st-pass::before { background: currentColor; border-radius: 50%; }
.st-fail { color: var(--st-fail); } .st-fail::before { background: currentColor; transform: rotate(45deg) scale(.9); }
.st-blocked { color: var(--st-blocked); } .st-blocked::before { border: 2px solid currentColor; border-radius: 50%; }
.st-notrun { color: var(--st-notrun); } .st-notrun::before { background: currentColor; }
.st-todo { color: var(--st-todo); border-style: dashed; } .st-todo::before { border: 1.5px solid currentColor; }
.st-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0; }
.st-defs { margin: 0; border-top: 3px solid var(--ink); }
.st-defs > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-defs dt { margin: 0; } .st-defs dd { margin: 0; font-size: 1.02rem; }

/* ---------- Periodensystem ---------- */
.ps { margin: 0; }
.ps-plate { background: var(--bg-2); padding: clamp(12px, 2.2vw, 26px); position: relative; }
[data-tone="weiss"]:not([data-mode="dark"]) .ps-plate { background: #ecebe7; }
.ps-head { display: grid; gap: 10px; margin-bottom: 14px; }
.ps-sys { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.ps-sys b { font: 800 1.15rem/1.1 var(--zf-serif); }
.ps-sys span { font: 600 .74rem/1.3 var(--zf-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ps-kpi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ps-kpi li { background: var(--surface); padding: 8px 10px; border-top: 3px solid var(--ink); min-width: 0; }
.ps-kpi b { display: block; font: 800 1.7rem/1 var(--zf-serif); font-variant-numeric: tabular-nums; }
.ps-kpi span { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 5px; font: .72rem/1.25 var(--zf-sans); color: var(--muted); }
.ps-kpi .st { font-size: .62rem; padding: 2px 4px; }
.ps-kpi li:nth-child(2) b { color: var(--st-fail); } .ps-kpi li:nth-child(3) b { color: var(--st-blocked); }
.ps-tick { animation: ps-tick .5s ease-out; }
@keyframes ps-tick { 0% { transform: translateY(-4px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.ps-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; align-items: start; }
.ps-col { display: grid; gap: 7px; min-width: 0; }
.ps-g { font: 700 .62rem/1.15 var(--zf-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-height: 2.4em; display: flex; align-items: flex-end; overflow-wrap: anywhere; }
.ps-tile { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--ink); border-radius: 3px; padding: 6px 6px 7px; min-height: 92px; min-width: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.ps-tile:hover, .ps-tile[aria-expanded="true"] { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--marker); }
.ps-tile:focus-visible { outline: 3px solid var(--marker-line); outline-offset: 2px; }
.ps-tile.ps-fail { border-color: var(--st-fail); box-shadow: inset 0 0 0 1px var(--st-fail); }
.ps-tile.ps-blocked { border-color: var(--st-blocked); }
.ps-n { font: 600 .6rem/1 var(--zf-sans); color: var(--muted); }
.ps-c { position: absolute; top: 6px; right: 6px; font: 700 .6rem/1 var(--mono-ui); color: var(--muted); }
.ps-sym { font: 800 clamp(1.15rem, 2.2vw, 1.75rem)/1 var(--zf-serif); letter-spacing: -.02em; margin: 6px 0 2px; }
.ps-name { font: .62rem/1.15 var(--zf-sans); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-bar { display: flex; gap: 2px; align-self: end; margin-top: 6px; height: 7px; }
.ps-bar i { flex: 1; min-width: 0; background: var(--st-todo-bg); border: 1px solid var(--st-todo); box-sizing: border-box; transition: background .4s, border-color .4s; }
.ps-bar i.b-pass { background: var(--st-pass); border-color: var(--st-pass); }
.ps-bar i.b-fail { background: var(--st-fail); border-color: var(--st-fail); }
.ps-bar i.b-blocked { background: transparent; border: 2px solid var(--st-blocked); }
.ps-bar i.b-notrun { background: var(--st-notrun); border-color: var(--st-notrun); }
.ps-bar i.b-hot { animation: ps-hot 1.1s ease-out; }
@keyframes ps-hot { 0% { transform: scaleY(2.6); } 100% { transform: none; } }
.ps-flash { animation: ps-flash 1.2s ease-out; }
@keyframes ps-flash { 0% { box-shadow: 0 0 0 4px var(--marker); } 100% { box-shadow: 0 0 0 0 transparent; } }
.ps-tile.ps-fail.ps-flash { animation-name: ps-flash-f; }
@keyframes ps-flash-f { 0% { box-shadow: 0 0 0 4px var(--st-fail); } 100% { box-shadow: inset 0 0 0 1px var(--st-fail); } }
.ps-empty { cursor: default; background: transparent; border: 1.5px dashed color-mix(in srgb, var(--ink) 40%, transparent); color: var(--muted); }
.ps-empty .ps-sym { color: color-mix(in srgb, var(--ink) 40%, transparent); }
.ps-none { align-self: end; font: italic .6rem/1.2 var(--zf-serif); margin-top: 6px; }
.ps-cap { display: grid; gap: 4px; margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--ink); min-height: 7.4em; }
.ps-cap-k { font: 700 .7rem/1.3 var(--zf-sans); letter-spacing: .16em; text-transform: uppercase; }
.ps-cap-t { font: 700 1.12rem/1.35 var(--zf-serif); }
.ps-cap-t .st { margin-left: 4px; }
.ps-cap-d { font: italic 400 .95rem/1.45 var(--zf-serif); color: var(--muted); }
.ps-under { margin-top: 10px; font: .82rem/1.5 var(--zf-sans); color: var(--muted); }
.ps-under .st { font-size: .6rem; padding: 2px 4px; margin: 2px 2px 0 0; }
.ps-detail { position: absolute; inset: auto clamp(8px, 1.6vw, 18px) clamp(8px, 1.6vw, 18px); max-height: calc(100% - 24px); overflow: auto; background: var(--paper); color: var(--paper-ink); border: 2px solid #111; box-shadow: 8px 8px 0 var(--marker); padding: 14px 16px; z-index: 3; }
[data-mode="dark"] .ps-detail { background: #1b1a17; color: #f1eee6; border-color: #f1eee6; }
.ps-d-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid currentColor; padding-bottom: 8px; }
.ps-d-head b { font: 800 1.15rem/1.2 var(--zf-serif); }
.ps-d-x { font: 400 1.6rem/1 var(--zf-sans); background: none; border: 0; color: inherit; cursor: pointer; padding: 0 4px; }
.ps-d-list { list-style: none; margin: 0; padding: 0; }
.ps-d-list li { padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.ps-d-list p { margin: 0; }
.ps-d-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ps-d-top code { font: 700 .78rem var(--mono-ui); }
.ps-d-tx { font: .72rem var(--mono-ui); opacity: .7; }
.ps-d-t { font: 700 1rem/1.3 var(--zf-serif); margin-top: 4px !important; }
.ps-d-who { font: .8rem/1.4 var(--zf-sans); opacity: .75; }
.ps-d-note { font: italic .9rem/1.4 var(--zf-serif); margin-top: 2px !important; }
.ps-d-foot { font: .78rem/1.45 var(--zf-sans); opacity: .7; margin: 10px 0 0 !important; }
@media (max-width: 620px) {
  .ps-grid, .ps-col { gap: 4px; }
  .ps-tile { min-height: 64px; padding: 4px 3px 5px; }
  .ps-name, .ps-c { display: none; }
  .ps-n { font-size: .5rem; }
  .ps-sym { font-size: 1.05rem; margin-top: 3px; }
  .ps-g { font-size: .5rem; letter-spacing: .02em; }
  .ps-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-none { display: none; }
  .ps-bar { height: 6px; gap: 1px; }
}
@media (prefers-reduced-motion: reduce) { .ps-tick, .ps-flash, .b-hot { animation: none !important; } .ps-tile { transition: none; } }

/* ---------- Fünf Fragen ---------- */
.w5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.w5 li { padding: 14px 16px 6px 0; border-right: 1px solid var(--line); }
.w5 li + li { padding-left: 16px; }
.w5 li:last-child { border-right: 0; }
.w5-k { display: block; font: 800 2.2rem/1 var(--zf-serif); letter-spacing: -.02em; margin-bottom: 8px; }
.w5-k::after { content: "?"; color: var(--muted); }
.w5 li:last-child .w5-k::after { content: "."; }
.w5 b { display: block; font: 700 .74rem/1.3 var(--zf-sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.w5 p { font-size: .98rem; margin: 0; }
@media (max-width: 980px) { .w5 { grid-template-columns: minmax(0, 1fr); } .w5 li, .w5 li + li { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Für wen: vier Stufen ---------- */
.scale-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scale-4 li:nth-child(1) { border-top-color: var(--marker); }
.scale-4 li:nth-child(2) { border-top-color: var(--ink); }
.scale-4 li:nth-child(3) { border-top-color: color-mix(in srgb, var(--marker) 45%, #ffffff); }
.scale-4 li:nth-child(4) { border-top-color: var(--muted); border-top-style: dashed; }
@media (max-width: 980px) { .scale-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 620px) { .scale-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Leiste im geprüften System (Abbildung) ---------- */
.leiste { margin: 0; }
.leiste-win { border: 2px solid var(--ink); background: var(--surface); box-shadow: 10px 10px 0 color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.leiste-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--bg-2); font: .72rem var(--zf-sans); color: var(--muted); }
.leiste-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); }
.leiste-bar span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leiste-app { padding: 18px 18px 26px; min-height: 170px; }
.leiste-h { margin: 0 0 12px; font: 700 1rem var(--zf-sans); }
.leiste-form { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 8px 14px; font: .9rem var(--zf-sans); }
.leiste-form span { color: var(--muted); }
.leiste-ok { color: var(--st-pass); }
.leiste-pt { display: grid; gap: 4px; padding: 12px 14px; background: #111; color: #f4f1ea; border-top: 4px solid var(--marker); }
.leiste-id { font: 700 .7rem/1.2 var(--mono-ui); letter-spacing: .06em; color: var(--marker); text-transform: uppercase; }
.leiste-do { font: 700 1rem/1.35 var(--zf-serif); }
.leiste-exp { font: italic .86rem/1.35 var(--zf-serif); color: #cfcabd; }
.leiste-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.leiste-act .st { background: #111; }
.leiste-act .st-pass { color: #6fe0a8; } .leiste-act .st-fail { color: #ff8a77; }
.leiste-cam { font: 700 .72rem/1 var(--mono-ui); padding: 4px 8px; border: 1px dashed #cfcabd; border-radius: 4px; }
.leiste figcaption { margin-top: 12px; font: .82rem/1.5 var(--zf-sans); color: var(--muted); }

/* ---------- Pakete ---------- */
.pk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pk { display: flex; flex-direction: column; }
.pk h3 { margin: 6px 0 8px; }
.pk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; }
.pk-top .st-pill { margin: 0; }
.pk-sales { font: 600 .72rem/1 var(--zf-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pk-list { margin: 4px 0 12px; padding-left: 1.1em; font-size: .95rem; }
.pk-price { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); font: italic .95rem var(--zf-serif); color: var(--muted); }
.pk-basis { border-top: 6px solid var(--marker) !important; }
@media (max-width: 980px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pk-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Funktionen ---------- */
.fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 0; }
.fx li { border-top: 1px solid var(--ink); padding: 14px 0 18px; }
.fx h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.fx p { margin: 0; font-size: .98rem; }
.fx .st-pill { margin: 0; }
@media (max-width: 980px) { .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fx { grid-template-columns: minmax(0, 1fr); } }
.vg td.v-vor small { font: 700 .62rem var(--zf-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Countdown (SAP-Seite) ---------- */
.cd-big { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; margin: 10px 0 18px; }
.cd-big b { font: 800 clamp(3rem, 9vw, 6rem)/.9 var(--zf-serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: linear-gradient(transparent 62%, var(--marker) 62%); }
.cd-big span { font: 700 .8rem/1.3 var(--zf-sans); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Probelauf ---------- */
.pl { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--surface); }
.pl-side { border-right: 1px solid var(--line); padding: 16px; background: var(--bg-2); }
.pl-side h2 { font: 700 .72rem/1.2 var(--zf-sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.pl-meta { margin: 0 0 16px; font: .85rem/1.5 var(--zf-sans); color: var(--muted); }
.pl-meta b { color: var(--ink); }
.pl-prog { height: 8px; display: flex; gap: 2px; margin: 8px 0 4px; }
.pl-prog i { flex: 1; border: 1px solid var(--st-todo); box-sizing: border-box; }
.pl-prog i.b-pass { background: var(--st-pass); border-color: var(--st-pass); }
.pl-prog i.b-fail { background: var(--st-fail); border-color: var(--st-fail); }
.pl-nav { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: pl; }
.pl-nav li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dotted var(--line); font: .88rem/1.3 var(--zf-sans); }
.pl-main { padding: clamp(16px, 2.6vw, 28px); min-width: 0; }
.pl-case { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; align-items: baseline; }
.pl-case code { font: 700 .82rem var(--mono-ui); color: var(--muted); }
.pl-case h2 { margin: 2px 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.pl-kv { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 6px 14px; margin: 10px 0 18px; font-size: .95rem; }
.pl-kv dt { color: var(--muted); font-family: var(--zf-sans); font-size: .85rem; }
.pl-kv dd { margin: 0; }
.pl-steps { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pl-steps th { text-align: left; font: 700 .7rem/1.2 var(--zf-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 8px 0; border-bottom: 2px solid var(--ink); }
.pl-steps td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pl-steps td:first-child { font: 700 .9rem var(--mono-ui); width: 2em; }
.pl-steps .pl-btns { white-space: nowrap; }
.pl-steps tr.is-pass { background: color-mix(in srgb, var(--st-pass) 7%, transparent); }
.pl-steps tr.is-fail { background: color-mix(in srgb, var(--st-fail) 8%, transparent); }
.pl-b { font: 700 .74rem/1 var(--mono-ui); padding: 7px 9px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 4px; cursor: pointer; margin: 0 4px 4px 0; display: inline-flex; gap: 6px; align-items: center; }
.pl-b::before { content: ""; width: 8px; height: 8px; box-sizing: border-box; }
.pl-b[data-s="pass"]::before { background: var(--st-pass); border-radius: 50%; }
.pl-b[data-s="fail"]::before { background: var(--st-fail); transform: rotate(45deg) scale(.9); }
.pl-b[data-s="blocked"]::before { border: 2px solid var(--st-blocked); border-radius: 50%; }
.pl-b[data-s="notrun"]::before { background: var(--st-notrun); }
.pl-b[data-s="todo"]::before { border: 1.5px solid var(--st-todo); }
.pl-b[aria-pressed="true"][data-s="pass"] { border-color: var(--st-pass); background: var(--st-pass-bg); }
.pl-b[aria-pressed="true"][data-s="fail"] { border-color: var(--st-fail); background: var(--st-fail-bg); }
.pl-b[aria-pressed="true"][data-s="blocked"] { border-color: var(--st-blocked); background: var(--st-blocked-bg); }
.pl-b[aria-pressed="true"][data-s="notrun"] { border-color: var(--st-notrun); background: var(--st-notrun-bg); }
.pl-b[aria-pressed="true"][data-s="todo"] { border-color: var(--st-todo); border-style: dashed; }
.pl-b:focus-visible { outline: 3px solid var(--marker-line); outline-offset: 2px; }
.pl-sec { margin-top: 22px; }
.pl-sec h3 { font: 700 1.05rem/1.2 var(--zf-serif); margin: 0 0 8px; }
.pl-hint { font: .85rem/1.5 var(--zf-sans); color: var(--muted); margin: 6px 0 0; }
.pl textarea, .pl input[type="text"] { width: 100%; font: inherit; padding: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 4px; box-sizing: border-box; }
.pl-drop { border: 2px dashed var(--line); padding: 16px; text-align: center; font: .9rem/1.5 var(--zf-sans); color: var(--muted); border-radius: 4px; cursor: pointer; }
.pl-drop.is-over { border-color: var(--marker-line); background: var(--marker-soft); }
.pl-shots { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.pl-shots li { border: 1px solid var(--line); padding: 4px; background: var(--bg); font: .7rem var(--zf-sans); max-width: 140px; }
.pl-shots img { display: block; max-width: 130px; max-height: 90px; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pl-proto { margin-top: 30px; border: 2px solid #111; background: var(--paper); color: var(--paper-ink); padding: clamp(18px, 3vw, 34px); box-shadow: 10px 10px 0 var(--marker); }
[data-mode="dark"] .pl-proto { background: #1b1a17; color: #f1eee6; border-color: #f1eee6; }
.pl-proto h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.pl-proto .pl-kv dt { color: inherit; opacity: .7; }
.pl-proto table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
.pl-proto th, .pl-proto td { text-align: left; padding: 7px 8px 7px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); vertical-align: top; }
.pl-sum { font: .78rem/1.5 var(--mono-ui); word-break: break-all; opacity: .8; }
.pl-sign { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.pl-sign div { border-top: 1px solid currentColor; padding-top: 6px; font: .78rem var(--zf-sans); opacity: .8; }
@media (max-width: 860px) { .pl { grid-template-columns: minmax(0, 1fr); } .pl-side { border-right: 0; border-bottom: 1px solid var(--line); } .pl-steps thead { display: none; } .pl-steps tr { display: grid; grid-template-columns: 2em minmax(0, 1fr); } .pl-steps td { border-bottom: 0; padding: 6px 0; } .pl-steps td:nth-child(n+3) { grid-column: 2; } .pl-steps tr { border-bottom: 1px solid var(--line); padding: 8px 0; } .pl-kv { grid-template-columns: minmax(0, 1fr); gap: 0 0; } .pl-kv dd { margin-bottom: 8px; } }
@media print {
  body.page-probelauf .site-header, body.page-probelauf .ribbon, body.page-probelauf .site-footer, body.page-probelauf .hero, body.page-probelauf .pl, body.page-probelauf .pl-actions, body.page-probelauf .fn-list, body.page-probelauf .faq, body.page-probelauf .section-alt { display: none !important; }
  body.page-probelauf .pl-proto { box-shadow: none; border: 0; }
}

/* Band: das Kampagnenwort ist länger als bei den Geschwistern – es bekommt eine eigene Zeile */
.belegt-band { grid-template-columns: minmax(0, 1fr) auto; row-gap: 18px; }
.belegt-band .band-word { grid-column: 1 / -1; overflow-wrap: anywhere; }
.belegt-band .lead { max-width: 64ch; margin: 0; }
@media (max-width: 860px) { .belegt-band { grid-template-columns: minmax(0, 1fr); } }
.band-word { font-size: clamp(2.4rem, 8.4vw, 7.5rem); }
/* Abläufe haben bei uns fünf Schritte */
@media (min-width: 1101px) { .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1100px) and (min-width: 641px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.flow p { font-size: .92rem; }

/* Fußzeile: Masthead- und h2-Größen der Zeitung/des Magazins gelten nicht für den Fuß
   (Befund aus dem Baukasten – bei längeren Produktnamen brach die Wortmarke um) */
.site-footer .brand, :root[data-header="zeitung"] .site-footer .brand { font: 700 1.7rem/1 var(--zf-serif); padding: 0; letter-spacing: -.01em; white-space: nowrap; }
:root[data-header="zeitung"] .site-footer .brand .logo-mark { display: inline-block; width: 30px; height: 30px; margin-right: 8px; vertical-align: -6px; }
.site-footer .footer-h, [data-design="magazin"] .site-footer .footer-h { font: 700 .74rem/1 var(--zf-sans); letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 14px; }
.logo-mark { letter-spacing: 0; text-transform: none; }
@media (max-width: 620px) { .ps-g { overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; font-size: .48rem; letter-spacing: 0; } }
/* Halbkreis für „teilweise“ als Form statt Glyphe (◐ fehlt in manchen Systemschriften) */
.vh { display: inline-block; width: .8em; height: .8em; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); vertical-align: -.08em; box-sizing: border-box; }
