/* ========================================
   Hero Section - Cinematic Video Header
   ======================================== */

.header-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Background Video */
.headline-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Dark Overlay Gradient */
.video-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 13, 20, 0.4) 0%,
        rgba(10, 13, 20, 0.2) 40%,
        rgba(10, 13, 20, 0.6) 80%,
        rgba(10, 13, 20, 1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Side Gradient for Logo */
.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 13, 20, 0.7) 0%,
        rgba(10, 13, 20, 0.3) 60%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Video Overlay Content */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 clamp(2rem, 8vw, 8rem);
    padding-top: 80px; /* Navbar height */
    z-index: 2;
    pointer-events: none;
}

.video-overlay img {
    width: clamp(180px, 25vw, 320px);
    height: auto;
    filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.video-overlay-text {
    margin-top: -0.5rem;
    color: var(--color-text-primary);
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Subtitle */
.video-overlay-subtitle {
    margin-top: 1.5rem;
    max-width: 500px;
    color: var(--color-text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    /* Animation wird via intro-hidden gesteuert */
}

/* CTA Button */
.video-overlay .btn {
    pointer-events: all;
    margin-top: 2rem;
    /* Animation wird via intro-hidden gesteuert */
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    /* Animation wird via intro-hidden gesteuert */
    z-index: 2;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   Intro Animation - Delayed Fade In
   ======================================== */

/* Intro-Elemente werden via JavaScript gesteuert */

/* Particles Effect (optional decoration) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.hero-particles::before {
    background: var(--color-accent-blue);
    top: 20%;
    right: 10%;
}

.hero-particles::after {
    background: var(--color-accent-primary);
    bottom: 20%;
    left: 15%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Responsive */
@media (max-width: 900px) {
    .video-overlay {
        align-items: center;
        text-align: center;
        padding: 0 1.5rem;
        padding-top: 80px;
    }

    .video-overlay img {
        width: clamp(150px, 40vw, 220px);
    }

    .video-overlay-subtitle {
        max-width: 100%;
    }

    .video-container::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .header-container {
        min-height: 500px;
    }

    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.75rem;
    }
}
