/* --- GRUNDEINSTELLUNGEN & VARIABLEN --- */
:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #ff0000;
    --container-bg: #111111;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-text: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-text);
    line-height: 1.6;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Atmosphärisches Overlay */
.scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 3px, 4px 100%;
    pointer-events: none;
    z-index: 1001;
    animation: glitch 0.3s linear infinite alternate-reverse;
}

@keyframes glitch {
    0% { transform: translateY(0); }
    100% { transform: translateY(-2px); }
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    color: #fff;
}

h1 { font-size: 5rem; }
h2 { font-size: 3rem; margin-bottom: 20px; }
h3 { font-size: 2.5rem; }

a {
    color: var(--accent-color);
    text-decoration: none;
}

/* --- SEKTIONEN --- */

/* 1. Hero Sektion */
#hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: #000 url('images/feindbild-header.gif') center center/cover no-repeat; /* Optional: Hintergrundbild */
}

.hero-content {
    animation: fadeIn 2s ease-in;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--accent-color);
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* 3. Musik Sektion */
#music iframe {
    border: none;
    margin-bottom: 30px;
}

.streaming-links i, .social-icons i {
    font-size: 2.5rem;
    margin: 0 15px;
    transition: transform 0.3s, color 0.3s;
}

.streaming-links a:hover i, .social-icons a:hover i {
    transform: scale(1.2);
    color: #fff;
}

/* 4. Slogan Sektion */
#slogans {
    background-color: var(--container-bg);
    padding: 60px 0;
    text-align: center;
}
.slogan-item {
    padding: 10px 0;
}

/* 5. Galerie Sektion */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-image:hover {
    opacity: 0.7;
}

/* 6. Lizenz Sektion (Accordion) */
.accordion {
    background-color: var(--container-bg);
    color: var(--text-color);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: 1px solid #333;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-family: var(--font-text);
    transition: background-color 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion:hover, .accordion.active {
    background-color: #222;
}

.accordion i {
    transition: transform 0.3s;
}

.accordion.active i {
    transform: rotate(45deg);
}

.panel {
    padding: 0 18px;
    background-color: #0a0a0a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid #333;
    border-top: none;
    text-align: left;
}

.panel p {
    padding: 15px 0;
}

/* 7. Footer / Kontakt */
#contact {
    background-color: #000;
    text-align: center;
    padding: 40px 20px;
}

.email-link {
    display: inline-block;
    margin: 10px 0 20px 0;
    font-size: 1.2rem;
}

.copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #555;
}

/* Lightbox Styling */
.lightbox {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none; /* Wird durch JS geändert */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    animation: zoomIn 0.5s;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover {
    color: var(--accent-color);
}

/* Animationen */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zoomIn {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }

    .container {
        padding: 40px 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery-image {
        height: 150px;
    }
}