/* ==========================================================================
   ESNL - openbare website
   Donker, krachtige schuine koppen (Barlow Condensed Italic), schuine knoppen,
   gloeiende oranje strepen. Oranje #ff6600 als merkkleur.
   ========================================================================== */
@font-face { font-family: 'ESNL Display'; font-style: italic; font-weight: 600; font-display: block; src: url('../fonts/BarlowCondensed-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'ESNL Display'; font-style: italic; font-weight: 700; font-display: block; src: url('../fonts/BarlowCondensed-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'ESNL Display'; font-style: italic; font-weight: 800; font-display: block; src: url('../fonts/BarlowCondensed-800-italic.woff2') format('woff2'); }
@font-face { font-family: 'ESNL Display'; font-style: italic; font-weight: 900; font-display: block; src: url('../fonts/BarlowCondensed-900-italic.woff2') format('woff2'); }

:root, :root[data-theme="dark"], :root[data-theme="light"] {
    color-scheme: dark;
    --display: 'ESNL Display', 'Arial Narrow', 'Inter', sans-serif;
    --bg: #0b0c0f;
    --bg-2: #0e1013;
    --surface: #121418;
    --surface-2: #171a1f;
    --surface-3: #1e2229;
    --line: rgba(255, 255, 255, .07);
    --line-2: rgba(255, 255, 255, .13);
    --text: #f3f4f6;
    --text-2: #a9b0bb;
    --muted: #6f7782;
    --accent-ink: #ff7a1f;
    --accent-soft: rgba(255, 102, 0, .14);
    --shadow-sm: none;
    --shadow: 0 24px 60px rgba(0, 0, 0, .6);
    --focus: 0 0 0 3px rgba(255, 102, 0, .45);
    --cut: 12px;
    --ease: cubic-bezier(.33, 1, .68, 1);
    --ease-soft: cubic-bezier(.45, 0, .25, 1);
}

body.site { font-size: 17px; background: var(--bg); color: var(--text); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 500; background: var(--accent); color: #fff; padding: .5rem .8rem; }
.skip:focus { left: 8px; }
.site a { color: var(--text); }

/* ---------- Typografie ---------- */
.site h1, .site h2, .site h3, .site h4 {
    font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
    letter-spacing: -.005em; line-height: .95; color: var(--text);
}
.kicker {
    display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
    font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1rem;
    text-transform: uppercase; letter-spacing: .03em; color: var(--accent);
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--accent); }
.kicker-center { justify-content: center; }
.accent { color: var(--accent) !important; }

/* Leeslink */
.more { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; color: var(--text); text-decoration: none !important; transition: color .2s ease; }
.more::after { content: '→'; color: var(--accent); font-style: normal; transition: transform .2s var(--ease); }
.more:hover { color: var(--accent-ink) !important; }
.more:hover::after { transform: translateX(4px); }

/* ---------- Knoppen: schuin afgesneden ---------- */
.site .btn {
    height: 48px; padding: 0 1.9rem; border: 0; border-radius: 0;
    clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
    font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.12rem;
    text-transform: uppercase; letter-spacing: .02em; box-shadow: none !important;
    transition: background-color .15s ease, color .15s ease, transform .15s var(--ease);
}
.site .btn:hover { transform: translateY(-1px); }
.site .btn .ic { width: 18px; height: 18px; }
.site .btn-primary { background: var(--accent); color: #120a04 !important; }
.site .btn-primary:hover { background: #ff7d26; }
.site .btn-dark, .site .btn-ghost, .site .btn-on-dark { background: #1b1e24; color: var(--text) !important; }
.site .btn-dark:hover, .site .btn-ghost:hover, .site .btn-on-dark:hover { background: #252932; }
.site .btn-discord { background: #5865f2; color: #fff !important; }
.site .btn-discord:hover { background: #4752e0; }
.site .btn-sm { height: 40px; padding: 0 1.3rem; font-size: 1rem; --cut: 10px; }
.site .btn-lg { height: 56px; padding: 0 2.2rem; font-size: 1.25rem; --cut: 14px; }

/* ---------- Topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(11, 12, 15, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand .logo { height: 22px; width: auto; }
.mainnav { margin: 0 auto; height: 100%; }
.mainnav ul { display: flex; align-items: stretch; gap: 2rem; list-style: none; margin: 0; padding: 0; height: 100%; }
.mainnav li { display: flex; }
.mainnav a { position: relative; display: flex; align-items: center; color: var(--text-2) !important; font-size: .95rem; font-weight: 500; text-decoration: none !important; transition: color .15s ease; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--text) !important; }
.mainnav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 1.2rem; }
.topbar-link { background: none; border: 0; padding: 0; color: var(--text); font-size: .95rem; font-weight: 600; }
.topbar-link:hover { color: var(--accent-ink); }
.topbar .icon-btn { border-color: var(--line-2); color: var(--text); }
.nav-toggle, .nav-mobile-only { display: none !important; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-open { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }

/* ---------- Strepen op de achtergrond ---------- */
.stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.stripes i { position: absolute; top: -15%; height: 130%; transform: skewX(-24deg); overflow: hidden; }
.stripes i:nth-child(1) { left: 50%; width: 160px; background: linear-gradient(180deg, transparent, rgba(255, 102, 0, .07) 35%, transparent 85%); }
.stripes i:nth-child(2) { left: 70%; width: 38px; background: linear-gradient(180deg, transparent 5%, rgba(255, 102, 0, .55) 35%, rgba(255, 102, 0, .25) 75%, transparent 95%); }
.stripes i:nth-child(3) { left: 77%; width: 16px; background: linear-gradient(180deg, transparent, rgba(255, 102, 0, .9) 20%, rgba(255, 102, 0, .6) 65%, transparent 92%); box-shadow: 0 0 46px rgba(255, 102, 0, .4); }
.stripes i:nth-child(4) { left: 86%; width: 200px; background: linear-gradient(180deg, transparent, rgba(255, 102, 0, .06) 40%, transparent 90%); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 55% 70% at 78% 45%, rgba(255, 102, 0, .10), transparent 70%), linear-gradient(180deg, #0d0e12, #0b0c0f); }
.hero-photo::before { background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 12, 15, .85) 45%, rgba(11, 12, 15, .45) 100%), var(--hero) center / cover no-repeat; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 4rem; align-items: center; min-height: min(86vh, 800px); padding-top: 88px; padding-bottom: 96px; }
.tag { display: inline-block; margin-bottom: 1.8rem; padding: .45rem 1rem; background: #1a1d23; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    font-family: var(--display); font-style: italic; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
.hero-title { display: grid; font-size: clamp(3.4rem, 7.4vw, 7.2rem) !important; font-weight: 900 !important; line-height: .88 !important; }
.hero-title span { display: block; }
.striping { width: 190px; height: 10px; margin-top: 1.9rem; background: repeating-linear-gradient(115deg, var(--accent) 0 12px, #20242b 12px 24px); }
.striping-center { margin: 0 auto 2rem; }
.hero-lead { margin-top: 1.7rem; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--text-2); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.hero-actions-center { justify-content: center; }

/* ---------- Live-blok (vervangt de statuspagina) ---------- */
.live { position: relative; padding: 1.6rem 1.6rem 1.3rem; background: rgba(18, 20, 24, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); scroll-margin-top: 100px; }
.live::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: repeating-linear-gradient(115deg, var(--accent) 0 12px, #20242b 12px 24px); }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.live-title { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
.live-state { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-style: italic; font-weight: 700; font-size: .95rem; text-transform: uppercase; color: var(--text-2); }
.live-state .pulse { width: 8px; height: 8px; }
.live-players { display: flex; align-items: baseline; gap: .7rem; margin: 1.1rem 0 1rem; }
.live-players strong { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 4.4rem; line-height: .85; font-variant-numeric: tabular-nums; }
.live-players small { font-size: 1.7rem; color: var(--muted); font-weight: 800; margin-left: .15rem; }
.live-players > span { color: var(--text-2); font-size: .92rem; }
.live-services { list-style: none; margin: 0; padding: 0; }
.live-services li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: .9rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.live-emblem { display: grid; place-items: center; color: var(--muted); transition: color .6s var(--ease); }
.live-emblem .emblem { width: 26px; height: 26px; filter: none; color: inherit; }
.live-emblem .emblem-img { opacity: .45; transition: opacity .6s var(--ease); }
.live-services li.is-active .emblem-img { opacity: 1; }
@media (max-width: 640px) { .cookiebar-actions .btn { flex: 1 1 100%; } }
.live-emblem .emblem-img { max-height: 26px; }
.live-name { font-weight: 600; font-size: .95rem; color: var(--text-2); transition: color .6s var(--ease); }
.live-count { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; transition: color .6s var(--ease); }
.live-services li.is-active .live-emblem { color: #fff; }
.live-services li.is-active .live-name { color: var(--text); }
.live-services li.is-active .live-count { color: var(--accent); }
.live-note { margin: .4rem 0 0; padding: .7rem .9rem; border-left: 2px solid var(--warn); background: rgba(242, 194, 48, .07); font-size: .88rem; color: var(--text); }
.live-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.live-foot b { color: var(--text-2); font-weight: 600; }


/* ---------- Secties ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 64px 0 120px; }
.section-alt { background: var(--bg-2); }
.section-line { border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 3.5rem; }
.sec-head h2 { font-size: clamp(2.8rem, 6vw, 5rem); }
.sec-head p:not(.kicker) { margin-top: 1.3rem; font-size: 1.12rem; color: var(--text-2); line-height: 1.65; max-width: 62ch; }
.sec-head-side { margin-bottom: 0; }
.sec-head-side .more { margin-top: 1.6rem; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
.prose-lg { display: grid; gap: 1.3rem; font-size: 1.12rem; color: var(--text-2); line-height: 1.75; }
.row-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Diensten: embleem per dienst, merkkleuren ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; text-decoration: none !important; color: var(--text) !important; transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.service::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.service:hover { transform: translateY(-6px); border-color: rgba(255, 102, 0, .35); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.service:hover::after { width: 100%; }
.service-top { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse 70% 75% at 50% 110%, rgba(255, 102, 0, .16), transparent 70%), #14171c; background-size: cover; background-position: center; }
.service-top::before { content: ''; position: absolute; top: -30%; bottom: -30%; right: 14%; width: 14px; z-index: -1; transform: skewX(-24deg); background: rgba(255, 102, 0, .35); box-shadow: 26px 0 0 -3px rgba(255, 102, 0, .12); transition: transform .6s var(--ease), opacity .4s ease; opacity: .6; }
.service:hover .service-top::before { transform: skewX(-24deg) translateX(-30px); opacity: 1; }
.service-top.has-img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 12, 15, .85), rgba(11, 12, 15, .35)); }
.emblem { width: 78px; height: 78px; color: #fff; filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.emblem-img { width: auto; max-width: 70%; max-height: 96px; object-fit: contain; }
.service:hover .emblem { transform: translateY(-4px) scale(1.08); }
.service-name { padding: 1.4rem 1.5rem 0; font-size: 2rem !important; line-height: .92 !important; }
.service-body { display: flex; flex-direction: column; gap: .8rem; flex: 1; padding: .7rem 1.5rem 1.6rem; }
.service-tag { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; color: var(--accent); }
.service-body > p:not(.service-tag) { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.service ul { list-style: none; padding: .9rem 0 0; margin: 0; display: grid; gap: .45rem; border-top: 1px solid var(--line); }
.service li { display: flex; gap: .6rem; align-items: baseline; font-size: .9rem; color: var(--text); }
.service li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--accent); transform: skewX(-20deg) translateY(-2px); }
.service .more { margin-top: auto; padding-top: .6rem; }
.service:hover .more { color: var(--accent-ink) !important; }
.service:hover .more::after { transform: translateX(4px); }

/* ---------- Zo werkt het ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flow li { position: relative; padding: 1.8rem 1.6rem 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.flow li::before { content: ''; position: absolute; left: 0; top: 0; width: 56px; height: 3px; background: var(--accent); }
.flow-no { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 5rem; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 102, 0, .85); margin-bottom: 1.4rem; }
.flow h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.flow p { color: var(--text-2); font-size: .95rem; line-height: 1.6; }

/* ---------- Kenmerken ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 1.8rem 1.7rem 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s ease; }
.feature:hover { border-color: rgba(255, 102, 0, .4); }
.feature-no { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.05rem; color: var(--accent); margin-bottom: 1rem; }
.feature h3 { font-size: 1.65rem; margin-bottom: .6rem; }
.feature p { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.specs div { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.specs dt { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.specs dd { margin: .4rem 0 0; color: var(--text-2); font-size: .97rem; line-height: 1.6; }

/* ---------- Afsluiter ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 60% at 50% 45%, rgba(255, 102, 0, .16), transparent 70%); }
.cta-in { text-align: center; padding-top: 140px; padding-bottom: 140px; }
.cta h2 { font-size: clamp(3rem, 8vw, 6.6rem); font-weight: 900; }
.cta p:not(.kicker) { margin: 1.6rem auto 0; max-width: 52ch; color: var(--text-2); font-size: 1.12rem; line-height: 1.6; }
.cta .cta-stats { font-size: .98rem !important; color: var(--muted) !important; }
.cta-stats strong { color: var(--text); }
.cta .hero-actions { margin-top: 2.4rem; }
/* oude community-band (Over-pagina) */
.community { border-top: 1px solid var(--line); }
.community-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-top: 96px; padding-bottom: 96px; }
.community h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.community p { margin-top: 1rem; max-width: 54ch; line-height: 1.65; color: var(--text-2); }
.community-stats { color: var(--muted) !important; }

/* ---------- Paginakop (overige pagina's) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 110px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 100% at 85% 0%, rgba(255, 102, 0, .12), transparent 70%); }
.page-hero::after { content: ''; position: absolute; top: -20%; bottom: -20%; right: 12%; width: 22px; z-index: -1; transform: skewX(-24deg);
    background: linear-gradient(180deg, transparent, rgba(255, 102, 0, .85) 30%, rgba(255, 102, 0, .4) 80%, transparent);
    box-shadow: 70px 0 0 18px rgba(255, 102, 0, .06), -110px 0 0 30px rgba(255, 102, 0, .04); }
.page-hero .wrap::before { content: ''; display: block; width: 26px; height: 2px; background: var(--accent); margin-bottom: 1.6rem; }
.page-hero-sm { padding: 88px 0 56px; }
.page-hero h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); font-weight: 900; max-width: 14ch; }
.page-lead { margin-top: 1.4rem; font-size: 1.15rem; color: var(--text-2); max-width: 58ch; line-height: 1.6; }
.page-meta { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.error-hero { padding: 160px 0; }
.error-hero .page-meta { margin: 0 0 .8rem; }
.error-hero .row-actions { margin-top: 2.2rem; }

/* ---------- Zoeken ---------- */
.search { position: relative; display: flex; align-items: center; }
.search > .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 46px; padding: 0 .9rem 0 2.6rem; border-radius: 4px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.search-lg { max-width: 640px; margin-top: 2.4rem; }
.search-lg input { height: 58px; font-size: 1.05rem; padding-left: 3.1rem; }
.search-lg > .ic { left: 19px; width: 20px; height: 20px; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; max-height: 420px; overflow: auto; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: var(--shadow); padding: .4rem; }
.search-results a { display: block; padding: .75rem .85rem; border-radius: 3px; color: var(--text); text-decoration: none !important; }
.search-results a:hover, .search-results a.is-active { background: var(--surface-3); }
.search-results small { display: block; font-size: .8rem; color: var(--muted); }
.search-results strong { display: block; font-size: .98rem; }
.search-results span { display: block; font-size: .87rem; color: var(--muted); line-height: 1.45; margin-top: .15rem; }
.search-results mark { background: var(--accent-soft); color: var(--accent-ink); }
.search-results .none { padding: .8rem; color: var(--muted); font-size: .92rem; }

/* ---------- Handboek overzicht ---------- */
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chapter { position: relative; padding: 1.8rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s ease; }
.chapter::before { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: var(--accent); }
.chapter:hover { border-color: var(--line-2); }
.chapter h2 { display: flex; align-items: baseline; gap: .7rem; font-size: 1.75rem; margin-bottom: 1.2rem; }
.chapter-no { color: var(--accent); font-size: 1.1rem; }
.chapter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.chapter a { display: block; color: var(--text); text-decoration: none !important; }
.chapter a span { font-weight: 600; transition: color .15s ease; }
.chapter a:hover span { color: var(--accent-ink); }
.chapter small { display: block; font-size: .9rem; color: var(--muted); line-height: 1.5; margin-top: .2rem; }

/* ---------- Handboek pagina ---------- */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 3.5rem; padding-top: 56px; padding-bottom: 120px; align-items: start; }
.docs-side, .docs-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
.docs-side .search { margin-bottom: 1.4rem; }
.side-group { padding: .15rem 0; }
.side-group summary { display: flex; align-items: center; justify-content: space-between; padding: .55rem 0; list-style: none; cursor: pointer; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; color: var(--text); }
.side-group summary::-webkit-details-marker { display: none; }
.side-group summary .ic { width: 15px; height: 15px; color: var(--muted); transition: transform .2s var(--ease); }
.side-group[open] summary .ic { transform: rotate(180deg); }
.side-group ul { list-style: none; margin: 0 0 .6rem; padding: 0; border-left: 1px solid var(--line); }
.side-group a { display: block; padding: .35rem 0 .35rem .9rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2) !important; font-size: .92rem; text-decoration: none !important; line-height: 1.45; }
.side-group a:hover { color: var(--text) !important; }
.side-group a[aria-current="page"] { color: var(--accent-ink) !important; border-left-color: var(--accent); font-weight: 600; }
.docs-side-toggle { display: none; }
.crumbs { display: flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs .ic { width: 13px; height: 13px; }
.crumbs a { color: var(--muted) !important; }
.crumbs a:hover { color: var(--text) !important; }
.docs-main h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 900; }
.doc-lead { margin-top: 1rem; font-size: 1.15rem; color: var(--text-2); line-height: 1.6; }
.doc-updated { margin-top: 3rem; font-size: .88rem; color: var(--muted); }
.toc-title { font-family: var(--display); font-style: italic; font-weight: 700; font-size: .95rem; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.docs-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.docs-toc a { display: block; padding: .3rem 0 .3rem .9rem; margin-left: -1px; border-left: 2px solid transparent; font-size: .88rem; color: var(--muted) !important; text-decoration: none !important; }
.docs-toc a:hover, .docs-toc a.is-active { color: var(--text) !important; }
.docs-toc a.is-active { border-left-color: var(--accent); }
.docs-toc .lvl-3 a { padding-left: 1.6rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2.4rem; }
.pager a { display: grid; gap: .25rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text); text-decoration: none !important; transition: border-color .2s ease; }
.pager a:hover { border-color: rgba(255, 102, 0, .45); }
.pager small { font-size: .85rem; color: var(--muted); }
.pager span { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.pager-next { text-align: right; grid-column: 2; }

/* ---------- Leestekst ---------- */
.prose { margin-top: 2rem; font-size: 1.04rem; line-height: 1.8; color: var(--text-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 3rem; font-size: 2.1rem; scroll-margin-top: 100px; }
.prose h3 { margin-top: 2.2rem; font-size: 1.5rem; scroll-margin-top: 100px; }
.prose h2 + *, .prose h3 + * { margin-top: .8rem; }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .45rem; }
.prose li::marker { color: var(--accent); }
.prose code { font-family: var(--mono); font-size: .87em; padding: .12em .4em; border-radius: 3px; background: var(--surface-3); border: 1px solid var(--line); color: var(--text); }
.prose a { color: var(--text) !important; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-ink) !important; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
.prose .table-wrap { border-radius: 4px; border-color: var(--line); background: var(--surface); }
.prose th { background: transparent; border-bottom: 1px solid var(--line-2); text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--text); font-weight: 650; }
.prose td { border-color: var(--line); }
.prose .callout { border-radius: 4px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--info); padding: 1rem 1.2rem; }
.prose .callout::before { display: none; }
.prose .callout-tip { border-left-color: var(--ok); }
.prose .callout-warn { border-left-color: var(--accent); }

/* ---------- Documenten (regels, juridisch) ---------- */
.document { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 5rem; padding-top: 64px; padding-bottom: 120px; align-items: start; }
.doc-toc { position: sticky; top: 100px; }
.doc-toc ol, .doc-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc-toc a { display: flex; gap: .7rem; padding: .42rem 0 .42rem .9rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2) !important; font-size: .94rem; text-decoration: none !important; }
.doc-toc a span { color: var(--muted); font-variant-numeric: tabular-nums; min-width: .9rem; }
.doc-toc a:hover { color: var(--text) !important; }
.doc-toc a[aria-current="page"], .doc-toc a.is-active { color: var(--text) !important; border-left-color: var(--accent); font-weight: 600; }
.toc-print { margin-top: 1.4rem; font-size: .88rem; color: var(--muted) !important; text-decoration: underline; text-underline-offset: 3px; }
.doc-body { max-width: 780px; }
.doc-body > .doc-lead { margin: 0 0 1.4rem; }
.doc-body .prose { margin-top: 0; }
.doc-note { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-2); }
.doc-note .linklike { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; color: var(--text); }
.rule-section { padding-bottom: 3.2rem; margin-bottom: 3.2rem; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.rule-section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.rule-section h2 { font-size: 2.6rem; }
.rule-cat-no { color: var(--accent); }
.rule-lead { margin-top: .6rem; color: var(--muted); }
.rule-section .prose { margin-top: 1.4rem; }
ol.rules { list-style: none; padding: 0; margin: 0; }
ol.rules li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .4rem; padding: 1rem 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
ol.rules li + li { margin-top: 0; }
ol.rules li:target { background: var(--accent-soft); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.rule-no { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.15rem; color: var(--accent) !important; text-decoration: none !important; }
.rule-no:hover { color: var(--accent-ink) !important; }

/* ---------- Status ---------- */
.status-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.stat { position: relative; display: grid; gap: .8rem; align-content: start; padding: 1.5rem 1.5rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 3px; background: var(--accent); }
.stat-label { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1rem; text-transform: uppercase; color: var(--text-2); }
.stat-value { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 3.4rem; line-height: .9; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-text, .stat-state .stat-value { font-size: 1.9rem; font-weight: 800; text-transform: uppercase; }
.status-note { margin-top: 1.2rem; padding: 1rem 1.2rem; border: 1px solid rgba(242, 194, 48, .25); border-left: 3px solid var(--warn); border-radius: 4px; background: rgba(242, 194, 48, .06); color: var(--text); }
.status-checked { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.status-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 4rem; }
.status-info > div { display: grid; gap: 1rem; align-content: start; padding: 1.8rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.status-info h2 { font-size: 1.8rem; }
.status-info p { color: var(--text-2); font-size: .97rem; line-height: 1.6; }
.status-info .btn { justify-self: start; }
.legend { display: grid; gap: .8rem; margin: 0; }
.legend dt { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; }
.legend dd { margin: .1rem 0 0 1.2rem; color: var(--muted); font-size: .9rem; }
.pulse { background: rgba(255, 255, 255, .3); }
.pulse-online { background: var(--ok); }
.pulse-maintenance { background: var(--warn); }
.pulse-offline { background: var(--bad); }

/* ---------- Team ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.team li { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.team img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.team strong { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; color: var(--text); }
.team span { display: block; color: var(--muted); font-size: .92rem; margin-top: .25rem; }

/* ---------- Popups ---------- */
.modal-backdrop { background: rgba(0, 0, 0, .75); }
.modal-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 40px 100px rgba(0, 0, 0, .8); }
.modal-card::before { border-radius: 0; }
.modal-card h2 { font-size: 2.1rem; }
.modal-close { color: var(--text-2); }
.modal-discord .eyebrow, .modal-cookies .eyebrow { display: none; }
.discord-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 4px; background: #5865f2; color: #fff; margin-bottom: 1.3rem; }
.discord-mark .ic { width: 26px; height: 26px; }
.discord-stats { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 1rem 0 0; font-size: .93rem; color: var(--text-2); }
.discord-stats li { display: flex; align-items: center; gap: .45rem; }
.discord-stats strong { color: var(--text); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot-online { background: var(--ok); }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 32px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .logo { width: 180px; height: auto; margin-bottom: 1.3rem; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 38ch; line-height: 1.65; }
.footer h2 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer a, .footer .linklike { color: var(--text-2) !important; font-size: .94rem; }
.footer a:hover, .footer .linklike:hover { color: var(--accent-ink) !important; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }

/* ---------- Cookiebanner ---------- */
.cookiebar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; justify-content: center; pointer-events: none; }
.cookiebar-in { pointer-events: auto; display: flex; align-items: center; gap: 1.6rem; width: min(980px, 100%); padding: 1.1rem 1.2rem 1.1rem 1.5rem; border-radius: 4px; background: rgba(18, 20, 24, .97); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); box-shadow: 0 24px 60px rgba(0, 0, 0, .7); animation: barIn .45s var(--ease); }
@keyframes barIn { from { opacity: 0; transform: translateY(16px); } }
.cookiebar-text strong { display: block; margin-bottom: .2rem; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }
.cookiebar-text p { font-size: .9rem; color: var(--text-2); line-height: 1.5; }
.cookiebar-text a { color: var(--text) !important; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cookiebar-actions { display: flex; gap: .4rem; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.consent-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; }
.consent-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.consent-list p { font-size: .88rem; color: var(--muted); margin-top: .15rem; }

/* ==========================================================================
   Animaties: alleen transform en opacity (soepel, via de GPU), lange zachte
   uitloop (--ease = easeOutQuint). Uit bij 'minder beweging' en in screenshots (.static).
   ========================================================================== */
@keyframes haUp { 0% { opacity: 0; transform: translate3d(0, 28px, 0); } 100% { opacity: 1; transform: none; } }
@keyframes fadeSoft { from { opacity: 0; } to { opacity: 1; } }
@keyframes stripesIn { from { opacity: 0; transform: translate3d(80px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes sweep { from { transform: translate3d(0, -100%, 0); } to { transform: translate3d(0, 600%, 0); } }

/* Hero komt rustig binnen, pas als het lettertype er is */
.js:not(.static) .ha { opacity: 0; }
.js.fonts-ready:not(.static) .ha { animation: haUp 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 50ms); }
.js.fonts-ready:not(.static) .striping.ha { transform-origin: left; animation: haUp 1.1s var(--ease) both, grow 1.3s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 50ms); }
.js.fonts-ready:not(.static) .stripes { animation: stripesIn 1.8s var(--ease) both; }

/* Eén zachte lichtflits die af en toe over de felle streep glijdt */
.stripes i:nth-child(3)::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 16%; will-change: transform;
    background: linear-gradient(180deg, transparent, rgba(255, 238, 225, .7), transparent);
    animation: sweep 9s cubic-bezier(.65, 0, .35, 1) 1.5s infinite; }

/* Paginakoppen */
.js:not(.static) .page-hero .wrap > * { opacity: 0; }
.js.fonts-ready:not(.static) .page-hero .wrap > * { animation: haUp 1.1s var(--ease) both; }
.js.fonts-ready:not(.static) .page-hero .wrap > :nth-child(2) { animation-delay: .12s; }
.js.fonts-ready:not(.static) .page-hero .wrap > :nth-child(n+3) { animation-delay: .24s; }
.js.fonts-ready:not(.static) .page-hero .wrap::before { transform-origin: left; animation: grow 1.2s var(--ease) .1s both; }

/* Kopstreepje groeit als een sectie in beeld komt */
.js:not(.static) .reveal .kicker::before { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .3s; }
.js .reveal.is-in .kicker::before { transform: none; }
.js:not(.static) .reveal .striping { transform: scaleX(0); transform-origin: center; transition: transform 1.2s var(--ease) .2s; }
.js .reveal.is-in .striping { transform: none; }

/* Knop-glans */
.site .btn { position: relative; overflow: hidden; }
.site .btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: translate3d(-160%, 0, 0) skewX(-22deg); transition: transform .9s var(--ease); }
.site .btn:hover::after { transform: translate3d(330%, 0, 0) skewX(-22deg); }
.site .btn { transition: background-color .4s var(--ease), transform .5s var(--ease); }

/* Kaarten: zacht optillen */
.service, .flow li, .feature, .chapter, .team li, .pager a { transition: transform .7s var(--ease), border-color .5s ease; }
.service:hover, .flow li:hover, .feature:hover, .chapter:hover, .team li:hover { transform: translate3d(0, -5px, 0); border-color: rgba(255, 102, 0, .35); box-shadow: none; }
.flow li::before, .chapter::before { transform-origin: left; transition: transform .8s var(--ease); }
.flow li::before { width: 100%; transform: scaleX(.14); }
.chapter::before { width: 100%; transform: scaleX(.12); }
.flow li:hover::before, .chapter:hover::before { transform: none; }
.service::after { width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.service:hover::after { transform: none; }
.flow-no { transition: color .6s var(--ease); }
.flow li:hover .flow-no { color: var(--accent); }

/* Topbar: alleen achtergrond, geen hoogteverandering */
.topbar { transition: background-color .5s ease, box-shadow .5s ease; }
.topbar.is-scrolled { background: rgba(11, 12, 15, .95); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.mainnav a:not([aria-current="page"])::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255, 255, 255, .35); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.mainnav a:not([aria-current="page"]):hover::after { transform: scaleX(1); }


/* ---------- Verschijnen bij scrollen ---------- */
.js:not(.static) .reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.notfound::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 55% 70% at 80% 40%, rgba(255, 102, 0, .10), transparent 70%); }
.notfound-in { min-height: min(72vh, 680px); display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 96px; }
.notfound-code { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(7rem, 20vw, 15rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255, 102, 0, .85); margin-bottom: 1.2rem; }
.notfound h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }
.notfound .striping { margin-top: 1.6rem; }
.notfound .page-lead { margin-top: 1.5rem; }

/* ---------- Onderhoud / beta ---------- */
.gate-page { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.gate-page::before { content: ''; position: fixed; inset: 0; z-index: -2; background: radial-gradient(ellipse 55% 70% at 75% 40%, rgba(255, 102, 0, .12), transparent 70%), var(--bg); }
.gate-page .stripes { position: fixed; }
.gate { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; max-width: 1200px; margin: 0 auto; padding: 64px 32px; }
.gate-logo { width: 200px; height: auto; margin-bottom: 3.2rem; }
.gate h1 { font-size: clamp(3.4rem, 9vw, 7.4rem); font-weight: 900; line-height: .88; max-width: 10ch; }
.gate .striping { margin-top: 1.8rem; }
.gate-lead { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.65; color: var(--text-2); }
.gate-foot { padding: 0 32px 28px; max-width: 1200px; width: 100%; margin: 0 auto; font-size: .85rem; color: var(--muted); }
.gate-foot a { color: var(--muted) !important; }
.gate-foot a:hover { color: var(--text) !important; }

/* ---------- Staffbalk (site staat niet live) ---------- */
.preview-bar { position: relative; z-index: 120; display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .55rem 20px; background: var(--accent); color: #120a04; font-size: .88rem; text-align: center; }
.preview-bar strong { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1rem; }
.preview-bar a { color: #120a04 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .services, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features, .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; min-height: 0; }
    .live { max-width: 520px; }
    .docs { grid-template-columns: 220px minmax(0, 1fr); }
    .docs-toc { display: none; }
    .mainnav ul { gap: 1.4rem; }
}
@media (max-width: 900px) {
    .nav-toggle { display: inline-grid !important; }
    .topbar-link { display: none; }
    .nav-mobile-only { display: flex !important; }
    .mainnav { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; height: auto; margin: 0; padding: 1rem 20px 2rem; background: var(--bg); overflow: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .25s; }
    .nav-open .mainnav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease); }
    .mainnav ul { flex-direction: column; gap: 0; height: auto; }
    .mainnav a, .nav-discord { width: 100%; padding: 1rem 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.8rem; text-transform: uppercase; color: var(--text) !important; border-bottom: 1px solid var(--line); }
    .mainnav a[aria-current="page"] { color: var(--accent) !important; }
    .mainnav a[aria-current="page"]::after { display: none; }
    .nav-discord { border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
    .topbar-actions { margin-left: auto; gap: .6rem; }
    .stripes i:nth-child(1), .stripes i:nth-child(4) { display: none; }
    .stripes i:nth-child(2) { left: 74%; } .stripes i:nth-child(3) { left: 84%; }
    .split { grid-template-columns: 1fr; gap: 2rem; }
    .specs { grid-template-columns: 1fr; }
    .status-info { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .docs { grid-template-columns: 1fr; gap: 1rem; }
    .docs-side { position: fixed; inset: 72px 0 0 0; z-index: 90; max-height: none; padding: 1rem 20px; background: var(--bg); transform: translateX(-100%); transition: transform .3s var(--ease); }
    .docs-side.is-open { transform: none; }
    .docs-side-toggle { display: inline-flex; margin-bottom: 1rem; }
    .document { grid-template-columns: 1fr; gap: 2.5rem; }
    .doc-toc { position: static; }
    .cookiebar-in { flex-direction: column; align-items: stretch; gap: 1rem; }
    .cookiebar-actions .btn { flex: 1; }
}
@media (max-width: 640px) {
    .wrap { padding-left: 20px; padding-right: 20px; }
    .section { padding: 80px 0; }
    .hero-grid { padding-top: 56px; padding-bottom: 64px; }
    .live-players strong { font-size: 3.6rem; }
    .hero-actions .btn { flex: 1 1 auto; }
    .btn-connect-top { display: none; }
    .services, .flow, .features, .chapters { grid-template-columns: 1fr; }
    .status-tiles { grid-template-columns: 1fr 1fr; }
    .status-tiles .stat-state { grid-column: 1 / -1; }
    .cta-in { padding-top: 96px; padding-bottom: 96px; }
    .footer-grid { grid-template-columns: 1fr; }
    .pager { grid-template-columns: 1fr; }
    .pager-next { grid-column: 1; text-align: left; }
}

@media print {
    .topbar, .footer, .cookiebar, .doc-toc, .modal, .stripes { display: none !important; }
    .document { display: block; padding: 0; }
    .page-hero::before, .page-hero::after, .page-hero .wrap::before { display: none; }
    body.site { background: #fff; color: #000; }
    .site h1, .site h2, .site h3, .prose, .prose strong { color: #000 !important; }
}

/* ================================================================ Shop (zelfde kaarten, strepen en knoppen) */
.shop-hero h1 { max-width: 12ch; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.shop-who { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.shop-who img { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); }
.shop-who small { display: block; font-size: .78rem; color: var(--muted); }
.shop-who strong { display: block; font-size: .98rem; line-height: 1.2; }
.shop-who form { margin-left: .4rem; }
.shop-who .linklike { font-size: .88rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.shop-who-hint { font-size: .9rem; }
.shop-links { display: flex; align-items: center; gap: 1.6rem; }
.shop-links a { color: var(--text-2) !important; font-size: .95rem; font-weight: 500; text-decoration: none !important; transition: color .3s ease; }
.shop-links a:hover, .shop-links a[aria-current="page"] { color: var(--text) !important; }
.shop-cart-link { display: inline-flex; align-items: center; gap: .5rem; }
.shop-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 .4rem; background: var(--accent); color: #120a04; font-family: var(--display); font-style: italic; font-weight: 900; font-size: .95rem; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); transition: transform .5s var(--ease); }
.shop-count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.shop-alert { margin-top: 1.2rem; padding: .9rem 1.1rem; border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--surface); font-size: .95rem; color: var(--text-2); }
.shop-alert.wrap { display: block; }
.shop-alert-warn { border-left-color: var(--warn); }
.shop-wrap { padding-top: 48px; padding-bottom: 120px; }
.shop-notice { margin-bottom: 2rem; padding: 1rem 1.2rem; background: var(--accent-soft); border-left: 3px solid var(--accent); color: var(--text); }
.shop-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.shop-filter button { height: 38px; padding: 0 1.1rem; border: 0; background: #1b1e24; color: var(--text-2); font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1rem; text-transform: uppercase; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background-color .4s var(--ease), color .4s var(--ease); }
.shop-filter button:hover { color: var(--text); background: #252932; }
.shop-filter button.is-active { background: var(--accent); color: #120a04; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .7s var(--ease), border-color .5s ease, box-shadow .7s var(--ease); }
.product::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.product:hover { transform: translate3d(0, -5px, 0); border-color: rgba(255, 102, 0, .35); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.product:hover::after { transform: none; }
.product[hidden] { display: none; }
.product-top { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(255, 102, 0, .16), transparent 70%), #0f1114; text-decoration: none !important; }
.product-top::before { content: ''; position: absolute; top: -30%; bottom: -30%; right: 14%; width: 14px; z-index: -1; transform: skewX(-24deg); background: linear-gradient(180deg, transparent, rgba(255, 102, 0, .55), transparent); opacity: .6; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.product:hover .product-top::before { transform: skewX(-24deg) translateX(-30px); opacity: 1; }
.product-top img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product:hover .product-top img { transform: scale(1.05); }
.product-mark { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); transition: transform .6s var(--ease), -webkit-text-stroke-color .6s ease; }
.product:hover .product-mark { transform: translateY(-4px) scale(1.06); -webkit-text-stroke-color: var(--accent); }
.product-badge { position: absolute; top: 14px; left: 14px; padding: .3rem .8rem; background: var(--accent); color: #120a04; font-family: var(--display); font-style: italic; font-weight: 800; font-size: .9rem; text-transform: uppercase; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.product-body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.3rem 1.5rem 1.5rem; }
.product-name { font-size: 2rem !important; line-height: .95 !important; }
.product-name a { color: var(--text) !important; text-decoration: none !important; }
.product-sum { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.product ul, .shop-gets { list-style: none; padding: .9rem 0 0; margin: 0; display: grid; gap: .45rem; border-top: 1px solid var(--line); }
.product li, .shop-gets li { display: flex; gap: .6rem; align-items: baseline; font-size: .9rem; color: var(--text); }
.product li::before, .shop-gets li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--accent); transform: skewX(-20deg) translateY(-2px); }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.price { display: flex; align-items: baseline; gap: .6rem; }
.price strong { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-buy { flex-wrap: wrap; row-gap: .8rem; }
.price-sale { font-family: var(--display); font-style: italic; font-weight: 800; font-size: .9rem; text-transform: uppercase; color: var(--accent); }
.btn.is-added { background: var(--ok) !important; }
.shop-empty { padding: 4rem 2rem; text-align: center; border: 1px dashed var(--line-2); border-radius: 4px; }
.shop-empty h2 { font-size: 2.4rem; }
.shop-empty p { margin: 1rem auto 1.4rem; max-width: 46ch; color: var(--text-2); }
.shop-flow { margin-top: 5rem; }
.shop-flow a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.shop-legal { margin-top: 2.4rem; font-size: .88rem; color: var(--muted); }
.shop-legal a { color: var(--text-2) !important; text-decoration: underline; text-underline-offset: 3px; }

.shop-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; padding-top: 48px; padding-bottom: 120px; align-items: start; }
.shop-detail-img { width: 100%; border-radius: 4px; border: 1px solid var(--line); margin-bottom: 1rem; }
.shop-detail-main .prose { margin-top: 0; }
.shop-detail-side { position: sticky; top: 100px; }
.shop-detail-side .live-title { margin-bottom: .4rem; }
.shop-side-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); line-height: 1.55; }
.crumbs span { color: var(--muted); }

.shop-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; padding-top: 48px; padding-bottom: 120px; align-items: start; }
.shop-cart > .shop-alert { grid-column: 1 / -1; margin-top: 0; }
.cart-lines { display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px 34px; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; transition: opacity .4s ease, transform .5s var(--ease); }
.cart-line.is-busy { opacity: .5; }
.cart-info a { color: var(--text) !important; text-decoration: none !important; }
.cart-info strong { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.cart-info small { display: block; margin-top: .2rem; color: var(--muted); font-size: .85rem; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 3px; }
.cart-qty button { width: 34px; height: 34px; border: 0; background: none; color: var(--text); font-size: 1.1rem; }
.cart-qty button:hover { color: var(--accent); }
.cart-qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.cart-price { text-align: right; font-variant-numeric: tabular-nums; }
.cart-remove { width: 34px; height: 34px; border: 0; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; }
.cart-remove:hover { color: var(--bad); }
.cart-sum { position: sticky; top: 100px; display: grid; gap: 1rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .4rem; }
.cart-total strong { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 2.2rem; line-height: 1; }
.cart-sum .shop-side-note { margin-top: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--text-2); line-height: 1.5; }
.consent input { margin-top: .2rem; accent-color: var(--accent); flex: none; }
.consent a { color: var(--text) !important; text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: var(--bad); font-size: .9rem; }

.shop-orders { display: grid; gap: 16px; padding-top: 48px; padding-bottom: 120px; }
.order { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.order header { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.order header small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.order header strong { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.3rem; }
.order-status { margin-left: auto; padding: .35rem .9rem; font-family: var(--display); font-style: italic; font-weight: 800; font-size: .95rem; text-transform: uppercase; background: #1b1e24; color: var(--text-2); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: background-color .6s var(--ease), color .6s var(--ease); }
.order-status.st-paid { background: rgba(242, 194, 48, .16); color: var(--warn); }
.order-status.st-delivered { background: rgba(46, 204, 113, .16); color: var(--ok); }
.order-status.st-refunded, .order-status.st-chargeback, .order-status.st-failed, .order-status.st-dispute { background: rgba(230, 60, 60, .15); color: var(--bad); }
.order-items { list-style: none; margin: 0; padding: 1rem 1.4rem 0; display: grid; gap: .3rem; font-weight: 600; }
.order-dl { list-style: none; margin: 0; padding: .8rem 1.4rem 1.2rem; display: grid; gap: .45rem; }
.order-dl li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--text-2); }
.order-dl em { font-style: normal; color: var(--muted); }
.order-dl .dl-done em { color: var(--ok); }
.order-dl .dl-failed em { color: var(--bad); }
.order > .muted { padding: .8rem 1.4rem 1.2rem; }

/* Live bijgewerkt (juridische pagina's, regels, handboek) */
.live-updated { display: inline-flex; align-items: center; gap: .5rem; }
.live-updated.flash { animation: liveFlash 2.4s var(--ease); }
@keyframes liveFlash { 0%, 30% { color: var(--accent); } 100% { color: var(--muted); } }

@media (max-width: 1080px) {
    .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-detail, .shop-cart { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .shop-detail-side, .cart-sum { position: static; }
}
@media (max-width: 640px) {
    .products { grid-template-columns: minmax(0, 1fr); }
    .shop-bar { flex-direction: column; align-items: flex-start; }
    .shop-links { gap: 1.1rem; flex-wrap: wrap; }
    .cart-line { grid-template-columns: minmax(0, 1fr) auto; }
    .cart-price { text-align: left; }
    .order header { gap: 1rem; }
    .order-status { margin-left: 0; }
    .shop-wrap, .shop-orders, .shop-cart, .shop-detail { padding-bottom: 80px; }
}

/* Shop: e-mailverificatie / inlogcode */
.shop-verify { padding-top: 48px; padding-bottom: 120px; }
.verify-card { max-width: 460px; display: grid; gap: 1.2rem; }
.verify-form { display: grid; gap: 1rem; }
.verify-code { height: 60px; font-family: var(--mono, Consolas, monospace); font-size: 1.9rem; letter-spacing: .45em; text-align: center; }
.verify-msg { padding: .8rem 1rem; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--text); font-size: .93rem; }
.verify-alt { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.verify-alt .linklike, .verify-cancel .linklike { font-size: .9rem; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.verify-alt .linklike:hover, .verify-cancel .linklike:hover { color: var(--accent-ink); }
.shop-side-note a { color: var(--text-2) !important; text-decoration: underline; }
.shop-mail { font-size: .85rem; color: var(--muted); }
.shop-mail a { color: var(--text-2) !important; text-decoration: underline; text-underline-offset: 3px; }
