/* Layout angelehnt an das Ticketanalyse-Dashboard, Farben von KRASSE EVENTS (Pink auf dunkler Seitenleiste). */
:root {
  --bg: #f5f6f8; --karte: #fff; --linie: #e4e6eb; --linie-hell: #eef0f4; --zeile-linie: #f2f3f6;
  --text: #1a1a1a; --text-2: #5a5f6a; --text-3: #8a8f9a;
  --akzent: #e91e63; --akzent-dunkel: #b0124a; --akzent-hell: rgba(233,30,99,.09);
  --leiste: #1a1a1a; --leiste-2: #262626; --leiste-text: #f2f2f2; --leiste-text-2: #a8a8a8;
  --gitter: #e9ebef; --achse: #c9cdd5; --neutral: #9aa1ad;
  --schatten: 0 1px 2px rgba(26,26,26,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 13px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--akzent-dunkel); text-decoration: none; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--bg); padding: 1px 5px; border-radius: 4px; }

.app { display: flex; min-height: 100vh; }

/* Seitenleiste */
.seitenleiste { width: 232px; flex: none; background: var(--leiste); color: var(--leiste-text); padding: 20px 16px 22px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.marke { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.marke-logo { width: 38px; height: 38px; border-radius: 9px; object-fit: contain; background: #000; }
.marke-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.marke-sub { font-size: 10.5px; color: var(--leiste-text-2); }
.gruppe { display: flex; flex-direction: column; gap: 2px; }
.gruppe-titel { font-size: 10.5px; font-weight: 600; color: var(--leiste-text-2); letter-spacing: .06em; padding: 0 8px 6px; }
.nav { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 9px; font-size: 13.5px; color: #d6d6d6; }
a.nav:hover { background: var(--leiste-2); color: #fff; }
.nav.aktiv { background: var(--akzent); color: #fff; font-weight: 600; }
.nav.geplant { color: #7d7d7d; cursor: default; }
.nav-symbol { font-size: 14px; width: 18px; text-align: center; }
.marker { margin-left: auto; font-size: 10px; border: 1px solid #444; border-radius: 5px; padding: 0 5px; color: #8d8d8d; }
.filter { display: flex; flex-direction: column; gap: 10px; }
.filter .gruppe-titel { padding-bottom: 0; }
.feld { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.feld-label { font-size: 11.5px; color: var(--leiste-text-2); width: 24px; }
.auswahl { flex: 1; min-width: 0; border: 1px solid #3a3a3a; border-radius: 9px; padding: 7px 9px; font: inherit; font-size: 13px; background: var(--leiste-2); color: var(--leiste-text); }
.auswahl:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
.knopf { border: 0; border-radius: 9px; padding: 8px; background: var(--akzent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.seiten-fuss { margin-top: auto; font-size: 11px; color: var(--leiste-text-2); display: flex; flex-direction: column; gap: 4px; padding: 0 6px; line-height: 1.4; }
.seiten-fuss b { color: var(--leiste-text); font-weight: 600; }

/* Hauptbereich */
.haupt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kopf { background: var(--karte); border-bottom: 1px solid var(--linie); padding: 18px 26px 16px; }
.titel { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.untertitel { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.mitte { padding: 18px 22px 30px; display: flex; flex-direction: column; gap: 14px; max-width: 1280px; width: 100%; }

/* Kennzahlen */
.kpis { display: grid; grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--karte); border-radius: 14px; padding: 15px 17px; box-shadow: var(--schatten); border-top: 3px solid var(--text); min-width: 0; }
.kpi.betont { border-top-color: var(--akzent); }
.kpi-titel { font-size: 12px; font-weight: 600; color: var(--text-2); }
.kpi-wert { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-top: 4px; white-space: nowrap; }
.kpi-wert.gross { font-size: 48px; line-height: 1.05; }
.kpi-unter { font-size: 11.5px; color: var(--text-3); margin-top: 3px; }

/* Karten */
.zeile { display: grid; gap: 12px; }
.zwei-spalten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.karte { background: var(--karte); border-radius: 14px; padding: 16px 18px; box-shadow: var(--schatten); min-width: 0; }
.karte.tabellenkarte { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tabellenkarte .karte-kopf { padding: 14px 18px 10px; margin: 0; }
.karte-kopf { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.karte-titel { font-size: 14px; font-weight: 600; }
.karte-sub { font-size: 11px; color: var(--text-3); }
.leer-karte { background: var(--karte); border-radius: 14px; padding: 28px; box-shadow: var(--schatten); margin: 22px; max-width: 640px; }
.leer-karte p { color: var(--text-2); }
.hinweis { font-size: 11.5px; color: var(--text-2); line-height: 1.55; padding: 2px 4px; max-width: 900px; }
.hinweis b { color: var(--text); }

/* Diagramme */
.diagramm svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagramm .gitter { stroke: var(--gitter); stroke-width: 1; }
.diagramm .achse { stroke: var(--achse); stroke-width: 1; }
.diagramm .tick { font-size: 10.5px; fill: var(--text-3); font-variant-numeric: tabular-nums; }
.diagramm .wert { font-size: 11px; font-weight: 600; fill: var(--text); }
.diagramm .saeule { fill: var(--akzent); }
.diagramm .linie { fill: none; stroke: var(--akzent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.diagramm .punkt-marke { fill: var(--akzent); stroke: var(--karte); stroke-width: 2; }
.diagramm .punkt-offen { fill: var(--karte); stroke: var(--neutral); stroke-width: 2; }
.diagramm .treffer { fill: transparent; cursor: default; outline: none; }
.diagramm .treffer:hover, .diagramm .treffer:focus-visible { fill: rgba(26,26,26,.045); }

/* Tabellen als Gitter */
.tabelle { font-size: 12.5px; border-top: 1px solid var(--linie-hell); }
.kopfzeile, .zeile-tab { display: grid; align-items: center; }
.kopfzeile { background: #f8f9fb; font-weight: 600; color: var(--text-2); font-size: 11.5px; }
.kopfzeile > div, .zeile-tab > div { padding: 8px 14px; min-width: 0; }
.zeile-tab { border-top: 1px solid var(--zeile-linie); }
.zeile-tab:hover { background: #fafbfc; }
.zeile-tab.summe { font-weight: 700; background: #f8f9fb; border-top: 1px solid var(--linie); }
.zeile-tab.gedimmt .fett { color: var(--text-2); font-weight: 500; font-style: italic; }
.r { text-align: right; }
.fett { font-weight: 600; }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.klein { color: var(--text-3); font-size: 11.5px; }
.cols-website { grid-template-columns: minmax(150px, 1.5fr) minmax(70px, .6fr) minmax(110px, .9fr) minmax(66px, .55fr) minmax(150px, 1.2fr) minmax(90px, .7fr) minmax(96px, .8fr); }
.cols-dauer { grid-template-columns: minmax(150px, 1fr) minmax(0, 1.2fr) 56px; }
.cols-kategorie { grid-template-columns: minmax(110px, 1fr) minmax(64px, .6fr) minmax(60px, .55fr) minmax(140px, 1.2fr); }
.balken { display: inline-block; width: 72px; height: 8px; background: var(--akzent-hell); border-radius: 4px; margin-right: 9px; vertical-align: middle; overflow: hidden; }
.balken b { display: block; height: 100%; border-radius: 4px; background: var(--akzent); min-width: 2px; }
.balken.grau { background: #eceef2; }
.balken.grau b { background: var(--neutral); }
.balken.breit { width: 100%; margin: 0; display: block; }
.balken.leer { background: transparent; }
.fuss { padding: 10px 18px; border-top: 1px solid var(--linie-hell); font-size: 11px; color: var(--text-3); line-height: 1.5; }

/* Tooltip */
.tooltip { position: fixed; z-index: 20; pointer-events: none; background: #1a1a1a; color: #fff; font-size: 11.5px; line-height: 1.35; padding: 6px 9px; border-radius: 7px; max-width: 280px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi.betont { grid-column: 1 / -1; }
  .zwei-spalten { grid-template-columns: minmax(0, 1fr); }
  .tabellenkarte { overflow-x: auto; }
  .cols-website { min-width: 760px; }
}
@media (max-width: 720px) {
  .app { flex-direction: column; }
  .seitenleiste { position: static; width: auto; height: auto; }
}

/* Modul „Letzte 30 Tage“ */
.letzte30 { border-top: 3px solid var(--akzent); }
.l30 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: start; margin-top: 10px; }
.l30-zahlen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.l30-kachel { background: var(--bg); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.l30-kachel .kpi-wert.akzent { color: var(--akzent-dunkel); }
.l30-diagrammtitel { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; }
.letzte30 .fuss b { color: var(--text); }
@media (max-width: 1100px) { .l30 { grid-template-columns: minmax(0, 1fr); } }

/* Seite „Antwortentwürfe“ */
.entwurf-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi-wert.klein-wert { font-size: 17px; white-space: normal; line-height: 1.35; margin-top: 8px; }
.entwurf-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 22px; margin-top: 6px; }
.abschnitt-titel { font-size: 11.5px; font-weight: 600; color: var(--text-2); margin: 12px 0 5px; }
.abschnitt-titel:first-child { margin-top: 0; }
.nachricht { margin: 0; padding: 10px 12px; background: var(--bg); border-left: 3px solid var(--achse); border-radius: 0 8px 8px 0; white-space: pre-wrap; color: var(--text); font-size: 12.5px; line-height: 1.55; }
.offen-liste { margin: 0; padding-left: 18px; color: var(--text); }
.offen-liste li { margin: 2px 0; }
.offen-liste li::marker { color: var(--akzent); }
.bausteine { display: flex; flex-wrap: wrap; gap: 5px; }
.baustein { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--linie); cursor: default; }
.baustein.fest { border-color: var(--akzent); color: var(--akzent-dunkel); }
.antwort { display: flex; flex-direction: column; gap: 8px; }
.teil { border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.55; }
.teil-text { white-space: pre-wrap; }
.teil-marke { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.teil-makro { background: var(--bg); color: var(--text-2); }
.teil-makro summary { cursor: pointer; font-weight: 600; color: var(--text-2); }
.teil-makro[open] .teil-text { margin-top: 8px; color: var(--text); }
.teil-ki { background: var(--akzent-hell); border: 1px solid rgba(233,30,99,.25); }
.teil-ki .teil-marke { color: var(--akzent-dunkel); }
.teil-preis { background: #f3f7f4; border: 1px solid #dbe8df; }
.teil-preis .teil-marke { color: #2f6b45; }
.teil-fehlt { border: 1px dashed var(--achse); color: var(--text-3); font-style: italic; }
.blaettern { display: flex; gap: 16px; justify-content: center; align-items: center; font-size: 12.5px; color: var(--text-2); }
.filter .nav .marker { color: inherit; border-color: currentColor; opacity: .7; }
@media (max-width: 1100px) {
  .entwurf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entwurf-raster { grid-template-columns: minmax(0, 1fr); }
}

/* Antwortentwürfe: Vergleich echte vs. künftige Antwort */
.schritt-titel { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text); margin: 16px 0 7px; }
.schritt-nr { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--text); color: var(--karte, #fff); font-size: 11px; }
.vergleich { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.vergleich .schritt-titel { margin-top: 16px; }
.spalte { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.spalte-info { font-size: 11.5px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 22px; }
.mail { border: 1px solid var(--linie); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; max-height: 460px; overflow-y: auto; background: var(--karte, #fff); }
.mail-kuenftig { white-space: normal; display: flex; flex-direction: column; gap: 10px; }
.stueck { white-space: pre-wrap; padding: 2px 0 2px 10px; border-left: 3px solid transparent; }
.stueck-makro { border-left-color: var(--achse); color: var(--text-2); }
.stueck-ki { border-left-color: var(--akzent); background: var(--akzent-hell); border-radius: 0 6px 6px 0; padding: 8px 10px; color: var(--text); }
.stueck-preis { border-left-color: #2f8a55; background: #f3f7f4; border-radius: 0 6px 6px 0; padding: 8px 10px; color: var(--text); }
.legende { display: inline-flex; align-items: center; gap: 5px; }
.legende::before { content: ""; width: 10px; height: 10px; border-radius: 2px; }
.l-makro::before { background: var(--achse); }
.l-ki::before { background: var(--akzent); }
.l-preis::before { background: #2f8a55; }
.pille { font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 10px; }
.pille.gleich { background: #e6f2ea; color: #2f6b45; }
.pille.anders { background: #fdf0e1; color: #9a5a12; }
.mitarbeiterin { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.mitarbeiterin .bausteine { align-items: center; }
@media (max-width: 1100px) { .vergleich { grid-template-columns: minmax(0, 1fr); } }
.stueck-preis { font-weight: 600; }
.stueck-erlaeuterung { border-left-color: #2f8a55; color: var(--text-2); font-size: 12px; margin-top: -6px; }
.ticket-link { color: var(--akzent-dunkel); font-weight: 600; text-decoration: none; }
.ticket-link:hover { text-decoration: underline; }

/* Feedback zu Antwortentwürfen */
.feedback-nr { background: var(--akzent); }
.feedback { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 10px; }
.bewertung-wahl { display: flex; flex-wrap: wrap; gap: 6px; }
.wahl { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl span { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 14px; border: 1px solid var(--linie); background: var(--bg); color: var(--text-2); }
.wahl input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.wahl-passt input:checked + span { background: #e6f2ea; border-color: #2f8a55; color: #2f6b45; }
.wahl-fast input:checked + span { background: #fdf0e1; border-color: #d48a2c; color: #9a5a12; }
.wahl-unbrauchbar input:checked + span { background: var(--akzent-hell); border-color: var(--akzent); color: var(--akzent-dunkel); }
.feedback textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 12.5px; line-height: 1.5; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 8px; resize: vertical; background: var(--karte); color: var(--text); }
.feedback textarea:focus { outline: 2px solid var(--akzent); outline-offset: 0; border-color: transparent; }
.feedback-fuss { display: flex; align-items: center; gap: 10px; }
.knopf { font: inherit; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 8px; border: 0; background: var(--text); color: var(--karte); cursor: pointer; }
.knopf:disabled { opacity: .5; cursor: default; }
.feedback-status.fehler { color: var(--akzent-dunkel); }

/* KI-Mail (seit 2026-11-19) */
.pruef-liste { margin: 8px 0 0; font-size: 12px; color: #a3412b; }
details.vorher { margin-top: 10px; font-size: 12px; }
details.vorher summary { cursor: pointer; color: var(--text-2); }
details.vorher .mail { margin-top: 8px; max-height: 320px; opacity: .85; }
.feedback-vorher { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: var(--akzent-hell); white-space: pre-wrap; }

/* Testsatz: erkannte Fahrt und Bausteine aus der Musterantwort */
.fahrt-tabelle { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 4px 0 6px; }
.fahrt-tabelle th { text-align: left; font-weight: 600; color: var(--text-2); padding: 4px 8px; border-bottom: 1px solid var(--achse); }
.fahrt-tabelle td { padding: 4px 8px; border-bottom: 1px solid var(--bg); }
.fahrt-tabelle td.abweichung { background: #fdf0e1; color: #9a5a12; font-weight: 600; }
.stueck-muster { border-left-color: var(--achse); color: var(--text-2); }
.stueck-baustein { border-left-color: var(--akzent); color: var(--text); }
.stueck-platzhalter { background: var(--bg); border-left-color: var(--achse); color: var(--text-3, #999); font-style: italic; }
.schritt-titel .pille { margin-left: 6px; }
@media (max-width: 700px) { .fahrt-tabelle { display: block; overflow-x: auto; } }

/* Freigabe, Gesendet, Einstellungen (2026-11-24) */
.freigabe-hinweis { white-space: pre-wrap; background: #fff4d6; border-radius: 9px; padding: 9px 12px; font-size: 12.5px; margin-bottom: 10px; }
.freigabe-text { width: 100%; font: 13px/1.5 Inter, -apple-system, sans-serif; border: 1px solid var(--linie); border-radius: 9px; padding: 10px 12px; resize: vertical; }
.freigabe-text:focus { outline: 2px solid var(--akzent); outline-offset: 1px; }
.knopf.zweit { background: var(--bg); color: var(--text); border: 1px solid var(--linie); }
.gesendet-zeile { border-top: 1px solid var(--zeile-linie); }
.gesendet-zeile summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 18px; cursor: pointer; list-style: none; }
.gesendet-zeile summary::-webkit-details-marker { display: none; }
.gesendet-zeile summary:hover { background: var(--bg); }
.gesendet-zeile[open] summary { background: var(--akzent-hell); }
.gesendet-zeile .mail { margin: 0 18px 14px; white-space: pre-wrap; }
.g-zeit { width: 96px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.g-ticket { width: 92px; }
.g-fahrt { color: var(--text-2); }
.einstellungen { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.einstellungen .abstand { margin-top: 14px; }
.schalter { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.schalter input { margin-top: 3px; accent-color: var(--akzent); }
.einrueck { padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.fenster-zeile { display: flex; align-items: center; gap: 8px; }
.zeit { width: 64px; border: 1px solid var(--linie); border-radius: 7px; padding: 4px 7px; font: inherit; }
.log-zeile { display: flex; gap: 12px; padding: 7px 18px; border-top: 1px solid var(--zeile-linie); font-size: 12px; align-items: baseline; }
.log-text { color: var(--text-2); overflow-wrap: anywhere; }

/* Seite „Nachfassen“ (Robert, 2026-11-25) */
.nf-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nf-kpi-klein { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.nf-leitfaden { background: var(--karte); border-radius: 14px; padding: 12px 18px; box-shadow: var(--schatten); border-left: 4px solid var(--akzent); }
.nf-leitfaden summary { cursor: pointer; font-weight: 700; font-size: 13.5px; }
.nf-leitfaden summary span { font-weight: 400; color: var(--text-3); font-size: 12px; }
.nf-leitfaden[open] summary span { display: none; }
.nf-leitfaden ol { margin: 8px 0 0; padding-left: 20px; color: var(--text-2); display: grid; grid-template-columns: 1fr 1fr; gap: 3px 30px; }
.nf-reiter { display: flex; gap: 6px; flex-wrap: wrap; }
.nf-reiter a { padding: 6px 12px; border-radius: 9px; background: var(--karte); border: 1px solid var(--linie); font-weight: 600; color: var(--text-2); }
.nf-reiter a.an { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.nf-liste { display: flex; flex-direction: column; gap: 12px; }
.nf-fall { background: var(--karte); border-radius: 14px; box-shadow: var(--schatten); display: grid; grid-template-columns: 110px minmax(0, 1fr) 230px; overflow: hidden; border: 1px solid var(--linie-hell); }
.nf-fall.fertig { opacity: .45; pointer-events: none; }
.nf-links { background: var(--bg); padding: 14px; border-right: 1px solid var(--linie-hell); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nf-datum { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.nf-klein { font-size: 11px; color: var(--text-3); }
.nf-klein.mitte { text-align: center; }
.nf-bald { background: #fde2e2; color: #a11; border-radius: 5px; padding: 1px 6px; font-size: 10.5px; font-weight: 700; }
.nf-mitte { padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nf-zeile1 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.nf-name { font-size: 16px; font-weight: 700; }
.nf-tid { color: var(--akzent-dunkel); font-weight: 600; }
.nf-pill { font-size: 11px; border-radius: 6px; padding: 1px 7px; background: var(--bg); color: var(--text-2); border: 1px solid var(--linie); }
.nf-pill.ki { background: var(--akzent-hell); color: var(--akzent-dunkel); border-color: transparent; }
.nf-versuch { font-size: 11px; font-weight: 600; color: #7a5a00; background: #fff6e0; border-radius: 5px; padding: 1px 6px; }
.nf-versuch.letzt { background: #fdecec; color: #9b1c1c; }
.nf-daten { display: flex; gap: 6px 18px; color: var(--text-2); flex-wrap: wrap; }
.nf-daten b { color: var(--text); }
.nf-protokoll { font-size: 12px; color: var(--text-2); background: var(--bg); border-radius: 7px; padding: 4px 9px; align-self: flex-start; }
.nf-knoepfe { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.nf-k { border-radius: 9px; padding: 7px 12px; font: inherit; font-weight: 600; border: 1px solid var(--linie); background: #fff; color: var(--text); cursor: pointer; }
.nf-k.klein { padding: 2px 8px; cursor: default; }
.nf-k.gruen { background: #e7f6ec; border-color: #bfe5cb; color: #17663a; }
.nf-k.gelb { background: #fff6e0; border-color: #f0dca4; color: #7a5a00; }
.nf-k.rot { background: #fdecec; border-color: #f3c7c7; color: #9b1c1c; }
.nf-k.grau { background: #f1f2f4; color: var(--text-2); }
.nf-k.gewaehlt { outline: 2px solid currentColor; outline-offset: 1px; }
.nf-k.speichern { background: var(--akzent); border-color: var(--akzent); color: #fff; padding: 5px 12px; }
.nf-k:disabled { opacity: .6; cursor: wait; }
.nf-unter { margin-top: 4px; background: var(--bg); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.nf-unter[hidden] { display: none; }
.nf-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.nf-chips[hidden] { display: none; }
.nf-chip { border: 1px solid var(--linie); background: #fff; border-radius: 20px; padding: 4px 11px; font-size: 12px; cursor: pointer; }
.nf-chip input { display: none; }
.nf-chip:has(input:checked) { background: #9b1c1c; color: #fff; border-color: #9b1c1c; }
.nf-notiz { border: 1px solid var(--linie); background: #fff; border-radius: 8px; padding: 7px 10px; font: inherit; resize: vertical; width: 100%; }
.nf-folge { font-size: 11.5px; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nf-meldung:empty { display: none; }
.nf-rechts { padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: center; border-left: 1px solid var(--linie-hell); }
.nf-tel { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--akzent); color: #fff; border-radius: 11px; padding: 12px; font-size: 15px; font-weight: 700; }
.nf-tel:hover { background: var(--akzent-dunkel); }
.nf-tel.aus { background: var(--bg); color: var(--text-3); font-size: 13px; }
.nf-zd { text-align: center; font-weight: 600; font-size: 12px; color: var(--text); }
.nf-leer { padding: 18px; color: var(--text-2); }
.nf-tabelle { padding: 6px 0; }
.nf-tkopf { padding: 8px 18px; font-weight: 700; font-size: 13px; }
.nf-tkopf span { font-weight: 400; color: var(--text-3); font-size: 12px; }
.nf-sz { display: grid; grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1.2fr) 200px; gap: 10px; padding: 7px 18px; border-top: 1px solid var(--zeile-linie); color: var(--text-2); align-items: center; }
.nf-wann { font-weight: 600; color: var(--akzent-dunkel); text-align: right; }
.nf-ez { display: grid; grid-template-columns: 50px 60px 150px minmax(0, 1fr) 190px; gap: 10px; padding: 7px 18px; border-top: 1px solid var(--zeile-linie); color: var(--text-2); align-items: center; }
.nf-ez b { color: var(--text); }
@media (max-width: 900px) {
  .nf-kpis { grid-template-columns: 1fr 1fr; }
  .nf-fall { grid-template-columns: 1fr; }
  .nf-links { flex-direction: row; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--linie-hell); }
  .nf-datum br { display: none; }
  .nf-rechts { border-left: 0; border-top: 1px solid var(--linie-hell); }
  .nf-leitfaden ol { grid-template-columns: 1fr; }
  .nf-sz, .nf-ez { grid-template-columns: 1fr; gap: 2px; }
  .nf-wann { text-align: left; }
}
.nf-wv { font-size: 11px; font-weight: 700; color: #1d4f91; background: #e3eefc; border-radius: 5px; padding: 1px 6px; }
.nf-wvwahl { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nf-wvwahl[hidden] { display: none; }
.nf-wvtitel { font-weight: 600; font-size: 12px; margin-right: 2px; }
.nf-wvwahl .nf-chip:has(input:checked) { background: #1d4f91; border-color: #1d4f91; color: #fff; }
.nf-wvdatum { display: inline !important; font: inherit; font-size: 12px; border: 0; background: transparent; padding: 0; color: inherit; }
.nf-wvwarnung { color: #9b1c1c; font-size: 12px; font-weight: 600; }
.nf-wvwarnung.ok { color: var(--text-2); font-weight: 600; }
.nf-fahrzeug { font-weight: 700; color: var(--akzent-dunkel); background: var(--akzent-hell); border-radius: 6px; padding: 0 8px; }
.nf-kontakt { font-size: 12px; color: var(--text-2); }

/* Anmeldung (Robert, 2026-11-25) */
.nutzer-fuss { margin-top: 8px; padding-top: 8px; border-top: 1px solid #333; }
.nutzer-fuss a { color: var(--leiste-text-2); text-decoration: underline; }
.anmelde-seite { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.anmelde-karte { background: var(--karte); border-radius: 16px; box-shadow: var(--schatten); padding: 28px; max-width: 420px; width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.anmelde-karte .marke-logo { width: 48px; height: 48px; }
.anmelde-karte p { margin: 0; color: var(--text-2); }
.anmelde-hinweis { color: #9b1c1c !important; font-weight: 600; }
.knopf.google { display: inline-block; padding: 10px 16px; }
