/* ==========================================================================
   Munnii — gedeelde stylesheet voor index.html en contact.html
   Mobile-first: basisstijlen gelden voor kleine schermen, uitbreidingen
   volgen in @media (min-width: …). Waarden komen uit het Munnii design system.
   ========================================================================== */

/* ---------- 1. Lettertype (zelf gehost, geen Google-verbinding) ---------- */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-variable-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Design tokens ---------- */
:root {
  /* Merkkleuren (exact uit het logo) */
  --munnii-teal: #02b3a5;
  --munnii-green: #4dc390;

  /* Licht thema (standaard: inhoudssecties) */
  --bg: #f4f9f8;
  --bg-raised: #ffffff;
  --bg-sunken: #e9f2f0;
  --glass: rgba(255, 255, 255, 0.8);
  --line: #d5e4e1;
  --line-strong: #7a9490;
  --ink: #0d2522;
  --ink-muted: #4f6662;
  --brand: #02b3a5;
  --brand-hover: #00a093;
  --on-brand: #04201d;
  --brand-text: #00756c;
  --brand-soft: #e3f5f2;
  --accent: #4dc390;
  --accent-text: #1c7a52;
  --accent-soft: #e6f6ee;
  --danger-text: #b42318;
  --glow-a: rgba(2, 179, 165, 0.2);
  --glow-b: rgba(77, 195, 144, 0.16);
  --focus: #00756c;
  --shadow-card: 0 1px 2px rgba(13, 37, 34, 0.06), 0 12px 32px -8px rgba(13, 37, 34, 0.12);
  --shadow-lift: 0 2px 4px rgba(13, 37, 34, 0.08), 0 24px 56px -12px rgba(13, 37, 34, 0.18);
  --shadow-glow: 0 8px 24px -6px rgba(2, 179, 165, 0.45);

  /* Typografie */
  --font-sans: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ruimte */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 144px;
  --container: 1180px;
  --gutter: var(--space-4);

  /* Hoeken */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;
}

/* Donker thema: per sectie toegepast met class="band band--dark" */
.band--dark,
.site-header--dark {
  --bg: #06110f;
  --bg-raised: #0f2623;
  --bg-sunken: #030b0a;
  --glass: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: #6b8a85;
  --ink: #ecf6f4;
  --ink-muted: #9fb8b4;
  --brand-hover: #2fd0c0;
  --brand-text: #2fd0c0;
  --brand-soft: #0b2f2b;
  --accent-text: #6ad8a6;
  --accent-soft: #0d2e22;
  --glow-a: rgba(2, 179, 165, 0.55);
  --glow-b: rgba(77, 195, 144, 0.4);
  --focus: #2fd0c0;
  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px -12px rgba(0, 0, 0, 0.5);
  --shadow-lift: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 32px 64px -16px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 8px 32px -4px rgba(2, 179, 165, 0.6);
}

/* ---------- 3. Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

a { color: var(--brand-text); text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--brand); color: var(--on-brand);
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

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

/* ---------- 4. Typografie ---------- */
.display-xl { font-size: 42px; line-height: 1.1; font-weight: 900; letter-spacing: -0.025em; }
.display    { font-size: 34px; line-height: 1.12; font-weight: 900; letter-spacing: -0.02em; }
.h1         { font-size: 30px; line-height: 1.2; font-weight: 850; letter-spacing: -0.015em; }
.h2         { font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.h3         { font-size: 19px; line-height: 1.4; font-weight: 800; }
.lead       { font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--ink-muted); }
.small      { font-size: 14px; line-height: 1.5; font-weight: 600; }
.muted      { color: var(--ink-muted); }
.eyebrow {
  margin-bottom: var(--space-3);
  font-size: 13px; line-height: 16px; font-weight: 850;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand-text);
}

/* ---------- 5. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band {
  position: relative;
  padding: var(--space-8) 0;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.band--compact { padding: var(--space-7) 0; }

/* Gloed: twee zachte lichtbronnen in teal en groen (alleen op donkere banden) */
.band--glow::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 52% at 68% 40%, var(--glow-a), transparent 70%),
    radial-gradient(36% 40% at 22% 70%, var(--glow-b), transparent 72%);
}

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: var(--space-4); }

.band--flush-top { padding-top: 0 !important; }

/* Kleine hulpklassen voor verticale ruimte */
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }

/* ---------- 6. Knoppen & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5);
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font: inherit; font-size: 16px; line-height: 20px; font-weight: 800;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { min-height: 56px; padding: 0 var(--space-6); font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--glass); border-color: var(--ink-muted); }

.badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: 26px; padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 800; line-height: 1; white-space: nowrap;
}
.badge--brand   { background: var(--brand-soft); color: var(--brand-text); }
.badge--accent  { background: var(--accent-soft); color: var(--accent-text); }
.badge--neutral { background: var(--bg-sunken); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.badge__dot { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--munnii-green); }

.actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); margin-top: var(--space-6); }

/* ---------- 7. Header & navigatie ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: var(--space-3) var(--gutter) 0;
}
.site-header--dark { background: transparent; }
.site-header--light { background: var(--bg); padding-bottom: var(--space-3); }

.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  max-width: var(--container); margin: 0 auto;
  min-height: 60px; padding: 0 var(--space-2) 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
}
.site-header--dark .nav-bar { background: rgba(6, 17, 15, 0.88); }

.nav-bar__logo { display: flex; border-radius: var(--radius-sm); }
.nav-bar__logo img { width: auto; height: 24px; }

.nav-links { display: none; }
.nav-link {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  color: var(--ink-muted); text-decoration: none;
  font-size: 16px; font-weight: 800;
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--ink); background: var(--bg-sunken); }

.nav-bar__cta { display: none; }

/* Mobiel menu zonder JavaScript */
.menu { position: relative; }
.menu > summary {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  color: var(--ink); cursor: pointer; list-style: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 24px; height: 24px; }
.menu[open] > summary { background: var(--bg-sunken); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + var(--space-3));
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: var(--space-1);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift);
}
.menu__panel .nav-link { display: block; padding: var(--space-3); border-radius: var(--radius-sm); }
.menu__panel .btn { margin-top: var(--space-2); }

/* ---------- 8. Hero ---------- */
/* De hero schuift onder de zwevende header (76px = header-hoogte) */
.hero { margin-top: -76px; padding-top: calc(var(--space-8) + 76px); text-align: center; }
.hero__copy { max-width: 820px; margin: 0 auto; }
.hero__lead { margin: var(--space-4) auto 0; max-width: 60ch; }
.hero__note { margin-top: var(--space-4); color: var(--ink-muted); }
.hero__badge { display: inline-block; margin-top: var(--space-5); }
.hero__badge img { display: block; height: 58px; width: auto; }
.hero__media { margin-top: var(--space-7); }

/* App-venster rond een screenshot */
.app-window {
  max-width: 960px; margin: 0 auto;
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.app-window img { width: 100%; height: auto; }

/* ---------- 9. Kaarten ---------- */
.card {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.feature { display: grid; gap: var(--space-3); align-content: start; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.feature .badge { justify-self: start; }
.icon-tile {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft); color: var(--brand-text);
}
.icon-tile svg { width: 24px; height: 24px; }

/* Stappen */
.steps { list-style: none; padding: 0; counter-reset: step; }
.step {
  counter-increment: step;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
}
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--brand); color: var(--on-brand);
  font-size: 18px; font-weight: 900;
}
.step p { margin-top: var(--space-2); }

/* Split: tekst + afbeelding */
.split { display: grid; gap: var(--space-6); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* De maker: portret kleiner dan een schermafbeelding */
.maker__foto { max-width: 420px; width: 100%; margin: 0 auto; }
.maker__tekst { font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

/* Vinkjeslijst */
.checks { list-style: none; padding: 0; display: grid; gap: var(--space-3); font-size: 16px; line-height: 24px; font-weight: 600; }
.checks li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand-text); }

/* Privacyblok */
.privacy {
  display: grid; gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
}
.privacy__mark {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-pill);
  background: var(--brand); color: var(--on-brand);
}
.privacy__mark svg { width: 32px; height: 32px; }
.privacy .lead { margin-top: var(--space-3); }
.privacy .checks { margin-top: var(--space-5); }

/* Optionele koppelingen */
.integration { display: grid; gap: var(--space-3); align-content: start; }
.integration__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.integration__via { display: flex; align-items: center; gap: var(--space-2); color: var(--brand-text); }
.integration__via svg { width: 14px; height: 14px; flex: none; }

/* Download */
.download { display: grid; justify-items: center; gap: var(--space-5); text-align: center; }
.download .lead { max-width: 52ch; }
.download-form { display: grid; gap: var(--space-3); width: min(560px, 100%); }
.download-form__rij { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.download-form__rij input {
  flex: 1 1 240px; min-height: 56px; padding: 0 var(--space-4);
  border: 1.5px solid var(--line); border-radius: var(--radius-md);
  background: var(--bg-raised); color: var(--ink); font: inherit; font-size: 17px;
  transition: border-color .15s ease;
}
.download-form__rij input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.download-form .btn[disabled] { opacity: .6; cursor: progress; }
.download-form .form-status { text-align: left; }
.download-klaar { display: grid; gap: var(--space-2); justify-items: center; animation: status-in .25s ease-out; }
.download-klaar__titel { display: flex; align-items: center; gap: var(--space-2); font-size: 20px; font-weight: 800; color: var(--brand-text); }
.download-klaar__titel svg { width: 22px; height: 22px; }
.download-form[hidden], .download-klaar[hidden] { display: none; }
.reqs {
  display: grid; gap: var(--space-3);
  width: 100%; max-width: 840px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--bg-sunken);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.reqs__trust { display: grid; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.reqs__trust dd { white-space: nowrap; }
.req { display: flex; align-items: center; gap: var(--space-3); color: var(--brand-text); }
.req svg { width: 20px; height: 20px; flex: none; }
.req dt { color: var(--ink-muted); }
.req dd { color: var(--ink); font-size: 15px; font-weight: 800; }

/* Prijzen */
.pricing { max-width: 880px; margin: 0 auto; }
.price { display: flex; flex-direction: column; gap: var(--space-4); border-radius: var(--radius-lg); }
.price--highlight { box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-lift); }
.price__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.price__amount { font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -0.02em; }
.price__amount small { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-muted); }
.price__cta { margin-top: auto; padding-top: var(--space-2); }
.price-note { max-width: 880px; margin: var(--space-5) auto 0; text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: var(--space-3); }
.faq details { border-radius: var(--radius-md); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__toggle {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 2px var(--line-strong);
  transition: transform .2s ease;
}
.faq__toggle svg { width: 18px; height: 18px; }
.faq details[open] .faq__toggle { transform: rotate(180deg); background: var(--brand); color: var(--on-brand); box-shadow: none; }
.faq__answer { padding: 0 var(--space-5) var(--space-5); max-width: 68ch; color: var(--ink-muted); }

/* ---------- 10. Contactpagina ---------- */
.page-hero { padding-top: var(--space-7); text-align: center; }
.page-hero .lead { margin: var(--space-4) auto 0; max-width: 56ch; }

.contact { display: grid; gap: var(--space-5); align-items: start; }
.contact-info { display: grid; gap: var(--space-4); }
.contact-info__item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-info__item .icon-tile { flex: none; }
.contact-info__item p + p { margin-top: var(--space-1); }

/* Losse meldpagina's: bedankt, geannuleerd, account, licentie-kwijt */
.melding { display: grid; gap: var(--space-4); max-width: 600px; }
.form-status {
  padding: var(--space-3) var(--space-4);
  border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-text);
  font-size: 15px; font-weight: 700;
  animation: status-in .2s ease-out;
}
.form-status--fout { background: var(--bg-sunken); color: var(--danger-text); }
@keyframes status-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Downloadpagina: drie stappen met een kleine illustratie */
.installeer .step { display: grid; align-content: start; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.installeer .step::before { margin-bottom: 0; grid-row: 2; }
.installeer .step h3 { margin-top: var(--space-4); }
.vis {
  grid-row: 1; display: grid; place-items: center;
  height: 150px; margin-bottom: var(--space-5);
  border-radius: var(--radius-sm); background: var(--bg-sunken);
  overflow: hidden;
}
.vis-label, .vis-item figcaption { font-size: 12px; font-weight: 700; color: var(--ink-muted); }

.vis-bestand {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); border-radius: 12px;
  background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.vis-bestand__pijl { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); }
.vis-bestand__pijl svg { width: 20px; height: 20px; }
.vis-bestand__naam { display: grid; gap: 6px; font-size: 14px; font-weight: 800; }
.vis-balk { display: block; width: 130px; height: 5px; border-radius: var(--radius-pill); background: var(--bg-sunken); overflow: hidden; }
.vis-balk span { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: left; animation: vis-laden 3.2s ease-in-out infinite; }
@keyframes vis-laden { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }

.vis-dmg { position: relative; display: grid; justify-items: center; gap: var(--space-2); }
.vis-dmg__schijf {
  display: grid; place-items: center; width: 64px; height: 56px; border-radius: 10px;
  background: linear-gradient(#ffffff, #e9eeed); box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -6px rgba(13, 37, 34, .3);
}
.vis-cursor { position: absolute; width: 22px; height: 22px; right: -6px; top: 34px; animation: vis-klik 2.4s ease-in-out infinite; }
@keyframes vis-klik { 0%, 55%, 75%, 100% { transform: scale(1); } 60%, 80% { transform: scale(.82); } }

.vis-venster { width: min(240px, 90%); border-radius: 10px; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); overflow: hidden; }
.vis-venster__balk { display: flex; gap: 5px; padding: 7px 9px; border-bottom: 1px solid var(--line); }
.vis-venster__balk span { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--line-strong); opacity: .5; }
.vis-venster__inhoud { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4) var(--space-2); }
.vis-item { display: grid; justify-items: center; gap: 4px; margin: 0; }
.vis-item img, .vis-map { width: 52px; height: 52px; }
.vis-map { height: 44px; margin: 4px 0; }
.vis-item--app { animation: vis-sleep 3.2s ease-in-out infinite; }
.vis-sleep { width: 48px; color: var(--brand-text); }
@keyframes vis-sleep { 0%, 15% { transform: none; } 55%, 70% { transform: translateX(118px) scale(.8); opacity: .0; } 71% { transform: none; opacity: 0; } 100% { opacity: 1; } }

.form { display: grid; gap: var(--space-5); }
.form-intro { margin: var(--space-2) 0 var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: 15px; font-weight: 800; }
.field .hint { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--ink);
  font: inherit; font-size: 16px; /* 16px voorkomt inzoomen op iOS */
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: var(--space-7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234f6662' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--danger-text); }

.checkbox { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }

.honeypot { position: absolute; left: -9999px; }

/* ---------- 10b. Juridische pagina's (privacyverklaring, voorwaarden) ---------- */
.legal-meta { margin-top: var(--space-3); }
/* overflow: visible zodat de inhoudsopgave sticky kan blijven staan */
.band--legal { overflow: visible; }

.legal-layout { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); align-items: start; }

/* Inhoudsopgave: inklapbaar op mobiel, vaste kolom op desktop */
.legal-toc { display: none; }
.legal-toc-mobile {
  margin-bottom: var(--space-6);
  padding: 0 var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--line);
}
.legal-toc-mobile summary { padding: var(--space-3) 0; font-weight: 800; cursor: pointer; }
.legal-toc-mobile ol { list-style: none; margin: 0 0 var(--space-4); padding: 0; font-size: 15px; }
.legal-toc-mobile a { display: block; padding: 6px 0; }
.legal-toc-mobile li { margin: var(--space-1) 0; }

.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc__title { margin-bottom: var(--space-3); font-size: 14px; font-weight: 850; }
.legal-toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px var(--space-4);
  border-left: 2px solid transparent;
  color: var(--ink-muted);
  font-size: 14px; line-height: 1.4; font-weight: 600;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--brand-text); border-left-color: var(--munnii-green); }

/* Leestekst */
.legal { min-width: 0; max-width: 46rem; font-size: 17px; line-height: 1.7; }
.legal > .lead { margin-bottom: var(--space-4); color: var(--ink); }
.legal h2 {
  margin: var(--space-7) 0 var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  font-size: 22px; line-height: 1.3; font-weight: 850; letter-spacing: -0.01em;
  scroll-margin-top: 96px;
}
.legal p { margin: 0 0 var(--space-4); }
.legal ul { margin: 0 0 var(--space-5); padding-left: var(--space-5); }
.legal li { margin: var(--space-1) 0; padding-left: var(--space-1); }
.legal li::marker { color: var(--munnii-teal); }
.legal a { overflow-wrap: anywhere; }

.legal .table-wrap {
  margin: var(--space-5) 0 var(--space-6);
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* Tabel: op mobiel gestapeld (gegeven boven termijn), vanaf 600px als tabel */
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.legal tr { display: block; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
.legal tbody tr:last-child { border-bottom: 0; }
.legal td { display: block; padding: 0; text-align: left; }
.legal td:first-child { font-weight: 800; }
.legal td + td { margin-top: var(--space-1); color: var(--ink-muted); }

@media (min-width: 600px) {
  .legal thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .legal tr { display: table-row; padding: 0; }
  .legal th,
  .legal td { display: table-cell; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); vertical-align: top; }
  .legal th { background: var(--brand-soft); font-weight: 800; text-align: left; }
  .legal tbody tr:last-child td { border-bottom: 0; }
  .legal td:first-child { width: 46%; font-weight: 600; }
  .legal td + td { margin-top: 0; color: var(--ink); }
}

@media (min-width: 880px) {
  .reqs__trust { grid-template-columns: repeat(3, auto); justify-content: space-between; }
}

@media (min-width: 720px) {
  .legal h2 { font-size: 24px; }
}

@media (min-width: 1000px) {
  .legal-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--space-8); }
  .legal-toc {
    display: block;
    position: sticky; top: 104px;
    max-height: calc(100vh - 128px);
    overflow-y: auto;
  }
  .legal-toc-mobile { display: none; }
}

@media print {
  .site-header, .site-footer, .legal-toc, .legal-toc-mobile, .skip-link { display: none !important; }
  body, .band { background: #fff; color: #000; }
  .band { padding: 0; }
  .legal { max-width: none; font-size: 11pt; }
  .legal a { color: #000; }
}

/* ---------- 10b. Changelog (Wat is er nieuw) ----------
   Inhoud komt uit Changelog.swift via Scripts/changelog-site.py.
   Tijdlijn: elke versie een kaart met een stip; een lijn verbindt de stippen. */
.releases { min-width: 0; max-width: 46rem; display: grid; gap: var(--space-5); }
.release {
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  scroll-margin-top: 96px;
  animation: release-in .5s cubic-bezier(.2, .7, .2, 1) both;
}
.release:nth-of-type(2) { animation-delay: .06s; }
.release:nth-of-type(3) { animation-delay: .12s; }
.release:nth-of-type(n+4) { animation-delay: .18s; }
@keyframes release-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.release__kop {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding-bottom: var(--space-4); margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.release__versie { font-size: 22px; line-height: 1.3; font-weight: 850; letter-spacing: -0.01em; }
.release__punten { margin: 0; padding-left: var(--space-5); display: grid; gap: var(--space-3); font-size: 17px; line-height: 1.7; }
.release__punten li { padding-left: var(--space-1); }
.release__punten li::marker { color: var(--munnii-teal); }

.release-slot { display: grid; gap: var(--space-3); justify-items: start; }

@media (min-width: 720px) {
  .releases { gap: var(--space-6); }
  .release { padding: var(--space-6); margin-left: var(--space-7); }
  .release-slot { margin-left: var(--space-7); }
  .release__versie { font-size: 24px; }
  /* Stip naast de kaart; de nieuwste is gevuld */
  .release::before {
    content: "";
    position: absolute; left: calc(-1 * var(--space-7) + 5px); top: 34px;
    width: 14px; height: 14px;
    border-radius: var(--radius-pill);
    background: var(--bg); box-shadow: inset 0 0 0 2px var(--munnii-teal);
  }
  .release:first-of-type::before { background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
  /* Lijn naar de volgende versie */
  .release::after {
    content: "";
    position: absolute; left: calc(-1 * var(--space-7) + 11px); top: 54px;
    width: 2px; height: calc(100% - 54px + var(--space-6) + 34px - 6px);
    background: var(--line);
  }
  .release:last-of-type::after { display: none; }
}

@media print {
  .releases { max-width: none; }
  .release { box-shadow: none; padding: 0; margin: 0 0 8mm; animation: none; break-inside: avoid; }
  .release::before, .release::after, .release-slot { display: none; }
}

/* ---------- 11. Footer ---------- */
.site-footer { padding: var(--space-8) 0 var(--space-6); background: var(--bg-sunken); color: var(--ink); }
.footer-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: auto; height: 24px; }
.footer-brand p { margin-top: var(--space-3); max-width: 32ch; }
.footer-title { margin-bottom: var(--space-3); font-size: 14px; font-weight: 850; }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer-links a { color: var(--ink-muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--brand-text); }
.footer-bottom {
  margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-3) var(--space-5);
}
.footer-note { margin: 0; color: var(--ink-muted); }
.footer-sitemap { color: var(--ink-muted); text-decoration: none; font-weight: 600; }
.footer-sitemap:hover { color: var(--brand-text); }

/* ==========================================================================
   Grotere schermen
   ========================================================================== */
@media (min-width: 600px) {
  .actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--space-5) var(--space-6); row-gap: var(--space-4); }
  .reqs__trust { grid-column: 1 / -1; }
  .privacy .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  :root { --gutter: var(--space-6); }
  .band { padding: var(--space-9) 0; }
  .band--compact { padding: var(--space-8) 0; }
  .grid { gap: var(--space-5); }
  .display-xl { font-size: 60px; }
  .display { font-size: 46px; }
  .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 20px; }
  .lead { font-size: 20px; }
  .card { padding: var(--space-6); }
  .step { padding: var(--space-6); }
  .privacy { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-6); padding: var(--space-7); }
  .privacy__mark { width: 88px; height: 88px; }
  .privacy__mark svg { width: 40px; height: 40px; }
  .faq summary { padding: var(--space-5) var(--space-6); }
  .faq__answer { padding: 0 var(--space-6) var(--space-5); }
  .footer-grid { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 900px) {
  .site-header { padding-top: var(--space-4); }
  .nav-bar { min-height: 64px; padding-left: var(--space-5); gap: var(--space-6); }
  .nav-bar__logo img { height: 26px; }
  .nav-links { display: flex; gap: var(--space-1); flex: 1; }
  .nav-bar__cta { display: block; }
  .menu { display: none; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-8); }
  .split--omgekeerd { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .split--omgekeerd > .split__media { order: -1; }
  .maker { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-7); }
  .hero { margin-top: -80px; padding-top: calc(var(--space-9) + 80px); }
}

@media (min-width: 1100px) {
  .display-xl { font-size: 76px; line-height: 80px; }
  .display { font-size: 56px; line-height: 60px; }
  .h1 { font-size: 40px; line-height: 46px; }
  .price__amount { font-size: 52px; }
}

/* ==========================================================================
   Print / pdf (algemene voorwaarden als bijlage bij de licentiemail).
   Scripts/voorwaarden-pdf.sh drukt algemene-voorwaarden.html hiermee af.
   ========================================================================== */
@page {
  size: A4;
  margin: 22mm 20mm 20mm;
  @bottom-left { content: "Munnii · Algemene voorwaarden"; font: 600 8pt "Nunito", sans-serif; color: #4f6662; }
  @bottom-right { content: "Pagina " counter(page) " van " counter(pages); font: 600 8pt "Nunito", sans-serif; color: #4f6662; }
}
.print-kop { display: none; }
@media print {
  html, body { background: #fff; }
  body { font-size: 10.5pt; }
  .skip-link, .site-header, .site-footer, .legal-toc, .legal-toc-mobile, .pdf-link { display: none !important; }
  .print-kop {
    display: flex; justify-content: space-between; align-items: flex-end;
    padding-bottom: 8mm; margin-bottom: 8mm; border-bottom: 1.5pt solid var(--munnii-teal);
  }
  .print-kop img { height: 9mm; width: auto; }
  .print-kop p { margin: 0; text-align: right; font-size: 8.5pt; line-height: 1.5; color: var(--ink-muted); }
  .band, .band--compact { padding: 0 !important; }
  .page-hero { text-align: left; padding-top: 0; }
  .page-hero .eyebrow { display: none; }
  .page-hero .display { font-size: 24pt; line-height: 1.15; }
  .legal-meta { margin: 2mm 0 6mm; }
  .container, .legal-layout { display: block; max-width: none; padding: 0; margin: 0; }
  .legal { max-width: none; font-size: 10.5pt; line-height: 1.55; }
  .legal > .lead { font-size: 11.5pt; }
  .legal h2 { font-size: 13pt; margin-top: 7mm; break-after: avoid; page-break-after: avoid; }
  .legal p, .legal li { orphans: 3; widows: 3; }
  .legal a { color: inherit; text-decoration: none; }
  #modelformulier-voor-herroeping { break-before: page; page-break-before: always; }
}
