/* ═══════════════════════════════════════════════════════════
   bpmteruggave.nl — Shared Styles
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #06080d;
  --bg-2: #0c0f18;
  --surface: #111425;
  --surface-2: #181c30;
  --surface-3: #1f2440;
  --border: #2a2f4a;
  --text: #eaeaf2;
  --text-2: #b0b4cc;
  --text-muted: #6b7094;
  --orange: #ff6b2b;
  --orange-dim: #e05a1f;
  --orange-glow: rgba(255, 107, 43, 0.12);
  --orange-glow-strong: rgba(255, 107, 43, 0.25);
  --green: #34d399;
  --green-dim: #059669;
  --green-glow: rgba(52, 211, 153, 0.12);
  --red: #f87171;
  --blue: #60a5fa;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 8, 13, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(42, 47, 74, 0.5);
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  transition: background var(--transition);
}
nav.scrolled { background: rgba(6, 8, 13, 0.95); }
nav .logo {
  font-size: 1.2rem; font-weight: 800; color: var(--orange);
  letter-spacing: -0.03em; text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
nav .logo-icon {
  width: 28px; height: 28px; flex-shrink: 0;
}
nav .logo span { color: var(--text-muted); font-weight: 500; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a {
  color: var(--text-muted); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; transition: color var(--transition);
}
nav a:hover, nav a.active { color: var(--orange); }

.mobile-toggle {
  display: none; background: none; border: none; color: var(--text);
  font-size: 1.5rem; cursor: pointer; padding: 0.25rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(255,107,43,0.08), transparent 60%),
    radial-gradient(ellipse 40% 35% at 70% 60%, rgba(96,165,250,0.05), transparent 55%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--border);
  padding: 0.4rem 1rem; border-radius: 999px;
  font-size: 0.82rem; color: var(--text-2); margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.04em; max-width: 780px; margin: 0 auto;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--orange), #ff9a5c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  margin: 1.5rem auto 0; max-width: 580px;
  color: var(--text-muted); font-size: 1.15rem; line-height: 1.7;
}
.hero .cta-group {
  margin-top: 2.5rem; display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  transition: all var(--transition); cursor: pointer; border: none;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 0 0 0 var(--orange-glow), 0 2px 12px rgba(255,107,43,0.25);
}
.btn-primary:hover {
  background: var(--orange-dim);
  box-shadow: 0 0 0 4px var(--orange-glow), 0 4px 20px rgba(255,107,43,0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--orange); color: var(--orange);
  transform: translateY(-1px);
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin: 0 auto; max-width: 800px;
}
.stat-item {
  background: var(--surface); padding: 2rem 1.5rem; text-align: center;
}
.stat-item .number {
  font-size: 2rem; font-weight: 800; color: var(--orange);
  letter-spacing: -0.03em;
}
.stat-item .label {
  font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── CALCULATOR ── */
.calc-section {
  padding: 6rem 2rem; position: relative;
}
.calc-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--orange-glow), transparent 70%);
  pointer-events: none;
}
.section-header {
  text-align: center; margin-bottom: 3rem; position: relative;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.03em;
}
.section-header p {
  color: var(--text-muted); max-width: 520px; margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

.calc-container {
  max-width: 740px; margin: 0 auto; position: relative;
}
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc-tabs {
  display: flex; border-bottom: 1px solid var(--border);
}
.calc-tab {
  flex: 1; padding: 1rem 1.5rem;
  background: transparent; border: none; color: var(--text-muted);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); position: relative;
  font-family: inherit;
}
.calc-tab:hover { color: var(--text); }
.calc-tab.active {
  color: var(--orange);
}
.calc-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--orange);
}
.calc-body { padding: 2rem; }
.calc-tab-content { display: none; }
.calc-tab-content.active { display: block; }

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-2); margin-bottom: 0.4rem;
}
.form-group .hint {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem;
}
.form-row {
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.form-row .form-group { flex: 1; }

input[type="number"], input[type="text"], select {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-xs); color: var(--text);
  font-size: 0.95rem; font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}
input:focus, select:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
select { cursor: pointer; }

.kenteken-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-align: center;
}

.or-divider {
  text-align: center; color: var(--text-muted); font-size: 0.82rem;
  margin: 1.5rem 0; position: relative;
}
.or-divider::before, .or-divider::after {
  content: ''; position: absolute; top: 50%; height: 1px;
  background: var(--border); width: calc(50% - 2rem);
}
.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

.calc-btn {
  width: 100%; padding: 1rem; margin-top: 0.5rem;
  background: var(--orange); color: #fff; border: none;
  border-radius: var(--radius-sm); font-size: 1.05rem;
  font-weight: 700; cursor: pointer; font-family: inherit;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(255,107,43,0.25);
}
.calc-btn:hover {
  background: var(--orange-dim); transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,107,43,0.35);
}
.calc-btn:active { transform: translateY(0); }
.calc-btn:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none;
}

/* ── RESULTS ── */
.result-card {
  display: none; margin-top: 1.5rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  animation: slideIn 0.4s ease;
}
.result-card.visible { display: block; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-card .result-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.result-card .result-header h3 {
  font-size: 1.1rem; font-weight: 700;
}
.result-card .badge {
  background: var(--green-glow); color: var(--green);
  padding: 0.3rem 0.8rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; border: 1px solid rgba(52,211,153,0.2);
}
.result-card .badge.orange {
  background: var(--orange-glow); color: var(--orange);
  border-color: rgba(255,107,43,0.2);
}
.result-amounts {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem;
  padding: 1rem 0;
}
.result-amount {
  text-align: center; padding: 1rem 0.5rem;
  border-radius: var(--radius);
}
.result-amount-primary {
  background: var(--green-glow); border: 1px solid rgba(52,211,153,0.2);
}
.result-amount-secondary {
  background: var(--surface); border: 1px solid var(--border);
}
.result-amount .big-number {
  font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em;
  color: var(--text);
}
.result-amount-primary .big-number {
  color: var(--green);
}
.result-amount .big-number.orange {
  color: var(--orange);
}
.result-amount .big-label {
  font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.result-amount .sub-label {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem;
  opacity: 0.8;
}
.result-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.result-detail {
  background: var(--surface); padding: 0.75rem 1rem;
  border-radius: var(--radius-xs); border: 1px solid var(--border);
}
.result-detail .label {
  font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.04em;
}
.result-detail .value {
  font-size: 1.05rem; font-weight: 700; margin-top: 0.15rem;
}
.result-detail .value.green { color: var(--green); }
.result-detail .value.orange { color: var(--orange); }
.result-detail .value.red { color: var(--red); }

.result-breakdown {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.result-breakdown h4 {
  font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 0.75rem;
}
.breakdown-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(42,47,74,0.4);
  font-size: 0.92rem;
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .desc { color: var(--text-2); }
.breakdown-row .amount { font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.breakdown-row .amount.positive { color: var(--green); }
.breakdown-row .amount.negative { color: var(--red); }

.result-cta {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  text-align: center;
}
.result-cta p {
  color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem;
}

/* ── LOADING ── */
.loading-overlay {
  display: none; position: absolute; inset: 0; z-index: 10;
  background: rgba(6,8,13,0.85); border-radius: var(--radius);
  justify-content: center; align-items: center; flex-direction: column; gap: 1rem;
}
.loading-overlay.visible { display: flex; }
.spinner {
  width: 40px; height: 40px; border: 3px solid var(--border);
  border-top-color: var(--orange); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay .loading-text { color: var(--text-muted); font-size: 0.9rem; }

/* ── HOW IT WORKS ── */
.how-section {
  padding: 6rem 2rem;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1000px; margin: 0 auto;
  margin-top: 3rem;
}
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: all var(--transition); position: relative;
}
.step-card:hover {
  border-color: var(--orange); transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 0 1px var(--orange);
}
.step-number {
  font-size: 3rem; font-weight: 900; color: var(--orange);
  opacity: 0.2; position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1;
}
.step-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--orange-glow); display: flex;
  align-items: center; justify-content: center; margin-bottom: 1rem;
  font-size: 1.5rem;
}
.step-card h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem;
}
.step-card p {
  color: var(--text-muted); font-size: 0.92rem;
}

/* ── INFO SECTION ── */
.info-section {
  padding: 6rem 2rem;
  background: var(--bg-2);
}
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 3rem auto 0;
}
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.info-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.info-card h3 .icon { font-size: 1.2rem; }
.info-card p, .info-card ul {
  color: var(--text-muted); font-size: 0.92rem;
}
.info-card ul { padding-left: 1.25rem; }
.info-card ul li { margin-bottom: 0.4rem; }

/* ── AFSCHRIJVINGSTABEL ── */
.table-section {
  padding: 6rem 2rem;
}
.table-container {
  max-width: 600px; margin: 3rem auto 0;
  overflow-x: auto;
}
table.bpm-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden;
}
table.bpm-table th {
  background: var(--surface-2); color: var(--text-muted);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 1rem 1.25rem; text-align: left; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
table.bpm-table td {
  padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
table.bpm-table tr:last-child td { border-bottom: none; }
table.bpm-table .highlight-row {
  background: var(--orange-glow);
}
table.bpm-table td:first-child { font-weight: 600; }
table.bpm-table td:last-child {
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
}

/* ── FAQ ── */
.faq-section {
  padding: 6rem 2rem;
  background: var(--bg-2);
}
.faq-list {
  max-width: 740px; margin: 3rem auto 0;
}
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 0.75rem;
  overflow: hidden; transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--surface-3); }
.faq-item.open { border-color: var(--orange); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.5rem; cursor: pointer; user-select: none;
  font-weight: 600; font-size: 0.95rem;
}
.faq-question .arrow {
  transition: transform var(--transition); color: var(--text-muted);
  font-size: 0.8rem;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); color: var(--orange); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-content {
  padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: 0.92rem;
  line-height: 1.7;
}

/* ── CTA ── */
.cta-section {
  padding: 6rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, var(--orange-glow), transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.03em; position: relative;
}
.cta-section p {
  color: var(--text-muted); max-width: 600px; margin: 1rem auto 2rem;
  font-size: 1.05rem; position: relative;
}

/* ── PRICING CARDS ── */
.pricing-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 900px; margin: 2rem auto 0;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: left; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.pricing-popular {
  border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange);
}
.pricing-popular:hover { box-shadow: 0 8px 30px rgba(255,107,43,0.25); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--border); padding: 0.25rem 1rem;
  border-radius: 1rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.pricing-popular .pricing-badge { background: var(--orange); color: #fff; border-color: var(--orange); }
.pricing-card h3 { font-size: 1.2rem; margin: 0.75rem 0 0.25rem; }
.pricing-amount { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; color: var(--text); }
.pricing-popular .pricing-amount { color: var(--orange); }
.pricing-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.9rem; }
.pricing-features li { padding: 0.35rem 0; color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.05); }
.pricing-features li:last-child { border-bottom: none; }

/* ── LEAD FORM ── */
.lead-form-box {
  max-width: 600px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
}
.lead-form-box h3 { margin-top: 0; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }

/* ── MOBILE PRICING ── */
@media (max-width: 768px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
  .form-row { flex-direction: column; gap: 0; }
}

/* ── FOOTER ── */
footer {
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
footer p {
  color: var(--text-muted); font-size: 0.82rem;
}
footer a { color: var(--orange); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── ERROR STATE ── */
.error-msg {
  display: none;
  background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3);
  color: var(--red); padding: 0.75rem 1rem;
  border-radius: var(--radius-xs); font-size: 0.88rem;
  margin-top: 0.75rem;
}
.error-msg.visible { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 1rem; }
  nav ul {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: rgba(6, 8, 13, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 0;
    overflow-y: auto;
    z-index: 99;
  }
  nav ul.open { display: flex; }
  nav ul li { border-bottom: 1px solid var(--border); }
  nav ul li a {
    display: block; padding: 1rem 0.5rem;
    font-size: 1.05rem; font-weight: 600;
  }
  .mobile-toggle { display: block; z-index: 101; }

  /* Hero */
  .hero { padding: 7rem 1.25rem 3rem; min-height: auto; }
  .hero h1 { font-size: 2rem !important; line-height: 1.15; }
  .hero .subtitle { font-size: 1rem; }
  .hero .cta-group { flex-direction: column; align-items: stretch; }
  .hero .cta-group .btn { text-align: center; }

  /* Stats */
  .stats-bar { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-item .number { font-size: 1.5rem; }

  /* Calculator */
  .calc-section { padding: 3rem 1rem; }
  .calc-body { padding: 1.25rem; }
  .form-row { flex-direction: column; }
  .calc-tab { padding: 0.75rem 1rem; font-size: 0.82rem; }

  /* Results */
  .result-details { grid-template-columns: 1fr; }
  .result-amount .big-number { font-size: 2.5rem; }
  .result-amounts { grid-template-columns: 1fr; gap: 0.75rem; }
  .result-card { padding: 1.5rem; }

  /* How it works */
  .how-section { padding: 3rem 1.25rem; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .step-card { padding: 1.5rem; }

  /* Info section */
  .info-section { padding: 3rem 1.25rem; }
  .info-grid { grid-template-columns: 1fr; }

  /* Table */
  .table-section { padding: 3rem 1.25rem; }
  .table-container { margin-top: 2rem; }
  table.bpm-table th, table.bpm-table td { padding: 0.65rem 0.75rem; font-size: 0.85rem; }

  /* FAQ */
  .faq-section { padding: 3rem 1.25rem; }
  .faq-question { padding: 1rem 1.25rem; font-size: 0.9rem; }

  /* CTA */
  .cta-section { padding: 3rem 1.25rem; }

  /* Content pages */
  .content-hero { padding: 7rem 1.25rem 2.5rem; min-height: auto; }
  .content-hero-inner h1 { font-size: 1.7rem !important; }
  .content-section { padding: 2rem 1.25rem; }
  .content-section .content-grid-two { grid-template-columns: 1fr; }
  .content-prose h2 { font-size: 1.35rem; }
  .content-prose h3 { font-size: 1.05rem; }

  /* Contact form */
  .content-prose form input[type="text"],
  .content-prose form input[type="email"],
  .content-prose form input[type="tel"],
  .content-prose form textarea {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  /* Blog */
  .blog-meta { flex-direction: column; gap: 0.5rem; }
  .blog-cta { padding: 1.5rem; }
  .blog-index-card { padding: 1.25rem; }
  .blog-index-card-content h2 { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem !important; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { padding: 1rem; }
  .calc-body { padding: 1rem; }
  .result-amount .big-number { font-size: 1.6rem; }
  .result-amounts { grid-template-columns: 1fr; gap: 0.5rem; }
  .content-hero-inner h1 { font-size: 1.45rem !important; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }

/* ═══════════════════════════════════════════════════════════
   CONTENT PAGES (bpm-teruggave, export-auto, etc.)
   ═══════════════════════════════════════════════════════════ */

.content-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 4rem;
  position: relative;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.content-hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.content-hero-inner h1 .highlight {
  color: var(--orange);
}

.content-hero-inner .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

.content-section {
  padding: 4rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.content-section .content-grid-two {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.content-prose {
  max-width: 760px;
}

.content-prose h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
  scroll-margin-top: 80px;
}

.content-prose h2:first-child {
  margin-top: 0;
}

.content-prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.content-prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-2);
}

.content-prose ul,
.content-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--text-2);
}

.content-prose li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.content-prose a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}

.content-prose a:hover {
  color: #fff;
  text-decoration: underline;
}

.content-prose strong {
  color: var(--text);
  font-weight: 600;
}

.content-prose .formula-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.content-prose .formula-box p {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}

.content-prose .formula-box p:last-child {
  margin-bottom: 0;
}

.content-sidebar .info-card {
  margin-bottom: 1.25rem;
}

.content-sidebar .info-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.content-sidebar .info-card ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.content-sidebar .info-card li {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.content-sidebar .info-card a {
  color: var(--orange);
  text-decoration: none;
}

.phone-link {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange) !important;
  text-decoration: none;
  transition: color var(--transition);
}

.phone-link:hover {
  color: #fff !important;
}

/* Contact form styles */
.content-prose form .form-group {
  margin-bottom: 1.25rem;
}

.content-prose form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.content-prose form input[type="text"],
.content-prose form input[type="email"],
.content-prose form input[type="tel"],
.content-prose form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.content-prose form input:focus,
.content-prose form textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.content-prose form textarea {
  resize: vertical;
  min-height: 120px;
}

.content-prose form .hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--orange);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   BLOG STYLES
   ═══════════════════════════════════════════════════════════ */

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.blog-meta .blog-date,
.blog-meta .blog-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-meta .blog-date::before {
  content: '📅';
  font-size: 0.85rem;
}

.blog-meta .blog-reading-time::before {
  content: '⏱';
  font-size: 0.85rem;
}

/* Blog CTA block */
.blog-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.blog-cta h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-cta p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* Blog related posts */
.blog-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-related h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-related ul li {
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.blog-related ul li:hover {
  border-color: var(--orange);
}

.blog-related ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
}

.blog-related ul li a:hover {
  color: var(--orange);
}

/* Blog index card list */
.blog-index-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-index-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  transition: all var(--transition);
}

.blog-index-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 0 1px var(--orange);
}

.blog-index-card-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.3;
}

.blog-index-card:hover .blog-index-card-content h2 {
  color: var(--orange);
}

.blog-index-card-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.blog-index-card-content .blog-index-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.7;
}

