/* =========================================
   GLOBALE EINSTELLUNGEN
   ========================================= */
:root {
    --bg-dark: #050505;
    --text-light: #f5f5f5;
    --accent-blue: #00f2ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   NAVIGATION & HEADER
   ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    line-height:1rem;

}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 200;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* --- HAMBURGER MENU (MOBILE) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101; 
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 4px 0;
    transition: all 0.3s ease; 
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.8);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        z-index: 99;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

/* =========================================
   INDEX STARTSEITE (HERO & SEKTIONEN)
   ========================================= */
.hero {
    position: relative;
    height: 100vh; 
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
    z-index: 10;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--bg-dark);
}

.hero-media .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; 
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-media .slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 40px;
    color: #ccc;
}

/* Sektionen Startseite */
.section {
    padding: 100px 50px;
    min-height: 50vh;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 60px; 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 20px;
}

.content-col {
    flex: 1; 
    max-width: 600px; 
}

.text-col {
    text-align: left; 
}

.image-col img {
    width: 100%; 
    height: auto; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
}

@media (max-width: 991px) {
    .section-content-wrapper {
        flex-direction: column !important; 
        gap: 40px;
        text-align: center;
    }
    
    .text-col {
        text-align: center; 
    }

    .image-col {
        order: -1; 
    }
}

/* =========================================
   UNTERSEITEN (EVENTS, GERÄTE, IMPRESSUM)
   ========================================= */
.banner {
    height: 40vh; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px; 
    overflow: hidden;
}

.banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.banner h1 {
    position: relative;
    z-index: 3;
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Inhaltsbereich Unterseiten */
.content-wrapper {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.portrait-img {
    float: left; 
    width: 350px; 
    margin: 0 40px 20px 0; 
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.text-content h1 {
    font-size: 2.5rem;
    font-weight: 200;
    color: var(--text-light);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.text-content h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent-blue);
    margin: 30px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 15px;
}

.text-content p {
    font-size: 1.1rem;
    font-weight: 200;
    color: #ccc;
    margin-bottom: 20px;
    text-align: justify; 
}

/* Call to Action Sektion (Unterseiten) */
.cta-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

/* =========================================
   KONTAKT MODAL (OVERLAY-FORMULAR)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-box {
    background: #0a0a0a;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent-blue);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: var(--text-light);
    padding: 12px 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.honeypot {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* =========================================
   GALERIE SLIDER (STARTSEITE)
   ========================================= */
.gallery-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    
    /* Padding links/rechts auf 20px reduziert, damit es bündig mit dem Text der anderen Sektionen abschließt */
    padding: 20px 20px; 
    
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Versteckt Scrollbar in Firefox */

    /* --- NEU: Breite begrenzen und zentrieren --- */
    max-width: 1300px;
    margin: 0 auto;
    scroll-behavior: smooth;
}

.gallery-slider::-webkit-scrollbar {
    display: none; /* Versteckt Scrollbar in Chrome/Safari */
}

.gallery-item {
    flex: 0 0 350px; /* Jedes Bild ist genau 350px breit */
    height: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Der dunkle Hover-Effekt mit Icon */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 242, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .icon {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* =========================================
   MEDIA LIGHTBOX
   ========================================= */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-lightbox {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--accent-blue);
}

.lightbox-content {
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.lightbox-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

@media (max-width: 768px) {
    .gallery-item { flex: 0 0 80vw; } /* Auf dem Handy fast volle Breite */
    .gallery-slider { padding: 20px 20px; }
}

/* =========================================
   FAQ AKKORDEON
   ========================================= */
.faq-item {
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.faq-item summary {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    cursor: pointer;
    list-style: none; /* Entfernt den Standard-Pfeil in den meisten Browsern */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Eigener, schönerer Pfeil */
.faq-item summary::after {
    content: '+';
    color: var(--accent-blue);
    font-size: 1.5rem;
    font-weight: 200;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg); /* Macht aus dem + ein x */
}

/* Versteckt den Standard-Pfeil in Webkit-Browsern (Chrome, Safari) */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    font-weight: 200;
    color: #aaa;
    line-height: 1.6;
    border-top: 1px solid #222;
    margin-top: 10px;
    padding-top: 20px;
}