/* ========================================
   CTA
======================================== */

.cta {
    position: relative;

    /*
       CTA-visual steekt omhoog
       over het Projecten-blok.
    */
    margin: -28px 0 0;

    min-height: 520px;

    overflow: hidden;

    border-radius:
        50% 50% 0 0 /
        28px 28px 0 0;

    background: #ffffff;

    z-index: 4;
}


/* ========================================
   GEEN LOSSE BOVENGOLF
======================================== */

.cta::before {
    display: none;
}


/* ========================================
   CTA ACHTERGROND
======================================== */

.cta-achtergrond {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    z-index: 1;
}


/* ========================================
   LICHTE OVERGANG VOOR TEKST
======================================== */

.cta-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.96) 25%,
            rgba(255, 255, 255, 0.90) 55%,
            rgba(255, 255, 255, 0.62) 72%,
            rgba(255, 255, 255, 0.20) 86%,
            rgba(255, 255, 255, 0) 100%
        );

    pointer-events: none;
}


/* ========================================
   CTA INHOUD
======================================== */

.cta-inhoud {
    position: relative;

    z-index: 3;

    min-height: 520px;

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    gap: 70px;

    align-items: center;

    padding-top: 72px;
    padding-bottom: 72px;
}


/* ========================================
   CTA TEKST LINKS
======================================== */

.cta-tekst {
    max-width: 620px;

    padding: 22px 26px;

    border-left: 3px solid var(--wespi-goud);

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.07);
}

.cta .sectie-bovenkop {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 14px;

    color: #222222;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.cta .sectie-bovenkop::after {
    content: "";

    width: 42px;
    height: 3px;

    background: var(--wespi-goud);
}

.cta h2 {
    margin: 0;

    color: var(--wespi-zwart);

    font-size:
        clamp(44px, 4.7vw, 58px);

    line-height: 0.98;

    letter-spacing: -2px;
}

.cta h2 span {
    color: var(--wespi-goud-donker);
}

.cta-tekst p {
    max-width: 540px;

    margin: 23px 0 0;

    color: #464646;

    font-size: 16px;
    line-height: 1.7;
}


/* ========================================
   CONTACTPANEEL
======================================== */

.cta-contact {
    position: relative;

    max-width: 460px;

    margin-left: auto;

    padding: 38px 38px 34px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--wespi-goud-licht) 0%,
            var(--wespi-goud) 52%,
            var(--wespi-goud-donker) 100%
        );

    color: var(--wespi-zwart);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.18);
}

.cta-contact-label {
    display: block;

    margin-bottom: 12px;

    color:
        rgba(0, 0, 0, 0.68);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 1.5px;
}

.cta-contact h3 {
    margin: 0;

    color: var(--wespi-zwart);

    font-size: 33px;
    line-height: 1.04;

    letter-spacing: -1px;
}

.cta-contact p {
    margin: 18px 0 0;

    color:
        rgba(0, 0, 0, 0.72);

    font-size: 14px;
    line-height: 1.6;
}


/* ========================================
   CTA KNOP
======================================== */

.cta-hoofdknop {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 27px;

    padding: 0 20px;

    border-radius: 6px;

    background: #1d1b17;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.cta-hoofdknop span {
    color: var(--wespi-goud);
}

.cta-hoofdknop:hover {
    transform:
        translateY(-2px);

    background: #000000;
}


/* ========================================
   CTA MAIL
======================================== */

.cta-mail {
    display: block;

    width: fit-content;

    margin-top: 14px;

    color:
        rgba(0, 0, 0, 0.72);

    font-size: 13px;
    font-weight: 700;

    transition:
        color 0.2s ease;
}

.cta-mail:hover {
    color: #000000;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    position: relative;

    margin-top: -18px;

    padding: 46px 0 24px;

    overflow: visible;

    /*
       Eén volledig egale kleur.
    */
    background: #716d63;

    color: #ffffff;

    z-index: 5;
}


/* ========================================
   GLOOIENDE BOVENRAND FOOTER
======================================== */

.footer-golf {
    position: absolute;

    top: -25px;
    left: 50%;

    width: 112%;
    height: 50px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background: #716d63;

    z-index: 1;

    pointer-events: none;
}


/* ========================================
   GEEN EXTRA KLEURVLAK IN FOOTER
======================================== */

.site-footer::before {
    display: none;
}


/* ========================================
   FOOTER GRID
======================================== */

.footer-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));

    gap: clamp(20px, 3vw, 40px);
}


/* ========================================
   MERK
======================================== */

.footer-merk {
    max-width: 280px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    width: 145px;
    height: auto;
}

.footer-merk p {
    margin: 22px 0 0;

    color:
        rgba(255, 255, 255, 0.74);

    font-size: 14px;
    line-height: 1.6;
}


/* ========================================
   FOOTER KOLOMMEN
======================================== */

.footer-kolom {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-kolom strong {
    margin-bottom: 6px;

    color: var(--wespi-goud);

    font-size: 13px;
    font-weight: 850;

    letter-spacing: 0.5px;
}

.footer-kolom a {
    color:
        rgba(255, 255, 255, 0.78);

    font-size: 13px;
    line-height: 1.4;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-kolom a:hover {
    color: #ffffff;

    transform:
        translateX(2px);
}


/* ========================================
   ONDERKANT
======================================== */

.footer-onderkant {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 50px;

    padding-top: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.14);

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 12px;
}

.footer-onderkant > div {
    display: flex;
    flex-wrap: wrap;

    gap: 22px;
}

.footer-onderkant a {
    transition:
        color 0.2s ease;
}

.footer-onderkant a:hover {
    color: #ffffff;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .cta {
        margin-top: -24px;

        border-radius:
            50% 50% 0 0 /
            24px 24px 0 0;
    }

    .cta-inhoud {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-top: 70px;
        padding-bottom: 75px;
    }

    .cta-contact {
        width: min(100%, 520px);

        margin-left: 0;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 32px;
    }

    .footer-merk {
        grid-column: 1 / -1;
        max-width: none;
    }

    .footer-golf {
        top: -22px;

        width: 135%;
        height: 44px;
    }

}


/* ========================================
   MOBIEL
======================================== */

@media (max-width: 600px) {

    .cta {
        margin-top: -18px;

        border-radius:
            50% 50% 0 0 /
            18px 18px 0 0;
    }


    /*
       Op mobiel maken we het beeld achter
       de zwarte tekst veel rustiger.
    */
    .cta-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.99) 0%,
                rgba(255, 255, 255, 0.99) 50%,
                rgba(255, 255, 255, 0.96) 75%,
                rgba(255, 255, 255, 0.88) 100%
            );
    }


    .cta-inhoud {
        min-height: auto;

        padding-top: 60px;
        padding-bottom: 64px;
    }


    .cta-tekst {
        max-width: 100%;
    }


    .cta h2 {
        font-size: 39px;
    }


    .cta-tekst p {
        max-width: 100%;

        color: #303030;

        font-size: 14px;
    }


    .cta-contact {
        width: 100%;

        padding: 30px 25px 27px;
    }


    .cta-contact h3 {
        font-size: 29px;
    }


    .cta-hoofdknop {
        width: 100%;
    }


    .site-footer {
        margin-top: -14px;

        padding:
            42px 0 22px;
    }


    .footer-golf {
        top: -18px;

        width: 150%;
        height: 36px;
    }


    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 24px 20px;
    }

    .footer-merk {
        grid-column: 1;
        min-width: 0;
    }

    .footer-logo img {
        width: 110px;
    }

    .footer-merk p {
        margin-top: 8px;
        font-size: 13px;
    }

    .footer-contact {
        grid-column: 2;
        grid-row: 1;
    }

    .footer-kolom {
        gap: 8px;
    }


    .footer-onderkant {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;

        margin-top: 28px;
    }

}
/* ========================================
   FOOTER - TEKST ALTIJD LICHT
======================================== */

.site-footer,
.site-footer p,
.site-footer span,
.site-footer strong,
.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: var(--wespi-goud);
}

/* Leesbare tekst; bestaande merkvlakken blijven ongewijzigd. */
.cta h2 span { color: #755b0a; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
