:root {
  --primary: #48c9b0;
  --dark: #0f172a;
  --muted: #6b7280;
  --radius: 24px;
  --bg: #ffffff;

  /* Extra vars voor Lóvi-stijl */
  --ink: #111;
  --brand: #48C9B0;
  --accent: #D6B778;
  --container: 1180px;

  /* Sticky header hoogte voor consistente hero-offset */
  --nav-h: 80px;           /* was 64px — set to safe default; tweak if needed */
  --header-h: var(--nav-h);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: linear-gradient(180deg, #fff 0%, #fff 35%, #fffefb 100%);
  color: var(--dark);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

/* Anchors netjes onder sticky header */
section, .section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid #eef2f7;
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between; height: var(--nav-h);
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: .2px; color: var(--dark); }
.brand span { color: var(--primary); }
.nav nav a { margin-left: 20px; color: var(--dark); opacity:.85 }
.nav nav a:hover { opacity:1 }

/* Buttons */
.btn { background: #fff; color: var(--dark); padding: 12px 24px; border-radius: 999px; display: inline-flex; align-items:center; justify-content:center; font-weight: 600; border: 1px solid rgba(0,0,0,0.12); transition: transform .25s cubic-bezier(.16,.84,.44,1), box-shadow .25s cubic-bezier(.16,.84,.44,1); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.primary { background: var(--primary); color: #fff; border: none; box-shadow: 0 8px 24px rgba(72,201,176,0.3); }
.btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.btn.primary:hover { box-shadow: 0 18px 42px rgba(72,201,176,0.45); }

/* HERO – deterministic spacing so CTA is above the fold */
.hero {
  display:flex; align-items:center; justify-content:space-between;
  gap:64px;

  /* Top sits right under header (no vh), small bottom pad */
  padding: calc(var(--header-h) + 16px) 32px 20px;

  position:relative; overflow:hidden;

  /* Fill viewport minus header; center vertically on laptops/desktop */
  min-height: calc(100vh - var(--header-h));
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; margin:0 0 10px; font-weight:900; letter-spacing:-0.8px; }
.hero .lead { font-size:22px; color:#333; margin-bottom:14px; max-width:560px; line-height:1.48; letter-spacing:-0.2px; }
.hero-cta { display:flex; gap:16px; margin-top:10px; }
.headline-glow { transition:text-shadow .5s ease, color .5s ease; text-shadow: 0 0 0 rgba(72,201,176,0); }
.headline-glow.glow { color:#0f6f5e; text-shadow:0 0 18px rgba(72,201,176,0.45); }

/* Orb background achter alles */
.orb-wrap { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.orb { position:absolute; width:760px; height:760px; filter:blur(220px); animation:orbFloat 11s ease-in-out infinite alternate; }
.orb.orb-1 { top:-520px; left:-300px; background:radial-gradient(circle, rgba(72,201,176,0.22), transparent 80%); }
.orb.orb-2 { bottom:-340px; right:-300px; background:radial-gradient(circle, rgba(214,183,120,0.28), transparent 80%); animation-duration:13s; }
@keyframes orbFloat{0%{transform:translateY(0);}50%{transform:translateY(-22px);}100%{transform:translateY(0);}}

/* Visual iets compacter */
.hero-visual { flex:1; max-width:520px; position:relative; border-radius:70px; overflow:hidden; box-shadow:0 60px 160px rgba(0,0,0,0.22); transform:translateZ(0); perspective:1400px; }

/* Hero glow FULL-BLEED */
.mockup-glow { position:absolute; left:50%; top:0; transform:translateX(-50%); width:100vw; height:100%; background:radial-gradient(circle at 50% 80%, rgba(72,201,176,0.20), transparent 75%); filter:blur(90px); z-index:-1; pointer-events:none; }

.parallax-img { width:100%; height:auto; display:block; transform:translateZ(70px) rotate(3deg) scale(1.06); transition:transform .25s ease-out; will-change: transform; }

/* Story section */
#story .story-grid { display:flex; gap:90px; align-items:flex-start; position:relative; }
.story-left { flex:1; display:flex; flex-direction:column; gap:180px; }
.story-step h2 { font-size:40px; margin:0 0 12px; }
.story-step p { font-size:18px; color:#555; max-width:500px; }
.story-right { flex:1; position:sticky; top:160px; display:flex; justify-content:center; }
#story-visual { width:420px; max-width:100%; border-radius:40px; overflow:hidden; box-shadow:0 40px 80px rgba(0,0,0,0.18); transition:opacity .5s ease, transform .5s ease; }

/* Pricing */
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:48px; align-items:stretch; margin-top:40px; }
.plan { padding:46px; border-radius:34px; border:1px solid rgba(0,0,0,0.08); background:#fff; box-shadow:0 14px 40px rgba(0,0,0,0.06); display:flex; flex-direction:column; text-align:left; transition: transform .25s cubic-bezier(.16,.84,.44,1), box-shadow .25s cubic-bezier(.16,.84,.44,1); }
.plan:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 28px 70px rgba(0,0,0,0.10); }
.plan.popular { padding:50px; border-radius:40px; background:linear-gradient(180deg,#fff, #fdf8e9); border:2px solid var(--accent); box-shadow:0 48px 120px rgba(214,183,120,0.32); position:relative; }
.ribbon { position:absolute; top:-18px; left:50%; transform:translateX(-50%); background:var(--accent); padding:10px 22px; font-weight:800; border-radius:999px; font-size:13px; color:#111; box-shadow:0 12px 32px rgba(214,183,120,0.35); letter-spacing:0.35px; text-transform:uppercase; display:flex; align-items:center; justify-content:center; line-height:1; text-align:center; white-space:nowrap; }
.plan.popular::after { content:""; position:absolute; top:0; left:-150%; width:120%; height:100%; background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 70%); transform:skewX(-20deg); transition:0.8s ease; pointer-events:none; }
.plan.popular:hover::after { left:150%; }

/* Compare (details) + FAQ */
#compare details, #faq details { border:1px solid rgba(0,0,0,0.08); border-radius:20px; padding:24px 28px; background:#fafafa; margin-bottom:20px; }
#compare summary, #faq summary { font-size:20px; font-weight:600; cursor:pointer; list-style:none; }
#compare summary:hover, #faq summary:hover { color: var(--brand); }
#compare details div, #faq details div { max-height:0; overflow:hidden; opacity:0; transform:translateY(12px); transition:max-height .9s cubic-bezier(.16,.84,.44,1), opacity .9s ease, transform .9s cubic-bezier(.16,.84,.44,1); }
#compare details[open] div, #faq details[open] div { max-height:650px; opacity:1; transform:translateY(0); }

/* FAQ presentation */
.faq-section { padding:100px 0; background:#fff; }
.faq-section .container { max-width:900px; }
.faq-section h2 { font-size:40px; text-align:center; margin-bottom:24px; }
.faq-intro { text-align:center; color:#666; font-size:18px; margin-bottom:50px; }

/* TESTIMONIALS */
.testimonial-wrapper { position:relative; width:100%; height:auto; }
.testimonial-slide { transition:opacity .8s ease; }
.testimonial-slide.is-hidden { opacity:0; position:absolute; inset:0; }
.testimonial-slide.is-visible { opacity:1; position:relative; }
.dots { display:flex; justify-content:center; gap:10px; margin-top:40px; }
.dot { width:28px; height:6px; border-radius:999px; background: rgba(15,23,42,0.15); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04); opacity:1; transition: background .25s ease, transform .25s ease; }
.dot.active { background: var(--primary); transform: translateY(-1px); }

/* CTA section */
.cta-section { padding:160px 0; position:relative; overflow:hidden; }
.cta-orb { position:absolute; width:620px; height:620px; filter:blur(140px); z-index:-1; pointer-events:none; }
.cta-orb.left { top:-200px; left:-200px; background:radial-gradient(circle, rgba(72,201,176,0.45), transparent 70%); }
.cta-orb.right { bottom:-220px; right:-180px; background:radial-gradient(circle, rgba(214,183,120,0.45), transparent 70%); }

/* Footer */
.footer { background:#f8fafc; margin-top: 80px; }
.footer-grid { display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 32px; padding: 40px 0; }
.brand-foot { font-size:22px; font-weight: 800; margin-bottom: 6px; }
.foot-bottom { padding: 14px 0 24px; color: var(--muted); font-size: 14px; border-top: 1px solid #eaeef3; }

/* Footer normalization */
.footer > .container,
footer.footer > .container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.footer .footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 32px; padding: 40px 0; }
.footer .foot-bottom { padding: 14px 0 24px; color: var(--muted); font-size: 14px; border-top: 1px solid #eaeef3; }
.footer .footer-grid > * { min-width: 0; }
.footer a { color: var(--dark); opacity: .85; text-decoration: none; }
.footer a:hover { opacity: 1; }
footer.footer:not(:has(> .container)) { padding-left: 24px; padding-right: 24px; }
@supports not(selector(:has(*))) { footer.footer { padding-left: 24px; padding-right: 24px; } }

/* Animations (reveal/stagger) */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1); }
.reveal.revealed { opacity:1; transform:translateY(0); }
.stagger > * { opacity:0; transform: translateY(20px); transition: opacity .7s ease-out, transform .7s ease-out; }
.stagger.revealed > * { opacity:1; transform:none; }
.stagger.revealed > *:nth-child(1){ transition-delay:.1s; }
.stagger.revealed > *:nth-child(2){ transition-delay:.2s; }
.stagger.revealed > *:nth-child(3){ transition-delay:.3s; }
.stagger.revealed > *:nth-child(4){ transition-delay:.4s; }

/* Micro-interactions */
.feature-card { padding: 32px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.08); background: #fafafa; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
h1:hover, h2:hover { text-shadow: 0 0 12px rgba(72,201,176,0.35); }

/* Readability tweaks */
.lead { color: #4a4a4a !important; }
body, p, li { color: #2f2f2f; }
:root { --muted: #6e6e6e; }
.benefit-grid .card p { color: #3e3e3e !important; }
.bullets li { color: #2b2b2b !important; }
.bullets li small { color: #5a5a5a !important; }
.banner p { color: #3a3a3a !important; }
.slide p { color: #2b2b2b; }
details p { color: #2f2f2f; }
summary { color: #2c2c2c; }

/* Responsive */
@media (max-width: 1100px) {
  .hero { padding: calc(var(--header-h) + 12px) 28px 20px; gap:48px; min-height: auto; }
  .hero h1 { font-size: clamp(34px, 5.6vw, 52px); }
  .hero-visual { max-width:480px; }
}
@media (max-width: 900px) {
  .hero { flex-direction:column; text-align:center; padding: calc(var(--header-h) + 10px) 24px 28px; gap:24px; min-height: auto; }
  .hero h1 { font-size:clamp(32px,6vw,48px); }
  .hero-visual { order:2; max-width:420px; margin-top:12px; }
  .orb-wrap .orb { filter:blur(180px); opacity:.7; }
  .orb.orb-1 { top:-420px; left:-200px; width:520px; height:520px; }
  .orb.orb-2 { bottom:-260px; right:-200px; width:520px; height:520px; }
}
@media (max-width: 600px) {
  .hero { padding: calc(var(--header-h) + 8px) 20px 24px; gap:22px; }
  .hero h1 { font-size:clamp(28px,8vw,42px); }
  .hero-visual { max-width:360px; }
  .dots { display:none; }
}

/* Extra coverage voor ultrabrede schermen */
@media (min-width: 1400px) {
  .orb { width: 960px; height: 960px; }
  .orb.orb-2 { right: -360px; bottom: -380px; }
}

/* Utility */
.text-gradient { background:linear-gradient(135deg,#48C9B0,#1a7f6b); -webkit-background-clip:text; color:transparent; }

/* PRICING (ongewijzigd behalve eerdere compactheid) */
#plans.section { padding: 48px 0; }
#plans .container { max-width: 1060px; }
#plans { position: relative; overflow: hidden; }
#plans .section-glow { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100vw; height: 100%; pointer-events: none; background: radial-gradient(1200px 600px at 70% 10%, rgba(214,183,120,0.20), transparent 70%), radial-gradient(1000px 500px at 20% 60%, rgba(72,201,176,0.18), transparent 70%); filter: blur(60px); z-index: -1; }
#plans h2 { font-size: 42px !important; margin-bottom: 12px !important; letter-spacing: -0.5px !important; }
#plans p { font-size: 18px !important; margin-bottom: 42px !important; color:#555 !important; }
#plans .pricing-grid { gap: 28px; }
#plans .plan { padding: 28px; border-radius: 28px; }
#plans .plan.popular { padding: 32px; border-radius: 32px; }
#plans .plan h3 { font-size: 22px !important; margin-bottom: 10px !important; }
#plans .plan ul { gap: 10px !important; font-size: 16px !important; margin-bottom: 28px !important; }
#plans .plan .btn { padding: 12px 16px; }

@media (max-width: 1400px) {
  #plans .container { max-width: 1000px; }
  #plans h2 { font-size: 38px !important; }
  #plans p { font-size: 17px !important; }
  #plans .pricing-grid { gap: 22px; }
  #plans .plan { padding: 24px; }
  #plans .plan.popular { padding: 26px; }
  #plans .plan h3 { font-size: 20px !important; }
}
@media (max-width: 1280px) {
  #plans .container { max-width: 960px; }
  #plans .pricing-grid { gap: 20px; }
  #plans .plan { padding: 22px; }
  #plans .plan.popular { padding: 24px; }
  #plans h2 { font-size: 36px !important; }
  #plans p { font-size: 16px !important; margin-bottom: 28px !important; }
}
@media (max-width: 1100px) {
  #plans .container { max-width: 720px; }
  #plans .pricing-grid { grid-template-columns: 1fr; }
  #plans .plan, #plans .plan.popular { padding: 26px; }
}
@media (max-height: 800px) {
  #plans.section { padding: 36px 0; }
  #plans h2 { font-size: 36px !important; }
  #plans p { font-size: 16px !important; margin-bottom: 28px !important; }
  #plans .plan { padding: 22px; }
}

/* Zachte overloop */
.section.section--bleed { position: relative; isolation: isolate; background: transparent; }
.section.section--bleed::before,
.section.section--bleed::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 140vw; height: 55vh; pointer-events: none; z-index: -1; filter: blur(48px); }
.section.section--bleed::before { top: -28vh; background: radial-gradient(1100px 520px at 30% 80%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 72%), radial-gradient(1000px 460px at 82% 28%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%); opacity: .35; }
.section.section--bleed::after { bottom: -26vh; background: radial-gradient(1200px 540px at 70% 22%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 72%), radial-gradient(1000px 500px at 18% 64%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%); opacity: .6; }

/* Extra compactheid varianten (ongewijzigd) */
#plans.section { padding: 40px 0; }
#plans .pricing-grid { gap: 20px; }
#plans .plan { padding: 22px; }
#plans .plan.popular { padding: 24px; }
#plans .plan h3 { font-size: 20px !important; margin-bottom: 8px !important; }
#plans .plan ul { gap: 8px !important; font-size: 15px !important; margin-bottom: 22px !important; }
#plans .plan .btn { padding: 11px 14px; }

/* Height-based compactness for plans */
@media (max-height: 900px) {
  #plans.section { padding: 32px 0; }
  #plans h2 { font-size: 34px !important; margin-bottom: 8px !important; }
  #plans p { font-size: 16px !important; margin-bottom: 20px !important; }
  #plans .pricing-grid { gap: 16px; }
  #plans .plan { padding: 18px; }
  #plans .plan.popular { padding: 20px; }
  #plans .plan h3 { font-size: 18px !important; }
  #plans .plan ul { font-size: 14.5px !important; margin-bottom: 18px !important; }
  #plans .plan .btn { padding: 10px 12px; font-size: 15px; }
}

/* Tighten hero for short laptop heights so image + CTA fit above fold */
@media (min-width: 901px) and (max-height: 900px) {
  .hero-visual { max-width: 460px; }       /* was 520px */
  .hero { padding: calc(var(--header-h) + 12px) 28px 16px; }
  .hero h1 { font-size: clamp(34px, 4.8vw, 54px); margin-bottom: 10px; }
  .hero .lead { margin-bottom: 12px; }
  .hero-cta { gap: 14px; margin-top: 8px; }
}

@media (min-width: 901px) and (max-height: 820px) {
  .hero-visual { max-width: 420px; }       /* tighter on very short heights */
  .hero { padding: calc(var(--header-h) + 10px) 24px 14px; }
  .hero h1 { font-size: clamp(32px, 4.4vw, 50px); }
  .hero .lead { font-size: 21px; margin-bottom: 10px; }
}
