/* =========================================
   CSS Variablen & Setup
   ========================================= */
:root {
    --color-primary: #1A3626; /* Deep Vanikum Green */
    --color-primary-light: #2A5A3F;
    --color-primary-dark: #0D1B13;
    
    --color-gold: #D4AF37; /* Elegant metallic Gold */
    --color-gold-light: #F9E596;
    --color-gold-dark: #A67C00;
    
    --color-bg-dark: #121212;
    --color-bg-card: #1E1E1E;
    --color-text-main: #E0E0E0;
    --color-text-muted: #A0A0A0;
    --color-white: #FFFFFF;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-pop: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor für Desktop */
@media (pointer: fine) {
    body, a, button, .activity-card {
        cursor: none;
    }
}

.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover Effekt für Cursor */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
}

/* Typografie */
h1, h2, h3, h4, .logo, .subtitle {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

h4 {
    font-size: 1rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.highlight-gold {
    color: var(--color-gold);
}

p {
    margin-bottom: 1.5rem;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.divider {
    height: 3px;
    width: 60px;
    background: var(--color-gold);
    margin-bottom: 2rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-weight: 600;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    border: 2px solid var(--color-gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 150%;
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

/* =========================================
   Navigation (Glassmorphism)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.nav-crest {
    height: 40px;
    margin-right: 15px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--color-text-main);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--color-gold);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--color-bg-dark);
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide.fade-out {
    opacity: 0;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 7s ease-out;
}

.hero-slide.active img {
    transform: scale(1.12);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.4) 0%, rgba(18, 18, 18, 0.95) 100%);
    z-index: 1;
}

/* =========================================
   Festschrift / Heft Section
   ========================================= */
.festschrift-section {
    background: var(--color-bg-dark);
}

.heft-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 350px;
}

.heft-wrapper:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.heft-image {
    display: block;
    width: 100%;
    height: auto;
}

.heft-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 38, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    gap: 10px;
}

.heft-overlay i {
    font-size: 3rem;
}

.heft-wrapper:hover .heft-overlay {
    opacity: 1;
}

/* Heft Popup Modal */
.heft-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.heft-modal.open {
    display: flex;
}

.heft-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s ease;
}

.heft-modal-content {
    position: relative;
    width: 90vw;
    height: 85vh;
    max-width: 1100px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(212, 175, 55, 0.2);
    animation: modalPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.heft-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.heft-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    font-size: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-smooth);
    line-height: 1;
}

.heft-modal-close:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .heft-modal-content {
        width: 95vw;
        height: 75vh;
    }
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Über Overlay, unter Content */
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--color-white); /* White base instead of gold for emphasis contrast */
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.hero-content .title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: transparent;
    background: linear-gradient(90deg, #FFFFFF, var(--color-gold), #FFFFFF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards, shineSweep 4s linear 1.2s infinite;
}

@keyframes shineSweep {
    to { background-position: 200% center; }
}

.hero-content .description {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* =========================================
   Über Uns Section
   ========================================= */
.about-section {
    position: relative;
    background: var(--color-bg-dark);
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box h3 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-box p {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

/* Portrait Glass Effect */
.portrait-wrapper {
    position: relative;
    border-radius: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    display: inline-block;
    will-change: transform;
}

.portrait-wrapper img {
    width: 100%;
    border-radius: 6px;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    padding: 15px 25px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   Event Section
   ========================================= */
.event-section {
    background: #181818;
}

.event-flyer {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 2px solid var(--color-gold);
    will-change: transform;
}

.event-details {
    margin-bottom: 2rem;
}

.event-details li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.event-details i {
    width: 25px;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 1.5rem;
}

.offering-card {
    background: var(--color-bg-card);
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--color-gold);
}

.offering-card i {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.offering-card h5 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.offering-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.mt-4 { margin-top: 1.5rem; }
.list-unstyled { list-style: none; padding-left: 0; }
.text-primary { color: var(--color-gold); }

/* =========================================
   Banner Section
   ========================================= */
.banner-section {
    position: relative;
    padding: 80px 20px;
    background: url('assets/wappen_gezeichnet.jpg') fixed center center/cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 38, 0.85); /* Primary green overlay */
    z-index: 1;
}

.banner-section .container {
    position: relative;
    z-index: 2;
}

.banner-text {
    color: var(--color-white);
    margin-bottom: 20px;
}

/* =========================================
   Galerie Preview Card
   ========================================= */
.gallery-section {
    background: var(--color-bg-dark);
}

/* Gallery Category Block */
.gallery-category {
    margin-top: 50px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-header h3 i {
    margin-right: 10px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 220px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.carousel-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
    border-color: var(--color-gold);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.85);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.carousel-prev { left: -15px; }
.carousel-next { right: -15px; }

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 180px;
        height: 130px;
    }
    .carousel-prev { left: 5px; }
    .carousel-next { right: 5px; }
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

.activity-card {
    background: var(--color-bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    cursor: pointer;
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.05);
    will-change: transform;
}

.activity-card:hover {
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.activity-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.activity-card:hover .card-overlay i {
    transform: scale(1);
}

.card-overlay span {
    color: var(--color-white);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.card-content {
    padding: 30px;
    text-align: center;
    background: var(--color-bg-card);
}

.card-content h3 {
    color: var(--color-gold);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card-content p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}


/* =========================================
   Modal Gallery
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--color-text-muted);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.close-modal:hover {
    color: var(--color-gold);
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px;
}

.slider-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-image {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.7);
    color: var(--color-gold);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.slider-btn.prev { left: -60px; }
.slider-btn.next { right: -60px; }

.image-caption {
    margin-top: 20px;
    color: var(--color-white);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.2rem;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: #0A0A0A;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    margin-bottom: 60px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
}

.footer h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer ul li i {
    color: var(--color-gold);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-bg-card);
    padding: 10px 25px;
    border-radius: 4px;
    margin-top: 15px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.05);
    font-family: var(--font-heading);
    color: var(--color-white);
}

.social-btn:hover {
    background: #1877F2; /* Facebook Blue */
    border-color: #1877F2;
}

.footer-bottom {
    background: #050505;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-gold);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* =========================================
   Animations WOW Effects
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.scroll-fade-in {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .hero-content .title { font-size: 4rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content .title { font-size: 3rem; }
    .hero-content .subtitle { font-size: 1.2rem; }
    
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
}

/* =========================================
   Game Section
   ========================================= */
.game-section {
    background: linear-gradient(180deg, var(--color-bg-dark), var(--color-primary-dark));
}

/* =========================================
   Willi D40 – Cremer Edition
   ========================================= */
.d40-section {
    background:
        radial-gradient(circle at 15% 40%, rgba(77, 112, 34, .18), transparent 30%),
        linear-gradient(180deg, #090b08 0%, #11170d 52%, #090b08 100%);
    overflow: hidden;
}

.d40-banner {
    width: 100%;
    background: #050604;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .55);
}

.d40-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.d40-intro {
    max-width: 900px;
    margin: 0 auto 55px;
    color: #d8ddcf;
    font-size: 1.08rem;
    line-height: 1.9;
    text-align: center;
}

.d40-milestones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 55px;
    border: 1px solid rgba(173, 198, 113, .18);
    background: rgba(173, 198, 113, .18);
}

.d40-milestones div {
    min-height: 155px;
    padding: 25px 22px;
    background: rgba(13, 18, 10, .94);
}

.d40-milestones span {
    display: block;
    margin-bottom: 12px;
    color: #769b3c;
    font: 600 1.65rem var(--font-heading);
}

.d40-milestones strong,
.d40-milestones small { display: block; }
.d40-milestones strong { color: #fff; font-family: var(--font-heading); font-size: 1.15rem; }
.d40-milestones small { margin-top: 8px; color: var(--color-text-muted); line-height: 1.45; }

.d40-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 245px;
    grid-auto-flow: dense;
    gap: 12px;
}

.d40-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    background: #080a07;
    cursor: zoom-in;
}

.d40-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease, filter .65s ease;
}

.d40-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45));
    opacity: .65;
    transition: opacity .35s ease;
}

.d40-photo:hover img { transform: scale(1.055); filter: saturate(1.08) contrast(1.03); }
.d40-photo:hover::after { opacity: .15; }
.d40-wide { grid-column: span 2; }
.d40-tall { grid-row: span 2; }
.d40-final { grid-column: span 2; grid-row: span 2; }

.d40-final span {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 19px;
    color: #fff;
    font: 700 clamp(1.2rem, 2.4vw, 2rem) var(--font-heading);
    letter-spacing: .06em;
    text-shadow: 0 3px 14px #000;
}

.d40-lightbox {
    width: min(1180px, calc(100% - 32px));
    max-height: 92vh;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(212, 175, 55, .45);
    border-radius: 5px;
    background: #090a08;
    color: #fff;
}

.d40-lightbox::backdrop { background: rgba(0, 0, 0, .92); backdrop-filter: blur(7px); }
.d40-lightbox img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #050505; }
.d40-lightbox p { margin: 0; padding: 15px 20px; color: #d6d6d6; text-align: center; }
.d40-lightbox-close {
    position: absolute;
    z-index: 3;
    top: -17px;
    right: -14px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .d40-milestones { grid-template-columns: repeat(2, 1fr); }
    .d40-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}

@media (max-width: 600px) {
    .d40-content { padding-top: 65px; padding-bottom: 65px; }
    .d40-intro { text-align: left; line-height: 1.7; }
    .d40-milestones { grid-template-columns: 1fr; }
    .d40-milestones div { min-height: auto; }
    .d40-gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .d40-wide, .d40-tall, .d40-final { grid-column: span 1; grid-row: span 1; }
    .d40-final { min-height: 320px; }
}

/* Thorr 2026 */
.thorr-section { background: linear-gradient(180deg, #f7f3e8 0%, #e8e0cc 100%); color: #17251d; }
.thorr-banner { background: #063b28; box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.thorr-banner img { display: block; width: 100%; height: auto; }
.thorr-content { padding-top: 80px; padding-bottom: 100px; }
.thorr-intro { max-width: 920px; margin: 0 auto 55px; text-align: center; }
.thorr-kicker { display: block; margin-bottom: 14px; color: #9a7018; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.thorr-intro h2 { color: #123c2a; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.thorr-intro h2 span { color: #9a7018; }
.thorr-intro p { max-width: 790px; margin: 16px auto; font-size: 1.08rem; line-height: 1.8; }
.thorr-intro strong { display: block; margin-top: 24px; color: #123c2a; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.thorr-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; grid-auto-rows: 235px; gap: 12px; }
.thorr-photo { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 8px; background: #123c2a; cursor: zoom-in; box-shadow: 0 7px 18px rgba(29,36,26,.16); }
.thorr-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.thorr-photo:hover img { transform: scale(1.055); filter: brightness(.86); }
.thorr-wide { grid-column: span 2; }
.thorr-tall { grid-row: span 2; }
.thorr-finale { grid-column: span 2; }
.thorr-photo span { position: absolute; inset: auto 0 0; padding: 20px; color: #fff; font-weight: 800; letter-spacing: .08em; background: linear-gradient(transparent, rgba(4,31,21,.92)); }
.thorr-lightbox { width: min(94vw, 1180px); padding: 0; overflow: visible; border: 2px solid #b18a35; border-radius: 10px; background: #0c1f17; color: #fff; }
.thorr-lightbox::backdrop { background: rgba(4,10,7,.9); backdrop-filter: blur(4px); }
.thorr-lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px 8px 0 0; }
.thorr-lightbox p { margin: 0; padding: 14px 20px 18px; text-align: center; color: #e8d49b; }
.thorr-lightbox-close { position: absolute; z-index: 3; top: -17px; right: -14px; width: 42px; height: 42px; border: 1px solid #b18a35; border-radius: 50%; background: #102219; color: #fff; font-size: 1.75rem; cursor: pointer; }
@media (max-width: 900px) { .thorr-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
@media (max-width: 600px) {
    .thorr-content { padding-top: 60px; padding-bottom: 65px; }
    .thorr-intro { text-align: left; }
    .thorr-kicker, .thorr-intro h2, .thorr-intro strong { text-align: center; }
    .thorr-gallery { grid-template-columns: 1fr; grid-auto-rows: 270px; }
    .thorr-wide, .thorr-tall, .thorr-finale { grid-column: span 1; grid-row: span 1; }
}

/* =========================================
   Schützenfest bei unseren Freunden in Zons
   ========================================= */
.zons-section {
    background:
        radial-gradient(circle at 80% 35%, rgba(178, 135, 45, .12), transparent 34%),
        linear-gradient(180deg, #07120e 0%, #0d2118 48%, #07120e 100%);
    overflow: hidden;
}

.zons-banner {
    width: 100%;
    background: #03100b;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .6);
}

.zons-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.zons-thanks {
    position: relative;
    max-width: 940px;
    margin: 0 auto 58px;
    padding: 38px 42px;
    border: 1px solid rgba(212, 175, 55, .36);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(8, 44, 29, .9), rgba(5, 21, 15, .96));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
    text-align: center;
}

.zons-thanks::before,
.zons-thanks::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 90px;
    height: 1px;
    background: var(--color-gold);
    transform: translateX(-50%);
}
.zons-thanks::before { top: 22px; }
.zons-thanks::after { bottom: 22px; }

.zons-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--color-gold);
    font: 600 .85rem var(--font-heading);
    letter-spacing: .15em;
    text-transform: uppercase;
}

.zons-thanks p {
    margin: 0 auto 16px;
    color: #e3e8e4;
    font-size: 1.08rem;
    line-height: 1.85;
}
.zons-thanks strong { color: #fff; font-family: var(--font-heading); letter-spacing: .06em; }

.zons-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 245px;
    grid-auto-flow: dense;
    gap: 12px;
}

.zons-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, .2);
    border-radius: 5px;
    background: #06110c;
    cursor: zoom-in;
}
.zons-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease, filter .65s ease;
}
.zons-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(2, 16, 10, .55));
    transition: opacity .35s ease;
}
.zons-photo:hover img { transform: scale(1.055); filter: saturate(1.08) contrast(1.03); }
.zons-photo:hover::after { opacity: .2; }
.zons-wide { grid-column: span 2; }
.zons-tall { grid-row: span 2; }
.zons-finale { grid-column: span 2; }
.zons-finale span {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 18px;
    color: #fff;
    font: 700 clamp(1.2rem, 2.3vw, 2rem) var(--font-heading);
    letter-spacing: .07em;
    text-shadow: 0 3px 14px #000;
}

.zons-lightbox {
    width: min(1180px, calc(100% - 32px));
    max-height: 92vh;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(212, 175, 55, .55);
    border-radius: 5px;
    background: #07100c;
    color: #fff;
}
.zons-lightbox::backdrop { background: rgba(0, 0, 0, .92); backdrop-filter: blur(7px); }
.zons-lightbox img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #030806; }
.zons-lightbox p { margin: 0; padding: 15px 20px; color: #e2e2e2; text-align: center; }
.zons-lightbox-close {
    position: absolute;
    z-index: 3;
    top: -17px;
    right: -14px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    background: #102219;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .zons-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}

@media (max-width: 600px) {
    .zons-content { padding-top: 65px; padding-bottom: 65px; }
    .zons-thanks { padding: 38px 23px; text-align: left; }
    .zons-thanks strong, .zons-kicker { text-align: center; }
    .zons-gallery { grid-template-columns: 1fr; grid-auto-rows: 270px; }
    .zons-wide, .zons-tall, .zons-finale { grid-column: span 1; grid-row: span 1; }
}
