/* PB Bouw - stylesheet */

/* Design tokens */
:root {
    /* Brand */
    --brand:        #b10058;
    --brand-600:    #9c004d;
    --brand-700:    #810040;
    --brand-soft:   #fce7f1;
    --brand-glow:   rgba(177, 0, 88, .35);

    /* Neutrals (warm) */
    --ink:          #181519;
    --ink-2:        #4b454c;
    --ink-3:        #6f6873;
    --bg:           #ffffff;
    --bg-soft:      #f7f5f4;
    --bg-soft-2:    #f1edeb;
    --line:         #e7e2e0;
    --white:        #ffffff;

    /* Dark surface (footer / hero overlay) */
    --dark:         #16121a;
    --dark-2:       #211b27;

    /* Typography — koppen en body delen hetzelfde lettertype (Inter) */
    --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: var(--font-body);

    /* Radii */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(24, 21, 25, .06), 0 2px 8px rgba(24, 21, 25, .05);
    --shadow:    0 10px 30px -12px rgba(24, 21, 25, .18);
    --shadow-lg: 0 30px 60px -20px rgba(24, 21, 25, .28);
    --shadow-brand: 0 14px 30px -10px var(--brand-glow);

    /* Layout */
    --container: 1360px;
    --gutter: clamp(1.1rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 9vw, 7.5rem);

    /* Motion */
    --ease: cubic-bezier(.22, 1, .36, 1);
    --t-fast: .18s var(--ease);
    --t:      .35s var(--ease);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
.icon { width: 1em; height: 1em; flex: none; }
.partner small { display: flex; align-items: center; gap: .4rem; }
.partner small .icon { color: var(--brand); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display);
    font-size: .95rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }

/* Layout helpers */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 780px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; font-size: 1.125rem; }
.lead { font-size: 1.2rem; color: var(--ink-2); }

/* Buttons */
.btn {
    --btn-bg: var(--brand);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .9rem 1.6rem;
    font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
    color: var(--btn-fg); background: var(--btn-bg);
    border-radius: var(--r-pill);
    white-space: nowrap;
    transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t);
    will-change: transform;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%); box-shadow: var(--shadow-brand); }
.btn--primary:hover { box-shadow: 0 18px 38px -10px var(--brand-glow); }

.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

.text-link {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--font-display); font-weight: 600; color: var(--brand);
    transition: gap var(--t-fast);
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform var(--t-fast); }
.text-link:hover { gap: .7rem; }
.text-link:hover .icon { transform: translateX(3px); }

/* Header / navigation */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    background: var(--white);
    box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; }

/* Navbar-logo vult de volledige hoogte van de header */
.site-header .brand { align-self: stretch; padding-block: 0; overflow: hidden; }
.brand__logo {
    height: 112%; width: auto; flex: none; align-self: center;
    display: block; object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); transition: color var(--t); }
.brand__tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .35rem; }

/* Drawer-elementen verborgen op desktop */
.nav__head, .nav__foot, .nav__chev { display: none; }
.nav__list { display: contents; }

.nav a:not(.btn) {
    position: relative; padding: .55rem .9rem; border-radius: var(--r-pill);
    font-weight: 500; font-size: .97rem; color: var(--ink-2); white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a.active { color: var(--brand); }
.nav a.active::after {
    content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
    width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.nav .btn { flex: none; margin-left: .3rem; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: color var(--t-fast); }
.header-phone .icon { width: 1.05em; height: 1.05em; color: var(--brand); }
.header-phone:hover { color: var(--brand); }

/* Mobile toggle */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(22,18,26,.5) 0%, rgba(22,18,26,.25) 38%, rgba(22,18,26,.92) 100%),
        linear-gradient(100deg, rgba(22,18,26,.6) 0%, rgba(22,18,26,.12) 42%, rgba(22,18,26,0) 68%),
        linear-gradient(90deg, rgba(177,0,88,.16) 0%, rgba(177,0,88,0) 55%);
}
.hero__inner { padding-block: clamp(7rem, 14vh, 11rem) clamp(9rem, 24vh, 17rem); max-width: var(--container); width: 100%; min-width: 0; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #fff; }
.hero h1 { color: #fff; margin-block: 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.35); max-width: 16ch; text-wrap: balance; }
.hero h1 .accent { color: #fff; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__scroll {
    position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Floating stat chip on hero */
.hero__chip {
    position: absolute; right: var(--gutter); bottom: clamp(3rem,8vh,5.5rem);
    display: flex; gap: 1.4rem; padding: 1rem 1.4rem;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--r); backdrop-filter: blur(12px);
}
.hero__chip .stat { text-align: center; }
.hero__chip .stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.hero__chip .stat small { font-size: .72rem; letter-spacing: .04em; opacity: .85; }
.hero__chip .divider { width: 1px; background: rgba(255,255,255,.25); }

/* USP strip */
.usps { position: relative; z-index: 2; }
.usps__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: clamp(-4rem, -6vw, -2.5rem);
}
.usp { background: var(--white); padding: 2rem 1.6rem; transition: background var(--t); }
.usp:hover { background: var(--bg-soft); }
.usp__icon {
    display: inline-flex; padding: .8rem; border-radius: 14px;
    background: var(--brand-soft); color: var(--brand); margin-bottom: 1.1rem;
}
.usp__icon .icon { width: 1.5rem; height: 1.5rem; }
.usp h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.usp p { font-size: .95rem; }

/* About / split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.split__media .badge {
    position: absolute; left: -18px; bottom: -18px;
    display: flex; align-items: center; gap: .8rem; padding: 1rem 1.3rem;
    background: var(--ink); color: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.split__media .badge .icon { width: 1.7rem; height: 1.7rem; color: var(--brand); }
.split__media .badge b { font-family: var(--font-display); font-size: 1.1rem; display: block; line-height: 1.1; }
.split__media .badge small { font-size: .8rem; opacity: .75; }
.split__body p + p { margin-top: 1rem; }
.split__body .btn, .split__body .text-link { margin-top: 1.6rem; }
.signature { margin-top: 1.6rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.signature small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-3); font-size: .9rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.service-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__icon {
    position: absolute; top: 1rem; left: 1rem; display: inline-flex; padding: .65rem;
    background: rgba(255,255,255,.92); color: var(--brand); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.service-card__icon .icon { width: 1.4rem; height: 1.4rem; }
.service-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: .6rem; }
.service-card__body p { font-size: .97rem; }
.service-card__points { margin-top: 1.1rem; display: grid; gap: .5rem; }
.service-card__points li { display: flex; align-items: flex-start; gap: .55rem; font-size: .92rem; color: var(--ink-2); }
.service-card__points .icon { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; margin-top: .2rem; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.project-card {
    position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 4/3; box-shadow: var(--shadow-sm); isolation: isolate;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(22,18,26,.85)); transition: opacity var(--t); }
.project-card:hover img { transform: scale(1.07); }
.project-card__info { position: absolute; inset: auto 0 0 0; padding: 1.6rem; color: #fff; z-index: 1; transform: translateY(8px); transition: transform var(--t); }
.project-card:hover .project-card__info { transform: translateY(0); }
.project-card__place { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: .35rem; }
.project-card__place .icon { width: 1em; height: 1em; }
.project-card__info h3 { color: #fff; font-size: 1.4rem; }
.project-card__info p { color: rgba(255,255,255,.85); font-size: .94rem; margin-top: .5rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height var(--t), opacity var(--t), margin var(--t); }
.project-card:hover .project-card__info p { max-height: 8rem; opacity: 1; }
.project-card--wide { grid-column: span 2; aspect-ratio: 21/9; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.testimonial {
    position: relative; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 2.2rem; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.testimonial__quote-icon { color: var(--brand-soft); }
.testimonial__quote-icon .icon { width: 2.6rem; height: 2.6rem; color: var(--brand); opacity: .25; }
.testimonial__stars { display: flex; gap: .15rem; color: #f5a623; margin: .8rem 0 1rem; }
.testimonial__stars .icon { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.testimonial h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.testimonial p { font-size: 1rem; font-style: italic; }
.testimonial__author { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: center; gap: .8rem; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.testimonial__author b { font-family: var(--font-display); }
.testimonial__author small { display: block; color: var(--ink-3); font-size: .85rem; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }

/* Grid met vaste rij-tracks zodat voet, adres en link over alle cards uitlijnen */
.partner {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    row-gap: .7rem;
    padding: 1.6rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
    transition: transform var(--t), box-shadow var(--t);
    height: 100%;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner__icon { display: inline-flex; padding: .7rem; border-radius: 12px; background: var(--bg-soft-2); color: var(--brand); width: max-content; }
.partner__icon .icon { width: 1.4rem; height: 1.4rem; }
.partner__role { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.partner h3 { font-size: 1.1rem; }
.partner__intro { font-size: .92rem; line-height: 1.6; margin: 0; }

/* Voet: genest grid met vaste rij-hoogtes */
.partner__foot {
    display: grid;
    grid-template-rows: auto auto;
    row-gap: .55rem;
    margin-top: 1.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--line);
}
.partner__address {
    display: flex; align-items: flex-start; gap: .45rem;
    font-size: .82rem; line-height: 1.45; color: var(--ink-3);
    min-height: calc(2 * 1.45em);
}
.partner__address .icon { width: .95em; height: .95em; color: var(--brand); flex: none; margin-top: .2em; }
.partner__link {
    font-size: .9rem;
    display: inline-flex; align-items: center; gap: .45rem;
    line-height: 1.1em;
    min-height: 1.1em;
}
.partner__link--empty { visibility: hidden; }
.partner__link--empty::before { content: ""; display: inline-block; height: 1.1em; }

/* CTA band */
.cta-band { position: relative; color: #fff; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 4.5rem); background: var(--dark); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 120% at 0% 0%, rgba(177,0,88,.55), transparent 50%), radial-gradient(100% 100% at 100% 100%, rgba(177,0,88,.25), transparent 55%); }
.cta-band__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 1rem; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-band__contact { display: grid; gap: 1rem; }
.cta-contact-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); transition: background var(--t); }
.cta-contact-item:hover { background: rgba(255,255,255,.12); }
.cta-contact-item .icon { width: 1.3rem; height: 1.3rem; color: #fff; flex: none; }
.cta-contact-item small { display: block; opacity: .7; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.cta-contact-item b { font-family: var(--font-display); font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: #f06ba2; }
.footer-about .brand { margin-bottom: .3rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-about p { margin-top: 1.1rem; font-size: .95rem; max-width: 32ch; color: rgba(255,255,255,.7); }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.7); transition: color var(--t-fast), padding var(--t-fast); width: max-content; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: .85rem; }
.footer-contact a, .footer-contact span { display: flex; align-items: flex-start; gap: .7rem; color: rgba(255,255,255,.75); }
.footer-contact .icon { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; margin-top: .25rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; }
.footer-bottom a:hover { color: #fff; }
.footer-credit { color: #f06ba2; font-weight: 600; transition: color var(--t-fast); }

/* Page hero (subpages) */
.page-hero { position: relative; padding-block: clamp(8rem, 16vh, 11rem) clamp(3rem, 7vw, 5rem); color: #fff; isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,18,26,.7), rgba(22,18,26,.82)), linear-gradient(90deg, rgba(177,0,88,.35), transparent 60%); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 620px; margin-top: 1rem; font-size: 1.15rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* Gallery (filterable + lightbox triggers) */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.filter-btn {
    padding: .6rem 1.2rem; border-radius: var(--r-pill); font-family: var(--font-display);
    font-weight: 500; font-size: .92rem; color: var(--ink-2);
    background: var(--white); border: 1.5px solid var(--line); transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Categorie-overzicht (groep per categorie) */
.gallery-category + .gallery-category { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.gallery-category__head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    margin-bottom: 1.4rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.gallery-category__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* Album-tegels (sub-album cards) */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.album-card {
    display: flex; flex-direction: column; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.album-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.album-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album-card:hover .album-card__media img { transform: scale(1.06); }
.album-card__body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.album-card__body h3 { font-size: 1.1rem; color: var(--ink); }
.album-card__count { font-size: .85rem; color: var(--ink-3); }
.gallery-item {
    position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3;
    cursor: zoom-in; box-shadow: var(--shadow-sm); background: var(--bg-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
    position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem;
    background: linear-gradient(180deg, transparent 45%, rgba(22,18,26,.8)); color: #fff;
    opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: none;
    align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
    background: rgba(16,12,18,.92); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img { max-width: 100%; max-height: 82vh; border-radius: var(--r); box-shadow: var(--shadow-lg); animation: zoomIn .3s var(--ease); }
@keyframes zoomIn { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox__caption { position: absolute; bottom: clamp(1rem,4vw,2.4rem); left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--font-display); background: rgba(0,0,0,.4); padding: .5rem 1.2rem; border-radius: var(--r-pill); font-size: .95rem; }
.lightbox__btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    transition: background var(--t-fast);
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__btn .icon { width: 1.6rem; height: 1.6rem; }
.lightbox__prev { left: clamp(.6rem, 3vw, 2rem); }
.lightbox__next { right: clamp(.6rem, 3vw, 2rem); }
.lightbox__close { top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); transform: none; width: 48px; height: 48px; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-info .info-card { display: flex; gap: 1rem; padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow var(--t); }
.contact-info .info-card:hover { box-shadow: var(--shadow); }
.contact-info .info-card__icon { flex: none; display: inline-flex; height: max-content; padding: .8rem; background: var(--brand-soft); color: var(--brand); border-radius: 12px; }
.contact-info .info-card__icon .icon { width: 1.4rem; height: 1.4rem; }
.contact-info .info-card small { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .15rem; }
.contact-info .info-card b { font-family: var(--font-display); font-size: 1.1rem; }
.contact-info .info-card p { font-size: .98rem; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; margin-bottom: .45rem; }
.field label .req { color: var(--brand); }
.field input, .field textarea {
    width: 100%; padding: .85rem 1rem; background: var(--bg-soft);
    border: 1.5px solid var(--line); border-radius: var(--r-sm);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-3); margin-top: .4rem; }

.alert { display: flex; align-items: flex-start; gap: .7rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.4rem; font-size: .95rem; }
.alert .icon { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .15rem; }
.alert--ok { background: #e9f8ef; color: #1b7a43; border: 1px solid #bfe9cf; }
.alert--err { background: var(--brand-soft); color: var(--brand-700); border: 1px solid #f3c2d8; }

.map-embed { margin-top: clamp(2rem,5vw,3.5rem); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* Scroll reveal */
/* Alleen verbergen wanneer JS actief is. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1240px) and (min-width: 881px) {
    .header-phone { display: none; }
    .nav { gap: .1rem; }
    .nav a:not(.btn) { padding: .5rem .72rem; font-size: .92rem; }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band__grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero__chip { display: none; }
}

@media (max-width: 880px) {
    /* Compactere header op tablet/mobiel */
    .site-header__inner { height: 70px; }
    .brand__name { font-size: 1.2rem; }

    /* mobiele drawer-navigatie */
    .nav-toggle { display: inline-flex; }
    .header-phone { display: none; }

    /* Drawer-container */
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(380px, 92vw);
        display: grid; grid-template-rows: auto 1fr auto; gap: 0;
        background: #ffffff;
        box-shadow: -20px 0 60px -20px rgba(16,12,18,.35);
        transform: translateX(100%);
        transition: transform .4s var(--ease);
        overflow-y: auto;
        z-index: 210;
        padding: 0;
    }
    body.nav-open .nav { transform: translateX(0); }
    body.nav-open { overflow: hidden; }
    /* Header (incl. drawer) boven de scrim */
    body.nav-open .site-header { z-index: 200; }

    /* Drawer-header (logo + sluitknop) */
    .nav__head {
        display: flex; align-items: center; justify-content: space-between;
        padding: 1rem 1.2rem; height: 70px;
        border-bottom: 1px solid var(--line);
        position: sticky; top: 0; background: var(--white); z-index: 2;
    }
    .brand--drawer { display: flex; align-items: center; height: 100%; }
    .brand--drawer .brand__logo { height: 100%; width: auto; }
    .nav__close {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border-radius: 12px;
        color: var(--ink); background: var(--bg-soft);
        transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
    }
    .nav__close:hover { background: var(--brand-soft); color: var(--brand); }
    .nav__close:active { transform: scale(.94); }
    .nav__close .icon { width: 22px; height: 22px; }

    /* Menu-items */
    .nav__list {
        display: flex; flex-direction: column; gap: .15rem;
        padding: 1.2rem .8rem;
        list-style: none; margin: 0;
    }
    .nav__list li { margin: 0; }
    .nav .nav__list a {
        display: flex !important; align-items: center; justify-content: space-between;
        padding: .95rem 1rem !important;
        font-family: var(--font-display);
        font-size: 1.05rem !important; font-weight: 500;
        color: var(--ink) !important;
        background: transparent;
        border-radius: var(--r-sm) !important;
        white-space: normal;
        transition: background var(--t-fast), color var(--t-fast), padding var(--t-fast);
    }
    .nav .nav__list a:hover { background: var(--bg-soft); padding-left: 1.2rem !important; }
    .nav .nav__list a.active {
        background: var(--brand-soft);
        color: var(--brand) !important;
    }
    .nav .nav__list a.active::after { display: none; }
    .nav__chev { display: inline-block !important; width: 1.05em; height: 1.05em; opacity: .35; transition: opacity var(--t-fast), transform var(--t-fast); }
    .nav .nav__list a:hover .nav__chev { opacity: 1; transform: translateX(3px); }
    .nav .nav__list a.active .nav__chev { opacity: 1; color: var(--brand); }

    /* Drawer-footer (CTA + contact) */
    .nav__foot {
        display: flex; flex-direction: column; gap: .7rem;
        padding: 1.2rem 1.2rem 1.6rem;
        border-top: 1px solid var(--line);
        background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
    }
    .nav .nav__foot .btn {
        margin: 0 0 .4rem 0;
        padding: 1rem 1.4rem;
        justify-content: center;
    }
    .nav__contact {
        display: flex; align-items: center; gap: .85rem;
        padding: .75rem .9rem;
        border-radius: var(--r-sm);
        color: var(--ink);
        transition: background var(--t-fast);
    }
    .nav__contact:hover { background: var(--white); box-shadow: var(--shadow-sm); }
    .nav__contact .icon { width: 1.15rem; height: 1.15rem; color: var(--brand); flex: none; }
    .nav__contact span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
    .nav__contact small { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
    .nav__contact strong { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }

    /* Scrim onder de drawer */
    .nav-scrim {
        position: fixed; inset: 0; z-index: 199;
        background: rgba(16,12,18,.55);
        opacity: 0; visibility: hidden;
        transition: opacity var(--t), visibility var(--t);
    }
    body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

    /* Hamburger ↔ X swap op de header-toggle */
    body.nav-open .nav-toggle .icon-open { display: none; }
    body.nav-open .nav-toggle .icon-close { display: block; }

    .split { grid-template-columns: 1fr; gap: 2.4rem; }
    .split--reverse .split__media { order: 0; }
    .split__media .badge { left: 12px; bottom: -16px; padding: .8rem 1.1rem; }
    .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .album-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card--wide { grid-column: span 1; aspect-ratio: 4/3; }
    /* Projectinfo standaard tonen op touch */
    .project-card__info p { max-height: 8rem; opacity: 1; }
    .project-card__info { transform: none; }
    .usps__grid { grid-template-columns: 1fr 1fr; margin-top: -2.5rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
    .gallery-item__overlay { opacity: 1; }
    .contact-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section-head[style] { display: block !important; }
    .section-head[style] .btn { margin-top: 1.2rem; }
}

@media (max-width: 520px) {
    .site-header__inner { height: 64px; }
    .usps__grid { grid-template-columns: 1fr; margin-top: -2rem; }
    .partners-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .album-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer-contact { gap: .7rem; }
    .hero { min-height: 92svh; }
    .hero__inner { padding-bottom: 4.5rem; }
    .hero__cta { gap: .7rem; }
    .hero__cta .btn { width: 100%; }
    .hero__scroll { display: none; }
    h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.7rem); }
    .testimonial, .form-card { padding: 1.5rem; }
    .cta-band { padding: 1.8rem 1.4rem; }
    .lightbox__prev, .lightbox__next { width: 44px; height: 44px; }
}

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