/* ==========================================================================
   Speltherapie Frances van de Ven - hoofdstylesheet
   Ontwerp: Figma "Frances van de ven" (desktop 1600px)
   ========================================================================== */

:root {
  --oranje: #ed7200;
  --oranje-donker: #d06400;
  --geel: #fece00;
  --blauw: #74afe0;
  --lichtblauw: #b0dbff;
  --ijsblauw: #eefbff;
  --tekst: #212121;
  --grijs: #676767;
  --creme: #fef4eb;
  --footer-bg: #e3eff9;
  --lijn: rgba(0, 0, 0, .1);
  --font-kop: 'Jost', sans-serif;
  --font-tekst: 'DM Sans', sans-serif;
}

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-tekst);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tekst);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-kop);
  color: #000;
  line-height: 1.05;
}

a { color: var(--oranje); }
a:hover { color: var(--oranje-donker); }

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

.container { max-width: 1260px; }

.markeer { color: var(--geel); }
.markeer-oranje { color: var(--oranje); }

.section-padding { padding: 100px 0; }

/* ---------- Knoppen ---------- */
.btn-speel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  border: 0;
  border-radius: 70px;
  background: var(--oranje);
  color: #fff;
  font-family: var(--font-tekst);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-speel:hover,
.btn-speel:focus {
  background: var(--oranje-donker);
  color: #fff;
  transform: translateY(-2px);
}
.btn-speel svg { width: 22px; height: 16px; fill: currentColor; flex-shrink: 0; }
.btn-speel-klein { padding: 12px 34px; font-size: 15px; }

/* ---------- Topbalk ---------- */
.top-bar {
  background: var(--geel);
  color: #000;
  font-size: 15px;
  line-height: 1.2;
  padding: 10px 0;
}
.top-bar a { color: #000; text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }
.top-bar svg { width: 15px; height: 15px; fill: currentColor; margin-right: 6px; vertical-align: -2px; }
.top-bar .top-bar-slogan { font-weight: 500; }

/* ---------- Header / navigatie ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--creme);
  border-bottom: 1px solid var(--lijn);
}
.site-header .navbar { padding: 12px 0; }
.site-header .navbar-brand-logo img { width: 216px; height: auto; }

.site-header .navbar-nav { gap: 6px 44px; }
.site-header .nav-link {
  font-size: 16px;
  color: var(--tekst);
  padding: 8px 0 !important;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus { color: var(--oranje); }
.site-header .nav-link.active { font-weight: 700; color: var(--tekst); }
.site-header .dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 10px 0;
}
.site-header .dropdown-item { font-size: 16px; padding: 6px 20px; }
.site-header .dropdown-item:hover { background: var(--creme); color: var(--oranje); }

.navbar-toggler { border: 0; padding: 6px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(237, 114, 0, .3); }

/* ---------- Kleine paginaheader (subpagina's) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--creme);
  padding: 90px 0 80px;
}
.page-header h1 {
  position: relative;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  margin: 0;
}

/* ---------- Decoratie: oranje patroon (hero) ---------- */
.patroon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--oranje);
  -webkit-mask: url('../images/patroon.png') repeat 0 0 / 410px 408px;
          mask: url('../images/patroon.png') repeat 0 0 / 410px 408px;
  opacity: .1;
  pointer-events: none;
}

/* ---------- Blob-foto's ---------- */
.blob-foto {
  position: relative;
  aspect-ratio: 627 / 639;
}
.blob-foto .blob-achter {
  position: absolute;
  inset: 0;
  background: var(--blauw);
  -webkit-mask: url('../images/blob.svg') no-repeat center / contain;
          mask: url('../images/blob.svg') no-repeat center / contain;
  transform: rotate(-12deg) translate(2%, 1%);
}
.blob-foto .blob-masker {
  position: absolute;
  inset: 0;
  -webkit-mask: url('../images/blob.svg') no-repeat center / contain;
          mask: url('../images/blob.svg') no-repeat center / contain;
  transform: rotate(-11deg);
  background: #e6f5f9;
}
.blob-foto .blob-masker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(11deg) scale(1.25);
}

/* ---------- Blok 2: Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--creme);
  padding: 90px 0 70px;
}
.hero .container { position: relative; z-index: 2; }
.hero-deco {
  position: absolute;
  top: -150px;
  right: -110px;
  width: 360px;
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(44px, 5.2vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 36px;
}
.hero h1 .hero-subtitel {
  display: block;
  color: var(--oranje);
  font-size: .56em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.hero-tekst { font-size: 18px; line-height: 29px; max-width: 567px; }
.hero-tekst p { margin-bottom: 20px; }
.vinklijst { list-style: none; padding: 0; margin: 0 0 40px; }
.vinklijst li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 29px;
}
.vinklijst li svg { position: absolute; left: 0; top: 6px; width: 17px; height: 17px; }
.hero .blob-foto { max-width: 640px; margin-left: auto; }

/* ---------- Blok 3: Over mij ---------- */
.over-mij { position: relative; padding: 50px 0 90px; }
.over-fotos { position: relative; max-width: 700px; padding-bottom: 60px; }
.over-fotos .blob-foto-groot { width: 96%; margin-left: 3%; }
.over-fotos .blob-foto-klein {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
}
.over-fotos .blob-foto-klein .blob-masker { background: var(--blauw); }
.over-logo { width: 130px; margin-bottom: 26px; }
.over-mij h2 {
  font-size: clamp(42px, 4.4vw, 70px);
  font-weight: 600;
  line-height: 1.02;
  margin-bottom: 32px;
}
.tekst-grijs { color: var(--grijs); font-size: 20px; line-height: 27px; max-width: 554px; }
.tekst-grijs p { margin-bottom: 14px; }
.tekst-grijs + .btn-speel { margin-top: 21px; }

/* ---------- Blok 4: Aanbod ---------- */
.aanbod {
  position: relative;
  background: linear-gradient(180deg, var(--lichtblauw) 0%, rgba(255, 255, 255, .74) 100%);
  padding: 100px 0 110px;
}
.aanbod h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(40px, 4.4vw, 70px);
  font-weight: 500;
  margin-bottom: 75px;
}
.aanbod h2::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -64px;
  width: 56px;
  height: 52px;
  background: url('../images/accent.svg') no-repeat center / contain;
}
.aanbod-item { text-align: center; padding: 0 6px; }
.aanbod-item .aanbod-icoon {
  position: relative;
  width: 160px;
  height: 165px;
  margin: 0 auto 37px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aanbod-icoon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ijsblauw);
  border-radius: 48% 52% 45% 55% / 52% 44% 56% 48%;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #b8e8f5;
}
.aanbod-icoon img { position: relative; width: 96px; height: 96px; object-fit: contain; }
.aanbod-item h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--tekst);
  line-height: 1.4;
  margin-bottom: 14px;
}
.aanbod-item p, .aanbod-item div { font-size: 15px; line-height: 22px; margin: 0; }
.aanbod .btn-speel { margin-top: 70px; }

/* ---------- Blok 5: Tekst met foto (groei) ---------- */
.groei {
  position: relative;
  overflow: hidden;
  background: var(--creme);
  padding: 135px 0;
  min-height: 753px;
}
.groei .container { position: relative; z-index: 2; }
.groei h2 {
  font-size: clamp(42px, 4.4vw, 70px);
  font-weight: 500;
  line-height: .93;
  margin-bottom: 29px;
  max-width: 631px;
}
.groei .tekst-grijs { max-width: 520px; }
.groei-foto {
  position: absolute;
  top: -220px;
  left: 44%;
  width: 1150px;
  z-index: 1;
}
.groei-foto .blob-foto .blob-masker { transform: rotate(14deg); }
.groei-foto .blob-foto .blob-masker img { transform: rotate(-14deg) scale(1.3); }
.groei-foto .blob-foto .blob-achter { transform: rotate(146deg) translate(-8%, -4%); }
.groei-deco {
  position: absolute;
  left: -40px;
  top: 10px;
  width: 210px;
  transform: rotate(-53deg);
  opacity: .9;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Blok 6: Contact ---------- */
.contact-blok { position: relative; padding: 90px 0 110px; }
.contact-blok .contact-beeld {
  position: relative;
  max-width: 655px;
  padding: 145px 84px 90px 55px;
}
.contact-beeld .contact-cirkel {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}
.contact-beeld .contact-cirkel img { width: 100%; height: 100%; object-fit: cover; }
.contact-beeld .deco-streepjes {
  position: absolute;
  left: 52%;
  top: 111px;
  width: 57%;
  opacity: .5;
  z-index: 1;
}
.contact-beeld .deco-boog-geel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55%;
  transform: rotate(8deg);
  z-index: 3;
}
.contact-beeld .deco-boog-oranje {
  position: absolute;
  right: 4%;
  top: 70px;
  width: 36%;
  transform: rotate(-24deg);
  z-index: 3;
}
.contact-blok h2 {
  font-size: clamp(42px, 4.4vw, 70px);
  font-weight: 500;
  margin-bottom: 40px;
}
.contact-intro { margin-bottom: 30px; }
.contact-form label {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
}
.contact-form .form-control {
  height: 52px;
  border: 1px solid var(--lijn);
  border-radius: 10px;
  font-size: 17px;
  padding: 10px 16px;
}
.contact-form textarea.form-control { height: 106px; resize: vertical; }
.contact-form .form-control:focus {
  border-color: var(--blauw);
  background: linear-gradient(90deg, #f2f9ff, #f5f5f5);
  box-shadow: none;
}
.contact-form .cfield { position: absolute; left: -9999px; }
.contact-form .btn-speel { margin-top: 22px; }

/* ---------- Tekstpagina (generiek) ---------- */
main, .site-footer { overflow-x: clip; }
.tekst-pagina { padding: 80px 0; }
.tekst-pagina h3 { font-size: 24px; font-weight: 600; margin: 28px 0 10px; }
/* Opeenvolgende secties met witte achtergrond: geen dubbele witruimte */
.tekst-pagina + .tekst-pagina,
.tekst-pagina + .team,
.tekst-pagina + .logos,
.tekst-pagina + .stappen,
.logos + .tekst-pagina,
.team + .galerij { padding-top: 0; }
.over-mij + .tekst-pagina { padding-top: 20px; }
.tekst-pagina h2 { font-size: 40px; font-weight: 600; margin: 30px 0 16px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 0;
  padding-top: 97px;
  font-size: 18px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 97px;
  background: url('../images/golf.svg') no-repeat bottom / 100% 100%;
}
.site-footer .footer-inhoud { background: var(--footer-bg); padding: 10px 0 0; }
.footer-logo { display: inline-block; text-align: center; }
.footer-logo img { width: 300px; }
.site-footer h3 {
  font-family: var(--font-kop);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  color: var(--tekst);
  text-decoration: none;
  line-height: 1.4;
  padding: 10px 0;
}
.footer-links a:hover { color: var(--oranje); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
  line-height: 27px;
}
.footer-contact a { color: var(--tekst); text-decoration: none; }
.footer-contact a:hover { color: var(--oranje); }
.footer-contact .rondje {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--geel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -2px;
}
.footer-contact .rondje svg { width: 15px; height: 15px; fill: #000; }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--tekst);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.footer-social a:hover { background: var(--oranje); color: #fff; }
.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid var(--lijn);
  padding: 14px 0 18px;
  text-align: center;
  font-size: 17px;
}

/* ---------- Blok 8: Ervaringen ---------- */
.ervaringen { padding: 100px 0; background: var(--ijsblauw); }
.ervaringen-kop { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.ervaringen-kop h2 { font-size: 48px; font-weight: 600; }
.ervaringen-kop .tekst-grijs { max-width: none; margin-top: 14px; }
.ervaringen-lijst { columns: 3 320px; column-gap: 24px; }
.ervaringen-lijst.ervaringen-kort { columns: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ervaring {
  break-inside: avoid;
  position: relative;
  margin: 0 0 24px;
  padding: 44px 30px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(116, 175, 224, .18);
}
.ervaringen-kort .ervaring { margin: 0; }
.ervaring-quote {
  position: absolute;
  top: 6px;
  left: 26px;
  font-family: var(--font-kop);
  font-size: 80px;
  line-height: 1;
  color: var(--geel);
}
.ervaring blockquote { margin: 0; color: var(--grijs); font-size: 17px; line-height: 26px; }
.ervaring blockquote p:last-child { margin-bottom: 0; }
.ervaring figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-kop);
  font-weight: 600;
  font-size: 18px;
}
.ervaring figcaption svg { width: 16px; height: 16px; fill: var(--oranje); flex-shrink: 0; }

/* ---------- Blok 9: Stappen ---------- */
.stappen { padding: 80px 0; }
.stappen h2 { font-size: 40px; font-weight: 600; margin-bottom: 16px; }
.stappen-lijst { list-style: none; counter-reset: stap; padding: 0; margin: 40px 0; }
.stap {
  counter-increment: stap;
  position: relative;
  padding: 0 0 36px 84px;
}
.stap::before {
  content: counter(stap);
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--oranje);
  color: #fff;
  font-family: var(--font-kop);
  font-size: 26px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stap:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 64px;
  bottom: 8px;
  border-left: 2px dashed var(--blauw);
}
.stap h3 { font-size: 26px; font-weight: 600; margin: 12px 0 10px; }
.stap .tekst-grijs { max-width: none; }

/* ---------- Blok 10: Team ---------- */
.team { padding: 80px 0; }
.teamlid {
  height: 100%;
  padding: 30px;
  background: var(--creme);
  border-radius: 24px;
  text-align: center;
}
.teamlid-foto {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  background: var(--blauw);
}
.teamlid-foto img { width: 100%; height: 100%; object-fit: cover; }
.teamlid-foto-leeg { background: #fff; }
.teamlid-foto-leeg img { object-fit: contain; padding: 30px; }
.teamlid h3 { font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.teamlid-functie { color: var(--oranje); font-weight: 500; margin-bottom: 14px; }
.teamlid .tekst-grijs { font-size: 17px; line-height: 26px; max-width: none; text-align: left; }

/* ---------- Blok 11: Fotogalerij / logo's ---------- */
.galerij, .logos { padding: 60px 0 80px; }
.galerij h2, .logos h2 { font-size: 40px; font-weight: 600; margin-bottom: 16px; }
.galerij-tekst { margin-bottom: 30px; }
.galerij-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.galerij-foto { display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.galerij-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.galerij-foto:hover img { transform: scale(1.04); }
.logos-rij { display: flex; flex-wrap: wrap; align-items: center; gap: 30px 50px; }
.logos-rij img { max-height: 70px; max-width: 170px; width: auto; height: auto; }

/* ---------- Animatie bij scrollen ---------- */
.animate-fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.animate-fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-fade-in { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1399.98px) {
  .site-header .navbar-nav { gap: 6px 28px; }
  .groei-foto { left: 46%; width: 980px; top: -140px; }
}

@media (max-width: 1199.98px) {
  .site-header .navbar-brand-logo img { width: 170px; }
  .site-header .navbar-collapse { padding: 10px 0 16px; }
  .site-header .navbar-nav { gap: 0; }
  .site-header .header-knop { margin-top: 10px; }
  .groei-foto { left: 50%; width: 760px; top: -20px; }
  .groei .tekst-grijs { max-width: 440px; }
}

@media (max-width: 991.98px) {
  .section-padding { padding: 70px 0; }
  .hero { padding: 50px 0 60px; }
  .hero-deco { width: 220px; top: -100px; right: -90px; }
  .hero .blob-foto { margin: 30px auto 0; max-width: 520px; }

  .over-fotos { margin: 0 auto 40px; }

  .aanbod { padding: 70px 0; }
  .aanbod h2 { margin-bottom: 50px; }
  .aanbod .btn-speel { margin-top: 30px; }

  .groei { padding: 70px 0 0; min-height: 0; }
  .groei-foto { position: relative; top: 0; left: 0; width: 100%; max-width: 560px; margin: 40px auto -40px; }
  .groei-deco { width: 140px; }

  .contact-blok .contact-beeld { margin: 0 auto 30px; padding: 90px 60px 70px 40px; }
}

@media (max-width: 767.98px) {
  .ervaringen, .team, .stappen { padding: 60px 0; }
  .galerij-raster { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ervaringen-kop h2 { font-size: 36px; }
  .stap { padding-left: 70px; }
  .stap::before { width: 48px; height: 48px; font-size: 22px; }
  .stap:not(:last-child)::after { left: 23px; top: 56px; }
}

@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .top-bar { font-size: 14px; }
  .btn-speel { padding: 15px 34px; font-size: 16px; }
  .hero-tekst, .vinklijst li { font-size: 16px; line-height: 26px; }
  .tekst-grijs { font-size: 17px; line-height: 25px; }
  .aanbod h2::after { display: none; }
  .contact-blok .contact-beeld { padding: 60px 40px 50px 20px; }
  .footer-logo img { width: 240px; }
}
