:root {
  --rood: #C8242B;
  --rood-donker: #9E1A21;
  --creme: #FFF8E9;
  --creme-diep: #F6E9CC;
  --inkt: #2B1517;
  --inkt-zacht: #6B4A4C;
  --font: "Bricolage Grotesque", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --breed: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--inkt);
  background: var(--creme);
  font-optical-sizing: auto;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--inkt); outline-offset: 3px; border-radius: 4px; }
.op-rood :focus-visible { outline-color: var(--creme); }

.wrap { width: min(100% - 2.5rem, var(--breed)); margin-inline: auto; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  font-stretch: 85%;
}

/* De balk uit het logo: het terugkerende merkelement */
.balk { width: fit-content; max-width: 100%; }
.balk::after {
  content: "";
  display: block;
  height: 0.16em;
  min-height: 8px;
  margin-top: 0.22em;
  background: currentColor;
}

.op-rood { background: var(--rood); color: var(--creme); }

/* ---------- Header ---------- */
.kop {
  background: var(--rood);
  color: var(--creme);
}
.kop .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}
.kop-logo img { width: 128px; height: auto; }
.kop nav { display: flex; gap: 0.5rem 1.4rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.kop nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.kop nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.kop nav a.knop { padding: 0.55rem 1rem; font-size: 1rem; }
@media (max-width: 560px) {
  .kop-logo img { width: 100px; }
  .kop nav .verberg-klein { display: none; }
}

/* ---------- Knoppen ---------- */
.knop {
  display: inline-block;
  font: inherit;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  padding: 1rem 1.5rem;
  border: 3px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.knop-creme { background: var(--creme); color: var(--rood); box-shadow: 0 5px 0 var(--rood-donker); }
.knop-rood { background: var(--rood); color: var(--creme); box-shadow: 0 5px 0 var(--inkt); }
.knop:hover { transform: translateY(-2px); }
.knop:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--rood-donker); }
.knop-rood:active { box-shadow: 0 2px 0 var(--inkt); }
.kop .knop-creme { box-shadow: none; border-color: var(--creme); }
@media (prefers-reduced-motion: reduce) { .knop { transition: none; } .knop:hover, .knop:active { transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 9vw, 7rem) clamp(3.5rem, 9vw, 6.5rem); }
.hero h1 {
  font-size: clamp(3rem, 10vw, 7.25rem);
  max-width: 100%;
}
.hero h1 span { display: block; }
.hero-tekst {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  max-width: 34ch;
  margin: 2rem 0 2.25rem;
}
.hero-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero-acties a:not(.knop) { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- Klusjes ---------- */
.klusjes { padding-block: clamp(4rem, 9vw, 7rem); }
.sectie-titel { font-size: clamp(2.25rem, 6vw, 4rem); color: var(--rood); max-width: 14ch; }
.sectie-intro { max-width: 46ch; margin: 1.25rem 0 0; color: var(--inkt-zacht); }

.klus-groepen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.5rem 3rem;
  margin-top: 3.5rem;
}
.klus-groep h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--inkt-zacht);
  font-stretch: 100%;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--rood);
}
.klus-groep ul {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}
.klus-groep li {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--rood);
}
.klus-groep li:nth-child(even) { color: var(--inkt); }
.klus-extra {
  margin-top: 3rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.klus-extra a { color: var(--rood); text-underline-offset: 5px; text-decoration-thickness: 3px; }

/* ---------- Stappen ---------- */
.stappen { padding-block: clamp(4rem, 9vw, 6.5rem); background: var(--creme-diep); }
.stappen ol {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 3rem;
  counter-reset: stap;
}
.stappen li { counter-increment: stap; }
.stappen li::before {
  content: counter(stap);
  display: block;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 0.9;
  color: var(--rood);
  margin-bottom: 0.75rem;
}
.stappen h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.stappen p { margin: 0; max-width: 32ch; }

/* ---------- Formulier ---------- */
.aanvraag { padding-block: clamp(4rem, 9vw, 7rem); }
.aanvraag-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem 4rem;
  align-items: start;
}
@media (max-width: 880px) { .aanvraag-grid { grid-template-columns: 1fr; } }
.aanvraag h2 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
.aanvraag-uitleg p { max-width: 34ch; font-size: 1.2rem; margin: 1.5rem 0 0; }
.aanvraag-uitleg .klein { font-size: 1rem; opacity: 0.85; }

.formulier {
  background: var(--creme);
  color: var(--inkt);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 10px 0 var(--rood-donker);
}
.op-creme .formulier { box-shadow: 0 10px 0 var(--rood); border: 3px solid var(--rood); }

.veld { margin-bottom: 1.4rem; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .veld-rij { grid-template-columns: 1fr; } }

label, legend { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.45rem; }
.optioneel { font-weight: 400; color: var(--inkt-zacht); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--inkt);
  background: #fff;
  border: 2px solid #D9C6A3;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--rood); outline: 3px solid rgba(200, 36, 43, 0.25); outline-offset: 0; }
input[type="file"] { font: inherit; font-size: 0.95rem; max-width: 100%; }
input[type="file"]::file-selector-button {
  font: inherit; font-weight: 700; margin-right: 0.8rem;
  padding: 0.5rem 0.9rem; border-radius: 8px; border: 2px solid var(--rood);
  background: var(--creme); color: var(--rood); cursor: pointer;
}

fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
.keuzes { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.keuze { position: relative; }
.keuze input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.keuze span {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border: 2px solid #D9C6A3;
  border-radius: 999px;
  background: #fff;
}
.keuze input:checked + span { background: var(--rood); border-color: var(--rood); color: var(--creme); }
.keuze input:focus-visible + span { outline: 3px solid var(--inkt); outline-offset: 2px; }

.formulier .knop { width: 100%; margin-top: 0.5rem; }
.form-noot { font-size: 0.9rem; color: var(--inkt-zacht); margin: 1rem 0 0; }
.verborgen { position: absolute; left: -9999px; }

/* ---------- Flexi-teaser ---------- */
.teaser { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.teaser .wrap {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem;
}
.teaser h2 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); color: var(--rood); max-width: 15ch; }
.teaser p { max-width: 40ch; margin: 1.1rem 0 0; }

/* ---------- Flexi-pagina ---------- */
.flexi-hero { padding-block: clamp(3rem, 8vw, 6rem); }
.flexi-hero h1 { font-size: clamp(2.75rem, 8.5vw, 6.25rem); max-width: min(100%, 13ch); }
.feiten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem 3rem;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.feiten h2 { font-size: 1.75rem; color: var(--rood); margin-bottom: 0.75rem; }
.feiten p, .feiten ul { margin: 0; }
.feiten ul { padding-left: 1.2rem; }
.feiten li { margin-bottom: 0.3rem; }

/* ---------- Bedankt ---------- */
.bedankt { min-height: 60vh; display: flex; align-items: center; padding-block: 5rem; }
.bedankt h1 { font-size: clamp(3rem, 9vw, 6rem); max-width: min(100%, 13ch); }
.bedankt p { font-size: 1.3rem; max-width: 36ch; margin: 1.75rem 0 2.25rem; }

/* ---------- Footer ---------- */
.voet { padding-block: 3rem 2.5rem; border-top: 3px solid var(--rood-donker); }
.voet .wrap { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; align-items: end; }
.voet img { width: 150px; }
.voet nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; font-weight: 700; }
.voet nav a { text-decoration: none; }
.voet nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.voet small { display: block; width: 100%; opacity: 0.8; font-size: 0.9rem; }
