@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/SourceSansPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/SourceSansPro-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/fonts/SourceSansPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("assets/fonts/SourceSerifPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("assets/fonts/SourceSerifPro-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("assets/fonts/SourceSerifPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f1e8;
  --bg-alt: #efe6d8;
  --surface: #fffbf5;
  --ink: #2a2118;
  --ink-soft: #5a4c3c;
  --line: #d9cbb8;
  --line-dark: #c4b6a4;
  --cta: #8a3b1e;
  --cta-tekst: #fffbf5;
  --fout: #9b2c2c;
  --fout-bg: #f8e8e6;
  --succes-bg: #e7efe6;
  --succes-ink: #24402a;
  --bar: #2a2118;
  --creme: #f7f1e8;
  --zacht: #e6d9c8;
  --doel: 44px;
  --radius: 12px;
  --inhoud: 75rem; /* 1200px at 16px */
  --marge: 1.25rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: "Source Sans Pro", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

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

h1, h2, h3 {
  font-family: "Source Serif Pro", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--cta);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  min-height: var(--doel);
  background: var(--cta);
  color: var(--cta-tekst);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--creme);
}

/* Header */
.site-header {
  background: var(--bar);
  color: var(--creme);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__binnen,
.site-footer__binnen,
.sectie__binnen,
.hero__binnen {
  width: 100%;
  max-width: calc(var(--inhoud) + 15rem);
  margin: 0 auto;
  padding-left: var(--marge);
  padding-right: var(--marge);
}

.site-header__binnen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.5rem;
}

.merk {
  display: flex;
  align-items: center;
  min-height: var(--doel);
  min-width: var(--doel);
  text-decoration: none;
  flex: 0 1 auto;
}

.logo {
  height: 1.85rem;
  width: auto;
  max-width: min(16rem, 70vw);
}

.nav-hoofd {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-hoofd a {
  color: var(--creme);
  text-decoration: none;
  font-size: 1rem;
  min-height: var(--doel);
  display: inline-flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--doel);
  min-width: var(--doel);
  padding: 0.5rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1.8px solid var(--cta);
  cursor: pointer;
  color: var(--cta-tekst);
  background: var(--cta);
}

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

.btn--ghost {
  background: transparent;
  color: var(--cta);
}

.btn--op-donker {
  /* header CTA already uses filled terracotta */
}

.btn-tekst {
  display: inline-flex;
  align-items: center;
  min-height: var(--doel);
  color: var(--cta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.header-cta__kort {
  display: inline-flex;
}

.header-cta__lang {
  display: none;
}

/* Hero */
.hero {
  padding: 1.75rem 0 2.5rem;
}

.hero__eyebrow {
  color: var(--cta);
  font-weight: 600;
  font-size: 0.8125rem;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero__lead {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.hero__acties {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero__acties .btn {
  width: 100%;
}

.beeld-kader {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.beeld-kader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.beeld-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(42, 33, 24, 0.86);
  color: var(--creme);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Secties */
.sectie {
  padding: 2.5rem 0;
}

.sectie--alt {
  background: var(--bg-alt);
}

.sectie--donker {
  background: var(--bar);
  color: var(--creme);
}

.sectie--donker h2 {
  color: var(--creme);
}

.sectie--donker p {
  color: var(--zacht);
}

.sectie h2 {
  font-size: 1.625rem;
}

.sectie__intro {
  color: var(--ink-soft);
  max-width: 48rem;
}

.kaarten {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.kaart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1rem 1.15rem;
  margin: 0;
}

.kaart__nummer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--cta);
  color: var(--cta-tekst);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
}

.kaart h3 {
  font-size: 1.125rem;
  margin: 0 0 0.4rem;
}

.kaart p {
  color: var(--ink-soft);
  margin: 0;
}

.kaart--stap {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: start;
}

.kaart--stap .kaart__nummer {
  margin: 0.1rem 0 0;
}

.kaart--stap h3,
.kaart--stap p {
  grid-column: 2;
}

/* Illustraties */
.illu-set {
  margin: 1.5rem 0 0;
}

.illu-set h3 {
  font-family: "Source Sans Pro", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.illu-set__beelden {
  display: grid;
  gap: 0.5rem;
}

.illu-set .beeld-kader img {
  aspect-ratio: 16 / 11;
}

/* Kleurrichtingen (pagina-overzicht) */
.kleur-overzicht {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.kleur-staal {
  margin: 0;
}

.kleur-staal__vlak {
  display: block;
  height: 3.25rem;
  border-radius: 8px;
  border: 1px solid rgba(42, 33, 24, 0.25);
}

.kleur-staal__vlak--wit-mat {
  background: #f4f1ec;
  border: 1.4px solid var(--line-dark);
}

.kleur-staal__vlak--saliegroen { background: #8a9a72; }
.kleur-staal__vlak--antraciet { background: #3a3d42; }
.kleur-staal__vlak--donkerblauw { background: #1e3a5f; }

.kleur-staal__vlak--hout {
  background-size: 80px 44px;
}

.kleur-staal__vlak--walnoot {
  background-color: #6b3e26;
  background-image:
    repeating-linear-gradient(
      100deg,
      transparent 0 10px,
      #4a2a18 10px 11.5px,
      transparent 11.5px 22px,
      #8a5a38 22px 23px
    );
}

.kleur-staal__vlak--eiken {
  background-color: #c4a574;
  background-image:
    repeating-linear-gradient(
      100deg,
      transparent 0 10px,
      #a07e48 10px 11.5px,
      transparent 11.5px 22px,
      #d4bc94 22px 23px
    );
}

.kleur-staal__naam {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.4rem;
}

/* Formulier */
.form-sectie__kaart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.1rem 1.5rem;
}

.form-sectie__kaart h2 {
  font-size: 1.75rem;
}

.form-intro {
  color: var(--ink-soft);
}

.honeypot,
input[name="_gotcha"] {
  display: none !important;
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.veld,
fieldset.veld {
  margin: 0 0 1.25rem;
  border: 0;
  padding: 0;
  min-width: 0;
}

fieldset.veld {
  min-width: 0;
}

.veld-label,
legend {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.25rem;
  padding: 0;
  color: var(--ink);
}

.verplicht-tag {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-left: 0.4rem;
}

.hint {
  display: block;
  color: var(--ink-soft);
  font-size: 0.875rem;
  margin: 0 0 0.4rem;
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.2px solid var(--line-dark);
  border-radius: 8px;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.veld--fout input,
.veld--fout textarea,
.veld--fout .dropzone {
  border-color: var(--fout);
  border-width: 2px;
}

.fout {
  color: var(--fout);
  font-size: 0.875rem;
  margin: 0.35rem 0 0;
}

.fout:empty {
  display: none;
}

.fouten-overzicht {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--fout-bg);
  border: 2.4px solid var(--cta);
  color: var(--ink);
}

.fouten-overzicht[hidden] {
  display: none;
}

.fouten-overzicht h2 {
  font-family: "Source Sans Pro", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fout);
  margin: 0 0 0.35rem;
}

.fouten-overzicht p {
  margin: 0 0 0.5rem;
}

.fouten-overzicht ul {
  margin: 0;
  padding-left: 1.2rem;
}

.fouten-overzicht a {
  color: var(--fout);
}

/* Upload */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1rem 0.75rem;
  border: 1.4px dashed var(--line-dark);
  border-radius: 10px;
  background: #fbf7f0;
  cursor: pointer;
}

.dropzone__tekst {
  margin: 0;
  font-weight: 600;
}

.dropzone__icoon {
  width: 2rem;
  height: 1.5rem;
  border: 1.6px solid var(--ink-soft);
  border-radius: 4px;
  position: relative;
}

.dropzone__icoon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 2px;
  height: 0.7rem;
  background: var(--ink-soft);
  transform: translate(-50%, -100%);
  clip-path: none;
}

.visueel-verborgen {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.foto-status {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.foto-lijst {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* Kleur-radios */
.kleur-keuze {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.kleur-keuze li {
  margin: 0;
}

.staal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
  min-height: var(--doel);
  position: relative;
}

.staal input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.staal__vlak {
  display: block;
  height: 3rem;
  border-radius: 8px;
  border: 1px solid rgba(42, 33, 24, 0.25);
  position: relative;
}

.staal__vlak--wit-mat {
  background: #f4f1ec;
  border: 1.4px solid var(--line-dark);
}

.staal__vlak--saliegroen { background: #8a9a72; }
.staal__vlak--antraciet { background: #3a3d42; }
.staal__vlak--donkerblauw { background: #1e3a5f; }
.staal__vlak--walnoot,
.staal__vlak--eiken {
  background-size: 80px 44px;
}
.staal__vlak--walnoot {
  background-color: #6b3e26;
  background-image:
    repeating-linear-gradient(
      100deg,
      transparent 0 10px,
      #4a2a18 10px 11.5px,
      transparent 11.5px 22px,
      #8a5a38 22px 23px
    );
}
.staal__vlak--eiken {
  background-color: #c4a574;
  background-image:
    repeating-linear-gradient(
      100deg,
      transparent 0 10px,
      #a07e48 10px 11.5px,
      transparent 11.5px 22px,
      #d4bc94 22px 23px
    );
}

.staal__naam {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.staal input:focus-visible + .staal__vlak {
  outline: 2px solid var(--cta);
  outline-offset: 3px;
}

.staal input:checked + .staal__vlak {
  box-shadow: 0 0 0 2.4px var(--cta);
}

.staal input:checked + .staal__vlak::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--surface);
  border: 0.8px solid var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.8 8.6 9.5 3.2' fill='none' stroke='%238A3B1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.75rem;
}

.toestemming-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: var(--doel);
  cursor: pointer;
  font-weight: 400;
}

.toestemming-label input {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin: 0.2rem 0 0;
}

.privacy-regel {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.status {
  margin: 0.75rem 0 0;
}

.status:empty {
  display: none;
}

/* Succes */
.bevestiging {
  padding: 0.25rem 0 0.5rem;
}

.bevestiging[hidden] {
  display: none;
}

.bevestiging__icoon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--succes-ink);
  color: var(--surface);
  margin-bottom: 1rem;
}

.bevestiging h2 {
  color: var(--succes-ink);
  font-size: 1.625rem;
}

.form-sectie__kaart:has(.bevestiging:not([hidden])) {
  background: var(--succes-bg);
}

/* Footer */
.site-footer {
  background: var(--bar);
  color: var(--zacht);
  padding: 1.75rem 0 1.25rem;
}

.site-footer .merk {
  margin-bottom: 0.75rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
}

.site-footer a:not(.merk) {
  color: var(--zacht);
  display: inline-flex;
  align-items: center;
  min-height: var(--doel);
}

.versie-label {
  margin-top: 1rem !important;
  font-size: 0.75rem !important;
  color: #c9b8a4;
}

/* Desktop / tablet */
@media (min-width: 48rem) {
  :root {
    --marge: 2.5rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero__acties {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .hero__acties .btn {
    width: auto;
  }

  .sectie h2 {
    font-size: 2.25rem;
  }

  .kaarten {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .kaart--stap {
    display: block;
  }

  .kaart--stap .kaart__nummer {
    margin-bottom: 0.6rem;
  }

  .kaart--stap h3,
  .kaart--stap p {
    grid-column: auto;
  }

  .illu-set__beelden {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .kleur-overzicht {
    grid-template-columns: repeat(6, 1fr);
  }

  .kleur-keuze {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-sectie__kaart {
    max-width: 52.5rem;
    margin: 0 auto;
    padding: 2.25rem 2.25rem 2.5rem;
  }
}

@media (min-width: 64rem) {
  :root {
    --marge: 5rem;
  }

  .nav-hoofd {
    display: flex;
  }

  .header-cta__kort {
    display: none;
  }

  .header-cta__lang {
    display: inline-flex;
  }

  .logo {
    height: 2rem;
    max-width: 18rem;
  }

  .hero__binnen {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero {
    padding: 0;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero__lead {
    font-size: 1.25rem;
  }

  .hero__beeld .beeld-kader img {
    aspect-ratio: 4 / 3;
    min-height: 24rem;
  }

  .sectie {
    padding: 4.5rem 0;
  }

  .header-cta {
    flex-shrink: 0;
  }
}

@media (min-width: 80rem) {
  :root {
    --marge: 7.5rem;
  }
}

.form-sectie__kaart--succes {
  background: var(--succes-bg);
}

.dropzone--over {
  border-color: var(--cta);
  background: #f3eee6;
}
