/* ============================================
   huurprijs-berekenen.nl — Design System v3.0
   Premium authority: depth, scale, richness
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-serif-4-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-serif-4-latin-700.woff2') format('woff2');
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- Variables --- */
:root {
  --bg: #F7F8FC;
  --bg-white: #FFFFFF;
  --bg-elevated: #FAFBFF;
  --text: #111827;
  --text-muted: #5B6378;
  --accent: #1B365D;
  --accent-hover: #142847;
  --accent-light: #EDF0F5;
  --accent-dark: #0F1F38;
  --accent-glow: rgba(27,54,93,0.12);
  --navy: #0C1524;
  --navy-light: #162032;
  --success: #059669;
  --success-light: #ECFDF5;
  --warning: #D97706;
  --warning-light: #FFFBEB;
  --danger: #DC2626;
  --danger-light: #FEF2F2;
  --border: #D8DCE6;
  --border-light: #E8ECF4;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-accent: 0 4px 16px rgba(27,54,93,0.20);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --max-width: 980px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Top Bar (source attribution) --- */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
  text-align: center;
  letter-spacing: 0.01em;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar svg {
  flex-shrink: 0;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
}

.top-bar a:hover {
  color: #fff;
}

/* --- Header --- */
.header {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo-svg {
  flex-shrink: 0;
  color: var(--accent);
}

.logo-dot {
  color: var(--accent);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.header-link:hover {
  color: var(--accent);
}

.header-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-white);
  background: var(--accent);
  padding: 9px 22px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(27,54,93,0.2);
}

.header-cta:hover {
  background: var(--accent-hover);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(27,54,93,0.3);
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  padding: 24px 0 28px;
  text-align: center;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27,54,93,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  letter-spacing: 0.01em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(27,54,93,0.25);
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,54,93,0.35);
  color: white;
}

/* --- Role Cards (huurder/verhuurder) --- */
.role-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.role-card {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.role-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.role-card:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.role-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 2px;
}

.role-card-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.role-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.hero-meta svg {
  color: var(--success);
  flex-shrink: 0;
}

/* --- Social Proof / Trust Bar --- */
.social-proof {
  padding: 24px 0;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.social-proof-inner {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.proof-item {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
}

.proof-item svg {
  color: #60A5FA;
  stroke: #60A5FA;
}

.proof-item strong {
  color: #fff;
  font-weight: 700;
}

/* --- How It Works --- */
.how-it-works {
  padding: 72px 0;
  text-align: center;
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--navy);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 32px 24px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-accent);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Wizard Section --- */
.wizard-section {
  padding: 32px 0 64px;
  min-height: 0;
  display: none;
}

.wizard-section.active {
  display: block;
}

/* Hide FAQ, kennisbank, about, methodology while wizard is active */
.wizard-section.active ~ .faq-section,
.wizard-section.active ~ .kennisbank-section,
.wizard-section.active ~ .about-tool-section,
.wizard-section.active ~ .methodology-section {
  display: none;
}

/* Hide footer while wizard is active (footer is outside <main>, needs body class) */
body.wizard-active .footer {
  display: none;
}

/* --- Progress Bar --- */
.wizard-progress {
  max-width: 560px;
  margin: 0 auto 32px;
}

.wizard-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 0%;
}

.wizard-progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
}

.dot.completed {
  background: var(--accent);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* --- Live Points Indicator --- */
.points-indicator {
  max-width: 560px;
  margin: 0 auto 24px;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.points-indicator.visible {
  display: block;
  opacity: 1;
}

.points-indicator-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  box-shadow: var(--shadow-sm);
}

.points-indicator-points {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.points-indicator-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  transition: color 0.3s ease;
  font-variant-numeric: tabular-nums;
}

.points-indicator-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.points-indicator-segment {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  line-height: 1;
  white-space: nowrap;
}

.points-indicator-segment.social {
  background: var(--success-light);
  color: var(--success);
}

.points-indicator-segment.middle {
  background: var(--warning-light);
  color: var(--warning);
}

.points-indicator-segment.free {
  background: var(--danger-light);
  color: var(--danger);
}

.points-indicator-rent {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 639px) {
  .points-indicator-inner {
    gap: 10px;
    padding: 7px 14px;
  }
  .points-indicator-number {
    font-size: 18px;
  }
  .points-indicator-rent {
    font-size: 12px;
  }
  .points-indicator-segment {
    font-size: 11px;
    padding: 2px 8px;
  }
}

/* --- Wizard Steps --- */
.wizard-step {
  max-width: 600px;
  margin: 0 auto;
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: var(--navy);
}

.wizard-step .step-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-align: center;
}

/* --- Option Cards --- */
.options-grid {
  display: grid;
  gap: 12px;
}

.options-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.options-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.option-card {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.option-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.option-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-sm);
}

.option-card.selected::after {
  content: '\2713';
  position: absolute;
  top: 8px;
  right: 10px;
  background: var(--accent);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.option-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.option-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Energy label color cards (legacy) */
.option-card[data-color] {
  border-left: 4px solid var(--border);
}
.option-card[data-color].selected {
  border-left-width: 4px;
}
.option-card[data-color="green"]  { border-left-color: #10B981; }
.option-card[data-color="lime"]   { border-left-color: #84CC16; }
.option-card[data-color="yellow"] { border-left-color: #EAB308; }
.option-card[data-color="orange"] { border-left-color: #F97316; }
.option-card[data-color="red"]    { border-left-color: #EF4444; }

/* --- Energy Label Strip --- */
.energy-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.energy-chip {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--chip-color);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  line-height: 1;
}

.energy-chip[data-value="B"],
.energy-chip[data-value="C"] {
  color: #1A1A2E;
  text-shadow: none;
}

.energy-chip:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.energy-chip.selected {
  border-color: var(--text);
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.25), 0 2px 8px rgba(0,0,0,0.15);
}

.energy-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- Input Fields --- */
.field-group {
  margin-bottom: 20px;
  text-align: left;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.field-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  appearance: none;
  box-shadow: var(--shadow-xs);
}

.field-input::placeholder {
  color: #C4C4BE;
  opacity: 1;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.field-input.error {
  border-color: var(--danger);
}

.field-helper {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.field-error {
  font-size: 13px;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}

.field-group.has-error .field-error { display: block; }
.field-group.has-error .field-input { border-color: var(--danger); }

/* Auto-fill badge (BAG data) */
.autofill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
}

/* Inline fields (postcode + huisnummer side by side) */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Address step: postcode wider, huisnummer compact */
.address-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.address-fields .field-group {
  margin-bottom: 0;
}

/* --- WOZ Help Panel --- */
.woz-help-toggle {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  display: inline-block;
}

.woz-help-toggle:hover {
  text-decoration: underline;
}

.woz-help-panel {
  display: none;
  margin-top: 12px;
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 16px;
}

.woz-help-panel.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

.woz-help-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.woz-help-item + .woz-help-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.woz-help-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- BAG Lookup Status --- */
.bag-status {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  min-height: 24px;
}

.bag-status.loading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.bag-status.success { color: var(--success); }
.bag-status.error   { color: var(--danger); }

.bag-results {
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 14px;
  display: none;
}

.bag-results.visible { display: block; }

.bag-results span {
  display: inline-block;
  margin-right: 16px;
}

.bag-results strong {
  color: var(--accent);
}

/* --- Address Selector --- */
.address-selector {
  margin-top: 16px;
}

.address-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.address-option {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.address-option:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.address-option.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

/* --- Wizard Navigation --- */
.wizard-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  position: sticky;
  bottom: 0;
  padding: 16px 0 20px;
  background: linear-gradient(to top, var(--bg) 60%, transparent);
  z-index: 10;
}

.btn {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(27,54,93,0.28);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-muted);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* --- Early Exit Banner --- */
.early-exit {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.early-exit-icon {
  color: var(--success);
  margin-bottom: 16px;
}

.early-exit h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.early-exit-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.early-exit-desc strong {
  color: var(--accent);
}

/* === RESULTS SECTION === */
.results-section {
  padding: 56px 0 72px;
  display: none;
}

.results-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Big rent number */
.result-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.result-badge.social  { background: var(--success-light); color: var(--success); }
.result-badge.middle  { background: var(--warning-light); color: var(--warning); }
.result-badge.free    { background: var(--danger-light);  color: var(--danger); }

.result-rent {
  font-size: 56px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}

.result-rent-label {
  font-size: 16px;
  color: var(--text-muted);
}

.result-points {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 8px;
}

.result-points strong {
  color: var(--accent);
  font-size: 22px;
}

/* Segment description */
.result-segment-desc {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
}

/* --- Breakdown --- */
.breakdown {
  max-width: 640px;
  margin: 0 auto 32px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.breakdown-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}

.breakdown-item {
  display: grid;
  grid-template-columns: 120px 1fr 50px;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-category {
  font-weight: 600;
  color: var(--text);
}

.breakdown-bar-wrap {
  height: 6px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.breakdown-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.breakdown-bar--negative {
  background: #EF4444;
}

.breakdown-points {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
}
.breakdown-item--negative .breakdown-points {
  color: #EF4444;
}

.breakdown-detail {
  font-size: 11px;
  color: var(--text-muted);
  grid-column: 1 / -1;
  margin-top: -2px;
}

.breakdown-capped {
  font-size: 10px;
  color: var(--warning);
  font-weight: 600;
}

.breakdown-total {
  border-top: 2px solid var(--accent);
  border-bottom: none;
  padding-top: 8px;
  margin-top: 2px;
}

.breakdown-total .breakdown-category { font-size: 15px; }
.breakdown-total .breakdown-points { font-size: 17px; }

/* Opslag row in breakdown */
.breakdown-opslag {
  border-top: none;
  border-bottom: none;
  background: var(--warning-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 4px;
}

.breakdown-opslag .breakdown-category {
  color: var(--warning);
  font-size: 13px;
}

.breakdown-opslag .breakdown-points {
  color: var(--warning);
  font-size: 14px;
}

.breakdown-opslag-detail {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

.breakdown-opslag .breakdown-bar-wrap {
  height: auto;
  background: none;
  overflow: visible;
}

/* Rent base strikethrough (when opslagen apply) */
.rent-base {
  font-size: 32px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 12px;
  font-weight: 400;
}

/* --- Checkbox list (bijzondere voorzieningen) --- */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.checkbox-label:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.chk-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.chk-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* --- Compare with current rent --- */
.compare-box {
  max-width: 640px;
  margin: 0 auto 32px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.compare-box h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.compare-input {
  width: 160px;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
}

.compare-input::placeholder {
  color: #C4C4BE;
  opacity: 1;
}

.compare-input:focus {
  outline: none;
  border-color: var(--accent);
}

.compare-result {
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.compare-result.visible { display: block; }
.compare-result.overpaying {
  background: var(--danger-light);
  color: var(--danger);
}
.compare-result.fair {
  background: var(--success-light);
  color: var(--success);
}
.compare-result strong { display: block; margin-bottom: 4px; }
.compare-detail { display: block; font-size: 13px; opacity: 0.85; }
.compare-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--danger);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}
.compare-cta:hover { background: #B91C1C; }

/* --- PDF Download --- */
.pdf-download {
  max-width: 560px;
  margin: 0 auto 32px;
}

.pdf-download-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.pdf-download-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.pdf-download-text {
  flex: 1;
  min-width: 0;
}

.pdf-download-text strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.pdf-download-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.pdf-download-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.pdf-download-btn.generating {
  opacity: 0.7;
  pointer-events: none;
}

.social-proof-results {
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .pdf-download-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .pdf-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Action Cards (Conditional CTAs) --- */
.action-cards {
  max-width: 640px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.action-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.action-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.action-card--danger  { border-left-color: var(--danger); }
.action-card--warning { border-left-color: var(--warning); }
.action-card--info    { border-left-color: var(--accent); }
.action-card--success { border-left-color: var(--success); }

.action-card-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.action-card-content {
  flex: 1;
}

.action-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.action-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.action-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.action-card--danger .action-card-cta  { color: var(--danger); }
.action-card--warning .action-card-cta { color: var(--warning); }
.action-card--success .action-card-cta { color: var(--success); }

/* --- Suggested Articles --- */
.suggested-articles {
  max-width: 700px;
  margin: 0 auto 32px;
}

.suggested-articles h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.suggested-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.suggested-article-card {
  display: block;
  padding: 20px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow var(--transition), transform var(--transition);
}

.suggested-article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.suggested-article-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.suggested-article-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.suggested-article-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 640px) {
  .suggested-articles-grid {
    grid-template-columns: 1fr;
  }
  .suggested-article-card h4 {
    font-size: 13px;
  }
}

/* --- Result CTAs --- */
.result-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.result-ctas .btn {
  font-size: 15px;
  padding: 10px 24px;
}

/* --- Disclaimer --- */
.disclaimer {
  max-width: 600px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* === FAQ === */
.faq-section {
  padding: 72px 0;
  content-visibility: auto;
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--navy);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 8px 28px;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  content: '\2212';
  color: var(--accent);
}

.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 16px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* === METHODOLOGY SECTION === */
.methodology-section {
  padding: 72px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  content-visibility: auto;
}

.methodology-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--navy);
}

.methodology-intro {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.methodology-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.methodology-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.methodology-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.methodology-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.methodology-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.methodology-card a {
  font-size: 14px;
  font-weight: 600;
}

.methodology-update {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--success-light);
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.update-badge svg {
  flex-shrink: 0;
}

/* === ABOUT / TRANSPARENCY SECTION === */
.about-tool-section {
  padding: 64px 0;
  content-visibility: auto;
}

.about-tool-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--navy);
}

.about-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.about-tool-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-tool-card:hover {
  box-shadow: var(--shadow-md);
}

.about-tool-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.about-tool-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.about-tool-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === KENNISBANK STRIP === */
.kennisbank-section {
  padding: 64px 0;
  background: var(--accent-light);
  content-visibility: auto;
}

.kennisbank-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--navy);
}

.kennisbank-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.kennisbank-card {
  display: block;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.kennisbank-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--text);
}

.kennisbank-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--navy);
}

.kennisbank-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.kennisbank-more {
  text-align: center;
  margin-top: 24px;
}

.kennisbank-more a {
  font-size: 15px;
  font-weight: 600;
}

/* === FOOTER === */
.footer {
  padding: 56px 0 32px;
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  content-visibility: auto;
}

.footer a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer a:hover {
  color: #fff;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.55);
}

.footer-brand .logo {
  color: #fff;
  font-size: 17px;
}

.footer-brand .logo-dot {
  color: #60A5FA;
}

.footer-brand .logo-svg rect {
  fill: #60A5FA;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: #60A5FA;
}

.footer-inner {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  padding-top: 12px;
  line-height: 1.5;
}

.footer-source {
  margin-top: 8px;
}

.footer-source a {
  color: #60A5FA;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1000;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  font-size: 14px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-btn {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--accent);
  color: white;
}

.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* === ARTICLE PAGES === */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 6px;
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0 64px;
}

.article h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--navy);
}

.article h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.article p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.article ul, .article ol {
  margin: 0 0 16px 24px;
  line-height: 1.7;
}

.article li {
  margin-bottom: 6px;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.article th, .article td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.article th {
  font-weight: 700;
  background: var(--accent-light);
  font-size: 13px;
}

.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 16px 0 24px;
  background: var(--accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  color: var(--text);
}

.article-cta {
  background: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin: 32px 0;
}

.article-cta h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.article-cta p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

.article-cta .btn {
  font-size: 15px;
}

.related-articles {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 48px;
}

.related-articles h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.related-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.related-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.related-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Article overview page */
.articles-hero {
  padding: 56px 0 36px;
  text-align: center;
}

.articles-hero h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.articles-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 0 64px;
}

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--text);
}

.article-card h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.article-card .read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

@media (min-width: 640px) {
  .article h1 {
    font-size: 40px;
  }
}

@media (max-width: 639px) {
  .article h1 {
    font-size: 26px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
  .hero {
    padding: 32px 0 28px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 16px;
  }

  .result-rent {
    font-size: 72px;
  }
}

@media (max-width: 639px) {
  .hero {
    padding: 24px 0 28px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero::before {
    width: 300px;
    height: 300px;
  }

  .role-cards {
    max-width: 100%;
    gap: 12px;
  }

  .role-card {
    padding: 24px 16px 20px;
  }

  .role-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .role-card-label {
    font-size: 16px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .options-grid.cols-3,
  .options-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .options-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .social-proof-inner {
    flex-direction: column;
    gap: 10px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .address-fields {
    grid-template-columns: 1fr 1fr;
  }

  .breakdown-item {
    grid-template-columns: 100px 1fr 44px;
    gap: 6px;
    font-size: 12px;
  }

  .compare-row {
    flex-direction: column;
    align-items: stretch;
  }

  .compare-input {
    width: 100%;
  }

  .result-ctas {
    flex-direction: column;
    align-items: center;
  }

  .result-hero {
    padding: 28px 16px;
    border-radius: var(--radius);
  }

  .rent-base {
    font-size: 22px;
    display: block;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 4px;
  }

  .faq-list {
    padding: 4px 16px;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .methodology-section,
  .about-tool-section,
  .kennisbank-section,
  .faq-section,
  .how-it-works {
    padding: 48px 0;
  }

  .about-tool-grid {
    grid-template-columns: 1fr;
  }

  .kennisbank-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Large screens: scale up wizard for external monitors --- */
@media (min-width: 1440px) {
  .wizard-section {
    padding: 56px 0;
  }

  .wizard-progress {
    max-width: 720px;
  }

  .wizard-step {
    max-width: 720px;
  }

  .wizard-step h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .wizard-step .step-subtitle {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .options-grid {
    gap: 16px;
  }

  .option-card {
    padding: 28px 22px;
  }

  .option-label {
    font-size: 18px;
  }

  .option-desc {
    font-size: 14px;
  }

  .energy-chip {
    font-size: 17px;
    padding: 10px 22px;
  }

  .field-label {
    font-size: 15px;
  }

  .field-input,
  .field-select {
    font-size: 16px;
    padding: 14px 16px;
  }

  .wizard-progress-text {
    font-size: 15px;
  }

  .wizard-nav {
    margin-top: 32px;
  }

  .btn {
    font-size: 18px;
    padding: 16px 38px;
  }

  .points-indicator-points {
    font-size: 44px;
  }

  .points-indicator-label {
    font-size: 14px;
  }
}
