:root {
  --bg: #f7f8fa; --surface: #fff; --text: #1c1f24; --muted: #626a75; --border: #e3e6eb;
  --primary: #1f5f99; --primary-hover: #184d7d; --on-primary: #fff; --band: #eaf1f8; --good: #1e7a46;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Ubuntu, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14171b; --surface: #1d2126; --text: #e9ecf0; --muted: #9aa1ab; --border: #333941; --primary: #6aa9e8; --primary-hover: #86bbef; --on-primary: #14171b; --band: #1a2530; --good: #5cc98a; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; }
a { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; display: flex; align-items: center; }
.brand img { display: block; height: 54px; width: auto; }
@media (max-width: 520px) { .brand img { height: 40px; } }
/* menu (de kop staat in scripts/site-menu.cjs) */
.menu { display: flex; gap: 4px; align-items: center; }
.menu > a, .menu summary { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
.menu > a:hover, .menu summary:hover, .menu details[open] > summary { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.menu > a[aria-current="page"], .menu details[data-current] > summary { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 8px 8px 0 0; }
.menu > a.btn { color: var(--on-primary); margin-left: 10px; box-shadow: none; }
.menu > a.btn:hover { background: var(--primary-hover); color: var(--on-primary); }
.menu .sub { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.menu details[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.menu .panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px rgba(20, 30, 50, .14); display: grid; gap: 2px; z-index: 20; }
.menu .panel a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.35; }
.menu .panel a:hover { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.menu .panel a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.menu .panel .hint { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-button span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .15s, opacity .15s; }
.top.open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.open .menu-button span:nth-child(2) { opacity: 0; }
.top.open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-button { display: flex; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 16px 40px rgba(20, 30, 50, .14); max-height: calc(100vh - 60px); overflow-y: auto; }
  .top.open .menu { display: flex; }
  .menu > a, .menu summary { font-size: 17px; padding: 12px 14px; border-radius: 10px; }
  .menu > a[aria-current="page"], .menu details[data-current] > summary { box-shadow: none; background: color-mix(in srgb, var(--primary) 10%, transparent); border-radius: 10px; }
  .menu summary { display: flex; justify-content: space-between; }
  .menu .panel { position: static; min-width: 0; padding: 4px 0 6px 14px; background: transparent; border: 0; border-left: 2px solid var(--border); border-radius: 0; box-shadow: none; margin: 2px 0 6px 14px; }
  .menu .panel a { font-size: 16px; padding: 9px 12px; }
  .menu > a.btn { margin: 10px 0 0; text-align: center; padding: 12px 16px; font-size: 16px; }
}
.btn { display: inline-block; background: var(--primary); color: var(--on-primary); padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid var(--primary); }
.btn:hover { background: var(--primary-hover); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.small { padding: 6px 14px; font-size: 14px; }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { color: var(--primary); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
h1, .slogan { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.slogan { font-weight: 700; }
h1.eyebrow { font-size: 14px; line-height: 1.5; letter-spacing: 0; margin: 0 0 10px; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.01em; }
h3 { margin: 0 0 6px; font-size: 18px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(20, 30, 50, .14); background: var(--surface); }
.tilt { transform: perspective(1400px) rotateY(-6deg); }
section { padding: 56px 0; }
.band { background: var(--band); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.big { font-size: clamp(26px, 4vw, 40px); font-weight: 700; font-variant-numeric: tabular-nums; }
.three p { margin: 0; color: var(--muted); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.emoji { font-size: 30px; margin-bottom: 8px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1.2fr 1fr; }
.checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.checks li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 24px; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }
.principle { border-left: 4px solid var(--good); }
.final { padding: 80px 16px; }
.foot { padding-top: 36px; padding-bottom: 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.foot-links h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin: 0 0 10px; }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--primary); }
.foot-legal { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
@media (max-width: 560px) { .foot-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .hero, .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse figure { order: 2; }
  .tilt { transform: none; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid4, .features, .three { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}
.sr-intro { font-weight: 600; margin: -6px 0 14px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.legal { max-width: 780px; padding-top: 40px; padding-bottom: 60px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal li { margin-bottom: 8px; }
.announce { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; padding: 5px 12px 5px 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; }
.announce span { background: var(--primary); color: var(--bg); border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 13px; }
.announce:hover { border-color: var(--primary); }
/* drie labels om en om in beeld; bij verminderde beweging staan ze gewoon onder elkaar */
.announce-rotor { display: grid; justify-items: start; margin-bottom: 16px; }
.announce-rotor .announce { grid-area: 1 / 1; margin-bottom: 0; animation: announce-wissel 15s infinite; }
.announce-rotor .announce:nth-child(2) { animation-delay: -10s; }
.announce-rotor .announce:nth-child(3) { animation-delay: -5s; }
.announce-rotor:hover .announce, .announce-rotor:focus-within .announce { animation-play-state: paused; }
@keyframes announce-wissel { 0%, 3% { opacity: 0; visibility: hidden; } 6%, 30% { opacity: 1; visibility: visible; } 33.33%, 100% { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .announce-rotor { gap: 8px; }
  .announce-rotor .announce { grid-area: auto; animation: none; }
}
@media (max-width: 560px) { .announce { border-radius: 12px; padding: 6px 10px; } }
.steps { margin: 12px 0 0; padding-left: 22px; color: var(--muted); }
.steps li { margin-bottom: 8px; }
.notes { max-width: 820px; padding-top: 40px; padding-bottom: 60px; }
.notes h1 { font-size: clamp(30px, 4vw, 44px); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.toc a { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 14px; text-decoration: none; background: var(--surface); }
.release { border-top: 1px solid var(--border); padding: 28px 0 8px; scroll-margin-top: 72px; }
.release h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.release h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; font-size: 17px; }
.release .meta { margin: 0; color: var(--muted); font-size: 14px; }
.release .summary { font-size: 18px; margin: 10px 0 0; }
.release ul { padding-left: 20px; margin: 8px 0 0; }
.release li { margin-bottom: 6px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; border-radius: 6px; padding: 2px 8px; border: 1px solid currentColor; }
.tag.latest { color: var(--good); font-size: 11px; }
.tag.new { color: var(--primary); }
.tag.improved { color: #7a4fb5; }
.tag.fixed { color: #a15c00; }
.tag.tax { color: var(--good); }
.tag.security { color: #b3261e; }
.tag.tech { color: var(--muted); }
@media (prefers-color-scheme: dark) {
  .tag.improved { color: #b99be6; }
  .tag.fixed { color: #e0a24d; }
  .tag.security { color: #f08a80; }
}

/* tabellen op de pagina voor boekhouders */
.tbl-wrap { overflow-x: auto; margin: 14px 0; }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.tbl th { font-weight: 650; background: var(--surface); }
.tbl code { font-size: 13.5px; white-space: nowrap; }

/* prijzen */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.price.featured { border-color: var(--primary); box-shadow: 0 10px 30px rgba(20, 30, 50, .08); }
.price h3 { margin: 0; }
.price .amount { font-size: 34px; font-weight: 700; margin: 6px 0 0; }
.price .per { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.price ul { margin: 8px 0 0; padding-left: 20px; }
.soon { display: inline-block; font-size: 12px; font-weight: 600; background: var(--surface); border: 1px solid var(--border); color: var(--primary); border-radius: 99px; padding: 2px 10px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }

/* proefperiode */
.trial-note { margin: 14px 0 0; padding: 10px 14px; border-left: 4px solid var(--primary); background: var(--surface); border-radius: 8px; font-size: 15px; }
.card.trial { border: 2px solid var(--primary); }
.card.trial ul { padding-left: 20px; }
.price .badge { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: var(--bg); font-weight: 600; font-size: 13px; }
.notes .cta { margin-bottom: 28px; }
.notes .card.trial { margin: 28px 0; }

/* afdrukken en de PDF van de voorwaarden: zonder menu en linkkolommen */
@media print {
  .top, .foot-links { display: none; }
  .foot { border-top: 0; padding-top: 12px; }
}

/* downloadpagina */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 12px; }
.dl-card { display: flex; flex-direction: column; gap: 10px; }
.dl-card h2 { margin: 0; }
.dl-card .btn { align-self: flex-start; }
.dl-card .dl-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-store[hidden] { display: none; }
.dl-store img { display: block; height: auto; }
.dl-store .fine { margin: 6px 0 14px; }
@media (max-width: 720px) { .dl-grid { grid-template-columns: 1fr; } }

/* toestemming voor het meten van advertenties (meta-pixel.js) */
#privacy-choice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 40px rgba(20, 30, 50, .22); padding: 16px 18px; gap: 12px; }
#privacy-choice:not([hidden]) { display: grid !important; }
#privacy-choice[hidden] { display: none !important; }
#privacy-choice p { margin: 0; font-size: 15px; }
#privacy-choice .row { display: flex; gap: 10px; flex-wrap: wrap; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); text-decoration: underline; cursor: pointer; }

/* Rekenvoorbeeld voor buitenlandse inkoopfacturen; geen nagebootst app-scherm. */
.fx-example { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.fx-example > div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: grid; gap: 6px; }
.fx-example strong { font-size: 32px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.fx-example span { font-size: 15px; }
@media (max-width: 600px) { .fx-example { grid-template-columns: 1fr; } }

/* Handleiding (site/handleiding, gebouwd uit docs/handleiding met npm run site:handleiding) */
.handleiding { max-width: 860px; }
.handleiding .kruimels { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.handleiding .kruimels a { color: inherit; }
.handleiding .inhoud { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 20px 0 28px; font-size: 15px; }
.handleiding .inhoud ul { margin: 6px 0 0; padding-left: 18px; }
.handleiding h2 { margin-top: 36px; scroll-margin-top: 72px; }
.handleiding h3 { margin-top: 24px; scroll-margin-top: 72px; }
.handleiding ol, .handleiding ul { padding-left: 22px; }
.handleiding li { margin-bottom: 6px; }
.handleiding code, .handleiding kbd { background: var(--band); border-radius: 4px; padding: 1px 5px; font-size: 0.92em; }
.handleiding .let-op { border-left: 4px solid var(--primary); background: var(--band); padding: 10px 16px; border-radius: 8px; margin: 18px 0; }
.handleiding .let-op p { margin: 0; }
.handleiding .boekhouder-waarschuwing { border: 2px solid #b3261e; background: #fff4f2; color: #4a1512; border-radius: 12px; padding: 14px 18px; margin: 0 0 24px; }
.handleiding .boekhouder-waarschuwing strong { color: #b3261e; }
@media (prefers-color-scheme: dark) { .handleiding .boekhouder-waarschuwing { background: #2a1917; color: #f3d9d5; } .handleiding .boekhouder-waarschuwing strong { color: #ff8a80; } }
.handleiding .volgende { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 16px; font-size: 15px; }
.handleiding-index .zoek { width: 100%; font: inherit; font-size: 18px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); margin: 8px 0 20px; }
.handleiding-index .hoofdstuk { margin-top: 28px; }
.handleiding-index .hoofdstuk h2 { font-size: 20px; margin-bottom: 8px; }
.handleiding-index .paginas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.handleiding-index .paginas li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.handleiding-index .paginas a { font-weight: 600; text-decoration: none; }
.handleiding-index .paginas p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.handleiding-index .treffers li small { display: block; color: var(--muted); font-size: 14px; }
.handleiding-index .hoofdstuk.boekhouder { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 40px; }
/* ideeënbord (ideeen.html, ideeen.js) */
.ideeen .small { font-size: 14px; }
.idee-acties { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 12px; }
.idee-lijst { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.idee { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; }
.idee-tekst { min-width: 0; flex: 1; }
.idee h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.35; }
.idee h3 .tag { vertical-align: 2px; margin-left: 4px; }
.idee .idee-tekst > p { white-space: pre-line; overflow-wrap: anywhere; font-size: 16px; }
.idee-stem { flex: none; display: flex; flex-direction: column; align-items: center; width: 76px; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; line-height: 1.2; }
.idee-stem:hover { border-color: var(--primary); color: var(--primary); }
.idee-stem.gestemd { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.idee-stem.uit { cursor: default; color: var(--muted); }
.idee-stem:disabled { opacity: .6; }
.idee-pijl { font-size: 13px; }
.idee-aantal { font-size: 20px; font-weight: 700; }
.idee-stemtekst { font-size: 11px; text-align: center; }
.idee-volgen { margin-top: 8px; font-size: 14px; }
.idee-volgen summary { cursor: pointer; color: var(--primary); }
.idee-volgen form, .idee-afmelden form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.idee-volgen input { flex: 1 1 200px; }
.idee-form { display: grid; gap: 8px; margin-bottom: 32px; }
.idee-form label, .idee-afmelden label { font-weight: 600; font-size: 15px; }
.ideeen input, .ideeen textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; width: 100%; }
.idee-volgen input, .idee-afmelden input { width: auto; }
.ideeen input:focus, .ideeen textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.idee-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.idee-lijkt { border-left: 3px solid var(--primary); padding: 4px 12px; background: var(--band); border-radius: 0 8px 8px 0; }
.idee-lijkt p, .idee-lijkt ul { margin: 4px 0; }
.idee-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.idee-contact > div { display: grid; gap: 8px; }
@media (max-width: 620px) { .idee-contact { grid-template-columns: 1fr; } }
.ideeen .idee-vinkje { display: flex; gap: 10px; align-items: center; font-weight: 500; cursor: pointer; }
.ideeen .idee-vinkje input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); }
.idee-verborgen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.idee-melding { margin: 0; font-weight: 600; }
.idee-melding:empty { display: none; }
.idee-afmelden { margin-top: 24px; font-size: 15px; }
.idee-afmelden summary { cursor: pointer; color: var(--muted); }
@media (max-width: 520px) { .idee { gap: 12px; padding: 14px; } .idee-stem { width: 60px; } }
