/* Schriften */
        @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Roboto:wght@300;400;700&display=swap');

        :root {
            --bg-color: #111111;
            --text-color: #e0e0e0;
            --gold-accent: #c5a059;
            --gold-hover: #e8c87f;
            --dark-panel: #1a1a1a;
            --nav-bg: rgba(10, 10, 10, 0.95);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: 'Roboto', sans-serif;
            background-image: radial-gradient(circle at center, #222 0%, #000 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            /* Platzhalter vergrößert für die neue, größere Navigation */
            padding-top: 110px; 
        }

        h1, h2, h3 {
            font-family: 'Cinzel', serif;
            color: var(--gold-accent);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* --- NAVIGATION --- */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 110px; /* Header vergrößert */
            background-color: var(--nav-bg);
            border-bottom: 2px solid var(--gold-accent);
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            backdrop-filter: blur(5px);
        }

        .nav-logo {
            display: flex;
            align-items: center;
            height: 100%;
        }

        .nav-logo img {
            height: 80px; /* Logo deutlich größer */
            width: auto;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu li a {
            color: var(--text-color);
            text-decoration: none;
            /* Schriftart für bessere Lesbarkeit auf Roboto geändert */
            font-family: 'Roboto', sans-serif; 
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s ease;
        }

        .nav-menu li a:hover,
        .nav-menu li a.active {
            color: var(--gold-accent);
        }

        /* Hamburger Menu für Mobile */
        .hamburger {
            display: none;
            cursor: pointer;
            flex-direction: column;
            gap: 6px;
        }

        .hamburger span {
            display: block;
            width: 30px;
            height: 3px;
            background-color: var(--gold-accent);
            transition: 0.3s;
        }

        /* --- HERO SECTION --- */
        .hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 4rem 2rem;
            text-align: center;
            border-bottom: 1px solid #333;
        }

        .hero img:not(.team-hero-logo) {
            max-width: 800px;
            width: 100%;
            height: auto;
            margin-bottom: 2rem;
            filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.1));
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .hero h2 {
            font-size: 1.2rem;
            color: var(--text-color);
            margin-bottom: 2rem;
            letter-spacing: 4px;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 600px;
            margin-bottom: 1rem; /* Verkleinert für das neue Bild */
            line-height: 1.6;
        }

        /* NEUE KLASSE FÜR DAS NEUE BILD */
        .wh40k-image {
            max-width: 600px;
            width: 100%;
            height: auto;
            margin-bottom: 3rem; /* Abstand zum CTA-Button */
            box-shadow: 0 10px 40px rgba(197, 160, 89, 0.4); /* Heller goldener Schatteneffekt */
            border-radius: 8px; /* Leicht abgerundete Ecken */
        }

        .cta-btn {
            background-color: transparent;
            color: var(--gold-accent);
            border: 2px solid var(--gold-accent);
            padding: 15px 30px;
            font-size: 1.2rem;
            font-family: 'Cinzel', serif;
            text-decoration: none;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-btn:hover {
            background-color: var(--gold-accent);
            color: var(--bg-color);
            box-shadow: 0 0 15px var(--gold-accent);
        }

        /* --- INFO SECTION (Startseite) --- */
        .info-section {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            flex: 1; /* Schiebt den Footer nach unten */
        }

        .info-card {
            background-color: var(--dark-panel);
            padding: 2.5rem;
            border: 1px solid #333;
            border-top: 4px solid var(--gold-accent);
            border-radius: 4px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        }

        .info-card h3 {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .info-card p {
            line-height: 1.7;
            font-size: 1.05rem;
            color: #cccccc;
        }

        /* --- FOOTER --- */
        footer {
            background-color: #050505;
            text-align: center;
            padding: 2rem;
            border-top: 1px solid #333;
            font-size: 0.9rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 4rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        footer a {
            color: var(--gold-accent);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        footer a:hover {
            color: var(--gold-hover);
        }

        /* --- MEDIA QUERIES (Mobile Anpassung) --- */
        @media (max-width: 1024px) {
            .hamburger {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                top: 110px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 110px);
                background-color: var(--nav-bg);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding: 1rem 0;
                overflow-y: auto;
                transition: left 0.3s ease;
                gap: 0;
            }

            .nav-menu li {
                width: 100%;
                text-align: center;
                border-bottom: 1px solid rgba(197,160,89,.1);
            }

            .nav-menu li:first-child {
                border-top: 1px solid rgba(197,160,89,.1);
            }

            .nav-menu li a {
                display: block;
                padding: .9rem 1.5rem;
                font-size: 1rem;
                letter-spacing: 1.5px;
            }

            .nav-menu.active {
                left: 0;
            }

            .hamburger.active span:nth-child(1) {
                transform: translateY(9px) rotate(45deg);
            }
            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }
            .hamburger.active span:nth-child(3) {
                transform: translateY(-9px) rotate(-45deg);
            }
        }

/* --- UNTERSEITEN (z.B. Liga, Regelwerk) --- */
.hero-small {
    padding: 3rem 2rem;
    border-bottom: 2px solid var(--gold-accent);
}

.content-section {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.content-block {
    margin-bottom: 4rem;
}

.content-block p {
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Hervorgehobener Block (z.B. für Edition 11) */
.content-block.highlight {
    background-color: var(--dark-panel);
    padding: 2rem;
    border-left: 4px solid var(--gold-accent);
}

.content-block.highlight h3 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

/* Listen im Content */
.content-list {
    list-style-type: square;
    color: var(--gold-accent);
    margin-left: 2rem;
    line-height: 1.8;
}

.content-list span {
    color: #cccccc;
}

/* Grid für Orga & Rollen */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.role-card {
    background-color: var(--dark-panel);
    padding: 1.5rem;
    border-top: 2px solid #555;
}

.role-card h4 {
    color: var(--gold-hover);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.role-card p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- TEAM ÜBERSICHTS-GRID --- */
.teams-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background-color: var(--dark-panel);
    border: 1px solid #333;
    border-top: 4px solid var(--gold-accent);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(197, 160, 89, 0.2);
}

.team-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #333;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.2rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid #222;
}

.team-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--gold-accent);
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.15);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.team-title {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.team-title h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold-accent);
    font-size: 1.15rem;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.team-title span {
    font-size: 0.82rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    overflow-wrap: break-word;
}

.team-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-desc {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.team-cta {
    display: block;
    text-align: center;
    padding: 12px;
    background-color: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.team-cta:hover {
    background-color: var(--gold-accent);
    color: var(--bg-color);
}

/* --- LIGA TABELLE --- */
.table-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.table-responsive {
    width: 100%;
    overflow-x: auto; /* Wichtig für Mobile: Tabelle wird scrollbar */
    background-color: var(--dark-panel);
    border: 1px solid #333;
    border-top: 4px solid var(--gold-accent);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.liga-table {
    width: 100%;
    min-width: 700px; /* Verhindert, dass die Tabelle auf Mobile zu stark gequetscht wird */
    border-collapse: collapse;
    text-align: center;
}

.liga-table thead {
    background-color: #0a0a0a;
    border-bottom: 2px solid var(--gold-accent);
}

.liga-table th {
    padding: 1.2rem 1rem;
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.liga-table th.text-left {
    text-align: left;
}

.liga-table td {
    padding: 1rem;
    color: #e0e0e0;
    border-bottom: 1px solid #222;
    font-size: 1.05rem;
    transition: background-color 0.2s ease;
}

/* Hover-Effekt für die gesamte Zeile */
.liga-table tbody tr:hover td {
    background-color: rgba(197, 160, 89, 0.15); /* Edles, dunkles Gold-Highlight */
    color: #fff;
}

/* Team-Spalte Layout */
.team-cell {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.table-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gold-accent);
    object-fit: contain;
    background-color: #000;
    padding: 3px;
}

.team-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.liga-table tbody tr:hover .team-link,
.team-link:hover {
    color: var(--gold-hover);
}

/* Platzierungskreis (1., 2., 3. Platz etc.) */
.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #222;
    font-weight: bold;
    color: #888;
}

/* Besondere Farben für die Top 3 */
.liga-table tr:nth-child(1) .rank { background-color: var(--gold-accent); color: #000; }
.liga-table tr:nth-child(2) .rank { background-color: silver; color: #000; } /* Silber-Look */
.liga-table tr:nth-child(3) .rank { background-color: #cd7f32; color: #000; } /* Bronze-Look */

/* Positives/Negatives Punkte-Highlight */
.pts-positive { color: #4caf50; font-weight: bold; }
.pts-negative { color: #f44336; }

/* --- TEAM DETAILSEITE --- */
.team-hero-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--gold-accent);
}

.team-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 0;
    position: relative;
}

/* Header-Bereich */
.team-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
    z-index: 10;
}

.team-detail-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--gold-accent);
    background-color: #000;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
    flex-shrink: 0;
}

.team-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.team-detail-title {
    padding-bottom: 15px;
}

.team-detail-title h1 {
    font-size: 3rem;
    margin-bottom: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.team-detail-title h2 {
    font-size: 1.2rem;
    color: #ccc;
    letter-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Hero-Logo auf Detailseite */
img.team-hero-logo,
.team-hero-logo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid var(--gold-accent);
    background: #000;
    padding: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 24px rgba(197, 160, 89, 0.2), 0 6px 18px rgba(0,0,0,0.8);
}

.team-hero-logo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    color: var(--gold-accent);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 4px;
    user-select: none;
}

/* Content Layout (Grid) */
.team-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.team-story h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold-hover);
}

.team-story h3:first-child {
    margin-top: 0;
}

.team-story p {
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Sidebar Info */
.team-sidebar {
    background-color: var(--dark-panel);
    padding: 2rem;
    border: 1px solid #333;
    border-top: 4px solid var(--gold-accent);
    border-radius: 4px;
    height: fit-content;
}

.team-sidebar h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold-accent);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.sidebar-info {
    margin-bottom: 2rem;
}

.sidebar-info p {
    color: #ccc;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.sidebar-info strong {
    color: #fff;
}

/* Social Links Buttons */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background-color: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--gold-accent);
    color: var(--bg-color);
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .team-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .team-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
    }

    .team-detail-logo {
        width: 120px;
        height: 120px;
    }

    .team-detail-title h1 {
        font-size: 2rem;
    }

    img.team-hero-logo,
    .team-hero-logo {
        width: 140px;
        height: 140px;
        font-size: 2.8rem;
        padding: 8px;
    }

    /* Team-Karte auf kleinen Screens */
    .team-header {
        gap: 1rem;
        padding: 1.1rem 1.25rem;
    }

    .team-logo {
        width: 64px;
        height: 64px;
    }

    .team-title h3 {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .team-title span {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
}


/* --- FAQ SEITE --- */
.faq-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--dark-panel);
    border: 1px solid #333;
    border-left: 4px solid var(--gold-accent);
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover,
.faq-item.active .faq-question {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--gold-accent);
}

/* Plus/Minus Icon für das Akkordeon */
.faq-icon {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Macht aus einem + ein x */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #151515;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.05rem;
    border-top: 1px solid #222;
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* --- REGELWERK: INHALTSVERZEICHNIS --- */
.toc-box {
    background-color: var(--dark-panel);
    border: 1px solid #333;
    border-left: 4px solid var(--gold-accent);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 4px;
}

.toc-box h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.toc-list li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-list li a::before {
    content: "▹";
    color: var(--gold-accent);
}

.toc-list li a:hover {
    color: var(--gold-hover);
}

/* Offset für Anchor-Links (wegen der fixierten Navigation) */
.rule-section {
    scroll-margin-top: 130px; 
}

/* --- GALERIE SEITE --- */
.gallery-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Filter Menü */
.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    padding: 10px 20px;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--gold-accent);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

/* Galerie Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* Sorgt für einheitliche Bildformate */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.hide {
    display: none; /* Wird vom JavaScript genutzt zum Ausblenden */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(197, 160, 89, 0.3);
    border-color: var(--gold-accent);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay Text (erscheint bei Hover) */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    transform: translateY(100%); /* Startet außerhalb des sichtbaren Bereichs */
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0); /* Fährt bei Hover nach oben */
}

.gallery-overlay h4 {
    color: var(--gold-accent);
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
}

.gallery-overlay p {
    color: #ccc;
    font-size: 0.85rem;
    margin: 0;
}

/* --- LIGHTBOX (Bild-Großansicht) --- */
.gallery-item {
    cursor: pointer; /* Zeigt dem User, dass man klicken kann */
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000; /* Muss über der Navigation liegen */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid var(--gold-accent);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--gold-accent);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--text-color);
    transform: scale(1.1);
}

/* --- FORMULARE (Kontakt & Anmeldung) --- */
.form-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
    flex: 1; /* Schiebt den Footer nach unten */
}

.contact-form {
    background-color: var(--dark-panel);
    padding: 3rem;
    border: 1px solid #333;
    border-top: 4px solid var(--gold-accent);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border-radius: 2px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

/* Date inputs – Kalender-Icon in Gold sichtbar machen */
.form-group input[type="date"],
input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.75) sepia(1) saturate(2) hue-rotate(5deg);
    cursor: pointer;
    opacity: 0.75;
    padding-left: 0.25rem;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    background-color: transparent;
    color: var(--gold-accent);
    border: 2px solid var(--gold-accent);
    padding: 15px;
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--gold-accent);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--gold-accent);
}

/* System-Nachrichten (Erfolg/Fehler nach dem Senden) */
.form-message {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
    display: none; /* Wird per JavaScript eingeblendet */
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    color: #4caf50;
    display: block;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
    display: block;
}