/* ========= THEME (vanilla CSS vars) ========= */
:root {
  --primary: #ffc107;
  --primary-hover: #e0a900;
  --grad-from: #ffc107;
  --grad-to: #ffecb3;
  --btn-text: #1c1d20;
  --text: #ffffff;            /* Text-primary */
  --muted: #a0a0a0;           /* Text-secondary */
  --border: #2a2b2f;          /* subtle border on dark */
  --soft: #f4f4f4;            /* Background-light */
  --bg: #1c1d20;              /* Background-dark */
  --bg-alt: #242527;          /* Alternative background */
  --card: #ffffff;            /* light card */
}

* { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { height: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ======= Header ======= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  backdrop-filter: saturate(180%) blur(6px);
  background: rgba(28,29,32,1);
  border-bottom: 1px solid var(--border);
}
body {
  padding-top: 66px;
}
.nav { display: none; gap: 24px; color: var(--muted); }
.nav a { text-decoration: none; color: inherit; }
.nav a:hover { opacity: .95; color: #ffffff; }
.brand { display:flex; align-items:center; gap:12px; }
.logo { width:36px; height:36px; border-radius:12px; display:grid; place-items:center; color:#fff; font-weight:700; background: var(--primary); }
.header-row { display:flex; align-items:center; justify-content:space-between; padding:8px 0; gap:12px; }
.header-row .brand { flex-shrink:0; }
.header-row .nav { flex:1; }
.header-row .lang-switcher { flex-shrink:0; }
.header-row .mobile-menu-toggle { flex-shrink:0; }
.header-row .header-cta { flex-shrink:0; }
.header-cta { display:none; gap:8px; }
.header-cta .btn-primary {
  padding: 10px 16px;
}
.mobile-menu-toggle { display:none; }
.mobile-nav { 
  display:none; 
  background: rgba(28,29,32,0.95); 
  backdrop-filter: saturate(180%) blur(6px);
  position: relative;
  z-index: 1;
}
.mobile-nav.open { display:block !important; }
.mobile-nav a { text-decoration: none; color: var(--text); padding:8px 0; display:block; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .btn-primary { color: #0f172a !important; text-align: center; }
.lang-switcher { display:flex; gap:8px; align-items:center; }
.lang-switcher-btn { background:none; border:none; color:var(--text); cursor:pointer; padding:4px 8px; font-size:14px; opacity:0.7; transition:opacity 0.2s, font-weight 0.2s; }
.lang-switcher-btn:hover { opacity:1; }
.lang-switcher-btn.active { opacity:1; font-weight:600; }

select, input, button { font: inherit; }

/* ======= Hero ======= */
.hero { padding: 48px 0; position: relative; background-image: image-set(url('images/Teamspirit.webp') type('image/webp') 1x); background-size: cover; background-position: 70% center; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,29,32,.92) 0%, rgba(28,29,32,.82) 34%, rgba(28,29,32,.55) 64%, rgba(28,29,32,0) 100%); }
.hero > .container { position: relative; z-index: 1; }
.grid-2 { display:grid; gap: 40px; grid-template-columns: 1fr; }
.h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; line-height: 1.15; color:#ffffff; }
.gradient-text { background: linear-gradient(90deg, var(--grad-from), var(--grad-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.highlight { color: var(--primary); }
.badges { display:none; }
.badge { display:none; }

/* ======= Cards & sections ======= */
.section { padding:56px 0; }
.section.border { border-top:1px solid var(--border); background: var(--bg); color: var(--text); }
.section.soft { background: var(--soft); color: #1c1d20; }
#benefits .h2 { color: var(--text); }
.section-header { text-align:center; max-width: 720px; margin: 0 auto; }
.kicker { display:inline-block; margin-bottom:6px; color:#64748b; text-transform:uppercase; letter-spacing:.12em; font-size:12px; }
.section.border .kicker { color: var(--muted); }
.h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; }
.sub { margin-top:8px; color: var(--muted); }

.cards { display:grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.card { background: var(--card); border:1px solid var(--border); border-radius:16px; padding:20px; box-shadow: 0 1px 2px rgba(2,6,23,.06); }
.section.border .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--text); }
.section.border .card .muted { color: var(--muted); }

/* Benefits section with new layout */
#benefits {
  background: var(--bg-alt);
}

#voor-wie {
  background: var(--bg);
}

#voor-wie .benefits-text h2,
#voor-wie .benefits-text h3,
#voor-wie .benefits-text p {
  color: var(--text);
}

#testfase .benefits-text h2,
#testfase .benefits-text p {
  color: var(--text);
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.benefits-text .h2 {
  color: var(--text);
  margin-bottom: 16px;
}

.benefits-text .kicker {
  color: var(--muted);
}

.benefits-text li {
  color: var(--text);
}

.benefits-text li i {
  margin-right: 8px;
  color: var(--primary);
}

@media (min-width: 768px) {
  .benefits-content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.icon-chip { display:inline-flex; width:36px; height:36px; border-radius:12px; align-items:center; justify-content:center; background:transparent; color:var(--text); margin-bottom: 12px; }
.section.border .icon-chip { color: var(--text); }
.icon { width:20px; height:20px; fill: currentColor; }

/* ======= Form ======= */
.form { background:#fff; border:1px solid var(--border); border-radius: 16px; padding:16px; box-shadow: 0 1px 2px rgba(2,6,23,.06); }
.form .row { display:grid; grid-template-columns: 1fr; gap: 12px; }
.label { display:block; margin-bottom:6px; font-size:12px; color:#64748b; font-weight:500; }
.input, .select { width:100%; padding:10px 12px; border:1px solid #cbd5e1; border-radius: 12px; font-size:14px; outline:none; }
.input:focus, .select:focus { box-shadow: 0 0 0 3px rgba(15,23,42,.1); }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 16px; border-radius:12px; border:1px solid transparent; font-weight:600; font-size:14px; cursor:pointer; text-decoration:none; }
.btn-primary { background: var(--primary); color: var(--btn-text); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: #fff; border-color: var(--border); color:#0f172a; }
.btn[disabled] { background:#cbd5e1; color:#1e293b; cursor:not-allowed; }

.pills { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-start; margin-top: 16px; }
.pill { border-radius:999px; padding:8px 14px; font-size:14px; background:#e2e8f0; color:#334155; border:1px solid #e2e8f0; cursor:pointer; }
.pill.active { background: var(--primary); color: var(--btn-text); border-color: transparent; }

/* ======= Roadmap ======= */
.progress-wrap { max-width:720px; margin: 16px auto 0; }
.progress-scale { display:flex; justify-content:space-between; color:#334155; font-size:14px; }
.progress { height:12px; background:#e2e8f0; border-radius:999px; margin-top:10px; overflow:hidden; }
.progress > div { height:100%; background: var(--primary); width:10%; }

/* ======= Sports marquee ======= */
.sports-marquee { position:relative; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background: rgba(244,244,244,0.8); overflow:hidden; }
.sports-marquee::before, .sports-marquee::after { content:""; position:absolute; top:0; bottom:0; width:56px; pointer-events:none; }
.sports-marquee::before { left:0; background: linear-gradient(90deg, var(--soft) 0%, rgba(244,244,244,0) 100%); }
.sports-marquee::after { right:0; background: linear-gradient(270deg, var(--soft) 0%, rgba(244,244,244,0) 100%); }
.sports-track { display:flex; width:fit-content; color: #1c1d20; }
.sports-seq { display:flex; white-space:nowrap; animation: marquee 60s linear infinite; }
.sports-seq + .sports-seq { margin-left:32px; }
.sport { position:relative; padding:8px 20px; font-size:12px; }
.sport::after { content:" \2013"; /* en dash */ opacity:.6; margin-left:20px; }
.sport:last-child::after { content:" \2013"; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
/* Pause on hover (desktop) */
.sports-marquee:hover .sports-seq { animation-play-state: running; }
/* Reduced motion: show statisch */
@media (prefers-reduced-motion: reduce) {
  .sports-seq { animation: none !important; }
}

/* ======= FAQ ======= */
.faq { max-width:720px; margin: 16px auto 0; border:1px solid var(--border); background: var(--soft); border-radius:16px; overflow:hidden; }
.faq-item { border-top:1px solid var(--border); }
.faq-item:first-child { border-top:0; }
.faq-btn { width:100%; background:none; border:0; text-align:left; padding:16px; display:flex; justify-content:space-between; align-items:center; font-weight:600; cursor:pointer; }
.faq-body { display:none; padding: 0 16px 16px; color: var(--muted); }
.faq-item.open .faq-body { display:block; }

/* ======= Footer ======= */
.footer { border-top: 1px solid var(--border); background: var(--bg); padding: 24px 0; font-size:14px; }
.foot-row { display:flex; flex-direction:column; gap:16px; align-items:center; justify-content:space-between; }
.foot-links { display:flex; gap:20px; color: var(--muted); }
.foot-links a { color: inherit; text-decoration:none; }

/* ======= Sticky CTA (mobiel) ======= */
.stickybar { position: fixed; left:0; right:0; bottom:12px; z-index:40; padding:0 16px; }
.sticky-inner { max-width: 420px; margin: 0 auto; border:none; background:transparent; border-radius:0; padding:0; box-shadow: none; display:flex; gap:0; }

/* ======= Modal ======= */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); display:none; align-items:center; justify-content:center; padding:12px; z-index: 50; }
.overlay.open { display:flex; }
.modal { background:#fff; border:1px solid var(--border); border-radius:16px; padding:24px; width:100%; max-width: 520px; box-shadow: 0 12px 30px rgba(2,6,23,.25); }

/* ======= Responsive ======= */
@media (max-width: 639px) {
  .mobile-menu-toggle { display:block !important; }
  .mobile-nav.open { display:block !important; }
  .lang-switcher:not(.mobile-nav .lang-switcher) { display:none !important; }
  .activitiesList { 
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; 
    column-gap: 8px !important;
    font-size: 12px !important;
  }
}
@media (min-width: 640px) {
  .nav { display:flex; }
  .header-cta { display:flex; }
  .mobile-menu-toggle { display:none !important; }
  .mobile-nav { display:none !important; }
  .lang-switcher { display:flex !important; }
  .grid-2 { grid-template-columns: 1fr 1fr; align-items:center; }
  .form .row { grid-template-columns: 1fr 1fr; }
  .form .row .full { grid-column: 1 / -1; }
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .stickybar { display:none; }
  .foot-row { flex-direction:row; }
}


/* ======= Activities (dynamic list) ======= */
#activitiesInfo, .activitiesInfo { max-width: 720px; margin: 16px auto 0; text-align: left; }
#activitiesDesc, .activitiesDesc { color: var(--muted); }
#activitiesList, .activitiesList { 
  margin-top: 12px; 
  color: var(--text); 
  font-size: 14px; 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  column-gap: 16px; 
  row-gap: 12px; 
  max-width: 720px; 
  margin-left: auto; 
  margin-right: auto;
}
.activitiesList ul { 
  list-style: disc; 
  padding-left: 18px; 
  margin: 0; 
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.activitiesList li { 
  margin-bottom: 6px; 
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.activitiesList li::marker { color: var(--primary); }
