:root {
  --brick: #934b2b;
  --brick-light: #a95e3b;
  --plaster: #f2eee6;
  --plaster-dark: #e9e1d2;
  --stone: #cfc4b2;
  --ink: #202526;
  --ink-soft: #4a4f52;
  --white: #fffdf9;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 88px;
  --wrap: 1180px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; background: var(--plaster); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brick); }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brick-light); outline-offset: 4px; }
button { font: inherit; }
body.modal-open { overflow: hidden; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brick); margin-bottom: 1rem; display: block; }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .9em 1.5em; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 2px solid var(--brick); transition: background .2s, color .2s; }
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { color: var(--brick); }
.btn-ghost:hover { background: var(--brick); color: var(--white); }
section { padding: clamp(64px, 9vw, 120px) 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 238, 230, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--plaster-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 16px; position: relative; }
.logo { display: inline-flex; flex: none; align-items: center; text-decoration: none; }
.logo .brand-logo { width: 280px; height: auto; }
.footer-brand { width: 230px; height: auto; margin-bottom: 20px; }
@media (max-width: 420px) { .logo .brand-logo { width: 210px; } }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--brick); }
.nav .btn { padding: .55em 1.1em; color: var(--white); }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; color: var(--ink); background: transparent; border: 1px solid var(--stone); border-radius: var(--radius); cursor: pointer; font-size: .85rem; flex: none; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-toggle .menu-close { display: none; }
  .nav-toggle[aria-expanded="true"] .menu-open { display: none; }
  .nav-toggle[aria-expanded="true"] .menu-close { display: block; }
  .site-header .wrap { flex-wrap: wrap; height: auto; min-height: var(--header-height); padding-top: 8px; padding-bottom: 8px; }
  .nav { width: 100%; gap: 4px; flex-wrap: wrap; }
  .nav a { padding: 12px; min-height: 48px; }
  .js .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100svh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px 20px; background: var(--plaster); border-bottom: 1px solid var(--stone); box-shadow: 0 16px 24px -20px rgba(32, 37, 38, .4); flex-direction: column; align-items: stretch; }
  .js .nav:not(.is-open) { display: none; }
  .nav .btn { justify-content: center; margin-top: 4px; }
}

/* hero: één schermhoogte, foto loopt door tot de rechterrand */
.hero { padding: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: min(calc(100svh - var(--header-height)), 820px); }
.hero-text { align-self: center; padding: clamp(32px, 6vh, 72px) clamp(32px, 5vw, 72px) clamp(32px, 6vh, 72px) max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--brick); }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 32em; }
.region { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; margin-bottom: 20px; background: var(--white); border: 1px solid var(--stone); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.region svg { width: 18px; height: 18px; color: var(--brick); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--stone); padding-top: 20px; }
.hero-facts li { font-size: .92rem; color: var(--ink-soft); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.hero-figure { position: relative; margin: 0; min-height: 360px; }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-text { padding: 24px 20px 36px; }
  .hero-actions { margin: 20px 0 28px; }
  .hero-figure { min-height: 0; aspect-ratio: 4 / 3; }
}

/* focus oude gevels */
.focus { background: var(--ink); color: var(--plaster); }
.focus .eyebrow { color: #e0a487; }
.focus .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.focus p { color: #d9d3c8; }
.focus-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.focus-list li { padding-left: 34px; position: relative; }
.focus-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 10px; background: var(--brick-light); box-shadow: 0 12px 0 var(--brick-light); clip-path: inset(0 0 0 0); }
.focus-list strong { color: var(--white); }
.focus-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.focus-images img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.focus-images img:first-child { grid-row: span 2; aspect-ratio: 3 / 5; }
.focus-images img:not(:first-child) { aspect-ratio: 1; }
@media (max-width: 860px) { .focus .wrap { grid-template-columns: 1fr; } }

/* diensten */
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--plaster-dark); border: 2px solid var(--plaster-dark); }
.service { background: var(--white); padding: 32px 28px; }
.service .num { font-family: var(--serif); color: var(--brick); font-size: .95rem; display: block; margin-bottom: 18px; }
.service p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* voor / na */
.compare-section { background: var(--plaster-dark); }
.compare-section .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.compare { position: relative; aspect-ratio: 3 / 4; max-width: 520px; width: 100%; justify-self: center; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; box-shadow: 0 30px 60px -30px rgba(32, 37, 38, .45); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: var(--white); transform: translateX(-50%); pointer-events: none; }
.compare .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--brick); display: grid; place-items: center; font: 700 1.1rem/1 var(--sans); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.compare .tag { position: absolute; top: 14px; padding: 4px 10px; background: rgba(32, 37, 38, .75); color: var(--white); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.compare:focus-within { outline: 3px solid var(--brick); outline-offset: 4px; }
@media (max-width: 860px) { .compare-section .wrap { grid-template-columns: 1fr; } }

/* realisaties */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }
.lightbox { border: 0; padding: 0; background: transparent; width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100svh - 100px); overflow: auto; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(20, 22, 24, .92); }
.lightbox img { max-width: 100%; max-height: calc(100svh - 220px); width: auto; height: auto; margin: auto; object-fit: contain; touch-action: pan-y; }
.lightbox form { position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.lightbox form button { background: var(--white); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 20px; color: var(--plaster); }
.lightbox-controls button { width: 48px; height: 48px; border: 1px solid var(--stone); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.5rem; cursor: pointer; }
.lightbox-count { min-width: 60px; text-align: center; font-size: .9rem; }

/* werkwijze */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 2px solid var(--brick); padding-top: 20px; counter-increment: s; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); color: var(--brick); display: block; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* reviews */
.reviews { background: var(--white); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
blockquote { margin: 0; padding: 32px; background: var(--plaster); border-left: 4px solid var(--brick); }
blockquote p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; margin-bottom: .8em; }
blockquote cite { font-style: normal; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .quotes { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--stone); padding: 20px 0; }
.faq summary { font-family: var(--serif); font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brick); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; }

/* contact */
.contact { background: var(--brick); color: var(--white); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact .eyebrow { color: #f2c6b2; }
.contact p { color: #f6e3da; font-size: 1.1rem; }
.contact p a { color: inherit; text-underline-offset: 3px; }
.contact-card { margin-top: 28px; background: var(--white); color: var(--ink); padding: 36px; border-radius: var(--radius); }
.contact-card a.line { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--plaster-dark); font-size: 1.1rem; word-break: break-word; }
.contact-card a.line:last-of-type { border-bottom: 0; }
.contact-card a.line:hover { color: var(--brick); }
.contact-card svg { width: 22px; height: 22px; color: var(--brick); flex: none; }
.contact-card small { display: block; font-size: .78rem; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }
.werfselect-panel { min-width: 0; padding: clamp(8px, 2vw, 24px); background: var(--white); color: var(--ink); border-radius: var(--radius); }
.werfselect-panel [data-werfselect-widget] { width: 100%; min-width: 0; }
.werfselect-panel noscript p { color: var(--ink-soft); }
.project-intake .werfselect-panel { max-width: 900px; margin: 32px auto 0; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

footer { background: var(--ink); color: #a9a49b; font-size: .9rem; padding: 32px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: #d9d3c8; }

/* mobiele indeling en contactacties */
.mobile-contact { display: none; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  section { padding: 56px 0; }
  .site-header .wrap { gap: 8px; }
  .nav-toggle .menu-label { display: none; }
  .js .nav-toggle { width: 44px; padding: 10px; }
  .hero { padding: 0; }
  .hero-text { padding: 28px max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left)); }
  .region { font-size: .78rem; padding: 6px 12px 6px 8px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(2rem, 8.7vw, 2.8rem); line-height: 1.1; }
  .hero p.lead { font-size: 1rem; line-height: 1.6; }
  .hero-actions { display: grid; gap: 10px; margin: 22px 0 24px; }
  .hero-actions .btn { justify-content: center; min-height: 50px; padding: 11px 16px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 18px; }
  .hero-facts li { font-size: .73rem; line-height: 1.5; }
  .hero-facts strong { font-size: .92rem; line-height: 1.25; margin-bottom: 4px; }
  .hero-figure { aspect-ratio: 5 / 4; }
  .hero-figure img { object-position: 50% 30%; }
  .section-head { margin-bottom: 28px; }
  .section-head p, .contact p { font-size: 1rem; }
  .eyebrow { font-size: .72rem; line-height: 1.4; }
  .focus-list { gap: 16px; }
  .focus-images { gap: 10px; }
  .service { padding: 24px; }
  .service .num { margin-bottom: 10px; }
  .compare .handle::after { width: 52px; height: 52px; }
  .gallery { gap: 8px; grid-auto-rows: clamp(150px, 44vw, 210px); }
  .steps { gap: 24px; }
  blockquote { padding: 24px; }
  blockquote p { font-size: 1.25rem; }
  .faq details { padding: 0; }
  .faq summary { min-height: 64px; padding: 18px 0; align-items: baseline; font-size: 1.12rem; }
  .faq summary::after { flex: none; }
  .faq details p { margin: 0 0 20px; }
  .contact-card { padding: 16px 20px; min-width: 0; }
  .contact-card a.line { font-size: 1rem; gap: 12px; min-height: 76px; }
  .contact-card a.line > span { min-width: 0; overflow-wrap: anywhere; }
  footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  footer .wrap > span { min-width: 0; overflow-wrap: anywhere; }
  .mobile-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; position: fixed; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; padding: 10px; background: var(--white); border: 1px solid var(--plaster-dark); border-radius: 8px; box-shadow: 0 4px 28px rgba(0, 0, 0, .18); transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .2s, visibility .2s; }
  .mobile-contact.is-visible { transform: translateY(0); visibility: visible; }
  .mobile-contact .btn { min-height: 48px; padding: 10px 8px; justify-content: center; font-size: .85rem; }
  .mobile-contact svg { width: 18px; height: 18px; flex: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery img, .mobile-contact { transition: none; } }
/* Language links remain available on mobile, including with the menu closed. */
.language-switch { display: flex; flex: none; gap: 2px; margin-left: auto; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--stone); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 600; }
.language-switch a[aria-current="page"] { color: var(--white); background: var(--brick); border-color: var(--brick); }
.language-switch a:hover { text-decoration: underline; }
@media (min-width: 1101px) { .language-switch { order: 3; } }
@media (max-width: 1100px) { .logo .brand-logo { width: clamp(140px, 32vw, 250px); } }
@media (max-width: 420px) { .site-header .wrap { gap: 6px; padding-left: 12px; padding-right: 12px; } .nav-toggle { padding: 8px; } .nav-toggle .menu-label { display: none; } }


@media (max-width: 420px) {
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; align-items: baseline; font-size: .85rem; }
  .hero-facts strong { font-size: .95rem; margin: 0; }
}

/* Totaalrenovaties en tweede verblijven */
.renovation-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.renovation-section p { color: var(--ink-soft); }
.renovation-section .btn { margin-top: 12px; white-space: normal; text-align: center; }
.renovation-points { padding: 0; margin: 24px 0; list-style: none; display: grid; gap: 16px; }
.renovation-points li { padding-left: 16px; border-left: 3px solid var(--brick); color: var(--ink-soft); }
.renovation-points strong { display: block; color: var(--ink); }
.renovation-photo { margin: 0; }
.renovation-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.second-home { background: var(--plaster-dark); }
@media (min-width: 861px) { .second-home .renovation-photo { grid-column: 1; grid-row: 1; } .second-home .renovation-grid > div { grid-column: 2; } }
@media (max-width: 860px) { .renovation-grid { grid-template-columns: minmax(0, 1fr); } }

/* Onderschrift van de eerste projectfoto */
.hero-figure figcaption { position: absolute; left: 24px; bottom: 24px; max-width: calc(100% - 48px); background: var(--white); color: var(--ink); padding: 12px 16px; border-left: 4px solid var(--brick); font-size: .88rem; box-shadow: 0 12px 30px -16px rgba(32, 37, 38, .4); }
@media (max-width: 600px) { .hero-figure figcaption { left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 10px 12px; font-size: .78rem; } }
