/* ============================================================
   Noorderlicht Thema — main.css
   Alle custom stijlen voor Noorderlicht Houtwerk
   ============================================================ */


/* ─── 1. CSS CUSTOM PROPERTIES ──────────────────────────────────────────────── */

:root {
    /* Kleuren & fonts: primaire kleuren en lettertypes via Flatsome Customizer.
       Projectkleuren (taupe, gebroken-wit, wit, card-achtergronden) via
       Customizer → Extra CSS. */

    /* Typografie — grootteschaal */
    --tekst-xs:   0.75rem;
    --tekst-sm:   0.875rem;
    --tekst-base: 1rem;
    --tekst-lg:   1.25rem;
    --tekst-xl:   1.5rem;
    --tekst-2xl:  2rem;
    --tekst-3xl:  2.75rem;
    --tekst-4xl:  3.5rem;
    --tekst-5xl:  4.5rem;
    --tekst-6xl:  5rem;
    --tekst-7xl:  5.5rem;

    /* Witruimte */
    --ruimte-xs:  0.5rem;
    --ruimte-sm:  1rem;
    --ruimte-md:  2rem;
    --ruimte-lg:  4rem;
    --ruimte-xl:  6rem;
    --ruimte-2xl: 10rem;

    /* Overgangen */
    --overgang-snel:    0.2s ease;
    --overgang-normaal: 0.4s ease;
    --overgang-traag:   0.7s ease;
}


/* ─── 2. FLATSOME STANDAARDEN OVERSCHRIJVEN ──────────────────────────────────── */
body {
    /* background-color: var(--kleur-gebroken-wit); */
}
a {
    color: var(--fs-color-secondary);
    text-decoration: none;
    transition: color var(--overgang-snel);
}

a:hover {
    color: var(--primary-color);
}

/* Flatsome-specifieke container overschrijving */
#wrapper {
    background-color: var(--kleur-gebroken-wit) !important;
}


/* ─── 3. GLOBALE ELEMENTSTIJLEN ──────────────────────────────────────────────── */

/* Outline-knop (geen fill) */
.knop-outline {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: 1px solid currentColor;
    background: transparent;

    font-size: var(--tekst-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--overgang-snel), color var(--overgang-snel);
    text-decoration: none;
}

.knop-outline:hover {
    background: currentColor;
}

.knop-outline:hover span,
.knop-outline:hover {
    color: var(--kleur-gebroken-wit);
}

.knop-outline--licht {
    color: var(--kleur-wit);
    border-color: var(--kleur-wit);
}

.knop-outline--licht:hover {
    background: var(--kleur-wit);
    color: var(--kleur-zwart) !important;
}

.knop-outline--donker {
    color: var(--kleur-zwart);
    border-color: var(--kleur-zwart);
}

/* Sectietitel met gouden ornamentlijn */
.sectie-titel {

    font-size: var(--tekst-3xl);
    font-weight: 400;
    margin-bottom: var(--ruimte-md);
    position: relative;
    display: inline-block;
}

.sectie-titel::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--fs-color-secondary);
    margin-top: 0.75rem;
    transform-origin: left center;
    transform: scaleX(0);
    /* GSAP animeert dit naar scaleX(1) */
}

.sectie-ondertitel {
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--kleur-taupe);
    margin-bottom: var(--ruimte-xs);
}

/* ─── 4. HEADER SECTIE ─────────────────────────────────────────────────────────── */
#header {
    padding: 0 4em;
}

/* ─── 5. HERO SECTIE ─────────────────────────────────────────────────────────── */

.sectie-hero {
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 2em 4em 8em 4em;
    display: flex;
    overflow: hidden;

}
.hero-mask {

    justify-content: flex-start;
    width: 100%;
    height: 80vh;
    position: relative;
    left: auto;
    right: auto;
    overflow: hidden;
    display: flex;

}
.hero-achtergrond {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
        border-radius: 8px;
    width: auto;
    height: 100%;
    inset: 0%;
    overflow: hidden;
}

/* Donkere overlay voor leesbaarheid tekst */
.hero-achtergrond::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 26, 24, 0.35) 0%,
        rgba(30, 26, 24, 0.55) 100%
    );
}

.hero-inhoud {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1100px;
    padding: 0 var(--ruimte-md);
    margin: auto auto;
}

.hero-koptekst {
    font-family: "EB Garamond", serif;
    font-size: var(--tekst-5xl);
    font-weight: 400;
    color: var(--kleur-wit);
    line-height: 1;
    margin-bottom: var(--ruimte-sm);
    overflow: hidden;
}

/* Elke geanimeerde lijn in de hero-koptekst */
.hero-lijn {
    display: block;
    overflow: hidden;
}

.hero-lijn-inner {
    display: block;
    /* GSAP .from() stelt transform in via JS — geen CSS transform hier */
}

.hero-koptekst em {
    font-weight: 200;
    font-style: italic;
    font-family: "Raleway", serif;
    font-size: var(--tekst-4xl);

}
.hero-subtitel {
    font-size: var(--tekst-lg);
    font-weight: 300;
    color: rgba(253, 250, 247, 0.85);
    margin-bottom: var(--ruimte-lg);
    letter-spacing: 0.05em;
    opacity: 0;
    /* GSAP animeert opacity in */
}

.hero-knoppen {
    display: flex;
    gap: var(--ruimte-sm);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    /* GSAP animeert opacity in */
}

@media (max-width: 768px) {
    .sectie-hero {
        padding: 1em 1em 4em 1em;
    }
    .hero-mask {
        height: 50vh;
    }
    .hero-inhoud {
        padding: 3rem 1rem;
    }
    .hero-koptekst {
        font-size: var(--tekst-3xl);
    }
    .hero-koptekst em {
        font-size: var(--tekst-2xl);
    }
    .hero-subtitel {
        font-size: var(--tekst-base);
    }
}


/* ─── 6. INTRO SECTIE (50/50) ────────────────────────────────────────────────── */

.sectie-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.intro-tekst {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--ruimte-xl) var(--ruimte-lg);
    background: var(--kleur-gebroken-wit);
}

.intro-tekst p {
    font-family: inherit;
    font-size: var(--tekst-lg);
    font-weight: 300;
    line-height: 1.8;
    color: var(--kleur-taupe);
    margin-bottom: var(--ruimte-md);
}

.intro-diensten {
    list-style: none;
    margin: 0 0 var(--ruimte-md);
    padding: 0;
}

.intro-diensten li {
    font-family: inherit;
    font-size: var(--tekst-base);
    font-weight: 300;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(184, 146, 42, 0.2);
    padding-left: 1.5rem;
    position: relative;
    color: var(--primary-color);
}

.intro-diensten li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--fs-color-secondary);
    font-size: var(--tekst-sm);
}

.intro-beeld {
    overflow: hidden;
}

.intro-beeld img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.intro-beeld:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .sectie-intro {
        grid-template-columns: 1fr;
    }
    .intro-beeld {
        min-height: 400px;
    }
}


/* ─── 7. PROJECTEN PREVIEW SECTIE ────────────────────────────────────────────── */

.sectie-projecten-preview {
    padding: var(--ruimte-xl) var(--ruimte-md);
    margin: 0 auto;
    text-align: center;
}

.projecten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ruimte-sm);
    margin-top: var(--ruimte-lg);
}

.project-kaart {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.project-kaart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--overgang-traag);
}

.project-kaart:hover img {
    transform: scale(1.05);
}

/* Gouden overlay bij hover */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(184, 146, 42, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--overgang-normaal);
    padding: var(--ruimte-md);
}

.project-kaart:hover .project-overlay {
    opacity: 1;
}

.project-overlay-titel {
    font-family: inherit;
    font-size: var(--tekst-xl);
    color: var(--kleur-wit);
    font-weight: 400;
    text-align: center;
    margin-bottom: var(--ruimte-xs);
}

.project-overlay-categorie {
    font-family: inherit;
    font-size: var(--tekst-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(253, 250, 247, 0.8);
}

@media (max-width: 768px) {
    .projecten-grid {
        grid-template-columns: 1fr;
    }
}


/* ─── 8. WERKWIJZE SECTIE ────────────────────────────────────────────────────── */

.sectie-werkwijze {
    padding: var(--ruimte-xl) var(--ruimte-md);
    background: var(--kleur-wit);
    text-align: center;
}

.sectie-werkwijze .sectie-kop {
    max-width: 600px;
    margin: 0 auto var(--ruimte-lg);
}

.werkwijze-stappen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ruimte-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.werkwijze-stap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ruimte-sm);
}

.werkwijze-icoon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fs-color-secondary);
    margin-bottom: var(--ruimte-xs);
}

.werkwijze-icoon svg {
    width: 28px;
    height: 28px;
    stroke: var(--fs-color-secondary);
    fill: none;
    stroke-width: 1.5;
}

.werkwijze-stap-nummer {
    font-family: inherit;
    font-size: var(--tekst-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fs-color-secondary);
}

.werkwijze-stap-titel {
    font-family: inherit;
    font-size: var(--tekst-xl);
    font-weight: 400;
    color: var(--kleur-zwart);
    margin: 0;
}

.werkwijze-stap-tekst {
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 300;
    color: var(--kleur-taupe);
    line-height: 1.7;
    margin: 0;
}

/* Verbindingslijn tussen stappen */
.werkwijze-stappen::before {
    content: none; /* Op mobiel niet */
}

@media (min-width: 769px) {
    .werkwijze-stap {
        position: relative;
    }
    .werkwijze-stap:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 32px;
        right: -2rem;
        width: calc(var(--ruimte-lg) - 4rem);
        height: 1px;
        background: rgba(184, 146, 42, 0.3);
    }
}

@media (max-width: 768px) {
    .werkwijze-stappen {
        grid-template-columns: 1fr;
        gap: var(--ruimte-md);
    }
}


/* ─── 9. TESTIMONIAL SECTIE ──────────────────────────────────────────────────── */

.sectie-testimonial {
    padding: var(--ruimte-xl) var(--ruimte-md);
    background: var(--primary-color);
    text-align: center;
}

.testimonial-citaat {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--ruimte-lg);
    border-left: 3px solid var(--fs-color-secondary);
    text-align: left;
}

.testimonial-tekst {
    font-family: inherit;
    font-size: var(--tekst-2xl);
    font-weight: 400;
    color: var(--kleur-gebroken-wit);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: var(--ruimte-sm);
}

.testimonial-auteur {
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--fs-color-secondary);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .testimonial-tekst {
        font-size: var(--tekst-xl);
    }
}


/* ─── 10. NAVIGATIEBLOK SECTIE ───────────────────────────────────────────────── */

.sectie-nav-blok {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.nav-blok-kolom {
    padding: var(--ruimte-xl) var(--ruimte-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--ruimte-md);
}

.nav-blok-kolom:first-child {
    background: var(--kleur-gebroken-wit);
    border-right: 1px solid rgba(184, 146, 42, 0.2);
}

.nav-blok-kolom:last-child {
    background: var(--kleur-wit);
}

.nav-blok-koptekst {
    font-family: inherit;
    font-size: var(--tekst-2xl);
    font-weight: 400;
    color: var(--kleur-zwart);
    margin: 0;
}

.nav-blok-tekst {
    font-family: inherit;
    font-size: var(--tekst-base);
    font-weight: 300;
    color: var(--kleur-taupe);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .sectie-nav-blok {
        grid-template-columns: 1fr;
    }
    .nav-blok-kolom:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(184, 146, 42, 0.2);
    }
}


/* ─── 11. FOOTER ─────────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--kleur-zwart);
    padding: var(--ruimte-xl) var(--ruimte-md) var(--ruimte-md);
    color: var(--kleur-gebroken-wit);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ruimte-lg);
    padding-bottom: var(--ruimte-lg);
    border-bottom: 1px solid rgba(244, 237, 228, 0.1);
    margin-bottom: var(--ruimte-md);
}

.footer-kolom-titel {
    font-family: inherit;
    font-size: var(--tekst-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fs-color-secondary);
    margin-bottom: var(--ruimte-sm);
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 300;
    color: rgba(244, 237, 228, 0.7);
    text-decoration: none;
    transition: color var(--overgang-snel);
}

.footer-nav a:hover {
    color: var(--fs-color-secondary);
}

.footer-contact p,
.footer-contact address {
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 300;
    color: rgba(244, 237, 228, 0.7);
    line-height: 1.8;
    font-style: normal;
    margin: 0;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--ruimte-sm);
}

.footer-cta p {
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 300;
    color: rgba(244, 237, 228, 0.7);
    margin: 0;
    line-height: 1.7;
}

.footer-onderin {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: var(--tekst-xs);
    font-weight: 300;
    color: rgba(244, 237, 228, 0.4);
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--ruimte-md);
    }
    .footer-onderin {
        flex-direction: column;
        gap: var(--ruimte-xs);
        text-align: center;
    }
}


/* ─── 12. PAGINA OVER ONS ────────────────────────────────────────────────────── */

.over-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.over-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.over-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 26, 24, 0.4);
}

.over-hero-tekst {
    position: absolute;
    bottom: var(--ruimte-lg);
    left: var(--ruimte-lg);
    z-index: 1;
    color: var(--kleur-wit);
}

.over-inhoud {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--ruimte-xl) var(--ruimte-md);
}

.over-inhoud p {
    font-family: inherit;
    font-size: var(--tekst-lg);
    font-weight: 300;
    line-height: 1.9;
    color: var(--kleur-taupe);
    margin-bottom: var(--ruimte-md);
}

.team-portret {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ruimte-lg);
    margin-top: var(--ruimte-xl);
}

.team-lid img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    margin-bottom: var(--ruimte-sm);
    filter: grayscale(20%);
    transition: filter var(--overgang-normaal);
}

.team-lid:hover img {
    filter: grayscale(0%);
}

.team-lid-naam {
    font-family: inherit;
    font-size: var(--tekst-xl);
    font-weight: 400;
    color: var(--kleur-zwart);
    margin-bottom: 0.25rem;
}

.team-lid-functie {
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--fs-color-secondary);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .team-portret {
        grid-template-columns: 1fr;
    }
    .over-hero { height: 50vh; }
    .over-hero-tekst { bottom: 1.5rem; left: 1.5rem; right: 1.5rem; }
    .over-inhoud { padding: 3rem 1.5rem; }
    .over-inhoud p { font-size: 1rem; }
    .team-lid-naam { font-size: 1.25rem; }
}


/* ─── 13. PAGINA PROJECTEN ───────────────────────────────────────────────────── */

.projecten-pagina-kop {
    padding: calc(var(--ruimte-xl) + 80px) var(--ruimte-md) var(--ruimte-lg);
    text-align: center;
    background: var(--kleur-gebroken-wit);
}

.projecten-filter {
    display: flex;
    gap: var(--ruimte-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--ruimte-lg);
}

.filter-knop {
    font-family: inherit;
    font-size: var(--tekst-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--kleur-taupe);
    color: var(--kleur-taupe);
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: all var(--overgang-snel);
}

.filter-knop.actief,
.filter-knop:hover {
    background: var(--kleur-zwart);
    border-color: var(--kleur-zwart);
    color: var(--kleur-wit);
}

.projecten-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ruimte-sm);
    padding: 0 var(--ruimte-md) var(--ruimte-xl);
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .projecten-editorial-grid {
        grid-template-columns: 1fr;
    }
    .projecten-pagina-kop { padding: 2rem 1rem; }
    .projecten-filter { gap: 0.5rem; margin-bottom: 2rem; }
}


/* ─── 14. SINGLE PROJECT — Sobart-stijl ──────────────────────────────────────── */

.single-project-hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.single-project-hero-overlay {
    padding: 4em 4em 3em;
    background: linear-gradient(to top, rgba(30, 26, 24, 0.75) 0%, transparent 60%);
    width: 100%;
}

.single-project-titel {
    font-family: inherit;
    font-size: var(--tekst-5xl);
    color: var(--kleur-wit);
    font-weight: 400;
    margin: 0.2em 0 0;
}

.single-project-inhoud {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--ruimte-xl) var(--ruimte-md);
}

.single-project-beschrijving {
    font-family: inherit;
    font-size: var(--tekst-lg);
    font-weight: 300;
    line-height: 1.9;
    max-width: 720px;
    color: var(--kleur-taupe);
    margin-bottom: var(--ruimte-xl);
}

.single-project-galerij {
    columns: 2;
    gap: 1rem;
    margin-bottom: var(--ruimte-xl);
}

.single-project-galerij img {
    width: 100%;
    break-inside: avoid;
    margin-bottom: 1rem;
    display: block;
}

.single-project-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--kleur-lijn);
    padding-top: var(--ruimte-lg);
    margin-bottom: var(--ruimte-xl);
}

.spec-item span {
    font-family: inherit;
    font-size: var(--tekst-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--kleur-taupe);
    display: block;
    margin-bottom: 0.4em;
}

.spec-item strong {
    font-family: inherit;
    font-size: var(--tekst-xl);
    font-weight: 400;
    color: var(--kleur-donker);
}

.single-project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--kleur-lijn);
    padding-top: var(--ruimte-md);
    gap: 1rem;
}

.single-project-nav-link,
.single-project-nav-alle {
    font-family: inherit;
    font-size: var(--tekst-sm);
    color: var(--kleur-donker);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.single-project-nav-alle {
    opacity: 0.6;
}

@media (max-width: 767px) {
    .single-project-hero { height: 60vh; }
    .single-project-hero-overlay { padding: 2em 1.5em 2em; }
    .single-project-titel { font-size: var(--tekst-3xl); }
    .single-project-specs { grid-template-columns: repeat(2, 1fr); }
    .single-project-galerij { columns: 1; }
    .single-project-nav { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .single-project-inhoud { padding: 3rem 1.25rem; }
    .single-project-beschrijving { font-size: 1rem; margin-bottom: 3rem; }
    .spec-item strong { font-size: 1.125rem; }
}


/* ─── 15. PAGINA CONTACT ─────────────────────────────────────────────────────── */

.contact-pagina {
    padding: calc(var(--ruimte-xl) + 80px) var(--ruimte-md) var(--ruimte-xl);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ruimte-xl);
}

.contact-gegevens p,
.contact-gegevens address {
    font-family: inherit;
    font-size: var(--tekst-base);
    font-weight: 300;
    line-height: 1.9;
    color: var(--kleur-taupe);
    font-style: normal;
    margin-bottom: var(--ruimte-sm);
}

/* CF7 basisstijl */
.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(107, 94, 88, 0.4);
    padding: 0.75rem 0;
    font-family: inherit;
    font-size: var(--tekst-base);
    font-weight: 300;
    color: var(--kleur-zwart);
    outline: none;
    transition: border-color var(--overgang-snel);
    margin-bottom: var(--ruimte-sm);
    display: block;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-bottom-color: var(--fs-color-secondary);
}

.wpcf7 textarea {
    resize: vertical;
    min-height: 150px;
}

.wpcf7 input[type="submit"] {
    width: auto;
    border: 1px solid var(--kleur-zwart);
    border-bottom: 1px solid var(--kleur-zwart);
    padding: 0.875rem 2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: var(--tekst-sm);
    cursor: pointer;
    transition: background var(--overgang-snel), color var(--overgang-snel);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--kleur-zwart);
    color: var(--kleur-wit);
}

@media (max-width: 768px) {
    .contact-pagina {
        grid-template-columns: 1fr;
        gap: var(--ruimte-lg);
        padding-top: 3rem;
    }
}


/* ─── 16. ANIMATIE INITIAALSTATEN ────────────────────────────────────────────── */
/* Elementen die GSAP gaat animeren starten onzichtbaar/verschoven */

.animeer-bij-scroll {
    opacity: 0;
    transform: translateY(40px);
    /* GSAP ScrollTrigger animeert naar opacity:1, translateY:0 */
}


/* ─── 17. PREFERS-REDUCED-MOTION ─────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .animeer-bij-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-lijn-inner {
        transform: none !important;
    }

    .hero-label,
    .hero-knoppen {
        opacity: 1 !important;
    }

    .sectie-titel::after {
        transform: scaleX(1) !important;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* ─── 18. PILL KNOPPEN ────────────────────────────────────────────────────────── */

.knop-pill {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: var(--tekst-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--overgang-snel), color var(--overgang-snel),
                border-color var(--overgang-snel);
}

/* Op donkere achtergrond — witte rand, witte tekst */
.knop-pill--wit-outline {
    color: var(--kleur-wit);
    border-color: rgba(253, 250, 247, 0.6);
    background: transparent;
}

.knop-pill--wit-outline:hover {
    background: var(--kleur-wit);
    color: var(--kleur-zwart);
    border-color: var(--kleur-wit);
}

/* Op lichte achtergrond — donkere rand, donkere tekst */
.knop-pill--donker-outline {
    color: var(--kleur-zwart);
    border-color: var(--kleur-zwart);
    background: transparent;
}

.knop-pill--donker-outline:hover {
    background: var(--kleur-zwart);
    color: var(--kleur-wit);
}

/* Gevuld donker — voor projecten-spacer en andere lichte secties */
.knop-pill--donker {
    color: var(--kleur-wit);
    background: var(--kleur-zwart);
    border-color: var(--kleur-zwart);
}

.knop-pill--donker:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Gevuld wit — voor CTA donker sectie */
.knop-pill--wit {
    color: var(--kleur-zwart);
    background: var(--kleur-wit);
    border-color: var(--kleur-wit);
}

.knop-pill--wit:hover {
    background: transparent;
    color: var(--kleur-wit);
}


/* ─── 19. HERO AANPASSINGEN (label + scroll indicator) ───────────────────────── */

/* Klein label onder de headline */
.hero-label {
    font-family: inherit;
    font-size: var(--tekst-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: white;
    margin-bottom: var(--ruimte-md);
    opacity: 0;
    /* GSAP animeert opacity in */
}

/* Scroll-indicator pijl onderaan de hero */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--ruimte-md);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(253, 250, 247, 0.5);
    transition: color var(--overgang-snel);
    z-index: 1;
    text-decoration: none;
}

.hero-scroll-indicator:hover {
    color: var(--kleur-wit);
}

.hero-scroll-indicator svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    display: block;
    animation: hsi-bounce 2s ease-in-out infinite;
}

@keyframes hsi-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(7px); }
}


/* ─── 20. SECTIE OVER (2-koloms groot tekstblok) ─────────────────────────────── */

.sectie-over {
    /* grid-template-columns: 3fr 2fr;
    gap: var(--ruimte-xl);
    padding: var(--ruimte-xl) var(--ruimte-lg);
    align-items: center;
    background: var(--kleur-gebroken-wit); */

        grid-column-gap: 5em;
    grid-row-gap: 5em;
    flex-direction: column;
    padding-left: 10em;
    padding-right: 10em;
    display: flex;
    padding-bottom: 12em;
    padding-top: 4em;
}

.over-koptekst-groot {
    /* font-family: inherit;
    font-size: clamp(2rem, 4.5vw, 4.5rem);*/
    font-weight: 400; 
    line-height: 1.1;
    margin: 0;
    font-family: "EB Garamond", serif;
    font-size: 4em;
}

.over-koptekst-groot em {
    font-style: italic;
    display: block;
    font-weight: 200;
    font-family: "Raleway", serif;
    font-size: 50px;
    color: #a75233
}

.over-inhoud-tekst {
    /* display: flex;
    flex-direction: column;
    gap: var(--ruimte-md);
    align-items: flex-start; */
        max-width: 37em;
    margin-left: auto;
}

.over-inhoud-tekst p {
    font-family: inherit;
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.9;
    color: var(--kleur-taupe);
    margin: 0;
    margin-bottom: 1em;
}

@media (max-width: 900px) {
    .sectie-over {
        grid-template-columns: 1fr;
        padding: var(--ruimte-lg) var(--ruimte-md);
    }
}

@media (max-width: 768px) {
    .sectie-over { padding: 2.5em 1.5em 4em 1.5em; }
    .over-koptekst-groot { font-size: 2.25em; }
    .over-koptekst-groot em { font-size: 28px; }
    .over-inhoud-tekst p { font-size: 1em; }
}


/* ── Flatsome override: html overflow-x:hidden breekt position:sticky.
   clip knipt horizontaal af maar maakt geen nieuwe scroll-container. ── */
html { overflow-x: clip !important; }

/* ── SECTIE DIENSTEN — section-cards sticky scroll (Sobart exact) ───── */

/* Flatsome .container neutraliseren — staat niet in Sobart HTML */
.section-cards > .container {
    height: 100%;
    max-width: none;
  padding: 0 4em;
    width: 100%;
    overflow: visible;
}

.sticky-viewbox { justify-content: center; align-items: center; width: 100%; height: 80vh; display: flex; position: sticky; overflow: hidden; }
/* Nav-offset voor sticky-viewbox: plakt direct onder de vaste header */
.sticky-viewbox {
    top: 10vh; /* Dit moet blijven staan, altijd 10vh onder de bovenkant van het scherm, ook bij scrollen. */
    transition: top 0.35s ease;
}
.cards-wrapper { border-radius: 8px; width: 100%; height: 80vh; display: flex; overflow: hidden; }
.card-half { width: 50%; height: 301%; }
.card-half.right, .card-half.left { flex-direction: column; flex: 1; display: flex; }
.card-slide { flex-direction: column; width: 100%; height: 100%; display: flex; position: relative; }
.card-slide.hide, .card-image-mobile { display: none; }
.slide-content { color: #674113; background-color: var(--color-card-1); flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 7.5em; display: flex; }
.slide-content.blue { background-color: #344755; justify-content: space-between; }
.slide-content.cream { color: #674113; background-color: #d9cac0; }
.slide-content.brown { background-color: #2e2e2e; justify-content: space-between; }
.card-eyebrow { grid-column-gap: .5em; grid-row-gap: .5em; align-items: center; margin-bottom: 2em; display: flex; }
.eyebrow-icon { width: 1.4em; }
.card-text { grid-column-gap: 1.5em; grid-row-gap: 1.5em; flex-direction: column; display: flex; }
.cards-scroller { height: 600vh; position: relative; }
.small-title { text-transform: uppercase; font-family: Twkeverett web, sans-serif; font-size: 1.1em; font-weight: 400; }
.card-image { object-fit: cover; width: 100%; height: 100%; position: absolute; inset: 0%; }
.section-cards { padding-top: 0; padding-bottom: 0; position: relative; }
.section-cards._100vh { height: 100vh; position: relative; }
.section-cards.sticky-chnage { height: 300vh; position: relative; }
.section-cards.bg-grey { background-color: #f2f2f2; }
.section-cards.blue { z-index: 0; background-color: #0000; position: static; }
.section-cards.white { z-index: -2; position: static; }
.section-cards.contact { height: 100vh; }
.title-2-intro { text-align: center; justify-content: center; align-items: center; display: flex; }
.title-2-intro.left-align { text-align: left; justify-content: flex-start; }
.projects-scroll-collection-wrapper { padding-top: 7em; }
.featured-case-wrapper { border-radius: 8px; flex-direction: column; justify-content: flex-end; align-items: stretch; padding-top: 40%; padding-bottom: 2em; text-decoration: none; display: flex; position: relative; overflow: hidden; }

.slide-content h3 {     font-family: "EB Garamond", serif; font-size: var(--tekst-4xl); font-weight: 400; line-height: 1.1; margin: 0; }
.slide-content h3 em{
    font-style: italic;

    font-weight: 200;
    font-family: "Raleway", serif;
    font-size: 0.9em;
    color: #a75233
}
.slide-content p {
    font-size: 20px;
    margin-bottom: 2.5em
}

@media screen and (max-width: 767px) {
    .section-cards > .container { padding: 0; }
    .cards-scroller   { height: auto; position: static; }
    .sticky-viewbox   { position: static; height: auto; overflow: visible; display: block; }
    .cards-wrapper    { height: auto; flex-direction: column; overflow: visible; border-radius: 0; }
    .card-half        { width: 100%; height: auto; }
    .card-half.right  { display: none; }
    .card-image-mobile { width: 100%; height: 30em; display: block; }
    .card-image-mobile img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .card-slide       { height: auto; }
    .slide-content    { height: auto; padding: 1.5em; }
    .slide-content h3 { font-size: var(--tekst-xl); }
    .slide-content p  { font-size: 0.95rem; }
}
/* ─── 22. SECTIE PROJECTEN GESTAPELD ─────────────────────────────────────────── */

.sectie-projecten-gestapeld {
    display: flex;
    flex-direction: column;
    padding: 12em 4em 4em 4em;
        grid-row-gap: 4em;
}
.projecten-koptekst {
        margin: 0 auto;

}
    
    .projecten-koptekst-groot {

    font-size: 4.5em;
    font-weight: 400;
    line-height: 1.1;
    color: #674113;
    padding: 0 0 1em 0;
}
.projecten-koptekst-groot em{
    font-style: italic;
   
    font-weight: 200;
    font-family: "Raleway", serif;
    font-size: 0.9em;
    color: #a75233
}
.project-gestapeld-item {
    position: relative;
    height: 700px;
    min-height: 450px;
    overflow: hidden;
    cursor: pointer;
     border-radius: 8px;
    width: auto;
    inset: 0%;
    overflow: hidden;
}

.project-gestapeld-item img {
    width: 100%;
    height: 140%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: -20%;
    left: 0;
    will-change: transform;
    transition: none;
}

.project-gestapeld-item:hover img {
    transform: scale(1.02);
}

.project-gestapeld-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: var(--ruimte-md) var(--ruimte-lg);
    background: linear-gradient(
        to top,
        rgba(30, 26, 24, 0.55) 0%,
        transparent 45%
    );
}

.project-gestapeld-naam,
.project-gestapeld-nummer {

    font-size: var(--tekst-2xl);
    font-weight: 400;
    color: var(--kleur-wit);
    line-height: 1;
}

.projecten-meer-sectie {
    padding: var(--ruimte-xl) var(--ruimte-md);
    background: var(--kleur-gebroken-wit);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .project-gestapeld-item {
        height: 60vw;
        min-height: 280px;
    }

    .project-gestapeld-naam,
    .project-gestapeld-nummer {
        font-size: var(--tekst-lg);
    }

    .project-gestapeld-overlay {
        padding: var(--ruimte-sm) var(--ruimte-md);
    }

    .sectie-projecten-gestapeld { padding: 4em 1em 3em 1em; }
    .projecten-koptekst-groot { font-size: 2.25em; }
}

/* Link-wrapper: gedraagt zich als block element */
a.project-gestapeld-item {
    display: block;
    text-decoration: none;
}

/* Info-kolom links in overlay (titel + categorie gestapeld) */
.project-gestapeld-info {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

/* Categorielabel in overlay */
.project-gestapeld-categorie {

    font-size: var(--tekst-sm);
    color: rgba(253, 250, 247, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Overzichtspagina: minder top-padding dan homepage */
.sectie-projecten-gestapeld--overzicht {
    padding-top: 6em;
}


/* ─── 23. SECTIE CTA DONKER ──────────────────────────────────────────────────── */

.sectie-cta-donker {
    position: relative;
    background-color: var(--kleur-zwart);
    padding: var(--ruimte-2xl) var(--ruimte-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Subtiel diagonaal patroon als achtergrondtextuur */
.sectie-cta-donker::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.025) 0px,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 80px
    );
    pointer-events: none;
}

.cta-inhoud {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ruimte-lg);
}

.cta-koptekst {

    font-size: clamp(2rem, 5vw, var(--tekst-4xl));
    font-weight: 400;
    line-height: 1.2;
    color: var(--kleur-gebroken-wit);
    margin: 0;
}

.cta-koptekst em {
    font-style: italic;
    display: block;
    color: rgba(244, 237, 228, 0.75);
}

@media (max-width: 768px) {
    .sectie-cta-donker { padding: 4rem 1.5rem; }
    .cta-koptekst {
        font-size: var(--tekst-2xl);
    }
}
