/* MKlaver Coaching en Training. Eigen CSS, geen framework.
   Kleuren uit het logo: groen #006633. Rustige, warme basis. */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --groen: #006633;
  --groen-donker: #004d27;
  --groen-licht: #e6efe7;
  --salie: #eef3ec;
  --creme: #fbf9f4;
  --zand: #f3eee4;
  --wit: #ffffff;
  --tekst: #232323;
  --tekst-zacht: #4f564f;
  --lijn: #dfe5dc;
  --schaduw: 0 10px 30px rgba(20, 50, 30, 0.08);
  --radius: 16px;
  --breed: 1160px;
  --kop: "Playfair Display", Georgia, "Times New Roman", serif;
  --romp: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--romp);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--creme);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--groen); text-underline-offset: 3px; }
a:hover { color: var(--groen-donker); }
:focus-visible { outline: 3px solid #c89b3c; outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--kop);
  font-weight: 600;
  line-height: 1.2;
  color: #12261a;
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 700; }

.overslaan {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--groen); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.overslaan:focus { left: 8px; color: #fff; }

.wrap { max-width: var(--breed); margin: 0 auto; padding: 0 20px; }
.smal { max-width: 760px; }

/* ---------- Kop ---------- */
.kop {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, 0.96);
  border-bottom: 1px solid var(--lijn);
}
@supports (backdrop-filter: blur(8px)) {
  .kop { background: rgba(251, 249, 244, 0.85); backdrop-filter: blur(8px); }
}
.kop .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { width: 170px; height: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  color: var(--tekst); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  padding: 8px 11px; border-radius: 8px;
}
.menu a:hover { color: var(--groen); background: var(--groen-licht); }
.menu a[aria-current="page"] { color: var(--groen); box-shadow: inset 0 -2px 0 var(--groen); border-radius: 0; }
.menu a.knop { color: #fff; margin-left: 8px; box-shadow: none; border-radius: 999px; }
.menu a.knop:hover { color: #fff; background: var(--groen-donker); }
.menuknop {
  display: none; background: none; border: 1px solid var(--lijn); border-radius: 10px;
  padding: 9px 12px; font: inherit; font-weight: 700; color: var(--tekst); cursor: pointer;
}
.menuknop span { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: 8px; }
.menuknop span::before, .menuknop span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.menuknop span::before { top: -6px; }
.menuknop span::after { top: 6px; }

@media (max-width: 1020px) {
  .menuknop { display: inline-block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid var(--lijn); padding: 8px 20px 18px;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.06);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 6px; border-bottom: 1px solid var(--lijn); border-radius: 0; }
  .menu a[aria-current="page"] { box-shadow: none; }
  .menu a.knop { margin: 14px 0 0; text-align: center; border-bottom: 0; border-radius: 999px; }
  .logo img { width: 150px; }
}

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--groen); color: #fff; text-decoration: none; font-weight: 700;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--groen);
  line-height: 1.2; cursor: pointer; font: inherit; font-weight: 700;
}
.knop:hover { background: var(--groen-donker); border-color: var(--groen-donker); color: #fff; }
.knop.licht { background: transparent; color: var(--groen); }
.knop.licht:hover { background: var(--groen-licht); color: var(--groen-donker); }
.knop.wit { background: #fff; color: var(--groen); border-color: #fff; }
.knop.wit:hover { background: var(--groen-licht); }
.knop svg { width: 18px; height: 18px; flex: none; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* ---------- Secties ---------- */
.sectie { padding: 72px 0; }
.sectie.wit { background: var(--wit); }
.sectie.salie { background: var(--salie); }
.sectie.zand { background: var(--zand); }
.sectie.groen { background: var(--groen); color: #fff; }
.sectie.groen h2, .sectie.groen h3 { color: #fff; }
.sectie.groen a:not(.knop) { color: #fff; }
.boventitel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--groen); margin-bottom: 0.8em;
}
.boventitel svg { width: 18px; height: 18px; }
.sectie.groen .boventitel { color: #d9eadc; }
.inleiding { font-size: 1.15rem; color: var(--tekst-zacht); max-width: 760px; }
.midden { text-align: center; }
.midden .inleiding { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero .inleiding { font-size: 1.2rem; }
.hero-foto { position: relative; }
.hero-foto img { border-radius: 22px; box-shadow: var(--schaduw); aspect-ratio: 3 / 2.1; object-fit: cover; width: 100%; }
.klaver-deco { position: absolute; color: var(--groen); opacity: 0.07; pointer-events: none; }
.hero .klaver-deco { width: 420px; right: -120px; top: -90px; }
.vertrouwen { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 1.6em; padding: 0; list-style: none; font-size: 0.93rem; color: var(--tekst-zacht); font-weight: 600; }
.vertrouwen li { display: flex; align-items: center; gap: 7px; margin: 0; }
.vertrouwen svg { width: 16px; height: 16px; color: var(--groen); flex: none; }

.paginakop { padding: 52px 0 40px; position: relative; overflow: hidden; }
.paginakop .klaver-deco { width: 300px; right: -70px; top: -60px; }
.paginakop .inleiding { margin-bottom: 0; }

@media (max-width: 860px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-foto { order: -1; }
  .hero .klaver-deco { width: 260px; right: -90px; top: -60px; }
  .sectie { padding: 56px 0; }
}

/* ---------- Rasters en kaarten ---------- */
.raster { display: grid; gap: 24px; }
.raster.twee { grid-template-columns: repeat(2, 1fr); }
.raster.drie { grid-template-columns: repeat(3, 1fr); }
.raster.vier { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .raster.vier { grid-template-columns: repeat(2, 1fr); } .raster.drie { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .raster.twee, .raster.drie, .raster.vier { grid-template-columns: 1fr; } }

.kaart {
  background: var(--wit); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--schaduw); border: 1px solid #edf0ea;
  display: flex; flex-direction: column;
}
.sectie.wit .kaart { background: var(--creme); box-shadow: none; }
.kaart h3 { margin-bottom: 0.4em; }
.kaart p:last-child { margin-bottom: 0; }
.kaart .meer { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; }
.kaart .meer::after { content: " \2192"; }
.kaart.ingang { padding: 34px; }
.kaart.ingang h3 { font-size: 1.55rem; }
.kaart.ingang ul { margin-bottom: 1.2em; }
.kaart .icoon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--groen-licht); color: var(--groen);
  display: grid; place-items: center; margin-bottom: 16px;
}
.kaart .icoon svg { width: 28px; height: 28px; }

.vinkjes { list-style: none; padding: 0; }
.vinkjes li { position: relative; padding-left: 30px; }
.vinkjes li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--groen-licht) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23006633' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.sectie.groen .vinkjes li::before { background-color: rgba(255, 255, 255, 0.92); }

/* ---------- Tekst met foto ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo.foto-rechts > .duo-foto { order: 2; }
.duo-foto img { border-radius: 20px; box-shadow: var(--schaduw); width: 100%; object-fit: cover; }
.duo-foto.staand img { aspect-ratio: 4 / 5; }
.duo-foto figcaption { font-size: 0.9rem; color: var(--tekst-zacht); margin-top: 10px; }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; gap: 28px; }
  .duo.foto-rechts > .duo-foto { order: 0; }
}

/* ---------- Kernwaarden ---------- */
.waarden .kaart { text-align: left; }
.waarden h3 { font-size: 1.25rem; }

/* ---------- Fasen ---------- */
.fasen { counter-reset: fase; }
.fase { position: relative; padding-top: 58px; }
.fase::before {
  counter-increment: fase; content: counter(fase);
  position: absolute; top: 24px; left: 28px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--groen); color: #fff; font-family: var(--kop); font-weight: 700;
  display: grid; place-items: center; font-size: 1.1rem; line-height: 38px; text-align: center;
}
.fase { padding: 76px 28px 28px; }

/* ---------- Reviews ---------- */
.reviews { columns: 3 300px; column-gap: 24px; }
.review {
  break-inside: avoid; margin: 0 0 24px; background: var(--wit); border-radius: var(--radius);
  padding: 26px 26px 22px; box-shadow: var(--schaduw); border: 1px solid #edf0ea; position: relative;
}
.review::before {
  content: "\201C"; position: absolute; top: 4px; right: 18px; font-family: var(--kop);
  font-size: 4.2rem; line-height: 1; color: var(--groen); opacity: 0.18;
}
.review blockquote { margin: 0 0 12px; font-size: 1.02rem; }
.review figcaption { font-weight: 800; color: var(--groen); font-size: 0.9rem; letter-spacing: 0.02em; }
.review figcaption span { display: block; font-weight: 600; color: var(--tekst-zacht); letter-spacing: 0; }

/* ---------- Locaties ---------- */
.locatie img { border-radius: 12px; margin-bottom: 16px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.locatie address { font-style: normal; margin-bottom: 0.8em; }
.label { display: inline-block; background: var(--groen-licht); color: var(--groen-donker); font-weight: 700; font-size: 0.82rem; padding: 3px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* ---------- Keurmerken ---------- */
.keurmerken { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 44px; }
.keurmerken img { height: 58px; width: auto; mix-blend-mode: multiply; }

/* ---------- Contactblok ---------- */
.contactband .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contactband p { font-size: 1.12rem; color: #e6f1e8; }
.contactopties { display: grid; gap: 12px; }
.contactopties a {
  display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 14px; padding: 14px 18px;
  color: #fff; text-decoration: none; font-weight: 700;
}
.contactopties a:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.contactopties a span { display: block; font-weight: 600; font-size: 0.9rem; color: #d3e6d7; }
.contactopties svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 860px) { .contactband .wrap { grid-template-columns: 1fr; } }

/* ---------- Thema's (training) ---------- */
.themas li { margin-bottom: 0.25em; }

/* ---------- Tarieven ---------- */
.tarieven { list-style: none; padding: 0; margin: 0; }
.tarieven li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--lijn); margin: 0; }
.tarieven li:last-child { border-bottom: 0; }
.tarieven strong { font-size: 1.05rem; }
.tarieven .prijs { font-family: var(--kop); font-size: 1.35rem; color: var(--groen); font-weight: 700; }
.tarieven small { grid-column: 1 / -1; color: var(--tekst-zacht); font-size: 0.95rem; }

/* ---------- Video (laadt pas na klik) ---------- */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0;
  border-radius: 14px; overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--schaduw);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.video .speel {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  background: var(--groen); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.video .speel svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.video:hover .speel { background: var(--groen-donker); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.videotitel { font-weight: 700; margin: 12px 0 4px; }
.videonoot { font-size: 0.88rem; color: var(--tekst-zacht); }

/* ---------- Downloadkaart ---------- */
.download { display: flex; gap: 20px; align-items: center; background: var(--wit); border-radius: var(--radius); padding: 24px; border: 1px solid var(--lijn); }
.download svg { width: 44px; height: 44px; color: var(--groen); flex: none; }
.download p { margin: 0 0 6px; }

/* ---------- Veelgestelde vragen ---------- */
.faq { border-bottom: 1px solid var(--lijn); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--groen); border-bottom: 2px solid var(--groen); transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .antwoord { padding: 0 0 18px; color: var(--tekst-zacht); }
.faq .antwoord p:last-child { margin-bottom: 0; }

/* ---------- Formulier ---------- */
.formulier { background: var(--wit); border-radius: var(--radius); padding: 32px; box-shadow: var(--schaduw); border: 1px solid #edf0ea; }
.veld { margin-bottom: 18px; }
.veld label { display: block; font-weight: 700; margin-bottom: 6px; }
.veld label small { font-weight: 600; color: var(--tekst-zacht); }
.veld input, .veld textarea, .veld select {
  width: 100%; font: inherit; color: var(--tekst); padding: 12px 14px; border: 1px solid #cfd8cc;
  border-radius: 10px; background: #fff;
}
.veld input:focus, .veld textarea:focus, .veld select:focus { border-color: var(--groen); outline: 2px solid rgba(0, 102, 51, 0.2); }
.veld textarea { min-height: 150px; resize: vertical; }
.twee-velden { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .twee-velden { grid-template-columns: 1fr; } .formulier { padding: 22px; } }
.pot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.formnoot { font-size: 0.9rem; color: var(--tekst-zacht); }
.melding { margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.melding.goed { display: block; background: var(--groen-licht); color: var(--groen-donker); }
.melding.fout { display: block; background: #fbeaea; color: #8a1f1f; }

/* ---------- Voet ---------- */
.voet { background: #10291b; color: #cfdcd2; padding: 56px 0 28px; font-size: 0.97rem; }
.voet a { color: #fff; text-decoration: none; }
.voet a:hover { text-decoration: underline; color: #fff; }
.voet .wrap > .kolommen { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.voet h2 { font-family: var(--romp); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9fc2a8; margin-bottom: 12px; font-weight: 800; }
.voet ul { list-style: none; padding: 0; margin: 0; }
.voet li { margin-bottom: 6px; }
.voet address { font-style: normal; }
.voet .logo-voet { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.voet .logo-voet img { width: 150px; }
.onderregel { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.88rem; color: #9fb5a5; }
@media (max-width: 900px) { .voet .wrap > .kolommen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .voet .wrap > .kolommen { grid-template-columns: 1fr; } }

/* ---------- Diverse ---------- */
.lijnboven { border-top: 1px solid var(--lijn); }
.ruimte-boven { margin-top: 40px; }
.notitie { background: var(--salie); border-left: 4px solid var(--groen); padding: 18px 20px; border-radius: 0 12px 12px 0; }
.tekst h2 { margin-top: 1.4em; }
.tekst h2:first-child { margin-top: 0; }
.tekst h3 { margin-top: 1.2em; }
.whatsapp-zwevend {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.whatsapp-zwevend svg { width: 30px; height: 30px; }
.whatsapp-zwevend:hover { background: #17723e; color: #fff; }

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