/* Big Master Sports Club — huisstijl
   Rood #B90006 · accentrood #FF3B2E · zwart #0B0B0D · licht #F5F2EF */

:root {
  --rood: #B90006;
  --rood-licht: #FF3B2E;
  --rood-zacht: #FF8A80;
  --zwart: #0B0B0D;
  --zwart-2: #121216;
  --lijn: #26262C;
  --licht: #F5F2EF;
  --ink: #14110F;
  --ink-zacht: #4A4340;
  --grijs: #B4AEA9;
  --wa: #7CE38B;
  --kop: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --tekst: Barlow, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--zwart);
  color: var(--licht);
  font-family: var(--tekst);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--rood-licht); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: var(--rood); color: #fff; }
:focus-visible { outline: 2px solid var(--rood-licht); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- typografie ---------- */
h1, h2, h3 { font-family: var(--kop); font-weight: 900; text-transform: uppercase; margin: 0; line-height: .94; }
h1 { font-size: clamp(52px, 8.6vw, 136px); letter-spacing: -.02em; }
h2 { font-size: clamp(40px, 5.4vw, 78px); }
h2 .rood { color: var(--rood-licht); }
.licht h2 .rood { color: var(--rood); }
p { text-wrap: pretty; }

.oog { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.oog i { display: block; width: 34px; height: 3px; background: var(--rood); }
.oog span { font-family: var(--mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--rood-zacht); }
.licht .oog span { color: var(--rood); }

.intro {
  margin: 0; max-width: 460px; font-size: clamp(16px, 1.4vw, 19px);
  color: #D6D0CB; border-top: 3px solid var(--rood); padding-top: 16px;
}
.licht .intro { color: var(--ink-zacht); }
.licht .intro strong { color: var(--ink); font-weight: 700; }

/* ---------- knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--kop); font-weight: 800; font-size: clamp(19px, 2vw, 24px);
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--rood); color: #fff; padding: 18px 32px; border: 0; cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .3s ease;
}
.knop:hover { background: var(--rood-licht); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(185, 0, 6, .5); }
.knop--klein { font-size: 22px; padding: 16px 30px; }
.knop--lijn { background: transparent; border: 1px solid rgba(255, 255, 255, .4); }
.knop--lijn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }
.knop--wit { background: #fff; color: var(--rood); }
.knop--wit:hover { background: var(--zwart); color: #fff; }
.knop--breed { width: 100%; justify-content: center; }
.stip { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(124, 227, 139, .25); flex: 0 0 auto; }
.knop--wit .stip { background: #1FA855; box-shadow: none; }

/* ---------- header ---------- */
.kop-balk {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: rgba(11, 11, 13, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.merk { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.merk img { height: clamp(40px, 4.6vw, 52px); width: auto; }
.merk b {
  display: block; font-family: var(--kop); font-weight: 900;
  font-size: clamp(21px, 2.3vw, 27px); letter-spacing: .02em; text-transform: uppercase;
  color: #fff; line-height: 1; white-space: nowrap;
}
.merk small {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: #FF6A5E; margin-top: 5px; white-space: nowrap;
}
.menu { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; gap: 6px 20px; }
.menu a {
  font-family: var(--kop); font-weight: 700; font-size: 18px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--licht); white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.menu a:hover { color: #fff; border-bottom-color: var(--rood); }
.kop-wa {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--kop); font-weight: 800; font-size: 18px; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; background: var(--rood); padding: 13px 22px; white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.kop-wa:hover { background: var(--rood-licht); color: #fff; transform: translateY(-2px); }
.kop-wa .stip { width: 9px; height: 9px; box-shadow: 0 0 0 3px rgba(124, 227, 139, .25); }

.schakel { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
/* de schakelaars zijn verborgen inputs: toon de toetsenbordfocus op het bijbehorende label */
.kop-balk:has(#menu-schakel:focus-visible) .hamburger,
.galerij:has(#g-alles:focus-visible) label[for="g-alles"],
.galerij:has(#g-foto:focus-visible) label[for="g-foto"],
.galerij:has(#g-video:focus-visible) label[for="g-video"] { outline: 2px solid var(--rood-licht); outline-offset: 3px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px; background: transparent;
  border: 1px solid rgba(255, 255, 255, .28); cursor: pointer;
}
.hamburger span { display: block; height: 2px; background: #fff; }

.lade { display: none; }
body:has(#menu-schakel:checked) .lade {
  display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 70;
  background: rgba(11, 11, 13, .98); padding: 16px 20px 36px; overflow: auto;
}
.lade-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.lade-top span { font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #FF6A5E; }
.lade-sluit {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.lade a {
  font-family: var(--kop); font-weight: 800; font-size: 38px; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid #1e1e22; padding: 12px 0;
}
.lade .knop { margin-top: 24px; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - 244px); display: flex; align-items: center; overflow: hidden; background: var(--zwart); }
.hero-beeld {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 40%;
  animation: zoom 14s cubic-bezier(.2, .6, .2, 1) both;
}
.hero .sluier {
  position: absolute; inset: 0;
  background: linear-gradient(94deg, var(--zwart) 0%, rgba(11, 11, 13, .94) 24%, rgba(11, 11, 13, .6) 46%, rgba(11, 11, 13, .1) 70%, rgba(11, 11, 13, .35) 100%);
}
.hero .kant { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(180deg, var(--rood), var(--rood-licht)); }
.hero-inhoud { position: relative; z-index: 3; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 120px) var(--pad) clamp(40px, 6vw, 64px); }
.hero-inhoud > div { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 22px; text-shadow: 0 10px 46px rgba(0, 0, 0, .65); animation: op .7s .08s ease both; }
.hero h1 .rood { color: var(--rood-licht); }
.hero p { font-size: clamp(17px, 1.5vw, 20px); color: #E3DEDA; margin: 0 0 32px; max-width: 520px; animation: op .7s .18s ease both; }
.hero .oog { animation: schuif .6s ease both; }
.hero-knoppen { display: flex; flex-wrap: wrap; gap: 14px; animation: op .7s .28s ease both; }

/* ---------- feitenbalk ---------- */
.feiten { background: #0F0F12; border-top: 1px solid #1E1E22; border-bottom: 1px solid #1E1E22; }
.feiten .wrap { padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.feiten dt { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rood-zacht); margin-bottom: 6px; }
.feiten dd { margin: 0; font-family: var(--kop); font-weight: 800; font-size: 28px; line-height: 1; color: #fff; }
.feiten dd em { font-style: normal; color: #FF6A5E; }

/* ---------- lopende balk ---------- */
.loper { background: linear-gradient(92deg, var(--rood), #8F0005); overflow: hidden; padding: 14px 0; }
.loper div { display: flex; width: max-content; animation: loop 34s linear infinite; }
.loper ul {
  display: flex; align-items: center; gap: 36px; margin: 0; padding: 0 36px 0 0; list-style: none;
  font-family: var(--kop); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: .1em; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.loper li::after { content: ' ◆'; color: rgba(255, 255, 255, .5); }

/* ---------- secties ---------- */
section { position: relative; }
.licht { background: var(--licht); color: var(--ink); }
.licht h2 { color: var(--ink); }
.licht p { color: var(--ink-zacht); }
.vak { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
.vak-kop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.twee { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.twee > * { min-width: 0; }

/* ---------- branşlar ---------- */
.branches {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(64px, 7vw, 104px);
}
.kaart { position: relative; display: block; overflow: hidden; background: var(--ink); border: 1px solid #E2DCD7; transition: transform .2s ease, box-shadow .25s ease; }
.kaart:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20, 17, 15, .22); }
.kaart figure { position: relative; margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.kaart img { width: 100%; height: 100%; object-fit: cover; }
.kaart figcaption { position: absolute; inset: auto 20px 18px 20px; }
.kaart b { display: block; font-family: var(--kop); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; text-transform: uppercase; color: #fff; }
.kaart small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rood-zacht); margin-top: 8px; }
.kaart .laag { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, 0) 40%, rgba(11, 11, 13, .92) 100%); }
.branches > .kaart:nth-child(-n+3) { grid-column: span 2; }
.branches > .kaart:nth-child(n+4) { grid-column: span 3; }
.branches > .kaart:nth-child(n+4) figure { aspect-ratio: 16/9; }

/* ---------- yakında ---------- */
.yakinda { background: var(--zwart); border-top: 1px solid #1E1E22; overflow: hidden; }
.yakinda .gloed { position: absolute; right: -10%; top: -40%; width: 60vw; height: 120%; background: radial-gradient(closest-side, rgba(185, 0, 6, .28), rgba(185, 0, 6, 0)); }
.yakinda .wrap { position: relative; }
.label-rij { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.vlag { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--rood); padding: 7px 12px; }
.vlag--leeg { background: transparent; color: var(--rood-zacht); padding: 7px 0; }
.nieuw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.nieuw article {
  position: relative; overflow: hidden; min-height: 240px; padding: 26px 24px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-color: var(--zwart-2); background-size: cover; background-position: center;
  border: 1px solid var(--lijn); transition: border-color .2s ease, transform .2s ease;
}
.nieuw .n-padel { background-image: url('../img/yakinda-padel.webp'); }
.nieuw .n-squash { background-image: url('../img/yakinda-squash.webp'); }
.nieuw .n-basketbol { background-image: url('../img/yakinda-basketbol.webp'); }
.nieuw .n-atletizm { background-image: url('../img/yakinda-atletizm.webp'); }
.nieuw article::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, .04) 0%, rgba(11, 11, 13, .16) 50%, rgba(11, 11, 13, .72) 62%, rgba(11, 11, 13, .95) 100%); }
.nieuw article > * { position: relative; }
.nieuw article:hover { border-color: var(--rood); transform: translateY(-4px); }
.nieuw i { display: block; width: 34px; height: 3px; background: var(--rood); margin-bottom: 18px; }
.nieuw h3 { font-size: clamp(30px, 3vw, 42px); line-height: .95; color: #fff; }
.nieuw p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--grijs); }
.yakinda .knop { margin-top: 32px; }

/* ---------- sectie-overgang ---------- */
.overgang { background: var(--zwart); padding-bottom: clamp(28px, 3vw, 44px); }
.overgang .wrap { display: flex; align-items: center; gap: 18px; }
.overgang em { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #837C77; white-space: nowrap; }
.overgang hr { flex: 1 1 auto; height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, #2A2A31, var(--rood)); }
.overgang b { font-family: var(--kop); font-weight: 800; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--rood); padding: 8px 14px; white-space: nowrap; }

/* ---------- çocuklar ---------- */
.kids { overflow: hidden; border-top: 4px solid var(--rood); background: var(--zwart); }
.kids > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.kids .sluier { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, .12) 24%, rgba(11, 11, 13, .62) 62%, rgba(11, 11, 13, .97) 100%); }
.kids .wrap { position: relative; padding-top: clamp(200px, 24vw, 380px); padding-bottom: clamp(48px, 6vw, 72px); }
.kids h2 { color: #fff; margin-bottom: 18px; text-shadow: 0 6px 30px rgba(0, 0, 0, .85); }
.kids > .wrap > p { margin: 0 0 30px; max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); color: #E3DEDA; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.kids-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 32px; }
.kids-rij > div { display: flex; gap: 16px; align-items: center; background: rgba(18, 18, 22, .82); border: 1px solid #2A2A31; padding: 14px; backdrop-filter: blur(6px); }
.kids-rij > div > div { min-width: 0; }
.kids-rij img { width: 124px; height: 124px; object-fit: cover; flex: 0 0 auto; }
.kids-rij b { display: block; font-family: var(--kop); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; color: #fff; }
.kids-rij p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--grijs); }

/* ---------- havuz ---------- */
.havuz-beeld { display: flex; flex-direction: column; gap: 12px; }
.havuz-beeld > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.havuz-beeld div { display: flex; gap: 12px; }
.havuz-beeld div img { flex: 1 1 0; min-width: 0; aspect-ratio: 1/1; object-fit: cover; }
.merken { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.merken li { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border: 1px solid #D8D1CB; padding: 9px 14px; }

/* ---------- banner ---------- */
.banner { overflow: hidden; }
.banner img { width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover; }
.banner .sluier { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, .45) 0%, rgba(11, 11, 13, .05) 45%, rgba(11, 11, 13, .6) 100%); }
.banner div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: var(--pad); }
.banner h2 { color: #fff; text-shadow: 0 4px 26px rgba(0, 0, 0, .95), 0 0 70px rgba(0, 0, 0, .8); }

/* ---------- galerij ---------- */
.galerij { background: var(--zwart); border-top: 1px solid #1E1E22; }
.galerij .wrap { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(20px, 3vw, 32px); }
.filters { display: flex; gap: 8px; }
.filters label {
  font-family: var(--kop); font-weight: 800; font-size: 18px; letter-spacing: .08em;
  text-transform: uppercase; padding: 12px 20px; cursor: pointer;
  color: var(--licht); background: transparent; border: 1px solid #2A2A31;
}
.filters label:hover { border-color: var(--rood); }
#g-alles:checked ~ .wrap .filters label[for="g-alles"],
#g-foto:checked ~ .wrap .filters label[for="g-foto"],
#g-video:checked ~ .wrap .filters label[for="g-video"] { color: #fff; background: var(--rood); border-color: var(--rood); }
#g-foto:checked ~ .tegels .tegel--video,
#g-video:checked ~ .tegels .tegel--foto { display: none; }
.tegels {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 108px;
  grid-auto-flow: dense; gap: 10px; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 6vw, 88px);
}
.tegel { position: relative; display: block; overflow: hidden; background: var(--zwart-2); grid-row: span 4; transition: box-shadow .25s ease; }
.tegel:hover { box-shadow: 0 0 0 2px var(--rood); }
.tegel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tegel--groot { grid-column: span 6; }
.tegel--smal { grid-column: span 3; }
.tegel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, 0) 55%, rgba(11, 11, 13, .75) 100%); }

.tegel--video .achter { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(22px) brightness(.45) saturate(1.1); }
.tegel--video img { object-fit: contain; }
.tegel--video .speel {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  background: rgba(11, 11, 13, .28);
}
.tegel--video .speel span {
  display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  border-radius: 50%; background: rgba(185, 0, 6, .94); box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
}
.tegel--video .speel span::before {
  content: ''; width: 0; height: 0; margin-left: 5px;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.tegel--video .vlag { position: absolute; left: 14px; top: 14px; z-index: 3; }

/* ---------- bmi ---------- */
.bmi-kaart { background: #fff; border: 1px solid #E2DCD7; padding: clamp(22px, 3vw, 34px); box-shadow: 0 20px 50px rgba(20, 17, 15, .08); }
.bmi-velden { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 24px; }
.bmi-velden label { display: flex; flex-direction: column; gap: 8px; }
.bmi-velden span { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A736E; }
.bmi-velden input {
  font-family: var(--kop); font-weight: 800; font-size: 32px; color: var(--ink);
  background: var(--licht); border: 1px solid #E2DCD7; border-bottom: 3px solid var(--rood);
  padding: 12px 14px; width: 100%;
}
.bmi-uit { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.bmi-uit output { font-family: var(--kop); font-weight: 900; font-size: clamp(64px, 9vw, 104px); line-height: .85; color: var(--ink); }
.bmi-uit b { display: block; font-family: var(--kop); font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; color: var(--rood); }
.bmi-uit small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7A736E; margin-top: 6px; }
.bmi-schaal i { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--ink); left: 0; transition: left .2s ease; }
.bmi-schaal { position: relative; height: 10px; background: linear-gradient(90deg, #8FA9C9 0%, #4F9E6A 30%, #E1A100 62%, var(--rood) 100%); margin-bottom: 10px; }
.bmi-legenda { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #7A736E; margin-bottom: 24px; }
.klein { font-size: 14px; line-height: 1.5; color: #7A736E; max-width: 440px; }

/* ---------- kulüp ---------- */
.kulup-lijst { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kulup-lijst li { font-family: var(--kop); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: #fff; border: 1px solid #2A2A31; background: var(--zwart-2); padding: 10px 16px; }
.kulup-beeld { display: flex; gap: 12px; }
.kulup-beeld > img { flex: 2 1 0; min-width: 0; aspect-ratio: 3/4; object-fit: cover; }
.kulup-beeld div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.kulup-beeld div img { width: 100%; flex: 1 1 0; min-height: 0; object-fit: cover; }

/* ---------- sss ---------- */
.twee.sss { align-items: start; }
.sss-lijst { border-top: 3px solid var(--rood); }
.sss-lijst details { border-bottom: 1px solid #D8D1CB; }
.sss-lijst summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; }
.sss-lijst summary::-webkit-details-marker { display: none; }
.sss-lijst summary::after { content: '+'; font-family: var(--kop); font-weight: 800; font-size: 32px; line-height: 1; color: var(--rood); flex: 0 0 auto; }
.sss-lijst details[open] summary::after { content: '−'; }
.sss-lijst h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.1; color: var(--ink); }
.sss-lijst summary:hover h3 { color: var(--rood); }
.sss-lijst p { margin: 0 0 22px; font-size: 17px; line-height: 1.55; max-width: 620px; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(140deg, var(--rood) 0%, #8F0005 100%); }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact > .wrap { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 4vw, 56px); }
.contact p { margin: 0 0 28px; font-size: clamp(16px, 1.4vw, 19px); color: #FFE7E5; max-width: 480px; }
.contact-knoppen { display: flex; flex-wrap: wrap; gap: 14px; }
.gegevens { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; color: #fff; }
.gegevens dt { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #FFD1CD; margin-bottom: 8px; }
.gegevens dd { margin: 0 0 22px; font-size: 17px; line-height: 1.5; }
.gegevens a { color: #fff; }
.gegevens a:hover { color: var(--zwart); }

/* ---------- footer ---------- */
footer { background: var(--zwart); border-top: 1px solid #1E1E22; }
footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer .merk b { font-size: 21px; }
footer .merk img { height: 36px; opacity: .85; }
footer small { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #837C77; }

/* ---------- animaties ---------- */
@keyframes op { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes schuif { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- tablet ---------- */
@media (max-width: 999px) {
  .branches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .branches > .kaart:nth-child(-n+3) { grid-column: span 3; }
  .branches > .kaart:nth-child(4) { grid-column: span 3; }
  .branches > .kaart:nth-child(4) figure { aspect-ratio: 4/5; }
  .branches > .kaart:nth-child(5) { grid-column: span 6; }
  .branches > .kaart:nth-child(5) figure { aspect-ratio: 21/9; }
  .nieuw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tegels { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 96px; }
  .tegel--groot { grid-column: span 6; }
  .tegel--smal { grid-column: span 3; }
  .kids-rij img { width: 104px; height: 104px; }
}

/* ---------- mobiel ---------- */
@media (max-width: 619px) {
  body { font-size: 16px; }
  .tegel--video .speel span { width: 46px; height: 46px; }
  .tegel--video .speel span::before { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
  .kids-rij img { width: 68px; height: 68px; }
  .hero-beeld { object-position: 50% 30%; }
  .vak-kop { align-items: flex-start; }
  .filters { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ---------- afmaken: contact in kop, advies, knoppen ---------- */
.kop-tel {
  flex: 0 0 auto; font-family: var(--kop); font-weight: 800; font-size: 18px; letter-spacing: .06em;
  color: #fff; white-space: nowrap; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .28);
}
.kop-tel:hover { border-color: #fff; color: #fff; }
.kop-mobiel .kop-mobiel-tel {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28);
}
.vak-boven { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(28px, 3vw, 40px); }
.galerij .galerij-meer { padding-top: 0; padding-bottom: clamp(56px, 6vw, 88px); margin-top: calc(24px - clamp(56px, 6vw, 88px)); }
.bmi-advies { margin: 0 0 22px; font-size: 16px; line-height: 1.5; color: var(--ink-zacht); }
.kulup-knop { margin-top: 28px; }
section[id] { scroll-margin-top: 76px; }

/* ---------- yorumlar (Google-reviews) ---------- */
.yorumlar {
  background: radial-gradient(110% 80% at 15% 0%, #2a0806 0%, #150506 40%, #0b0708 100%);
  border-bottom: 1px solid #24120f;
}
.yorum-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 40px; }
.yorum-rij figure { margin: 0; background: rgba(12, 8, 9, .72); border: 1px solid #3a1a17; padding: 28px 30px; }
.yorum-rij .yildiz { margin: 0 0 14px; font-size: 18px; letter-spacing: .2em; color: #FF5A4E; }
.yorum-rij blockquote { margin: 0 0 18px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: #D6D0CB; }
.yorum-rij figcaption b { display: block; font-family: var(--kop); font-weight: 700; font-size: 20px; text-transform: uppercase; color: #fff; }
.yorum-rij figcaption small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #A39C97; }
.yorum-knop { margin-top: 32px; }

@media (max-width: 1279px) {
  .menu, .kop-wa, .kop-tel { display: none; }
  .hamburger { display: flex; }
  .kop-mobiel { display: flex; align-items: center; gap: 10px; }
  .kop-mobiel a {
    font-family: var(--kop); font-weight: 800; font-size: 16px; letter-spacing: .06em;
    text-transform: uppercase; color: #fff; background: var(--rood); padding: 13px 16px; white-space: nowrap;
  }
}
@media (min-width: 1280px) { .kop-mobiel { display: none; } }
@media (max-width: 419px) {
  .kop-balk { gap: 10px; }
  .kop-balk .merk span { display: none; }
}

/* mobiel: kaartenrijen als horizontale carrousels (webdesign.md, mobiel-regel) */
@media (max-width: 768px) {
  .branches, .nieuw, .kids-rij, .tegels, .yorum-rij {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; scrollbar-width: thin;
  }
  .branches { scroll-padding-inline: var(--pad); }
  .branches > .kaart { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
  .branches > .kaart figure { aspect-ratio: 4/5 !important; }
  .nieuw > article { flex: 0 0 min(80%, 320px); scroll-snap-align: start; }
  .kids-rij > div { flex: 0 0 min(86%, 340px); scroll-snap-align: start; }
  .yorum-rij > figure { flex: 0 0 min(86%, 340px); scroll-snap-align: start; }
  .tegels { scroll-padding-inline: var(--pad); }
  .tegels > .tegel { flex: 0 0 min(76%, 320px); height: 380px; scroll-snap-align: start; }
  .filters label { flex: 1 1 0; text-align: center; padding: 12px 8px; }
}

/* ---------- foutpagina ---------- */
.fout { position: relative; overflow: hidden; min-height: min(78vh, 720px); display: flex; align-items: center; }
.fout > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fout .sluier { position: absolute; inset: 0; background: linear-gradient(94deg, var(--zwart) 0%, rgba(11, 11, 13, .94) 40%, rgba(11, 11, 13, .7) 100%); }
.fout .wrap { position: relative; width: 100%; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.fout h1 { color: #fff; font-size: clamp(46px, 7vw, 104px); margin-bottom: 22px; }
.fout h1 .rood { color: var(--rood-licht); }
.fout p { font-size: clamp(17px, 1.5vw, 20px); color: #E3DEDA; margin: 0 0 32px; max-width: 520px; }

/* ---------- üye kontenjanı (ledenteller rechtsonder) ---------- */
.kontenjan-hoek {
  position: fixed; z-index: 50;
  right: clamp(14px, 2.4vw, 34px);
  bottom: calc(clamp(14px, 2.4vw, 34px) + env(safe-area-inset-bottom, 0px));
  width: min(300px, 86vw);
  transform: rotate(-5deg); transform-origin: 100% 100%;
  transition: transform .25s ease;
}
.kontenjan-hoek:hover { transform: rotate(-1.5deg) translateY(-4px); }
.kontenjan-hoek.is-zichtbaar { animation: kom .55s cubic-bezier(.2, .8, .3, 1) backwards; }
.kontenjan-hoek.is-weg { display: none; }
body:has(#menu-schakel:checked) .kontenjan-hoek { display: none; }

.kontenjan {
  display: block; width: 100%; padding: 16px 20px 18px;
  background: var(--rood); border: 2px solid rgba(255, 255, 255, .5);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .62); color: #fff;
}
.kontenjan:hover { background: #d10007; color: #fff; } /* #d10007 = hoverrood uit design/DESIGN.md */
.kontenjan-hoek.is-zichtbaar .kontenjan { animation: aandacht 1.6s .7s ease-out 2 both; }
.kontenjan-oog {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: #fff;
}
.kontenjan-stip {
  flex: 0 0 auto; width: 8px; height: 8px; background: #fff; border-radius: 50%;
}
.kontenjan-hoek.is-zichtbaar .kontenjan-stip { animation: knipper 1.4s steps(1, end) infinite; }
.kontenjan-getal {
  display: flex; align-items: baseline; gap: 6px; margin: 10px 0 10px;
  font-family: var(--kop); line-height: .88;
}
.kontenjan-getal b { font-weight: 900; font-size: 68px; color: #fff; font-variant-numeric: tabular-nums; }
.kontenjan-getal i { font-style: normal; font-weight: 700; font-size: 26px; color: rgba(255, 255, 255, .92); }
.kontenjan-balk { display: block; height: 7px; background: rgba(0, 0, 0, .4); overflow: hidden; }
/* 44.6% = 223/500; de vulling zonder JS. Houd gelijk aan data-nu in index.html. */
.kontenjan-balk i { display: block; height: 100%; width: 44.6%; background: #fff; transform-origin: left center; }
.kontenjan-hoek.is-zichtbaar .kontenjan-balk i { animation: vul .9s .25s cubic-bezier(.2, .8, .3, 1) backwards; }
.kontenjan-rest {
  display: block; margin-top: 11px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.kontenjan-rest b { font-weight: 500; color: #fff; }
.kontenjan-knop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 14px; padding: 12px 10px;
  background: #fff; color: var(--rood);
  font-family: var(--kop); font-weight: 800; font-size: 19px;
  letter-spacing: .06em; text-transform: uppercase;
}
.kontenjan-knop i { font-style: normal; }
.kontenjan:hover .kontenjan-knop { background: var(--zwart); color: #fff; }

.kontenjan-sluit {
  display: none; position: absolute; top: -12px; right: -12px;
  width: 32px; height: 32px; padding: 0; align-items: center; justify-content: center;
  background: var(--zwart); color: #fff; border: 2px solid rgba(255, 255, 255, .5);
  font-family: var(--tekst); font-size: 17px; line-height: 1; cursor: pointer;
}
.kontenjan-sluit.is-zichtbaar { display: flex; }
.kontenjan-sluit:hover { background: var(--zwart); border-color: #fff; }

@keyframes kom { from { opacity: 0; transform: rotate(-5deg) translate(34px, 18px); } }
@keyframes vul { from { transform: scaleX(0); } }
@keyframes knipper { 50% { opacity: .15; } }
@keyframes aandacht {
  0%, 100% { box-shadow: 0 22px 54px rgba(0, 0, 0, .62); }
  50% { box-shadow: 0 22px 54px rgba(0, 0, 0, .62), 0 0 0 12px rgba(185, 0, 6, .3); }
}

@media (max-width: 619px) {
  .kontenjan-hoek { width: min(230px, 72vw); }
  .kontenjan { padding: 12px 14px 14px; }
  .kontenjan-oog { font-size: 10px; letter-spacing: .18em; }
  .kontenjan-getal { margin: 8px 0; }
  .kontenjan-getal b { font-size: 48px; }
  .kontenjan-getal i { font-size: 20px; }
  .kontenjan-rest { margin-top: 9px; font-size: 10px; }
  .kontenjan-knop { margin-top: 11px; padding: 10px 8px; font-size: 16px; }
}

/* ---------- hulpklassen ---------- */
.lopend { font-size: clamp(16px, 1.4vw, 19px); margin: 22px 0 28px; }
.lopend.donker { color: #D6D0CB; margin: 22px 0 16px; }
.lopend.donker + .lopend.donker { margin: 0 0 28px; }
