/* MyCheck — mycheck.id
   Kleuren en typografie volgens de MyCheck styleguide (oktober 2026). */

@font-face {
  font-family: "Clash Display";
  src: url("../fonts/ClashDisplay-Variable.woff2") format("woff2"),
       url("../fonts/ClashDisplay-Variable.woff") format("woff");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2"),
       url("../fonts/GeneralSans-Variable.woff") format("woff");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --aubergine: #3A1A47;
  --lila: #C7B0E6;
  --jade: #4F9D69;
  --creme: #F9F9DE;
  --wit: #FFFFFF;
  --tekst: #4A4250;
  --label: #6E6574;
  --gelukt-tekst: #2E6B44;
  --lijn-licht: #E4DFE8;
  --lijn-donker: rgba(199, 176, 230, 0.4);

  --font-titel: "Clash Display", "General Sans", Arial, sans-serif;
  --font-tekst: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --breedte: 1180px;
  --gutter: max(20px, 5vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--aubergine);
  color: var(--creme);
  font-family: var(--font-tekst);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lila); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.band { padding: 112px var(--gutter); }
.band--aubergine { background: var(--aubergine); color: var(--creme); }
.band--creme { background: var(--creme); color: var(--aubergine); }
.band--wit { background: var(--wit); color: var(--aubergine); }
.band--lila { background: var(--lila); color: var(--aubergine); }
.wrap { max-width: var(--breedte); margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.split {
  display: flex; flex-wrap: wrap; gap: 20px 64px;
  align-items: flex-end; justify-content: space-between;
}
.split > * { min-width: 0; }

/* ---------- Typografie ---------- */
.h-sectie, .h1, .h2, .h3 {
  font-family: var(--font-titel); font-weight: 500; margin: 0;
  text-wrap: balance;
}
.h-sectie { font-size: clamp(52px, 7vw, 100px); line-height: 1; letter-spacing: -0.01em; }
.h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -0.01em; }
.h2 { font-size: clamp(38px, 4.2vw, 56px); line-height: 1.05; }
.h3 { font-size: 25px; line-height: 1.2; }
.intro { margin: 0; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.4; }
.label {
  margin: 0; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.band--aubergine .label { color: var(--lila); }
.band--creme .label, .band--wit .label { color: var(--label); }
p { margin: 0; }
.tekst { font-size: 17px; color: var(--tekst); }
.band--aubergine .tekst { color: var(--creme); }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  font: 500 17px var(--font-tekst); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--aubergine);
  background: var(--lila); color: var(--aubergine);
  transition: filter .15s ease;
}
.knop:hover { filter: brightness(1.06); }
.knop--tweede { background: var(--wit); }
.knop--creme { background: var(--creme); color: var(--aubergine); border-color: var(--creme); }
.knop--omlijnd-creme { background: transparent; color: var(--creme); border-color: var(--creme); }
.knop svg { width: 20px; height: 20px; }

/* ---------- Header + hero ---------- */
.kopbalk {
  position: sticky; top: 0; z-index: 50;
  background: var(--aubergine);
  padding: 20px var(--gutter);
  transition: padding .2s ease, box-shadow .2s ease;
}
.kopbalk.is-gescrold { padding-block: 12px; box-shadow: 0 1px 0 rgba(199, 176, 230, .25), 0 8px 24px rgba(0, 0, 0, .25); }
.kopbalk .kop__logo img { transition: height .2s ease; }
.kopbalk.is-gescrold .kop__logo img { height: 44px; }
section[id] { scroll-margin-top: 88px; }
.hero { padding: 64px var(--gutter) 104px; }
.kop {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
}
.kop__logo img { height: 60px; width: auto; }
.kop nav ul {
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  list-style: none; margin: 0; padding: 0;
  font-size: 16px; font-weight: 500;
}
.kop nav a { text-decoration: none; }
.kop nav a:hover { color: var(--lila); }
.hero__inhoud { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__tekst { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__beeld { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero__beeld img { width: 100%; max-width: 560px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- In ontwikkeling ---------- */
.ontwikkeling { position: relative; overflow: hidden; padding-block: 88px; }
.ontwikkeling::after {
  content: ""; position: absolute; right: -140px; bottom: -220px;
  width: 520px; height: 460px; background: var(--creme);
  border-radius: 120px 120px 120px 0;
}
.ontwikkeling .wrap { position: relative; z-index: 1; }
.ontwikkeling__tekst { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.ontwikkeling__tekst .label { color: var(--aubergine); }
.ontwikkeling__body { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; }

/* ---------- Hero-tekst ---------- */
.hero__slogan { font-family: var(--font-titel); font-weight: 500; color: var(--lila); }
.hero__body { max-width: 30em; font-size: 19px; }

/* ---------- Voor organisaties ---------- */
.toepassingen {
  display: grid; gap: 16px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.toepassingen li {
  background: var(--wit); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.toepassingen svg { width: 40px; height: 40px; color: var(--aubergine); }
.toepassingen .h3 { font-size: 22px; }
.organisaties__cta {
  background: var(--lila); border-radius: 24px; padding: 32px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.organisaties__cta > .stack { flex: 1 1 380px; min-width: 0; }
.organisaties__cta .tekst { color: var(--aubergine); }
.tijdlijn__punt--gepland { background: transparent; border-style: dashed; }

/* ---------- Aftellen (niet meer in gebruik) ---------- */
.aftellen { position: relative; overflow: hidden; padding-block: 72px; }
.aftellen::after {
  content: ""; position: absolute; right: -140px; bottom: -220px;
  width: 520px; height: 460px; background: var(--creme);
  border-radius: 120px 120px 120px 0;
}
.aftellen .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.aftellen__tekst { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.aftellen__tekst .label { color: var(--aubergine); }
.aftellen__tekst .h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.teller {
  flex: 1 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.teller li {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--creme); border: 1.5px solid var(--aubergine);
  border-radius: 20px; padding: 18px 16px 14px;
}
.teller__getal {
  font-family: var(--font-titel); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 64px); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.teller .label { color: var(--label); }

/* ---------- Kaarten: Deel wie je bent ---------- */
.kaarten {
  display: grid; gap: 20px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.kaart { background: var(--wit); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.kaart__beeld {
  background: var(--lila); color: var(--aubergine); height: 150px;
  display: flex; align-items: center; justify-content: center;
}
.kaart__beeld svg { width: 64px; height: 64px; }
.kaart__18 { font-family: var(--font-titel); font-weight: 600; font-size: 64px; line-height: 1; }
.kaart__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.kaart__titel { display: flex; align-items: center; gap: 12px; }
.vinkje { flex: none; width: 30px; height: 30px; }

/* ---------- Zo werkt het ---------- */
.werking { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.werking__tekst { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.stappen { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.stappen li { display: flex; flex-direction: column; gap: 4px; border-top: 1.5px solid var(--lijn-donker); padding-top: 18px; }
.werking__telefoon { flex: 1 1 320px; display: flex; justify-content: center; }

.telefoon {
  width: 330px; max-width: 100%; background: #140B19;
  border-radius: 48px; padding: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
}
.telefoon__scherm {
  border-radius: 40px; overflow: hidden; background: var(--creme); color: var(--aubergine);
  display: flex; flex-direction: column; min-height: 620px;
}
.telefoon__balk {
  background: var(--aubergine); padding: 40px 20px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.telefoon__balk img { height: 34px; width: auto; }
.telefoon__sluit {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(249, 249, 222, .15);
  color: var(--creme); display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.telefoon__inhoud { flex: 1; padding: 22px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.telefoon__titel { font-family: var(--font-titel); font-weight: 500; font-size: 24px; line-height: 1.15; }
.app-stap { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.app-stap[hidden] { display: none; }
.app-kaart { background: var(--wit); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.app-kaart__kop { font-family: var(--font-titel); font-weight: 500; font-size: 21px; line-height: 1.2; }
.app-kaart__tekst { font-size: 14px; color: var(--tekst); }
.app-rijen { margin: 0; padding: 0; list-style: none; }
.app-rijen li {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid #ECE8EF; font-size: 15px;
}
.app-rijen li span:last-child { font-size: 13px; color: var(--label); }
.app-rijen .gedeeld span:first-child { font-weight: 600; }
.app-rijen .gedeeld span:last-child { font-weight: 600; color: var(--gelukt-tekst); }
.app-rijen li:not(.gedeeld) span:first-child { color: var(--tekst); }
.app-knoppen { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.app-knoppen .knop { justify-content: center; min-height: 50px; width: 100%; }
.status { font-size: 13px; font-weight: 600; }
.status--gelukt { color: var(--gelukt-tekst); }
.status--neutraal { color: var(--label); }

/* ---------- Scènes ---------- */
.scenes {
  display: grid; gap: 20px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.scene { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.scene__beeld {
  background: var(--aubergine); border-radius: 24px; padding: 18px;
  aspect-ratio: 4 / 3; max-width: 100%; display: flex; align-items: center; justify-content: center;
}
.scene__beeld img { width: 100%; height: 100%; object-fit: contain; }
.scene figcaption { display: flex; flex-direction: column; gap: 2px; }

/* ---------- Waarom ---------- */
.punten {
  display: grid; gap: 40px 32px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.punten li { display: flex; flex-direction: column; gap: 12px; }
.punten svg { width: 36px; height: 36px; color: var(--aubergine); }

/* ---------- Wie we zijn ---------- */
.wie { padding-bottom: 0; }
.partners {
  display: grid; gap: 14px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.partners li {
  border: 1.5px solid var(--lijn-donker); border-radius: 20px; padding: 24px 26px;
  display: flex; flex-direction: column; gap: 4px;
}
.partners__naam { font-family: var(--font-titel); font-weight: 500; font-size: 30px; line-height: 1.15; color: var(--creme); }
.wie__noot { font-size: 16px; color: var(--lila); }
.familie { width: 100%; margin-top: 24px; }

/* ---------- Tijdlijn ---------- */
.tijdlijn {
  display: grid; gap: 32px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.tijdlijn li { display: flex; flex-direction: column; gap: 10px; }
.tijdlijn__punt { width: 30px; height: 30px; border-radius: 50%; background: var(--lila); border: 1.5px solid var(--aubergine); }
.tijdlijn .label--gelukt { color: var(--gelukt-tekst); }

/* ---------- Vragen ---------- */
.vragen { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.vragen > .h2 { flex: 1 1 300px; }
.vragen__lijst { flex: 999 1 560px; min-width: 0; }
.vragen details { border-top: 1.5px solid var(--lijn-licht); padding: 22px 0; }
.vragen details:last-child { border-bottom: 1.5px solid var(--lijn-licht); }
.vragen summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-titel); font-weight: 500; font-size: 23px; line-height: 1.25;
}
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: "+"; font-size: 30px; font-weight: 400; transition: transform .2s; }
.vragen details[open] summary::after { transform: rotate(45deg); }
.vragen details p { margin-top: 12px; max-width: 40em; font-size: 18px; color: var(--tekst); }

/* ---------- Meedoen ---------- */
.meedoen { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.meedoen__beeld { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.meedoen__beeld img { width: 100%; max-width: 440px; }
.meedoen__tekst { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.meedoen__tekst a:not(.knop) { color: var(--aubergine); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.voet { background: var(--aubergine); padding: 56px var(--gutter) 48px; }
.voet .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 24px; font-size: 15px; color: var(--lila);
}
.voet img { height: 48px; width: auto; }
.voet a { color: var(--creme); text-underline-offset: 3px; }

@media (max-width: 700px) {
  .kopbalk { padding-block: 12px; }
  .kop { flex-wrap: nowrap; gap: 16px; }
  .kop__logo { flex: none; }
  .kop__logo img, .kopbalk.is-gescrold .kop__logo img { height: 40px; }
  .kop nav { min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .kop nav::-webkit-scrollbar { display: none; }
  .kop nav ul { flex-wrap: nowrap; gap: 20px; white-space: nowrap; font-size: 15px; padding-right: 24px; }
  section[id] { scroll-margin-top: 64px; }
  .hero { padding-top: 40px; }
}

@media (max-width: 600px) {
  .band { padding-block: 80px; }
  .teller { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aftellen::after, .ontwikkeling::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.organisaties__cta .knop { background: var(--creme); }
