:root {
  --bg: #FAF7F2;
  --bg-alt: #F1EAE0;
  --ink: #1B1B19;
  --ink-soft: #58544D;
  --accent: #0A7A5A;
  --accent-deep: #063F2E;
  --accent-tint: #E3EDEA;
  --olive: #5E8A08;
  --olive-deep: #3F5C08;
  --olive-tint: #EEF3DE;
  --line: rgba(27, 27, 25, 0.12);
  --white: #FFFFFF;
  --shadow-soft: 0 30px 60px -30px rgba(27, 27, 25, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; color: var(--ink-soft); }
figure { margin: 0; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}

.dot { width: 5px; height: 5px; border-radius: 1px; background: var(--accent); display: inline-block; }

.eyebrow--olive { background: var(--olive-tint); color: var(--olive-deep); }
.eyebrow--olive .dot { background: var(--olive); }
.eyebrow + .eyebrow { margin-left: 8px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary .btn-icon { background: rgba(255,255,255,0.16); }

.btn-ghost { background: transparent; color: var(--ink); padding: 6px 8px 6px 22px; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .btn-icon { background: rgba(27,27,25,0.06); }

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn-icon { transform: translate(2px, -2px); }

/* ---------- Double-bezel frame ---------- */
.bezel {
  background: rgba(27, 27, 25, 0.05);
  padding: 10px;
  border-radius: 28px;
}
.bezel-inner {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.bezel-inner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Nav ---------- */
.nav-shell { position: sticky; top: 16px; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 22px;
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27,27,25,0.08);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.logo { display: flex; align-items: center; }
.logo-img { height: 30px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink-soft); transition: color 0.3s var(--ease); }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--ink); margin-left: 32px; margin-right: 20px; transition: color 0.3s var(--ease); white-space: nowrap; }
.nav-phone:hover { color: var(--accent-deep); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px;
  padding: 24px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Fraunces', serif; font-size: 32px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta-btn { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.hero-sub { margin-top: 24px; max-width: 46ch; font-size: 17px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-trust span, .hero-trust a { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.hero-trust a.hero-phone { color: var(--ink); font-weight: 600; transition: color 0.3s var(--ease); }
.hero-trust a.hero-phone:hover { color: var(--accent-deep); }
.hero-visual .bezel-inner { aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; }
  .hero-visual .bezel-inner { aspect-ratio: 16 / 9; }
  .hero-sub { margin-top: 16px; }
  .hero-ctas { margin-top: 24px; }
}

/* ---------- Value strip ---------- */
.value-strip { background: var(--bg-alt); }
.value-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.value-head h2 { font-size: clamp(28px, 3vw, 38px); max-width: 20ch; }
.value-head p { max-width: 34ch; font-size: 15px; }
.value-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value-item { padding: 28px 28px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.value-item:nth-child(4n) { border-right: none; padding-right: 0; }
.value-item:nth-child(4n+1) { padding-left: 0; }
.value-num { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; }
.value-item h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 14px 0 10px; font-weight: 500; }
.value-item h3 svg { flex-shrink: 0; }
.value-item p { font-size: 14.5px; }

@media (max-width: 900px) {
  .value-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .value-list { grid-template-columns: 1fr 1fr; }
  .value-item { border-right: none; padding: 24px 28px; }
  .value-item:nth-child(4n) { padding-right: 28px; }
  .value-item:nth-child(4n+1) { padding-left: 28px; }
  .value-item:nth-child(2n-1) { border-right: 1px solid var(--line); padding-left: 0; }
  .value-item:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 560px) {
  .value-list { grid-template-columns: 1fr; }
  .value-item { padding: 24px 0; }
  .value-item:nth-child(2n-1) { border-right: none; padding-left: 0; }
  .value-item:nth-child(2n) { padding-right: 0; }
}

/* ---------- Offerte / form ---------- */
.offerte-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.offerte-copy h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 20px; }
.offerte-copy p { font-size: 16px; max-width: 40ch; }
.offerte-points { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.offerte-points div { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }

.form-card { background: var(--white); border-radius: 28px; padding: 8px; border: 1px solid var(--line); }
.form-inner { background: var(--bg); border-radius: 20px; padding: 40px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 16px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-inner textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status { min-height: 20px; margin: 14px 0 0; font-size: 13.5px; }
.form-status.is-success { color: var(--accent-deep); }
.form-status.is-error { color: #A13B2B; }

@media (max-width: 900px) {
  .offerte-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .form-inner { padding: 28px 22px; }
}

/* ---------- Section head (shared) ---------- */
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head p { margin-top: 16px; font-size: 16px; }

/* ---------- Projecten (per-project showcase) ---------- */
.projects-list { border-top: 1px solid var(--line); }
.project { padding: 56px 0; border-bottom: 1px solid var(--line); }
.project:first-child { padding-top: 0; }
.project-head { display: flex; gap: 20px; align-items: baseline; margin-bottom: 28px; }
.project-idx { font-family: 'Fraunces', serif; font-size: 15px; color: var(--accent); flex-shrink: 0; }
.project-head h3 { font-size: 24px; font-weight: 500; }
.project-tag { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }

/* Photos here are the actual proof-of-work for clients. Every frame uses the
   same 3:4 portrait ratio (close to the source photos' own ratio, so crops
   stay minimal) filled edge-to-edge with object-fit:cover — that keeps every
   gallery row and every before/after pair evenly sized and tight, instead of
   leaving dead white space around oddly-proportioned photos. Photos are also
   clickable (see .lightbox rules + script.js) to view large and swipe through. */
.project-hero { display: flex; }
.project-hero .bezel { width: 100%; max-width: 460px; }
.project-details, .project-progress { display: grid; gap: 14px; }
.project-details .bezel-inner, .project-progress .bezel-inner, .project-hero .bezel-inner {
  aspect-ratio: 3 / 4; background: var(--white);
}
.project-details .bezel-inner img, .project-progress .bezel-inner img, .project-hero .bezel-inner img {
  width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer;
}

.project-details { margin-top: 14px; }
.project-details.cols-4 { grid-template-columns: repeat(4, 1fr); }
.project-details.cols-3 { grid-template-columns: repeat(3, 1fr); }
.project-details.cols-2 { grid-template-columns: repeat(2, 1fr); }
.project-details.cols-1 { grid-template-columns: minmax(0, 220px); }

.project-copy { max-width: 68ch; font-size: 15px; margin-top: 24px; }

/* The before/after (or during/result) comparison is the lead visual for a
   project when present, so it sits right under the heading and reads bigger
   than the supporting gallery below it — capped to a sensible max-width so it
   doesn't blow up into an oversized box on wide screens. */
.project-progress { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin-top: 0; }
.progress-item figcaption { margin-top: 12px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); text-align: center; }

.project-cta { margin-top: 32px; }
.project-guest { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.project-guest h4 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.project-guest .project-details { margin-top: 0; }

@media (max-width: 900px) {
  .project-details.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .project-details.cols-3 { grid-template-columns: 1fr; }
  .project-progress { grid-template-columns: 1fr; max-width: 380px; }
  /* Supporting gallery thumbnails read as cramped whitespace at small sizes,
     so the double-bezel frame shrinks here to let the photos sit tight. */
  .project-details { gap: 6px; }
  .project-details .bezel { padding: 5px; border-radius: 16px; }
  .project-details .bezel-inner { border-radius: 11px; }
}

/* ---------- Lightbox (click a project photo to view large + swipe) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 19, 17, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img-wrap { max-width: min(90vw, 900px); max-height: 84vh; display: flex; align-items: center; justify-content: center; }
.lightbox-img-wrap img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ---------- Diensten ---------- */
.diensten-list { border-top: 1px solid var(--line); }
.dienst-row {
  display: grid; grid-template-columns: 100px 1fr 1.4fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.dienst-row .dienst-idx { font-family: 'Fraunces', serif; font-size: 15px; color: var(--accent); }
.dienst-row h3 { font-size: 20px; font-weight: 500; }
.dienst-row p { font-size: 14.5px; }
@media (max-width: 760px) {
  .dienst-row { grid-template-columns: 1fr; gap: 6px; }
  .dienst-row .dienst-idx { display: none; }
}

/* ---------- Testimonial placeholder ---------- */
.quiet-block {
  background: var(--bg-alt);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.quiet-block h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; }
.quiet-block p { max-width: 50ch; }
@media (max-width: 760px) {
  .quiet-block { grid-template-columns: 1fr; padding: 36px 28px; text-align: left; }
}

/* ---------- Werkgebied ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: 'Fraunces', serif; font-size: 19px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%,-50%); transition: transform 0.35s var(--ease); }
.faq-plus::before { width: 10px; height: 1.5px; }
.faq-plus::after { width: 1.5px; height: 10px; }
details[open] .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-item p { padding: 0 0 26px; max-width: 68ch; font-size: 15px; }

/* ---------- Footer ---------- */
footer { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-blurb { max-width: 32ch; font-size: 14.5px; margin-top: 16px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; margin-bottom: 10px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--ink-soft);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
