/* ============================================================
   CEvent – Main Stylesheet
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --p900: #2d1345;
  --p700: #6e3791;
  --p500: #9b6db9;
  --p300: #c5a8d8;
  --p100: #f0e8f5;
  --g700: #2d6a4f;
  --g500: #52b788;
  --g300: #b7e4c7;
  --sky-top: #8ecae6;
  --sky-bot: #d4eef7;
  --cream: #faf9f6;
  --sand: #f2ede3;
  --text: #1c1730;
  --muted: #6b6880;
  --white: #ffffff;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Fraunces', serif; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes eyeDot {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.4); }
}
@keyframes ulIn { to { transform: scaleX(1); } }
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes sWheel {
  0%   { transform: translateY(0);   opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes cDrift {
  from { transform: translateX(115vw); }
  to   { transform: translateX(-350px); }
}
@keyframes lightBlink {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
@keyframes beamWave {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.55; }
}
@keyframes fWave {
  0%, 100% { transform: skewY(-3deg); }
  50%       { transform: skewY(3deg) scaleX(0.94); }
}
@keyframes tScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pRing {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes lpulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
@keyframes crowdJump {
  0%, 100% { transform: translateY(0)    scaleX(1); }
  35%       { transform: translateY(-9px)  scaleX(0.97); }
  55%       { transform: translateY(-11px) scaleX(0.96); }
  75%       { transform: translateY(-4px)  scaleX(0.99); }
}
@keyframes backSway {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* ── Scroll-reveal utility ── */
.fu {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fu.vis { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5rem;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(110, 55, 145, 0.1);
  transition: padding 0.3s, box-shadow 0.3s;
}
nav.scrolled { padding: 0.6rem 5rem; box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07); }

.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo svg { width: 32px; height: 36px; }
.logo-name {
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.3rem;
  color: var(--p700); letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.875rem;
  letter-spacing: 0.01em; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--p500); border-radius: 2px;
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--p700); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  background: var(--p700) !important; color: white !important;
  padding: 0.55rem 1.5rem !important; border-radius: 100px !important;
  font-weight: 600 !important; transition: background 0.2s, transform 0.15s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover  { background: var(--p900) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.4rem; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--p700); border-radius: 2px; transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg)  translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: flex-start; padding-top: 80px;
}
.hero-sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    #7ec8e3 0%, #b3dff0 28%, #d8eff8 50%,
    #e8f5ee 72%, #f2f8e9 88%, var(--cream) 100%);
}

/* Clouds */
.cloud {
  position: absolute; background: white; border-radius: 100px;
  opacity: 0.88; filter: blur(1px); left: 0;
}
.cloud::before, .cloud::after { content: ''; position: absolute; background: white; border-radius: 50%; }
.c1 { width: 130px; height: 42px; top: 14%; animation: cDrift 30s -8s  linear infinite; }
.c1::before { width: 65px; height: 65px; top: -28px; left: 22px; }
.c1::after  { width: 48px; height: 48px; top: -18px; right: 22px; }
.c2 { width: 100px; height: 36px; top: 20%; animation: cDrift 44s -18s linear infinite; }
.c2::before { width: 54px; height: 54px; top: -22px; left: 16px; }
.c2::after  { width: 38px; height: 38px; top: -13px; right: 16px; }
.c3 { width: 165px; height: 52px; top:  8%; animation: cDrift 56s -36s linear infinite; }
.c3::before { width: 78px; height: 78px; top: -34px; left: 28px; }
.c3::after  { width: 58px; height: 58px; top: -22px; right: 28px; }
.c4 { width:  80px; height: 28px; top: 30%; animation: cDrift 36s -4s  linear infinite; }
.c4::before { width: 42px; height: 42px; top: -18px; left: 12px; }
.c4::after  { width: 30px; height: 30px; top: -10px; right: 12px; }

/* Treeline */
.treeline {
  position: absolute; bottom: 28%; left: 0; right: 0; height: 90px;
  background: linear-gradient(180deg, transparent 0%, #3a7d52 40%, #2d6642 100%);
  clip-path: polygon(
    0 60%,2% 40%,4% 55%,6% 30%,8% 48%,10% 25%,12% 42%,14% 20%,16% 38%,
    18% 52%,20% 28%,22% 45%,24% 18%,26% 36%,28% 50%,30% 22%,32% 40%,
    34% 15%,36% 32%,38% 50%,40% 20%,42% 38%,44% 55%,46% 25%,48% 42%,
    50% 18%,52% 36%,54% 52%,56% 22%,58% 40%,60% 15%,62% 30%,64% 48%,
    66% 20%,68% 38%,70% 12%,72% 30%,74% 50%,76% 24%,78% 42%,80% 16%,
    82% 34%,84% 52%,86% 26%,88% 44%,90% 18%,92% 36%,94% 55%,96% 28%,
    98% 46%,100% 30%,100% 100%,0 100%
  );
}

/* Stage */
.stage-wrap {
  position: absolute; bottom: 17%; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 500px;
}
.stage-wrap svg { width: 100%; display: block; overflow: visible; }

/* Grass layers */
.grass-base {
  position: absolute; bottom: 0; left: 0; right: 0; height: 38%;
  background: linear-gradient(180deg, transparent 0%, #3d8855 18%, #2a6b3e 100%);
  z-index: 2;
}
.grass-mid {
  position: absolute; bottom: 0; left: -4%; right: -4%; height: 30%;
  background: linear-gradient(180deg, transparent 0%, #4a9e64 15%, #2d7845 100%);
  clip-path: ellipse(56% 80% at 36% 100%);
  z-index: 4;
}
.grass-fore {
  position: absolute; bottom: 0; left: -6%; right: -6%; height: 26%;
  background: linear-gradient(180deg, transparent 0%, #3d8a52 20%, #1e5e34 100%);
  clip-path: ellipse(60% 80% at 64% 100%);
  z-index: 5;
}
.grass-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 9%;
  background: #1e5e34; z-index: 6;
}

/* Crowd */
.crowd-wrap {
  position: absolute; bottom: 17.5%; left: 50%; transform: translateX(-50%);
  width: 560px; z-index: 6; pointer-events: none;
}
.crowd-wrap svg { width: 100%; display: block; overflow: visible; }

.jp {
  animation: crowdJump 1s ease-in-out infinite;
  transform-box: fill-box; transform-origin: bottom center;
}
.back-row {
  animation: backSway 1.8s ease-in-out infinite;
  transform-box: fill-box; transform-origin: bottom center;
}

/* Flags */
.flag-row {
  position: absolute; bottom: 30%; left: 0; right: 0;
  display: flex; justify-content: space-around; padding: 0 80px;
  z-index: 2; pointer-events: none;
}
.flag-item { display: flex; flex-direction: column; align-items: center; }
.flag-pole { width: 2px; height: 55px; background: rgba(100, 80, 60, 0.6); }
.flag-banner {
  width: 22px; height: 14px; border-radius: 1px;
  animation: fWave 3.5s ease-in-out infinite;
  transform-origin: left center;
}

/* Hero content */
.hero-content {
  position: relative; z-index: 10;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 6rem 5rem 0;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: start; gap: 3rem;
  padding-bottom: 40vh;
}
.hero-text-card {
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 2rem 2.25rem 2.25rem;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.10);
  animation: fadeUp 0.7s 0.1s both;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--p100); border: 1px solid var(--p300);
  border-radius: 100px; padding: 0.35rem 1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--p700); margin-bottom: 1.25rem;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--g500);
  animation: eyeDot 2s ease-in-out infinite;
}
.hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 1.2rem; font-optical-sizing: auto;
}
.hero-text h1 em {
  font-style: normal; color: var(--p700); position: relative; display: inline-block;
}
.hero-text h1 em::after {
  content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 5px;
  background: var(--g500); border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
  animation: ulIn 0.6s 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hero-text p {
  font-size: 1.05rem; line-height: 1.72; color: var(--muted);
  max-width: 470px; margin-bottom: 2rem; font-weight: 400;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-pri {
  background: var(--p700); color: white; padding: 0.85rem 2rem;
  border-radius: 100px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.2s; box-shadow: 0 4px 18px rgba(110, 55, 145, 0.25);
}
.btn-pri:hover { background: var(--p900); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(110, 55, 145, 0.4); }
.btn-sec {
  color: var(--p700); padding: 0.85rem 1.75rem; border-radius: 100px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  border: 2px solid var(--p300); transition: all 0.2s;
}
.btn-sec:hover { border-color: var(--p700); background: var(--p100); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 0.65rem; animation: fadeUp 0.7s 0.4s both; }
.htag {
  background: rgba(255, 255, 255, 0.92); border: 1.5px solid rgba(110, 55, 145, 0.18);
  border-radius: 100px; padding: 0.5rem 1rem;
  font-size: 0.78rem; font-weight: 600; color: var(--p700);
  display: flex; align-items: center; gap: 0.45rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  animation: floatUp 4s ease-in-out infinite;
}
.htag:nth-child(1) { animation-delay: 0s; }
.htag:nth-child(2) { animation-delay: 0.5s; }
.htag:nth-child(3) { animation-delay: 1s; }
.htag:nth-child(4) { animation-delay: 1.5s; }
.htag:nth-child(5) { animation-delay: 2s; }
.htag:nth-child(6) { animation-delay: 2.5s; }
.htag:nth-child(7) { animation-delay: 0.75s; }
.htag-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Scroll indicator */
.scroll-ind {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--muted); font-size: 0.72rem; z-index: 10; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px; border: 2px solid var(--p300); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 8px; background: var(--p500); border-radius: 3px;
  animation: sWheel 1.6s ease-in-out infinite;
}

/* ============================================================
   TICKER
   ============================================================ */
#ticker {
  background: var(--p900); padding: 2.5rem 0; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ticker-eyebrow {
  text-align: center; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35); margin-bottom: 1.4rem;
}
.ticker-track {
  display: flex; gap: 1.8rem; width: max-content;
  animation: tScroll 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.t-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  min-width: 110px; cursor: default;
}
.t-logo {
  width: 68px; height: 68px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s, border-color 0.2s;
}
.t-item:hover .t-logo { transform: scale(1.08); border-color: rgba(255, 255, 255, 0.3); }
.t-name {
  color: rgba(255, 255, 255, 0.55); font-size: 0.7rem; font-weight: 500;
  text-align: center; line-height: 1.3; max-width: 100px;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.sec-wrap { max-width: 1200px; margin: 0 auto; padding: 0 5rem; }
.sec-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--p500); margin-bottom: 0.65rem;
}
.sec-title {
  font-size: clamp(1.75rem, 3.2vw, 2.7rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.08; color: var(--text);
  margin-bottom: 0.9rem;
}
.sec-title span { color: var(--p700); }
.sec-sub {
  color: var(--muted); font-size: 1rem; line-height: 1.68;
  max-width: 540px; margin-bottom: 2.75rem;
}

/* ============================================================
   MODULES
   ============================================================ */
#modules { padding: 7rem 0; }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mod-block {
  background: white; border: 1.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px; padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  opacity: 0; transform: translateY(32px) scale(0.94);
}
.mod-block.vis { opacity: 1; transform: translateY(0) scale(1); }
.mod-block:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--p300);
  box-shadow: 0 16px 40px rgba(110, 55, 145, 0.14);
}
.mod-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 0.8rem;
}
.mod-name {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.9rem;
  color: var(--text); margin-bottom: 0.35rem;
}
.mod-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.52; }
.mod-block.wide { grid-column: span 2; display: flex; align-items: flex-start; gap: 1.25rem; }
.mod-block.wide .mod-icon { width: 54px; height: 54px; font-size: 1.55rem; flex-shrink: 0; margin-bottom: 0; margin-top: 0.1rem; }
.mod-block.wide .mod-name { font-size: 1rem; }
.mod-block.wide .mod-desc { font-size: 0.83rem; }

/* ============================================================
   WERKWIJZE
   ============================================================ */
#werkwijze {
  padding: 7rem 0;
  background: linear-gradient(180deg, #f5fbf7 0%, var(--cream) 100%);
  position: relative; overflow: hidden;
}
#werkwijze::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--g500), var(--p500), var(--p700));
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 36px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--p300), var(--g300));
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: white; border: 3px solid var(--p300);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.5rem;
  color: var(--p700); margin: 0 auto 1.25rem; position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step:hover .step-num {
  background: var(--p700); color: white; border-color: var(--p700);
  transform: scale(1.12);
}
.step-badge { position: absolute; top: -8px; right: -8px; font-size: 0.95rem; }
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p  { font-size: 0.82rem; color: var(--muted); line-height: 1.58; }

/* ============================================================
   FIELD MANAGER
   ============================================================ */
#fieldmanager { padding: 7rem 0; }
.fm-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.75rem; align-items: start; }
.fm-container {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  border: 2px solid rgba(0, 0, 0, 0.09);
}
.fm-container svg { display: block; width: 100%; }
#pins-overlay { position: absolute; inset: 0; pointer-events: none; }

.s-pin {
  position: absolute; pointer-events: all;
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transform: translate(-50%, -50%);
  transition: left 1.5s cubic-bezier(0.45, 0.05, 0.55, 0.95),
              top  1.5s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.pin-ring {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  border: 2.5px solid;
  animation: pRing 2.2s ease-out infinite; opacity: 0;
}
.pin-av {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 0.78rem;
  color: white; position: relative; z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.s-pin:hover .pin-av { transform: scale(1.2) translateY(-4px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45); }
.pin-shadow {
  width: 20px; height: 5px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.3); margin-top: -4px; filter: blur(2px);
  transition: transform 0.25s;
}
.s-pin:hover .pin-shadow { transform: scaleX(0.7); }
.pin-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: white; border-radius: 12px; padding: 0.7rem 0.9rem;
  white-space: nowrap; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  pointer-events: none; opacity: 0;
  transition: opacity 0.2s, transform 0.2s; z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.07); min-width: 145px;
}
.s-pin:hover .pin-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.pt-name  { font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.82rem; color: var(--text); margin-bottom: 0.15rem; }
.pt-role  { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.2rem; }
.pt-loc   { font-size: 0.68rem; color: var(--g700); font-weight: 700; }

.fm-panel { background: white; border-radius: 20px; border: 1.5px solid rgba(0, 0, 0, 0.08); overflow: hidden; }
.panel-hd {
  background: var(--p700); padding: 1.2rem 1.4rem; color: white;
  display: flex; align-items: center; justify-content: space-between;
}
.panel-hd h3 { font-size: 0.9rem; font-weight: 700; }
.live-badge { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; opacity: 0.8; }
.ldot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: lpulse 1.4s ease-in-out infinite; }
.staff-list { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; max-height: 330px; overflow-y: auto; }
.srow {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem;
  border-radius: 10px; cursor: pointer; transition: background 0.15s;
}
.srow:hover { background: var(--p100); }
.srow-av {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 0.72rem;
  color: white; flex-shrink: 0;
}
.srow-info { flex: 1; }
.srow-name { font-weight: 600; font-size: 0.82rem; color: var(--text); line-height: 1; margin-bottom: 0.15rem; }
.srow-role { font-size: 0.72rem; color: var(--muted); }
.srow-status { display: flex; align-items: center; gap: 0.3rem; font-size: 0.68rem; color: var(--g700); font-weight: 700; }
.sdot { width: 5px; height: 5px; border-radius: 50%; background: var(--g500); }
.panel-zones { padding: 0.75rem 1rem; border-top: 1px solid #f0f0f0; }
.pz-label { font-size: 0.68rem; color: var(--muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.ztag { font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 100px; }

/* ============================================================
   CASES
   ============================================================ */
#cases {
  padding: 7rem 0; background: var(--sand); position: relative; overflow: hidden;
}
#cases::before {
  content: ''; position: absolute; top: -80px; left: 0; right: 0;
  height: 110px; background: var(--cream);
  clip-path: ellipse(58% 100% at 50% 0%);
}
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.c-card {
  background: white; border-radius: 22px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0; transform: translateY(28px);
}
.c-card.vis { opacity: 1; transform: translateY(0); }
.c-card:hover { transform: translateY(-10px); box-shadow: 0 24px 52px rgba(0, 0, 0, 0.13); }
.c-img {
  height: 175px; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.c-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.c-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.25) 100%);
}
.c-body { padding: 1.5rem; }
.c-tag {
  display: inline-block; background: var(--p100); color: var(--p700);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.22rem 0.7rem; border-radius: 100px;
  margin-bottom: 0.7rem;
}
.c-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.45rem; }
.c-body p  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.9rem; }
.c-mods { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.c-mod { background: var(--sand); color: var(--muted); font-size: 0.68rem; font-weight: 600; padding: 0.22rem 0.6rem; border-radius: 100px; }

/* ============================================================
   KLANTEN
   ============================================================ */
#klanten { padding: 6rem 0; }
#klanten .sec-wrap { text-align: center; }

.klanten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.klant {
  background: white;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.klant:hover {
  border-color: var(--p300);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(110, 55, 145, 0.14);
}
.klant-img {
  width: 100%; aspect-ratio: 3/2; position: relative; overflow: hidden;
  background: #ffffff; flex-shrink: 0;
}
.klant-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; padding: 1rem;
  display: block; transition: transform 0.35s ease, opacity 0.3s ease;
}
.klant:hover .klant-img img { transform: scale(1.05); }
.klant-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none; z-index: 2;
}
.klant-name {
  padding: 0.8rem 1rem 0.85rem;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.82rem;
  color: var(--muted); letter-spacing: 0.01em; text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.2s, background 0.2s;
  background: white;
}
.klant:hover .klant-name { color: var(--p700); background: var(--p100); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--p900) 0%, var(--p700) 55%, #8a4db5 100%);
  position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute;
  top: -120px; left: -120px; width: 500px; height: 500px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.04);
}
#contact::after {
  content: ''; position: absolute;
  bottom: -180px; right: -100px; width: 650px; height: 650px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.03);
}
.contact-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5rem;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem;
  align-items: center; position: relative; z-index: 1;
}
.contact-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: white; margin-bottom: 1rem; }
.contact-text p  { color: rgba(255, 255, 255, 0.68); line-height: 1.68; margin-bottom: 2.25rem; }
.c-detail {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; margin-bottom: 0.85rem;
}
.c-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.c-form { background: white; border-radius: 24px; padding: 2.5rem; }
.cf-title { font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.15rem; color: var(--text); margin-bottom: 0.2rem; }
.cf-sub   { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.fg label { font-size: 0.78rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.fg input, .fg select, .fg textarea {
  border: 1.5px solid rgba(0, 0, 0, 0.12); border-radius: 10px;
  padding: 0.75rem 1rem; font-family: 'Outfit', sans-serif; font-size: 0.88rem;
  color: var(--text); outline: none; transition: border-color 0.2s, background 0.2s;
  background: var(--cream);
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--p500); background: white;
}
.fg textarea { height: 95px; resize: none; }
.btn-submit {
  width: 100%; background: var(--p700); color: white; border: none;
  padding: 0.9rem; border-radius: 12px; font-family: 'Fraunces', serif;
  font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.btn-submit:hover { background: var(--p900); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }
.btn-submit:disabled { cursor: default; transform: none; box-shadow: none; }

/* Form status messages */
.form-message {
  display: none; padding: 0.75rem 1rem; border-radius: 10px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; text-align: center;
}
.form-message.success { background: #e8f5e9; color: #2d6a4f; border: 1px solid #b7e4c7; display: block; }
.form-message.error   { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--p900); padding: 2.25rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.fl { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.fl span { font-family: 'Fraunces', serif; font-weight: 800; color: white; font-size: 1.05rem; }
.fc { color: rgba(255, 255, 255, 0.38); font-size: 0.78rem; }
.fl-links { display: flex; gap: 1.5rem; }
.fl-links a { color: rgba(255, 255, 255, 0.35); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.fl-links a:hover { color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   RESPONSIVE — Tablet ~960px
   ============================================================ */
@media (max-width: 960px) {
  nav { padding: 1rem 2rem; }
  nav.scrolled { padding: 0.65rem 2rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.25rem 2rem 1.75rem;
    gap: 1.1rem;
    border-bottom: 1px solid rgba(110, 55, 145, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
    z-index: 998;
  }
  .nav-links.open { display: flex; }
  .nav-links a    { font-size: 1rem; }
  .btn-nav { display: inline-block !important; width: fit-content; }

  .sec-wrap { padding: 0 2rem; }
  #modules, #werkwijze, #fieldmanager, #cases, #klanten { padding: 5rem 0; }
  #contact { padding: 5rem 0; }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 4.5rem 2rem 0;
    gap: 2rem; padding-bottom: 42vh;
  }
  .hero-tags { justify-content: center; }
  .stage-wrap { width: 70vw; }
  .crowd-wrap { width: 80vw; }

  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-block.wide { grid-column: span 2; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .steps-grid::before { display: none; }

  .fm-layout { grid-template-columns: 1fr; }
  #fieldmanager .sec-wrap { max-width: 100% !important; }

  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .klanten-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-inner { grid-template-columns: 1fr; gap: 3rem; padding: 0 2rem; }

  footer { padding: 2rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ============================================================
   RESPONSIVE — Mobile ~640px
   ============================================================ */
@media (max-width: 640px) {
  nav { padding: 0.9rem 1.25rem; }
  nav.scrolled { padding: 0.6rem 1.25rem; }
  .nav-links { padding: 1rem 1.25rem 1.5rem; }

  .sec-wrap { padding: 0 1.25rem; }
  #modules, #werkwijze, #fieldmanager, #cases, #klanten { padding: 4rem 0; }
  #contact { padding: 4rem 0; }

  .hero-content { padding: 4rem 1.25rem 0; padding-bottom: 38vh; }
  .hero-text h1 { font-size: 2.1rem; }
  .hero-btns { flex-direction: column; }
  .btn-pri, .btn-sec { text-align: center; justify-content: center; }

  .stage-wrap { width: 92vw; bottom: 15%; }
  .crowd-wrap { width: 98vw; }
  .treeline { bottom: 25%; }
  .grass-base { height: 32%; }

  .sec-title { font-size: 1.7rem; }

  .mod-grid { grid-template-columns: 1fr; }
  .mod-block.wide { grid-column: span 1; flex-direction: column; gap: 0.75rem; }
  .mod-block.wide .mod-icon { margin-bottom: 0; }

  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .step { text-align: left; display: flex; align-items: flex-start; gap: 1.25rem; }
  .step-num { flex-shrink: 0; margin: 0; width: 52px; height: 52px; font-size: 1.2rem; }

  .cases-grid { grid-template-columns: 1fr; }
  .klanten-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .contact-inner { padding: 0 1.25rem; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .c-form { padding: 1.75rem 1.25rem; }

  footer { padding: 1.75rem 1.25rem; align-items: center; text-align: center; }
  .fl-links { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — Small mobile ~380px
   ============================================================ */
@media (max-width: 380px) {
  .klanten-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE TEMPLATE (Privacy, Algemene voorwaarden, etc.)
   ============================================================ */
.page-main {
  min-height: 100vh;
  background: var(--cream);
}

/* Hero-balk bovenaan */
.page-hero {
  background: linear-gradient(135deg, var(--p900) 0%, var(--p700) 55%, #8a4db5 100%);
  padding: 7rem 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.page-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.page-back:hover { color: white; }
.page-back svg { flex-shrink: 0; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-meta {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}

/* Content gebied */
.page-body {
  padding: 4rem 5rem 6rem;
}
.page-content {
  max-width: 760px;
  margin: 0 auto;
}

/* Typografie binnen page-content */
.page-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--p700);
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--p100);
}
.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
.page-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1rem;
}
.page-content ul, .page-content ol {
  margin: 0.5rem 0 1rem 1.25rem;
}
.page-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.page-content strong {
  color: var(--text);
  font-weight: 600;
}
.page-content a {
  color: var(--p700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover { color: var(--p900); }

/* Infobox (optioneel, voor contactgegevens e.d.) */
.page-content .info-box {
  background: var(--p100);
  border: 1.5px solid var(--p300);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.page-content .info-box p {
  margin: 0;
  color: var(--p700);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 960px) {
  .page-hero { padding: 6rem 2rem 3rem; }
  .page-body  { padding: 3rem 2rem 5rem; }
}
@media (max-width: 640px) {
  .page-hero { padding: 5.5rem 1.25rem 2.5rem; }
  .page-body  { padding: 2.5rem 1.25rem 4rem; }
  .page-hero h1 { font-size: 1.8rem; }
}

/* ============================================================
   404 PAGINA
   ============================================================ */
.page-hero--404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem;
}
.page-hero--404 .page-hero-inner {
  text-align: center;
  margin: 0 auto;
}
.error-404-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  user-select: none;
}
.page-hero--404 h1 {
  margin-bottom: 0.75rem;
}
.error-404-sub {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.error-404-btn {
  display: inline-flex;
}

@media (max-width: 640px) {
  .page-hero--404 { padding: 5rem 1.25rem; }
}
