/* ==========================================================================
   Basis — rustig, respectvol, mobiel-first, systeemfonts
   ========================================================================== */

:root {
  --kleur-tekst: #2b2b2b;
  --kleur-tekst-zacht: #5a5a5a;
  --kleur-achtergrond: #faf8f5;
  --kleur-licht: #f0ede7;
  --kleur-accent: #2f5d50;        /* rustig donkergroen */
  --kleur-accent-donker: #234639;
  --kleur-accent-contrast: #ffffff;
  --kleur-rand: #ddd8d0;
  --kleur-positief: #2f5d50;
  --kleur-negatief: #8a4b38;
  --kleur-neutraal: #6b5d3f;
  --max-breedte: 62rem;
  --max-breedte-smal: 42rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--kleur-tekst);
  background: var(--kleur-achtergrond);
}

h1, h2, h3 {
  line-height: 1.25;
  color: var(--kleur-accent-donker);
}

h1 { font-size: 1.75rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.375rem; margin: 0 0 1rem; }
h3 { font-size: 1.125rem; margin: 0 0 0.5rem; }

@media (min-width: 40rem) {
  h1 { font-size: 2.375rem; }
  h2 { font-size: 1.625rem; }
}

p { margin: 0 0 1rem; }

a { color: var(--kleur-accent); }
a:hover { color: var(--kleur-accent-donker); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--kleur-accent);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-breedte);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.smal { max-width: var(--max-breedte-smal); }
.centreer { text-align: center; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #eef2ee 0%, var(--kleur-achtergrond) 100%);
  text-align: center;
}

.subkop {
  font-size: 1.125rem;
  color: var(--kleur-tekst-zacht);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

.badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--kleur-rand);
  border-radius: 2rem;
  padding: 0.35rem 1rem;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Knoppen
   ========================================================================== */

.cta-knop {
  display: inline-block;
  background: var(--kleur-accent);
  color: var(--kleur-accent-contrast);
  border: none;
  border-radius: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.cta-knop:hover { background: var(--kleur-accent-donker); color: var(--kleur-accent-contrast); }

.knop-secundair {
  display: inline-block;
  background: transparent;
  color: var(--kleur-tekst);
  border: 1px solid var(--kleur-rand);
  border-radius: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.knop-secundair:hover { border-color: var(--kleur-tekst-zacht); }

/* ==========================================================================
   Secties
   ========================================================================== */

.sectie { padding: 3rem 0; }
.sectie-licht { background: var(--kleur-licht); }

.stappen {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 40rem) {
  .stappen { grid-template-columns: repeat(3, 1fr); }
}

.stap {
  background: #fff;
  border: 1px solid var(--kleur-rand);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.stap-nummer {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--kleur-accent);
  color: var(--kleur-accent-contrast);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Formulieren (boedelcheck + wachtlijst)
   ========================================================================== */

fieldset {
  border: 1px solid var(--kleur-rand);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem 0.5rem;
  margin: 0 0 1.25rem;
  background: #fff;
}

legend {
  font-weight: 700;
  color: var(--kleur-accent-donker);
  padding: 0 0.5rem;
}

.veld { margin-bottom: 1rem; }

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.optioneel { font-weight: 400; color: var(--kleur-tekst-zacht); font-size: 0.9rem; }
.verplicht { font-weight: 400; color: var(--kleur-tekst-zacht); font-size: 0.9rem; }

input[type="number"],
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--kleur-rand);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--kleur-tekst);
}

.boedelcheck {
  display: grid;
  gap: 0;
}

@media (min-width: 40rem) {
  .boedelcheck { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .boedelcheck button { grid-column: 1 / -1; justify-self: start; }
}

.resultaat {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--kleur-rand);
  background: #fff;
}

.resultaat.positief { border-left: 5px solid var(--kleur-positief); }
.resultaat.negatief { border-left: 5px solid var(--kleur-negatief); }
.resultaat.neutraal { border-left: 5px solid var(--kleur-neutraal); }

.resultaat-cta { margin-bottom: 0; }

.disclaimer {
  font-size: 0.9rem;
  color: var(--kleur-tekst-zacht);
  margin-top: 1rem;
}

.wachtlijst-form {
  background: #fff;
  border: 1px solid var(--kleur-rand);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.verborgen {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--kleur-rand);
  text-align: center;
  color: var(--kleur-tekst-zacht);
  font-size: 0.95rem;
}

.footer p { margin: 0.25rem 0; }

/* ==========================================================================
   Consent-banner
   ========================================================================== */

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--kleur-rand);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
  z-index: 100;
}

.consent-banner p {
  max-width: var(--max-breedte);
  margin: 0 auto 0.75rem;
  font-size: 0.95rem;
}

.consent-knoppen {
  max-width: var(--max-breedte);
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.consent-knoppen .cta-knop,
.consent-knoppen .knop-secundair {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}
