:root {
    --trap-purple: #bc13fe;
    --trap-blue: #00f3ff;
    --bg-dark: #050505;
    --bg-card: #101010;
}

body {
    background-color: var(--bg-dark);
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(188, 19, 254, 0.3);
}

.nav-link {
    color: #fff !important;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--trap-blue) !important;
    text-shadow: 0 0 8px var(--trap-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh; /* Mindestens Bildschirmhöhe */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000; 
    padding-top: 80px; /* Platz für Navbar */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* WICHTIG: contain sorgt dafür, dass alles sichtbar ist */
    object-fit: contain; 
    object-position: center;
    opacity: 0.6; /* Etwas heller damit man es besser sieht */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Dunkler Hintergrund hinter Text, damit man ihn auf dem Bild lesen kann */
    background: rgba(0, 0, 0, 0.6); 
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.glitch-text {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 3px 3px 0px var(--trap-purple), -3px -3px 0px var(--trap-blue);
    animation: glitch 1s infinite alternate;
}

/* Buttons */
.btn-trap {
    background: transparent;
    border: 2px solid var(--trap-blue);
    color: var(--trap-blue);
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.btn-trap:hover {
    background: var(--trap-blue);
    color: #000;
    box-shadow: 0 0 30px var(--trap-blue);
}

/* Gallery & Zoom */
.gallery-card {
    border: none;
    background: transparent;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    transition: 0.3s;
    border: 1px solid #333;
    cursor: pointer; /* Zeige Hand-Cursor */
}

.gallery-card img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    /* Entfernt: filter: grayscale(40%); damit Bilder besser aussehen */
}

.gallery-card:hover {
    border-color: var(--trap-purple);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.3);
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.badge-trap {
    background-color: var(--trap-purple);
    color: white;
    padding: 5px 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    z-index: 2;
}

/* Lightbox Modal Anpassung */
.modal-content {
    background-color: #000;
    border: 1px solid var(--trap-blue);
}
.modal-header {
    border-bottom: 1px solid #333;
}
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Footer */
footer {
    border-top: 1px solid #222;
    background: #000;
    padding: 50px 0;
}

/* Responsive Text */
@media (max-width: 768px) {
    .glitch-text { font-size: 2.5rem; }
    .hero-section { min-height: 80vh; }
}

@media (max-width: 768px) {
    .glitch-text { 
        font-size: 2.5rem; 
    }

    /* Hero Section Mobile Umbau */
    .hero-section { 
        display: flex;
        flex-direction: column; /* Stapelt Bild und Text untereinander */
        height: auto;
        min-height: auto;
        padding-top: 70px; /* Platz für Navbar */
        background: #000;
    }

    .hero-bg {
        position: relative; /* Nicht mehr absolut */
        width: 100%;
        height: auto;
        opacity: 1; /* Volle Deckkraft */
        object-fit: contain;
        margin-bottom: 0;
    }

    .hero-content {
        margin-top: -20px; /* Zieht den Text leicht nach oben für besseren Look */
        background: linear-gradient(to bottom, transparent, #000 20%);
        border: none;
        padding: 1.5rem;
        width: 100%;
    }
    
    /* Galerie Anpassung: Kleinerer Abstand auf Handy */
    .gallery-card {
        margin-bottom: 0;
    }
}