/* =========================================================================
   STATISCHE KLANTSITE — één CSS-bestand
   -------------------------------------------------------------------------
   Tokens in ACSS-stijl (zoals globeview.nl): vul per klant alleen het
   MERK-blok in. Classes zijn BEM (blok__element--modifier); layouthelpers
   .container / .section / .grid zijn de enige uitzondering.
   Mobile-first; grids klappen vanzelf. Geen inline styles in de HTML.
   Latere conversie naar Bricks/Etch: skill bricks-wireframe.
   ========================================================================= */

@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
}

:root {
  /* ---- MERK: BSO ZiejeZo (handjes turquoise, spiralen navy, roze accent) ---- */
  --primary:       #23796f;   /* turquoise, donker genoeg voor witte tekst */
  --primary-hover: #1b5f57;
  --primary-ink:   #ffffff;
  --primary-soft:  #3ca59a;   /* logo-turquoise, voor vlakken            */
  --accent:        #b04787;   /* roze uit de oude site                   */
  --accent-hover:  #933a70;
  --accent-soft:   #f9e8f1;
  --base:          #262a63;   /* navy van de spiralen: tekst, footer     */
  --muted:         #565a7d;
  --shade:         #fdf7ef;   /* warm crème                              */
  --teal-soft:     #e3f4f1;
  --line:          #e6ddd0;
  --white:         #ffffff;
  --h-font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font:   "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- Schalen (ACSS-achtig, fluïde) ---- */
  --text-s:   clamp(.85rem, .8rem + .2vw, .95rem);
  --text-m:   clamp(1rem, .95rem + .3vw, 1.125rem);
  --text-l:   clamp(1.15rem, 1.05rem + .5vw, 1.35rem);
  --text-xl:  clamp(1.5rem,  1.3rem + 1vw,   2.1rem);   /* h2 */
  --text-xxl: clamp(2rem,    1.6rem + 2vw,   3.1rem);   /* h1 */
  --space-xs: .5rem;
  --space-s:  .75rem;
  --space-m:  clamp(1rem, .9rem + .5vw, 1.5rem);
  --space-l:  clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --section-space: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --content-width: 1140px;
  --radius: 12px;
}

/* ---- Reset / basis ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--text-m); color: var(--base); background: var(--white); line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--h-font); line-height: 1.15; margin: 0 0 .5em; overflow-wrap: break-word; }
h1 { font-size: var(--text-xxl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-l); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a  { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ---- Layouthelpers ---- */
.container { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--space-m); }
.section { padding-block: var(--section-space); }
.section--tight { padding-block: calc(var(--section-space) / 2); }
.section--shade { background: var(--shade); }
.grid { display: grid; gap: var(--space-l); }
.grid--2 { grid-template-columns: repeat(2, 1fr); align-items: center; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---- Gedeelde elementen ---- */
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: var(--text-s); font-weight: 600; color: var(--primary); margin: 0 0 .5em; }
.lead { font-size: var(--text-l); color: var(--muted); }
.narrow { max-width: 42rem; }
.center { text-align: center; }
.center .narrow, .narrow--center { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-top: var(--space-m); }
.img { border-radius: var(--radius); width: 100%; }
.img--avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: var(--space-m); }

/* ---- Knop (BEM-blok) ---- */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-ink); text-decoration: none;
  font-weight: 600; border: 2px solid var(--primary); cursor: pointer; font-size: var(--text-m);
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn--ghost { background: transparent; color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--primary-ink); }
.btn--inverse { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--small { padding: .35rem .9rem; font-size: var(--text-s); }

/* ---- Topbar ---- */
.topbar { background: var(--base); color: var(--white); font-size: var(--text-s); }
.topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-m); padding-block: .4rem; }
.topbar__link { color: var(--white); }

/* ---- Header ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-m); padding-block: var(--space-s); flex-wrap: wrap; }
.site-header__logo { font-family: var(--h-font); font-weight: 700; font-size: var(--text-l); color: var(--base); text-decoration: none; }
.nav__list { display: flex; flex-wrap: wrap; gap: var(--space-m); list-style: none; margin: 0; padding: 0; }
.nav__link { color: var(--base); text-decoration: none; font-weight: 500; }
.nav__link:hover, .nav__link--active { color: var(--primary); }

/* ---- Hero ---- */
.hero__title { margin-top: 0; }
.hero__text { color: var(--muted); }

/* ---- Pagehead (binnenpagina's) ---- */
.pagehead { background: var(--shade); }
.pagehead__title { margin: 0; }

/* ---- Card (diensten / usp's / waarden / team) ---- */
.card { background: var(--shade); border-radius: var(--radius); padding: var(--space-l); }
.section--shade .card { background: var(--white); }
.card__icon { font-size: 1.6rem; color: var(--primary); margin-bottom: var(--space-s); }
.card__title { margin-bottom: .4em; }
.card__link { font-weight: 600; text-decoration: none; }
.card__img { border-radius: var(--radius); margin-bottom: var(--space-m); }

/* ---- Stats / cijfers ---- */
.stat { text-align: center; }
.stat__number { font-family: var(--h-font); font-size: var(--text-xxl); font-weight: 700; color: var(--primary); line-height: 1; }
.stat__label { color: var(--muted); margin-top: .3em; }

/* ---- Review ---- */
.review__stars { color: var(--primary); letter-spacing: .15em; margin-bottom: var(--space-s); }
.review__author { font-weight: 600; margin-top: var(--space-s); }

/* ---- Logostrip (partners/merken) ---- */
.logostrip__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-xl); }
.logostrip__logo { height: 48px; width: auto; opacity: .6; }

/* ---- FAQ (native uitklap) ---- */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question { font-family: var(--h-font); font-weight: 600; font-size: var(--text-m); padding-block: var(--space-m); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-m); }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: "+"; color: var(--primary); font-weight: 700; }
.faq__item[open] .faq__question::after { content: "–"; }
.faq__answer { padding-bottom: var(--space-m); color: var(--muted); }

/* ---- CTA-band ---- */
.cta { background: var(--primary); color: var(--primary-ink); }
.cta__title { color: inherit; }
.cta .actions { justify-content: center; }

/* ---- Contactblok / kaart ---- */
.contact-card { background: var(--shade); border-radius: var(--radius); padding: var(--space-l); }
.contact-card__label { font-weight: 600; margin-bottom: .2em; }
.map { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding-block: .35rem; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }

/* ---- Footer ---- */
.site-footer { background: var(--base); color: #d5d5da; padding-top: var(--section-space); }
.site-footer h3 { color: var(--white); font-size: var(--text-m); }
.site-footer a { color: #d5d5da; }
.site-footer a:hover { color: var(--white); }
.site-footer__logo { font-family: var(--h-font); font-weight: 700; font-size: var(--text-l); color: var(--white); }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: .4rem; }
.site-footer__bottom { border-top: 1px solid #44444c; margin-top: var(--space-xl); padding-block: var(--space-m); font-size: var(--text-s); text-align: center; }

/* =========================================================================
   BSO ZiejeZo: klantspecifieke blokken
   ========================================================================= */
h1, h2, h3 { font-weight: 800; color: var(--base); }
.eyebrow { color: var(--accent); }
.btn { border-radius: 999px; font-weight: 700; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.topbar { background: var(--primary); }
.topbar .btn--small { background: var(--white); color: var(--primary); border-color: var(--white); }

/* ---- Logo ---- */
.logo { display: flex; align-items: center; gap: var(--space-s); text-decoration: none; color: var(--base); }
.logo__img { width: 56px; height: auto; }
.logo__name { font-family: var(--h-font); font-weight: 900; font-size: var(--text-l); line-height: 1; }
.logo__sub { display: block; font-size: var(--text-s); font-weight: 600; color: var(--muted); margin-top: .2em; }
.nav__link { font-weight: 700; }

/* ---- Hero met foto ---- */
.hero { background: var(--shade); overflow: hidden; }
.hero__grid { align-items: center; }
.hero__title { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); }
.hero__text { font-size: var(--text-l); }
.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; inset: -8% -12% auto auto; width: 70%; aspect-ratio: 1;
  background: var(--accent-soft); border-radius: 50%; z-index: 0;
}
.hero__img { position: relative; z-index: 1; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.hero__badge {
  position: absolute; z-index: 2; left: 0; bottom: 6%; background: var(--white); border-radius: var(--radius);
  padding: var(--space-s) var(--space-m); box-shadow: 0 10px 30px rgb(38 42 99 / .12); font-weight: 700; color: var(--base);
}
.hero__badge strong { display: block; color: var(--primary); font-size: var(--text-xl); line-height: 1; }

/* ---- Feitenstrook ---- */
.facts { background: var(--primary); color: var(--primary-ink); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-m); list-style: none; margin: 0; padding: var(--space-l) 0; text-align: center; }
.facts__number { display: block; font-family: var(--h-font); font-weight: 900; font-size: var(--text-xl); line-height: 1.1; }
.facts__label { font-size: var(--text-s); opacity: .9; }
@media (max-width: 640px) { .facts__list { grid-template-columns: repeat(2, 1fr); } }

/* ---- Welkom met fotocollage ---- */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
.collage__img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.collage__img--offset { margin-top: var(--space-xl); }
.address { background: var(--teal-soft); border-radius: var(--radius); padding: var(--space-m); margin-top: var(--space-m); }
.address__label { font-weight: 800; margin-bottom: .2em; }

/* ---- Infokaarten (naar binnenpagina's) ---- */
.info-card { background: var(--white); border-radius: calc(var(--radius) * 1.5); overflow: hidden; text-decoration: none; color: var(--base); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(38 42 99 / .12); }
.info-card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.info-card__body { padding: var(--space-m) var(--space-m) var(--space-l); }
.info-card__title { margin-bottom: .3em; }
.info-card__text { color: var(--muted); margin: 0; }
.info-card__more { display: inline-block; margin-top: var(--space-s); font-weight: 800; color: var(--primary); }

/* ---- Team / quote ---- */
.team__img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 420px; margin-inline: auto; border: 10px solid var(--teal-soft); }
.quote { font-size: var(--text-l); font-weight: 600; color: var(--base); border-left: 6px solid var(--accent); padding-left: var(--space-m); margin: 0 0 var(--space-m); }
.quote__author { font-weight: 800; color: var(--accent); }

.member { text-align: center; }
.member__img, .member__photo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 220px; margin: 0 auto var(--space-m); border: 8px solid var(--teal-soft); }
.member__photo { display: grid; place-items: center; background: var(--white); color: var(--muted); }
.member__name { margin-bottom: .1em; }
.member__role { color: var(--primary); font-weight: 700; margin-bottom: var(--space-xs); }

/* ---- Openingstijden-kaart ---- */
.hours-card { background: var(--white); border-radius: calc(var(--radius) * 1.5); padding: var(--space-l); }
.hours-card__title { color: var(--primary); }
.hours td:first-child { padding-right: var(--space-m); }

/* ---- CTA-band (roze) ---- */
.cta { background: var(--accent); }
.cta__title { color: var(--white); }
.cta .btn--inverse { color: var(--accent); }
.cta .btn--ghost { color: var(--white); border-color: var(--white); }
.cta .btn--ghost:hover { background: var(--white); color: var(--accent); }

/* ---- Footer ---- */
.site-footer__logo .logo__img { width: 44px; filter: brightness(0) invert(1); }
.site-footer__logo { display: flex; align-items: center; gap: var(--space-s); }
.facts__label { display: block; line-height: 1.3; }
.hero__img { object-position: 60% center; }
@media (max-width: 640px) {
  .site-header { position: static; }
  .nav__list { gap: .25rem var(--space-s); font-size: var(--text-s); }
  .logo__img { width: 44px; }
}

/* ---- Binnenpagina's ---- */
.pagehead { background: var(--shade); padding-block: var(--space-xl); }
.pagehead__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-l); align-items: center; }
.pagehead__title { font-size: var(--text-xxl); margin-bottom: .3em; }
.pagehead__lead { font-size: var(--text-l); color: var(--muted); margin: 0; }
.pagehead__img { border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; max-width: 420px; justify-self: end; }
@media (max-width: 640px) { .pagehead__inner { grid-template-columns: 1fr; } .pagehead__img { justify-self: start; max-width: 260px; } }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; font-size: var(--text-xl); }
.prose h3 { margin-top: 1.4em; color: var(--primary); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .3em; }
.prose h2[id] { scroll-margin-top: 6rem; }

.table { width: 100%; border-collapse: collapse; margin-block: var(--space-m); font-size: var(--text-s); }
.table td, .table th { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tr:first-child td { font-weight: 800; background: var(--teal-soft); }
.table-wrap { overflow-x: auto; }

.toc { background: var(--teal-soft); border-radius: var(--radius); padding: var(--space-m) var(--space-l); margin-bottom: var(--space-l); max-width: 46rem; }
.toc__title { font-weight: 800; margin-bottom: .4em; }
.toc__list { margin: 0; padding-left: 1.2em; columns: 2; column-gap: var(--space-l); }
.toc__list li { margin-bottom: .25em; break-inside: avoid; }
@media (max-width: 640px) { .toc__list { columns: 1; } }

/* downloads */
.downloads { list-style: none; padding: 0; margin: var(--space-m) 0; display: grid; gap: var(--space-s); max-width: 46rem; }
.download { display: flex; justify-content: space-between; align-items: center; gap: var(--space-m); background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: var(--space-s) var(--space-m); text-decoration: none; color: var(--base); font-weight: 700; }
.download:hover { border-color: var(--primary); }
.download__type { flex: none; font-size: var(--text-s); font-weight: 800; color: var(--primary); }
.download--featured { background: var(--teal-soft); border-color: var(--primary-soft); }

/* lijst sluitingsdagen */
.daylist { list-style: none; padding: 0; margin: 0; max-width: 46rem; }
.daylist li { display: flex; justify-content: space-between; gap: var(--space-m); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.daylist li span:first-child { font-weight: 800; }

/* contact */
.contact-card { background: var(--shade); border-radius: calc(var(--radius) * 1.5); padding: var(--space-l); }
.contact-card__label { font-weight: 800; color: var(--primary); margin-bottom: .2em; }
.contact-card p { margin-bottom: var(--space-m); }
