/* ===========================================================================
 * app.css — Basis-Layout + Komponenten (editorial-light)
 *
 * Teil von: FibenDale · Autor: VSC /ui Agent · Erstellt: 2026-08-07
 * Bezug:   docs/ui/VISUAL_MANIFEST.md · tokens.css (einzige Wertquelle)
 *
 * Slice 1 (UI-SLICE-MODE): Basis-Shell + öffentliche Seiten (Anmelden, Beitreten).
 * Board-/Sammeln-Ansicht (datendichteste, Phase 3) folgt in einer eigenen Scheibe.
 * ===========================================================================*/

/* --- Self-Host Variable Fonts (Q14; DSGVO/FCP — kein Google-CDN) -----------
 * Die woff2-Binärdateien werden nach static/fonts/ abgelegt (siehe fonts/README.md).
 * Bis dahin greift der robuste Serif-/Mono-Fallback aus tokens.css. Die
 * font-variation-settings unten erfüllen Q14 mechanisch (check-ui-typography.sh). */
@font-face {
  font-family: "Newsreader";
  src: url("/static/fonts/Newsreader-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/static/fonts/Newsreader-Italic-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/SourceSerif4-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/JetBrainsMono-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--tinte);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-variation-settings: "opsz" 16, "wght" 400;   /* Q14: variable Achsen */
  /* Atmosphäre-Layer (1.5.3): NIE solid — Vignette + feine Papier-Faser */
  background-color: var(--papier);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -8%, var(--vignette), transparent 60%),
    repeating-linear-gradient(0deg, var(--faser) 0, var(--faser) 1px, transparent 1px, transparent 3px);
  background-attachment: fixed;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "wght" 600;
  line-height: var(--lh-head);
  letter-spacing: var(--track-tight);
}
p { margin: 0; }

/* --- Link-Reset (Dark-Theme-Regel gilt vorsorglich auch hier) ------------- */
a { color: var(--akzent); text-decoration: none; }
a:visited { color: var(--akzent); }
a:hover { text-decoration: underline; color: var(--signal); }
a:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: 2px; }

/* In-Text-Links dauerhaft unterstrichen — nicht allein über Farbe unterscheidbar
   (WCAG 2.2 SC 1.4.1 „Use of Color"; Lighthouse-Audit link-in-text-block, 2026-08-07).
   Gilt nur für Fließtext-Absätze; navigierende Karten-/Knopf-Links (.sitzung-verweis,
   .knopf) stehen nicht im Textfluss und bleiben bewusst ausgenommen. */
.nachsatz a,
.unterzeile a,
.hinweis a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Sichtbarer Fokus für JEDE Interaktion (nicht Browser-Default) -------- */
:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --- Skip-Link (WCAG 2.4.1, erstes fokussierbares Element) ---------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--sp-2);
  background: var(--panel);
  color: var(--akzent);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--akzent);
  border-radius: var(--r-panel);
  z-index: 100;
}
.skip-link:focus {
  left: var(--sp-4);
}

/* --- Shell (Editorial Article) ------------------------------------------- */
.huelle {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--sp-6) var(--sp-4) var(--sp-16);
}
.marke {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--linie);
  margin-bottom: var(--sp-8);
}
.marke .wort {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "wght" 620;
  font-size: var(--fs-h2);
  color: var(--akzent);
  letter-spacing: var(--track-tight);
}
.marke .zusatz { font-size: var(--fs-13); color: var(--leise); }

/* --- Zentrierte Einstiegs-Bahn (Anmelden/Beitreten) ---------------------- */
.bahn-mitte {
  max-width: 62ch;
  margin: 0 auto;
}

/* --- Karten-Panel (fast eckig, Cream, kein SaaS-Card-Soup) --------------- */
.tafel {
  background: var(--panel);
  border: 1px solid var(--linie);
  border-radius: var(--r-panel);
  box-shadow: var(--schatten-2);
  padding: var(--sp-8);
}
.tafel--akzent {
  border-top: 3px solid var(--signal);   /* Signature: roter Coverdale-Balken */
}
.tafel h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--sp-2);
}
.tafel .unterzeile {
  color: var(--leise);
  font-size: var(--fs-14);
  margin-bottom: var(--sp-6);
}

/* --- Formular ------------------------------------------------------------ */
.feld { margin-bottom: var(--sp-4); }
.feld label {
  display: block;
  font-size: var(--fs-13);
  color: var(--leise);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  margin-bottom: var(--sp-1);
}
.feld input {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--tinte);
  background: var(--papier-warm);
  border: 1px solid var(--linie-stark);
  border-radius: var(--r-zettel);
  padding: var(--sp-3) var(--sp-3);
  transition: border-color var(--t-mikro) var(--ease), background var(--t-mikro) var(--ease);
}
.feld input:hover { background: var(--panel); }
.feld input:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 1px;
  border-color: var(--akzent);
  background: var(--panel);
}

/* --- Buttons (44px Touch-Target; primär = Coverdale-Blau) ---------------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  border-radius: var(--r-zettel);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-mikro) var(--ease), transform var(--t-mikro) var(--ease);
}
.knopf--primaer {
  background: var(--akzent);
  color: var(--papier);
  width: 100%;
}
.knopf--primaer:hover { background: var(--akzent-tief); }  /* eine Stufe dunkler */
.knopf--primaer:active { transform: translateY(1px); }
.knopf--primaer:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.knopf--leise {
  background: var(--panel);
  color: var(--akzent);
  border-color: var(--linie-stark);
}
.knopf--leise:hover { background: var(--panel-alt); }

/* --- DSGVO-/Beleg-Hinweis (sichtbare Belegpflicht) ----------------------- */
.hinweis {
  font-size: var(--fs-14);
  color: var(--leise);
  background: var(--papier-warm);
  border-left: 3px solid var(--akzent);
  border-radius: 0 var(--r-zettel) var(--r-zettel) 0;
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-6);
}
.hinweis b { color: var(--tinte); }

/* --- Fehler-Zustand (rote Akzentlinie, kein Tailwind-bg-red) ------------- */
.fehler {
  font-size: var(--fs-14);
  color: var(--signal);
  background: var(--signal-hell);
  border-left: 3px solid var(--signal);
  border-radius: 0 var(--r-zettel) var(--r-zettel) 0;
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
}

/* --- Quellen-/Fusszeile -------------------------------------------------- */
.quelle {
  font-size: var(--fs-klein);
  color: var(--leise);
  margin-top: var(--sp-2);
}
.nachsatz {
  margin-top: var(--sp-6);
  font-size: var(--fs-14);
  color: var(--leise);
  text-align: center;
}

/* --- Button-styled Links (z. B. „Erneut laden") -------------------------- */
.knopf { text-decoration: none; }
.knopf:hover { text-decoration: none; }

/* ===========================================================================
 * Sitzungs-Dashboard (Editorial Article, Slice 2)
 * Einspaltige Liste · Titel als Serif-Display · roter Coverdale-Aktiv-Balken
 * · Mono-Numerik (tnum) · „Neue Sitzung" als einziger primärer CTA.
 * ===========================================================================*/
.dash-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.dash-kopf h1 { font-size: var(--fs-h1); }
.neue-sitzung { margin: 0; }
.neue-sitzung .knopf--primaer { width: auto; }

.sitzungsliste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 72ch;
}
.sitzung-karte { margin: 0; }
.sitzung-verweis {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "titel   stand"
    "schritt stand";
  gap: var(--sp-1) var(--sp-4);
  align-items: center;
  color: var(--tinte);
  background: var(--panel);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--signal);   /* Signature: roter Coverdale-Balken */
  border-radius: var(--r-zettel);
  box-shadow: var(--schatten-1);
  padding: var(--sp-4) var(--sp-6);
  transition: background var(--t-mikro) var(--ease);
}
.sitzung-verweis:hover,
.sitzung-verweis:visited { color: var(--tinte); }
.sitzung-verweis:hover { background: var(--panel-alt); text-decoration: none; }
.sitzung-verweis:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
}
.sitzung-verweis .titel {
  grid-area: titel;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 28, "wght" 560;
  font-size: var(--fs-h2);
  color: var(--akzent);
  letter-spacing: var(--track-tight);
}
.schrittzeile {
  grid-area: schritt;
  font-size: var(--fs-14);
  color: var(--leise);
}
.schrittzeile .mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  font-size: var(--fs-13);
  color: var(--tinte);
}
.schrittzeile .schritt-titel { font-style: italic; }
.stand-marke {
  grid-area: stand;
  justify-self: end;
  font-size: var(--fs-klein);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--leise);
  border: 1px solid var(--linie-stark);
  border-radius: var(--r-marke);
  padding: var(--sp-1) var(--sp-2);
}
.stand--offen { color: var(--akzent); border-color: var(--akzent); }

/* Empty-State — Botschaft + der einzige primäre CTA (nie leerer Bereich) */
.leer-wort {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 30, "wght" 560;
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-2);
}
.leer-hint {
  color: var(--leise);
  font-size: var(--fs-14);
  margin-bottom: var(--sp-6);
  max-width: 60ch;
}
.leer .knopf--primaer { width: auto; }

/* ===========================================================================
 * Responsive — 4 Breakpoints (Q16): mobile ≤480 · tablet 481–1024 ·
 * laptop 1025–1440 · desktop >1440
 * ===========================================================================*/
@media (max-width: 480px) {
  .huelle { padding: var(--sp-4) var(--sp-3) var(--sp-12); }
  .tafel { padding: var(--sp-6) var(--sp-4); }
  .tafel h1 { font-size: var(--fs-h2); }
  .dash-kopf { margin-bottom: var(--sp-6); }
  .neue-sitzung { width: 100%; }
  .neue-sitzung .knopf--primaer { width: 100%; }
  .sitzung-verweis { padding: var(--sp-3) var(--sp-4); }
}
@media (min-width: 481px) and (max-width: 1024px) {
  .bahn-mitte { max-width: 56ch; }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  .huelle { padding-inline: var(--sp-6); }
}
@media (min-width: 1441px) {
  .huelle { max-width: 1240px; }
}

/* ===========================================================================
 * Sitzungs-Detail — Elf-Schritte-Leiste (Strip + Detail, Slice 3a)
 * Signature: roter Coverdale-Aktiv-Balken über der nummerierten Elf-Schritte-
 * Leiste, gegliedert in die drei belegten Blöcke Vorbereiten · Tun · Auswerten.
 * ===========================================================================*/
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.nur-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.detail-kopf { margin-bottom: var(--sp-8); }
.detail-kopf .sitzung-titel {
  font-size: var(--fs-h1);
  color: var(--akzent);
  font-variation-settings: "opsz" 36, "wght" 600;
}
.detail-stand { font-size: var(--fs-13); color: var(--leise); margin-top: var(--sp-1); }
.rolle-notiz { font-size: var(--fs-13); color: var(--leise); margin-top: var(--sp-1); }

/* Ein Archetyp pro View: Strip + Detail. Unter 1025px stapelt der Strip über
 * das Detail; ab 1025px steht er als 240px-Bahn links (VISUAL_MANIFEST). */
.sitzung-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.schritt-strip { display: flex; flex-direction: column; gap: var(--sp-6); }
.block-titel {
  font-family: var(--font-mono);
  font-size: var(--fs-klein);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--leise);
  margin-bottom: var(--sp-2);
}
.schritt-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.schritt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-left: 3px solid transparent;   /* Platz für den roten Aktiv-Balken */
  border-radius: 0 var(--r-zettel) var(--r-zettel) 0;
}
.schritt-nr { font-size: var(--fs-klein); color: var(--leise); }
.schritt-name { font-size: var(--fs-14); color: var(--leise); }
.schritt-marke { color: var(--gut); font-size: var(--fs-13); }

.schritt--erledigt .schritt-nr { color: var(--gut); }
.schritt--aktiv {
  border-left-color: var(--signal);      /* Signature: roter Coverdale-Aktiv-Balken */
  background: var(--akzent-hell);
}
.schritt--aktiv .schritt-nr { color: var(--akzent); }
.schritt--aktiv .schritt-name {
  color: var(--tinte);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 20, "wght" 600;
}
.schritt--offen .schritt-name { color: var(--leise); }

.schritt-fokus { padding: var(--sp-8); }
.fokus-block {
  font-size: var(--fs-klein);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--leise);
  margin-bottom: var(--sp-2);
}
.fokus-titel { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.fokus-notiz {
  font-size: var(--fs-14);
  color: var(--leise);
  background: var(--papier-warm);
  border-left: 3px solid var(--akzent);
  border-radius: 0 var(--r-zettel) var(--r-zettel) 0;
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
}
.fokus-notiz b { color: var(--tinte); }
/* --leise statt --sehr-leise: kleiner Fließtext braucht ≥4.5:1 (WCAG 1.4.3;
   Lighthouse color-contrast 2026-08-07). --sehr-leise (3.6:1) bleibt Large-Text/Deko. */
.fokus-folgt { font-size: var(--fs-13); color: var(--leise); font-style: italic; }

@media (min-width: 1025px) {
  .sitzung-detail { grid-template-columns: 240px 1fr; gap: var(--sp-12); }
}

/* ===========================================================================
 * Sammeln-Board — sechs Informationsarten (Strip + Detail, Slice 3b)
 * Datendichteste View (Phase 3 zuerst): Schritt-Strip · getönte Bahnen · Kontext.
 * Papier-getönte, fast-eckige Zettel mit Mono-ID; Blitz-/Vorbehalts-Karte
 * gestrichelt; leere Art = gestrichelte Warn-Bahn. Nur tokens.css (Q19).
 * ===========================================================================*/
.sammeln-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}

/* Leitfrage im Wortlaut + sichtbare Quellenangabe (Belegpflicht, Manifestation 3) */
.leitfrage-kopf {
  border-left: 3px solid var(--signal);   /* Signature: roter Coverdale-Balken */
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-6);
}
.leitfrage {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 24, "wght" 480;
  font-size: var(--fs-leit);
  color: var(--tinte);
}
.leit-quelle {
  font-size: var(--fs-klein);
  color: var(--leise);
  font-style: italic;
  margin-top: var(--sp-1);
}

/* Die Bahnen: Container-Query-getrieben (Q17) — reagieren auf die eigene Breite,
 * nicht nur auf den Viewport. */
.board-mitte { container-type: inline-size; }
.bahnen {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@container (min-width: 560px) {
  .bahnen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 900px) {
  .bahnen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.bahn {
  border: 1px solid var(--linie);
  border-radius: var(--r-zettel);
  padding: var(--sp-3);
  background: var(--panel);
}
.bahn--fakt        { background: var(--k-fakt); }
.bahn--idee        { background: var(--k-idee); }
.bahn--ressource   { background: var(--k-ressource); }
.bahn--risiko      { background: var(--k-risiko); }
.bahn--chance      { background: var(--k-chance); }
.bahn--alternative { background: var(--k-alternative); }

.bahn-titel {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-klein);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--leise);
  margin-bottom: var(--sp-3);
}
.bahn-zahl { color: var(--tinte); font-feature-settings: "tnum" 1; }

.zettel-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* Papier-Zettel: fast eckig, Cream-Ton, Mono-ID (nicht schwebende weiße Kachel) */
.zettel {
  background: var(--panel);
  border: 1px solid var(--linie-stark);
  border-radius: var(--r-zettel);
  box-shadow: var(--schatten-1);
  padding: var(--sp-2) var(--sp-3);
  transition: background var(--t-mikro) var(--ease);
}
.zettel:hover { background: var(--panel-alt); }   /* dezenter Shift, kein scale/pop */
.zettel-id {
  display: block;
  font-size: var(--fs-mono-id);
  letter-spacing: 0.04em;
  color: var(--leise);
  margin-bottom: var(--sp-1);
}
.zettel-text { font-size: var(--fs-14); color: var(--tinte); }
.zettel-kennung {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-id);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--signal);
  margin-bottom: var(--sp-1);
}
/* Blitz-/Vorbehalts-Karte: gestrichelte Kontur (REQ-SEC-020, normale Karte) */
.zettel--blitz,
.zettel--vorbehalt {
  background: var(--panel);
  border: 1px dashed var(--k-blitz-linie);
  box-shadow: none;
}

/* Leere Informationsart → gestrichelte Warn-Bahn mit „Noch kein Beitrag" */
.bahn--leer { background: var(--panel); }
.zettel--leer {
  border: 1px dashed var(--warn);
  background: var(--signal-hell);
  box-shadow: none;
  padding: var(--sp-3);
  text-align: center;
}
.zettel--leer .zettel-text { color: var(--warn); font-style: italic; }

/* Rechte Kontext-Spalte: Konsent-Stand + anonyme Telemetrie */
.board-kontext { display: flex; flex-direction: column; gap: var(--sp-6); }
.kontext-titel {
  font-family: var(--font-mono);
  font-size: var(--fs-klein);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--leise);  /* war --sehr-leise (3.6:1) — kleiner Label-Text braucht ≥4.5:1 (WCAG 1.4.3) */
  margin-bottom: var(--sp-3);
}
.konsent-summe, .telemetrie { padding: var(--sp-6); }
.konsent-frage { font-size: var(--fs-14); color: var(--tinte); margin-bottom: var(--sp-3); }
.konsent-zahlen {
  font-size: var(--fs-13);
  font-feature-settings: "tnum" 1;
  margin-bottom: var(--sp-2);
}
.k-mit       { color: var(--konsent-mit); }
.k-vorbehalt { color: var(--konsent-vorbehalt); }
.k-offen     { color: var(--leise); }
.konsent-notiz { font-size: var(--fs-klein); color: var(--leise); font-style: italic; }

.tel-reihe {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  height: 48px;
  margin-bottom: var(--sp-3);
}
.tel-balken {
  flex: 1;
  min-width: 6px;
  background: var(--akzent);
  opacity: .75;
  border-radius: var(--r-zettel) var(--r-zettel) 0 0;
}
.tel-notiz { font-size: var(--fs-klein); color: var(--leise); }

/* Ein Archetyp pro View: Strip + Detail. Unter 1025px stapelt alles; darüber
 * Strip (220px) · Bahnen (1fr) · Kontext (300px). */
@media (min-width: 1025px) {
  .sammeln-board {
    grid-template-columns: 220px minmax(0, 1fr) 300px;
    gap: var(--sp-8);
  }
}

/* Verweis vom Auswerten-Schritt (10/11) zur Rückblende (Slice 5) */
.detail-mitte { display: flex; flex-direction: column; gap: var(--sp-6); }
.fokus-verweis { font-size: var(--fs-14); }
.fokus-verweis a { font-family: var(--font-display); font-variation-settings: "opsz" 20, "wght" 560; }

/* ===========================================================================
 * Rückblende — Auswerten-Block, Schritte 10/11 (Editorial Article, Slice 5)
 * Ruhiger einspaltiger Rhythmus: Soll-Ist-Tabelle (Schritt 10) + zwei-spaltig
 * hilfreich/hinderlich + Verabredungen (Schritt 11). Bewertungen als ruhige
 * Token-Marken (keine Ampel-Pillen). Nur tokens.css (Q19).
 * ===========================================================================*/
.detail-zurueck { font-size: var(--fs-13); margin-top: var(--sp-2); }
.rueckblende {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  max-width: 74ch;
}
.rueck-abschnitt {
  border-left: 3px solid var(--signal);   /* Signature: roter Coverdale-Balken */
  padding-left: var(--sp-6);
}
.rueck-titel {
  font-size: var(--fs-h2);
  color: var(--akzent);
  font-variation-settings: "opsz" 28, "wght" 600;
  margin-bottom: var(--sp-1);
}
.rueck-beleg {
  font-size: var(--fs-klein);
  color: var(--leise);
  font-style: italic;
  margin-bottom: var(--sp-6);
}

/* Soll-Ist-Tabelle: Erfolgskriterium → Bewertung (Data-Ink, keine Zebra-Deko) */
.ergebnis-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
}
.ergebnis-tabelle thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-klein);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--leise);
  padding: 0 var(--sp-4) var(--sp-2) 0;
  border-bottom: 1px solid var(--linie-stark);
}
.ergebnis-tabelle thead th:last-child { text-align: right; }
.ergebnis-tabelle tbody tr { border-bottom: 1px solid var(--linie); }
.ergebnis-tabelle .kriterium {
  text-align: left;
  font-weight: 400;
  color: var(--tinte);
  padding: var(--sp-3) var(--sp-4) var(--sp-3) 0;
}
.ergebnis-tabelle .soll-ist { text-align: right; padding: var(--sp-3) 0; white-space: nowrap; }
.ergebnis-leer td { color: var(--leise); font-style: italic; padding: var(--sp-3) 0; }

/* Bewertungs-Marke: ruhige Token-Farbe, gleiche Marken-Form wie stand-marke */
.bewertung {
  display: inline-block;
  font-size: var(--fs-klein);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  border: 1px solid var(--linie-stark);
  border-radius: var(--r-marke);
  padding: var(--sp-1) var(--sp-3);
  color: var(--leise);
}
.bewertung--erfuellt      { color: var(--gut);    border-color: var(--gut); }
.bewertung--teilweise     { color: var(--warn);   border-color: var(--warn); }
.bewertung--offen         { color: var(--leise);  border-color: var(--linie-stark); }
.bewertung--nicht-erfuellt { color: var(--signal); border-color: var(--signal); }

/* Schritt 11 — drei Prozessfelder: zwei-spaltig hilfreich/hinderlich, dann Verabredungen */
.prozess-paar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}
.prozess-feld {
  background: var(--panel);
  border: 1px solid var(--linie);
  border-radius: var(--r-zettel);
  box-shadow: var(--schatten-1);
  padding: var(--sp-4) var(--sp-6);
}
.prozess-titel {
  font-family: var(--font-mono);
  font-size: var(--fs-klein);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--leise);
  margin-bottom: var(--sp-2);
}
.prozess-text { font-size: var(--fs-14); color: var(--tinte); }
.prozess-leer { font-size: var(--fs-14); color: var(--leise); font-style: italic; }

/* Ab Laptop: hilfreich/hinderlich nebeneinander (Editorial-Zweispalt) */
@media (min-width: 1025px) {
  .prozess-paar { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================================
 * Konsent-Fußleiste — die Frage nach dem Einwand (interaktiv, Slice 4)
 * Drei Schalter {trage mit · Vorbehalt · noch offen} als Submit-Knöpfe EINES
 * Formulars (no-JS). Ruhige Token-Farben (KEINE Ampel-Pillen); der gewählte
 * Zustand ist gefüllt (aria-pressed). Kein Zähl-/Mehrheits-UI (A-07). Nur
 * tokens.css (Q19). All-States: default · hover · focus-visible (globaler Ring)
 * · gewählt · abgeschaltet.
 * ===========================================================================*/
.konsent-leiste { padding: var(--sp-6); }
.konsent-leiste .konsent-frage {
  font-size: var(--fs-body);
  color: var(--tinte);
  margin-bottom: var(--sp-4);
}
.schalter-knoepfe { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.schalter {
  min-height: 44px;                     /* Fitts: Touch-Target */
  padding: 0 var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  background: var(--panel);
  color: var(--tinte);
  border: 1px solid var(--linie-stark);
  border-radius: var(--r-zettel);
  cursor: pointer;
  transition: background var(--t-mikro) var(--ease);
}
.schalter:hover { background: var(--panel-alt); }   /* dezenter Shift, kein scale */
.schalter:active { transform: translateY(1px); }
/* Gewählter Zustand: gefüllt in der jeweiligen Konsent-Token-Farbe */
.schalter--gewaehlt { color: var(--papier); }
.schalter--mit.schalter--gewaehlt       { background: var(--konsent-mit);       border-color: var(--konsent-mit); }
.schalter--vorbehalt.schalter--gewaehlt { background: var(--konsent-vorbehalt); border-color: var(--konsent-vorbehalt); }
.schalter--offen.schalter--gewaehlt     { background: var(--leise);             border-color: var(--leise); }

.feld--einwand { margin-bottom: var(--sp-4); }
.feld--einwand label {
  display: block;
  font-size: var(--fs-klein);
  color: var(--leise);
  margin-bottom: var(--sp-1);
}
.feld--einwand textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  color: var(--tinte);
  background: var(--panel);
  border: 1px solid var(--linie-stark);
  border-radius: var(--r-zettel);
  padding: var(--sp-2) var(--sp-3);
  resize: vertical;
}
.konsent-mein {
  font-size: var(--fs-13);
  color: var(--leise);
  margin-bottom: var(--sp-2);
}
.konsent-warnung {
  font-size: var(--fs-14);
  color: var(--warn);
  background: var(--signal-hell);
  border-left: 3px solid var(--warn);
  border-radius: 0 var(--r-zettel) var(--r-zettel) 0;
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-3);
}
.konsent-aus { font-size: var(--fs-14); color: var(--leise); font-style: italic; }

/* --- prefers-reduced-motion (WCAG 2.3.3) --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
