/* Sint Maarten theorie – startpagina. Kleuren van de vlag van Sint Maarten: rood, blauw en wit. Alleen actief op de voorpagina (#page-site-index). */
/* Bezoekers (niet ingelogd): de nieuwe startpagina staat bovenaan. De inhoud van Moodle zelf (sitebeschrijving en cursuslijst)
   blijft bestaan en zichtbaar onderaan, zodat Google die tekst en links blijft vinden.
   VEILIG: alles hieronder werkt pas als het script de klasse "sxm-on" heeft gezet. Draait het script niet, dan blijft de gewone
   Moodle-voorpagina gewoon zichtbaar. Tot het script klaar is, blijft de oude inhoud verborgen (tegen een flits), maar nooit langer dan 3 seconden:
   daarna komt hij altijd terug, ook als er iets misgaat. */
#page-site-index.notloggedin:not(.sxm-on) #region-main > [role="main"],
#page-site-index.notloggedin:not(.sxm-on) #page-header,
#page-site-index.notloggedin:not(.sxm-on) #page-footer { visibility: hidden; animation: sxm-failsafe 0s linear 3s forwards; }
@keyframes sxm-failsafe { to { visibility: visible; } }
#page-site-index.notloggedin #region-main { padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
#page-site-index.sxm-on.notloggedin #page-header { display: none !important; }
#page-site-index.sxm-on .skip-block { display: none !important; }
#page-site-index.sxm-on #region-main > [role="main"] { max-width: 1180px; margin: 0 auto; padding: 72px 24px 40px; }
#page-site-index.sxm-on { overflow-x: hidden; }
#page-site-index.sxm-on #region-main { padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
#page-site-index.sxm-on #page.drawers .main-inner { max-width: none; padding-top: 0; margin-top: 0; }

/* Voorpagina (iedereen): sitebeschrijving en cursuslijst van Moodle als nette kaarten */
#page-site-index .sitetopic .no-overflow, #page-site-index .sitetopic .summary { font-size: 16px; line-height: 1.6; }
#page-site-index .sitetopic { background: #EEF2FA; border: 1px solid #D3DCF0; border-radius: 20px; padding: 22px 26px; margin-bottom: 34px; }
#page-site-index .sitetopic .card, #page-site-index .sitetopic .course-content { border: 0 !important; background: transparent !important; box-shadow: none !important; }
#page-site-index #frontpage-available-course-list h2, #page-site-index #frontpage-course-list h2 {
  font-family: 'Figtree', system-ui, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin: 10px 0 18px; color: #111827; }
#page-site-index .frontpage-course-list-all, #page-site-index .frontpage-course-list-enrolled, #page-site-index #frontpage-available-course-list .courses,
#page-site-index #frontpage-course-list .courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
#page-site-index .courses .coursebox { margin: 0 !important; border: 1px solid #E3E7EF !important; border-radius: 16px !important; padding: 14px 16px !important;
  background: #fff; box-shadow: 0 2px 8px rgba(17,24,39,.05); transition: border-color .15s, box-shadow .15s; display: flex !important; flex-direction: column;
  position: relative; font-family: 'Figtree', system-ui, sans-serif; }
#page-site-index .courses .coursebox:hover { border-color: #8FA6D9 !important; box-shadow: 0 8px 20px rgba(17,24,39,.08); }
#page-site-index .courses .coursebox .info { display: block; }
#page-site-index .courses .coursebox .coursename { margin: 0 !important; }
#page-site-index .courses .coursebox .coursename a { font-weight: 800; font-size: 15.5px; color: #111827 !important; text-decoration: none !important; line-height: 1.3; }
#page-site-index .courses .coursebox .coursename a::before { content: none !important; }
#page-site-index .courses .coursebox .content, #page-site-index .courses .coursebox .summary { padding: 0 !important; margin: 0 !important; }
#page-site-index .courses .coursebox .summary { color: #5B6475; font-size: 13.5px; line-height: 1.5; margin-top: 6px !important; }
#page-site-index .courses .coursebox .summary p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#page-site-index .courses .coursebox .summary p + p, #page-site-index .courses .coursebox .summary img,
#page-site-index .courses .coursebox .courseimage, #page-site-index .courses .coursebox .content img { display: none !important; }
#page-site-index .courses .coursebox .sxm-cmeta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
#page-site-index .courses .coursebox .sxm-cmeta .tp { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5B6475;
  background: #EEF1F6; padding: 4px 9px; border-radius: 999px; }
#page-site-index .courses .coursebox .sxm-cmeta .fl { display: block; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
#page-site-index .courses .coursebox .sxm-cmeta .fl svg { display: block; width: 100%; height: 100%; }
#page-site-index .courses .coursebox .sxm-cmeta .al { font-size: 12px; font-weight: 700; color: #5B6475; white-space: nowrap; display: inline-block; }
#page-site-index .coursebox[data-sxm="demo"] { border-color: #BFE3CC !important; background: linear-gradient(180deg, #F3FBF6, #fff); }
#page-site-index .coursebox[data-sxm="demo"] .sxm-cmeta .tp { background: #DDF3E5; color: #15803D; }
#page-site-index .coursebox[data-sxm="theory"] .sxm-cmeta .tp { background: #FDE3E4; color: #B00D12; }
@media (max-width: 560px) { #page-site-index .courses .coursebox { padding: 12px !important; } #page-site-index .courses .coursebox .coursename a { font-size: 14px; } #page-site-index .courses .coursebox .sxm-cmeta .tp { font-size: 10px; padding: 3px 7px; } #page-site-index .courses .coursebox .sxm-cmeta .al { font-size: 0; } #page-site-index .courses .coursebox .sxm-cmeta .al::first-letter { font-size: 14px; } }
#page-site-index .courses .coursebox .sxm-cgo { margin-top: auto; padding-top: 12px; font-weight: 800; font-size: 13.5px; color: #002688 !important; text-decoration: none !important; }
#page-site-index .courses .coursebox .sxm-cgo:hover { text-decoration: underline !important; }
#page-site-index .courses .coursebox.dimmed, #page-site-index .courses .coursebox .dimmed { opacity: .6; }
#page-site-index #frontpage-available-course-list .paging, #page-site-index #frontpage-course-list .paging { margin-top: 16px; }
#page-site-index #frontpage-available-course-list .paging a, #page-site-index #frontpage-course-list .paging a, #page-site-index .frontpage-course-list-all + .paging a,
#page-site-index #frontpage-available-course-list .btn, #page-site-index #frontpage-course-list .btn {
  background: #fff !important; border: 2px solid #C3D0EC !important; color: #002688 !important; border-radius: 999px !important; font-weight: 800; padding: 7px 18px !important; text-decoration: none !important; }
@media (max-width: 1000px) {
  #page-site-index .frontpage-course-list-all, #page-site-index .frontpage-course-list-enrolled, #page-site-index #frontpage-available-course-list .courses,
  #page-site-index #frontpage-course-list .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  #page-site-index .frontpage-course-list-all, #page-site-index .frontpage-course-list-enrolled, #page-site-index #frontpage-available-course-list .courses,
  #page-site-index #frontpage-course-list .courses { grid-template-columns: 1fr; }
}

/* Ingelogde leerlingen: welkomstblok bovenaan de voorpagina */
.sxm-member { background: radial-gradient(700px 360px at 90% -20%, rgba(220,16,22,.75) 0%, transparent 60%), linear-gradient(150deg, #DC1016 0%, #002688 100%);
  color: #fff; border-radius: 24px; padding: 28px 30px; margin: 0 0 30px; font-family: 'Figtree', system-ui, sans-serif; }
.sxm-member .row1 { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sxm-member h2 { color: #fff; font-weight: 800; font-size: 30px; margin: 0; letter-spacing: -.02em; }
.sxm-member .lg { display: flex; gap: 6px; background: rgba(255,255,255,.16); padding: 5px; border-radius: 999px; }
.sxm-member .lg a { color: #fff !important; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; text-decoration: none !important; }
.sxm-member .lg a.on { background: #fff; color: #002688 !important; }
.sxm-member .note { color: #DCE4F5; font-size: 15px; margin: 0 0 18px; }
.sxm-member .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sxm-member .tiles a { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 16px; padding: 16px; color: #fff !important;
  text-decoration: none !important; transition: background .15s, transform .15s; display: block; }
.sxm-member .tiles a:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.sxm-member .tiles a.main { background: #fff; color: #111827 !important; border-color: #fff; }
.sxm-member .tiles .i { font-size: 26px; display: block; margin-bottom: 6px; }
.sxm-member .tiles b { display: block; font-size: 16px; font-weight: 800; }
.sxm-member .tiles small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; line-height: 1.35; }
@media (max-width: 800px) { .sxm-member .tiles { grid-template-columns: 1fr 1fr; } .sxm-member h2 { font-size: 24px; } }

/* ===== Startpagina voor bezoekers ===== */
.sxm-home {
  --red: #DC1016; --blue: #002688; --blue-dd: #001A5E; --blue-l: #EEF2FA; --blue-m: #DCE4F5;
  --ink: #111827; --muted: #5B6475; --line: #E3E7EF; --green: #15803D; --red: #DC2626; --blue: #1D6FD1; --yellow: #F9DA06;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); line-height: 1.5; font-size: 17px;
}
.sxm-home * { box-sizing: border-box; }
.sxm-home a { text-decoration: none; }
.sxm-bleed { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.sxm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sxm-home h1, .sxm-home h2, .sxm-home h3 { font-family: inherit; color: inherit; margin: 0; letter-spacing: -.02em; }

/* knoppen */
.sxm-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 14px; font-weight: 800; font-size: 17px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s; cursor: pointer; border: 0; }
.sxm-btn:hover { transform: translateY(-2px); }
.sxm-btn-or { background: var(--blue); color: #fff !important; box-shadow: 0 10px 28px rgba(0,38,136,.32); }
.sxm-btn-or:hover { background: #001C6E; box-shadow: 0 14px 32px rgba(0,38,136,.42); }
.sxm-btn-line { background: #fff; color: var(--blue) !important; border: 2px solid #C3D0EC; }
.sxm-btn-line:hover { border-color: var(--blue); }
.sxm-btn-w { background: #fff; color: var(--blue-dd) !important; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.sxm-btn-ghost { background: rgba(255,255,255,.12); color: #fff !important; border: 2px solid rgba(255,255,255,.45); }
.sxm-btn-ghost:hover { background: rgba(255,255,255,.2); }
.sxm-btn .arr { transition: transform .15s; }
.sxm-btn .sm { font-weight: 600; opacity: .8; }
.sxm-btn:hover .arr { transform: translateX(4px); }

/* HERO: licht, warm wit met oranje accenten */
.sxm-hero { background: linear-gradient(180deg, #DC1016 0 5px, #002688 5px 10px, transparent 10px), radial-gradient(900px 520px at 88% -8%, #F8D0D2 0%, transparent 62%), radial-gradient(700px 420px at -8% 105%, #D9E2F4 0%, transparent 60%),
  linear-gradient(180deg, #F7F9FD 0%, #EEF2FA 100%); color: var(--ink); padding: 34px 0 110px; overflow: hidden; }
.sxm-hero::before { content: ''; position: absolute; right: -120px; top: 120px; width: 420px; height: 420px; border-radius: 50%;
  border: 46px solid rgba(220,16,22,.07); }

.sxm-hero .sxm-wrap { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.sxm-hero .sxm-wrap.sxm-topwrap { display: block; }
.sxm-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 16px; flex-wrap: wrap; }
.sxm-logo { display: flex; align-items: center; gap: 12px; color: var(--ink) !important; }
.sxm-logo .mk { width: 50px; height: 50px; flex: none; filter: drop-shadow(0 6px 12px rgba(220,16,22,.28)); }
.sxm-logo .nm { font-weight: 800; font-size: 24px; letter-spacing: .02em; color: var(--ink); line-height: 1; }
.sxm-logo .nm b { color: var(--red); }
.sxm-logo .nm small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.sxm-logo .isl { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); border-left: 2px solid var(--line); padding-left: 12px; }
.sxm-tright { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sxm-langs { display: flex; gap: 4px; background: #fff; padding: 5px; border-radius: 999px; border: 1.5px solid var(--line); box-shadow: 0 6px 18px rgba(17,24,39,.06); }
.sxm-langs a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink) !important; font-weight: 800; font-size: 14px; padding: 7px 13px 7px 8px; border-radius: 999px; transition: background .15s; }
.sxm-langs a:hover { background: var(--blue-l); }
.sxm-langs a.on { background: var(--blue); color: #fff !important; }
.sxm-langs .fl { display: block; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.sxm-langs .fl svg { display: block; width: 100%; height: 100%; }
.sxm-login { color: var(--ink) !important; font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.sxm-login:hover { border-color: var(--blue); color: var(--blue) !important; }

.sxm-kicker { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--blue); font-weight: 800; border: 1.5px solid #C3D0EC;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; margin-bottom: 20px; }
.sxm-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: sxm-pulse 1.6s infinite; }
@keyframes sxm-pulse { 0% { box-shadow: 0 0 0 0 rgba(220,16,22,.55); } 70% { box-shadow: 0 0 0 9px rgba(220,16,22,0); } 100% { box-shadow: 0 0 0 0 rgba(220,16,22,0); } }
.sxm-hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; font-weight: 800; color: var(--ink); }
.sxm-hero h1 em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.sxm-hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--red); opacity: .18; border-radius: 4px; }
.sxm-sub { font-size: 20px; color: #3D4555; margin: 22px 0 30px; max-width: 560px; }
.sxm-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.sxm-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-size: 15px; color: #3D4555; font-weight: 700; }
.sxm-trust span::before { content: '✓'; color: var(--red); font-weight: 900; margin-right: 8px; }

/* telefoon met mini-vraag */
.sxm-phone { justify-self: center; width: 330px; background: #111827; border-radius: 44px; padding: 14px; position: relative;
  box-shadow: 0 40px 80px rgba(0,26,94,.28), 0 0 0 2px rgba(0,0,0,.06); }
.sxm-screen { background: #F6F8FB; border-radius: 32px; overflow: hidden; color: var(--ink); }
.sxm-screen .hd { background: var(--blue); padding-bottom: 16px; }
.sxm-screen .top { color: #fff; padding: 22px 18px 14px; font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; }
.sxm-screen .bar { height: 6px; background: rgba(255,255,255,.3); margin: 0 18px; border-radius: 9px; overflow: hidden; }
.sxm-screen .bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 9px; transition: width .8s ease; }
.sxm-screen .body { padding: 18px; min-height: 470px; }
.sxm-screen .q { font-weight: 800; font-size: 17px; margin: 4px 0 12px; line-height: 1.3; }
.sxm-pic { margin: 0 0 12px; border-radius: 14px; overflow: hidden; background: #1A1D22; }
.sxm-pic svg { display: block; width: 100%; height: 170px; }
.sxm-pic.sign { background: linear-gradient(180deg, #CFE7F5 0%, #EAF4F8 62%, #9FB089 62%, #8A9C74 100%); }
.sxm-pic.sign .lg { background: #fff; color: var(--muted); }
.sxm-pic .lg { font-size: 12px; color: #C9C6BE; font-weight: 700; text-align: center; padding: 4px 0 5px; }
.sxm-photo { margin: 0 0 12px; }
.sxm-photo img { display: block; width: 100%; height: auto; border-radius: 12px; background: #EEE; }
.sxm-photo .lg { font-size: 12px; color: var(--muted); font-weight: 700; text-align: center; margin-top: 4px; }
.sxm-ans { display: block; width: 100%; text-align: left; background: #fff; border: 2px solid #DDE3EE; border-radius: 14px; padding: 11px 13px;
  font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--ink); cursor: pointer; font-family: inherit; transition: all .15s; -webkit-appearance: none; appearance: none; line-height: 1.3; }
.sxm-ans:hover { border-color: var(--red); }
.sxm-ans.ok { border-color: var(--green); background: #E8F7EE; }
.sxm-ans.no { border-color: var(--red); background: #FDECEC; }
.sxm-fb { font-size: 14px; font-weight: 700; min-height: 22px; color: var(--muted); line-height: 1.4; }
.sxm-fb.ok { color: var(--green); } .sxm-fb.no { color: var(--red); }
.sxm-next { display: block; width: 100%; margin-top: 8px; background: var(--blue); color: #fff; border: 0; border-radius: 12px; padding: 12px; font-weight: 800;
  font-size: 15px; font-family: inherit; cursor: pointer; }
.sxm-end-q { text-align: center; padding-top: 30px; }
.sxm-end-q .big { font-size: 56px; }
.sxm-end-q p { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.sxm-end-q .sxm-btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }
.sxm-again { background: none; border: 0; color: var(--blue); font-weight: 800; margin-top: 12px; cursor: pointer; font-family: inherit; font-size: 15px; }
.sxm-xp { position: absolute; right: -26px; top: 70px; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px; font-weight: 800;
  box-shadow: 0 18px 40px rgba(0,0,0,.18); font-size: 14px; transform: rotate(-4deg); display: flex; align-items: center; gap: 8px; z-index: 2; }
.sxm-xp b { color: var(--green); font-size: 18px; }
.sxm-xp.pop { animation: sxm-pop .6s ease; }
@keyframes sxm-pop { 40% { transform: rotate(-4deg) scale(1.25); } }
/* nummerbord van Sint Maarten naast de telefoon */
.sxm-plate { position: absolute; left: -128px; top: 34px; width: 160px; transform: rotate(-9deg); filter: drop-shadow(0 16px 22px rgba(0,0,0,.25)); z-index: 2; }
.sxm-plate svg { display: block; width: 100%; height: auto; }

/* cijfers */
.sxm-stats { background: #fff; position: relative; z-index: 4; margin-top: -54px; border-radius: 22px; box-shadow: 0 20px 50px rgba(17,24,39,.1);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 10px; border: 1px solid var(--line); }
.sxm-stat { text-align: center; padding: 6px 10px; border-right: 1px solid var(--line); }
.sxm-stat:last-child { border-right: 0; }
.sxm-stat b { display: block; font-size: 40px; font-weight: 800; color: var(--red); letter-spacing: -.03em; line-height: 1.1; }
.sxm-stat span { color: var(--muted); font-weight: 600; font-size: 15px; }

/* secties */
.sxm-sec { padding: 88px 0 96px; }
.sxm-sec.alt { background: #F7F9FD; }
.sxm-h2 { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sxm-h2 small { display: block; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 12px; }
.sxm-h2 h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; }
.sxm-h2 p { color: var(--muted); font-size: 19px; margin-top: 14px; }

.sxm-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sxm-f { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; transition: transform .2s, box-shadow .2s; }
.sxm-f:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(17,24,39,.08); }
.sxm-f .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--blue-l); margin-bottom: 18px; }
.sxm-f h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.sxm-f p { color: var(--muted); margin: 0; font-size: 16px; }

/* foto uit een video met vraag */
.sxm-chal { background: radial-gradient(600px 400px at 100% 0%, rgba(220,16,22,.75) 0%, transparent 60%), linear-gradient(140deg, #00379E 0%, #002688 55%, #001A5E 100%);
  color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.sxm-chal::before { content: ''; pointer-events: none; position: absolute; left: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); }
.sxm-chal > * { position: relative; z-index: 1; min-width: 0; }
.sxm-chal h2 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; color: #fff; line-height: 1.05; margin: 10px 0 14px; }
.sxm-chal p { color: #DCE4F5; font-size: 18px; margin-bottom: 20px; }
.sxm-chal .tag { display: inline-block; background: #fff; color: var(--blue-dd); font-weight: 800; padding: 6px 12px; border-radius: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.sxm-chal .routes { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 20px; }
.sxm-chal .routes span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.sxm-vq .vqq { font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.sxm-vq .opt { display: block; width: 100%; text-align: left; background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
  padding: 13px 16px; font-weight: 700; font-size: 16px; line-height: 1.3; font-family: inherit; margin-bottom: 10px; cursor: pointer; transition: background .15s, border-color .15s; }
.sxm-vq .opt:hover { background: rgba(255,255,255,.2); }
.sxm-vq .opt.ok { background: #15803D; border-color: #15803D; }
.sxm-vq .opt.no { background: rgba(220,38,38,.9); border-color: #DC2626; }
.sxm-vq .opt[disabled] { cursor: default; }
.sxm-vq .why { display: none; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 18px; margin: 6px 0 14px; font-size: 15px; }
.sxm-vq .why.on { display: block; }
.sxm-vq .again { background: none; border: 0; color: #fff; font-weight: 700; text-decoration: underline; cursor: pointer; font-family: inherit; font-size: 15px; margin: 0 0 16px; padding: 0; }
.sxm-video { position: relative; width: 100%; border-radius: 20px; overflow: hidden; background: #111; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.sxm-video .frame { position: relative; }
.sxm-video .frame > img { display: block; width: 100%; height: auto; }
.sxm-video .ctl { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #17191C; color: #E9E6DF; font-size: 13px; font-weight: 700; }
.sxm-video .ctl .pl { width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; flex: none; }
.sxm-video .ctl .tl { flex: 1; height: 5px; border-radius: 9px; background: #3A3F46; position: relative; overflow: hidden; }
.sxm-video .ctl .tl i { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--red); border-radius: 9px; }
.sxm-video .ctl .tm { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sxm-video .cap { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 8px; }
.sxm-video .rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; margin-right: 7px; animation: sxm-blinkdot 1.2s steps(1) infinite; }
@keyframes sxm-blinkdot { 50% { opacity: .2; } }

/* cursussen */
#sxm-prod { scroll-margin-top: 70px; }
.sxm-prod { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 20px; align-items: stretch; }
.sxm-p .lang { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.sxm-p .lang .fl { display: block; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.sxm-p .lang .fl svg { display: block; width: 100%; height: 100%; }
.sxm-p { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s; }
.sxm-p:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(17,24,39,.1); }
.sxm-p.top { border-color: var(--red); background: linear-gradient(180deg, #EEF2FA, #fff); box-shadow: 0 24px 50px rgba(220,16,22,.14); }
.sxm-p.demo { border-color: #8CC9A6; background: linear-gradient(180deg, #EEF9F2, #fff); }
.sxm-p.demo .lic span { background: #DDF3E5; }
.sxm-p .badge { position: absolute; top: -14px; left: 24px; background: var(--blue); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.sxm-p .lic { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.sxm-p .lic { gap: 5px; } .sxm-p .lic span { min-width: 29px; height: 29px; padding: 0 6px; border-radius: 8px; background: var(--blue-l); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.sxm-p.top .lic span { background: var(--blue); color: #fff; }
.sxm-p h3 { font-size: 21px; font-weight: 800; line-height: 1.2; }
.sxm-p .for .onl { display: block; margin-top: 6px; color: var(--blue); font-size: 13px; font-weight: 800; }
.sxm-p .for { color: var(--muted); font-weight: 600; font-size: 15px; margin: 4px 0 16px; }
.sxm-p .sum { color: var(--muted); font-size: 15px; margin: 8px 0 24px; flex: 1; }
.sxm-p ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.sxm-p li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.sxm-p li::before { content: '✓'; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: #E8F7EE; color: var(--green);
  font-weight: 900; font-size: 12px; display: grid; place-items: center; }
.sxm-p .sxm-btn { justify-content: center; width: 100%; padding: 14px; }
.sxm-price { background: #fff; border: 1.5px solid #C3D0EC; border-radius: 16px; padding: 14px 16px; margin: 12px 0 4px; }
.sxm-price .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sxm-price b { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.sxm-price .once { background: #E8F7EE; color: var(--green); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; }
.sxm-price .dur { margin-top: 10px; font-weight: 700; color: var(--muted); font-size: 14px; }

/* betalen: alleen PayPal */
.sxm-pay { margin-top: 34px; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 10px 30px rgba(17,24,39,.05); }
.sxm-pay .hd { text-align: center; margin-bottom: 22px; }
.sxm-pay .hd small { display: block; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-bottom: 6px; }
.sxm-pay .hd h3 { font-size: 26px; font-weight: 800; }
.sxm-pay .hd p { color: var(--muted); margin: 6px 0 0; font-size: 16px; }
.sxm-pay .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; }
.sxm-pay .ic svg { width: 24px; height: 24px; }
.sxm-pay .ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sxm-pay .way { display: flex; gap: 14px; align-items: flex-start; background: #F6F8FB; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.sxm-pay .way b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.sxm-pay .way > div > span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.sxm-pay .ways.one { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.sxm-pay .way .pp { font-weight: 900; font-style: italic; color: #003087; } .sxm-pay .way .pp i { color: #009CDE; font-style: italic; }

/* demo-kaart: link naar de demo in de andere taal */
.sxm-p .sxm-alt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--muted) !important; }
.sxm-p .sxm-alt:hover { color: var(--blue) !important; text-decoration: underline; }
.sxm-p .sxm-alt .fl { display: block; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.sxm-p .sxm-alt .fl svg { display: block; width: 100%; height: 100%; }
/* basisschool */
.sxm-school { margin-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--blue-l); border: 1.5px solid #C3D0EC; border-radius: 20px; padding: 18px 22px; color: var(--ink) !important; transition: border-color .15s; }
.sxm-school:hover { border-color: var(--blue); }
.sxm-school .ic { font-size: 30px; flex: none; }
.sxm-school > span:nth-child(2) { flex: 1 1 240px; }
.sxm-school b { display: block; font-size: 18px; font-weight: 800; }
.sxm-school > span:nth-child(2) > span { display: block; color: var(--muted); font-size: 15px; }
.sxm-school .go { font-weight: 800; color: var(--blue); white-space: nowrap; }
/* link naar alle vragen + voetregel */
.sxm-faqall { text-align: center; margin: 22px 0 0; }
.sxm-faqall a { font-weight: 800; color: var(--blue) !important; }
.sxm-faqall a:hover { text-decoration: underline !important; }
.sxm-q .aa a { color: var(--blue); font-weight: 700; }
.sxm-foot { margin: 34px 0 0; font-size: 15px; color: #DCE4F5; }
.sxm-foot a { color: #fff !important; font-weight: 700; text-decoration: underline !important; }
/* cursuslijst van Moodle: labels per soort */
#page-site-index .coursebox[data-sxm="school"] .sxm-cmeta .tp { background: #DCE4F5; color: #002688; }
#page-site-index .coursebox[data-sxm="info"] .sxm-cmeta .tp { background: #EEF1F6; color: #5B6475; }

/* stappen */
.sxm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.sxm-s { position: relative; padding: 30px 26px; background: #fff; border-radius: 22px; border: 1px solid var(--line); }
.sxm-s::before { counter-increment: s; content: counter(s); width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 800;
  font-size: 22px; display: grid; place-items: center; margin-bottom: 16px; }
.sxm-s h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.sxm-s p { color: var(--muted); margin: 0; }

/* vragen */
.sxm-faq { max-width: 860px; margin: 0 auto; }
.sxm-q { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
.sxm-q .qq { padding: 20px 24px; font-weight: 800; font-size: 18px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.sxm-q .qq::after { content: '+'; color: var(--red); font-size: 26px; line-height: 1; transition: transform .2s; }
.sxm-q.open .qq::after { transform: rotate(45deg); }
.sxm-q .aa { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); }
.sxm-q .aa div { padding: 0 24px 20px; }
.sxm-q.open .aa { max-height: 320px; }

/* slot */
.sxm-end { background: radial-gradient(700px 400px at 85% 0%, rgba(220,16,22,.75) 0%, transparent 60%), linear-gradient(150deg, #00379E 0%, #001A5E 100%);
  color: #fff; text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.sxm-end h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; color: #fff; }
.sxm-end p { color: #DCE4F5; font-size: 20px; margin: 14px 0 32px; }
.sxm-end .sxm-ctas { justify-content: center; }
.sxm-end .d1, .sxm-end .d2 { pointer-events: none; position: absolute; border-radius: 50%; border: 28px solid rgba(255,255,255,.08); }
.sxm-end .d1 { left: 5%; top: 14%; width: 170px; height: 170px; } .sxm-end .d2 { right: 7%; bottom: 8%; width: 110px; height: 110px; border-width: 20px; }

/* in beeld schuiven */
.sxm-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.sxm-rv.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .sxm-hero .sxm-wrap, .sxm-chal { grid-template-columns: 1fr; }
  .sxm-phone { margin-top: 24px; }
  .sxm-feat { grid-template-columns: 1fr 1fr; }
  .sxm-pay .ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sxm-home { font-size: 16px; }
  .sxm-hero { padding: 22px 0 90px; }
  .sxm-topbar { margin-bottom: 26px; }
  .sxm-logo .mk { width: 40px; height: 40px; } .sxm-logo .nm { font-size: 20px; } .sxm-logo .isl { display: none; }
  .sxm-langs a { padding: 6px 9px 6px 6px; font-size: 13px; }
  .sxm-sub { font-size: 18px; }
  .sxm-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .sxm-stat:nth-child(2) { border-right: 0; }
  .sxm-feat, .sxm-steps { grid-template-columns: 1fr; }
  .sxm-chal { padding: 32px 22px; border-radius: 24px; }
  .sxm-chal p { font-size: 17px; }
  .sxm-sec { padding: 64px 0; }
  .sxm-phone { width: 290px; }
  .sxm-screen .top { font-size: 13px; white-space: nowrap; gap: 8px; }
  .sxm-xp { right: -10px; }
  .sxm-plate { display: none; }
  .sxm-btn { width: 100%; justify-content: center; }
  .sxm-btn .sm { display: none; }
  .sxm-pay { padding: 20px 16px; } .sxm-pay .ways { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sxm-home *, .sxm-home *::before, .sxm-home *::after { animation: none !important; transition: none !important; }
  .sxm-rv { opacity: 1; transform: none; }
}
