:root {
    --bg: #f6f2ec;
    --surface: #ffffff;
    --ink: #23201c;
    --muted: #6b645b;
    --line: #e4ddd2;
    --accent: #b5652b;
    --accent-dark: #8f4d1f;
    --dark: #1e1b18;
    --radius: 10px;
    --wrap: 1140px;
    --serif: "DM Serif Display", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
    display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
    padding: .8rem 1.3rem; border-radius: 999px; border: 1px solid transparent;
    font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 242, 236, .94); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1; }
.logo strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: .02em; }
.logo small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.site-header .btn { padding: .6rem 1rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; min-height: min(78vh, 680px);
    display: flex; align-items: flex-end; background: var(--dark);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,17,14,.1) 20%, rgba(20,17,14,.85) 100%);
}
.hero .wrap { width: 100%; position: relative; z-index: 1; padding-top: 120px; padding-bottom: 64px; }
.hero .eyebrow { color: #f0c79e; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 15ch; margin-bottom: .35em; }
.hero p { font-size: 1.12rem; max-width: 52ch; color: rgba(255,255,255,.88); margin: 0 0 1.8rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about-grid p { color: var(--muted); font-size: 1.05rem; }
.facts { display: grid; gap: 14px; }
.fact {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; display: flex; gap: 16px; align-items: center;
}
.fact b { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--accent); min-width: 72px; }
.fact span { color: var(--muted); font-size: .95rem; }

.services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--surface); padding: 26px 22px 28px; }
.service .num { font-family: var(--serif); color: var(--accent); font-size: 1.1rem; }
.service h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin: 10px 0 6px; }
.service p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---------- Projecten ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project {
    all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.project:hover { box-shadow: 0 10px 30px rgba(35,32,28,.12); transform: translateY(-2px); }
.project:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.project-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #ddd5ca; overflow: hidden; }
.project-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.project:hover .project-img img { transform: scale(1.04); }
.project-count {
    position: absolute; right: 10px; bottom: 10px; background: rgba(20,17,14,.75); color: #fff;
    font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.project-body { display: block; padding: 16px 18px 18px; }
.project-body strong { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.project-body span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.empty { color: var(--muted); }

/* ---------- Fotoviewer ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 100; background: rgba(15,13,11,.96); color: #fff;
    display: none; flex-direction: column; padding: 14px 0 12px;
}
.lightbox.open { display: flex; }
.lb-title { font-family: var(--serif); font-size: 1.3rem; padding: 4px 70px 8px 20px; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 64px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-caption { text-align: center; color: rgba(255,255,255,.75); font-size: .88rem; padding: 8px 16px; }
.lb-strip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 16px; scrollbar-width: thin; justify-content: safe center; }
.lb-strip button {
    all: unset; cursor: pointer; flex: none; width: 72px; height: 54px; border-radius: 4px; overflow: hidden;
    opacity: .5; outline: 2px solid transparent; transition: opacity .15s;
}
.lb-strip button:hover { opacity: .85; }
.lb-strip button.active { opacity: 1; outline-color: var(--accent); }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; }
.lightbox .lb-btn {
    position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer;
    width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
}
.lightbox .lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 10px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
    .lb-stage { padding: 0 8px; }
    .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 84px; transform: none; }
}

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: #eee7de; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #f0c79e; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: #f0c79e; margin-top: 2px; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: #a39a8e; font-size: .8rem; }
.map { border: 0; width: 100%; height: 240px; border-radius: var(--radius); filter: grayscale(.3); }

.form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 28px; }
.form h3 { font-size: 1.6rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.field input, .field textarea {
    width: 100%; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 8px;
    font: inherit; background: #fcfaf7; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; font-size: .93rem; }
.notice.ok { background: #e7f3e8; color: #1f5a28; }
.notice.err { background: #fbe9e6; color: #8a2a1c; }

/* ---------- Footer ---------- */
.site-footer { background: #151311; color: #8d857b; font-size: .85rem; padding: 26px 0 30px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: #b8afa3; }

/* ---------- Mobiele belbalk ---------- */
.callbar { display: none; }

@media (max-width: 960px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .projects { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
    .nav, .site-header .btn { display: none; }
    section { padding: 64px 0; }
    .hero .wrap { padding-bottom: 44px; }
    .projects { grid-template-columns: 1fr; gap: 14px; }
    .row2 { grid-template-columns: 1fr; }
    .form { padding: 22px 18px; }
    .wrap { padding: 0 16px; }
    body { padding-bottom: 68px; }
    .callbar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(30,27,24,.97);
    }
    .callbar .btn { padding: .75rem .5rem; }
    .callbar .btn-wa { background: #25d366; color: #fff; }
}
@media (max-width: 420px) {
    .service-grid { grid-template-columns: 1fr; }
}
