/* gebündelt von berufsbildung/bauen_bb.py */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Phase 5 (2026-05-21): Inter @font-face declarations entfernt.
   Sub-Pages erben Geist via :root --font, kein expliziter Inter-Verweis vorhanden.
   Inter woff2-Dateien aus fonts/ gelöscht. */



/* ==========================================================================
   trainexus-tokens.css — die einzige Quelle für Farbe, Schrift und Maß.
   Gilt für: Anwendung, Website, Angebote, Anlagen, Handbücher.

   Diese Datei wird NICHT im Zielprojekt bearbeitet. Sie wird aus
   trainexus_ci/ verteilt (siehe verteilen.sh). Änderungen immer hier.

   Grundregeln in einem Satz:
     Blau ist Identität, Violett ist Handlung, Versalien gibt es nicht,
     Schriftgrößen gibt es fünf, und jede Farbfläche muss druckbar sein.

   Ausführlich: REGELN.md
   ========================================================================== */

:root {
  /* ---- Markenblau — abgetastet aus logo/logo_trainexus.png ---------------
     Die drei Töne liegen bei einem Farbwinkel um 200 Grad und bilden eine
     geschlossene Familie. Sie sind die Identität, nicht die Handlung.      */
  --tx-blau-hell:        #2AA9E1;   /* Fläche, Diagramme. NIE weißer Text
                                       darauf — Kontrast nur 2,7 : 1.      */
  --tx-blau:             #006DB6;   /* Primärfarbe. Weiß darauf 5,4 : 1     */
  --tx-blau-tief:        #10496D;   /* dunkle Flächen. Weiß darauf 9,6 : 1  */

  /* ---- Handlung — Schaltflächen, aktive Zustände, Auswahl ---------------
     Nur am Bildschirm. In gedruckten Dokumenten kommt diese Farbe kaum vor,
     weil es dort nichts zu klicken gibt.                                   */
  --tx-handlung:         #5D4FD6;
  --tx-handlung-stark:   #8b5cf6;

  /* ---- Starke Akzente — je Rolle, nicht nach Geschmack ------------------ */
  --tx-teal:             #00706A;   /* Datenschutz, Sicherheit   5,9 : 1    */
  --tx-orange:           #B05400;   /* Anleitung, Schulung       5,1 : 1    */
  --tx-beere:            #B4005A;   /* Grenze, das klare Nein    6,8 : 1    */

  /* ---- Neutrale — mit Blaustich, nicht neutralgrau ---------------------- */
  --tx-tinte:            #12212E;   /* Fließtext. Dunkles Blau statt Schwarz */
  --tx-grau:             #5A6875;   /* Nebentext, Kopf- und Fußzeile        */
  --tx-linie:            #D5DDE4;   /* Trennlinien, Tabellenränder          */
  --tx-flaeche:          #F2F6F9;   /* Hintergrund, Hinweiskästen           */
  --tx-weiss:            #FFFFFF;

  /* ---- Bedeutung — nur im Innenteil, nie auf Deckblättern --------------- */
  --tx-zugesichert:      #12775A;   /* was das System heute kann            */
  --tx-vorbehalt:        #A86400;   /* in Arbeit, offen, zu bestätigen      */
  --tx-ausgeschlossen:   #B4005A;   /* ausdrücklich nicht Bestandteil       */

  /* ---- Dokumentgattung — nur auf Deckblättern ---------------------------
     Das Deckblatt trägt die Farbe, der Innenteil ist bei allen gleich.    */
  --tx-gattung-angebot:      var(--tx-blau);
  --tx-gattung-vertrag:      var(--tx-blau-tief);
  --tx-gattung-datenschutz:  var(--tx-teal);
  --tx-gattung-anleitung:    var(--tx-orange);

  /* ---- Schrift — fünf Größen, drei Gewichte, keine Versalien ------------
     Unterschieden wird über Gewicht und Farbe, nicht über neue Größen.
     Kursiv wird nicht verwendet, Unterstreichung nur für Links.           */
  --tx-font:      'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tx-font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --tx-t1: 24pt;    --tx-t1-web: 32px;   /* Titel         · 700 */
  --tx-t2: 17pt;    --tx-t2-web: 25px;   /* Überschrift   · 600 */
  --tx-t3: 11.5pt;  --tx-t3-web: 18px;   /* Zwischentitel · 600 */
  --tx-t4: 10pt;    --tx-t4-web: 16px;   /* Fließtext     · 400 */
  --tx-t5: 8.5pt;   --tx-t5-web: 13px;   /* Klein         · 400
                                            Untergrenze: darunter bricht
                                            weißer Text auf Farbe im Druck
                                            weg.                          */
  --tx-gewicht-text:  400;
  --tx-gewicht-halb:  600;
  --tx-gewicht-fett:  700;
  --tx-zeilenhoehe:   1.55;

  /* ---- Maß -------------------------------------------------------------- */
  --tx-radius:      10px;
  --tx-radius-klein: 6px;
  --tx-rand-druck:  8mm;   /* weißer Rand um jedes Farbfeld. Kein Bürodrucker
                              druckt randabfallend — er lässt ringsum etwa
                              5 mm weiß. Ein eingerücktes Farbfeld sieht am
                              Bildschirm und im Ausdruck gleich aus.        */
}

/* ==========================================================================
   Ableitungen. Die Anwendung berechnet ihre Flächen und Ränder bereits per
   color-mix aus einem einzigen Akzentwert — dieses Muster gilt überall.
   ========================================================================== */
:root {
  --tx-blau-flaeche: color-mix(in srgb, var(--tx-blau)  6%, transparent);
  --tx-blau-rand:    color-mix(in srgb, var(--tx-blau) 18%, transparent);
}

/* ==========================================================================
   Mandanten der Anwendung.
   Die drei Kundenmarken sind unverändert — ihre Farbe stammt aus dem
   jeweiligen Kundenlogo und wird hier nur gespiegelt, nicht bestimmt.
   Neu ist die Trennung bei `commercial`: dort hängt das Trainexus-Logo,
   also trägt die Identität das Logoblau. Die Handlung bleibt violett.
   ========================================================================== */
.brand-commercial {
  --marke:          var(--tx-blau);
  --accent:         var(--tx-handlung);
  --accent-strong:  var(--tx-handlung-stark);
}
.brand-university { --marke: #16a34a; }   /* Zentrum für Hochschullehre    */
.brand-knoll      { --marke: #2E7DBB; }   /* Steuerrechts-Institut KNOLL   */
.brand-sgb        { --marke: #B7102B; }   /* Inside Partner GmbH           */

/* ==========================================================================
   Druck. Ohne diese Regel druckt der Browser jede Farbfläche weiß.
   Auf jede Farbfläche setzen — Deckblattfeld, Tabellenkopf, Hinweiskasten.
   ========================================================================== */
.tx-feld {
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

/* Farbflächen sind Volltonfarben. Verläufe werden im PDF zu Schattierungs-
   objekten, die manche Druckertreiber streifig ausgeben oder weglassen.
   Wird doch einer gebraucht, gehört er als 300-dpi-Bild eingebettet — nicht
   als CSS-Regel, die erst beim Drucken berechnet wird. */

/* Prototyp Seitentypen 2026-11: dunkel zuerst, Glasflächen, Bewegung als Zugabe.
   Farben aus tokens.css (Blau = Identität, Violett = Handlung), keine Versalien, fünf Schriftgrößen
   plus eine Bühnengröße für die H1. Ohne JavaScript ist jeder Inhalt sichtbar. */

:root {
  color-scheme: dark;
  --bg: #07121b;
  --bg-2: #0b1a26;
  --text: #e8f1f7;
  --text-dim: #a9bccb;
  --line: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .055);
  --glass-stark: rgba(255, 255, 255, .09);
  --glass-rand: rgba(255, 255, 255, .14);
  --glanz: rgba(255, 255, 255, .22);
  --blau: #4fb6e8;
  --kicker: #8fd0f0;
  --blau-tief: var(--tx-blau-tief);
  --aktion: #6236ff;
  --aktion-2: #a136f5;
  --aktion-hover: #7147ff;
  --aktion-text: #fff;
  --gut: #4cc59a;
  --teal: #3fc1b5;
  --orange: #f0a35c;
  --blob-1: rgba(42, 169, 225, .38);
  --blob-2: rgba(109, 95, 240, .34);
  --blob-3: rgba(0, 160, 150, .22);
  --schatten: 0 24px 70px rgba(0, 0, 0, .45);
  --maxw: 1160px;
  --t-buehne: clamp(32px, 4.1vw, 52px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f8fb;
  --bg-2: #e9f1f7;
  --text: #0e1b26;
  --text-dim: #4a5d6c;
  --line: rgba(16, 73, 109, .14);
  --glass: rgba(255, 255, 255, .62);
  --glass-stark: rgba(255, 255, 255, .8);
  --glass-rand: rgba(16, 73, 109, .14);
  --glanz: rgba(255, 255, 255, .9);
  --blau: var(--tx-blau);
  --kicker: var(--tx-blau-tief);
  --aktion: #5a2ff0;
  --aktion-2: #9b2ee8;
  --aktion-hover: #4c22d6;
  --gut: #12775A;
  --gut-text: #0b5e47;
  --teal: var(--tx-teal);
  --orange: var(--tx-orange);
  --blob-1: rgba(42, 169, 225, .30);
  --blob-2: rgba(109, 95, 240, .20);
  --blob-3: rgba(0, 160, 150, .16);
  --schatten: 0 24px 60px rgba(16, 73, 109, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--tx-font);
  font-size: var(--tx-t4-web);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t-buehne); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--tx-t1-web); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: var(--tx-t3-web); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
.klein { font-size: var(--tx-t5-web); color: var(--text-dim); }
.dim { color: var(--text-dim); }
.breit { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.abschnitt { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.kicker { display: inline-flex; gap: 8px; align-items: center; font-size: var(--tx-t5-web); font-weight: 600; color: var(--kicker); margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: var(--tx-t3-web); color: var(--text-dim); max-width: 60ch; font-weight: 400; }

/* Zugänglichkeit */
.sprung { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--aktion); color: #fff; padding: 10px 16px; border-radius: 8px; }
.sprung:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hintergrund: weiche Farbfelder, langsam treibend */
.himmel { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.himmel i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .9; animation: treiben 28s var(--ease) infinite alternate; }
.himmel i:nth-child(1) { width: 52vw; height: 52vw; left: -12vw; top: -14vw; background: var(--blob-1); }
.himmel i:nth-child(2) { width: 46vw; height: 46vw; right: -14vw; top: 18vh; background: var(--blob-2); animation-duration: 34s; animation-delay: -8s; }
.himmel i:nth-child(3) { width: 40vw; height: 40vw; left: 20vw; bottom: -22vw; background: var(--blob-3); animation-duration: 40s; animation-delay: -16s; }
.himmel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0, var(--bg) 92vh); }
@keyframes treiben { to { transform: translate3d(6vw, 4vh, 0) scale(1.08); } }

/* Glas */
.glas {
  background: linear-gradient(160deg, var(--glass-stark), var(--glass));
  border: 1px solid var(--glass-rand);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 var(--glanz), var(--schatten);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glas { background: var(--bg-2); }
}

/* Kopf */
.kopf { position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; max-width: calc(var(--maxw) - 8px); width: calc(100% - 24px); border-radius: 16px; }
.kopf .breit { display: flex; align-items: center; gap: 20px; min-height: 60px; padding-inline: 16px; }
.marke { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--text); text-decoration: none; font-size: var(--tx-t3-web); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text-dim); text-decoration: none; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--glass); }
.thema { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--glass-rand); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease); }
.thema:hover { transform: rotate(-18deg); }
.thema svg { width: 18px; height: 18px; }
/* Menü für schmale Bildschirme (Paul 11.11.2026): Knopf rechts, Liste klappt im Kopf auf (bb.js).
   Ohne Skript steht die Navigation als eigene Zeile unter dem Kopf. */
.menue { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--glass-rand); background: transparent; color: var(--text); cursor: pointer; place-items: center; flex: none; }
.menue svg { width: 20px; height: 20px; }
.menue .zu, .kopf.offen .menue .auf { display: none; }
.kopf.offen .menue .zu { display: inline; }
.menue:focus-visible, .thema:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }
@media (max-width: 860px) {
  .kopf .breit { flex-wrap: wrap; }
  .kopf .knopf { margin-left: auto; }
  .nav { order: 9; flex-basis: 100%; margin-left: 0; flex-wrap: wrap; padding-bottom: 10px; }
  .js .menue { display: grid; }
  .js .nav { display: none; }
  .js .kopf.offen .nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 12px; border-top: 1px solid var(--glass-rand); }
  .js .kopf.offen .nav a { padding: 12px 10px; font-size: var(--tx-t4-web, 1.05rem); color: var(--text); }
}
/* Hell/dunkel steht auf dem Handy als Zeile im Menü (bb.js legt sie an), damit der Kopf in eine Zeile passt */
.nav-thema { display: none; font: inherit; text-align: left; color: var(--text-dim); background: transparent; border: 0; border-top: 1px solid var(--glass-rand); padding: 12px 10px; margin-top: 4px; cursor: pointer; }
@media (max-width: 560px) {
  .js .kopf .breit > .thema { display: none; }
  .js .kopf.offen .nav-thema { display: block; }
}
@media (max-width: 380px) {
  .kopf .breit { padding-inline: 10px; gap: 8px; }
  .marke { gap: 8px; font-size: var(--tx-t4-web, 1.05rem); }
  .marke img { width: 26px; height: 26px; }
  .kopf .knopf { padding: 8px 10px; font-size: var(--tx-t5-web); }
  .menue { width: 36px; height: 36px; }
}
/* Sehr schmal (320 px): nur das Logo, der Name bleibt für Screenreader im Link */
@media (max-width: 350px) { .marke { font-size: 0; gap: 0; } }

/* Knöpfe mit Lichtkante und Druckzustand */
.knopf {
  --x: 50%; --y: 50%;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--aktion), var(--aktion-2)); color: var(--aktion-text); font: inherit; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
  box-shadow: 0 12px 36px color-mix(in srgb, var(--aktion-2) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.3);
  isolation: isolate; overflow: hidden;
}
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(160px circle at var(--x) var(--y), rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .25s; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 16px 44px color-mix(in srgb, var(--aktion-2) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.3); }
.knopf:hover::before { opacity: 1; }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf .pfeil { transition: transform .25s var(--ease); }
.knopf:hover .pfeil { transform: translateX(4px); }
.knopf.leise { background: var(--glass); color: var(--text); border: 1px solid var(--glass-rand); box-shadow: none; }
.knopf.leise:hover { background: var(--glass-stark); }
.kopf .knopf { padding: 9px 16px; border-radius: 12px; white-space: nowrap; }
@media (max-width: 420px) { .kopf .breit { gap: 10px; } .kopf .knopf { padding: 9px 12px; } }

/* Bühne: Text links, laufender Dialog rechts */
.buehne { padding-block: clamp(48px, 8vw, 96px) 40px; }
.buehne .breit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.buehne .lead + .lead { margin-top: -.2em; }
.dialog { margin: 0; padding: 12px; border-radius: 26px; display: grid; gap: 12px; }
.dialog .kachel { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; }
.dialog .kachel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.32); transform-origin: 50% 8%; }
.dialog .name, .dialog .status { position: absolute; padding: 6px 12px; border-radius: 12px; font-size: var(--tx-t5-web); background: rgba(7, 18, 27, .72); color: #e8f1f7; border-color: rgba(255,255,255,.16); box-shadow: none; }
.dialog .name { left: 12px; bottom: 12px; }
.dialog .status { right: 12px; top: 12px; display: flex; gap: 8px; align-items: center; transition: opacity .3s; }
.dialog .status.still .pegel b { animation: none; height: 4px; }
.chat { list-style: none; margin: 0; padding: 6px 6px 2px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 252px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px); mask-image: linear-gradient(180deg, transparent 0, #000 90px); }
.chat li { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: var(--tx-t5-web); line-height: 1.5; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.chat .av { align-self: flex-start; background: var(--glass-stark); border: 1px solid var(--glass-rand); border-bottom-left-radius: 6px; }
.chat .du { align-self: flex-end; background: linear-gradient(135deg, var(--aktion), var(--aktion-2)); color: #fff; border-bottom-right-radius: 6px; }
.chat .du::before { content: "Du · Transkript"; display: block; font-size: 11px; opacity: .8; margin-bottom: 2px; }
.chat .av::before { content: "Dr. Albers"; display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 2px; }
.js .chat li.wartet { display: none; }
.chat li.neu { opacity: 0; transform: translateY(10px); }
.chat .tippt { align-self: flex-start; display: inline-flex; gap: 4px; padding: 14px 16px; }
.chat .tippt i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); animation: punkte 1.2s infinite; }
.chat .tippt i:nth-child(2) { animation-delay: .15s; } .chat .tippt i:nth-child(3) { animation-delay: .3s; }
@keyframes punkte { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.dialog figcaption { padding: 0 8px 4px; }
.pegel { display: inline-flex; gap: 3px; align-items: end; height: 16px; }
.pegel b { width: 3px; border-radius: 2px; background: var(--tx-blau-hell); animation: pegel 1s ease-in-out infinite; }
.pegel b:nth-child(2) { animation-delay: -.2s; } .pegel b:nth-child(3) { animation-delay: -.4s; } .pegel b:nth-child(4) { animation-delay: -.6s; }
@keyframes pegel { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@media (max-width: 960px) { .buehne .breit { grid-template-columns: minmax(0, 1fr); } }

/* Kapsel-Symbole: Linien zeichnen sich, jedes Zeichen bewegt sich nach seiner Bedeutung */
.kapseln { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 22px; list-style: none; margin: 0; }
.kapsel { display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; padding: 10px 6px; border-radius: 14px; }
.kapsel svg { width: 58px; height: 84px; overflow: visible; }
.kapsel .huelle { fill: none; stroke: var(--glass-rand); stroke-width: 1.6; transition: stroke .4s; }
.kapsel:hover .huelle { stroke: var(--blau); }
.kapsel .zeichen { fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.js .kapsel .zeichen { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.js .kapsel.da .zeichen { stroke-dashoffset: 0; }
.kapsel.da .zeichen:nth-of-type(2) { transition-delay: .15s; } .kapsel.da .zeichen:nth-of-type(3) { transition-delay: .3s; } .kapsel.da .zeichen:nth-of-type(4) { transition-delay: .45s; } .kapsel.da .zeichen:nth-of-type(5) { transition-delay: .6s; }
.kapsel .welle, .kapsel .haken, .kapsel .wort { stroke: var(--blau); }
.kapsel.da .welle { animation: welle 2.4s 1.2s ease-in-out infinite; }
.kapsel.da .welle + .welle { animation-delay: 1.5s; }
@keyframes welle { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.kapsel .gedanke { stroke: var(--text-dim); }
.kapsel:hover .wort { animation: schreiben 1.2s var(--ease); }
@keyframes schreiben { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.kapsel:hover .haken { animation: schreiben .8s var(--ease); }
.kapsel .dreh { transform-origin: 29px 42px; transition: transform 1s var(--ease); }
.kapsel:hover .dreh, .kapsel.da .dreh { transform: rotate(360deg); }
.kapsel .zeiger { transform-origin: 29px 42px; transition: transform 1.6s var(--ease); }
.kapsel:hover .zeiger, .kapsel.da .zeiger { transform: rotate(270deg); }
.kapsel strong { font-size: var(--tx-t4-web); font-weight: 600; }
.kapsel span { font-size: var(--tx-t5-web); color: var(--text-dim); line-height: 1.45; }
@media (max-width: 860px) { .kapseln { grid-template-columns: repeat(2, 1fr); } }

/* Schaubild: einzelne Person */
.schaubild { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; margin-top: 36px; }
.schaubild > .glas { padding: clamp(20px, 3vw, 32px); }
.sorgen-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.sorgen-kopf h3 { margin: 0; font-size: var(--tx-t2-web); }
.frist { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: var(--tx-t5-web); font-weight: 600; color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent); }
.sorgen { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.sorgen li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: color-mix(in srgb, var(--orange) 9%, transparent); border: 1px solid color-mix(in srgb, var(--orange) 28%, transparent); transition: background .6s var(--ease), border-color .6s var(--ease); }
.sorgen q { font-size: var(--tx-t3-web); font-weight: 600; quotes: "„" "“"; }
.sorgen .loesung { display: block; margin-top: 4px; font-size: var(--tx-t5-web); color: var(--text-dim); }
.js .sorgen .loesung { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .6s var(--ease), opacity .6s, margin .6s; }
.zeichen-sorge { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--orange); position: relative; transition: border-color .5s, background .5s; }
.zeichen-sorge::before { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--orange); transition: opacity .3s; }
.zeichen-sorge::after { content: ""; position: absolute; left: 11px; top: 6px; width: 8px; height: 14px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg) scale(0); transition: transform .4s .15s var(--ease); }
.sorgen li.geloest { background: color-mix(in srgb, var(--gut) 10%, transparent); border-color: color-mix(in srgb, var(--gut) 35%, transparent); }
.sorgen li.geloest q { color: var(--text-dim); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--gut) 70%, transparent); text-decoration-thickness: 2px; }
.sorgen li.geloest .zeichen-sorge { border-color: var(--gut); background: var(--gut); }
.sorgen li.geloest .zeichen-sorge::before { opacity: 0; }
.sorgen li.geloest .zeichen-sorge::after { transform: rotate(45deg) scale(1); }
.js .sorgen li.geloest .loesung { max-height: 4em; opacity: 1; margin-top: 4px; color: var(--text); }
.runde-band { margin-top: 24px; padding: clamp(20px, 3vw, 28px); border-radius: 20px; }
.runde-band h3 { margin-bottom: 16px; }
.runde-band ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.runde-band li { position: relative; padding: 16px; border-radius: 16px; border: 1px solid var(--glass-rand); background: var(--glass); transition: border-color .4s, background .4s, transform .4s var(--ease); }
.runde-band li b { display: block; }
.runde-band li span { font-size: var(--tx-t5-web); color: var(--text-dim); }
.runde-band li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--text-dim); z-index: 1; }
.runde-band li:last-child::after { content: "↺ zurück zu Verbalisieren"; display: block; margin-top: 6px; font-size: 12px; color: var(--blau); }
.runde-band li.an { border-color: var(--blau); background: color-mix(in srgb, var(--blau) 16%, var(--bg-2)); transform: translateY(-3px); }
@media (max-width: 760px) { .runde-band ol { grid-template-columns: 1fr 1fr; } .runde-band li:nth-child(2)::after { display: none; } }
.verlauf svg { width: 100%; height: auto; overflow: visible; }
.verlauf .achse { stroke: var(--line); stroke-width: 1.5; }
.verlauf .kurve { fill: none; stroke: url(#kurvenfarbe); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.verlauf .flaeche { fill: url(#flaechenfarbe); opacity: 0; transition: opacity 1.2s .8s; }
.verlauf.da .kurve { stroke-dashoffset: 0; }
.verlauf.da .flaeche { opacity: 1; }
.verlauf .ziel { stroke: var(--gut); stroke-dasharray: 4 6; stroke-width: 1.5; }
.verlauf text { fill: var(--text-dim); font-size: 13px; font-family: var(--tx-font); }
.verlauf .marke-punkt { fill: var(--bg); stroke: var(--blau); stroke-width: 3; transition: r .3s var(--ease), fill .3s; }
.verlauf .marke-punkt.an { fill: var(--blau); r: 10; }
.runden { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-rand); width: fit-content; margin: 18px 0 14px; position: relative; }
.runden button { position: relative; z-index: 1; border: 0; background: transparent; color: var(--text-dim); font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: color .25s; }
.runden button[aria-pressed="true"] { color: #fff; }
.runden .schieber { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 10px; background: linear-gradient(135deg, var(--aktion), var(--aktion-2)); transition: left .35s var(--ease), width .35s var(--ease); }
.rundentext { min-height: 5.2em; }
.rundentext h3 { margin-bottom: .3em; }
.schaubild > *, .gruppe > *, .ablauf > * { min-width: 0; }
@media (max-width: 960px) { .schaubild { grid-template-columns: minmax(0, 1fr); } }

/* Ablauf mit mitlaufendem Bild */
.ablauf { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); margin-top: 36px; }
.ablauf .buehnenbild { position: sticky; top: 110px; align-self: start; padding: 10px; border-radius: 22px; height: min(560px, 72vh); }
.ablauf .buehnenbild figure { position: absolute; inset: 10px; margin: 0; overflow: hidden; border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.ablauf .buehnenbild figure.an { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ablauf .buehnenbild img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 14px; }
.ablauf .buehnenbild figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 10px; font-size: var(--tx-t5-web); background: rgba(7, 18, 27, .8); color: #e8f1f7; border-color: rgba(255,255,255,.16); box-shadow: none; }
.mock { height: 100%; padding: 22px; border-radius: 14px; background: var(--bg-2); display: flex; flex-direction: column; gap: 12px; }
.ablauf > ol > li > .mock { display: none; margin-top: 14px; height: auto; }
.mock-kopf { margin: 0; font-size: var(--tx-t5-web); font-weight: 600; color: var(--text-dim); }
.chat.statisch { height: auto; -webkit-mask-image: none; mask-image: none; padding: 0; flex: 1; justify-content: flex-start; }
.chat.statisch li { font-size: var(--tx-t4-web); }
.chat .bot::before { content: "Chatbot"; }
.mock-fertig { padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--gut) 45%, transparent); background: color-mix(in srgb, var(--gut) 10%, transparent); }
.mock-fertig strong { display: block; color: var(--gut-text, var(--gut)); }
.mock-fertig span { font-size: var(--tx-t5-web); color: var(--text-dim); }
.ablauf > ol { list-style: none; padding: 0; margin: 0; counter-reset: schritt; }
.ablauf > ol > li { counter-increment: schritt; padding: 30px 30px 30px 96px; margin-bottom: 18px; position: relative; border-radius: 22px; border: 1px solid transparent; transition: background .4s, border-color .4s; min-height: 34vh; }
.ablauf > ol > li::before { content: counter(schritt); position: absolute; left: 28px; top: 30px; width: 46px; height: 46px; border-radius: 14px; font-size: var(--tx-t3-web); display: grid; place-items: center; font-weight: 700; border: 1px solid var(--glass-rand); color: var(--text-dim); transition: background .4s, color .4s; }
.ablauf > ol > li.an { background: var(--glass); border-color: var(--glass-rand); }
.ablauf > ol > li > h3 { font-size: var(--tx-t2-web); }
.ablauf > ol > li > p { font-size: var(--tx-t3-web); line-height: 1.55; }
.ablauf > ol > li.an::before { background: linear-gradient(135deg, var(--aktion), var(--aktion-2)); color: #fff; border-color: transparent; }
.ablauf .dauer { display: inline-block; margin-bottom: 10px; font-size: var(--tx-t4-web); color: var(--blau); font-weight: 600; }
.ablauf > ol > li > img { display: none; border-radius: 12px; margin-top: 14px; }
@media (max-width: 860px) {
  .ablauf { grid-template-columns: 1fr; }
  .ablauf .buehnenbild { display: none; }
  .ablauf > ol > li { min-height: 0; }
  .ablauf > ol > li > img, .ablauf > ol > li > .mock { display: block; }
  .ablauf > ol > li > .mock { display: flex; }
}

/* Feedback-Muster */
.feedback { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.feedback article { padding: 22px; border-radius: 18px; }
.feedback h3 { display: flex; gap: 10px; align-items: center; }
.feedback h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--farbe, var(--blau)); }
.feedback blockquote { margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid var(--farbe, var(--blau)); background: var(--glass); border-radius: 0 10px 10px 0; font-size: var(--tx-t5-web); }
@media (max-width: 760px) { .feedback { grid-template-columns: 1fr; } }

/* Stimmen */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stimmen figure { margin: 0; padding: 24px; border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: transform .35s var(--ease); }
.stimmen figure:hover { transform: translateY(-4px); }
.stimmen blockquote { margin: 0; font-size: var(--tx-t3-web); line-height: 1.45; }
.stimmen figcaption { font-size: var(--tx-t5-web); color: var(--text-dim); }
@media (max-width: 860px) { .stimmen { grid-template-columns: 1fr; } }

/* Fragen */
.fragen { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
.fragen details { border-radius: 16px; padding: 0; overflow: hidden; }
.fragen summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim); transform: rotate(45deg); transition: transform .3s var(--ease); flex: none; }
.fragen details[open] summary::after { transform: rotate(225deg); }
.fragen details > div { padding: 0 22px 18px; color: var(--text-dim); }
.fragen details::details-content { transition: height .35s var(--ease), content-visibility .35s allow-discrete; height: 0; overflow: clip; }
.fragen details[open]::details-content { height: auto; }
:root { interpolate-size: allow-keywords; }

/* Handlungsband */
.band { padding: clamp(28px, 5vw, 48px); border-radius: 26px; display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, color-mix(in srgb, var(--aktion) 30%, var(--glass)), var(--glass)); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* Gruppen-Schaubild */
.gruppe { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-top: 36px; }
.gruppe > .glas { padding: clamp(20px, 3vw, 32px); }
.raster { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin: 18px 0; list-style: none; padding: 0; }
.raster li { aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center; }
.raster li svg { width: 100%; height: 100%; overflow: visible; }
.raster .kopfform { fill: var(--glass-stark); stroke: var(--glass-rand); }
.raster .uebung { fill: none; stroke: var(--blau); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1s var(--ease); transform: rotate(-90deg); transform-origin: center; }
.verteilung { position: relative; height: 120px; margin-top: 8px; }
.verteilung svg { width: 100%; height: 100%; overflow: visible; }
.verteilung path { fill: color-mix(in srgb, var(--blau) 28%, transparent); stroke: var(--blau); stroke-width: 2; transition: d .9s var(--ease); }
.verteilung .skala { display: flex; justify-content: space-between; font-size: var(--tx-t5-web); color: var(--text-dim); }
.vergleich { display: grid; gap: 14px; margin-top: 8px; }
.balken { display: grid; gap: 6px; }
.balken .spur { height: 12px; border-radius: 8px; background: var(--glass); border: 1px solid var(--glass-rand); overflow: hidden; }
.balken .fuellung { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--blau), var(--aktion)); transition: width 1.4s var(--ease); }
.balken.alt .fuellung { background: var(--text-dim); }
.da .balken .fuellung { width: var(--w); }
@media (max-width: 960px) { .gruppe { grid-template-columns: minmax(0, 1fr); } .raster { grid-template-columns: repeat(6, 1fr); } }

.schritte4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; list-style: none; padding: 0; counter-reset: s; }
.schritte4 li { padding: 22px; border-radius: 18px; counter-increment: s; position: relative; }
.schritte4 li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--aktion), var(--aktion-2)); color: #fff; font-weight: 700; margin-bottom: 14px; }
@media (max-width: 860px) { .schritte4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .schritte4 { grid-template-columns: 1fr; } }

/* Einblenden beim Scrollen: nur wenn JS läuft (Klasse js am html) */
.js .zeigen { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .zeigen.da { opacity: 1; transform: none; }

.fuss { border-top: 1px solid var(--line); padding-block: 36px 48px; margin-top: 40px; color: var(--text-dim); font-size: var(--tx-t5-web); }
.fuss .breit { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.fuss a { color: var(--text-dim); }
.fuss .spalten { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hinweis-proto { font-size: var(--tx-t5-web); color: var(--text-dim); border: 1px dashed var(--glass-rand); border-radius: 10px; padding: 8px 12px; display: inline-block; margin-top: 12px; }

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  .js .kapsel .zeichen { stroke-dashoffset: 0; }
  .js .sorgen .loesung { max-height: none; opacity: 1; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .zeigen { opacity: 1; transform: none; }
  .verlauf .kurve { stroke-dashoffset: 0; }
  .verlauf .flaeche { opacity: 1; }
  .balken .fuellung { width: var(--w); }
}

/* Nachbesserung 03.11.: schmale Bildschirme, Feedback-Nachbildung */
.mock-feedback > div { padding: 12px 14px; border-radius: 12px; background: var(--glass-stark); border: 1px solid var(--glass-rand); }
.mock-feedback strong { display: block; }
.mock-feedback span { font-size: var(--tx-t5-web); color: var(--text-dim); }
.ablauf .buehnenbild figure[data-bild="3"] .glas { padding: 12px 14px !important; }
@media (max-width: 860px) {
  .ablauf > ol > li { padding: 22px; }
  .ablauf > ol > li::before { position: static; display: grid; margin-bottom: 14px; }
}
@media (max-width: 600px) {
  .runden { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .runden button { padding: 8px 4px; white-space: nowrap; font-size: var(--tx-t5-web); }
  .verlauf text { font-size: 22px; }
  .schaubild > .glas, .gruppe > .glas { padding: 18px; }
}

/* Sprungziele unter dem fixierten Kopf nicht verdecken */
details[id] { scroll-margin-top: 96px; }

/* /berufsbildung: Ergänzungen zum Prototyp-Stil (proto.css). Eigenständig ausgeliefert, damit die
   Seite vor dem Umzug der übrigen Webseite auf www laufen kann. */

.gruss { margin: 18px auto 0; max-width: calc(var(--maxw) - 8px); width: calc(100% - 24px); padding: 14px 18px; border-radius: 16px; display: flex; gap: 12px; align-items: center; }
.gruss strong { color: var(--kicker); }
.gruss p { margin: 0; }

.buehne .aktion { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.buehne .unter { margin: 10px 0 0; }
.buehne .weiter { display: inline-block; margin-top: 18px; font-weight: 600; }

.chat.statisch.bb { gap: 10px; }
.chat.bb .av::before { content: "Prüfungsausschuss"; }
.chat.bb .du::before { content: "Auszubildende · Transkript"; }
/* Zahlen unter dem Einstieg (Paul 11.11.2026: Nutzerzahl nach oben) */
.zahlen { list-style: none; margin: 8px 0 0; padding: 18px clamp(16px, 3vw, 28px); border-radius: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zahlen li { display: grid; gap: 2px; align-content: start; }
.zahlen b { font-size: var(--tx-t2-web, 2rem); line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.zahlen span { color: var(--text-dim); font-size: var(--tx-t5-web); }
.belege .anbieter { margin: 10px 0 0; color: var(--text-dim); }
@media (max-width: 620px) {
  .zahlen { grid-template-columns: 1fr; gap: 8px; }
  .zahlen li { grid-template-columns: 5.5em 1fr; align-items: baseline; gap: 10px; }
  .zahlen b { font-size: var(--tx-t3-web); }
}
.dialog .kachel img.portrait { transform: none; object-position: 50% 20%; }

.schritte4.drei { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .schritte4.drei { grid-template-columns: 1fr; } }
.schritte4 li p { margin: 6px 0 0; color: var(--text-dim); }

.karten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; list-style: none; padding: 0; }
.karten li { padding: 18px 20px; border-radius: 18px; }
.karten li strong { display: block; margin-bottom: 4px; }
.karten li span { color: var(--text-dim); }
.karten li.fuer-sie { border-color: color-mix(in srgb, var(--aktion) 45%, var(--glass-rand)); }
@media (max-width: 760px) { .karten { grid-template-columns: 1fr; } }

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.zwei > .glas { padding: clamp(20px, 3vw, 30px); border-radius: 22px; }
.zwei > .glas > :last-child { margin-bottom: 0; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } }

.preise { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.preise li { padding-left: 16px; border-left: 3px solid var(--blau); }

.wege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.wege a.glas { display: block; padding: 22px; border-radius: 18px; color: var(--text); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.wege a.glas:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--aktion) 55%, var(--glass-rand)); }
.wege strong { display: block; font-size: var(--tx-t3-web); margin-bottom: 4px; }
.wege span { color: var(--text-dim); }
@media (max-width: 860px) { .wege { grid-template-columns: 1fr; } }

.platzhalter { border: 1px dashed var(--glass-rand); border-radius: 18px; padding: 22px; color: var(--text-dim); margin-top: 24px; }

.teilen-zeile { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.teilen-zeile [data-teilen-status] { font-size: var(--tx-t5-web); color: var(--text-dim); }

.wer { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.wer img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }

@media (max-width: 520px) {
  .breit { padding-inline: 16px; }
  .buehne .aktion .knopf { width: 100%; justify-content: center; }
}

/* Screencast mit Originalfeedback */
.clip { margin: 28px 0 0; padding: 10px; border-radius: 22px; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1244; border-radius: 14px; background: var(--bg-2); }
.clip figcaption { margin: 10px 6px 2px; font-size: var(--tx-t5-web); color: var(--text-dim); }
.feedback blockquote + .dim { margin-top: 14px; }

/* Vorab-Chat aus v2 (assets/site.css Z. 1105-1161), an die Farben des Neubaus gehängt. */
.txchat-scope, :root {
  --accent: var(--action); --border: var(--line); --card-glass: var(--card); --text-faint: var(--text-dim);
  --btn-gradient: var(--action); --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* ---------- Vorab-Chat-Widget „Was möchten Sie üben?" ---------- */
.txchat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 9px;
  border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14.5px; color: #fff;
  padding: 13px 18px; border-radius: 999px; background: var(--btn-gradient);
  box-shadow: 0 12px 30px rgba(99,102,241,.42); transition: transform .2s var(--ease), box-shadow .2s; }
.txchat-launch:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 38px rgba(99,102,241,.5); }
.txchat-launch-ico { font-size: 18px; line-height: 1; }
.txchat-launch.txchat-hide { display: none; }
@media (max-width: 480px) { .txchat-launch-txt { display: none; } .txchat-launch { padding: 15px; } }

.txchat-panel[hidden] { display: none !important; }  /* sonst überschreibt display:flex das hidden-Attribut → ✕ ohne Wirkung */
.txchat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 91; width: min(440px, calc(100vw - 24px));
  height: min(700px, calc(100vh - 32px)); display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,.34); }
.txchat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff;
  background: linear-gradient(120deg,#6366f1,#8b5cf6 60%,#ec4899); }
.txchat-head-av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; background: rgba(255,255,255,.22); }
.txchat-head-tt { flex: 1; min-width: 0; line-height: 1.25; }
.txchat-head-tt strong { display: block; font-size: 15px; }
.txchat-head-tt span { font-size: 12px; color: rgba(255,255,255,.85); }
.txchat-close { background: none; border: none; color: #fff; font-size: 16px; cursor: pointer; opacity: .85; }
.txchat-close:hover { opacity: 1; }
.txchat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg, transparent); }
.txchat-msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.txchat-bot { align-self: flex-start; background: var(--card-glass); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 5px; }
.txchat-user { align-self: flex-end; background: var(--btn-gradient); color: #fff; border-bottom-right-radius: 5px; }
.txchat-dots { display: inline-flex; gap: 4px; }
.txchat-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); animation: txchat-blink 1.2s infinite both; }
.txchat-dots i:nth-child(2) { animation-delay: .2s; } .txchat-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes txchat-blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }
.txchat-options { align-self: flex-start; max-width: 92%; display: flex; flex-wrap: wrap; gap: 7px; margin-top: -2px; }
.txchat-opt { border: 1.5px solid var(--border); background: transparent; color: var(--accent); border-radius: 999px;
  padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.txchat-opt:hover { background: var(--btn-gradient); color: #fff; border-color: transparent; }
.txchat-cta { padding: 12px 16px; border-top: 1px solid var(--border); }
.txchat-cta p { margin: 0 0 10px; font-size: 13.5px; color: var(--text-dim); }
.txchat-cta .btn { display: block; text-align: center; }
.txchat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.txchat-input input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--card-glass); color: var(--text); font-size: 14.5px; font-family: inherit; }
.txchat-input input:disabled { opacity: .6; }
.txchat-input button { flex: none; width: 44px; border: none; border-radius: 12px; background: var(--btn-gradient); color: #fff;
  font-size: 16px; cursor: pointer; }
.txchat-input button:disabled { opacity: .5; cursor: default; }
@media (max-width: 480px) { .txchat-panel { right: 8px; bottom: 8px; height: calc(100vh - 24px); } }

/* ---------- Eingebetteter Chat im Testzugang-Formular ("Eigenes Szenario beschreiben") ---------- */
.chat-embed { margin: 0 0 6px; }
.txchat-embed { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; background: var(--card-glass); }
.txchat-embed-msgs { max-height: 360px; min-height: 140px; padding: 14px; }
.txchat-embed .txchat-input { border-top: 1px solid var(--border); }
.txchat-embed-toggle { align-self: flex-start; margin: 2px 0 0 2px; background: none; border: none; color: var(--text-faint);
  font-size: 12.5px; text-decoration: underline; cursor: pointer; font-family: inherit; padding: 8px 10px 4px; }
.txchat-embed-toggle:hover { color: var(--text-dim); }

/* Abschnitt „Kostenlos ausprobieren“ (ausprobieren.py, ausprobieren.js).
   Violett = eigene Situation (individuell), Türkis = fertige Situationen (vorgefertigt), Bernstein = sofort (Claim). */
:root { --eigen: var(--aktion-2); --eigen-2: var(--aktion); --fertig: #3fc1b5; --fertig-2: #2fa3d0; --fertig-text: #04211e;
  --sofort: #f2b441; --sofort-2: #ef8f3a; --sofort-text: #2a1800; }
:root[data-theme="light"] { --fertig: #00706a; --fertig-2: #0a5f86; --fertig-text: #fff; --sofort: #9a5b00; --sofort-2: #b4520a; --sofort-text: #fff; }

/* Formularfelder (gemeinsam mit den Unterseiten) */
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 600; font-size: var(--tx-t5-web); }
.feld input, .feld textarea { font: inherit; color: var(--text); background: var(--glass-stark, rgba(255,255,255,.08)); border: 1px solid var(--glass-rand); border-radius: 12px; padding: 12px 14px; min-height: 46px; width: 100%; }
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { font-size: var(--tx-t5-web); }
.meldung:empty { display: none; }
.meldung.ok { color: var(--gut, #3ecf8e); }
.meldung.fehler { color: var(--orange, #f5a524); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Reiter */
.probe { margin-top: 24px; }
.probe-leiste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.probe-reiter { --farbe: var(--eigen); position: relative; display: grid; gap: 4px; text-align: left; font: inherit; color: var(--text-dim); cursor: pointer;
  padding: 16px 18px 16px 44px; border-radius: 18px 18px 0 0; border: 1px solid var(--glass-rand); border-bottom: 0;
  background: color-mix(in srgb, var(--farbe) 6%, var(--glass)); transition: background .25s, color .25s; }
.probe-reiter.fertig { --farbe: var(--fertig); }
.probe-reiter.sofort { --farbe: var(--sofort); }
.probe-reiter::before { content: ""; position: absolute; left: 18px; top: 21px; width: 14px; height: 14px; border-radius: 50%; background: var(--farbe); }
.probe-reiter b { color: var(--text); font-size: var(--tx-t4-web, 1.1rem); }
.probe-reiter span { font-size: var(--tx-t5-web); }
.probe-reiter[aria-selected=true] { color: var(--text); background: color-mix(in srgb, var(--farbe) 22%, var(--glass)); box-shadow: inset 0 3px 0 var(--farbe); }
.probe-reiter:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }

.probe-feld { --farbe: var(--eigen); padding: clamp(18px, 3vw, 28px); border-radius: 0 0 22px 22px; border-top: 3px solid var(--farbe);
  background: color-mix(in srgb, var(--farbe) 7%, var(--glass)); }
.probe-feld.fertig { --farbe: var(--fertig); }
.probe-feld.sofort { --farbe: var(--sofort); }
.probe-feld[hidden] { display: none; }
.probe-spalten { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
.probe-text { margin: 0 0 14px; color: var(--text-dim); }
.probe-person { display: grid; gap: 14px; }
/* Freitextfeld blendet der Chat aus (chat-neu.js); sein Label mit */
.probe-feld .feld:has(> textarea[hidden]) { display: none; }
.probe-person .klein { margin: 0; color: var(--text-dim); }
.probe-person .knopf { justify-self: start; }
.knopf.fertig { background: linear-gradient(135deg, var(--fertig), var(--fertig-2)); color: var(--fertig-text);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--fertig) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.3); }
.knopf.sofort { background: linear-gradient(135deg, var(--sofort), var(--sofort-2)); color: var(--sofort-text);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--sofort) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.3); }
.knopf.sofort.gesperrt { opacity: .5; cursor: not-allowed; }
.probe-sofort { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; }
.probe-sofort .probe-text { margin: 0; font-size: var(--tx-t4-web, 1.1rem); color: var(--text); }
.knopf.fertig:hover { box-shadow: 0 16px 44px color-mix(in srgb, var(--fertig) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.3); }

/* Auswahl fertiger Situationen */
.wahl-gruppe { border: 0; padding: 0; margin: 0 0 14px; }
.wahl-gruppe legend { font-weight: 600; font-size: var(--tx-t5-web); color: var(--text-dim); padding: 0; margin-bottom: 8px; }
.wahl-gruppe ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.wahl { display: grid; grid-template-columns: 20px 40px 1fr; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--glass-rand); background: var(--glass); transition: border-color .2s, background .2s; }
.wahl input { width: 18px; height: 18px; margin: 0; accent-color: var(--fertig); }
.wahl img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.wahl span { font-size: var(--tx-t5-web); line-height: 1.3; }
.wahl:has(input:checked) { border-color: var(--fertig); background: color-mix(in srgb, var(--fertig) 18%, var(--glass)); }
.wahl:has(input:focus-visible) { outline: 2px solid var(--blau); outline-offset: 2px; }
.wahl.gesperrt { opacity: .5; cursor: not-allowed; }
.zaehler { margin: 4px 0 0; color: var(--text-dim); }

@media (max-width: 860px) { .probe-spalten, .probe-sofort { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .probe-leiste { gap: 6px; }
  .probe-reiter { padding: 28px 10px 10px; }
  .probe-reiter::before { left: 10px; top: 11px; width: 11px; height: 11px; }
  .probe-reiter b { font-size: var(--tx-t5-web); line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; }
  .probe-reiter span { display: none; }
  .probe-person .knopf { justify-self: stretch; justify-content: center; }
}
