:root {
  --akzent: #007c99;
  --akzent-hell: #e3f4f8;
  --text: #1c1c1c;
  --leise: #5f6b70;
  --linie: #d9dfe2;
  --grund: #f4f6f7;
  --ok: #1f7a3a;
  --ok-hell: #e3f3e7;
  --nok: #b3261e;
  --nok-hell: #fbe7e5;
  --block: #7a5b00;
  --block-hell: #fdf3d6;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); }
a { color: var(--akzent); }
button, input, select, textarea { font: inherit; }
.kopf { background: #fff; border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: 1080px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marke { font-weight: bold; font-size: 19px; text-decoration: none; color: var(--text); }
.marke span { color: var(--akzent); font-weight: normal; margin-left: 6px; }
.konto { color: var(--leise); font-size: 14px; display: flex; gap: 12px; align-items: center; }
.inhalt { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }
.fuss { max-width: 1080px; margin: 0 auto; padding: 0 20px 30px; color: var(--leise); font-size: 13px; }
h1 { font-size: 24px; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 28px 0 10px; }
h3 { font-size: 16px; margin: 0 0 6px; }
.unter { color: var(--leise); margin: 0 0 18px; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: 18px 20px; margin-bottom: 14px; }
.schmal { max-width: 460px; margin: 40px auto; }
.feld { display: block; margin: 12px 0; }
.feld > span { display: block; font-size: 13px; color: var(--leise); margin-bottom: 4px; }
input[type=email], input[type=text], select, textarea { width: 100%; padding: 9px 10px; border: 1px solid #b8c2c6; border-radius: 4px; background: #fff; }
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
.knopf { background: var(--akzent); color: #fff; border: 0; border-radius: 4px; padding: 9px 16px; cursor: pointer; }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf.zweit { background: #fff; color: var(--akzent); border: 1px solid var(--akzent); }
.knopf.klein { padding: 5px 10px; font-size: 13px; }
.link-knopf { background: none; border: 0; color: var(--akzent); cursor: pointer; padding: 0; text-decoration: underline; }
.meldung { padding: 10px 12px; border-radius: 4px; margin: 12px 0; }
.meldung.info { background: var(--akzent-hell); }
.meldung.fehler { background: var(--nok-hell); color: var(--nok); }
.meldung.hinweis { background: var(--block-hell); color: var(--block); }
table.liste { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--linie); border-radius: 6px; 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 th { background: #fafbfb; font-size: 13px; color: var(--leise); font-weight: normal; }
table.liste tr.klickbar { cursor: pointer; }
table.liste tr.klickbar:hover td { background: var(--akzent-hell); }
.leer { color: var(--leise); padding: 14px 0; }
.marker { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; white-space: nowrap; background: #e8ecee; }
.marker.iO { background: var(--ok-hell); color: var(--ok); }
.marker.niO { background: var(--nok-hell); color: var(--nok); }
.marker.blockiert, .marker.offen-gelb { background: var(--block-hell); color: var(--block); }
.marker.kritisch { background: #f6c9c5; color: #7d140e; }
.marker.hoch { background: #fbdcc0; color: #7a3c00; }
.marker.mittel { background: #fbefc0; color: #6b5200; }
.marker.gering { background: #e8ecee; color: #3e4a4f; }
.balken { height: 6px; background: #e3e8ea; border-radius: 3px; overflow: hidden; min-width: 90px; margin-top: 5px; }
.balken > div { height: 100%; background: var(--akzent); }
.kopfzeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 20px; margin: 12px 0; }
.raster div > b { display: block; font-size: 12px; color: var(--leise); font-weight: normal; }
.schritt { border-left: 4px solid var(--linie); }
.schritt.iO { border-left-color: var(--ok); }
.schritt.niO { border-left-color: var(--nok); }
.schritt.blockiert { border-left-color: #d1a200; }
.schritt.aktiv { box-shadow: 0 0 0 2px var(--akzent-hell); }
.schritt .zeile { margin: 6px 0; }
.schritt .zeile b { color: var(--leise); font-weight: normal; }
.wahl { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }
.wahl button { border: 1px solid #b8c2c6; background: #fff; border-radius: 4px; padding: 7px 14px; cursor: pointer; }
.wahl button.an.iO { background: var(--ok); border-color: var(--ok); color: #fff; }
.wahl button.an.niO { background: var(--nok); border-color: var(--nok); color: #fff; }
.wahl button.an.blockiert { background: #d1a200; border-color: #d1a200; color: #fff; }
.wahl button:disabled { cursor: default; }
.stand { font-size: 12px; color: var(--leise); margin-left: 6px; }
.ablage { border: 2px dashed #b8c2c6; border-radius: 6px; padding: 12px; color: var(--leise); font-size: 14px; margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ablage.ueber { border-color: var(--akzent); background: var(--akzent-hell); }
.ablage.aus { opacity: .5; }
.bilder { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.bild { position: relative; }
.bild img { height: 96px; max-width: 180px; object-fit: cover; border: 1px solid var(--linie); border-radius: 4px; display: block; cursor: zoom-in; }
.bild button { position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,.65); color: #fff; border: 0; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; line-height: 20px; }
.unterleiste { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--linie); padding: 12px 20px; margin: 20px -20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.verlauf { list-style: none; padding: 0; margin: 0; }
.verlauf li { padding: 10px 0 10px 16px; border-left: 2px solid var(--linie); position: relative; }
.verlauf li::before { content: ''; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--akzent); }
.verlauf .wann { font-size: 12px; color: var(--leise); }
.nachweise a { display: inline-block; margin: 0 12px 6px 0; }
.voll { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; z-index: 10; cursor: zoom-out; }
.voll img { max-width: 95vw; max-height: 95vh; background: #fff; }
.unsichtbar { display: none !important; }
@media (max-width: 640px) {
  table.liste th:nth-child(3), table.liste td:nth-child(3), table.liste th:nth-child(4), table.liste td:nth-child(4) { display: none; }
}
.karte > .zeile > h3 { margin-top: 16px; }
.kennzahlen { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.raster > div, .zeile, .verlauf li { overflow-wrap: anywhere; min-width: 0; }
table.liste td b { white-space: nowrap; }
.unterleiste .knoepfe { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.notizfeld { width: 360px !important; max-width: 60vw; }
.notiz { font-size: 13px; color: var(--block); margin-top: 3px; }
