:root {
  /* Brand kleuren — design-tokens 2026 (canonieke bron:
     01-strategy/homepage-redesign/design-system/oo-components.css).
     Historische aliassen (--blauw, --dark-blue, ...) blijven bestaan. */
  --primary: #074373;
  --primary-dark: #053053;
  --dark: #01061d;
  --accent: #538bdb;
  --primary-soft: #e8effa;
  --section: #f3f5fa;
  --bg: #f7fbfe;
  --surface: #ffffff;

  --blauw: #074373;
  --dark-blue: #074373;
  --light-blue: #538bdb;
  --bg-light: #f3f5fa;
  --blue-bg: #e8effa;
  --grey: #f3f5fa;
  --star: #fdbf01;
  --soft-bg: #f3f5fa;
  /* Aliassen gebruikt door het loonkost-dashboard (waren ongedefinieerd) */
  --brand-color: var(--primary);
  --border-color: var(--border);

  /* Status-kleuren */
  --error: #d00;
  --warn: #f9a825;
  --success: #388e3c;

  /* Tekst */
  --text: #2c2f31;
  --text-muted: #667481;
  --text-on-dark: #fff;
  --border: #d5dee2;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;

  /* Radii — schaal 8 / 12 / 20 / 30 / pill (geen tussenwaarden) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  /* Shadows — kaart 1px 3px 12px #0003; hover navy-tint */
  --shadow-button: 1px 3px 12px rgba(0, 0, 0, 0.18);
  --shadow-card: 1px 3px 12px rgba(0, 0, 0, 0.2);
  --shadow-hover: rgba(7, 67, 115, 0.14) 0 10px 26px;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-w: 720px;
}

* { box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Koppen: bewust LICHT (400) in het donkerste navy */
h1, h2, h3, h4 { margin: 0; font-family: var(--font); color: var(--dark); font-weight: 400; }
h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2.25rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.125rem; line-height: 1.4; }

p { margin: 0; }
.lead { font-size: 1.125rem; line-height: 1.5; color: var(--text-muted); }

@media (max-width: 767px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

a { color: var(--blauw); }
a:hover { color: var(--dark-blue); }

/* ============================================================
   Buttons — exact match to ondernemingoprichten.be .button
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--blauw);
  background: var(--blauw);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: all 200ms ease;
  min-height: 48px;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-on-dark);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--blauw);
  color: var(--text-on-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--dark-blue);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 200ms ease;
  min-height: 48px;
}

.btn-secondary:hover {
  background: var(--blue-bg);
  color: var(--dark-blue);
}

.btn-large { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-small { padding: 0.5rem 1.25rem; font-size: 0.875rem; min-height: 40px; }

/* Focus indicators — visible on keyboard nav, invisible on mouse */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blauw);
  outline-offset: 2px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}

label.field {
  display: block;
  margin-bottom: var(--space-3);
}

label.field span {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* ============================================================
   Skip link (a11y)
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-3);
  z-index: 200;
  padding: var(--space-2) var(--space-3);
  background: var(--dark-blue);
  color: var(--text-on-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus { top: var(--space-2); color: var(--text-on-dark); }

.intro-hero {
  margin-bottom: var(--space-5);
  text-align: center;
}
.intro-hero h1 { margin-bottom: var(--space-3); }
.intro-hero .lead { max-width: 540px; margin: 0 auto; }

@media (max-width: 767px) {
  .intro-hero { text-align: left; margin-bottom: var(--space-4); }
  .intro-hero .lead { max-width: none; }
}


.loading {
  color: var(--text-muted);
  text-align: center;
  padding: var(--space-5);
}

/* ============================================================
   Progress dots
   ============================================================ */

.progress {
  margin-bottom: var(--space-4);
}
.progress-dots {
  display: flex;
  flex-direction: row;
  gap: 6px;
  padding: 0;
  margin: 0 0 var(--space-2);
  list-style: none;
  flex-wrap: wrap;
}
.progress-dots .dot {
  width: 24px;
  height: 6px;
  background: var(--grey);
  border-radius: var(--radius-pill);
  transition: background 200ms ease, width 200ms ease;
}
.progress-dots .dot.done { background: var(--dark-blue); }
.progress-dots .dot.active { background: var(--blauw); width: 32px; }

.progress-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.progress-label strong { color: var(--dark-blue); }

@media (max-width: 480px) {
  .progress-dots .dot { width: 16px; }
  .progress-dots .dot.active { width: 22px; }
}
@media (max-width: 380px) {
  .progress-dots .dot { width: 12px; }
  .progress-dots .dot.active { width: 18px; }
}

/* === STEP CARD STYLING === */
.step-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 200ms ease;
  /* Consistente hoogte zodat Vorige/Volgende-knoppen op ~zelfde y-positie
     staan tussen stappen (geen "verspringende" knoppen meer). */
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.step-card .field { flex: 1 1 auto; }
.step-card .actions { margin-top: auto; }
@media (max-width: 640px) {
  .step-card { min-height: 480px; padding: var(--space-4); }
}

.step-card.transitioning {
  opacity: 0;
  transform: translateY(8px);
}

.step-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: var(--space-4);
}

.step-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.step-error {
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
  border-left: 4px solid var(--error);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: 0.875rem;
}

.step-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

@media (max-width: 767px) {
  .step-card {
    padding: var(--space-4);
    border-radius: var(--radius-md);
  }

  .step-actions {
    flex-direction: column;
  }

  .step-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-card,
  .step-card.transitioning {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   Option cards (radio + checkbox)
   ============================================================ */

.options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: white;
  transition: border-color 150ms ease, background 150ms ease, transform 100ms ease;
  min-height: 60px;
  user-select: none;
}
.option-card:hover { border-color: var(--blauw); }
.option-card:active { transform: scale(0.99); }
.option-card.selected {
  border-color: var(--blauw);
  background: var(--blue-bg);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.option-content { flex: 1; }
.option-label {
  flex: 1;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}
.option-sublabel {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 400;
}

.option-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: white;
  display: grid;
  place-items: center;
  color: white;
  transition: background 150ms ease, border-color 150ms ease;
  font-size: 0.875rem;
  line-height: 1;
}
.option-card.selected .option-check {
  background: var(--blauw);
  border-color: var(--blauw);
}

/* Multi-select: square check instead of pill (app.js gebruikt option-card-multi) */
.option-card.multi .option-check,
.option-card-multi .option-check {
  border-radius: var(--radius-sm);
}

/* ============================================================
   Textarea + optional badge + char counter
   ============================================================ */

.badge-optional {
  display: inline-block;
  vertical-align: middle;
  margin-left: var(--space-2);
  padding: 2px 10px;
  background: var(--grey);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

textarea {
  width: 100%;
  min-height: 140px;
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  color: var(--text);
  background: white;
  transition: border-color 150ms ease;
}
textarea:focus { outline: none; }
textarea:focus-visible {
  outline: 2px solid var(--blauw);
  outline-offset: 2px;
  border-color: var(--blauw);
}

.char-counter {
  text-align: right;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
}
.char-counter.warn { color: var(--warn); }
.char-counter.over { color: var(--error); font-weight: 600; }

/* ============================================================
   Contact step — radio choice + collapsible fields
   ============================================================ */

.field {
  display: block;
  margin-bottom: var(--space-3);
}
.field > span {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-1);
  color: var(--text);
}
.field > span em {
  color: var(--blauw);
  font-style: normal;
  margin-left: 2px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  background: white;
  transition: border-color 150ms ease;
  min-height: 48px;
}
.field input:focus {
  outline: none;
  border-color: var(--blauw);
}

.gdpr-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  padding: var(--space-3);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gdpr-row input { margin-top: 2px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--blauw); }
.gdpr-row span { font-size: 0.9375rem; line-height: 1.5; }

.contact-fields {
  margin-top: var(--space-4);
  max-height: 800px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 200ms ease, margin-top 200ms ease;
}
.contact-fields.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}

/* ============================================================
   Result page
   ============================================================ */

.result-hero {
  background: linear-gradient(135deg, var(--blue-bg) 0%, var(--soft-bg) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-card);
}
.result-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: white;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: var(--space-3);
}
.result-hero .badge .star {
  color: var(--star);
  font-size: 1rem;
}
.result-hero h2 {
  font-size: 3.5rem;
  margin: 0;
  color: var(--dark);
  line-height: 1;
}
.result-hero .form-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
  font-weight: 400;
}
.result-hero .hero-tagline {
  color: var(--text-muted);
  margin-top: var(--space-3);
}

@media (max-width: 767px) {
  .result-hero { padding: var(--space-5) var(--space-3); }
  .result-hero h2 { font-size: 2.5rem; }
}

/* ============================================================
   Description card + ranking
   ============================================================ */

.description-card {
  background: white;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blauw);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-card);
}
.description-card p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}

.ranking-block {
  margin: var(--space-4) 0;
}
.ranking-block h3 {
  margin-bottom: var(--space-3);
}

.ranking {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.ranking-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}
.ranking-row .form-name {
  font-weight: 500;
  color: var(--text);
}
.ranking-row.top {
  font-weight: 600;
}
.ranking-row.top .form-name {
  color: var(--dark-blue);
}
.ranking-row .bar {
  position: relative;
  height: 14px;
  background: var(--grey);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.ranking-row .bar-fill {
  height: 100%;
  background: var(--light-blue);
  border-radius: var(--radius-pill);
  transition: width 600ms cubic-bezier(0.2, 0.8, 0.4, 1);
}
.ranking-row.top .bar-fill {
  background: var(--dark-blue);
}
.ranking-row .score-value {
  text-align: right;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.ranking-row.excluded {
  opacity: 0.55;
}
.ranking-row.excluded .bar-fill {
  background: var(--grey);
}
.ranking-row .exclusion-note {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -4px;
  padding-left: 130px;
}

@media (max-width: 480px) {
  .ranking-row { grid-template-columns: 90px 1fr 40px; gap: var(--space-2); }
  .ranking-row .exclusion-note { padding-left: 100px; }
}

/* ============================================================
   Risk meter — traffic-light gradient with pointer
   ============================================================ */

.risk-block {
  margin: var(--space-4) 0;
}
.risk-block h3 {
  margin-bottom: var(--space-3);
}
.risk-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.risk-track {
  position: relative;
  height: 14px;
  background: linear-gradient(to right, var(--success) 0%, var(--warn) 50%, var(--error) 100%);
  border-radius: var(--radius-pill);
  overflow: visible;
}
.risk-pointer {
  position: absolute;
  top: -7px;
  width: 28px;
  height: 28px;
  background: white;
  border: 3px solid var(--dark-blue);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: left 800ms cubic-bezier(0.2, 0.8, 0.4, 1);
  left: 0%;
}
.risk-value {
  text-align: center;
  margin-top: var(--space-3);
  font-size: 1.125rem;
}
.risk-value strong {
  color: var(--dark-blue);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   CTA block + flag list on result page
   ============================================================ */

.cta-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  margin: var(--space-5) 0;
  box-shadow: var(--shadow-card);
}
.cta-block .btn-primary {
  font-size: 1.0625rem;
  padding: 1rem 2rem;
}
.cta-block .cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-3);
}

.flag-list {
  margin: var(--space-4) 0;
  padding: 0;
  list-style: none;
}
.flag-list li {
  padding: var(--space-3);
  background: var(--soft-bg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
  font-size: 0.9375rem;
}
.flag-list li strong {
  color: var(--dark-blue);
  margin-right: 4px;
}

.review-banner {
  background: #fff8e1;
  border-left: 4px solid var(--warn);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.review-banner strong { display: block; color: var(--dark-blue); margin-bottom: var(--space-1); }
.review-banner p { color: var(--text); font-size: 0.9375rem; line-height: 1.5; }

/* ============================================================
   Mobile sticky bottom-bar for step nav
   ============================================================ */

@media (max-width: 767px) {
  .step-card {
    padding-bottom: 96px;  /* extra space for the sticky bar */
  }

  .step-actions {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    margin: var(--space-4) calc(-1 * var(--space-3)) calc(-1 * var(--space-4));
    padding: var(--space-3);
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    z-index: 50;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--space-2);
  }
  .step-actions > * { width: auto; flex: 0 1 auto; }
  .step-actions .btn-primary { flex: 1 1 auto; margin-left: 0; }
  .step-actions .btn-secondary { padding: 0.75rem 1rem; }
}

/* ============================================================
   Accessibility utilities
   ============================================================ */

/* Visually-hidden but available to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Visible focus on all interactive elements (refinement of Task 3) */
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible,
textarea:focus-visible,
.option-card:focus-within {
  outline: 2px solid var(--blauw);
  outline-offset: 2px;
}

/* Ensure 16px font on iOS to prevent auto-zoom */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Color-contrast safe link colors in dark backgrounds */

/* ============================================================
   Overrides for Webflow chrome integration
   ============================================================ */

/* Hide Webflow's mobile hamburger — we don't load Webflow's JS so it
   wouldn't open. Desktop nav still visible via .hide-tablet. */
.navbar4_menu-button { display: none !important; }

/* Webflow's navbar4 has position: fixed without a top value (relies on
   their smart-nav JS that we don't load). Result: navbar overlays the
   wizard. Force sticky so it takes flow space AND pins on scroll. */
.navbar4_component {
  position: sticky;
  top: 0;
}
/* Sticky needs visible overflow on the ancestor scrolling container —
   Webflow sets overflow: clip on .page-wrapper.navbar-on-page which
   would prevent sticky from working. */

/* Constrain the wizard card to readable width, even though Webflow's
   container-large would otherwise expand it */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--space-3) var(--space-5);
}
@media (min-width: 768px) {
  main { padding: 56px var(--space-3) var(--space-6); }
}

/* page-wrapper from Webflow may set its own max-width — neutralize */
:root {
  --stage-color: var(--bg);
}

.page-wrapper.navbar-on-page {
  max-width: none;
  overflow: visible;
  background-color: var(--stage-color);
  transition: background-color 800ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .page-wrapper.navbar-on-page { transition: none; }
}

/* ============================================================
   Wizard shell — unifies progress + step-card visually
   ============================================================ */

.wizard-shell {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.wizard-shell .progress {
  padding: var(--space-3) var(--space-5) var(--space-2);
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  background: white;
}

.wizard-shell .step-card {
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 767px) {
  .wizard-shell .progress {
    padding: var(--space-3) var(--space-3) var(--space-2);
  }
}

/* ============================================================
   Wizard layout — desktop sidebar + main column
   ============================================================ */

.wizard-layout {
  display: block;
  max-width: var(--max-w);
  margin: 0 auto;
}

.wizard-main {
  min-width: 0;
}

.wizard-sidebar {
  display: none;
}

/* Mobile + tablet (<1100px): toon een compacte trust-strip onder de hero
   zodat ITAA-badge altijd zichtbaar blijft. */
.mobile-trust-strip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px var(--space-3);
  margin: 0 0 var(--space-3);
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--dark-blue);
}
.mobile-trust-strip .mts-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blauw);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.mobile-trust-strip strong { color: var(--dark-blue); }
@media (min-width: 1100px) {
  .mobile-trust-strip { display: none; }
}

/* Desktop ≥1100px: 2-column grid */
@media (min-width: 1100px) {

  /* Override the main padding (Win A) which was outer; now the wizard-layout owns horizontal width */
  main {
    max-width: none;
    padding: 56px 0 var(--space-6);
  }

  .wizard-layout {
    display: grid;
    grid-template-columns: var(--max-w) 260px;
    gap: var(--space-6);
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    align-items: start;
  }

  .wizard-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    position: sticky;
    top: 96px;
    padding-left: var(--space-5);
    border-left: 1px solid rgba(1, 6, 29, 0.12);
  }
}

/* ============================================================
   Sidebar — trust zone (static)
   ============================================================ */

.sidebar-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sidebar-itaa {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.sidebar-itaa-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blauw);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.125rem;
}
.sidebar-itaa-label {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 0.9375rem;
  line-height: 1.2;
}
.sidebar-itaa-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.sidebar-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text);
}
.sidebar-trust-list li {
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.sidebar-trust-list li::before {
  content: "✓";
  color: var(--blauw);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
}

.sidebar-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 var(--space-2);
}

/* ============================================================
   Sidebar — live answers + why-hint
   ============================================================ */

.sidebar-answers {
  display: flex;
  flex-direction: column;
}

.sidebar-answer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-answer-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: 0.875rem;
  line-height: 1.4;
}

.sidebar-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--soft-bg);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-blue);
  display: grid;
  place-items: center;
  line-height: 1;
}

.sidebar-answer-text {
  color: var(--text);
}

.sidebar-hint {
  display: flex;
  flex-direction: column;
}

.sidebar-hint-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}

/* ============================================================
   Sidebar — save / share progress link
   ============================================================ */

.sidebar-save {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px var(--space-3);
  border: 1px solid var(--border);
  background: white;
  color: var(--dark-blue);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
  width: 100%;
}
.btn-share:hover {
  border-color: var(--blauw);
  background: var(--bg-light);
}
.btn-share.copied {
  background: var(--blue-bg);
  border-color: var(--blauw);
  color: var(--dark-blue);
}
.btn-share-icon {
  display: inline-flex;
  align-items: center;
  color: var(--dark-blue);
}

.sidebar-save-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   Mobile polish — topbar wrap, padding tuning
   ============================================================ */

/* Item 3: Reduce top padding under sticky navbar on mobile — 48px is generous */
@media (max-width: 767px) {
  main {
    padding-top: 32px;
  }
}

/* Item 9: Ensure navbar container padding shrinks on very narrow phones so
   logo + back-link don't crowd */
@media (max-width: 479px) {
  .navbar4_container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   Landing page (index.html) — twee tool-cards in een grid
   ============================================================ */

.landing-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-5);
}

.landing-hero {
  width: 100vw;
  margin: 0 0 var(--space-7) calc(50% - 50vw);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  /* Hoofdsite-subpagina-hero: zacht verloop #e8effa -> #ffffff (zoals /bv-oprichten) */
  background: linear-gradient(#e8effa 0%, #ffffff 100%);
}
.landing-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blauw);
}
.hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent, #538bdb);
}

.landing-hero h1 {
  margin-bottom: var(--space-3);
}

.landing-hero .lead {
  max-width: 640px;
  margin: 0;
}

.landing-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.tool-card:hover {
  border-color: var(--blauw);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: var(--text);
}

.tool-card h2 {
  font-size: 1.375rem;
  margin-bottom: var(--space-3);
  color: var(--dark);
  line-height: 1.3;
}

.tool-card p {
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  flex: 1;
}

.tool-card .tool-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  flex: 0;
}

/* Kaart-CTA's zijn bewust GEEN knoppen meer: op de landing is er één
   dominante primaire CTA (hero). Kaart-links krijgen een tlink-stijl. */
.tool-card .tool-cta {
  display: inline-block;
  align-self: flex-start;
  padding: 0;
  background: none;
  color: var(--blauw);
  font-weight: 600;
  border: none;
  transition: color 150ms ease;
}

.tool-card:hover .tool-cta {
  color: var(--primary-dark);
  text-decoration: underline;
}

.landing-hero-cta {
  margin-top: var(--space-4);
}

.landing-trust {
  text-align: center;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.landing-trust strong { color: var(--dark-blue); }

.landing-trust .small {
  font-size: 0.85rem;
  margin-top: var(--space-2);
}

@media (max-width: 767px) {
  .landing-main { padding: var(--space-5) var(--space-3); }
  .landing-hero { margin-bottom: var(--space-5); }
  .landing-tools {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
  }
  .tool-card { padding: var(--space-4); }
  .tool-card h2 { font-size: 1.25rem; }
}

/* ============================================================
   Wizard fields — chip choices + postcode-lookup + sidebar
   ============================================================ */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.field-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.4;
}

.field .hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.choice-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: var(--space-2);
}

.choice-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--space-3) var(--space-3);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-blue);
  cursor: pointer;
  text-align: center;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease, transform 120ms ease;
}
.choice-chip .choice-chip-label {
  font-weight: 700;
  line-height: 1.2;
}
.choice-chip .choice-chip-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.choice-chip.selected .choice-chip-sub { color: rgba(255,255,255,0.86); }

.choice-chip:hover {
  border-color: var(--blauw);
  background: var(--soft-bg);
}

.choice-chip.selected {
  border-color: var(--blauw);
  background: var(--blauw);
  color: var(--text-on-dark);
}

.choice-chip-custom {
  border-style: dashed;
  color: var(--text-muted);
  font-weight: 500;
}

.choice-chip-custom.selected {
  border-style: solid;
  color: var(--text-on-dark);
}

/* Wagen-chip variant — visueel met SVG-icoon + brand label + bedrag */
.choice-grid-car {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-3);
}
.choice-chip-car {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-3) var(--space-2);
  min-height: 150px;
  text-align: center;
}
.choice-chip-car .choice-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 64px;
  color: var(--dark-blue);
  transition: color 120ms ease, transform 200ms ease;
}
.choice-chip-car .choice-chip-icon svg { display: block; max-width: 100%; max-height: 100%; }
.choice-chip-car .choice-chip-icon svg { width: 100%; height: 100%; }
.choice-chip-car:hover .choice-chip-icon { transform: translateX(2px); }
.choice-chip-car.selected .choice-chip-icon { color: #fff; }
.choice-chip-car .choice-chip-label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.choice-chip-car .choice-chip-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.choice-chip-car.selected .choice-chip-sub { color: rgba(255,255,255,0.86); }
.choice-chip-car.choice-chip-custom { min-height: 150px; }

/* Slider boven chips (voor exact bedrag) */
.choice-slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--space-3);
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}
.choice-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.choice-slider-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.choice-slider-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blauw);
  font-variant-numeric: tabular-nums;
}
.choice-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--blauw) 0%, var(--blauw) var(--val, 50%), #d0d8e0 var(--val, 50%), #d0d8e0 100%);
  outline: none;
}
.choice-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blauw);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(7, 67, 115, 0.4);
  cursor: pointer;
}
.choice-slider-input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blauw);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(7, 67, 115, 0.4);
  cursor: pointer;
}
/* Op touch-toestellen: thumb 44×44 (Apple HIG) + dikkere track-touch-zone */
@media (pointer: coarse) {
  .choice-slider-input { height: 10px; }
  .choice-slider-input::-webkit-slider-thumb { width: 36px; height: 36px; border-width: 4px; }
  .choice-slider-input::-moz-range-thumb { width: 36px; height: 36px; border-width: 4px; }
}

.choice-custom-input {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--soft-bg);
  border: 2px solid var(--blauw);
  border-radius: var(--radius-md);
}

.custom-input-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.custom-input-suffix {
  font-size: 1rem;
  color: var(--text-muted);
}

.choice-custom-input input[type="number"] {
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1.125rem;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.choice-custom-input input[type="number"]:focus {
  outline: none;
  border-color: var(--blauw);
}

/* Postcode lookup */
.postcode-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.postcode-input-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.postcode-input {
  width: 160px;
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: #fff;
  color: var(--dark-blue);
  text-align: center;
}

.postcode-input:focus {
  outline: none;
  border-color: var(--blauw);
}

.postcode-result {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.4;
}

.postcode-result-success {
  background: #e2efe7;
  border: 2px solid #2e5d43;
  color: var(--dark-blue);
}

.postcode-result-warn {
  background: #f7ecd9;
  border: 2px solid #b45309;
  color: var(--dark-blue);
}

/* Single-input fields (number_euro fallback, percentage, textarea) */
.field-number_euro input[type="number"],
.field-percentage input[type="number"] {
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1.125rem;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.field-number_euro input[type="number"]:focus,
.field-percentage input[type="number"]:focus {
  outline: none;
  border-color: var(--blauw);
}

.field-textarea textarea {
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  min-height: 100px;
  resize: vertical;
  background: #fff;
  box-sizing: border-box;
}

.field-textarea textarea:focus {
  outline: none;
  border-color: var(--blauw);
}

/* Sidebar — antwoorden tot nu toe */
.sidebar-answers {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.sidebar-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 var(--space-3) 0;
}

.sidebar-answers-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
}

.sidebar-answers-list dt {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.sidebar-answers-list dd {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin: 0 0 var(--space-2) 0;
}

.sidebar-answers-list dd:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .sidebar-answers { margin-top: var(--space-3); }
  .choice-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

@media (max-width: 479px) {
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .postcode-input { width: 140px; font-size: 1.25rem; }
}

/* Result-page accents */
.loonkost-total {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
}

.hint-small {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
  font-style: italic;
}

.cash-gap {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.cash-gap-ok {
  background: #e2efe7;
  color: #2e5d43;
  border-left: 4px solid #2e5d43;
}

.cash-gap-warn {
  background: #f7ecd9;
  color: #7a5a17;
  border-left: 4px solid #b45309;
}

.ai-summary {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, var(--soft-bg), #fff);
  border: 2px solid var(--blauw);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.ai-summary-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blauw);
  margin-bottom: var(--space-3);
}

.ai-summary-header::before {
  content: "✨";
  font-size: 1.1rem;
}

.ai-summary-body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-blue);
  white-space: pre-wrap;
}

.ai-summary-loading {
  font-style: italic;
  color: var(--text-muted);
}

.wizard-footer {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
  margin-top: var(--space-6);
}

.wizard-footer strong { color: var(--dark-blue); }

/* ============================================================
   Loonkost-dashboard (SD Worx Paybel-style)
   ============================================================ */
.dashboard-hero {
  padding: var(--space-5) var(--space-5) var(--space-3);
  max-width: 1280px;
  margin: 0 auto;
}
.dashboard-hero-inner { max-width: 1180px; }
.dashboard-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.dashboard-hero-top > div:first-child { max-width: 760px; }
.dashboard-presets {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}
.dashboard-presets label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  margin: 0;
}
.dashboard-presets select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--dark-blue);
  font-weight: 500;
  cursor: pointer;
  min-width: 220px;
}
.dashboard-presets select:hover { border-color: var(--brand-color); }
.dashboard-presets select:focus { outline: 2px solid var(--brand-color); outline-offset: 1px; }
.btn-share {
  background: var(--brand-color);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn-share:hover { background: var(--primary-dark); }
.btn-share:active { transform: translateY(1px); }
.btn-share-success { background: #16a34a !important; }
@media (max-width: 720px) {
  .dashboard-hero-top { flex-direction: column; align-items: stretch; }
  .dashboard-presets { width: 100%; }
  .dashboard-presets select { flex: 1; min-width: 0; }
}
.dashboard-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-soft);
  color: var(--dark-blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.dashboard-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 8px;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.dashboard-hero .lead { font-size: 1.02rem; line-height: 1.5; color: var(--text); margin: 0; max-width: 760px; }

.loonkost-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 320px);
  gap: var(--space-4);
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-5) var(--space-5);
}
@media (max-width: 1100px) {
  .loonkost-dashboard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dash-right { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .loonkost-dashboard { grid-template-columns: 1fr; padding: var(--space-3); }
}

.dash-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
}
.dash-block:last-child { margin-bottom: 0; }
.dash-block-title {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blauw);
}

/* Left panel — form fields */
.dash-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.dash-field:last-child { margin-bottom: 0; }
.dash-field span { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.dash-field select,
.dash-field input[type="number"] {
  font-family: var(--font);
  font-size: 1rem;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--dark-blue);
  min-height: 40px;
}
.dash-field select:focus,
.dash-field input:focus { outline: 2px solid var(--blauw); outline-offset: -1px; border-color: var(--blauw); }
.dash-field-inline { flex-direction: row; align-items: center; justify-content: space-between; }
.dash-field-inline span { flex: 1; }
.dash-field-inline input { width: 70px; text-align: right; }

.dash-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--dark-blue);
}
.dash-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blauw);
}

.dash-collapsible summary { cursor: pointer; list-style: none; }
.dash-collapsible summary::-webkit-details-marker { display: none; }
.dash-collapsible summary h2 { display: inline-block; }
.dash-collapsible summary::after { content: ' +'; color: var(--text-muted); margin-left: 4px; }
.dash-collapsible[open] summary::after { content: ' −'; }

/* Center panel — mode toggle + tabel */
.dash-mode-toggle {
  display: inline-flex;
  background: var(--soft-bg);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  margin-bottom: var(--space-3);
}

/* KPI strip — drie kerncijfers */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.dash-kpi {
  background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.dash-kpi-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}
.dash-kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 2px;
}
.dash-kpi-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .dash-kpis { grid-template-columns: 1fr; }
}
.dash-mode {
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: all 0.15s;
}
.dash-mode.is-active {
  background: var(--blauw);
  color: #fff;
  box-shadow: 0 1px 3px rgba(7, 67, 115, 0.3);
}

.dash-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.dash-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  background: var(--soft-bg);
  padding: 10px var(--space-3);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.dash-table-th-num { text-align: right; }
.dash-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding: 10px var(--space-3);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.dash-row-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  transition: width 0.3s ease;
}
.dash-row > * { position: relative; z-index: 1; }
.dash-row-label { font-size: 0.92rem; color: var(--dark-blue); }
.dash-row-label small { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.dash-row-cell-num { text-align: right; font-variant-numeric: tabular-nums; color: var(--dark-blue); }
.dash-row-input { background: #f7fbff; }
.dash-row-input .dash-row-label { font-weight: 700; font-size: 0.95rem; }
.dash-row-info { background: #fff8e1; }
.dash-row-info .dash-row-label { color: #6b5b1a; }
.dash-row-info .dash-row-cell-num { color: #6b5b1a; font-style: italic; }
.dash-row-total {
  background: var(--blauw);
  color: #fff;
  font-weight: 700;
}
.dash-row-total .dash-row-label { color: #fff; font-size: 1rem; }
.dash-row-total .dash-row-cell-num { color: #fff; font-size: 1.1rem; font-weight: 700; }
.dash-input-euro {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--blauw);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  background: #fff;
}
.dash-input-euro .dash-euro { color: var(--text-muted); font-weight: 600; }
.dash-input-euro input[type="number"] {
  width: 110px;
  border: none;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-blue);
  text-align: right;
  background: transparent;
  outline: none;
  min-height: 32px;
}

.dash-feasibility {
  padding: 10px var(--space-3);
  margin: var(--space-2) 0 0;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.4;
}
.dash-feasibility-ok { background: #e8f5e9; color: #1b5e20; border-left: 4px solid var(--success, #2e7d32); }
.dash-feasibility-warn { background: #fff3e0; color: #bf360c; border-left: 4px solid var(--warn, #ef6c00); }

.dash-loonkost-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.dlk-cell {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border: 1px solid #cfe2f5;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dlk-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.dlk-value { font-size: 1.4rem; font-weight: 800; color: var(--dark-blue); letter-spacing: -0.01em; }
.dlk-sub { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 560px) {
  .dash-loonkost-strip { grid-template-columns: 1fr; }
}

/* Right panel — tabs + vermogen + pensioen */
.dash-right-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--space-3);
}
.dash-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}
.dash-tab.is-active {
  color: var(--blauw);
  border-bottom-color: var(--blauw);
}
.dash-tab-panel { display: none; }
.dash-tab-panel.is-active { display: block; }

.dash-vermogen-rows { display: flex; flex-direction: column; gap: 10px; }
.dvr-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--soft-bg);
  border-radius: var(--radius-sm);
  align-items: center;
}
.dvr-label { font-size: 0.88rem; color: var(--dark-blue); font-weight: 600; }
.dvr-label small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.78rem; margin-top: 2px; }
.dvr-cell { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.dvr-cap { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.dvr-val { font-size: 0.98rem; font-weight: 700; color: var(--dark-blue); font-variant-numeric: tabular-nums; }
.dvr-row-total {
  background: linear-gradient(135deg, #074373 0%, #053053 100%);
  color: #fff;
}
.dvr-row-total .dvr-label,
.dvr-row-total .dvr-cap,
.dvr-row-total .dvr-val { color: #fff; }
.dvr-row-total .dvr-val { font-size: 1.05rem; }

.dash-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dash-stats li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; }
.dash-stats li:last-child { border-bottom: none; }
.dash-stats li span { color: var(--text-muted); }
.dash-stats li strong { color: var(--dark-blue); font-variant-numeric: tabular-nums; }
.dash-stats-big li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 0; }
.dash-stats-big li strong { font-size: 1.4rem; font-weight: 800; color: var(--blauw); }
.dash-stats-big li small { color: var(--text-muted); font-size: 0.82rem; }

.dash-hint { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-top: var(--space-2); line-height: 1.5; }

/* Hero-cards: 2 cijfers waar klanten écht naar kijken */
.dash-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.dash-hero-card {
  position: relative;
  padding: 18px 20px 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}
.dash-hero-card-net {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
}
.dash-hero-card-cost {
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--dark-blue) 100%);
  color: #fff;
}
.dash-hero-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  opacity: 0.95;
}
.dash-hero-amount-month {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
  display: inline;
}
.dash-hero-amount-suffix {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.92;
  margin-left: 4px;
}
.dash-hero-year {
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
  margin-top: 2px;
}
.dash-hero-detail {
  font-size: 0.74rem;
  font-style: italic;
  opacity: 0.85;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .dash-hero-cards { grid-template-columns: 1fr; }
}

/* Warnings boven KPI's (cap-notice + KMO + ratio) */
.dash-warnings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-2);
}
.dash-warnings > div:not([hidden]) { display: block; }
.dash-cap-notice,
.dash-kmo-warning,
.dash-ratio-warning {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.5;
}
.dash-cap-notice {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  color: #78350f;
}
.dash-cap-notice strong { color: #78350f; font-weight: 700; }
.dash-kmo-warning {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  color: #7f1d1d;
}
.dash-kmo-warning strong { color: #7f1d1d; font-weight: 700; }
.dash-ratio-warning {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  color: #78350f;
}
.dash-ratio-warning strong { color: #78350f; font-weight: 700; }

/* Eenmanszaak-vergelijking */
.dash-compare {
  border: 2px solid var(--brand-color);
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}
.dash-compare-intro {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.dash-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.dash-compare-card {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-compare-card-highlight {
  border-color: var(--brand-color);
  box-shadow: 0 2px 8px rgba(7, 67, 115, 0.15);
}
.dcc-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  font-weight: 600;
}
.dcc-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark-blue);
  font-variant-numeric: tabular-nums;
}
.dash-compare-card-highlight .dcc-value { color: var(--brand-color); }
.dcc-sub { font-size: 0.72rem; color: var(--text-muted); font-style: italic; }
.dash-compare-delta {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  text-align: center;
  margin-bottom: 12px;
}
.dash-compare-delta strong { font-weight: 800; font-size: 1.05em; }
.dash-compare-delta-positive {
  background: #dcfce7;
  color: #166534;
}
.dash-compare-delta-positive strong { color: #166534; }
.dash-compare-delta-negative {
  background: #fee2e2;
  color: #991b1b;
}
.dash-compare-delta-negative strong { color: #991b1b; }
.dash-compare-cta {
  display: block;
  text-align: center;
}

/* Vermogensopbouw-projectie */
.dash-projection { display: flex; flex-direction: column; gap: 12px; }
.dash-projection-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: #f7fbff;
  border-radius: var(--radius-sm);
}
.dash-projection-controls label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}
.dash-projection-controls select {
  padding: 5px 8px;
  font-size: 0.86rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--dark-blue);
  font-weight: 500;
}
.dash-projection-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.dpb-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e7ecf2;
}
.dpb-group:last-child { border-bottom: none; padding-bottom: 0; }
.dpb-category {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 700;
}
.dpb-segment { display: flex; flex-direction: column; gap: 4px; }
.dpb-bar-container {
  width: 100%;
  height: 18px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.dpb-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.dpb-label {
  font-size: 0.82rem;
  color: var(--dark-blue);
}
.dpb-label small { color: var(--text-muted); font-weight: 500; font-style: italic; }
.dash-projection-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--dark-blue) 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}
.dash-projection-total strong:first-of-type { color: #fff; font-weight: 700; }
.dash-projection-total strong:last-of-type { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Pension-tab inputs */
.dash-pension-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: var(--space-3);
  padding: 12px;
  background: #f7fafd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.dash-pension-inputs label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}
.dash-pension-inputs input {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 0.92rem;
  color: var(--dark-blue);
  font-weight: 600;
  background: #fff;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.dash-pension-inputs input:focus { outline: 2px solid var(--brand-color); outline-offset: 1px; border-color: var(--brand-color); }

/* IPT 80%-regel breakdown */
.dash-ipt-breakdown {
  margin-top: var(--space-3);
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.dash-ipt-breakdown h4 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--dark-blue);
  font-weight: 700;
}
.dash-ipt-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-ipt-steps li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed #e7ecf2;
  font-size: 0.88rem;
}
.dash-ipt-steps li:last-child { border-bottom: none; padding-top: 10px; }
.dash-ipt-steps li:last-child strong { color: var(--brand-color); font-size: 1.05rem; font-weight: 800; }
.dash-ipt-steps li span { color: #475569; }
.dash-ipt-steps li strong { color: var(--dark-blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.dash-ipt-steps li small {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-style: italic;
  margin-top: -4px;
}
.dash-ipt-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e7ecf2;
}
.dash-ipt-note a { color: var(--brand-color); font-weight: 600; text-decoration: none; }
.dash-ipt-note a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .dash-pension-inputs { grid-template-columns: 1fr 1fr; }
  .dash-pension-inputs label:nth-child(3) { grid-column: 1 / -1; }
}

.dashboard-cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto var(--space-5);
  padding: var(--space-3) var(--space-5);
}

/* Lead capture onder het dashboard ("Mail mij dit rapport") */
.lead-capture {
  max-width: 720px;
  margin: 0 auto var(--space-5);
  padding: 0 var(--space-5);
}
.lead-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3);
}
@media (max-width: 720px) {
  .lead-capture { padding: 0 var(--space-3); }
  .lead-fields { grid-template-columns: 1fr; }
}

/* Berekeningstoelichting — fiscale transparantie blok */
.dash-trace {
  margin-top: var(--space-3);
  background: #fafdff;
  border: 1px solid #cfe2f5;
  border-radius: var(--radius-md);
}
.dash-trace summary {
  cursor: pointer;
  padding: 14px 18px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-trace summary::-webkit-details-marker { display: none; }
.dash-trace summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 8px;
  color: var(--blauw);
  transition: transform 0.15s;
}
.dash-trace[open] summary::before { transform: rotate(90deg); }
.dash-trace-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-blue);
  display: inline-block;
}
.dash-trace-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 22px;
}
.dash-trace-content {
  padding: 0 18px 18px 40px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--dark-blue);
}
.dash-trace-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blauw);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: var(--space-3) 0 6px;
  padding-top: var(--space-2);
  border-top: 1px dashed var(--border);
}
.dash-trace-content h4:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.dash-trace-content p { margin: 0; }
.trace-step {
  font-size: 0.88rem;
  line-height: 1.6;
}
.trace-step strong {
  color: var(--dark-blue);
  font-variant-numeric: tabular-nums;
}
.trace-ref {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid #cfe2f5;
}
.trace-note {
  background: #fff8e1;
  border-left: 3px solid #f9a825;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

/* Snelberekening-helper widget (maaltijdcheques, ...) */
.dash-helper {
  background: var(--soft-bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 8px 0 12px;
}
.dash-helper-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blauw);
  margin-bottom: 6px;
}
.dash-helper-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}
.dash-helper-row label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 90px;
}
.dash-helper-row label span {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.dash-helper-row input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  min-height: 34px;
}
.dash-helper-result {
  font-size: 0.95rem;
  color: var(--dark-blue);
  margin-left: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}
.dash-helper-result strong { color: var(--blauw); }

.dash-helper-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn-mini {
  padding: 6px 14px;
  border: 1.5px solid var(--blauw);
  background: var(--blauw);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-mini:hover { background: #fff; color: var(--blauw); }

.dash-vaa-breakdown {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.dvb-formula {
  font-variant-numeric: tabular-nums;
  color: var(--dark-blue);
  line-height: 1.5;
}
.dvb-meta {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* Bronnen & wettelijke basis sectie */
.dashboard-sources {
  max-width: 1280px;
  margin: 0 auto var(--space-5);
  padding: var(--space-5) var(--space-5);
  background: #fafdff;
  border: 1px solid #cfe2f5;
  border-radius: var(--radius-md);
}
.dashboard-sources h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--dark-blue);
}
.dashboard-sources-intro {
  margin: 0 0 var(--space-4);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.dashboard-sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.dashboard-source-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blauw);
  margin: 0 0 8px;
}
.dashboard-source-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dashboard-source-col li {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--dark-blue);
}
.dashboard-source-col strong {
  font-weight: 700;
  color: var(--dark-blue);
}
.dashboard-source-col a {
  color: var(--blauw);
  text-decoration: underline;
  text-decoration-color: rgba(7, 67, 115, 0.4);
}
.dashboard-source-col a:hover { text-decoration-color: var(--blauw); }
.dashboard-validation {
  margin: var(--space-3) 0 0;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #cfe2f5;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--dark-blue);
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.dashboard-validation > span {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blauw);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
}
.dashboard-validation code {
  background: #f0f7ff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: 'Consolas', 'Monaco', monospace;
  color: var(--dark-blue);
}

/* Print stylesheet — schone A4 output zonder navbar/footer/sidebar */
@media print {
  .navbar4_component,
  .footer1_component,
  .dashboard-cta,
  .report-mail-card,
  .wizard-sidebar,
  .mobile-trust-strip,
  .toast,
  .dash-left,
  .dash-mode-toggle,
  .dash-right-tabs button { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .loonkost-dashboard {
    grid-template-columns: 1fr !important;
    max-width: 100%;
    padding: 0;
  }
  .dash-center { width: 100%; }
  .dash-right { display: block; grid-column: 1 / -1; }
  .dash-tab-panel { display: block !important; page-break-inside: avoid; }
  .dash-tab-panel:not(.is-active) { display: block !important; }
  .dash-trace { background: #fff; border: 1px solid #ccc; }
  .dash-trace summary::before { display: none; }
  .dash-trace[open] .dash-trace-content { display: block; }
  details:not([open]) > *:not(summary) { display: block; }
  details summary { pointer-events: none; }
  .dashboard-hero { padding: 0 0 12pt 0; }
  .dashboard-hero h1 { font-size: 18pt; }
  .dashboard-eyebrow { display: none; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #666; }
  a[href^="javascript:"]::after,
  a[href^="#"]::after { content: ''; }
}

/* Landing — single-tool layout */
.landing-tools-single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.tool-card-primary {
  border: 2px solid var(--blauw);
  box-shadow: 0 4px 12px rgba(7, 67, 115, 0.15);
}

/* Landing — duo layout (twee tools naast elkaar) */
.landing-tools-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  max-width: 1080px;
  margin: 0 auto;
}
.landing-tools-duo .tool-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.landing-tools-duo .tool-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(7, 67, 115, 0.18); }
.landing-tools-duo .tool-card h2 { font-size: 1.35rem; color: var(--dark); margin: 0; }
.landing-tools-duo .tool-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blauw);
  margin: 0;
}
.landing-tools-duo .tool-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.landing-tools-duo .tool-meta { font-size: 0.85rem; color: var(--text-muted); }
.landing-tools-duo .tool-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-block;
  padding: 0;
  background: none;
  color: var(--blauw);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 150ms ease;
}
.landing-tools-duo .tool-card:hover .tool-cta {
  color: var(--primary-dark);
  text-decoration: underline;
}
.tool-card-secondary {
  border: 1.5px dashed var(--blauw);
  background: #fafdff;
}
@media (max-width: 720px) {
  .landing-tools-duo { grid-template-columns: 1fr; }
}

/* Brand footer grid (mirror van ondernemingoprichten.be footer1) */
.footer-grid-simulator {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
}
.footer-grid-simulator .footer1_left-wrapper { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-grid-simulator .footer1_left-wrapper .text-size-large { font-size: 1.1rem; font-weight: 600; color: #fff; }
.footer-grid-simulator .footer1_left-wrapper .text-size-regular { font-size: 0.92rem; color: rgba(255,255,255,0.82); line-height: 1.5; }
.footer-grid-simulator .footer1_logo-image { max-width: 220px; height: auto; }
.footer-grid-simulator .line-divider { height: 1px; background: rgba(255,255,255,0.18); width: 100%; }
.footer-grid-simulator .footer1_link-list { display: flex; flex-direction: column; gap: 10px; }
.footer-grid-simulator .footer1_link-list .text-weight-semibold,
.footer-grid-simulator .footer1_link-list .text-size-medium { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.footer-grid-simulator .footer_gegevens-link {
  display: block;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: color 0.15s;
}
.footer-grid-simulator .footer_gegevens-link:hover { color: #fff; }
.footer-grid-simulator .openingsuur { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; color: rgba(255,255,255,0.82); font-size: 0.85rem; }
.footer-grid-simulator .openingsuur .text-weight-semibold { color: #fff; font-size: 0.85rem; margin-bottom: 0; }
.footer-bottom-bar {
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}

@media (max-width: 991px) {
  .footer-grid-simulator { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .footer-grid-simulator .footer1_left-wrapper { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .footer-grid-simulator { grid-template-columns: 1fr; }
}

/* Footer override (webflow-site.css snapshot laat --dark-blue:#074373 zien —
   nieuwe hoofdsite gebruikt donkerste navy #01061d, tekst gewicht 300) */
.footer1_component {
  background-color: var(--dark);
  font-weight: 300;
}
.footer1_component .text-size-large,
.footer1_component .text-size-medium,
.footer1_component .text-weight-semibold { font-weight: 600; }

/* OVERRIDE webflow .main-wrapper donkere video-gradient — die was bedoeld voor
   de live homepage met hero-video op ondernemingoprichten.be. In onze app
   willen we de lichte pagina-achtergrond (--bg #f7fbfe) met witte
   content-wrappers (wizard-shell, kaarten) erboven. */
.main-wrapper.landing-main,
.main-wrapper {
  background: transparent !important;
}
body { background: var(--bg); }

/* Landing hero — sizing/typografie (donkere full-bleed band; kleuren in het hero-blok eerder in dit bestand) */
.landing-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin: 0 0 var(--space-3);
  line-height: 1.15;
}
.landing-hero .lead {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

/* Tighter intro-hero (P0-2): less competing with wizard */
.intro-hero {
  padding: var(--space-4) var(--space-3) var(--space-3);
  text-align: center;
}
.intro-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 var(--space-2); }
.intro-hero .lead { font-size: 0.95rem; color: var(--text-muted); margin: 0; max-width: 640px; margin-inline: auto; }

/* Vermogensopbouw — prominente kader bovenaan resultaat */
.vermogensopbouw {
  margin: var(--space-5) 0;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, #074373 0%, #053053 100%);
  border-radius: var(--radius-md);
  color: #fff;
  box-shadow: 0 8px 24px rgba(7, 67, 115, 0.25);
}
.vo-header {
  margin-bottom: var(--space-4);
  text-align: center;
}
.vo-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
}
.vo-intro {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.vo-grid {
  display: grid;
  gap: var(--space-3);
}
.vo-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(2px);
}
.vo-row-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vo-row-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.vo-row-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}
.vo-row-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.vo-cell-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vo-cell-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.vo-row-total {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: var(--space-4);
}
.vo-row-total .vo-row-name { font-size: 1.1rem; font-weight: 700; }
.vo-cell-total {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .vermogensopbouw { padding: var(--space-4); }
  .vo-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  .vo-row-label {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }
  .vo-cell-total { font-size: 1.35rem; }
}

/* Result hero — compact banner BOVEN de vermogensopbouw (P0-3 hierarchy fix).
   Vermogensopbouw is de visuele headline; hero is een korte context-strip. */
.result-hero {
  margin: 0 0 var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: none;
  text-align: left;
}
.tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--primary-soft);
  color: var(--dark-blue);
  margin-bottom: var(--space-2);
}
/* Tier-pills: basis --primary-soft met navy tekst; semantische varianten
   (ok/warn/bad/review) als gedempte, on-brand kleuren */
.tier-pill-strongly_recommended { background: #e2efe7; color: #2e5d43; }
.tier-pill-recommended { background: var(--primary-soft); color: var(--dark-blue); }
.tier-pill-marginal { background: #f7ecd9; color: #7a5a17; }
.tier-pill-not_recommended { background: #f5e2e2; color: #8a3232; }
.tier-pill-needs_review { background: #dfe7f8; color: #274b8f; }
.hero-tier-desc {
  margin: 0;
  color: var(--dark-blue);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}
.hero-desired {
  margin: var(--space-2) 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Result summary blocks — strakkere structuur */
.result-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  margin: var(--space-5) 0;
}
.summary-block {
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.summary-block h3 {
  margin: 0 0 var(--space-2);
  font-size: 0.95rem;
  color: var(--blauw);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.summary-block p {
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Result hero hint regels */
.hero-desired {
  margin-top: var(--space-2);
  font-size: 0.95rem;
  color: var(--dark-blue);
}
.hero-warn {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: #fff3e0;
  color: #bf360c;
  border-left: 4px solid var(--warn);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

/* Scenario comparator */
.scenario-comparator {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.scenario-comparator h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.1rem;
  color: var(--dark-blue);
}
.comparator-hint {
  margin: 0 0 var(--space-3);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.scenario-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}
.scenario-tab {
  flex: 1 1 0;
  min-width: 120px;
  padding: var(--space-2) var(--space-3);
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}
.scenario-tab:hover { background: var(--primary-soft); }
.scenario-tab.is-active {
  background: var(--blauw);
  color: #fff;
  border-color: var(--blauw);
}
@media (max-width: 640px) {
  .scenario-tabs { flex-direction: column; }
  .scenario-tab { min-width: 0; width: 100%; padding: 12px var(--space-3); font-size: 0.95rem; }
}
.scenario-slider-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.scenario-slider-label { font-size: 0.9rem; color: var(--dark-blue); }
#scenario-slider { flex: 1 1 200px; }
.scenario-slider-value {
  font-weight: 600;
  color: var(--blauw);
  min-width: 100px;
  text-align: right;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.scenario-card {
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.scenario-card.is-base {
  border: 2px solid var(--blauw);
  background: #fff;
  box-shadow: 0 4px 12px rgba(7, 67, 115, 0.18);
}
.scenario-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.scenario-card-net {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
}
.scenario-card.is-base .scenario-card-net { color: var(--blauw); }

@media (max-width: 900px) {
  .scenario-grid { grid-template-columns: 1fr; }
}
.scenario-card-row {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.scenario-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--text-muted);
  font-style: italic;
}
.scenario-warn {
  font-size: 0.8rem;
  color: #bf360c;
  background: #fff3e0;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Comparison table — eenmanszaak vs vennootschap */
.comparison-block {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.comparison-block h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.1rem;
  color: var(--dark-blue);
}
.comparison-hint {
  margin: 0 0 var(--space-3);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--soft-bg);
  font-weight: 600;
  color: var(--dark-blue);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
/* Mobile: behoud horizontal layout maar maak hem scrollbaar als 't echt te smal is.
   Alternatief: stacked-cells layout met label boven waarde. */
.comparison-block { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) {
  .comparison-table { font-size: 0.85rem; min-width: 380px; }
  .comparison-table th,
  .comparison-table td { padding: 8px 10px; }
}
.comparison-bottom {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 1rem;
}

/* Pension overview */
.pension-block {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, #f0f7ff, #fff);
  border: 1px solid #cfe2f5;
  border-radius: var(--radius-md);
}
.pension-block h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.1rem;
  color: var(--dark-blue);
}
.pension-hint {
  margin: 0 0 var(--space-3);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pension-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}
.pension-card {
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.pension-card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pension-card-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blauw);
  margin: 6px 0;
}
.pension-card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.pension-note {
  margin-top: var(--space-3);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   DS-consolidatie 2026 — kaart-radius 20px (schaal 8/12/20/30/pill).
   Staat bewust als laatste: overschrijft oudere radius-md declaraties
   voor standalone kaartpatronen. Geneste cellen (vo-row, scenario-card,
   pension-card, summary-block) blijven bewust kleiner.
   ============================================================ */
.result-hero,
.description-card,
.tool-card,
.landing-tools-duo .tool-card,
.vermogensopbouw,
.ai-summary,
.scenario-comparator,
.comparison-block,
.pension-block,
.dash-block,
.dash-table-wrap,
.dash-kpi,
.dash-hero-card,
.dash-trace,
.dashboard-sources,
.dash-ipt-breakdown,
.report-mail-card,
.lead-capture-card {
  border-radius: var(--radius-lg);
}

@media (max-width: 767px) {
  .step-card { border-radius: var(--radius-lg); }
}

/* ============================================================
   Result actions (deel-link + print) en report-mail kaart
   ============================================================ */
.result-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0 0 var(--space-3);
}

.report-mail-card,
.lead-capture-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  margin: var(--space-5) 0;
}
.report-mail-card h3,
.lead-capture-card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.15rem;
  color: var(--dark);
}
.report-mail-intro,
.lead-capture-intro {
  margin: 0 0 var(--space-4);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.report-mail-card form,
.lead-capture-card form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.report-mail-card .contact-field,
.lead-capture-card .contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.report-mail-card .contact-field span,
.lead-capture-card .contact-field span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}
.report-mail-card .contact-field input,
.lead-capture-card .contact-field input {
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--surface);
  min-height: 48px;
}
.report-mail-card .contact-field input:focus,
.lead-capture-card .contact-field input:focus {
  outline: none;
  border-color: var(--blauw);
}
.report-mail-card .btn-primary,
.lead-capture-card .btn-primary {
  align-self: flex-start;
}
.report-mail-error,
.lead-capture-error {
  margin: 0;
  padding: var(--space-2) var(--space-3);
  background: #f5e2e2;
  color: #8a3232;
  border-left: 4px solid #8a3232;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.lead-capture-success {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.lead-capture-success .lcs-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2efe7;
  color: #2e5d43;
  display: grid;
  place-items: center;
  font-weight: 700;
}
@media print {
  .result-actions { display: none !important; }
}

/* Nav-CTA exact zoals hoofdsite (.button.is-link in navbar): 167x36px, 15.2px/600, radius 10px, padding 8px 17.6px
   NB: .button.is-link in de snapshot-CSS is een transparante link-stijl — hier terug naar de navy knop van de hoofdsite */
.navbar4_wrapper > .button.is-link {
  background-color: #074373;
  border: 0;
  color: #fff;
  border-radius: 10px;
  padding: 8px 17.6px;
  font-size: 15.2px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  box-shadow: 1px 3px 12px rgba(7, 67, 115, .16);
}
.navbar4_wrapper > .button.is-link:hover {
  background-color: #053053;
  border-color: #053053;
  color: #fff;
  transform: translateY(-1px);
}

/* CTA alleen op desktop tonen (zoals hoofdsite): onder 992px verbergen —
   .button.is-link heeft display:flex (hogere specificiteit dan .hide-tablet in de snapshot) */
@media (max-width: 991px) {
  .navbar4_wrapper > .button.is-link { display: none; }
}

/* Pixelpariteit hoofdsite: nav-links #2c2f31 (snapshot had #000), CTA line-height 19.76px */
.navbar4_container .navbar4_link { color: #2c2f31; }
.navbar4_wrapper > .button.is-link { line-height: 19.76px; }

/* 100vw-hero zonder horizontale scrollbar */
body { overflow-x: clip; }

/* ============================================================
   Submerk-vermelding: "een dienst van Meesters Accountants"
   onder het logo + volzin en juridische regel in de voettekst
   ============================================================ */
.navbar4_brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.navbar4_endorse {
  font-family: Inter, sans-serif;
  font-size: 0.6875rem;
  line-height: 1.1;
  color: #4f5b66;
  white-space: nowrap;
}
.navbar4_endorse a {
  color: #074373;
  font-weight: 600;
  text-decoration: none;
}
.navbar4_endorse a:hover { text-decoration: underline; }
/* Smalle schermen: enkel de naam, zodat de kop niet breekt */
@media (max-width: 479px) {
  .navbar4_endorse { font-size: 0.625rem; }
  .navbar4_endorse-prefix { display: none; }
}
.footer-bottom-bar a,
.footer-submerk a {
  color: inherit;
  text-decoration: underline;
}
.footer-submerk {
  margin-top: 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.footer-submerk p { margin: 0 0 4px; }
.footer-submerk .footer-submerk-legal {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}
.quick-start {
  margin: 0 0 14px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #cfdee8;
  border-radius: 12px;
  background: #f4f8fa;
  color: #233b50;
}
.quick-start form { display: grid; gap: 14px; padding: 0 0 20px; margin: 0; }
.quick-start label { display: grid; gap: 5px; margin: 0; font-weight: 600; }
.quick-start small { font-size: .875rem; font-weight: 400; color: #526678; }
.quick-start input { width: 100%; max-width: 18rem; padding: 9px 12px; border: 1px solid #9cafbd; border-radius: 7px; background: #fff; }
.quick-start button { justify-self: start; max-width: 100%; }
.quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quick-actions .btn-skip { min-height: 44px; }
.quick-start .quick-result { padding: 18px 0 20px; border-top: 1px solid #cfdee8; }
.quick-start h3 { margin: 0; font-size: 1.2rem; line-height: 1.35; }
.quick-start dl { margin: 12px 0; }
.quick-start dl div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 6px 0; }
.quick-start dd { margin: 0; color: #074373; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quick-start p { margin: 0; }
.quick-start .quick-result button { margin-top: 14px; }
@media (max-width: 480px) {
  .quick-start dl div { display: block; }
  .quick-start input { max-width: none; }
}
@media print { .quick-start { display: none; } }

.wizard-layout[data-route]:not([data-route="full"]) :is(#intro-hero,.wizard-shell,.wizard-sidebar,.mobile-trust-strip) { display:none !important; }
.wizard-layout[data-route]:not([data-route="full"]) { display:block !important; }
.quick-start [hidden] { display:none !important; }
.quick-choices { display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); }
.quick-choices article { display:flex; flex-direction:column; align-items:flex-start; gap:.75rem; min-width:0; }
.quick-choices h2,.quick-start [data-short] h2 { margin:0; font-size:1.35rem; line-height:1.2; }
.quick-choices button { margin-top:auto; }
.quick-return { min-height:44px; padding:.25rem 0; border:0; background:transparent; color:#074373; text-decoration:underline; }
.quick-start .quick-result a { display:inline-block; margin-top:.75rem; text-decoration:underline; }
.wizard-layout[data-route="full"] .quick-start { padding:0; margin:0; border:0; background:transparent; }
@media print {
  .wizard-layout[data-route="short"] .quick-start { display:block; }
  .quick-start :is(button,form,a) { display:none !important; }
}

.wage-print-pending { display: none; }
@media print {
  [data-wage-pending] .loonkost-dashboard { display: none !important; }
  [data-wage-pending] .wage-print-pending { display: block; }
  #btn-print, #btn-share, #wage-calc-error { display: none !important; }
}
