/* Globale Resets und Fullscreen */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
    cursor: crosshair; /* Mysteriöser Cursor */
}

/* Das Canvas legt sich über den gesamten Bildschirm */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

/* Schwarze Vignette an den Rändern für Fokus in der Mitte */
.vignette {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Overlay für alles Textliche */
.ui-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Lässt Maus-Events zum Canvas durch: */
    pointer-events: none; 
}

/* Der große, filmische Text in der Mitte */
.main-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(2rem, 6vw, 5rem);
    color: #fff;
    text-align: center;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 2s ease-in-out, transform 4s ease-out;
    text-shadow: 0 0 30px rgba(184, 165, 212, 0.6), 0 0 60px rgba(255, 255, 255, 0.2);
    font-weight: 400;
    margin: 0;
    padding: 0 2rem;
}

.main-text.show {
    opacity: 1;
    transform: scale(1);
}

/* Container für den finalen Aufruf */
.cta-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 3s ease-in-out;
    pointer-events: auto; /* CTA Buttons müssen klickbar sein */
}

.cta-container.show {
    opacity: 1;
    visibility: visible;
}

/* Der hypnotische Button */
.cta-btn {
    display: inline-block;
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-decoration: none;
    padding: 1.5rem 4rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 rgba(155, 126, 196, 0);
    position: relative;
    overflow: hidden;
}

/* Leucht-Effekt Sweep über den Button */
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    box-shadow: 0 0 40px rgba(155, 126, 196, 0.8), 0 0 80px rgba(124, 95, 163, 0.5);
    transform: scale(1.05);
    border-color: #fff;
    font-weight: 400;
}

.cta-btn:hover::before {
    left: 100%;
}

/* Subtiler Link darunter */
.traditional-link {
    margin-top: 3rem;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.traditional-link a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
}

.traditional-link a:hover {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

/* Kleiner Skip Link in der Ecke */
.skip-link {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 5;
    transition: all 0.4s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.skip-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Legal Footer (Impressum, Datenschutz) */
.legal-footer {
    position: absolute;
    bottom: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 5;
    pointer-events: auto;
}

.legal-footer a {
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.legal-footer a:hover {
    color: rgba(255, 255, 255, 0.9);
}
