/* Upgrade KI Zeit-Audit – Design-System (17.11.2026, Toms Wahl: Richtung A „Schwarz auf Weiß“ mit Grün und Rot wie auf upgrade-ki.de).
   Eine Datei für alle Seiten. Schrift und Logo liegen lokal (keine fremden Server). Kein Build-Schritt.

   Farben haben Bedeutung:
     Schwarz/Weiß  Marke, Text, Flächen
     Grün          Handlung und alles Gute: Hauptknopf, „freiwillig“, „geschützt“, „entlastbar“, „freigegeben“
     Rot           nur die Gegenseite: „erfasst nie“, Routine von heute, Fehler, Löschen
   Regeln: ein Hauptknopf je Ansicht · Text mindestens 4,5:1 · Tippflächen mindestens 44 px · Fokus immer sichtbar. */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(plus-jakarta-sans.woff2) format('woff2'); }

:root {
  color-scheme: light;
  /* Farben */
  --schwarz: #0a0a0a; --weiss: #ffffff; --grund: #fafafa; --flaeche: #ffffff; --grau: #f3f3f3;
  --linie: #e7e7e7; --linie-stark: #cfcfcf; --text: #0a0a0a; --leise: #5f5f5f;
  --gruen: #15803d; --gruen-dunkel: #116a32; --gruen-hell: #e9f6ee; --gruen-linie: #bfe3cb; --gruen-text: #24543a; --gruen-nacht: #4ade80;
  --rot: #c0262d; --rot-dunkel: #9f1d23; --rot-hell: #fdeeee; --rot-linie: #f0caca; --rot-text: #7a1a1f;
  --fokus: #2563eb;
  /* Form */
  --r-s: 8px; --r: 12px; --r-l: 18px;
  --schatten: 0 1px 2px rgba(10,10,10,.04), 0 14px 32px -20px rgba(10,10,10,.22);
  --schatten-gross: 0 28px 60px -34px rgba(10,10,10,.45);
  /* Abstände (4er-Raster) */
  --a1: .25rem; --a2: .5rem; --a3: .75rem; --a4: 1rem; --a5: 1.5rem; --a6: 2rem; --a7: 3rem; --a8: 4.5rem;
  /* Schrift */
  --f: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;
  --g-klein: .875rem; --g-text: 1rem; --g-lead: 1.125rem;
  /* Namen aus der alten Fassung, damit nichts bricht */
  --bg: var(--grund); --akzent: var(--gruen); --akzent-text: #fff; --warn: var(--rot); --gut: var(--gruen); --radius: var(--r);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--grund); color: var(--text); font: 400 var(--g-text)/1.6 var(--f); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
p { margin: 0 0 .85em; }
ul, ol { margin: 0 0 .85em; padding-left: 1.25em; }
li { margin: .2em 0; }
a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gruen-dunkel); }
b, strong { font-weight: 700; }

/* Fokus: immer sichtbar, auch auf Schwarz und Grün */
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 4px; }
.nacht :focus-visible { outline-color: #93c5fd; }
.sprung { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--schwarz); color: #fff; padding: .7rem 1rem; border-radius: 0 0 var(--r-s) 0; }
.sprung:focus { left: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Überschriften: leicht, der wichtige Teil fett (wie auf upgrade-ki.de) */
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-weight: 300; font-size: clamp(1.9rem, 5vw, 2.9rem); }
h1 b { font-weight: 700; }
h2 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; margin: var(--a6) 0 var(--a3); }
h2.gross { font-weight: 300; font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h2.gross b { font-weight: 700; }
h3 { font-weight: 700; font-size: 1.05rem; line-height: 1.3; letter-spacing: -.01em; margin: var(--a5) 0 var(--a2); }
.vorzeile { display: flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--leise); margin: 0 0 var(--a3); }
.vorzeile::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; flex: none; }
.lead { font-size: var(--g-lead); color: var(--leise); max-width: 40rem; }
.leise { color: var(--leise); font-size: var(--g-klein); }
.klein { font-size: var(--g-klein); }
.zahl { font-variant-numeric: tabular-nums; }
.fehler { color: var(--rot); font-size: var(--g-klein); font-weight: 600; }
.gut { color: var(--gruen); font-weight: 600; }
.fehler:empty, .gut:empty { display: none; }

/* Seitenrahmen */
.wrap { width: min(100% - 2rem, 760px); margin: 0 auto; }
.breit-wrap { width: min(100% - 2rem, 1160px); margin: 0 auto; padding: 0 0 var(--a8); }
.kopf { background: rgba(250,250,250,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 20; }
.kopf-in { display: flex; align-items: center; gap: var(--a4); min-height: 60px; width: min(100% - 2rem, 1160px); margin: 0 auto; }
.kopf.schmal .kopf-in { width: min(100% - 2rem, 760px); }
.kopf .logo { display: block; height: 22px; width: auto; flex: none; }
.kopf .produkt { font-weight: 600; padding-left: var(--a4); border-left: 1px solid var(--linie-stark); white-space: nowrap; }
.kopf .rechts { margin-left: auto; display: flex; align-items: center; gap: var(--a4); font-size: var(--g-klein); color: var(--leise); min-width: 0; }
.kopf .rechts > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kopf nav { display: flex; gap: var(--a1); }
.kopf nav a, .kopf .rechts a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: var(--r-s); text-decoration: none; color: var(--leise); font-weight: 500; font-size: .95rem; }
.kopf nav a[aria-current], .kopf nav a:hover, .kopf .rechts a:hover { color: var(--text); }
.kopf nav a[aria-current] { font-weight: 700; }
.seitenkopf { padding: var(--a7) 0 var(--a5); }
.seitenkopf .lead { margin-top: var(--a3); }
.fuss { margin-top: var(--a7); padding: var(--a5) 0 var(--a7); border-top: 1px solid var(--linie); color: var(--leise); font-size: var(--g-klein); }

/* Schwarze Fläche (wie die dunklen Abschnitte der Website) */
.nacht { background: var(--schwarz); color: #fff; }
.nacht .leise, .nacht .lead, .nacht .vorzeile { color: #b5b5b5; }
.nacht a { color: #fff; }
.nacht .logo { filter: invert(1); }
.gruen-text { color: var(--gruen-nacht); font-weight: 600; }

/* Knöpfe */
button, .knopf { font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2; border: 1.5px solid transparent; border-radius: var(--r-s); padding: .65rem 1.15rem; min-height: 46px;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--grau); color: var(--text);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
button.haupt, .knopf.haupt { background: var(--gruen); border-color: var(--gruen); color: #fff; }
button.haupt:hover, .knopf.haupt:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
button.neben, .knopf.neben { background: var(--flaeche); border-color: var(--linie-stark); color: var(--text); }
button.neben:hover, .knopf.neben:hover { border-color: var(--schwarz); color: var(--text); }
button.dunkel, .knopf.dunkel { background: var(--schwarz); border-color: var(--schwarz); color: #fff; }
button.gefahr, .knopf.gefahr { background: var(--flaeche); border-color: var(--rot-linie); color: var(--rot); }
button.gefahr:hover, .knopf.gefahr:hover { background: var(--rot-hell); border-color: var(--rot); }
button.link { background: none; border: 0; color: var(--leise); padding: 0 .25rem; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; font-size: var(--g-klein); }
button.link:hover { color: var(--text); }
button.link.gefahr { color: var(--rot); }
button.klein, .knopf.klein { min-height: 38px; padding: .4rem .8rem; font-size: var(--g-klein); }
button:disabled, button[aria-disabled=true] { opacity: .5; cursor: not-allowed; }
.nacht button.neben, .nacht .knopf.neben { background: transparent; border-color: #5a5a5a; color: #fff; }
.nacht button.neben:hover, .nacht .knopf.neben:hover { border-color: #fff; }
.zeile { display: flex; gap: var(--a3); flex-wrap: wrap; align-items: center; margin: var(--a3) 0; }
.zeile.unten { align-items: flex-end; }

/* Formulare */
label { font-weight: 600; font-size: .92rem; }
input, textarea, select { font: inherit; font-weight: 400; font-size: 1rem; color: var(--text); background: var(--flaeche); border: 1.5px solid var(--linie-stark); border-radius: var(--r-s); padding: .6rem .8rem; min-height: 46px; max-width: 100%; }
input::placeholder, textarea::placeholder { color: #6f6f6f; }
input:hover, textarea:hover, select:hover { border-color: #9a9a9a; }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--gruen); outline-offset: 1px; }
input[readonly] { background: var(--grau); }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--gruen); flex: none; }
input[type=file] { padding: .5rem; width: 100%; background: var(--grau); border-style: dashed; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: .8rem; border: 1.5px solid var(--linie-stark); background: #fff; border-radius: 6px; padding: .45rem .8rem; cursor: pointer; }
label.feld { display: grid; gap: .35rem; margin: 0 0 var(--a4); }
label.feld > input, label.feld > textarea, label.feld > select { width: 100%; }
label.feld .hilfe { font-weight: 400; color: var(--leise); font-size: var(--g-klein); }
/* Diktieren: Mikrofon-Knopf neben dem Eingabefeld. Aufnahme = schwarzer Knopf mit Stopp-Zeichen und pulsierendem Punkt */
button.mikro { flex: none; width: 50px; min-height: 50px; padding: 0; border-radius: 14px; display: inline-grid; place-items: center; position: relative; }
button.mikro[hidden] { display: none; }
button.mikro .stopp { display: none; width: 14px; height: 14px; border-radius: 3px; background: #fff; }
button.mikro.laeuft { background: var(--schwarz); border-color: var(--schwarz); color: #fff; }
button.mikro.laeuft .ic { display: none; } button.mikro.laeuft .stopp { display: block; }
button.mikro.laeuft::after { content: ""; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen-nacht); animation: mikro-puls 1.1s ease-in-out infinite; }
@keyframes mikro-puls { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { button.mikro.laeuft::after { animation: none; } }
.diktat-stand.fehler { color: var(--rot); font-weight: 600; }
/* Auswahl zum Antippen: echte Kontrollkästchen, als Knopf gezeichnet (Leertaste schaltet, Screenreader liest „angekreuzt“) */
fieldset.frage { border: 0; padding: 0; margin: 0 0 var(--a5); min-width: 0; }
fieldset.frage legend { font-weight: 600; font-size: .98rem; padding: 0; margin-bottom: .15rem; }
fieldset.frage .hilfe { display: block; font-weight: 400; color: var(--leise); font-size: var(--g-klein); margin-bottom: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .35rem 0 .2rem; }
.chip-gruppe { font-size: .78rem; font-weight: 600; color: var(--leise); margin: .9rem 0 0; }
label.chip { position: relative; display: inline-flex; font-size: .95rem; font-weight: 500; cursor: pointer; }
label.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
label.chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .95rem; border: 1.5px solid var(--linie-stark); border-radius: 999px; background: var(--flaeche); line-height: 1.25; transition: background .12s, border-color .12s; }
label.chip:hover span { border-color: #9a9a9a; }
label.chip input:checked + span { background: var(--gruen-hell); border-color: var(--gruen); color: var(--gruen-dunkel); font-weight: 600; }
label.chip input:checked + span::before { content: "✓"; font-weight: 800; }
label.chip input:focus-visible + span { outline: 3px solid var(--fokus); outline-offset: 2px; }
label.chip input:disabled + span { opacity: .55; cursor: not-allowed; }
label.check { display: flex; gap: .75rem; align-items: flex-start; margin: var(--a4) 0; cursor: pointer; font-weight: 500; font-size: 1rem; min-height: 44px; padding: .55rem 0; }
label.check input { margin-top: .1rem; }
label.check.kasten-wahl { border: 1.5px solid var(--linie-stark); border-radius: var(--r); padding: .9rem 1rem; background: var(--flaeche); }
label.check.kasten-wahl:has(input:checked) { border-color: var(--gruen); background: var(--gruen-hell); }

/* Karten und Hinweise */
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-l); padding: clamp(1.1rem, 3.5vw, 1.75rem); margin: var(--a5) 0; }
.karte > :first-child, .kasten > :first-child { margin-top: 0; }
.karte > :last-child, .kasten > :last-child { margin-bottom: 0; }
.karte.gehoben { box-shadow: var(--schatten); }
.kasten { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--linie); background: var(--grau); border-radius: var(--r); padding: .9rem 1.05rem; margin: var(--a4) 0; font-size: .95rem; }
.kasten > svg, .kasten > .ic { flex: none; width: 1.4rem; height: 1.4rem; margin-top: .1rem; }
.kasten > div > :last-child { margin-bottom: 0; }
.kasten.gut { background: var(--gruen-hell); border-color: var(--gruen-linie); color: var(--gruen-text); font-weight: 400; }
.kasten.gut b { color: var(--gruen-dunkel); }
.kasten.gut > svg { color: var(--gruen); }
.kasten.rot { background: var(--rot-hell); border-color: var(--rot-linie); color: var(--rot-text); }
.kasten.rot > svg { color: var(--rot); }
[hidden] { display: none !important; }

/* Listen mit Haken (grün) und Kreuzen (rot) */
ul.haken, ul.kreuze { list-style: none; padding: 0; margin: 0 0 var(--a4); display: grid; gap: .6rem; }
ul.haken li, ul.kreuze li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; }
ul.haken li::before, ul.kreuze li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .2rem; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
ul.haken li::before { background-color: var(--gruen); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
ul.kreuze li::before { background-color: var(--rot); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E"); }
.gegenueber { display: grid; grid-template-columns: 1fr 1fr; gap: var(--a4); margin: var(--a4) 0; }
.gegenueber > .karte { margin: 0; }
.karte.seite-rot { border-color: var(--rot-linie); }
.karte.seite-gruen { border: 2px solid var(--gruen); }
.etikett { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--a3); }
.etikett.rot { color: var(--rot); }
.etikett.gruen { color: var(--gruen); }

/* Marken (kleine Zustände) */
.marke { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; line-height: 1.3; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--linie-stark); color: var(--text); background: var(--flaeche); white-space: nowrap; }
.marke.gut { background: var(--gruen-hell); border-color: var(--gruen-linie); color: var(--gruen-text); }
.marke.rot { background: var(--rot-hell); border-color: var(--rot-linie); color: var(--rot-text); }
.marke.voll { background: var(--gruen); border-color: var(--gruen); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; font-weight: 700; }
.marke.gut::before, .marke.rot::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }

/* Kennzahlen */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-l); overflow: hidden; margin: var(--a4) 0; }
.kachel { padding: 1.15rem 1.25rem; box-shadow: 1px 0 0 var(--linie), 0 1px 0 var(--linie); display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.kachel b { display: block; font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kachel.haupt b { font-weight: 700; color: var(--gruen); }
.kachel.rot b { color: var(--rot); }
.kachel .leise { order: 2; }
.kachel .oben { order: 0; font-weight: 600; font-size: .95rem; color: var(--text); }
.spur { height: 6px; background: var(--grau); border-radius: 3px; overflow: hidden; margin: .35rem 0 .15rem; }
.spur i { display: block; height: 100%; background: var(--gruen); border-radius: 3px; }

/* Tabellen */
.tabelle { overflow-x: auto; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); margin: var(--a3) 0; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-size: .78rem; font-weight: 600; color: var(--leise); background: var(--grund); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.z, th.z { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.aktiv td { background: var(--gruen-hell); }

/* Spannen-Balken: kräftig = mindestens, hell = bestenfalls */
.spanne { position: relative; height: 10px; border-radius: 5px; background: var(--grau); margin: .35rem 0; overflow: hidden; }
.spanne i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; }
.spanne .bis { background: var(--gruen-linie); }
.spanne .von { background: var(--gruen); }
.spanne.rot .bis { background: var(--rot-linie); }
.spanne.rot .von { background: var(--rot); }
.legende { display: flex; gap: var(--a4); flex-wrap: wrap; font-size: var(--g-klein); color: var(--leise); }
.legende i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; margin-right: .4rem; vertical-align: middle; }
.balken { height: 10px; background: var(--gruen); border-radius: 5px; }

/* Aufklappbares */
details { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); margin: var(--a2) 0; }
summary { cursor: pointer; padding: .85rem 2.8rem .85rem 1.05rem; font-weight: 600; min-height: 46px; list-style: none; position: relative; border-radius: var(--r); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 1.05rem; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--text), var(--text)) center/12px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center/1.5px 12px no-repeat; transition: transform .15s ease; }
details[open] > summary::after { transform: rotate(45deg); }
details > :not(summary) { margin-left: 1.05rem; margin-right: 1.05rem; }
details > :last-child { margin-bottom: 1rem; }

/* Schritte (echte Reihenfolge) */
.schritte { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.schritte li { flex: 1; margin: 0; height: 6px; border-radius: 3px; background: var(--linie); }
.schritte li.fertig { background: var(--gruen); }
.schritte li.jetzt { background: var(--schwarz); }
.weg { list-style: none; display: flex; flex-wrap: wrap; gap: var(--a2); padding: 0; margin: var(--a3) 0; counter-reset: w; }
.weg li { counter-increment: w; margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-size: var(--g-klein); font-weight: 600; color: var(--leise); padding: .35rem .8rem .35rem .4rem; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche); }
.weg li::before { content: counter(w); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--grau); font-size: .75rem; }
.weg li.fertig { color: var(--gruen-text); border-color: var(--gruen-linie); background: var(--gruen-hell); }
.weg li.fertig::before { content: "✓"; background: var(--gruen); color: #fff; }
.weg li.jetzt { color: var(--text); border-color: var(--schwarz); }
.weg li.jetzt::before { background: var(--schwarz); color: #fff; }

/* Kleines */
pre { font: .85rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; background: var(--grau); border-radius: var(--r-s); padding: .8rem 1rem; margin: var(--a3) 0; }
pre:empty { display: none; }
hr { border: 0; border-top: 1px solid var(--linie); margin: var(--a5) 0; }
.ic { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-kreis { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--gruen-hell); color: var(--gruen); flex: none; }
.ic-kreis.rot { background: var(--rot-hell); color: var(--rot); }

@media (max-width: 640px) {
  .gegenueber { grid-template-columns: 1fr; }
  .kopf .produkt { display: none; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  /* Tabellen als Stapel: jede Zeile eine kleine Karte */
  table.stapel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.stapel tr { display: block; padding: .85rem .9rem; border-bottom: 1px solid var(--linie); }
  table.stapel tr:last-child { border-bottom: 0; }
  table.stapel td { display: block; border: 0; padding: .1rem 0; text-align: left !important; white-space: normal !important; }
  table.stapel td[data-l]::before { content: attr(data-l) ": "; color: var(--leise); font-size: var(--g-klein); }
  table.stapel td:empty { display: none; }
}
/* Finger statt Maus: auch kleine Knöpfe und Auswahlfelder bekommen 44 px */
@media (pointer: coarse), (max-width: 640px) { button.klein, .knopf.klein, select { min-height: 44px !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .kopf, .sprung { display: none; } body { background: #fff; } }
