/* ==========================================================================
   De Klustechneut — style.css
   Rustig grijs/zand palet, rood en geel als accent uit het logo.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Accenten: dieper rood uit het logo, geel als spot-accent */
  --red: #8E1B1B;
  --red-dark: #6E1212;
  --red-soft: #A82A22;
  --yellow: #F5CD00;
  --yellow-dark: #DCB900;
  --yellow-ink: #2A1B00;

  /* Balk en footer: exact het rood uit logo.png, zodat de rode balk in
     het logo wegvalt en alleen het gele woordmerk overblijft.
     Tekst daarop is altijd zuiver wit (5,55:1). Geel haalt op dit rood
     maar 3,6:1 en wordt er dus alleen als streep gebruikt. */
  --bar-red: #C72B18;
  --bar-red-dark: #A82414;

  /* Neutralen */
  --ink: #16191D;
  --ink-2: #22262C;
  --ink-3: #2E333A;
  --text: #3C4046;
  --muted: #656A72;
  --line: #E3E2DE;
  --line-strong: #D2D1CC;
  --surface: #FFFFFF;
  --bg: #FAF9F7;
  --bg-tint: #F2F1ED;

  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(22, 25, 29, 0.05), 0 2px 8px rgba(22, 25, 29, 0.04);
  --sh-2: 0 2px 4px rgba(22, 25, 29, 0.05), 0 12px 28px rgba(22, 25, 29, 0.09);
  --sh-3: 0 4px 8px rgba(22, 25, 29, 0.06), 0 24px 56px rgba(22, 25, 29, 0.14);

  --nav-h: 80px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.3rem + 3.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.65rem); letter-spacing: -0.03em; }
h3 { font-size: 1.1rem; letter-spacing: -0.015em; }

p { text-wrap: pretty; }

.container {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Secties ---------- */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-tint { background: var(--bg-tint); }

.section-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}
.section-dark h2,
.section-dark h3 { color: #fff; }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.section-kicker::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}
.kicker-light { color: rgba(255, 255, 255, 0.6); }

.section-intro,
.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  color: var(--muted);
  margin-top: 1rem;
  max-width: 42rem;
}
.section-dark .lead { color: rgba(255, 255, 255, 0.76); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.95rem 1.4rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s,
              box-shadow 0.18s, transform 0.18s;
}
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { font-size: 1rem; padding: 1.05rem 1.7rem; min-height: 54px; }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(142, 27, 27, 0.22);
}
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 26px rgba(142, 27, 27, 0.3); }

.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}
.btn-yellow:hover { background: var(--yellow-dark); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); box-shadow: var(--sh-2); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.55); }

.btn-whatsapp { background: #25D366; color: #06331A; }
.btn-whatsapp:hover { background: #1FBE59; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--red);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow-light { color: var(--yellow); }

/* ---------- Navigatie ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bar-red);
  border-bottom: 3px solid var(--yellow);
  transition: box-shadow 0.25s;
}
.navbar.is-scrolled {
  box-shadow: 0 4px 22px rgba(22, 25, 29, 0.22);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--nav-h);
}

/* Het logo staat direct op de rode balk. De rode balk in het logo valt
   daardoor weg en het gele woordmerk komt naar voren. */
.nav-logo { display: block; flex-shrink: 0; }
.nav-logo img {
  width: auto;
  height: 46px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.4vw, 1.1rem);
}

.nav-link {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-pill);
  transition: background-color 0.18s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}
.nav-link:hover,
.nav-link:focus-visible { background: rgba(255, 255, 255, 0.16); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { font-weight: 700; }
.nav-link.is-active::after { transform: scaleX(1); }

.btn-nav { padding: 0.7rem 1.15rem; min-height: 44px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
  flex-direction: column;
  transition: background-color 0.18s;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.22); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  min-height: clamp(560px, calc(100vh - var(--nav-h)), 860px);
  min-height: clamp(560px, calc(100svh - var(--nav-h)), 860px);
  background: var(--ink);
  overflow: hidden;
}
.hero-inner { min-width: 0; }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 16, 19, 0.94) 0%, rgba(14, 16, 19, 0.82) 38%, rgba(14, 16, 19, 0.34) 68%, rgba(14, 16, 19, 0.5) 100%),
    linear-gradient(to top, rgba(14, 16, 19, 0.75), transparent 45%);
}

.hero-inner { padding-block: clamp(4rem, 10vw, 6.5rem); }

.hero-content { max-width: none; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--yellow);
  margin-bottom: 1.1rem;
}
.hero-kicker::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.hero h1 { color: #fff; max-width: 38rem; }

.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.6rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-usps li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.hero-usps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ---------- Afbeeldingskader + fallback ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--line);
  border-radius: var(--r-md);
}
.img-frame.img-missing img { display: none; }
.img-frame.img-missing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(22, 25, 29, 0.04) 0 10px, transparent 10px 20px),
    var(--bg-tint);
}
.img-frame.img-missing::after {
  content: "Foto volgt";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Diensten ---------- */
.diensten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.dienst-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--sh-1);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.dienst-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
}

.dienst-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--yellow);
  margin-bottom: 1.4rem;
}
.dienst-icon svg { width: 26px; height: 26px; }

.dienst-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.dienst-card > p { color: var(--muted); }

.dienst-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.dienst-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.97rem;
}
.dienst-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 1px rgba(22, 25, 29, 0.08);
}
.dienst-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.68em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.dienst-card .link-arrow { margin-top: auto; }

/* ---------- Werk: vier onderwerpen ---------- */
.categorie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.categorie-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  font: inherit;
  text-align: left;
  color: #fff;
  cursor: pointer;
  background: var(--line);
  box-shadow: var(--sh-1);
  transition: transform 0.25s, box-shadow 0.25s;
}
.categorie-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }

.categorie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.categorie-card:hover img { transform: scale(1.05); }

.categorie-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 16, 19, 0.88) 0%, rgba(14, 16, 19, 0.3) 42%, rgba(14, 16, 19, 0.05) 70%);
  pointer-events: none;
}

.categorie-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  padding: 1.25rem 1.3rem;
}
.categorie-titel {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.categorie-meta {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  color: var(--yellow);
}
.categorie-meta::after {
  content: "";
  margin-left: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.categorie-card:hover .categorie-meta::after { transform: rotate(45deg) translate(2px, -2px); }

.portfolio-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.portfolio-cta p {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Fotogalerij ---------- */
body.galerij-open { overflow: hidden; }

.galerij {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #0B0C0E;
  color: #fff;
}
.galerij[hidden] { display: none; }

.galerij-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.galerij-titel {
  flex: 1;
  min-width: 0;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.35rem);
  color: #fff;
}
.galerij-teller {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.galerij-sluit {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s;
}
.galerij-sluit:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.galerij-sluit svg { width: 20px; height: 20px; }

.galerij-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  min-height: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem) clamp(0.75rem, 3vw, 2rem);
}

.galerij-figuur {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.75rem;
  min-height: 0;
  height: 100%;
  justify-items: center;
  align-content: center;
}
.galerij-figuur img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  align-self: center;
  object-fit: contain;
  border-radius: var(--r-md);
}
.galerij-figuur figcaption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
  max-width: 44rem;
}

.galerij-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s;
}
.galerij-nav:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.galerij-nav[hidden] { visibility: hidden; display: grid; }
.galerij-nav svg { width: 22px; height: 22px; }

.galerij-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem clamp(1rem, 4vw, 2rem) 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  scrollbar-width: thin;
}
.galerij-duim {
  flex: 0 0 auto;
  width: 72px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.18s, border-color 0.18s;
}
.galerij-duim img { width: 100%; height: 100%; object-fit: cover; }
.galerij-duim:hover { opacity: 0.85; }
.galerij-duim.is-actief { opacity: 1; border-color: var(--yellow); }

/* ---------- Meterkast ---------- */
.meterkast-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.meterkast-content p + p { margin-top: 0.9rem; }
.meterkast-content > p:not(.lead) { color: rgba(255, 255, 255, 0.72); }
.meterkast-content .link-arrow { margin-top: 1.1rem; }

.meterkast-points {
  display: grid;
  gap: 1.5rem;
  margin: 2.25rem 0;
}
.meterkast-points li {
  display: flex;
  gap: 1rem;
}
.meterkast-points svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.2rem;
  color: var(--yellow);
}
.meterkast-points h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.meterkast-points p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.68); }

.meterkast-visual {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 5;
}
.meterkast-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Laadpaal ---------- */
.section-laadpaal {
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 60%);
}

.laadpaal-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.laadpaal-photo {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  aspect-ratio: 3 / 4;
}
.laadpaal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.laadpaal-content p + p { margin-top: 1rem; }
.laadpaal-content > p:not(.lead) { color: var(--muted); }

.wa-hint {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 34rem;
}
.wa-hint-light { color: rgba(255, 255, 255, 0.66); }

.warmtepomp-note {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--r-md);
}
.warmtepomp-note svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--red);
}
.warmtepomp-note p { font-size: 0.94rem; color: var(--muted); }
.warmtepomp-note strong { color: var(--ink); }

.dienst-list li.is-highlight { font-weight: 600; color: var(--ink); }
.dienst-list li.is-highlight::before { background: var(--red); }
.dienst-list li.is-highlight::after {
  border-left-color: #fff;
  border-bottom-color: #fff;
}

/* ---------- 2D/3D ---------- */
.visual-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.visual-media {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh-2);
  padding: 0.75rem;
}
.visual-media img {
  width: 100%;
  border-radius: calc(var(--r-lg) - 8px);
}
.visual-media figcaption {
  padding: 0.85rem 0.5rem 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.visual-content p + p { margin-top: 1rem; }
.visual-content > p:not(.lead) { color: var(--muted); }

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.75rem 0 2.25rem;
}

/* Variant met een vet label voor de punten, iets ruimer omdat de regels
   over twee regels kunnen lopen. */
.check-list-detail { gap: 0.9rem; }
.check-list-detail li { color: var(--muted); }
.check-list-detail strong { color: var(--ink); font-weight: 600; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.63em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}

/* ---------- Over mij ---------- */
.arne-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.arne-content p + p { margin-top: 1rem; }
.arne-content > p:not(.lead) { color: var(--muted); }

.arne-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.25rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 1.25rem 1rem;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.waarden-grid { display: grid; gap: 1rem; }

.waarde-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--r-md);
  padding: 1.4rem 1.5rem;
}
.waarde-card svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.waarde-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.waarde-card p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Werkwijze ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.4rem;
}
.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- CTA-band ---------- */
.cta-band {
  background: var(--ink-2);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.75rem;
  font-size: 1.08rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info { display: grid; gap: 1.75rem; }

.contact-block h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.contact-block address { font-style: normal; }

.contact-list { display: grid; gap: 0.7rem; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; }
.contact-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--red);
}
.contact-list a {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.contact-list a:hover { color: var(--red); border-bottom-color: currentColor; }

.hours-table { border-collapse: collapse; width: 100%; max-width: 22rem; }
.hours-table td {
  padding: 0.4rem 0;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--line);
}
.hours-table td:last-child { text-align: right; color: var(--muted); }

.contact-map {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-map:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); }
.contact-map svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--red); }
.contact-map span { font-weight: 500; color: var(--ink); line-height: 1.4; }
.contact-map small { color: var(--muted); font-weight: 400; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--sh-1);
}

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

.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-field label span { color: var(--red); }

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  min-height: 48px;
  transition: border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
}
.form-field textarea { resize: vertical; min-height: 7rem; }

.form-field input:focus,
.form-field textarea:focus {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 25, 29, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #9EA2A8; }

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--red);
  background: #FDF4F4;
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--red);
}
.form-field.has-error .field-error { display: block; }

.btn-submit { width: 100%; margin-top: 0.4rem; }

.form-note {
  margin-top: 0.9rem;
  font-size: 0.83rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.form-success svg {
  width: 44px;
  height: 44px;
  color: #1DA75A;
  margin: 0 auto 0.9rem;
}
.form-success h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.form-success p { color: var(--muted); }
.form-success a { font-weight: 600; color: var(--red); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bar-red);
  color: #fff;
  border-top: 3px solid var(--yellow);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-brand img { width: auto; height: 56px; display: block; }
.footer-logo { display: inline-block; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 24rem; font-size: 0.94rem; }

.footer-col h3 {
  display: inline-block;
  color: #fff;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; font-size: 0.94rem; }
.footer-col a {
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.footer-col a:hover { border-bottom-color: var(--yellow); }

.footer-bottom {
  background: var(--bar-red-dark);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}

/* De regel staat cursief; alleen de naam is onderstreept. */
.footer-credit { font-style: italic; }
.footer-credit a {
  color: #fff;
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  border-bottom: 0;
  transition: color 0.18s;
}
.footer-credit a:hover,
.footer-credit a:focus-visible { color: var(--yellow); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .nav-link { font-size: 0.86rem; }
}

@media (max-width: 920px) {
  .meterkast-inner,
  .visual-inner,
  .arne-inner,
  .laadpaal-inner,
  .contact-grid { grid-template-columns: 1fr; }

  .laadpaal-photo {
    position: static;
    aspect-ratio: 16 / 10;
    max-width: 34rem;
  }
  .laadpaal-photo img { object-position: 50% 32%; }

  .visual-inner .visual-media { order: 2; }
  .visual-inner .visual-content { order: 1; }

  .meterkast-visual { aspect-ratio: 1 / 1; max-width: 32rem; }
  .arne-inner { gap: 2.5rem; }
  .waarden-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

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

  .nav-menu {
    position: fixed;
    inset: calc(var(--nav-h) + 3px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--nav-h) - 3px);
    overflow-y: auto;
    background: var(--bar-red-dark);
    border-bottom: 3px solid var(--yellow);
    box-shadow: var(--sh-3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav-link {
    font-size: 1.05rem;
    color: #fff;
    padding: 0.9rem 0.9rem;
    border-radius: var(--r-md);
    border-left: 3px solid transparent;
    transition: background-color 0.15s, border-color 0.15s;
  }
  .nav-link::after { display: none; }

  /* Lichter vlak zodra je er met de muis of vinger op zit, en bij de
     sectie waar je nu bent. */
  .nav-link:hover,
  .nav-link:focus-visible { background: rgba(255, 255, 255, 0.16); }
  .nav-link:active { background: rgba(255, 255, 255, 0.26); }
  .nav-link.is-active {
    background: rgba(255, 255, 255, 0.16);
    border-left-color: var(--yellow);
    font-weight: 700;
  }

  .btn-nav { margin-top: 1.25rem; width: 100%; min-height: 52px; font-size: 1.05rem; }

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

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

@media (max-width: 720px) {
  .diensten-grid { grid-template-columns: 1fr; }

  /* Onder elkaar wil de klant de technische dienstverlening eerst zien.
     Op desktop blijft Klusservice links staan. */
  .diensten-grid > :nth-child(1) { order: 2; }
  .diensten-grid > :nth-child(2) { order: 1; }
}

@media (max-width: 620px) {
  :root { --nav-h: 64px; }

  .nav-logo img { height: 38px; }

  .hero { min-height: min(calc(100svh - var(--nav-h)), 1000px); }
  .hero-inner { padding-block: clamp(3rem, 14vw, 4.5rem) 3.5rem; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(14, 16, 19, 0.72) 0%, rgba(14, 16, 19, 0.88) 55%, rgba(14, 16, 19, 0.95) 100%);
  }
  .hero-media img { object-position: 70% 50%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-usps { grid-template-columns: 1fr; gap: 0.55rem; }

  .categorie-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .categorie-card { aspect-ratio: 16 / 10; }
  .categorie-titel { font-size: 1.05rem; }

  .galerij-stage { grid-template-columns: minmax(0, 1fr); padding: 0.75rem 1rem; }
  .galerij-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    background: rgba(10, 11, 13, 0.6);
    backdrop-filter: blur(4px);
  }
  .galerij-vorige { left: 0.5rem; }
  .galerij-volgende { right: 0.5rem; }
  .galerij-duim { width: 60px; height: 46px; }

  .btn-row .btn { width: 100%; }

  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: start; }
  .step-number { grid-row: span 2; margin-bottom: 0; }

  .arne-stats { grid-template-columns: 1fr; }

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

  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .portfolio-cta { flex-direction: column; }
  .portfolio-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
