/* ========================================================== */
/* == Globale Stile & Variablen für Stream Control Center  == */
/* ========================================================== */

:root {
    --bg-dark: #121212;
    --surface-color: #1E1E1E;
    --primary-text: #EAEAEA;
    --secondary-text: #B3B3B3;
    --twitch-purple: #9146FF;
    --twitch-purple-hover: #772ce8;
    --border-color: rgba(255, 255, 255, 0.1);
    --warning-red: #dc3545;
    --warning-yellow: #ffc107;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--primary-text); 
    line-height: 1.6; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

section { 
    padding: 80px 0; 
    overflow: hidden; 
}

h1, h2, h3 { 
    font-weight: 600; 
    color: var(--primary-text);
}

h2 { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 50px; 
    position: relative; 
}

h2::after { 
    content: ''; 
    display: block; 
    width: 60px; 
    height: 4px; 
    background-color: var(--twitch-purple); 
    border-radius: 2px; 
    margin: 10px auto 0; 
}

a {
    color: var(--twitch-purple);
    text-decoration: none;
}

/* ========================================================== */
/* == Header & Navigation                                  == */
/* ========================================================== */

.main-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000; 
    background-color: rgba(18, 18, 18, 0.8); 
    backdrop-filter: blur(10px); 
    padding: 15px 0; 
    border-bottom: 1px solid var(--border-color); 
}

.main-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--primary-text); 
    text-decoration: none; 
}

.logo span { 
    color: var(--twitch-purple); 
}

.main-nav { 
    display: flex; 
    gap: 15px; 
}

.nav-button {
    padding: 8px 20px !important;
    box-shadow: none !important;
}

.language-switcher a { color: var(--secondary-text); text-decoration: none; font-weight: bold; }
.language-switcher a.active { color: var(--twitch-purple); }
/* ========================================================== */
/* == Hero Section (Startseite)                            == */
/* ========================================================== */

.hero { 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    text-align: center; 
    padding-top: 80px; 
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero::after { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1;
    background: 
        radial-gradient(circle at 50% 50%, rgba(145, 70, 255, 0.1), transparent 70%),
        rgba(0, 0, 0, 0.6);
}

.hero-background-slider { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 0;
}

.hero-background-slider .slide { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    animation: slideshow 15s infinite linear; 
    transition: opacity 1.5s ease; 
}

.hero-background-slider .slide:nth-child(2) { animation-delay: 5s; }
.hero-background-slider .slide:nth-child(3) { animation-delay: 10s; }

@keyframes slideshow { 
    0%   { opacity: 0; } 
    10%  { opacity: 0.25; }
    33%  { opacity: 0.25; } 
    43%  { opacity: 0; } 
    100% { opacity: 0; } 
}

.hero h1 { font-size: 4rem; margin-bottom: 10px; font-weight: 700; }
.hero .subtitle { font-size: 1.5rem; color: var(--secondary-text); margin-bottom: 30px; max-width: 600px; }

.hero-warning {
    margin-top: 20px;
    font-size: 0.9em;
    color: var(--secondary-text);
    max-width: 500px;
    border: 1px solid var(--warning-red);
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(220, 53, 69, 0.1);
}

/* ========================================================== */
/* == Allgemeine Komponenten & Anleitung                   == */
/* ========================================================== */

.cta-button { 
    display: inline-block; 
    background-color: var(--twitch-purple); 
    color: #fff !important; 
    padding: 15px 35px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-size: 1.1rem; 
    font-weight: 600; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.4); 
}
.cta-button:hover { background-color: var(--twitch-purple-hover); transform: translateY(-3px); }

.intro-text { max-width: 800px; margin: 0 auto 50px auto; text-align: center; font-size: 1.1rem; color: var(--secondary-text); }
.main-screenshot-wrapper { padding: 10px; background-color: var(--surface-color); border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.main-screenshot { display: block; width: 100%; height: auto; border-radius: 8px; }

.installation-steps { list-style: none; max-width: 800px; margin: 0 auto; }
.installation-steps li { background-color: var(--surface-color); border-left: 4px solid var(--twitch-purple); padding: 20px 25px; margin-bottom: 15px; border-radius: 0 8px 8px 0; counter-increment: step-counter; }
.installation-steps li::before { content: counter(step-counter); margin-right: 15px; background: var(--twitch-purple); color: white; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; font-weight: bold; }

.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; border-radius: 8px; margin: 2em auto; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.warning-box {
    background-color: var(--surface-color);
    border: 1px solid var(--warning-red);
    border-left-width: 5px;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 2em auto;
    display: flex;
    align-items: center;
    gap: 20px;
    background-image: radial-gradient(circle at 10% 20%, rgba(220, 53, 69, 0.15), transparent 60%);
}
.warning-box .icon { flex-shrink: 0; width: 40px; height: 40px; fill: var(--warning-yellow); }
.warning-box h3 { margin-top: 0; margin-bottom: 0.5em; color: var(--warning-yellow); }
.warning-box p { margin-bottom: 0; }

.anleitung-body { line-height: 1.8; }
.anleitung-body h1 { font-size: 3rem; text-align: center; }
.anleitung-body h2 { font-size: 2rem; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.anleitung-body p, .anleitung-body li { color: var(--secondary-text); margin-bottom: 1em; }
.anleitung-body code { background-color: var(--surface-color); padding: 3px 6px; border-radius: 4px; font-family: 'Courier New', Courier, monospace; }
.anleitung-body ol li { margin-left: 20px; }
.anleitung-body .back-link { display: block; text-align: center; margin-top: 40px; }

/* ========================================================== */
/* == Footer & Sonstiges                                   == */
/* ========================================================== */

.main-footer { background-color: var(--surface-color); padding: 40px 0; text-align: center; border-top: 1px solid var(--border-color); }
.main-footer a:hover { color: var(--twitch-purple-hover); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .hero .subtitle { font-size: 1.2rem; }
    .main-nav { display: none; } /* Navigation auf Mobilgeräten ausblenden, um Platz zu sparen */
}

body {
    padding-top: 200px; /* Passt diesen Wert an die Höhe eures Headers an */
}