/* ----------------------------------------------------------------
 * Ausbildung — geteilte Ebene 2 (alle Seiten dieses Projekts)
 * Wird NACH assets/style.css (Briefing-Kopie, Ebene 1) eingebunden
 * und liefert alles, was Briefing nicht braucht: Mehrseiten-Layout,
 * Kopf-/Navigationsleiste, generische Formularfelder.
 * Seiten-Spezifisches (Kalender, Leaflet-Karte) liegt in Ebene 3
 * (schichtkalender.css, karte.css) — NIEMALS hier hinein.
 * style.css bleibt unangetastete Briefing-Kopie.
 * ---------------------------------------------------------------- */

/* Mehrseiten-Grundlayout: style.css zentriert den Body als
   Single-Page-Dashboard (height:100vh, flex) — hier zuruecksetzen. */
body {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: visible;
    color: #2d3748;
}

/* Login-Seite behaelt die zentrierte Karte aus style.css.
   flex-direction: column, damit die Fusszeile UNTER der Karte landet --
   ohne sie wird sie zum zweiten Flex-Element und steht rechts daneben. */
body:has(.login-card) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ── Seiten-Container ────────────────────────────────────────── */
/* Eine feste Breite fuer alle Seiten -- Kopfzeile soll ueberall
   identisch aussehen. Keine Varianten mehr (waren Ursache dafuer,
   dass die Nav-Leiste je nach Seite unterschiedlich gestreckt wirkte). */
.seite { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }

/* ── Kopfzeile / Navigation (alle Seiten identisch) ──────────── */
.kopfzeile {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.kopf-links { display: flex; align-items: center; gap: 10px; }
.kopf-titel { font-size: 1.1rem; font-weight: 700; color: #4a5568; }
.kopf-titel span { color: #4a7fcb; }
.nav-links { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.nav-link {
    padding: 0.4rem 0.85rem; border-radius: 8px; text-decoration: none;
    font-size: 0.8rem; font-weight: 600; color: #718096; background: #e8edf2;
    box-shadow: 3px 3px 6px #c8cdd2, -3px -3px 6px #ffffff;
}
.nav-link:hover { color: #4a7fcb; }
.nav-link.aktiv {
    color: #4a7fcb;
    box-shadow: inset 2px 2px 4px #c8cdd2, inset -2px -2px 4px #ffffff;
}

/* ── Kleine Variante des Briefing-.glass-btn ─────────────────── */
.glass-btn.klein { width: auto; padding: 0.45rem 0.9rem; font-size: 0.78rem; }

/* ── Inhalts-Baustein: nutzt die Briefing-.baustein-Polsterung (0.6rem
   Rand) direkt, echte Innenpolsterung kommt von der genesteten
   .glas-platte -- exakt dasselbe Muster wie in Briefings index.php. ── */
.baustein--inhalt { margin-bottom: 1.5rem; }

/* ── Generische Formularfelder (Neumorphism-Inset) ───────────── */
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .zwei-spalten { grid-template-columns: 1fr; } }
.feld-gruppe { margin-bottom: 1rem; }
.feld-gruppe label {
    display: block; font-size: 0.78rem; font-weight: 600;
    color: #718096; margin-bottom: 0.4rem; letter-spacing: 0.03em;
}
.feld-gruppe input, .feld-gruppe textarea, .feld-gruppe select {
    width: 100%; padding: 0.75rem 1rem;
    border: none; border-radius: 10px;
    background: #e8edf2;
    box-shadow: inset 4px 4px 8px #c8cdd2, inset -4px -4px 8px #ffffff;
    font-size: 0.9rem; color: #2d3748; outline: none;
    font-family: inherit; transition: box-shadow 0.2s;
}
.feld-gruppe input:focus, .feld-gruppe textarea:focus {
    box-shadow: inset 5px 5px 10px #c0c5ca, inset -4px -4px 8px #ffffff,
                0 0 0 3px rgba(99, 152, 219, 0.2);
}
.feld-hinweis { margin-top: 0.3rem; font-size: 0.75rem; color: #a0aec0; }

/* ── Fusszeile (Impressum-Link, nur wenn eingeschaltet) ─────── */
.fusszeile {
    text-align: center;
    padding: 1.5rem 0 0.75rem;
    font-size: 0.78rem;
}
.fusszeile a {
    color: #718096;
    text-decoration: none;
    letter-spacing: 0.04em;
}
.fusszeile a:hover { color: #4a7fcb; text-decoration: underline; }
