:root { --blau: #1E3A8A; --akzent: #2563EB; --grau: #64748b; --rand: #dbe2ef; --hg: #F4F6FB; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--hg); color: #0f172a; line-height: 1.5; }
.kopf { background: var(--blau); color: #fff; padding: .8rem 1.5rem; }
.marke { font-weight: 700; letter-spacing: .02em; }
main { max-width: 960px; margin: 0 auto; padding: 1rem; }
.karte { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 1.2rem 1.4rem; margin: 1rem 0; }
.schmal { max-width: 420px; margin: 3rem auto; }
h1 { font-size: 1.4rem; margin-top: 0; }
h2 { font-size: 1.15rem; }
label { display: block; font-weight: 600; margin: .8rem 0 .3rem; }
input[type=text], input:not([type]), textarea, select, input[type=password] { width: 100%; padding: .55rem .6rem; border: 1px solid #b8c3d9; border-radius: 6px; font: inherit; background: #fff; }
select { width: auto; max-width: 100%; }
button { background: var(--akzent); color: #fff; border: 0; border-radius: 6px; padding: .6rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer; margin-top: .8rem; }
button:hover { filter: brightness(1.08); }
button.zweit { background: #e2e8f0; color: #0f172a; }
button.warn { background: #b91c1c; }
.fehler { color: #b91c1c; font-weight: 600; }
.hinweis { background: #fff7ed; border-left: 4px solid #f59e0b; padding: .6rem .8rem; }
.klein { font-size: .88rem; color: var(--grau); }
.leiste { position: sticky; top: 0; z-index: 5; display: flex; gap: 1rem; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: .6rem 1rem; margin-top: .6rem; box-shadow: 0 2px 6px rgba(15, 23, 42, .06); }
.uhr { font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.uhr.knapp { color: #b91c1c; font-weight: 700; }
.stand { font-size: .85rem; color: #15803d; }
.stand.fehler { color: #b91c1c; }
fieldset.frage { border: 1px solid var(--rand); }
fieldset.frage legend { display: flex; gap: .8rem; font-weight: 700; padding: 0 .4rem; }
.pkt { color: var(--grau); font-weight: 500; font-size: .9rem; }
.frage .text { font-weight: 500; }
.wahl { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin: .4rem 0; padding: .45rem .6rem; border: 1px solid transparent; border-radius: 6px; cursor: pointer; }
.wahl:hover { background: #f1f5fb; border-color: var(--rand); }
.wahl input { margin-top: .3rem; }
table.zuordnung { width: 100%; border-collapse: collapse; }
table.zuordnung td, table.zuordnung th { border-bottom: 1px solid var(--rand); padding: .5rem .4rem; vertical-align: middle; text-align: left; }
.mitte { text-align: center !important; }
.luecke select { margin: 0 .2rem; }
.kurz { max-width: 320px; }
.stufe { user-select: none; -webkit-user-select: none; }
.anf li { margin: .55rem 0; }
.bsp { background: #f1f5fb; border-radius: 6px; padding: .4rem .7rem; margin-top: .3rem; }
.bsp span { font-size: .8rem; color: var(--grau); text-transform: uppercase; }
.bsp pre { margin: .2rem 0 0; white-space: pre-wrap; font-size: .9rem; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabelle th, .tabelle td { border-bottom: 1px solid var(--rand); padding: .4rem; text-align: left; }
.ok { color: #15803d; } .nein { color: #b91c1c; }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.codekarte { border: 1px dashed #94a3b8; border-radius: 8px; padding: .7rem; }
.codekarte strong { font-size: 1.3rem; letter-spacing: .12em; font-family: ui-monospace, monospace; }
@media print { .kopf, .noprint { display: none; } .karte { border: 0; } }
