/* ═══════════════════════════════════════════
   NKB Krankenbeförderung – Design System
   Medizinisch-professionell: Blau-Weiß
   Basiert auf Mügeln Glass-Morphism Pattern
   ═══════════════════════════════════════════ */

/* ── Fonts ── */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

/* ── CSS Variables ── */
:root {
    --bg-primary: #f0f4f8;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #ffffff;
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;

    --accent-primary: #2563eb;
    --accent-secondary: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(37, 99, 235, 0.3);
    --accent-dark: #1e3a5f;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-bg-dark: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(37, 99, 235, 0.15);
    --glass-border-light: rgba(255, 255, 255, 0.2);

    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --error: #dc2626;
    --error-bg: #fef2f2;
    --info: #2563eb;
    --info-bg: #eff6ff;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    --space-xs: clamp(0.25rem, 0.12vw + 0.15rem, 0.3rem);
    --space-sm: clamp(0.4rem, 0.25vw + 0.3rem, 0.55rem);
    --space-md: clamp(0.75rem, 0.45vw + 0.5rem, 1.1rem);
    --space-lg: clamp(1.1rem, 0.7vw + 0.7rem, 1.6rem);
    --space-xl: clamp(1.4rem, 0.9vw + 0.9rem, 2.2rem);
    --space-2xl: clamp(2rem, 1.4vw + 1.2rem, 3.25rem);
    --space-3xl: clamp(2.5rem, 1.8vw + 1.5rem, 4.25rem);

    --font-xs: clamp(0.7rem, 0.2vw + 0.55rem, 0.8rem);
    --font-sm: clamp(0.78rem, 0.25vw + 0.6rem, 0.9rem);
    --font-base: clamp(0.85rem, 0.3vw + 0.65rem, 1rem);
    --font-lg: clamp(1rem, 0.4vw + 0.75rem, 1.2rem);
    --font-xl: clamp(1.2rem, 0.5vw + 0.9rem, 1.5rem);
    --font-2xl: clamp(1.5rem, 0.8vw + 1rem, 2rem);
    --font-3xl: clamp(1.8rem, 1.2vw + 1.2rem, 2.5rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Seite hinter einem offenen Modal nicht mitscrollen lassen */
html.modal-open,
body.modal-open { overflow: hidden; }
/* Breite der ausgeblendeten Scrollbar ausgleichen, damit die Seite nicht springt */
body.modal-open { padding-right: var(--scrollbar-width, 0px); }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Glass ── */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.glass-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: var(--font-sm);
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    line-height: 1.4;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-white);
    box-shadow: 0 2px 8px var(--accent-glow);
}
.btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1.5px solid var(--accent-primary);
}
.btn-outline:hover:not(:disabled) {
    background: var(--accent-primary);
    color: var(--text-white);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: var(--text-white);
}
.btn-success:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,150,105,0.3); }

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: var(--text-white);
}
.btn-danger:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(220,38,38,0.3); }

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover:not(:disabled) { background: var(--bg-secondary); color: var(--text-primary); }

.btn-sm { padding: 0.375rem 0.75rem; font-size: var(--font-xs); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: var(--font-lg); }
.btn-full { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); }

/* ── Bubble-Hover-Animation (Uiverse.io by zjssun) – in Markenblau ──
   Wird zusätzlich zu .btn .btn-primary auf wichtige Buttons gelegt; die
   bestehende blaue Button-Farbe bleibt, nur die Bubbles sind blau (#2563eb).
   z-index: 0 erzeugt einen eigenen Stacking-Context, damit die Bubbles auch
   in der Login-Card sichtbar sind (statt hinter ihr zu verschwinden). */
.btn-bubbles { position: relative; z-index: 0; }
.btn-bubbles:active { transform: scale(0.96); }
.btn-bubbles::before,
.btn-bubbles::after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1;
    background-repeat: no-repeat;
    pointer-events: none;
}
.btn-bubbles:hover::before {
    top: -70%;
    background-image: radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, transparent 20%, #2563eb 20%, transparent 30%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #2563eb 15%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
        10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: btnTopBubbles 0.6s ease forwards;
}
@keyframes btnTopBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
            40% 90%, 55% 90%, 70% 90%;
    }
    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
            50% 50%, 65% 20%, 90% 30%;
    }
    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
            50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}
.btn-bubbles:hover::after {
    bottom: -70%;
    background-image: radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #2563eb 15%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%),
        radial-gradient(circle, #2563eb 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: btnBottomBubbles 0.6s ease forwards;
}
@keyframes btnBottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
            70% -10%, 70% 0%;
    }
    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
            105% 0%;
    }
    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
            110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .btn-bubbles:hover::before, .btn-bubbles:hover::after { animation: none; background-image: none; }
}

/* ── Forms ── */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: var(--font-base);
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1.5px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder { color: var(--text-muted); }

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 0.75rem;
    color: var(--text-muted);
    pointer-events: none;
}

.input-wrapper .form-input {
    padding-left: 2.5rem;
}

.form-error {
    color: var(--error);
    font-size: var(--font-xs);
    margin-top: var(--space-xs);
}

.form-hint {
    color: var(--text-muted);
    font-size: var(--font-xs);
    margin-top: var(--space-xs);
}

/* ── Cards ── */
.card {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-primary);
}

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.65rem;
    font-size: var(--font-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    line-height: 1.4;
}

.badge-pending {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(217,119,6,0.2);
}

.badge-bestaetigt {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(5,150,105,0.2);
}

.badge-abgelehnt {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(220,38,38,0.2);
}

.badge-abgeschlossen {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid rgba(37,99,235,0.2);
}

.badge-admin {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-white);
}

.badge-kunde {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

/* ── Tables ── */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-sm);
}

.table th {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: var(--font-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bg-secondary);
    color: var(--text-primary);
}

.table tr:hover td {
    background: var(--info-bg);
}

.table tr:last-child td {
    border-bottom: none;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ── Modals ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    overscroll-behavior: contain;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 560px;
    /* Nie höher als das Fenster – gescrollt wird innen im .modal-body */
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
}

.modal-header h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-xl);
    /* Der scrollbare Teil: Kopf und Fußzeile bleiben immer sichtbar */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-footer {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--bg-secondary);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 0 0 auto;
}

/* ── Alerts ── */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
}

.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(5,150,105,0.2); }
.alert-error { background: var(--error-bg); color: var(--error); border: 1px solid rgba(220,38,38,0.2); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(217,119,6,0.2); }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid rgba(37,99,235,0.2); }

/* ── NKB Brand-Logo mit Shiny-Animation ── */
.brand-logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 0;
    border-radius: 6px;
    max-width: 100%;
    /* Das Logo-Bild (nkb-logo.png) ist bereits ohne den leeren Rand oben/unten
       zugeschnitten (350×82), damit es groß wirkt, ohne Navbar/Card hoch zu machen. */
}
.brand-logo img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
}
.brand-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -160%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255,255,255,0.15) 35%,
        rgba(255,255,255,0.85) 50%,
        rgba(255,255,255,0.15) 65%,
        transparent 100%
    );
    transform: skewX(-18deg);
    animation: brandShine 6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
    pointer-events: none;
}
@keyframes brandShine {
    0%        { left: -160%; }
    55%, 100% { left: 160%; }
}
/* Navbar – 50% größer (51px) und je 15% links/rechts beschnitten (mittlere 70% Breite).
   Ratio 0.7 × (350/82) ≈ 2.988 → 245/82, object-fit:cover schneidet symmetrisch die Seiten ab. */
.brand-logo-sm { height: 51px; aspect-ratio: 245 / 82; }
.brand-logo-sm img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Login – füllt die Card-Breite, Höhe folgt dem zugeschnittenen Logo (≈ 4.27:1) */
.brand-logo-lg { display: block; width: 100%; height: auto; margin: 0 auto var(--space-lg); }
.brand-logo-lg img { width: 100%; height: auto; }
@media (max-width: 600px) {
    .brand-logo-sm { height: 39px; }
}

/* "Admin"-Zusatz neben dem Logo in der Admin-Navbar */
.brand-suffix {
    font-weight: 700;
    font-size: var(--font-md);
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
    .brand-logo::after { animation: none; display: none; }
}

/* ── Toast-Benachrichtigungen (ersetzen Browser-Popups) ── */
.toast-container {
    position: fixed;
    top: 78px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: min(360px, calc(100vw - 40px));
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-lg);
    background: #fff;
    border: 1px solid var(--glass-border);
    animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.toast-leaving { animation: toastOut 0.3s ease forwards; }
.toast-success { background: var(--success-bg); color: var(--success); border-color: rgba(5,150,105,0.25); }
.toast-error   { background: var(--error-bg);   color: var(--error);   border-color: rgba(220,38,38,0.25); }
.toast-info    { background: var(--info-bg);    color: var(--info);    border-color: rgba(37,99,235,0.25); }
.toast svg { flex-shrink: 0; }
@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(40px); }
}
@media (max-width: 600px) {
    .toast-container { left: 20px; right: 20px; max-width: none; }
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 var(--space-xl);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: var(--font-lg);
    color: var(--accent-dark);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-primary);
    background: var(--info-bg);
    text-decoration: none;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-user-info {
    text-align: right;
}

.nav-user-name {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.nav-user-role {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* ── Login Page ── */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.login-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(37,99,235,0.15);
    padding: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.login-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.login-header h1 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: var(--space-xs);
}

.login-header p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

/* ── Stats Grid ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.blue { background: var(--info-bg); color: var(--accent-primary); }
.stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-icon.orange { background: var(--warning-bg); color: var(--warning); }
.stat-icon.red { background: var(--error-bg); color: var(--error); }

.stat-value {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Page Layout ── */
.page-content {
    padding-top: 80px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl) var(--space-3xl);
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.page-title {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

/* ── Tabs ── */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid var(--bg-secondary);
    margin-bottom: var(--space-2xl);
}

.tab {
    padding: 0.75rem 1.25rem;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-family: inherit;
}

.tab:hover { color: var(--text-primary); }

.tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Fahrt Card ── */
.fahrt-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    transition: box-shadow var(--transition-base);
}

.fahrt-card:hover {
    box-shadow: var(--shadow-lg);
}

.fahrt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.fahrt-route {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.fahrt-route-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.fahrt-route-icon .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.fahrt-route-icon .line {
    width: 2px;
    height: 20px;
    background: var(--bg-secondary);
}

.fahrt-route-icon .dot-end {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--error);
}

.fahrt-addresses {
    flex: 1;
    min-width: 0;
}

.fahrt-address {
    font-size: var(--font-sm);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.fahrt-address:last-child { margin-bottom: 0; }

.fahrt-address-label {
    font-size: var(--font-xs);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
    width: 32px;
}

.fahrt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.fahrt-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.fahrt-meta-item svg { width: 16px; height: 16px; color: var(--text-muted); }

.fahrt-admin-note {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--info-bg);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    color: var(--accent-dark);
    border-left: 3px solid var(--accent-primary);
}

/* ── Fahrt Modal (wide) ── */
.fahrt-modal-wide {
    max-width: 920px;
}

/* ── Maps Grid ── */
.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.map-card {
    border: 1.5px solid var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-tertiary);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.map-card:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.map-card-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: var(--font-sm);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.map-card-label-start {
    background: var(--success-bg);
    color: var(--success);
    border-bottom: 1.5px solid rgba(5,150,105,0.15);
}

.map-card-label-end {
    background: var(--error-bg);
    color: var(--error);
    border-bottom: 1.5px solid rgba(220,38,38,0.15);
}

.map-container {
    position: relative;
    width: 100%;
    height: 260px;
    background: var(--bg-secondary);
}

.map-canvas {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: var(--font-sm);
    background: var(--bg-secondary);
}

.map-placeholder svg {
    opacity: 0.3;
}

.map-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.map-input-icon {
    position: absolute;
    left: 0.875rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.map-input {
    width: 100%;
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
    font-size: var(--font-sm);
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: none;
    border-top: 1.5px solid var(--bg-secondary);
    outline: none;
    transition: background var(--transition-fast);
}

.map-input:focus {
    background: var(--info-bg);
}

.map-input::placeholder {
    color: var(--text-muted);
}

/* Fix Google Autocomplete dropdown z-index inside modal */
.pac-container {
    z-index: 10000 !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--bg-secondary) !important;
    box-shadow: var(--shadow-lg) !important;
    margin-top: 2px !important;
    font-family: 'Inter', sans-serif !important;
}

.pac-item {
    padding: 0.5rem 0.75rem !important;
    font-size: var(--font-sm) !important;
    cursor: pointer !important;
    border-top: 1px solid var(--bg-secondary) !important;
}

.pac-item:first-child {
    border-top: none !important;
}

.pac-item:hover {
    background: var(--info-bg) !important;
}

.pac-item-query {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

/* ── Form Row ── */
.form-row {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

/* ── Price Display ── */
.price-display {
    background: linear-gradient(135deg, var(--info-bg), rgba(37,99,235,0.08));
    border: 1.5px solid rgba(37,99,235,0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
    margin-bottom: var(--space-lg);
    animation: fadeIn 0.3s ease;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
}

.price-main {
    text-align: center;
}

.price-detail {
    text-align: center;
    padding-left: var(--space-2xl);
    border-left: 1.5px solid rgba(37,99,235,0.15);
}

.price-value {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1.2;
}

.price-detail-value {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.price-label {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.price-hint {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-top: var(--space-sm);
    font-style: italic;
    text-align: center;
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-lg);
    opacity: 0.5;
}

.empty-state p {
    font-size: var(--font-sm);
}

/* ── Search ── */
.search-bar {
    position: relative;
    margin-bottom: var(--space-xl);
}

.search-bar input {
    width: 100%;
    padding: 0.625rem 0.875rem 0.625rem 2.5rem;
    font-size: var(--font-sm);
    border: 1.5px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    outline: none;
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.search-bar input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-bar svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

/* ── Filter Row ── */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    align-items: center;
}

.filter-row .form-select {
    width: auto;
    min-width: 160px;
}

/* ── Loading ── */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--bg-secondary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ── Cookie Consent ── */
.cookie-banner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-lg);
}

.cookie-banner-overlay.active { display: flex; }

.cookie-banner {
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-2xl);
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: cookieSlideIn 0.4s ease-out;
}

@keyframes cookieSlideIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-title {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.cookie-text {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.cookie-toggle-label {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.cookie-actions {
    display: flex;
    gap: var(--space-md);
}

.cookie-fab {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 2999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.cookie-fab:hover { transform: scale(1.1); }
.cookie-fab.visible { display: flex; }

/* ── Animations ── */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hamburger { display: block; }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-lg);
        border-bottom: 1px solid var(--glass-border);
        display: none;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }

    .nav-user-info { display: none; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .page-header { flex-direction: column; align-items: flex-start; }

    .filter-row { flex-direction: column; align-items: stretch; }
    .filter-row .form-select { width: 100%; }

    .fahrt-route { flex-direction: column; align-items: flex-start; }

    .table th, .table td {
        padding: 0.5rem 0.625rem;
        font-size: var(--font-xs);
    }

    .modal { max-width: 100%; }

    .maps-grid { grid-template-columns: 1fr; }

    .map-container { height: 200px; }

    .form-row { flex-direction: column; gap: 0; }

    .price-row { flex-direction: column; gap: var(--space-md); }
    .price-detail { border-left: none; padding-left: 0; padding-top: var(--space-md); border-top: 1.5px solid rgba(37,99,235,0.15); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .login-card { padding: var(--space-xl); }
    .cookie-actions { flex-direction: column; }
}

/* ── Utility ── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ═══════ Beförderungsart-Auswahl ═══════ */
.bef-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}
.bef-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-md);
    border: 2px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-sm);
    color: var(--text-secondary);
}
.bef-option:hover { border-color: var(--accent-light); }
.bef-option.active {
    border-color: var(--accent-primary);
    background: var(--info-bg);
    color: var(--accent-primary);
    font-weight: 600;
}
.bef-option svg { width: 28px; height: 28px; }
.bef-hint { font-size: var(--font-xs); color: var(--text-muted); font-weight: 400; }
.bef-tag { display: inline-flex; align-items: center; gap: 4px; }
.bef-icon { display: inline-flex; }
.bef-icon svg { width: 16px; height: 16px; }

/* Einwilligungs-Checkbox */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--font-sm);
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.45;
}
.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

/* ═══════ Chat ═══════ */
.chat-panel {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 60vh;
    min-height: 360px;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.chat-msg { max-width: 75%; display: flex; flex-direction: column; }
.chat-msg-mine { align-self: flex-end; align-items: flex-end; }
.chat-msg-other { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    line-height: 1.5;
    word-break: break-word;
}
.chat-msg-mine .chat-bubble { background: var(--accent-primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-other .chat-bubble { background: var(--bg-secondary); color: var(--text-primary); border-bottom-left-radius: 4px; }
.chat-time { font-size: var(--font-xs); color: var(--text-muted); margin-top: 2px; }
.chat-input-row {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-top: 1px solid var(--bg-secondary);
}
.chat-input-row .form-input { flex: 1; margin: 0; }
.chat-badge, .admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    border-radius: var(--radius-full);
    background: var(--error);
    color: #fff;
    font-size: var(--font-xs);
    font-weight: 600;
}

/* ── Feedback Runde 3: Autocomplete, Storno, Filter, Fahrt-Chat ── */

/* Storno-Badge */
.badge-storniert {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    text-decoration: line-through;
}

/* Adress-Autocomplete */
.autocomplete-wrapper {
    position: relative;
}
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    margin-top: 4px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 240px;
    overflow-y: auto;
}
.autocomplete-item {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-sm);
    color: var(--text-primary);
    cursor: pointer;
    border-bottom: 1px solid var(--bg-secondary);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--bg-secondary); }

/* Fahrtkarten-Aktionen */
.fahrt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--bg-secondary);
}
.btn-danger-ghost { color: var(--error); border: 1.5px solid var(--error); }
.btn-danger-ghost:hover:not(:disabled) { background: var(--error-bg); color: var(--error); }

/* Datumsfilter */
.date-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: var(--font-sm);
    color: var(--text-secondary);
}
.date-filter-label { font-weight: 600; color: var(--text-muted); }
.date-filter-sep { color: var(--text-muted); }
.date-filter .form-input { width: auto; margin: 0; }

/* Fahrt-Bezug im Chat */
.chat-fahrt-ref {
    font-size: var(--font-xs);
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 2px;
}
.chat-msg-other .chat-fahrt-ref { color: var(--accent-primary); }

.chat-context-chip {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: var(--info-bg);
    color: var(--accent-dark);
    border-radius: var(--radius-md);
    font-size: var(--font-xs);
    font-weight: 600;
}
.chat-context-chip button {
    background: none;
    border: none;
    color: var(--accent-dark);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 2px;
}

/* ── Feedback Runde 4: robuste Karten-Abstände (kein „Zusammenkleben") ── */
#aktiveFahrtenList, #vergangeneFahrtenList, #recentFahrtenList {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}
#aktiveFahrtenList .fahrt-card,
#vergangeneFahrtenList .fahrt-card,
#recentFahrtenList .fahrt-card {
    margin-bottom: 0;
}

/* ── Fahrt-Modal: doppelt so breit + 2-spaltig, damit alles ohne Scrollen passt ── */
.modal-fahrt {
    max-width: 1040px;
}
.modal-fahrt #fahrtForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--space-xl);
}
.modal-fahrt #fahrtForm .form-group {
    margin-bottom: var(--space-md);
}
.modal-fahrt #fahrtForm .span-2 {
    grid-column: 1 / -1;
}
/* Kompaktere vertikale Abstände, damit ohne Scrollen alles reinpasst */
.modal-fahrt .modal-header,
.modal-fahrt .modal-body,
.modal-fahrt .modal-footer {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}
/* Auf schmalen Bildschirmen wieder einspaltig */
@media (max-width: 700px) {
    .modal-fahrt #fahrtForm { grid-template-columns: 1fr; }
}
/* Bei niedrigen Fenstern mehr Nutzfläche für das Formular */
@media (max-height: 760px) {
    .modal-overlay { padding: var(--space-md); }
    .modal-fahrt .modal-header,
    .modal-fahrt .modal-footer {
        padding-top: var(--space-sm);
        padding-bottom: var(--space-sm);
    }
}
