/* ============================================================
   CAPLive — promo site design system
   Sportief & energiek · cream · groen + diepblauw + oranje spark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;600;700;800;900&display=swap');

:root {
  /* surfaces */
  --bg:        #F4F2EA;
  --surface:   #FFFFFF;
  --surface-2: #FBFAF3;
  --line:      #E4E0D2;

  /* ink */
  --ink:       #14241C;
  --body:      #46544C;
  --muted:     #7C8881;

  /* brand */
  --green:      #1A7D52;
  --green-deep: #0E5536;
  --green-soft: #E7F1E9;
  --blue:       #0F4C81;
  --blue-deep:  #0A3358;
  --blue-soft:  #E4EDF5;
  --accent:     #FF5A1F;   /* energie-spark, spaarzaam */
  --accent-soft:#FFE9DF;

  /* type */
  --display: 'Anton', sans-serif;
  --font:    'Archivo', system-ui, sans-serif;

  /* type scale */
  --t-hero:   clamp(48px, 8vw, 116px);
  --t-h1:     clamp(40px, 5.2vw, 76px);
  --t-h2:     clamp(30px, 3.6vw, 52px);
  --t-h3:     clamp(21px, 1.6vw, 27px);
  --t-lead:   clamp(18px, 1.45vw, 23px);
  --t-body:   17px;
  --t-small:  14.5px;
  --t-eyebrow:13px;

  /* layout */
  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 56px);
  --radius: 18px;
  --radius-lg: 30px;

  --shadow-sm: 0 2px 10px rgba(20,36,28,.05);
  --shadow:    0 18px 44px -20px rgba(20,36,28,.28);
  --shadow-lg: 0 40px 90px -34px rgba(14,48,40,.42);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section--tight { padding-block: clamp(54px, 6vw, 86px); }
.center { text-align: center; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 800;
  font-size: var(--t-eyebrow); letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--green); border-radius: 2px;
}
.eyebrow--blue { color: var(--blue-deep); }
.eyebrow--blue::before { background: var(--blue); }
.eyebrow--center { justify-content: center; }

.display { font-family: var(--display); font-weight: 400; letter-spacing: .005em; line-height: .96; }
/* page hero heading: roomier line-height so Anton's tall caps don't collide with the lead */
.page-hero-h1 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: .004em; text-transform: uppercase; color: var(--ink); }
.lead { font-size: var(--t-lead); color: var(--body); max-width: 56ch; }
.muted { color: var(--muted); }

h2.title { font-family: var(--font); font-weight: 900; font-size: var(--t-h2); letter-spacing: -.02em; }
h3.sub { font-family: var(--font); font-weight: 800; font-size: var(--t-h3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; letter-spacing: .005em;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -10px rgba(255,90,31,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(255,90,31,.7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 12px 26px -12px rgba(26,125,82,.7); }
.btn-green:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; font-size: 17px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--green-deep); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow.blue { color: var(--blue-deep); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--font); font-weight: 900; font-size: 25px; letter-spacing: -.03em; color: var(--ink); }
.brand .cap { color: var(--ink); }
.brand .live { color: var(--green); position: relative; padding-right: 13px; }
.brand .live::after {
  content: ""; position: absolute; right: 0; top: 4px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,90,31,.55);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,90,31,.5); }
  70% { box-shadow: 0 0 0 9px rgba(255,90,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); }
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600; font-size: 15.5px; color: var(--body); white-space: nowrap;
  padding: 9px 15px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(20,36,28,.05); }
.nav-links a.active { color: var(--green-deep); background: var(--green-soft); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 21px; height: 2.4px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); padding: 16px var(--pad) 26px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 55;
  }
  body.menu-open .nav-links { transform: translateY(0); }
  .nav-links a { font-size: 18px; padding: 13px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
}

/* ---------- decorative ---------- */
.ring { position: absolute; border-radius: 50%; border: 2px solid currentColor; pointer-events: none; }
.dot-grid {
  position: absolute; pointer-events: none;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
  background-size: 22px 22px; opacity: .14;
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: var(--t-hero); line-height: .92; letter-spacing: .003em; color: var(--ink); text-transform: uppercase; }
.hero h1 .hl { color: var(--green); }
.hero h1 .hl-blue { color: var(--blue); }
.hero .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 40px; }
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .m b { font-family: var(--display); font-size: 30px; color: var(--ink); font-weight: 400; line-height: 1; }
.hero-meta .m span { font-size: 13px; color: var(--muted); font-weight: 600; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
}

/* ---------- device frames (placeholders) ---------- */
.frame { position: relative; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.frame-browser .bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #D9D3C2; display: block; }
.frame-browser .bar i:nth-child(1){ background:#FF6056; } .frame-browser .bar i:nth-child(2){ background:#FFBD2E; } .frame-browser .bar i:nth-child(3){ background:#27C93F; }
.frame-browser .url { margin-left: 10px; flex: 1; height: 24px; border-radius: 7px; background: var(--bg); display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; }

image-slot { display: block; width: 100%; }
.slot-cap { font-family: 'Archivo', monospace; }

/* tablet bezel */
.tablet { padding: 16px; background: #15201B; border-radius: 28px; box-shadow: var(--shadow-lg); }
.tablet .screen { border-radius: 14px; overflow: hidden; background: var(--surface); }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(16px, 1.6vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px){ .g-4 { grid-template-columns: repeat(2,1fr);} .g-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .g-2,.g-3,.g-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.2vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--green) 35%, var(--line)); }
.card h3 { font-family: var(--font); font-weight: 800; font-size: var(--t-h3); margin-bottom: 10px; }
.card p { font-size: 15.5px; }

.ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-soft); color: var(--green-deep);
}
.ico svg { width: 26px; height: 26px; }
.ico--blue { background: var(--blue-soft); color: var(--blue-deep); }
.ico--accent { background: var(--accent-soft); color: var(--accent); }

.tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep);
}
.tag--blue { background: var(--blue-soft); color: var(--blue-deep); }
.tag--accent { background: var(--accent-soft); color: var(--accent); }
.tag .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }

/* ---------- alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 84px); align-items: center; }
.feature-row.reverse .feature-text { order: 2; }
@media (max-width: 920px){ .feature-row, .feature-row.reverse .feature-text { grid-template-columns: 1fr; order: 0; } }
.feature-text h2 { font-family: var(--font); font-weight: 900; font-size: var(--t-h2); margin: 16px 0 18px; letter-spacing: -.02em; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--body); }
.feature-list li svg { width: 21px; height: 21px; flex: none; margin-top: 2px; color: var(--green); }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step-num { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--green); font-weight: 400; }
.step .card-inner { }

/* ---------- stat band ---------- */
.band { background: var(--ink); color: #EAF1ED; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.band .display-num { font-family: var(--display); font-weight: 400; color: #fff; line-height: .9; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--green-deep), var(--green) 55%, #21925f); color: #fff; border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 80px); }
.cta-band h2 { color: #fff; font-family: var(--font); font-weight: 900; font-size: var(--t-h1); letter-spacing: -.025em; }
.cta-band p { color: rgba(255,255,255,.85); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C7D2CC; padding-block: clamp(54px, 6vw, 84px) 32px; }
.site-footer a { color: #C7D2CC; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand .cap { color: #fff; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #8FA29A; }

/* ---------- sports row ---------- */
.sport-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; color: var(--ink); font-size: 16px; }
.sport-chip .d { width: 11px; height: 11px; border-radius: 50%; }

/* ---------- reveal (transform-only: content stays visible even if frozen / no-JS) ---------- */
.reveal { transform: translateY(22px); transition: transform .7s var(--ease); will-change: transform; }
.reveal.in { transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s;} .reveal[data-d="2"]{ transition-delay: .16s;} .reveal[data-d="3"]{ transition-delay: .24s;} .reveal[data-d="4"]{ transition-delay: .32s;}
@media (prefers-reduced-motion: reduce){ .reveal { transform: none; transition: none; } .brand .live::after, .tag .live-dot { animation: none; } }

/* ---------- lang switcher ---------- */
.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-switcher a { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 5px 7px; border-radius: 7px; transition: color .18s, background .18s; }
.lang-switcher a:hover { color: var(--ink); background: var(--surface-2); }
.lang-switcher a.active { color: var(--green-deep); background: var(--green-soft); }
@media (max-width: 768px) { .lang-switcher { display: none; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface-2);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
