/* ==================================================================
   Hero subpagina's (partials/section-eyecatcher-detail.php)
   In lijn met de home-hero (css/hero-modern.css).
   ================================================================== */

main > section.hero.hd,
body section.banner.banner-detail.hd {
    position: relative;
    display: block;
    min-height: 0;
    margin-bottom: 0;
    padding: 0 !important;
    overflow: hidden;
    background-color: #141414 !important;
    color: #fff;
    isolation: isolate;
}

.hero.hd::before {
    display: none;
}

/* ---------- Foto + overlay ---------- */
.hd__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hd__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

.hd__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 16, 16, .92) 0%, rgba(16, 16, 16, .8) 40%, rgba(16, 16, 16, .35) 72%, rgba(16, 16, 16, .15) 100%),
        linear-gradient(0deg, rgba(16, 16, 16, .7) 0%, rgba(16, 16, 16, 0) 40%),
        linear-gradient(180deg, rgba(16, 16, 16, .45) 0%, rgba(16, 16, 16, 0) 25%);
}

/* ---------- Layout ---------- */
.hd__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2.5rem 3rem;
    min-height: clamp(520px, 72vh, 720px);
    padding-top: clamp(3rem, 6vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hd__content {
    align-self: center;
    max-width: 760px;
}

/* ---------- Tekst ---------- */
.hd__kicker {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Inter', var(--px-font-body);
    font-size: clamp(.8rem, 1.1vw, 1rem);
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hd__kicker .site-mark {
    width: .65rem;
    height: 1.7rem;
}

.hd .hd__title {
    margin: 0 0 1.25rem;
    color: #fff !important;
    font-family: var(--px-font-title);
    font-size: clamp(2.3rem, 5vw, 4.25rem);
    font-weight: 800 !important;
    letter-spacing: -.02em;
    line-height: 1.05;
    text-transform: none;
    text-wrap: balance;
}

.hd__text {
    max-width: 38rem;
    color: rgba(255, 255, 255, .84);
}

.hd .hd__text p {
    margin: 0;
    color: inherit;
    font-size: clamp(1rem, 1.15vw, 1.1rem) !important;
    line-height: 1.65 !important;
}

.hd .hd__text p + p {
    margin-top: .75rem;
}

/* eerste alinea iets nadrukkelijker, als "lead" */
.hd .hd__text p:first-child {
    color: #fff;
    font-size: clamp(1.05rem, 1.35vw, 1.22rem) !important;
    font-weight: 500 !important;
}

.hd__text a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--px-orange);
    text-underline-offset: 3px;
}

.hd__text strong {
    color: #fff;
    font-weight: 700;
}

.hd__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

/* ---------- Prijskaart ---------- */
.hd-price {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 230px;
    overflow: hidden;
    padding: 1.4rem 1.6rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background:
        radial-gradient(130% 120% at 100% 0%, rgba(255, 106, 0, .4) 0%, rgba(255, 106, 0, .06) 45%, transparent 65%),
        rgba(20, 20, 20, .55);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    isolation: isolate;
}

/* schuine strepen als merkaccent */
.hd-price::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -30%;
    right: -12%;
    width: 55%;
    height: 160%;
    background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .06) 0 12px, transparent 12px 30px);
    transform: skewX(-12deg);
}

.hd-price::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.6rem;
    width: 2.5rem;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--px-orange);
}

.hd-price__label {
    margin-bottom: .35rem;
    color: rgba(255, 255, 255, .72);
    font-family: 'Inter', var(--px-font-body);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hd-price__value {
    display: flex;
    align-items: flex-start;
    color: #fff;
    font-family: var(--px-font-title);
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1;
    white-space: nowrap;
}

.hd-price__cur {
    margin: .3rem .3rem 0 0;
    color: var(--px-orange);
    font-size: .5em;
}

.hd-price__note {
    margin-top: .8rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .65);
    font-family: 'Inter', var(--px-font-body);
    font-size: .82rem;
    line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hd__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hd-price {
        justify-self: start;
    }
}

@media (max-width: 575.98px) {
    .hd__inner {
        gap: 2rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hd__media::after {
        background:
            linear-gradient(180deg, rgba(16, 16, 16, .7) 0%, rgba(16, 16, 16, .82) 50%, rgba(16, 16, 16, .92) 100%);
    }

    .hd__actions {
        flex-direction: column;
    }

    .hd__actions .px-btn {
        width: 100%;
    }

    .hd-price {
        align-self: stretch;
        justify-self: stretch;
    }
}

/* ---------- Klassieke variant: cijfers onder de knoppen ---------- */
.hd .hd__title span {
    color: var(--px-orange);
}

.hd__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, auto));
    justify-content: start;
    gap: 1rem 3rem;
    margin: 2.75rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hd .hd-stat__number {
    margin: 0 0 .2rem;
    color: #fff !important;
    font-family: var(--px-font-title);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    line-height: 1;
}

.hd .hd-stat__label {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-family: 'Inter', var(--px-font-body);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 575.98px) {
    .hd__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.5rem;
    }
}
