* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f0f2f5;
    color: #1a1a1a;
}

header {
    background: #c62828;
    color: white;
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
}

header h1 {
    font-size: 1.2rem;
    font-weight: 600;
}

#back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

main {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Fahrzeugliste */
.fahrzeug-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.1s;
}

.fahrzeug-card:active {
    transform: scale(0.98);
}

.fahrzeug-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.fahrzeug-info {
    color: #666;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Fächer und Geräte */
.fach-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.fach-header {
    background: #e53935;
    color: white;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.geraet-row {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.geraet-row:last-child {
    border-bottom: none;
}

.geraet-name {
    font-size: 0.95rem;
}

.geraet-anzahl {
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #555;
}

.geraet-bemerkung {
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

.leer-hinweis {
    padding: 12px 16px;
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}
