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

:root {
  --groen: #16a34a;
  --groen-donker: #15803d;
  --groen-licht: #dcfce7;
  --groen-zacht: #f0fdf4;
  --amber: #f59e0b;
  --amber-licht: #fef3c7;
  --blauw-rvo: #147ABE;
  --tekst: #1c1c1c;
  --tekst-zacht: #6b7280;
  --grijs: #e8e3da;
  --grijs-licht: #F8F6F2;
  --wit: #ffffff;
  --radius: 12px;
  --radius-groot: 20px;
  --schaduw: 0 2px 16px rgba(0,0,0,0.07);
  --schaduw-hover: 0 6px 24px rgba(0,0,0,0.13);
  --font-kop: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--grijs-licht);
  color: var(--tekst);
  min-height: 100vh;
  line-height: 1.65;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px 100px; /* ruimte voor bottom bar */
}

/* Verberg losse navigatieknoppen — bottom bar neemt dit over */
#btn-ophalen,
#btn-naar-isolatie,
#btn-naar-details,
#btn-naar-subsidies,
#btn-naar-docs,
#btn-naar-aanvraag,
#btn-terug-adres,
#btn-terug-woning,
#btn-terug-isolatie,
#btn-terug-details,
#btn-terug-subsidies {
  display: none !important;
}

.verborgen { display: none !important; }

/* Stappen */
.stap {
  display: none;
  min-height: 100vh;
}
.stap.actief {
  display: block;
}
.stap.verborgen {
  display: none;
}

/* ===== PERSISTENTE HEADER ===== */
.app-header {
  background: var(--wit);
  border-bottom: 1px solid var(--grijs);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
}
.app-header-logo {
  font-family: var(--font-kop);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tekst);
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo-img {
  width: 52px;
  height: 52px;
}

/* ===== BOTTOM BAR ===== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--wit);
  border-top: 1px solid var(--grijs);
  padding: 12px 16px;
  z-index: 100;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
}
.bottom-bar-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.bottom-bar-terug {
  flex-shrink: 0;
  padding: 14px 18px;
  background: var(--grijs-licht);
  border: 2px solid var(--grijs);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  color: var(--tekst-zacht);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.bottom-bar-terug:hover {
  background: var(--groen-licht);
  border-color: var(--groen);
  color: var(--groen-donker);
}
.bottom-bar-inner .btn-primair {
  flex: 1;
  margin-top: 0;
  padding: 14px;
  font-size: 1rem;
}

/* ===== STAP-INDICATOR ===== */
.stap-indicator {
  display: none;
  background: var(--wit);
  border-bottom: 1px solid var(--grijs);
  padding: 10px 16px;
  position: sticky;
  top: 73px;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  flex-direction: column;
}
.stap-indicator-stappen {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Alle stappen: standaard klein */
.si-stap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.si-bol {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e9ecef;
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
  position: relative;
}
.si-nr { transition: opacity 0.2s; }
.si-vink {
  position: absolute;
  opacity: 0;
  font-size: 0.7rem;
  transition: opacity 0.2s;
}
.si-label {
  font-size: 0;          /* verborgen op niet-actieve stappen */
  font-weight: 700;
  color: #9ca3af;
  white-space: nowrap;
  transition: font-size 0.25s, color 0.25s;
  line-height: 1;
  overflow: hidden;
  max-height: 0;
}

/* Actieve stap: groter + label zichtbaar */
.si-stap.si-actief .si-bol {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
  background: var(--groen);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.si-stap.si-actief .si-label {
  font-size: 0.72rem;
  color: var(--groen-donker);
  max-height: 20px;
}

/* Afgeronde stap */
.si-stap.si-gedaan .si-bol {
  background: var(--groen-licht);
  color: var(--groen-donker);
}
.si-stap.si-gedaan .si-nr   { opacity: 0; }
.si-stap.si-gedaan .si-vink { opacity: 1; color: var(--groen-donker); font-size: 0.65rem; }

/* Verbindingslijn */
.si-lijn {
  flex: 1;
  height: 2px;
  background: #e9ecef;
  margin: 0 4px;
  margin-bottom: 14px; /* uitlijnen met midden van bollen */
  transition: background 0.4s;
  border-radius: 2px;
}
.si-lijn.si-lijn-gedaan {
  background: var(--groen-licht);
}

/* ===== TYPOGRAFIE ===== */

h1 {
  font-family: var(--font-kop);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--tekst);
  letter-spacing: -0.2px;
}

h2 {
  font-family: var(--font-kop);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--tekst);
  letter-spacing: -0.2px;
}

h3 {
  font-family: var(--font-kop);
  font-weight: 600;
}

.intro {
  font-size: 1.05rem;
  color: var(--tekst-zacht);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Zoekbalk */
.zoekbalk-wrapper {
  position: relative;
  margin-bottom: 16px;
}

#adres-input {
  width: 100%;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  border: 2.5px solid var(--grijs);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}
#adres-input:focus {
  border-color: var(--groen);
  box-shadow: 0 0 0 3px var(--groen-licht);
}

.suggesties {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 100;
  overflow: hidden;
}
.suggesties.verborgen {
  display: none;
}

.suggestie-item {
  padding: 14px 20px;
  cursor: pointer;
  font-size: 0.95rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.1s;
}
.suggestie-item:last-child {
  border-bottom: none;
}
.suggestie-item:hover {
  background: #f0f4ff;
}
.suggestie-item .straat {
  font-weight: 600;
}
.suggestie-item .gemeente {
  color: #6b7280;
  font-size: 0.85rem;
}

/* Knoppen */
.btn-primair {
  width: 100%;
  padding: 18px;
  background: var(--groen);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 12px rgba(22,163,74,0.25);
}
.btn-primair:hover:not(:disabled) {
  background: var(--groen-donker);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.35);
}
.btn-primair:active:not(:disabled) {
  transform: translateY(0);
}
.btn-primair:disabled {
  background: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.terug {
  color: var(--groen);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.terug:hover {
  text-decoration: underline;
}

/* Laad-indicator */
.laad-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: #6b7280;
}
.laad-indicator.verborgen {
  display: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Woningkaart */
.woning-kaart {
  background: var(--wit);
  border-radius: var(--radius-groot);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--schaduw);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.adres-regel {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.luchtfoto-wrapper {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.luchtfoto-wrapper.verborgen {
  display: none;
}

.luchtfoto {
  width: 100%;
  display: block;
}

.luchtfoto {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.data-waarde--klein {
  font-size: 1rem;
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.data-item--full {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
}

.kadaster-grid {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.data-peildatum {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 2px;
}

.data-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.data-waarde {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Energielabel kleuren */
.energielabel[data-label="A++"],
.energielabel[data-label="A+"],
.energielabel[data-label="A"] {
  color: #16a34a;
}
.energielabel[data-label="B"] { color: #65a30d; }
.energielabel[data-label="C"] { color: #ca8a04; }
.energielabel[data-label="D"] { color: #d97706; }
.energielabel[data-label="E"] { color: #ea580c; }
.energielabel[data-label="F"],
.energielabel[data-label="G"] { color: #dc2626; }

/* WOZ invoer */
.woz-invoer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.woz-invoer input {
  width: 100%;
  padding: 8px 10px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
}
.woz-invoer input:focus {
  border-color: #2563eb;
}
.woz-invoer small {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 400;
}
.woz-invoer a {
  color: #2563eb;
}

/* Foutmelding */
.foutmelding {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ===== FASE 2: ISOLATIE KIEZEN ===== */

.isolatie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.isolatie-grid {
  /* licht lavendel achtergrond à la Odido */
  background: #eef2ff;
  border-radius: 20px;
  padding: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.isolatie-kaart {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 22px 12px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.25s;
  user-select: none;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.isolatie-kaart:hover {
  border-color: var(--groen);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34,197,94,0.18);
}
.isolatie-kaart.geselecteerd {
  border-color: var(--groen);
  background: var(--groen-zacht);
  box-shadow: 0 0 0 3px var(--groen-licht);
}
.isolatie-kaart.geselecteerd::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 22px;
  height: 22px;
  background: var(--groen);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 22px;
}

/* Gradient lijn-icoon (Odido-stijl) */
.isolatie-icoon-grad {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.isolatie-icoon-grad svg {
  width: 64px;
  height: 64px;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s ease, transform 0.2s ease;
}
.isolatie-kaart:hover .isolatie-icoon-grad svg {
  filter: none;
  transform: scale(1.08);
}
.isolatie-kaart.geselecteerd .isolatie-icoon-grad svg {
  filter: none;
  transform: scale(1.05);
}

.isolatie-naam {
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 3px;
  color: var(--tekst);
}
.isolatie-tarief {
  font-size: 0.78rem;
  color: var(--groen);
  font-weight: 700;
}

/* ===== ISOLATIE PAGINERING ===== */
.isolatie-pagina {
  display: none;
}
.isolatie-pagina.actief {
  display: block;
}
.ip-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.ip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grijs);
  transition: background 0.2s, transform 0.2s;
}
.ip-dot.actief {
  background: var(--groen);
  transform: scale(1.3);
}
.ip-kop {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ip-emoji {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}
.ip-titel {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0;
}
.ip-sub {
  font-size: 0.82rem;
  color: var(--tekst-zacht);
  margin: 2px 0 0;
}

/* ===== FASE 2b: DETAILS ===== */

.details-sectie {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.details-maatregel-naam {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.details-label {
  display: block;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 8px;
}

.details-hint {
  font-size: 0.8rem;
  color: #9ca3af;
  display: block;
  margin-top: 2px;
}

.details-eis {
  font-size: 0.82rem;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

/* Stepper */
.stepper-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--wit);
  border: 2.5px solid var(--grijs);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stepper-wrap:focus-within {
  border-color: var(--groen);
  box-shadow: 0 0 0 3px var(--groen-licht);
}
.stepper-btn {
  width: 56px;
  min-width: 56px;
  height: 60px;
  background: var(--grijs-licht);
  border: none;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--tekst);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stepper-btn:hover {
  background: var(--groen-licht);
  color: var(--groen-donker);
}
.stepper-btn:active {
  background: var(--groen);
  color: white;
}
.stepper-input {
  flex: 1;
  min-width: 0;
  padding: 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  border: none;
  outline: none;
  text-align: center;
  background: transparent;
  color: var(--tekst);
  -moz-appearance: textfield;
}
.stepper-input::-webkit-inner-spin-button,
.stepper-input::-webkit-outer-spin-button {
  display: none;
}
.stepper-eenheid {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tekst-zacht);
  padding-right: 12px;
  white-space: nowrap;
}
.stepper-wrap.input-fout {
  border-color: #dc2626;
}
.details-m2-input.input-fout,
.details-kw-input.input-fout {
  /* fout nu op stepper-wrap gezet via JS */
}

/* Legacy — voor velden buiten stepper */
.details-m2-input,
.details-kw-input {
  font-family: 'Nunito', sans-serif;
}

.radio-groep {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-optie {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  cursor: pointer;
}
.radio-optie input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
}

.checkbox-optie {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  cursor: pointer;
}
.checkbox-optie input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2563eb;
  cursor: pointer;
  flex-shrink: 0;
}

.foutmelding-inline {
  font-size: 0.85rem;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 8px;
}
.foutmelding-inline.verborgen {
  display: none;
}

.details-sectie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.details-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 99px;
  padding: 3px 10px;
}

/* ===== FASE 3: SUBSIDIES ===== */

.subsidie-melding {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.subsidie-melding--waarschuwing {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
.subsidie-melding--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.totaal-banner {
  background: linear-gradient(135deg, var(--groen), var(--groen-donker));
  color: white;
  border-radius: var(--radius-groot);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(22,163,74,0.3);
}
.totaal-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 8px;
  font-weight: 600;
}
.totaal-bedrag {
  font-family: var(--font-kop);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.totaal-texel-label {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
}

.subsidie-kaart {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.subsidie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.subsidie-label {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.subsidie-label--nationaal { background: #dbeafe; color: #1d4ed8; }
.subsidie-label--gemeente  { background: #dcfce7; color: #15803d; }
.subsidie-label--info      { background: #fef9c3; color: #854d0e; }

.subsidie-bedrag {
  font-size: 1.2rem;
  font-weight: 800;
  color: #16a34a;
}
.subsidie-bedrag.negatief { color: #dc2626; }

.subsidie-naam {
  font-weight: 600;
  margin-bottom: 4px;
}
.subsidie-toelichting {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
}
.subsidie-link {
  font-size: 0.85rem;
  color: #2563eb;
  text-decoration: none;
}
.subsidie-link:hover { text-decoration: underline; }

.geen-subsidies {
  color: #6b7280;
  text-align: center;
  padding: 24px 0;
}

/* Mobiel */
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .data-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .data-waarde { font-size: 1.1rem; }
  .isolatie-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .totaal-bedrag { font-size: 2rem; }
}

/* ===== CHECKLIST ===== */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--wit);
  border: 2.5px solid var(--grijs);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.checklist-item:hover {
  border-color: var(--groen);
  box-shadow: var(--schaduw);
}
.checklist-item--gereed {
  border-color: var(--groen);
  background: var(--groen-zacht);
}
.checklist-item--fout {
  border-color: #dc2626;
  background: #fef2f2;
  animation: schud 0.3s ease;
}
@keyframes schud {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.checklist-checkbox {
  display: none;
}
.checklist-content {
  flex: 1;
}
.checklist-titel {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist-icoon {
  font-size: 1.2rem;
}
.checklist-uitleg {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
}
.checklist-vinkje {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s;
}
.checklist-item--gereed .checklist-vinkje {
  background: var(--groen);
  border-color: var(--groen);
  color: #fff;
}
/* Context-hints ("waarom vul ik dit in") */
.waarom-hint {
  background: var(--amber-licht);
  border-radius: 10px;
  padding: 12px 16px 12px 44px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #78350f;
  margin-bottom: 24px;
  line-height: 1.5;
  position: relative;
}
.waarom-hint::before {
  content: 'i';
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  font-style: italic;
  font-family: Georgia, serif;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 1px;
}

/* Live waarschuwing */
.waarschuwing-melding {
  background: #fff7ed;
  border: 1.5px solid #f97316;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #9a3412;
  margin-top: 10px;
}

.checklist-melding {
  background: #f0fdf4;
  border: 1.5px solid #22c55e;
  color: #15803d;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.checklist-melding--onvolledig {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.modal-overlay.verborgen {
  display: none;
}
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
}
.modal-icoon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.modal h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.modal p {
  color: #4b5563;
  margin-bottom: 24px;
  line-height: 1.5;
}
.modal-stappen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}
.modal-stap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f5f7fa;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.modal-stap-nr {
  background: #2563eb;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.modal-annuleer {
  margin-top: 14px;
  color: #9ca3af;
  font-size: 0.85rem;
  cursor: pointer;
}
.modal-annuleer:hover { color: #6b7280; }

/* ===== WIZARD ===== */
.wizard-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px 120px;
  min-height: 100vh;
}
.wizard-progress-wrap {
  margin-bottom: 32px;
}
.wizard-progress-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.wizard-progress-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 99px;
  transition: width 0.3s ease;
}
.wizard-progress-label {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: right;
}
.wizard-titel {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.wizard-instructie {
  font-size: 0.97rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 20px;
}
.wizard-data-blok {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wizard-data-rij {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wizard-data-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wizard-data-waarde-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wizard-data-waarde {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  flex: 1;
}
.wizard-kopieer-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.wizard-kopieer-btn:active { opacity: 0.8; }

.wizard-meldcode-blok {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.wizard-meldcode-vraag {
  display: block;
  margin-bottom: 12px;
}
.wizard-radio-groep {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.wizard-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}
.wizard-meldcode-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 4px;
}
.wizard-meldcode-input:focus { outline: none; border-color: #2563eb; }
.wizard-meldcode-zoek {
  display: inline-block;
  margin-top: 8px;
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.wizard-meldcode-zoek:hover { text-decoration: underline; }

.wizard-info-btn {
  background: none;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #4b5563;
  cursor: pointer;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
}
.wizard-info-btn:hover { background: #f5f7fa; }

.wizard-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}
.wizard-btn-terug {
  flex: 1;
  background: #f5f7fa;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #4b5563;
}
.wizard-btn-volgende {
  flex: 2;
}

/* Info-lade */
.info-lade-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 500;
  display: flex;
  align-items: flex-end;
}
.info-lade-overlay.verborgen { display: none; }
.info-lade {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 28px 24px 40px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.info-lade-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.info-lade-sluit {
  font-size: 1.2rem;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px 8px;
}
.info-lade-inhoud {
  color: #374151;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Herstel banner */
.herstel-banner {
  margin-top: 16px;
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #1d4ed8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.herstel-wis {
  cursor: pointer;
  text-decoration: underline;
  color: #6b7280;
  font-size: 0.82rem;
}

.wizard-lijst {
  list-style: none;
  background: #f5f7fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wizard-lijst li {
  font-size: 0.95rem;
  color: #1a1a2e;
  font-weight: 500;
}

/* Meldcode zoeker */
.grid-sectie-titel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.meldcode-btn {
  font-size: 13px;
  padding: 6px 12px;
  background: #e8f4fd;
  color: #1a73e8;
  border: 1px solid #1a73e8;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
}
.meldcode-btn:hover { background: #1a73e8; color: white; }

.meldcode-modal-box {
  max-width: 600px;
  width: 95%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.meldcode-zoekbalk {
  margin: 12px 0 8px;
}
.meldcode-zoekbalk input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  box-sizing: border-box;
}
.meldcode-zoekbalk input:focus { border-color: #1a73e8; outline: none; }

.meldcode-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.meldcode-filters select {
  flex: 1;
  min-width: 140px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.meldcode-teller {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

#meldcode-resultaten-wrap {
  overflow-y: auto;
  flex: 1;
}

.meldcode-resultaten {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meldcode-kaart {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 12px 16px;
  border-left: 4px solid #1a73e8;
}
.meldcode-code {
  font-size: 17px;
  font-weight: 700;
  color: #1a73e8;
  font-family: monospace;
}
.meldcode-merk {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 2px 0;
}
.meldcode-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}
.meldcode-leeg, .meldcode-meer {
  text-align: center;
  color: #888;
  padding: 20px;
  font-size: 14px;
}

/* Texel Isoleert! kaart */
.texel-badge {
  font-size: 11px;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 10px;
  padding: 2px 8px;
  vertical-align: middle;
  font-weight: 500;
}

.texel-checks {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.texel-check-rij {
  font-size: 14px;
  color: #555;
  padding: 4px 0;
}

.texel-vraag {
  background: #f0f4ff;
  border-radius: 8px;
  padding: 10px 12px !important;
  margin-top: 4px;
}

.texel-vraag label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.texel-vraag input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.texel-resultaat {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1b5e20;
  line-height: 1.5;
}

.texel-routes {
  margin: 12px 0 8px;
  font-size: 14px;
}

.texel-route-kaarten {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.texel-route-kaart {
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 4px solid #ccc;
}

.texel-route-kaart--ontzorgd {
  background: #e8f0fe;
  border-left-color: #1a73e8;
}

.texel-route-kaart--zelf {
  background: #f8f9fa;
  border-left-color: #888;
}

.texel-route-kaart--diy {
  background: #f8f9fa;
  border-left-color: #bbb;
}

.texel-route-titel {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.texel-route-omschrijving {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 6px;
}

.texel-route-link {
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}
.texel-route-link:hover { text-decoration: underline; }

.subsidie-kaart--uitgesloten {
  opacity: 0.6;
  border-left-color: #ccc;
}

/* Meldcode in checklist */
.checklist-item--meldcode {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  margin-bottom: 8px;
}

.meldcode-invoer-blok {
  margin-top: 10px;
}

.meldcode-heeft-vraag {
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
}

.meldcode-actie-knoppen {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-klein {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #333;
}

.btn-primair-klein {
  background: #1a73e8;
  color: white;
  border-color: #1a73e8;
}

.meldcode-zoek-knop {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  border: 1.5px solid var(--groen);
  background: var(--groen-licht);
  color: var(--groen-donker);
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}
.meldcode-zoek-knop:hover {
  background: var(--groen-zacht);
}

.meldcode-veld-wrap {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}

.meldcode-veld {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid #1a73e8;
  border-radius: 8px;
  font-size: 15px;
  font-family: monospace;
  text-transform: uppercase;
}

.meldcode-opgeslagen-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #333;
}

.meldcode-weergave {
  font-family: monospace;
  font-size: 16px;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 3px 10px;
  border-radius: 6px;
}

.checklist-vinkje--actief {
  background: #4caf50 !important;
  color: white !important;
}

/* Texel route selectie */
.texel-route-kaart {
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.texel-route-kaart:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.texel-route-kaart--actief {
  border-left-width: 5px !important;
  box-shadow: 0 2px 12px rgba(26,115,232,0.2);
  outline: 2px solid #1a73e8;
}
.texel-route-selecteer {
  font-size: 13px;
  color: #1a73e8;
  font-weight: 500;
  margin-top: 6px;
}
.texel-aanbevolen-badge {
  font-size: 11px;
  background: #1a73e8;
  color: white;
  border-radius: 10px;
  padding: 2px 8px;
  vertical-align: middle;
  font-weight: 500;
}
.texel-route-aanbevolen {
  font-size: 13px;
  color: #555;
  margin: 6px 0 8px;
  font-style: italic;
}
.texel-route-gekozen {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1b5e20;
  margin-top: 10px;
}

.checklist-icoon-logo {
  width: 40px;
  height: auto;
  vertical-align: middle;
  object-fit: contain;
}

/* ── Wizard context navigatie ── */
.wz-context {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  cursor: default;
}
.wz-context--vorige {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.wz-context--volgende {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  margin-top: 8px;
  margin-bottom: 0;
  justify-content: space-between;
}
.wz-context-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}
.wz-kaart {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
}
.wz-scherm {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}
.wz-scherm-img {
  width: 100%;
  display: block;
  transform-origin: 50% 30%;
}
.wz-scherm-chip {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.wz-logo-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0 0;
  border-bottom: 1px solid #f3f4f6;
}
.wz-inhoud {
  padding: 20px;
}

.wizard-stap-logo {
  width: 80px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

/* ===== TEXEL KWALIFICATIE KAART ===== */
.texel-kwal-kaart {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1.5px solid #93c5fd;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}
.texel-kwal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.texel-kwal-titel {
  font-weight: 700;
  font-size: 1rem;
  color: #1d4ed8;
}
.texel-kwal-info-btn {
  background: none;
  border: 1.5px solid #93c5fd;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.82rem;
  color: #2563eb;
  cursor: pointer;
}
.texel-kwal-info-btn:hover { background: #eff6ff; }
.texel-kwal-vraag {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.texel-kwal-hint {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 12px;
}
.texel-kwal-opties {
  display: flex;
  gap: 12px;
}
.texel-kwal-opties--fout .texel-kwal-optie {
  border-color: #ef4444;
  background: #fef2f2;
  animation: schud 0.35s ease;
}
@keyframes schud {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  75%      { transform: translateX(5px); }
}
.texel-kwal-optie {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 16px;
  flex: 1;
  justify-content: center;
}
.texel-kwal-optie:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}
.texel-kwal-optie input { display: none; }

/* ===== SUBSIDIE INTRO KAARTEN ===== */
.subsidie-intro-kaart {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.subsidie-intro-kaart--gemeente {
  border-color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
}
.subsidie-intro-kaart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.subsidie-intro-naam {
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  flex: 1;
}
.subsidie-intro-tekst {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 8px;
  line-height: 1.5;
}
.subsidie-intro-vraag {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.subsidie-intro-hint {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 12px;
}
.subsidie-intro-indicatie {
  font-size: 0.85rem;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
}

/* ===== Rd/Ug invoer ===== */
.rd-invoer-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.details-rd-input {
  width: 100px;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.details-rd-input:focus { border-color: #22c55e; }

.rd-feedback {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.rd-ok {
  color: #16a34a;
  background: #f0fdf4;
}

.rd-fout {
  color: #dc2626;
  background: #fef2f2;
}

.rd-toelichting {
  margin-top: 10px;
  padding: 12px 14px;
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #7f1d1d;
  line-height: 1.6;
}

/* ===== Subsidie secties ===== */
.subsidie-sectie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f3f4f6;
}

.subsidie-sectie-titel {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #6b7280;
}

.subsidie-sectie-header .subsidie-label {
  font-size: 11px;
}

.subsidie-aanvraag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 18px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
}

.subsidie-aanvraag-btn:hover { background: #16a34a; transform: translateY(-1px); }

.subsidie-voorwaarden-blok {
  margin-top: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.65;
}

.subsidie-voorwaarden-blok strong { color: #374151; }

/* ===== MELDCODE LATER POPUP ===== */
.meldcode-later-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.meldcode-later-popup {
  position: absolute;
  z-index: 201;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  max-width: 260px;
  animation: popup-in 0.18s ease;
}
@keyframes popup-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.meldcode-later-tekst {
  font-size: 0.82rem;
  color: #4b5563;
  margin-bottom: 12px;
  line-height: 1.45;
}
.meldcode-later-knoppen {
  display: flex;
  gap: 8px;
}
.meldcode-later-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.meldcode-later-btn--primair {
  background: var(--groen);
  color: #fff;
}
.meldcode-later-btn--primair:hover { background: var(--groen-donker); }
.meldcode-later-btn--secundair {
  background: #f3f4f6;
  color: #6b7280;
}
.meldcode-later-btn--secundair:hover { background: #e5e7eb; color: #374151; }

/* ===== KEUZEPAGINA ===== */
.keuze-kaarten {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 600px) {
  .keuze-kaarten { flex-direction: row; align-items: stretch; }
  .keuze-kaart   { flex: 1; }
}
.keuze-kaart {
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  border: 2px solid transparent;
}
.keuze-kaart--primair {
  background: linear-gradient(135deg, #f0fdf4, #eff6ff);
  border-color: #4ade80;
  box-shadow: 0 4px 20px rgba(74,222,128,0.15);
}
.keuze-kaart--secundair {
  background: #f9fafb;
  border-color: #e5e7eb;
}
.keuze-kaart-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--groen);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.keuze-kaart-icoon {
  font-size: 2rem;
}
.keuze-kaart-titel {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}
.keuze-kaart-tekst {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}
.keuze-kaart-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: #374151;
}
.keuze-kaart-prijs {
  font-size: 1rem;
  color: #374151;
  margin-top: 4px;
}
.keuze-kaart-prijs strong {
  font-size: 1.3rem;
  color: #111827;
}
.keuze-kaart-spacer { flex: 1; }
.keuze-kaart-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--groen);
  color: #fff;
  margin-top: 4px;
  transition: background 0.2s;
}
.keuze-kaart-btn:hover { background: var(--groen-donker); }
.keuze-kaart-btn--grijs {
  background: #e5e7eb;
  color: #6b7280;
}
.keuze-kaart-btn--grijs:hover { background: #d1d5db; color: #374151; }

/* ===== BETAALSCHERM ===== */
.betaal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.betaal-modal {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.betaal-sluit {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.1rem; cursor: pointer; color: #9ca3af;
}
.betaal-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.betaal-titel {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
}
.betaal-prijs {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--groen-donker);
}
.betaal-omschrijving {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.5;
}
.betaal-methode-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.betaal-methoden {
  margin-bottom: 20px;
}
.betaal-optie {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  transition: border-color 0.2s;
}
.betaal-optie input { display: none; }
.betaal-optie--actief {
  border-color: var(--groen);
  background: #f0fdf4;
}
.betaal-logo { height: 22px; }
.betaal-kaart-icoon { font-size: 1.3rem; }
.betaal-bevestig-btn { width: 100%; margin-top: 4px; }
.betaal-veilig {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 12px;
}
