:root{
 --bg:#eef4ff; --panel:#ffffffcc; --text:#0e1726; --muted:#667085; --line:#d9e4f5;
 --primary:#0b5cff; --primary2:#00c2ff; --ok:#12b76a; --warn:#f79009; --bad:#f04438; --dark:#07162f;
 --shadow:0 18px 45px rgba(10,40,110,.13); --radius:24px;
}
*{box-sizing:border-box} body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:radial-gradient(circle at top left,#d7f2ff 0,#eef4ff 32%,#f8fbff 100%);min-height:100vh} a{text-decoration:none;color:inherit}
.app-shell{display:grid;grid-template-columns:285px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:22px;background:linear-gradient(180deg,#061638,#0b5cff 70%,#00b9ff);color:#fff;box-shadow:18px 0 45px rgba(6,22,56,.25);display:flex;flex-direction:column;gap:18px}.brand{display:flex;gap:12px;align-items:center;padding:10px 6px 18px;border-bottom:1px solid rgba(255,255,255,.18)}.brand img{width:72px;max-height:72px;object-fit:contain;background:white;border-radius:18px;padding:8px}.brand b{display:block;font-size:18px}.brand span{display:block;opacity:.8;font-size:13px}.nav{display:grid;gap:8px}.nav a{padding:13px 14px;border-radius:16px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.09);transition:.2s}.nav a:hover{background:rgba(255,255,255,.22);transform:translateX(4px)}.side-footer{margin-top:auto;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px;background:rgba(0,0,0,.16);border-radius:16px;padding:12px}.side-footer a{text-decoration:underline}.main{padding:26px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.topbar h1{margin:0;font-size:30px}.topbar p{margin:6px 0 0;color:var(--muted)}
.hero{border-radius:30px;padding:28px;background:linear-gradient(135deg,#07162f,#0b5cff 55%,#00c2ff);color:white;box-shadow:var(--shadow);display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;right:-60px;top:-70px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.14)}.hero h2{margin:0 0 8px;font-size:30px}.hero p{margin:0;opacity:.84}.hero>*{position:relative;z-index:2}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin:18px 0}.grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.card{background:var(--panel);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.85);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.card h2,.card h3{margin-top:0}.metric{position:relative;overflow:hidden}.metric .label{color:var(--muted);font-size:14px}.metric .value{font-size:40px;font-weight:850;letter-spacing:-1px;margin-top:8px}.metric .mini{color:var(--muted);font-size:13px}.metric.ok{border-left:6px solid var(--ok)}.metric.warn{border-left:6px solid var(--warn)}.metric.bad{border-left:6px solid var(--bad)}.metric.blue{border-left:6px solid var(--primary)}
.btn,button{border:0;border-radius:15px;padding:12px 16px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.primary,button.primary{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 10px 25px rgba(11,92,255,.24)}.btn.secondary,button.secondary{background:#e9f1ff;color:#0b3c98}.btn.danger,button.danger{background:#ffe5e2;color:#b42318}.btn.small{padding:8px 11px;font-size:13px;border-radius:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
input,select,textarea{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--text);outline:none}textarea{min-height:95px;resize:vertical}label{font-weight:800;font-size:13px;color:#344054;display:block;margin:3px 0 6px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.form-row{margin-bottom:12px}.searchbar{display:flex;gap:10px;margin-bottom:16px}.searchbar input{max-width:420px}
table{width:100%;border-collapse:separate;border-spacing:0 9px}th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#667085;padding:0 12px}td{background:#fff;padding:13px 12px;border-top:1px solid #edf2fb;border-bottom:1px solid #edf2fb}td:first-child{border-left:1px solid #edf2fb;border-radius:16px 0 0 16px}td:last-child{border-right:1px solid #edf2fb;border-radius:0 16px 16px 0}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:850}.badge.ok{background:#dcfae6;color:#067647}.badge.warn{background:#fef0c7;color:#b54708}.badge.bad{background:#fee4e2;color:#b42318}.badge.neutral{background:#eef2f6;color:#344054}.pill{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef4ff;color:#0b3c98;font-weight:800;font-size:12px}.muted{color:var(--muted)}.photo-thumb{width:92px;height:66px;object-fit:cover;border-radius:13px;border:1px solid var(--line)}.photo-large{max-width:360px;width:100%;border-radius:18px;border:1px solid var(--line)}.check-item{border-left:6px solid #d9e4f5}.check-item[data-result="Mangel"],.check-item[data-result="Kritisch"]{border-left-color:var(--bad)}.check-item[data-result="Hinweis"]{border-left-color:var(--warn)}.result-row{display:grid;grid-template-columns:190px 1fr 180px;gap:12px;align-items:end}.help{font-size:13px;color:var(--muted);margin-top:6px}.signature{width:100%;max-width:620px;height:170px;background:#fff;border:2px dashed #98a2b3;border-radius:18px;touch-action:none}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,#b9eaff,#eef4ff 48%,#fff)}.login-card{width:min(440px,92vw);background:white;border-radius:30px;padding:28px;box-shadow:var(--shadow)}.login-card img{display:block;max-width:170px;margin:0 auto 14px}.alert-box{border:1px solid #fecaca;background:#fff1f2;color:#9f1239;padding:12px;border-radius:16px;margin-bottom:12px}.ok-box{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;padding:12px;border-radius:16px;margin-bottom:12px}.vehicle-card{display:grid;gap:8px}.vehicle-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.progress{height:10px;background:#e9f1ff;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--primary2));border-radius:999px}.bars{display:flex;gap:9px;align-items:end;height:130px}.bar{flex:1;background:linear-gradient(180deg,var(--primary2),var(--primary));border-radius:12px 12px 4px 4px;min-height:8px;position:relative}.bar small{position:absolute;bottom:-24px;left:50%;transform:translateX(-50%);font-size:11px;color:var(--muted)}.print-only{display:none}
@media(max-width:1000px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.nav{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.main{padding:16px}.grid-2{grid-template-columns:1fr}.result-row{grid-template-columns:1fr}.topbar{align-items:flex-start}.topbar h1{font-size:25px}}
@media(max-width:620px){.hero{display:block}.hero .actions{margin-top:16px}.searchbar{display:block}.searchbar .btn{margin-top:8px;width:100%}table{display:block;overflow-x:auto;white-space:nowrap}.brand img{width:56px}.sidebar{padding:14px}.main{padding:12px}.card{padding:15px;border-radius:20px}.btn,button{width:100%}.actions .btn,.actions button{width:auto}.metric .value{font-size:34px}}
@media print{.sidebar,.topbar,.no-print,.btn,button{display:none!important}.app-shell{display:block}.main{padding:0}.card{box-shadow:none;border:1px solid #ccc;break-inside:avoid}.print-only{display:block}body{background:#fff}}

/* Schritt-für-Schritt Checkliste */
.progressive-check{max-width:1280px;margin:auto}.step-card{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #dce8fb;border-radius:24px;box-shadow:var(--shadow);padding:18px;margin:16px 0}.step-card.active{border-color:#9ec5ff}.step-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:14px}.step-head span{width:34px;height:34px;flex:0 0 34px;border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 8px 18px rgba(11,92,255,.22)}.step-head h3{margin:0 0 4px}.step-head p{margin:0;color:var(--muted);font-size:13px}.check-group>.grid{margin-bottom:0}.final-check-card{border:2px solid #b9dcff}.check-item[data-result=""]{border-left-color:#cbd5e1}.check-item select:invalid{border-color:#f59e0b;background:#fff7ed}label b{color:#f04438}.progressive-check input[readonly]{background:#eff6ff;color:#0b3c98;font-weight:900}
@media(max-width:620px){.step-head{gap:10px}.step-head span{width:30px;height:30px;flex-basis:30px}.step-card{padding:14px;border-radius:20px;margin:12px 0}}

.driver-search{margin-bottom:10px;border-color:#b9dcff;background:#f8fbff}.driver-search:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(11,92,255,.10)}

/* Ampelsystem Frühschicht / Spätschicht */
.shift-dashboard{overflow:hidden}.shift-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}.shift-head h2{margin-bottom:6px}.shift-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.shift-table{display:grid;gap:10px}.shift-row{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:12px;align-items:stretch}.shift-row-head{padding:0 4px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900}.shift-vehicle{background:#fff;border:1px solid #edf2fb;border-radius:18px;padding:14px;display:flex;flex-direction:column;justify-content:center}.shift-vehicle b{font-size:18px}.shift-vehicle span{color:var(--muted);font-size:13px;margin-top:3px}.traffic-card{position:relative;min-height:76px;border-radius:18px;padding:14px 14px 14px 48px;border:1px solid #edf2fb;background:#fff;box-shadow:0 10px 28px rgba(10,40,110,.08);display:flex;flex-direction:column;justify-content:center}.traffic-card b{font-size:14px}.traffic-card small{color:var(--muted);margin-top:4px}.traffic-card.green{background:linear-gradient(135deg,#ecfdf3,#ffffff);border-color:#a7f3c4}.traffic-card.red{background:linear-gradient(135deg,#fff1f0,#ffffff);border-color:#fecaca}.traffic-dot{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:20px;height:20px;border-radius:999px;box-shadow:0 0 0 6px rgba(0,0,0,.04)}.traffic-card.green .traffic-dot{background:var(--ok);box-shadow:0 0 0 6px rgba(18,183,106,.14)}.traffic-card.red .traffic-dot{background:var(--bad);box-shadow:0 0 0 6px rgba(240,68,56,.14)}.shift-empty{background:#fff;border:1px dashed var(--line);border-radius:18px;padding:18px;color:var(--muted)}
@media(max-width:850px){.shift-head{display:block}.shift-summary{justify-content:flex-start;margin-top:10px}.shift-row{grid-template-columns:1fr}.shift-row-head{display:none}.traffic-card{min-height:68px}}


/* Öffentlicher Fahrer-Start ohne Login + Sprachwahl */
.public-start-page{min-height:100vh;background:radial-gradient(circle at top left,#dbeafe 0,#eef6ff 28%,#f8fafc 62%,#e0e7ff 100%);display:flex;align-items:center;justify-content:center;padding:22px;color:#0f172a}
.public-start-wrap{width:min(980px,100%)}
.public-start-card{background:rgba(255,255,255,.86);border:1px solid rgba(148,163,184,.28);box-shadow:0 24px 80px rgba(15,23,42,.18);border-radius:30px;padding:28px;backdrop-filter:blur(14px)}
.public-logo-row{display:flex;gap:14px;align-items:center;margin-bottom:20px}.public-logo-row img{width:72px;height:72px;object-fit:contain}.public-logo-row b{display:block;font-size:22px}.public-logo-row span{color:#64748b;font-weight:700}.public-start-card h1{font-size:clamp(32px,5vw,56px);margin:8px 0}.public-start-card p{font-size:18px;color:#475569;max-width:760px}.language-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:26px 0}.language-card{text-decoration:none;color:#0f172a;background:linear-gradient(135deg,#fff,#eff6ff);border:1px solid #bfdbfe;border-radius:24px;padding:26px;min-height:190px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;box-shadow:0 18px 40px rgba(37,99,235,.14);transition:.2s}.language-card:hover{transform:translateY(-3px);box-shadow:0 24px 50px rgba(37,99,235,.22)}.language-card .flag{font-size:44px}.language-card strong{font-size:30px}.language-card em{font-style:normal;color:#2563eb;font-weight:900}.public-success{background:#dcfce7;color:#166534;border:1px solid #86efac;border-radius:18px;padding:14px 16px;margin-bottom:18px;font-weight:900}.public-start-actions{display:flex;justify-content:flex-end;margin-top:10px}.rtl{text-align:right}.rtl .public-logo-row{flex-direction:row-reverse}.rtl .public-start-actions{justify-content:flex-start}.rtl .language-card{align-items:flex-end}.public-check-page{min-height:100vh;background:#f1f5f9;padding:18px;color:#0f172a}.public-check-main{max-width:1180px;margin:0 auto}.public-check-header{display:flex;align-items:center;justify-content:space-between;gap:14px;background:rgba(255,255,255,.86);border:1px solid #dbeafe;border-radius:22px;padding:12px 16px;margin-bottom:14px;box-shadow:0 14px 30px rgba(15,23,42,.08)}.public-check-header div{display:flex;flex-direction:column}.public-check-header b{font-size:18px}.public-check-header span{color:#64748b;font-weight:800}.public-check-page .progressive-check{margin-bottom:30px}.public-check-page.rtl select,.public-check-page.rtl input,.public-check-page.rtl textarea{text-align:right}.public-check-page.rtl .step-head{flex-direction:row-reverse}.public-check-page.rtl .result-row{direction:rtl}.public-check-page.rtl .actions{justify-content:flex-start}@media(max-width:720px){.language-cards{grid-template-columns:1fr}.public-start-card{padding:20px}.public-check-header{align-items:flex-start;flex-direction:column}.rtl .public-check-header{align-items:flex-end}}

/* Checkliste ohne Spracherkennung: neu sichtbare Bereiche sauber zentrieren */
.step-card,.check-group,.final-check-card{scroll-margin-top:42vh;scroll-margin-bottom:42vh}
.check-group{transition:box-shadow .18s ease, transform .18s ease}
@media(max-width:700px){.step-card,.check-group,.final-check-card{scroll-margin-top:34vh;scroll-margin-bottom:34vh}}


/* Fixed copyright badge: requested by Krasimir Marinov, 2026 */
body::after {
    content: "Schutzengel-Ambulanz 2026";
    position: fixed;
    right: 10px;
    bottom: 8px;
    z-index: 2147483647;
    pointer-events: none;
    padding: 4px 9px;
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255,255,255,0.92);
    background: rgba(0,0,0,0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

@media print {
    body::after {
        display: none !important;
    }
}



/* Anpassung Startseite: nur Logo, mittig und größer */
.public-start-card .public-logo-row.public-logo-only{
    justify-content:center !important;
    text-align:center !important;
    margin-bottom:18px !important;
}
.public-start-card .public-logo-row.public-logo-only img{
    width:160px !important;
    height:160px !important;
    display:block !important;
    margin:0 auto !important;
}
.rtl .public-logo-row.public-logo-only{
    flex-direction:row !important;
    justify-content:center !important;
}
@media(max-width:620px){
    .public-start-card .public-logo-row.public-logo-only img{width:140px !important;height:140px !important;}
}

/* GPS-KM-Sync Ergänzung */
.km-sync-status{margin-top:8px;font-size:13px;font-weight:800;color:#475467;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:8px 10px}
.km-sync-status.ok{color:#067647;background:#ecfdf3;border-color:#abefc6}
.km-sync-status.warn{color:#b54708;background:#fffaeb;border-color:#fedf89}
.checkline{display:flex;align-items:center;gap:10px;margin:10px 0;font-weight:800;color:#1d2939}
.checkline input{width:auto;min-width:18px;height:18px}
.codebox{background:#0f172a;color:#e5e7eb;border-radius:16px;padding:14px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.5;border:1px solid rgba(255,255,255,.12);margin:10px 0}
.codebox pre{margin:0;white-space:pre-wrap;color:inherit;font:inherit}


/* Hinweisbild oben bei neuer Checkliste */
.checklist-start-poster{
    position:relative;
    width:min(100vw - 8px, 1800px);
    margin:0 calc(50% - 50vw + 4px) 10px;
    background:transparent;
    border:0;
    border-radius:12px;
    padding:2px;
    box-shadow:none;
    overflow:hidden;
    box-sizing:border-box;
}
.checklist-start-poster-head{display:none !important}
.checklist-start-poster-image{
    display:block;
    width:100%;
    max-width:none;
    height:auto;
    border-radius:10px;
    border:0;
    box-shadow:none;
    background:#fff;
    object-fit:contain;
}
@media(max-width:900px){
    .checklist-start-poster{
        width:calc(100vw - 4px);
        margin:0 calc(50% - 50vw + 2px) 8px;
        padding:1px;
        border-radius:10px;
    }
    .checklist-start-poster-image{border-radius:8px}
}
@media(max-width:620px){
    .checklist-start-poster{
        width:calc(100vw - 2px);
        margin:0 calc(50% - 50vw + 1px) 6px;
        padding:0;
        border-radius:8px;
    }
    .checklist-start-poster-image{border-radius:6px}
}


/* Foto nur bei Mängel sichtbar + Kamera-Button */
.photo-field{display:none}
.camera-file-input{position:absolute !important;width:1px !important;height:1px !important;opacity:0 !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important}
.camera-start-btn{display:inline-flex !important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin-top:0;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff !important;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(11,92,255,.18)}
.camera-start-btn:active{transform:translateY(1px)}
.camera-file-name{display:block;margin-top:8px;font-size:12px;font-weight:800;color:var(--muted)}

/* Zwei Checklisten pro Schicht */
.double-check-status{background:#fff;border:1px solid #e5eaf3;border-radius:18px;padding:10px;display:grid;gap:8px;box-shadow:0 10px 28px rgba(10,40,110,.07)}
.check-slot{display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center;min-height:48px;padding:6px 8px;border-radius:13px}
.check-slot.green{background:#ecfdf3}.check-slot.red{background:#fff1f0}
.status-dot{width:27px;height:27px;border-radius:50%;display:block;box-shadow:0 0 0 5px rgba(0,0,0,.04)}
.check-slot.green .status-dot{background:#00b84a;box-shadow:0 0 0 5px rgba(0,184,74,.14)}
.check-slot.red .status-dot{background:#ef3f36;box-shadow:0 0 0 5px rgba(239,63,54,.14)}
.check-slot b{display:block;font-size:13px;line-height:1.2}.check-slot small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
@media(max-width:850px){.double-check-status{width:100%}}

/* Adminzugang nur per PIN und größeres Logo auf der Seite Neue Checkliste */
.admin-pin-login .login-card{text-align:center}
.admin-pin-login .login-card label{display:block;text-align:left}
.admin-pin-input{
    text-align:center;
    font-size:30px;
    font-weight:900;
    letter-spacing:12px;
    padding-left:22px;
}
.public-start-card .public-logo-row.public-logo-only img{
    width:220px !important;
    height:220px !important;
}
@media(max-width:620px){
    .public-start-card .public-logo-row.public-logo-only img{
        width:180px !important;
        height:180px !important;
    }
}


/* Neue Checkliste PRO – nur Fahrerbereich, Administration unverändert */
.check-pro-page{--cp-blue:#0757b8;--cp-blue2:#0b82e6;--cp-navy:#092844;--cp-soft:#eef6ff;--cp-line:#d7e6f5;--cp-ok:#0f9f62;--cp-bad:#d92d20;background:linear-gradient(180deg,#d4e3f0 0,#e1ecf5 30%,#cbddea 100%);padding:12px 12px 34px;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.check-pro-main{max-width:980px}
.check-pro-header{position:sticky;top:8px;z-index:90;display:grid;grid-template-columns:46px 88px minmax(0,1fr);align-items:center;gap:13px;padding:12px 16px;background:rgba(255,255,255,.96);border:1px solid rgba(173,202,231,.8);border-radius:22px;box-shadow:0 16px 38px rgba(18,65,105,.14);backdrop-filter:blur(14px)}
.check-pro-back{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#edf5ff;color:var(--cp-blue);font-size:34px;line-height:1;text-decoration:none;font-weight:500}
.check-pro-logo{width:84px;height:64px;object-fit:contain;display:block}
.check-pro-heading{min-width:0}.check-pro-eyebrow{display:block;color:#5b7083;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.check-pro-heading h1{margin:1px 0 6px;color:var(--cp-navy);font-size:clamp(22px,4vw,31px);line-height:1.08}.check-pro-meta{display:flex;gap:7px;flex-wrap:wrap}.check-pro-meta span{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:900}.check-pro-shift{background:#e7f1ff;color:#0757b8}.check-pro-online{background:#e8f8f0;color:#087a4a}.check-pro-online.offline{background:#fff1f0;color:#b42318}
.check-pro-progress{position:sticky;top:104px;z-index:80;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:9px 0 14px;padding:7px;background:rgba(242,247,252,.94);border:1px solid #d9e7f3;border-radius:17px;backdrop-filter:blur(10px)}
.check-pro-progress-step{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:7px 4px;border-radius:11px;color:#718296;font-size:11px;font-weight:900;transition:.15s}.check-pro-progress-step i{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:#dfe9f2;color:#617487;font-style:normal;font-size:11px}.check-pro-progress-step.active{background:#e6f1ff;color:#0757b8}.check-pro-progress-step.active i{background:var(--cp-blue);color:#fff}.check-pro-progress-step.done{color:#087a4a}.check-pro-progress-step.done i{background:var(--cp-ok);color:#fff}.check-pro-progress-step.done i{font-size:0}.check-pro-progress-step.done i:after{content:"✓";font-size:12px}
.driver-check-form{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}.check-pro-intro{display:flex;justify-content:space-between;align-items:end;gap:18px;padding:18px 20px;margin:0 0 12px;border-radius:22px;background:linear-gradient(135deg,#082f53,#086cc7);color:#fff;box-shadow:0 15px 35px rgba(3,67,126,.22)}.check-pro-intro span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;opacity:.78}.check-pro-intro h2{margin:3px 0 0;font-size:28px}.check-pro-intro p{max-width:470px;margin:0;color:#e9f5ff;font-size:14px;line-height:1.45}
.check-pro-page .step-card{padding:20px;border:1px solid var(--cp-line);border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(17,63,101,.09);margin:12px 0}.check-pro-page .step-card.active{border-color:#98c8f5}.check-pro-page .step-head{align-items:center;margin-bottom:16px}.check-pro-page .step-head>span{width:38px;height:38px;flex-basis:38px;background:linear-gradient(135deg,var(--cp-blue),var(--cp-blue2));box-shadow:0 8px 18px rgba(7,87,184,.22)}.check-pro-page .step-head h3{font-size:19px;color:var(--cp-navy)}.check-pro-page .step-head p{font-size:12px}
.check-pro-select-block{position:relative}.check-pro-page input[type=search],.check-pro-page select,.check-pro-page input[type=text],.check-pro-page textarea{border:1.5px solid #cdddeb;border-radius:14px;background:#fafdff;min-height:52px;font-size:16px}.check-pro-page input:focus,.check-pro-page select:focus,.check-pro-page textarea:focus{border-color:#3894e8;box-shadow:0 0 0 4px rgba(11,130,230,.11)}.check-pro-page .driver-search{margin-bottom:9px}
.check-pro-page .exterior-photo-flow{border:1px solid var(--cp-line)}.check-pro-page .exterior-photo-step{max-width:640px;margin:12px auto 0;padding:18px;background:#f5f9fd;border:1px solid #d9e7f2;border-radius:20px;text-align:center}.check-pro-page .exterior-photo-step h3{margin:0 0 8px;color:#173a57}.check-pro-page .vehicle-side-guide{width:min(100%,330px);height:190px;border:0;background:#fff;box-shadow:0 8px 22px rgba(24,70,108,.08)}.check-pro-page .camera-start-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;width:auto;min-width:210px;min-height:52px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--cp-blue),var(--cp-blue2));color:#fff;font-size:15px;font-weight:900;box-shadow:0 9px 20px rgba(7,87,184,.2);cursor:pointer}.camera-icon{font-size:24px;line-height:1}.check-pro-page .camera-file-name{display:block;margin-top:8px;color:#66798b;font-size:12px;font-weight:800}.check-pro-page .exterior-photo-preview{margin-left:auto;margin-right:auto}
.check-pro-page .check-group>.grid{display:grid;grid-template-columns:1fr;gap:10px}.check-pro-page .check-item{padding:16px;border:1px solid #dbe7f1;border-left:5px solid #c5d3df;border-radius:18px;background:#fbfdff;box-shadow:none;transition:.15s}.check-pro-page .check-item h3{margin:0 0 5px;color:#173a57;font-size:17px}.check-pro-page .check-item[data-result="OK"]{border-left-color:var(--cp-ok);background:#f7fffb}.check-pro-page .check-item[data-result="Mangel"]{border-left-color:var(--cp-bad);background:#fffafa}.check-pro-page .result-row{grid-template-columns:minmax(285px,.9fr) minmax(260px,1.1fr);gap:12px;align-items:end}.check-pro-result-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.check-result-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1.5px solid #cddbe7;border-radius:13px;background:#fff;color:#405468;font-size:14px;font-weight:900;cursor:pointer;transition:.12s}.check-result-btn span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf2f6}.check-result-btn:active{transform:scale(.98)}.check-result-ok.selected{border-color:#28a66c;background:#eaf9f1;color:#087a4a}.check-result-ok.selected span{background:#0f9f62;color:#fff}.check-result-defect.selected{border-color:#e35b51;background:#fff0ef;color:#b42318}.check-result-defect.selected span{background:#d92d20;color:#fff}.check-result-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.check-pro-page .photo-field{grid-column:1/-1;margin-top:4px;padding:12px;border:1px dashed #e0b7b3;border-radius:14px;background:#fff7f6}.check-pro-page .photo-field .camera-start-btn{min-width:180px;background:linear-gradient(135deg,#bb2d21,#df4d40)}
.check-pro-final{padding:22px!important;border:1px solid #a9cee9!important;border-radius:22px!important;box-shadow:0 14px 34px rgba(17,63,101,.12)!important}.check-pro-final h2{color:#173a57}.check-pro-page .signature{height:150px;border:1.5px dashed #8da9bf;background:#fbfdff}.check-pro-final-actions{display:grid!important;grid-template-columns:auto minmax(220px,1fr);gap:10px;margin-top:14px!important}.check-pro-final-actions button{min-height:52px;border-radius:14px}.check-pro-save{display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px!important;background:linear-gradient(135deg,#087a4a,#13a86b)!important}.check-pro-save span{font-size:20px}
.check-pro-page .alert-box{border-radius:14px}.check-pro-page .exterior-defect-box{border:1px solid #b7cee1;border-radius:22px;padding:20px}.check-pro-page .exterior-defect-box h2{color:#173a57}.check-pro-page .exterior-answer-yes,.check-pro-page .exterior-answer-no{border-radius:14px!important}
@media(max-width:760px){.check-pro-page{padding:8px 8px 26px}.check-pro-header{top:4px;grid-template-columns:40px 66px minmax(0,1fr);gap:9px;padding:9px 10px;border-radius:17px}.check-pro-back{width:38px;height:38px;border-radius:11px}.check-pro-logo{width:64px;height:50px}.check-pro-heading h1{font-size:20px}.check-pro-eyebrow{font-size:10px}.check-pro-meta span{font-size:10px;min-height:23px;padding:3px 7px}.check-pro-progress{top:75px;margin-top:6px;padding:5px}.check-pro-progress-step{display:block;text-align:center;padding:5px 2px;font-size:9px}.check-pro-progress-step i{margin:0 auto 3px;width:20px;height:20px}.check-pro-intro{display:block;padding:16px}.check-pro-intro h2{font-size:23px}.check-pro-intro p{margin-top:7px;font-size:13px}.check-pro-page .step-card{padding:14px;border-radius:18px}.check-pro-page .step-head>span{width:32px;height:32px;flex-basis:32px}.check-pro-page .result-row{grid-template-columns:1fr}.check-pro-result-buttons{gap:7px}.check-result-btn{min-height:50px;font-size:13px}.check-pro-page .vehicle-side-guide{height:165px}.check-pro-page .camera-start-btn{width:100%;min-width:0}.check-pro-final-actions{grid-template-columns:1fr}.check-pro-final-actions .secondary{order:2}.check-pro-final-actions .check-pro-save{order:1}.check-pro-page .signature{height:135px}}
@media(max-width:390px){.check-pro-progress-step span{display:none}.check-pro-progress-step{padding:5px}.check-pro-logo{width:56px}.check-pro-header{grid-template-columns:38px 58px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.check-pro-page *{scroll-behavior:auto!important;transition:none!important}}


/* FIX5: kompakter Kopfbereich – Titel, Status und Fortschritt in einer Leiste */
.check-pro-header-compact{align-items:center}
.check-pro-header-content{min-width:0;display:flex;flex-direction:column;justify-content:center}
.check-pro-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.check-pro-title-row .check-pro-heading{min-width:0;flex:1 1 auto}
.check-pro-title-row .check-pro-heading h1{margin-bottom:0}
.check-pro-title-row .check-pro-meta{flex:0 0 auto;justify-content:flex-end;flex-wrap:nowrap}
.check-pro-progress-integrated{position:static;top:auto;z-index:auto;margin:7px 0 0;padding:4px;border-radius:12px;background:#f2f7fc;border-color:#dbe8f3;backdrop-filter:none}
.check-pro-progress-integrated .check-pro-progress-step{padding:4px 3px;min-height:30px}
.check-pro-progress-integrated .check-pro-progress-step i{width:20px;height:20px;flex-basis:20px}

@media(max-width:760px){
 .check-pro-header-compact{grid-template-columns:36px 54px minmax(0,1fr);gap:7px;padding:7px 8px}
 .check-pro-header-compact .check-pro-back{width:34px;height:34px;font-size:28px}
 .check-pro-header-compact .check-pro-logo{width:52px;height:42px}
 .check-pro-title-row{gap:6px}
 .check-pro-title-row .check-pro-heading h1{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .check-pro-title-row .check-pro-eyebrow{display:none}
 .check-pro-title-row .check-pro-meta{gap:4px}
 .check-pro-title-row .check-pro-meta span{font-size:9px;min-height:21px;padding:2px 6px;white-space:nowrap}
 .check-pro-progress-integrated{margin-top:4px;padding:3px;gap:2px}
 .check-pro-progress-integrated .check-pro-progress-step{display:flex;text-align:left;padding:3px 2px;font-size:8px;gap:3px;min-height:26px}
 .check-pro-progress-integrated .check-pro-progress-step i{margin:0;width:18px;height:18px;flex-basis:18px;font-size:9px}
}
@media(max-width:510px){
 .check-pro-header-compact{grid-template-columns:32px 44px minmax(0,1fr)}
 .check-pro-header-compact .check-pro-back{width:31px;height:31px}
 .check-pro-header-compact .check-pro-logo{width:43px;height:36px}
 .check-pro-title-row .check-pro-heading h1{font-size:16px}
 .check-pro-progress-integrated .check-pro-progress-step span{display:none}
 .check-pro-progress-integrated .check-pro-progress-step{justify-content:center}
 .check-pro-title-row .check-pro-meta span{font-size:8px;padding:2px 5px}
}


/* FIX6: kompakter Kopf, klare Statusfarben und schrittweise Prüfpunkte */
.check-pro-page .progressive-check{margin-top:8px}

/* Beschriftung steht immer oberhalb der Zahlen 1–5. */
.check-pro-progress-integrated .check-pro-progress-step{
  display:flex !important;
  flex-direction:column-reverse;
  justify-content:center;
  align-items:center;
  gap:2px;
  min-height:43px;
  padding:4px 2px;
  text-align:center;
  line-height:1.05;
}
.check-pro-progress-integrated .check-pro-progress-step span{
  display:block !important;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  font-weight:900;
}
.check-pro-progress-integrated .check-pro-progress-step i{
  margin:0 !important;
  width:20px;
  height:20px;
  flex-basis:20px;
}

/* In Ordnung bleibt immer grün, Mängel bleibt immer rot. Der Kreis zeigt die Auswahl. */
.check-pro-result-buttons{grid-template-columns:1fr 1fr}
.check-result-btn{
  border-width:2px;
  box-shadow:0 5px 12px rgba(15,23,42,.08);
}
.check-result-ok,
.check-result-ok:hover,
.check-result-ok:focus{
  border-color:#087a4a !important;
  background:#0f9f62 !important;
  color:#fff !important;
}
.check-result-defect,
.check-result-defect:hover,
.check-result-defect:focus{
  border-color:#a61b13 !important;
  background:#d92d20 !important;
  color:#fff !important;
}
.check-result-btn span{
  width:25px;
  height:25px;
  flex:0 0 25px;
  border:2px solid rgba(255,255,255,.95);
  background:transparent !important;
  color:transparent !important;
  font-size:0 !important;
  transition:transform .12s,background .12s,color .12s;
}
.check-result-btn.selected{
  box-shadow:0 0 0 3px rgba(255,255,255,.9),0 0 0 6px currentColor,0 8px 18px rgba(15,23,42,.14);
}
.check-result-btn.selected span{
  background:#fff !important;
  transform:scale(1.04);
}
.check-result-ok.selected span::after{
  content:"✓";
  color:#087a4a;
  font-size:15px;
  font-weight:1000;
  line-height:1;
}
.check-result-defect.selected span::after{
  content:"!";
  color:#b42318;
  font-size:16px;
  font-weight:1000;
  line-height:1;
}
.check-item.check-current{
  border-color:#8bbff0;
  box-shadow:0 10px 24px rgba(7,87,184,.12);
}
.check-item.check-completed{opacity:.98}
.check-sequential-grid .check-item[style*="display: none"]{margin:0}

@media(max-width:390px){
  .check-pro-progress-integrated .check-pro-progress-step span{
    display:block !important;
    font-size:8px;
  }
  .check-pro-progress-integrated .check-pro-progress-step{
    min-height:40px;
    padding:3px 1px;
  }
}

/* FIX10: Frage nach neuen Außenmängeln deutlich dunkelgelb hervorheben */
.check-pro-page .exterior-defect-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(15,23,42,.68);
  backdrop-filter:blur(4px);
}
.check-pro-page .exterior-defect-box{
  width:min(520px,94vw);
  margin:auto;
  padding:24px !important;
  border:3px solid #8b6200 !important;
  border-radius:22px !important;
  background:linear-gradient(145deg,#d8a600 0%,#c88f00 100%) !important;
  box-shadow:0 24px 70px rgba(0,0,0,.42),0 0 0 5px rgba(255,219,92,.25);
  text-align:center;
}
.check-pro-page .exterior-defect-box h2{
  margin:0 0 20px;
  color:#241900 !important;
  font-size:clamp(21px,4vw,28px);
  line-height:1.25;
  text-shadow:0 1px 0 rgba(255,255,255,.28);
}
.check-pro-page .exterior-defect-box button{
  min-width:140px;
  min-height:52px;
  margin:5px;
  font-size:16px;
  font-weight:900;
  border:2px solid rgba(36,25,0,.35) !important;
  box-shadow:0 8px 20px rgba(69,47,0,.22);
}
.check-pro-page .exterior-answer-yes{
  background:#9f1f18 !important;
  color:#fff !important;
}
.check-pro-page .exterior-answer-no{
  background:#fff7d1 !important;
  color:#3b2a00 !important;
}
@media(max-width:520px){
  .check-pro-page .exterior-defect-box{padding:20px 15px !important}
  .check-pro-page .exterior-defect-box button{display:block;width:100%;margin:8px 0}
}

/* FIX12: Logo auf der Startseite bei der Sprachauswahl deutlich größer */
.public-start-card .public-logo-row.public-logo-only img{
    width:min(360px,82vw) !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:contain !important;
}
@media(max-width:620px){
    .public-start-card .public-logo-row.public-logo-only img{
        width:min(300px,88vw) !important;
        height:auto !important;
    }
}

/* Offline-First / PWA Status */
.offline-readiness-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:14px 0 18px;padding:14px 15px;border-radius:16px;border:1px solid #cbd5e1;background:#f8fafc;text-align:left;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.rtl .offline-readiness-card{text-align:right}
.offline-readiness-card.is-ready{border-color:#86efac;background:#f0fdf4}
.offline-readiness-card.is-partial{border-color:#fbbf24;background:#fffbeb}
.offline-readiness-card.is-offline{border-color:#93c5fd;background:#eff6ff}
.offline-readiness-card.is-preparing{border-color:#bfdbfe;background:#f8fbff}
.offline-readiness-icon{font-size:1.6rem;line-height:1}
.offline-readiness-content{min-width:0;display:flex;flex-direction:column;gap:3px}
.offline-readiness-content strong{font-size:.98rem;color:#172033}
.offline-readiness-content span{font-size:.86rem;color:#536179;line-height:1.35}
.offline-readiness-content small{display:none;margin-top:4px;font-weight:700;color:#8a4b00;line-height:1.35}
.offline-connection-pill{white-space:nowrap;border-radius:999px;padding:6px 9px;font-size:.76rem;font-weight:800;background:#dcfce7;color:#166534}
.offline-connection-pill.is-offline{background:#dbeafe;color:#1d4ed8}
.public-success.sent{background:#ecfdf3;border-color:#86efac;color:#166534}

.offline-check-status{display:flex;align-items:flex-start;gap:10px;margin:10px 0 14px;padding:11px 13px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:14px;color:#1e3a5f}
.offline-check-status.is-online{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.offline-check-status.is-warning{border-color:#fcd34d;background:#fffbeb;color:#854d0e}
.offline-check-status-icon{font-size:1.25rem;line-height:1.15}
.offline-check-status-text{display:flex;min-width:0;flex-direction:column;gap:2px}
.offline-check-status-text strong{font-size:.92rem}
.offline-check-status-text small{font-size:.8rem;line-height:1.35;opacity:.88}

@media (max-width:520px){
  .offline-readiness-card{grid-template-columns:auto 1fr}.offline-connection-pill{grid-column:2;justify-self:start}.offline-readiness-content strong{font-size:.94rem}
}


/* ===== 05.08.2026: Checklisten-Ampel LIVE – aus GPS-Speed-Statistik verschoben ===== */
.ampel-live-page{width:100%;box-sizing:border-box}
.ampel-live-toolbar{position:relative;display:block;margin:0 0 14px;padding:18px 20px;border-radius:20px;background:linear-gradient(180deg,#fff,#f2f8ff);border:1px solid #c8dced;box-shadow:0 12px 30px rgba(31,78,121,.10)}
.ampel-live-head{width:100%;min-width:0;display:flex;flex-direction:column;gap:12px}
.ampel-live-toolbar h2{min-height:36px;margin:0;padding-right:560px;color:#12243b;font-size:27px;letter-spacing:-.035em}
.ampel-live-actions{position:absolute;top:18px;right:20px;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.ampel-topfive-card{width:100%;min-width:0;box-sizing:border-box;display:grid;grid-template-columns:150px minmax(0,1fr);align-items:stretch;gap:10px;padding:10px;border-radius:17px;background:linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%);border:1px solid #d3e3f2;box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 10px 22px rgba(31,78,121,.08);overflow:hidden}
.ampel-topfive-header{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:3px 8px 3px 4px;border-right:1px solid #dce8f3}
.ampel-topfive-title{min-width:0;display:flex;flex-direction:column;gap:4px}
.ampel-topfive-kicker{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:21px;padding:3px 7px;border-radius:999px;background:#eaf3ff;border:1px solid #d4e3f4;color:#0c5bd4;font-size:9px;font-weight:950;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}
.ampel-topfive-title>b{color:#173a57;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ampel-topfive-total{display:flex;align-items:baseline;gap:5px;min-width:0}
.ampel-topfive-total strong{color:#0e5fd5;font-size:22px;line-height:1;font-weight:950}
.ampel-topfive-total span{color:#5c7691;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.035em}
.ampel-topfive-list{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(170px,1fr));gap:7px;overflow-x:visible;overflow-y:hidden;padding-bottom:1px}
.ampel-topfive-item{min-width:0;display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px;border-radius:12px;background:#f8fbff;border:1px solid #d9e6f2}
.ampel-topfive-item.is-empty{opacity:.68}
.ampel-topfive-rank{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#edf4fb;color:#24415d;font-size:13px;font-weight:950;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}
.ampel-topfive-rank.rank-1{background:linear-gradient(180deg,#fef3c7,#fde68a);color:#9a6700}
.ampel-topfive-rank.rank-2{background:linear-gradient(180deg,#eef2f7,#d8e1ea);color:#52606d}
.ampel-topfive-rank.rank-3{background:linear-gradient(180deg,#ffedd5,#fdba74);color:#9a4f0f}
.ampel-topfive-meta{min-width:0;display:flex;flex-direction:column;gap:6px}
.ampel-topfive-meta>b{min-height:28px;display:flex;align-items:center;color:#163250;font-size:12px;font-weight:900;line-height:1.15;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.ampel-topfive-bar{position:relative;height:5px;border-radius:999px;background:#e3edf7;overflow:hidden}
.ampel-topfive-bar span{position:absolute;left:0;top:0;bottom:0;border-radius:inherit;background:linear-gradient(90deg,#0a7cff,#43b5ff)}
.ampel-topfive-item.is-empty .ampel-topfive-bar span{background:linear-gradient(90deg,#b9c7d6,#d9e2eb)}
.ampel-topfive-value{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;color:#123557;line-height:1}
.ampel-topfive-value>b{font-size:19px;font-weight:950}
.ampel-topfive-value small{margin-top:3px;color:#70869a;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.ampel-live-pill{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border-radius:999px;background:#edf4fb;border:1px solid #c8dced;color:#36546f;font-size:12px;font-weight:900;white-space:nowrap}
.ampel-live-pill.is-ok{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.ampel-live-pill.is-warn,.ampel-live-pill.is-connecting{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.ampel-live-pill.is-error{background:#fee2e2;border-color:#fecaca;color:#991b1b}
.ampel-live-summary{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 12px}
.ampel-live-summary span{display:inline-flex;align-items:center;min-height:34px;padding:8px 12px;border-radius:999px;border:1px solid transparent;font-size:13px;font-weight:950}
.ampel-live-summary span.ok{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.ampel-live-summary span.bad{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.ampel-live-summary span.neutral{background:#eaf3ff;color:#0b5fd7;border-color:#cfe1f5}
.ampel-live-page .dashShiftCompact{width:100%;max-width:none;margin:0;padding:14px;box-sizing:border-box;border-radius:24px;background:linear-gradient(180deg,rgba(245,250,255,.98),rgba(230,243,255,.98));border:1px solid #c7dff4;box-shadow:0 18px 45px rgba(38,91,135,.13);overflow:hidden}
.ampel-live-page .dashShiftCompactGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
.ampel-live-page .dashShiftVehicleCard{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:9px;padding:13px;border-radius:15px;background:linear-gradient(180deg,#fff 0%,#f4f9ff 100%);border:1px solid #c8dced;box-shadow:0 10px 26px rgba(31,78,121,.12);transition:transform .18s ease,box-shadow .18s ease}
.ampel-live-page .dashShiftVehicleCard:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(31,78,121,.17)}
.ampel-live-page .dashShiftVehicleCard:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:#ef4444}
.ampel-live-page .dashShiftVehicleCard.complete:before{background:#65d51e}
.ampel-live-page .dashShiftVehicleHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ampel-live-page .dashShiftVehicleHeader strong{font-size:18px;font-weight:950;color:#12243b;letter-spacing:-.02em}
.ampel-live-page .dashShiftVehicleMain{display:grid;grid-template-columns:44% minmax(0,1fr);align-items:center;gap:10px;min-height:88px}
.ampel-live-page .dashShiftVehicleMain img{width:100%;height:88px;object-fit:cover;object-position:center;border-radius:11px;background:#e9f4fd;border:1px solid #d0e2f1}
.ampel-live-page .dashShiftLastDriver{min-width:0;display:flex;flex-direction:column;gap:4px}
.ampel-live-page .dashShiftLastDriver small{color:#66809a;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.ampel-live-page .dashShiftLastDriver b{color:#14283f;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ampel-live-page .dashShiftLastDriver span{color:#4f6982;font-size:11px;font-weight:750}
.ampel-live-page .dashShiftColumns{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.ampel-live-page .dashShiftColumn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 5px;border-radius:11px;background:#edf6fd;border:1px solid #cbddec;text-align:center}
.ampel-live-page .dashShiftColumn h3{margin:0;color:#172b42;font-size:13px;font-weight:900}
.ampel-live-page .dashShiftDots{display:flex;align-items:center;justify-content:center;gap:9px;margin:2px 0}
.ampel-live-page .dashShiftDots i{display:block;width:22px;height:22px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.10),inset 0 1px 2px rgba(255,255,255,.65)}
.ampel-live-page .dashShiftDots i.ok{background:#64d91d;box-shadow:0 0 0 3px rgba(100,217,29,.12),inset 0 1px 2px rgba(255,255,255,.70)}
.ampel-live-page .dashShiftProgress{color:#fb5555;font-size:12px;font-weight:950}
.ampel-live-page .dashShiftColumn.complete .dashShiftProgress{color:#3f9f16}
.ampel-live-page .dashShiftColumn span{color:#38546e;font-size:10px;font-weight:750}
.ampel-live-page .dashShiftColumn small{max-width:100%;color:#607991;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ampel-live-page .dashShiftCompactNotice{grid-column:1/-1;padding:22px;border-radius:16px;background:#fff;color:#24415d;border:1px solid #c8dced;font-weight:850;text-align:center}
@media(max-width:1450px){.ampel-live-page .dashShiftCompactGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.ampel-live-toolbar h2{padding-right:0}.ampel-live-actions{position:static;justify-content:flex-start;margin-top:10px}.ampel-topfive-list{grid-template-columns:repeat(5,minmax(175px,1fr));overflow-x:auto;scrollbar-width:thin}}
@media(max-width:1100px){.ampel-live-page .dashShiftCompactGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ampel-topfive-card{grid-template-columns:140px minmax(0,1fr)}.ampel-topfive-list{grid-template-columns:repeat(5,175px)}}
@media(max-width:720px){.ampel-live-page .dashShiftCompactGrid{grid-template-columns:1fr}.ampel-live-page .dashShiftCompact{padding:10px}.ampel-live-toolbar{padding:15px}.ampel-live-toolbar h2{font-size:23px}.ampel-topfive-card{grid-template-columns:128px minmax(0,1fr);padding:8px}.ampel-topfive-header{padding-right:7px}.ampel-topfive-list{grid-template-columns:repeat(5,178px)}.ampel-topfive-kicker{font-size:8px}.ampel-topfive-title>b{font-size:11px}}
@media(max-width:430px){.ampel-live-page .dashShiftVehicleMain{grid-template-columns:1fr}.ampel-live-page .dashShiftVehicleMain img{height:145px}.ampel-live-page .dashShiftColumns{grid-template-columns:1fr}.ampel-live-actions .btn{width:100%;text-align:center}.ampel-topfive-card{grid-template-columns:112px minmax(0,1fr)}.ampel-topfive-list{grid-template-columns:repeat(5,182px)}.ampel-topfive-item{min-width:182px}.ampel-topfive-total strong{font-size:20px}.ampel-topfive-total span{font-size:8px}}

/* ========================================================================== 
   STARTSEITE 05.08.2026 – Neon Fleet / Design 3 mit dunklem Fuhrpark-Hintergrund
   Reines Redesign: Links, Sprachen, Offline-Status und Adminzugang bleiben erhalten.
   ========================================================================== */
body.public-start-page.modern-start-page{
  --start-bg:#020816;
  --start-panel:#041326;
  --start-panel-2:#061a31;
  --start-line:rgba(0,174,255,.68);
  --start-line-soft:rgba(0,174,255,.25);
  --start-blue:#009cff;
  --start-cyan:#18d3ff;
  --start-text:#f7fbff;
  --start-muted:#9db0c8;
  display:block;
  min-height:100vh;
  min-height:100dvh;
  padding:clamp(0px,2.4vw,28px);
  overflow-x:hidden;
  color:var(--start-text);
  background:
    radial-gradient(circle at 50% -12%,rgba(0,126,255,.24),transparent 38%),
    radial-gradient(circle at 8% 28%,rgba(0,211,255,.09),transparent 30%),
    linear-gradient(180deg,#010612 0%,#020b1a 52%,#010712 100%);
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.public-start-page.modern-start-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.20;
  background-image:
    linear-gradient(rgba(28,132,211,.13) 1px,transparent 1px),
    linear-gradient(90deg,rgba(28,132,211,.13) 1px,transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.48),transparent 72%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.48),transparent 72%);
}
body.public-start-page.modern-start-page::after{display:none!important}

.modern-start-shell{
  position:relative;
  z-index:1;
  width:100%;
  min-height:calc(100vh - clamp(0px,4.8vw,56px));
  min-height:calc(100dvh - clamp(0px,4.8vw,56px));
  display:grid;
  place-items:center;
}
.modern-start-panel{
  width:min(620px,100%);
  overflow:hidden;
  background:linear-gradient(180deg,rgba(5,22,43,.985),rgba(2,12,27,.995));
  border:1px solid rgba(64,162,232,.32);
  border-radius:32px;
  box-shadow:
    0 38px 100px rgba(0,0,0,.54),
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 0 70px rgba(0,128,255,.11);
}
.modern-start-hero{
  position:relative;
  isolation:isolate;
  height:clamp(240px,43vw,310px);
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(0,8,24,.08) 0%,rgba(0,10,25,.02) 58%,rgba(4,19,38,.96) 100%),
    url('assets/start_fleet_hero.webp') center center / cover no-repeat;
}
.modern-start-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 50% 49%,rgba(0,178,255,.13),transparent 27%),
    linear-gradient(90deg,rgba(0,8,24,.40),transparent 28%,transparent 72%,rgba(0,8,24,.40));
}
.modern-start-hero::after{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--start-cyan),transparent);
  box-shadow:0 0 20px rgba(24,211,255,.85);
}
.modern-hero-glow{
  position:absolute;
  left:50%;
  bottom:-70px;
  width:72%;
  height:150px;
  transform:translateX(-50%);
  border-radius:50%;
  background:rgba(0,139,255,.16);
  filter:blur(46px);
  pointer-events:none;
}
.modern-version-pill{
  position:absolute;
  top:max(16px,env(safe-area-inset-top));
  right:18px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 11px;
  border:1px solid rgba(120,201,255,.34);
  border-radius:999px;
  color:#ccecff;
  background:rgba(2,13,31,.66);
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  font-size:11px;
  font-weight:850;
  letter-spacing:.04em;
}
.rtl .modern-version-pill{right:auto;left:18px}

.modern-start-content{padding:0 clamp(18px,5vw,42px) 26px}
.modern-start-heading{text-align:center;margin-top:-2px}
.modern-start-eyebrow{
  display:inline-block;
  margin-bottom:7px;
  color:#7fbfe8;
  font-size:11px;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.public-start-page .modern-start-heading h1{
  margin:0;
  color:#fff;
  font-size:clamp(36px,8vw,54px);
  line-height:.98;
  letter-spacing:.015em;
  font-weight:900;
  text-shadow:0 5px 24px rgba(0,0,0,.38);
}
.public-start-page .modern-start-heading h2{
  margin:12px 0 0;
  color:#34aaff;
  font-size:clamp(18px,4.2vw,25px);
  line-height:1.1;
  letter-spacing:.105em;
  font-weight:650;
}
.modern-title-line{
  display:block;
  width:74px;
  height:4px;
  margin:19px auto 17px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--start-blue),var(--start-cyan));
  box-shadow:0 0 18px rgba(0,174,255,.66);
}
.public-start-page .modern-start-heading p{
  max-width:none;
  margin:0 0 21px;
  color:#eef7ff;
  font-size:clamp(16px,3.6vw,20px);
  line-height:1.35;
  font-weight:520;
}

.public-start-page .modern-notice{
  margin:0 0 13px;
  padding:13px 15px;
  border:1px solid rgba(52,211,153,.38);
  border-radius:15px;
  color:#d8ffed;
  background:rgba(9,90,64,.33);
  box-shadow:0 10px 28px rgba(0,0,0,.16);
  font-size:13px;
  line-height:1.45;
}

.public-start-page .modern-language-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:13px;
  margin:0 0 19px;
}
.public-start-page .modern-language-card{
  position:relative;
  display:grid;
  grid-template-columns:68px minmax(0,1fr) 32px;
  align-items:center;
  gap:15px;
  min-height:94px;
  padding:15px 17px;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(100deg,rgba(2,20,43,.93),rgba(4,30,58,.76)),
    radial-gradient(circle at 0 50%,rgba(0,156,255,.16),transparent 40%);
  border:1.5px solid var(--start-line);
  border-radius:20px;
  box-shadow:
    0 14px 30px rgba(0,0,0,.24),
    0 0 0 1px rgba(255,255,255,.018) inset;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.public-start-page .modern-language-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(100deg,rgba(0,156,255,.13),transparent 60%);
  transition:opacity .18s ease;
}
.public-start-page .modern-language-card:hover,
.public-start-page .modern-language-card:focus-visible{
  transform:translateY(-2px);
  border-color:#44d8ff;
  box-shadow:0 18px 38px rgba(0,0,0,.30),0 0 25px rgba(0,166,255,.16);
  outline:none;
}
.public-start-page .modern-language-card:hover::before,
.public-start-page .modern-language-card:focus-visible::before{opacity:1}
.public-start-page .modern-language-card:active{transform:scale(.988)}
.modern-flag{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid rgba(118,197,255,.18);
  border-radius:15px;
  background:rgba(1,10,24,.56);
  box-shadow:0 8px 20px rgba(0,0,0,.24),0 0 16px rgba(0,143,255,.08) inset;
  font-size:37px;
  line-height:1;
}
.modern-language-copy{display:flex;min-width:0;flex-direction:column;gap:4px;text-align:left}
.public-start-page .modern-language-card .modern-language-copy strong{
  color:#fff;
  font-size:clamp(21px,4.8vw,26px);
  line-height:1.05;
  font-weight:760;
}
.public-start-page .modern-language-card .modern-language-copy em{
  color:#83b9db;
  font-size:12px;
  line-height:1.2;
  font-style:normal;
  font-weight:720;
}
.modern-language-card[href*="lang=ar"] .modern-language-copy{direction:rtl;text-align:right}
.modern-language-arrow{
  display:grid;
  place-items:center;
  width:30px;
  height:42px;
  color:#0ca8ff;
  font-family:Arial,sans-serif;
  font-size:45px;
  font-weight:300;
  line-height:.8;
  text-shadow:0 0 14px rgba(0,169,255,.55);
  transition:transform .18s ease;
}
.modern-language-card:hover .modern-language-arrow{transform:translateX(3px)}
.rtl .modern-language-card:hover .modern-language-arrow{transform:translateX(-3px)}

.modern-benefits{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:18px 0;
  overflow:hidden;
  border:1px solid rgba(48,142,207,.34);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(3,22,43,.80),rgba(2,15,31,.88));
  box-shadow:0 16px 34px rgba(0,0,0,.20);
}
.modern-benefit{
  position:relative;
  min-width:0;
  padding:17px 8px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.modern-benefit+.modern-benefit::before{
  content:"";
  position:absolute;
  left:0;
  top:18%;
  bottom:18%;
  width:1px;
  background:linear-gradient(transparent,rgba(0,160,255,.43),transparent);
}
.modern-benefit-icon{
  display:grid;
  place-items:center;
  width:45px;
  height:45px;
  margin-bottom:8px;
  color:#159fff;
}
.modern-benefit-icon svg{
  width:42px;
  height:42px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 8px rgba(0,155,255,.35));
}
.modern-benefit strong{
  width:100%;
  overflow:hidden;
  color:#f3f9ff;
  font-size:clamp(9px,2.35vw,12px);
  line-height:1.15;
  letter-spacing:.025em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.modern-benefit small{
  margin-top:6px;
  color:#aebed0;
  font-size:clamp(9px,2.15vw,11px);
  line-height:1.25;
}

.public-start-page .modern-offline-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  margin:17px 0 14px;
  padding:12px 13px;
  color:#dceeff;
  text-align:left;
  border:1px solid rgba(54,147,211,.34);
  border-radius:16px;
  background:rgba(5,27,50,.76);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
.public-start-page .modern-offline-card.is-ready{border-color:rgba(46,204,137,.43);background:rgba(8,63,51,.55)}
.public-start-page .modern-offline-card.is-partial{border-color:rgba(245,184,63,.48);background:rgba(76,52,8,.48)}
.public-start-page .modern-offline-card.is-offline{border-color:rgba(63,164,255,.46);background:rgba(6,47,85,.58)}
.public-start-page .modern-offline-card.is-preparing{border-color:rgba(63,164,255,.35);background:rgba(5,27,50,.76)}
.public-start-page .modern-offline-card .offline-readiness-icon{font-size:22px}
.public-start-page .modern-offline-card .offline-readiness-content strong{color:#eef8ff;font-size:13px;line-height:1.25}
.public-start-page .modern-offline-card .offline-readiness-content span{color:#9fb2c7;font-size:11px;line-height:1.35}
.public-start-page .modern-offline-card .offline-readiness-content small{color:#ffd68a;font-size:10px}
.public-start-page .modern-offline-card .offline-connection-pill{
  padding:6px 9px;
  border:1px solid rgba(46,204,137,.25);
  color:#bfffe1;
  background:rgba(14,107,76,.42);
  font-size:10px;
}
.public-start-page .modern-offline-card .offline-connection-pill.is-offline{
  border-color:rgba(58,154,255,.28);
  color:#c8e9ff;
  background:rgba(13,75,130,.48);
}

.public-start-page .modern-start-actions{display:flex;justify-content:center;margin:0}
.modern-admin-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:8px 14px;
  color:#8fa8bf;
  border:1px solid rgba(117,164,200,.20);
  border-radius:999px;
  background:rgba(3,17,33,.55);
  font-size:12px;
  font-weight:770;
  transition:.18s ease;
}
.modern-admin-link:hover,.modern-admin-link:focus-visible{
  color:#e6f6ff;
  border-color:rgba(0,174,255,.52);
  background:rgba(4,34,61,.75);
  outline:none;
}
.modern-start-footer{
  padding:19px 0 2px;
  color:#70849a;
  text-align:center;
  font-size:12px;
  letter-spacing:.025em;
}

.rtl .modern-start-heading,
.rtl .modern-start-footer{text-align:center}
.rtl .modern-language-copy{text-align:right}
.rtl .modern-offline-card{text-align:right}
.rtl .modern-language-arrow{transform:scaleX(-1)}
.rtl .modern-language-card:hover .modern-language-arrow{transform:scaleX(-1) translateX(3px)}

@media(max-width:660px){
  body.public-start-page.modern-start-page{padding:0;background:#020b1a}
  .modern-start-shell{display:block;min-height:100dvh}
  .modern-start-panel{min-height:100dvh;border:0;border-radius:0;box-shadow:none}
  .modern-start-hero{height:clamp(235px,64vw,285px)}
  .modern-start-content{padding-left:max(17px,env(safe-area-inset-left));padding-right:max(17px,env(safe-area-inset-right));padding-bottom:max(22px,env(safe-area-inset-bottom))}
  .modern-start-eyebrow{font-size:9px}
  .public-start-page .modern-start-heading h2{letter-spacing:.085em}
  .public-start-page .modern-language-card{grid-template-columns:58px minmax(0,1fr) 28px;min-height:84px;padding:12px 14px;border-radius:18px;gap:12px}
  .modern-flag{width:52px;height:52px;border-radius:13px;font-size:33px}
  .modern-language-arrow{font-size:39px}
  .modern-benefit{padding:14px 5px}
  .modern-benefit-icon{width:39px;height:39px}
  .modern-benefit-icon svg{width:36px;height:36px}
}
@media(max-width:390px){
  .modern-start-hero{height:230px}
  .modern-start-content{padding-left:14px;padding-right:14px}
  .public-start-page .modern-start-heading h1{font-size:34px}
  .public-start-page .modern-start-heading h2{font-size:16px}
  .public-start-page .modern-start-heading p{font-size:15px}
  .public-start-page .modern-language-card{grid-template-columns:53px minmax(0,1fr) 24px;gap:9px;padding:11px 12px}
  .modern-flag{width:48px;height:48px;font-size:30px}
  .public-start-page .modern-language-card .modern-language-copy strong{font-size:20px}
  .public-start-page .modern-language-card .modern-language-copy em{font-size:10px}
  .modern-benefit strong{font-size:8px}
  .modern-benefit small{font-size:8px}
  .public-start-page .modern-offline-card{grid-template-columns:auto minmax(0,1fr)}
  .public-start-page .modern-offline-card .offline-connection-pill{grid-column:2;justify-self:start}
}
@media(prefers-reduced-motion:reduce){
  .modern-language-card,.modern-language-card::before,.modern-language-arrow,.modern-admin-link{transition:none!important}
}


/* ========================================================================== 
   MOBILE STARTSEITE 05.08.2026 – Smartphone-Optimierung
   Nur Darstellung: Sprachen, Links, Offline-Funktionen und Adminzugang bleiben unverändert.
   ========================================================================== */
@media (max-width:660px){
  html{background:#020b1a;overflow-x:hidden}
  body.public-start-page.modern-start-page{
    min-width:0;
    padding:0!important;
    overflow-x:hidden;
    background:
      radial-gradient(circle at 50% -8%,rgba(0,132,255,.20),transparent 34%),
      linear-gradient(180deg,#010713 0%,#020c1b 58%,#010711 100%);
  }
  body.public-start-page.modern-start-page::before{
    position:absolute;
    background-size:34px 34px;
    opacity:.12;
  }
  .modern-start-shell{
    width:100%;
    min-height:100svh;
    display:block;
  }
  .modern-start-panel{
    width:100%;
    min-height:100svh;
    overflow:visible;
    border:0;
    border-radius:0;
    background:linear-gradient(180deg,#041428 0%,#020d1d 100%);
    box-shadow:none;
  }
  .modern-start-hero{
    height:clamp(174px,47vw,210px)!important;
    min-height:174px;
    background-position:center center;
    background-size:cover;
  }
  .modern-start-hero::before{
    background:
      linear-gradient(180deg,rgba(0,7,20,.06) 0%,rgba(0,7,20,.03) 44%,rgba(3,16,34,.78) 82%,#041428 100%),
      radial-gradient(circle at 50% 52%,rgba(0,183,255,.10),transparent 30%);
  }
  .modern-start-hero::after{left:19%;right:19%;opacity:.9}
  .modern-hero-glow{bottom:-54px;width:82%;height:112px;filter:blur(34px)}
  .modern-version-pill{
    top:max(9px,env(safe-area-inset-top));
    right:max(10px,env(safe-area-inset-right));
    min-height:25px;
    padding:4px 8px;
    font-size:9px;
    background:rgba(2,13,31,.78);
  }
  .rtl .modern-version-pill{right:auto;left:max(10px,env(safe-area-inset-left))}
  .modern-start-content{
    position:relative;
    z-index:3;
    margin-top:-22px;
    padding:
      18px max(13px,env(safe-area-inset-right))
      max(18px,env(safe-area-inset-bottom))
      max(13px,env(safe-area-inset-left))!important;
    border-radius:25px 25px 0 0;
    background:
      linear-gradient(180deg,rgba(4,20,40,.995) 0%,rgba(2,13,29,.995) 100%);
    box-shadow:0 -12px 34px rgba(0,0,0,.23);
  }
  .modern-start-heading{margin:0;text-align:center}
  .modern-start-eyebrow{
    margin-bottom:4px;
    font-size:8px!important;
    line-height:1.2;
    letter-spacing:.12em;
  }
  .public-start-page .modern-start-heading h1{
    font-size:clamp(29px,9.2vw,38px)!important;
    line-height:1;
    letter-spacing:.02em;
  }
  .public-start-page .modern-start-heading h2{
    margin-top:7px;
    font-size:clamp(13px,4.2vw,17px)!important;
    letter-spacing:.09em!important;
  }
  .modern-title-line{
    width:52px;
    height:3px;
    margin:11px auto 10px;
  }
  .public-start-page .modern-start-heading p{
    margin-bottom:13px;
    padding:0 4px;
    font-size:clamp(13px,3.7vw,15px)!important;
    line-height:1.3;
  }
  .public-start-page .modern-notice{
    margin-bottom:9px;
    padding:10px 11px;
    border-radius:13px;
    font-size:11px;
  }
  .public-start-page .modern-language-cards{
    gap:9px;
    margin-bottom:11px;
  }
  .public-start-page .modern-language-card{
    grid-template-columns:46px minmax(0,1fr) 22px!important;
    gap:10px!important;
    min-height:68px!important;
    padding:9px 11px!important;
    border-width:1px;
    border-radius:16px!important;
    box-shadow:0 8px 20px rgba(0,0,0,.19),0 0 0 1px rgba(255,255,255,.015) inset;
  }
  .public-start-page .modern-language-card:hover,
  .public-start-page .modern-language-card:focus-visible{transform:none}
  .public-start-page .modern-language-card:active{transform:scale(.985)}
  .modern-flag{
    width:42px!important;
    height:42px!important;
    border-radius:11px!important;
    font-size:27px!important;
  }
  .modern-language-copy{gap:2px}
  .public-start-page .modern-language-card .modern-language-copy strong{
    font-size:18px!important;
    line-height:1.1;
  }
  .public-start-page .modern-language-card .modern-language-copy em{
    font-size:9px!important;
    line-height:1.25;
  }
  .modern-language-arrow{
    width:22px;
    height:32px;
    font-size:32px!important;
  }
  .modern-benefits{
    margin:11px 0;
    border-radius:16px;
  }
  .modern-benefit{
    min-height:78px;
    padding:10px 3px 9px!important;
  }
  .modern-benefit+.modern-benefit::before{top:14%;bottom:14%}
  .modern-benefit-icon{
    width:29px!important;
    height:29px!important;
    margin-bottom:5px;
  }
  .modern-benefit-icon svg{
    width:28px!important;
    height:28px!important;
  }
  .modern-benefit strong{
    font-size:clamp(7.6px,2.35vw,9.5px)!important;
    line-height:1.1;
    letter-spacing:0;
  }
  .modern-benefit small{
    margin-top:4px;
    padding:0 2px;
    font-size:clamp(7px,2.1vw,8.5px)!important;
    line-height:1.18;
  }
  .public-start-page .modern-offline-card{
    grid-template-columns:25px minmax(0,1fr) auto!important;
    gap:8px!important;
    margin:10px 0 9px!important;
    padding:9px 10px!important;
    border-radius:14px!important;
  }
  .public-start-page .modern-offline-card .offline-readiness-icon{
    font-size:18px!important;
  }
  .public-start-page .modern-offline-card .offline-readiness-content{
    min-width:0;
  }
  .public-start-page .modern-offline-card .offline-readiness-content strong{
    display:block;
    overflow:hidden;
    font-size:11px!important;
    line-height:1.2;
    text-overflow:ellipsis;
  }
  .public-start-page .modern-offline-card .offline-readiness-content span{
    display:block;
    margin-top:2px;
    font-size:9px!important;
    line-height:1.25;
  }
  .public-start-page .modern-offline-card .offline-readiness-content small{
    display:block;
    margin-top:2px;
    font-size:8px!important;
  }
  .public-start-page .modern-offline-card .offline-connection-pill{
    min-width:48px;
    padding:5px 7px!important;
    text-align:center;
    font-size:8px!important;
    white-space:nowrap;
  }
  .public-start-page .modern-start-actions{margin-top:3px}
  .modern-admin-link{
    min-height:34px;
    padding:6px 12px;
    font-size:10px;
  }
  .modern-start-footer{
    padding:12px 0 0;
    font-size:9px;
  }
}

@media (max-width:370px){
  .modern-start-hero{height:164px!important;min-height:164px}
  .modern-start-content{margin-top:-18px;padding-left:10px!important;padding-right:10px!important;padding-top:15px!important}
  .public-start-page .modern-start-heading h1{font-size:28px!important}
  .public-start-page .modern-start-heading h2{font-size:12px!important}
  .public-start-page .modern-start-heading p{font-size:12px!important}
  .public-start-page .modern-language-card{grid-template-columns:42px minmax(0,1fr) 19px!important;gap:8px!important;min-height:62px!important;padding:8px 9px!important}
  .modern-flag{width:38px!important;height:38px!important;font-size:24px!important}
  .public-start-page .modern-language-card .modern-language-copy strong{font-size:16px!important}
  .public-start-page .modern-language-card .modern-language-copy em{font-size:8px!important}
  .modern-language-arrow{font-size:29px!important}
  .modern-benefit{min-height:70px;padding-top:8px!important;padding-bottom:7px!important}
  .modern-benefit-icon{width:25px!important;height:25px!important}
  .modern-benefit-icon svg{width:24px!important;height:24px!important}
  .public-start-page .modern-offline-card{grid-template-columns:22px minmax(0,1fr)!important}
  .public-start-page .modern-offline-card .offline-connection-pill{grid-column:2;justify-self:start;margin-top:2px}
}

@media (max-width:660px) and (orientation:landscape), (max-height:560px) and (min-width:500px){
  .modern-start-panel{display:grid;grid-template-columns:minmax(220px,38%) minmax(0,1fr);min-height:100svh}
  .modern-start-hero{height:100svh!important;min-height:100%;background-position:center center}
  .modern-start-content{margin-top:0;border-radius:0;padding:12px 14px!important;overflow-y:auto}
  .modern-start-eyebrow{display:none}
  .public-start-page .modern-start-heading h1{font-size:28px!important}
  .public-start-page .modern-start-heading h2{font-size:13px!important;margin-top:4px}
  .modern-title-line{margin:7px auto 6px}
  .public-start-page .modern-start-heading p{margin-bottom:8px;font-size:12px!important}
  .public-start-page .modern-language-card{min-height:57px!important}
  .modern-benefits{margin:8px 0}
  .modern-benefit{min-height:58px;padding:6px 2px!important}
  .modern-benefit-icon{width:22px!important;height:22px!important;margin-bottom:3px}
  .modern-benefit-icon svg{width:21px!important;height:21px!important}
  .modern-benefit small{display:none}
  .public-start-page .modern-offline-card{margin:7px 0!important}
  .modern-start-footer{padding-top:7px}
}

/* =====================================================================
   05.08.2026 – Durchgängiges Fleet-Neon-Design für die öffentliche
   Checkliste: vom Fahrer bis zum letzten Schritt. Nur Darstellung.
   ===================================================================== */
body.public-check-page.check-pro-page{
  --fleet-glass:rgba(3,15,32,.88);
  --fleet-glass-strong:rgba(2,12,27,.95);
  --fleet-card:rgba(5,23,45,.91);
  --fleet-card-soft:rgba(7,31,57,.86);
  --fleet-border:rgba(0,174,255,.43);
  --fleet-border-strong:rgba(24,211,255,.72);
  --fleet-text:#f7fbff;
  --fleet-muted:#a9bfd5;
  --fleet-cyan:#18d3ff;
  --fleet-blue:#009cff;
  position:relative;
  isolation:isolate;
  min-height:100vh;
  min-height:100dvh;
  overflow-x:hidden;
  color:var(--fleet-text);
  background:#020816 !important;
}
body.public-check-page.check-pro-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(1,8,20,.38) 0%,rgba(1,8,20,.68) 29%,rgba(1,8,20,.91) 66%,#020816 100%),
    radial-gradient(circle at 50% 16%,rgba(0,156,255,.20),transparent 45%),
    url('assets/start_fleet_hero.webp') center top / cover no-repeat;
  transform:translateZ(0);
}
body.public-check-page.check-pro-page .check-pro-main{
  position:relative;
  z-index:1;
}

/* Kopf und Fortschritt bleiben beim Scrollen gut lesbar. */
body.public-check-page.check-pro-page .check-pro-header{
  background:linear-gradient(145deg,rgba(3,17,35,.95),rgba(5,27,51,.91)) !important;
  border:1px solid var(--fleet-border-strong) !important;
  box-shadow:0 16px 46px rgba(0,0,0,.42),0 0 28px rgba(0,156,255,.10) !important;
  -webkit-backdrop-filter:blur(16px) saturate(135%);
  backdrop-filter:blur(16px) saturate(135%);
}
body.public-check-page.check-pro-page .check-pro-back{
  color:#eaf9ff;
  background:rgba(0,156,255,.13);
  border:1px solid rgba(24,211,255,.47);
  box-shadow:inset 0 0 18px rgba(0,156,255,.08);
}
body.public-check-page.check-pro-page .check-pro-logo{
  padding:4px;
  border-radius:12px;
  background:rgba(255,255,255,.94);
  box-shadow:0 7px 18px rgba(0,0,0,.24);
}
body.public-check-page.check-pro-page .check-pro-eyebrow{color:#8ccff5}
body.public-check-page.check-pro-page .check-pro-heading h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.40)}
body.public-check-page.check-pro-page .check-pro-shift{
  color:#bdeeff;
  background:rgba(0,156,255,.14);
  border:1px solid rgba(24,211,255,.32);
}
body.public-check-page.check-pro-page .check-pro-online{
  color:#aaf4d0;
  background:rgba(15,159,98,.17);
  border:1px solid rgba(74,222,128,.30);
}
body.public-check-page.check-pro-page .check-pro-online.offline{
  color:#ffd0cd;
  background:rgba(217,45,32,.20);
  border-color:rgba(248,113,113,.34);
}
body.public-check-page.check-pro-page .check-pro-progress-integrated{
  background:rgba(1,12,27,.72) !important;
  border:1px solid rgba(0,174,255,.25) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
body.public-check-page.check-pro-page .check-pro-progress-step{color:#8ea9c1}
body.public-check-page.check-pro-page .check-pro-progress-step i{
  color:#a9bfd5;
  background:rgba(138,169,194,.16);
  border:1px solid rgba(138,169,194,.18);
}
body.public-check-page.check-pro-page .check-pro-progress-step.active{
  color:#d9f7ff;
  background:rgba(0,156,255,.17);
}
body.public-check-page.check-pro-page .check-pro-progress-step.active i{
  background:linear-gradient(135deg,var(--fleet-blue),var(--fleet-cyan));
  border-color:transparent;
  color:#fff;
  box-shadow:0 0 18px rgba(0,174,255,.30);
}
body.public-check-page.check-pro-page .check-pro-progress-step.done{color:#aaf4d0}
body.public-check-page.check-pro-page .check-pro-progress-step.done i{
  background:#0f9f62;
  border-color:rgba(134,239,172,.30);
  color:#fff;
}

/* Offline-/Online-Status im selben Glasstil. */
body.public-check-page.check-pro-page .offline-check-status{
  color:#d9efff;
  background:rgba(4,27,51,.88);
  border:1px solid rgba(0,174,255,.33);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
body.public-check-page.check-pro-page .offline-check-status.is-online{
  color:#c9fbe1;
  background:rgba(4,45,42,.84);
  border-color:rgba(74,222,128,.32);
}
body.public-check-page.check-pro-page .offline-check-status.is-warning{
  color:#ffedbd;
  background:rgba(69,47,4,.88);
  border-color:rgba(251,191,36,.42);
}

/* Alle Hauptschritte – einheitliche dunkle, transparente Karten. */
body.public-check-page.check-pro-page .step-card,
body.public-check-page.check-pro-page .check-pro-final{
  color:var(--fleet-text);
  background:linear-gradient(145deg,var(--fleet-card),rgba(3,17,35,.94)) !important;
  border:1px solid var(--fleet-border) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.035) !important;
  -webkit-backdrop-filter:blur(15px) saturate(125%);
  backdrop-filter:blur(15px) saturate(125%);
}
body.public-check-page.check-pro-page .step-card.active{
  border-color:var(--fleet-border-strong) !important;
  box-shadow:0 18px 50px rgba(0,0,0,.38),0 0 28px rgba(0,156,255,.10) !important;
}
body.public-check-page.check-pro-page .step-head>span{
  background:linear-gradient(135deg,var(--fleet-blue),var(--fleet-cyan)) !important;
  box-shadow:0 8px 22px rgba(0,174,255,.27) !important;
}
body.public-check-page.check-pro-page .step-head h3,
body.public-check-page.check-pro-page .check-pro-final h2{
  color:#fff !important;
}
body.public-check-page.check-pro-page .step-head p,
body.public-check-page.check-pro-page .help,
body.public-check-page.check-pro-page .camera-file-name{
  color:var(--fleet-muted) !important;
}
body.public-check-page.check-pro-page label{color:#d9eaff}

/* Eingabefelder bewusst hell: maximale Lesbarkeit und native Select-Kompatibilität. */
body.public-check-page.check-pro-page input[type=search],
body.public-check-page.check-pro-page input[type=text],
body.public-check-page.check-pro-page input:not([type]),
body.public-check-page.check-pro-page select,
body.public-check-page.check-pro-page textarea{
  color:#10243a !important;
  background:rgba(249,252,255,.97) !important;
  border-color:rgba(123,180,220,.70) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
body.public-check-page.check-pro-page input::placeholder,
body.public-check-page.check-pro-page textarea::placeholder{color:#6c8094;opacity:1}
body.public-check-page.check-pro-page input:focus,
body.public-check-page.check-pro-page select:focus,
body.public-check-page.check-pro-page textarea:focus{
  border-color:var(--fleet-cyan) !important;
  box-shadow:0 0 0 4px rgba(24,211,255,.15),0 0 22px rgba(0,156,255,.10) !important;
}

/* Fahrzeugfotos und Kontrollpunkte. */
body.public-check-page.check-pro-page .exterior-photo-step{
  color:#eef9ff;
  background:linear-gradient(145deg,rgba(7,34,62,.92),rgba(4,23,44,.94)) !important;
  border:1px solid rgba(0,174,255,.31) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
body.public-check-page.check-pro-page .exterior-photo-step.completed{
  background:linear-gradient(145deg,rgba(5,57,48,.92),rgba(3,35,31,.95)) !important;
  border-color:rgba(74,222,128,.44) !important;
}
body.public-check-page.check-pro-page .exterior-photo-step h3{color:#fff !important}
body.public-check-page.check-pro-page .vehicle-side-guide{
  border:1px solid rgba(150,205,239,.45) !important;
  background:rgba(255,255,255,.96) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.24) !important;
}
body.public-check-page.check-pro-page .camera-start-btn{
  background:linear-gradient(135deg,var(--fleet-blue),#0878d9 65%,var(--fleet-cyan)) !important;
  box-shadow:0 10px 24px rgba(0,156,255,.24) !important;
}
body.public-check-page.check-pro-page .check-item{
  color:#eef8ff;
  background:linear-gradient(145deg,rgba(8,35,64,.90),rgba(4,22,42,.94)) !important;
  border:1px solid rgba(111,174,215,.30) !important;
  border-left:5px solid rgba(169,191,213,.60) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.18) !important;
}
body.public-check-page.check-pro-page .check-item h3{color:#fff !important}
body.public-check-page.check-pro-page .check-item[data-result="OK"]{
  background:linear-gradient(145deg,rgba(4,56,47,.92),rgba(3,34,31,.96)) !important;
  border-left-color:#22c979 !important;
}
body.public-check-page.check-pro-page .check-item[data-result="Mangel"]{
  background:linear-gradient(145deg,rgba(73,19,24,.93),rgba(43,11,18,.97)) !important;
  border-left-color:#ef5147 !important;
}
body.public-check-page.check-pro-page .check-item.check-current{
  border-color:rgba(24,211,255,.68) !important;
  box-shadow:0 12px 32px rgba(0,0,0,.23),0 0 25px rgba(0,156,255,.10) !important;
}
body.public-check-page.check-pro-page .photo-field{
  background:rgba(65,14,20,.62) !important;
  border-color:rgba(248,113,113,.42) !important;
}
body.public-check-page.check-pro-page .photo-thumb,
body.public-check-page.check-pro-page .exterior-photo-preview{
  border-color:rgba(137,203,240,.53) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.24);
}

/* Abschlusskarte. */
body.public-check-page.check-pro-page .signature{
  background:rgba(255,255,255,.98) !important;
  border-color:rgba(24,211,255,.52) !important;
  box-shadow:inset 0 2px 8px rgba(13,43,73,.08),0 8px 22px rgba(0,0,0,.18);
}
body.public-check-page.check-pro-page .check-pro-final-actions .secondary{
  color:#dff7ff;
  background:rgba(0,156,255,.13);
  border:1px solid rgba(24,211,255,.38);
}
body.public-check-page.check-pro-page .check-pro-save{
  background:linear-gradient(135deg,#087a4a,#13a86b,#24c77d) !important;
  box-shadow:0 12px 28px rgba(15,159,98,.28) !important;
}
body.public-check-page.check-pro-page .alert-box.success{
  color:#c9fbe1;
  background:rgba(4,60,49,.88);
  border-color:rgba(74,222,128,.40);
}

/* Mobil: Hintergrund bleibt ruhig, Inhalt nutzt die volle Breite. */
@media(max-width:760px){
  body.public-check-page.check-pro-page::before{
    background:
      linear-gradient(180deg,rgba(1,8,20,.31) 0%,rgba(1,8,20,.74) 25%,rgba(1,8,20,.94) 61%,#020816 100%),
      radial-gradient(circle at 54% 12%,rgba(0,156,255,.20),transparent 42%),
      url('assets/start_fleet_hero.webp') 55% top / auto 46vh no-repeat;
  }
  body.public-check-page.check-pro-page .check-pro-header{
    background:rgba(2,15,31,.94) !important;
    -webkit-backdrop-filter:blur(10px) saturate(120%);
    backdrop-filter:blur(10px) saturate(120%);
  }
  body.public-check-page.check-pro-page .step-card,
  body.public-check-page.check-pro-page .check-pro-final{
    background:linear-gradient(145deg,rgba(5,23,45,.95),rgba(2,14,29,.97)) !important;
    -webkit-backdrop-filter:blur(9px);
    backdrop-filter:blur(9px);
  }
  body.public-check-page.check-pro-page .offline-check-status{margin-top:8px}
}

@media(max-width:390px){
  body.public-check-page.check-pro-page::before{
    background-position:57% top;
    background-size:auto 42vh;
  }
}

@media print{
  body.public-check-page.check-pro-page{background:#fff !important;color:#111 !important}
  body.public-check-page.check-pro-page::before{display:none !important}
}


/* Administrator-Menü vollständig ein-/ausblenden */
.sidebar-toggle{
    position:fixed;
    top:14px;
    left:245px;
    z-index:10000;
    width:44px !important;
    min-width:44px;
    height:44px;
    padding:0 !important;
    border:2px solid rgba(255,255,255,.72);
    border-radius:14px;
    display:grid !important;
    place-items:center;
    color:#fff;
    background:linear-gradient(135deg,#0b5cff,#00b9ff);
    box-shadow:0 10px 28px rgba(6,22,56,.3);
    cursor:pointer;
    transition:left .28s ease, right .28s ease, transform .18s ease, box-shadow .18s ease;
}
.sidebar-toggle:hover{transform:scale(1.06);box-shadow:0 14px 34px rgba(6,22,56,.38)}
.sidebar-toggle:focus-visible{outline:3px solid rgba(255,255,255,.96);outline-offset:3px}
.sidebar-toggle span{display:block;font-size:24px;line-height:1;transform:translateX(-1px);transition:transform .28s ease}
.app-shell{transition:grid-template-columns .28s ease}
.sidebar{transition:transform .28s ease,opacity .2s ease,visibility .28s ease,padding .28s ease}
.main{transition:padding .28s ease}
html.admin-sidebar-collapsed .app-shell{grid-template-columns:0 minmax(0,1fr)}
html.admin-sidebar-collapsed .sidebar{
    transform:translateX(-100%);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    padding-left:0;
    padding-right:0;
    overflow:hidden;
    box-shadow:none;
}
html.admin-sidebar-collapsed .sidebar-toggle{left:10px}
html.admin-sidebar-collapsed .sidebar-toggle span{transform:rotate(180deg) translateX(-1px)}

@media(max-width:1000px){
    .sidebar-toggle{left:auto;right:12px;top:12px}
    html.admin-sidebar-collapsed .app-shell{grid-template-columns:minmax(0,1fr)}
    html.admin-sidebar-collapsed .sidebar{height:0;min-height:0;padding-top:0;padding-bottom:0;margin:0}
    html.admin-sidebar-collapsed .sidebar-toggle{left:10px;right:auto}
}

@media(max-width:620px){
    .sidebar-toggle{width:42px !important;min-width:42px;height:42px;border-radius:13px}
}

@media print{
    .sidebar-toggle{display:none !important}
}
