@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2-variations'),
       url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:       #0a0a0a;
  --surface:  #111111;
  --surface2: #161616;
  --footer:   #070707;
  --text:     #ffffff;
  --muted:    rgba(255,255,255,0.58);
  --subtler:  rgba(255,255,255,0.35);
  --blue:     #2563eb;
  --blue2:    #1d4ed8;
  --purple:   #7c3aed;
  --discord:  #5865F2;
  --discord2: #4752d6;
  --border:   rgba(255,255,255,0.07);
  --borderhi: rgba(255,255,255,0.13);
  --card:     rgba(255,255,255,0.025);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 999;
  background: var(--blue); color: #fff;
  padding: 12px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.grad-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 55%, #f472b6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; border-radius: 9999px;
  border: none; cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .18s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 9999px;
  opacity: 0; transition: opacity .2s;
  background: rgba(255,255,255,0.07);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(37,99,235,0);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(37,99,235,.45); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: var(--discord2); box-shadow: 0 8px 32px rgba(88,101,242,.45); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--borderhi);
}
.btn-outline:hover { border-color: rgba(255,255,255,.28); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 12px 0;
  transition: background .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled,
.nav.solid {
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  padding: 8px 0;
}
.nav.scrolled .nav-logo img,
.nav.solid .nav-logo img { height: 88px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 110px; width: auto; }
.nav-logo-text { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 13.5px; font-weight: 400; color: var(--muted);
  padding: 7px 12px; border-radius: 7px;
  transition: color .15s, background .15s;
  position: relative;
}
.nav-links a.active,
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue);
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 9px 20px !important; font-size: 13px !important; border-radius: 8px !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: rgba(6,6,6,.97); backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 24px; font-weight: 600; color: var(--muted); padding: 13px 24px; transition: color .15s; }
.mobile-menu a:hover { color: #fff; }
.mobile-close { position: absolute; top: 22px; right: 26px; background: none; border: none; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; transition: color .15s; }
.mobile-close:hover { color: #fff; }

/* HERO (homepage) */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 140px 28px 120px; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  background: url('foto2.jpg') center center / cover no-repeat;
}
.hero-bg-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,.72) 0%, rgba(8,8,8,.55) 40%, rgba(8,8,8,.82) 100%);
}
.hero-dot-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 65% 50% at 50% 45%, rgba(37,99,235,.18) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .38em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px;
  opacity: 0; animation: fadeUp .6s .15s forwards;
}
.hero-title {
  font-size: clamp(76px, 14vw, 156px); font-weight: 900;
  line-height: .88; letter-spacing: -.05em; margin-bottom: 26px;
  opacity: 0; animation: fadeUp .7s .3s forwards;
}
.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px); font-weight: 300;
  color: rgba(255,255,255,.65); margin-bottom: 48px; letter-spacing: .01em;
  opacity: 0; animation: fadeUp .7s .5s forwards;
}
.hero-buttons {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .7s .65s forwards;
}
.hero-buttons .btn { padding: 15px 34px; font-size: 15px; }
.hero-scroll {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px; z-index: 2;
  opacity: 0; animation: fadeIn 1s 1.1s forwards;
}
.hero-scroll-text { font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollLine 2s 1.1s ease infinite;
}

/* PAGE HERO (subpages) */
.page-hero {
  position: relative; padding: 180px 28px 100px;
  text-align: center; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(37,99,235,.12) 0%, transparent 65%);
}
.page-hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(44px, 7vw, 78px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1; margin-bottom: 22px;
}
.page-hero p {
  font-size: clamp(15px, 1.6vw, 18px); font-weight: 300;
  color: var(--muted); line-height: 1.7; max-width: 580px; margin: 0 auto;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }

/* OVER ONS */
.section-over-ons { padding: 110px 0; background: var(--bg); }
.over-ons-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.over-ons-text p { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.78; max-width: 520px; margin-bottom: 14px; }
.over-ons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.img-wrap {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 4/3; cursor: pointer;
}
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.img-wrap:hover img { transform: scale(1.06); }
.img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%); opacity: 0; transition: opacity .3s; }
.img-wrap:hover .img-overlay { opacity: 1; }
.img-zoom-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.7);
  opacity: 0; transition: opacity .25s, transform .25s;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border-radius: 50%; padding: 12px; color: #fff;
}
.img-wrap:hover .img-zoom-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.img-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
}

/* WAARDEN BLOCKS */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.value-block { padding: 30px 28px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.value-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.value-block p { font-size: 13.5px; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* FUNCTIES */
.section-functies { padding: 110px 0; background: var(--surface); position: relative; }
.functies-header { text-align: center; margin-bottom: 64px; }
.functies-header h2 { font-size: clamp(28px,4vw,44px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
.functies-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 30px;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.feature-card:hover {
  border-color: rgba(37,99,235,.4);
  background: rgba(37,99,235,.05);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(37,99,235,.15);
}
.feature-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.2);
  color: #60a5fa;
}
.feature-icon-wrap svg { width: 22px; height: 22px; }
.feature-title { font-size: 15.5px; font-weight: 600; margin-bottom: 10px; }
.feature-desc { font-size: 13.5px; font-weight: 300; color: var(--muted); line-height: 1.72; }

/* FUNCTIES uitgebreid */
.feature-block {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 70px; align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.feature-block:first-of-type { border-top: none; }
.feature-block.reverse { grid-template-columns: 1.2fr 1fr; }
.feature-block.reverse .feature-block-visual { order: 2; }
.feature-block-visual {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 4/3; position: relative;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.06));
}
.feature-block-visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-block-icon {
  position: absolute; top: 18px; left: 18px;
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,.72); backdrop-filter: blur(10px);
  border: 1px solid var(--borderhi); color: #60a5fa;
}
.feature-block-icon svg { width: 22px; height: 22px; }
.feature-block-text .eyebrow { color: var(--blue); margin-bottom: 14px; }
.feature-block-text h3 {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.15; margin-bottom: 18px;
}
.feature-block-text p {
  font-size: 15px; font-weight: 300; color: var(--muted);
  line-height: 1.78; margin-bottom: 14px;
}
.feature-block-text ul { list-style: none; padding: 0; margin-top: 18px; }
.feature-block-text li {
  font-size: 14px; font-weight: 300; color: var(--muted);
  padding: 8px 0 8px 26px; position: relative; line-height: 1.6;
}
.feature-block-text li::before {
  content: ''; position: absolute; left: 4px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}

/* DISCORD CTA */
.section-discord { padding: 110px 0; background: var(--bg); text-align: center; position: relative; overflow: hidden; }
.discord-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(88,101,242,.1) 0%, transparent 70%); }
.discord-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(88,101,242,.08); pointer-events: none; }
.discord-ring-2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 750px; height: 750px; border-radius: 50%; border: 1px solid rgba(88,101,242,.04); pointer-events: none; }
.section-discord .container { position: relative; z-index: 1; }
.discord-title { font-size: clamp(28px,4vw,44px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 20px; }
.discord-body { font-size: 16px; font-weight: 300; color: var(--muted); max-width: 520px; margin: 0 auto 40px; line-height: 1.75; }
.discord-btn { padding: 17px 44px !important; font-size: 16px !important; }

/* REGELS */
.section-regels { padding: 80px 0 120px; background: var(--bg); }
.regels-toc {
  position: sticky; top: 90px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 24px;
}
.regels-toc h4 { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.regels-toc-details > summary { list-style: none; cursor: default; }
.regels-toc-details > summary::-webkit-details-marker { display: none; }
.regels-toc-details > summary::marker { display: none; }
.regels-toc ul { list-style: none; padding: 0; }
.regels-toc li { margin: 0; }
.regels-toc a {
  display: block; font-size: 13px; color: var(--muted);
  padding: 7px 10px; border-radius: 7px; line-height: 1.4;
  transition: color .15s, background .15s;
}
.regels-toc a:hover { color: #fff; background: rgba(255,255,255,.04); }

.regels-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }

.rule-section { margin-bottom: 56px; }
.rule-section h2 {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 8px;
  scroll-margin-top: 100px;
}
.rule-section h2 .num { color: var(--blue); font-weight: 800; margin-right: 14px; }
.rule-section .section-lead {
  font-size: 14px; font-weight: 300; color: var(--subtler);
  margin-bottom: 22px; line-height: 1.7;
}
.rule-list { display: flex; flex-direction: column; gap: 10px; }
.rule-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 0 18px;
  transition: border-color .2s, transform .2s;
}
.rule-item:hover { border-color: var(--borderhi); transform: translateX(2px); }
.rule-id {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--blue); padding-top: 1px;
}
.rule-text { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.78); line-height: 1.7; }
.rule-text strong { color: #fff; font-weight: 600; }

.rule-callout {
  border-left: 3px solid var(--blue); padding: 18px 22px;
  background: rgba(37,99,235,.06); border-radius: 0 10px 10px 0;
  margin-top: 18px;
}
.rule-callout p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* FOOTER */
.footer { background: var(--footer); border-top: 1px solid var(--border); padding: 52px 0 32px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo img { height: 84px; width: auto; }
.footer-logo-text { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.footer-tagline { font-size: 12.5px; font-weight: 300; color: rgba(255,255,255,.3); max-width: 220px; line-height: 1.6; }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,.38);
  padding: 6px 10px; border-radius: 7px;
  transition: color .15s, background .15s;
}
.footer-links a:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); backdrop-filter: blur(20px); align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 40px 120px rgba(0,0,0,.8); animation: lbIn .25s cubic-bezier(.22,1,.36,1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lightbox-close:hover { background: rgba(255,255,255,.18); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: none; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; backdrop-filter: blur(8px); }
.lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: .1em; }

.back-to-top {
  position: fixed; bottom: 32px; right: 28px; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--borderhi);
  color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .15s, color .15s;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .over-ons-inner { grid-template-columns: 1fr; gap: 52px; }
  .functies-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .feature-block.reverse .feature-block-visual { order: 0; }
  .regels-layout { grid-template-columns: 1fr; gap: 32px; }
  .regels-toc { position: static; }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(68px, 18vw, 100px); }
  .functies-grid { grid-template-columns: 1fr; }
  .over-ons-grid { grid-template-columns: 1fr 1fr; }
  .section-over-ons, .section-functies, .section-discord, .section-regels { padding: 80px 0; }
  .footer-top { flex-direction: column; }
  .lightbox-nav { display: none; }
  .page-hero { padding: 140px 24px 70px; }
  .nav-logo img { height: 70px; }
  .nav.scrolled .nav-logo img,
  .nav.solid .nav-logo img { height: 56px; }
  .nav-logo-text { display: none; }
  .nav-cta { padding: 8px 14px !important; font-size: 12px !important; }
  .footer-logo img { height: 64px; }
}

.toc-mobile-toggle { display: none; }
@media (max-width: 960px) {
  .regels-toc { padding: 0; border: none; background: transparent; }
  .regels-toc-details {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
  }
  .regels-toc-details summary {
    list-style: none; cursor: pointer;
    padding: 16px 22px;
    font-size: 13px; font-weight: 600;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--blue);
    display: flex; align-items: center; justify-content: space-between;
  }
  .regels-toc-details summary::-webkit-details-marker { display: none; }
  .regels-toc-details summary::after {
    content: '+'; font-size: 22px; color: var(--muted); font-weight: 300;
    transition: transform .2s;
  }
  .regels-toc-details[open] summary::after { transform: rotate(45deg); }
  .regels-toc-details .toc-list { padding: 4px 14px 16px; }
  .regels-toc-details ul { list-style: none; padding: 0; }
  .regels-toc h4 { display: none; }
}

.step-list { display: flex; flex-direction: column; gap: 12px; }
.step-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 22px;
  transition: border-color .2s, transform .2s;
}
.step-item:hover { border-color: var(--borderhi); transform: translateX(2px); }
.step-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.step-text { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.78); line-height: 1.7; padding-top: 6px; }
.step-text strong { color: #fff; font-weight: 600; }

kbd {
  display: inline-block; padding: 1px 7px; margin: 0 1px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--borderhi);
  border-bottom-width: 2px; border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: #fff; font-weight: 500; line-height: 1.5;
  vertical-align: baseline;
}

.code-list {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 22px;
  display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px;
  margin: 0;
}
.code-list dt {
  color: var(--blue); font-weight: 600; font-size: 13px;
  letter-spacing: .02em; padding-top: 1px;
}
.code-list dd {
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 300;
  margin: 0; line-height: 1.5;
}

.info-callout {
  padding: 20px 24px;
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(37,99,235,0.22);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  margin: 0 0 14px;
}
.info-callout p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.85); font-weight: 300; }
.info-callout p:last-child { margin-bottom: 0; }
.info-callout strong { color: #fff; }

@media (max-width: 640px) {
  .code-list { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .code-list dt { padding-top: 14px; }
  .code-list dt:first-child { padding-top: 0; }
  .step-item { padding: 16px 18px; gap: 14px; }
}
