/* Grundlayout */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f7f7f7;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Kopfbereich mit Banner */

.header {
    position: relative;
    text-align: center;
    color: white;
}

.header-banner {
    width: 100%;
    height: 260px;
    background-image: url("bilder/banner.jpg"); /* HIER dein Bannerbild */
    background-size: cover;
    background-position: center;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}

.header-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.header-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-subtitle {
    margin-top: 0.4rem;
    font-size: 1rem;
}

/* Navigation */

.navbar {
    background: #173852;
    color: white;
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.25rem 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    border-color: #f4d35e;
}

/* Burger-Menü (mobil) */

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    color: white;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
}

/* Inhalt */

.main {
    max-width: 960px;
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card h1 {
    margin-top: 0;
    font-size: 1.6rem;
}

.card h2 {
    margin-top: 1.4rem;
    font-size: 1.2rem;
}

/* Aufklappbare Textbereiche (optional, für längere Abschnitte) */

.details {
    margin-top: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.details summary {
    padding: 0.75rem 1rem;
    background: #f0f4f8;
    cursor: pointer;
    font-weight: 600;
}

.details summary::-webkit-details-marker {
    display: none;
}

.details summary::after {
    content: "▾";
    float: right;
    opacity: 0.7;
}

.details[open] summary::after {
    content: "▴";
}

.details-content {
    padding: 0.75rem 1rem 1rem;
    background: white;
}

/* Footer */

.footer {
    background: #173852;
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 700px) {
    .nav-links {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: #173852;
        flex-direction: column;
        padding: 0.5rem 1rem 0.75rem;
        display: none;
    }

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

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .nav-inner {
        position: relative;
    }
}

