:root {
  --black: #141414;
  --text: #1c1c1c;
  --text-muted: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f4f3f0;
  --photo: #e4e2dd;
  --border: #e3e1dc;
  --radius: 6px;
  --header-h: 84px;
  --content-width: 1320px;
  --header-width: var(--content-width);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", Verdana, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  color: var(--text);
}

h1 { font-size: clamp(38px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }

p { margin: 0; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  transition: transform 0.3s ease;
}

.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: calc(var(--header-width) + 48px);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 52px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #a8a8a8;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active { color: #ffffff; }

.nav .nav-cta {
  color: var(--black);
  background: #ffffff;
  padding: 7px 30px;
  line-height: 23px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav .nav-cta:hover,
.nav .nav-cta.active { color: var(--black); background: #e9e9e9; }

.nav .nav-meta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Screens: elke sectie vult één scherm ---------- */

.screen {
  min-height: calc(78vh - var(--header-h));
  min-height: calc(78svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 112px 24px;
}

.screen-hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.screen-alt { background: var(--bg-alt); }

.screen-cta { background: #eae8e3; }


.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.wrap.narrow { max-width: 720px; }
.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.split:has(> .photo:first-child) { grid-template-columns: 1.15fr 0.85fr; }

.split:has(> .contact-form) { grid-template-columns: 1fr 1fr; gap: 128px; }

.text h1, .text h2 { margin-bottom: 20px; }
.center h1, .center h2 { margin-bottom: 20px; }

.text > p { color: var(--text-muted); max-width: 520px; }

.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 540px;
}

.center .lead { margin: 0 auto; }

.intro { max-width: 620px; margin-bottom: 48px; }
.intro h2 { margin-bottom: 14px; }

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.center .actions { justify-content: center; }

.button {
  display: inline-block;
  background: var(--black);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 23px;
  padding: 9px 26px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover { background: #333333; border-color: #333333; }

.button-ghost { background: transparent; color: var(--black); border-color: #c9c7c1; }
.button-ghost:hover { background: transparent; border-color: var(--black); }


.text > .button { margin-top: 32px; }

/* ---------- Foto placeholder ---------- */

.photo {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--photo);
  border-radius: 16px;
  overflow: hidden;
}

.screen-alt .photo { background: #e6e4de; }

.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a978f;
}

/* ---------- Voor/na-vergelijker ---------- */

.compare {
  --pos: 40%;
  position: relative;
  width: auto;
  height: min(calc(100svh - var(--header-h) - 160px), 760px);
  aspect-ratio: 5 / 6;
  justify-self: end;
  border-radius: 16px;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare-item { position: absolute; inset: 0; }

.compare-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; pointer-events: none; }

.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.compare-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(20, 20, 20, 0.75);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.compare-label-right { left: auto; right: 16px; }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
  outline: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  color: var(--black);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.compare-handle:hover .compare-knob { transform: translate(-50%, -50%) scale(1.06); }

.compare-knob svg { width: 26px; height: 26px; }

.compare-handle:focus-visible .compare-knob { outline: 2px solid var(--black); outline-offset: 3px; }

/* ---------- Checklist ---------- */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: rotate(-45deg);
}

/* ---------- Diensten ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.service:hover { border-color: var(--black); }

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}

.service-icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  color: var(--black);
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, color 0.2s ease;
}


.service h3 { margin-bottom: 8px; }

.service p { font-size: 15px; color: var(--text-muted); }

.service-arrow {
  width: 40px;
  height: 40px;
  padding: 10px;
  color: var(--black);
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, color 0.2s ease;
}


.screen-alt .service { background: #ffffff; }

/* ---------- Over ---------- */

.over {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
  background: #ffffff;
  border-radius: 20px;
  /* container steekt buiten de inhoud uit, zodat de tekst gelijk loopt met de rest */
  --over-pad: clamp(0px, calc((100vw - var(--content-width)) / 2 - 16px), 72px);
  --over-w: min(calc(100% + 2 * var(--over-pad)), calc(var(--content-width) + 2 * var(--over-pad)));
  flex-shrink: 0;
  width: var(--over-w);
  max-width: none;
  margin-inline: calc((100% - var(--over-w)) / 2);
  padding: 60px max(var(--over-pad), 32px);
}

.over-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.over-head .contact-person { margin-top: 0; gap: 14px; }

.over-head .contact-person img { width: 56px; height: 56px; }

.over-head .contact-person strong { font-size: 16px; }

.over-head .contact-person span { font-size: 14px; }

.over-text { display: flex; flex-direction: column; gap: 20px; }

.over-text p { font-size: 18px; line-height: 1.7; letter-spacing: -0.01em; color: var(--text); }

.over-area { margin-top: 20px; }

.over-text .over-area { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }

/* ---------- Waarom ---------- */

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.why-intro h2 { margin-bottom: 20px; }

.why-list li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.why-list li:first-child { padding-top: 0; }

.why-list li:last-child { padding-bottom: 0; border-bottom: none; }

.why-icon {
  flex-shrink: 0;
  display: flex;
  width: 52px;
  height: 52px;
  padding: 13px;
  color: var(--black);
  background: #ffffff;
  border-radius: 12px;
}

.why-icon svg { width: 100%; height: 100%; }

.why-list h3 { margin-bottom: 6px; }

.why-list p { color: var(--text-muted); }

/* ---------- Werkwijze & veelgestelde vragen ---------- */

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.faq-intro h2 { margin-bottom: 20px; }

.faq-intro > p { color: var(--text-muted); }

.steps {
  counter-reset: step;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 16px;
}

.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--photo);
  border-radius: 50%;
}

.steps strong { font-size: 16px; font-weight: 600; line-height: 1.4; }

.steps span { font-size: 15px; color: var(--text-muted); }

.faq-title { margin-bottom: 8px; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item.is-open summary::after { transform: rotate(45deg); }

.faq-body { overflow: hidden; }

.faq-item p { padding: 0 32px 22px 0; font-size: 15px; color: var(--text-muted); }

/* ---------- CTA links ---------- */

.cta-links {
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-links a {
  color: var(--text);
  margin: 0 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-links a:hover { color: var(--black); }

/* ---------- Contact ---------- */

.lead-sm { font-size: 16px; max-width: 440px; }

.contact-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.contact-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-person strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }

.contact-person span { font-size: 13px; color: var(--text-muted); }

.contact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li { display: flex; align-items: center; gap: 12px; }

.contact-list .why-icon { width: 40px; height: 40px; padding: 10px; border-radius: 10px; }

.contact-list span:not(.why-icon) { display: block; font-size: 12px; line-height: 1.4; color: var(--text-muted); }

.contact-list a,
.contact-list p { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); }

.contact-list a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #ffffff;
  padding: 44px;
  border-radius: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #cfccc5;
  border-radius: 0;
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--black);
}

.contact-form .button { align-self: flex-start; }

.form-note { font-size: 13px; color: var(--text-muted); }
.form-note.is-error { color: #b3261e; }
.form-note.is-sent { color: var(--text); font-weight: 500; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form .form-title { font-size: 24px; margin-bottom: -4px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: #8a8a8a;
  font-size: 14px;
  border-top: 1px solid #262626;
}

.footer-inner {
  max-width: calc(var(--header-width) + 48px);
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 300px; }

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { color: #ffffff; }

.footer-bottom {
  width: calc(100% - 48px);
  max-width: var(--header-width);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid #262626;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #6b6b6b;
}

.footer-credit { transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.footer-credit:hover { color: #a8a8a8; }
.footer-credit:hover .slym { color: #d4d4d4; }

.footer-credit .slym {
  font-family: "Anton", "Inter", sans-serif;
  font-style: italic;
  letter-spacing: 0.5px;
  color: #999999;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }

  .nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: clip-path 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0.45s;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--black);
    border-top: 1px solid #262626;
  }

  .nav.open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
    transition: clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s;
  }

  .nav a {
    padding: 8px 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #7c7c7c;
    opacity: 0;
    transform: translateY(12px);
    transition: color 0.2s ease, opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(1) { transition-delay: 0.06s; }
  .nav.open a:nth-child(2) { transition-delay: 0.1s; }
  .nav.open a:nth-child(3) { transition-delay: 0.14s; }
  .nav.open a:nth-child(4) { transition-delay: 0.18s; }
  .nav.open a:nth-child(5) { transition-delay: 0.22s; }
  .nav.open a:nth-child(6) { transition-delay: 0.28s; }
  .nav.open a:nth-child(7) { transition-delay: 0.32s; }

  .nav a.active { color: #ffffff; }

  .nav .nav-cta {
    margin-top: auto;
    padding: 13px 24px;
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
  }

  .nav .nav-meta {
    display: block;
    margin-top: 14px;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: center;
    color: #a8a8a8;
  }

  html.nav-locked { overflow: hidden; }

  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  :root { --header-h: 68px; }

  body { font-size: 16px; }

  .logo img { height: 42px; }

  .header-inner { padding: 0 18px; }

  .screen { padding: 80px 18px; }

  .screen-hero { min-height: 0; padding-top: 40px; }

  .split,
  .split:has(> .photo:first-child),
  .split:has(> .contact-form) { grid-template-columns: 1fr; gap: 36px; }
  .split .compare { order: -1; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .split .photo { order: -1; aspect-ratio: 4 / 3; max-height: none; }

  .lead { font-size: 17px; }

  .intro { margin-bottom: 32px; }

  .over { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px; }
  .over-text p { font-size: 17px; }

  .why { grid-template-columns: 1fr; gap: 40px; }
  .faq { grid-template-columns: 1fr; gap: 48px; }
  .why-list li { gap: 18px; padding: 24px 0; }

  .contact-form { padding: 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 18px 36px; }
  .footer-bottom { flex-direction: column; width: calc(100% - 36px); padding: 18px 0; }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 22px 20px; }
  .service-top { margin-bottom: 20px; }

  .actions .button { flex: 1 1 100%; text-align: center; }
}
