:root {
  --navy:       #1B2A52;
  --navy-rich:  #111A38;
  --navy-muted: #8A9AC4;
  --cream:      #F4F5F9;
  --mist:       #E8EAF1;
  --ink:        #1A1C26;
  --stone:      #6B7080;
  --rule:       #D3D5E0;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ol  { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.eyebrow--light { color: var(--navy-muted); }

.lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--stone);
  max-width: 52ch;
}

.lead--light { color: var(--navy-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 1rem 2rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  transition:
    transform  0.25s var(--ease-out-quart),
    box-shadow 0.25s var(--ease-out-quart),
    background 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-3px); }

.btn--inv {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

.btn--inv:hover {
  box-shadow: 0 12px 40px rgba(17, 26, 56, 0.4);
}

.btn--ghost-inv {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 245, 249, 0.28);
}

.btn--ghost-inv:hover {
  background: rgba(244, 245, 249, 0.08);
  border-color: rgba(244, 245, 249, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.reveal--delay { transition-delay: 0.14s; }

.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.375rem 2rem;
  transition: background 0.35s var(--ease-out-quart), box-shadow 0.35s;
}

.nav.on-light {
  background: var(--cream);
  box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.3s;
}

.nav.on-light .nav-logo { color: var(--ink); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 245, 249, 0.65);
  transition: color 0.2s;
}

.nav.on-light .nav-cta      { color: var(--stone); }
.nav-cta:hover               { color: var(--cream); }
.nav.on-light .nav-cta:hover { color: var(--ink); }

.hero-enter {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.7s var(--ease-out-expo) forwards;
  animation-delay: calc(var(--d) * 0.1s + 0.2s);
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter { opacity: 1; transform: none; animation: none; }
}

.s-hero {
  background:
    radial-gradient(ellipse 110% 80% at 20% 55%, #253E7A 0%, #1B2A52 50%, #0F1830 100%);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 7rem;
  position: relative;
}

.s-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(244,245,249,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: center;
}

.hero-body .eyebrow { color: var(--navy-muted); }

h1 {
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.hero-body .lead { margin-bottom: 0; }

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}

.hero-portrait {
  position: relative;
}

.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(244, 245, 249, 0.12);
  border-radius: 8px;
  pointer-events: none;
  transition: border-color 0.5s, box-shadow 0.5s;
}

.hero-portrait:hover::before {
  border-color: rgba(244, 245, 249, 0.3);
  box-shadow: 0 0 60px rgba(138, 154, 196, 0.2);
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  transition: transform 0.6s var(--ease-out-expo), filter 0.6s ease;
}

.hero-portrait:hover img {
  transform: scale(1.03);
  filter: brightness(1.07) saturate(1.08);
}

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition:
    width  0.25s var(--ease-out-quart),
    height 0.25s var(--ease-out-quart),
    opacity 0.4s;
  background:
    radial-gradient(circle at 28% 26%,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.6) 18%,
      transparent 42%
    ),
    radial-gradient(circle at 70% 75%,
      rgba(255,255,255,0.4) 0%,
      transparent 28%
    ),
    conic-gradient(from 0deg at 50% 50%,
      rgba(255,255,255,0.9),
      rgba(255,182,193,0.7),
      rgba(255,255,255,0.8),
      rgba(173,216,255,0.65),
      rgba(255,255,255,0.85),
      rgba(198,230,198,0.6),
      rgba(255,255,255,0.9),
      rgba(230,200,255,0.6),
      rgba(255,255,255,0.9)
    );
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 2px 2px 6px rgba(255,255,255,0.8),
    inset -1px -1px 3px rgba(180,180,220,0.2),
    0 2px 10px rgba(0,0,0,0.12);
  animation: oilspin 5s linear infinite;
}

@keyframes oilspin {
  to { filter: hue-rotate(360deg) brightness(1.05); }
}

.custom-cursor.visible  { opacity: 1; }
.custom-cursor.hovering { width: 44px; height: 44px; }

@media (hover: hover) {
  html { cursor: none; }
  input, textarea, select { cursor: text; }
}

@media (hover: none) {
  .custom-cursor { display: none; }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(244, 245, 249, 0.12);
}

.stat { display: flex; flex-direction: column; gap: 0.125rem; }

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cream);
}

.stat-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-muted);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy-muted);
  letter-spacing: 0.02em;
  max-width: 12ch;
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(244, 245, 249, 0.12);
  flex-shrink: 0;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.3;
}

.scroll-hint span {
  width: 1px;
  height: 3.5rem;
  background: var(--cream);
  transform-origin: top;
  animation: scrollline 2s var(--ease-out-quart) infinite;
}

@keyframes scrollline {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  46%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  90%  { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
}

.s-about {
  background: var(--cream);
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-body h2 {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.about-body p {
  max-width: 58ch;
  margin-bottom: 1rem;
}

.about-body p:last-child { margin-bottom: 0; }

.testimonial {
  position: relative;
  background: var(--mist);
  padding: 2.75rem 2.5rem 2.5rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 1.75rem;
  font-size: 8rem;
  line-height: 1;
  font-weight: 800;
  color: var(--navy);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.testimonial blockquote p {
  font-size: 1.0625rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--ink);
  position: relative;
}

.s-diensten {
  background: var(--mist);
  padding: 8rem 0;
}

.diensten-header { margin-bottom: 3rem; }

.s-diensten h2 {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.diensten-list { border-top: 1px solid var(--rule); }

.diensten-item {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 2rem;
  padding: 2.25rem 1rem;
  margin: 0 -1rem;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  border-radius: 4px;
  transition: background 0.2s var(--ease-out-quart);
  overflow: hidden;
}

.diensten-item:hover { background: rgba(27, 42, 82, 0.05); }

.diensten-item::after {
  content: attr(data-num);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.2s;
}

.diensten-item:hover::after { opacity: 0.07; }

.num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  opacity: 0.5;
  padding-top: 0.25rem;
}

.diensten-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.diensten-body p {
  font-size: 1rem;
  color: var(--stone);
  max-width: 60ch;
}

.s-contact {
  background:
    radial-gradient(ellipse 120% 80% at 80% 50%, #253E7A 0%, #1B2A52 55%, #0F1830 100%);
  color: var(--cream);
  padding: 8rem 0;
}

.contact-body { max-width: 580px; }

.s-contact h2 {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.s-contact .lead { margin-bottom: 0; }

.contact-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}

.site-footer {
  background: var(--navy-rich);
  color: #7A85A8;
  padding: 1.5rem 0;
  font-size: 0.875rem;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-portrait {
    width: 180px;
    margin: 2rem auto 0;
  }

  .hero-portrait::before { display: none; }

  .hero-portrait img {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-position: top center;
  }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testimonial { margin-top: 0; }
  .diensten-item { grid-template-columns: 3.5rem 1fr; gap: 1.25rem; }
}

@media (max-width: 560px) {
  .s-hero,
  .s-about,
  .s-diensten,
  .s-contact { padding: 5rem 0; }

  .s-hero { padding-top: 7rem; }

  .hero-ctas,
  .contact-ctas { flex-direction: column; }

  .btn { width: 100%; }
}
