/* * FleetLogix - Global Stylesheet v0.030
 * Fokus: Multi-Standort-Design & Saubere Komponenten
 */

/* --- 1. VARIABLEN & RESET --- */
:root {
    --sidebar-width: 260px;
    --topbar-height: 70px;
    --primary-bg: #1e293b;    /* Sidebar Dunkelblau */
    --sidebar-hover: #334155;
    --accent: #0ea5e9;       /* Tech-Blau */
    --body-bg: #f1f5f9;      /* Heller Hintergrund */
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-main);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* --- 2. LAYOUT STRUKTUR --- */
.app-wrapper { 
    display: flex; 
    width: 100%; 
    height: 100vh; 
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary-bg);
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    color: var(--white);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--sidebar-hover) transparent;
}

/* Sidebar Scrollbar Styling (Chrome/Safari) */
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background-color: var(--sidebar-hover); border-radius: 10px; }

.sidebar-header {
    padding: 20px;
    position: sticky;
    top: 0;
    background: var(--primary-bg);
    z-index: 10;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.content-body {
    padding: 30px 40px;
    overflow-y: auto;
    flex-grow: 1;
}

/* --- 3. KOMPONENTEN: CARDS & STATS --- */
.card, .content-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.9rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-row strong { color: var(--text-muted); font-weight: 600; }

.section-title { 
    margin: 0 0 20px 0; 
    font-size: 0.95rem; 
    color: var(--text-main); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    font-weight: 700;
}
.section-title i { color: var(--accent); }

/* --- 4. NAVIGATION & TABS --- */
.tab-btn {
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-badge {
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 800;
}

/* --- 5. TOPBAR & DROPDAWNS (KORRIGIERT) --- */
.top-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- ZUSÄTZLICHE DROPDOWN-DETAILS --- */

.dropdown-header-alt {
    padding: 15px 20px;
    background: #f8fafc;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

/* Spezifisches Styling für FontAwesome Icons (z.B. fa-car) */
.fa, .fas, .far {
    transition: transform 0.2s ease;
}

/* Wenn das Auto-Icon in einem Button oder einer Liste steht */
.fa-car {
    color: var(--accent); /* Dein Tech-Blau */
}

/* Kleiner Effekt, wenn man über Elemente mit Icons fährt */
.nav-link:hover .fa-car, 
.dropdown-link:hover .fa-car {
    transform: scale(1.1);
}

/* --- OPTIONAL: Falls du eine Icon-Box für das Fahrzeug-Profil nutzt --- */
.icon-box-blue {
    width: 40px;
    height: 40px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.topbar-right { display: flex; align-items: center; gap: 25px; }

/* Menü-Container */
.notification-wrapper, .user-menu-wrapper {
    position: relative;
    padding: 10px 0;
}

/* Dropdown-Inhalte */
.notif-dropdown, .user-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px); 
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    z-index: 2000;
    animation: slideIn 0.25s ease-out;
}

.user-dropdown-content { right: 0; min-width: 240px; }
.notif-dropdown { right: -20px; width: 320px; }

/* Brücke für Hover-Stabilität */
.notification-wrapper::after, .user-menu-wrapper::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.notification-wrapper:hover .notif-dropdown,
.user-menu-wrapper:hover .user-dropdown-content {
    display: block;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s;
}
.dropdown-link:hover { background: #f1f5f9; color: var(--accent); }
.dropdown-link i { width: 20px; color: var(--text-muted); }

.dropdown-divider { height: 1px; background: var(--border-color); margin: 5px 0; }
.logout-action { color: var(--danger) !important; }
.logout-action:hover { background: #fef2f2 !important; }

/* --- 6. USER INFO & AVATAR --- */
.user-info-display {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 12px;
    transition: background 0.2s;
}
.user-info-display:hover { background: #f1f5f9; }

.user-text { display: flex; flex-direction: column; text-align: right; line-height: 1.2; }
.user-name { font-size: 0.9rem; font-weight: 800; color: var(--text-main); }
.user-role-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }

.user-avatar-circle {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
}
.user-avatar-circle.admin-glow {
    background: var(--accent);
    color: white;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
    border: none;
}

/* --- 7. BUTTONS --- */
.btn-primary, .btn-login {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary:hover { background: #0284c7; transform: translateY(-1px); }

.btn-back {
    background: white;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
}
.btn-back:hover { background: #f8fafc; color: var(--text-main); }

.btn-warn {
    background: #fee2e2;
    color: var(--danger);
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #fecaca;
    transition: 0.2s;
}
.btn-warn:hover { background: #fecaca; }

/* --- 8. STATUS & PILLS --- */
.status-pill {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.status-pill.active { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.status-pill.warning { background: #fff7ed; color: #9a3412; border: 1px solid #ffedd5; }
.status-pill.danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.status-pill.muted { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.badge-schaden-blink {
    background: #fee2e2;
    color: var(--danger);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 800;
    animation: pulse-red 2s infinite;
}

/* --- 9. TABELLEN --- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    text-align: left;
    padding: 15px;
    background: #f8fafc;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}
.data-table td { padding: 15px; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }

/* --- Link-Styling für Namen in Tabellen --- */
.name-link {
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.name-link:hover {
    color: var(--accent);
    transform: translateX(3px); /* Kleiner visueller Effekt beim Drüberfahren */
}

/* Sub-Informationen unter dem Namen (z.B. Personalnummer oder Kennzeichen) */
.name-link small {
    display: block;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

.data-table tr:hover { background: #fcfdfe; }

/* --- 10. ANIMATIONEN --- */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse-red {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { transform: scale(1.05); opacity: 0.8; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* --- 11. FORMULARE --- */
.modern-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Utility */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

/* --- 12. LOGIN SEITE --- */
.login-body {
    background-color: var(--body-bg);
    background-image: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 80% 80%, rgba(30, 41, 59, 0.05) 0%, transparent 40%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-card {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border-color);
    animation: slideIn 0.4s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    color: var(--accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.2);
}

.login-card h2 {
    color: var(--text-main);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.login-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Fehlermeldung im Login */
.error-msg {
    background: #fee2e2;
    color: #b91c1c;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: shake 0.4s ease-in-out;
}

.btn-login {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* Animation für Login-Fehler */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 13. SIDEBAR NAVIGATION --- */
.nav-list {
    list-style: none;
    padding: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    color: #94a3b8; /* Dezentes Grau */
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.nav-link i {
    width: 20px;
    font-size: 1.1rem;
    text-align: center;
}

.nav-link:hover {
    background: var(--sidebar-hover);
    color: var(--white);
}

.nav-link.active {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* --- 14. TABELLEN AKTIONEN --- */
.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--text-muted);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}

.btn-icon:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-icon.delete:hover {
    background: var(--danger);
    color: var(--white);
}

/* --- 15. MODALS --- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    max-width: 550px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* Sidebar Logo & Footer Ergänzungen */
.sidebar-logo-area {
    padding: 30px 20px;
    background: linear-gradient(to bottom, rgba(30, 41, 59, 0.5), transparent);
}

.main-logo-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.2));
}

.menu-category {
    padding: 25px 20px 10px 20px;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: #475569;
    font-weight: 800;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.version-info small {
    color: #475569;
    font-size: 0.6rem;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.version-link span {
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Monaco', monospace;
}

/* Spezieller Hover für Logout in der Sidebar */
.nav-link.logout-link:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
}

/* --- TOPBAR ERGÄNZUNGEN v3.2 --- */

/* System-Status (Links) */
.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Benachrichtigungs-Details */
.notif-trigger {
    position: relative;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
}

.notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid white;
}

/* Benachrichtigungs-Liste im Dropdown */
.notif-list {
    max-height: 350px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.notif-item:hover {
    background: #f8fafc;
}

.notif-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.notif-content p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

.notif-content small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.notif-footer {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    background: #f8fafc;
}

.notif-footer:hover {
    background: #f1f5f9;
    text-decoration: underline;
}

/* Dropdown Pfeil & Animation */
.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 5px;
    transition: transform 0.3s;
}

.user-menu-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* --- DASHBOARD SPECIFICS --- */
.dashboard-container { animation: fadeIn 0.5s ease; }

.kpi-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.kpi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.kpi-icon.blue { background: #e0f2fe; color: var(--accent); }
.kpi-icon.red { background: #fef2f2; color: var(--danger); }
.kpi-icon.yellow { background: #fff7ed; color: var(--warning); }
.kpi-icon.purple { background: #f5f3ff; color: #7c3aed; }
.kpi-icon.green { background: #f0fdf4; color: var(--success); }

.kpi-label { display: block; font-size: 0.7rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.kpi-value { font-size: 1.6rem; font-weight: 900; color: var(--text-main); }

/* Glow & Border States */
.danger-border { border-color: var(--danger) !important; }
.warning-border { border-color: var(--warning) !important; }
.purple-glow { 
    border-color: #7c3aed !important; 
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
    animation: pulse-purple 2s infinite; 
}

@keyframes pulse-purple {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

/* Timeline & Lists */
.timeline-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    transition: background 0.2s;
    cursor: pointer;
}

.timeline-item:hover { background: #f8fafc; }

.timeline-date {
    background: var(--bg-main);
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    min-width: 50px;
    margin-right: 15px;
    border: 1px solid var(--border-color);
}

.date-d { display: block; font-weight: 900; color: var(--text-main); font-size: 1.1rem; }
.date-m { font-size: 0.65rem; text-transform: uppercase; font-weight: 700; color: var(--accent); }

.progress-wrapper {
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill { height: 100%; border-radius: 10px; transition: width 1s ease-out; }

/* Modernes Glas-Design */
.card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05) !important;
}

/* Schwebe-Effekt für die KPI-Karten */
.kpi-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Subtiler Hintergrund-Gradient für die Icons */
.kpi-icon::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: currentColor;
    opacity: 0.05;
    border-radius: 50%;
    top: -20px;
    right: -20px;
    z-index: -1;
}

/* Einblend-Animation für die gesamte Seite */
.dashboard-container {
    animation: slideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Card - Fix für Sichtbarkeit */
.hero-card { 
    background: #1e293b !important; /* Dunkelblau erzwingen */
    color: #ffffff !important;      /* Textfarbe Weiß erzwingen */
    padding: 40px; 
    border-radius: 24px; 
    position: relative; 
    overflow: hidden;
    border: none !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.hero-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 2; 
    position: relative; 
}

/* Texte innerhalb der Hero-Card explizit weiß machen */
.hero-text h2 { 
    font-size: 2.5rem; 
    margin: 15px 0; 
    font-weight: 900; 
    color: #ffffff !important; 
}

.hero-text p { 
    color: rgba(255, 255, 255, 0.9) !important; /* Leicht transparentes Weiß */
    font-size: 1.1rem;
    line-height: 1.5;
}

.hero-tag { 
    background: #3b82f6; 
    color: #ffffff !important; 
    padding: 4px 12px; 
    border-radius: 6px; 
    font-size: 0.75rem; 
    font-weight: 800;
    display: inline-block;
}

/* Die kleinen Labels unter den Zahlen (Ø Laufleistung etc.) */
.h-lab { 
    font-size: 0.75rem; 
    color: rgba(255, 255, 255, 0.6) !important; 
}

/* Die großen Zahlen (0.5k / 0) */
.h-val { 
    display: block; 
    font-size: 1.8rem; 
    font-weight: 900; 
    color: #3b82f6; /* Accent-Blau für die Zahlen bleibt */
}

/* SVG Prozent-Zahl im Kreis */
.progress-circle-lg .pct { 
    color: #ffffff !important; 
}