/* =========================================================================
   LUXS — Vastgoeddata SaaS
   Editorial-led design: Inter throughout, navy-led palette, green for CTA only.
   Self-contained, offline-first. All tokens derive from the Luxs brand book.
   ========================================================================= */

/* ---------- Fonts (bundled locally) ---------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- Design tokens -------------------------------------------- */
:root {
  /* Brand palette (from brand book) */
  --ink:        #253A57;  /* primary navy — headings, dark surfaces */
  --ink-deep:   #17273B;  /* deeper navy — footer / stat band */
  --ink-800:    #1F3350;
  --slate:      #617FA8;  /* light blue — muted, skyline mids */
  --coral:      #C84D3C;  /* primary accent (swatch RED) */
  --coral-bright:#D85A4C; /* logo X coral — gradient partner */
  --rust:       #A33D33;  /* deep accent */
  --go:         #2FB574;  /* CTA green (brand #3CC783, darkened for AA text) */
  --go-bright:  #3CC783;  /* brand CTA green for fills */
  --go-deep:    #219A61;  /* pressed */

  /* Neutrals */
  --paper:      #F4F6F9;  /* cool near-white canvas */
  --paper-2:    #EDF1F5;  /* alt section */
  --surface:    #FFFFFF;
  --line:       #E1E7EE;  /* hairline borders */
  --line-soft:  #EDF1F5;
  --grey:       #6B7686;  /* body-secondary (brand med grey, cooled) */

  /* Semantic text */
  --text:        var(--ink);
  --text-muted:  #566577;
  --text-faint:  #8996A6;
  --on-dark:        #FFFFFF;
  --on-dark-muted:  #AEBCCE;
  --on-dark-faint:  #7E8FA6;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  --fs-h1:      clamp(2.1rem, 1.3rem + 3.1vw, 3.6rem);
  --fs-h2:      clamp(1.7rem, 1.2rem + 1.9vw, 2.7rem);
  --fs-h3:      clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  --fs-lead:    clamp(1.075rem, 1rem + 0.35vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-label:   0.78rem;
  --fs-stat:    clamp(2.6rem, 1.6rem + 3.4vw, 4.2rem);

  /* Spacing / layout */
  --wrap: 1320px;
  --wrap-narrow: 880px;
  --gutter: clamp(1.15rem, 0.6rem + 2.5vw, 2.5rem);
  --section-y: clamp(4.5rem, 2.6rem + 6vw, 8.5rem);

  /* Radius */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow (cool navy-tinted) */
  --sh-sm: 0 1px 2px rgba(23,39,59,.06), 0 1px 1px rgba(23,39,59,.04);
  --sh:    0 4px 14px rgba(23,39,59,.07), 0 2px 5px rgba(23,39,59,.05);
  --sh-md: 0 14px 34px rgba(23,39,59,.10), 0 6px 12px rgba(23,39,59,.06);
  --sh-lg: 0 30px 70px rgba(23,39,59,.16), 0 12px 24px rgba(23,39,59,.08);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .5s;
}

/* ---------- Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05" 1, "ss03" 1;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 760;
  color: var(--ink);
  text-wrap: balance;
}
h3 { line-height: 1.2; letter-spacing: -0.014em; }
p { text-wrap: pretty; }

/* ---------- Layout helpers ------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-label); font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral);
}
.eyebrow::before {
  content: ""; width: 15px; height: 12px; flex: none;
  background: var(--coral);
  -webkit-mask: var(--chev) center/contain no-repeat;
          mask: var(--chev) center/contain no-repeat;
}
.eyebrow--light { color: var(--coral-bright); }
.eyebrow--light::before { background: var(--coral-bright); }

/* the Luxs ">" chevron mark, reused as a structural marker */
:root { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M1 1.6 8.4 8 1 14.4l2.2 1.6L12 8 3.2 0Z' fill='%23000'/%3E%3C/svg%3E"); }

.section-head { max-width: 760px; }
.section-head .title { font-size: var(--fs-h2); margin-top: .9rem; }
.section-head .lead { font-size: var(--fs-lead); color: var(--text-muted); margin-top: 1.1rem; line-height: 1.5; }
.center { text-align: center; margin-inline: auto; }

.lead { font-size: var(--fs-lead); color: var(--text-muted); }

/* ---------- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.35rem; border-radius: var(--r-pill); white-space: nowrap;
  font-weight: 620; font-size: var(--fs-sm); letter-spacing: -.005em;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background-color .2s, color .2s, border-color .2s;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }

/* Primary = green, reserved strictly for the demo CTA (brand rule) */
.btn--go {
  background: var(--go-bright); color: #06301D;
  box-shadow: 0 6px 18px rgba(60,199,131,.32);
}
.btn--go:hover { background: var(--go); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47,181,116,.42); }
.btn--go:hover svg { transform: translateX(3px); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-800); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--ink:hover svg { transform: translateX(3px); }

.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; transform: translateY(-2px); }

.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }

.textlink { color: var(--coral); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.textlink svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Nav ------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo .logo-light { display: none; }
.nav__links { display: flex; align-items: center; gap: .3rem; margin-left: 1rem; }
.nav__link {
  padding: .5rem .8rem; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 550;
  color: var(--ink); opacity: .82; transition: opacity .2s, background-color .2s;
}
.nav__link:hover { opacity: 1; background: rgba(37,58,87,.06); }
.nav__spacer { margin-left: auto; }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__menu-cta { display: none; }  /* shown only inside the mobile dropdown */

/* solid state on scroll */
.nav.is-solid { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }

/* language toggle */
.langtoggle { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.langtoggle button { padding: .42rem .62rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--text-faint); transition: color .2s, background-color .2s; }
.langtoggle button.is-active { background: var(--ink); color: #fff; }
.nav.is-solid .langtoggle { border-color: var(--line); }

/* burger */
.burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.burger span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (single column, plain tinted backdrop) --------------- */
.hero { position: relative; padding-top: 120px; overflow: hidden;
  min-height: clamp(620px, 90vh, 900px); display: flex; align-items: center;
  background: radial-gradient(70% 60% at 78% 28%, rgba(216,90,76,.05), transparent 60%), var(--paper);
}
.hero__content { position: relative; z-index: 3; max-width: 1000px; padding-block: 1rem 2rem; }
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.hero h1 .grad { color: var(--coral); }
.hero__lead { font-size: var(--fs-lead); color: var(--text-muted); font-weight: 450; margin-top: 1.5rem; max-width: 38em; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero__note { margin-top: 1.4rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-800); display: flex; align-items: center; gap: .5rem; }
.hero__note svg { width: 1.05em; height: 1.05em; color: var(--go); }

@media (max-width: 900px) {
  .hero { min-height: 88vh; padding-top: 104px; }
}

/* ---------- Lumi / de rol van AI -------------------------------------- */
/* Dark band between the reference strip and the product section, so Lumi's
   glowing face is the brightest thing on the page at that moment. */
.lumi {
  --lumi-w: clamp(300px, 40vw, 480px);
  --lumi-gap: clamp(2.4rem, 4vw, 3.4rem);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.lumi .title { color: #fff; }
.lumi .lead { color: rgba(255,255,255,.74); }
.lumi__intro {
  display: grid; grid-template-columns: minmax(0,1fr) var(--lumi-w);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.lumi__intro .section-head { max-width: 640px; }
.lumi__slogan {
  margin-top: 1.4rem; font-size: var(--fs-lead); font-weight: 450;
  color: rgba(255,255,255,.55);
}
/* the Luxs headline device: key words white, connective words grey */
.lumi__slogan b { color: #fff; font-weight: 750; }
/* The badge is a single rendered image — disc, rim glow and character together —
   matted so its halo composites onto the section gradient. No CSS ring: the glow
   in the artwork is a real light, not a border. */
.lumi__figure { justify-self: end; width: var(--lumi-w); }
.lumi__figure img { display: block; width: 100%; height: auto; }
.lumi__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: var(--lumi-gap); }
.lumi__cards { position: relative; z-index: 2; }
.lumicard {
  padding: 1.7rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.10);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s;
}
.lumicard:hover { transform: translateY(-4px); background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.18); }
/* the rule under the title used to hang off the removed OPTIMIZE/ENHANCE/BOOST
   label; it stays on the heading so the cards keep their structure */
.lumicard h3 {
  color: #fff;
  padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.lumicard p { color: rgba(255,255,255,.70); font-size: var(--fs-sm); }

@media (max-width: 900px) {
  .lumi__intro { grid-template-columns: 1fr; }
  .lumi { --lumi-w: clamp(220px, 58vw, 320px); }
  .lumi__intro { grid-template-columns: 1fr; }
  .lumi__figure { justify-self: start; margin-top: .4rem; }
  .lumi__cards { grid-template-columns: 1fr; }
}

/* ---------- Trusted / references strip -------------------------------- */
.trusted { border-top: 1px solid var(--line); }
.trusted__row { display: flex; align-items: center; gap: clamp(1.5rem,4vw,3.5rem); flex-wrap: wrap; }
.trusted__claim { flex: 1 1 260px; min-width: 240px; }
.trusted__claim .big { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.7rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.trusted__claim .big b { color: var(--coral); font-weight: 800; }
.trusted__claim .sub { color: var(--text-muted); font-size: var(--fs-sm); margin-top: .35rem; }
.logostrip { flex: 2 1 520px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem 1.6rem; align-items: center; }
.logostrip img { width: 100%; height: 34px; object-fit: contain; object-position: center; filter: grayscale(1); opacity: .55; transition: opacity .25s, filter .25s; }
.logostrip img:hover { opacity: .95; filter: grayscale(0); }

/* ---------- Product / functionalities --------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.pillar {
  padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.pillar__icn { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(37,58,87,.07); color: var(--ink); margin-bottom: 1.1rem; }
.pillar__icn svg { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { color: var(--text-muted); font-size: var(--fs-sm); }

/* feature showcase: sticky visual + list */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem,4vw,4.5rem); align-items: start; margin-top: 3.5rem; }
.feature__media { position: sticky; top: 96px; }
.feature__card {
  background: linear-gradient(180deg, #fff, #F7FAFC); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden;
}
.feature__card-top { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line-soft); background: #fff; }
.feature__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.feature__dot:nth-child(1){ background:#E4A79F; } .feature__dot:nth-child(2){ background:#EAD3A0; } .feature__dot:nth-child(3){ background:#A9D7BE; }
.feature__card-title { margin-left: .6rem; font-size: .8rem; font-weight: 600; color: var(--text-faint); }
.feature__card-body { padding: 1.25rem; }
.feature__mock { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-soft); }
.feature__mock img { width: 100%; height: 300px; object-fit: cover; }
.mockbar { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: #fff; border-top: 1px solid var(--line-soft); }
.mockbar .pill { font-size: .72rem; font-weight: 650; padding: .3rem .6rem; border-radius: var(--r-pill); background: rgba(47,181,116,.14); color: var(--go-deep); }
.mockbar .muted { font-size: .74rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }

.featurelist { display: flex; flex-direction: column; }
.fitem { padding: 1.35rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.fitem:first-child { border-top: 0; }
.fitem__no { font-size: .8rem; font-weight: 700; color: var(--coral); font-variant-numeric: tabular-nums; padding-top: .2rem; letter-spacing: .02em; }
.fitem h3 { font-size: var(--fs-h3); margin-bottom: .35rem; }
.fitem p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Data maturity model --------------------------------------- */
.maturity { background:
  radial-gradient(90% 120% at 100% 0%, rgba(97,127,168,.18), transparent 55%),
  linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%); color: #fff; overflow: hidden; position: relative; }
.maturity .title { color: #fff; }
.maturity .lead { color: var(--on-dark-muted); }
.maturity__slogan { margin-top: 1.4rem; font-size: var(--fs-h3); font-weight: 600; color: #fff; }
.maturity__slogan b { color: var(--coral-bright); font-weight: 700; }
/* Desktop reads "five ascending levels" straight off the bar-chart ladder and
   its Startpunt -> Volledig datagedreven axis. The mobile layout hides both
   (see the 860px block), so the steps need naming in words there instead. */
.ladder__heading { display: none; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; margin-top: 3.4rem; align-items: end; }
.step { position: relative; }
.step__bar { border-radius: 14px 14px 0 0; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
.step:nth-child(1) .step__bar { height: 74px;  }
.step:nth-child(2) .step__bar { height: 116px; }
.step:nth-child(3) .step__bar { height: 158px; }
.step:nth-child(4) .step__bar { height: 200px; }
.step:nth-child(5) .step__bar { height: 244px; }
.step__inner { padding: 1.1rem 1rem 0; }
.step__no { font-size: .74rem; font-weight: 700; color: var(--coral-bright); font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.step__persona { font-size: var(--fs-h3); font-weight: 720; margin-top: .5rem; color: #fff; letter-spacing: -.01em; }
.step__phase { font-size: var(--fs-sm); color: var(--on-dark-muted); margin-top: .25rem; }
.ladder__axis { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); font-size: var(--fs-sm); color: var(--on-dark-faint); }

/* Data-maturity hover cards */
.step { cursor: default; transition: transform .2s ease; }
.step:hover { transform: translateY(-3px); }
.step:hover .step__bar { border-color: rgba(216,90,76,.55); background: linear-gradient(180deg, rgba(216,90,76,.20), rgba(255,255,255,.03)); }
.step:hover .step__persona { color: var(--coral-bright); }
.step:focus-visible { outline: 2px solid var(--coral-bright); outline-offset: 5px; border-radius: 10px; }
.step:focus { outline: none; }
.step__inner { position: relative; }
.step__tip {
  position: absolute; left: 50%; bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(6px);
  width: 264px; max-width: 78vw; padding: 1rem 1.05rem 1.05rem;
  text-align: left; background: #0F1E30;
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease; z-index: 30;
}
.step:hover .step__tip, .step:focus-visible .step__tip, .step:focus-within .step__tip {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
/* lift each card to sit just above its own bar top, so the card steps up
   with the rising chart line instead of covering the bar (bar heights: 74/116/158/200/244) */
.step:nth-child(1) .step__tip { bottom: calc(100% + 88px); }
.step:nth-child(2) .step__tip { bottom: calc(100% + 130px); }
.step:nth-child(3) .step__tip { bottom: calc(100% + 172px); }
.step:nth-child(4) .step__tip { bottom: calc(100% + 214px); }
.step:nth-child(5) .step__tip { bottom: calc(100% + 258px); }
.step__tip-note { margin-top: .75rem; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; font-weight: 600; line-height: 1.4; color: var(--coral-bright); }
.step__tip-desc { margin: 0; font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.84); }
/* edge alignment so the first/last cards don't clip against the band */
.step:first-child .step__tip { left: 0; transform: translateX(0) translateY(6px); }
.step:first-child:hover .step__tip, .step:first-child:focus-visible .step__tip, .step:first-child:focus-within .step__tip { transform: translateX(0) translateY(0); }
.step:last-child .step__tip { left: auto; right: 0; transform: translateX(0) translateY(6px); }
.step:last-child:hover .step__tip, .step:last-child:focus-visible .step__tip, .step:last-child:focus-within .step__tip { transform: translateX(0) translateY(0); }

/* ---------- Pay-off / business cases ----------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.case {
  padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.case__metric { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.case__metric .u { font-size: .48em; font-weight: 700; color: var(--slate); letter-spacing: 0; }
.case h3 { font-size: 1.06rem; margin-top: .85rem; }
.case p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: .45rem; }
.case__tag { margin-top: auto; padding-top: 1.1rem; font-size: .8rem; font-weight: 600; color: var(--go-deep); display: inline-flex; align-items: center; gap: .4rem; }
.case__tag::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--go-bright); }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.4rem; margin-top: 1.1rem; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: 1.2rem 0; }
.benefit__icn { width: 38px; height: 38px; border-radius: 10px; background: rgba(200,77,60,.10); color: var(--coral); display: grid; place-items: center; }
.benefit__icn svg { width: 20px; height: 20px; }
.benefit h3 { font-size: .98rem; }
.benefit p { font-size: .84rem; color: var(--text-muted); margin-top: .2rem; }
.cases-foot { margin-top: 2rem; padding: 1.2rem 1.5rem; border-radius: var(--r); background: var(--paper-2); font-size: var(--fs-sm); color: var(--text-muted); border-left: 3px solid var(--coral); }

/* ---------- Client logo wall ------------------------------------------ */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2.6rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.wall__cell { background: #fff; aspect-ratio: 5 / 3; display: grid; place-items: center; padding: 1.5rem; transition: background-color .25s; }
.wall__cell:hover { background: var(--paper); }
.wall__cell img { max-height: 46px; max-width: 82%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: opacity .25s, filter .25s; }
.wall__cell:hover img { opacity: 1; filter: grayscale(0); }

/* ---------- Key statistics band --------------------------------------- */
.stats { background: var(--ink-deep); color: #fff; position: relative; overflow: hidden; }
.stats::before { /* faint hexagon nod */
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath d='M14 0 28 8v16l-14 8L0 24V8Zm28 0 14 8v16l-14 8-14-8V8Z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 48px;
}
.stats .eyebrow { color: var(--coral-bright); }
.stats .eyebrow::before { background: var(--coral-bright); }
.stats .title { color: #fff; }
.statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.5rem; margin-top: 3rem; position: relative; }
.stat { border-top: 2px solid rgba(255,255,255,.14); padding-top: 1.1rem; }
.stat__num { font-size: var(--fs-stat); font-weight: 800; letter-spacing: -.035em; line-height: .95; font-variant-numeric: tabular-nums; }
.stat__num .pre { color: var(--coral-bright); }
.stat__num .u { font-size: .42em; font-weight: 700; color: var(--slate); letter-spacing: 0; margin-left: .1em; white-space: nowrap; }
.stat__num { display: flex; align-items: baseline; flex-wrap: nowrap; white-space: nowrap; gap: .06em; }
.stat__label { color: var(--on-dark-muted); font-size: var(--fs-sm); margin-top: .55rem; max-width: 15em; }

/* ---------- CTA band + demo form -------------------------------------- */
.cta { position: relative; overflow: hidden; background:
  radial-gradient(80% 140% at 15% 0%, rgba(60,199,131,.18), transparent 50%),
  linear-gradient(180deg, var(--ink) 0%, #1D2F48 100%); color: #fff; }
.cta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.cta h2 { color: #fff; font-size: var(--fs-h1); }
.cta__lead { color: var(--on-dark-muted); font-size: var(--fs-lead); margin-top: 1.1rem; }
.cta__list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.cta__list li { display: flex; align-items: center; gap: .7rem; color: #E7EEF6; font-size: var(--fs-sm); }
.cta__list svg { width: 20px; height: 20px; color: var(--go-bright); flex: none; }

/* Demo form card — holds the HubSpot embed (see the HubSpot block in index.html) */
.form { background: #fff; border-radius: var(--r-xl); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--sh-lg); }
.form h3 { color: var(--ink); }
.form p.sub { color: var(--text-muted); font-size: var(--fs-sm); margin-top: .3rem; margin-bottom: 1.2rem; }
.hs-target { min-height: 300px; }
.hs-target iframe { width: 100% !important; border: 0; }

/* ---------- Footer ---------------------------------------------------- */
.footer { background: var(--ink-deep); color: var(--on-dark-muted); padding-block: clamp(5rem, 3rem + 5vw, 7rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; }
.footer__brand img { height: 30px; }
.footer__brand p { margin-top: 1.1rem; font-size: var(--fs-sm); max-width: 30ch; color: var(--on-dark-faint); }
.footer__contact { margin-top: 1.3rem; font-size: var(--fs-sm); display: flex; flex-direction: column; gap: .35rem; }
.footer__contact a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: .32rem 0; font-size: var(--fs-sm); color: var(--on-dark-muted); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: var(--on-dark-faint); }
.footer__bottom a:hover { color: #fff; }
.footer .langtoggle { border-color: rgba(255,255,255,.18); }
.footer .langtoggle button.is-active { background: #fff; color: var(--ink); }

/* ---------- Scroll reveal --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-stagger].in > * { opacity: 1; transform: none; }

/* ---------- Responsive ------------------------------------------------ */
@media (max-width: 1000px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { position: static; margin-bottom: 1rem; }
  .cta__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__menu .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; width: 100%; }
  .burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0; background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem var(--gutter) 1.5rem;
    display: none; box-shadow: var(--sh-md);
  }
  body.menu-open .nav__menu { display: flex; }
  .nav__menu .nav__link { padding: .8rem .4rem; font-size: 1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; opacity: 1; }
  .nav__menu-cta { display: inline-flex; margin-top: .9rem; }
  .nav__cta { display: none; }
  .pillars, .cases { grid-template-columns: 1fr; }
  .ladder__heading { display: block; margin-top: 2.8rem; font-size: 1.0625rem;
    font-weight: 700; color: #fff; letter-spacing: -.01em;
    padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.14); }
  .ladder { grid-template-columns: 1fr; gap: .6rem; align-items: stretch; margin-top: 1.1rem; }
  .step__bar { display: none; }
  .step { border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 1rem 1.1rem; background: rgba(255,255,255,.04); }
  .step:hover { transform: none; }
  .step__inner { padding: 0; }
  .ladder__axis { display: none; }
  /* tooltips become inline detail on the stacked mobile layout */
  .step__tip { position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none !important; width: auto; max-width: none; margin-top: .8rem; padding: 0;
    background: none; border: 0; box-shadow: none; }
  .step__tip-desc { color: var(--on-dark-muted); }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.2rem); }
}
@media (max-width: 560px) {
  .trusted__row { flex-direction: column; align-items: flex-start; }
  /* The flex-basis on these two is a WIDTH in the desktop row layout, but
     becomes a HEIGHT once the row turns into a column - padding the claim out
     to 260px and stretching the logo grid's rows to fill 520px. Size to
     content instead. */
  .trusted__claim, .logostrip { flex: 0 0 auto; width: 100%; }
  .logostrip { grid-template-columns: repeat(3, 1fr); }
  .statgrid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .skyline__layer { transform: translateX(-50%) !important; }
}

/* ==================== SOFTWARE (4 stilstaande kaarten) ==================== */
#swanim { --sa-g2:#9AA6B4; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
#swanim .sa-eyebrow { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); font-weight: 800; }

#swanim .sa-short { position: relative; height: 200vh; }
#swanim .sa-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(.9rem, 2.2vh, 1.6rem); overflow: hidden; }
/* A short with no frame sequence and no timed overlays needs no scroll runway:
   it sits in flow at its natural height instead of 200vh of dead scroll. */
#swanim .sa-short--still { height: auto; }
#swanim .sa-short--still .sa-stage { position: static; height: auto; padding: clamp(28px, 6vh, 64px) 0; }
#swanim .sa-card { position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 10; max-height: calc(100vh - 190px); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: 0 40px 90px -46px rgba(23,39,59,.5), 0 0 0 1px rgba(37,58,87,.06); }
#swanim .bed { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }

#swanim .ovl { position: absolute; inset: 0; pointer-events: none; }
#swanim .chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .8rem; font-size: .8rem; font-weight: 700; color: var(--ink); white-space: nowrap; box-shadow: 0 10px 26px -12px rgba(23,39,59,.5); display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
#swanim .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
#swanim .chip.in { opacity: 1; transform: none; }
#swanim .cap { width: min(1000px, 100%); text-align: left; }
#swanim .cap .sa-eyebrow { display: block; font-size: .72rem; }
#swanim .cap h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem); line-height: 1.12; letter-spacing: -.025em; margin: .3rem 0 .35rem; color: var(--ink); }
#swanim .cap p { font-size: clamp(.9rem, .86rem + .2vw, 1rem); color: var(--grey); line-height: 1.5; max-width: 62ch; }

#swanim .filterchip { opacity: 0; }

/* short 3 — data panel */
#swanim .panel { position: absolute; left: 6%; top: 8%; width: min(430px, 52%); height: 84%; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(23,39,59,.4); overflow: hidden; display: flex; flex-direction: column; opacity: 0; transform: translateX(-18px) scale(.99); transition: opacity .55s, transform .55s; }
#swanim .panel.in { opacity: 1; transform: none; }
#swanim .panel__hd { padding: 14px 18px; border-bottom: 1px solid var(--line); }
#swanim .panel__hd .k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sa-g2); font-weight: 800; }
#swanim .panel__hd .t { font-size: 1.1rem; font-weight: 800; margin-top: 2px; color: var(--ink); }
#swanim .panel__tabs { display: flex; gap: 6px; padding: 10px 18px 0; flex-wrap: wrap; }
#swanim .tab { font-size: .72rem; font-weight: 700; color: var(--grey); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .6rem; }
#swanim .tab--on { color: #fff; background: var(--ink); border-color: var(--ink); }
#swanim .rows { padding: 8px 18px 16px; overflow: hidden; }
#swanim .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-10px); transition: opacity .45s, transform .45s; }
#swanim .row.in { opacity: 1; transform: none; }
#swanim .row .l { font-size: .82rem; color: var(--grey); font-weight: 600; }
#swanim .row .v { font-size: .82rem; font-weight: 800; color: var(--ink); }
#swanim .badge { font-size: .68rem; font-weight: 800; padding: .2rem .5rem; border-radius: 6px; }
#swanim .badge--label { background: var(--ink); color: #fff; }
#swanim .badge--ok { background: rgba(97,127,168,.16); color: #3b567c; }
/* anchored to the bottom so the .unithl tag above stays visible */
#swanim .side { position: absolute; right: 6%; bottom: 8%; width: 32%; display: flex; flex-direction: column; gap: 12px; }
#swanim .sa-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: 0 20px 40px -26px rgba(23,39,59,.4); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
#swanim .sa-stat.in { opacity: 1; transform: none; }
#swanim .sa-stat .n { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
#swanim .sa-stat .n.coral { color: var(--coral); }
#swanim .sa-stat .n.ink { color: var(--ink); }
#swanim .sa-stat .d { font-size: .75rem; color: var(--grey); margin-top: 2px; line-height: 1.4; }

/* short 3 — 2.5D floor labels (rooms + areas) */
#swanim .card--floor { background: var(--paper); }
#swanim .rlab { position: absolute; transform: translate(-50%,-50%) translateY(7px); background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 11px; padding: .32rem .62rem; text-align: center; box-shadow: 0 12px 26px -12px rgba(23,39,59,.55); opacity: 0; transition: opacity .5s, transform .5s; white-space: nowrap; }
#swanim .rlab.in { opacity: 1; transform: translate(-50%,-50%); }
#swanim .rlab .rn { display: block; font-size: .78rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; }
#swanim .rlab .ra { display: block; font-size: .68rem; font-weight: 800; color: var(--coral); margin-top: 1px; }

/* short 4 — "highlight the whole unit" beat (before the data panel) */
#swanim .unithl { position: absolute; border: 3px solid var(--coral); border-radius: var(--r); background: rgba(200,77,60,.06); box-shadow: 0 0 0 5px rgba(200,77,60,.14), 0 30px 60px -30px rgba(200,77,60,.5); opacity: 0; transform: scale(.985); transition: opacity .55s, transform .55s; }
#swanim .unithl.in { opacity: 1; transform: none; }
#swanim .unithl .tag { position: absolute; top: -13px; right: 16px; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .02em; padding: .28rem .6rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(200,77,60,.7); }

@media (max-width: 760px) {
  #swanim .sa-card { width: 100%; }
  #swanim .cap { width: 100%; }
  #swanim .panel { width: 62%; }
  #swanim .side { width: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  #swanim .sa-short { height: auto; }
  #swanim .sa-stage { position: static; height: auto; padding: 22px 0; }
}
