:root {
  --blau: #0f3b5f;
  --blau-hell: #1e6aa8;
  --eis: #e8f2fa;
  --gruen: #1f8a4c;
  --gruen-hell: #e3f5ea;
  --orange: #d9822b;
  --rot: #c0392b;
  --grau: #6b7785;
  --linie: #d9e1e8;
  --hinter: #f4f7fa;
  --karte: #fff;
  --text: #1b2733;
  --radius: 12px;
}
* { box-sizing: border-box; }
body {
  margin: 0; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--hinter); color: var(--text);
}
button, input, select { font: inherit; }

.kopf {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top));
  background: var(--blau); color: #fff;
}
.marke { font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.marke .version { font: inherit; font-size: 12px; font-weight: 600; color: inherit; opacity: .75; align-self: flex-end; margin: 0 0 1px -4px;
  background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 1px 7px; cursor: pointer; }
.marke .version:hover { opacity: 1; background: rgba(255,255,255,.12); }
/* Fenster „Was ist neu?“ */
.changelog { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; margin: 0; }
.changelog h3 { font-size: 16px; margin: 14px 0 6px; }
.changelog ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.changelog-gruppe { font-size: 13px; font-weight: 700; color: var(--gruen); background: var(--gruen-hell); border-radius: 6px; padding: 3px 8px; margin: 10px 0 6px; display: inline-block; }
.changelog-gruppe.chef { color: var(--blau); background: var(--eis); }
.marke img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.benutzer { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.benutzer button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; padding: 4px 10px; cursor: pointer; }

main { max-width: 960px; margin: 0 auto; padding: 16px; }
.laden { color: var(--grau); text-align: center; margin-top: 40px; }
h1 { font-size: 22px; margin: 4px 0 16px; }
h2 { font-size: 18px; margin: 0; }

.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px;
  padding: 10px 16px; cursor: pointer; background: var(--blau-hell); color: #fff; font-weight: 600; text-decoration: none; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.zweit { background: var(--eis); color: var(--blau); }
.btn.gefahr { background: #fbe9e7; color: var(--rot); }
.btn.klein { padding: 6px 10px; font-size: 14px; border-radius: 8px; }
.btn.gross { padding: 14px 20px; font-size: 17px; width: 100%; }

/* Login */
.login { max-width: 360px; margin: 40px auto; }
.login label { display: block; font-size: 14px; color: var(--grau); margin: 12px 0 4px; }
.login input { width: 100%; padding: 12px; border: 1px solid var(--linie); border-radius: 10px; font-size: 17px; }
.login .btn { margin-top: 20px; }
.fehler { color: var(--rot); font-size: 14px; margin-top: 10px; min-height: 1em; }
.hinweis-box { margin-top: 20px; font-size: 13px; color: var(--grau); background: var(--eis); border-radius: 10px; padding: 10px 12px; }

/* Fortschritt */
.balken { height: 10px; background: var(--eis); border-radius: 99px; overflow: hidden; }
.balken > div { height: 100%; background: var(--orange); border-radius: 99px; transition: width .4s; }
.balken.fertig > div { background: var(--gruen); }

/* Mitarbeiter-Tour */
.tour-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.tour-kopf .zahl { font-weight: 700; color: var(--blau); white-space: nowrap; }
.adressen { list-style: none; padding: 0; margin: 16px 0 0; }
.adresse { border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; background: #fff; }
.adresse.erledigt { background: var(--gruen-hell); border-color: #b7e0c5; }
.adresse-zeile { display: flex; gap: 12px; align-items: flex-start; }
.nr { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--eis); color: var(--blau);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.erledigt .nr { background: var(--gruen); color: #fff; }
.adresse-text { flex: 1; min-width: 0; }
.strasse { font-weight: 600; }
.ort, .zeit { font-size: 14px; color: var(--grau); }
.notiz { font-size: 14px; color: #8a5a12; background: #fff4e0; border-radius: 6px; padding: 2px 8px; display: inline-block; margin-top: 4px; }
/* Notizen der Mitarbeiter zu einer Adresse */
.meldungen-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.meldungen-liste li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 8px 10px;
  background: #fdecec; border-left: 4px solid #c0392b; border-radius: 8px; font-size: 14px; overflow-wrap: anywhere; }
.meldungen-liste li.ist-erledigt { background: #eef6ee; border-left-color: #3c8d40; opacity: .8; }
.meldungen-liste li > .zeile { flex-shrink: 0; }
.notiz-form { display: grid; gap: 6px; margin-top: 10px; }
.notiz-form[hidden] { display: none; }
.notiz-form textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--linie); border-radius: 8px; font: inherit; }
.notiz-zahl { color: #c0392b; font-weight: 700; }
/* Warnung: etwas fehlt (Tour ohne Mitarbeiter, Objekte ohne Tour) – rot hinterlegt */
.karte.warnung, .tour-karte.warnung { background: #fdecec; border-color: #e7a3a3; }
.kennzahl.warnung { background: #fdecec; }
.kennzahl.warnung b, .kennzahl.warnung span, .warn-text { color: #c0392b; font-weight: 700; }
.karte.warnung table.abrechnung td { background: transparent; }

/* Eigenes Eingabefenster (statt prompt) */
.eingabe-fenster { position: fixed; inset: 0; z-index: 60; background: rgba(15, 30, 45, .45); display: grid; place-items: center; padding: 16px; }
.eingabe-fenster form { width: min(480px, 100%); margin: 0; }
.eingabe-fenster input { width: 100%; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 8px; font: inherit; }
/* Touren eines Mitarbeiters wählen (Reiter Mitarbeiter) */
.touren-wahl { display: grid; gap: 8px; padding: 8px 0; white-space: normal; }
tr[hidden] { display: none; }
/* Chef fährt selbst eine Tour */
.chef-faehrt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; background: var(--eis); }
.aktionen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.aktionen .btn { flex: 1; min-width: 140px; }
.foto-input { display: none; }

.fotos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.foto { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--eis); cursor: zoom-in; }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto .weg { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }

.leer { text-align: center; color: var(--grau); padding: 32px 16px; }

/* Chef */
.tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; }
.tab { border: 0; background: transparent; padding: 8px 14px; border-radius: 99px; cursor: pointer; color: var(--grau); font-weight: 600; white-space: nowrap; }
.tab.aktiv { background: var(--blau); color: #fff; }

.gesamt { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.ring { --p: 0; width: 110px; height: 110px; border-radius: 50%;
  background: conic-gradient(var(--gruen) calc(var(--p) * 1%), var(--eis) 0); display: grid; place-items: center; }
.ring > span { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; color: var(--blau); }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 10px; }
.kennzahl { background: var(--hinter); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kennzahl b { display: block; font-size: 22px; color: var(--blau); white-space: nowrap; }
.kennzahl span { font-size: 13px; color: var(--grau); }

.touren-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tour-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: box-shadow .15s, border-color .15s; text-align: left; width: 100%; color: inherit; }
.tour-karte:hover { border-color: var(--blau-hell); box-shadow: 0 4px 14px rgba(15,59,95,.1); }
.tour-karte .prozent { font-size: 34px; font-weight: 800; color: var(--blau); margin: 6px 0; }
.tour-karte .meta { font-size: 14px; color: var(--grau); margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.status.offen { background: #eef1f4; color: var(--grau); }
.status.laeuft { background: #fff1e0; color: var(--orange); }
.status.fertig { background: var(--gruen-hell); color: var(--gruen); }

.zurueck { background: none; border: 0; color: var(--blau-hell); cursor: pointer; padding: 0; margin-bottom: 12px; font-weight: 600; }
.zeile { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.formular { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.formular label, .formular .feld { font-size: 13px; color: var(--grau); display: grid; gap: 4px; }
.formular input, .formular select { padding: 9px 10px; border: 1px solid var(--linie); border-radius: 8px; background: #fff; width: 100%; }
.klein-grau { font-size: 13px; color: var(--grau); }
.pfeile { display: flex; flex-direction: column; gap: 2px; }
.pfeile button { border: 1px solid var(--linie); background: #fff; border-radius: 6px; width: 28px; height: 22px; cursor: pointer; font-size: 11px; line-height: 1; }

table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--linie); font-size: 15px; }
th { font-size: 13px; color: var(--grau); font-weight: 600; }

/* Touren auf-/zuklappen (Mitarbeiter) */
.tour-klapp > summary { list-style: none; cursor: pointer; position: relative; padding-right: 34px; }
.tour-klapp > summary::-webkit-details-marker { display: none; }
.tour-klapp > summary::after {
  content: '▾'; position: absolute; right: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--eis); color: var(--blau); font-size: 16px; transition: transform .2s;
}
.tour-klapp:not([open]) > summary::after { transform: rotate(-90deg); }
.tour-klapp:not([open]) > summary .tour-kopf { margin-bottom: 8px; }

/* Vorlagebilder */
.vorlagen { margin-top: 10px; }
.vorlagen-titel { font-size: 13px; font-weight: 600; color: var(--grau); }
.vorlagen .fotos { margin-top: 6px; }
.foto.vorlage { width: 120px; height: 90px; outline: 2px solid var(--blau-hell); outline-offset: -2px; }
.foto.vorlage.unsicher { outline-color: var(--orange); }
.foto .pruefen { position: absolute; left: 3px; bottom: 3px; border: 0; border-radius: 6px; background: var(--orange); color: #fff; font-size: 11px; padding: 2px 6px; cursor: pointer; }
.vorlage-neu { display: grid; place-items: center; align-content: center; width: 90px; height: 90px; border: 2px dashed var(--linie); background: #fff;
  color: var(--blau-hell); font-size: 24px; cursor: pointer; line-height: 1; }
.vorlage-neu span { font-size: 12px; }

/* Sortieren per Ziehen */
.ziehgriff { flex: none; cursor: grab; color: var(--grau); font-size: 20px; line-height: 30px; padding: 0 2px; touch-action: none; user-select: none; }
.sortierbar.ohne-ziehen .ziehgriff { display: none; }
.sortierbar:not(.ohne-ziehen) .pfeile { display: none; }
.adresse.zieht { opacity: .4; background: var(--eis); }

/* Mein Team (Unterkonten) */
.haken-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; margin: 10px 0; }
.haken { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.haken input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.haken:has(input:checked) { border-color: var(--blau-hell); background: var(--eis); }
.unterkonto td:first-child { padding-left: 28px; }

/* Ohne Netz */
.hinweis-offline { background: #fff4e0; border-color: #f0c98a; color: #7a4b05; font-size: 15px; }
.hinweis-warten { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--eis); font-weight: 600; color: var(--blau); }
.hinweis-warten[hidden] { display: none; }
.foto.wartet img { opacity: .75; }
.wartet-zeichen { position: absolute; right: 3px; bottom: 3px; background: #fff; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; }

/* Verlauf */
.ablauf { list-style: none; padding: 0; margin: 0; }
.ablauf li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.ablauf li:last-child { border-bottom: 0; }
.ablauf .foto { flex: none; width: 72px; height: 72px; }
.foto.mit-standort::after { content: '📍'; position: absolute; left: 2px; bottom: 0; font-size: 13px; }
.kein-standort { color: var(--orange); }
a { color: var(--blau-hell); }

/* Preise & Farben */
.tour-summe { font-size: 18px; font-weight: 700; color: var(--gruen); }
.kennzahl.geld b { color: var(--gruen); font-size: 20px; }
.preis-knopf { flex: none; border: 0; background: transparent; cursor: pointer; padding: 2px 0; text-align: right; }
.preis { font-weight: 700; color: var(--gruen); white-space: nowrap; }
.preis.pauschal { color: var(--blau-hell); font-weight: 600; font-style: italic; }
.preis.ohne { color: var(--grau); font-weight: 400; font-size: 13px; }
.preis-knopf:hover .preis { text-decoration: underline; }
.preis-knopf .saison { display: block; font-size: 12px; color: var(--grau); white-space: nowrap; }

/* Preise ausblenden (Chef) */
.preise-schalter { margin-left: auto; border: 1px solid var(--linie); }
body.preise-aus .geld, body.preise-aus .tour-summe, body.preise-aus .preis-knopf,
body.preise-aus .nur-mit-preis, body.preise-aus [data-tab="abrechnung"], body.preise-aus [data-tab="vertraege"] { display: none !important; }

/* Verträge */
.feld-breit { display: grid; gap: 4px; font-size: 13px; color: var(--grau); margin-top: 10px; }
.feld-breit input, .feld-breit textarea { padding: 9px 10px; border: 1px solid var(--linie); border-radius: 8px; background: #fff; width: 100%; font: inherit; color: var(--text); }
/* Vertragstabelle: Text darf umbrechen (sonst ragt die Spalte Status rechts hinaus), nur Status und Zahlen bleiben in einer Zeile */
table.vertraege td { white-space: normal; vertical-align: top; overflow-wrap: anywhere; }
table.vertraege td.zahl, table.vertraege .status { white-space: nowrap; overflow-wrap: normal; }
.kunde-zeile { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--linie); font-size: 14px; }
.kunde-zeile:last-child { border-bottom: 0; }
.zwischentitel { font-size: 15px; margin: 18px 0 8px; }
.abrechnungsart { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.art-karte { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--linie); border-radius: 10px; cursor: pointer; background: #fff; }
.art-karte input { grid-row: span 2; width: 20px; height: 20px; margin: 0; }
.art-karte span { font-size: 13px; color: var(--grau); }
.art-karte:has(input:checked) { border-color: var(--blau-hell); background: var(--eis); }
.formular label[hidden] { display: none; }
.formular .feld-breit { grid-column: 1 / -1; margin-top: 0; }
.formular p[hidden] { display: none; }
.dokumente { list-style: none; padding: 0; margin: 0 0 10px; }
.dokumente li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.farbpunkt { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; border: 1px solid rgba(0,0,0,.25); }
.farbpunkt.ohne-farbe { border-style: dashed; }
.tabelle-scroll { overflow-x: auto; }
.abrechnung .zahl { text-align: right; white-space: nowrap; }
.abrechnung td { white-space: nowrap; }
.abrechnung .klickbar { cursor: pointer; }
.abrechnung .klickbar:hover { background: var(--eis); }
.summenzeile td { font-weight: 800; border-top: 2px solid var(--blau); border-bottom: 0; background: var(--hinter); }

/* Lightbox & Meldung */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 50; display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; }
.lightbox-info { color: #fff; font-size: 14px; margin-top: 10px; text-align: center; }
.meldung { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: #fff;
  padding: 10px 18px; border-radius: 10px; z-index: 60; font-size: 15px; max-width: calc(100% - 32px); }
.meldung.fehler-m { background: var(--rot); }

@media (max-width: 560px) {
  .gesamt { grid-template-columns: 1fr; justify-items: center; }
  /* Handy: zwei Kennzahlen nebeneinander, Beträge etwas kleiner, damit „123.585,38 €“ hineinpasst */
  .kennzahlen { width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; }
  .kennzahl { padding: 8px 10px; }
  .kennzahl b { font-size: 18px; }
  .kennzahl.geld b { font-size: 16px; }
  .rolle { display: none; }
}
.marke, .benutzer { white-space: nowrap; }

/* Adress-Vorschläge unter dem Straßenfeld (eigene Liste statt datalist – die sitzt im Browserfenster falsch) */
.mit-vorschlaege { position: relative; }
.vorschlaege { position: absolute; left: 0; top: 100%; width: max(100%, min(440px, calc(100vw - 32px))); z-index: 30; margin-top: 2px; background: #fff;
  border: 1px solid #c9d2dd; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); max-height: 340px; overflow-y: auto; }
.vorschlaege[hidden] { display: none; }
.vorschlag { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #eef1f5;
  padding: 9px 12px; font: inherit; font-weight: 400; color: inherit; cursor: pointer; line-height: 1.35; }
.vorschlag:last-child { border-bottom: 0; }
.vorschlag:hover, .vorschlag.aktiv { background: #eef4fb; }
.vorschlag-art { display: inline-block; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: #eef1f5; color: #555; margin-left: 4px; }
.vorschlag-art.frei { background: #e3f4e8; color: #1e7b3c; font-weight: 600; }
.vorschlag-art.vorhanden { background: #fdecec; color: #c0392b; }

/* Ausgeblendete Elemente bleiben ausgeblendet, auch wenn eine Klasse (z. B. .btn) display setzt */
[hidden] { display: none !important; }

/* Gesperrte Betragsfelder (automatische Aufteilung) */
input[readonly] { background: #f1f4f8; color: #555; cursor: not-allowed; }
.auto-teilen { margin-top: 6px; font-weight: 400; }

/* Verlauf: Statistik und Einsätze auf-/zuklappen */
.pfeil-klapp { display: inline-block; width: 1em; color: #888; transition: transform .15s; transform: rotate(90deg); }
.klapp-karte.zu .pfeil-klapp { transform: none; }
.klapp-karte.zu .klapp-inhalt { display: none; }
.klapp-karte [data-klapp] { cursor: pointer; user-select: none; }

/* Übersicht: Touren als Liste untereinander (statt Kacheln) */
.touren-liste { display: flex; flex-direction: column; gap: 6px; }
.tour-zeile { display: grid; grid-template-columns: minmax(150px, 1.3fr) minmax(120px, 1fr) minmax(140px, 1.4fr) 64px 110px minmax(150px, 1.2fr);
  align-items: center; gap: 14px; width: 100%; padding: 10px 14px; background: #fff; border: 1px solid var(--linie); border-radius: 10px;
  cursor: pointer; text-align: left; color: inherit; font: inherit; transition: box-shadow .15s, border-color .15s; border-left: 8px solid #e6eaf0; }
.tour-zeile:hover { border-color: var(--blau-hell); box-shadow: 0 3px 10px rgba(15,59,95,.08); }
.tour-zeile.warnung { background: #fdecec; border-color: #e7a3a3; }
.tour-zeile > span { min-width: 0; }
.tz-mitarbeiter { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tz-name b { font-size: 16px; }
.tz-fortschritt { display: flex; align-items: center; gap: 8px; }
.tz-fortschritt b { min-width: 44px; color: var(--blau); }
.tz-fortschritt .balken { flex: 1; }
.tz-zahl { text-align: right; color: var(--grau); }
.tz-summe { text-align: right; font-size: 15px; }
.tz-foto { text-align: right; }
@media (max-width: 760px) {
  .tour-zeile { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .tz-name { order: 0; }
  .tz-summe { order: 1; }
  .tz-mitarbeiter { order: 2; grid-column: 1 / -1; }
  .tz-fortschritt { order: 3; grid-column: 1 / -1; }
  .tz-zahl { order: 4; text-align: left; }
  .tz-foto { order: 5; }
}

/* Tour fahren: Touren als Liste untereinander */
.fahren-liste { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 14px; }
.fahren-zeile { display: grid; grid-template-columns: 24px minmax(90px, 1fr) minmax(0, 2fr) 60px; align-items: center; gap: 12px;
  padding: 10px 14px; background: #fff; border: 1px solid var(--linie); border-left: 8px solid #e6eaf0; border-radius: 10px; cursor: pointer; font-weight: 400; margin: 0; }
.fahren-zeile:hover { border-color: var(--blau-hell); }
.fahren-zeile:has(input:checked) { background: #eef4fb; border-color: var(--blau-hell); }
.fahren-zeile input { width: 20px; height: 20px; margin: 0; }

/* Einsatz beendet (bis zum nächsten Einsatz) */
.status.beendet { background: #e7ecf3; color: #3d5a80; }
