/* MijnMaandCijfers — huisstijl "Huys Licht" (familielijn van KapitaalHuys).
   Indigo met goud als accent, licht en open gehouden voor MKB-ondernemers.
   Goud is nooit een vlak groter dan een knop of badge; de enige donkere
   onderdelen zijn de sectie "Sturen op feiten" en de voet. */

:root {
  /* kleur */
  --indigo-900: #101637;
  --indigo-700: #1f2450;
  --indigo-500: #3a4079;
  --gold-500:   #c69b3f;
  --gold-600:   #ad8534;   /* hover op goud */
  --gold-100:   #f6edda;
  --ink:        #1f2450;
  --muted:      #6b7095;
  --line:       #e3e4ee;
  --surface:    #ffffff;
  --bg:         #f7f7fb;
  --positive:   #1f8f6a;
  --negative:   #b4453c;

  /* vorm */
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(31,36,80,.06), 0 12px 32px -18px rgba(31,36,80,.25);
  --shadow-hover: 0 2px 4px rgba(31,36,80,.07), 0 20px 44px -20px rgba(31,36,80,.32);

  /* letters */
  --font: 'Figtree', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--indigo-700); text-decoration: none; }
a:hover { color: var(--gold-600); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--indigo-700); margin: 0 0 .5em; }
h1 {
  font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.06; letter-spacing: -.02em;
}
h2 { font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; }
h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
p { margin: 0 0 1.05em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 92px 0; }
.sectie--kop { max-width: 60ch; margin-bottom: 44px; }

.eyebrow {
  display: block; font-weight: 600; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .18em; color: var(--gold-500); margin-bottom: .9rem;
}

/* 2 px gouden onderstreping onder een H2 — het KapitaalHuys-motief */
.streep::after {
  content: ""; display: block; width: 48px; height: 2px; background: var(--gold-500);
  margin-top: 18px;
}

/* kernpunten met een 2 px verticale gouden streep ervoor */
.kernpunten { display: flex; gap: 26px; flex-wrap: wrap; margin: 26px 0 0; padding: 0; list-style: none; }
.kernpunten li {
  border-left: 2px solid var(--gold-500); padding-left: 12px;
  font-size: .95rem; color: var(--muted); line-height: 1.35;
}
.kernpunten b { display: block; color: var(--indigo-700); font-weight: 600; }

/* ── knoppen ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 28px; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primair { background: var(--gold-500); color: var(--indigo-900); }
.btn--primair:hover { background: var(--gold-600); color: var(--indigo-900); transform: translateY(-1px); }
.btn--secundair { background: transparent; border-color: var(--line); color: var(--indigo-700); }
.btn--secundair:hover { border-color: var(--indigo-700); color: var(--indigo-700); transform: translateY(-1px); }
.op-donker .btn--secundair { border-color: rgba(255,255,255,.3); color: #fff; }
.op-donker .btn--secundair:hover { border-color: #fff; color: #fff; }
.btn--klein { padding: 10px 20px; font-size: .93rem; }

/* ── kaarten ───────────────────────────────────────────────────────────── */
.kaart {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 26px 28px;
  transition: transform .2s, box-shadow .2s;
}
.kaart--hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.kaart h3 { margin-bottom: .35em; }
.kaart p:last-child { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* ── navigatie ─────────────────────────────────────────────────────────── */
.nav-balk {
  position: sticky; top: 0; z-index: 60; background: var(--surface);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s, background .25s;
}
.nav-balk.vast { background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 8px 24px -20px rgba(31,36,80,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { height: 32px; width: 32px; flex-shrink: 0; }
.woordmerk { font-size: 1.18rem; letter-spacing: -.015em; color: var(--indigo-700); white-space: nowrap; }
.woordmerk .licht { font-weight: 500; }
.woordmerk .zwaar { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: .97rem; color: var(--indigo-700); }
.nav-links a:hover { color: var(--gold-600); }
.nav-links .scheider { width: 1px; height: 22px; background: var(--line); }
.nav-knop { display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 11px; cursor: pointer; }
.nav-knop span { display: block; width: 20px; height: 2px; background: var(--indigo-700); margin: 4px 0; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 78px 0 84px; background:
  radial-gradient(900px 420px at 8% -8%, #eef0f8 0%, rgba(247,247,251,0) 62%); }
.hero .knoppen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* dashboardpreview */
.dashboard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.dashboard__kop {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid var(--line); background: #fcfcfe;
}
.dashboard__kop .titel { font-weight: 600; font-size: .95rem; color: var(--indigo-700); }
.pil {
  display: inline-flex; align-items: center; gap: 7px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); padding: 4px 12px; font-size: .78rem; font-weight: 600;
  color: var(--positive); background: #fff;
}
.pil .stip { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); }
.metriek {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.metriek .label { font-size: .8rem; color: var(--muted); }
.metriek .waarde { font-family: var(--mono); font-weight: 500; font-size: 1.5rem;
  color: var(--indigo-700); font-variant-numeric: tabular-nums; }
.metriek .delta { font-size: .85rem; font-weight: 600; font-family: var(--mono); }
.delta--op { color: var(--positive); }
.delta--neer { color: var(--negative); }
.dashboard__grafiek { padding: 18px 22px 20px; }
.dashboard__grafiek .maanden { display: flex; justify-content: space-between;
  font-size: .68rem; color: var(--muted); margin-top: 6px; }

/* ── logostrook ────────────────────────────────────────────────────────── */
.strook { padding: 44px 0 40px; background: var(--surface); border-block: 1px solid var(--line); }
.strook .titel { text-align: center; font-size: .8rem; color: var(--muted); margin-bottom: 20px;
  letter-spacing: .04em; }
.strook__rij { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.pakket { font-weight: 600; font-size: 1.02rem; color: #9aa0bd; letter-spacing: -.01em; }
.strook__noot { text-align: center; font-size: .85rem; color: var(--muted); margin: 22px auto 0;
  max-width: 66ch; }

/* ── stappen ───────────────────────────────────────────────────────────── */
.stap .nummer { font-family: var(--mono); font-weight: 500; color: var(--gold-500);
  font-size: .95rem; letter-spacing: .04em; display: block; margin-bottom: 12px; }

/* ── inzichtkaarten ────────────────────────────────────────────────────── */
.inzicht .cijfer { font-family: var(--mono); font-weight: 500; color: var(--indigo-700);
  font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.inzicht .cijfer small { font-family: var(--font); font-size: .8rem; color: var(--muted);
  font-weight: 500; margin-left: 8px; }
.inzicht .mini { margin-top: 16px; }

/* ── donkere sectie ────────────────────────────────────────────────────── */
.donker { background: var(--indigo-900); color: #d7d9e8; }
.donker h2, .donker h3 { color: #fff; }
.donker .lead { color: #b9bdd4; }
.kpi-blok {
  background: rgba(255,255,255,.05); border: 1px solid var(--indigo-500);
  border-radius: 14px; padding: 18px 20px;
}
.kpi-blok + .kpi-blok { margin-top: 14px; }
.kpi-blok .label { font-size: .78rem; color: #a9aecb; text-transform: uppercase; letter-spacing: .1em; }
.kpi-blok .waarde { font-family: var(--mono); font-weight: 500; font-size: 1.6rem; color: #fff;
  margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi-blok .uitleg { font-size: .86rem; color: #a9aecb; }
.citaat { font-size: 1.32rem; line-height: 1.5; color: #fff; font-weight: 500; }

/* ── lijst met vinkjes ─────────────────────────────────────────────────── */
.vinkjes { list-style: none; margin: 0; padding: 0; }
.vinkjes li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); }
.vinkjes li:last-child { border-bottom: none; }
.vinkjes li::before {
  content: ""; position: absolute; left: 3px; top: 18px; width: 12px; height: 6px;
  border-left: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}
.vinkjes b { color: var(--indigo-700); font-weight: 600; }

/* ── tarieven ──────────────────────────────────────────────────────────── */
.tarief { display: flex; flex-direction: column; }
.tarief--uitgelicht { border-color: var(--gold-500); }
.badge {
  display: inline-block; background: var(--gold-100); color: #6f5316; font-weight: 600;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius-pill); padding: 5px 12px; margin-bottom: 12px;
}
.tarief .prijs { font-family: var(--mono); font-weight: 500; font-size: 2rem; color: var(--indigo-700);
  margin: 10px 0 2px; }
.tarief .prijs .per { font-family: var(--font); font-size: .9rem; color: var(--muted); font-weight: 500; }
.tarief .voor-wie { font-size: .92rem; color: var(--muted); min-height: 44px; }
.tarief .vinkjes { margin: 16px 0 22px; }
.tarief .vinkjes li { padding: 7px 0 7px 30px; border: none; font-size: .95rem; }
.tarief .vinkjes li::before { top: 15px; }
.tarief .btn { margin-top: auto; }
.tarief-noot { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* ── faq ───────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600;
  color: var(--indigo-700); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 24px; width: 9px; height: 9px;
  border-right: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.faq p { color: var(--muted); margin: 0 0 18px; }

/* ── formulier ─────────────────────────────────────────────────────────── */
form .veld { margin-bottom: 14px; }
form label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
form input, form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); color: var(--ink);
}
form input:focus, form textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(198,155,63,.18);
}
form textarea { resize: vertical; min-height: 110px; }
form .rij { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .honeypot { position: absolute; left: -9999px; }
.melding { border-radius: 12px; padding: 13px 16px; margin-bottom: 14px; font-size: .95rem; }
.melding--ok { background: var(--gold-100); color: #5f4711; }
.melding--fout { background: #fbecea; color: #8d2f21; }

/* ── slot en voet ──────────────────────────────────────────────────────── */
.slot { text-align: center; background: var(--surface); border-block: 1px solid var(--line); }
.slot .lead { margin: 0 auto 26px; }
footer { background: var(--indigo-900); color: #a9aecb; padding: 0 0 32px; font-size: .93rem; }
footer .goudlijn { height: 3px; background: var(--gold-500); }
footer .voet-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 34px; }
footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { padding: 5px 0; }
footer a { color: #c9cde3; }
footer a:hover { color: #fff; }
footer .woordmerk { color: #fff; }
footer .woordmerk .licht, footer .woordmerk .zwaar { color: #fff; }
.voet-onder { border-top: 1px solid var(--indigo-500); padding-top: 22px; display: flex;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

/* ── tekstpagina (privacy, voorwaarden) ────────────────────────────────── */
.tekstpagina { padding: 56px 0 76px; }
.tekstpagina .container { max-width: 780px; }
.tekstpagina h2 { font-size: 1.45rem; margin-top: 1.9em; }
.tekstpagina table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.tekstpagina th, .tekstpagina td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line);
  vertical-align: top; }
.tekstpagina th { color: var(--indigo-700); font-weight: 600; }
.noot { background: var(--gold-100); border-radius: 14px; padding: 15px 18px; color: #5f4711;
  font-size: .95rem; }

/* ── beweging ──────────────────────────────────────────────────────────── */
/* Alleen verbergen als javascript draait (klasse `js` op <html>); anders blijft
   de pagina gewoon leesbaar als het script niet laadt of niet uitvoert. */
.js .reveal { opacity: 0; transform: translateY(8px); }
.js .reveal.zichtbaar { opacity: 1; transform: none;
  transition: opacity .3s ease-out, transform .3s ease-out; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-2-1 { grid-template-columns: 1fr; gap: 40px; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--surface);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 9px 0; }
  .nav-links .scheider { display: none; }
  .nav-links .btn { width: 100%; }
  .nav-knop { display: block; }
  section { padding: 68px 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  form .rij { grid-template-columns: 1fr; }
  footer .voet-grid { grid-template-columns: 1fr 1fr; }
  .kernpunten { gap: 16px; }
  .metriek .waarde { font-size: 1.3rem; }
}
