/* ═══════════════════════════════════════════════════════════
   Aannemersbedrijf HandyMan — stylesheet
   Auteur : Erwin Biharie
   ═══════════════════════════════════════════════════════════ */

/* ═══ Tokens ═══ */
:root {
  --gold: #C9982F;
  --gold-hi: #DDB35A;
  --gold-lo: #B0821F;
  --gold-tint: #FBF4E4;
  --ink: #161616;
  --text: #3A3A3A;
  --muted: #6E6A64;
  --line: #ECE6DA;
  --bg: #FFFFFF;
  --bg-soft: #FAF8F4;
  --dark: #151515;

  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", "Brush Script MT", cursive;

  --wrap: 1360px;
  --gutter: clamp(18px, 4vw, 44px);
  --r-sm: 8px;
  --r-md: 12px;
  --shadow: 0 10px 30px -14px rgba(40, 30, 10, .22);
  --header-h: 78px;
}

/* ═══ Basis ═══ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; }
p { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

/* ═══ Knoppen ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(176, 130, 31, .8), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover { background: linear-gradient(180deg, var(--gold), var(--gold-lo)); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: #D8CDB7; color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-ghost .ico-play { width: 22px; height: 22px; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(0,0,0,.15); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(0,0,0,.3); }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 4px 0;
  color: var(--gold-lo); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.link-more svg { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover svg { transform: translateX(3px); }

/* ═══ Header ═══ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,12,12,.97);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px -12px rgba(0,0,0,.55); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-light img { height: 56px; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.main-nav a:not(.btn) {
  position: relative; padding: 8px 14px; text-decoration: none;
  font-size: 15.5px; font-weight: 500; color: #fff;
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--gold-hi); }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { font-weight: 700; }
.nav-cta { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; margin-left: auto;
  background: none; border: 1.5px solid rgba(255,255,255,.22); border-radius: var(--r-sm);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.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); }

/* ═══ Hero ═══ */
.hero { position: relative; min-height: clamp(520px, 62vh, 640px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 64%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 12%, rgba(255,255,255,.45) 26%, rgba(255,255,255,0) 42%);
}
.hero-script {
  position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(44px, 10%, 80px); z-index: 2;
  font-family: var(--script); font-weight: 600; color: #fff;
  font-size: clamp(28px, 2.6vw, 40px); line-height: .95;
  transform: rotate(-12deg); transform-origin: right bottom;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero-script span { display: inline-block; padding-left: 1.4em; }
.hero-script svg { display: block; width: 72%; height: 14px; margin: 4px 0 0 auto; }

.hero-inner { position: relative; z-index: 2; padding-block: 56px 64px; }
.hero-copy { max-width: 700px; }
.hero-kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink);
}
.hero-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { margin-top: 22px; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; max-width: 54ch; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ═══ USP-balk ═══ */
.usps { position: relative; z-index: 3; background: #fff; border-block: 1px solid var(--line); box-shadow: 0 14px 30px -26px rgba(0,0,0,.35); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { display: flex; align-items: center; gap: 18px; padding: 24px 28px; }
.usp + .usp { border-left: 1px solid var(--line); }
.usp:first-child { padding-left: 0; }
.usp > svg { width: 38px; height: 38px; color: var(--gold); }
.usp h3 { font-size: 16.5px; font-weight: 700; }
.usp p { font-size: 14px; color: var(--muted); }

/* ═══ Secties ═══ */
.section { padding-block: clamp(40px, 4.5vw, 64px); }
.title { font-size: clamp(24px, 2vw, 30px); font-weight: 800; letter-spacing: -.02em; position: relative; padding-bottom: 12px; }
.title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--gold); }

.section-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 64px; row-gap: 12px; margin-bottom: 22px; }
.section-intro { color: var(--muted); max-width: 66ch; font-size: 14.5px; line-height: 1.55; }

/* Vaste, krappe ritmiek tussen de blokken — zoals in de mock */
#diensten { padding-top: clamp(40px, 4.5vw, 60px); padding-bottom: 18px; }
#projecten { padding-block: 18px; }
#werkwijze { padding-block: 26px; }
#reviews { padding-block: 26px clamp(44px, 5vw, 64px); }

/* ═══ Diensten ═══ */
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 14px 16px; box-shadow: var(--shadow); overflow: hidden;
}
.service-img { margin: 0 -14px; aspect-ratio: 2 / 1; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service-img img { transform: scale(1.04); }
.service-ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
  border-radius: 50%; background: #fff; color: var(--gold);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.35); position: relative;
}
.service-ico svg { width: 22px; height: 22px; }
.service h3 { font-size: 15.5px; font-weight: 700; margin-top: 10px; }
.service p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; padding-right: 30px; }
.service-go {
  position: absolute; right: 12px; bottom: 14px; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .2s, border-color .2s;
}
.service-go svg { width: 13px; height: 13px; }
.service-go:hover { background: var(--gold); border-color: var(--gold); }
.service-go::before { content: ""; position: absolute; inset: -400px -400px -16px -400px; } /* hele kaart klikbaar */

.extra-diensten { margin-top: 18px; padding: 18px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); }
.extra-diensten p { font-weight: 600; color: var(--ink); margin-bottom: 12px; font-size: 14.5px; }
.extra-diensten ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.extra-diensten li { padding: 6px 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }

/* ═══ Projecten ═══ */
.projects-head { column-gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: #F4F1EB; border: 1px solid transparent; color: var(--text);
  transition: background-color .2s, border-color .2s;
}
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); font-weight: 600; }

.project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.project-grid li[hidden] { display: none; }
.project {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-sm);
  overflow: hidden; aspect-ratio: 4 / 3.1; background: var(--bg-soft);
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project span {
  position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; text-align: left;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.project:hover img { transform: scale(1.05); }
.project:hover span, .project:focus-visible span { opacity: 1; transform: none; }
.empty-note { margin-top: 14px; color: var(--muted); }
.empty-note a { color: var(--gold-lo); font-weight: 600; }

/* ═══ Werkwijze ═══ */
.steps-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: center; }
.steps-intro p { margin-top: 12px; color: var(--muted); font-size: 13.5px; max-width: 30ch; line-height: 1.5; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: start; gap: 10px;
  padding: 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.step-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); font-weight: 700; font-size: 14px;
}
.step > svg { width: 28px; height: 28px; color: var(--ink); margin-top: 5px; }
.step h3 { font-size: 15px; font-weight: 700; }
.step p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

/* ═══ Reviews + CTA (mock: titel | 3 reviews | donker CTA-blok) ═══ */
.reviews-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) minmax(320px, 470px); gap: 16px; align-items: stretch; }
.reviews-side { align-self: start; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.review {
  margin: 0; padding: 16px 18px; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.review blockquote { margin: 10px 0 12px; font-size: 13px; font-style: italic; line-height: 1.5; color: var(--text); flex: 1; }
.review figcaption { font-size: 12.5px; color: var(--muted); }
.review figcaption b { display: block; color: var(--ink); font-size: 13.5px; }

.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-md); padding: 24px 28px;
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  background: #1c1c1c url("../img/vloer-woonkamer-m.webp") center / cover no-repeat;
}
.cta-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,.72) 55%, rgba(18,18,18,.35) 100%); }
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; }
.cta-card p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.85); max-width: 40ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cta-actions .btn { padding: 10px 18px; font-size: 14px; }

/* ═══ Offerte-venster ═══ */
.modal {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
  background: rgba(14,14,14,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  overflow-y: auto; animation: fadeIn .2s ease;
}
.modal[hidden] { display: none; }
.modal-box {
  position: relative; width: min(640px, 100%); background: #fff; border-radius: 14px;
  padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  animation: popIn .25s ease;
}
.modal-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; padding-right: 40px; }
.modal-intro { margin: 6px 0 20px; color: var(--muted); font-size: 14.5px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: #F4F1EB; color: var(--ink);
}
.modal-close:hover { background: var(--gold); }
.modal-close svg { width: 20px; height: 20px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.quote-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  min-height: 46px; padding: 10px 13px; border: 1.5px solid #DED6C6; border-radius: var(--r-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,152,47,.18); }
.field .err { display: none; color: #B42318; font-size: 13px; }
.field.has-error input, .field.has-error textarea { border-color: #B42318; }
.field.has-error .err { display: block; }
.quote-form .btn { justify-self: start; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.2em; }
.form-status.ok { color: #1E6B3A; font-weight: 500; }

/* ═══ Scroll-reveal: blokken verschijnen pas bij het scrollen ═══ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero-script { opacity: 0; animation: fadeUp .9s ease .5s forwards; }
@keyframes fadeUp { from { opacity: 0; } to { opacity: 1; } }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ═══ Subpagina's: paginakop ═══ */
.page-hero { position: relative; min-height: clamp(260px, 34vh, 360px); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,14,14,.86) 0%, rgba(14,14,14,.6) 45%, rgba(14,14,14,.15) 100%); }
.page-hero-inner { position: relative; z-index: 2; padding-block: 48px 44px; color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; }
.page-hero p { margin-top: 12px; max-width: 56ch; font-size: clamp(15px, 1.2vw, 17.5px); color: rgba(255,255,255,.88); }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; margin-bottom: 14px; color: rgba(255,255,255,.7); }
.crumbs a { text-decoration: none; color: var(--gold-hi); }
.crumbs a:hover { text-decoration: underline; }
.js .page-hero-inner > * { opacity: 0; transform: translateY(18px); animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.js .page-hero-inner > :nth-child(2) { animation-delay: .08s; }
.js .page-hero-inner > :nth-child(3) { animation-delay: .16s; }

/* ═══ Over ons ═══ */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.story-copy > p { margin-top: 16px; max-width: 60ch; }
.story-copy .title + p { margin-top: 22px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.check-list svg { width: 22px; height: 22px; color: var(--gold); }
.story-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.story-media { position: relative; margin: 0 0 40px; }
.story-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow); }
.story-sub { position: absolute; left: -28px; bottom: -40px; width: 44%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); border: 6px solid #fff; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }

.values-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow); }
.value > svg { width: 36px; height: 36px; color: var(--gold); }
.value h3 { font-size: 17px; font-weight: 700; margin-top: 14px; }
.value p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: clamp(28px, 4vw, 56px); align-items: center; }
.area-copy > p { margin-top: 20px; max-width: 54ch; }
.area-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.area-list li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.area-list svg { width: 16px; height: 16px; color: var(--gold); }
.area .cta-card { min-height: 240px; }

/* ═══ Contactpagina ═══ */
.contact-section { background: var(--bg-soft); }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-cards { display: grid; gap: 12px; }
.info-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
  transition: border-color .2s;
}
a.info-card:hover { border-color: var(--gold); }
.info-card > svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-lo); }
.info-card span { display: flex; flex-direction: column; font-size: 15px; color: var(--text); overflow-wrap: anywhere; line-height: 1.45; }
.info-card b { color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.info-socials { justify-content: space-between; flex-wrap: wrap; }
.socials.socials-dark a { border-color: var(--line); color: var(--ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: clamp(22px, 3.2vw, 38px); }
.form-intro { margin: 18px 0 22px; color: var(--muted); font-size: 14.5px; max-width: 62ch; }

@media (max-width: 1080px) {
  .story, .area, .contact { grid-template-columns: minmax(0, 1fr); }
  .story-media { margin: 0 0 40px 28px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .page-hero { min-height: 240px; }
  .page-hero-inner { padding-block: 36px 30px; }
  .story-actions .btn { flex: 1 1 100%; }
  .story-media { margin: 0 0 34px 18px; }
  .story-sub { left: -18px; bottom: -34px; width: 48%; border-width: 4px; }
  .values { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .value { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; }
  .value > svg { grid-row: span 2; width: 30px; height: 30px; }
  .value h3 { margin-top: 0; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-card { padding: 14px 16px; }
  .info-card > svg { width: 40px; height: 40px; padding: 10px; }
}


/* ═══ Reviews: score, schrijven, sterrenkiezer ═══ */
.review-score { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.review-score b { color: var(--ink); font-size: 16px; }
.review-acties { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; }
.btn-review { padding: 9px 16px; font-size: 14px; background: #fff; border-color: #D8CDB7; color: var(--ink); }
.btn-review svg { width: 16px; height: 16px; color: var(--gold); }
.btn-review:hover { border-color: var(--gold); background: var(--gold-tint); }
.stars .ster-uit { color: #DDD5C5; }
.stars span { display: inline-flex; }

.star-field { border: 0; margin: 0; padding: 0; }
.star-field legend { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.star-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; justify-self: start; gap: 4px; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { cursor: pointer; color: #DDD5C5; transition: color .15s, transform .15s; padding: 2px; }
.star-pick label svg { width: 36px; height: 36px; display: block; }
.star-pick label:hover, .star-pick label:hover ~ label,
.star-pick input:checked ~ label { color: var(--gold); }
.star-pick label:hover { transform: scale(1.12); }
.star-pick input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.star-label { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.star-label.gekozen { color: var(--gold-lo); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.form-status.fout { color: #B42318; font-weight: 500; }
.btn:disabled { opacity: .6; cursor: progress; }

.review-bedankt { text-align: center; padding: 10px 0; }
.review-bedankt .modal-title { padding-right: 0; }
.bedankt-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-lo); margin-bottom: 14px; }
.bedankt-ico svg { width: 34px; height: 34px; }

.modal-wide { width: min(980px, 100%); }
.reviews-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; max-height: 60vh; overflow-y: auto; padding: 2px; }
.modal-foot { display: flex; justify-content: flex-end; margin-top: 18px; }

/* ═══ Footer ═══ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.6fr .7fr 1fr; gap: 32px; align-items: start; padding-bottom: 36px; }
.f-col { border-left: 1px solid rgba(255,255,255,.12); padding-left: 28px; }
.f-col h3 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.f-links a, .f-contact a { text-decoration: none; font-size: 14px; }
.f-links a:hover, .f-contact a:hover { color: var(--gold-hi); }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.f-contact li { display: flex; align-items: center; gap: 10px; }
.f-contact svg { width: 16px; height: 16px; color: var(--gold); }
.f-contact a { overflow-wrap: break-word; min-width: 0; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background-color .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.f-script { font-family: var(--script); font-weight: 600; font-size: 30px; line-height: 1; color: #fff; transform: rotate(-6deg); justify-self: end; position: relative; padding-bottom: 12px; }
.f-script::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--gold-hi)); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); }
.f-bottom { align-items: center; }
.f-bottom a { text-decoration: none; }
.made-by { display: block; line-height: 0; border-radius: 6px; transition: opacity .2s; }
.made-by img { height: 34px; width: auto; border-radius: 6px; }
.made-by:hover { opacity: .85; }
.f-bottom a:hover { color: #fff; }

/* ═══ Lightbox ═══ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: max(20px, env(safe-area-inset-top, 0px)) 16px max(20px, env(safe-area-inset-bottom, 0px));
  background: rgba(12,12,12,.92);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--r-sm); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 500; }
.lb-close, .lb-nav { display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; transition: background-color .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: 16px; width: 46px; height: 46px; }
.lb-close svg { width: 22px; height: 22px; }
.lb-nav { width: 50px; height: 50px; flex-shrink: 0; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev svg { transform: rotate(180deg); }

/* ═══ Responsive ═══ */
@media (max-width: 1360px) {
  .reviews-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); row-gap: 20px; }
  .reviews-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
  .reviews-side .review-acties { margin-top: 0; }
}

@media (max-width: 1280px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-layout { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid .brand { grid-column: 1 / -1; }
  .f-col:nth-of-type(1) { border-left: 0; padding-left: 0; }
  .f-script { grid-column: 1 / -1; justify-self: start; transform: rotate(-4deg); }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; left: 0; right: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    bottom: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    background: #0c0c0c; border-top: 1px solid rgba(255,255,255,.1); overflow-y: auto;
    opacity: 0; transform: translateY(-10px); visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: 15px 4px; font-size: 19px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a.is-active { color: var(--gold-hi); }
  .nav-cta { display: inline-flex; margin-top: 24px; padding: 16px; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-media { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 56vh; }
  .hero-media::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 22%); }
  .hero-script { bottom: 22%; }
  .hero-inner { padding-block: 0 40px; margin-top: -20px; }

  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp { padding: 18px 16px; }
  .usp:first-child { padding-left: 16px; }
  .usp:nth-child(3) { border-left: 0; }
  .usp:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section-head, .projects-head { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; }
  .reviews-layout { grid-template-columns: minmax(0, 1fr); }
  .cta-card { min-height: 200px; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .brand img { height: 38px; }
  .hero-kicker { font-size: 11px; letter-spacing: .2em; gap: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-script { font-size: 24px; }

  .usp { gap: 12px; padding: 14px 10px; }
  .usp:first-child { padding-left: 10px; }
  .usp > svg { width: 28px; height: 28px; }
  .usp h3 { font-size: 14px; }
  .usp p { font-size: 12.5px; line-height: 1.35; }

  #diensten { padding-top: 36px; }
  .section-head { margin-bottom: 16px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service { padding: 0 11px 14px; }
  .service-img { margin: 0 -11px; aspect-ratio: 16 / 9; }
  .service-ico { width: 38px; height: 38px; margin-top: -19px; }
  .service-ico svg { width: 19px; height: 19px; }
  .service h3 { font-size: 14.5px; margin-top: 8px; }
  .service p { font-size: 12.5px; padding-right: 0; margin-bottom: 26px; }
  .service-go { right: 10px; bottom: 11px; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project span { opacity: 1; transform: none; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .step { grid-template-columns: auto 1fr; padding: 14px; }
  .step > div { grid-column: 1 / -1; }
  .step-num { width: 34px; height: 34px; font-size: 13px; }
  .step > svg { justify-self: end; }

  /* reviews als veegbare rij */
  .reviews {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 82%; scroll-snap-align: start; }
  .cta-actions .btn { flex: 1 1 100%; }

  .field-row { grid-template-columns: 1fr; }
  .quote-form .btn { justify-self: stretch; }
  .modal { place-items: end center; padding: 0; }
  .modal-box { border-radius: 16px 16px 0 0; max-height: 92vh; overflow-y: auto; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }

  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .f-col { border-left: 0; padding-left: 0; }
  .brand-light img { height: 46px; }
  .lb-nav { position: absolute; bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
  .lightbox img { max-height: 70vh; }
}

@media (max-width: 340px) {
  .service-grid, .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-copy > * { opacity: 1; transform: none; animation: none; }
  .js .hero-script { opacity: 1; animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 760px) {
  .f-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

/* ═══ Reviews mobiel (na de algemene breakpoints) ═══ */
@media (max-width: 760px) {
  .star-pick label svg { width: 40px; height: 40px; }
  .reviews-all { max-height: none; }
  .modal-foot .btn { flex: 1; }
  .reviews-side { display: block; }
  .reviews-side .review-acties { margin-top: 14px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
}
