@import "tailwindcss";
/* Grundlegendes Setup & Fix für horizontales Scrollen auf Mobile */
html, body { 
    background-color: #000; 
    color: #fff; 
    overflow-x: hidden; 
    width: 100%;
    position: relative;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Textur-Overlay (Rauschen) */
.texture-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; 
    z-index: 100;
}

/* Scroll-Reveal Animationen */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1); 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Hero Titel Größenanpassung */
.hero-title { 
    font-size: clamp(2.5rem, 10vw, 10rem); 
    line-height: 0.9; 
}

/* Fix für Outline-Schrift auf Mobile (verhindert Balken-Effekt im "A") */
@media (max-width: 768px) {
    .mobile-stroke-fix {
        -webkit-text-stroke: 0px transparent !important;
        color: white !important;
    }
}

/* FAQ Full-Width Styling */

/* FAQ Linksbündig & Full Screen Width */
#faq {
    width: 100%;
    margin: 0;
}

#faq .reveal {
    margin-left: 0; /* Erzwingt Linksbündigkeit */
    margin-right: 0;
}

/* Der Antwort-Text rückt ein Stück ein, damit er unter der Frage steht */
details div {
    max-width: 900px; /* Begrenzung für bessere Lesbarkeit */
}

/* Entfernt den Standard-Pfeil im Browser */
details summary::-webkit-details-marker { 
    display: none; 
}

/* Entferne den Standard-Pfeil */
details summary::-webkit-details-marker { 
    display: none; 
}

/* Sorge dafür, dass der Klickbereich die volle Breite nutzt */
details summary {
    list-style: none;
    outline: none;
}

/* Damit der Text bei der breiten Ansicht nicht zu weit läuft (Lesbarkeit) */
details div {
    max-width: 850px; /* Begrenzt nur den Antworttext, nicht die Headerzeile */
}

/* Hover-Effekt: Die Trennlinie wird hell, wenn man drüber fährt */
details:hover {
    border-bottom-color: rgba(255, 255, 255, 1);
}

/* Große Typo für die Fragen */
@media (max-width: 768px) {
    details summary {
        font-size: 1.5rem !important;
        padding: 1.5rem 0;
    }
}

/* Utility für sanftes Scrollen */
.scroll-smooth {
    scroll-behavior: smooth;
}
/* Cursor verstecken auf Desktop */
@media (min-width: 1024px) {
    body { cursor: none; }
    a, button { cursor: none; }
}

/* Cursor-Container */
#cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    /* Das ist das Herzstück: Farben werden getauscht */
    mix-blend-mode: difference; 
}

#cursor-dot, #cursor-outline {
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    /* Wichtig: Der Cursor selbst muss WEISS sein, damit er schwarz auf weiß wird */
    background-color: #fff; 
}

#cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    z-index: 10000;
}

#cursor-outline {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 1.5px solid #fff;
    border-radius: 50%;
    /* Sanfter Übergang für Größenänderungen */
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1), 
                height 0.3s cubic-bezier(0.19, 1, 0.22, 1), 
                border-radius 0.3s ease;
}

/* Hover-Effekt: Der Cursor "snappt" und wird eckig */
.cursor-active #cursor-outline {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px; /* Fast quadratisch für Tech-Look */
}

@media (max-width: 1024px) {
    #cursor-container { display: none; }
}

.magnetic {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

#live-clock {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    letter-spacing: 0.1em;
}
::selection {
    background-color: #ffffff;
    color: #000000;
}
::-moz-selection {
    background-color: #ffffff;
    color: #000000;
}

.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* Hinter dem Text, aber vor dem nackten Body-Schwarz */
    overflow: hidden;
    pointer-events: none; /* Klicks gehen durch auf die Buttons */

}

.blob {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px); /* Extrem weicher Rand */
    will-change: transform;
    opacity: 0.4; /* Deutlich sichtbar */
}

/* Weißer/Grauer Nebel oben links */
.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 70%);
    animation: move-blob-1 25s infinite alternate ease-in-out;
}

/* Etwas dunklerer Nebel unten rechts */
.blob-2 {
    bottom: -5%;
    right: -5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    animation: move-blob-2 30s infinite alternate-reverse ease-in-out;
}

/* Kleinerer Akzent-Blob in der Mitte */
.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 70%);
    animation: move-blob-1 35s infinite reverse ease-in-out;
}

/* 5. ANIMATIONEN: Sanftes Schweben */
@keyframes move-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 15vh) scale(1.2); }
}

@keyframes move-blob-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-15vw, -10vh) scale(0.9); }
}

@media (max-width: 768px) {
    .blob {
        width: 100vw; /* Auf dem Handy etwas breiter */
        height: 100vw;
        filter: blur(60px); /* Weniger Blur spart Rechenleistung */
        opacity: 0.3; /* Etwas dezenter auf kleinen Screens */
    }

    .blob-1 {
        top: -5%;
        left: -20%;
    }

    .blob-2 {
        bottom: 5%;
        right: -20%;
    }

    /* Wir vereinfachen die Animation für Handys */
    @keyframes move-blob-1 {
        0% { transform: translate(0, 0); }
        100% { transform: translate(30px, 20px); }
    }

    @keyframes move-blob-2 {
        0% { transform: translate(0, 0); }
        100% { transform: translate(-30px, -20px); }
    }
}

body { 
    background-color: #000; 
    color: #fff; 
    /* overflow: hidden;  <-- Entferne das, falls du scrollen willst! */
}
        
.texture-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; 
    z-index: 100;
}

/* Glitch Effekt für die 404 */
.glitch {
    font-size: 12rem;
    font-weight: 900;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255,0,0,.75),
                -0.025em -0.05em 0 rgba(0,255,0,.75),
                0.025em 0.05em 0 rgba(0,0,255,.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.05em -0.025em 0 rgba(0,255,0,.75), -0.025em 0.05em 0 rgba(0,0,255,.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.05em -0.025em 0 rgba(0,255,0,.75), -0.025em 0.05em 0 rgba(0,0,255,.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75), 0.025em 0.025em 0 rgba(0,255,0,.75), -0.05em -0.05em 0 rgba(0,0,255,.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75), 0.025em 0.025em 0 rgba(0,255,0,.75), -0.05em -0.05em 0 rgba(0,0,255,.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,.75), 0.05em 0 0 rgba(0,255,0,.75), 0 -0.05em 0 rgba(0,0,255,.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,.75), 0.05em 0 0 rgba(0,255,0,.75), 0 -0.05em 0 rgba(0,0,255,.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255,0,0,.75), -0.025em -0.025em 0 rgba(0,255,0,.75), -0.025em -0.05em 0 rgba(0,0,255,.75); }
}

.scanline {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: absolute;
    top: 0;
    left: 0;
    animation: scanline 4s linear infinite;
    z-index: 110;
}

@keyframes scanline {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Newsletter Grid Adjustments */
#newsletter-email {
    font-size: 1.5rem; /* Etwas kleiner für die 50/50 Ansicht */
}

@media (min-width: 1024px) {
    #newsletter-email {
        font-size: 2rem;
    }
}

/* Verhindert, dass der Button zu massiv wird */
#newsletter-form button {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
}

#about h2 {
    /* Von 16vw/14rem runter auf 12vw/9rem für eine bessere Balance */
    font-size: clamp(4rem, 12vw, 9rem); 
    line-height: 0.8;
}

/* Stats Counter Styling */
.counter {
    display: inline-block;
    min-width: 1ch; /* Verhindert Layout-Verschiebungen */
    font-variant-numeric: tabular-nums;
}

/* Hover Effekt für die Zahlen */
.group:hover .counter {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    -webkit-text-stroke: 1px white;
    color: transparent;
}

/* Damit das "+" Zeichen beim Hover auch gut aussieht */
.group:hover .counter + span {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

/* FAQ Smooth Animation */
details summary::-webkit-details-marker {
    display: none; /* Entfernt den Standard-Browser-Pfeil */
}

details[open] summary ~ * {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Verhindert das blaue Highlight beim Klicken auf Mobile */
summary {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.form-section { margin-bottom: 4rem; }
        .form-section-title { 
            font-family: 'JetBrains Mono', monospace; 
            font-size: 10px; 
            text-transform: uppercase; 
            letter-spacing: 0.4em; 
            color: rgba(255,255,255,0.3);
            margin-bottom: 2rem;
            display: block;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding-bottom: 10px;
        }
        label { 
            display: block; 
            text-transform: uppercase; 
            font-size: 10px; 
            letter-spacing: 0.2em; 
            margin-bottom: 12px; 
            font-weight: 900;
        }
        input, select, textarea {
            width: 100%;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 1rem;
            color: white;
            font-family: 'JetBrains Mono', monospace;
            font-size: 13px;
            margin-bottom: 2rem;
            transition: all 0.3s;
        }
        input:focus, select:focus, textarea:focus {
            border-color: #fff;
            background: rgba(255,255,255,0.07);
            outline: none;
        }
        select option { background: #111; color: white; }


        /* Drag & Drop Styles */
.drag-handle {
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    transition: color 0.3s;
}
.drag-handle:hover { color: white; }
.drag-handle:active { cursor: grabbing; }

/* Ghost-Element (Stellvertreter während des Ziehens) */
.sortable-ghost {
    opacity: 0.3;
    border: 1px dashed white !important;
    background: transparent !important;
}

/* Nummerierung Styling */
.track-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: white;
}