/* ==========================================================================
   Copilot College, designsysteem in Microsoft Copilot-stijl
   Fluent-geïnspireerd: Segoe UI, zachte schaduwen, ronde hoeken,
   en de kenmerkende blauw-paars-roze gradient.
   ========================================================================== */

:root {
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ink: #1b1b2f;
  --ink-soft: #50506b;
  --ink-faint: #6a6a85;

  --bg: #ffffff;
  --bg-soft: #f7f7fc;
  --bg-tint: #f2f4ff;
  --line: #e6e6f0;

  --blue: #0f6cbd;
  --indigo: #464feb;
  --violet: #8661c5;
  --pink: #d557a0;
  --coral: #f2718a;

  --grad: linear-gradient(120deg, var(--blue) 0%, var(--indigo) 32%, var(--violet) 58%, var(--pink) 82%, var(--coral) 100%);
  --grad-soft: linear-gradient(120deg, rgba(15,108,189,.10), rgba(70,79,235,.10) 35%, rgba(134,97,197,.10) 65%, rgba(213,87,160,.10));

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(27,27,47,.06), 0 2px 8px rgba(27,27,47,.06);
  --shadow-m: 0 4px 14px rgba(27,27,47,.08), 0 12px 32px rgba(70,79,235,.10);

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-s) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Typografie ---------- */

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 650;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; }

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.grad-text {
  /* Eindigt bij roze (niet koraal) voor voldoende contrast op wit */
  background: linear-gradient(120deg, var(--blue) 0%, var(--indigo) 40%, var(--violet) 72%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 72px 0; }

.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-s);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand .spark { width: 28px; height: 28px; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-s);
  color: var(--ink-soft);
  font-weight: 550;
  font-size: .97rem;
}
.nav-links a:hover {
  background: var(--bg-tint);
  color: var(--ink);
  text-decoration: none;
}
.nav-links a[aria-current="page"] { color: var(--indigo); font-weight: 650; }

.nav-cta.btn { margin-left: 8px; padding: 10px 20px; font-size: .95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 150% 150%;
  box-shadow: 0 4px 14px rgba(70,79,235,.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(70,79,235,.45); }

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-s);
}
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-ghost { color: var(--indigo); background: transparent; padding: 13px 18px; }

.btn-lg { padding: 16px 34px; font-size: 1.07rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background: var(--bg);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px;
  right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(70,79,235,.28), rgba(134,97,197,.16) 55%, transparent 75%);
}
.hero::after {
  width: 480px; height: 480px;
  left: -160px; bottom: -220px;
  background: radial-gradient(circle, rgba(213,87,160,.20), rgba(242,113,138,.12) 55%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { max-width: 15ch; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: .93rem;
  color: var(--ink-faint);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}

/* Chatkaart in de hero — sfeerbeeld van Copilot in actie */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  padding: 26px;
  display: grid;
  gap: 16px;
}
.chat-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-m);
  font-size: .95rem;
  line-height: 1.5;
  max-width: 92%;
}
.chat-user {
  background: var(--bg-tint);
  justify-self: end;
  border-bottom-right-radius: 4px;
}
.chat-ai {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-s);
}
.chat-ai::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .7;
}
.chat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 650;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.chat-label .spark { width: 16px; height: 16px; }

/* ---------- Kaarten ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  box-shadow: var(--shadow-s);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; }
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: rgba(70,79,235,.35);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 a { color: inherit; }

.card .more {
  font-weight: 650;
  color: var(--indigo);
  font-size: .95rem;
}

/* Stappen (zo werkt het) */
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  background: var(--grad);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ---------- Trainingskaarten ---------- */

.training-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.training-card .tc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.training-card .tc-top {
  height: 6px;
  background: var(--grad);
}
.tc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}
.chip {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.tc-price {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.tc-price strong { font-size: 1.25rem; }
.tc-price span { font-size: .85rem; color: var(--ink-faint); }

/* Detailblokken op trainingenpagina */
.training-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  padding: 40px;
  margin-bottom: 36px;
}
.td-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}
.td-cols {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  margin-top: 26px;
}
.td-cols h4 { font-size: 1.02rem; margin-bottom: 12px; }

.check-list, .program-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 19px; height: 19px;
  border-radius: 6px;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
}
.program-list li {
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  font-size: .96rem;
}

.result-note {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-m);
  background: var(--grad-soft);
  border: 1px solid rgba(70,79,235,.18);
  font-size: .98rem;
}
.result-note strong { color: var(--indigo); }

/* ---------- Artikelkaarten ---------- */

.article-card { padding: 26px; }
.article-card .a-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .84rem;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.article-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Artikelpagina (prose) ---------- */

.article-hero { padding: 64px 0 30px; }
.article-hero h1 { max-width: 21ch; }

.prose { max-width: 680px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.05rem; color: #33334d; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  margin: 1.5em 0;
  padding: 16px 22px;
  border-left: 4px solid;
  border-image: var(--grad) 1;
  background: var(--bg-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink-soft);
}
.prose code {
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: .9em;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 7px;
}
.prose pre {
  background: #1b1b2f;
  color: #e6e6f0;
  padding: 20px 24px;
  border-radius: var(--radius-m);
  overflow-x: auto;
  font-size: .9rem;
  line-height: 1.55;
}
.prose pre code { background: none; border: none; color: inherit; padding: 0; }

.breadcrumbs {
  font-size: .9rem;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--indigo); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }

details.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 650;
  position: relative;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round"><path d="M6 9l6 6 6-6"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round"><path d="M6 9l6 6 6-6"/></svg>') center/contain no-repeat;
  transition: transform .2s;
}
details.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
details.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); }
details.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA-band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: #1b1b2f;
  color: #fff;
  padding: 64px 48px;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(70,79,235,.45), transparent 60%),
    radial-gradient(600px 300px at 85% 100%, rgba(213,87,160,.35), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 28px; }
.cta-band .btn-secondary { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }
.cta-band .btn-secondary:hover { border-color: #fff; }

/* ---------- Formulier ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 650; font-size: .95rem; }
.form-field .hint { font-size: .85rem; color: var(--ink-faint); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color .15s, background-color .15s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(70,79,235,.15);
}
textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: .88rem;
  font-weight: 600;
  color: #c0315a;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #1b1b2f;
  color: rgba(255,255,255,.78);
  padding: 60px 0 30px;
  margin-top: 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand .spark { width: 26px; height: 26px; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 22px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  display: grid;
  gap: 8px;
}

/* ---------- Ankerchips (trainingenpagina) ---------- */

.anchor-chips {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.anchor-chips .wrap {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-chips .wrap::-webkit-scrollbar { display: none; }
.anchor-chips a {
  flex: none;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .93rem;
  white-space: nowrap;
}
.anchor-chips a:hover { border-color: var(--indigo); color: var(--indigo); text-decoration: none; }

/* ---------- Leerpad (kennisbank) ---------- */

.leerpad {
  counter-reset: stap;
  display: grid;
  gap: 14px;
  max-width: 720px;
}
.leerpad a {
  counter-increment: stap;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 600;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.leerpad a:hover {
  text-decoration: none;
  transform: translateX(4px);
  border-color: rgba(70,79,235,.4);
  box-shadow: var(--shadow-m);
}
.leerpad a::before {
  content: counter(stap);
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
}
.leerpad a .lp-meta { margin-left: auto; font-size: .85rem; font-weight: 550; color: var(--ink-faint); white-space: nowrap; }

/* ---------- Highlight-band (Cowork nieuw) ---------- */

.highlight-band {
  border-radius: var(--radius-l);
  border: 1px solid rgba(70,79,235,.25);
  background: var(--grad-soft);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
}
.label-nieuw {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--grad);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}

/* ---------- Keuzekaarten (inschrijven) ---------- */

.keuze-kaarten { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.keuze-kaart {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-l);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.keuze-kaart:hover { border-color: rgba(70,79,235,.5); box-shadow: var(--shadow-m); }
.keuze-kaart .btn { margin-top: 14px; align-self: flex-start; }
.keuze-kaart .nazin { font-size: .88rem; color: var(--ink-faint); margin: 6px 0 0; }

/* ---------- Trainer-intro / avatar ---------- */

.trainer-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  padding: 40px;
}
.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  box-shadow: var(--shadow-m);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 210px; height: 210px; font-size: 4rem; }

/* ---------- Profiel-hero (over-pagina) ---------- */

.profile-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 700px) {
  .profile-grid { grid-template-columns: 1fr; gap: 26px; justify-items: start; }
}

/* ---------- Sticky mobiele CTA-balk ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.hidden { display: none !important; }

/* ---------- Interactieve stappengids ---------- */

.gids {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-s);
  overflow: hidden;
  margin: 2em 0;
}
.gids-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.gids-tabs button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 650;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.gids-tabs button .gnum {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--indigo);
  font-size: .8rem;
}
.gids-tabs button[aria-selected="true"] {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--bg-tint);
}
.gids-tabs button[aria-selected="true"] .gnum { background: var(--grad); color: #fff; }

.gids-paneel { display: none; padding: 26px; }
.gids-paneel.actief { display: grid; gap: 18px; }
.gids-paneel > p { margin: 0; }

/* Gestileerde voorbeeldweergave (geen echte screenshot) */
.gids-scherm {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg-soft);
  font-size: .92rem;
}
.gids-scherm .gs-balk {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #e9e9f2;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .85rem;
}
.gids-scherm .gs-balk .dots { display: flex; gap: 5px; }
.gids-scherm .gs-balk .dots span { width: 10px; height: 10px; border-radius: 50%; background: #c9c9d8; }
.gids-scherm .gs-balk .url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: Consolas, monospace;
  font-size: .82rem;
}
.gids-scherm .gs-inhoud { padding: 18px; display: grid; gap: 8px; }
.gids-scherm .gs-regel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink-soft);
}
.gids-scherm .gs-regel.klik {
  border: 2px solid var(--indigo);
  color: var(--ink);
  font-weight: 650;
  position: relative;
  box-shadow: 0 0 0 4px rgba(70,79,235,.12);
}
.gids-scherm .gs-regel.klik::after {
  content: "← klik hier";
  color: var(--indigo);
  font-size: .82rem;
  font-weight: 700;
  margin-left: 10px;
}
.gids-noot {
  font-size: .84rem;
  color: var(--ink-faint);
  margin: 0;
}
.gids-nav { display: flex; justify-content: space-between; gap: 10px; }
.gids-nav .btn { padding: 10px 20px; font-size: .93rem; }

/* Bronnenblok onder feitelijke artikelen */
.bronnen {
  margin-top: 2.5em;
  padding: 18px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  font-size: .9rem;
}
.bronnen h2 { font-size: 1.05rem; margin-top: 0 !important; }
.bronnen ul { margin: 0; padding-left: 20px; }
.bronnen li { margin-bottom: .35em; font-size: .9rem; }

/* ---------- Diversen ---------- */

.anchor-offset { scroll-margin-top: 90px; }

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-tint);
  border: 1px solid rgba(70,79,235,.2);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* ---------- Responsief ---------- */

@media (max-width: 900px) {
  section { padding: 56px 0; }

  .hero { padding: 64px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .td-cols { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .training-detail { padding: 28px 22px; }
  .cta-band { padding: 48px 26px; }

  .nav-toggle { display: inline-flex; margin-left: 0; }
  /* Inschrijven-knop blijft zichtbaar naast het hamburger-menu */
  .nav-cta.btn { padding: 9px 16px; font-size: .9rem; width: auto; margin-left: auto; }
  .mobile-cta { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    padding: 12px 18px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .hero-note { flex-direction: column; align-items: flex-start; }
}

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