/* Hero Section CSS - Thai4 System */
/* Vollständiges Hero mit Video/Bild + Overlay (ohne Ticker) */

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    display: block;
}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Controls verstecken aber bei Hover anzeigen */
.hero-video-element::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video-element:hover::-webkit-media-controls {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    /* Kein Hintergrund für das gesamte Overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-text-container {
    background: rgba(255, 255, 255, 0.3);
    /* Gleiche Transparenz wie Navigation */
    border-radius: 100px;
    border: 2px solid var(--thai-beige);
    /* Noch rundere Ecken */
    padding: 2rem 3rem;
    box-shadow: var(--shadow-card);
    /* Leichter Schatten */
    backdrop-filter: var(--nav-main-back-blur);
    /* Gleicher Blur wie Navigation */
    /* Animation - Container erscheint zuerst */
    opacity: 0;
    animation: fadeInScale 1s ease-out forwards;
    animation-delay: 0s;
}

.hero-overlay h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.2;
    color: var(--thai-dark-green);
    margin-top: 0;
    /* Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-overlay p {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 0;
    font-style: italic;
    color: var(--thai-dark-green);
    /* Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

.hero-text-img {
    height: 180px;
    display: block;
    margin: 1rem auto;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1.5rem 0;
    /* Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        height: 85vh;
    }

    .hero-overlay {
        padding: 1.5rem;
    }

    .hero-text-img {
        height: 120px;
    }

    .hero-logo-container {
        margin: 1rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }

    .hero-overlay {
        padding: 1rem;
    }

    .hero-text-img {
        height: 80px;
    }

    .hero-logo-container {
        margin: 0.8rem 0;
    }
}