/* Öffentliche Statusseite (status.instar.com): ohne Skripte, hell und dunkel */
:root {
  --grund: #f4f6f9; --flaeche: #fff; --text: #1d2430; --leise: #5b6675; --linie: #dde2e9;
  --gruen: #1f9d55; --gelb: #d08a00; --rot: #d33a2c; --blau: #2f6fd6; --grau: #c7ced8;
}
@media (prefers-color-scheme: dark) {
  :root { --grund: #12161d; --flaeche: #1b212b; --text: #e6eaf0; --leise: #9aa5b4; --linie: #2c3441;
    --gruen: #34b56c; --gelb: #e3a21a; --rot: #e5574a; --blau: #5b92ea; --grau: #3a4352; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.rahmen { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.klein { font-size: .85rem; color: var(--leise); }
.kopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.marke { font-weight: 700; font-size: 1.1rem; }
.sprache { color: var(--blau); text-decoration: none; font-size: .9rem; }
main { padding-top: 24px; padding-bottom: 24px; }
.gesamt { border-radius: 10px; padding: 16px 20px; font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: 24px; }
.gesamt.st-ok { background: var(--gruen); }
.gesamt.st-eingeschraenkt { background: var(--gelb); }
.gesamt.st-stoerung { background: var(--rot); }
.gesamt.st-wartung { background: var(--blau); }
h2 { font-size: 1.05rem; margin: 0; }
h3 { font-size: 1rem; margin: 0 0 4px; }
.meldungen { margin-bottom: 24px; }
.meldungen > h2 { margin-bottom: 8px; }
.meldung { background: var(--flaeche); border: 1px solid var(--linie); border-left: 4px solid var(--blau);
  border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
.meldung.art-stoerung { border-left-color: var(--rot); }
.meldung.erledigt { border-left-color: var(--gruen); opacity: .85; }
.meldung p { margin: 4px 0; white-space: pre-line; }
.art { font-weight: 600; color: var(--leise); margin-right: 4px; }
.dienst { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 16px 20px; margin-bottom: 14px; }
.dienst-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ampel { font-size: .9rem; font-weight: 600; }
.ampel.st-ok { color: var(--gruen); }
.ampel.st-eingeschraenkt { color: var(--gelb); }
.ampel.st-stoerung { color: var(--rot); }
.ampel.st-wartung { color: var(--blau); }
.teile { list-style: none; margin: 10px 0 12px; padding: 0; }
.teile li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: .92rem; }
.teil-status { margin-left: auto; color: var(--leise); font-size: .85rem; }
.punkt { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--grau); }
.punkt.st-ok { background: var(--gruen); }
.punkt.st-eingeschraenkt { background: var(--gelb); }
.punkt.st-stoerung { background: var(--rot); }
.punkt.st-wartung { background: var(--blau); }
.verlauf { display: flex; gap: 2px; height: 28px; }
.tag { flex: 1; border-radius: 2px; background: var(--grau); min-width: 2px; }
.tag.st-ok { background: var(--gruen); }
.tag.st-eingeschraenkt { background: var(--gelb); }
.tag.st-stoerung { background: var(--rot); }
.verlauf-achse { display: flex; justify-content: space-between; margin-top: 4px; }
.fuss { padding-bottom: 32px; }
@media (max-width: 520px) { .verlauf { gap: 1px; } .dienst { padding: 14px; } }
