/* ============================================================
   SYSO — Jouw complete ICT ontzorgd.
   Warm-minimalistische premium stijl: veel wit, enorme typografie,
   terracotta (#CC5C1D) als enige accent, zachte diepte.
   ============================================================ */

:root {
  /* Brand */
  --orange: #CC5C1D;
  --orange-deep: #8E3B10;
  --orange-soft: #E8845A;
  --orange-tint: #F8EBE2;

  /* Neutrals — warm, passend bij terracotta */
  --ink: #1C1714;
  --ink-soft: #5C544E;
  --paper: #FAF8F5;
  --paper-raised: #FFFFFF;
  --line: #EAE4DD;

  /* Dark sections */
  --night: #171210;
  --night-raised: #211A16;
  --night-text: #F5EFE9;
  --night-soft: #B5A89F;

  /* Type */
  --font-display: "Schibsted Grotesk", sans-serif;
  --font-mono: "Fragment Mono", monospace;

  /* Rhythm */
  --radius: 28px;
  --container: 1180px;
  --ease: cubic-bezier(.22, .8, .26, .99);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.br-desktop { display: none; }
@media (min-width: 720px) { .br-desktop { display: block; } }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }

.text-orange { color: var(--orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.eyebrow--light { color: var(--night-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head--light h2 { color: var(--night-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  will-change: transform;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(204, 92, 29, .55);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(204, 92, 29, .6);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn--small { padding: 11px 22px; font-size: .92rem; }
.btn--large { padding: 20px 42px; font-size: 1.12rem; }

/* ---------- Pulse dots ---------- */
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  animation: pulse 2.2s ease-in-out infinite;
}
.pulse-dot--green { background: #2EAD63; animation-name: pulse-green; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 92, 29, .45); }
  50%      { box-shadow: 0 0 0 7px rgba(204, 92, 29, 0); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 173, 99, .45); }
  50%      { box-shadow: 0 0 0 7px rgba(46, 173, 99, 0); }
}

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 245, .78);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { height: 26px; width: auto; }

.nav__links {
  display: flex;
  gap: 36px;
  font-size: .95rem;
  font-weight: 600;
}
.nav__links a {
  color: var(--ink-soft);
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 16px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  background: rgba(250, 248, 245, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 28px;
}
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__cta { color: var(--orange); border-bottom: none !important; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--paper);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img,
.hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero__video { z-index: 1; }            /* video over de poster-foto */

/* Lichte gradient zodat de donkere tekst links goed leesbaar blijft,
   en een zachte fade naar de statband onderaan. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(250, 248, 245, 0) 86%, var(--paper) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 820px) {
  .hero__bg img, .hero__bg video { object-position: 58% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(20, 16, 12, .46) 0%,
        rgba(20, 16, 12, .30) 36%,
        rgba(20, 16, 12, .08) 58%,
        rgba(20, 16, 12, 0)   74%),
      linear-gradient(to bottom, rgba(250, 248, 245, 0) 88%, var(--paper) 100%);
  }
  .hero__inner { align-items: flex-start; text-align: left; }
  .hero .hero__title { max-width: none; font-size: clamp(2rem, 8.2vw, 2.7rem); }
}

.hero__title {
  font-size: clamp(2.4rem, 5.9vw, 5.3rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.06;
  max-width: 20ch;
  color: #fff;
  text-shadow: 0 1px 2px rgba(20, 16, 12, .28), 0 6px 34px rgba(20, 16, 12, .32);
  display: grid;                 /* stapel de twee tekstfasen op elkaar */
}
.hero__line { display: block; }

/* ---------- Hero-intro: kop → SYSO. Aangenaam. ---------- */
.hero__phase { grid-area: 1 / 1; align-self: end; }   /* B start op hoogte 2e regel */

/* Fase A: "Jouw IT volledig ontzorgd." — zichtbaar, faadt na 3s uit */
.hero__phase--a { animation: hero-phase-a .6s ease 6s forwards; }
@keyframes hero-phase-a { to { opacity: 0; transform: translateY(-16px); } }

/* Fase B: "SYSO. Aangenaam." — faadt daarna in en blijft */
.hero__phase--b { opacity: 0; animation: hero-phase-b .85s var(--ease) 6.65s forwards; }
@keyframes hero-phase-b { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__sub {
  margin-top: 32px;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: rgba(255, 255, 255, .95);
  max-width: 620px;
  line-height: 1.65;
  text-shadow: 0 1px 2px rgba(20, 16, 12, .35), 0 2px 18px rgba(20, 16, 12, .3);
}

/* Ghost-knop op het beeld: wit zodat hij meekomt met de tekst */
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(2px);
}
.hero .btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

.hero__cta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}

/* Load-animatie: regels rijzen op bij binnenkomst */
.load-rise {
  opacity: 0;
  transform: translateY(28px);
  animation: load-rise .9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes load-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  border-block: 1px solid var(--line);
  background: var(--paper-raised);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(36px, 5vw, 56px) 0;
  gap: 24px;
}
.stat { text-align: center; }
.stat__value {
  display: block;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* ============================================================
   DIENSTEN — bento grid
   ============================================================ */
.services { padding: clamp(90px, 12vw, 150px) 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(30px, 3.4vw, 44px);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 30px 60px -24px rgba(28, 23, 20, .18);
}

.card--wide { grid-column: span 2; }

.card h3 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  margin-bottom: 14px;
}

.card__eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--orange);
  margin-bottom: 16px;
}
.card__eyebrow--orange { color: var(--orange-soft); }

.card__text {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 52ch;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--orange);
}
.card__link span { transition: transform .3s var(--ease); }
.card__link:hover span { transform: translateX(5px); }
.card__link--light { color: var(--orange-soft); }

/* — Dark card (AI Agents) — */
.card--dark {
  background:
    radial-gradient(420px 300px at 85% 110%, rgba(204, 92, 29, .28), transparent 70%),
    var(--night);
  border-color: rgba(255, 255, 255, .06);
  color: var(--night-text);
}
.card--dark .card__text { color: var(--night-soft); }
.card--dark:hover { box-shadow: 0 30px 60px -24px rgba(204, 92, 29, .35); }

.badge {
  position: absolute;
  top: 26px; right: 26px;
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange-soft);
  border: 1px solid rgba(232, 132, 90, .4);
  border-radius: 999px;
  padding: 5px 12px;
}

/* — Card-visuals — */

/* Marquee met M365-chips */
.marquee {
  margin-inline: calc(clamp(30px, 3.4vw, 44px) * -1);
  margin-bottom: calc(clamp(30px, 3.4vw, 44px) * -1 + 30px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.card--wide:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.chip {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
}

/* Node-netwerk (AI) */
.nodes svg { width: 100%; height: auto; }
.node-pulse { animation: node-pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes node-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(1.25); }
}

/* RDS-venster */
.window {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 18px;
}
.window__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.window__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.window__bar i:first-child { background: var(--orange-soft); }
.window__line {
  height: 9px;
  border-radius: 99px;
  background: var(--line);
  margin-bottom: 9px;
}
.window__line--accent { background: var(--orange-tint); margin-bottom: 0; }

/* Netwerk-status */
.status__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.status__bars { display: flex; gap: 4px; align-items: flex-end; }
.status__bars i {
  flex: 1;
  height: 22px;
  border-radius: 3px;
  background: var(--orange-tint);
}
.status__bars i:nth-child(3n)  { height: 28px; background: #F1D9C8; }
.status__bars i:nth-child(5n)  { height: 18px; }
.status__bars i:nth-child(7n)  { background: var(--orange-soft); opacity: .5; }

/* Website-scores */
.scores { display: flex; gap: 22px; }
.score { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.score__ring {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--orange) 360deg, var(--line) 0);
  position: relative;
}
.score__ring span {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper-raised);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .82rem;
  color: var(--ink);
}
.score__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .scores { justify-content: space-between; }
}

/* ============================================================
   WERKWIJZE — dark
   ============================================================ */
.process {
  position: relative;
  background: var(--night);
  color: var(--night-text);
  padding: clamp(90px, 12vw, 150px) 0;
  overflow: hidden;
}
.process__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 480px at 85% 0%, rgba(204, 92, 29, .14), transparent 65%),
    radial-gradient(600px 420px at 0% 100%, rgba(204, 92, 29, .08), transparent 60%);
}

.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--night-raised);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: clamp(30px, 3vw, 42px);
  transition: transform .5s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(204, 92, 29, .4); }
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: .95rem;
  color: var(--orange-soft);
  margin-bottom: 60px;
}
.step h3 { font-size: 1.45rem; margin-bottom: 12px; }
.step p { color: var(--night-soft); font-size: .98rem; }

@media (max-width: 880px) {
  .process__steps { grid-template-columns: 1fr; }
  .step__num { margin-bottom: 28px; }
}

/* ============================================================
   OVER
   ============================================================ */
.about { padding: clamp(90px, 12vw, 150px) 0; }

.about__text {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  border-top: 2px solid var(--orange);
  padding-top: 24px;
}
.pillar h4 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.pillar p { color: var(--ink-soft); font-size: .97rem; }

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

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  background: var(--night);
  color: var(--night-text);
  padding: clamp(110px, 14vw, 180px) 0;
  overflow: hidden;
  text-align: center;
}
.cta__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(720px 460px at 50% 115%, rgba(204, 92, 29, .3), transparent 70%);
}
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.cta p {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--night-soft);
}
.cta .btn { margin-top: 40px; }
.cta__tagline {
  margin-top: 48px !important;
  font-family: var(--font-mono);
  font-size: .82rem !important;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--orange-soft) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 84px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer__brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--ink-soft); font-size: .95rem; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.footer__col a, .footer__col span {
  font-size: .95rem;
  color: var(--ink);
  font-weight: 500;
}
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Preview-modus (?preview=1): compacte hero voor screenshots */
.preview-mode { scroll-behavior: auto; }
.preview-mode .hero { min-height: 720px; }
.preview-mode .load-rise { animation: none; opacity: 1; transform: none; }
.preview-mode .hero__video { display: none; }
.preview-mode .hero__phase--a { animation: none; opacity: 1; transform: none; }
.preview-mode .hero__phase--b { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load-rise, [data-reveal] {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__video { display: none; }
  .hero__phase--a { animation: none; opacity: 1; transform: none; }
  .hero__phase--b { display: none; }
  .marquee__track, .node-pulse, .pulse-dot { animation: none; }
}
