/*
Theme Name: TypeGame
Theme URI: https://debekkerdesign.nl
Author: debekkerdesign.nl
Description: Complete website voor TypeGame: een typecursus als game voor groep 7 en 8. Met homepage, inlogpagina's voor leerlingen en begeleiders, leerroute in 25 stappen, voortgang per leerling, scorebord en automatische certificaten. Upload dit thema via Weergave > Thema's > Nieuw thema > Thema uploaden.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: typegame
Tags: education, one-column, custom-menu, custom-logo
*/

/* Ontwerp: lichte, vrolijke site in de kleuren van het logo (blauw, donkerblauw, limoen).
   Kop in Fredoka (rond, net als het logo), tekst in Lexend (goed leesbaar voor kinderen). */
:root {
  --tg-bg: #FFFFFF; --tg-soft: #F2F6FF; --tg-soft2: #E6EEFF; --tg-ink: #001C51; --tg-muted: #56638C; --tg-line: #DCE3F3;
  --tg-blue: #005DE3; --tg-blue-dark: #0041A8; --tg-lime: #82BE02; --tg-lime-bright: #B9F205; --tg-lime-dark: #4F7A00;
  --tg-space: #0B1A48; --tg-red: #E23B4E; --tg-green: #1E9E4A;
  --tg-f-p: #FBCFE0; --tg-f-r: #FFDDB3; --tg-f-m: #FFF0A6; --tg-f-i: #CDEFB9; --tg-f-t: #CFE0FF; --tg-key-shadow: #B3C1E2;
  --tg-display: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --tg-body: "Lexend", "Segoe UI", system-ui, sans-serif;
  --tg-radius: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--tg-bg); color: var(--tg-ink); font-family: var(--tg-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--tg-blue); }
a:hover { color: var(--tg-blue-dark); }
h1, h2, h3, h4 { font-family: var(--tg-display); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; text-wrap: balance; color: var(--tg-ink); }
h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tg-blue); outline-offset: 3px; border-radius: 6px; }
.tg-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.tg-narrow { max-width: 820px; }
.tg-muted { color: var(--tg-muted); }
.tg-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tg-sr, .tg-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tg-skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--tg-ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.tg-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-lime-dark); margin-bottom: 10px; }

/* knoppen */
.tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; padding: 10px 18px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .12s, filter .12s; line-height: 1.2; white-space: nowrap; }
.tg-btn:hover { filter: brightness(1.05); }
.tg-btn:active { transform: translateY(3px); }
.tg-btn-lime { background: var(--tg-lime-bright); color: var(--tg-ink); box-shadow: 0 4px 0 var(--tg-lime-dark); }
.tg-btn-lime:hover { color: var(--tg-ink); }
.tg-btn-blue { background: var(--tg-blue); color: #fff; box-shadow: 0 4px 0 var(--tg-blue-dark); }
.tg-btn-blue:hover { color: #fff; }
.tg-btn-ghost { background: #fff; color: var(--tg-ink); border: 1px solid var(--tg-line); box-shadow: 0 4px 0 var(--tg-key-shadow); }
.tg-btn-ghost:hover { color: var(--tg-ink); border-color: var(--tg-blue); }
.tg-btn-big { padding: 14px 24px; font-size: 17px; border-radius: 16px; }

/* kopbalk */
.tg-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--tg-line); }
.admin-bar .tg-header { top: 32px; }
.tg-header-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.tg-logo { display: block; flex: none; }
.tg-logo img { height: 46px; width: auto; display: block; }
.tg-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.tg-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.tg-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--tg-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.tg-menu a:hover { background: var(--tg-soft); color: var(--tg-blue); }
.tg-nav-btns { display: flex; gap: 8px; }
.tg-menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--tg-line); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.tg-menu-toggle > span:not(.tg-sr) { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--tg-ink); transition: transform .2s, opacity .2s; }
.tg-menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.tg-menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.tg-menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* hero */
.tg-hero { background: radial-gradient(900px 480px at 85% 0%, #DCE7FF 0%, rgba(220, 231, 255, 0) 70%), radial-gradient(700px 400px at 0% 100%, #F2FFD6 0%, rgba(242, 255, 214, 0) 70%), var(--tg-bg); padding-block: 56px 72px; overflow: hidden; }
.tg-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tg-lead { font-size: 19px; color: var(--tg-muted); max-width: 34em; margin-bottom: 26px; }
.tg-ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; }
.tg-ticks li { display: flex; gap: 10px; align-items: center; }
.tg-ticks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--tg-lime-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23001C51' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.tg-hero-visual { display: flex; flex-direction: column; gap: 18px; }
.tg-screen { background: var(--tg-space); border-radius: var(--tg-radius); padding: 14px 18px 18px; box-shadow: 0 24px 60px rgba(0, 28, 81, .25); color: #EEF2FF; }
.tg-screen-bar { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #A9B4DA; margin-bottom: 14px; }
.tg-screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2B3F86; }
.tg-screen-bar b { margin-left: 8px; font-weight: 600; }
.tg-race { display: flex; flex-direction: column; gap: 10px; background: radial-gradient(500px 200px at 90% 50%, #1D3A9A, transparent), #0E2160; border-radius: 14px; padding: 14px 16px; position: relative; overflow: hidden; }
.tg-race::after { content: ""; position: absolute; right: 18px; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(#fff 0 10px, #0B1A48 10px 20px); opacity: .8; }
.tg-lane { position: relative; height: 40px; border-bottom: 1px dashed rgba(169, 180, 218, .3); }
.tg-lane em { position: absolute; right: 36px; top: 10px; font-style: normal; font-size: 12px; color: #A9B4DA; }
.tg-rocket { position: absolute; left: 8%; top: 6px; width: 56px; height: 28px; transition: left .2s; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 28'%3E%3Cpath d='M2 14l12-5v10z' fill='%23FFB23C'/%3E%3Cpath d='M16 6l-6-5h8l6 5zM16 22l-6 5h8l6-5z' fill='%235C8A00'/%3E%3Cpath d='M54 14C46 3 30 4 14 6v16c16 2 32 3 40-8z' fill='%23B9F205'/%3E%3Ccircle cx='38' cy='14' r='5' fill='%230B1030'/%3E%3C/svg%3E") center/contain no-repeat; }
.tg-robot { position: absolute; left: 50%; top: 4px; width: 34px; height: 30px; border-radius: 9px; background: #5A6390; animation: tg-robot 7s linear infinite; }
.tg-robot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 8px; height: 9px; border-radius: 4px; background: #0B1030; box-shadow: inset 5px 0 0 -2px #FF6B4A, inset -5px 0 0 -2px #FF6B4A; }
@keyframes tg-robot { from { left: 8%; } to { left: 72%; } }
.tg-tape { margin: 14px 0 0; font-size: 22px; letter-spacing: .02em; background: #fff; color: #8A94B8; border-radius: 12px; padding: 10px 14px; min-height: 56px; }
.tg-tape .ok { color: var(--tg-green); }
.tg-tape .cur { background: var(--tg-blue); color: #fff; border-radius: 4px; padding: 0 1px; }
.tg-kbd { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); box-shadow: 0 10px 30px rgba(0, 28, 81, .08); }
.tg-krow { display: flex; gap: 6px; }
.tg-krow-1 { margin-left: 14px; } .tg-krow-2 { margin-left: 34px; }
.tg-key { width: clamp(24px, 3.4vw, 40px); height: clamp(24px, 3.4vw, 40px); border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: clamp(11px, 1.3vw, 15px); color: var(--tg-ink); box-shadow: 0 3px 0 var(--tg-key-shadow); position: relative; transition: transform .1s, box-shadow .1s; }
.tg-f-p { background: var(--tg-f-p); } .tg-f-r { background: var(--tg-f-r); } .tg-f-m { background: var(--tg-f-m); } .tg-f-i { background: var(--tg-f-i); }
.tg-space { width: clamp(150px, 22vw, 250px); background: var(--tg-f-t); font-size: 12px; font-weight: 600; }
.tg-bump::after { content: ""; position: absolute; bottom: 5px; width: 9px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.tg-key.on { transform: translateY(3px); box-shadow: 0 0 0 3px var(--tg-blue), 0 0 18px rgba(0, 93, 227, .5); }

/* secties */
.tg-section { padding-block: 84px; }
.tg-head { max-width: 760px; margin-bottom: 40px; }
.tg-head p { font-size: 18px; color: var(--tg-muted); }
.tg-why { padding-block: 0 84px; }
.tg-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tg-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tg-card { background: var(--tg-soft); border-radius: var(--tg-radius); padding: 26px; }
.tg-card p { color: var(--tg-muted); margin: 0; }
.tg-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tg-blue); color: #fff; font-family: var(--tg-display); font-weight: 700; font-size: 20px; margin-bottom: 14px; box-shadow: 0 4px 0 var(--tg-blue-dark); }

/* route */
.tg-route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: fase; position: relative; }
.tg-route::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--tg-lime) 0 14px, transparent 14px 24px); z-index: 0; }
.tg-route li { position: relative; z-index: 1; background: #fff; border: 2px solid var(--tg-line); border-radius: var(--tg-radius); padding: 20px 18px; counter-increment: fase; }
.tg-route li::before { content: counter(fase); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tg-space); color: #fff; font-family: var(--tg-display); font-weight: 700; font-size: 20px; margin-bottom: 12px; box-shadow: 0 0 0 6px #fff; }
.tg-route li.tg-route-end { border-color: var(--tg-lime); background: #F7FDE6; }
.tg-route li.tg-route-end::before { background: var(--tg-lime-bright); color: var(--tg-ink); }
.tg-phase { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tg-blue); }
.tg-route h3 { margin: 4px 0 6px; }
.tg-route p { font-size: 15px; color: var(--tg-muted); margin: 0; }
.tg-route b { color: var(--tg-ink); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }

/* spellen */
.tg-games { background: var(--tg-space); color: #EEF2FF; position: relative; overflow: hidden; }
.tg-games::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 10% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 30% 70%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 55% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 75% 80%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 15%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 45% 90%, #fff 50%, transparent 51%); opacity: .6; pointer-events: none; }
.tg-games .tg-wrap { position: relative; }
.tg-games h2, .tg-games h3 { color: #fff; }
.tg-games .tg-eyebrow { color: var(--tg-lime-bright); }
.tg-game { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--tg-radius); padding: 24px; }
.tg-game p { color: #B8C2E6; font-size: 15px; margin: 0; }
.tg-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; font-family: var(--tg-display); font-weight: 700; }
.tg-ico-key { background: #fff; color: var(--tg-ink); border-radius: 16px; font-size: 28px; box-shadow: 0 6px 0 #9FB3E0; }
.tg-ico-planet { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF8FC7, #8E2468); box-shadow: inset -10px -10px 0 rgba(0, 0, 0, .2); }
.tg-ico-meteor { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #A08470, #4A3D35); position: relative; }
.tg-ico-meteor::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: rgba(0, 0, 0, .25); left: 16px; top: 18px; box-shadow: 18px 14px 0 -3px rgba(0, 0, 0, .25); }
.tg-ico-final { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #DFFF6A, #6E9E00); color: var(--tg-ink); font-size: 15px; }
.tg-extra { margin: 32px 0 0; color: #B8C2E6; max-width: 60em; }
.tg-extra b { color: #fff; }

/* begeleiders */
.tg-coach { background: var(--tg-soft); }
.tg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tg-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tg-list li { padding-left: 34px; position: relative; color: var(--tg-muted); }
.tg-list li b { color: var(--tg-ink); }
.tg-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 7px; background: var(--tg-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.tg-dash { background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(0, 28, 81, .12); }
.tg-dash small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tg-muted); }
.tg-dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tg-dash-kpis div { background: var(--tg-soft); border-radius: 12px; padding: 10px 12px; }
.tg-dash-kpis b { font-family: var(--tg-display); font-size: 28px; }
.tg-dash-kpis i { font-style: normal; font-size: 14px; color: var(--tg-muted); }
.tg-dash-chart { background: var(--tg-soft); border-radius: 12px; padding: 12px; }
.tg-bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; margin-top: 10px; }
.tg-bars span { flex: 1; background: var(--tg-blue); border-radius: 4px 4px 0 0; }
.tg-bars span:last-child { background: var(--tg-lime); }
.tg-dash-att p { margin: 8px 0 0; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; background: var(--tg-soft); border-radius: 10px; padding: 8px 10px; }
.tg-pill { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.tg-pill-red { background: #FDE4E7; color: var(--tg-red); } .tg-pill-green { background: #DFF5E6; color: var(--tg-green); }

/* certificaat */
.tg-split-rev > :first-child { order: 0; }
.tg-cert-visual { display: grid; place-items: center; }
.tg-certificate { width: 100%; max-width: 520px; aspect-ratio: 1.414; background: #fff; border: 12px solid var(--tg-blue); outline: 4px solid var(--tg-lime-bright); outline-offset: -26px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 30px; box-shadow: 0 24px 60px rgba(0, 28, 81, .18); transform: rotate(-2deg); }
.tg-certificate img { width: 46%; }
.tg-certificate strong { font-family: var(--tg-display); font-size: clamp(28px, 4vw, 42px); line-height: 1; }
.tg-certificate small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--tg-lime-dark); }
.tg-cert-name { font-family: var(--tg-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 36px); color: var(--tg-blue); border-bottom: 4px solid var(--tg-lime-bright); padding: 0 16px; }
.tg-certificate span:not(.tg-cert-name) { font-size: 13px; font-weight: 600; }
.tg-certificate em { font-style: normal; font-size: 12px; color: var(--tg-muted); }
.tg-cert p { color: var(--tg-muted); }
.tg-cert p b { color: var(--tg-ink); }

/* faq */
.tg-faq { display: flex; flex-direction: column; gap: 10px; }
.tg-faq details { background: var(--tg-soft); border-radius: 16px; padding: 4px 20px; }
.tg-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.tg-faq summary::-webkit-details-marker { display: none; }
.tg-faq summary::after { content: "+"; font-family: var(--tg-display); font-size: 24px; line-height: 1; color: var(--tg-blue); }
.tg-faq details[open] summary::after { content: "–"; }
.tg-faq p { color: var(--tg-muted); }

/* cta */
.tg-cta { background: var(--tg-blue); color: #fff; padding-block: 56px; }
.tg-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.tg-cta h2 { color: #fff; margin-bottom: 6px; }
.tg-cta p { margin: 0; color: #DCE7FF; }
.tg-cta a:not(.tg-btn) { color: #fff; }

/* gewone pagina's */
.tg-page-head { background: var(--tg-soft); padding-block: 56px 40px; margin-bottom: 40px; }
.tg-page-head h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 0; }
.tg-content { max-width: 820px; padding-bottom: 80px; }
.tg-content h2 { font-size: 28px; margin-top: 1.4em; }
.tg-content h3 { margin-top: 1.2em; }
.tg-content ul, .tg-content ol { padding-left: 1.3em; }
.tg-content li { margin-bottom: .4em; }
.tg-content img { border-radius: 14px; }
.tg-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--tg-lime); background: var(--tg-soft); border-radius: 0 12px 12px 0; }
.tg-post { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--tg-line); }
.wp-block-button__link { background: var(--tg-blue); border-radius: 14px; font-weight: 700; }

/* voet */
.tg-footer { background: var(--tg-ink); color: #C9D2EE; padding-block: 56px 24px; font-size: 15px; }
.tg-footer-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.tg-footer-brand img { height: 44px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; box-sizing: content-box; }
.tg-footer-brand p { margin-top: 14px; max-width: 26em; }
.tg-footer h3 { color: #fff; font-size: 16px; font-family: var(--tg-body); margin-bottom: 12px; }
.tg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tg-footer a { color: #fff; text-decoration: none; }
.tg-footer a:hover { color: var(--tg-lime-bright); }
.tg-copy { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8E9BC4; }

/* responsive */
@media (max-width: 1040px) {
  .tg-menu-toggle { display: flex; }
  .tg-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--tg-line); flex-direction: column; align-items: stretch; gap: 12px; padding: 14px max(20px, env(safe-area-inset-left, 0px)) 20px; display: none; box-shadow: 0 20px 30px rgba(0, 28, 81, .08); }
  .tg-nav.open { display: flex; }
  .tg-menu { flex-direction: column; }
  .tg-menu a { padding: 12px; font-size: 17px; }
  .tg-nav-btns .tg-btn { flex: 1; padding: 13px; }
  .tg-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-route::before { display: none; }
  .tg-route li.tg-route-end { grid-column: 1 / -1; }
  .tg-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tg-hero-in, .tg-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tg-grid3 { grid-template-columns: minmax(0, 1fr); }
  .tg-footer-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tg-footer-brand { grid-column: 1 / -1; }
  .tg-section { padding-block: 64px; }
  .tg-why { padding-block: 0 64px; }
  .tg-cert-visual { order: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tg-logo img { height: 38px; }
  .tg-route, .tg-grid4 { grid-template-columns: minmax(0, 1fr); }
  .tg-hero { padding-block: 32px 48px; }
  .tg-hero .tg-btn-big { width: 100%; }
  .tg-krow-1 { margin-left: 8px; } .tg-krow-2 { margin-left: 18px; }
  .tg-key { border-radius: 6px; }
  .tg-dash-kpis b { font-size: 22px; }
  .tg-footer-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 782px) { .admin-bar .tg-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* blokkenwereld */
.tg-race-cv { display: block; width: 100%; height: 170px; border-radius: 12px; background: #6EC3FF; }
.tg-ico { border-radius: 12px !important; box-shadow: inset -6px -6px 0 rgba(0,0,0,.2), inset 5px 5px 0 rgba(255,255,255,.18), 0 6px 0 rgba(0,0,0,.15) !important; color: #fff; font-size: 20px; }
.tg-ico-key { color: var(--tg-ink); }
.tg-ico-planet { background: linear-gradient(180deg, #5DBB3A 0 32%, #8A5A34 32% 100%) !important; }
.tg-ico-meteor { background: linear-gradient(180deg, #8B5CFF 0 50%, #6A3FE0 50% 100%) !important; }
.tg-ico-meteor::after { display: none; }
.tg-ico-final { background: linear-gradient(180deg, #FFE27A 0 30%, #9AA2B4 30% 100%) !important; color: #101426 !important; font-size: 15px !important; }
