:root { --rot: #c8141e; --text: #1d1d1f; --grau: #6b6b70; --rand: #d8d8dc; --hell: #f5f5f7; --gruen: #1e7b34; --gelb: #8a5a00; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: #fff; }
.kopf { display: flex; align-items: baseline; gap: 12px; padding: 10px 16px; border-bottom: 3px solid var(--rot); }
.marke { font-weight: 700; font-size: 20px; }
.demo { color: var(--rot); font-size: 13px; font-weight: 600; margin-left: 10px; }
main { max-width: 860px; margin: 0 auto; padding: 16px; }
h1 { font-size: 24px; margin: 8px 0; }
h2 { font-size: 18px; margin: 0 0 6px; }
.karte { border: 1px solid var(--rand); border-radius: 10px; padding: 14px 16px; margin: 14px 0; background: #fff; }
.zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
label { display: block; margin: 8px 0; }
input, select, textarea { display: block; width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--rand); border-radius: 8px; margin-top: 4px; }
button, .knopf { display: inline-block; font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 8px; border: 0; background: var(--rot); color: #fff; cursor: pointer; text-decoration: none; }
.knoepfe > * { margin: 0 6px 6px 0; }
button.leise, .knopf.leise { background: var(--hell); color: var(--text); border: 1px solid var(--rand); }
.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.stand { display: inline-block; padding: 3px 10px; border-radius: 6px; font-weight: 600; font-size: 14px; margin: 4px 0; }
.stand.arbeit { background: var(--hell); color: var(--grau); }
.stand.offen { background: #e8f0fe; color: #1a4fa0; }
.stand.aenderung { background: #fff4e0; color: var(--gelb); }
.stand.fertig { background: #e6f4ea; color: var(--gruen); }
.fehler { color: var(--rot); font-weight: 600; }
.hinweis { color: var(--grau); font-size: 14px; }
table.positionen { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
table.positionen th, table.positionen td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--rand); vertical-align: top; }
td.zahl { white-space: nowrap; }
img.vorschau { width: 88px; height: auto; border-radius: 4px; border: 1px solid var(--rand); }
canvas.feld { width: 100%; max-width: 600px; height: auto; aspect-ratio: 600 / 220; border: 2px dashed var(--rand); border-radius: 8px; touch-action: none; background: #fff; }
ul.verlauf { padding-left: 18px; font-size: 14px; color: var(--grau); }
details summary { cursor: pointer; font-weight: 600; }
@media (max-width: 560px) { h1 { font-size: 20px; } table.positionen { font-size: 14px; } img.vorschau { width: 64px; } }
