@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #08090b;
  --bg-2: #101317;
  --bg-3: #161a1f;
  --line: rgba(255,255,255,0.09);
  --text: #f4f5f2;
  --text-soft: rgba(244,245,242,0.62);
  --text-softer: rgba(244,245,242,0.4);
  --green: #22d17a;
  --green-deep: #0e7a48;
  --green-glow: rgba(34,209,122,0.32);
  --lime: #c9ff5c;
  --lime-glow: rgba(201,255,92,0.22);
  --navy: #4c7fae;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--green);
  margin: 0 0 1rem; display: flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before { content: ''; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green-glow); flex-shrink: 0; }
.grad-text { background: linear-gradient(100deg, var(--green), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Zwevende pil-navigatie ---------- */
.navpill {
  position: fixed; top: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 30;
  width: calc(100% - 2.4rem); max-width: 52rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: rgba(16,19,23,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 0.7rem 0.6rem 1.1rem;
}
.navpill .brand { display: flex; align-items: center; gap: 0.55rem; }
.navpill .brand svg { width: 22px; height: 22px; }
.navpill .brand span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; color: #fff; font-size: 1rem; }
.navpill nav { display: flex; gap: 1.4rem; }
.navpill nav a { font-size: 0.88rem; color: var(--text-soft); }
.navpill nav a:hover, .navpill nav a.active { color: var(--lime); }
.navpill .cta { background: linear-gradient(100deg, var(--green), var(--lime)); color: #06210f; font-size: 0.84rem; font-weight: 700; padding: 0.5rem 1rem; border-radius: 999px; white-space: nowrap; }
.navpill .burger { display: none; background: none; border: none; padding: 0.4rem; cursor: pointer; }
.navpill .burger svg { width: 22px; height: 22px; stroke: #fff; }

@media (max-width: 720px) {
  .navpill nav { position: absolute; top: calc(100% + 0.6rem); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 0.6rem; display: none; }
  .navpill nav.open { display: flex; }
  .navpill nav a { padding: 0.7rem 0.8rem; border-radius: 0.6rem; }
  .navpill nav a:hover { background: rgba(255,255,255,0.06); }
  .navpill .burger { display: block; }
  .navpill .cta { display: none; }
}

/* ---------- Hero: continu donker canvas, ambient glow, live demo ---------- */
.hero { position: relative; padding: 9.5rem 1.6rem 5rem; overflow: hidden; }
.hero .glow { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; z-index: 0; }
.hero .glow-a { width: 34rem; height: 34rem; top: -12rem; left: -10rem; background: radial-gradient(circle, var(--green-glow), transparent 70%); animation: drift1 20s ease-in-out infinite alternate; }
.hero .glow-b { width: 26rem; height: 26rem; top: 4rem; right: -8rem; background: radial-gradient(circle, var(--lime-glow), transparent 70%); animation: drift2 24s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(3rem, 2.5rem) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-2.5rem, -2rem) scale(0.9); } }
.hero .grid { position: relative; z-index: 1; max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; max-width: 30rem; margin: 0 0 1.2rem; }
.hero p.lead { color: var(--text-soft); font-size: 1.08rem; max-width: 30rem; margin: 0 0 2rem; }
.btnrow { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.btn-primary { background: linear-gradient(100deg, var(--green), var(--lime)); color: #06210f; font-weight: 700; font-size: 0.92rem; padding: 0.8rem 1.5rem; border-radius: 999px; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 0.92rem; padding: 0.78rem 1.4rem; border-radius: 999px; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.28); }
.stats-inline { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.stats-inline .stat strong { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text); }
.stats-inline .stat span { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-softer); }

/* Live product-demo mockup */
.demo-frame {
  position: relative; z-index: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: 1.1rem;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.65); overflow: hidden;
}
.demo-top { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.demo-top .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; }
.demo-top .dot.r { background: #e0605a; } .demo-top .dot.y { background: #e0b94f; } .demo-top .dot.g { background: #59c96b; }
.demo-top .demo-title { margin-left: 0.6rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--text-softer); display: flex; align-items: center; gap: 0.4rem; }
.livedot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green-glow); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.demo-chat { padding: 1.4rem; min-height: 15rem; display: flex; flex-direction: column; justify-content: center; gap: 0.7rem; }
.bubble { max-width: 88%; padding: 0.7rem 0.95rem; border-radius: 0.9rem; font-size: 0.88rem; line-height: 1.4; }
.bubble.in { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 0.2rem; animation: seqIn 7s ease-in-out infinite; }
.bubble.out { align-self: flex-end; background: linear-gradient(100deg, var(--green-deep), var(--green)); color: #06210f; font-weight: 600; border-bottom-right-radius: 0.2rem; display: flex; align-items: center; gap: 0.5rem; animation: seqOut 7s ease-in-out infinite; }
.bubble.out .badge { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; background: rgba(6,33,15,0.25); padding: 0.15rem 0.45rem; border-radius: 999px; white-space: nowrap; }
.bubble.typing { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); display: flex; gap: 0.3rem; padding: 0.75rem 1rem; animation: seqTyping 7s ease-in-out infinite; }
.bubble.typing span { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--text-softer); animation: dotPulse 0.9s ease-in-out infinite; }
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotPulse { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes seqIn { 0% { opacity: 0; transform: translateY(6px); } 6% { opacity: 1; transform: translateY(0); } 85% { opacity: 1; transform: translateY(0); } 95%,100% { opacity: 0; } }
@keyframes seqTyping { 0%,16% { opacity: 0; } 22% { opacity: 1; } 40% { opacity: 1; } 46%,100% { opacity: 0; } }
@keyframes seqOut { 0%,44% { opacity: 0; transform: translateY(6px); } 50% { opacity: 1; transform: translateY(0); } 88% { opacity: 1; transform: translateY(0); } 96%,100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero .glow, .bubble, .bubble.typing span, .livedot { animation: none !important; }
  .bubble.in, .bubble.typing { opacity: 0; }
  .bubble.out { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero h1, .hero p.lead { max-width: 100%; }
}

/* Kleinere paginakop voor sub-pagina's */
.pagehero { padding: 9.5rem 1.6rem 3rem; border-bottom: 1px solid var(--line); }
.pagehero .inner { max-width: 46rem; margin: 0 auto; }
.pagehero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; margin: 0 0 0.9rem; }
.pagehero p { color: var(--text-soft); font-size: 1.02rem; max-width: 34rem; }

/* ---------- Verhaal: asymmetrisch twee-koloms, callout i.p.v. blok ---------- */
.verhaal { padding: 5.5rem 1.6rem; border-bottom: 1px solid var(--line); }
.verhaal .grid { max-width: 64rem; margin: 0 auto; display: grid; grid-template-columns: 16rem 1fr; gap: 3rem; }
.verhaal .label { position: sticky; top: 6rem; align-self: start; }
.verhaal h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.15; }
.verhaal .body p { color: var(--text-soft); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.2rem; max-width: 38rem; }
.callout {
  background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: 0.7rem; padding: 1.2rem 1.4rem; margin: 1.8rem 0; max-width: 38rem;
}
.callout .tag { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); display: block; margin-bottom: 0.5rem; }
.callout p { color: var(--text); font-size: 1.05rem; line-height: 1.55; margin: 0; }
@media (max-width: 760px) { .verhaal .grid { grid-template-columns: 1fr; } .verhaal .label { position: static; } }

/* ---------- Portfolio: kaarten op donker canvas ---------- */
.portfolio { padding: 5.5rem 1.6rem; border-bottom: 1px solid var(--line); }
.portfolio .inner, .case-detail .inner { max-width: 48rem; margin: 0 auto; }
.portfolio h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 2.4rem; max-width: 30rem; }
.case-row, .case-card {
  position: relative; display: grid; grid-template-columns: 4px 1fr auto; gap: 1.4rem; align-items: start;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.8rem;
  margin-bottom: 1.1rem; transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-row:hover, .case-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.case-row .bar, .case-card .bar { align-self: stretch; border-radius: 3px; }
.case-row .body, .case-card .body { min-width: 0; }
.case-row h3, .case-card h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.case-row .tag, .case-card .tag { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-softer); display: block; margin-bottom: 0.8rem; }
.case-row p, .case-card p { color: var(--text-soft); font-size: 0.96rem; max-width: 36rem; margin-bottom: 0.9rem; }
.case-row .visit, .case-card .visit { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--lime); font-weight: 700; font-size: 0.9rem; }
.case-row .go, .case-card .go { color: var(--lime); font-size: 1.2rem; padding-top: 0.15rem; }
.case-row a.link-overlay { position: absolute; inset: 0; border-radius: 1rem; }

/* ---------- Diensten ---------- */
.diensten { padding: 5.5rem 1.6rem; border-bottom: 1px solid var(--line); }
.diensten .inner { max-width: 62rem; margin: 0 auto; }
.diensten h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 2.6rem; max-width: 36rem; }
.diensten .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.diensten .item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.8rem; }
.diensten .item .verb { font-size: clamp(1.7rem, 3vw, 2.1rem); color: var(--lime); margin: 0 0 0.4rem; }
.diensten .item .cat { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-softer); margin: 0 0 0.9rem; }
.diensten .item p { font-size: 0.94rem; color: var(--text-soft); line-height: 1.65; }
@media (max-width: 760px) { .diensten .grid { grid-template-columns: 1fr; } }

.diensten-detail { padding: 0.5rem 1.6rem 5rem; }
.diensten-detail .inner { max-width: 46rem; margin: 0 auto; display: grid; gap: 1.4rem; }
.diensten-detail .item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 2rem; }
.diensten-detail .item .verb { font-size: clamp(1.9rem, 3.6vw, 2.4rem); color: var(--lime); margin: 0 0 0.3rem; }
.diensten-detail .item .cat { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-softer); margin: 0 0 1rem; }
.diensten-detail .item p { color: var(--text-soft); font-size: 0.97rem; line-height: 1.7; margin-bottom: 1rem; max-width: 38rem; }
.diensten-detail .item ul { margin: 0; padding-left: 1.2rem; color: var(--text-soft); font-size: 0.94rem; line-height: 1.9; }

/* ---------- CTA: kaart met gloed, geen full-bleed blok ---------- */
.ctaband { padding: 5rem 1.6rem; }
.ctaband .card {
  position: relative; max-width: 44rem; margin: 0 auto; text-align: center; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1.4rem; padding: 3rem 2rem;
}
.ctaband .card::before {
  content: ''; position: absolute; width: 24rem; height: 24rem; top: -12rem; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, var(--green-glow), transparent 70%); filter: blur(4px);
}
.ctaband h2 { position: relative; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.7rem; }
.ctaband p { position: relative; color: var(--text-soft); font-size: 1rem; margin-bottom: 1.8rem; }
.ctaband .btn { position: relative; display: inline-block; background: linear-gradient(100deg, var(--green), var(--lime)); color: #06210f; font-weight: 700; font-size: 0.95rem; padding: 0.85rem 1.8rem; border-radius: 999px; }

/* ---------- Contact ---------- */
.contact { padding: 5rem 1.6rem 6rem; }
.contact .inner { max-width: 40rem; margin: 0 auto; }
.contact h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.8rem; max-width: 26rem; }
.contact p.lead { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 2rem; }
.contact-line { display: flex; align-items: center; gap: 0.7rem; }
.contact-line svg { width: 20px; height: 20px; stroke: var(--lime); }
.contact-line a { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--text); border-bottom: 2px solid var(--lime); }

/* Overons (hergebruikt verhaal-stijl in enkele kolom) */
.overons { padding: 5rem 1.6rem; }
.overons .inner { max-width: 42rem; margin: 0 auto; }
.overons p { color: var(--text-soft); font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.3rem; }
.overons strong { color: var(--text); }

/* ---------- Footer ---------- */
footer { padding: 2.6rem 1.6rem; border-top: 1px solid var(--line); }
footer .inner { max-width: 56rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
footer .brand { display: flex; align-items: center; gap: 0.55rem; }
footer .brand svg { width: 22px; height: 22px; }
footer .brand span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; color: var(--text); font-size: 1rem; }
footer .fine { font-size: 0.82rem; color: var(--text-softer); text-align: right; line-height: 1.6; }
footer .fine .mono { color: var(--text-soft); }
footer .fine-link { color: var(--text-soft); border-bottom: 1px solid rgba(255,255,255,0.2); }

@media (max-width: 640px) {
  .case-row, .case-card { grid-template-columns: 3px 1fr; }
  .case-row .go, .case-card .go { display: none; }
  footer .inner { flex-direction: column; align-items: flex-start; }
  footer .fine { text-align: left; }
}
