
/* ============= */
/* HERO GENERAL  */
/* ============= */
.hero-general {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    overflow: hidden;

    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    --header-h: 67px;

    height: clamp(40vh, 20vh + 10vw, 60vh);
    min-height: 380px;
    max-height: 560px;
}

.hero-general::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(55, 82, 72, 0.7),
            rgba(55, 82, 72, 0.2));
}

/* Inhoud centreren */
.hero-general__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* altijd verticaal in het midden */
    text-align: center;
    padding: 0 16px;
}

/* Titel */
.hero-general__title {
    margin-bottom: 8px;
    color: #fff;
    font-family: "Cinzel Decorative", serif;
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw + 0.5rem, 4.6rem);
    line-height: 1.2;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
}

/* Subtitel */
.hero-general__subtitle {
    margin: 0;
    color: #f5f8f0;
    font-family: "Fauna One", serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw + 0.2rem, 1.6rem);
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* ============= */
/* RESPONSIVE    */
/* ============= */

/* Tablet (tot 992px) */
@media (max-width: 992px) {
    .hero-general {
        height: clamp(36vh, 25vh + 8vw, 48vh);
        min-height: 320px;
        max-height: 480px;
    }

    .hero-general__title {
        font-size: clamp(1.8rem, 4vw + 0.4rem, 3.2rem);
    }

    .hero-general__subtitle {
        font-size: clamp(1rem, 1.6vw + 0.2rem, 1.3rem);
    }
}

/* Mobiel (tot 600px) */
@media (max-width: 600px) {
    .hero-general {
        height: auto;
        /* geen vaste hoogte meer */
        min-height: 280px;
        padding: 60px 0 40px;
        /* ruimte voor header + lucht onder */
    }

    .hero-general__inner {
        justify-content: flex-end;
        /* tekst meer naar onder */
        padding: 0 12px;
    }

    .hero-general__title {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .hero-general__subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
}