/*
Theme Name: Bruto-Netto
Theme URI: https://bruto-netto.nl
Author: 038 Marketing
Description: Salaris- en financiele rekentools voor Nederland: bruto naar netto, transitievergoeding, hypotheek op basis van salaris en zzp-uurtarief.
Requires at least: 6.0
Requires PHP: 7.4
Version: 1.0.0
Text Domain: brutonetto
*/

:root {
  --bn-primary: #1E3A5F;
  --bn-primary-dark: #142943;

  /* Hoofdaccent = coral/magenta (dragende merkkleur voor CTA's, chips, koppen) */
  --bn-accent: #F0466E;
  --bn-accent-dark: #D6335A;
  --bn-accent-soft: #FCE7EC;

  /* Groen = uitsluitend geld/positief: netto-bedragen en wel-vinkjes */
  --bn-money: #2E9E5B;
  --bn-money-dark: #227C46;
  --bn-money-soft: #E6F4EC;

  --bn-bg: #FFFFFF;
  --bn-bg-alt: #F4F6F8;
  --bn-border: #E2E6EA;
  --bn-text: #1C2530;
  --bn-text-muted: #5B6673;
  --bn-white: #FFFFFF;
  --bn-footer-text: #C9D6E4;
  --bn-footer-text-muted: #93A4B8;

  /* Zachte pastel sectie-achtergronden (AOV-referentie) */
  --bn-tint-blush: #FDF1F3;
  --bn-tint-mint: #EAF6EF;
  --bn-tint-sky: #EDF3FA;
  --bn-tint-sand: #FBF4EC;
  --bn-sand-ink: #C77A2E;

  --bn-radius: 10px;
  --bn-radius-lg: 16px;
  --bn-radius-xl: 24px;
  --bn-chamfer: 14px;
  --bn-shadow: 0 2px 10px rgba(20, 41, 67, 0.06);
  --bn-shadow-lg: 0 8px 30px rgba(20, 41, 67, 0.10);
  --bn-shadow-xl: 0 20px 50px rgba(20, 41, 67, 0.14);
  --bn-max-width: 1160px;
  --bn-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/*
 * Merk-stramien (vastgelegd bij eerste designronde, niet als polish-ronde
 * achteraf - zie memory vergelijker-styling-lessen.md #7): een terugkerende
 * afgeschuinde hoek (chamfer), een schuine accentstreep onder sectiekoppen,
 * en een licht gedraaid "tape"-label voor badges. Herbruikbare utility-classes.
 */
.bn-chamfer {
  clip-path: polygon(
    0 0, calc(100% - var(--bn-chamfer)) 0, 100% var(--bn-chamfer),
    100% 100%, var(--bn-chamfer) 100%, 0 calc(100% - var(--bn-chamfer))
  );
}

.bn-section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.bn-section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--bn-accent);
  transform: translateX(-50%) skewX(-20deg);
}

.bn-tape-label {
  display: inline-block;
  background: var(--bn-accent);
  color: var(--bn-white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  transform: rotate(-2deg);
  box-shadow: var(--bn-shadow);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bn-font);
  color: var(--bn-text);
  background: var(--bn-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--bn-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.bn-content p a, .bn-content li a {
  color: var(--bn-accent);
  text-decoration: underline;
  text-decoration-color: var(--bn-accent-soft);
  text-underline-offset: 2px;
  font-weight: 600;
}
.bn-content p a:hover, .bn-content li a:hover {
  color: var(--bn-accent-dark);
  text-decoration-color: var(--bn-accent-dark);
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--bn-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.bn-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bn-accent);
  margin-bottom: 12px;
}

p { margin: 0 0 1em; }

.bn-container {
  max-width: var(--bn-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.bn-section { padding: 72px 0; }
.bn-section--alt { background: var(--bn-bg-alt); }
.bn-section--blush { background: var(--bn-tint-blush); }
.bn-section--mint { background: var(--bn-tint-mint); }
.bn-section--sky { background: var(--bn-tint-sky); }
.bn-section--sand { background: var(--bn-tint-sand); }

.bn-section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.bn-section__head .bn-eyebrow { display: block; }
.bn-section__head .bn-section-heading { margin-bottom: 6px; }
.bn-section__head p { color: var(--bn-text-muted); font-size: 1.05rem; }
.bn-section__head--left { text-align: left; margin-left: 0; }
.bn-section__head--left .bn-section-heading::after { left: 0; transform: skewX(-20deg); }

.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  background: var(--bn-accent);
  color: var(--bn-white);
  box-shadow: 0 8px 20px rgba(240, 70, 110, 0.25);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.bn-btn:hover { background: var(--bn-accent-dark); text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(240, 70, 110, 0.32); }
.bn-btn:active { transform: translateY(0); }
.bn-btn svg { width: 18px; height: 18px; }
.bn-btn--outline {
  background: transparent;
  color: var(--bn-primary);
  border: 2px solid var(--bn-border);
  box-shadow: none;
}
.bn-btn--outline:hover { background: var(--bn-primary); color: var(--bn-white); border-color: var(--bn-primary); box-shadow: none; }
.bn-btn--money { background: var(--bn-money); box-shadow: 0 8px 20px rgba(46, 158, 91, 0.25); }
.bn-btn--money:hover { background: var(--bn-money-dark); box-shadow: 0 12px 26px rgba(46, 158, 91, 0.32); }
.bn-btn--light { background: var(--bn-white); color: var(--bn-accent); box-shadow: var(--bn-shadow-lg); }
.bn-btn--light:hover { background: var(--bn-white); color: var(--bn-accent-dark); }

.bn-card {
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  box-shadow: var(--bn-shadow);
  padding: 28px;
}

.bn-grid {
  display: grid;
  gap: 24px;
}
.bn-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bn-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bn-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
  .bn-grid--2, .bn-grid--3, .bn-grid--4 { grid-template-columns: 1fr; }
  .bn-section { padding: 36px 0; }
}

/* Header */
.bn-header {
  border-bottom: 1px solid var(--bn-border);
  background: var(--bn-white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.bn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.bn-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--bn-primary); }
.bn-brand:hover { text-decoration: none; }
.bn-nav { display: flex; gap: 26px; }
.bn-nav a { color: var(--bn-text); font-weight: 600; position: relative; padding: 4px 0; }
.bn-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--bn-accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.bn-nav a:hover { text-decoration: none; }
.bn-nav a:hover::after { transform: scaleX(1); }
.bn-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  background: var(--bn-white);
  color: var(--bn-primary);
  cursor: pointer;
}

@media (max-width: 780px) {
  .bn-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bn-white);
    border-bottom: 1px solid var(--bn-border);
    padding: 12px 20px 20px;
  }
  .bn-nav.is-open { display: flex; }
  .bn-nav-toggle { display: inline-flex; }
  .bn-header { position: relative; }
}

/* Breadcrumbs */
.bn-breadcrumbs {
  border-bottom: 1px solid var(--bn-border);
  background: var(--bn-bg-alt);
  font-size: 0.85rem;
  padding: 10px 0;
  color: var(--bn-text-muted);
}
.bn-breadcrumbs a { color: var(--bn-text-muted); }

/* Persona-rekenvoorbeelden */
.bn-personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 28px 0 8px; }
.bn-persona-card {
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-top: 4px solid var(--bn-accent);
  border-radius: var(--bn-radius-lg);
  box-shadow: var(--bn-shadow);
  padding: 20px;
}
.bn-persona-card__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.bn-persona-card__head strong { display: block; color: var(--bn-primary); }
.bn-persona-card__head span { font-size: 0.85rem; color: var(--bn-text-muted); }
.bn-persona-card__table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.bn-persona-card__table td { padding: 7px 0; border-bottom: 1px solid var(--bn-border); }
.bn-persona-card__table td:last-child { text-align: right; font-weight: 700; }
.bn-persona-card__highlight td { color: var(--bn-money); font-weight: 800; }
.bn-personas__note { font-size: 0.85rem; color: var(--bn-text-muted); margin-bottom: 28px; }

/* SVG-grafieken */
.bn-grafiek { margin: 28px 0; background: var(--bn-white); border: 1px solid var(--bn-border); border-radius: var(--bn-radius-lg); padding: 20px; box-shadow: var(--bn-shadow); }
.bn-grafiek svg { width: 100%; height: auto; display: block; }
.bn-grafiek figcaption { font-size: 0.85rem; color: var(--bn-text-muted); margin-top: 10px; text-align: center; }

/* In-content illustraties */
.bn-content-figure { margin: 28px 0; border-radius: var(--bn-radius-lg); overflow: hidden; box-shadow: var(--bn-shadow); }
.bn-content-figure img { width: 100%; height: auto; display: block; }

/* Featured image op artikelen */
.bn-featured-image { margin: 20px 0 28px; border-radius: var(--bn-radius-lg); overflow: hidden; box-shadow: var(--bn-shadow); }
.bn-featured-image img { width: 100%; height: auto; display: block; }

/* Post card / meta */
.bn-post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 4px solid var(--bn-accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bn-post-card:hover { text-decoration: none; box-shadow: var(--bn-shadow-lg); transform: translateY(-4px); }
.bn-post-card img { border-radius: var(--bn-radius); margin-bottom: 14px; }
.bn-post-card h3 { color: var(--bn-primary); }
.bn-post-meta { display: flex; gap: 10px; font-size: 0.82rem; color: var(--bn-text-muted); flex-wrap: wrap; align-items: center; }
.bn-post-meta__cat {
  display: inline-block;
  background: var(--bn-accent-soft);
  color: var(--bn-accent-dark);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
}
.bn-post-meta__cat:hover { background: var(--bn-accent); color: #fff; }
.bn-post-meta__author { color: var(--bn-primary); font-weight: 600; text-decoration: none; }
.bn-post-meta__author:hover { text-decoration: underline; }
.bn-factcheck-note {
  font-size: 0.85rem;
  color: var(--bn-text-muted);
  background: var(--bn-bg-alt);
  border-left: 3px solid var(--bn-money);
  padding: 10px 14px;
  border-radius: 8px;
  margin: 20px 0;
}
.bn-factcheck-note a { color: var(--bn-primary); font-weight: 600; }

/* Author bio */
.bn-author-bio { display: flex; gap: 16px; margin-top: 32px; align-items: flex-start; }
.bn-author-bio img {
  border-radius: 50%;
  width: 64px; height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}
.bn-author-role { display: block; color: var(--bn-text-muted); font-size: 0.9rem; margin-bottom: 6px; }

/* Sidebar */
.bn-sidebar .bn-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.bn-sidebar .bn-card li { margin-bottom: 8px; }
.bn-sidebar .bn-card a { font-weight: 600; }

/* Content typography */
.bn-content table, .bn-calc__breakdown table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--bn-border);
  border-radius: 12px;
  overflow: hidden;
}
.bn-content td, .bn-content th { padding: 12px 14px; border-bottom: 1px solid var(--bn-border); text-align: left; }
.bn-content thead th, .bn-content tr:first-child th {
  background: var(--bn-primary);
  color: var(--bn-white);
  font-weight: 700;
  border-bottom: none;
}
.bn-content tbody tr:last-child td { border-bottom: none; }
.bn-content tbody tr:nth-child(even) { background: var(--bn-bg-alt); }
.bn-content td:first-child, .bn-content th:first-child { font-weight: 600; }
.bn-content td strong { color: var(--bn-primary); }
.bn-content details { background: var(--bn-bg-alt); border-radius: var(--bn-radius); padding: 14px 18px; margin-bottom: 10px; }
.bn-content summary { font-weight: 700; cursor: pointer; }
.bn-content h2 { margin-top: 1.6em; }

/*
 * Een scroll-eigenaar voor responsive tabellen (salaristabellen/jaaroverzichten):
 * alleen de wrapper krijgt overflow-x, de tabel zelf blijft overflow:visible.
 * Voorkomt dubbele scrollbalken (zie memory vergelijker-styling-lessen.md #3).
 * Wrapper wordt automatisch om elke <table> in post_content gezet, zie
 * inc/blog.php bn_wrap_content_tables().
 */
.bn-table-wrap { overflow-x: auto; margin: 20px 0; }
.bn-table-wrap table { overflow: visible; margin: 0; }

/* Inhoudsopgave */
.bn-toc {
  background: var(--bn-bg-alt);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  padding: 18px 22px;
  margin: 0 0 28px;
}
.bn-toc__title {
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--bn-text-muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bn-toc__title::-webkit-details-marker { display: none; }
.bn-content .bn-toc summary.bn-toc__title::after {
  content: "";
  position: static;
  width: 9px; height: 9px;
  border-right: 2px solid var(--bn-accent);
  border-bottom: 2px solid var(--bn-accent);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
}
.bn-toc[open] .bn-toc__title::after { transform: rotate(-135deg); }
.bn-content .bn-toc { padding-right: 22px; }
.bn-toc ul { list-style: none; padding: 0; margin: 12px 0 0; }
.bn-toc__item { margin-bottom: 4px; }
.bn-toc__item--h3 { margin-left: 16px; font-size: 0.92rem; }
.bn-toc a { font-weight: 600; }

/* Leesbalk / toegankelijkheid */
.bn-leesbalk {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: var(--bn-bg-alt);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  padding: 10px 14px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.bn-leesbalk__label { font-weight: 700; color: var(--bn-text-muted); margin-right: 4px; }
.bn-leesbalk button {
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--bn-text);
}
.bn-leesbalk button[aria-pressed="true"] { background: var(--bn-primary); color: var(--bn-white); border-color: var(--bn-primary); }
.bn-leesbalk button:hover { border-color: var(--bn-primary); }

/* Leesbalk-effecten op .bn-content */
.bn-lb-groter { font-size: 1.18em; }
.bn-lb-regelafstand { line-height: 2; }
.bn-lb-dyslexie { font-family: "Comic Sans MS", "Comic Sans", cursive, var(--bn-font); letter-spacing: 0.03em; }
.bn-lb-serif { font-family: Georgia, "Times New Roman", serif; }
body.bn-lb-focusmodus .bn-header,
body.bn-lb-focusmodus .bn-sidebar,
body.bn-lb-focusmodus .bn-footer,
body.bn-lb-focusmodus .bn-breadcrumbs { opacity: 0.25; }
body.bn-lb-focusmodus .bn-content { max-width: 720px; margin: 0 auto; }

/* Deel-knoppen */
.bn-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0; }
.bn-share__label { font-weight: 700; color: var(--bn-text-muted); margin-right: 4px; }
.bn-share button {
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}
.bn-share button:hover { border-color: var(--bn-primary); color: var(--bn-primary); }

/* Voorkeursbron-CTA */
.bn-preferred-source { margin-top: 24px; background: var(--bn-bg-alt); }

/* Cookiebanner */
.bn-cookiebanner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bn-primary-dark);
  color: var(--bn-footer-text);
  border-radius: var(--bn-radius-lg);
  padding: 20px 24px;
  box-shadow: var(--bn-shadow-lg);
  z-index: 100;
}
.bn-cookiebanner a { color: var(--bn-white); text-decoration: underline; }
.bn-cookiebanner__actions { display: flex; gap: 10px; margin-top: 12px; }
.bn-cookiebanner .bn-btn--outline { color: var(--bn-white); border-color: var(--bn-footer-text); }

/* FAQ-accordion (details/summary uit content) */
.bn-content details {
  position: relative;
  padding-right: 40px;
}
.bn-content summary {
  list-style: none;
}
.bn-content summary::-webkit-details-marker { display: none; }
.bn-content summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bn-accent);
}
.bn-content details[open] summary::after { content: "\2212"; }

/* Zoekfunctie in header */
.bn-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  background: var(--bn-white);
  color: var(--bn-primary);
  cursor: pointer;
}
.bn-search-form {
  display: none;
  position: absolute;
  top: 100%;
  right: 20px;
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  box-shadow: var(--bn-shadow-lg);
  padding: 12px;
  gap: 8px;
}
.bn-search-form.is-open { display: flex; }
.bn-search-form input[type="search"] {
  padding: 10px 12px;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  font-size: 0.95rem;
  width: 240px;
}

/* Pagination */
.bn-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 32px 0; }
.bn-pagination a, .bn-pagination span { display: inline-block; padding: 8px 14px; border: 1px solid var(--bn-border); border-radius: var(--bn-radius); }

/* Footer */
.bn-footer {
  background: var(--bn-primary-dark);
  color: var(--bn-footer-text);
  padding: 48px 0 24px;
  margin-top: 48px;
}
.bn-footer a { color: var(--bn-footer-text); }
.bn-footer a:hover { color: var(--bn-white); }
.bn-footer h4 { color: var(--bn-white); margin-bottom: 14px; font-size: 1rem; }
.bn-footer ul { list-style: none; padding: 0; margin: 0; }
.bn-footer li { margin-bottom: 8px; }
.bn-footer__disclaimer { font-size: 0.85rem; color: var(--bn-footer-text-muted); margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* Calculator widget */
.bn-calc {
  position: relative;
  background: var(--bn-white);
  border-radius: var(--bn-radius-xl);
  box-shadow: var(--bn-shadow-xl);
  padding: 30px;
  border: 1px solid var(--bn-border);
  margin-bottom: 40px;
}
.bn-calc__title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bn-calc__title .bn-icon-tile { flex: 0 0 44px; }
.bn-calc__field { margin-bottom: 16px; }
.bn-calc__field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.bn-calc__field input, .bn-calc__field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  font-size: 1rem;
  font-family: var(--bn-font);
  transition: border-color .15s, box-shadow .15s;
}
.bn-calc__field input:hover, .bn-calc__field select:hover { border-color: var(--bn-accent); }
.bn-calc__field input:focus, .bn-calc__field select:focus {
  outline: none;
  border-color: var(--bn-accent);
  box-shadow: 0 0 0 3px var(--bn-accent-soft);
}
.bn-calc__field select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bn-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A5F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}
.bn-calc__field input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin: 0 8px 0 0;
  vertical-align: -2px;
  accent-color: var(--bn-accent);
}
.bn-calc__result {
  background: var(--bn-money-soft);
  border: 1px solid rgba(46, 158, 91, 0.18);
  border-radius: var(--bn-radius-lg);
  padding: 22px;
  margin-top: 22px;
}
.bn-calc__result-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.bn-calc__result-caption { font-weight: 700; color: var(--bn-money-dark); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }
.bn-calc__result-amount { font-size: 2.4rem; font-weight: 800; color: var(--bn-money); line-height: 1.1; }
.bn-calc__result-label { font-size: 0.9rem; color: var(--bn-text-muted); }
.bn-calc__breakdown { margin-top: 16px; overflow-x: auto; }
.bn-calc__breakdown table { width: 100%; border-collapse: collapse; overflow: visible; }
.bn-calc__breakdown td { padding: 8px 0; border-bottom: 1px solid var(--bn-border); }
.bn-calc__breakdown td:last-child { text-align: right; font-weight: 600; }
.bn-calc__weergave-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--bn-bg-alt, #f8fafc);
  border: 1px solid var(--bn-border, #e2e8f0);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 10px;
}
.bn-calc__weergave-toggle button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--bn-text-muted, #64748b);
  transition: background-color .15s, color .15s;
}
.bn-calc__weergave-toggle button.is-active {
  background: var(--bn-accent, #f0466e);
  color: #fff;
}
.bn-calc__weergave-toggle button:hover:not(.is-active) { color: var(--bn-primary, #1e3a5f); }

/* ============================================================
   FASE 8: Premium styling-upgrade (AOV-referentie)
   Icoontegels, hero, stats, stappen, toolkaarten, CTA-banden.
   ============================================================ */

/* Icoontegels */
.bn-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bn-accent-soft);
  color: var(--bn-accent);
  flex: 0 0 52px;
}
.bn-icon-tile svg { width: 26px; height: 26px; }
.bn-icon-tile--mint { background: var(--bn-money-soft); color: var(--bn-money); }
.bn-icon-tile--sky { background: var(--bn-tint-sky); color: var(--bn-primary); }
.bn-icon-tile--sand { background: var(--bn-tint-sand); color: var(--bn-sand-ink); }
.bn-icon-tile--sm { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; }
.bn-icon-tile--sm svg { width: 20px; height: 20px; }

/* Organische achtergrond-blobs (CSS-only) */
.bn-blobs { position: relative; overflow: hidden; }
.bn-blobs::before,
.bn-blobs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.bn-blobs::before {
  width: 460px; height: 460px;
  background: radial-gradient(circle at 30% 30%, rgba(240, 70, 110, 0.16), transparent 70%);
  top: -160px; right: -120px;
}
.bn-blobs::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 30% 30%, rgba(46, 158, 91, 0.14), transparent 70%);
  bottom: -180px; left: -120px;
}
.bn-blobs > * { position: relative; z-index: 1; }

/* Hero */
.bn-hero { background: var(--bn-tint-blush); padding: 72px 0 80px; }
.bn-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.bn-hero__title { margin-bottom: 18px; }
.bn-hero__lead { font-size: 1.15rem; color: var(--bn-text-muted); margin-bottom: 24px; }
.bn-usp-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.bn-usp-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.bn-usp-list .bn-usp-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bn-money); color: var(--bn-white); flex: 0 0 26px;
}
.bn-usp-list .bn-usp-check svg { width: 15px; height: 15px; }
.bn-hero__microtrust { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--bn-text-muted); }
.bn-hero__microtrust strong { color: var(--bn-text); }

/* Compacte hero-calculator (subtiel, verwijst door naar de calculatorpagina) */
.bn-hero-calc {
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  box-shadow: var(--bn-shadow-xl);
  padding: 26px;
  max-width: 420px;
  margin-left: auto;
}
.bn-hero-calc__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bn-hero-calc__head strong { display: block; color: var(--bn-primary); font-size: 1.1rem; }
.bn-hero-calc__head span { font-size: 0.88rem; color: var(--bn-text-muted); }
.bn-hero-calc label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.bn-hero-calc__row { display: flex; gap: 10px; margin-bottom: 18px; }
.bn-hero-calc__amount { position: relative; flex: 1; }
.bn-hero-calc__euro { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--bn-text-muted); font-weight: 700; }
.bn-hero-calc__amount input {
  width: 100%; padding: 13px 14px 13px 30px;
  border: 1px solid var(--bn-border); border-radius: var(--bn-radius);
  font-size: 1.05rem; font-family: var(--bn-font); font-weight: 700;
}
.bn-hero-calc select {
  padding: 13px 40px 13px 14px; border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius); font-size: 0.95rem; font-family: var(--bn-font);
  background-color: var(--bn-white); flex: 0 0 auto;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A5F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.bn-hero-calc .bn-btn { width: 100%; }

/* Trust-stats-strip */
.bn-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  box-shadow: var(--bn-shadow-lg);
  padding: 30px 24px;
  margin-top: -44px;
  position: relative;
  z-index: 5;
}
.bn-stat { text-align: center; }
.bn-stat__num { font-size: 2rem; font-weight: 800; color: var(--bn-primary); line-height: 1; }
.bn-stat__num span { color: var(--bn-accent); }
.bn-stat__label { font-size: 0.9rem; color: var(--bn-text-muted); margin-top: 6px; }
.bn-stat + .bn-stat { border-left: 1px solid var(--bn-border); }

/* HTML-sitemap */
.bn-sitemap-list { list-style: none; padding: 0; margin: 0 0 8px; }
.bn-sitemap-list li { margin-bottom: 6px; }
.bn-sitemap-list--columns { columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .bn-sitemap-list--columns { columns: 1; } }

/* FAQ 2-koloms */
.bn-faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
@media (max-width: 780px) {
  .bn-faq-columns { grid-template-columns: 1fr; }
}

/* Missie-tekstblok */
.bn-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.bn-mission__visual {
  border-radius: var(--bn-radius-xl, 24px);
  overflow: hidden;
  box-shadow: var(--bn-shadow-xl, 0 12px 32px rgba(15,23,42,.12));
}
.bn-mission__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.bn-mission__text { display: block; }
.bn-mission p { color: var(--bn-text-muted); line-height: 1.7; text-align: left; }
.bn-mission p:not(:last-child) { margin-bottom: 16px; }
@media (max-width: 780px) {
  .bn-mission { grid-template-columns: 1fr; gap: 24px; }
}

/* Linkblokken (belangrijke pagina's) */
.bn-linkblock {
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl, 16px);
  padding: 24px;
}
.bn-linkblock h3 { margin: 14px 0 12px; }
.bn-linkblock ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bn-linkblock a { color: var(--bn-text); font-weight: 600; font-size: 0.92rem; }
.bn-linkblock a:hover { color: var(--bn-accent); }
.bn-linkblock li:last-child a { color: var(--bn-accent-dark); }

/* Toolkaarten */
.bn-tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  box-shadow: var(--bn-shadow);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.bn-tool-card__image {
  margin: -28px -28px 0;
  width: calc(100% + 56px);
  height: 130px;
  overflow: hidden;
}
.bn-tool-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.bn-tool-card:hover .bn-tool-card__image img { transform: scale(1.05); }
.bn-tool-card:hover { text-decoration: none; transform: translateY(-5px); box-shadow: var(--bn-shadow-lg); border-color: var(--bn-accent); }
.bn-tool-card h3 { margin: 0; }
.bn-tool-card p { color: var(--bn-text-muted); margin: 0; font-size: 0.95rem; }
.bn-tool-card__link { margin-top: auto; padding-top: 8px; color: var(--bn-accent); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.bn-tool-card__link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.bn-tool-card:hover .bn-tool-card__link svg { transform: translateX(4px); }

/* Stappenproces */
.bn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.bn-step { text-align: center; position: relative; }
.bn-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bn-white); border: 2px solid var(--bn-accent);
  color: var(--bn-accent); font-weight: 800; font-size: 1.3rem;
  margin-bottom: 16px; position: relative; z-index: 2;
}
.bn-step h3 { margin-bottom: 6px; }
.bn-step p { color: var(--bn-text-muted); font-size: 0.95rem; margin: 0; }
.bn-steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 16%; right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--bn-accent) 0 8px, transparent 8px 16px);
  opacity: 0.4;
  z-index: 1;
}

/* Bron-/vertrouwenstrip */
.bn-bron { text-align: center; }
.bn-bron__label { font-weight: 700; color: var(--bn-text-muted); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; }
.bn-bron__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.bn-bron__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bn-white); border: 1px solid var(--bn-border);
  border-radius: 999px; padding: 10px 20px; font-weight: 700; color: var(--bn-primary);
}
.bn-bron__badge svg { width: 18px; height: 18px; color: var(--bn-money); }

/* Volle-breedte CTA-band */
.bn-cta-band { background: var(--bn-primary); color: var(--bn-white); }
.bn-cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
}
.bn-cta-band h2 { color: var(--bn-white); margin: 0 0 6px; }
.bn-cta-band p { color: var(--bn-footer-text); margin: 0; }
.bn-cta-band--accent { background: var(--bn-accent); }
.bn-cta-band--accent p { color: rgba(255,255,255,0.9); }

/* Redactie/vertrouwen-blok */
.bn-redactie__people { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 32px; }
.bn-redactie__person { width: 140px; }
.bn-redactie__person { text-align: center; display: block; text-decoration: none; transition: transform .15s; }
.bn-redactie__person:hover { transform: translateY(-2px); }
.bn-redactie__person img.avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 12px;
  border: 2px solid var(--bn-white); box-shadow: 0 2px 8px rgba(15,23,42,.12);
}
.bn-redactie__person strong { display: block; color: var(--bn-primary); }
.bn-redactie__person span { font-size: 0.88rem; color: var(--bn-text-muted); }

/* Populaire-links-blok ([popi-homepage-links]) */
.bn-popi-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bn-popi-links__col h3 { font-size: 1.05rem; margin-bottom: 14px; }
@media (max-width: 860px) { .bn-popi-links { grid-template-columns: 1fr; } }

/* Advertentie-widget */
.bn-widget.widget_bn_advertentie { padding: 16px; }
.bn-widget-ad__label {
  display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--bn-text-muted); margin-bottom: 8px;
}
.bn-widget-ad img { max-width: 100%; height: auto; }

/* Gerelateerde artikelen + vorige/volgende navigatie onder een artikel */
.bn-related-articles { margin-top: 48px; }
.bn-post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bn-border);
}
.bn-post-nav__link {
  display: block; padding: 16px 18px; border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius); background: var(--bn-white); text-decoration: none;
}
.bn-post-nav__link:hover { border-color: var(--bn-accent); text-decoration: none; }
.bn-post-nav__link--next { text-align: right; }
.bn-post-nav__label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--bn-accent); margin-bottom: 4px; }
.bn-post-nav__title { display: block; font-weight: 600; color: var(--bn-primary); line-height: 1.35; font-size: 0.95rem; }
@media (max-width: 600px) {
  .bn-post-nav { grid-template-columns: 1fr; }
  .bn-post-nav__link--next { text-align: left; }
}

/* Sidebar-widgets */
.bn-sidebar { display: flex; flex-direction: column; gap: 24px; }
.bn-widget { padding: 24px; }
.bn-widget__title {
  font-size: 1.05rem; margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--bn-accent-soft);
}
.bn-widget__more { margin: 14px 0 0; font-size: 0.9rem; }
.bn-widget__more a { font-weight: 600; }

.bn-widget-calc__label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--bn-text-muted); margin-bottom: 6px; }
.bn-widget-calc__row {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--bn-border); border-radius: var(--bn-radius);
  padding: 4px 12px; margin-bottom: 12px; background: var(--bn-bg-alt);
}
.bn-widget-calc__euro { font-weight: 700; color: var(--bn-text-muted); }
.bn-widget-calc__row input { border: none; background: none; width: 100%; padding: 10px 0; font-size: 1.05rem; font-weight: 600; }
.bn-widget-calc__row input:focus { outline: none; }
.bn-widget-calc__btn { width: 100%; text-align: center; }

.bn-widget-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-chip--small { padding: 6px 12px; font-size: 0.88rem; }

.bn-widget-cao__naam { margin: 0 0 6px; font-weight: 700; font-size: 1.02rem; }
.bn-widget-cao__range { margin: 0 0 4px; color: var(--bn-money); font-weight: 700; }
.bn-widget-cao__meta { margin: 0; font-size: 0.88rem; color: var(--bn-text-muted); }

.bn-widget-posts { list-style: none; padding: 0; margin: 0; }
.bn-widget-posts li { padding: 10px 0; border-bottom: 1px solid var(--bn-border); }
.bn-widget-posts li:last-child { border-bottom: none; }
.bn-widget-posts li a { display: block; font-weight: 600; line-height: 1.35; }
.bn-widget-posts li span { font-size: 0.82rem; color: var(--bn-text-muted); }

.bn-widget-tabel { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.bn-widget-tabel th { text-align: left; padding: 6px 0; color: var(--bn-text-muted); font-weight: 600; border-bottom: 1px solid var(--bn-border); }
.bn-widget-tabel td { padding: 8px 0; border-bottom: 1px solid var(--bn-border); }
.bn-widget-tabel tr:last-child td { border-bottom: none; }
.bn-widget-tabel__netto { font-weight: 700; color: var(--bn-money); }

.bn-widget-caozoek input[type="search"] {
  width: 100%; padding: 12px 14px; margin-bottom: 10px;
  border: 1px solid var(--bn-border); border-radius: var(--bn-radius);
  background: var(--bn-bg-alt); font-size: 0.95rem;
}
.bn-widget-caozoek input[type="search"]:focus { outline: none; border-color: var(--bn-accent); }

.bn-widget-teller { text-align: center; padding: 8px 0 4px; }
.bn-widget-teller__getal {
  display: block; font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--bn-accent);
}
.bn-widget-teller__label { display: block; margin-top: 6px; color: var(--bn-text-muted); font-size: 0.92rem; }

.bn-widget.widget_bn_cta { background: var(--bn-accent); border: none; }
.bn-widget-cta h3 { color: var(--bn-white); margin: 0 0 8px; }
.bn-widget-cta p { color: rgba(255,255,255,0.9); margin: 0 0 16px; font-size: 0.95rem; }

/* Gerelateerde rekentools onderaan toolpagina's */
.bn-related-tools { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.bn-related-tools li a {
  display: inline-block; background: var(--bn-white); border: 1px solid var(--bn-border);
  border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600;
  color: var(--bn-primary); text-decoration: none;
}
.bn-related-tools li a:hover { border-color: var(--bn-accent); color: var(--bn-accent-dark); }

/* Cao-overzicht: zoekveld + sector-jumpnav */
.bn-cao-search { margin-bottom: 20px; }
.bn-cao-search input {
  width: 100%; max-width: 480px; padding: 14px 18px;
  border: 1px solid var(--bn-border); border-radius: var(--bn-radius);
  font-size: 1rem; background: var(--bn-white);
}
.bn-cao-search input:focus { outline: none; border-color: var(--bn-accent); }
.bn-cao-jump { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 40px; }
.bn-cao-jump a {
  font-size: 0.88rem; font-weight: 600; color: var(--bn-primary);
  background: var(--bn-tint-sky, var(--bn-bg-alt)); border-radius: 999px;
  padding: 6px 14px; text-decoration: none;
}
.bn-cao-jump a:hover { background: var(--bn-accent-soft); color: var(--bn-accent-dark); }
.bn-cao-jump a span { opacity: .65; font-weight: 500; }
.bn-cao-geen-resultaat { color: var(--bn-text-muted); margin-bottom: 32px; }

/* Bedrag-archief groepen */
.bn-bedrag-group { margin-bottom: 48px; }
.bn-bedrag-group__intro { color: var(--bn-text-muted); margin-top: -2px; margin-bottom: 20px; }

/* Bedrag-chips */
.bn-chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.bn-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bn-white); border: 1px solid var(--bn-border);
  border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--bn-primary);
  text-decoration: none; transition: border-color 0.15s ease, transform 0.12s ease;
}
.bn-chip:hover { text-decoration: none; border-color: var(--bn-accent); color: var(--bn-accent-dark); transform: translateY(-2px); }

/* Footer-CTA-band boven de donkere footer */
.bn-footer-cta { background: var(--bn-accent); color: var(--bn-white); padding: 56px 0; text-align: center; }
.bn-footer-cta h2 { color: var(--bn-white); }
.bn-footer-cta p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 24px; }

/* Responsive */
@media (max-width: 860px) {
  .bn-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .bn-hero { padding: 48px 0 60px; }
  .bn-stats { grid-template-columns: repeat(2, 1fr); margin-top: 24px; gap: 24px 12px; }
  .bn-stat:nth-child(3) { border-left: none; }
  .bn-steps { grid-template-columns: 1fr; }
  .bn-steps::before { display: none; }
  .bn-cta-band__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .bn-stat + .bn-stat { border-left: none; }
}
