/* Van Uffelen Design v2 — compact, licht, nuchter */

:root {
  --bg: #0c0f16;
  --bg-alt: #10141d;
  --white: #151a25;
  --ink: #f2f4fa;
  --ink-soft: #a2abc0;
  --line: rgba(255,255,255,.1);
  --blue: #6b93ff;
  --indigo: #8b8bef;
  --purple: #a78bfa;
  --grad: linear-gradient(100deg, #4f7cff, #8b5cf6);
  --radius: 16px;
  --shadow: 0 12px 38px rgba(0, 0, 0, .4);
  --ease: cubic-bezier(.22,.9,.28,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(1060px, 92vw); margin: 0 auto; }

h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 1.6rem; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--indigo); margin-bottom: .8rem; }
.muted { color: var(--ink-soft); font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.4rem; border-radius: 999px; border: none;
  font-weight: 600; font-size: .93rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(91,91,214,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(91,91,214,.4); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(12,15,22,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(24,34,80,.06); }
.header-inner { display: flex; align-items: center; gap: 1.8rem; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.02em; }
.logo em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800;
  box-shadow: 0 4px 14px rgba(91,91,214,.35);
}
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink-soft); transition: color .25s; }
.nav a:hover { color: var(--ink); }
.menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; margin-left: auto; padding: .4rem; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.mobile-nav { display: none; flex-direction: column; padding: .6rem 4vw 1.2rem; gap: .9rem; border-bottom: 1px solid var(--line); background: rgba(12,15,22,.97); }
.mobile-nav a { font-weight: 600; }
.header.open .mobile-nav { display: flex; }
.header.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 11rem 0 6rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 130%;
  background:
    radial-gradient(520px 320px at 22% 18%, rgba(79,124,255,.16), transparent 70%),
    radial-gradient(480px 300px at 80% 28%, rgba(139,92,246,.14), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.badge {
  display: inline-block; padding: .4rem 1rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 3px 12px rgba(24,34,80,.05);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.5rem;
}
.hero-sub { max-width: 36rem; margin: 1.4rem auto 2rem; font-size: 1.12rem; color: var(--ink-soft); }
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-usps { list-style: none; display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-usps li { font-size: .88rem; color: var(--ink-soft); position: relative; padding-left: 1.35rem; }
.hero-usps li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 700; }

/* Secties */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--bg-alt); }

/* Diensten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-featured { border-color: rgba(139,92,246,.45); background: linear-gradient(180deg, #171c29, #181a2e); }
.card-ico { font-size: 1.7rem; display: inline-block; margin-bottom: .9rem; }
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .93rem; color: var(--ink-soft); }

/* Voorbeeld */
.example { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.example-copy p { color: var(--ink-soft); }
.checks { list-style: none; margin-top: 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.checks li { position: relative; padding-left: 1.5rem; font-size: .95rem; color: var(--ink-soft); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.example-stats { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.stat-tile {
  width: 100%; text-align: center; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1rem; box-shadow: 0 6px 20px rgba(24,34,80,.05);
}
.stat-tile strong { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; }
.stat-tile strong small { font-size: 1.1rem; font-weight: 700; color: var(--ink-soft); }
.stat-tile span { font-size: .85rem; color: var(--ink-soft); }
.stat-good { border-color: rgba(74,222,128,.4); background: linear-gradient(180deg, #14201a, #12241a); }
.stat-good strong { color: #4ade80; }
.stat-arrow { font-size: 1.4rem; color: var(--ink-soft); }

/* Werkwijze */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.steps li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.step-nr {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 1rem;
}
.steps h3 { margin-bottom: .45rem; }
.steps p { font-size: .93rem; color: var(--ink-soft); }

/* Over */
.about { display: flex; gap: 2.2rem; align-items: center; }
.about-mark {
  flex: 0 0 auto; width: 110px; height: 110px; border-radius: 28px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, #4f7cff, #8b5cf6);
  box-shadow: var(--shadow);
}
.about-copy p { color: var(--ink-soft); max-width: 40rem; }
.about-copy p + p { margin-top: .7rem; }
.about-copy strong { color: var(--ink); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-copy p { color: var(--ink-soft); max-width: 26rem; }
.contact-mail { margin-top: 1.2rem; }
.contact-mail a { font-weight: 700; color: var(--indigo); border-bottom: 2px solid rgba(139,139,239,.4); }
.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow);
}
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(91,91,214,.12);
}
.form-success { color: #4ade80; font-weight: 600; font-size: .95rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-soft); }
.footer nav { display: flex; gap: 1.2rem; }
.footer a:hover { color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .example, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .nav, .header .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 8.5rem 0 4.5rem; }
  .about { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Contactformulier: honeypot + meldingen */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #f87171; font-weight: 600; font-size: .95rem; }

/* ── Toepassingenlijst ── */
.taken {
  margin-top: 2.2rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.7rem;
}
.taken-kop { font-weight: 700; margin-bottom: 1rem; }
.taken-lijst {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .6rem 1.6rem; margin-bottom: 1.1rem;
}
.taken-lijst li { position: relative; padding-left: 1.5rem; font-size: .93rem; color: var(--ink-soft); }
.taken-lijst li::before { content: "→"; position: absolute; left: 0; color: var(--indigo); font-weight: 700; }
.taken-slot { font-size: .93rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1rem; }

/* ── Demo-knop ── */
.demo-knop { margin-top: 1.4rem; }

/* ── Voor wie ── */
.wiewel { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.wie-kaart {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.wie-kaart h3 { margin-bottom: .9rem; }
.wie-kaart ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.wie-kaart li { position: relative; padding-left: 1.6rem; font-size: .93rem; color: var(--ink-soft); }
.wie-ja { border-color: rgba(74,222,128,.35); }
.wie-ja li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.wie-nee li::before { content: "–"; position: absolute; left: 0; color: var(--ink-soft); font-weight: 700; }

/* ── Prijzen ── */
.prijs-intro { color: var(--ink-soft); margin: -.8rem 0 1.8rem; }
.prijskaarten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.prijskaart {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .5rem;
}
.prijs-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); }
.prijs { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.prijskaart p { font-size: .89rem; color: var(--ink-soft); }
.prijs-featured { border-color: rgba(139,92,246,.45); background: linear-gradient(180deg, #171c29, #181a2e); }

@media (max-width: 900px) {
  .taken-lijst { grid-template-columns: 1fr; }
  .wiewel, .prijskaarten { grid-template-columns: 1fr; }
}

/* ── Werk / portfolio ── */
.werk-intro { color: var(--ink-soft); margin: -.8rem 0 1.8rem; }
.werk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.werk-kaart {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.werk-kaart:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(139,92,246,.4); }
.werk-visual {
  height: 150px; display: grid; place-items: center; font-size: 2.8rem;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.wv-groothart { background: linear-gradient(135deg, #7f1d1d, #b45309); }
.wv-u2 { background: linear-gradient(135deg, #1e293b, #0f172a); }
.werk-body { padding: 1.4rem 1.5rem 1.6rem; }
.werk-body h3 { margin-bottom: .2rem; }
.werk-tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: .7rem; }
.werk-body p { font-size: .92rem; color: var(--ink-soft); }
.werk-link { display: inline-block; margin-top: .9rem; font-weight: 600; font-size: .9rem; color: var(--indigo); }

@media (max-width: 900px) { .werk-grid { grid-template-columns: 1fr; } }

/* ═══════════ Premium effecten ═══════════ */

/* Shader-hero */
.hero { isolation: isolate; }
.hero-shader {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.2s var(--ease); z-index: -2;
}
.hero-shader.actief { opacity: .85; }
.hero-foto {
  position: absolute; inset: 0; z-index: -3;
  background: url('../img/hero.jpg') center/cover no-repeat;
  opacity: .35; filter: saturate(1.1);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 35%, transparent 78%);
}
.hero .container { will-change: transform, opacity; }

/* Mouse-spotlight over de hele pagina */
.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0;
  transition: opacity .6s var(--ease);
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 40%),
              rgba(99,102,241,.09), transparent 68%);
}
body.spot-aan .spotlight { opacity: 1; }

/* Kaarten: glans die de muis volgt + zachtere overgang */
.card, .werk-kaart, .prijskaart, .wie-kaart {
  position: relative; will-change: transform;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::after, .werk-kaart::after, .prijskaart::after, .wie-kaart::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%),
              rgba(139,92,246,.14), transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover::after, .werk-kaart:hover::after,
.prijskaart:hover::after, .wie-kaart:hover::after { opacity: 1; }

/* Knoppen: magnetisch + glow */
.btn-primary, .btn-ghost { will-change: transform; }
.btn-primary { position: relative; }
.btn-primary::before {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(15px); opacity: .4;
  transition: opacity .35s var(--ease);
}
.btn-primary:hover::before { opacity: .8; }

/* Headline: gradient-schijn die langzaam beweegt */
.accent {
  background: linear-gradient(100deg, #4f7cff, #8b5cf6 45%, #22d3ee 75%, #4f7cff);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: schuif 9s ease-in-out infinite;
}
@keyframes schuif { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Sectiekop krijgt een subtiele lichtlijn */
.section h2 { position: relative; }

/* Zachtere, gelaagde reveal */
.reveal { transform: translateY(26px) scale(.995); }
.reveal.visible { transform: none; }

/* Stat-tegels lichten op */
.stat-tile { transition: transform .4s var(--ease), border-color .4s; }
.stat-tile:hover { transform: translateY(-4px); }
.stat-good { box-shadow: 0 0 30px rgba(74,222,128,.12); }

@media (prefers-reduced-motion: reduce) {
  .hero-shader { display: none; }
  .accent { animation: none; }
}

/* Workflow-beeld als sfeerband achter de werkwijze */
.band-workflow { position: relative; isolation: isolate; overflow: hidden; }
.band-workflow::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url('../img/workflow.jpg') center/cover no-repeat;
  opacity: .18;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* Portfolio-thumbnails = echte screenshots */
img.werk-visual {
  display: block; width: 100%; height: 190px; object-fit: cover; object-position: top center;
  border-bottom: 1px solid var(--line); filter: saturate(1.05) brightness(.92);
  transition: filter .35s var(--ease), transform .6s var(--ease);
}
.werk-kaart:hover img.werk-visual { filter: saturate(1.15) brightness(1); transform: scale(1.03); }
.werk-kaart { overflow: hidden; }

/* Lopende projecten */
.lopend-kop {
  margin: 3rem 0 1.2rem; font-size: 1.05rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 700;
  display: flex; align-items: center; gap: .9rem;
}
.lopend-kop::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.werk-grid-lopend { grid-template-columns: 1fr 1fr; }
.werk-lopend { position: relative; border-color: rgba(139,92,246,.3); }
.lopend-badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: rgba(12,15,22,.78); border: 1px solid rgba(139,92,246,.5);
  backdrop-filter: blur(8px);
}
.werk-lopend .werk-visual { filter: saturate(.95) brightness(.85); }
.werk-lopend:hover .werk-visual { filter: saturate(1.1) brightness(1); }
@media (max-width: 900px) { .werk-grid-lopend { grid-template-columns: 1fr; } }
