/* ==========================================================================
   KI-Prüfstand — eigene Gestaltungsschicht über assets/base.css
   Leitbild: Kampagnen-Plakat (schwere Versalien, flache Signalfarben,
   Haarlinien) trifft Instrumententafel — der Prüflauf läuft auf einer
   schwarzen Konsole mit Bernstein als Signalfarbe.
   Offline: keine externen Schriften, Bilder oder Skripte.
   ========================================================================== */

:root {
  --accent: var(--amber);
  --accent-ink: #000;

  --crit: #b3261e;          /* Weiß darauf ≈ 6,5:1 */
  --crit-bg: #fdeceb;
  --crit-ink: #8c1d17;
  --warn-bg: #fff4d1;
  --warn-ink: #6b4e00;
  --ok: #0e7a3d;
  --ok-bg: #e3f6ea;

  --konsole: #0b0b0c;
  --konsole-2: #17171a;
  --konsole-line: rgba(255, 255, 255, .16);
  --konsole-dim: rgba(255, 255, 255, .62);

  --mono: ui-monospace, "SFMono-Regular", "DejaVu Sans Mono", "Liberation Mono", Menlo, Consolas, monospace;
}

/* ---------- Grundraster ------------------------------------------------- */

.wrap { max-width: 1220px; }
section[id], main[id] { scroll-margin-top: 116px; }
@media (max-width: 720px) { section[id], main[id] { scroll-margin-top: 48px; } }
body { overflow-x: hidden; }

.mockup-ribbon { letter-spacing: .05em; }

.rule { border: 0; border-top: 1px solid var(--line); opacity: .16; margin: 0; }

.eyebrow--plain::after { display: none; }

.stack > * + * { margin-top: var(--gap, 14px); }

/* ---------- Kopfzeile --------------------------------------------------- */

.site-head { position: sticky; top: 39px; z-index: 55; }
@media (max-width: 720px) { .site-head { position: static; } }

.nav .btn { padding: 8px 13px; font-size: 14px; }
.nav .btn[aria-current="true"] { background: var(--accent); }

/* ---------- Held ------------------------------------------------------- */

.hero {
  padding-block: clamp(34px, 5vw, 60px) clamp(26px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
}
@media (max-width: 940px) { .hero { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(34px, 5.6vw, 74px); }
.hero h1 > span { display: block; }
.hero__lead { margin-top: clamp(18px, 2.5vw, 26px); }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hero__facts {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hero__fact { padding: 13px 16px; border-right: 1px solid var(--line); }
.hero__fact:last-child { border-right: 0; }
.hero__fact b { font-family: var(--display); font-size: 21px; display: block; line-height: 1; }
.hero__fact span { font-size: 12.5px; color: var(--muted); display: block; margin-top: 6px; line-height: 1.3; }
@media (max-width: 620px) {
  .hero__fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__fact:last-child { border-bottom: 0; }
}

/* Prüfsiegel — das wiedererkennbare Element */
.siegel { width: clamp(150px, 20vw, 214px); aspect-ratio: 1; position: relative; justify-self: end; }
@media (max-width: 940px) { .siegel { justify-self: start; width: 148px; } }
.siegel svg { width: 100%; height: 100%; display: block; }
.siegel__ring { transform-origin: 50% 50%; animation: drehen 26s linear infinite; }
@media (prefers-reduced-motion: reduce) { .siegel__ring { animation: none; } }
@keyframes drehen { to { transform: rotate(360deg); } }
.siegel__text { font-family: var(--display); font-size: 9.1px; letter-spacing: .18em; fill: var(--ink); }
.siegel__kern {
  position: absolute; inset: 24%;
  background: var(--accent); border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-size: clamp(10px, 1.3vw, 13px); line-height: 1.15;
  text-transform: uppercase; padding: 8px;
}

/* ---------- Konsole ----------------------------------------------------- */

.konsole {
  background: var(--konsole);
  color: #fff;
  border-block: 2px solid var(--line);
  padding-block: clamp(30px, 4vw, 52px);
  position: relative;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 46px);
}
.konsole h2, .konsole h3 { color: #fff; }
.konsole .eyebrow { color: rgba(255,255,255,.6); }
.konsole .eyebrow::after { background: #fff; opacity: .22; }

/* Prüfziel-Wahl */
.ziele { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.ziel {
  flex: 1 1 230px; min-width: 0;
  text-align: left; cursor: pointer;
  background: var(--konsole-2); color: #fff;
  border: 1px solid var(--konsole-line); border-radius: var(--r-md);
  padding: 13px 15px;
  font-family: var(--body); font-size: 15px;
  transition: border-color .14s ease, background .14s ease, transform .14s ease;
}
.ziel:hover { border-color: var(--accent); transform: translateY(-1px); }
.ziel[aria-pressed="true"] { background: var(--accent); color: #000; border-color: var(--accent); }
.ziel__name { display: block; font-family: var(--display); text-transform: uppercase; font-size: 16px; letter-spacing: -.01em; }
.ziel__art { display: block; font-size: 12.5px; color: var(--konsole-dim); margin-top: 5px; line-height: 1.35; }
.ziel[aria-pressed="true"] .ziel__art { color: rgba(0,0,0,.72); }
.ziel__marke {
  display: inline-block; margin-top: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; padding: 2px 9px;
}
.ziel--echt .ziel__marke { background: var(--accent); color: #000; border-color: var(--accent); }
.ziel--echt[aria-pressed="true"] .ziel__marke { background: #000; color: var(--accent); border-color: #000; }

/* Konsolenfläche */
.tafel {
  border: 1px solid var(--konsole-line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, #131316, #0d0d0f);
  overflow: hidden;
}
.tafel__kopf {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--konsole-line);
}
.tafel__ziel { font-family: var(--display); text-transform: uppercase; font-size: clamp(15px, 2vw, 21px); }
.tafel__meta { font-family: var(--mono); font-size: 12px; color: var(--konsole-dim); margin-top: 4px; }
.tafel__status {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--konsole-line); border-radius: 999px; padding: 5px 12px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.tafel__status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--konsole-dim);
}
.tafel__status[data-status="laeuft"] { color: var(--accent); border-color: var(--accent); }
.tafel__status[data-status="laeuft"]::before { background: var(--accent); animation: blinken 1s steps(2) infinite; }
.tafel__status[data-status="fertig"]::before { background: #55ffb3; }
@keyframes blinken { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .tafel__status::before { animation: none !important; } }

.tafel__leib { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 900px) { .tafel__leib { grid-template-columns: 1fr; } }
.tafel__links { padding: 18px 20px; border-right: 1px solid var(--konsole-line); min-width: 0; }
.tafel__rechts { padding: 18px 20px; min-width: 0; }
@media (max-width: 900px) { .tafel__links { border-right: 0; border-bottom: 1px solid var(--konsole-line); } }

.balken { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.balken__fuellung { height: 100%; width: 0; background: var(--accent); transition: width .28s linear; }
@media (prefers-reduced-motion: reduce) { .balken__fuellung { transition: none; } }
.balken__zeile {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 12px; color: var(--konsole-dim); margin-bottom: 8px;
}

/* Kategorie-Liste im Lauf */
.katliste { list-style: none; margin: 18px 0 0; padding: 0; }
.katzeile {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px; align-items: center;
  padding: 7px 0; border-top: 1px solid rgba(255,255,255,.09);
  font-size: 14px;
}
.katzeile:first-child { border-top: 0; }
.katzeile__id { font-family: var(--mono); font-size: 12.5px; color: var(--konsole-dim); }
.katzeile__name { color: rgba(255,255,255,.9); min-width: 0; overflow-wrap: break-word; }
.katzeile__wert { font-family: var(--mono); font-size: 12.5px; text-align: right; white-space: nowrap; }
.katzeile[data-zustand="wartet"] { opacity: .55; }
.katzeile[data-zustand="laeuft"] .katzeile__id { color: var(--accent); }
.katzeile[data-zustand="laeuft"] .katzeile__wert { color: var(--accent); }
.katzeile[data-zustand="fertig"][data-treffer="ja"] .katzeile__wert { color: #ff9b93; }
.katzeile[data-zustand="fertig"][data-treffer="nein"] .katzeile__wert { color: #6ee7a8; }
.katzeile[data-zustand="uebersprungen"] .katzeile__wert { color: var(--konsole-dim); }
.katzeile[data-zustand="uebersprungen"] .katzeile__name { color: rgba(255,255,255,.55); }
@media (max-width: 560px) {
  .katzeile { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; }
  .katzeile__name { font-size: 12.6px; line-height: 1.3; }
  .katzeile__id { font-size: 11.5px; }
  .katzeile__wert { font-size: 11.5px; }
}

/* Zählwerk */
.zaehler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.zelle {
  border: 1px solid var(--konsole-line); border-radius: var(--r-md);
  padding: 12px 14px; background: rgba(255,255,255,.03);
}
.zelle b {
  font-family: var(--display); font-size: clamp(24px, 3.6vw, 34px); line-height: 1; display: block;
  font-variant-numeric: tabular-nums;
}
.zelle span { display: block; font-size: 12px; color: var(--konsole-dim); margin-top: 7px; line-height: 1.3; }
.zelle--crit b { color: #ff8a80; }
.zelle--warn b { color: var(--accent); }
.zelle--ok b { color: #6ee7a8; }

.log {
  margin-top: 14px; padding: 12px 14px;
  background: #08080a; border: 1px solid var(--konsole-line); border-radius: var(--r-md);
  font-family: var(--mono); font-size: 11.8px; line-height: 1.65;
  height: 132px; overflow-y: auto; overflow-x: hidden; overflow-wrap: break-word;
  color: rgba(255,255,255,.78);
}
.log p { margin: 0; }
.log b { color: var(--accent); font-weight: 400; }
.log .rot { color: #ff8a80; }
.log .gruen { color: #6ee7a8; }

.steuerung { display: flex; gap: 10px; flex-wrap: wrap; padding: 15px 20px; border-top: 1px solid var(--konsole-line); }
.btn--auf-dunkel { background: transparent; color: #fff; border-color: var(--konsole-line); }
.btn--auf-dunkel:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.btn--auf-dunkel:disabled, .btn:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.btn--signal { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.btn--signal:hover { background: #ffe57a; box-shadow: 0 3px 0 rgba(255,255,255,.35); }

.konsole__hinweis {
  margin-top: 16px; font-size: 13.5px; color: var(--konsole-dim);
  border-left: 2px solid var(--accent); padding-left: 13px; max-width: 78ch;
}

/* Vergleich zweier Läufe */
.vergleich[hidden] { display: none; }
.vergleich {
  margin-top: 18px; border: 1px solid var(--accent); border-radius: var(--r-md);
  background: rgba(255,216,77,.09); padding: 15px 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-items: center;
}
.vergleich__zahl { font-family: var(--display); font-size: 28px; line-height: 1; color: var(--accent); }
.vergleich__zahl s { color: rgba(255,255,255,.45); text-decoration-thickness: 2px; }
.vergleich span { display: block; font-size: 12.5px; color: var(--konsole-dim); margin-top: 6px; }
.vergleich p { font-size: 13.5px; color: rgba(255,255,255,.86); margin: 0; }

/* ---------- Ergebnisteil ------------------------------------------------ */

.ergebnis { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); }
@media (max-width: 900px) { .ergebnis { grid-template-columns: 1fr; } }

.urteil { border: 3px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.urteil__kopf { padding: clamp(20px, 3vw, 30px); }
.urteil__kopf h2 { color: #fff; font-size: clamp(26px, 3.6vw, 44px); }
.urteil[data-stufe="nein"] .urteil__kopf { background: var(--crit); color: #fff; }
.urteil[data-stufe="auflagen"] .urteil__kopf { background: var(--accent); color: #000; }
.urteil[data-stufe="auflagen"] .urteil__kopf h2 { color: #000; }
.urteil__kopf p { margin: 12px 0 0; font-size: clamp(15px, 1.6vw, 17.5px); max-width: 56ch; }
.urteil__leib { background: #fff; padding: clamp(20px, 3vw, 30px); }
.schritt { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(0,0,0,.1); font-size: 15px; }
.schritt:last-of-type { border-bottom: 0; }
.schritt__n {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700;
}

.berichtaktionen { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.kennkarte { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; align-self: start; }
.kennkarte__kopf { background: var(--ink); color: #fff; padding: 14px 18px; }
.kennkarte__kopf h3 { color: #fff; font-size: 16px; }
.kennkarte__gitter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kennzelle { padding: 15px 18px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.kennzelle:nth-child(2n) { border-right: 0; }
.kennzelle b { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.kennzelle span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.kennzelle--crit b { color: var(--crit); }
.kennzelle--warn b { color: var(--warn-ink); }
.kennzelle--ok b { color: var(--ok); }

/* ---------- Filter und Befunde ------------------------------------------ */

.filterleiste {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper-2); margin-bottom: 18px;
}
.filtergruppe { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; min-width: 0; }
.filtergruppe > .kennung {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-right: 3px;
}
.pille {
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink);
  padding: 5px 12px; cursor: pointer; white-space: nowrap;
  transition: background .13s ease, transform .13s ease;
}
.pille:hover { transform: translateY(-1px); }
.pille[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pille--crit[aria-pressed="true"] { background: var(--crit); border-color: var(--crit); }
.pille--warn[aria-pressed="true"] { background: var(--accent); color: #000; }
.pille[disabled] { opacity: .3; cursor: not-allowed; }
.filterstand { margin-left: auto; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.befundliste { display: grid; gap: 10px; }

.befund { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.befund__knopf {
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 14px; align-items: start;
  padding: 13px 16px; background: #fff; border: 0; font-family: var(--body);
}
.befund__knopf:hover { background: var(--paper-2); }
.befund__sev {
  font-family: var(--display); font-size: 10.5px; letter-spacing: .07em;
  padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); text-transform: uppercase; white-space: nowrap;
}
.befund--kritisch .befund__sev { background: var(--crit); color: #fff; border-color: var(--crit); }
.befund--warnung .befund__sev { background: var(--warn-bg); color: var(--warn-ink); }
.befund__titel { font-size: 15.5px; font-weight: 600; line-height: 1.35; min-width: 0; overflow-wrap: break-word; }
.befund__kat { font-family: var(--mono); font-size: 12px; color: var(--muted); display: block; margin-top: 3px; }
.befund__rechts { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding-top: 3px; }
.befund__cvss { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.befund__pfeil { width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .18s ease; }
.befund__knopf[aria-expanded="true"] .befund__pfeil { transform: rotate(-135deg); }
@media (max-width: 620px) {
  .befund__knopf { grid-template-columns: auto minmax(0, 1fr); }
  .befund__rechts { grid-column: 1 / -1; justify-content: flex-start; }
}

.befund__leib { border-top: 1px solid rgba(0,0,0,.12); background: var(--paper-2); padding: 16px; font-size: 14.5px; }
.befund__leib[hidden] { display: none; }
.befund__label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 5px;
}
.verlauf { display: grid; gap: 8px; margin-bottom: 14px; }
.spruch {
  font-family: var(--mono); font-size: 12.4px; line-height: 1.6;
  border: 1px solid rgba(0,0,0,.2); border-radius: 8px; padding: 10px 12px; background: #fff;
  overflow-wrap: break-word; white-space: pre-wrap;
}
.spruch--angriff { border-left: 3px solid var(--ink); }
.spruch--antwort { border-left: 3px solid var(--crit); background: #fff8f7; }
.spruch__rolle { display: block; font-family: var(--body); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }

.befund__deutung { border-left: 3px solid var(--accent); padding-left: 12px; margin-bottom: 14px; }
.befund__abhilfe { margin: 0; padding-left: 19px; font-size: 14px; }
.befund__abhilfe li { margin-bottom: 5px; }
.befund__fuss {
  margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(0,0,0,.12);
  font-family: var(--mono); font-size: 11.6px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 16px;
}
.leer { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 26px; text-align: center; color: var(--muted); }

/* ---------- Abdeckung --------------------------------------------------- */

.abdeckung { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.kachel { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.kachel__kopf { padding: 13px 14px; }
.kachel__id { font-family: var(--display); font-size: 14px; letter-spacing: .04em; }
.kachel__name { font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 4px; min-height: 35px; }
.kachel__wert { margin-top: 11px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.punkt { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line); flex: 0 0 auto; }
.punkt--crit { background: var(--crit); }
.punkt--warn { background: var(--accent); }
.punkt--ok { background: var(--ok); }
.punkt--aus { background: #d6d6d6; }
.kachel--luecke { background: var(--paper-2); border-style: dashed; }
.kachel__mehr {
  margin-top: auto; width: 100%; text-align: left; cursor: pointer;
  background: var(--ink); color: #fff; border: 0; font-family: var(--body);
  font-size: 12.5px; font-weight: 600; padding: 9px 14px;
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
}
.kachel__mehr:hover { background: #000; }
.kachel__mehr[aria-expanded="true"] { background: var(--accent); color: #000; }
.kachel__grund { padding: 12px 14px; font-size: 13px; line-height: 1.5; background: var(--warn-bg); border-top: 1px solid var(--line); }
.kachel__grund[hidden] { display: none; }
.kachel__grund b { display: block; margin-bottom: 5px; }

/* ---------- SARIF-Ansicht ----------------------------------------------- */

.sarif { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--konsole); }
.sarif__leiste {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--konsole-line);
}
.reiter {
  cursor: pointer; background: transparent; color: rgba(255,255,255,.72);
  border: 1px solid var(--konsole-line); border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 12.5px; padding: 7px 12px;
}
.reiter[aria-selected="true"] { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.sarif__aktionen { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.code {
  margin: 0; padding: 16px;
  font-family: var(--mono); font-size: 12.2px; line-height: 1.62;
  color: rgba(255,255,255,.86);
  max-height: 430px; overflow: auto;
  white-space: pre; tab-size: 2;
}
.code .s { color: #a8e6a0; }      /* Zeichenkette */
.code .k { color: var(--accent); } /* Schlüssel */
.code .n { color: #9fd0ff; }      /* Zahl / Wahrheitswert */
.code .p { color: rgba(255,255,255,.58); }
.sarif__fuss { padding: 11px 16px; border-top: 1px solid var(--konsole-line); font-size: 12.5px; color: var(--konsole-dim); }

/* ---------- Erklärteil -------------------------------------------------- */

.schichten { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 14px; }
.schicht { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); background: #fff; position: relative; }
.schicht__n {
  font-family: var(--display); font-size: 13px; letter-spacing: .1em;
  background: var(--accent); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 11px; display: inline-block; margin-bottom: 13px;
}
.schicht h3 { margin-bottom: 9px; }
.schicht ul { margin: 11px 0 0; padding-left: 18px; font-size: 14px; }
.schicht li { margin-bottom: 5px; }

.streifen {
  background: var(--accent); border: 2px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
}
.streifen h2 { font-size: clamp(24px, 3.2vw, 38px); }

.abgrenzung { border: 2px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.abgrenzung__kopf { background: var(--ink); color: #fff; padding: clamp(18px, 2.5vw, 26px); }
.abgrenzung__kopf h2 { color: #fff; }
.abgrenzung__gitter { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.abgrenzung__spalte { padding: clamp(18px, 2.5vw, 26px); border-right: 1px solid var(--line); background: #fff; }
.abgrenzung__spalte:last-child { border-right: 0; background: var(--paper-2); }
.abgrenzung__spalte h3 { font-size: 17px; margin-bottom: 10px; }
.abgrenzung dl { margin: 0; font-size: 14.2px; }
.abgrenzung dt { font-weight: 700; margin-top: 11px; }
.abgrenzung dd { margin: 3px 0 0; color: var(--muted); }

/* ---------- Fußbereich -------------------------------------------------- */

.echtheit { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 0; border: 2px solid var(--accent); border-radius: var(--r-md); overflow: hidden; }
.echtheit > div { padding: 16px 18px; }
.echtheit > div + div { border-left: 1px solid rgba(255,255,255,.22); }
@media (max-width: 700px) { .echtheit > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); } }
.echtheit h4 { font-family: var(--display); text-transform: uppercase; font-size: 13px; letter-spacing: .06em; margin: 0 0 8px; color: var(--accent); }
.echtheit ul { margin: 0; padding-left: 17px; font-size: 13.5px; line-height: 1.5; }
.echtheit li { margin-bottom: 5px; }

.site-foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ohne JavaScript --------------------------------------------- */

.nur-js { display: none; }
.js .nur-js { display: block; }
.js .ohne-js { display: none; }
.ohne-js { border: 2px dashed var(--line); border-radius: var(--r-md); padding: 18px; background: var(--paper-2); }

/* ---------- Einblenden --------------------------------------------------- */

.js .zeigen { opacity: 0; transform: translateY(12px); }
.js .zeigen.da { animation: auftauchen .55s cubic-bezier(.22,.9,.3,1) forwards; }
@keyframes auftauchen { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .zeigen { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Druck -------------------------------------------------------- */

@media print {
  .mockup-ribbon { position: static; }
  .site-head, .steuerung, .filterleiste, .ziele, .sarif__aktionen, .hero__actions,
  .berichtaktionen, .kachel__mehr, .log, .siegel { display: none !important; }
  .site-head { position: static; }
  .konsole { background: #fff !important; color: #000 !important; border-color: #000; }
  .konsole h2, .konsole h3, .konsole .tafel__ziel { color: #000 !important; }
  .tafel { background: #fff !important; }
  .katzeile { opacity: 1 !important; }
  .katzeile__name, .katzeile__id, .katzeile__wert, .zelle span, .tafel__meta { color: #333 !important; }
  .zelle b { color: #000 !important; }
  .befund__leib[hidden] { display: block !important; }
  .code { color: #000; max-height: none; }
  .sarif { background: #fff; }
  .zeigen { opacity: 1 !important; transform: none !important; }
  section { break-inside: avoid; }
}

/* ---------- Ablauf in sechs Schritten ----------------------------------- */

.ablauf { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 12px; }
@media (min-width: 980px) { .ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ablauf__schritt {
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.ablauf__schritt:nth-child(n+4) { background: var(--paper); }
.ablauf__n { font-family: var(--display); font-size: 12px; letter-spacing: .1em;
  background: var(--accent); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 10px; display: inline-block; margin-bottom: 11px; }
.ablauf__schritt h3 { font-size: 16px; margin-bottom: 7px; }
.ablauf__schritt p { font-size: 14px; margin: 0; color: var(--muted); line-height: 1.45; }
