/* ============================================================
   DesignByBerit — premium onepage
   Palet: warm wit, zand, taupe, zacht zwart, brons
   ============================================================ */

:root {
  --bg:        #faf7f1;
  --bg-alt:    #f2ece2;
  --ink:       #211c15;
  --ink-soft:  #4c443a;
  --taupe:     #8a7d6b;
  --bronze:    #a98e63;
  --bronze-d:  #8f7549;
  --line:      #e4dccd;
  --white:     #fffdf9;
  --dark:      #1c1812;
  --dark-soft: #26211a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}

section { scroll-margin-top: 84px; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.container-narrow { width: min(860px, 92vw); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 40ch; }

.section-head h2, .over h2, .offerte h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.kicker {
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 1rem;
}

.kicker-light { color: #d3ba90; }

.lead { font-size: 1.15rem; max-width: 58ch; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  text-align: center;
}

.btn-solid { background: var(--white); color: var(--ink); }
.btn-solid:hover { background: var(--bronze); color: var(--white); }

.btn-ghost { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.btn-gold { background: var(--bronze); color: var(--white); }
.btn-gold:hover { background: var(--bronze-d); }

.btn-ghost-dark { border-color: rgba(255,253,249,.35); color: var(--bg); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--bronze); color: var(--bronze); }

.btn-full { width: 100%; }

.text-link {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze-d);
  text-decoration: none;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--bronze);
  transition: color .3s, border-color .3s;
}
.text-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
  color: #fff;
}

.site-header.scrolled {
  background: rgba(250, 247, 241, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.header-inner {
  width: min(1300px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark { width: 40px; color: var(--bronze); flex: none; }

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
}
.brand-name em { font-style: italic; font-weight: 400; color: var(--bronze); }

.brand-sub {
  display: block;
  font-size: .6rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  opacity: .75;
  margin-top: .3rem;
}

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

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  padding: .3rem 0;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid var(--bronze);
  color: var(--bronze) !important;
  padding: .55rem 1.3rem !important;
  transition: all .3s var(--ease);
}
.site-header:not(.scrolled) .nav-cta { color: #fff !important; border-color: rgba(255,255,255,.6); }
.nav-cta:hover { background: var(--bronze); color: #fff !important; border-color: var(--bronze); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: all .3s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle.open span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle.open span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 7rem 1.5rem 5.5rem;
}

.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  animation: heroZoom 26s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,15,9,.5) 0%, rgba(20,15,9,.28) 40%, rgba(20,15,9,.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-kicker {
  font-size: .78rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #e4cfa4;
  margin-bottom: 1.6rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 500;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: #f3ead9;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.82);
  max-width: 54ch;
  margin: 0 auto 2.4rem;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-badges {
  position: relative;
  z-index: 2;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 2.6rem;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.22);
  width: min(880px, 100%);
}

.hero-badges li {
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: .55rem;
}

.hero-badges li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--bronze);
  transform: rotate(45deg);
  flex: none;
}

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 13px;
  display: flex;
  justify-content: center;
}
.hero-scroll span {
  width: 2px; height: 8px;
  background: #fff;
  border-radius: 2px;
  margin-top: 8px;
  animation: scrollHint 2.2s infinite var(--ease);
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55%      { transform: translateY(12px); opacity: 0; }
}

/* Fade-in hero items */
.fade-item {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1s var(--ease) forwards;
}
.hero .fade-item:nth-child(1) { animation-delay: .15s; }
.hero-content .fade-item:nth-child(1) { animation-delay: .15s; }
.hero-content .fade-item:nth-child(2) { animation-delay: .3s; }
.hero-content .fade-item:nth-child(3) { animation-delay: .45s; }
.hero-content .fade-item:nth-child(4) { animation-delay: .6s; }
.hero-content .fade-item:nth-child(5) { animation-delay: .75s; }
.hero-badges { animation-delay: 1s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Over ---------- */
.over-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.over-copy h2 { margin-bottom: 1.4rem; }
.over-copy .lead { margin-bottom: 2.2rem; }

.over-photo { position: relative; }
.over-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.over-photo::after {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--bronze);
  z-index: -1;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2.6rem;
}

.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .55rem;
}

.stat-label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--taupe);
  line-height: 1.55;
  display: block;
  max-width: 24ch;
}

/* ---------- Diensten ---------- */
.diensten { background: var(--bg-alt); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -18px rgba(60, 48, 30, .25);
}

.service-card figure { overflow: hidden; aspect-ratio: 4 / 3; }
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.service-card:hover img { transform: scale(1.06); }

.service-body {
  padding: 1.7rem 1.6rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  flex: 1;
}

.service-body h3 { font-size: 1.55rem; }
.service-body p { font-size: .97rem; flex: 1; }
.service-body .text-link { align-self: flex-start; }

/* ---------- Portfolio ---------- */
.portfolio .section-head { max-width: 52ch; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.8rem;
  margin-bottom: 2.6rem;
}

.filter-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--taupe);
  padding: .55rem .2rem;
  position: relative;
  transition: color .3s;
}

.filter-btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active { color: var(--ink); }
.filter-btn.is-active::after { transform: scaleX(1); }

.masonry {
  columns: 3;
  column-gap: 1.4rem;
}

.p-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.4rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
}

.p-item.hidden { display: none; }

.p-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}

.ratio-wide   { aspect-ratio: 16 / 10; }
.ratio-tall   { aspect-ratio: 4 / 5; }
.ratio-square { aspect-ratio: 1 / 1; }

.p-item:hover img, .p-item:focus-visible img { transform: scale(1.05); opacity: .55; }

.p-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.4rem 1.3rem;
  background: linear-gradient(to top, rgba(15,11,6,.72), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}

.p-item:hover figcaption, .p-item:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.p-item figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.p-item figcaption span {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #dcc292;
}

.portfolio-note {
  margin-top: 2.8rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--taupe);
}

/* ---------- Waarom ---------- */
.waarom { background: var(--dark); color: #b6ab9a; }
.waarom .kicker { color: var(--bronze); }
.waarom h2 { color: var(--bg); }

.usp-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.6rem;
}

.usp-grid li { border-top: 1px solid rgba(169,142,99,.35); padding-top: 1.5rem; }

.usp-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--bronze);
  letter-spacing: .1em;
  display: block;
  margin-bottom: .9rem;
}

.usp-grid h3 { color: var(--bg); font-size: 1.4rem; margin-bottom: .6rem; }
.usp-grid p { font-size: .96rem; }

/* ---------- Werkwijze ---------- */
.timeline {
  list-style: none;
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 3rem 3rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  background: var(--bg);
  border: 1px solid var(--bronze);
  transform: rotate(45deg);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--bronze);
  transform: rotate(45deg);
}

.tl-step {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

.timeline h3 { font-size: 1.5rem; margin: .35rem 0 .45rem; }
.timeline p { max-width: 52ch; }

/* ---------- Offerte ---------- */
.offerte {
  position: relative;
  color: #e9decb;
  overflow: hidden;
  text-align: center;
}

.offerte-bg, .offerte-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.offerte-bg img { object-fit: cover; }
.offerte-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 13, 7, .78);
}

.offerte-inner { position: relative; z-index: 2; max-width: 640px; }
.offerte h2 { color: #fff; margin-bottom: 1.2rem; }
.offerte .lead { margin: 0 auto 2.4rem; color: rgba(255,253,249,.85); }

.offerte-note {
  margin-top: 1.4rem;
  font-size: .85rem;
  letter-spacing: .1em;
  color: rgba(255,253,249,.6);
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }

.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem .2rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .3s;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--bronze-d); }

.faq-icon {
  position: relative;
  width: 14px; height: 14px;
  flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--bronze);
  transition: transform .35s var(--ease);
}
.faq-icon::before { left: 0; top: 6.25px; width: 14px; height: 1.5px; }
.faq-icon::after  { left: 6.25px; top: 0; width: 1.5px; height: 14px; }
details[open] .faq-icon::after { transform: rotate(90deg); }

.faq-list details p {
  padding: 0 .2rem 1.5rem;
  max-width: 62ch;
}

/* ---------- Contact / footer ---------- */
.contact {
  background: var(--dark);
  color: #a99d8b;
  padding: clamp(4.5rem, 9vw, 7rem) 0 0;
}

.contact-cta {
  text-align: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(169,142,99,.25);
}

.contact-cta h2 {
  color: var(--bg);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin-bottom: 2rem;
  text-wrap: balance;
}

.contact-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 3rem;
  padding: clamp(2.8rem, 5vw, 4rem) 0;
}

.contact-grid h4 {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.1rem;
}

.contact-grid p { font-size: .97rem; }

.footer-links { list-style: none; }
.footer-links a {
  color: inherit;
  text-decoration: none;
  font-size: .97rem;
  line-height: 2.1;
  transition: color .3s;
}
.footer-links a:hover { color: var(--bg); }

.contact-brand .brand-mark { width: 44px; margin-bottom: .9rem; }

.contact-brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: .05em;
}
.contact-brand-name em { font-style: italic; font-weight: 400; color: var(--bronze); }

.contact-brand-sub { font-size: .95rem; max-width: 32ch; margin-top: .5rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(169,142,99,.25);
  font-size: .85rem;
}

.footer-bottom a { color: var(--bronze); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Modal (offerte) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 8, .68);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  background: var(--bg);
  width: min(680px, 100%);
  max-height: min(88vh, 100%);
  overflow-y: auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  animation: fadeUp .5s var(--ease);
}

.modal-panel h3 { font-size: 2rem; margin-bottom: 1.6rem; }

.modal-close {
  position: absolute;
  top: .9rem; right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--taupe);
  cursor: pointer;
  transition: color .3s;
  padding: .3rem;
}
.modal-close:hover { color: var(--ink); }

/* ---------- Formulier ---------- */
#quoteForm { display: flex; flex-direction: column; gap: 1.15rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

#quoteForm label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

#quoteForm label small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
  color: var(--taupe);
}

#quoteForm input[type="text"],
#quoteForm input[type="email"],
#quoteForm input[type="tel"],
#quoteForm select,
#quoteForm textarea,
#quoteForm input[type="file"] {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: .8rem .95rem;
  outline: none;
  transition: border-color .3s;
  width: 100%;
}

#quoteForm textarea { resize: vertical; }

#quoteForm input:focus,
#quoteForm select:focus,
#quoteForm textarea:focus { border-color: var(--bronze); }

#quoteForm input[type="file"] { padding: .6rem .95rem; font-size: .9rem; }

.check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: .7rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 300 !important;
  font-size: .95rem !important;
  cursor: pointer;
}

.check input {
  margin-top: .3rem;
  accent-color: var(--bronze);
  width: 16px; height: 16px;
  flex: none;
}

.form-note {
  text-align: center;
  font-size: .85rem;
  color: var(--taupe);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14, 10, 5, .93);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox figure {
  max-width: min(1400px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  animation: fadeUp .4s var(--ease);
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin-inline: auto;
}

.lightbox figcaption {
  text-align: center;
  color: #d8cbb2;
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255,253,249,.75);
  cursor: pointer;
  font-size: 2.6rem;
  line-height: 1;
  padding: .6rem 1rem;
  transition: color .3s, transform .3s;
  z-index: 2;
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #fff; }

.lb-close { top: 1rem; right: 1.2rem; }
.lb-prev  { left: .6rem; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-next  { right: .6rem; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }

/* Scroll lock */
body.no-scroll { overflow: hidden; }

/* ============================================================
   Responsief
   ============================================================ */

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(26, 21, 14, .97);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
  }

  .site-nav.open { opacity: 1; pointer-events: auto; }

  .site-nav a { color: #fff !important; font-size: 1rem; }
  .site-header.scrolled .site-nav a { color: #fff; }
  .nav-toggle { display: block; }

  .over-grid { grid-template-columns: 1fr; }
  .over-photo { order: -1; }
  .over-photo::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .masonry { columns: 1; }
  /* Op mobiel gelijkmatige, filmische kaders */
  .ratio-tall, .ratio-square { aspect-ratio: 4 / 3; }

  .service-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .stats { gap: 1.6rem; }

  .form-row { grid-template-columns: 1fr; }

  .hero { padding-top: 6rem; }
  .hero-badges { gap: .6rem 1.4rem; }
  .hero-scroll { display: none; }

  .btn { width: 100%; max-width: 340px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .contact-buttons { flex-direction: column; align-items: center; }

  .lb-prev { left: 0; }
  .lb-next { right: 0; }

  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Toegankelijkheid: minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .fade-item, .hero-badges { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-scroll span { animation: none; }
  * { transition-duration: .01ms !important; }
}
