/* Over ons — kubuspagina in de stijl van desamenkomst.nl
   Lettertypes: Archivo (koppen), Plus Jakarta Sans (tekst)
   Kleuren: navy / goud / blauw / groen uit het logo */

:root {
  --navy: #28404d;
  --gold: #E3A829;
  --blue: #4FA8D6;
  --green: #8BC34A;
  --gold-t: #fdf3e1;
  --blue-t: #eaf5fb;
  --green-t: #f0f8e7;
  --bg: #ffffff;
  --ink: #20272b;
  --body: #5b6670;
  --muted: #6b7580;
  --line: #eee3d2;
  --r: 18px;

  --font-display: "Archivo", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --side-w: 238px;
  --top-h: 64px;
  --z-ui: 10;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: hidden; width: 100%; max-width: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); }
a { text-decoration: none; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }

/* ── ZIJBALK ── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--side-w);
  background: #fff; border-right: 1px solid var(--line);
  padding: 22px 14px; display: flex; flex-direction: column; gap: 7px;
  overflow-y: auto; z-index: 30;
}
.sidebar-logo { display: flex; align-items: center; padding: 4px 10px 26px; }
.sidebar-logo img { max-width: 100%; width: auto; height: auto; display: block; }
.sb-link {
  padding: 13px 12px; border-radius: 14px; font-weight: 600; font-size: 13px;
  display: flex; align-items: center; gap: 11px; color: var(--body);
  border-left: 3px solid transparent;
}
.sb-link:hover { background: #f1f2f4; color: var(--navy); }
.sb-link.active { background: #f1f2f4; color: var(--navy); font-weight: 700; }
.sb-link .icon-svg { width: 18px; height: 18px; stroke-width: 1.75; }
.sb-link.c-blue .icon-svg { color: #2f8ab8; }
.sb-link.c-gold .icon-svg { color: #c3901c; }
.sb-link.c-green .icon-svg { color: #5f8f2a; }
.sb-link.c-pink .icon-svg { color: #EC4899; }
.sb-link.c-red .icon-svg { color: #c23b56; }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sb-divider { height: 1px; background: var(--line); margin: 6px 10px 7px; }
.sb-toggle, .sb-close, .sb-backdrop { display: none; }

/* ── HOOFDDEEL + TOPBALK ── */
.main { margin-left: var(--side-w); min-width: 0; }
.topbar {
  position: fixed; top: 0; left: var(--side-w); right: 0; height: var(--top-h);
  background: #fff; border-bottom: 1px solid var(--line); z-index: 20;
}
.topbar-in { height: 100%; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.search {
  width: 100%; max-width: 380px; display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px 16px;
  color: var(--muted); font-size: 13px;
}
.search:focus-within { border-color: var(--gold); }
.search-go { display: flex; align-items: center; background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }
.search input { border: 0; background: transparent; outline: none; font: inherit; color: var(--ink); flex: 1; min-width: 0; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.btn-steun { background: var(--gold); color: #2b2206; font-weight: 800; font-size: 12.5px; padding: 9px 18px; border-radius: 20px; }
.btn-steun:hover { background: #efb83d; }

/* ── 3D-PODIUM (vast over het hoofddeel) ── */
.stage { position: fixed; top: var(--top-h); left: var(--side-w); right: 0; bottom: 0; pointer-events: none; z-index: 0; }
#scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; perspective: 1100px; }

#cube {
  --s: min(70vw, calc(100vh - 160px), 560px);
  width: var(--s); height: var(--s); position: relative;
  transform-style: preserve-3d; transform: rotateX(90deg) rotateY(0deg); will-change: transform;
}
.face {
  position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 6px;
  background: radial-gradient(circle at 32% 38%, var(--gold) 0 20%, transparent 20.4%),
              radial-gradient(circle at 68% 30%, var(--blue) 0 15%, transparent 15.4%),
              radial-gradient(circle at 58% 72%, var(--green) 0 17%, transparent 17.4%),
              linear-gradient(135deg, #28404d, #3d6579);
}
.face[data-face="front"]  { background: radial-gradient(circle at 70% 30%, var(--blue) 0 20%, transparent 20.4%), radial-gradient(circle at 28% 68%, var(--green) 0 15%, transparent 15.4%), radial-gradient(circle at 62% 74%, var(--gold) 0 17%, transparent 17.4%), linear-gradient(135deg, #28404d, #3d6579); }
.face[data-face="right"]  { background: radial-gradient(circle at 36% 62%, var(--green) 0 20%, transparent 20.4%), radial-gradient(circle at 72% 36%, var(--gold) 0 15%, transparent 15.4%), radial-gradient(circle at 30% 26%, var(--blue) 0 17%, transparent 17.4%), linear-gradient(135deg, #28404d, #3d6579); }
.face[data-face="back"]   { background: radial-gradient(circle at 30% 34%, var(--gold) 0 20%, transparent 20.4%), radial-gradient(circle at 66% 66%, var(--blue) 0 15%, transparent 15.4%), radial-gradient(circle at 72% 26%, var(--green) 0 17%, transparent 17.4%), linear-gradient(135deg, #28404d, #3d6579); }
.face[data-face="left"]   { background: radial-gradient(circle at 64% 64%, var(--blue) 0 20%, transparent 20.4%), radial-gradient(circle at 26% 30%, var(--green) 0 15%, transparent 15.4%), radial-gradient(circle at 70% 28%, var(--gold) 0 17%, transparent 17.4%), linear-gradient(135deg, #28404d, #3d6579); }
.face[data-face="bottom"] { background: radial-gradient(circle at 40% 40%, var(--green) 0 20%, transparent 20.4%), radial-gradient(circle at 74% 62%, var(--gold) 0 15%, transparent 15.4%), radial-gradient(circle at 26% 74%, var(--blue) 0 17%, transparent 17.4%), linear-gradient(135deg, #28404d, #3d6579); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.face[data-face="front"]  { transform: translateZ(calc(var(--s) / 2)); }
.face[data-face="back"]   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.face[data-face="right"]  { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.face[data-face="left"]   { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.face[data-face="top"]    { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.face[data-face="bottom"] { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }

/* ── HUD, PUNTJES, ONDERSCHRIFT ── */
#hud { position: absolute; top: 20px; right: 32px; z-index: var(--z-ui); text-align: right; font-size: .65rem; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.progress-bar { width: 7.5rem; height: 2px; background: var(--line); margin: .5rem 0 0 auto; position: relative; overflow: hidden; }
.progress-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0%; background: var(--gold); transition: width .1s linear; }
.scene-label { font-size: .6rem; color: #9c7212; font-weight: 700; margin-top: .4rem; }

#scene_strip { position: absolute; right: 36px; top: 50%; translate: 0 -50%; z-index: var(--z-ui); display: flex; flex-direction: column; gap: .75rem; pointer-events: auto; }
.scene-dot { position: relative; display: block; width: 6px; height: 6px; border-radius: 50%; background: #c9c3b6; transition: background .3s, scale .3s; cursor: pointer; }
.scene-dot::before { content: ""; position: absolute; inset: -.35rem; }
.scene-dot.active { background: var(--gold); scale: 1.6; }

#face_caption { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; z-index: var(--z-ui); text-align: center; user-select: none; }
#face_caption_num { font-size: .58rem; letter-spacing: .28em; color: #9c7212; font-weight: 700; margin-bottom: .15rem; }
#face_caption_name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.75rem); letter-spacing: .04em; color: var(--navy); opacity: .18; line-height: 1; text-transform: uppercase; }

.footer-note { position: fixed; right: 32px; bottom: 28px; z-index: var(--z-ui); font-size: 12.5px; color: var(--muted); }

/* ── TEKSTKAARTEN ── */
#scroll_container { position: relative; z-index: 1; padding-top: var(--top-h); }
section { min-height: 100vh; display: flex; align-items: center; padding: 6rem 5.5rem 6rem 4rem; }

.text-card {
  width: 25rem; max-width: 100%; height: min(35rem, calc(100vh - 11rem));
  display: flex; flex-direction: column; padding: 1.9rem 1.75rem 1.6rem; background: rgba(255,255,255,.94);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 12px 40px rgba(40,64,77,.12);
  backdrop-filter: blur(6px) saturate(120%); -webkit-backdrop-filter: blur(6px) saturate(120%);
  overflow: hidden;
}
.text-card.right { margin-inline-start: auto; }

.tag-chip { display: inline-block; background: var(--gold); color: #2b2206; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 5px 13px; border-radius: 4px; margin-bottom: 1rem; }
.tag { font-size: .65rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #9c7212; margin-bottom: 1rem; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; color: var(--navy); }
h1, h2 { font-size: clamp(1.5rem, 2.1vw, 1.75rem); }
.card-scroll {
  flex: 1; min-height: 0; overflow-y: auto; margin-top: 1rem; padding-right: .75rem;
  font-size: .875rem; line-height: 1.75; color: var(--body);
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent; overscroll-behavior: contain;
}
.card-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.card-scroll p { margin-bottom: .85rem; }
.card-scroll p:last-child { margin-bottom: 0; }
.card-scroll strong { color: var(--navy); }
.link-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-top: .25rem; }
.link-list li { display: flex; flex-direction: column; gap: .1rem; padding: .6rem .8rem; background: #f6f4ef; border-radius: 12px; }
.link-list span { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9c7212; }
.link-list a { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.link-list a:hover { color: #1f6ea1; }
.h-line { width: 3.125rem; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 1.1rem; transform-origin: left; }

.cta-row { display: flex; align-items: center; justify-content: flex-start; gap: .75rem; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cta, .cta-back {
  display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.3rem; border-radius: 999px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cta { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.cta:hover { background: #1f323d; }
.cta.gold { background: var(--gold); color: #2b2206; border-color: var(--gold); }
.cta.gold:hover { background: #efb83d; }
.cta-back { background: #fff; color: var(--body); border: 1px solid var(--line); }
.cta-back:hover { background: #f1f2f4; color: var(--navy); }
.cta svg, .cta-back svg { width: .7rem; height: .7rem; }
.cta-link { font-size: .78rem; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.cta-link:hover { color: #1f6ea1; }

/* ── INVLIEGEN ── */
:is(.tag, h1, h2, .card-scroll, .cta, .cta-back) { opacity: 0; translate: 0 .625rem; }
:is(h1, h2) { translate: 0 1.125rem; transition: opacity .5s ease .08s, translate .5s ease .08s; }
:is(.tag) { transition: opacity .5s ease, translate .5s ease; }
.card-scroll { transition: opacity .5s ease .2s, translate .5s ease .2s; }
:is(.cta, .cta-back) { transition: opacity .5s ease .35s, translate .5s ease .35s, background .2s, color .2s, border-color .2s; }
.h-line { opacity: 0; scale: 0 1; transition: opacity .4s ease, scale .4s ease; }
:is(.tag, h1, h2, .card-scroll, .cta, .cta-back).visible { opacity: 1; translate: 0 0; }
.h-line.visible { opacity: 1; scale: 1 1; }

@media (prefers-reduced-motion: reduce) {
  :is(.tag, h1, h2, .card-scroll, .cta, .cta-back, .h-line) { transition: none; opacity: 1; translate: 0 0; scale: 1 1; }
}

/* ── MOBIEL ── */
@media (width <= 56.25em) {
  .sidebar { z-index: 9001; width: 82vw; max-width: 300px; transform: translateX(-100%); transition: transform .25s ease; }
  .sidebar.open { transform: translateX(0); box-shadow: 0 10px 40px rgba(0,0,0,.3); }
  .sidebar-logo { padding: 8px 52px 22px 10px; }
  .sidebar-logo img { max-width: 160px; }
  .sb-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f3efe6; color: var(--navy); border: 0; cursor: pointer; position: absolute; top: 16px; right: 14px; }
  .sb-backdrop { display: block; position: fixed; inset: 0; background: rgba(10,15,20,.45); z-index: 9000; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .sb-backdrop.open { opacity: 1; pointer-events: auto; }
  .sb-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #f3efe6; color: var(--navy); border: 0; cursor: pointer; flex-shrink: 0; }
  .sb-toggle svg { width: 19px; height: 19px; }

  .main { margin-left: 0; }
  .topbar, .stage { left: 0; }
  .topbar-in { padding: 0 16px; gap: 10px; }
  .search { display: none; }
  .topbar-right { margin-left: auto; }
  #scene_strip, .footer-note { display: none; }
  #hud { top: 12px; right: 16px; }
  #face_caption { bottom: 12px; }

  section { min-height: 150vh; align-items: flex-end; padding: 0 1.25rem 3.5rem; }
  #s0 { min-height: 100vh; align-items: center; padding: 4rem 1.25rem; }
  .text-card, .text-card.right { width: 100%; height: min(30rem, 70vh); padding: 1.4rem 1.2rem 1.2rem; }
}


/* ── Zijbalk exact zoals homepage desamenkomst.nl (15-11-2026) ── */
#siteSidebar { --navy:#28404d; --green-t:#f0f8e7; --green:#8BC34A; --gold:#E3A829; --ink:#20272b; font-family:"Plus Jakarta Sans", sans-serif; }
#siteSidebar button, #siteSidebar input { font-family: inherit; }
.sidebar-logo { display: flex; align-items: center; padding: 4px 10px 26px; }
.sidebar-logo img { max-width: 100%; width: auto; height: auto; display: block; }
@media (max-width: 56.25em) {
  .sidebar-logo { padding: 8px 52px 22px 10px; }
  .sidebar-logo img { max-width: 160px; }
}
.sb-group { background: transparent; border-width: 0px 0px 0px 3px; border-style: none none none solid; border-color: currentcolor currentcolor currentcolor transparent; border-image: none; width: 100%; text-align: left; font-family: inherit; padding: 13px 12px; border-radius: 14px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 11px; cursor: pointer; color: rgb(91, 102, 112); }
.sb-group .chev { margin-left: auto; opacity: 0.5; transition: transform 0.25s; }
.sb-group.open .chev { transform: rotate(180deg); opacity: 0.8; }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sb-link { padding: 13px 12px; border-radius: 14px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 11px; color: rgb(91, 102, 112); border-left: 3px solid transparent; text-decoration: none; }
.sb-link.c-blue .icon-svg { color: rgb(47, 138, 184); }
.sb-link.c-gold .icon-svg { color: rgb(195, 144, 28); }
.sb-link.c-green .icon-svg { color: rgb(95, 143, 42); }
.sb-link.c-pink .icon-svg { color: rgb(236, 72, 153); }
.sb-link.c-red .icon-svg { color: rgb(194, 59, 86); }
.sb-group:hover { background: rgb(241, 242, 244); color: var(--navy); }
.sb-group.open { background: rgb(241, 242, 244); color: var(--navy); }
.sb-link:hover { background: rgb(241, 242, 244); color: var(--navy); }
.sb-link.active { background: rgb(241, 242, 244); color: var(--navy); font-weight: 700; }
.sb-group .icon-svg, .sb-link .icon-svg, .sb-sub-link .icon-svg { width: 18px; height: 18px; stroke-width: 1.75; flex-shrink: 0; }
.sb-sub { max-height: 0px; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.23, 1, 0.32, 1); display: flex; flex-direction: column; gap: 1px; }
.sb-sub.open { max-height: 420px; }
.sb-sub-link { padding: 10px 12px 10px 32px; border-radius: 12px; font-weight: 600; font-size: 12.5px; display: flex; align-items: center; gap: 10px; color: rgb(138, 149, 160); border-width: 0px 0px 0px 3px; border-style: none none none solid; border-color: currentcolor currentcolor currentcolor transparent; text-decoration: none; background: transparent; width: 100%; font-family: inherit; text-align: left; cursor: pointer; }
.sb-sub-link .icon-svg { width: 15px; height: 15px; }
.sb-sub-link:hover { background: rgb(241, 242, 244); color: var(--navy); }
.sb-sub-link.doneer { color: rgb(192, 81, 106); }
.sb-sub-link.doneer:hover { background: rgb(253, 238, 240); color: rgb(169, 61, 84); }
.sb-divider { height: 1px; background: rgb(238, 227, 210); margin: 6px 10px 7px; }
.sb-spacer { flex: 1 1 0%; }
.sb-meet { display: flex; align-items: center; gap: 9px; background: var(--green-t); border: 1px solid rgba(139, 195, 74, 0.3); color: rgb(74, 122, 31); padding: 11px 14px; border-radius: 16px; font-weight: 700; font-size: 12.5px; }
.sb-meet-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: rgba(139, 195, 74, 0.25) 0px 0px 0px 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; border: 0px; }
.sb-search { display: none; }
@media (max-width: 56.25em) {
  .sb-search { display: flex; align-items: center; gap: 9px; margin: 0px 6px 14px; background: rgb(255, 255, 255); border: 1px solid rgb(238, 227, 210); border-radius: 14px; padding: 11px 14px; color: rgb(154, 151, 143); }
  .sb-search:focus-within { border-color: var(--gold); }
  .sb-search input { border: 0px; background: transparent; outline: none; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 16px; color: var(--ink); flex: 1 1 0%; min-width: 0px; }
}
