@font-face { font-family: Inter; src: url(/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --grund: #0b0f19; --flaeche: #121726; --flaeche-2: #171d2e; --rand: #222a3d;
  --text: #e5e7eb; --text-leise: #9ca3af; --text-zart: #858d9f;
  --marke-1: #7c3aed; --marke-2: #06b6d4; --akzent: #a375f2;
  --gut: #22c55e; --gut-text: #86efac;
  --warnung: #f59e0b; --warnung-text: #fcd34d;
  --fehler: #ef4444; --fehler-text: #fca5a5;
  --info: #3b82f6; --info-text: #93c5fd;
  --leer: #2a3247;
  --radius: 1.125rem; --radius-klein: .625rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 1rem/1.5 Inter, system-ui, sans-serif; }
a { color: var(--akzent); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.leise { color: var(--text-leise); }

.kopf, .inhalt, .fuss { max-width: 54rem; margin: 0 auto; padding: 0 16px; }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.marke { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.125rem; }
.marke-zeichen { width: 1.4rem; height: 1.4rem; display: block; }
.marke .leise { font-weight: 500; }
.zurueck { font-size: .9rem; color: var(--text-leise); text-decoration: none; }
.zurueck:hover { color: var(--text); }

.gesamt { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); }
.gesamt h1 { font-size: 1.35rem; font-weight: 700; }
.gesamt p { margin: .2rem 0 0; font-size: .9rem; }
.punkt { flex: none; width: .9rem; height: .9rem; border-radius: 999px; background: var(--text-zart); }
.gesamt .punkt { width: 1.15rem; height: 1.15rem; }
.ok .punkt { background: var(--gut); box-shadow: 0 0 0 .3rem #22c55e33; }
.wartung .punkt { background: var(--info); box-shadow: 0 0 0 .3rem #3b82f633; }
.eingeschraenkt .punkt { background: var(--warnung); box-shadow: 0 0 0 .3rem #f59e0b33; }
.stoerung .punkt { background: var(--fehler); box-shadow: 0 0 0 .3rem #ef444433; }
.gesamt.ok { border-color: #22c55e55; }
.gesamt.wartung { border-color: #3b82f655; }
.gesamt.eingeschraenkt { border-color: #f59e0b66; }
.gesamt.stoerung { border-color: #ef444477; }

.veraltet { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: var(--radius-klein); background: #2b2412; border: 1px solid #f59e0b66; color: var(--warnung-text); font-weight: 600; }

.aktuell { display: grid; gap: .75rem; margin-top: 1rem; }
.aktuell:empty { display: none; }
.karte { padding: 1rem 1.1rem; border-radius: var(--radius-klein); background: var(--flaeche); border: 1px solid var(--rand); border-left-width: 4px; }
.karte h2 { font-size: 1rem; font-weight: 650; }
.karte p { margin: .3rem 0 0; font-size: .92rem; }
.karte ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .9rem; color: var(--text-leise); }
.karte.stoerung { border-left-color: var(--fehler); }
.karte.eingeschraenkt { border-left-color: var(--warnung); }
.karte.wartung { border-left-color: var(--info); }
.karte.geplant { border-left-color: var(--text-zart); }
.marker { display: inline-block; margin-right: .45rem; padding: .05rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 650; vertical-align: .1rem; background: var(--flaeche-2); border: 1px solid var(--rand); }
.stoerung .marker { color: var(--fehler-text); }
.eingeschraenkt .marker { color: var(--warnung-text); }
.wartung .marker { color: var(--info-text); }

.gruppe { margin-top: 1.75rem; }
.gruppe > h2 { font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-leise); margin: 0 0 .6rem .25rem; }
.liste { border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); overflow: hidden; }
.eintrag { padding: 1rem 1.1rem; }
.eintrag + .eintrag { border-top: 1px solid var(--rand); }
.zeile { display: flex; align-items: center; gap: .75rem; }
.zeile .name { font-weight: 600; color: var(--text); text-decoration: none; }
.zeile a.name:hover { text-decoration: underline; }
.zeile .zustand { margin-left: auto; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.eintrag .beschreibung { margin: .1rem 0 0 1.65rem; font-size: .88rem; color: var(--text-leise); }
.eintrag .detail { margin: .35rem 0 0 1.65rem; font-size: .88rem; }
.ok .zustand { color: var(--gut-text); }
.wartung .zustand, .wartung .detail { color: var(--info-text); }
.eingeschraenkt .zustand, .eingeschraenkt .detail { color: var(--warnung-text); }
.stoerung .zustand, .stoerung .detail { color: var(--fehler-text); }
.unbekannt .zustand { color: var(--text-zart); }

.balken { display: flex; gap: 2px; height: 2rem; margin-top: .7rem; }
.balken button { flex: 1 1 0; min-width: 0; padding: 0; border: 0; border-radius: 2px; background: var(--leer); cursor: pointer; }
.balken button:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
.balken .b-ok { background: var(--gut); }
.balken .b-wartung { background: var(--info); }
.balken .b-eingeschraenkt { background: var(--warnung); }
.balken .b-stoerung { background: var(--fehler); }
.balken button[aria-pressed="true"] { outline: 2px solid var(--text); outline-offset: 1px; }
.skala { display: flex; justify-content: space-between; margin-top: .35rem; font-size: .78rem; color: var(--text-zart); }
.skala .tag-info { color: var(--text); text-align: center; }
.weit { display: none; }
@media (max-width: 40rem) {
  .balken button:nth-child(-n+60) { display: none; }
}
@media (min-width: 40.01rem) { .weit { display: inline; } .eng { display: none; } }

.verlauf { margin-top: 2rem; }
.verlauf:empty { display: none; }
.verlauf > h2 { font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-leise); margin: 0 0 .6rem .25rem; }
.verlauf .karte { margin-bottom: .6rem; }
.verlauf .karte p { color: var(--text-leise); }
.mehr { padding: .55rem 1rem; border-radius: 999px; background: var(--flaeche-2); border: 1px solid var(--rand); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; }

.fuss { padding-top: 2rem; padding-bottom: 2.5rem; font-size: .82rem; }
.fuss a { color: var(--text-leise); }

/* eingebettet in die Verwaltung von winku.de */
.eingebettet body { background: var(--grund); }
.eingebettet .kopf, .eingebettet .fuss { display: none; }
.eingebettet .inhalt { padding-top: 16px; padding-bottom: 16px; }
