/* ==========================================================================
   POLDERSTEEN VASTGOED — stylesheet
   --------------------------------------------------------------------------
   Kleuren komen rechtstreeks uit het beeldmerk:
     navy   #192B3F  (achtergrond logo / middelste gebouw)
     olijf  #8E985B  (dak + fundamentlijn)
     lei    #6F8499  (rechter gebouw + dunne lijn)
     mist   #BBC4CB  (linker gebouw)
   Letter: Montserrat (gelijk aan het woordmerk), Inter voor lopende tekst.
   De twee "fundamentlijnen" (dik olijf, dun lei) keren terug als motief.
   ========================================================================== */

:root {
    --navy-950: #0E1926;
    --navy-900: #132234;
    --navy:     #192B3F;
    --navy-700: #24394F;
    --slate-700:#415367;
    --slate:    #6F8499;
    --mist:     #BBC4CB;
    --mist-100: #E7EBEE;
    --olive:    #8E985B;
    --olive-600:#7A844A;
    --olive-700:#626B37;   /* olijf voor kleine tekst op wit (contrast) */
    --paper:    #F4F5F1;
    --white:    #FFFFFF;

    --ink:      #192B3F;
    --ink-soft: #4D5B6B;
    --ink-mute: #7A8795;
    --line:     #DFE3E6;

    --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --container: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --radius: 3px;
    --header-h: 88px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow: 0 18px 40px -22px rgba(14, 25, 38, .35);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.015em;
    margin: 0;
    color: inherit;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--olive); color: var(--white); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--olive); color: var(--white); padding: 10px 16px;
    font-family: var(--font-head); font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 16px; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Beeldmerk (inline SVG) ---------- */
.ps-mark .m-l, .page-hero-mark .m-l, .cta-mark .m-l, .about-mark .m-l { fill: var(--mist); }
.ps-mark .m-c, .page-hero-mark .m-c, .cta-mark .m-c, .about-mark .m-c { fill: var(--white); }
.ps-mark .m-t, .page-hero-mark .m-t, .cta-mark .m-t, .about-mark .m-t { fill: var(--olive); }
.ps-mark .m-r, .page-hero-mark .m-r, .cta-mark .m-r, .about-mark .m-r { fill: var(--slate); }
.ps-mark .m-b, .page-hero-mark .m-b, .cta-mark .m-b, .about-mark .m-b { fill: var(--olive); }
.ps-mark .m-s, .page-hero-mark .m-s, .cta-mark .m-s, .about-mark .m-s { fill: var(--slate); }

/* ---------- Eyebrow met fundamentlijnen ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-head);
    font-size: 12.5px; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--olive-700);
    margin-bottom: 20px;
}
.eyebrow.on-dark { color: var(--olive); }
.eyebrow-lines { position: relative; width: 34px; height: 8px; flex-shrink: 0; }
.eyebrow-lines::before, .eyebrow-lines::after { content: ''; position: absolute; left: 0; border-radius: 3px; }
.eyebrow-lines::before { top: 0; width: 34px; height: 3px; background: var(--olive); }
.eyebrow-lines::after  { top: 6px; left: 3px; width: 28px; height: 1.5px; background: var(--slate); }
.eyebrow-sm {
    font-family: var(--font-head); font-size: 12px; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute);
}

/* ---------- Knoppen & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px;
    font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .03em;
    border: 1.5px solid transparent; border-radius: var(--radius);
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    white-space: nowrap;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-olive { background: var(--olive); color: var(--white); }
.btn-olive:hover { background: var(--olive-600); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: 14.5px; font-weight: 600;
    color: var(--navy);
    padding-bottom: 4px;
    background: linear-gradient(var(--olive), var(--olive)) left bottom / 100% 2px no-repeat;
    transition: background-size .3s var(--ease);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow.on-dark { color: var(--white); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background .3s var(--ease), height .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.site-header::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: rgba(255,255,255,.14); transition: opacity .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { position: relative; display: block; width: 210px; flex-shrink: 0; }
.logo img { width: 100%; height: auto; transition: opacity .3s; }
.logo .logo-dark { position: absolute; inset: 0; opacity: 0; }

.site-header.is-solid { background: var(--white); height: 74px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(14,25,38,.3); }
.site-header.is-solid::after { opacity: 0; }
.site-header.is-solid .logo-light { opacity: 0; }
.site-header.is-solid .logo-dark { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px;
    font-family: var(--font-head); font-size: 14.5px; font-weight: 500;
    color: var(--white);
    position: relative;
    transition: color .2s;
}
.nav-link .icon { width: 14px; height: 14px; opacity: .7; transition: transform .25s var(--ease); }
.nav-link::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
    background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.has-children .nav-link::after { right: 36px; }
.site-header.is-solid .nav-link { color: var(--navy); }

.nav-cta { margin-left: 10px; border: 1.5px solid rgba(255,255,255,.5); border-radius: var(--radius); padding: 10px 20px; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.site-header.is-solid .nav-cta { background: var(--navy); border-color: var(--navy); color: var(--white); }
.site-header.is-solid .nav-cta:hover { background: var(--olive); border-color: var(--olive); }
.nav-login .icon { opacity: 1; }

.nav-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 290px; padding: 10px;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 0 1px var(--line);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-link .icon { transform: rotate(180deg); }
.nav-dropdown a { display: block; padding: 12px 14px; border-radius: 2px; border-left: 2px solid transparent; transition: background .2s, border-color .2s; }
.nav-dropdown a:hover { background: var(--paper); border-left-color: var(--olive); }
.nav-dropdown strong { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--navy); }
.nav-dropdown span { display: block; font-size: 13px; color: var(--ink-mute); line-height: 1.45; margin-top: 2px; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease), background .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child  { top: 25px; left: 16px; }
.site-header.is-solid .nav-toggle span { background: var(--navy); }
.menu-open .nav-toggle span { background: var(--white) !important; left: 10px; }
.menu-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child  { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 99;
    background: var(--navy);
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { background: transparent; box-shadow: none; }
.menu-open .site-header .logo-light { opacity: 1; }
.menu-open .site-header .logo-dark { opacity: 0; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-link {
    font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--white);
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; gap: 10px;
}
.mobile-sublink { color: var(--mist); font-size: 16px; padding: 8px 0 8px 18px; border-left: 2px solid var(--olive); margin: 6px 0; }
.mobile-contact { display: grid; gap: 12px; margin-top: 32px; color: var(--mist); font-size: 15px; }
.mobile-contact a { display: inline-flex; gap: 10px; align-items: center; }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero {
    position: relative; min-height: min(100svh, 920px);
    display: flex; align-items: flex-end;
    color: var(--white); background: var(--navy); overflow: hidden;
    padding: calc(var(--header-h) + 60px) 0 clamp(70px, 11vh, 120px);
}
.hero-bg { position: absolute; inset: 0; }
/* Parallax: de fotolaag is hoger dan de sectie, zodat er bij het
   verschuiven (scripts.js) nooit een rand zichtbaar wordt. */
.hero-bg[data-parallax], .page-hero-bg[data-parallax], .project-hero-bg[data-parallax] { top: -15%; bottom: -15%; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(14,25,38,.92) 0%, rgba(19,34,52,.72) 42%, rgba(19,34,52,.2) 100%),
        linear-gradient(0deg, rgba(14,25,38,.6) 0%, rgba(14,25,38,0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; margin-bottom: 26px; }
.hero-intro { max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255,255,255,.82); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 40px; width: 1px; height: 70px; background: rgba(255,255,255,.2); overflow: hidden; }
.hero-scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 30px; background: var(--olive); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-30px); } 100% { transform: translateY(70px); } }

/* ---------- Kerncijfers ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 42px 28px 40px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.03em; line-height: 1; color: var(--navy); margin-bottom: 12px; }
.stat > span { display: block; font-size: 14.5px; color: var(--ink-mute); }
.stats-inline { border-top: 1px solid var(--line); }

/* ==========================================================================
   SECTIES
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-tight { padding-top: 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section-navy h2 { color: var(--white); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(38px, 5vw, 60px); flex-wrap: wrap; }
.section-head h2 { max-width: 22ch; }

.display { font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--navy); font-family: var(--font-head); font-weight: 500; margin-bottom: 1.4em; }

.intro-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: end; }
.intro-text { color: var(--ink-soft); }
.intro-text .link-arrow { margin-top: 18px; }

/* ---------- Pijlers ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { position: relative; display: block; min-height: 520px; overflow: hidden; color: var(--white); border-radius: var(--radius); background: var(--navy); }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pillar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,25,38,.92) 0%, rgba(14,25,38,.35) 55%, rgba(14,25,38,.1) 100%); transition: background .4s; }
.pillar:hover img { transform: scale(1.05); }
.pillar-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(28px, 4vw, 48px); }
.pillar-count { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: .2em; color: var(--olive); margin-bottom: 10px; font-weight: 600; }
.pillar h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.pillar p { max-width: 420px; color: rgba(255,255,255,.78); margin-bottom: 22px; }

/* ---------- Projectkaarten ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.section:not(.section-paper) .project-card { box-shadow: 0 0 0 1px var(--line); }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card-link { display: flex; flex-direction: column; height: 100%; }
.project-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-100); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.05); }
.project-badge {
    position: absolute; top: 16px; left: 16px;
    display: inline-block; padding: 6px 12px;
    font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    background: var(--white); color: var(--navy); border-radius: 2px;
}
.project-badge-ontwikkeling { background: var(--olive); color: var(--white); }
.project-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13.5px; }
.project-card-loc { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-mute); }
.project-card-loc .icon { color: var(--olive); }
.project-card-cat { color: var(--slate-700); font-weight: 500; }
.project-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.project-card-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.project-card-more {
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; font-weight: 500; color: var(--navy);
}
.project-card-more .icon { margin-left: auto; color: var(--olive); transition: transform .3s var(--ease); }
.project-card:hover .project-card-more .icon { transform: translateX(4px); }
.phase-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--slate); flex-shrink: 0; }
.phase-in-exploitatie, .phase-opgeleverd { background: var(--olive); }
.phase-in-ontwikkeling { background: #C9A74B; }
.phase-in-voorbereiding { background: var(--mist); }

/* ---------- Stappen (navy) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 32px 28px 8px 0; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.08); }
.step::before { content: ''; position: absolute; top: -2px; left: 0; width: 44px; height: 3px; background: var(--olive); }
.step + .step::before { left: 28px; }
.step-no { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--olive); margin-bottom: 18px; }
.step h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--white); }
.step p { color: rgba(255,255,255,.7); font-size: 15px; }
.section-navy::after {
    content: ''; position: absolute; right: -80px; bottom: -40px; width: 420px; height: 350px;
    background: url('brand/beeldmerk-licht.png') no-repeat center / contain; opacity: .04; pointer-events: none;
}

/* ---------- Media split ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.media-split-img { position: relative; }
.media-split-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.media-split-img::before {
    content: ''; position: absolute; left: -18px; bottom: -18px; width: 45%; height: 45%;
    border-left: 3px solid var(--olive); border-bottom: 3px solid var(--olive); z-index: -1;
}
.media-split-body h2 { margin-bottom: 22px; }
.media-split-body > p { color: var(--ink-soft); margin-bottom: 26px; }
.media-split-body .btn { margin-top: 10px; }
.sub-brand { width: 230px; margin-bottom: 30px; }
.checklist { display: grid; gap: 12px; margin-bottom: 30px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checklist .icon { width: 22px; height: 22px; padding: 3px; color: var(--white); background: var(--olive); border-radius: 50%; }

/* ---------- CTA-band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); padding: clamp(60px, 8vw, 96px) 0; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { max-width: 20ch; margin-bottom: 12px; color: var(--white); }
.cta-inner p { color: rgba(255,255,255,.72); max-width: 520px; }
.cta-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--white); }
.cta-phone .icon { color: var(--olive); }
.cta-mark { position: absolute; right: 4%; bottom: -30px; width: 340px; opacity: .06; }

/* ==========================================================================
   SUBPAGINA'S
   ========================================================================== */
.page-hero {
    position: relative; overflow: hidden;
    background: var(--navy); color: var(--white);
    padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(60px, 8vw, 100px);
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero.has-image::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 20%, rgba(25,43,63,.55) 100%); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { max-width: 18ch; margin-bottom: 22px; }
.page-hero-intro { max-width: 620px; font-size: 1.1rem; color: rgba(255,255,255,.8); }
.page-hero-mark { position: absolute; z-index: 1; right: 5%; bottom: -24px; width: clamp(180px, 22vw, 320px); opacity: .09; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--white); }

.rich { color: var(--ink-soft); }
.rich h2 { font-size: 1.5rem; color: var(--navy); margin: 1.6em 0 .6em; }
.rich h2:first-child { margin-top: 0; }
.rich h3 { color: var(--navy); margin: 1.4em 0 .5em; }
.rich a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 3px; }
.rich ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.rich > .eyebrow + h2 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .7em; }

/* ---------- Over ons ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); }
.about-img-card {
    position: absolute; right: -24px; bottom: 32px;
    display: flex; align-items: center; gap: 16px;
    background: var(--navy); color: var(--white); padding: 20px 24px; border-radius: var(--radius);
    font-family: var(--font-head); font-weight: 600; font-size: 15px; box-shadow: var(--shadow);
}
.about-mark { width: 48px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { background: var(--white); padding: 34px 28px; border-radius: var(--radius); border-top: 3px solid var(--olive); }
.value-no { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--slate); margin-bottom: 20px; }
.value h3 { margin-bottom: 12px; font-size: 1.25rem; }
.value p { font-size: 15px; color: var(--ink-soft); }

.next-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.next-link {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px;
    padding: 36px 40px; border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .3s, background .3s;
}
.next-link strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; grid-column: 1; }
.next-link .icon { grid-row: 1 / span 2; grid-column: 2; width: 28px; height: 28px; color: var(--olive); transition: transform .3s var(--ease); }
.next-link:hover { border-color: var(--navy); background: var(--paper); }
.next-link:hover .icon { transform: translateX(6px); }

/* ---------- Werkwijze ---------- */
.process { display: grid; gap: clamp(60px, 8vw, 110px); }
.process-step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.process-step:nth-child(even) .process-img { order: 2; }
.process-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.process-no { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-700); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--olive); }
.process-body h2 { margin-bottom: 18px; }
.process-body p { color: var(--ink-soft); font-size: 1.07rem; max-width: 480px; }

/* ---------- Portfolio-overzicht ---------- */
.portfolio-section { padding-top: 0; }
.portfolio-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 26px 0; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius);
    font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink-soft);
    transition: background .2s, color .2s;
}
.tab small { font-size: 12px; font-weight: 600; color: var(--ink-mute); }
.tab:hover { color: var(--navy); background: var(--white); }
.tab.is-active { background: var(--navy); color: var(--white); }
.tab.is-active small { color: var(--mist); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    padding: 7px 14px; border: 1px solid var(--line); border-radius: 40px; background: var(--white);
    font-size: 13.5px; color: var(--ink-soft); transition: all .2s;
}
.chip:hover { border-color: var(--slate); color: var(--navy); }
.chip.is-active { border-color: var(--olive); background: var(--olive); color: var(--white); }
.project-card.is-hidden { display: none; }
.empty { color: var(--ink-mute); padding: 30px 0; }

/* ---------- Projectdetail ---------- */
.project-hero { position: relative; min-height: min(72vh, 680px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; padding: calc(var(--header-h) + 60px) 0 clamp(48px, 6vw, 72px); }
.project-hero-bg { position: absolute; inset: 0; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,25,38,.92) 0%, rgba(14,25,38,.45) 50%, rgba(14,25,38,.35) 100%); }
.project-hero-inner { position: relative; z-index: 1; }
.project-hero .project-badge { position: static; margin-bottom: 18px; }
.project-hero h1 { margin-bottom: 14px; max-width: 20ch; }
.project-hero-loc { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.project-hero-loc .icon { color: var(--olive); }
.project-hero-loc .sep { opacity: .5; }

.project-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.project-main .rich { font-size: 1.04rem; }
.project-aside { position: sticky; top: 100px; }
.facts { background: var(--paper); padding: 34px 32px; border-radius: var(--radius); border-top: 3px solid var(--olive); }
.facts h2 { font-size: 1.25rem; margin-bottom: 20px; }
.facts dl { margin: 0 0 26px; }
.fact { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact dt { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-mute); }
.fact dt .icon { color: var(--slate); }
.fact dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.facts .btn + .btn { margin-top: 10px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--mist-100); }
.gallery-item.is-wide, .gallery-item:nth-child(even):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); border-radius: 50%; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(14,25,38,.95); display: flex; align-items: center; justify-content: center; padding: 60px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; color: var(--white); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.1); }
.lightbox .icon { width: 26px; height: 26px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Investeren ---------- */
.portal-teaser {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px;
    padding: 36px 40px; border: 1px solid var(--line); border-radius: var(--radius);
}
.portal-teaser h2 { font-size: 1.4rem; margin-bottom: 6px; }
.portal-teaser p { color: var(--ink-soft); }
.portal-teaser-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--olive-700); }
.portal-teaser-icon .icon { width: 28px; height: 28px; }
.disclaimer-note { margin-top: 26px; font-size: 13px; color: var(--ink-mute); }
.disclaimer-note a { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-info h2 { font-size: 1.6rem; margin-bottom: 30px; }
.contact-list { display: grid; gap: 22px; margin-bottom: 40px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-list small { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-family: var(--font-head); font-weight: 600; }
.contact-list a { font-weight: 500; }
.contact-list a:hover { color: var(--olive-700); }
.contact-ico { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--olive-700); }
.contact-note { padding: 24px 26px; background: var(--paper); border-left: 3px solid var(--olive); border-radius: var(--radius); font-size: 15px; color: var(--ink-soft); }
.contact-note strong { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 6px; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.form h2 { font-size: 1.5rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px;
    font: inherit; font-size: 15px; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(142,152,91,.2); }
.field.has-error input, .field.has-error textarea { border-color: #B4483C; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 6px 0 26px; cursor: pointer; }
.checkbox input { margin-top: 4px; accent-color: var(--olive); width: 17px; height: 17px; flex-shrink: 0; }
.checkbox a { text-decoration: underline; }
.checkbox.has-error { color: #B4483C; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { padding: 16px 18px; margin-bottom: 22px; background: #FBEFED; border-left: 3px solid #B4483C; color: #7D2A20; font-size: 14.5px; border-radius: var(--radius); }
.form-errors ul { list-style: disc; padding-left: 1.2em; margin-top: 6px; }
.form-hint { margin-top: 18px; font-size: 13.5px; color: var(--ink-mute); text-align: center; }
.form-hint a { text-decoration: underline; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success h2 { font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--ink-soft); margin-bottom: 24px; }
.form-success-ico { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--olive); color: var(--white); }
.form-success-ico .icon { width: 30px; height: 30px; }

/* ---------- Portaal ---------- */
.portal { display: flex; justify-content: center; }
.portal-card { width: 100%; max-width: 520px; background: var(--white); padding: clamp(30px, 5vw, 50px); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--olive); }
.portal-card-head img { width: 220px; margin-bottom: 30px; }
.portal-card h2 { font-size: 1.5rem; margin-bottom: 16px; }
.portal-card > p { color: var(--ink-soft); }
.portal-card .btn { margin-top: 14px; }
.portal-dash { width: 100%; }
.portal-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.portal-sub { margin: 50px 0 20px; font-size: 1.4rem; }
.fund-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.fund { background: var(--white); padding: 26px; border-radius: var(--radius); border-top: 3px solid var(--olive); }
.fund h3 { margin-bottom: 14px; }
.fund dl { margin: 0; }
.fund dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.fund dt { color: var(--ink-mute); }
.fund dd { margin: 0; font-weight: 600; }
.doc-list { background: var(--white); border-radius: var(--radius); }
.doc-list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.doc-list small { display: block; color: var(--ink-mute); font-size: 13px; }

/* ---------- 404 ---------- */
.page-404 { min-height: 80vh; display: flex; align-items: center; }
.big-404 { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--olive); margin-bottom: 20px; }
.page-404 .hero-actions { margin-top: 36px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: clamp(60px, 8vw, 90px); font-size: 15px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer-brand img { width: 220px; margin-bottom: 24px; }
.footer-brand p { max-width: 340px; font-size: 14.5px; }
.footer-col h2 { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-social { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--white); }
.footer-rule { display: grid; gap: 4px; }
.footer-rule span:first-child { height: 5px; background: var(--olive); }
.footer-rule span:last-child { height: 2px; background: var(--slate); margin: 0 3%; }

/* ==========================================================================
   ANIMATIE (alleen met JS, en niet bij "verminderde beweging")
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg img, .hero-scroll span { animation: none; }
    .hero-bg[data-parallax], .page-hero-bg[data-parallax], .project-hero-bg[data-parallax] { top: 0; bottom: 0; transform: none !important; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
    .nav { display: none; }
    .nav-toggle { display: block; }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .values { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .step:nth-child(3) { padding-left: 0; border-left: 0; }
    .step:nth-child(3)::before { left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .project-layout { grid-template-columns: 1fr; }
    .project-aside { position: static; }
}

@media (max-width: 820px) {
    :root { --header-h: 72px; }
    .logo { width: 170px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 30px 20px; }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .intro-split, .media-split, .about-split, .contact-layout, .process-step { grid-template-columns: 1fr; }
    .process-step:nth-child(even) .process-img { order: 0; }
    .media-split-img { order: -1; }
    .media-split-img img { aspect-ratio: 4 / 3; }
    .about-img img { aspect-ratio: 4 / 3; }
    .about-img-card { right: 16px; bottom: 16px; }
    .pillars { grid-template-columns: 1fr; }
    .pillar { min-height: 420px; }
    .next-links { grid-template-columns: 1fr; }
    .portal-teaser { grid-template-columns: 1fr; text-align: left; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .eyebrow { letter-spacing: .14em; font-size: 11.5px; gap: 10px; }
    .project-grid, .values, .steps { grid-template-columns: 1fr; }
    .step, .step + .step { padding-left: 0; border-left: 0; }
    .step + .step::before { left: 0; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: none; }
    .hero-actions .btn { width: 100%; }
    .portfolio-bar { flex-direction: column; align-items: flex-start; }
    .next-link { padding: 26px; }
    .gallery { grid-template-columns: 1fr; }
    .lightbox { padding: 60px 10px; }
    .media-split-img::before { display: none; }
    .fact { flex-direction: column; gap: 2px; }
    .fact dd { text-align: left; }
}

/* ==========================================================================
   UNDER CONSTRUCTION (pages/under-construction.php)
   ========================================================================== */
.uc { background: var(--navy); color: var(--white); min-height: 100vh; }
.uc-wrap { display: grid; grid-template-columns: 1.1fr 1fr; min-height: calc(100vh - 7px); min-height: calc(100svh - 7px); }
.uc-content { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(32px, 5vw, 32px) clamp(24px, 6vw, 88px); }
.uc-logo { width: 220px; }
.uc-body { max-width: 560px; }
.uc-body h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 22px; animation: ucIn .9s var(--ease) both .1s; }
.uc-body .eyebrow { animation: ucIn .9s var(--ease) both; }
.uc-intro { color: rgba(255,255,255,.75); font-size: 1.08rem; margin-bottom: 40px; animation: ucIn .9s var(--ease) both .2s; }
.uc-contact { display: grid; gap: 2px; border-top: 1px solid rgba(255,255,255,.12); animation: ucIn .9s var(--ease) both .3s; }
.uc-contact li { border-bottom: 1px solid rgba(255,255,255,.12); }
.uc-contact a, .uc-row { display: flex; align-items: center; gap: 18px; padding: 16px 0; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; }
.uc-contact a { transition: color .2s, padding .3s var(--ease); }
.uc-contact a:hover { color: var(--olive); padding-left: 6px; }
.uc-contact small { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 500; }
.uc-ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: var(--olive); }
.uc-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }
.uc-foot a { display: inline-flex; align-items: center; gap: 8px; }
.uc-foot a:hover { color: var(--white); }
.uc-visual { position: relative; overflow: hidden; background: var(--navy-900); }
.uc-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s var(--ease) forwards; transform: scale(1.08); }
.uc-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(25,43,63,.35) 35%, rgba(25,43,63,.15) 100%); }
.uc-mark { position: absolute; z-index: 1; right: 8%; bottom: 8%; width: clamp(120px, 14vw, 200px); opacity: .9; }
.uc-mark .m-l { fill: var(--mist); } .uc-mark .m-c { fill: var(--white); } .uc-mark .m-t, .uc-mark .m-b { fill: var(--olive); } .uc-mark .m-r, .uc-mark .m-s { fill: var(--slate); }
.uc-rule { position: relative; z-index: 2; }
@keyframes ucIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
    .uc-wrap { grid-template-columns: 1fr; }
    .uc-visual { order: -1; height: 34vh; min-height: 220px; }
    .uc-visual::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(25,43,63,.2) 60%); }
    .uc-mark { display: none; }
    .uc-content { gap: 36px; }
    .uc-logo { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
    .uc-body h1, .uc-body .eyebrow, .uc-intro, .uc-contact, .uc-visual img { animation: none; }
}
