/* ------------------------------------- */
/* BASE STYLES & GLOBAL TYPOGRAPHY */
/* ------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
html {
    scroll-behavior: smooth;
    background: #0f0f0f;
}
body {
    color: #fff;
    min-height: 100vh;
    padding-top: 70px; /* Platz für die fixe Navigationsleiste */
}

/* ------------------------------------- */
/* BACKGROUND VIDEO & OVERLAY */
/* ------------------------------------- */
#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
    overflow: hidden;
}
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Etwas dunkler für besseren Kontrast */
    z-index: -99;
    pointer-events: none;
}

/* ------------------------------------- */
/* NAVIGATION */
/* ------------------------------------- */
nav {
    width: 100%;
    height: 70px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00fff2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00fff2, 0 0 20px #00fff2;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    color: #ffffffcc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #00fff2;
    text-shadow: 0 0 8px #00fff2;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: #00fff2;
    transition: width 0.25s;
    border-radius: 4px;
}
.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}
.dropbtn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(0, 0, 0, 0.98);
    border: 1px solid rgba(0, 255, 242, 0.18);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 255, 242, 0.18);
    padding: 6px 0;
    z-index: 2000;
    width: max-content;
    min-width: 220px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dropdown-content.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.dropdown-content a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.15s, color 0.15s;
}
.dropdown-content a:hover {
    background: rgba(0, 255, 242, 0.09);
    color: #00fff2;
    text-shadow: 0 0 8px #00fff2;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    display: block;
}

/* ------------------------------------- */
/* HOME/HERO SECTION STYLES */
/* ------------------------------------- */
.hero-section {
    min-height: calc(100vh - 70px); /* Füllt den Rest des Viewports */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.welcome-card {
    text-align: center;
    padding: 50px 70px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 255, 242, 0.3);
    z-index: 10;
    max-width: 800px;
}
.welcome-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px #00fff2);
}
.welcome-card h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #00fff2;
    text-shadow: 0 0 20px #00fff2;
    margin-bottom: 15px;
}
.welcome-card p {
    font-size: 1.4rem;
    color: #ffffffdd;
    margin-top: 10px;
}
.action-button {
    margin-top: 30px;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    background: #00fff2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 255, 242, 0.7);
}
.action-button:hover {
    background: #00e5d4;
    box-shadow: 0 0 25px #00fff2;
}

/* ------------------------------------- */
/* CONTENT PAGE STYLES (Regelwerk) */
/* ------------------------------------- */
.content-page {
    padding: 40px 3rem;
    max-width: 1200px;
    margin: 40px auto;
    background: rgba(15, 15, 15, 0.95);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    z-index: 5;
    position: relative;
    border-top: 5px solid #00fff2;
}
.content-page h2 {
    font-size: 3rem;
    color: #00fff2;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0,255,242,0.5);
    text-align: center;
}
.rule-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 5px solid #00fff2;
    border-radius: 8px;
    margin-bottom: 20px;
}
.rule-item h3 {
    color: #00fff2;
    margin-bottom: 8px;
    font-size: 1.5rem;
}
.rule-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ------------------------------------- */
/* MOBILE MEDIA QUERIES */
/* ------------------------------------- */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s;
    }
    .nav-links.open {
        max-height: 400px;
    }
    .menu-toggle {
        display: flex;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        min-width: unset;
        box-shadow: none;
        border: none;
        background: transparent;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0;
    }
    .dropdown-content a {
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Hero Section */
    .welcome-card {
        padding: 30px 20px;
        max-width: 95%;
    }
    .welcome-logo {
        width: 100px;
        height: 100px;
    }
    .welcome-card h1 {
        font-size: 2.5rem;
    }
    .welcome-card p {
        font-size: 1.1rem;
    }

    /* Mobile Content Page */
    .content-page {
        padding: 20px 1rem;
        margin: 20px auto;
    }
    .content-page h2 {
        font-size: 2rem;
    }
}