/* ==========================================================================
   KI-Referenzvitrine — Neufassung 28.09.2026
   Startseite und Fallseite. Wird NACH stil.css geladen und ergaenzt oder
   ueberschreibt die Regeln dort. stil.css bleibt die Grundlage (Farben,
   Schrift, Beispielansichten, Adminbereich).
   ========================================================================== */

:root {
  --wer-daten-flaeche:    #F2F1EC;
  --wer-daten-rand:       #B0AB9C;
  --wer-daten-text:       #4A4636;
  --wer-programm-flaeche: #FFFFFF;
  --wer-programm-rand:    #1C2B4A;
  --wer-programm-text:    #1A2233;
  --wer-ki-flaeche:       #1C2B4A;
  --wer-ki-rand:          #0E1524;
  --wer-ki-text:          #FFFFFF;
  --wer-mensch-flaeche:   #EDF3EE;
  --wer-mensch-rand:      #2F6F4E;
  --wer-mensch-text:      #1E5637;
  --gold-hell:            #F0B94A;
  --rot-hell:             #FBEAE8;
}

.symbol { flex: none; vertical-align: -0.28em; }

/* --- Kleine Bausteine ---------------------------------------------------- */
.augenbraue {
  text-transform: uppercase; letter-spacing: .13em; font-size: .74rem;
  font-weight: 700; color: var(--gold); margin: 0 0 .5rem;
}
.augenbraue-rot { color: var(--rot); }
.abschnitt-kopf { max-width: 68ch; }
.abschnitt-kopf h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; }
.abschnitt-kopf p:not(.augenbraue) { font-size: 1.05rem; }

.band { background: var(--navy-tief); color: #E4E8F0; }
.band .abschnitt-kopf h2 { color: #fff; }
.band .abschnitt-kopf p:not(.augenbraue) { color: #B4C0D6; }
.band .augenbraue { color: var(--gold-hell); }
.band-hell { background: var(--papier-2); color: var(--text); }
.band-hell .abschnitt-kopf h2 { color: var(--text); }
.band-hell .abschnitt-kopf p:not(.augenbraue) { color: var(--text-leise); }
.band-hell .augenbraue { color: var(--gold); }

.knopf-gold { background: var(--gold-hell); color: #1A1405 !important; }
.knopf-gold:hover { background: #F6C866; }
.knopf-rand {
  background: transparent; color: #fff !important;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4);
}
.knopf-rand:hover { background: rgba(255,255,255,.1); }

.beleg {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px;
  white-space: nowrap;
}
.beleg-ja   { background: #E3F1E8; color: #1E5637; }
.beleg-nein { background: #F6EEDB; color: #7A5408; }

.stand {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600; color: var(--text-leise);
  margin-left: auto; white-space: nowrap;
}
.stand::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--text-leise);
}
.stand-laeuft::before { background: #2F9E62; box-shadow: 0 0 0 3px rgba(47,158,98,.18); }
.stand-pilot::before  { background: var(--gold-hell); }
.stand-abgeschlossen::before { background: #8A93A6; }

.etikett-unbequem { background: var(--rot-hell); color: #8C1D16; }

.spur { display: inline-flex; gap: 3px; align-items: center; }
.spur-feld {
  display: inline-block; width: 13px; height: 13px; border-radius: 4px;
  border: 1.5px solid var(--linie); background: var(--papier-2); flex: none;
}
.spur-feld.wer-daten    { background: var(--wer-daten-flaeche);    border-color: var(--wer-daten-rand); }
.spur-feld.wer-programm { background: var(--wer-programm-flaeche); border-color: var(--wer-programm-rand); }
.spur-feld.wer-ki       { background: var(--wer-ki-flaeche);       border-color: var(--gold-hell); }
.spur-feld.wer-mensch   { background: var(--wer-mensch-rand);      border-color: var(--wer-mensch-rand); }

.legende {
  list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap;
  gap: .5rem 1.25rem; font-size: .85rem; color: var(--text-leise);
}
.legende li { display: inline-flex; align-items: center; gap: .45rem; }
.legende small { font-size: .78rem; opacity: .8; }

.zwischentitel { font-size: 1.25rem; margin: 0 0 1rem; }

/* --- Einblenden beim Hineinrollen ---------------------------------------- */
.mit-skript [data-einblenden] > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.mit-skript [data-einblenden].ist-sichtbar > * { opacity: 1; transform: none; }
.mit-skript [data-einblenden].ist-sichtbar > *:nth-child(2) { transition-delay: .06s; }
.mit-skript [data-einblenden].ist-sichtbar > *:nth-child(3) { transition-delay: .12s; }
.mit-skript [data-einblenden].ist-sichtbar > *:nth-child(4) { transition-delay: .18s; }
.mit-skript [data-einblenden].ist-sichtbar > *:nth-child(5) { transition-delay: .24s; }
.mit-skript [data-einblenden].ist-sichtbar > *:nth-child(6) { transition-delay: .30s; }
.mit-skript [data-einblenden].ist-sichtbar > *:nth-child(n+7) { transition-delay: .36s; }

/* --- Held, neu ----------------------------------------------------------- */
.held {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(240,185,74,.16), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(47,111,78,.18), transparent 62%),
    linear-gradient(172deg, #1F3157 0%, #0E1524 78%);
  padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(2.25rem, 4vw, 3.25rem);
}
.held-raster {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.held h1 {
  font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4rem); line-height: 1.05;
  letter-spacing: -.035em; max-width: 14ch;
}
.held-text { font-size: 1.15rem; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.held-zahlen {
  display: grid; gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.held-zahlen strong { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); color: #fff; }
.held-zahlen div > span { display: block; margin-top: .35rem; max-width: 24ch; }
.held-zahlen div:last-child strong { color: var(--gold-hell); }
.held-zahlen strong span { font-size: inherit; color: inherit; }

.held-rechts {
  position: relative; border-radius: 22px; padding: 1.5rem 1.6rem 1.25rem;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -30px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}
.held-rechts-titel {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700; color: #9FB0CC; margin: 0 0 1rem;
}
.wechsel-blatt { display: none; }
.wechsel-blatt.ist-aktiv { display: block; animation: blatt-herein .45s ease; }
@keyframes blatt-herein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wechsel-punkte { display: flex; gap: .4rem; margin-top: 1.1rem; }
.wechsel-punkte span {
  width: 1.4rem; height: 3px; border-radius: 2px; background: rgba(255,255,255,.2);
  transition: background .3s ease;
}
.wechsel-punkte span.ist-aktiv { background: var(--gold-hell); }

/* --- Vorher-Heute-Karten ------------------------------------------------- */
.wandelgitter {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.wandelkarte {
  --kat-farbe: var(--navy);
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.35rem 1.45rem 1.2rem;
  box-shadow: var(--schatten); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wandelkarte:hover {
  transform: translateY(-3px); box-shadow: var(--schatten-hoch);
  border-color: color-mix(in srgb, var(--kat-farbe) 45%, var(--linie));
}
.wandel-was { font-weight: 700; font-size: 1.02rem; line-height: 1.3; min-height: 2.6em; }
.wandel-zeile {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  align-items: center; gap: .75rem;
}
.wandel-marke {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; color: var(--text-leise);
}
.wandel-balken {
  height: 12px; border-radius: 6px; background: var(--papier-2); overflow: hidden;
}
.wandel-balken span {
  display: block; height: 100%; width: var(--anteil, 0%); border-radius: 6px;
  background: #B9BFCC; transition: width 1s cubic-bezier(.2,.8,.2,1);
}
.wandel-zeile-heute .wandel-balken span { background: var(--kat-farbe); }
.mit-skript [data-einblenden]:not(.ist-sichtbar) .wandel-balken span { width: 0; }
.wandel-zeile strong {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.wandel-zeile-vorher strong { color: var(--text-leise); font-weight: 600; }
.wandel-zeile-heute strong  { color: var(--kat-farbe); font-size: 1.35rem; }
.wandel-fuss {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin-top: .35rem; padding-top: .8rem; border-top: 1px dashed var(--linie);
}
.wandel-titel { font-size: .82rem; color: var(--text-leise); flex: 1 1 12rem; line-height: 1.35; }

.wandelkarte-gross {
  background: transparent; border: 0; box-shadow: none; padding: 0; color: #EEF1F6;
}
.wandelkarte-gross:hover { transform: none; box-shadow: none; }
.wandelkarte-gross .wandel-was { font-size: 1.25rem; color: #fff; min-height: 2.6em; }
.wandelkarte-gross .wandel-marke { color: #9FB0CC; }
.wandelkarte-gross .wandel-balken { background: rgba(255,255,255,.1); height: 14px; }
.wandelkarte-gross .wandel-balken span { background: rgba(255,255,255,.32); }
.wandelkarte-gross .wandel-zeile-heute .wandel-balken span { background: var(--gold-hell); }
.wandelkarte-gross .wandel-zeile-vorher strong { color: #B4C0D6; font-size: 1.2rem; }
.wandelkarte-gross .wandel-zeile-heute strong { color: var(--gold-hell); font-size: 1.85rem; }
.wandelkarte-gross .wandel-fuss { border-top-color: rgba(255,255,255,.16); }
.wandelkarte-gross .wandel-titel { color: #C7D0E0; }

/* --- Wo KI Arbeit abnimmt ------------------------------------------------ */
.umschalter {
  display: inline-flex; padding: 4px; border-radius: 999px; margin-bottom: 1.75rem;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.umschalter-knopf {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: .55rem 1.2rem; border-radius: 999px; border: 0;
  background: transparent; color: #B4C0D6; transition: all .15s ease;
}
.umschalter-knopf.ist-aktiv { background: #fff; color: #14203A; }
.einsatzgitter {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.einsatzgitter[hidden] { display: none; }
.einsatz {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.5rem 1.55rem 1.3rem; border-radius: 18px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  color: #E4E8F0; text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.einsatz:hover {
  transform: translateY(-3px); background: rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px var(--gold-hell);
}
.einsatz-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.einsatz-symbol {
  width: 2.9rem; height: 2.9rem; border-radius: 13px; display: grid; place-items: center;
  background: rgba(240,185,74,.14); color: var(--gold-hell);
}
/* Abteilungskarten tragen die Bereichsfarbe, damit sie zu den Kacheln unten passen. */
.einsatz-bereich { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 4px 0 0 var(--kat-farbe); }
.einsatz-bereich .einsatz-symbol {
  background: color-mix(in srgb, var(--kat-farbe) 55%, #ffffff 0%); color: #fff;
}
.einsatz-bereich:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 4px 0 0 var(--kat-farbe); }
.einsatz-symbol .symbol { width: 26px; height: 26px; }
.einsatz-zahl {
  font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums; text-align: right;
}
.einsatz-zahl small {
  display: block; font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #9FB0CC; margin-top: .25rem;
}
.einsatz > strong { font-size: 1.2rem; color: #fff; letter-spacing: -.01em; }
.einsatz-satz { font-size: .93rem; color: #B4C0D6; line-height: 1.5; }
.einsatz-beispiele {
  display: grid; gap: .3rem; margin-top: .5rem; padding-top: .8rem;
  border-top: 1px dashed rgba(255,255,255,.16); font-size: .84rem; color: #C7D0E0;
}
.einsatz-beispiele span { padding-left: .9rem; position: relative; line-height: 1.4; }
.einsatz-beispiele span::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold-hell);
}
.einsatz-mehr { margin-top: auto; padding-top: .6rem; font-size: .86rem; font-weight: 700; color: var(--gold-hell); }

/* --- Zwei Tafeln --------------------------------------------------------- */
.zweispalter { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.tafel {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px;
  padding: 1.75rem 1.9rem; box-shadow: var(--schatten);
}
.tafel h3 { font-size: 1.25rem; margin-bottom: .9rem; }
.tafel p { color: var(--text-leise); font-size: .95rem; }
.tafel p:last-child { margin-bottom: 0; }
.tafel p strong { color: var(--text); }
.tafel .tafel-zahl { font-size: 1rem; color: var(--text); }
.tafel .tafel-zahl strong {
  display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.035em;
  line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums;
}
.anteilsbalken {
  display: flex; height: 46px; border-radius: 12px; overflow: hidden;
  margin: 1.1rem 0 .4rem; border: 1px solid var(--linie);
}
.anteil {
  width: var(--anteil); display: grid; place-items: center;
  font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden;
  transition: width 1.1s cubic-bezier(.2,.8,.2,1);
}
.mit-skript [data-einblenden]:not(.ist-sichtbar) .anteil { width: 0; }
.anteil.wer-programm { background: var(--wer-programm-flaeche); color: var(--wer-programm-text); }
.anteil.wer-ki       { background: var(--wer-ki-flaeche); color: var(--gold-hell); }
.anteil.wer-mensch   { background: var(--wer-mensch-rand); color: #fff; }

.verlauf-svg { width: 100%; height: auto; display: block; margin: .25rem 0 .75rem; overflow: visible; }
.verlauf-achse   { stroke: var(--linie); stroke-width: 1.5; }
.verlauf-flaeche { fill: color-mix(in srgb, var(--gold) 16%, transparent); }
.verlauf-linie   { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.verlauf-punkt   { fill: var(--weiss); stroke: var(--gold); stroke-width: 2.5; }
.verlauf-punkt.ist-heute { fill: var(--gold); }
.verlauf-wert    { font: 700 13px var(--schrift); fill: var(--text); }
.verlauf-wert.ist-heute { font-size: 15px; fill: var(--gold); }
.verlauf-datum   { font: 500 11px var(--schrift); fill: var(--text-leise); }
.mit-skript [data-einblenden] .verlauf-linie { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .2s; }
.mit-skript [data-einblenden].ist-sichtbar .verlauf-linie { stroke-dashoffset: 0; }

/* --- Unbequeme Faelle ---------------------------------------------------- */
.unbequemgitter { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.unbequemkarte {
  display: flex; flex-direction: column; gap: .6rem; align-items: flex-start;
  background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--rot);
  border-radius: var(--radius); padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: var(--schatten); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.unbequemkarte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.unbequemkarte strong { font-size: 1.08rem; line-height: 1.3; }
.unbequemkarte > span:not(.etikett):not(.kachel-mehr) { font-size: .92rem; color: var(--text-leise); }
.unbequemkarte .kachel-mehr { color: var(--rot); margin-top: auto; }
.mehr-zeile { margin: 1.25rem 0 0; font-weight: 600; }

/* --- Filterleiste, neu --------------------------------------------------- */
.filterleiste { display: grid; gap: .9rem; justify-content: stretch; margin-bottom: 1.75rem; }
.filter-zeile { display: flex; flex-wrap: wrap; gap: .6rem .9rem; align-items: center; }
.filter-name {
  flex: 0 0 7.5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  font-weight: 700; color: var(--text-leise);
}
.filter-zeile-unten { padding-top: .35rem; gap: .8rem 1.5rem; }
.suchfeld { flex: 1 1 280px; max-width: 420px; }
.schalter {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem;
  color: var(--text-leise); cursor: pointer; user-select: none;
}
.schalter input { width: 1.05rem; height: 1.05rem; accent-color: var(--navy); }
.auswahl select {
  font: inherit; font-size: .9rem; padding: .5rem .9rem; border-radius: 999px;
  border: 1px solid var(--linie); background: var(--weiss); color: var(--text);
}
.spur-legende {
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center;
  font-size: .82rem; color: var(--text-leise); margin: .2rem 0 0;
}
.spur-legende > span { display: inline-flex; align-items: center; gap: .4rem; }

/* --- Kacheln, neu -------------------------------------------------------- */
.kachelgitter { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.kachel-kopf { align-items: center; }
.kachel-titel { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 .55rem; }
.kachel-kurz { font-size: .95rem; line-height: 1.55; }
.kachel-zahl strong { font-size: 2.1rem; }
.kachel-schluss {
  display: flex; align-items: center; gap: .7rem; margin-top: 1rem; flex-wrap: wrap;
}
.kachel-aufgabe { font-size: .76rem; color: var(--text-leise); }
.kachel-schluss .kachel-mehr { margin: 0 0 0 auto; }

/* --- Fallkopf, neu ------------------------------------------------------- */
.fall-kopf {
  background:
    radial-gradient(800px 360px at 92% 0%, color-mix(in srgb, var(--kat-farbe, #B57A0C) 45%, transparent), transparent 62%),
    linear-gradient(172deg, #1F3157 0%, #0E1524 85%);
  padding-block: 1.75rem 4rem;
}
.fall-kopf h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); letter-spacing: -.03em; max-width: 20ch; }
.fall-marken { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1.1rem; }
.fall-marken > span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; padding: .32rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.1); color: #E4E8F0; margin: 0;
}
.fall-marken .symbol { width: 15px; height: 15px; }
.fall-marken .stand { margin-left: 0; color: #E4E8F0; }
.fall-marken .etikett-unbequem { background: #FBEAE8; color: #8C1D16; text-transform: none; letter-spacing: 0; }
.fall-meta { margin-top: 1.4rem; padding-top: 1.2rem; gap: 2rem; }

/* --- Der Fall auf einen Blick -------------------------------------------- */
.blick {
  position: relative; z-index: 2; margin: -2.75rem 0 2rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 20px;
  box-shadow: var(--schatten-hoch); overflow: hidden;
}
.blick-titel {
  margin: 0; padding: 1rem 1.9rem .2rem; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-leise);
}
.blick-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.blick-feld { position: relative; padding: 1.1rem 1.9rem 1.6rem; }
.blick-feld + .blick-feld { border-left: 1px solid var(--linie); }
.blick-feld + .blick-feld::before {
  content: "→"; position: absolute; left: -.85rem; top: 1.15rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--weiss); border: 1px solid var(--linie);
  color: var(--kat-farbe, var(--navy)); font-weight: 700; font-size: .9rem;
}
.blick-nr {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; font-size: .78rem; font-weight: 700; margin-bottom: .55rem;
  background: var(--papier-2); color: var(--text-leise);
}
.blick-feld h2 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-leise); font-weight: 700; margin: 0 0 .45rem;
}
.blick-feld p { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.blick-bewirkt { background: color-mix(in srgb, var(--kat-farbe, var(--navy)) 7%, var(--weiss)); }
.blick-bewirkt .blick-nr { background: var(--kat-farbe, var(--navy)); color: #fff; }
.blick-bewirkt h2 { color: var(--kat-farbe, var(--navy)); }
.blick-bewirkt p { font-weight: 700; }

.blick-fuss {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; align-items: center;
  padding: 1.35rem 1.9rem; border-top: 1px solid var(--linie); background: var(--papier);
}
.blick-zahl strong {
  display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1; color: var(--kat-farbe, var(--navy));
  font-variant-numeric: tabular-nums;
}
.blick-zahl .einheit { font-size: 1.1rem; font-weight: 700; margin-left: .3rem; letter-spacing: 0; }
.blick-zahl > span { display: block; font-size: .88rem; color: var(--text-leise); margin-top: .4rem; max-width: 38ch; }
.blick-wandel {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.1rem;
  margin-left: auto;
}
.blick-wandel-seite span {
  display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .09em;
  font-weight: 700; color: var(--text-leise);
}
.blick-wandel-seite strong { display: block; font-size: 1rem; color: var(--text-leise); font-weight: 600; max-width: 24ch; line-height: 1.3; }
.blick-wandel-seite.ist-heute strong { color: var(--text); font-weight: 800; font-size: 1.1rem; }
.blick-wandel-pfeil { font-size: 1.5rem; font-weight: 700; color: var(--kat-farbe, var(--navy)); }

/* --- So funktioniert es -------------------------------------------------- */
.ablaufband { margin-bottom: 2.75rem; }
.ablaufband-kopf { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: baseline; margin-bottom: 1.1rem; }
.ablaufband-kopf h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); font-weight: 800; }
.ablaufband-kopf p { margin: 0; color: var(--text-leise); font-size: .98rem; }
.ablaufband-kopf p strong { color: var(--text); }
.ablauf-schritte {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.schritt {
  position: relative; display: flex; flex-direction: column; gap: .4rem;
  padding: 1.1rem 1.15rem 1.2rem; border-radius: 16px;
  background: var(--weiss); border: 2px solid var(--linie);
  box-shadow: var(--schatten);
}
.schritt:not(:last-child)::after {
  content: "→"; position: absolute; right: -1.15rem; top: 50%; transform: translateY(-50%);
  width: 1rem; text-align: center; font-weight: 700; color: var(--text-leise); z-index: 1;
}
.schritt-kopf { display: flex; align-items: center; gap: .5rem; margin-bottom: .2rem; }
.schritt-nr {
  width: 1.65rem; height: 1.65rem; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; background: var(--papier-2); color: var(--text-leise); flex: none;
}
.schritt-wer {
  display: inline-flex; align-items: center; gap: .3rem; margin-left: auto;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: .2rem .55rem; border-radius: 999px; background: var(--papier-2); color: var(--text-leise);
}
.schritt-wer .symbol { width: 13px; height: 13px; }
.schritt strong { font-size: 1.02rem; line-height: 1.3; }
.schritt-text { font-size: .9rem; line-height: 1.5; color: var(--text-leise); }

.schritt.wer-daten { background: var(--wer-daten-flaeche); border-color: var(--wer-daten-rand); }
.schritt.wer-daten .schritt-wer { background: #E4E1D6; color: var(--wer-daten-text); }
.schritt.wer-programm { border-color: var(--wer-programm-rand); }
.schritt.wer-programm .schritt-wer { background: #E6EAF2; color: #1C2B4A; }
.schritt.wer-ki {
  background: linear-gradient(160deg, #24365C, #0E1524); border-color: var(--gold-hell); color: #fff;
}
.schritt.wer-ki .schritt-text { color: #C7D0E0; }
.schritt.wer-ki .schritt-nr { background: rgba(255,255,255,.14); color: #fff; }
.schritt.wer-ki .schritt-wer { background: var(--gold-hell); color: #1A1405; }
.schritt.wer-mensch { background: var(--wer-mensch-flaeche); border-color: var(--wer-mensch-rand); }
.schritt.wer-mensch .schritt-text { color: #35503F; }
.schritt.wer-mensch .schritt-wer { background: var(--wer-mensch-rand); color: #fff; }
.schritt.wer-mensch strong { color: var(--wer-mensch-text); }
.legende-ablauf { margin: 1rem 0 0; }

/* --- Rest der Fallseite -------------------------------------------------- */
.kennzahlen { margin-bottom: 2.5rem; }
ol.lektionen { counter-reset: lektion; list-style: none; padding: 0; margin: 0; }
ol.lektionen li {
  counter-increment: lektion; padding: 1rem 1.2rem 1rem 3.4rem; margin-bottom: .7rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 12px; max-width: 74ch;
}
ol.lektionen li::before {
  content: counter(lektion); left: 1rem; top: 1rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--kat-farbe, var(--navy)) 12%, transparent);
  color: var(--kat-farbe, var(--navy)); font-size: .82rem; font-weight: 800;
}
.rechnung-text { font-size: .88rem; color: var(--text-leise); }
.klappe .figur { margin-bottom: 0; }
.klappe .figur img { box-shadow: none; }

.verwandtgitter { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.verwandtkarte {
  --kat-farbe: var(--navy);
  display: flex; flex-direction: column; gap: .5rem; align-items: flex-start;
  background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--kat-farbe);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.verwandtkarte:hover { transform: translateY(-2px); box-shadow: var(--schatten); }
.verwandtkarte strong { font-size: 1rem; line-height: 1.3; }
.verwandtkarte > span:last-child { font-size: .87rem; color: var(--text-leise); }

.aufruf-gross {
  border: 0; border-radius: 20px; padding: 2.25rem 2.5rem; color: #E4E8F0;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(240,185,74,.2), transparent 62%),
    linear-gradient(172deg, #1F3157 0%, #0E1524 100%);
}
.aufruf-gross h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.aufruf-gross p { color: #C7D0E0; }

/* --- Im Alltag ----------------------------------------------------------- */
.alltaggitter { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.alltag {
  --kat-farbe: var(--navy);
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--kat-farbe);
  border-radius: var(--radius); padding: 1.15rem 1.3rem 1rem; box-shadow: var(--schatten);
}
.alltag[hidden] { display: none; }
.alltag-auftrag { margin: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.alltag-ergebnis { margin: 0; font-size: .93rem; color: var(--text-leise); line-height: 1.5; }
.alltag-meta {
  display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin: .4rem 0 0;
  font-size: .74rem; color: var(--text-leise);
}
.alltag-art {
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--kat-farbe);
}
.alltag-dauer::before { content: "⏱ "; }
.alltaggitter-dunkel .alltag {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12);
  border-left-color: var(--kat-farbe); box-shadow: none; color: #E4E8F0;
}
.alltaggitter-dunkel .alltag-ergebnis, .alltaggitter-dunkel .alltag-meta { color: #B4C0D6; }
.alltaggitter-dunkel .alltag-art { color: var(--gold-hell); }
.mehr-zeile-hell a { color: var(--gold-hell); }

/* --- Schmale Bildschirme ------------------------------------------------- */
@media (max-width: 900px) {
  .held-raster { grid-template-columns: minmax(0, 1fr); }
  .blick-feld + .blick-feld { border-left: 0; border-top: 1px solid var(--linie); }
  .blick-feld + .blick-feld::before { content: "↓"; left: 1.9rem; top: -.85rem; }
  .blick-wandel { margin-left: 0; }
  .filter-name { flex-basis: 100%; }
}
@media (max-width: 620px) {
  .held h1 { max-width: none; }
  .held-rechts { padding: 1.25rem; }
  .wandelgitter, .einsatzgitter, .kachelgitter { grid-template-columns: minmax(0, 1fr); }
  .zweispalter { grid-template-columns: minmax(0, 1fr); }
  .tafel { padding: 1.35rem; }
  .blick { margin-top: -2rem; border-radius: 16px; }
  .blick-titel, .blick-feld, .blick-fuss { padding-inline: 1.25rem; }
  .blick-feld + .blick-feld::before { left: 1.25rem; }
  .ablauf-schritte { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .schritt:not(:last-child)::after {
    content: "↓"; right: auto; left: 50%; top: auto; bottom: -1.45rem; transform: translateX(-50%);
  }
  .aufruf-gross { padding: 1.6rem 1.4rem; }
  .wandel-zeile { grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .5rem; }
  .umschalter-knopf { padding: .5rem .9rem; font-size: .84rem; }
  .einstiegsliste li { min-width: 0; }
  .einstiegsliste a { min-width: 0; }
  .einstieg-aufwand { margin-left: 0; flex-basis: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .mit-skript [data-einblenden] > * { opacity: 1; transform: none; transition: none; }
  .wandel-balken span, .anteil, .verlauf-linie { transition: none !important; }
  .mit-skript [data-einblenden]:not(.ist-sichtbar) .wandel-balken span { width: var(--anteil, 0%); }
  .mit-skript [data-einblenden]:not(.ist-sichtbar) .anteil { width: var(--anteil); }
  .mit-skript [data-einblenden] .verlauf-linie { stroke-dashoffset: 0; }
  .wechsel-blatt.ist-aktiv { animation: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .held-rechts, .umschalter, .held-knoepfe { display: none; }
  .band { background: #fff; color: #000; }
}

/* --- Dunkles Systemthema, Ergaenzungen ----------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --wer-daten-flaeche:    #262B38;
    --wer-daten-rand:       #5C6577;
    --wer-daten-text:       #C9CFDB;
    --wer-programm-flaeche: #171D28;
    --wer-programm-rand:    #7FA3DC;
    --wer-programm-text:    #E4E8F0;
    --wer-mensch-flaeche:   #16261D;
    --wer-mensch-rand:      #3E9B6A;
    --wer-mensch-text:      #9FD8B7;
    --rot-hell:             #4A1D18;
  }
  .band { background: #0B0F17; }
  .band-hell { background: #161B26; }
  .held, .fall-kopf, .aufruf-gross {
    background:
      radial-gradient(800px 360px at 90% 0%, rgba(224,166,60,.14), transparent 62%),
      linear-gradient(172deg, #1A2334 0%, #0B0F17 85%);
  }
  .umschalter-knopf.ist-aktiv { background: #E4E8F0; color: #12161F; }
  .etikett-unbequem, .fall-marken .etikett-unbequem { background: #4A1D18; color: #FFC9C2; }
  .beleg-ja   { background: #173424; color: #9FD8B7; }
  .beleg-nein { background: #3A2E12; color: #F0C977; }
  .schritt.wer-daten .schritt-wer { background: #333948; }
  .schritt.wer-programm .schritt-wer { background: #24304A; color: #C7D6F2; }
  .schritt.wer-mensch .schritt-text { color: #A9C4B4; }
  .wandel-balken span { background: #4A5468; }
  .blick-fuss { background: #141923; }
  .anteil.wer-ki { background: #24365C; }
}
