/* vitaminengids.be — pastel pop met navy anker */

:root {
  --bg: #FDF6F0;
  --navy: #1A1A2E;
  --yellow-cta: #FFE57A;

  --roze: #F5D5DC;
  --roze-text: #6B2B40;

  --lavendel: #E8DEF5;
  --lavendel-text: #2D1B4E;

  --mint: #C8E6E0;
  --mint-text: #1F4A3E;

  --geel: #FFE9A8;
  --geel-text: #4D3818;

  --grijs: #EDE5DC;
  --grijs-text: #6B5577;

  --white: #FFFFFF;
  --rule: #E5DDC8;
  --text-2: #6B5577;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--navy);
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea { font-family: inherit; }

/* Type ------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 18px; line-height: 1.25; }
h3 { font-size: 15px; line-height: 1.3; }
p  { margin: 0; }

.label-9 {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}
.label-10 {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 500;
}
.t-12 { font-size: 13px; }
.t-13 { font-size: 14px; }
.medium { font-weight: 500; }
.muted { color: var(--text-2); }

/* Top bar / browser shell ----------------------------------------- */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 16px;
}
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 246, 240, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--rule);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--navy);
  color: var(--yellow-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.search {
  flex: 1;
  display: flex; align-items: center; gap: 6px;
  background: var(--white);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-2);
  border: 0.5px solid var(--rule);
}
.topnav {
  display: flex; gap: 4px;
}
.topnav button {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--text-2);
}
.topnav button.active {
  background: var(--navy);
  color: var(--yellow-cta);
}

/* Breadcrumb ------------------------------------------------------- */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px;
  color: var(--text-2);
  margin: 18px 0 10px;
  text-transform: lowercase;
}
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb a:hover { color: var(--navy); }

/* Headings + subtitle --------------------------------------------- */
.subtitle {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 8px;
  max-width: 78ch;
  line-height: 1.55;
}

/* Byline ----------------------------------------------------------- */
.byline {
  display: flex; align-items: center; gap: 10px;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 7px 0;
  margin: 16px 0 18px;
  font-size: 10.5px;
}
.avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 500;
  background: var(--lavendel); color: var(--lavendel-text);
  flex-shrink: 0;
}
.byline-name { font-weight: 500; }
.byline-meta { color: var(--text-2); }
.byline-right {
  margin-left: auto;
  color: var(--text-2);
  font-size: 10px;
}

/* Pills + chips ---------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10.5px;
  background: var(--white);
  border: 0.5px solid var(--rule);
  white-space: nowrap;
}
.pill.navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pill.yellow-cta { background: var(--yellow-cta); color: var(--navy); border-color: var(--yellow-cta); font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 10.5px;
  background: var(--white);
  border: 0.5px solid var(--rule);
}
.chip .num {
  font-size: 9px;
  font-weight: 500;
  background: var(--navy);
  color: var(--yellow-cta);
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}

/* Evidence-tier badges -------------------------------------------- */
.tier {
  display: inline-flex; align-items: center;
  font-size: 9px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  padding: 2px 8px;
}
.tier.sterk { background: var(--mint); color: var(--mint-text); }
.tier.matig { background: var(--geel); color: var(--geel-text); }
.tier.beperkt { background: var(--grijs); color: var(--grijs-text); }

/* TL;DR ------------------------------------------------------------ */
.tldr {
  background: var(--mint);
  color: var(--mint-text);
  border-radius: 14px;
  padding: 12px 16px;
}
.tldr-label {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; opacity: 0.85;
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 4px;
}
.tldr-text {
  font-size: 13px; font-weight: 500; line-height: 1.45;
}

/* Anchor pill (H2 number) ----------------------------------------- */
.anchor-row {
  display: flex; align-items: center; gap: 10px;
  margin: 28px 0 12px;
}
.anchor-pill {
  font-size: 9.5px;
  background: var(--navy); color: var(--white);
  border-radius: 100px;
  padding: 3px 9px;
  letter-spacing: 1px;
  font-weight: 500;
  flex-shrink: 0;
}

/* Stat cards ------------------------------------------------------- */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 6px 0;
}
.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
}
.stat-label {
  font-size: 9px; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--text-2); font-weight: 500;
}
.stat-value {
  font-size: 15px; font-weight: 500; margin-top: 4px;
  letter-spacing: -0.01em;
}
.stat-unit { font-size: 11px; color: var(--text-2); margin-left: 1px; }

/* KV rows ---------------------------------------------------------- */
.kv-card {
  background: var(--white);
  border-radius: 14px;
  padding: 4px 14px;
}
.kv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--rule);
  font-size: 11.5px;
}
.kv-row:last-child { border-bottom: none; }
.kv-row .k { color: var(--text-2); }
.kv-row .v { font-weight: 500; }

/* Two-column blocks (kies / vermijd) ------------------------------ */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.col-block {
  border-radius: 14px;
  padding: 12px 14px;
}
.col-block.kies { background: var(--mint); color: var(--mint-text); }
.col-block.vermijd { background: var(--roze); color: var(--roze-text); }
.col-block .col-label {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; opacity: 0.8; margin-bottom: 8px;
  display: flex; align-items: center; gap: 5px;
}
.col-block h4 { font-size: 12.5px; font-weight: 500; margin-bottom: 2px; }
.col-block p { font-size: 10.5px; line-height: 1.5; opacity: 0.85; }
.col-block ul { margin: 6px 0 0; padding: 0; list-style: none; }
.col-block li {
  font-size: 11px;
  padding: 5px 0;
  border-top: 0.5px solid rgba(0,0,0,0.08);
  display: flex; justify-content: space-between; gap: 8px;
}
.col-block li:first-child { border-top: none; }
.col-block li .lbl { font-weight: 500; }

/* Product cards --------------------------------------------------- */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.podium-card {
  border-radius: 16px;
  padding: 13px 14px;
  display: flex; flex-direction: column;
  gap: 8px;
  min-height: 220px;
}
.podium-card.mint { background: var(--mint); color: var(--mint-text); }
.podium-card.geel { background: var(--geel); color: var(--geel-text); }
.podium-card.lavendel { background: var(--lavendel); color: var(--lavendel-text); }
.podium-badge {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.podium-score {
  background: var(--navy); color: var(--white);
  font-size: 10px; padding: 2px 8px; border-radius: 100px;
  letter-spacing: 0.4px;
}
.podium-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.podium-name { font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.podium-meta { font-size: 10px; opacity: 0.8; }
.podium-verdict { font-size: 11px; line-height: 1.45; flex: 1; }
.podium-price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}
.podium-price { font-size: 13px; font-weight: 500; }
.podium-price .strike { font-size: 10px; text-decoration: line-through; opacity: 0.55; margin-right: 4px; font-weight: 400; }

.cta-pill {
  background: var(--navy); color: var(--yellow-cta);
  padding: 7px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
}
.cta-pill.yellow { background: var(--yellow-cta); color: var(--navy); }
.cta-pill.small { padding: 5px 12px; font-size: 10.5px; }

/* Compact product card list -------------------------------------- */
.product-list { display: flex; flex-direction: column; gap: 6px; }
.product-row {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 26px 38px 1fr auto;
  align-items: center;
  gap: 12px;
}
.product-rank {
  font-size: 12px; font-weight: 500;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.product-tile {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.product-info .tag { font-size: 9px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-2); }
.product-info .name { font-size: 11.5px; font-weight: 500; margin-top: 1px; }
.product-info .meta { font-size: 10px; color: var(--text-2); margin-top: 1px; }
.product-price {
  text-align: right;
}
.product-price .p { font-size: 12px; font-weight: 500; }
.product-price .s { font-size: 9.5px; color: var(--text-2); display: block; }

/* Study block ----------------------------------------------------- */
.study {
  background: var(--roze);
  color: var(--roze-text);
  border-radius: 14px;
  padding: 12px 14px;
}
.study-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500;
  opacity: 0.85;
  margin-bottom: 6px;
}
.study-claim { font-size: 12px; line-height: 1.5; }
.study-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
  gap: 8px;
}
.study-link { font-size: 10.5px; font-weight: 500; }

/* CTA strip ------------------------------------------------------- */
.cta-strip {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.cta-strip-text { flex: 1; }
.cta-strip-text .l { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.55; }
.cta-strip-text .t { font-size: 13px; font-weight: 500; margin-top: 2px; }
.cta-strip .cta-pill { background: var(--yellow-cta); color: var(--navy); }

/* FAQ ------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
}
.faq-q {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
}
.faq-icon {
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 400;
  color: var(--text-2);
  flex-shrink: 0;
}
.faq-a {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 10px;
  padding-left: 26px;
  max-width: 100ch;
}
.faq-q {
  font-size: 13px;
}
.faq-item {
  padding: 13px 16px;
}

/* Sub-link grid --------------------------------------------------- */
.sublink-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.sublink {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
}
.sublink .arrow { color: var(--text-2); }

/* Section spacing ------------------------------------------------- */
.section { margin: 14px 0; }

/* Comparison table ----------------------------------------------- */
.cmp-table {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
}
.cmp-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 0.5px solid var(--rule);
  font-size: 11px;
}
.cmp-row:last-child { border-bottom: none; }
.cmp-row.head {
  background: var(--bg);
  font-size: 9px; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--text-2); font-weight: 500;
}
.cmp-row .vorm { font-weight: 500; }
.cmp-row .dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.dot.green { background: #4A9B82; }
.dot.amber { background: #D4A14A; }
.dot.red   { background: #C26B7C; }

/* Methodology card ----------------------------------------------- */
.method-card {
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
}
.method-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.method-cell .num {
  font-size: 9px; letter-spacing: 1px; color: var(--text-2);
  font-weight: 500;
}
.method-cell .l { font-size: 11.5px; font-weight: 500; margin-top: 2px; }
.method-cell .d { font-size: 10px; color: var(--text-2); margin-top: 2px; line-height: 1.5; }

/* Filters --------------------------------------------------------- */
.filter-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin: 4px 0 12px;
}
.filter-pill {
  font-size: 10.5px;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--white);
  border: 0.5px solid var(--rule);
  color: var(--text-2);
}
.filter-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Quiz ------------------------------------------------------------ */
.quiz-shell {
  max-width: 620px; margin: 0 auto;
  padding: 24px 18px 64px;
}
.quiz-top {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; color: var(--text-2);
}
.progress {
  flex: 1; height: 4px;
  background: var(--white);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--navy);
  border-radius: 100px;
  transition: width 0.3s ease;
}
.quiz-category {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 10px; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--text-2);
  margin: 28px 0 12px;
}
.quiz-question {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 auto 24px;
  text-align: center;
  max-width: 80%;
}
.quiz-options {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 28px;
}
.quiz-option {
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  font-size: 12.5px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.quiz-option:hover { border-color: var(--rule); }
.quiz-option.selected {
  background: var(--lavendel);
  color: var(--lavendel-text);
  font-weight: 500;
}
.quiz-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--text-2);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.quiz-option.selected .quiz-radio {
  border-color: var(--navy);
  background: var(--navy);
}
.quiz-option.selected .quiz-radio::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow-cta);
}
.quiz-multi .quiz-radio { border-radius: 5px; }
.quiz-multi .quiz-option.selected .quiz-radio::after {
  width: 9px; height: 9px;
  background: transparent;
  border-right: 2px solid var(--yellow-cta);
  border-bottom: 2px solid var(--yellow-cta);
  transform: rotate(45deg) translate(-1px, -1px);
  border-radius: 0;
}
.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;
}
.quiz-back {
  font-size: 11px; color: var(--text-2);
  padding: 8px 16px; border-radius: 100px;
}
.quiz-next {
  background: var(--navy); color: var(--yellow-cta);
  padding: 10px 22px; border-radius: 100px;
  font-size: 11.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.quiz-next:disabled { opacity: 0.4; cursor: not-allowed; }

.why-block {
  background: var(--roze);
  color: var(--roze-text);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 32px;
}
.why-block .l {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; opacity: 0.85;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.why-block .t { font-size: 11px; line-height: 1.55; }

/* Results --------------------------------------------------------- */
.result-summary {
  background: var(--navy); color: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.result-summary .l {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  opacity: 0.55;
}
.result-summary .t {
  font-size: 17px; font-weight: 500;
  margin-top: 4px; line-height: 1.3;
}
.result-summary .meta {
  display: flex; gap: 16px; margin-top: 12px;
  font-size: 10.5px;
}
.result-summary .meta .v { font-weight: 500; font-size: 13px; display: block; }
.result-summary .meta .k { opacity: 0.55; font-size: 9.5px; letter-spacing: 0.6px; text-transform: uppercase; }

.priority-card {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.priority-card.p1 { background: var(--mint); color: var(--mint-text); }
.priority-card.p2 { background: var(--geel); color: var(--geel-text); }
.priority-card.p3 { background: var(--lavendel); color: var(--lavendel-text); }
.priority-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.priority-rank {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; opacity: 0.75;
}
.priority-title { font-size: 16px; font-weight: 500; }
.priority-because { font-size: 11.5px; line-height: 1.55; }

.priority-product {
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 10px;
  display: flex; align-items: center; gap: 10px;
}

/* Disclaimer block ------------------------------------------------ */
.disclaimer {
  background: var(--roze);
  color: var(--roze-text);
  border-radius: 14px;
  padding: 12px 14px;
}
.disclaimer .l {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; margin-bottom: 4px;
  display: flex; align-items: center; gap: 5px;
}
.disclaimer .t { font-size: 11.5px; line-height: 1.55; }

/* Toc pills row --------------------------------------------------- */
.toc-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}

/* Tag */
.tag-9 {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
}

/* Subtle decorative glyph color for icon tiles */
.tile-mint    { background: var(--mint); color: var(--mint-text); }
.tile-roze    { background: var(--roze); color: var(--roze-text); }
.tile-lavendel{ background: var(--lavendel); color: var(--lavendel-text); }
.tile-geel    { background: var(--geel); color: var(--geel-text); }
.tile-grijs   { background: var(--grijs); color: var(--grijs-text); }

/* Tweaks panel scaffolding (none for now) */

/* Hamburger toggle - alleen zichtbaar op mobile via media query hieronder */
.topnav-toggle {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 0.5px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin-left: auto;
}
.topnav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); border-radius: 1px; }

/* Taal-switcher in topnav */
.lang-switch { display: inline-flex; gap: 4px; align-items: center; margin-left: 6px; font-size: 11px; }
.lang-switch a { color: var(--text-2); padding: 4px 6px; }
.lang-switch a.active { color: var(--navy); font-weight: 500; }
.lang-switch .sep { color: var(--text-2); opacity: 0.4; }

/* Mobile ---------------------------------------------------------- */
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .podium-grid { grid-template-columns: 1fr; }
  .method-row { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sublink-grid { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: stretch; }
  .quiz-question { max-width: 100%; font-size: 21px; }

  /* Hamburger zichtbaar maken */
  .topnav-toggle { display: flex; }

  /* Topnav verdwijnt standaard, popt open onder topbar wanneer .open-class is gezet */
  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 0.5px solid var(--rule);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 14px 14px;
    gap: 4px;
    z-index: 100;
  }
  .topnav.open { display: flex; }
  .topnav a { width: 100%; }
  .topnav button {
    width: 100%; text-align: left;
    padding: 10px 12px;
    font-size: 13px;
  }
  .topbar { position: relative; }
  .topbar-inner { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; margin-top: 8px; }
}
@media (max-width: 560px) {
  .topbar-inner .brand { font-size: 13px; }
}

/* Density variants (driven by data-density on <html>) -------- */
html[data-density="compact"] body { font-size: 12px; }
html[data-density="compact"] h1 { font-size: 22px; }
html[data-density="compact"] .section { margin: 10px 0; }
html[data-density="compact"] .anchor-row { margin: 20px 0 8px; }
html[data-density="compact"] .stat-card { padding: 7px 9px; }
html[data-density="compact"] .stat-value { font-size: 13.5px; }
html[data-density="compact"] .podium-card { padding: 10px 11px; min-height: 195px; }
html[data-density="compact"] .tldr { padding: 9px 13px; }
html[data-density="compact"] .product-row { padding: 7px 10px; }
html[data-density="compact"] .cta-strip { padding: 11px 13px; }
html[data-density="compact"] .col-block { padding: 10px 12px; }
html[data-density="compact"] .kv-row { padding: 7px 0; }
html[data-density="compact"] .faq-item { padding: 8px 12px; }

html[data-density="spacious"] body { font-size: 14px; }
html[data-density="spacious"] h1 { font-size: 28px; }
html[data-density="spacious"] .section { margin: 22px 0; }
html[data-density="spacious"] .anchor-row { margin: 36px 0 18px; }
html[data-density="spacious"] .stat-card { padding: 14px 16px; }
html[data-density="spacious"] .stat-value { font-size: 18px; }
html[data-density="spacious"] .podium-card { padding: 16px 18px; min-height: 240px; }
html[data-density="spacious"] .tldr { padding: 16px 20px; }
html[data-density="spacious"] .product-row { padding: 13px 15px; }
html[data-density="spacious"] .cta-strip { padding: 18px 20px; }
html[data-density="spacious"] .col-block { padding: 16px 18px; }
html[data-density="spacious"] .kv-row { padding: 12px 0; }
html[data-density="spacious"] .faq-item { padding: 14px 16px; }

/* Reveal animation between pages */
.fade-in {
  animation: fadeIn 0.22s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Performance: respecteer user-preference voor minder beweging */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Performance: content-visibility voor lange lijsten (browsers skippen render off-screen).
   Geldt enkel op lijsten met veel items - NIET op .section, want dat reserveert 400px
   voor elke sectie en creëert grote witruimtes bij korte secties (CTA-strips, etc.). */
.product-list.cv-long, .podium-grid.cv-long { content-visibility: auto; contain-intrinsic-size: auto 400px; }

/* Inline newsletter (scroll-trigger op stof/klacht-pagina's) */
.news-inline {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--mint); color: var(--mint-text);
  border: 0.5px solid var(--mint);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 28px 0;
  position: relative;
}
.news-dismiss {
  position: absolute;
  top: 6px; right: 8px;
  background: transparent;
  border: 0; cursor: pointer;
  font-size: 18px; line-height: 1;
  color: var(--mint-text); opacity: 0.6;
  padding: 4px;
}
.news-dismiss:hover { opacity: 1; }

/* Floating "naar producten" CTA (desktop, stof-hubs) */
.float-to-products {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--navy); color: var(--yellow-cta);
  border-radius: 100px;
  text-decoration: none;
  font-size: 12px; font-weight: 500;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.float-to-products:hover { transform: translateY(-2px); }
.float-to-products.hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
.ftp-icon {
  width: 22px; height: 22px;
  border-radius: 100px;
  background: var(--yellow-cta); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}
@media (max-width: 980px) { .float-to-products { display: none !important; } }

/* Search autocomplete suggesties */
.suggest-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 0.5px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
}
.suggest-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule);
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: var(--bg-2); }
.suggest-icon { font-size: 14px; opacity: 0.8; width: 18px; text-align: center; }
.suggest-label { flex: 1; }
.suggest-type {
  font-size: 9.5px; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--text-2);
  padding: 2px 6px; border-radius: 100px; background: var(--bg-2);
}

/* Verdict-card (product-pagina, prominenter zolang er geen reviews zijn) */
.verdict-card {
  background: var(--white);
  border: 0.5px solid var(--rule);
  border-left: 4px solid var(--yellow-cta);
  border-radius: 14px;
  padding: 20px 24px;
}
.verdict-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 12px;
}
.verdict-byline {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-2);
  padding-top: 10px; border-top: 0.5px solid var(--rule);
}
.verdict-initials {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 100px;
  background: var(--navy); color: var(--yellow-cta);
  font-size: 10px; font-weight: 500;
}
.verdict-score {
  margin-left: auto;
  padding: 3px 10px;
  background: var(--mint); color: var(--mint-text);
  border-radius: 100px;
  font-weight: 500;
  font-size: 11px;
}

/* Skip-to-products card (substance-hub shortcut) */
.skip-to-products {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: var(--yellow-cta);
  color: var(--navy);
  border-radius: 12px;
  text-decoration: none;
  border: 0;
  transition: transform 0.15s ease;
}
.skip-to-products:hover { transform: translateY(-1px); }
.skip-arrow {
  width: 32px; height: 32px;
  border-radius: 100px;
  background: var(--navy); color: var(--yellow-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

/* Trust-strip (homepage boven-de-fold) */
.trust-strip { font-size: 13px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--white);
  border: 0.5px solid var(--rule);
  border-radius: 100px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* Chip-launcher (homepage call-to-action) */
.launcher-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  transition: transform 0.15s ease;
}
.launcher-chip:hover { transform: translateY(-1px); background: var(--yellow-cta); }
.launcher-chip-alt {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 0.5px solid rgba(255,255,255,0.3);
}
.launcher-chip-alt:hover { background: rgba(255,255,255,0.08); color: var(--white); transform: none; }

/* GDPR cookie-banner */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  background: #1f2937;
  color: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 14px 18px;
}
.cookie-banner-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}
.cookie-text {
  flex: 1 1 480px;
  font-size: 13.5px;
  line-height: 1.5;
}
.cookie-text a { color: #fcd34d; text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-cookie {
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-cookie-accept {
  background: #10b981;
  color: #fff;
}
.btn-cookie-accept:hover { background: #059669; }
.btn-cookie-decline {
  background: #374151;
  color: #f3f4f6;
}
.btn-cookie-decline:hover { background: #4b5563; }
@media (max-width: 560px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; }
  .cookie-text { font-size: 13px; }
}
