/* =========================================
   4. BANNER SLIDER (HERO MET DOTS)
========================================= */

.banner-section-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.banner-slider {
    width: 1270px; /* ✅ 50px smaller dan 1320 zoals gevraagd */
    height: 320px;
    margin: 32px auto 40px;
    overflow: hidden; /* ✅ andere slides worden niet zichtbaar */
    border-radius: 26px;
    background: var(--beige);
    position: relative;
}

/* Track voor slides */
.banner-track {
    display: flex;
    height: 100%;
    width: calc(1270px * 3); /* ✅ voorkomt whitespace/lege slide bug (desktop) */
    transition: transform 0.45s ease;
}

.banner-slide {
    flex: 0 0 1270px; /* ✅ EXACT same width als de slider */
    height: 320px;
    padding: 30px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* Banner TEKST */
.banner-text h1 {
    font-size: 2.4rem;
    margin: 0 0 12px;
    line-height: 1.2;
    color: var(--dark-blue);
}

.banner-text p {
    margin: 0 0 18px;
    font-size: 1rem;
    max-width: 420px;
    opacity: 0.85;
    color: var(--dark-blue);
}

/* Placeholder image */
.banner-image-placeholder {
    width: 260px;
    height: 190px;
    border-radius: 24px;
    background: linear-gradient(135deg,#F7A64C,#B9E0C1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

/* CTA knop */
.banner-cta {
    display: inline-flex;
}

/* =========================================
   BANNER ARROWS — OUDE STIJL CIRKELS, 10px KLEINER
========================================= */

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;  /* ✅ 10px smaller dan 48px originele design */
    height: 38px;
    border-radius: 999px;
    border: 2px solid var(--dark-blue);
    background: var(--white);
    color: var(--dark-blue);
    cursor: pointer;
    font-size: 24px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.22s,color 0.22s,transform 0.12s,border-color 0.22s,box-shadow 0.2s;
}

/* Pijlen exact BUITEN banner */
.js-banner-prev  { left: -43px; }  /* ✅ netjes naast banner, niet er in */
.js-banner-next  { right: -43px; }

.banner-arrow:hover {
    background: var(--dark-green);
    color: var(--white);
    border-color: var(--dark-green);
    transform: translateY(-50%) scale(1.08);
    box-shadow: var(--shadow-soft);
}

/* =========================================
   BANNER DOTS (alles origineel gehouden)
========================================= */

.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(12,34,55,0.18);
    cursor: pointer;
}

/* Active dot */
.banner-dot--active {
    width: 22px;
    background: var(--dark-green);
}

/* =========================================
   USP TEGELS (volledig origineel gelaten)
========================================= */

.usp-row {
    display: flex;
    gap: 20px;
    margin: 24px 0 30px;
}

.usp,
.usp-tile {
    flex: 1;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
}

.usp-orange,
.usp-tile--orange {
    background: var(--orange);
    color: var(--dark-blue);
}

.usp-green,
.usp-tile--green {
    background: var(--light-green);
    color: var(--dark-blue);
}

.usp-beige,
.usp-tile--beige {
    background: var(--beige);
    color: var(--dark-blue);
}

/* =========================================
   RESPONSIVE OVERRIDES (EXACT ZO GELATEN!!)
   + FIX: mobiele banner niet stretchen/lekken
========================================= */

@media (max-width:1280px){
    .banner-arrow--left  { left: -40px; }
    .banner-arrow--right { right: -40px; }
}

/* ✅ Tablet/mobiel: we laten DESKTOP sizes intact, maar op <=1024 maken we slides 100% breed,
   zodat er niets “uitrekt” en er geen lege/verdwenen slides zijn. */
@media (max-width:1024px){

    .banner-section-wrapper{
        padding: 0 12px; /* kleine gutter zodat het netjes oogt */
        box-sizing: border-box;
    }

    .banner-slider{
        width: 100%;
        height: 380px; /* jouw originele breakpoint-height behouden */
        margin: 16px auto 24px;
        overflow: hidden;
        border-radius: 26px;
    }

    /* ❗ BELANGRIJK: op mobiel mag track NIET hard calc(1270*3) blijven.
       Dit voorkomt dat slides “verdwijnen” of onzichtbaar lijken. */
    .banner-track{
        width: 100%;
    }

    /* ❗ BELANGRIJK: slide is nu 100% van banner, niet 1270px */
    .banner-slide{
        flex: 0 0 100%;
        width: 100%;
        height: 380px;
        box-sizing: border-box;

        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        justify-content: flex-start;
    }

    .banner-text h1{
        font-size: 1.7rem;
    }

    .banner-text p{
        max-width: 100%;
    }

    .banner-image-placeholder{
        width: 100%;
        height: 190px; /* lijkt op jouw screenshot: image blok onder tekst */
        border-radius: 24px;
    }

    /* Pijlen mobiel weg zoals jij al had op 480, maar op tablet is dit ook meestal beter.
       Wil je ze wél op tablet? dan haal je deze 2 regels weg. */
    .banner-arrow{
        display: none !important;
    }
}

@media (max-width:900px){
    .banner-arrow--left  { left: -32px; }
    .banner-arrow--right { right: -32px; }
    .banner-slider{height:360px;}
    .banner-slide{height:360px;}
}

@media (max-width:720px){
    .banner-slider{height:340px;}
    .banner-slide{height:340px;}
}

@media (max-width:480px){
    .banner-arrow{display:none !important;}
    .banner-slider{height:300px;}
    .banner-slide{height:300px; padding: 20px;}
}
