/* ============================================================
   Luiervergelijker — design system
   Palette : warme off-white, salie-groen (besparen), warm koraal (accent)
   Type    : Bricolage Grotesque (display) + Instrument Sans (body)
   ============================================================ */

:root {
  --bg:        #FBF8F3;   /* warme off-white   */
  --surface:   #FFFFFF;   /* kaarten           */
  --mint:      #E9F1EA;   /* zachte vlakken    */
  --ink:       #1C2A24;   /* tekst, bijna zwart-groen */
  --muted:     #61716A;   /* secundaire tekst  */
  --green:     #2E7D5B;   /* primair / besparen */
  --green-dk:  #245F46;   /* hover             */
  --coral:     #F2785C;   /* accent / prijs    */
  --coral-dk:  #E25E41;
  --line:      #E4DED2;   /* hairlines         */
  --radius:    16px;
  --radius-lg: 26px;
  --shadow:    0 1px 2px rgba(28,42,36,.04), 0 12px 30px -12px rgba(28,42,36,.12);
  --maxw:      1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dk); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dk); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 20px; color: var(--ink);
  letter-spacing: -.02em;
}
.brand .dot {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--green);
  display: grid; place-items: center;
  color: #fff; font-size: 17px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(36px, 5vw, 58px); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 30ch; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* signature: prijs-per-luier kaart */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
}
.calc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--mint);
}
.calc-row .qty { font-weight: 600; }
.calc-row .price { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 22px; }
.calc-arrow {
  text-align: center; color: var(--muted); font-size: 14px;
  margin: 14px 0; display: flex; align-items: center; gap: 10px; justify-content: center;
}
.calc-arrow::before, .calc-arrow::after {
  content: ""; height: 1px; flex: 1; background: var(--line);
}
.calc-result {
  text-align: center; padding: 22px 18px 8px;
}
.calc-result .big {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 52px; color: var(--coral);
  line-height: 1;
}
.calc-result .lbl { color: var(--muted); font-size: 15px; margin-top: 8px; }
.calc-badge {
  position: absolute; top: -14px; right: 22px;
  background: var(--coral); color: #fff;
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
}

/* ---------- Generic sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--mint); }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.step .num {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: 15px; color: var(--green);
  width: 34px; height: 34px; border-radius: 10px; background: var(--mint);
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* size table */
.size-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.size-table th, .size-table td { padding: 14px 18px; text-align: left; font-size: 16px; }
.size-table thead th {
  background: var(--ink); color: #fff; font-weight: 600;
  font-family: "Instrument Sans", sans-serif; letter-spacing: .01em;
}
.size-table tbody tr:nth-child(even) { background: var(--mint); }
.size-table tbody tr td:first-child { font-weight: 600; }

/* blog cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 16/10; background: var(--mint); display: grid; place-items: center; }
.card .thumb svg { width: 64px; height: 64px; }
.card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card .tag { font-size: 13px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: .08em; }
.card h3 { font-size: 20px; margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; flex: 1; }
.card .read { font-weight: 600; font-size: 15px; }

/* newsletter / cta band */
.band {
  background: var(--green); color: #fff;
  border-radius: var(--radius-lg); padding: 48px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.band h2 { color: #fff; font-size: 30px; }
.band p { color: rgba(255,255,255,.85); margin: 0; }
.band .btn-primary { background: #fff; color: var(--green); }
.band .btn-primary:hover { background: var(--mint); color: var(--green-dk); }

/* ---------- Article ---------- */
.article { padding: 56px 0 72px; }
.article-head { max-width: 70ch; margin: 0 auto 40px; text-align: center; }
.article-head .eyebrow { text-align: center; }
.article-head h1 { font-size: clamp(30px, 4vw, 46px); }
.article-head .meta { color: var(--muted); font-size: 15px; }
.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose h3 { font-size: 21px; margin: 28px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .callout {
  background: var(--mint); border-left: 4px solid var(--green);
  border-radius: 12px; padding: 18px 22px; margin: 24px 0;
}
.prose .callout p { margin: 0; }
.prose table { margin: 24px 0; }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* ---------- Disclosure note ---------- */
.disclosure {
  background: var(--mint); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px;
  font-size: 14px; color: var(--muted); margin: 32px auto 0; max-width: 68ch;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 0 32px; margin-top: 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }
.footer-grid a { display: block; color: var(--ink); font-weight: 500; margin-bottom: 8px; font-size: 15px; }
.footer-grid a:hover { color: var(--green); }
.footer-grid p { color: var(--muted); font-size: 15px; margin: 0; }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .band { grid-template-columns: 1fr; }
  .steps, .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 24px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .hero { padding: 48px 0; }
  .band { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
