/* ==========================================================================
   Qumex – design tokens & basis
   ========================================================================== */
:root {
  --bg: #f4f2ee;
  --bg-2: #ece9e2;
  --surface: #ffffff;
  --ink: #131412;
  --ink-2: #3d3f3b;
  --muted: #6b6e68;
  --line: #e3dfd6;
  --line-2: #d3cfc5;

  --green: #0e8a4c;
  --green-dark: #0a6b3a;
  --green-ink: #0b4f2c;
  --mint: #dcf1e4;
  --mint-2: #eef7f1;

  --dark: #161715;
  --dark-2: #1f2120;
  --dark-line: rgba(255, 255, 255, 0.12);
  --on-dark-muted: rgba(255, 255, 255, 0.68);

  --amber: #e2a72e;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow: 0 1px 2px rgba(20, 20, 18, 0.04), 0 12px 32px -12px rgba(20, 20, 18, 0.16);
  --shadow-lg: 0 24px 60px -20px rgba(20, 20, 18, 0.35);

  --container: 1200px;
  --gutter: 24px;
  --section: clamp(64px, 8vw, 112px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
h4 {
  font-size: 1rem;
}
ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus {
  left: 8px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: clamp(40px, 5vw, 72px);
}
.section--surface {
  background: var(--surface);
}
.section--dark {
  background: var(--dark);
  color: #fff;
}
.section--mint {
  background: var(--mint-2);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--green {
  color: var(--green);
}
.section--dark .eyebrow {
  color: var(--on-dark-muted);
}
.lead {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 60ch;
}
.section--dark .lead {
  color: var(--on-dark-muted);
}
.muted {
  color: var(--muted);
}
.text-green {
  color: var(--green);
}
.text-soft {
  color: var(--muted);
  font-weight: 500;
}
.measure {
  max-width: 64ch;
}
.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover {
  background: #000;
}
.btn--green {
  background: var(--green);
  color: #fff;
}
.btn--green:hover {
  background: var(--green-dark);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  background: #f1f1ee;
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.section--dark .btn--ghost,
.cta-band .btn--ghost,
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.hero .btn--ghost:hover {
  border-color: #fff;
}
.btn--sm {
  padding: 11px 18px;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 17px 30px;
  font-size: 1.02rem;
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn .arrow {
  width: 14px;
  height: 14px;
  flex: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 238, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  width: 124px;
  height: auto;
}
.brand-logo--light {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav-item > a:hover,
.nav-item > a.is-active {
  color: var(--ink);
  background: rgba(20, 20, 18, 0.06);
}
.has-menu .menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.has-menu:hover .menu,
.has-menu:focus-within .menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}
.menu-link:hover,
.menu-link.is-active {
  background: var(--bg);
}
.menu-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}
.menu-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.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);
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 16px 0 24px;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-group-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 0 6px;
}
.mobile-nav .btn {
  margin-top: 18px;
  border-bottom: 0;
}

/* Header on dark hero */
body.has-dark-hero .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.has-dark-hero .site-header:not(.is-scrolled) .brand-logo--dark {
  display: none;
}
body.has-dark-hero .site-header:not(.is-scrolled) .brand-logo--light {
  display: block;
}
body.has-dark-hero .site-header:not(.is-scrolled) .nav-item > a {
  color: rgba(255, 255, 255, 0.85);
}
body.has-dark-hero .site-header:not(.is-scrolled) .nav-item > a:hover,
body.has-dark-hero .site-header:not(.is-scrolled) .nav-item > a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
body.has-dark-hero .site-header:not(.is-scrolled) .btn--primary {
  background: #fff;
  color: var(--ink);
}
body.has-dark-hero .site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}
body.has-dark-hero .site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: -76px;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, center 45%);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 10, 0.82) 0%, rgba(10, 12, 10, 0.55) 40%, rgba(10, 12, 10, 0.15) 75%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.35) 0%, rgba(10, 12, 10, 0) 30%, rgba(10, 12, 10, 0.45) 100%);
}
.hero-content {
  position: relative;
  padding: 150px 0 72px;
  max-width: 620px;
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}
.hero h1 {
  margin-bottom: 22px;
}
.hero h1 .soft {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 50ch;
  margin-bottom: 30px;
}
.hero .btn--light {
  background: #fff;
}
.hero-badge {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.85rem;
  display: none;
}
@media (min-width: 1000px) {
  .hero-badge {
    display: block;
  }
}

/* Page hero (light) */
.page-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px);
}
.page-hero h1 {
  max-width: 18ch;
}
.page-hero--split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .page-hero--split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}
.page-hero--split .media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}

/* Trust bar -------------------------------------------------------------- */
.trustbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trustbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}
.trustbar li svg {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex: none;
}
@media (min-width: 800px) {
  .trustbar ul {
    grid-template-columns: repeat(4, 1fr);
  }
  .trustbar li {
    justify-content: center;
    padding: 22px 8px;
  }
}

/* Grid helpers ----------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 {
  grid-template-columns: 1fr;
}
.grid--3 {
  grid-template-columns: 1fr;
}
.grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid--2,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .split--reverse > :first-child {
    order: 2;
  }
}
.split .media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}

/* Section headings */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head h2 {
  margin-bottom: 8px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Solution cards --------------------------------------------------------- */
.solution-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.solution-card .media {
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: var(--bg-2);
}
.solution-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.solution-card:hover .media img {
  transform: scale(1.04);
}
.solution-card .body {
  padding: 20px 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}
.solution-card h3 {
  margin-bottom: 4px;
}
.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.circle-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.circle-arrow svg {
  width: 14px;
  height: 14px;
}
.solution-card:hover .circle-arrow,
.project-card:hover .circle-arrow {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Energy-system diagram (interactief) ----------------------------------- */
.sd-wrap {
  position: relative;
}
.system-diagram {
  width: 100%;
  height: auto;
  display: block;
}
.system-diagram .lbl {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink);
}
.system-diagram .sub {
  font-family: var(--font);
  font-size: 11.5px;
  fill: var(--muted);
}
.sd-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 8px;
}
.sd-toggle button {
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sd-toggle button.is-on {
  background: var(--ink);
  color: #fff;
}
.sd-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
}
/* hotspots */
.sd-hs {
  cursor: pointer;
  outline: none;
  transition: filter 0.2s;
}
.sd-hs .sd-hit {
  transition: fill 0.2s;
}
.sd-hs:hover .sd-hit,
.sd-hs:focus-visible .sd-hit,
.sd-wrap[data-active="zonnepanelen"] .sd-hs--zonnepanelen .sd-hit,
.sd-wrap[data-active="thuisbatterij"] .sd-hs--thuisbatterij .sd-hit,
.sd-wrap[data-active="warmtepomp"] .sd-hs--warmtepomp .sd-hit,
.sd-wrap[data-active="laadpaal"] .sd-hs--laadpaal .sd-hit {
  fill: rgba(14, 138, 76, 0.16);
}
.sd-label {
  cursor: pointer;
}
.sd-label:hover .lbl,
.sd-wrap[data-active="zonnepanelen"] .sd-label--zonnepanelen .lbl,
.sd-wrap[data-active="thuisbatterij"] .sd-label--thuisbatterij .lbl,
.sd-wrap[data-active="warmtepomp"] .sd-label--warmtepomp .lbl,
.sd-wrap[data-active="laadpaal"] .sd-label--laadpaal .lbl {
  fill: var(--green);
}
.sd-dot-pulse {
  fill: var(--green);
  animation: sd-pulse 2.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
/* animaties */
.sd-flow use {
  animation: sd-dash 1.2s linear infinite;
}
.sd-rays {
  transform-box: fill-box;
  transform-origin: center;
  animation: sd-spin 40s linear infinite;
}
.sd-fan {
  transform-box: fill-box;
  transform-origin: center;
  animation: sd-spin 1.6s linear infinite;
}
.sd-heat path {
  animation: sd-heat 1.8s ease-in-out infinite;
}
.sd-heat path:nth-child(2) {
  animation-delay: 0.4s;
}
.sd-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: sd-ring 1.6s ease-out infinite;
}
.sd-led {
  animation: sd-blink 1.4s ease-in-out infinite;
}
.sd-bat-level {
  transform-box: fill-box;
  transform-origin: top;
  animation: sd-charge 8s ease-in-out infinite;
  fill: #6fcf97;
}
.sd-shine {
  transform-box: fill-box;
  transform-origin: center;
  animation: sd-shine 5s ease-in-out infinite;
}
.sd-sun,
.sd-moon,
.sd-windows polygon,
.sd-flow,
.sd-dots {
  transition: opacity 0.6s ease, fill 0.6s ease, transform 0.8s ease;
}
/* dag / avond */
.sd-moon {
  opacity: 0;
}
.sd-flow--avond,
.sd-dots--avond {
  opacity: 0;
}
.sd-wrap[data-mode="avond"] .sd-sun {
  opacity: 0;
  transform: translateY(30px);
}
.sd-wrap[data-mode="avond"] .sd-moon {
  opacity: 1;
}
.sd-wrap[data-mode="avond"] .sd-flow--dag,
.sd-wrap[data-mode="avond"] .sd-dots--dag {
  opacity: 0;
}
.sd-wrap[data-mode="avond"] .sd-flow--avond,
.sd-wrap[data-mode="avond"] .sd-dots--avond {
  opacity: 1;
}
.sd-wrap[data-mode="avond"] .sd-windows polygon {
  fill: #ffe9b3;
}
.sd-wrap[data-mode="avond"] .sd-hs--zonnepanelen {
  opacity: 0.55;
}
.sd-wrap[data-mode="avond"] .sd-shine {
  animation: none;
  opacity: 0;
}
.sd-wrap[data-mode="avond"] .sd-bat-level {
  animation-name: sd-discharge;
}
/* tooltips */
.sd-tip {
  position: absolute;
  z-index: 5;
  width: min(260px, 90%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
}
.sd-tip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.sd-tip strong {
  display: block;
  font-size: 1rem;
}
.sd-tip-sub {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.sd-tip p {
  margin: 0 0 10px;
  color: var(--ink-2);
}
.sd-tip-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.sd-tip-links a {
  font-weight: 600;
  font-size: 0.82rem;
}
.sd-tip-links a:first-child {
  color: var(--green-dark);
}
.sd-tip--zonnepanelen { right: 0; top: 24%; }
.sd-tip--thuisbatterij { right: 0; top: 8%; }
.sd-tip--warmtepomp { left: 0; top: 8%; }
.sd-tip--laadpaal { right: 0; top: 8%; }
@media (max-width: 700px) {
  .sd-tip {
    position: static;
    width: 100%;
    display: none;
    transform: none;
    margin-top: 10px;
  }
  .sd-tip.is-visible {
    display: block;
  }
  .system-diagram .lbl { font-size: 24px; }
  .system-diagram .sub { font-size: 18px; }
}
@keyframes sd-dash {
  to { stroke-dashoffset: -20; }
}
@keyframes sd-spin {
  to { transform: rotate(360deg); }
}
@keyframes sd-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.7); opacity: 0.45; }
}
@keyframes sd-heat {
  0%, 100% { opacity: 0.2; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-3px); }
}
@keyframes sd-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes sd-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes sd-charge {
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}
@keyframes sd-discharge {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0.25); }
}
@media (prefers-reduced-motion: reduce) {
  .sd-flow use, .sd-rays, .sd-fan, .sd-heat path, .sd-ring, .sd-led, .sd-bat-level, .sd-shine, .sd-dot-pulse {
    animation: none;
  }
  .sd-dots {
    display: none;
  }
}

/* Comparison table ------------------------------------------------------- */
.compare {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
}
.compare-head {
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.compare-head span:last-child {
  color: var(--green);
}
.compare-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.compare-row:last-child {
  border-bottom: 0;
}
.compare-row .old {
  color: var(--muted);
}
.compare-row .new {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}
.check-dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-dot svg {
  width: 11px;
  height: 11px;
}

/* Reviews ---------------------------------------------------------------- */
.reviews {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .reviews {
    grid-template-columns: 0.9fr 2.1fr;
    gap: 48px;
  }
}
.rating {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
}
.stars svg {
  width: 20px;
  height: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-card .quote {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.review-card .quote::before {
  content: "“";
  display: block;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  line-height: 0.6;
  color: var(--green);
  margin-bottom: 14px;
}
.review-meta {
  margin-top: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex: none;
}
.review-meta strong {
  display: block;
}
.review-meta span {
  color: var(--muted);
}

/* Project cards ---------------------------------------------------------- */
.project-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.project-card .media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover .media img {
  transform: scale(1.04);
}
.project-card .body {
  padding: 18px 20px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}
.project-card .tags {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.project-card h3 {
  font-size: 1.05rem;
  margin: 0;
}

/* Process steps ---------------------------------------------------------- */
.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
}
@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .steps--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps--7 {
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
  }
}
.step {
  position: relative;
}
.step .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.steps--7 .step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
}
.steps--7 .step h3 {
  font-size: 0.95rem;
}
.steps--7 .step p {
  font-size: 0.82rem;
}

/* Pillars */
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.pillar .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--green-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar .icon svg {
  width: 22px;
  height: 22px;
}
.pillar h3 {
  margin-bottom: 8px;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.section--dark .pillar {
  background: var(--dark-2);
  border-color: var(--dark-line);
}
.section--dark .pillar p {
  color: var(--on-dark-muted);
}

/* CTA band --------------------------------------------------------------- */
.cta-band {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band .media {
  position: absolute;
  inset: 0;
}
.cta-band .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.cta-band .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 23, 21, 0.95) 0%, rgba(22, 23, 21, 0.7) 60%, rgba(22, 23, 21, 0.4) 100%);
}
.cta-band .container {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-band .container {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }
}
.cta-band h2 {
  margin-bottom: 10px;
}
.cta-band p {
  margin: 0;
  color: var(--on-dark-muted);
  max-width: 52ch;
}

/* Region map / list ------------------------------------------------------ */
.region-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.region-card h3 {
  margin-bottom: 10px;
}
.region-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.region-card li {
  font-size: 0.85rem;
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}

/* Brand block */
.brand-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .brand-block {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.brand-block .media img {
  border-radius: 14px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.spec-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}

/* Range block */
.range-block {
  background: var(--mint-2);
  border: 1px solid #cfe7d8;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.range-figures {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
@media (min-width: 720px) {
  .range-figures {
    grid-template-columns: repeat(3, 1fr);
  }
}
.figure {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
}
.figure .val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.figure .lbl {
  font-size: 0.85rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green);
  flex: none;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 0 20px;
  color: var(--ink-2);
  max-width: 70ch;
}

/* Info blocks (3 uitleg blokken) */
.info-blocks {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .info-blocks {
    grid-template-columns: repeat(3, 1fr);
  }
}
.info-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-block .media img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.info-block .body {
  padding: 22px;
}
.info-block .body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* Cross-sell */
.crosssell {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .crosssell {
    grid-template-columns: repeat(2, 1fr);
  }
}
.crosssell a {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  transition: border-color 0.15s;
}
.crosssell a:hover {
  border-color: var(--ink);
}
.crosssell img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}
.crosssell strong {
  display: block;
}
.crosssell span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Prose */
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2em;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose a {
  color: var(--green-dark);
  text-decoration: underline;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  margin: 1em 0 1.6em;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-weight: 600;
  color: var(--ink);
}
.callout {
  background: var(--mint-2);
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 1.4em 0;
}
.callout p:last-child {
  margin: 0;
}

/* Forms */
.form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.field .hint {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 0;
  border-color: var(--green);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}
.form-success {
  display: none;
  background: var(--mint-2);
  border: 1px solid #cfe7d8;
  border-radius: 14px;
  padding: 18px 20px;
}
.form-success.is-visible {
  display: block;
}

/* Contact cards */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card h3 {
  margin-bottom: 4px;
}
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Article cards */
.article-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.article-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}
.article-card h3 {
  margin-bottom: 8px;
}
.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}
.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
}
.footer-grid a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-grid a.btn {
  color: var(--ink);
  padding: 11px 18px;
}
.footer-brand img {
  margin-bottom: 18px;
}
.footer-tagline {
  color: var(--on-dark-muted);
  max-width: 40ch;
  font-size: 0.95rem;
}
.footer-brand .btn {
  display: inline-flex;
  margin-top: 6px;
}
.footer-note {
  color: var(--on-dark-muted);
  font-size: 0.88rem;
  margin-top: 8px;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.footer-bottom nav {
  display: flex;
  gap: 18px;
}

/* Responsive nav ----------------------------------------------------------- */
@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

/* Utilities ---------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Pillar rows (compact, verticaal) */
.pillar-rows {
  display: grid;
  gap: 12px;
}
.pillar-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.pillar-row .icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--mint);
  color: var(--green-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pillar-row .icon svg {
  width: 20px;
  height: 20px;
}
.pillar-row h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.pillar-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Mobiel: compacter */
@media (max-width: 640px) {
  .compare {
    padding: 20px;
  }
  .compare-head {
    display: none;
  }
  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .compare-row .old {
    font-size: 0.82rem;
    text-decoration: line-through;
    text-decoration-color: var(--line-2);
  }
  .solution-card .media {
    aspect-ratio: 4 / 3;
  }
  .hero-content {
    padding-top: 120px;
  }
  .rating {
    font-size: 2.4rem;
  }
}
