/* WarmtepompOffertes.eu — Hoofdstylesheet */
/* Google Fonts worden geladen via HTML <link> */

/* ─── CSS Variabelen ─────────────────────────────────────────────────────── */
:root {
  --groen:        #1B5E3B;
  --groen-licht:  #2D8A5E;
  --groen-hover:  #164d30;
  --wit:          #FAFAF8;
  --grijs-licht:  #F0EFE9;
  --grijs:        #6B6B6B;
  --tekst:        #1A1A1A;
  --rood:         #c0392b;
  --oranje:       #f39c12;
  --radius:       12px;
  --schaduw:      0 4px 24px rgba(0,0,0,0.08);
  --schaduw-hover:0 8px 32px rgba(0,0,0,0.14);
  --transition:   0.2s ease;
}

/* ─── Reset & Basis ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--wit);
  color: var(--tekst);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--groen); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Typografie ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.2;
  color: var(--tekst);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--grijs); line-height: 1.7; }

/* ─── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sectie { padding: 80px 0; }
.sectie-sm { padding: 48px 0; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--groen);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tekst);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.header-tel::before {
  content: '📞';
  font-size: 1rem;
}

.header-tel:hover { color: var(--groen); text-decoration: none; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-groen {
  background: var(--groen);
  color: #fff;
}

.btn-groen:hover {
  background: var(--groen-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,94,59,0.3);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--groen);
  border: 2px solid var(--groen);
}

.btn-outline:hover {
  background: var(--groen);
  color: #fff;
  text-decoration: none;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #edf7f1 0%, #f5faf7 60%, var(--grijs-licht) 100%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(27,94,59,0.05);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-kop { color: var(--tekst); margin-bottom: 20px; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--grijs);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(27,94,59,0.08);
  color: var(--groen);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge::before { content: '✓'; font-weight: 700; }

/* Hero formulier kaart rechts */
.hero-form-kaart {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--schaduw);
}

/* ─── Trust bar ──────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--grijs-licht);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 18px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--tekst);
  font-weight: 500;
}

.trust-item .icoon {
  font-size: 1.1rem;
}

/* ─── Multi-step formulier ───────────────────────────────────────────────── */
.form-sectie {
  padding: 80px 0;
  background: var(--wit);
}

.form-sectie-titel {
  text-align: center;
  margin-bottom: 48px;
}

.form-sectie-titel h2 { margin-bottom: 12px; }
.form-sectie-titel p { font-size: 1.05rem; }

.form-kaart {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
}

/* Progress bar */
.progress-wrap {
  margin-bottom: 32px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress-label {
  font-size: 0.8rem;
  color: var(--grijs);
  font-weight: 500;
}

.progress-label.actief { color: var(--groen); font-weight: 600; }
.progress-label.klaar  { color: var(--groen); }

.progress-balk {
  height: 6px;
  background: var(--grijs-licht);
  border-radius: 100px;
  overflow: hidden;
}

.progress-vulling {
  height: 100%;
  background: var(--groen);
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* Stap container */
.stap {
  display: none;
}

.stap.actief {
  display: block;
  animation: inSchuiven 0.3s ease;
}

@keyframes inSchuiven {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.stap-titel {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--tekst);
  margin-bottom: 8px;
}

.stap-sub {
  color: var(--grijs);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* Form velden */
.veld-groep {
  margin-bottom: 20px;
}

.veld-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--tekst);
  margin-bottom: 6px;
}

.veld-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E5E0;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--tekst);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.veld-input:focus {
  border-color: var(--groen);
  box-shadow: 0 0 0 3px rgba(27,94,59,0.1);
}

.veld-input.fout {
  border-color: var(--rood);
}

.fout-bericht {
  display: none;
  color: var(--rood);
  font-size: 0.85rem;
  margin-top: 6px;
}

.fout-bericht.zichtbaar { display: block; }

/* Radio kaarten */
.radio-kaarten {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.radio-kaarten.drie-kolommen {
  grid-template-columns: repeat(3, 1fr);
}

.radio-kaart {
  position: relative;
}

.radio-kaart input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-kaart-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border: 2px solid #E5E5E0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  background: #fff;
  min-height: 80px;
}

.radio-kaart-label:hover {
  border-color: var(--groen-licht);
  background: #f5fbf7;
}

.radio-kaart input:checked + .radio-kaart-label {
  border-color: var(--groen);
  background: #edf7f1;
  box-shadow: 0 0 0 2px rgba(27,94,59,0.15);
}

.radio-kaart-icoon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.radio-kaart-tekst {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tekst);
  line-height: 1.3;
}

.radio-kaart input:checked + .radio-kaart-label .radio-kaart-tekst {
  color: var(--groen);
}

/* Checkbox */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 4px 0;
}

.checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--groen);
  cursor: pointer;
  margin-top: 2px;
}

.checkbox-tekst {
  font-size: 0.875rem;
  color: var(--grijs);
  line-height: 1.5;
}

/* Formulier navigatie */
.form-navigatie {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}

.btn-terug {
  background: none;
  border: none;
  color: var(--grijs);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}

.btn-terug:hover {
  background: var(--grijs-licht);
  color: var(--tekst);
}

.btn-volgende {
  margin-left: auto;
}

/* Spinner in submit knop */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: draaien 0.7s linear infinite;
  display: none;
}

.laadt .spinner { display: block; }
.laadt .knop-tekst { display: none; }

@keyframes draaien {
  to { transform: rotate(360deg); }
}

/* Algemene fout in formulier */
.form-fout {
  background: #fdf2f2;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-fout.zichtbaar { display: block; }

/* ─── Hoe het werkt ───────────────────────────────────────────────────────── */
.hoe-werkt {
  background: var(--grijs-licht);
}

.stappen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.stap-kaart {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--schaduw);
  position: relative;
}

.stap-nummer {
  width: 48px;
  height: 48px;
  background: var(--groen);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.stap-kaart h3 { margin-bottom: 10px; font-size: 1.1rem; }
.stap-kaart p  { font-size: 0.9rem; }

/* ─── Voordelen ──────────────────────────────────────────────────────────── */
.voordelen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.voordeel-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}

.voordeel-icoon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voordeel-item h3 { font-size: 1rem; margin-bottom: 6px; }
.voordeel-item p  { font-size: 0.875rem; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq { background: var(--wit); }

.faq-lijst {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid #E5E5E0;
}

.faq-vraag {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tekst);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-pijl {
  font-size: 1.2rem;
  color: var(--groen);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-pijl { transform: rotate(180deg); }

.faq-antwoord {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-antwoord {
  max-height: 300px;
}

.faq-antwoord-inhoud {
  padding: 0 0 20px;
  color: var(--grijs);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── CTA sectie ─────────────────────────────────────────────────────────── */
.cta-sectie {
  background: var(--groen);
  padding: 64px 0;
  text-align: center;
}

.cta-sectie h2 { color: #fff; margin-bottom: 12px; }
.cta-sectie p  { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }

.btn-wit {
  background: #fff;
  color: var(--groen);
  font-weight: 700;
}

.btn-wit:hover {
  background: #f0f0f0;
  color: var(--groen);
  text-decoration: none;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: #122b1e;
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-top: 8px;
}

/* ─── Bedankpagina ───────────────────────────────────────────────────────── */
.bedankt-sectie {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.vinkmark-cirkel {
  width: 96px;
  height: 96px;
  background: var(--groen);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  animation: opSchalen 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes opSchalen {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.vinkmark {
  color: #fff;
  font-size: 2.5rem;
  animation: inFaden 0.3s ease 0.3s both;
}

@keyframes inFaden {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.bedankt-stappen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 32px auto;
  text-align: left;
}

.bedankt-stap {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--grijs-licht);
  padding: 16px 20px;
  border-radius: 8px;
}

.bedankt-stap-nr {
  width: 28px;
  height: 28px;
  background: var(--groen);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bedankt-stap-tekst h4 { font-size: 0.95rem; margin-bottom: 2px; }
.bedankt-stap-tekst p  { font-size: 0.875rem; }

/* ─── Admin Dashboard ─────────────────────────────────────────────────────── */
.admin-body {
  background: #f4f5f7;
  min-height: 100vh;
}

.admin-header {
  background: var(--groen);
  color: #fff;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header .logo { color: #fff; }

.admin-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.admin-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.admin-nav a:hover { color: #fff; }

.admin-uitloggen {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.875rem !important;
}

.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.admin-paginatitel {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: var(--tekst);
  margin-bottom: 24px;
}

/* Statistieken kaartjes */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-kaart {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--schaduw);
}

.stat-getal {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--groen);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--grijs);
}

/* Filter sectie */
.filters-kaart {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--schaduw);
  margin-bottom: 24px;
}

.filters-rij {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.filter-groep {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-groep label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grijs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-groep select,
.filter-groep input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.filter-groep select:focus,
.filter-groep input:focus {
  border-color: var(--groen);
}

/* Leads tabel */
.tabel-kaart {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  overflow: hidden;
}

.tabel-kaart table {
  width: 100%;
  border-collapse: collapse;
}

.tabel-kaart thead th {
  background: #f8f9fa;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grijs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #eee;
}

.tabel-kaart tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition);
}

.tabel-kaart tbody tr:hover { background: #fafafa; }

.tabel-kaart td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--tekst);
}

/* Rij kleuren */
.rij-conflict { background: #fff5f5 !important; border-left: 3px solid var(--rood); }
.rij-installatie { background: #f0fff4 !important; border-left: 3px solid var(--groen); }
.rij-offerte { background: #fffdf0 !important; border-left: 3px solid var(--oranje); }

/* Status badges */
.badge-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-nieuw         { background: #e3f2fd; color: #1565c0; }
.badge-doorgezonden  { background: #fff3e0; color: #e65100; }
.badge-geaccepteerd  { background: #e8f5e9; color: #2e7d32; }
.badge-contact       { background: #f3e5f5; color: #6a1b9a; }
.badge-offerte       { background: #fef9c3; color: #854d0e; }
.badge-installatie   { background: #d4edda; color: #155724; }
.badge-verloren      { background: #f0f0f0; color: #999; }

/* Admin actie link */
.actie-link {
  color: var(--groen);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.875rem;
}

.actie-link:hover { text-decoration: underline; }

/* Paginering */
.paginering {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border-top: 1px solid #f0f0f0;
}

.paginering a, .paginering span {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.paginering a {
  color: var(--groen);
  text-decoration: none;
  border: 1px solid #eee;
}

.paginering a:hover { background: var(--grijs-licht); }

.paginering .actief {
  background: var(--groen);
  color: #fff;
}

/* Admin lead detail */
.lead-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.detail-kaart {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--schaduw);
  margin-bottom: 24px;
}

.detail-kaart h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.detail-rij {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f8f8f8;
  font-size: 0.9rem;
}

.detail-rij:last-child { border-bottom: none; }
.detail-label { color: var(--grijs); min-width: 160px; flex-shrink: 0; }
.detail-waarde { color: var(--tekst); font-weight: 500; }

/* Tijdlijn */
.tijdlijn { position: relative; padding-left: 24px; }

.tijdlijn::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: #eee;
}

.tijdlijn-item {
  position: relative;
  padding: 0 0 20px 20px;
}

.tijdlijn-item::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--groen);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--groen);
}

.tijdlijn-datum {
  font-size: 0.8rem;
  color: var(--grijs);
  margin-bottom: 2px;
}

.tijdlijn-event {
  font-weight: 600;
  color: var(--tekst);
  font-size: 0.9rem;
}

.tijdlijn-actor {
  font-size: 0.8rem;
  color: var(--grijs);
}

.tijdlijn-notitie {
  font-size: 0.85rem;
  color: var(--grijs);
  margin-top: 4px;
  font-style: italic;
}

/* Conflict waarschuwing */
.conflict-banner {
  background: #fff5f5;
  border: 2px solid var(--rood);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #721c24;
  font-weight: 500;
}

/* Factureerbaar banner */
.factureerbaar-banner {
  background: #d4edda;
  border: 2px solid var(--groen);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #155724;
  font-weight: 500;
}

/* Admin formulieren */
.admin-form-groep {
  margin-bottom: 16px;
}

.admin-form-groep label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grijs);
  margin-bottom: 6px;
}

.admin-form-groep select,
.admin-form-groep textarea,
.admin-form-groep input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.admin-form-groep select:focus,
.admin-form-groep textarea:focus,
.admin-form-groep input:focus {
  border-color: var(--groen);
}

.admin-form-groep textarea { resize: vertical; min-height: 80px; }

.btn-admin {
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-admin-groen {
  background: var(--groen);
  color: #fff;
}

.btn-admin-groen:hover { background: var(--groen-hover); }

.btn-admin-grijs {
  background: var(--grijs-licht);
  color: var(--tekst);
}

/* Login pagina */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grijs-licht);
  padding: 24px;
}

.login-kaart {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--schaduw);
}

.login-kaart h1 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 8px;
}

.login-kaart .sub {
  text-align: center;
  color: var(--grijs);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Melding berichten */
.melding {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.melding-fout   { background: #fdf2f2; color: #721c24; border: 1px solid #f5c6cb; }
.melding-succes { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ─── Responsive: 1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-form-kaart { max-width: 560px; margin: 0 auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .lead-detail-grid { grid-template-columns: 1fr; }
}

/* ─── Responsive: 768px ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .stappen-grid    { grid-template-columns: 1fr; gap: 20px; }
  .voordelen-grid  { grid-template-columns: 1fr; }
  .radio-kaarten.drie-kolommen { grid-template-columns: repeat(2, 1fr); }

  .form-kaart { padding: 28px 20px; }

  .admin-header { padding: 16px; flex-wrap: wrap; gap: 12px; }
  .admin-main   { padding: 20px 16px; }

  .filters-rij { flex-direction: column; }

  .tabel-kaart { overflow-x: auto; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ─── Responsive: 480px ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }

  h1 { font-size: 1.8rem; }

  .hero-badges { gap: 8px; }
  .badge { font-size: 0.8rem; padding: 5px 10px; }

  .radio-kaarten { grid-template-columns: 1fr 1fr; }
  .radio-kaarten.drie-kolommen { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-getal { font-size: 1.8rem; }

  .form-navigatie { flex-wrap: wrap; }

  .login-kaart { padding: 32px 24px; }

  .tabel-kaart table { font-size: 0.85rem; }
  .tabel-kaart td, .tabel-kaart thead th { padding: 10px 10px; }

  .sectie { padding: 48px 0; }
}
