/* 31-December Schenk- & Vermogenscheck 2027
   100% lokaal, mobiel-eerst (360px+), rustig ontwerp voor 55+/65+ lezers. */

:root {
  --navy-900: #0c2345;
  --navy-800: #133463;
  --navy-700: #1c4b87;
  --navy-100: #e9f0f9;
  --navy-50: #f3f7fc;

  --green-900: #064e3b;
  --green-700: #047857;
  --green-600: #059669;
  --green-100: #d1fae5;
  --green-50: #ecfdf5;

  --gold-900: #78350f;
  --gold-700: #b45309;
  --gold-500: #e59a16;
  --gold-400: #f5b82e;
  --gold-100: #fef3c7;
  --gold-50: #fffbeb;

  --red-900: #7f1d1d;
  --red-700: #b91c1c;
  --red-500: #dc2626;
  --red-100: #fee2e2;
  --red-50: #fef2f2;

  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --border: #d8e0e8;
  --border-strong: #b8c5d4;
  --text: #111827;
  --text-soft: #374151;
  --muted: #526071;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --shadow-card: 0 2px 12px rgba(12, 35, 69, 0.06);
  --shadow-focus: 0 0 0 3px rgba(28, 75, 135, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Embed mode (?embed=1) */
body.embed-mode {
  background: transparent;
}

body.embed-mode .site-header,
body.embed-mode .site-footer,
body.embed-mode .paid-offer,
body.embed-mode .embed-hide {
  display: none !important;
}

body.embed-mode .container {
  padding: 8px 4px 16px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
  border-bottom: 4px solid var(--gold-400);
  padding: 14px 16px;
}

.site-header-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-400);
  color: var(--navy-900);
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.header-meta {
  font-size: 13.5px;
  color: #dbeafe;
  font-weight: 600;
}

/* Container */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 14px 44px;
}

/* Hero */
.hero {
  margin-bottom: 18px;
}

.hero-kicker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  background: var(--navy-100);
  color: var(--navy-800);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: 999px;
}

.season-pill {
  display: inline-flex;
  align-items: center;
  background: var(--gold-100);
  color: var(--gold-900);
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.18;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 14px;
  font-size: 16.5px;
  color: var(--text-soft);
}

.privacy-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--green-50);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: var(--green-900);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}

.privacy-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-700);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

@media (min-width: 640px) {
  .container {
    padding: 26px 20px 48px;
  }
  .card {
    padding: 24px 24px;
  }
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
}

.step-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 22px 0 20px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.sub-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

/* Segmented buttons */
.seg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 520px) {
  .seg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.seg-btn {
  appearance: none;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.seg-btn small {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.seg-btn:hover {
  border-color: var(--navy-700);
}

.seg-btn:focus-visible,
.preset-btn:focus-visible,
.action-btn:focus-visible,
.stepper-btn:focus-visible,
.chip-btn:focus-visible,
.cta-btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.seg-btn.active {
  border-color: var(--navy-700);
  background: var(--navy-50);
  color: var(--navy-900);
}

.seg-btn.active small {
  color: var(--navy-800);
  font-weight: 600;
}

.seg-grid.compact .seg-btn {
  min-height: 48px;
  padding: 10px 14px;
}

/* Income preset buttons */
.preset-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

@media (min-width: 560px) {
  .preset-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.preset-btn {
  appearance: none;
  min-height: 52px;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.preset-btn .preset-val {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.preset-btn:hover {
  border-color: var(--navy-700);
}

.preset-btn.active {
  border-color: var(--navy-700);
  background: var(--navy-100);
  color: var(--navy-900);
}

.preset-btn.active .preset-val {
  color: var(--navy-800);
}

/* Form fields */
.field-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .field-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .field-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.field-hint {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}

.input-euro,
.input-pct {
  position: relative;
  display: flex;
  align-items: center;
}

.input-euro::before {
  content: "\20AC";
  position: absolute;
  left: 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--muted);
  pointer-events: none;
}

.input-pct::after {
  content: "%";
  position: absolute;
  right: 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--muted);
  pointer-events: none;
}

.input-euro input,
.input-pct input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px 11px 34px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  background: #ffffff;
  font-variant-numeric: tabular-nums;
}

.input-pct input {
  padding: 11px 34px 11px 14px;
}

.input-euro input:focus,
.input-pct input:focus,
.stepper-input:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: var(--shadow-focus);
}

/* Optional details toggle */
.optional-box {
  margin-top: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: var(--surface-muted);
}

.optional-box summary {
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-800);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}

.optional-box summary::-webkit-details-marker {
  display: none;
}

.optional-box summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-700);
}

.optional-box[open] summary::after {
  content: "-";
}

.optional-inner {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Summary pill */
.summary-strip {
  margin-top: 16px;
  background: var(--navy-50);
  border: 1px solid #c9d9ee;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--navy-900);
}

.summary-strip strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

/* Stepper controls for children / grandchildren */
.stepper-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper-btn {
  appearance: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--navy-900);
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.stepper-btn:hover {
  border-color: var(--navy-700);
  background: var(--navy-100);
}

.stepper-input {
  width: 72px;
  height: 48px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* Results Section Header */
.results-header {
  margin: 26px 0 14px;
}

.results-header h2 {
  margin: 0 0 4px;
  font-size: clamp(21px, 4.2vw, 26px);
  color: var(--navy-900);
}

.results-header p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Two main check cards */
.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (min-width: 720px) {
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.check-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-card.status-danger {
  border-color: var(--red-500);
  background: linear-gradient(180deg, var(--red-50) 0%, #ffffff 42%);
}

.check-card.status-warn {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, var(--gold-50) 0%, #ffffff 42%);
}

.check-card.status-ok {
  border-color: var(--green-600);
  background: linear-gradient(180deg, var(--green-50) 0%, #ffffff 42%);
}

.check-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.check-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-900);
}

.status-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.status-badge.definitief {
  background: var(--green-100);
  color: var(--green-900);
}

.status-badge.raming {
  background: var(--gold-100);
  color: var(--gold-900);
}

.big-figure {
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--navy-900);
}

.check-card.status-danger .big-figure {
  color: var(--red-700);
}

.check-card.status-ok .big-figure {
  color: var(--green-900);
}

.big-sub {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-top: -4px;
}

.check-note {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Meter bar */
.meter-wrap {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.meter-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.meter-track {
  height: 11px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--green-600);
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.meter-fill.warn {
  background: var(--gold-500);
}

.meter-fill.over {
  background: var(--red-500);
}

.meter-foot {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* Key-value stats list */
.kv-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.kv-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}

.kv-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kv-list span {
  color: var(--text-soft);
}

.kv-list strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* Tegenbewijs / Alert Callout */
.callout {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.48;
  border-left: 4px solid var(--navy-700);
  background: var(--navy-50);
  color: var(--navy-900);
}

.callout.warn {
  border-left-color: var(--gold-500);
  background: var(--gold-50);
  color: var(--gold-900);
}

.callout.danger {
  border-left-color: var(--red-500);
  background: var(--red-50);
  color: var(--red-900);
}

.callout.success {
  border-left-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-900);
}

/* Simulator Card (Star of the page) */
.simulator-card {
  background: var(--surface);
  border: 2px solid var(--navy-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(12, 35, 69, 0.1);
  margin-bottom: 18px;
}

.simulator-head {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
  padding: 20px 18px;
  border-bottom: 3px solid var(--gold-400);
}

.simulator-head-kicker {
  display: inline-block;
  background: rgba(245, 184, 46, 0.2);
  color: #fde68a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.simulator-head h2 {
  margin: 0 0 6px;
  font-size: clamp(20px, 4.4vw, 25px);
  line-height: 1.2;
}

.simulator-head p {
  margin: 0;
  font-size: 15px;
  color: #dbeafe;
}

.simulator-body {
  padding: 20px 18px;
}

@media (min-width: 640px) {
  .simulator-head,
  .simulator-body {
    padding: 24px 24px;
  }
}

/* Quick 1-click simulator buttons */
.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .quick-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.action-btn {
  appearance: none;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.08s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.action-btn:active {
  transform: scale(0.99);
}

.action-btn.gold {
  background: var(--gold-400);
  color: var(--navy-900);
  border-color: var(--gold-500);
  flex: 1 1 230px;
}

.action-btn.gold:hover {
  background: var(--gold-500);
  color: #ffffff;
}

.action-btn.emerald {
  background: var(--green-700);
  color: #ffffff;
  border-color: var(--green-700);
  flex: 1 1 230px;
}

.action-btn.emerald:hover {
  background: var(--green-900);
}

.action-btn.ghost {
  background: var(--surface-muted);
  color: var(--navy-900);
  border-color: var(--border-strong);
}

.action-btn.ghost:hover {
  background: var(--navy-100);
  border-color: var(--navy-700);
}

.action-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

/* Slider blocks */
.slider-block {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 14px;
  margin-bottom: 14px;
}

.slider-block.is-disabled {
  opacity: 0.65;
}

.slider-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.slider-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}

.slider-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 2px 0 0;
}

.slider-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
}

@media (min-width: 560px) {
  .slider-controls {
    grid-template-columns: 1fr 150px;
    gap: 14px;
  }
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(12, 35, 69, 0.35);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(12, 35, 69, 0.35);
  cursor: pointer;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.chip-btn {
  appearance: none;
  border: 1px solid var(--navy-700);
  background: #ffffff;
  color: var(--navy-800);
  padding: 6px 11px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.chip-btn:hover {
  background: var(--navy-100);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
}

.checkbox-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: var(--navy-800);
  flex-shrink: 0;
  cursor: pointer;
}

/* Live Savings Panel */
.savings-panel {
  margin-top: 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--green-600);
  background: var(--green-50);
  padding: 18px 16px;
}

.savings-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 560px) {
  .savings-compare {
    grid-template-columns: repeat(3, 1fr);
  }
}

.compare-tile {
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}

.compare-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy-900);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.compare-val.good {
  color: var(--green-700);
}

.milestone-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.milestone-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-700);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
}

.milestone-pill.gold {
  background: var(--gold-700);
}

.direct-savings-box {
  background: #ffffff;
  border: 2px solid var(--green-600);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.direct-savings-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.direct-savings-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-900);
}

.direct-savings-total {
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 900;
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
}

.direct-breakdown {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 520px) {
  .direct-breakdown {
    grid-template-columns: 1fr 1fr;
  }
}

.direct-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: var(--surface-muted);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14.5px;
}

.direct-item strong {
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
}

.direct-item.tax-cost strong {
  color: var(--red-700);
}

/* Separate Erfbelasting Card */
.erf-box {
  background: var(--gold-50);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-md);
  padding: 15px 16px;
}

.erf-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.erf-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-900);
}

.erf-amount {
  font-size: 21px;
  font-weight: 900;
  color: var(--gold-700);
  font-variant-numeric: tabular-nums;
}

.erf-notes {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

.erf-notes li {
  margin-bottom: 5px;
}

.erf-notes li:last-child {
  margin-bottom: 0;
}

/* Action List & Deadlines */
.deadline-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deadline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-muted);
}

.deadline-item.urgent {
  border-left: 4px solid var(--red-500);
  background: #fffafa;
}

.deadline-item.high {
  border-left: 4px solid var(--gold-500);
  background: #fffdf5;
}

.deadline-item.normal {
  border-left: 4px solid var(--navy-700);
}

.deadline-date {
  display: inline-block;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.deadline-item.urgent .deadline-date {
  background: var(--red-700);
}

.deadline-item.high .deadline-date {
  background: var(--gold-700);
}

.deadline-body strong {
  display: block;
  font-size: 15.5px;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.deadline-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
}

/* Utility action buttons (Print PDF & WhatsApp) */
.tool-action-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .tool-action-bar {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-print {
  appearance: none;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--navy-800);
  background: var(--navy-800);
  color: #ffffff;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-print:hover {
  background: var(--navy-900);
}

.btn-whatsapp {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 2px solid #15803d;
  background: #16a34a;
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.btn-whatsapp:hover {
  background: #15803d;
}

.share-privacy-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Smart Conversion Router CTA (100% mobile width >= 280px on 360px screens) */
.router-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--navy-900), #173f73);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .router-cta {
    padding: 26px 24px;
  }
}

.router-kicker {
  display: inline-block;
  background: rgba(245, 184, 46, 0.22);
  color: #fde68a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.router-cta h3 {
  margin: 0 0 8px;
  font-size: clamp(19px, 4.2vw, 23px);
  line-height: 1.25;
}

.router-cta p {
  margin: 0 0 16px;
  font-size: 15.5px;
  color: #e2ecf9;
}

.router-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (min-width: 580px) {
  .router-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 800;
  text-align: center;
  transition: background-color 0.15s ease;
}

@media (min-width: 580px) {
  .cta-btn {
    width: auto;
  }
}

.cta-btn.primary {
  background: var(--gold-400);
  color: var(--navy-900);
}

.cta-btn.primary:hover {
  background: var(--gold-500);
  color: #ffffff;
}

.cta-btn.paid-offer {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.cta-btn.paid-offer:hover {
  background: rgba(255, 255, 255, 0.24);
}

.router-secondary-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.router-secondary-links a {
  color: #fde68a;
  font-weight: 700;
  text-decoration: underline;
}

/* Sources & Disclaimer */
.sources-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  font-size: 14px;
  color: var(--text-soft);
}

.sources-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--navy-900);
}

.sources-list {
  margin: 0 0 14px;
  padding-left: 18px;
}

.sources-list li {
  margin-bottom: 6px;
  line-height: 1.45;
}

.sources-list a {
  color: var(--navy-700);
  font-weight: 700;
}

.disclaimer-text {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.disclaimer-text a {
  color: var(--navy-700);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 18px 14px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #ffffff;
}

/* Print-only 1-A4 summary sheet (hidden on screen) */
.print-sheet {
  display: none;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   PRINT STYLESHEET (Strakke persoonlijke 1-A4 December & 2027 Actielijst)
   ========================================================================== */
@page {
  size: A4 portrait;
  margin: 12mm 14mm;
}

@media print {
  html,
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10.5pt !important;
    line-height: 1.38 !important;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .hero,
  #inputCard,
  .results-header,
  .check-grid,
  #giftSimulatorCard,
  #actielijstCard,
  #routerCtaCard,
  #sourcesCard {
    display: none !important;
  }

  .container {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .print-sheet {
    display: block !important;
    color: #111827;
  }

  .print-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2.5pt solid #0c2345;
    padding-bottom: 6pt;
    margin-bottom: 10pt;
  }

  .print-header h1 {
    margin: 0;
    font-size: 15.5pt;
    color: #0c2345;
  }

  .print-meta {
    font-size: 9pt;
    color: #475569;
    text-align: right;
  }

  .print-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10pt;
    margin-bottom: 10pt;
  }

  .print-box {
    border: 1pt solid #cbd5e1;
    border-radius: 5pt;
    padding: 8pt 10pt;
    break-inside: avoid;
  }

  .print-box.highlight {
    border-color: #047857;
    background: #f0fdf4 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-box h2 {
    margin: 0 0 5pt;
    font-size: 10.5pt;
    color: #0c2345;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 9.8pt;
  }

  .print-table td {
    padding: 2.5pt 0;
    border-bottom: 0.5pt solid #e2e8f0;
  }

  .print-table tr:last-child td {
    border-bottom: 0;
  }

  .print-table td:last-child {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  .print-deadlines {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .print-deadlines li {
    padding: 3.5pt 0;
    border-bottom: 0.5pt solid #e2e8f0;
    font-size: 9.8pt;
  }

  .print-deadlines li:last-child {
    border-bottom: 0;
  }

  .print-check-square {
    display: inline-block;
    width: 9pt;
    height: 9pt;
    border: 1pt solid #0c2345;
    margin-right: 6pt;
    vertical-align: -1pt;
  }

  .print-footnotes {
    margin-top: 8pt;
    font-size: 8.5pt;
    color: #475569;
    border-top: 0.75pt solid #cbd5e1;
    padding-top: 6pt;
    line-height: 1.35;
  }
}
