* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Layout-Grundlage für Footer unten */
body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header-Bereich */
.site-header {
    width: 100%;
    background-color: #fdec09;
}

/* Header-Bild skaliert mit Fensterbreite */
.header-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
nav {
    background-color: #fdec09;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
}

nav li {
    position: relative; /* wichtig für Dropdown */
}

.nav-link {
    text-decoration: none;
    color: yellow;
    background-color: black;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

/* Button-ähnliches Verhalten auch für die "Sportarten"-Anzeige */
.nav-sport-current {
    display: inline-block;
}

/* Hover-Effekt */
.nav-link:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* Dropdown-Menü */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    padding: 10px 0;
    border-radius: 16px;
    min-width: 190px;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    text-decoration: none;
    color: yellow;
    padding: 8px 16px;
    font-size: 1rem;
}

.dropdown-menu a:hover {
    background-color: #333;
}

/* Klasse 'open' zeigt das Menü an */
.dropdown.open .dropdown-menu {
    display: flex;
}

/* Banner „Seite in Bearbeitung“ */
.info-banner {
    width: 100%;
    background-color: #ffcc00;
    text-align: center;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: bold;
}

/* Hauptinhalt */
main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px 40px;
    flex: 1; /* sorgt dafür, dass Footer unten bleibt */
}

main h1 {
    margin-bottom: 15px;
}

main p {
    line-height: 1.5;
}

/* Inhaltliche Boxen */
.content-box {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.content-box h2 {
    margin-bottom: 10px;
    color: #222;
}

/* Externer Link Button */
.external-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background-color: #fdec09;
    color: black;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.external-btn:hover {
    background-color: #ffe733;
    transform: scale(1.05);
}

/* Ansprechpartner-Box */
.contact-box {
    background: #fafafa;
    padding: 15px;
    border-radius: 10px;
    border-left: 5px solid #fdec09;
}

/* Footer – finale Zentrierung */
.site-footer {
    background-color: black;
    color: #fdec09;
    padding: 20px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;     /* horizontal zentriert */
    justify-content: center; /* vertikal zentriert */
    text-align: center;
}

/* Footer-Navigation */
.site-footer nav {
    background-color: transparent; /* überschreibt globales nav */
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

/* Links */
.footer-nav a {
    color: #fdec09;
    text-decoration: none;
    font-weight: bold;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-separator {
    color: #fdec09;
}

/* Copyright */
.footer-copy {
    font-size: 0.85rem;
    color: #fdec09;
    margin: 0;
}
