/* ==========================================================================
   Aspera-Dienstverlening concept site — design system
   Palette: deep obsidian/navy base, electric cyan + indigo accents,
   warm neutral ink. Editorial B2B aesthetic with generous whitespace.
   ========================================================================== */

:root {
  --bg: #0b1220;
  --bg-alt: #0e1626;
  --surface: #131c2c;
  --surface-2: #17222f;
  --line: #233147;
  --ink: #e8ecf4;
  --ink-soft: #b9c4d4;
  --ink-mute: #8fa1b8;
  --accent: #3ee6ff;
  --accent-deep: #5b6cff;
  --accent-soft: rgba(62, 230, 255, 0.12);
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --max: 1140px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
address { font-style: normal; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #06222b; padding: 10px 18px;
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(11, 18, 32, 0.94); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; color: var(--accent); }
.brand-mark { color: var(--accent); flex: none; }
.brand-sub {
  font-weight: 400; color: var(--ink-mute); font-size: 13px; margin-left: 6px;
  letter-spacing: 0.06em; text-transform: lowercase;
}
.nav-menu {
  display: flex; gap: 6px; list-style: none; margin: 0 0 0 auto; padding: 0;
}
.nav-menu a {
  color: var(--ink-soft); font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--ink); background: var(--accent-soft); text-decoration: none; }
.nav-cta {
  font-size: 14px; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(62, 230, 255, 0.4); padding: 8px 16px;
  border-radius: 999px; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--accent-soft); border-color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; margin-left: auto; padding: 9px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 5px 0;
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 18%, rgba(91, 108, 255, 0.14), transparent 60%),
    radial-gradient(900px 520px at 12% 82%, rgba(62, 230, 255, 0.07), transparent 60%),
    var(--bg);
}
.hero-visual { position: absolute; inset: 0; pointer-events: none; }
.hero-visual canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(143, 161, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 161, 184, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(38px, 6.4vw, 72px);
  letter-spacing: -0.028em; font-weight: 700; margin-bottom: 26px;
}
.hero-title em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--accent);
}
.hero-lede {
  font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft);
  max-width: 640px; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-values {
  display: flex; flex-wrap: wrap; gap: 26px;
  list-style: none; margin: 0; padding: 0;
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.hero-values li { display: inline-flex; align-items: center; gap: 9px; }
.value-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px rgba(62, 230, 255, 0.8);
}
.hero-motto {
  position: absolute; right: clamp(16px, 4vw, 56px); bottom: 28px;
  font-family: var(--serif); font-style: italic;
  color: rgba(143, 161, 184, 0.4); font-size: 15px; letter-spacing: 0.08em;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #59c7ff);
  color: #06222b; box-shadow: 0 8px 26px rgba(62, 230, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(62, 230, 255, 0.36); color: #06222b; }
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink-soft); background: rgba(19, 28, 44, 0.5);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 68px); }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.022em; }
.section-lede { color: var(--ink-soft); font-size: 18px; }
.kicker {
  font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-5px); border-color: rgba(62, 230, 255, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.card-icon {
  width: 44px; height: 44px; color: var(--accent); margin-bottom: 20px;
}

/* ---------- Vendors ---------- */
.vendor-grid {
  list-style: none; margin: 0 0 44px; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.vendor-grid li {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); padding: 22px 18px; text-align: center;
  font-weight: 650; font-size: 17px; letter-spacing: 0.02em; color: var(--ink-soft);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.vendor-grid li:hover { color: var(--accent); border-color: rgba(62, 230, 255, 0.45); transform: translateY(-3px); }
.ecosystem-note {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 24px 26px;
}
.ecosystem-note p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.ecosystem-note strong { color: var(--ink); }
.note-icon { width: 34px; height: 34px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- Journey ---------- */
.journey {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.journey-step {
  padding: 34px 26px 34px 0; border-top: 2px solid var(--line);
  position: relative;
}
.journey-step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px;
  background: var(--accent);
}
.journey-num {
  display: block; font-family: var(--serif); font-style: italic;
  font-size: 40px; color: rgba(62, 230, 255, 0.5); margin-bottom: 12px;
}
.journey-step h3 { font-size: 20px; }
.journey-step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Split layout ---------- */
.split {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1.1fr 0.9fr; align-items: center;
}
.split-text p { color: var(--ink-soft); font-size: 17px; }
.split-text h2 { font-size: clamp(26px, 3.6vw, 40px); color: var(--ink); }
.lifecycle-svg { width: 100%; max-width: 380px; margin: 0 auto; }

/* ---------- Values ---------- */
.values-row {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 52px;
}
.value-card {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
}
.value-card h3 { color: var(--accent); font-size: 21px; }
.value-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.kvk-strip {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  color: var(--ink-mute); font-size: 14.5px;
  border-top: 1px solid var(--line); padding-top: 34px;
}
.kvk-strip strong { color: var(--ink-soft); font-weight: 600; }

/* ---------- CTA / contact ---------- */
.cta-section {
  background:
    radial-gradient(800px 420px at 85% 20%, rgba(91, 108, 255, 0.12), transparent 65%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 34px;
}
.contact-card h3 { font-size: 21px; }
.contact-card p { color: var(--ink-soft); }
.contact-card a { font-weight: 600; }
.contact-hours { color: var(--ink-mute); font-size: 14px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: #090f1a;
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: 48px;
}
.footer-brand { margin-bottom: 14px; }
.footer-tag { color: var(--ink-mute); font-size: 14.5px; margin: 0; max-width: 300px; }
.footer-head {
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 16px; font-weight: 700;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--ink-soft); font-size: 15px; }
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
}
.footer-legal p { color: var(--ink-mute); font-size: 13px; margin: 0; }
.disclosure { font-style: italic; opacity: 0.75; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .vendor-grid li { transition: none; }
}

/* ---------- Selection, scrollbar & print polish ---------- */
::selection { background: rgba(62, 230, 255, 0.28); color: #f4fbff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #090f1a; }
::-webkit-scrollbar-thumb { background: #233147; border-radius: 6px; border: 2px solid #090f1a; }
::-webkit-scrollbar-thumb:hover { background: #2f4258; }

/* Subtle entrance for the hero eyebrow line */
.hero-eyebrow { position: relative; padding-left: 34px; }
.hero-eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px; background: var(--accent);
}

/* Card top accent hairline on hover */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  opacity: 0; transition: opacity 0.25s ease;
}
.card:hover::after { opacity: 1; }

/* Value card numbering accent */
.value-card h3 { position: relative; padding-top: 6px; }
.value-card h3::before {
  content: ""; display: block; width: 34px; height: 2px;
  background: var(--accent); margin-bottom: 14px; opacity: 0.7;
}

/* Journey step hover emphasis */
.journey-step { transition: background 0.25s ease; }
.journey-step:hover { background: rgba(62, 230, 255, 0.04); }

/* Contact card link affordance */
.contact-card a { border-bottom: 1px solid rgba(62, 230, 255, 0.35); }
.contact-card a:hover { border-bottom-color: var(--accent); text-decoration: none; }

/* Vendor tile focus for keyboard users */
.vendor-grid li:focus-within { border-color: var(--accent); }

/* Larger tap targets on coarse pointers */
@media (pointer: coarse) {
  .nav-menu a { padding: 14px; }
  .btn { padding: 16px 28px; }
}

/* Print: readable single-column document */
@media print {
  .site-header, .hero-visual, .hero-actions, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #111; font-size: 12pt; }
  .section, .section-alt { background: #fff; border: 0; padding: 24px 0; }
  .card, .value-card, .contact-card, .ecosystem-note { border: 1px solid #999; background: #fff; }
  .card p, .value-card p, .split-text p, .section-lede, .hero-lede { color: #333; }
  h1, h2, h3, .value-card h3 { color: #000; }
  .reveal { opacity: 1; transform: none; }
  .hero { min-height: auto; padding: 24px 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    flex-direction: column; gap: 2px;
    background: rgba(11, 18, 32, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px; margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { display: block; padding: 12px; font-size: 16px; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-fallback, .hero-visual canvas { opacity: 0.55; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
