/* ==========================================================================
   Geboortepaardje.nl — namaak in handgeschreven HTML/CSS
   ========================================================================== */

:root {
  --kleur-tekst: #3a3a3a;
  --kleur-kop: #111111;
  --kleur-geel: #ffe200;
  --kleur-accent: #ffe200;
  --kleur-accent-donker: #0066a4;
  --kleur-grijs: #b2b2b2;
  --kleur-zacht: #f2f2f2;
  --kleur-lijn: #e2e2e2;
  --breedte: 1140px;
  --radius: 6px;
  --schaduw: 0 6px 24px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--kleur-tekst);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--kleur-accent-donker); }

h1, h2, h3 {
  color: var(--kleur-kop);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .6em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; }

.container {
  width: 100%;
  max-width: var(--breedte);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Header / navigatie ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--kleur-lijn);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.merk {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--kleur-kop);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.25;
}

.merk img { width: 52px; height: 52px; flex: none; border-radius: 50%; }
.merk span small { display: block; font-size: .68rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--kleur-accent-donker); }

.hoofdmenu ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hoofdmenu a {
  display: block;
  padding: 10px 14px;
  color: var(--kleur-tekst);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}

.hoofdmenu a:hover { color: #111; background: var(--kleur-geel); }
.hoofdmenu a.actief { color: #111; font-weight: 700; box-shadow: inset 0 -3px 0 var(--kleur-geel); }

.menu-knop {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  color: var(--kleur-kop);
}
.menu-knop svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */

.hero {
  background: #fff url("img/zebra.jpg") repeat;
  background-size: 590px auto;
  border-bottom: 3px solid var(--kleur-geel);
}

.hero-beeld {
  width: 100%;
  height: auto;
}

.hero-beeld.mobiel { display: none; }

.hero-tekst {
  text-align: center;
  padding: 46px 0 52px;
  background: rgba(255, 255, 255, .88);
}

.hero-tekst h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: .5em;
}

.hero-tekst p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.hero-tekst strong { color: var(--kleur-accent-donker); }
.hero-tekst .knop { margin-top: 10px; }

/* ---------- Secties ---------- */

.sectie { padding: 60px 0; }
.sectie--zacht {
  background: #fff url("img/zebra.jpg") repeat;
  background-size: 590px auto;
  border-top: 3px solid var(--kleur-geel);
}
.sectie--zacht .container { background: rgba(255, 255, 255, .88); padding-top: 28px; padding-bottom: 8px; border-radius: var(--radius); }
.sectie-kop { text-align: center; margin-bottom: 36px; }
.sectie-kop p { max-width: 760px; margin: 0 auto; }
.sectie-kop p.tekst-links { text-align: left; max-width: 860px; }

/* ---------- Carrousel ---------- */

.carrousel { position: relative; }

.carrousel-spoor {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carrousel-spoor::-webkit-scrollbar { display: none; }

.carrousel-item {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schaduw);
}

.carrousel-item img {
  width: 100%;
  aspect-ratio: 330 / 455;
  object-fit: cover;
}

.carrousel-item figcaption {
  padding: 12px 14px;
  font-size: .85rem;
  text-align: center;
  color: #8a8f94;
}

.pijl {
  position: absolute;
  top: calc(50% - 34px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--schaduw);
  cursor: pointer;
  color: var(--kleur-kop);
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
}
.pijl:hover { background: var(--kleur-geel); color: #111; }
.pijl svg { width: 20px; height: 20px; }
.pijl--vorige { left: -8px; }
.pijl--volgende { right: -8px; }

.bolletjes {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.bolletjes button {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d7d2ce;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.bolletjes button.actief { background: #111; transform: scale(1.3); }

/* ---------- Thema-raster ---------- */

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.kaart {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schaduw);
}
.kaart img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--kleur-zacht); }
.kaart-inhoud { padding: 18px 20px 22px; }
.kaart-inhoud h3 { margin-bottom: .3em; }
.kaart-inhoud p { margin: 0; font-size: .95rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }

.faq details {
  background: #fff;
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 16px 50px 16px 20px;
  font-weight: 600;
  color: var(--kleur-kop);
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; margin: 0; font-size: 1rem; font-weight: 600; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { background: var(--kleur-geel); }
.faq .antwoord { padding: 16px 20px 4px; }

/* ---------- Formulier ---------- */

.formulier { max-width: 620px; margin: 0 auto; }
.veld { margin-bottom: 18px; }
.veld label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--kleur-kop); font-weight: 500; }
.veld input, .veld textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  border: 1px solid var(--kleur-lijn);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.veld input:focus, .veld textarea:focus {
  outline: 0;
  border-color: var(--kleur-geel);
  box-shadow: 0 0 0 3px rgba(255, 226, 0, .45);
}
.veld textarea { min-height: 150px; resize: vertical; }

.knop {
  display: inline-block;
  padding: 13px 30px;
  border: 0;
  border-radius: var(--radius);
  background: var(--kleur-geel);
  color: #111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 0 #d9c000;
  transition: background .2s, transform .15s, box-shadow .15s;
}
.knop:hover { background: #ffec4d; transform: translateY(-2px); box-shadow: 0 5px 0 #d9c000; }
.knop:active { transform: translateY(1px); box-shadow: 0 2px 0 #d9c000; }

.melding {
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--kleur-geel);
  background: #fffbe0;
  font-size: .95rem;
  outline: 0;
}
.melding--ok { background: #fffbe0; border-color: var(--kleur-geel); }
.melding--fout { background: #fdeaea; border-color: #e0b4b4; color: #8a2a2a; }
.melding[hidden] { display: none; }

/* Spamval: onzichtbaar, maar niet via display:none (dat slaan sommige bots over) */
.spamval {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.veld--controle { max-width: 340px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #fff;
  border-top: 3px solid var(--kleur-geel);
  padding: 28px 0;
  text-align: center;
  font-size: .9rem;
  color: #8a8f94;
}
.site-footer a { color: #8a8f94; }

/* ---------- Mobiel ---------- */

@media (max-width: 880px) {
  .menu-knop { display: block; }

  .hoofdmenu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .98);
    display: grid;
    place-items: center;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .hoofdmenu.open { transform: translateX(0); visibility: visible; }
  .hoofdmenu ul { flex-direction: column; gap: 4px; text-align: center; }
  .hoofdmenu a { font-size: 1.3rem; padding: 14px 30px; }

  .sluit-knop {
    position: absolute;
    top: 22px;
    right: 20px;
    border: 0;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
    color: var(--kleur-kop);
  }

  .hero-beeld { display: none; }
  .hero-beeld.mobiel { display: block; }

  .pijl { display: none; }
  .sectie { padding: 44px 0; }
}

@media (min-width: 881px) {
  .sluit-knop { display: none; }
}


/* ---------- Tekstblokken en stappen ---------- */

.lead { font-size: 1.05rem; }

.hero-prijs {
  margin: 14px 0 0;
  font-size: .9rem;
  color: #666;
}

.tekstkolom {
  max-width: 800px;
  margin: 0 auto 40px;
}

.raster--tekst {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 22px 30px;
  align-items: start;
}

.tekstblok {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px 8px;
  box-shadow: var(--schaduw);
}
.tekstblok h3 { margin-bottom: .4em; }

.stappen {
  counter-reset: stap;
  list-style: none;
  max-width: 820px;
  margin: 0 auto 30px;
  padding: 0;
}

.stappen li {
  counter-increment: stap;
  position: relative;
  padding: 0 0 4px 68px;
  margin-bottom: 26px;
}

.stappen li::before {
  content: counter(stap);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--kleur-geel);
  color: #111;
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.stappen h3 { margin-bottom: .2em; }
.stappen p { margin-bottom: 0; }

.midden { text-align: center; }
.klein { font-size: .9rem; color: #666; }

/* ---------- Footer ---------- */

.footer-tekst {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: .92rem;
  color: #666;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: var(--kleur-kop);
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--kleur-geel);
}
.footer-menu a:hover { background: var(--kleur-geel); }

.footer-klein { margin: 0; font-size: .85rem; }

@media (max-width: 880px) {
  .stappen li { padding-left: 58px; }
  .stappen li::before { width: 40px; height: 40px; font-size: 1.05rem; }
}

.raster-kop { text-align: center; margin-bottom: 26px; }
.faq + .raster-kop, .raster-kop + .raster { margin-top: 0; }
