body {
    background: #f8f9fa;
    color: #212529;
}

/* Navigation wie vorher: dunkel, schlicht, gut lesbar */
.pilatus-nav,
.navbar,
.navbar-dark {
    background: #212529 !important;
}

.pilatus-nav .navbar-brand,
.pilatus-nav .nav-link,
.pilatus-nav .navbar-text,
.pilatus-nav a,
.navbar-dark .navbar-brand,
.navbar-dark .nav-link,
.navbar-dark .navbar-text {
    color: #ffffff !important;
}

.pilatus-nav .nav-link:hover,
.pilatus-nav a:hover,
.navbar-dark .nav-link:hover {
    color: #dddddd !important;
}

/* Kleines Logo/Zeichen links */
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #ffffff;
    color: #212529;
    margin-right: 6px;
    font-weight: 700;
}

/* Rollen-Anzeige */
.role-pill {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: #ffffff;
    margin-left: 0.35rem;
}

/* Standard-Karten wie vorher */
.card {
    border-radius: 0.5rem;
    box-shadow: none;
}

/* Seitentitel */
.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* Status */
.status-ok {
    color: #198754;
    font-weight: 700;
}

.status-bad {
    color: #dc3545;
    font-weight: 700;
}

/* Pflichtfelder */
.required:after {
    content: '*';
    color: #dc3545;
}

/* Tabellen */
.table thead th {
    font-size: 0.9rem;
}

/* Foto-Vorschau */
.photo-thumb {
    max-width: 90px;
    max-height: 70px;
    border-radius: 6px;
    border: 1px solid #dddddd;
    object-fit: cover;
}

/* Druck/PDF Buttons */
.print-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Druckansicht */
@media print {
    .no-print,
    .navbar,
    .page-title {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .card {
        box-shadow: none;
        border: 0;
    }
}