/* Agency Audit, lay-out "keuring" (ontwerp Kevin, okt 2026). Alle classnamen bm-, tokens op .bm zodat de
   bestaande landing (al-) en het rapport (au-) ongemoeid blijven. */
/* Brandmerck Agency Audit · De Keuring (licht)
   Eén stylesheet voor HTML én React. Alle kleuren als tokens. */

.bm {
  --bm-green: #0C3835;        /* merk donkergroen: tekst + donkere blokken */
  --bm-green-deep: #082A28;
  --bm-teal: #1E726C;         /* tags, 'goedgekeurd' */
  --bm-orange: #F38421;       /* primaire knop (altijd met donkergroene tekst) */
  --bm-orange-shadow: #C96A14;
  --bm-orange-text: #B85E10;  /* oranje als tekst op licht: voldoet aan contrast */
  --bm-bg: #F6F9F8;
  --bm-surface: #FFFFFF;
  --bm-surface-soft: #EEF4F2;
  --bm-border: #D5E2DF;
  --bm-border-strong: #C7D6D3;
  --bm-text: #0C3835;
  --bm-text-body: #3A5551;
  --bm-text-muted: #5A706D;
  --bm-text-on-dark: #D6E6E3;
  --bm-muted-on-dark: #9FC0BB;
  --bm-line-on-dark: #2A5E59;
  --bm-red: #B42318;
  --bm-amber: #A15C07;

  --bm-font: "Lato", "Helvetica Neue", Arial, sans-serif;
  --bm-gutter: 20px;
  --bm-max: 1120px;
  --bm-notch: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
.bm-root { min-height: 100vh; }
body.bm, .bm {
  background: var(--bm-bg);
  color: var(--bm-text);
  font-family: var(--bm-font);
  -webkit-font-smoothing: antialiased;
}
.bm img { max-width: 100%; display: block; }
.bm a { color: inherit; }
.bm h1, .bm h2, .bm p { margin: 0; }
.bm-wrap { width: 100%; max-width: var(--bm-max); margin: 0 auto; padding: 0 var(--bm-gutter); }
.bm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.bm-header { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
.bm-header img { height: 28px; width: auto; }
.bm-header span, .bm-header a { font-size: 13px; color: var(--bm-text-muted); text-decoration: none; }

/* Typografie */
.bm-tag { align-self: flex-start; display: inline-block; background: var(--bm-teal); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; padding: 7px 14px 7px 12px; clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%); }
.bm-kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: var(--bm-orange-text); text-transform: uppercase; }
.bm-h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; font-weight: 900; letter-spacing: -1px; text-wrap: balance; }
.bm-h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 900; text-wrap: balance; }
.bm-lead { font-size: 17px; line-height: 1.5; color: var(--bm-text-body); }
.bm-small { font-size: 12.5px; color: var(--bm-text-muted); }

/* Knoppen */
.bm-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 22px; border: 0; cursor: pointer; font-family: inherit; font-weight: 900; font-size: 17px; letter-spacing: .3px; text-decoration: none; background: var(--bm-orange); color: var(--bm-green); box-shadow: 0 6px 0 var(--bm-orange-shadow); transition: transform .15s ease, box-shadow .15s ease; will-change: transform; }
.bm-btn:hover { transform: translateY(-1px); }
.bm-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--bm-orange-shadow); }
.bm-btn:focus-visible, .bm-input:focus-visible, .bm-choice:focus-visible, .bm-score:focus-visible { outline: 3px solid var(--bm-teal); outline-offset: 2px; }
.bm-btn--ghost-dark { background: transparent; color: #fff; border: 1.5px solid var(--bm-line-on-dark); box-shadow: none; font-weight: 700; font-size: 15px; min-height: 48px; }
.bm-btn--quiet { background: #E4ECEA; color: var(--bm-text-body); box-shadow: none; font-weight: 700; font-size: 15px; min-height: 48px; }
.bm-btn--sm { min-height: 48px; font-size: 15px; padding: 0 16px; box-shadow: none; }

/* Formulieren */
.bm-label { font-size: 13px; font-weight: 700; }
.bm-input { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--bm-border-strong); background: var(--bm-bg); color: var(--bm-text); font-family: inherit; font-size: 17px; border-radius: 0; }
.bm-input::placeholder { color: #7D938F; }

/* Kaarten */
.bm-card { background: var(--bm-surface); border: 1px solid var(--bm-border); }
.bm-notch { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--bm-notch)), calc(100% - var(--bm-notch)) 100%, 0 100%); }
.bm-dark { background: var(--bm-green); color: #fff; }
.bm-dark .bm-lead { color: var(--bm-text-on-dark); }
.bm-dark .bm-kicker { color: var(--bm-orange); }

/* ---------- Landing ---------- */
.bm-hero { display: grid; gap: 40px; padding: 36px 0 0; }
.bm-hero__copy { display: flex; flex-direction: column; gap: 18px; }
.bm-form { margin-top: 8px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 40px -20px rgba(12,56,53,.35); }
.bm-form .bm-small { text-align: center; }
.bm-hero__bon { position: relative; padding: 4px 0 24px; }

.bm-bon { position: relative; background: var(--bm-surface); border: 1px solid var(--bm-border); border-top: 6px dotted var(--bm-green); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.bm-bon--tilt { transform: rotate(-1deg); }
.bm-bon__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--bm-text-muted); text-transform: uppercase; }
.bm-bon__domain { font-size: 20px; font-weight: 900; }
.bm-bon__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--bm-border-strong); }
.bm-bon__row:last-child { border-bottom: 0; padding-bottom: 0; }

.bm-status--ok { color: var(--bm-teal); }
.bm-status--fail { color: var(--bm-red); }
.bm-status--warn { color: var(--bm-amber); }

.bm-stamp { position: absolute; border: 3px solid var(--bm-red); color: var(--bm-red); background: rgba(255,255,255,.88); font-weight: 900; font-size: 13px; letter-spacing: 1.5px; line-height: 1.15; text-align: center; padding: 6px 10px; transform: rotate(-8deg); text-transform: uppercase; }
.bm-stamp--ok { border-color: var(--bm-teal); color: var(--bm-teal); }

.bm-straat { padding-top: 72px; }
.bm-straat__head { display: flex; flex-direction: column; gap: 8px; }
.bm-progress { height: 4px; background: var(--bm-border); margin: 20px 0 16px; }
.bm-progress__bar { height: 4px; width: 20%; background: var(--bm-orange); }
.bm-straat__viewport { overflow: hidden; }
.bm-straat__track { display: flex; gap: 12px; width: max-content; padding-bottom: 8px; }
.bm-punt { flex: 0 0 280px; min-height: 230px; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--bm-surface); border: 1px solid var(--bm-border); transition: background .3s, color .3s; }
.bm-punt__nr { font-size: 44px; font-weight: 900; line-height: 1; color: var(--bm-teal); }
.bm-punt strong { font-size: 19px; }
.bm-punt p { font-size: 15px; line-height: 1.5; color: var(--bm-text-body); }
.bm-punt.is-active { background: var(--bm-green); color: #fff; border-color: var(--bm-green); }
.bm-punt.is-active .bm-punt__nr { color: var(--bm-orange); }
.bm-punt.is-active p { color: var(--bm-text-on-dark); }

.bm-hoekie { display: flex; gap: 14px; align-items: flex-end; margin-top: 56px; }
.bm-hoekie img { width: 150px; height: 150px; object-fit: cover; flex: 0 0 auto; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.bm-hoekie__bubble { padding: 14px 16px; font-size: 16px; line-height: 1.4; font-weight: 700; margin-bottom: 40px; }

.bm-daarna { margin-top: 48px; padding: 32px 0; }
.bm-daarna__inner { display: flex; flex-direction: column; gap: 14px; }
.bm-optlist { display: grid; gap: 8px; }
.bm-optlist div { display: flex; gap: 12px; align-items: center; border: 1px solid var(--bm-line-on-dark); padding: 14px; font-size: 15px; }
.bm-optlist b { color: var(--bm-orange); width: 22px; }

.bm-faq { padding: 40px 0 120px; display: flex; flex-direction: column; gap: 20px; }
.bm-faq__item { display: flex; flex-direction: column; gap: 6px; }
.bm-faq__item strong { font-size: 16px; }
.bm-faq__item p { font-size: 15px; line-height: 1.5; color: var(--bm-text-body); }
.bm-review { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.bm-review__stars { color: var(--bm-orange-text); letter-spacing: 2px; }
.bm-review p { font-size: 15px; line-height: 1.5; }

.bm-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--bm-surface); border-top: 1px solid var(--bm-border); padding: 12px var(--bm-gutter) calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; transform: translateY(110%); transition: transform .35s ease; }
.bm-sticky.is-visible { transform: none; }
.bm-sticky span { flex: 1; font-size: 13px; color: var(--bm-text-muted); }

/* ---------- Scan ---------- */
.bm-scan { max-width: 520px; margin: 0 auto; padding: 0 var(--bm-gutter) 24px; min-height: 100svh; display: flex; flex-direction: column; gap: 14px; }
.bm-scan__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 4px; }
.bm-scan__title h1 { font-size: 25px; font-weight: 900; line-height: 1.1; }
.bm-scan__title img { width: 64px; height: 64px; object-fit: cover; flex: 0 0 auto; }
.bm-checks { padding: 2px 16px; }
.bm-check { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--bm-border-strong); font-size: 15px; }
.bm-check:last-child { border-bottom: 0; }
.bm-check[data-state="wait"] { color: #6A817D; }
.bm-check[data-state="busy"] .bm-check__name { font-weight: 700; }
.bm-check__status { font-size: 12px; color: var(--bm-text-muted); display: flex; gap: 8px; align-items: center; }
.bm-check__stamp { border: 2px solid var(--bm-teal); color: var(--bm-teal); font-size: 11px; font-weight: 900; letter-spacing: 1px; padding: 2px 7px; transform: rotate(-8deg); }
.bm-spinner { width: 14px; height: 14px; border: 2px solid var(--bm-border); border-top-color: var(--bm-orange); border-radius: 50%; animation: bm-spin .8s linear infinite; }
@keyframes bm-spin { to { transform: rotate(360deg); } }

.bm-question { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bm-question__meta { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--bm-muted-on-dark); text-transform: uppercase; }
.bm-question strong { font-size: 17px; line-height: 1.3; }
.bm-scores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bm-scores--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bm-scores--3 { grid-template-columns: repeat(3, 1fr); }
.bm-score { min-height: 46px; background: transparent; color: #fff; border: 1.5px solid #3F7A74; font-family: inherit; font-size: 18px; font-weight: 900; cursor: pointer; }
.bm-scores--4 .bm-score { font-size: 14px; font-weight: 700; }
.bm-score[aria-pressed="true"] { background: var(--bm-orange); border-color: var(--bm-orange); color: var(--bm-green); }
.bm-question__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--bm-muted-on-dark); }

.bm-mail { padding: 14px; border: 1.5px dashed #8FB0AB; background: var(--bm-surface); display: flex; flex-direction: column; gap: 10px; }
.bm-mail[hidden] { display: none; }
.bm-mail label { font-size: 15px; font-weight: 700; line-height: 1.3; }
.bm-mail__row { display: flex; gap: 8px; }
.bm-mail__row .bm-input { height: 48px; font-size: 16px; min-width: 0; flex: 1; }
.bm-mail__done strong { font-size: 16px; display: block; margin-bottom: 4px; }
.bm-mail__done span { font-size: 14px; line-height: 1.45; color: var(--bm-text-body); }
.bm-scan__foot { margin-top: auto; }

/* ---------- Rapport ---------- */
.bm-rapport { max-width: 560px; margin: 0 auto; padding: 24px 16px 0; }
.bm-report { position: relative; padding: 22px 18px 26px; border-top: 8px dotted var(--bm-green); box-shadow: 0 24px 50px -28px rgba(12,56,53,.45); display: flex; flex-direction: column; gap: 16px; }
.bm-report h1 { font-size: 26px; font-weight: 900; }
.bm-report__date { font-size: 14px; color: var(--bm-text-muted); }
.bm-report__score { display: flex; align-items: baseline; gap: 10px; border-top: 2px solid var(--bm-green); border-bottom: 2px solid var(--bm-green); padding: 14px 0; }
.bm-report__score b { font-size: 56px; font-weight: 900; line-height: 1; color: var(--bm-red); }
.bm-report__score span { font-size: 17px; font-weight: 700; line-height: 1.3; }
.bm-finding { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px dashed var(--bm-border-strong); }
.bm-finding:last-child { border-bottom: 0; }
.bm-finding__head { display: flex; justify-content: space-between; gap: 12px; }
.bm-finding__head strong:first-child { font-size: 16px; }
.bm-finding__head strong:last-child { font-size: 14px; }
.bm-finding p { font-size: 14px; line-height: 1.45; color: var(--bm-text-body); }
.bm-plain { background: var(--bm-surface-soft); padding: 14px; font-size: 15px; line-height: 1.5; }
.bm-report .bm-stamp { right: 16px; top: 128px; transform: rotate(-10deg); }
.bm-cta { margin-top: 40px; padding: 28px 0 32px; }
.bm-cta__inner { max-width: 560px; margin: 0 auto; padding: 0 var(--bm-gutter); display: flex; flex-direction: column; gap: 14px; }
.bm-cta__hoekie { display: flex; gap: 12px; align-items: center; }
.bm-cta__hoekie img { width: 72px; height: 72px; object-fit: cover; }
.bm-cta__hoekie p { font-size: 15px; line-height: 1.45; color: var(--bm-text-on-dark); }

/* ---------- Second opinion ---------- */
.bm-opinion { max-width: 520px; margin: 0 auto; padding: 20px var(--bm-gutter) 24px; min-height: 100svh; display: flex; flex-direction: column; gap: 18px; }
.bm-opinion__back { font-size: 14px; color: var(--bm-text-body); text-decoration: none; }
.bm-choices { display: grid; gap: 10px; }
.bm-choice { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 14px 16px; background: var(--bm-surface); color: var(--bm-text); border: 1.5px solid var(--bm-border); font-family: inherit; text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.bm-choice strong { display: block; font-size: 17px; }
.bm-choice small { display: block; font-size: 14px; opacity: .85; margin-top: 3px; }
.bm-choice em { font-style: normal; font-size: 12px; font-weight: 900; letter-spacing: 1px; }
.bm-choice[aria-checked="true"] { background: var(--bm-green); color: #fff; border: 2px solid var(--bm-green); }
.bm-detail { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bm-detail .bm-input { height: 50px; font-size: 16px; }
.bm-detail .bm-small { font-size: 13px; }
.bm-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bm-slot { min-height: 48px; border: 1.5px solid var(--bm-border-strong); background: var(--bm-surface); font-family: inherit; font-size: 14px; color: var(--bm-text); cursor: pointer; }
.bm-slot[aria-pressed="true"] { border: 2px solid var(--bm-orange); background: #FFF4EA; font-weight: 700; }
.bm-opinion__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.bm-opinion__foot .bm-small { text-align: center; }

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .bm-hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 64px; gap: 64px; }
  .bm-hero__bon { padding-top: 0; }
  .bm-sticky { display: none; }
  .bm-hoekie { max-width: 640px; }
  .bm-faq { max-width: 720px; padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Schaal per keurpunt op de bon */
.bm-finding__bar { height: 6px; background: var(--bm-surface-soft); margin: 6px 0 8px; overflow: hidden; }
.bm-finding__bar > span { display: block; height: 100%; background: var(--bm-teal); }
.bm-finding__bar--warn > span { background: var(--bm-amber); }
.bm-finding__bar--fail > span { background: var(--bm-red); }
.bm-finding__bar--none > span { background: var(--bm-border-strong); }
.bm-status--none { color: var(--bm-text-muted); }

/* Verdieping onder de bon */
.bm-diep { max-width: 560px; margin: 28px auto 0; padding: 0 var(--bm-gutter); display: flex; flex-direction: column; gap: 10px; }
.bm-diep__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.bm-diep__punt { padding: 0; }
.bm-diep__punt summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-size: 15px; }
.bm-diep__punt summary::-webkit-details-marker { display: none; }
.bm-diep__punt summary strong { flex: 1; }
.bm-diep__punt summary em { font-style: normal; font-weight: 700; font-size: 13px; white-space: nowrap; }
.bm-diep__punt summary::after { content: '+'; font-weight: 900; color: var(--bm-text-muted); margin-left: 4px; }
.bm-diep__punt[open] summary::after { content: '–'; }
.bm-diep__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bm-teal); flex: 0 0 auto; }
.bm-diep__dot--warn { background: var(--bm-amber); } .bm-diep__dot--fail { background: var(--bm-red); } .bm-diep__dot--none { background: var(--bm-border-strong); }
.bm-diep__body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--bm-text-body); border-top: 1px dashed var(--bm-border); padding-top: 12px; }
.bm-diep__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bm-diep__list li { position: relative; padding-left: 20px; font-size: 13.5px; }
.bm-diep__list li::before { content: '✓'; position: absolute; left: 0; font-weight: 900; color: var(--bm-teal); }
.bm-diep__list li.is-bad::before { content: '!'; color: var(--bm-amber); }
.bm-diep__meaning { background: var(--bm-surface-soft); padding: 10px 12px; }
.bm-diep__sum { display: grid; gap: 10px; margin-top: 6px; }
.bm-diep__sum .bm-card { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 720px) { .bm-diep__sum { grid-template-columns: 1fr 1fr; } }

/* Desktop-hero: podium, meetchips, scanstraal, markeerstreep (alleen vanaf 960px; mobiel ongewijzigd) */
.bm-mark { background: linear-gradient(transparent 62%, rgba(243,132,33,.45) 62%) no-repeat 0 0 / 0% 100%; }
.bm-bon-stage { position: relative; }
.bm-chip, .bm-scan-beam { display: none; }
@media (min-width: 960px) {
  .bm-hero__bon { perspective: 1200px; }
  .bm-bon-stage { transform-style: preserve-3d; }
  .bm-bon { overflow: visible; }
  .bm-scan-beam { display: block; position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--bm-teal) 25%, #1FA69E 50%, var(--bm-teal) 75%, transparent); box-shadow: 0 0 18px 4px rgba(31,166,158,.45); opacity: 0; pointer-events: none; z-index: 3; }
  .bm-chip { display: flex; flex-direction: column; gap: 2px; position: absolute; z-index: 4; background: var(--bm-surface); border: 1px solid var(--bm-border); box-shadow: 0 10px 30px rgba(6,40,38,.12); padding: 10px 14px; font-size: 12px; color: var(--bm-text-muted); white-space: nowrap; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
  .bm-chip b { color: var(--bm-text); font-size: 12.5px; }
  .bm-chip--1 { left: -40px; top: -58px; }
  .bm-chip--2 { right: 10px; top: -74px; }
  .bm-chip--3 { left: -30px; bottom: -66px; }
  .bm-chip--4 { right: 14px; bottom: -86px; }
  .bm-hero { overflow-x: clip; }
  .bm-hero__bon .bm-stamp { z-index: 6; }
}
