:root { 
            --accent: #00aeef; 
            --accent-magenta: #ff0055;
            --bg: rgba(0, 0, 0, 0.15);
        }
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body, html { 
            height: 100%; 
            font-family: 'Roboto Mono', monospace; 
            background: var(--bg); 
            color: #fff; 
            overflow: hidden; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
        }

        /* --- BACKGROUND LAYER 1: NEBULA --- */
        .nebula-wrapper {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: -2;
            background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #000 100%);
        }

        .nebula {
            position: absolute;
            width: 150%; height: 150%;
            top: -25%; left: -25%;
            background: 
                radial-gradient(circle at 30% 30%, rgba(0, 174, 239, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 0, 85, 0.08) 0%, transparent 50%);
            filter: blur(80px);
            animation: nebulaDrift 20s infinite alternate ease-in-out;
        }

        @keyframes nebulaDrift {
            from { transform: rotate(0deg) scale(1); }
            to { transform: rotate(10deg) scale(1.1); }
        }

        /* --- LAYER 2: LEUCHTENDER STAUB --- */
        #dust-canvas { 
            position: fixed; 
            top: 0; left: 0; 
            width: 100%; height: 100%; 
            z-index: -1; 
            opacity: 0.8; 
            pointer-events: none;
        }

        /* --- CONTENT --- */
        .main-content { 
            text-align: center; 
            z-index: 10; 
            animation: fadeIn 3s ease; 
            max-width: 900px;
            width: 95%;
        }

        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        .logo { 
            max-width: 280px; 
            margin-bottom: 20px; 
            filter: drop-shadow(0 0 20px rgba(0, 174, 239, 0.3)); 
            animation: float 6s infinite ease-in-out; 
        }

        @keyframes float { 
            0%, 100% { transform: translateY(0); } 
            50% { transform: translateY(-15px); } 
        }

    
        h1 { 
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(1.2rem, 5.5vw, 2.2rem); 
            letter-spacing: 0.5em; 
            margin-bottom: 10px;
 		margin-right: 15px;
            text-transform: uppercase;
            white-space: nowrap; 
            text-shadow: 0 0 15px rgba(0, 174, 239, 0.4);
            display: block;
            width: 100%;
        }

        .url { 
            font-size: 0.8rem; 
            letter-spacing: 0.7em; 
            opacity: 0.4; 
            margin-bottom: 40px; 
        }

        .status { 
            color: var(--accent); 
            font-weight: bold; 
            letter-spacing: 0.4em; 
            margin-bottom: 60px; 
            text-shadow: 0 0 15px var(--accent); 
        }

	.teaser-list {
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    opacity: 0.6;
    margin-top: -40px; /* Zieht es näher an den Status-Text */
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #fff;
}

        .socials { display: flex; justify-content: center; gap: 40px; margin-bottom: 60px; }
        .socials a svg { width: 30px; height: 30px; fill: #fff; transition: 0.4s; filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
        .socials a:hover svg { fill: var(--accent); transform: scale(1.3); filter: drop-shadow(0 0 15px var(--accent)); }

        .btn-contact {
            text-decoration: none;
            color: #fff;
            border: 1px solid rgba(255,255,255,0.2);
            padding: 18px 50px;
            letter-spacing: 0.4em;
            font-weight: bold;
            transition: 0.4s;
            background: rgba(255,255,255,0.02);
            position: relative;
        }

        .btn-contact::before { content: '['; position: absolute; left: 15px; color: var(--accent-magenta); transition: 0.3s; }
        .btn-contact::after { content: ']'; position: absolute; right: 15px; color: var(--accent-magenta); transition: 0.3s; }

        .btn-contact:hover { 
            border-color: var(--accent); 
            color: var(--accent); 
            box-shadow: 0 0 30px rgba(0, 174, 239, 0.4); 
        }
        
        .btn-contact:hover::before, .btn-contact:hover::after { color: var(--accent); }

        footer { position: absolute; bottom: 30px; width: 100%; text-align: center; font-size: 0.7rem; color: #444; letter-spacing: 2px; }
        footer a { color: #444; text-decoration: none; margin: 0 10px; transition: 0.3s; }
        footer a:hover { color: var(--accent); }

	.overlay {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9); /* Fast schwarzer Hintergrund */
    backdrop-filter: blur(10px); /* Der Vibe bleibt im Hintergrund sichtbar */
}

.overlay-content {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    margin: 5% auto;
    padding: 40px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto; /* Scrollbar für lange e-recht Texte */
    color: #ccc;
    text-align: left;
    line-height: 1.6;
}

.close-overlay {
    color: var(--accent-magenta);
    float: right;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 2px;
}

.close-overlay:hover { color: #fff; }

/* Scrollbar Styling (damit es nicht Standard aussieht) */
.overlay-content::-webkit-scrollbar { width: 5px; }
.overlay-content::-webkit-scrollbar-thumb { background: var(--accent); }

footer {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    font-size: 0.65rem;
    color: #444; /* Standardmäßig sehr dezent */
    letter-spacing: 2px;
    z-index: 10;
    font-family: 'Roboto Mono', monospace;
}

/* Der Copyright-Teil */
.copy-text {
    opacity: 0.8;
color: #666;
    margin-bottom: 30px;
    display: block;
}

/* Die interaktiven Links */
.footer-link {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    position: relative;
    padding: 5px 10px;
}

/* Der High-End Hover-Effekt */
.footer-link:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

/* Die subtilen Klammern, die beim Hover erscheinen */
.footer-link::before, .footer-link::after {
    content: '';
    position: absolute;
    color: var(--accent-magenta);
    opacity: 0;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.footer-link::before { content: '['; left: -5px; }
.footer-link::after { content: ']'; right: -5px; }

.footer-link:hover::before { opacity: 1; left: 0px; }
.footer-link:hover::after { opacity: 1; right: 0px; }
.glitch-active {
    animation: glitch-anim 0.3s linear infinite;
    color: var(--accent-magenta) !important;
    text-shadow: 2px 0 var(--accent), -2px 0 #fff;
}

@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Der Alarm-Modus (wird per JS getriggert) */
body.red-alert {
    animation: red-pulse 1s infinite alternate;
}

@keyframes red-pulse {
    from { box-shadow: inset 0 0 100px rgba(100, 0, 0, 0); }
    to { box-shadow: inset 0 0 150px rgba(100, 0, 0, 0.4); }
}

/* Damit auch der Button und der Text rot glühen */
body.red-alert .status, 
body.red-alert h1 {
    color: #ff0000 !important;
    text-shadow: 0 0 20px #ff0000 !important;
}

body.red-alert .btn-contact {
    border-color: #ff0000 !important;
    color: #ff0000 !important;
}

/* --- MOBILE OPTIMIERUNG (AB 768px UND KLEINER) --- */
@media (max-width: 768px) {
    body, html {
        height: auto; /* Erlaubt der Seite, so hoch zu sein wie der Inhalt */
        min-height: 100vh;
        overflow-y: auto; /* Aktiviert das Scrollen */
        display: block; /* Schaltet das zentrierte Flexbox-System aus */
    }

    .main-content {
        padding: 60px 20px 100px 20px; /* Viel Platz oben und unten */
        width: 100%;
        margin: 0 auto;
    }

    h1 {
        font-size: 1.4rem; /* Kleiner, damit es nicht umbricht */
        letter-spacing: 0.2em;
        margin-bottom: 5px;
    }

    .url {
        letter-spacing: 0.3em;
        margin-bottom: 30px;
    }

    .status {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }

    .teaser-text {
        flex-direction: column; /* Schlagworte untereinander statt nebeneinander */
        gap: 12px;
        font-size: 0.7rem;
    }

    .socials {
        margin: 40px 0;
        gap: 30px;
    }

    /* Der wichtigste Teil: Den Footer befreien */
    footer {
        position: relative; /* Nicht mehr festgetackert */
        bottom: 0;
        left: 0;
        width: 100%;
        padding-bottom: 40px;
        margin-top: 50px;
    }

    .footer-link {
        display: inline-block;
        margin: 10px 5px; /* Links kriegen mehr Platz zum Klicken */
    }
}
.ai-section { margin: 50px 0; text-align: center; z-index: 10; position: relative; }

.ai-container { 
    background: rgba(0, 0, 0, 0.8); 
    border: 1px solid var(--accent); 
    padding: 20px; 
    border-radius: 5px; 
    max-width: 600px; 
    margin: 0 auto; 
    box-shadow: 0 0 30px rgba(0, 174, 239, 0.15); 
}

/* Das Fenster mit Scrollfunktion */
.ai-chat-window { 
    height: 350px; 
    overflow-y: auto; 
    background: rgba(0, 0, 0, 0.3); 
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 3px; 
    padding: 15px; 
    margin-bottom: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px;
    text-align: left;
    scroll-behavior: smooth;
}

/* Individueller Scrollbalken im Sector-Style */
.ai-chat-window::-webkit-scrollbar { width: 4px; }
.ai-chat-window::-webkit-scrollbar-track { background: transparent; }
.ai-chat-window::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* Nachrichten-Bubbles */
.msg { 
    max-width: 85%; 
    padding: 10px 14px; 
    font-size: 0.85rem; 
    line-height: 1.4;
    word-wrap: break-word;
    position: relative;
}

/* Antwort vom Assistenten (Cyan) */
.msg.assistant { 
    align-self: flex-start; 
    background: rgba(0, 174, 239, 0.1); 
    border-left: 2px solid var(--accent); 
    color: var(--accent); 
}

/* Frage vom User (Magenta) */
.msg.user { 
    align-self: flex-end; 
    background: rgba(255, 0, 85, 0.1); 
    border-right: 2px solid var(--accent-magenta); 
    color: var(--accent-magenta); 
    text-align: right;
}

.ai-input-group { display: flex; gap: 10px; }
#ai-input { 
    flex: 1; 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(0, 174, 239, 0.3); 
    color: white; 
    padding: 12px; 
    outline: none; 
    font-family: 'Roboto Mono', monospace;
}
#ai-input:focus { border-color: var(--accent); }

#ai-submit { 
    background: var(--accent); 
    color: black; 
    border: none; 
    padding: 0 20px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: 0.3s; 
}
#ai-submit:hover { background: #fff; box-shadow: 0 0 15px #fff; }