/* ==========================================================================
   Zindelijkheidsbox — online training
   Huisstijl overgenomen van zindelijkheidsbox.nl:
     Poppins · turkoois #6CD2C3 · groene pill-knoppen #00A944 (radius 35px)
     oranje #E16B43 · geel #EABE12 · tekst #212121 op wit · grijs #F3F3F3
   ========================================================================== */

:root {
  --turkoois:      #6CD2C3;
  --turkoois-diep: #3FB5A4;
  --turkoois-licht:#E9F8F5;
  --groen:         #00A944;   /* call-to-action, precies de knopkleur van de site */
  --groen-diep:    #008A38;
  --oranje:        #E16B43;
  --geel:          #EABE12;

  --ink:        #212121;
  --ink-kop:    #252A31;
  --ink-zacht:  #777777;
  --wit:        #ffffff;
  --grijs:      #F3F3F3;
  --lijn:       #E6E6E6;
  --blauwgrijs: #BAC7D5;

  --radius:      12px;
  --radius-s:    8px;
  --radius-pill: 35px;        /* de site gebruikt letterlijk 35px */

  --schaduw:     0 2px 4px rgba(33,33,33,.04), 0 12px 28px -18px rgba(33,33,33,.22);
  --schaduw-op:  0 6px 12px rgba(33,33,33,.06), 0 20px 38px -20px rgba(33,33,33,.3);

  --font: Poppins, Arial, Helvetica, sans-serif;
  --maxw: 760px;
  --kop:  56px;               /* hoogte topbalk */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font); color: var(--ink-kop); line-height: 1.25; margin: 0 0 .45em; font-weight: 700; }
h1 { font-size: clamp(1.55rem, 1.15rem + 1.7vw, 2.15rem); letter-spacing: -.02em; }
h2 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }
a  { color: var(--groen-diep); }

.muted { color: var(--ink-zacht); font-size: .85rem; }
.lead  { color: var(--ink-zacht); max-width: 58ch; }
.meta  { color: var(--ink-zacht); font-size: .85rem; }

.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--turkoois-diep); margin: 0 0 .35rem;
}

.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;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--groen); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-s) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--turkoois); outline-offset: 2px; border-radius: 4px; }

/* --------------------------------------------------------------- topbalk -- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: .75rem;
  height: var(--kop); padding: 0 clamp(.75rem, 3vw, 1.5rem);
  background: var(--wit);
  border-bottom: 1px solid var(--lijn);
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; min-width: 0; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-mark .face { fill: var(--grijs); stroke: var(--ink-kop); stroke-width: 1.6; }
.brand-mark .ear  { fill: var(--turkoois); }
.brand-mark .eye  { fill: var(--ink-kop); }
.brand-mark .snout{ fill: var(--ink-kop); }

.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-text strong { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink-kop); }
.brand-text small  { font-size: .7rem; color: var(--ink-zacht); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: .9rem; }

.progress { display: flex; align-items: center; gap: .55rem; }
.progress-pct { font-size: .8rem; font-weight: 700; color: var(--groen); font-variant-numeric: tabular-nums; }
.progress-track {
  display: block; width: 110px; height: 7px; border-radius: 999px;
  background: var(--grijs); overflow: hidden;
}
.progress-track i {
  display: block; height: 100%; width: 0;
  background: var(--groen); border-radius: 999px;
  transition: width .45s cubic-bezier(.4,0,.2,1);
}
.progress-text { font-size: .78rem; color: var(--ink-zacht); white-space: nowrap; }

.iconbtn {
  display: none; place-items: center;
  width: 38px; height: 38px; padding: 0;
  background: none; border: 1px solid var(--lijn); border-radius: var(--radius-s);
  color: var(--ink-kop); cursor: pointer;
}
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.lang select {
  font: inherit; font-size: .82rem; color: var(--ink);
  background: var(--wit); border: 1px solid var(--lijn);
  border-radius: var(--radius-pill); padding: .35rem .75rem;
}

/* ---------------------------------------------------------------- layout -- */

.shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }

.sidebar {
  position: sticky; top: var(--kop);
  height: calc(100dvh - var(--kop));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--grijs);
  border-right: 1px solid var(--lijn);
}
.sidebar-inner { padding: 1rem .8rem 2.5rem; }

.navlink {
  display: block; padding: .5rem .8rem; margin-bottom: .15rem;
  border-radius: var(--radius-pill); text-decoration: none;
  color: var(--ink-kop); font-size: .88rem; font-weight: 600;
}
.navlink:hover { background: rgba(255,255,255,.75); }
.navlink.is-active { background: var(--wit); color: var(--groen-diep); box-shadow: var(--schaduw); }

.nav-heading {
  margin: 1.4rem .8rem .4rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-zacht);
}

/* hoofdstukken in de zijbalk */

.ch { margin-bottom: .2rem; }

/* Two rows: the chapter label sits above its title. Labels run from "DAY 1" to
   "SPECIAL SITUATIONS", so sharing one line squeezes the title into a column. */
.ch-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem;
  width: 100%; padding: .5rem .8rem; text-align: left;
  background: none; border: 0; border-radius: var(--radius-s);
  font: inherit; font-size: .84rem; color: var(--ink-kop); cursor: pointer;
}
.ch-head:hover { background: rgba(255,255,255,.75); }

.ch-label {
  flex: 1 0 100%; order: -1;
  font-size: .61rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--turkoois-diep); line-height: 1.6;
}
.ch-title { flex: 1; min-width: 0; font-weight: 600; }
.ch-count { flex: none; font-size: .7rem; color: var(--ink-zacht); font-variant-numeric: tabular-nums; }
.ch-chev  { flex: none; width: 13px; height: 13px; fill: none; stroke: var(--ink-zacht); stroke-width: 2.2; stroke-linecap: round; transition: transform .18s; }
.ch.is-open .ch-chev { transform: rotate(90deg); }
.ch.is-complete .ch-count { color: var(--groen); font-weight: 700; }

.ch-steps { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 .3rem; }
.ch-steps a {
  display: flex; align-items: center; gap: .5rem;
  padding: .34rem .7rem; border-radius: var(--radius-s);
  text-decoration: none; color: var(--ink); font-size: .82rem; line-height: 1.35;
}
.ch-steps a:hover { background: rgba(255,255,255,.75); }
.ch-steps a.is-active { background: var(--wit); font-weight: 600; box-shadow: var(--schaduw); }

.ch-step-nr {
  flex: none; font-size: .68rem; font-weight: 700; color: var(--ink-zacht);
  font-variant-numeric: tabular-nums; min-width: 22px;
}
.ch-step-title { min-width: 0; }

.tick {
  flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1.6px solid var(--blauwgrijs); display: grid; place-items: center; background: var(--wit);
}
.tick svg { width: 9px; height: 9px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.is-done .tick { background: var(--groen); border-color: var(--groen); }
.is-done .tick svg { opacity: 1; }

.resetbtn {
  margin-top: 1.6rem; width: 100%;
  font: inherit; font-size: .76rem; color: var(--ink-zacht);
  background: none; border: 1px solid var(--lijn); border-radius: var(--radius-pill);
  padding: .45rem; cursor: pointer;
}
.resetbtn:hover { color: var(--oranje); border-color: var(--oranje); }

.scrim { display: none; }

.main { padding: clamp(1.1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3rem) 4rem; min-height: 60vh; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* --------------------------------------------------------------- knoppen -- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.5rem; border: 0; border-radius: var(--radius-pill);
  background: var(--groen); color: #fff;
  font: inherit; font-weight: 600; font-size: .9rem;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--groen-diep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: none; color: var(--ink-kop); border: 1.5px solid var(--lijn); }
.btn.ghost:hover { border-color: var(--groen); color: var(--groen-diep); background: none; }
.btn.ghost.is-done { color: var(--groen); border-color: var(--groen); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.chip {
  font: inherit; font-size: .82rem; font-weight: 600;
  padding: .42rem .95rem; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--wit); color: var(--ink-kop); border: 1.5px solid var(--lijn);
}
.chip:hover { border-color: var(--turkoois); }
.chip.is-on { background: var(--groen); border-color: var(--groen); color: #fff; }

.pill {
  display: inline-block; padding: .12rem .6rem; border-radius: var(--radius-pill);
  background: var(--turkoois-licht); color: var(--turkoois-diep);
  font-size: .7rem; font-weight: 600;
}

/* -------------------------------------------------------------- overzicht -- */

.hero {
  background: var(--turkoois-licht);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 2rem;
}
.hero h1 { margin-bottom: .4rem; }
.hero .meta { margin: .6rem 0 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* "Print deze eerst" — bewust opvallend, boven de hoofdstukkenlijst */
.printfirst {
  margin-bottom: 2rem; padding: 1.15rem 1.25rem;
  background: #FFF8E6; border: 1.5px solid var(--geel); border-radius: var(--radius);
}
.printfirst-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: .9rem; }
.printfirst-head svg {
  flex: none; width: 26px; height: 26px; margin-top: .15rem;
  fill: none; stroke: #B8930E; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.printfirst h2 { font-size: 1.02rem; margin: 0 0 .2rem; color: var(--ink-kop); text-transform: none; letter-spacing: normal; }
.printfirst p { margin: 0; font-size: .86rem; color: #6B5A1E; line-height: 1.55; max-width: 62ch; }
.printfirst-list { display: grid; gap: .45rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.printfirst-list .dl { margin: 0; background: var(--wit); }

.section-title {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-zacht); margin-bottom: .8rem;
}

.ch-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }

.ch-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.ch-card:hover { transform: translateY(-2px); box-shadow: var(--schaduw-op); border-color: var(--turkoois); }
.ch-card.is-complete { border-color: var(--groen); background: #F7FCF8; }

.ch-card-badge {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--turkoois); color: #fff;
  font-weight: 700; font-size: 1.05rem;
}
.ch-card.is-complete .ch-card-badge { background: var(--groen); }

.ch-card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ch-card-label {
  font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--turkoois-diep);
}
.ch-card-body strong { font-size: 1.02rem; color: var(--ink-kop); margin: .1rem 0 .25rem; }
.ch-card-sum { font-size: .86rem; color: var(--ink-zacht); line-height: 1.5; }
.ch-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-top: .6rem; font-size: .76rem; color: var(--ink-zacht);
}

.bar { display: block; width: 100%; height: 5px; margin-top: .6rem; border-radius: 999px; background: var(--grijs); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--groen); border-radius: 999px; }

/* -------------------------------------------------------------- paragraaf -- */

.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .76rem; color: var(--ink-zacht); margin-bottom: .5rem;
}
.crumb-ch {
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--turkoois-diep); font-size: .68rem;
}
.crumb-ch::after { content: "·"; margin-left: .5rem; color: var(--lijn); }

.para-nr {
  display: inline-block; margin-right: .55rem;
  color: var(--turkoois-diep); font-variant-numeric: tabular-nums;
}

.player {
  position: relative; aspect-ratio: 16 / 9;
  background: var(--ink-kop); border-radius: var(--radius); overflow: hidden;
  margin: 1.25rem 0 1.75rem; box-shadow: var(--schaduw);
}
.player video { width: 100%; height: 100%; display: block; object-fit: contain; background: var(--ink-kop); }

.player-empty {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center;
  padding: 1.5rem; color: #fff;
  background: repeating-linear-gradient(-45deg, #252A31, #252A31 14px, #2C323A 14px, #2C323A 28px);
}
.player-empty svg { width: 42px; height: 42px; fill: none; stroke: var(--turkoois); stroke-width: 1.6; }
.player-empty strong { font-size: 1rem; }
.player-empty span { font-size: .82rem; opacity: .8; max-width: 38ch; line-height: 1.5; }

.block { margin-bottom: 1.75rem; }
.block h2 {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-zacht); margin-bottom: .6rem;
}

.points { list-style: none; margin: 0; padding: 0; }
.points li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.points li::before {
  content: ""; position: absolute; left: .15rem; top: .58em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--turkoois);
}

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { border-bottom: 1px solid var(--lijn); }
.checks li:last-child { border-bottom: 0; }
.checks label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; padding: .5rem 0; }
.checks input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--groen); flex: none; }
.checks input:checked + span { color: var(--ink-zacht); text-decoration: line-through; }

.dl {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1.05rem; margin-bottom: .5rem;
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s;
}
.dl:hover { border-color: var(--turkoois); box-shadow: var(--schaduw); }
.dl svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--turkoois-diep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dl-text { min-width: 0; }
.dl-text strong { display: block; font-size: .92rem; color: var(--ink-kop); }
.dl-text span { font-size: .8rem; color: var(--ink-zacht); }

.timer {
  padding: 1.15rem 1.25rem; border-radius: var(--radius);
  background: var(--turkoois-licht); border: 1px solid var(--turkoois);
}
.timer h2 { color: var(--turkoois-diep); margin-bottom: .3rem; }
.timer-clock { font-size: 2.7rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--ink-kop); }
.timer-clock.is-ringing { color: var(--oranje); font-size: 1.5rem; }
.timer-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.timer p { font-size: .82rem; color: var(--ink-zacht); margin: .6rem 0 0; }

.pager {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--lijn);
}
.pager .spacer { flex: 1; }

.done-flag { display: inline-flex; align-items: center; gap: .45rem; color: var(--groen); font-weight: 600; font-size: .9rem; }
.done-flag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- footer --- */

/* Drie regels kleine lettertjes op één regel, want dat is precies zoveel aandacht als ze
   verdienen: ze moeten er staan, ze hoeven niet de halve pagina te vullen. Op een telefoon
   breekt de flexbox ze alsnog netjes af. */
.footer { border-top: 1px solid var(--lijn); background: var(--grijs); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: .7rem clamp(1rem, 4vw, 3rem) .9rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .9rem;
  font-size: .7rem; line-height: 1.5; color: var(--ink-zacht);
}
.footer p { margin: 0; }

/* ----------------------------------------------------------- responsive --- */

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .iconbtn { display: grid; }
  .brand-text small { display: none; }
  .progress-text { display: none; }
  .progress-track { width: 70px; }

  .sidebar {
    position: fixed; inset: var(--kop) auto 0 0; z-index: 45;
    width: min(320px, 86vw); height: calc(100dvh - var(--kop));
    transform: translateX(-102%); transition: transform .22s ease;
    box-shadow: var(--schaduw-op);
  }
  .sidebar.is-open { transform: none; }
  .scrim { display: block; position: fixed; inset: var(--kop) 0 0; z-index: 44; background: rgba(33,33,33,.45); }
  .scrim[hidden] { display: none; }
}

@media print {
  .topbar, .sidebar, .footer, .pager, .scrim, .player { display: none !important; }
  .shell { display: block; }
  body { background: #fff; }
}

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

/* ------------------------------------------------------------------ coach --- */

.coach-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 46;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem; border: 0; border-radius: var(--radius-pill);
  background: var(--groen); color: #fff;
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer;
  box-shadow: var(--schaduw-op);
}
.coach-fab:hover { background: var(--groen-diep); }
.coach-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.coach-fab[hidden] { display: none; }

.coach {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 47;
  display: flex; flex-direction: column;
  width: min(400px, calc(100vw - 2rem)); max-height: min(620px, calc(100dvh - 2rem));
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  box-shadow: var(--schaduw-op); overflow: hidden;
}
.coach[hidden] { display: none; }

.coach-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .85rem 1rem; border-bottom: 1px solid var(--lijn); background: var(--turkoois-licht);
}
.coach-head strong { display: block; font-size: .95rem; color: var(--ink-kop); }
.coach-head small { display: block; font-size: .74rem; color: var(--turkoois-diep); }

.coach-close {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink-zacht);
}
.coach-close:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.coach-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.coach-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }

.msg {
  max-width: 88%; padding: .6rem .85rem; border-radius: var(--radius-s);
  font-size: .87rem; line-height: 1.55; overflow-wrap: anywhere;
}
.msg-user { align-self: flex-end; background: var(--groen); color: #fff; border-bottom-right-radius: 3px; }
.msg-assistant { align-self: flex-start; background: var(--grijs); color: var(--ink); border-bottom-left-radius: 3px; }
.msg-assistant.is-thinking { color: var(--ink-zacht); font-style: italic; }

.msg .cite {
  display: inline-block; margin: .15rem .15rem 0 0; padding: .1rem .5rem;
  background: var(--turkoois-licht); color: var(--turkoois-diep);
  border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; text-decoration: none;
}
.msg .cite:hover { background: var(--turkoois); color: #fff; }

.coach-form { display: flex; gap: .5rem; padding: .75rem 1rem 0; }
.coach-form input {
  flex: 1; min-width: 0; font: inherit; font-size: .87rem;
  padding: .6rem .8rem; color: var(--ink);
  background: var(--wit); border: 1.5px solid var(--lijn); border-radius: var(--radius-pill);
}
.coach-form input:focus { border-color: var(--turkoois); outline: none; }
.coach-form button {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--groen); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
}
.coach-form button:hover { background: var(--groen-diep); }
.coach-form button:disabled { opacity: .45; cursor: default; }
.coach-form button svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }

.coach-note { margin: .55rem 1rem .85rem; font-size: .7rem; color: var(--ink-zacht); line-height: 1.45; }

@media (max-width: 560px) {
  .coach { right: 0; bottom: 0; width: 100vw; max-height: 82dvh; border-radius: var(--radius) var(--radius) 0 0; }
}

/* ==========================================================================
   Account: inloggen, wachtwoord kiezen, uitloggen
   ========================================================================== */

/* Het echte winkellogo wint van het vossenmerk zodra de server er een injecteert.
   Zonder logo blijft de kop precies zoals hij was. */
.brand-logo { max-height: 40px; max-width: 190px; width: auto; display: block; }
.brand.heeft-logo .brand-mark,
.brand.heeft-logo .brand-text { display: none; }

.uitloggen { margin: 0; }
.uitloggen button {
  font: inherit; font-size: .78rem; color: var(--ink-zacht);
  background: none; border: 0; padding: .25rem .1rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.uitloggen button:hover { color: var(--ink); }

.accountpagina { background: var(--grijs); }

.account { min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem 1rem; }

.account-kaart {
  width: 100%; max-width: 400px; background: var(--wit);
  border-radius: var(--radius); box-shadow: var(--schaduw); padding: 2rem 1.6rem;
  text-align: center;
}

.account-merk { display: block; margin: 0 auto 1.1rem; }
.account-merk svg { width: 52px; height: 52px; display: block; margin: 0 auto; }
.account-merk .face { fill: var(--grijs); stroke: var(--ink-kop); stroke-width: 1.6; }
.account-merk .ear  { fill: var(--turkoois); }
.account-merk .eye,
.account-merk .snout { fill: var(--ink-kop); }
.account-merk.heeft-logo svg { display: none; }
.account-logo { max-width: 220px; width: 100%; height: auto; display: block; margin: 0 auto; }

.account-kaart h1 { font-size: 1.35rem; }
.account-kaart .lead { margin: 0 auto 1.3rem; max-width: 34ch; font-size: .9rem; }

.account-melding {
  margin: 0 0 1.1rem; padding: .7rem .9rem; border-radius: var(--radius-s);
  font-size: .85rem; line-height: 1.5; text-align: left;
}
.account-melding.goed { background: var(--turkoois-licht); color: var(--ink); }
.account-melding.fout { background: #FDECE6; color: #8C3413; }

.account-form { display: flex; flex-direction: column; gap: .75rem; text-align: left; }

.veld { display: flex; flex-direction: column; gap: .3rem; }
.veld span { font-size: .78rem; font-weight: 600; color: var(--ink-kop); }
.veld input {
  font: inherit; padding: .7rem .9rem; color: var(--ink);
  background: var(--wit); border: 1.5px solid var(--lijn); border-radius: var(--radius-s);
  /* Minstens 16px: onder die grens zoomt Safari op iOS bij focus in en duwt de kaart
     half uit beeld — precies bij het invoerveld waar iemand naar kijkt. */
  font-size: max(16px, .95rem);
}
.veld input:focus { border-color: var(--turkoois); outline: none; }

.account-form .knop {
  font: inherit; font-weight: 600; font-size: .95rem; text-align: center;
  padding: .8rem 1.2rem; border: 0; border-radius: var(--radius-pill); cursor: pointer;
}
.account-form .knop-groen { background: var(--groen); color: var(--wit); }
.account-form .knop-groen:hover { background: var(--groen-diep); }
.account-form .knop-tekst {
  background: none; color: var(--groen-diep); text-decoration: underline;
  text-underline-offset: 3px; padding: .3rem;
}
.account-form p { margin: 0; text-align: center; }

/* Eén bestand, twee pagina's: welke vorm zichtbaar is bepaalt de server met data-modus. */
[data-modus="login"] .m-wachtwoord,
[data-modus="wachtwoord"] .m-login { display: none; }
