/* Ortungsheld-Kundenportal – Aufbau aus Mockup 3/10–15, Look aus Mockup 17 (docs/mockups), Manrope selbst gehostet */
@font-face { font-family: Manrope; font-weight: 400; src: url(/fonts/Manrope-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Manrope; font-weight: 500; src: url(/fonts/Manrope-Medium.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Manrope; font-weight: 600; src: url(/fonts/Manrope-SemiBold.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Manrope; font-weight: 700 800; src: url(/fonts/Manrope-Bold.ttf) format("truetype"); font-display: swap; }

:root {
    --p: #ce2829; --p-hover: #b31f20; --navy: #1a3059; --navy-hell: #2b4f95; --gold: #d4a654; --dunkel: #1a3059;
    --s50: #f8fafc; --s100: #f1f5f9; --s200: #e2e8f0; --s300: #cbd5e1; --s400: #94a3b8; --s500: #64748b; --s700: #334155; --s900: #0f172a;
    --gruen: #16a34a; --rot: #dc2626;
    --verlauf: radial-gradient(circle at 30% 20%, #24407a, #13244a);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Manrope, system-ui, sans-serif; color: var(--s900); background: var(--s100); -webkit-font-smoothing: antialiased; font-size: 14px; }
a { color: var(--navy-hell); text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }

/* Rahmen */
.rahmen { display: flex; min-height: 100vh; }
.nav { width: 236px; flex: none; background: var(--dunkel); color: #c9d3ea; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.nav::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0% 100%, rgba(255,255,255,.07), transparent 50%); pointer-events: none; }
.nav img { width: 168px; margin: 22px 22px 8px; position: relative; }
.nav .pt { font-size: 11px; letter-spacing: 1.5px; font-weight: 700; color: #8fa0c4; margin: 0 22px 22px; position: relative; }
.nav a { display: flex; gap: 12px; align-items: center; padding: 10px 22px; font-size: 14px; font-weight: 600; color: #c9d3ea; position: relative; }
.nav a:hover { color: #fff; }
.nav a .sym { flex: none; opacity: .85; }
.nav a.active .sym { opacity: 1; }
.nav a.active { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 3px 0 0 var(--p); }
.nav a .zahl { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: #d62828; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center; }
.nav .kunde { margin-top: auto; padding: 16px 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; position: relative; }
.nav .kunde b { display: block; color: #fff; font-size: 13px; }
.abmelden { margin-top: 8px; background: none; border: 0; color: #8fa0c4; font-size: 12px; font-weight: 700; padding: 0; }
.abmelden:hover { color: #fff; }
.nav .recht { margin-top: 10px; font-size: 11px; color: #8fa0c4; }
.nav .recht a { display: inline; padding: 0; font-size: 11px; font-weight: 600; color: #8fa0c4; }
.nav .recht a:hover { color: #fff; }
.haupt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kopf { height: 60px; background: #fff; border-bottom: 1px solid var(--s200); display: flex; align-items: center; padding: 0 28px; gap: 12px; flex: none; }
.kopf h1 { font-size: 19px; font-weight: 800; flex: 1; }
.inhalt { padding: 22px 28px; display: flex; flex-direction: column; gap: 16px; }

/* Bausteine */
.btn { display: inline-block; background: var(--p); color: #fff; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--p); white-space: nowrap; }
.btn:hover:not(:disabled) { background: var(--p-hover); }
.btn.o { background: #fff; color: var(--navy); border-color: var(--s300); }
.btn.o:hover:not(:disabled) { background: var(--s50); }
.link { background: none; border: 0; color: var(--navy-hell); font-weight: 700; font-size: 12px; white-space: nowrap; }
.x { background: none; border: 0; color: var(--s500); font-size: 15px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { background: #fff; border: 1px solid var(--s200); border-radius: 12px; padding: 16px 18px; }
.kpi small { font-size: 12px; color: var(--s500); font-weight: 600; }
.kpi b { display: block; font-size: 28px; font-weight: 800; margin-top: 4px; letter-spacing: -.5px; }
.kpi span { font-size: 12px; color: var(--s500); }
.kpi.h { background: var(--verlauf); border: none; color: #fff; }
.kpi.h small, .kpi.h span { color: rgba(255,255,255,.85); }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.zwei > :only-child { grid-column: 1 / -1; }
.box, .panel { background: #fff; border: 1px solid var(--s200); border-radius: 12px; overflow: hidden; }
.panel { display: flex; flex-direction: column; position: sticky; top: 16px; }
.kb { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--s200); }
.kb h2 { font-size: 15px; font-weight: 800; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; color: var(--s500); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 9px 12px; background: var(--s50); border-bottom: 1px solid var(--s200); white-space: nowrap; }
td { padding: 9px 12px; border-bottom: 1px solid var(--s100); vertical-align: middle; }
tr.sel td { background: rgba(212,166,84,.1); }
input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--navy); }
.tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.tag.g { background: #dcfce7; color: #166534; }
.tag.p { background: rgba(26,48,89,.1); color: var(--navy); }
.tag.s { background: var(--s100); color: var(--s700); }
.tag.r { background: #fee2e2; color: #991b1b; }
.tag.o { background: #fdf3e1; color: #9a6b12; }
.mono { font-family: Consolas, ui-monospace, monospace; font-size: 12.5px; }
.grau { color: var(--s500); }
.klein { font-size: 11.5px; }
.leer { padding: 22px 18px; color: var(--s500); }
.reiter { display: flex; gap: 6px; flex-wrap: wrap; }
.reiter button { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; background: #fff; border: 1px solid var(--s200); color: var(--s700); }
.reiter button.a { background: var(--s900); color: #fff; border-color: var(--s900); }
.feld { padding: 0 18px; margin-top: 12px; }
.feld label { display: block; font-size: 12px; font-weight: 700; color: var(--s700); margin-bottom: 5px; }
.paar { display: grid; grid-template-columns: 1fr 1fr; }
.inp { width: 100%; border: 1px solid var(--s300); border-radius: 8px; padding: 8px 11px; font: inherit; font-size: 13px; background: #fff; color: var(--s900); }
.inp:focus { outline: 2px solid rgba(26,48,89,.25); border-color: var(--navy); }
.inp.ruhig { background: var(--s50); }
textarea.inp { resize: vertical; }
.schritte { margin: 14px 18px 0; padding: 12px 14px; background: var(--s50); border: 1px solid var(--s200); border-radius: 10px; font-size: 12px; line-height: 1.75; color: var(--s700); }
.schritte b { color: var(--s900); }
.hinweis-text { font-size: 12px; color: var(--s500); padding: 8px 18px 0; }
.fuss { margin-top: 16px; padding: 14px 18px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--s200); }
.hinweis-box { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 10px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 13px; }
.erfolg, .fehler { border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 600; }
.erfolg { background: #dcfce7; color: #14532d; border: 1px solid #bbf7d0; }
.fehler { background: #fee2e2; color: #7f1d1d; border: 1px solid #fecaca; }
.link-feld { display: block; width: 100%; margin-top: 8px; font-family: Consolas, monospace; font-size: 12px; padding: 7px 10px; border: 1px solid var(--s300); border-radius: 6px; background: #fff; }
.validation-message { color: var(--rot); font-size: 12px; }

/* Anmelden / Einladung (Formularseiten ohne Blazor) */
body.konto { display: flex; min-height: 100vh; background: #fff; }
.konto-links { width: 38%; max-width: 520px; background: var(--dunkel); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.konto-links { align-items: flex-start; justify-content: flex-start; flex-direction: column; padding: 44px 40px; background: var(--verlauf); }
.konto-links .wm { width: 100%; max-width: 280px; position: relative; }
.konto-links p { color: #c9d3ea; font-size: 16px; line-height: 1.5; max-width: 300px; margin-top: 16px; position: relative; }
/* Zweiter Faktor (Mockup 26) auf den Konto-Seiten */
.konto-box .code { font-size: 26px; letter-spacing: 8px; text-align: center; font-weight: 800; }
/* Einrichtung mit QR-Code: Box breiter, sonst passt der 6-stellige Code nicht ins Feld neben dem QR-Code */
.konto-box:has(.qr-zeile) { max-width: 470px; }
.konto-box .qr-zeile { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: start; margin: 8px 0; }
.konto-box .qr svg { width: 170px; height: 170px; border: 6px solid #fff; outline: 1px solid var(--s200); border-radius: 6px; }
@media (max-width: 520px) { .konto-box .qr-zeile { grid-template-columns: 1fr; justify-items: center; } .konto-box .qr-zeile > div:last-child { width: 100%; } }
.konto-box .codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-family: Consolas, monospace; font-size: 15px; background: var(--s50); border: 1px solid var(--s200); border-radius: 10px; padding: 12px 14px; margin: 10px 0 14px; }
.konto-box .haken-zeile { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 13px; margin: 8px 0; }
.konto-box button.link { background: none; border: 0; color: var(--s500); font-size: 12px; margin-top: 10px; cursor: pointer; }
@media print { .konto-links, .btn, .klein, form { display: none !important; } }
.konto-links .held { position: absolute; right: -16%; bottom: -14px; width: 112%; max-width: 600px; max-height: 72vh; object-fit: contain; object-position: right bottom; }
.konto-box .klein { text-align: center; color: var(--s500); margin-top: 16px; }
.konto-box { margin: auto; width: 100%; max-width: 380px; padding: 24px; }
.konto-box h1 { font-size: 24px; font-weight: 800; }
.konto-box .unter { color: var(--s500); margin: 6px 0 20px; line-height: 1.5; }
.konto-box label { display: block; font-size: 12px; font-weight: 700; color: var(--s700); margin-bottom: 14px; }
.konto-box input { display: block; width: 100%; margin-top: 5px; border: 1px solid var(--s300); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; }
.konto-box .btn { width: 100%; padding: 11px; font-size: 14px; text-align: center; }
.konto-box .fehler { margin-bottom: 14px; }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fef3c7; padding: 10px 16px; z-index: 99; font-size: 13px; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

@media (max-width: 900px) {
    .nav { display: none; }
    .zwei, .kpis { grid-template-columns: 1fr; }
    .konto-links { display: none; }
}

/* Kundenseite (Mockups 12–14) */
.schalter { width: 34px; height: 20px; border-radius: 20px; background: var(--s300); position: relative; border: 0; padding: 0; }
.schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.schalter.an { background: var(--navy); }
.schalter.an::after { left: 16px; }
.name-knopf { background: none; border: 0; padding: 0; font-weight: 700; color: var(--s900); border-bottom: 1px dashed var(--s300); text-align: left; }
.name-knopf:hover { color: var(--navy-hell); }
.haken { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.haken label { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; color: var(--s900); margin: 0; }
.btn.gefahr { color: var(--rot); }
/* Bestellungen: Aktionen als gleich breite Knöpfe untereinander (Uli 02.11.: Knöpfe statt Links, gleichmäßig) */
/* Aktionsknöpfe untereinander, alle so breit wie der breiteste (inline-flex: Container = breitestes Kind, Kinder gestreckt) */
.aktionen { display: inline-flex; flex-direction: column; gap: 6px; align-items: stretch; }
.aktionen .btn { padding: 7px 12px; text-align: center; }
.kb a { font-size: 12px; font-weight: 700; }

/* Kunde löschen (Mockup 15) */
.link.gefahr { color: var(--rot); }
.btn.gefahr-voll { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.btn.gefahr-voll:hover:not(:disabled) { background: #fecaca; }
.schritte.warnung { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }

/* Werkzeug-Anhänger und Einrichtung (Mockup 18) */
.sperre { margin: 12px 18px 0; padding: 10px 12px; background: #fdf3e1; border: 1px solid #f0d9a8; color: #7a5413; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.summe { margin: 12px 18px 0; border: 1px solid var(--s200); border-radius: 10px; font-size: 12.5px; }
.summe div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-top: 1px solid var(--s100); }
.summe div:first-child { border-top: 0; }
.summe b { color: var(--navy); white-space: nowrap; }

/* Bestellstrecke (Mockup 19) im Look von ortungsheld.de – eigenes Layout BestellLayout */
.web { min-height: 100vh; display: flex; flex-direction: column; background: #fff; color: #1e293b; }
.web-kopf { background: var(--verlauf); color: #fff; }
.web-kopf .innen, .web-fuss .innen { max-width: 1080px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.web-kopf img { height: 32px; display: block; }
.web-kopf nav a { color: #c9d3ea; font-weight: 700; font-size: 14px; margin-left: 18px; }
.web-fuss { background: var(--s100); color: var(--s500); font-size: 13px; margin-top: auto; }
.web-fuss a { color: var(--s500); margin-left: 16px; }
.bestell { max-width: 1080px; margin: 0 auto; padding: 26px 24px 40px; display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; width: 100%; }
.bestell h1 { font-size: 26px; color: var(--navy); margin-bottom: 4px; }
.bestell .u2 { color: var(--s500); margin-bottom: 18px; }
.bestell .gruppe { border: 1px solid var(--s200); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.bestell .gruppe b.t { display: block; color: var(--navy); margin-bottom: 10px; font-size: 15px; }
.bestell .zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bestell label { display: block; font-size: 12px; font-weight: 700; color: var(--s700); margin-bottom: 10px; }
.bestell label .inp { margin-top: 4px; font-weight: 500; }
.bestell .menge { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--s100); }
.bestell .menge > div:first-child { flex: 1; min-width: 0; } /* Text darf umbrechen, Stepper nie schrumpfen (Handy: „+“ war abgeschnitten) */
.bestell .menge:first-of-type { border-top: 0; }
.bestell .menge small { display: block; color: var(--s500); font-weight: 500; }
.bestell .stepper { display: flex; flex: none; align-items: center; border: 1px solid var(--s300); border-radius: 8px; overflow: hidden; }
.bestell .stepper button { flex: none; background: #fff; border: 0; padding: 7px 14px; font-weight: 800; font-size: 15px; }
.bestell .stepper span { border-left: 1px solid var(--s300); border-right: 1px solid var(--s300); min-width: 46px; text-align: center; font-weight: 800; padding: 7px 0; }
.bestell .pflicht { background: #fdf3e1; color: #7a5413; border: 1px solid #f0d9a8; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; font-weight: 600; margin-top: 8px; }
.bestell .haken { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; font-weight: 500; color: var(--s900); margin: 8px 0; }
.bestell .haken input { margin-top: 2px; }
.bestell .honig { position: absolute; left: -9999px; }
.bestell .fehler-box { background: #fee2e2; color: #7f1d1d; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.bestell .fehler-box a { color: #7f1d1d; font-weight: 800; margin-left: 6px; }
.bestell .klein { color: var(--s500); font-size: 12px; margin-top: 8px; line-height: 1.5; }
.bestell .summe { border: 2px solid var(--navy); border-radius: 16px; padding: 18px; position: sticky; top: 10px; background: #fff; }
.bestell .summe h3 { color: var(--navy); margin-bottom: 12px; font-size: 17px; }
.bestell .summe .r { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--s100); font-size: 14px; }
.bestell .summe .r:first-of-type { border-top: 0; }
.bestell .summe .r b { color: var(--navy); }
.bestell .summe .gross { font-size: 18px; }
.knopf { display: inline-block; background: var(--p); color: #fff; font-weight: 800; padding: 13px 22px; border-radius: 10px; border: 0; font-size: 15px; }
.knopf:disabled { opacity: .5; }
.knopf.voll { display: block; width: 100%; text-align: center; margin: 14px 0 0; }
.bestell.danke { display: block; max-width: 640px; padding-top: 40px; }
.bestell.danke .held img { height: 120px; display: block; margin: 0 auto 4px; } /* unser Held statt Emoji */
.bestell.danke p { color: var(--s500); line-height: 1.6; margin-bottom: 14px; }
.bestell.danke .schritte { margin: 0 0 18px; }
@media (max-width: 820px) { .bestell { grid-template-columns: 1fr; } .bestell .summe { position: static; } .bestell .zeile { grid-template-columns: 1fr !important; } }

/* Gutscheine (Mockup 20) */
.gs { display: inline-block; font-family: Consolas, ui-monospace, monospace; font-weight: 700; background: #fdf3e1; color: #7a5413; border: 1px dashed #f0d9a8; border-radius: 6px; padding: 2px 8px; }
.panel .summe { margin: 12px 18px 0; }
.bestell .gut { color: #166534; font-weight: 700; font-size: 13px; margin-top: 4px; }
.knopf.o { background: #fff; color: var(--navy); border: 1px solid var(--s300); padding: 11px 16px; font-size: 14px; }
.bestell .wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.bestell .karte { text-align: left; background: #fff; border: 2px solid var(--s200); border-radius: 14px; padding: 14px 40px 14px 14px; position: relative; font: inherit; cursor: pointer; }
.bestell .karte.an { border-color: var(--navy); box-shadow: 0 6px 20px rgba(26,48,89,.12); }
.bestell .karte b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 3px; }
.bestell .karte small { display: block; color: var(--s500); line-height: 1.45; font-size: 12.5px; }
.bestell .karte .rad { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--navy); }
.bestell .karte.an .rad { background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.bestell .laufzeit-titel { font-size: 12px; font-weight: 700; color: var(--s700); margin: 12px 0 6px; }
.bestell .karte .tarif { display: block; font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 1px; }
.bestell .karte .tarif i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--s500); }
.bestell .guenstiger { font-style: normal; background: #e7f6ec; color: #15803d; font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 20px; margin-left: 4px; vertical-align: 1px; }
.bestell .spar { background: #e7f6ec; color: #166534; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; font-weight: 600; margin-top: 8px; }
@media (max-width: 820px) { .bestell .wahl { grid-template-columns: 1fr; } }
.bestell .mandat { background: var(--s50); border: 1px solid var(--s200); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; color: var(--s700); margin-top: 6px; }
table.mandat { border-collapse: collapse; width: 100%; font-size: 14px; margin-top: 10px; }
table.mandat td { padding: 6px 0; border-bottom: 1px solid var(--s200); vertical-align: top; }
table.mandat td:first-child { color: var(--s500); width: 40%; }
@media print { .konto-links, .btn, .konto-box .klein { display: none !important; } body.konto { display: block; } }

/* Berichte (Mockup 27) */
.b-drei { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.b-zwei { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.b-liste { display: flex; flex-direction: column; }
.b-liste a { display: block; padding: 11px 16px; border-bottom: 1px solid var(--s100); font-weight: 600; color: var(--s700); }
.b-liste a small { display: block; font-weight: 500; color: var(--s500); font-size: 11.5px; }
.b-liste a.a { background: rgba(26,48,89,.06); box-shadow: inset 3px 0 0 var(--p); color: var(--navy); }
.b-liste a:hover:not(.a) { background: var(--s50); }
.b-liste .b-vorlagen { border-top: 6px solid var(--s100); }
.b-liste .b-vorlagen .tag { float: right; }
.b-filter { display: flex; gap: 10px 14px; align-items: flex-end; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--s200); }
.b-filter .feld { padding: 0; margin: 0; }
.b-filter .inp { width: auto; min-width: 140px; }
.b-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.b-chips button { font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 8px; background: #fff; border: 1px solid var(--s300); color: var(--s700); }
.b-chips button.a { background: var(--navy); color: #fff; border-color: var(--navy); }
.b-knoepfe { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.b-zeit { display: flex; gap: 6px; align-items: center; }
.b-zeit .inp { min-width: 0; }
.b-haken { display: flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 500; color: var(--s900); padding: 8px 0; }
.b-kopf { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--s50); border-bottom: 1px solid var(--s200); border-top: 1px solid var(--s200); }
.b-kopf b { color: var(--navy); font-size: 14px; white-space: nowrap; }
.b-kopf > span { white-space: nowrap; }
.b-zwei > .box { overflow-x: auto; }
/* Mockup 58: Kennzeichen wie ein echtes Schild, alle Maße aus der Höhe --h */
@font-face { font-family: Kennzeichen; font-weight: 700; src: url(/fonts/BarlowSemiCondensed-Bold.ttf) format("truetype"); font-display: swap; }
.kennz { --h: 22px; display: inline-flex; align-items: stretch; height: var(--h); box-sizing: border-box; background: #fff; border: calc(var(--h) * .05) solid #111; border-radius: calc(var(--h) * .13); box-shadow: 0 0 0 calc(var(--h) * .03) #fff, 0 0 0 calc(var(--h) * .06) #9aa3af; font-family: Kennzeichen, Manrope, sans-serif; font-weight: 700; color: #000; line-height: 1; overflow: hidden; white-space: nowrap; vertical-align: middle; }
.kennz .eu { width: calc(var(--h) * .5); background: #0a3fb5; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: calc(var(--h) * .07) 0 calc(var(--h) * .06); box-sizing: border-box; color: #fff; font-family: Arial, sans-serif; font-size: calc(var(--h) * .3); }
.kennz .eu svg { width: calc(var(--h) * .4); height: calc(var(--h) * .4); display: block; }
.kennz .tx { display: flex; align-items: center; gap: calc(var(--h) * .14); padding: 0 calc(var(--h) * .22) 0 calc(var(--h) * .18); font-size: calc(var(--h) * .76); letter-spacing: .02em; }
.kennz .pl { display: flex; flex-direction: column; gap: calc(var(--h) * .04); align-items: center; }
.kennz .pl i { display: block; width: calc(var(--h) * .27); height: calc(var(--h) * .27); border-radius: 50%; }
.kennz .pl .hu { background: radial-gradient(circle, #fff 0 22%, #1c8fc4 24%); }
.kennz .pl .land { background: radial-gradient(circle, #c3c9d2 0 45%, #7f8894 47%); }
.kt-pin .schild.nur-kz { background: none; box-shadow: none; padding: 0; }
.kt-fz .kennz, .kt-titel .kennz { margin-top: 4px; }
.b-kopf .sum { margin-left: auto; font-size: 12px; color: var(--s500); }
.b-kopf.b-gesamt { background: #fff; }
.b-kopf.b-gesamt .sum { color: var(--navy); font-weight: 800; }
.b-tab td, .b-tab th { padding: 8px 9px; }
.b-tab td:first-child { white-space: nowrap; }
.b-tab .r { text-align: right; white-space: nowrap; }
.b-tab .b-adr { max-width: 230px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-tab tr.summe td { font-weight: 800; background: var(--s50); }
.b-tab tr.gesamt td { font-weight: 800; background: var(--s100); }
.b-tab tr.leise td { color: var(--s400); }
.b-balken { position: relative; height: 16px; background: var(--s100); border-radius: 4px; overflow: hidden; min-width: 300px; }
.b-balken i { position: absolute; top: 0; bottom: 0; }
.b-balken i.f { background: #22c55e; }
.b-balken i.l { background: #f59e0b; }
.b-skala { display: flex; justify-content: space-between; min-width: 300px; font-size: 10px; color: var(--s500); }
.b-empf { display: flex; flex-wrap: wrap; gap: 6px; }
.b-empf span { background: var(--s100); border: 1px solid var(--s200); border-radius: 20px; padding: 3px 4px 3px 10px; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.b-empf span button { background: none; border: 0; color: var(--s500); font-size: 11px; padding: 0 4px; }
@media (max-width: 1100px) { .b-drei, .b-zwei { grid-template-columns: 1fr; } }

/* Ortungszeiten (Mockup 28 B) */
.o-raster { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 2px; padding: 10px 18px 4px; user-select: none; }
.o-raster i { height: 22px; border-radius: 3px; background: #dbeafe; cursor: pointer; }
.o-raster i.an { background: var(--navy); }
.o-raster .o-h { background: none; border: 0; font-size: 10px; color: var(--s500); padding: 0 0 2px; text-align: left; }
.o-raster .o-t { background: none; border: 0; font-size: 12px; font-weight: 700; color: var(--s700); text-align: left; padding: 0; }
.o-leg { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 8px 18px 14px; font-size: 12px; color: var(--s700); }
.o-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #dbeafe; vertical-align: -2px; }
.o-leg i.an { background: var(--navy); }
.o-leg .btn { padding: 5px 10px; font-size: 12px; }
.o-wer { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.o-wer label { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--s900); margin: 0; }

/* Meldungen (Mockup 29) */
.stufen { display: flex; gap: 6px; }
.stufen button { flex: 1; font-size: 13px; font-weight: 700; padding: 8px 6px; border-radius: 8px; border: 1px solid var(--s300); background: #fff; color: var(--s700); cursor: pointer; }
.stufen button.a { background: var(--navy); color: #fff; border-color: var(--navy); }
.regel td { vertical-align: top; }
.regel tr.zeile { cursor: pointer; }
.regel .art { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--navy); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-size: 14px; }
.regel .ic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.empf { display: flex; flex-wrap: wrap; gap: 4px; }
.empf span { background: var(--s100); border: 1px solid var(--s200); border-radius: 20px; padding: 2px 8px; font-size: 11.5px; white-space: nowrap; }
.empf span.ext { background: #fff; border-style: dashed; }
.tage { display: flex; gap: 4px; }
.tage button { width: 32px; height: 32px; border-radius: 50%; border: 0; font-size: 11.5px; font-weight: 800; background: var(--navy); color: #fff; cursor: pointer; }
.tage button.aus { background: var(--s100); color: var(--s500); }
.ziel { display: grid; grid-template-columns: 1fr 48px 52px 44px; gap: 6px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--s100); }
.ziel .k { text-align: center; }
.ziel.kopfz { font-size: 11px; font-weight: 800; color: var(--s500); letter-spacing: .3px; }
.zeitzeile { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.zeitzeile .inp { width: 110px; }

/* SIM-Karten (Mockup 31) */
.s-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.s-kacheln > div { background: #fff; border: 1px solid var(--s200); border-radius: 12px; padding: 14px 18px; }
.s-kacheln b { display: block; font-size: 24px; color: var(--navy); }
.s-kacheln span { font-size: 12px; color: var(--s500); }
.s-punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: #cbd5e1; }
.s-punkt.on { background: #16a34a; }
.s-balken { height: 6px; border-radius: 4px; background: var(--s100); overflow: hidden; width: 120px; margin-top: 4px; }
.s-balken i { display: block; height: 100%; background: var(--navy); }
.s-dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 10px; font-size: 13px; padding: 12px 18px; margin: 0; }
.s-dl dt { color: var(--s500); }
.s-dl dd { margin: 0; overflow-wrap: anywhere; }
.s-verlauf { display: flex; align-items: flex-end; gap: 3px; height: 60px; padding: 0 18px; }
.s-verlauf i { flex: 1; background: #c7d2fe; border-radius: 2px 2px 0 0; min-height: 2px; }
.s-akt { display: flex; flex-direction: column; gap: 8px; padding: 12px 18px 16px; }
.s-akt > .btn { text-align: left; }
.s-nw { white-space: nowrap; }
@media (max-width: 900px) { .s-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Nachbestellen (Mockup 33) */
.nb-art { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--s100); }
.nb-art .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--s100); }
.nb-art .t b { display: block; color: var(--navy); font-size: 15px; }
.nb-art .t span { font-size: 12.5px; color: var(--s500); }
.nb-zahl { display: flex; align-items: center; border: 1px solid var(--s300); border-radius: 10px; overflow: hidden; }
.nb-zahl button { width: 38px; height: 38px; border: 0; background: #fff; font-size: 20px; font-weight: 700; color: var(--navy); cursor: pointer; }
.nb-zahl button:disabled { color: var(--s300); cursor: default; }
.nb-zahl b { width: 46px; text-align: center; font-size: 17px; border-left: 1px solid var(--s200); border-right: 1px solid var(--s200); line-height: 38px; }
.nb-gs { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.nb-gs-ok { color: #166534; font-weight: 700; font-size: 12.5px; margin-top: 6px; }
.nb-gs-fehler { color: #b91c1c; font-weight: 600; font-size: 12.5px; margin-top: 6px; }
.nb-summe { padding: 6px 18px 4px; }
.nb-summe > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 4px 0; }
.nb-summe .g { font-size: 16px; font-weight: 800; color: var(--navy); border-top: 1px solid var(--s200); margin-top: 6px; padding-top: 10px; }
.nb-summe p { margin: 6px 0 0; line-height: 1.5; }
.nb-agb { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 10px 18px 14px; margin: 0; font-weight: 500; color: var(--s900); }
.nb-agb input { margin-top: 3px; }

/* Anhänger-Batterie (Mockup 34) */
.bat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; white-space: nowrap; }
.bat i { display: inline-block; width: 26px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; flex: none; }
.bat i::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; }
.bat i b { position: absolute; left: 1px; top: 1px; bottom: 1px; border-radius: 1px; }
.bat.ok { color: #15803d; } .bat.ok b { background: #16a34a; }
.bat.schw { color: #b45309; } .bat.schw b { background: #d97706; }
.bat.unb { color: var(--s400); }
.wz-zeile { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--s100); }
.wz-zeile .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--s100); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.wz-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.wz-rechts .btn { padding: 5px 10px; font-size: 12px; }
.wz-offen { background: var(--s50, #f8fafc); border-bottom: 1px solid var(--s100); padding: 12px 18px 14px 66px; }
.wz-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wz-felder .feld { margin: 0 0 10px; padding: 0; }
@media (max-width: 640px) { .wz-offen { padding-left: 18px; } .wz-felder { grid-template-columns: 1fr; } }

/* Mockup 36: Kundenseite (Ausstattung bearbeiten) und Gerätelager-Bestand */
.kd-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; background: #fff; border: 1px solid var(--s200); border-radius: 12px; padding: 16px 18px; margin-bottom: 4px; }
.kd-kopf h2 { font-size: 18px; margin: 0 0 4px; }
.kd-dl { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 12.5px; color: var(--s500); margin-top: 10px; }
.kd-dl b { display: block; color: var(--s900); font-size: 13px; }
.kd-titel { font-size: 13px; font-weight: 800; color: var(--navy); margin: 18px 0 8px; }
.kd-kn { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kd-kn .btn { padding: 5px 10px; font-size: 12px; }
.feld label.kd-wahl { border: 1px solid var(--s200); border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 600; color: var(--s900); }
.feld label.kd-wahl.a { border-color: var(--navy); background: rgba(26,48,89,.05); }
.feld label.kd-wahl input { margin-top: 3px; }
.feld label.kd-wahl small { display: block; color: var(--s500); font-size: 12px; font-weight: 500; margin-top: 2px; }
.kd-info { margin: 12px 18px 0; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #166534; line-height: 1.5; }
.kd-prot { font-size: 12px; color: var(--s700); line-height: 1.8; padding: 0 18px; }
td.mono, td.klein { white-space: nowrap; }
.lg-bestand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.lg-bestand > button { text-align: left; background: #fff; border: 1px solid var(--s200); border-radius: 12px; padding: 14px 18px; font: inherit; color: inherit; }
.lg-bestand h3 { font-size: 12px; font-weight: 800; color: var(--s500); letter-spacing: .4px; margin: 0 0 8px; text-transform: uppercase; }
.lg-bestand .z { display: flex; gap: 22px; }
.lg-bestand .z b { display: block; font-size: 24px; color: var(--navy); }
.lg-bestand .z span { font-size: 12px; color: var(--s500); }
.lg-bestand > button.a { background: var(--verlauf); border-color: transparent; color: #fff; }
.lg-bestand > button.a h3, .lg-bestand > button.a span { color: rgba(255,255,255,.85); }
.lg-bestand > button.a b { color: #fff; }
tr.lg-gruppe td { background: var(--s50); font-weight: 800; color: var(--navy); font-size: 12.5px; padding-top: 9px; padding-bottom: 9px; }
tr.lg-gruppe td a { font-weight: 700; font-size: 12px; margin-left: 10px; }
@media (max-width: 900px) { .lg-bestand { grid-template-columns: 1fr; } .kd-kopf { grid-template-columns: 1fr; } }

/* Mockup 30: Orte und Ankunftszeit */
th.r, td.r { text-align: right; }
.ak-flaeche { position: relative; height: calc(100vh - 60px); min-height: 520px; }
.ak-karte { position: absolute; inset: 0; background: #e8e4dc; }
.ak-panel { position: absolute; top: 16px; z-index: 5; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px #0003; overflow: hidden; max-height: calc(100% - 32px); overflow-y: auto; }
.ak-panel.links { left: 16px; width: 380px; }
.ak-panel.rechts { right: 16px; width: 360px; }
.ak-panel .kb h2 { font-size: 15px; }
.ak-panel .erfolg, .ak-panel .fehler { margin: 12px 18px 0; }
.ak-vorschlag { margin: 6px 18px 0; border: 1px solid var(--s200); border-radius: 8px; overflow: hidden; }
.ak-vorschlag button { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-top: 1px solid var(--s200); padding: 7px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.ak-vorschlag button:first-child { border-top: 0; }
.ak-vorschlag button:hover { background: var(--s50); }
.ak-vorschlag small { color: var(--s500); }
.ak-eta { display: flex; gap: 10px; padding: 12px 18px; }
.ak-eta div { flex: 1; background: var(--s50); border: 1px solid var(--s200); border-radius: 10px; padding: 10px; text-align: center; }
.ak-eta b { display: block; font-size: 22px; color: var(--navy); white-space: nowrap; }
.ak-eta small { font-size: 11px; color: var(--s500); }
.ak-haken { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.ak-haken label { display: flex !important; gap: 6px; align-items: flex-start; font-weight: 500 !important; margin: 0 !important; color: var(--s900) !important; font-size: 13px !important; }
@media (max-width: 900px) {
  .ak-flaeche { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .ak-karte { position: relative; height: 340px; order: 2; }
  .ak-panel { position: relative; top: auto; left: auto !important; right: auto !important; width: auto !important; margin: 12px; max-height: none; }
}
.ak-panel .fuss { flex-wrap: wrap; gap: 8px; }
.ak-panel .fuss .btn { padding: 9px 12px; font-size: 13px; }

.link-zeile { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.link-zeile .link-feld { margin-top: 0; flex: 1; min-width: 0; }
.link-zeile .btn { padding: 6px 12px; font-size: 12.5px; white-space: nowrap; }

/* Karte im Portal (Mockup 38, karte.js) */
.kt-box { position: relative; height: calc(100vh - 150px); min-height: 520px; border: 1px solid var(--s200); border-radius: 12px; overflow: hidden; background: #e8e4dc; }
.kt-box:fullscreen { height: 100vh; border-radius: 0; }
.kt-flaeche { position: absolute; inset: 0; cursor: grab; touch-action: none; user-select: none; }
.kt-flaeche.zieht { cursor: grabbing; }
.kt-kacheln img { position: absolute; width: 256px; height: 256px; pointer-events: none; }
.kt-linie { position: absolute; left: 0; top: 0; pointer-events: none; }
.kt-weg-rand { fill: none; stroke: #fff; stroke-width: 8; stroke-linejoin: round; stroke-linecap: round; }
.kt-weg { fill: none; stroke: #2563eb; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.kt-pin { position: absolute; display: flex; align-items: center; gap: 6px; white-space: nowrap; transform: translate(-15px, -15px); cursor: pointer; }
.kt-pin .kreis { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; flex: none; background: #94a3b8; color: #fff; font-size: 11px; }
.kt-pin .kreis.faehrt { background: var(--gruen); } .kt-pin .kreis.steht { background: #ea8a0c; } .kt-pin .kreis.abspiel { background: #2563eb; }
.kt-pin .kreis i { display: block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 10px solid #fff; }
.kt-pin .schild { background: rgba(255,255,255,.96); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 800; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.kt-pin.gew .kreis { box-shadow: 0 0 0 4px rgba(206,40,41,.35), 0 1px 4px rgba(0,0,0,.3); }
.kt-punkt { position: absolute; transform: translate(-10px, -10px); width: 20px; height: 20px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); font-size: 9px; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.kt-punkt.a { background: var(--gruen); } .kt-punkt.b { background: var(--p); }
.kt-panel { position: absolute; z-index: 5; left: 14px; top: 14px; bottom: 14px; width: 330px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.2); display: flex; flex-direction: column; overflow: hidden; }
.kt-kopfz { padding: 12px 14px; border-bottom: 1px solid var(--s200); display: flex; gap: 8px; }
.kt-suche { flex: 1; min-width: 0; border: 1px solid var(--s200); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px; }
.kt-gruppe { border: 1px solid var(--s200); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; color: var(--navy); font-weight: 700; max-width: 130px; }
.kt-summe { padding: 8px 14px; font-size: 12px; color: var(--s500); border-bottom: 1px solid var(--s100); }
.kt-summe .faehrt, .kt-kenn .faehrt { color: var(--gruen); } .kt-summe .steht, .kt-kenn .steht { color: #ea8a0c; } .kt-kenn .rot { color: var(--rot); }
.kt-liste, .kt-fahrten { overflow-y: auto; flex: 1; }
.kt-fz { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--s100); padding: 10px 14px; }
.kt-fz:hover { background: var(--s50); }
.kt-fz .p { width: 11px; height: 11px; border-radius: 50%; flex: none; background: #94a3b8; } .kt-fz .p.faehrt { background: var(--gruen); } .kt-fz .p.steht { background: #ea8a0c; }
.kt-fz b, .kt-titel b { display: block; color: var(--navy); font-size: 13.5px; } .kt-fz small, .kt-titel small { display: block; color: var(--s500); font-size: 12px; }
.kt-leer { padding: 14px; color: var(--s500); font-size: 13px; }
.kt-zurueck { background: none; border: 0; border-bottom: 1px solid var(--s200); text-align: left; padding: 10px 14px; font-weight: 700; color: #2563eb; font-size: 13px; }
.kt-titel { padding: 12px 14px 0; } .kt-titel b { font-size: 16px; color: var(--s900); }
.kt-kenn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px; }
.kt-kenn > div { background: var(--s50); border: 1px solid var(--s200); border-radius: 9px; padding: 7px 10px; min-width: 0; } .kt-kenn > div.breit { grid-column: 1 / 3; }
.kt-kenn small { display: block; color: var(--s500); font-size: 11px; } .kt-kenn b { color: var(--navy); font-size: 13.5px; display: block; overflow-wrap: anywhere; }
.kt-tag { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-top: 1px solid var(--s200); border-bottom: 1px solid var(--s100); color: var(--navy); font-size: 13px; }
.kt-tag button { border: 1px solid var(--s200); background: #fff; border-radius: 7px; padding: 2px 11px; color: var(--s500); }
.kt-fahrt { display: flex; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--s100); padding: 9px 14px; font-size: 12.5px; color: var(--s700); }
.kt-fahrt:not(:disabled):not(.leise):hover { background: var(--s50); }
.kt-fahrt .n { width: 22px; height: 22px; border-radius: 50%; background: var(--s200); color: var(--navy); font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.kt-fahrt b { color: var(--s900); } .kt-fahrt small { display: block; color: var(--s500); }
.kt-fahrt.gew { background: #eff6ff; } .kt-fahrt.gew .n { background: #2563eb; color: #fff; }
.kt-fahrt.privat, .kt-fahrt.leise { opacity: .75; cursor: default; } .kt-fahrt:disabled { opacity: .75; }
.kt-bericht { padding: 10px 14px; font-size: 12.5px; font-weight: 700; color: #2563eb; border-top: 1px solid var(--s100); }
.kt-zoom { position: absolute; z-index: 5; right: 14px; top: 14px; display: flex; flex-direction: column; background: #fff; border-radius: 9px; box-shadow: 0 2px 8px rgba(0,0,0,.2); overflow: hidden; }
.kt-zoom button { width: 34px; height: 34px; border: 0; border-bottom: 1px solid var(--s100); background: #fff; font-size: 18px; color: var(--navy); }
.kt-zoom button:last-child { border-bottom: 0; font-size: 14px; }
.kt-abspielen { position: absolute; z-index: 5; left: 358px; right: 62px; bottom: 14px; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.2); padding: 8px 14px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--navy); }
.kt-abspielen[hidden] { display: none; }
.kt-play { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--p); color: #fff; font-size: 12px; flex: none; }
.kt-regler { flex: 1; min-width: 60px; accent-color: #2563eb; }
.kt-zeit { white-space: nowrap; font-weight: 700; }
.kt-tempo { display: flex; gap: 2px; } .kt-tempo button { border: 0; background: none; color: var(--s500); padding: 3px 6px; border-radius: 6px; font-size: 12px; } .kt-tempo button.an { background: var(--s100); color: var(--navy); font-weight: 800; }
.kt-schliessen { border: 0; background: none; color: var(--s500); font-size: 14px; }
.kt-osm { position: absolute; right: 6px; bottom: 2px; font-size: 10px; color: var(--s500); background: rgba(255,255,255,.7); padding: 0 4px; border-radius: 3px; z-index: 4; }
@media (max-width: 760px) {
  .kt-box { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .kt-flaeche { position: relative; height: 55vh; }
  .kt-panel { position: static; width: auto; box-shadow: none; border-radius: 0; max-height: none; }
  .kt-abspielen { left: 8px; right: 8px; bottom: auto; top: calc(55vh - 64px); flex-wrap: wrap; }
  .kt-zoom { top: 8px; right: 8px; }
}

/* Geteilte Ankunftslinks mit „Beenden“ (Mockup 39 A) */
.ak-links { border-top: 1px solid var(--s200); }
.ak-links-titel { padding: 12px 18px 4px; font-size: 12px; font-weight: 800; color: var(--s500); letter-spacing: .4px; }
.ak-links-meldung { margin: 6px 18px; font-size: 12.5px; color: #166534; } .ak-links-meldung.fehler { color: var(--rot); }
.ak-link { display: flex; gap: 12px; align-items: flex-start; padding: 11px 18px; border-top: 1px solid var(--s100); }
.ak-link.aus { opacity: .7; }
.ak-link b { color: var(--s900); font-size: 13.5px; } .ak-link small { display: block; color: var(--s500); font-size: 12px; line-height: 1.5; margin-top: 2px; }
.ak-tag { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px; white-space: nowrap; background: var(--s100); color: var(--s500); }
.ak-tag.unterwegs { background: #e0e7ff; color: #3730a3; } .ak-tag.angekommen { background: #dcfce7; color: #166534; }
.ak-beenden, .ak-zurueck { margin-left: auto; flex: none; border: 1px solid #fecaca; background: #fff; color: var(--rot); font-weight: 800; font-size: 12.5px; padding: 6px 12px; border-radius: 8px; }
.ak-zurueck { border-color: var(--s300); color: var(--navy); }
.kt-ankunft { display: block; margin: 0 14px 12px; text-align: center; padding: 9px 12px; border-radius: 9px; background: rgba(37,99,235,.08); color: #2563eb; font-weight: 800; font-size: 13px; }
/* Mockup 42: Vertrag & Kündigung */
.vt-zeit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.vt-zeit div { background: var(--s50); border: 1px solid var(--s200); border-radius: 10px; padding: 9px 11px; }
.vt-zeit small { display: block; color: var(--s500); font-size: 11px; }
.vt-zeit b { font-size: 15px; }
.btn.o.rot { color: #dc2626; border-color: #fecaca; }
/* Mockup 54: Routenplanung */
.rt-halt { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 9px 18px; border-bottom: 1px solid var(--s100); font-size: 13px; align-items: start; }
.rt-halt.akt { background: #fff5f5; }
.rt-halt.aus { opacity: .55; }
.rt-halt small { display: block; color: var(--s500); font-size: 11.5px; }
.rt-halt .r { text-align: right; font-size: 12px; color: var(--s500); white-space: nowrap; }
.rt-halt .r b { display: block; color: var(--navy); font-size: 13px; }
.rt-nr { width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; background: var(--navy); flex: none; }
.rt-nr.ok { background: #16a34a; } .rt-nr.akt { background: var(--rot); box-shadow: 0 0 0 3px #fecaca; } .rt-nr.hof { background: var(--s500); } .rt-nr.aus { background: #cbd5e1; }
.rt-karte { position: relative; height: 560px; background: #e8e4dc; border-radius: 0 0 12px 12px; }
.rt-karte.klein { height: 420px; }
.rt-leg { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: #fffd; border-radius: 8px; padding: 6px 10px; font-size: 11.5px; color: #334155; }
.rt-aktionen { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.rt-aktionen .btn { padding: 4px 9px; font-size: 12px; }
.rt-pfeile { display: flex; gap: 4px; } .rt-pfeile .btn { padding: 3px 8px; font-size: 12px; }
/* Mockup 53: Hinweis auf Beacons */
.bh-tipp { display: flex; gap: 12px; align-items: flex-start; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 12px 14px; margin: 12px 18px 16px; font-size: 13px; line-height: 1.55; }
.bh-tipp .ic { font-size: 22px; }
.bh-tipp b { color: #14532d; }
.bh-zeile { display: flex; align-items: center; gap: 8px; font-size: 13px; background: #fff; border: 1px solid var(--s200); border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.bh-zeile .x { margin-left: auto; }
/* Mockup 52: Vertrag je Gerät */
.btn.kl { padding: 5px 10px; font-size: 12px; white-space: nowrap; }
.btn.rot-voll { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.vt-tab { width: 100%; }
.vt-tab td { white-space: nowrap; vertical-align: top; }
.vt-tab td .klein { white-space: normal; }  /* „sonst bis …“ darf umbrechen */
.vt-tab td:first-child { min-width: 90px; }
.vt-tab th:nth-child(n+2), .vt-tab td:nth-child(n+2) { padding-left: 6px; padding-right: 6px; }
.vt-frage { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; margin-top: 10px; font-size: 13px; }
@media (max-width: 900px) { .vt-zeit { grid-template-columns: 1fr 1fr; } }
/* Mockup 43: RMA */
.rma-wahl { display: flex; gap: 6px; flex-wrap: wrap; }
.rma-wahl button { border: 1px solid var(--s300); background: #fff; border-radius: 20px; padding: 5px 11px; font: inherit; font-size: 12.5px; cursor: pointer; }
.rma-wahl button.an { background: var(--navy); border-color: var(--navy); color: #fff; }
.rma-vorgang { padding: 12px 18px; border-top: 1px solid var(--s100); }
.rma-schritte { display: flex; margin-top: 10px; }
.rma-schritte div { flex: 1; text-align: center; font-size: 11.5px; color: var(--s500); position: relative; padding-top: 20px; }
.rma-schritte div::before { content: ""; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--s300); transform: translateX(-50%); }
.rma-schritte div.ok::before { background: #16a34a; }
.rma-schritte div.jetzt { color: var(--s900); font-weight: 800; }
.rma-schritte div.jetzt::before { background: var(--navy); box-shadow: 0 0 0 4px rgba(26,48,89,.2); }
.rma-schritte small { display: block; font-weight: 400; color: var(--s500); }
.rma-geraet { border: 1px solid var(--s200); border-radius: 10px; padding: 9px 11px; margin-top: 8px; font-size: 13px; }
.rma-weg { display: grid; gap: 8px; }
.rma-weg button { text-align: left; border: 1px solid var(--s300); background: #fff; border-radius: 10px; padding: 9px 12px; font: inherit; cursor: pointer; }
.rma-weg button b { display: block; font-size: 13.5px; color: var(--s900); }
.rma-weg button span { display: block; font-size: 12px; color: var(--s500); margin-top: 2px; }
.rma-weg button.an { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(26,48,89,.25); }

/* Mockup 66: Gerätekonfiguration */
.gk-werte { padding: 4px 18px 0; }
.gk-zeile { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--s100); }
.gk-zeile:last-child { border-bottom: 0; }
.gk-zeile small { font-size: 12px; font-weight: 700; color: var(--s700); }
.gk-zeile code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; font-weight: 600; color: var(--s900); letter-spacing: .3px; }
.gk-zeile span.klein { grid-column: 1 / 3; }
.gk-t { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #64748b; padding: 14px 18px 2px; text-transform: uppercase; }
.gk-knopf { display: flex; gap: 8px; padding: 8px 18px 0; flex-wrap: wrap; align-items: center; }
.btn.kl { padding: 6px 11px; font-size: 12px; }
.gk-log { padding: 4px 18px 16px; font-size: 12px; color: var(--s700); line-height: 1.7; overflow-wrap: anywhere; }
.gk-log b { font-family: ui-monospace, Consolas, monospace; font-weight: 600; }
.gk-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.gk-karte { background: #fff; border: 1px solid var(--s200); border-radius: 12px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gk-karte b { font-size: 14px; }
.gk-karte div div { font-size: 12px; color: #64748b; }
/* Mockup 72: Reihenfolge optimieren – Vorschlag, Zeitfenster, feste Halte */
.opt-box { margin: 10px 18px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #065f46; }
.opt-box.gleich { background: var(--s50, #f8fafc); border-color: var(--s200); color: var(--s700, #334155); }
.opt-box > b { font-size: 15px; color: #047857; }
.opt-box.gleich > b { font-size: 13px; color: var(--navy); }
.opt-vs { margin-top: 3px; color: #334155; } .opt-vs s { color: #94a3b8; }
.opt-liste { margin: 8px 0 0 20px; padding: 0; color: #0f172a; }
.opt-liste li { padding: 2px 0; } .opt-liste li span { margin-right: 6px; } .opt-liste em { font-style: normal; font-size: 11px; color: #94a3b8; font-weight: 700; }
.opt-knoepfe { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.rt-chip { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 7px; margin-right: 4px; background: #fef3c7; color: #92400e; }
.rt-chip.f { background: #e0e7ff; color: #3730a3; }
.rt-plan { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 5px; font-size: 12px; color: var(--s500); }
.rt-plan input[type=time] { padding: 3px 6px; font-size: 12px; border: 1px solid var(--s200); border-radius: 6px; width: 84px; }
.rt-plan label { display: flex; gap: 4px; align-items: center; }
/* Mockup 73 A: LKW-Profil */
.lkw-preis { font-size: 11.5px; font-weight: 700; color: #b45309; background: #fff4e5; border: 1px solid #fcd9a6; border-radius: 20px; padding: 2px 9px; }
.lkw-masse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding: 0 18px 8px; }
.lkw-masse label { font-size: 11.5px; color: var(--s500); font-weight: 700; display: flex; flex-direction: column; gap: 3px; }
.lkw-masse .inp { padding: 5px 8px; font-size: 13px; }

/* Mockup 79: LKW-Maße mit Fahrzeugbild */
.lkw-arten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px 16px 8px; }
.lkw-art { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px 6px; border: 2px solid transparent; border-radius: 12px; background: #f5f7fa; cursor: pointer; font: inherit; color: var(--s500); }
.lkw-art svg { width: 100%; height: 34px; }
.lkw-art b { font-size: 11.5px; } .lkw-art span { font-size: 10.5px; }
.lkw-art.an { background: #fff; border-color: var(--navy, #1a3059); color: var(--navy, #1a3059); box-shadow: 0 3px 10px rgba(26,48,89,.15); }
.lkw-bildrahmen { padding: 6px 16px 2px; }
.lkw-bild { width: 100%; height: auto; display: block; }
.lkw-gefahr { font-size: 11.5px; color: var(--s500); font-weight: 700; display: flex; flex-direction: column; gap: 5px; }
.lkw-gefahr > div { display: flex; gap: 9px; padding: 3px 0 0 4px; }
.lkw-gefahr em { font-style: normal; font-weight: 600; font-size: 11px; }
.raute { width: 22px; height: 22px; transform: rotate(45deg); border-radius: 4px; border: 2px solid #0f1d33; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .3; padding: 0; }
.raute b { transform: rotate(-45deg); font-size: 11px; color: #0f1d33; }
.raute.an { opacity: 1; box-shadow: 0 0 0 3px rgba(26,48,89,.2); }
.r-allgemein { background: #ef4444; } .r-wasser { background: #38bdf8; } .r-explosiv { background: #f59e0b; }
.kz-zeile { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.lkw-chip { display: inline-flex; align-items: center; gap: 5px; background: #1a3059; color: #fff; border-radius: 6px; padding: 2px 8px 2px 6px; font-size: 11px; font-weight: 700; white-space: nowrap; }
/* Mockup 83: Pakete */
.schloss { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(180deg,#fff,#f8fafc); border: 1px solid var(--s200, #e2e8f0); border-radius: 10px; padding: 14px; margin: 10px 0; max-width: 640px; }
.schloss .s { width: 36px; height: 36px; border-radius: 9px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 17px; flex: none; }
.schloss b { color: var(--navy); }
.schloss p { margin: 3px 0 10px; color: #475569; line-height: 1.45; font-size: 13px; }
.schloss .btn { margin-right: 6px; }
.paket-tab td { vertical-align: middle; }
.paket-tab select { width: auto; min-width: 150px; }
.chip-test { background: #dcfce7; color: #166534; }
.chip-ab { background: #eef2ff; color: var(--navy); }
.chip-lkw { background: #fff4e5; color: #b45309; border: 1px solid #fcd9a6; }
.paket-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; max-width: 900px; }
.paket-karte { background: #fff; border: 1px solid var(--s200, #e2e8f0); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; }
.paket-karte b { color: var(--navy); font-size: 14px; }
.paket-karte .preis { font-weight: 900; font-size: 18px; margin: 4px 0; }
.paket-karte ul { margin: 6px 0 8px; padding-left: 16px; color: #475569; line-height: 1.45; }
@media (max-width: 800px) { .paket-karten { grid-template-columns: 1fr; } }
/* Mockup 84 A: Paketkarten in der Bestellstrecke */
.bestell .paket-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.bestell .paket-kopf b.t { margin: 0; }
.bestell .lz-schalter { display: inline-flex; border: 1px solid var(--s300); border-radius: 20px; overflow: hidden; }
.bestell .lz-schalter button { background: #fff; border: 0; padding: 5px 12px; font: inherit; font-size: 12px; font-weight: 800; color: var(--s700); cursor: pointer; }
.bestell .lz-schalter button.an { background: var(--navy); color: #fff; }
.bestell .pakete-wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; align-items: stretch; }
.bestell .pk { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border: 2px solid var(--s200); border-radius: 14px; padding: 14px 14px 12px; font: inherit; cursor: pointer; }
.bestell .pk.an { border-color: var(--navy); box-shadow: 0 6px 20px rgba(26,48,89,.12); }
.bestell .pk .rad { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--navy); }
.bestell .pk.an .rad { background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.bestell .pk .band { position: absolute; top: -10px; left: 12px; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 900; padding: 2px 8px; border-radius: 10px; letter-spacing: .3px; }
.bestell .pk b { display: block; color: var(--navy); font-size: 16px; padding-right: 24px; }
.bestell .pk .wer { display: block; color: var(--s500); font-size: 12px; min-height: 34px; line-height: 1.4; }
.bestell .pk .preis { display: block; font-size: 24px; font-weight: 900; color: var(--s900); margin-top: 4px; }
.bestell .pk .preis i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--s500); }
.bestell .pk .auf { display: block; font-size: 11.5px; font-weight: 800; color: #b45309; min-height: 16px; }
.bestell .pk ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; }
.bestell .pk li { padding: 2px 0 2px 17px; position: relative; color: var(--s700); }
.bestell .pk li::before { content: "✓"; position: absolute; left: 0; color: #15803d; font-weight: 900; }
.bestell .pk li.p { font-weight: 800; color: var(--s900); }
.bestell .pk li.p::before { content: "+"; color: var(--p); }
.bestell .pk li.w { color: var(--s400); }
.bestell .pk li.w::before { content: "–"; color: var(--s300); }
.bestell .summe .r.u { border-top: 0; padding-top: 0; font-size: 12px; color: var(--s500); }
.bestell .summe .test-hin { display: block; border-top: 0; justify-content: initial; background: #dcfce7; color: #166534; border-radius: 9px; padding: 9px 11px; font-size: 12.5px; line-height: 1.45; margin-top: 10px; }
@media (max-width: 820px) { .bestell .pakete-wahl { grid-template-columns: 1fr; } .bestell .pk .wer { min-height: 0; } }
.bestell .pk:focus-visible { outline: 3px solid rgba(26,48,89,.35); outline-offset: 2px; }
.bestell .pkw-lkw { display: flex; border: 1px solid var(--s300); border-radius: 9px; overflow: hidden; margin: 8px 0 4px; }
.bestell .pkw-lkw button { flex: 1; background: #fff; border: 0; padding: 6px 4px; font: inherit; font-size: 11.5px; font-weight: 800; color: var(--s700); cursor: pointer; white-space: nowrap; }
.bestell .pkw-lkw button.an { background: var(--navy); color: #fff; }
/* Mockup 86: Zahlungssperre */
.zahl-sperre { background: #fff; border: 2px solid var(--p); border-radius: 12px; padding: 16px 18px; max-width: 680px; }
.zahl-sperre h3 { color: var(--p); font-size: 17px; margin-bottom: 6px; }
.zahl-sperre p { font-size: 13px; color: var(--s700); line-height: 1.55; margin-bottom: 10px; }
.zahl-tab { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 10px; }
.zahl-tab td { padding: 7px 4px; border-top: 1px solid var(--s100); }
.zahl-tab td:last-child { text-align: right; font-weight: 800; }
.zahl-bank { background: var(--s50); border-radius: 9px; padding: 10px 12px; font-size: 13px; line-height: 1.6; }
.zahl-hinweis { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff7ed; border-bottom: 1px solid #fcd9a6; color: #7c2d12; padding: 9px 28px; font-size: 13px; }
.zahl-verw { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; }
.zahl-verw label { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--s700); }
.zahl-verw .inp { width: auto; padding: 4px 8px; }

/* Mockup 93/94: Fristen */
.pt-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pt-chip { border: 1.5px solid var(--s200); background: #fff; border-radius: 20px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--s700); cursor: pointer; }
.pt-chip.an { border-color: var(--navy, #1a3059); color: var(--navy, #1a3059); box-shadow: 0 2px 8px rgba(26,48,89,.13); }
.pt-chip i { font-style: normal; display: inline-block; min-width: 20px; text-align: center; border-radius: 10px; padding: 0 6px; margin-left: 6px; font-size: 12px; background: var(--s100); }
.pt-chip.faellig i { background: #fee2e2; color: #991b1b; } .pt-chip.bald i { background: #fef3c7; color: #92400e; } .pt-chip.ok i { background: #dcfce7; color: #166534; }
.pt-tab td { vertical-align: middle; }
.pt-fz b { display: block; } .pt-fz span { font-size: 11.5px; color: var(--s500); }
.pt-f { display: inline-flex; flex-direction: column; gap: 1px; border-radius: 9px; padding: 5px 9px; min-width: 92px; line-height: 1.25; }
.pt-f b { font-size: 13px; } .pt-f span { font-size: 11px; font-weight: 600; }
.pt-f.r { background: #fee2e2; color: #991b1b; } .pt-f.g { background: #fef3c7; color: #92400e; } .pt-f.o { background: #f0fdf4; color: #166534; } .pt-f.n { background: transparent; color: #94a3b8; }
.pt-term { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--s100); }
.pt-term h4 { margin: 0 0 3px; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pt-aktion { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; justify-content: center; }
.pt-km { height: 6px; border-radius: 3px; background: var(--s200); margin-top: 6px; overflow: hidden; width: 220px; max-width: 100%; } .pt-km i { display: block; height: 100%; }
.pm-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--s100); font-size: 13.5px; }
.pm-zeile small { display: block; font-size: 12px; color: var(--s500); }
.pm-vorlauf { display: flex; gap: 6px; padding: 0 18px 12px; flex-wrap: wrap; }
.pm-vorlauf button { border: 1.5px solid var(--s200); background: #fff; border-radius: 8px; padding: 5px 10px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--s700); cursor: pointer; }
.pm-vorlauf button.an { border-color: var(--navy, #1a3059); background: #eef2ff; color: var(--navy, #1a3059); }

/* Mockup 94/95: Fristen ohne Tracker, Fahrzeugtyp-Kacheln, Vorschlag nach StVZO */
.ft-ot { display: inline-block; font-size: 10px; font-weight: 800; background: #eef2ff; color: var(--navy, #1a3059); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.ft-lb { display: block; font-size: 11.5px; font-weight: 800; color: var(--s500); margin: 4px 0 8px; letter-spacing: .3px; }
.ft-vorb { display: inline-block; background: #ecfdf5; color: #166534; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 2px 7px; margin-left: 6px; letter-spacing: 0; }
.ft-seg { display: inline-flex; border: 1.5px solid var(--s200); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.ft-seg button { border: 0; border-right: 1px solid var(--s200); background: #fff; padding: 7px 13px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--s700); cursor: pointer; }
.ft-seg button:last-child { border-right: 0; } .ft-seg button.an { background: var(--navy, #1a3059); color: #fff; }
.ft-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.ft-k { border: 2px solid transparent; background: var(--s50, #f5f7fa); border-radius: 12px; padding: 8px 5px 7px; text-align: center; color: var(--s600, #475569); font: inherit; cursor: pointer; min-width: 0; }
.ft-k svg { width: 100%; height: 40px; display: block; margin-bottom: 5px; }
.ft-k b { display: block; font-size: 12px; color: var(--s900, #0f172a); } .ft-k span { display: block; font-size: 10.5px; line-height: 1.3; }
.ft-k.an { background: #fff; border-color: var(--navy, #1a3059); box-shadow: 0 3px 10px rgba(26,48,89,.15); } .ft-k.an b { color: var(--navy, #1a3059); }
.ft-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 12px; }
.ft-kz { font-family: ui-monospace, Consolas, monospace; letter-spacing: .5px; text-transform: uppercase; }
.ft-vor { margin: 0 18px; border: 1.5px solid #c7d2fe; background: #f5f7ff; border-radius: 12px; overflow: hidden; }
.ft-vor h4 { margin: 0; padding: 9px 12px; font-size: 12.5px; color: var(--navy, #1a3059); border-bottom: 1px solid #e0e7ff; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ft-vor h4 small { font-weight: 600; color: var(--s500); font-size: 11px; }
.ft-fr { display: grid; grid-template-columns: 20px minmax(0, 1fr) 140px; gap: 8px; align-items: start; padding: 8px 12px; border-bottom: 1px solid #e0e7ff; font-size: 12.5px; }
.ft-fr:last-child { border-bottom: 0; } .ft-fr.aus { opacity: .45; }
.ft-fr input[type=checkbox] { margin-top: 2px; }
.ft-fr b { color: var(--s900, #0f172a); } .ft-fr div span { display: block; font-size: 11.5px; color: var(--s500); margin-top: 1px; }
.ft-d { text-align: right; } .ft-d .inp { padding: 4px 6px; font-size: 12.5px; width: 100%; } .ft-d small { display: block; font-size: 10.5px; color: var(--s500); margin-top: 2px; }
.ft-gelb { color: #92400e !important; font-weight: 700; }
.ft-fuss { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ft-hinw { font-size: 11.5px; color: var(--s500); line-height: 1.5; }
@media (max-width: 1100px) { .ft-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Mockup 97 B: Anlegen-Buttons bei der Liste statt im Kopf */
.anlegen-leiste { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--s100); }
.anlegen-zeile { display: block; width: calc(100% - 28px); margin: 12px 14px 14px; border: 2px dashed var(--s300, #cbd5e1); border-radius: 12px; background: #fff; padding: 12px; text-align: center; font: inherit; font-weight: 800; font-size: 13.5px; color: var(--navy, #1a3059); cursor: pointer; }
.anlegen-zeile:hover { border-color: var(--navy, #1a3059); background: #f8faff; }
.anlegen-zeile small { display: block; font-weight: 600; color: var(--s500); font-size: 11.5px; margin-top: 2px; }

/* Mockup 98: ohne aktiven Tracker nichts anlegen */
.tracker-sperre { display: flex; gap: 14px; align-items: flex-start; background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.tracker-sperre .ic { font-size: 22px; line-height: 1; }
.tracker-sperre b { display: block; color: #92400e; font-size: 14px; margin-bottom: 3px; }
.tracker-sperre p { margin: 0; font-size: 12.8px; color: #78350f; line-height: 1.5; }
.tracker-sperre .btn { margin-top: 9px; }
.anlegen-zeile:disabled { color: #94a3b8; border-color: var(--s200); cursor: not-allowed; background: #fff; }
.anlegen-leiste .btn:disabled, label.btn.aus { opacity: .45; cursor: not-allowed; }
.tracker-sperre.schmal { padding: 10px 14px; gap: 10px; align-items: center; }
.tracker-sperre.schmal .ic { font-size: 18px; } .tracker-sperre.schmal b { font-size: 13px; margin-bottom: 1px; } .tracker-sperre.schmal p { font-size: 12.3px; }
/* Mockup 104 B: Adminseite TomTom */
.tt-mess { height: 8px; border-radius: 5px; background: var(--s200); overflow: hidden; margin-top: 8px; }
.tt-mess i { display: block; height: 100%; background: #16a34a; }
.tt-balken { display: flex; align-items: flex-end; gap: 5px; height: 130px; padding: 10px 18px 0; }
.tt-balken div { flex: 1; display: flex; flex-direction: column-reverse; gap: 1px; min-height: 2px; }
.tt-balken i { display: block; border-radius: 3px 3px 0 0; }
.tt-achse { display: flex; justify-content: space-between; padding: 4px 18px 8px; font-size: 11px; color: var(--s400, #94a3b8); }
.tt-leg { display: flex; gap: 16px; font-size: 12px; color: var(--s500); padding: 0 18px 12px; }
.tt-leg span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
/* Mockup 104 A: Umschalter Karte | Luftbild links neben dem Zoom */
.kt-ansicht { position: absolute; z-index: 5; right: 58px; top: 14px; display: flex; gap: 2px; padding: 3px; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.kt-ansicht button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-weight: 800; font-size: 13px; color: var(--s600, #475569); cursor: pointer; }
.kt-ansicht button.an { background: var(--navy); color: #fff; }
@media (max-width: 760px) { .kt-ansicht { top: 8px; right: 50px; } }
/* Mockup 105: Verkehr je Halt in der Tour */
.rt-verkehr { display: inline-block; margin-left: 6px; font-weight: 800; font-size: 12px; }
.rt-verkehr.frei { color: #15803d; } .rt-verkehr.zaeh { color: #b45309; } .rt-verkehr.stau { color: #b91c1c; }

/* Mockup 107 B (16.11.2026): Anmeldung hell und sachlich, ohne Comic-Held */
.konto-links { background: #f3f5f9; border-right: 1px solid #e2e8f0; }
.konto-links p { color: var(--navy); font-size: 22px; font-weight: 800; margin-top: 28px; }
.konto-punkte { list-style: none; padding: 0; margin: 16px 0 0; position: relative; }
.konto-punkte li { color: #475569; font-size: 15px; padding: 5px 0 5px 26px; position: relative; }
.konto-punkte li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.bestell.danke .held .danke-haken { width: 84px; height: 84px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 44px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
body.konto .konto-box .btn { background: #0f1d33; border-color: #0f1d33; }
