:root {
  --grund: #f6f4ef; --karte: #fff; --text: #22201c; --leise: #77716a; --linie: #e4dfd6;
  --akzent: #2f5d50; --akzent-hell: #e3eeea; --warn: #a33b2b; --warn-hell: #f8e6e2; --gelb: #f3e9c8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.5 -apple-system, "Segoe UI", system-ui, sans-serif; }
header { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; background: var(--karte); border-bottom: 1px solid var(--linie); }
header .marke { font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: .02em; }
header nav { display: flex; gap: 20px; align-items: center; }
header nav a { color: var(--akzent); text-decoration: none; }
header .wer { color: var(--leise); }
main { max-width: 920px; margin: 0 auto; padding: 28px 20px 80px; }
h1 { font-size: 1.6em; margin: 0 0 4px; }
h2 { font-size: 1.15em; margin: 0 0 10px; }
h3 { font-size: 1em; margin: 18px 0 4px; }
a { color: var(--akzent); }
code { background: #f1eee8; padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.leise, small { color: var(--leise); }
small { display: block; font-size: .85em; margin-top: 3px; }
.kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 10px; padding: 20px 22px; margin-bottom: 18px; }
.karte.schmal { max-width: 480px; margin: 40px auto; }
.raster { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 14px; }
@media (max-width: 700px) { .raster { grid-template-columns: 1fr; } }
label { display: block; margin-bottom: 12px; font-weight: 600; font-size: .95em; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select {
  display: block; width: 100%; margin-top: 4px; padding: 8px 10px; font: inherit; font-weight: 400;
  border: 1px solid var(--linie); border-radius: 6px; background: #fff; }
fieldset { border: 0; padding: 0; margin: 14px 0 6px; }
legend { font-weight: 700; margin-bottom: 6px; }
label.wahl { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 6px; cursor: pointer; }
label.wahl input { margin-top: 4px; }
button, .knopf { display: inline-block; font: inherit; padding: 8px 16px; border-radius: 6px; border: 1px solid var(--linie);
  background: #fff; color: var(--text); cursor: pointer; text-decoration: none; }
button.haupt, .knopf.haupt { background: var(--akzent); border-color: var(--akzent); color: #fff; font-weight: 600; }
button.gross, .knopf.gross { padding: 12px 24px; font-size: 1.05em; }
button:disabled { opacity: .45; cursor: not-allowed; }
button.klein { padding: 2px 8px; font-size: .85em; }
.nr { display: inline-block; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%;
  background: var(--akzent); color: #fff; font-size: .85em; margin-right: 6px; }
.ablage { display: block; border: 2px dashed var(--linie); border-radius: 8px; padding: 22px; text-align: center;
  color: var(--leise); font-weight: 400; cursor: pointer; margin: 10px 0; transition: background .15s, border-color .15s; }
.ablage:hover, .ablage.drueber { border-color: var(--akzent); background: var(--akzent-hell); color: var(--akzent); }
.ablage input { display: none; }
.dateien { list-style: none; padding: 0; margin: 6px 0 0; }
.dateien li { display: flex; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--linie); }
.dateien li form { margin-left: auto; }
.dname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.fzeile { display: grid; grid-template-columns: minmax(0, 2fr) 1fr minmax(0, 1.4fr); gap: 10px; align-items: center; font-size: .9em; margin: 4px 0; }
.fzeile .dname { max-width: none; }
.balken { height: 8px; background: var(--linie); border-radius: 4px; overflow: hidden; }
.balken span { display: block; height: 100%; width: 0; background: var(--akzent); transition: width .3s; }
.fzeile.fehler .text { color: var(--warn); }
table.liste { width: 100%; border-collapse: collapse; background: var(--karte); border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; }
table.liste th, table.liste td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.liste td:nth-child(2) { white-space: nowrap; }
table.liste th { font-size: .85em; color: var(--leise); font-weight: 600; background: #faf8f4; }
table.liste tbody tr { cursor: pointer; }
table.liste tbody tr:hover { background: #faf8f4; }
table.liste.klein { font-size: .9em; margin-top: 6px; }
table.liste tr.fehlt td { background: var(--warn-hell); }
.zustand { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .85em; background: var(--linie); white-space: nowrap; }
.zustand.gross { font-size: 1em; padding: 6px 14px; }
.zustand.wartet { background: var(--gelb); }
.zustand.laeuft { background: var(--akzent-hell); color: var(--akzent); }
.zustand.fertig { background: var(--akzent); color: #fff; }
.zustand.fehler { background: var(--warn-hell); color: var(--warn); }
.meldung { background: var(--gelb); padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
.warnung { background: var(--warn-hell); color: var(--warn); padding: 8px 12px; border-radius: 6px; }
ul.offen li { color: var(--warn); }
.start { text-align: center; }
.start ul { text-align: left; display: inline-block; }
.fertig { border-color: var(--akzent); }
ol.schritte { list-style: none; padding: 0; margin: 0 0 10px; columns: 2; }
@media (max-width: 700px) { ol.schritte { columns: 1; } }
ol.schritte li { padding: 4px 0 4px 26px; position: relative; break-inside: avoid; }
ol.schritte li small { display: inline; margin-left: 6px; }
ol.schritte li::before { content: "○"; position: absolute; left: 4px; color: var(--leise); }
ol.schritte li.fertig::before { content: "✓"; color: var(--akzent); font-weight: 700; }
ol.schritte li.laeuft::before { content: "●"; color: var(--akzent); animation: puls 1.2s infinite; }
ol.schritte li.laeuft { font-weight: 600; }
ol.schritte li.fehler::before { content: "✕"; color: var(--warn); }
ol.schritte li.uebersprungen { color: var(--leise); }
ol.schritte li.uebersprungen::before { content: "–"; }
@keyframes puls { 50% { opacity: .3; } }
ul.pruefen { padding-left: 20px; margin: 0; }
ul.pruefen li { margin-bottom: 6px; }
pre#log { background: #1f1d1a; color: #e8e4dc; padding: 12px; border-radius: 6px; font-size: .8em; max-height: 360px; overflow: auto; white-space: pre-wrap; }
details summary { cursor: pointer; color: var(--leise); margin-top: 8px; }
.loeschen { text-align: right; }
table.liste tr.aus td { color: var(--leise); text-decoration: line-through; }
table.liste tr.aus td:first-child, table.liste tr.aus td:last-child { text-decoration: none; }
table.zitate tbody tr { cursor: default; }
