/* ==========================================================================
   1. RESET & BASIS VARIABLEN
   ========================================================================== */
:root {
    --black: #0a0a0a;
    --dark: #141414;
    --grey: #222;
    --light-grey: #444;
    --yellow: #fff200;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    scroll-behavior: smooth;
}

body { 
    background: var(--black); 
    color: var(--white); 
    font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero { 
    height: 100vh; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    padding: 0 8%; 
}

.hero-video { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto; 
    z-index: -1; 
    object-fit: cover;
}

.hero-overlay { 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3)); 
    z-index: 0; 
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-subtitle { 
    color: var(--yellow); 
    font-weight: 900; 
    letter-spacing: 4px; 
    font-size: 0.9rem; 
    text-transform: uppercase;
}

.hero h1 { 
    font-size: clamp(2.5rem, 8vw, 4.5rem); 
    font-weight: 900; 
    line-height: 1; 
    margin: 20px 0; 
    text-transform: uppercase;
}

.btn-primary { 
    display: inline-block; 
    background: var(--yellow); 
    color: #000; 
    padding: 20px 40px; 
    text-decoration: none; 
    font-weight: 900; 
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary:hover { 
    background: var(--white); 
    transform: translateY(-3px); 
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    background: var(--dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--grey);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #888;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.main-nav a:hover, 
.main-nav a.active {
    color: var(--yellow);
}

/* Mobile Menu Toggle Button (Drei Balken) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}
/* ==========================================================================
   4. SEKTIONEN & CONTENT
   ========================================================================== */
.container-small { max-width: 800px; margin: 0 auto; padding: 0 25px; }
.next-event-section { padding: 120px 0; border-bottom: 1px solid var(--grey); }

.section-subtitle { 
    color: var(--yellow); 
    font-weight: 900; 
    letter-spacing: 3px; 
    font-size: 0.8rem; 
    display: block;
    margin-bottom: 10px;
}

.section-title { 
    font-size: 3rem; 
    font-weight: 900; 
    margin-bottom: 40px; 
    text-transform: uppercase; 
}

.main-event-card { 
    background: var(--dark); 
    padding: 50px; 
    border: 1px solid var(--grey); 
}

.event-description { 
    border-left: 4px solid var(--yellow); 
    padding-left: 25px; 
    color: #bbb; 
    font-size: 1.1rem; 
    margin-bottom: 35px; 
}

.event-time-badge {
    background: #000;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 900;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.section-breaker {
    margin-top: 2em;
    margin-bottom: 2em;
    border: 1px solid #222;
    max-width: 50%;
    margin-left: 25%; 
}

/* Maps Link Button */
.maps-link-wrapper { margin: 15px 0 25px 0; }
.maps-link-btn { 
    color: var(--yellow); 
    text-decoration: none; 
    font-weight: 900; 
    font-size: 0.8rem; 
    text-transform: uppercase;
    border: 1px solid var(--yellow);
    padding: 10px 20px;
    display: inline-block;
    transition: var(--transition);
}
.maps-link-btn:hover { background: var(--yellow); color: #000; }

.status-badge { 
    padding: 12px 24px; 
    font-size: 0.85rem; 
    font-weight: 900; 
    margin-bottom: 30px; 
    display: block; 
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}
.status-badge.full { background: #ff4444; color: #fff; }

/* ==========================================================================
   5. FORMULAR & ALERTS
   ========================================================================== */
.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 25px; 
}

input { 
    background: #111; 
    border: 1px solid var(--grey); 
    color: #fff; 
    padding: 16px; 
    font-family: inherit; 
    width: 100%;
    font-size: 1rem;
}

.input-group { margin-bottom: 35px; }
.input-group label {
    display: block; font-size: 0.75rem; font-weight: 900; color: #666; margin-bottom: 8px; text-transform: uppercase;
}

.checkbox-group { margin: 40px 0; }
.check-container { 
    display: flex; align-items: flex-start; gap: 15px; cursor: pointer; margin-bottom: 20px; 
    font-size: 0.75rem; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 1px;
}
.check-container input { width: 22px; height: 22px; accent-color: var(--yellow); }

.btn-submit { 
    background: var(--yellow); color: #000; border: none; padding: 22px; width: 100%; 
    font-weight: 900; text-transform: uppercase; cursor: pointer; font-size: 1rem; transition: var(--transition);
}
.btn-submit:hover { background: var(--white); }

.alert-box { padding: 22px; margin-bottom: 40px; font-weight: 900; text-transform: uppercase; text-align: center; }
.success-bg { background-color: #fff200; color: #000; }
.error-bg { background-color: #e74c3c; color: #fff; }

/* ==========================================================================
   6. MOBILE & GALLERY
   ========================================================================== */
/* Mobile Menu Toggle Button (Drei Balken) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-header {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        z-index: 1000;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        
        
        position: fixed;
        top: 80px; 
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px); 
        overflow-y: auto;
        
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid #111;
        padding: 30px 40px;
        gap: 20px;
        box-sizing: border-box;
    }

 
    .main-nav.active {
        display: flex; 
    }


    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .form-grid { 
        grid-template-columns: 1fr; 
    }
}

section {
    scroll-margin-top: 85px;
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 50px; }
.gallery-item { aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--grey); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: grayscale(50%); }
.gallery-item:hover img { transform: scale(1.1); filter: grayscale(0%); }

.private-access-box { background: var(--dark); padding: 40px; border: 2px dashed var(--yellow); text-align: center; margin-top: 60px; }
.password-access-form { display: flex; gap: 10px; max-width: 500px; margin: 20px auto 0; }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.main-footer { padding: 80px 20px; text-align: center; border-top: 1px solid var(--grey); background: #080808; }
.footer-links a { color: #555; text-decoration: none; margin: 0 15px; font-size: 0.75rem; text-transform: uppercase; font-weight: 800; transition: all 200ms; }
.footer-links a:hover { color: var(--yellow); transition: all 200ms; }