:root {
  --navy: #0B2545; --stahl: #5A7FA8; --grau: #5B6472; --text: #14213D; --linie: #D9E0E8; --hell: #F5F7FA; --hellblau: #E8EEF5;
  --pos-bg: #E2F0E8; --pos: #1F5A40; --bed-bg: #FBEFD5; --bed: #7A4E00; --neg-bg: #F8E3E3; --neg: #9B2C2C; --neu-bg: #ECEEF1; --neu: #4B5563;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--hell); color: var(--text); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--navy); } a:hover { color: #1D4E89; }
:focus-visible { outline: 3px solid var(--stahl); outline-offset: 2px; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; color: var(--navy); line-height: 1.2; margin: 0; }
h1 { font-size: 32px; } h2 { font-size: 22px; } h3 { font-size: 18px; }
.kopf { background: var(--navy); color: #fff; }
.kopf .innen { max-width: 1240px; margin: 0 auto; padding: 6px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.marke { color: #fff; text-decoration: none; font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 20px; padding: 10px 0; }
.kopf nav { display: flex; flex-wrap: wrap; gap: 4px; }
.kopf nav a { color: #D6E0EC; text-decoration: none; padding: 11px 13px; border-radius: 6px; font-weight: 500; }
.kopf nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); font-weight: 600; }
.kopf .rechts { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: #D6E0EC; }
.kopf .rechts button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 8px 12px; font: inherit; cursor: pointer; min-height: 40px; }
.band { background: var(--hellblau); color: var(--navy); font-size: 13px; padding: 8px 20px; text-align: center; }
.band.probe { background: var(--bed-bg); color: var(--bed); font-weight: 600; }
main { max-width: 1240px; margin: 0 auto; padding: 28px 20px 56px; display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--grau); font-weight: 600; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.reihe { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.reihe > .breit { flex: 999 1 640px; min-width: 0; }
.reihe > .schmal { flex: 1 1 300px; min-width: 0; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.leise { color: var(--grau); font-size: 13px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--neu-bg); color: var(--neu); }
.chip.pos { background: var(--pos-bg); color: var(--pos); } .chip.bed { background: var(--bed-bg); color: var(--bed); }
.chip.neg { background: var(--neg-bg); color: var(--neg); } .chip.sneg { background: #7A1F1F; color: #fff; }
.chip.navy { background: var(--navy); color: #fff; } .chip.probe { background: var(--bed-bg); color: var(--bed); }
.tabelle { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { background: var(--navy); color: #fff; text-align: left; font-weight: 600; font-size: 13px; padding: 9px 11px; }
table.t td { padding: 9px 11px; border-bottom: 1px solid #E1E6ED; vertical-align: top; }
table.t tbody tr:nth-child(even) td { background: #F7F9FB; }
table.t td.pos { background: #DCEDE3 !important; color: var(--pos); } table.t td.bed { background: #F8E7C2 !important; color: #6B4500; }
table.t td.neg { background: #F1C9C9 !important; color: #8A2222; } table.t td.sneg { background: #7A1F1F !important; color: #fff; }
table.kv th { background: transparent; color: var(--grau); font-weight: 500; width: 40%; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 6px; background: var(--navy); color: #fff; border: 1px solid var(--navy); text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; }
.knopf.zweit { background: #fff; color: var(--navy); border-color: #B9C4D2; }
.knopf:hover { color: #fff; filter: brightness(1.15); } .knopf.zweit:hover { color: var(--navy); background: var(--hell); }
form.formular { display: flex; flex-direction: column; gap: 16px; }
label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #B9C4D2; border-radius: 6px; font: inherit; color: var(--text); background: #fff; }
.felder { display: flex; flex-wrap: wrap; gap: 16px; } .felder > div { flex: 1 1 200px; }
.hinweis { background: var(--hellblau); color: var(--navy); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.hinweis.warnung { background: var(--bed-bg); color: var(--bed); } .hinweis.fehler { background: var(--neg-bg); color: var(--neg); }
.rolle { border: 1px solid var(--linie); border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.rolle.fuehrt { border: 2px solid var(--navy); }
.schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.schritte li { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--linie); }
.schritte li.laeuft { border-color: var(--navy); } .schritte li.fertig { background: var(--pos-bg); border-color: #BFDCCB; }
.schritte li.uebersprungen { color: var(--grau); }
pre.recherche { white-space: pre-wrap; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--hell); padding: 14px; border-radius: 8px; max-height: 520px; overflow: auto; }
details > summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 6px 0; }
.matrix td, .matrix th { text-align: center; } .matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix input[type=text] { width: 70px; min-height: 36px; text-align: center; }
.matrix input[type=checkbox] { width: 20px; height: 20px; }
footer { border-top: 1px solid var(--linie); padding: 16px 20px; text-align: center; font-size: 13px; color: var(--grau); }
@media (max-width: 640px) { h1 { font-size: 26px; } .karte { padding: 16px; } }
