/* ==========================================================================
   TERRAVEC — Main stylesheet
   --------------------------------------------------------------------------
   Bevat: design tokens, layout primitives, nav, footer, en alle
   pagina-specifieke secties.

   Volgorde:
   1. Design tokens (CSS variables)
   2. Reset & base
   3. Shared layout primitives (.inner, .reveal)
   4. Navigation
   5. Buttons & links
   6. Page header (gedeeld)
   7. Home — hero, bento, why, syndicus, realisaties teaser, contact CTA
   8. Diensten — service blocks
   9. Realisaties — masonry, filters, lightbox
   10. Contact — form, map, FAQ
   11. Footer
   12. Responsive
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    --olive: #4a5530;
    --olive-deep: #353d22;
    --olive-soft: #6b7748;
    --cream: #f5f1e8;
    --cream-warm: #ede6d3;
    --ink: #1a1a17;
    --ink-soft: #3d3d38;
    --muted: #8a8676;
    --accent: #c4a661;
    --white: #fdfcf8;
    --max-width: 1200px;
    --gutter: 48px;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
/* Override Twenty Twenty-Five base — we voeren onze eigen typography */
body.terravec-page {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

body.terravec-page * {
    box-sizing: border-box;
}

/* Reset heading top-margins zodat eyebrow ↔ titel spacing voorspelbaar wordt.
   Browser default voegt ~30-40px top margin toe op h1/h2 wat onze eyebrow's
   margin-bottom overschaduwt. Bottom margins laten we via specifieke classes
   (.section-title, .faq-title, etc.) regelen.
   Note: WordPress/Twenty-Twenty-Five gebruikt logical properties (margin-block-start)
   die hogere specificity hebben dan margin-top in sommige browsers — beide resetten. */
body.terravec-page h1,
body.terravec-page h2,
body.terravec-page h3,
body.terravec-page h4,
body.terravec-page h5,
body.terravec-page h6 {
    margin-top: 0;
    margin-block-start: 0;
}

body.terravec-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

html { scroll-behavior: smooth; }

/* ==========================================================================
   2b. SITE IMAGES — terravec_img() output
   ========================================================================== */
.terravec-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}

/* Hero badge en overlays moeten boven de afbeelding zitten */
.hero-img .hero-badge,
.real-overlay,
.masonry-overlay,
.masonry-overlay-icon {
    z-index: 2;
}

/* Bestaande placeholder-divs verbergen zodra er een img staat */
.hero-img > .terravec-img + .hero-img-placeholder,
.hero-img .terravec-img ~ .hero-img-placeholder,
.real-card .terravec-img + .real-placeholder,
.real-card .terravec-img ~ .real-placeholder,
.service-visuals .terravec-img + .service-img-placeholder,
.service-visuals .terravec-img ~ .service-img-placeholder,
.masonry-img > .terravec-img + .masonry-img-placeholder,
.masonry-img .terravec-img ~ .masonry-img-placeholder {
    display: none;
}

/* Subtiele zoom-on-hover voor real-cards en masonry items */
.real-card .terravec-img,
.masonry-img .terravec-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.real-card:hover .terravec-img,
.masonry-item:hover .masonry-img .terravec-img {
    transform: scale(1.04);
}


/* ==========================================================================
   3. SHARED LAYOUT PRIMITIVES
   ========================================================================== */
.terravec-page .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
.terravec-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(245, 241, 232, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 85, 48, 0.08);
}
.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px var(--gutter);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.nav-cta-center { display: flex; justify-content: center; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 32px; }

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.terravec-logo {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
}

/* Nav logo — op cream achtergrond, olive SVG */
.terravec-logo--nav {
    height: 64px;
}

/* Footer logo — op olive achtergrond, cream SVG */
.terravec-logo--footer {
    height: 80px;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
    position: relative; transition: color 0.2s;
}
.nav-links a.active { color: var(--olive); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 1px; background: var(--olive);
}
.nav-links a:not(.active)::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--olive);
    transition: width 0.3s ease;
}
.nav-links a:not(.active):hover::after { width: 100%; }

.lang-switch {
    display: flex; gap: 4px; font-size: 12px;
    border: 1px solid rgba(74, 85, 48, 0.2); border-radius: 100px; padding: 4px;
    list-style: none;
    margin: 0;
}
.lang-switch ul {
    display: flex; gap: 4px;
    list-style: none; padding: 0; margin: 0;
}
.lang-switch li {
    list-style: none; padding: 0; margin: 0;
}
.lang-switch a, .lang-switch button {
    background: none; border: none; padding: 4px 10px; cursor: pointer;
    border-radius: 100px; font-family: inherit; font-weight: 600; color: var(--ink-soft);
    transition: all 0.2s; text-decoration: none; display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
}
.lang-switch li.current-lang a,
.lang-switch a.active, .lang-switch button.active {
    background: var(--olive); color: var(--cream);
}
.lang-switch a:hover {
    color: var(--olive);
}
.lang-switch li.current-lang a:hover {
    color: var(--cream);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 200;
    position: relative;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation when menu is open */
.terravec-nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.terravec-nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}
.terravec-nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel — hidden by default, also on desktop */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 99;
    padding: 100px var(--gutter) 40px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body.menu-open { overflow: hidden; }

.terravec-nav.menu-open {
    background: var(--cream);
}

.mobile-menu-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 100%;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu-links a {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(74, 85, 48, 0.1);
    transition: color 0.2s, padding-left 0.2s;
    letter-spacing: -0.02em;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--olive);
    padding-left: 8px;
}
.mobile-menu-links a.active {
    font-style: italic;
}

.mobile-menu-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
}
.mobile-menu-actions .cta-btn {
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
}

.mobile-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(74, 85, 48, 0.1);
}
.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--ink-soft);
}
.mobile-menu-contact a {
    color: var(--olive);
    text-decoration: none;
    font-weight: 600;
}

/* Lang switch inside mobile menu — slightly larger */
.mobile-menu .lang-switch {
    align-self: flex-start;
}


/* ==========================================================================
   5. BUTTONS & LINKS
   ========================================================================== */
.cta-btn {
    background: var(--olive); color: var(--cream);
    padding: 12px 24px; border-radius: 100px; border: none;
    font-family: inherit; font-weight: 600; font-size: 14px;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s ease;
}
.cta-btn:hover {
    background: var(--olive-deep);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 85, 48, 0.25);
}
.cta-btn .arrow { transition: transform 0.3s; }
.cta-btn:hover .arrow { transform: translateX(4px); }


/* ==========================================================================
   6. PAGE HEADER (shared by all non-home pages)
   ========================================================================== */
.page-header { padding: 160px 0 16px; }
.page-header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}
.page-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--olive); margin-bottom: 16px;
    opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.page-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--olive); }

.page-header h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--ink);
    opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.page-header h1 em { font-style: italic; font-weight: 300; color: var(--olive); }

.page-header-intro {
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 460px;
    padding-bottom: 0;
    opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   7. HOME PAGE
   ========================================================================== */

/* ---- Hero ---- */
.hero { padding: 140px 0 80px; }
.hero-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--olive); margin-bottom: 16px; margin-top: 40px;
    opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--olive); }

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 4.4vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 32px;
}
.hero h1 .reveal-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--olive); }

.hero-sub {
    font-size: 18px; line-height: 1.6; color: var(--ink-soft);
    max-width: 520px; margin-bottom: 40px;
    opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-actions {
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.8s ease 1.1s forwards;
}
.hero-actions .secondary {
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px;
    padding: 12px 8px; border-bottom: 1px solid var(--ink);
}

.hero-visual {
    position: relative; height: 540px;
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; gap: 12px;
}
.hero-img {
    background: var(--olive-soft); border-radius: 16px;
    position: relative; overflow: hidden;
    opacity: 0; animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background-size: cover;
    background-position: center;
}
.hero-img-1 { grid-row: 1 / 3; animation-delay: 0.5s; background-color: var(--olive-soft); background-image: linear-gradient(135deg, #6b7748, #4a5530); }
.hero-img-2 { animation-delay: 0.7s; background-image: linear-gradient(135deg, #c4a661, #8a7340); }
.hero-img-3 { animation-delay: 0.9s; background-image: linear-gradient(135deg, #353d22, #1a1a17); }

.hero-img-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 12px;
}

.hero-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: var(--cream); padding: 16px 20px; border-radius: 12px;
    display: flex; align-items: center; gap: 12px;
    opacity: 0; animation: fadeUp 0.8s ease 1.4s forwards;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.hero-badge-num { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 500; color: var(--olive); line-height: 1; }
.hero-badge-label { font-size: 11px; line-height: 1.3; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ---- Trust ---- */
.trust {
    border-top: 1px solid rgba(74, 85, 48, 0.1);
    border-bottom: 1px solid rgba(74, 85, 48, 0.1);
}
.trust-inner {
    padding-top: 40px; padding-bottom: 40px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 32px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.trust-item svg { color: var(--olive); flex-shrink: 0; }

/* ---- Section base ---- */
.terravec-page section { padding: 120px 0; position: relative; }
.terravec-page section.page-header { padding: 160px 0 16px; }
.terravec-page section.stats-bar { padding: 0 0 24px; }
.terravec-page section.gallery-section { padding: 0 0 120px; }
.section-header { max-width: 800px; margin-bottom: 80px; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--olive); margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--olive); }
.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 400; line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--olive); }
.section-intro { font-size: 18px; color: var(--ink-soft); max-width: 600px; }

/* ---- Bento (Home diensten) ---- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
}
.bento-item {
    background: var(--white); border-radius: 20px; padding: 32px;
    position: relative; overflow: hidden; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(74, 85, 48, 0.08);
    display: flex; flex-direction: column; justify-content: space-between;
    text-decoration: none; color: inherit;
}
.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(74, 85, 48, 0.15);
}
.bento-1 { grid-column: span 3; grid-row: span 2; background: var(--olive); color: var(--cream); }
.bento-2 { grid-column: span 3; }
.bento-3 { grid-column: span 3; background: var(--cream-warm); }
.bento-4 { grid-column: span 2; }
.bento-5 { grid-column: span 2; background: var(--accent); color: var(--ink); }
.bento-6 { grid-column: span 2; background: var(--ink); color: var(--cream); }

.bento-num {
    font-family: 'Fraunces', serif; font-size: 13px; font-weight: 500;
    color: var(--olive); letter-spacing: 0.05em; margin-bottom: 24px;
}
.bento-1 .bento-num, .bento-6 .bento-num { color: var(--accent); }
.bento-5 .bento-num { color: var(--olive-deep); }

.bento-title {
    font-family: 'Fraunces', serif; font-size: 28px; font-weight: 500;
    line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 12px;
}
.bento-1 .bento-title { font-size: 42px; }
.bento-desc { font-size: 14px; line-height: 1.5; color: var(--ink-soft); opacity: 0.85; }
.bento-1 .bento-desc, .bento-6 .bento-desc { color: var(--cream); opacity: 0.75; }
.bento-5 .bento-desc { color: var(--olive-deep); opacity: 0.9; }

.bento-arrow {
    position: absolute; top: 32px; right: 32px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(74, 85, 48, 0.08);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; color: var(--olive);
}
.bento-item:hover .bento-arrow {
    background: var(--olive); color: var(--cream); transform: rotate(-45deg);
}
.bento-1 .bento-arrow, .bento-6 .bento-arrow { background: rgba(255,255,255,0.15); color: var(--cream); }
.bento-5 .bento-arrow { background: rgba(0,0,0,0.1); color: var(--olive-deep); }
.bento-5:hover .bento-arrow { background: var(--olive-deep); color: var(--accent); }

.bento-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.bento-tag {
    font-size: 11px; padding: 4px 10px; border-radius: 100px;
    background: rgba(74, 85, 48, 0.08); color: var(--olive); font-weight: 500;
}
.bento-1 .bento-tag { background: rgba(255,255,255,0.15); color: var(--cream); }

/* ---- Why (2x2) ---- */
.why { background: var(--cream-warm); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 60px;
}
.why-item { padding: 40px 32px; border-top: 1px solid rgba(74, 85, 48, 0.2); }
.why-item:nth-child(odd) { border-right: 1px solid rgba(74, 85, 48, 0.2); padding-left: 0; }
.why-item:nth-child(even) { padding-right: 0; }
.why-num { font-family: 'Fraunces', serif; font-size: 14px; color: var(--olive); margin-bottom: 24px; }
.why-title { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 500; line-height: 1.2; margin-bottom: 12px; }
.why-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ---- Syndicus block ---- */
.syndicus-wrap {
    background: var(--olive); color: var(--cream);
    border-radius: 32px; padding: 80px;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
    position: relative; overflow: hidden;
}
.syndicus-wrap::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(196, 166, 97, 0.15) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.syndicus-content { position: relative; z-index: 2; }
.syndicus-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--accent); margin-bottom: 16px;
}
.syndicus-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.syndicus-wrap h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 400; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.syndicus-wrap h2 em { font-style: italic; color: var(--accent); }
.syndicus-wrap p { font-size: 17px; line-height: 1.6; opacity: 0.85; margin-bottom: 20px; }

.syndicus-checklist { list-style: none; padding: 0; display: grid; gap: 16px; position: relative; z-index: 2; }
.syndicus-checklist li { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.syndicus-checklist .check-syn {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent); color: var(--olive-deep);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-weight: 700; font-size: 14px; line-height: 1;
}

/* ---- Realisaties teaser ---- */
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.real-card {
    aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
    position: relative; cursor: pointer; background: var(--olive-soft);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none; color: inherit;
    display: block;
}
.real-card:hover { transform: translateY(-6px); }
.real-card:nth-child(1) { background: linear-gradient(135deg, #6b7748, #353d22); }
.real-card:nth-child(2) { background: linear-gradient(135deg, #8a7340, #4a5530); }
.real-card:nth-child(3) { background: linear-gradient(135deg, #4a5530, #1a1a17); }
.real-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 32px; color: var(--cream); z-index: 2;
}
.real-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 8px; }
.real-title { font-family: 'Fraunces', serif; font-size: 22px; line-height: 1.1; }
.real-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.3); font-size: 12px; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 16px; text-align: center;
}

/* ---- Contact CTA ---- */
.contact-cta {
    background: var(--ink); color: var(--cream);
    position: relative; overflow: hidden;
    padding: 120px 0;
}
.contact-cta::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 1200px; height: 1200px;
    background: radial-gradient(circle, rgba(74, 85, 48, 0.3) 0%, transparent 60%);
    border-radius: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}
.contact-cta-inner { text-align: center; position: relative; z-index: 2; }
.contact-cta h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(40px, 5.2vw, 68px);
    font-weight: 400; line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 32px;
}
.contact-cta h2 em { font-style: italic; color: var(--accent); }
.contact-cta p { font-size: 18px; opacity: 0.8; max-width: 540px; margin: 0 auto 48px; }
.contact-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-cta .cta-btn { background: var(--accent); color: var(--olive-deep); }
.contact-cta .cta-btn:hover { background: var(--cream); color: var(--olive-deep); }
.contact-cta .secondary {
    color: var(--cream); text-decoration: none; font-weight: 500;
    padding: 12px 24px; border: 1px solid rgba(255,255,255,0.3); border-radius: 100px;
    transition: all 0.3s;
}
.contact-cta .secondary:hover { background: rgba(255,255,255,0.1); }


/* ==========================================================================
   8. DIENSTEN PAGE
   ========================================================================== */

.services { padding-bottom: 60px; }

.service-block {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-block.reverse .service-content { order: 2; }
.service-block.reverse .service-visuals { order: 1; }

.service-content { padding: 8px 0; }

.service-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--olive);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-icon-box svg { width: 36px; height: 36px; }

.service-block:hover .service-icon-box {
    transform: rotate(-6deg) scale(1.05);
}

.service-block.accent .service-icon-box {
    background: var(--accent);
    color: var(--olive-deep);
}

.service-num {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    color: var(--olive);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.service-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.service-title em { font-style: italic; font-weight: 300; color: var(--olive); }

.service-intro {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 32px;
    max-width: 480px;
}

.service-bullets {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 14px;
    margin-bottom: 36px;
}
.service-bullets li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    align-items: start;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.5;
}
.service-bullets .check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(74, 85, 48, 0.1);
    color: var(--olive);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.service-bullets .check svg { width: 12px; height: 12px; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
    transition: gap 0.3s;
}
.service-link:hover { gap: 14px; color: var(--ink); }
.service-link svg { width: 14px; height: 14px; }

/* Single image per block */
.service-visuals {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--olive-soft);
}

.service-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 24px;
}

/* Block-specific gradients (will be replaced by real images later) */
.service-block:nth-of-type(1) .service-visuals { background: linear-gradient(135deg, #6b7748, #4a5530); }
.service-block:nth-of-type(2) .service-visuals { background: linear-gradient(135deg, #8a7340, #4a5530); }
.service-block:nth-of-type(3) .service-visuals { background: linear-gradient(135deg, #c4a661, #6b7748); }


/* ==========================================================================
   9. REALISATIES PAGE
   ========================================================================== */

/* ---- Stats bar + filter chips ---- */
.stats-bar { padding: 0 0 0; }
.stats-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 16px;
    border-top: 1px solid rgba(74, 85, 48, 0.12);
}
.stats-count {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    color: var(--ink-soft);
}
.stats-count strong {
    font-weight: 500;
    color: var(--olive);
    font-size: 18px;
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-chip {
    background: none;
    border: 1px solid rgba(74, 85, 48, 0.2);
    border-radius: 100px;
    padding: 8px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.filter-chip:hover {
    border-color: var(--olive);
    color: var(--olive);
}
.filter-chip.active {
    background: var(--olive);
    color: var(--cream);
    border-color: var(--olive);
}
.filter-chip .count {
    font-size: 11px;
    opacity: 0.6;
    margin-left: 6px;
}
.filter-chip.active .count { opacity: 0.8; }

/* ---- Masonry gallery (CSS Grid + JS auto-rows) ---- */
.gallery-section { padding: 0 0 120px; }

.masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 10px;
    gap: 20px;
}

.masonry-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.masonry-item.hidden { display: none; }

.masonry-item.reveal { opacity: 0; transform: translateY(40px); }
.masonry-item.reveal.in { opacity: 1; transform: translateY(0); }

.masonry-img {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--olive-soft);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.masonry-item:hover .masonry-img { transform: scale(1.04); }

.masonry-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 16px;
}

/* Color variants per category */
.cat-schilder .masonry-img { background: linear-gradient(135deg, #6b7748, #4a5530); }
.cat-schilder:nth-of-type(odd) .masonry-img { background: linear-gradient(155deg, #4a5530, #353d22); }
.cat-renovatie .masonry-img { background: linear-gradient(135deg, #8a7340, #4a5530); }
.cat-renovatie:nth-of-type(odd) .masonry-img { background: linear-gradient(155deg, #c4a661, #6b7748); }
.cat-technisch .masonry-img { background: linear-gradient(135deg, #c4a661, #8a7340); }
.cat-technisch:nth-of-type(odd) .masonry-img { background: linear-gradient(155deg, #353d22, #1a1a17); }

/* Hover overlay */
.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 23, 0.85) 0%, rgba(26, 26, 23, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--cream);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }

.masonry-overlay-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(196, 166, 97, 0.95);
    color: var(--olive-deep);
    margin-bottom: 10px;
    width: fit-content;
}
.masonry-overlay-location {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.masonry-overlay-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--olive);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}
.masonry-item:hover .masonry-overlay-icon {
    transform: scale(1);
    opacity: 1;
}
.masonry-overlay-icon svg { width: 14px; height: 14px; }

.gallery-empty {
    text-align: center;
    padding: 80px 32px;
    color: var(--muted);
    font-size: 15px;
    display: none;
}
.gallery-empty.show { display: block; }

/* ---- Lightbox ---- */
body.lightbox-open { overflow: hidden; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 23, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 1000px;
    width: 100%;
    max-height: 100%;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: center;
}

.lightbox-image {
    aspect-ratio: 4/5;
    background: var(--olive-soft);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    max-height: calc(100vh - 80px);
}
.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.lightbox-info { color: var(--cream); }
.lightbox-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--accent);
    color: var(--olive-deep);
    margin-bottom: 20px;
}
.lightbox-location {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.lightbox-location em { font-style: italic; color: var(--accent); }
.lightbox-counter {
    font-size: 13px;
    color: rgba(245, 241, 232, 0.6);
    margin-bottom: 32px;
}

.lightbox-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}
.lightbox-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 241, 232, 0.1);
    border: 1px solid rgba(245, 241, 232, 0.2);
    color: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.lightbox-nav-btn:hover {
    background: var(--accent);
    color: var(--olive-deep);
    border-color: var(--accent);
}
.lightbox-nav-btn svg { width: 18px; height: 18px; }

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 241, 232, 0.1);
    border: 1px solid rgba(245, 241, 232, 0.2);
    color: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.lightbox-close:hover {
    background: var(--accent);
    color: var(--olive-deep);
    border-color: var(--accent);
    transform: rotate(90deg);
}
.lightbox-close svg { width: 18px; height: 18px; }


/* ==========================================================================
   10. CONTACT PAGE
   ========================================================================== */

/* ---- Contact grid (info + form) ---- */
.contact-section { padding: 40px 0 120px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

/* Left: info column */
.contact-info {
    position: sticky;
    top: 120px;
}

.contact-block {
    padding: 28px 0;
    border-bottom: 1px solid rgba(74, 85, 48, 0.15);
}
.contact-block:first-child { padding-top: 0; }
.contact-block:last-child { border-bottom: none; }

.contact-block-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 12px;
}

.contact-phone {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 400;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-block;
    transition: color 0.2s;
}
.contact-phone:hover { color: var(--olive); }

.contact-email {
    font-size: 18px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.2s;
}
.contact-email:hover { color: var(--olive); }

.contact-address {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.contact-hours {
    display: grid;
    gap: 6px;
    font-size: 14px;
    color: var(--ink-soft);
}
.contact-hours div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}
.contact-hours span:last-child { color: var(--ink); font-weight: 500; }

/* Right: form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(74, 85, 48, 0.08);
}

.contact-form-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 2.8vw, 36px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.contact-form-title em { font-style: italic; color: var(--olive); }

.contact-form-sub {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.contact-form { display: grid; gap: 20px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field { display: grid; gap: 8px; }

.form-field label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid rgba(74, 85, 48, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--olive);
    background: var(--white);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5530' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px;
}

.form-submit {
    margin-top: 8px;
    justify-self: start;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}
.form-submit:disabled:hover {
    transform: none;
    box-shadow: none;
    background: var(--olive);
}

.form-disclaimer {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

/* Form feedback (after submit) */
.form-feedback {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    display: none;
}
.form-feedback.success {
    display: block;
    background: rgba(74, 85, 48, 0.1);
    color: var(--olive);
    border: 1px solid rgba(74, 85, 48, 0.2);
}
.form-feedback.error {
    display: block;
    background: rgba(196, 70, 70, 0.1);
    color: #c44646;
    border: 1px solid rgba(196, 70, 70, 0.2);
}

/* ---- Map section ---- */
.map-section { padding: 0 0 120px; }

.map-header {
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
}
.map-header-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--olive); margin-bottom: 16px;
}
.map-header-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--olive); }
.map-header-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.map-header-title em { font-style: italic; font-weight: 300; color: var(--olive); }
.map-header-intro {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.6;
    padding-bottom: 8px;
    max-width: 480px;
}

.map-wrap {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: var(--olive-soft);
    box-shadow: 0 20px 60px rgba(74, 85, 48, 0.12);
}

.map-wrap #terravec-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--olive-soft);
}

/* Leaflet custom styling */
.leaflet-container {
    font-family: 'Manrope', system-ui, sans-serif !important;
    background: #e8e4d8 !important;
}
.leaflet-tile-pane {
    filter: saturate(0.65) brightness(1.02);
}
.leaflet-control-zoom { display: none !important; }
.leaflet-control-attribution {
    background: rgba(245, 241, 232, 0.85) !important;
    backdrop-filter: blur(8px);
    font-size: 10px !important;
    padding: 2px 8px !important;
    border-radius: 6px 0 0 0;
    color: var(--ink-soft) !important;
}
.leaflet-control-attribution a { color: var(--olive) !important; }

/* Custom marker */
.terravec-marker {
    width: 36px;
    height: 36px;
    background: var(--olive);
    border: 3px solid var(--cream);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.terravec-marker::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    transform: rotate(45deg);
}

/* Leaflet popup */
.leaflet-popup-content-wrapper {
    background: var(--cream) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    padding: 4px !important;
}
.leaflet-popup-content {
    margin: 12px 16px !important;
    font-family: 'Manrope', system-ui, sans-serif !important;
    font-size: 13px !important;
    color: var(--ink) !important;
    line-height: 1.5 !important;
}
.leaflet-popup-content strong {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    color: var(--olive);
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}
.leaflet-popup-content a {
    color: var(--olive);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}
.leaflet-popup-tip { background: var(--cream) !important; }
.leaflet-popup-close-button {
    color: var(--ink-soft) !important;
    padding: 6px 8px !important;
}

/* Map overlay card */
.map-overlay {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: var(--cream);
    padding: 24px 28px;
    border-radius: 16px;
    max-width: 360px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2;
}
.map-overlay-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--olive);
    margin-bottom: 8px;
}
.map-overlay h3 {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
}
.map-overlay h3 em { font-style: italic; color: var(--olive); }

/* ---- FAQ ---- */
.faq-section { padding: 0 0 120px; }

.faq-header {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}
.faq-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--olive); margin-bottom: 16px;
}
.faq-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--olive); }
.faq-eyebrow::after { content: ''; width: 32px; height: 1px; background: var(--olive); }
.faq-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.faq-title em { font-style: italic; font-weight: 300; color: var(--olive); }
.faq-intro { font-size: 17px; color: var(--ink-soft); }

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(74, 85, 48, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.open {
    border-color: var(--olive);
    box-shadow: 0 10px 30px rgba(74, 85, 48, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--olive); }
.faq-item.open .faq-question { color: var(--olive); }

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(74, 85, 48, 0.08);
    color: var(--olive);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.faq-item.open .faq-toggle {
    background: var(--olive);
    color: var(--cream);
    transform: rotate(45deg);
}
.faq-toggle svg { width: 14px; height: 14px; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }


/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.terravec-footer { background: var(--cream-warm); border-top: 1px solid rgba(74, 85, 48, 0.1); }
.footer-inner { padding-top: 60px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--ink-soft); margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-family: 'Fraunces', serif; font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--olive); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-col li { color: var(--ink-soft); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--olive); }
.footer-bottom {
    padding-top: 32px; border-top: 1px solid rgba(74, 85, 48, 0.15);
    display: flex; justify-content: space-between; font-size: 12px; color: var(--muted);
}

.made-by-link {
    color: var(--olive);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 85, 48, 0.3);
    transition: border-color 0.2s, color 0.2s;
}
.made-by-link:hover {
    color: var(--olive-deep);
    border-bottom-color: var(--olive-deep);
}


/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    :root { --gutter: 32px; }
    .nav-inner { gap: 16px; }
    .nav-links { gap: 20px; font-size: 13px; }
    .nav-right { gap: 20px; }

    .hero { padding: 120px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .hero h1 { font-size: clamp(40px, 5.5vw, 56px); }
    .hero-sub { max-width: 640px; font-size: 17px; }
    .hero-visual { height: 480px; }

    .terravec-page section { padding: 80px 0; }
    .terravec-page section.page-header { padding: 120px 0 16px; }
    .terravec-page section.stats-bar { padding: 0 0 20px; }
    .terravec-page section.gallery-section { padding: 0 0 80px; }
    .contact-cta { padding: 80px 0; }

    .bento { grid-template-columns: repeat(4, 1fr); }
    .bento-1 { grid-column: span 4; grid-row: auto; }
    .bento-2, .bento-3 { grid-column: span 2; }
    .bento-4, .bento-5, .bento-6 { grid-column: span 4; }

    .syndicus-wrap { grid-template-columns: 1fr; padding: 60px 40px; gap: 40px; }

    /* Diensten */
    .service-block, .service-block.reverse {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 48px 0;
    }
    .service-block.reverse .service-content { order: 1; }
    .service-block.reverse .service-visuals { order: 2; }
    .service-visuals { aspect-ratio: 16 / 11; max-height: 460px; border-radius: 20px; }

    /* Realisaties */
    .stats-bar-inner { gap: 20px; }
    .masonry { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .gallery-section { padding-bottom: 80px; }

    .lightbox { padding: 24px; }
    .lightbox-content { grid-template-columns: 1fr; gap: 20px; max-height: calc(100vh - 48px); overflow-y: auto; }
    .lightbox-image { aspect-ratio: 4/3; max-height: 50vh; }
    .lightbox-location { font-size: 24px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-info { position: static; }
    .contact-form-wrap { padding: 36px 32px; }

    .map-header { grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 32px; }
    .map-header-intro { padding-bottom: 0; }
    .map-wrap { aspect-ratio: 16 / 11; border-radius: 24px; }
    .map-overlay { max-width: 320px; padding: 20px 24px; bottom: 24px; left: 24px; }

    .faq-section { padding-bottom: 80px; }

    .page-header { padding: 130px 0 60px; }
    .page-header-inner { grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .page-header h1 { font-size: clamp(44px, 7vw, 64px); }
    .page-header-intro { padding-bottom: 0; max-width: 640px; font-size: 17px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    :root { --gutter: 20px; }

    .nav-inner {
        padding-top: 16px; padding-bottom: 16px;
        grid-template-columns: 1fr auto;
    }
    .nav-cta-center { display: none; }
    .nav-right { display: none; }
    .menu-toggle { display: flex; }
    .mobile-menu { display: block; }
    .terravec-logo--nav { height: 52px; }
    .terravec-logo--footer { height: 64px; }

    .hero { padding: 100px 0 40px; }
    .hero-inner { gap: 40px; }
    .hero h1 { font-size: clamp(44px, 11vw, 56px); }
    .hero-sub { font-size: 16px; }
    .hero-visual { height: 360px; }

    .terravec-page section { padding: 60px 0; }
    .terravec-page section.page-header { padding: 100px 0 12px; }
    .terravec-page section.stats-bar { padding: 0 0 16px; }
    .terravec-page section.gallery-section { padding: 0 0 60px; }
    .contact-cta { padding: 60px 0; }

    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 32px; }
    .section-intro { font-size: 16px; }

    .trust-inner { padding-top: 24px; padding-bottom: 24px; gap: 16px; flex-direction: column; align-items: flex-start; }

    .bento { grid-template-columns: 1fr; gap: 12px; }
    .bento-1, .bento-2, .bento-3, .bento-4, .bento-5, .bento-6 { grid-column: span 1; }
    .bento-item { padding: 24px; }
    .bento-item .bento-arrow { top: 20px; right: 20px; width: 32px; height: 32px; }
    .bento-1 .bento-title { font-size: 30px; }
    .bento-title { font-size: 24px; padding-right: 44px; }

    .why-grid { grid-template-columns: 1fr; }
    .why-item,
    .why-item:nth-child(odd),
    .why-item:nth-child(even) {
        padding: 32px 0;
        border-right: none;
    }

    .syndicus-wrap { padding: 40px 24px; border-radius: 20px; gap: 32px; }
    .syndicus-checklist li { font-size: 14px; }

    /* Diensten mobile */
    .services { padding-bottom: 40px; }
    .service-block, .service-block.reverse {
        gap: 28px;
        padding: 20px 0;
    }
    .service-block:first-child { padding-top: 0; }
    .service-icon-box { width: 60px; height: 60px; border-radius: 14px; margin-bottom: 20px; }
    .service-icon-box svg { width: 28px; height: 28px; }
    .service-num { margin-bottom: 8px; }
    .service-title { font-size: 32px; margin-bottom: 16px; }
    .service-intro { font-size: 16px; margin-bottom: 24px; }
    .service-bullets { gap: 12px; margin-bottom: 28px; }
    .service-visuals { aspect-ratio: 4 / 3; border-radius: 16px; }

    /* Realisaties mobile */
    .stats-bar { padding: 0 0 8px; }
    .stats-bar-inner { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 24px; }
    .stats-count { text-align: left; }
    .filter-chips {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }
    .filter-chip {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
    }
    .filter-chip .count { margin-left: 0; }

    .masonry { grid-template-columns: 1fr; gap: 14px; }
    .masonry-overlay { opacity: 1; padding: 20px; }
    .masonry-overlay-icon { display: none; }
    .gallery-section { padding-bottom: 60px; }

    .lightbox { padding: 16px; }
    .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }

    /* Contact mobile */
    .contact-section { padding: 8px 0 60px; }
    .contact-form-wrap { padding: 24px 18px; border-radius: 18px; }
    .contact-form-title { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
    .contact-phone { font-size: 26px; }

    .map-section { padding-bottom: 60px; }
    .map-header { margin-bottom: 24px; }
    .map-header-title { font-size: 28px; }
    .map-header-intro { font-size: 15px; }
    .map-wrap { aspect-ratio: 4 / 5; border-radius: 20px; }
    .map-overlay {
        bottom: 20px; left: 20px; right: 20px;
        max-width: none; padding: 16px 20px;
    }
    .map-overlay h3 { font-size: 16px; }

    .faq-section { padding-bottom: 40px; }
    .faq-header { margin-bottom: 40px; }
    .faq-title { font-size: 30px; }
    .faq-intro { font-size: 15px; }
    .faq-question { padding: 18px 20px; font-size: 15px; gap: 16px; }
    .faq-answer-inner { padding: 0 20px 20px; font-size: 14px; }

    .real-grid { grid-template-columns: 1fr; }
    .real-card { aspect-ratio: 4/3; }

    .page-header { padding: 100px 0 24px; }
    .page-header-inner { gap: 16px; }
    .page-header h1 { font-size: 44px; }
    .page-eyebrow { margin-bottom: 12px; margin-top: 40px;}
    .page-header-intro { font-size: 16px; line-height: 1.55; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 8px; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .cta-btn { justify-content: center; }
    .hero-actions .secondary { text-align: center; }

    .contact-cta-actions { flex-direction: column; align-items: stretch; }
}
