:root { --bg: #0f1419; --karte: #182029; --text: #e6edf3; --leise: #8b98a5; --akzent: #3fb950; --warn: #d29922; --rot: #f85149; --rand: #2d3a46; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.45; }
.kopf { display: flex; gap: .75rem; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--rand); }
.marke { font-weight: 800; letter-spacing: .08em; color: var(--akzent); }
.kopf .link { margin-left: auto; }
.banner { background: #3a2f0b; color: #f2cc60; padding: .5rem 1rem; font-size: .9rem; }
main { max-width: 1100px; margin: 0 auto; padding: 1rem; }
.karte { background: var(--karte); border: 1px solid var(--rand); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
h1 { font-size: 1.4rem; margin-top: 0; } h2 { font-size: 1.1rem; } h3 { font-size: 1rem; }
label { display: block; margin: .6rem 0; }
label > span { display: block; font-size: .85rem; color: var(--leise); margin-bottom: .2rem; }
input, select { width: 100%; max-width: 28rem; padding: .5rem; border-radius: 6px; border: 1px solid var(--rand); background: #0b1015; color: var(--text); font-size: 1rem; }
table input { max-width: 7rem; padding: .3rem; }
input[type=checkbox] { width: auto; }
label.check { display: flex; gap: .5rem; align-items: center; }
button { background: var(--akzent); color: #05210c; border: 0; border-radius: 6px; padding: .55rem 1rem; font-size: 1rem; cursor: pointer; margin: .3rem .3rem .3rem 0; }
button.zweit { background: #30363d; color: var(--text); }
button.link { background: none; color: var(--leise); text-decoration: underline; padding: .2rem; }
fieldset { border: 1px solid var(--rand); border-radius: 8px; margin: .8rem 0; }
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .75rem; }
.tabs button { background: #30363d; color: var(--text); }
.tabs button.aktiv { background: var(--akzent); color: #05210c; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .6rem; }
.kachel { background: #0b1015; border: 1px solid var(--rand); border-radius: 8px; padding: .6rem; }
.k-titel { display: block; font-size: .8rem; color: var(--leise); }
.tabelle-rahmen { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .85rem; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.leise { color: var(--leise); font-size: .85rem; }
.warnung { background: #3a2f0b; color: #f2cc60; padding: .6rem; border-radius: 6px; }
.meldung { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); background: #30363d; padding: .6rem 1rem; border-radius: 6px; max-width: 90vw; }
.codes { font-family: ui-monospace, monospace; font-size: 1.1rem; columns: 2; }
.diagramm { width: 100%; }
svg.kurve { width: 100%; height: auto; background: #0b1015; border-radius: 8px; }
svg .linie { fill: none; stroke: var(--akzent); stroke-width: 2; }
svg .achse { stroke: var(--rand); }
svg .punkt { fill: var(--akzent); }
svg .punkt.ausstieg { fill: var(--warn); }
svg .punkt.letzter { fill: var(--leise); }
svg .skala { fill: var(--leise); font-size: 11px; }
footer { text-align: center; color: var(--leise); font-size: .8rem; padding: 1.5rem; }
@media (max-width: 600px) { main { padding: .5rem; } .karte { padding: .75rem; } .codes { columns: 1; } }
