/*
  De stijl van toptrainer.pro, in de lichte stijl van de app (Licht). De
  kleuren komen uit docs/ontwerp/tokens-training-app.json (website), gelijk
  aan docs/ontwerp/tokens-licht.json; test/website/website_test.dart houdt
  ze gelijk. Koppen in Kanit ExtraBold cursief, de rest in IBM Plex Sans,
  zoals de app; beide meegeleverd op deze site (geen Google Fonts).
*/

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/lettertype/IBMPlexSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/lettertype/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("/lettertype/Kanit-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --achtergrond: #F4F5F0;
  --oppervlak: #FFFFFF;
  --inkt: #0E2A21;
  --inkt-gedempt: #5B6B63;
  --accent: #F07B1D;
  --accent-tekst: #FFFFFF;
  --limoen: #D9F26B;
  --groen: #1F6B4A;
  --grijs: #E6E9E2;
  --lijn: #EEF0EB;
  --schaduw: 0 1px 2px rgba(14, 42, 33, 0.06), 0 10px 28px rgba(14, 42, 33, 0.08);
  --kop: "Kanit", "IBM Plex Sans", system-ui, sans-serif;
  --tekstbreedte: 680px;
  --paginabreedte: 1180px;
  --marge: 16px;
  --radius-knop: 14px;
  --radius-kaart: 22px;
  --knop-hoogte: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--achtergrond);
  color: var(--inkt);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

/* Een smalle kolom (tekstpagina's) of de hele breedte (voorpagina). */
.pagina {
  max-width: var(--tekstbreedte);
  margin: 0 auto;
  padding: 0 var(--marge) 48px;
}
.breed {
  max-width: var(--paginabreedte);
  margin: 0 auto;
  padding: 0 var(--marge);
}

/* Koppen in Kanit ExtraBold cursief, zoals in de app. */
h1, h2, h3 {
  font-family: var(--kop);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.08;
  overflow-wrap: break-word;
}
h1 { font-size: 34px; margin: 24px 0 12px; }
h2 { font-size: 30px; margin: 0 0 20px; }
h3 { font-size: 20px; margin: 0 0 6px; }
p, ul, ol { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 4px; }
strong { font-weight: 600; }
/* Niet afbreken na het streepje ("co-trainers"). */
.heel { white-space: nowrap; }

.gedempt { color: var(--inkt-gedempt); }
.klein { font-size: 15px; }

a { color: var(--groen); font-weight: 600; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---- De bovenbalk: logo, menu, de oranje knop ---- */
.balk {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--achtergrond);
}
.balk .breed {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
}
/* Het officiële logo (het woordmerk met VOETBAL). */
.logo img { height: 40px; width: auto; }
@media (max-width: 380px) { .logo img { height: 34px; } }
@media (min-width: 900px) { .logo img { height: 46px; } }
.balk nav { display: flex; align-items: center; gap: 4px; }
.balk nav a:not(.knop) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--inkt);
  text-decoration: none;
}
.balk .knop { min-height: 44px; margin-left: 8px; }
.menuknop { display: none; }

/* Op de telefoon: logo en een menuknop; het menu klapt uit. */
@media (max-width: 760px) {
  .menuknop {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 0;
    border-radius: var(--radius-knop);
    background: var(--oppervlak);
    box-shadow: var(--schaduw);
    cursor: pointer;
  }
  .menuknop span { display: block; height: 2px; border-radius: 2px; background: var(--inkt); }
  .balk nav {
    display: none;
    position: absolute;
    top: 64px;
    left: var(--marge);
    right: var(--marge);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    background: var(--oppervlak);
    border-radius: var(--radius-kaart);
    box-shadow: var(--schaduw);
  }
  .balk nav.open { display: flex; }
  .balk .knop { margin: 4px 0 0; }
}
/* Zonder JavaScript staat het menu gewoon open. */
.geen-js .balk nav { display: flex; position: static; box-shadow: none; }
.geen-js .menuknop { display: none; }

/* ---- Knoppen: oranje is de hoofdactie, wit de tweede. Minstens 48 hoog
   (in de balk 44, zoals de app: T5). Geen randen, wel de zachte schaduw. ---- */
.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--knop-hoogte);
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-knop);
  background: var(--oppervlak);
  color: var(--inkt);
  box-shadow: var(--schaduw);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.knop.primair { background: var(--accent); color: var(--accent-tekst); }
/* Nog niet te gebruiken (Google Play): geen knop, wel de vorm. */
.knop.straks { cursor: default; color: var(--inkt-gedempt); }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Een label of chip: limoen voor gekozen en goed, grijs voor de rest. */
.label, .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--limoen);
  color: var(--inkt);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-style: normal;
  letter-spacing: 0;
}
.chip.grijs { background: var(--grijs); color: var(--inkt-gedempt); }
.label.vink::before, .vinkjes li::before, .zweef .vinkje {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230E2A21' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---- Blokken van de voorpagina ---- */
.blok { padding: 48px 0; }
.blok + .blok { padding-top: 16px; }

.kaart {
  background: var(--oppervlak);
  border-radius: var(--radius-kaart);
  box-shadow: var(--schaduw);
  padding: 22px;
}
.kaart p:last-child, .kaart ul:last-child { margin-bottom: 0; }

/* De held: tekst links, twee telefoons rechts, heel licht de middencirkel
   van een veld erachter. */
.held { position: relative; padding: 24px 0 40px; overflow: hidden; }
.held::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  right: -160px;
  top: 40px;
  border: 3px solid rgba(31, 107, 74, 0.08);
  border-radius: 50%;
}
.held::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 360px;
  left: 55%;
  right: 0;
  border-top: 3px solid rgba(31, 107, 74, 0.06);
}
.held .breed { display: grid; gap: 32px; align-items: center; }
.held .label { margin: 0 0 18px; }
.held h1 { font-size: 46px; line-height: 1; margin: 0 0 16px; }
.held .regel { white-space: normal; }
.held .onder { font-size: 19px; color: var(--inkt-gedempt); max-width: 30em; }
.held .knoppen { margin-top: 24px; }
.held-beeld {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 4%;
  padding: 16px 0 24px;
}
.held-beeld .telefoon { width: 46%; max-width: 250px; }
.schuin-links { transform: rotate(-4deg) translateY(10px); }
.schuin-rechts { transform: rotate(4deg) translateY(-6px); }
.zweef {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  white-space: nowrap;
  background: var(--oppervlak);
  border-radius: 16px;
  box-shadow: var(--schaduw);
  font-size: 15px;
}
.zweef .vinkje {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--limoen);
}
@media (min-width: 900px) {
  .held { padding: 40px 0 72px; }
  .held .breed { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .held h1 { font-size: 74px; }
  .held .regel { white-space: nowrap; }
}

/* Het telefoonframe, getekend met CSS: een schermafbeelding vervangen kan
   zonder het frame opnieuw te maken. */
.telefoon {
  aspect-ratio: 390 / 844;
  padding: 7px;
  border-radius: 40px;
  background: var(--inkt);
  box-shadow: 0 2px 4px rgba(14, 42, 33, 0.12), 0 22px 44px rgba(14, 42, 33, 0.18);
}
.telefoon picture, .telefoon img {
  width: 100%;
  height: 100%;
  border-radius: 33px;
  object-fit: cover;
  background: var(--achtergrond);
}

/* De lopende band: wit, groene tekst in Kanit, limoen bolletjes. Stil als
   de telefoon minder beweging vraagt. */
.band {
  background: var(--oppervlak);
  color: var(--groen);
  box-shadow: var(--schaduw);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--kop);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  font-size: 22px;
  padding: 14px 0;
}
.band .loop { display: inline-flex; animation: band 32s linear infinite; }
.band span { padding-right: 28px; }
.band i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 20px;
  border-radius: 50%;
  background: var(--limoen);
  vertical-align: middle;
}
@keyframes band {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .band .loop { animation: none; }
  .band { white-space: normal; text-align: center; }
  .band span[aria-hidden="true"] { display: none; }
}

/* Zes witte kaarten met een limoen icoonvlak. */
.functies {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.functies li { margin: 0; padding: 18px; }
.functies h3 { font-size: 19px; margin-top: 14px; }
.functies p { font-size: 15px; color: var(--inkt-gedempt); }
.icoon {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--limoen) center / 26px no-repeat;
}
.i-tekenen { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1 10-10-3-3L5 16z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E"); }
.i-stappen { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A21' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='5' cy='6' r='1.6'/%3E%3Ccircle cx='5' cy='12' r='1.6'/%3E%3Ccircle cx='5' cy='18' r='1.6'/%3E%3Cpath d='M10 6h10M10 12h10M10 18h7'/%3E%3C/svg%3E"); }
.i-kwarten { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A21' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M9 4v16M15 4v16M3 12h18'/%3E%3C/svg%3E"); }
.i-eerlijk { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A21' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 19V9M10 19V6M16 19v-8M22 19H2'/%3E%3C/svg%3E"); }
.i-shirt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A21' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M8 3l-5 3 2 5 3-1v11h8V10l3 1 2-5-5-3c-1 2-2.4 3-4 3S9 5 8 3z'/%3E%3C/svg%3E"); }
.i-samen { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A21' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6M15 14.5c3 0 6 2 6 5.5'/%3E%3C/svg%3E"); }
@media (min-width: 900px) {
  .functies { grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
  .functies li { padding: 24px; }
}
@media (max-width: 360px) { .functies { grid-template-columns: 1fr; } }

/* Drie telefoons naast elkaar. */
.schermen {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  justify-items: center;
}
.schermen figure { margin: 0; width: 100%; max-width: 270px; text-align: center; }
.schermen figcaption {
  margin-top: 14px;
  font-family: var(--kop);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  font-size: 20px;
}
@media (min-width: 760px) { .schermen { grid-template-columns: 1fr 1fr 1fr; } }

/* Drie stappen met grote cijfers: limoen met een donkere rand. */
.stappen {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  counter-reset: stap;
}
.stappen li { counter-increment: stap; margin: 0; }
.stappen li::before {
  content: counter(stap);
  display: block;
  font-family: var(--kop);
  font-weight: 800;
  font-style: italic;
  font-size: 72px;
  line-height: 0.9;
  margin-bottom: 10px;
  color: var(--limoen);
  -webkit-text-stroke: 2px var(--inkt);
  paint-order: stroke fill;
}
@media (min-width: 760px) { .stappen { grid-template-columns: 1fr 1fr 1fr; } }

/* Gratis en Pro: vinkjes, Pro met een limoen rand. */
.prijzen { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .prijzen { grid-template-columns: 1fr 1fr; } }
/* Gratis, Pro en Club: drie naast elkaar op een breed scherm. */
@media (min-width: 1040px) { .prijzen.drie { grid-template-columns: 1fr 1fr 1fr; } }
.label.grijs { background: var(--grijs); color: var(--inkt); }
.kaart.uitgelicht { box-shadow: 0 0 0 3px var(--limoen), var(--schaduw); }
.kaart h3 { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 28px; }
.vinkjes { list-style: none; padding: 0; }
.vinkjes li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vinkjes li::before { width: 24px; height: 24px; border-radius: 50%; background-color: var(--limoen); }
.prijs {
  font-family: var(--kop);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  font-size: 26px;
  line-height: 1.1;
  margin-top: 16px;
}

/* De oefening van de week. */
.week { display: grid; gap: 22px; align-items: center; grid-template-columns: 1fr; }
.week picture { justify-self: center; width: 100%; max-width: 320px; }
.week img { border-radius: 16px; }
.week h3 { font-size: 30px; }
.week .labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
@media (min-width: 760px) { .week { grid-template-columns: auto 1fr; gap: 40px; } }

/* Vragen of ideeën? */
.contact .kaart { text-align: left; }
.contact h2 { margin-bottom: 18px; }
.gekopieerd { margin: 10px 0 0; font-size: 15px; }
.gekopieerd:empty { margin: 0; }

/* ---- Onderaan: links de links, rechts ©, daaronder klein het
   woordmerk. ---- */
.onderkant { margin-top: 24px; overflow: hidden; }
.voet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--grijs);
  font-size: 15px;
  color: var(--inkt-gedempt);
}
.voet p { margin: 0; }
.voet nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.voet a { display: inline-flex; align-items: center; min-height: 44px; }
.woordmerk {
  max-width: var(--paginabreedte);
  margin: 0 auto;
  padding: 4px var(--marge) 32px;
}
/* Middelgroot, midden onder, nooit over de rand (Jos, 17 oktober
   2026). */
.woordmerk img { width: min(260px, 100%); height: auto; margin: 0 auto; }
@media (min-width: 900px) { .woordmerk img { width: 480px; } }

/* Tekstpagina's (privacy, account verwijderen). */
.concept {
  background: var(--oppervlak);
  border-radius: var(--radius-knop);
  box-shadow: var(--schaduw);
  padding: 10px 14px;
  font-size: 15px;
  color: var(--inkt-gedempt);
}
.pagina h2 { font-size: 24px; margin: 32px 0 8px; }
.pagina h3 { margin-top: 20px; }
.pagina .kaart { margin-top: 32px; }

/* Meedoen met een team: de code groot. */
.code {
  font-family: var(--kop);
  font-weight: 800;
  font-style: italic;
  font-size: 46px;
  letter-spacing: 0.02em;
  margin: 4px 0 16px;
}
