.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    min-height: 70vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: grayscale(0.8);
    z-index: 0;
}





.hero-content {
    position: relative;
    z-index: 2;
    display:flex;
    justify-content: center;
}

.hero-audio {
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.hero-audio:hover {
    background: #f5f0e6;
    transform: translateY(-2px);
}

.hero-audio:focus-visible {
    outline: 3px solid #f5f0e6;
    outline-offset: 3px;
}

.hero-audio-icon {
    width: 1.4rem;
    height: 1.4rem;
}

/* Standaard gedempt: toon het "muted" icoon, verberg het "aan" icoon */
.hero-audio-icon-on {
    display: none;
}

.hero-audio.is-on .hero-audio-icon-muted {
    display: none;
}

.hero-audio.is-on .hero-audio-icon-on {
    display: block;
}

/* Pulse bij het laden: een paar keer een groene ring naar buiten om de
   aandacht te trekken. Stopt zodra iemand de knop gebruikt. */
@media (prefers-reduced-motion: no-preference) {
    .hero-audio {
        animation: hero-audio-pulse 1.5s ease-out 0.8s 3;
    }
}

.hero-audio.is-interacted {
    animation: none;
}

@keyframes hero-audio-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 143, 123, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(100, 143, 123, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 143, 123, 0);
    }
}

.hero-logo {

    width: min(600px, 62vh, 85vw);
    height: auto;
    display: block;


}

@media (max-width: 768px) {
    .hero {
        /* Geen horizontale padding zodat het logo tot de schermranden reikt */
        padding: 3rem 0;
        min-height: 70vh;
        border-radius: 0;
    }
    .hero-content {
        width: 100%;
    }
    .hero-logo {
        width: 100%;
    }
}