/* ------------------------------------------------
   KAIZAR – CORE THEME
   ------------------------------------------------ */


:root {
  /* Brand background – dieper zwart met subtiele cosmic blauw-paars voor abyss effect */
  --bg: #03040a;              /* dieper almost-black met koel blauw-paars */
  --bg-alt: #05070f;          /* subtle elevation met paars tint */
  --bg-elevated: #0a0c16;     /* cards met meer blauw-paars diepte */
  --bg-elevated-high: #0c0e1c; /* extra elevation - cosmic abyss */

  /* Deep Ruby Red – rijk, premium, niet fel of kinderachtig */
  --accent: #b91c29;          /* deep ruby red - demonisch rijk, premium */
  --accent-bright: #d32f3e;   /* helderder ruby voor hover states */
  --accent-soft: color-mix(in srgb, var(--accent) 65%, transparent);
  --accent-soft-low: color-mix(in srgb, var(--accent) 28%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 22%, transparent);
  --accent-glow-strong: color-mix(in srgb, var(--accent) 45%, transparent);

  /* Link kleuren - diep gedempter ruby rood, wel uitstekend accent */
  --link-color: #c8323d;      /* deep muted ruby - zwaarder, geen zalm */
  --link-hover: #d32f3e;      /* accent-bright - iets lichter bij hover */
  --link-border: rgba(185, 28, 41, 0.4);  /* gedempte ruby border */

  /* Cosmic abyss – zeer subtiel diep blauw-paars voor tech/mystery/cosmic vibe */
  --cosmic-abyss: rgba(15, 9, 32, 0.4);     /* diep paars-blauw afgrond */
  --cosmic-shimmer: rgba(26, 15, 46, 0.25); /* glazen paarse shimmer */
  --cosmic-glow: rgba(88, 70, 130, 0.08);   /* subtiele paarse glow */

  /* Warm highlight voor premium/elite gevoel */
  --highlight: #f0eee6;       /* warm ivoor highlight - subtiel geel */
  /* Typography – warm, subtiele geelachtige tint voor premium look */
  --text-main: #e8e6df;       /* hoofdtekst - warm ivoor, subtiel geel */
  --text-soft: #cfcdc5;       /* paragrafen - warm grijs */
  --text-muted: #9a9890;      /* captions - warm muted */



  /* Borders – strakke digitale lijnen met subtiele paarse tint */
  --border-subtle: rgba(200, 205, 230, 0.06);  /* kaart-omlijning, koeler */
  --border-strong: rgba(180, 185, 220, 0.2);  /* dividers, koeler paars */

  /* Layout */
  --page-width: 1120px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  /* Shadows – refined system, no sci-fi glows */
  --shadow-minimal: 0 1px 4px rgba(0, 0, 0, 0.3);

  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.4);

  --shadow-elevated:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.3);

  --shadow-deep:
    0 6px 20px rgba(0, 0, 0, 0.6),
    0 16px 48px rgba(0, 0, 0, 0.8),
    0 32px 96px rgba(0, 0, 0, 0.98),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  /* Transitions */
  --t-fast: 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --t-med: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



/* ------------------------------------------------
   RESET & BASE
   ------------------------------------------------ */

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg);
}

/* Custom text selection - ruby glow */
::selection {
  background-color: rgba(185, 28, 41, 0.35);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(185, 28, 41, 0.6);
}

::-moz-selection {
  background-color: rgba(185, 28, 41, 0.35);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(185, 28, 41, 0.6);
}
  background-image:
  radial-gradient(circle at 20% 0%, rgba(255,255,255,0.03) 0%, transparent 65%),
  radial-gradient(circle at 80% 100%, rgba(255,0,0,0.05) 0%, transparent 70%),
  radial-gradient(circle at 1px 1px, rgba(255,255,255,0.015) 0, transparent 2px);
  background-size: auto, auto, 5px 5px; /* laatste laag = micro-noise */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

}

body {
  will-change: background-position;
}

/* Subtiele noise overlay */

body::before {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: -30%;
  z-index: -3;
  background:
    radial-gradient(ellipse at 8% -15%, rgba(185, 28, 41, 0.28), transparent 50%),
    radial-gradient(ellipse at 92% 115%, rgba(165, 25, 38, 0.22), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(120, 18, 28, 0.15), transparent 60%),
    radial-gradient(circle at 35% 65%, var(--cosmic-shimmer), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.04), transparent 45%);
  opacity: 0.95;
  mix-blend-mode: screen;
  animation: ambient-pulse 20s ease-in-out infinite alternate;
}

@keyframes ambient-pulse {
  0% { opacity: 0.90; }
  50% { opacity: 1; }
  100% { opacity: 0.90; }
}


/* LAYER 2 – subtle digital grid */
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    );
  background-size: 80px 80px, 80px 80px;
  opacity: 0.14;
  mix-blend-mode: soft-light;
}

/* LAYER 3 – micro-noise overlay op de content zelf */
.page {
  position: relative;
  z-index: 0;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.20;
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08) 0.5px, transparent 0.5px),
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.06) 0.5px, transparent 0.5px),
    radial-gradient(circle at 0 100%, rgba(0, 0, 0, 0.75) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

/* LAYER 4 – subtiele scanline effect voor sci-fi gevoel */
.page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.08) 0px,
    transparent 1px,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 3px
  );
  opacity: 0.15;
  mix-blend-mode: multiply;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* Global links */

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  text-decoration: underline;
  color: var(--text-main);
}

/* Cursor glow effect - subtiel, high-tech */
body {
  cursor: default;
}

a, button, .btn-primary, .btn-secondary, .nav-cta {
  cursor: pointer;
  position: relative;
}

a:hover, button:hover {
  filter: brightness(1.1);
}

/* Page container */

.page {
  width: min(var(--page-width), 100% - 3rem);
  margin: 0 auto;
  padding: 5.5rem 0 0;
  min-height: calc(100vh - 5.5rem);
}

.page main {
  padding-bottom: 4.75rem;
}

/* Generic sections */

section {
  margin-bottom: 4rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

.section-label {
  font-size: 0.86rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 0.9rem;
}

.section-title {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  will-change: transform;
  transition: transform 0.25s ease-out;
  margin: 0 0 1.2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 25%, #e8e8e8 50%, #f5f5f5 75%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 28, 41, 0.35) 0%, rgba(185, 28, 41, 0.2) 60%, transparent 100%);
  opacity: 0.6;
}

/* Removed accent-pulse animation - too playful */

.section-intro {
  margin: 0 0 1.6rem;
  margin-top: 1.1rem;
  margin-bottom: 0.9rem;
  max-width: 40rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ------------------------------------------------
   HEADER / NAVIGATION
   ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%),
    linear-gradient(
      to bottom,
      rgba(3, 4, 10, 0.98),
      rgba(3, 4, 10, 0.92),
      rgba(3, 4, 10, 0.88),
      transparent
    );
  border-bottom: 1px solid rgba(200, 205, 230, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  width: min(var(--page-width), 100% - 3rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.1rem 0.55rem;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-title {
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff, #f5f5f5, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(185, 28, 41, 0.2));
  transition: filter var(--t-med);
}

.brand:hover .brand-title {
  filter: drop-shadow(0 2px 12px rgba(185, 28, 41, 0.35));
}

/* Logo breathing - subtle scale pulse + rare glitch */
.brand-title {
  animation: logo-breathe 4s ease-in-out infinite, logo-glitch 15s step-end infinite;
}

@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

/* Rare digital glitch - suggests barely-contained power */
@keyframes logo-glitch {
  0%, 98%, 100% {
    text-shadow: none;
    transform: translate(0, 0);
  }
  98.5% {
    text-shadow:
      -1px 0 rgba(185, 28, 41, 0.7),
      1px 0 rgba(56, 189, 248, 0.7);
    transform: translate(-1px, 0);
  }
  99% {
    text-shadow:
      1px 0 rgba(185, 28, 41, 0.7),
      -1px 0 rgba(56, 189, 248, 0.7);
    transform: translate(1px, 0);
  }
}

/* Main nav */

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text-soft);
  text-decoration: none;
  padding-bottom: 0.2rem;
  position: relative;
  transition: color var(--t-fast);
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  box-shadow:
    0 0 8px rgba(185, 28, 41, 0.7),
    0 0 16px rgba(185, 28, 41, 0.5),
    0 0 24px rgba(185, 28, 41, 0.3);
  transition: width var(--t-med);
}

nav a:hover {
  color: var(--text-main);
}

nav a:hover::before {
  width: 100%;
}

/* Active page indicator - subtiele witte underline */
nav a.nav-active {
  color: var(--text-main);
}

nav a.nav-active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
  transition: none;
}

/* Active state blijft zichtbaar bij hover */
nav a.nav-active:hover::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Nav CTA */

.nav-cta {
  padding: 0.32rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(185, 28, 41, 0.28), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  box-shadow: var(--shadow-soft);
  transition:
    background var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-fast);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
  border-radius: 999px; /* Match parent border-radius */
}

.nav-cta:hover {
  text-decoration: none;
  border-color: var(--accent-bright);
  background:
    radial-gradient(circle at top left, rgba(211, 47, 62, 0.25), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
}

.nav-cta:hover::before {
  opacity: 1;
}

/* Language switch */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.lang {
  padding: 0.32rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text-soft);
  cursor: pointer;
  position: relative;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.lang:hover {
  color: var(--text-main);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.15);
}

.lang-active {
  border-color: var(--accent-soft);
  background:
    radial-gradient(circle at top, rgba(185, 28, 41, 0.3), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  color: var(--text-main);
  box-shadow:
    0 0 0 1px rgba(185, 28, 41, 0.15),
    0 2px 8px rgba(185, 28, 41, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ------------------------------------------------
   HERO
   ------------------------------------------------ */

.hero {
  position: relative;
  min-height: calc(100vh - 5.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  text-align: left;
  overflow: hidden;
  /* Ominous upward shadow - REMOVED (was creating visible outline) */
}


.hero > div {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-left: clamp(5rem, 12vw, 11rem); /* schuif blok uit het midden naar links */
}

.hero-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.hero-heading {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 1.3rem;
  text-align: left;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f8f8f8 20%,
    #f0f0f0 40%,
    #e8e8e8 50%,
    #f0f0f0 60%,
    #f8f8f8 80%,
    #ffffff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  animation: hero-shimmer 60s ease-in-out infinite;
  position: relative;
}

/* Refined hover - subtle lift, no cyberpunk glitch */
.hero-heading:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

@keyframes hero-glow {
  0% { filter: drop-shadow(0 4px 20px rgba(185, 28, 41, 0.4)) drop-shadow(0 0 40px rgba(185, 28, 41, 0.18)); }
  100% { filter: drop-shadow(0 4px 24px rgba(185, 28, 41, 0.5)) drop-shadow(0 0 48px rgba(185, 28, 41, 0.22)); }
}

@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  margin-top: 0.9rem;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a7a7a7;
  opacity: 0.9;
}

.hero-sub-goal {
  margin-top: 1rem;
  max-width: 32rem;                /* smaller: oogt exclusiever en rustiger */
  margin-inline: auto;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #dadada;
  opacity: 1;                      /* fallback voor browsers waar animatie niet werkt */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.1rem;             /* subtiele scheiding van de Engelse tagline */
  animation: hero-sub-goal-fade 1.2s ease-out forwards;
}

/* Animatie: start onzichtbaar alleen als animaties ondersteund worden */
@supports (animation-fill-mode: forwards) {
  .hero-sub-goal {
    opacity: 0;
  }
}

/* Alles linkslijnend */
.hero-heading,
.hero-sub,
.hero-sub-goal {
  text-align: left;
}


.hero-cta-row {
  margin-top: 1.8rem;
}
.hero-sub-goal-break {
  display: inline;
}

@media (max-width: 640px) {
    .hero {
      padding: 5rem 1.5rem 3rem;     /* iets smaller, meer ruimte op klein scherm */
    }
  .hero-heading {
    font-size: 1.6rem;
    letter-spacing: 0.18em;
  }
  .hero > div {
    margin-left: 0;                 /* NIET meer naar rechts duwen */
  }
  .hero-sub-goal {
    max-width: 87%;
    font-size: 0.95rem;
  }
  .hero-sub-goal-break {
    display: none;
  }
}

/* iOS WebView fix - prevents first letter clipping */
.ios-webview .hero-heading {
  padding-left: 0.05em;
}

@keyframes hero-sub-goal-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------
   BUTTONS
   ------------------------------------------------ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
  margin-top: 0.4rem;
  position: relative;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;

  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent) 22%, transparent),
    transparent 60%
  );
  border: 1px solid var(--accent-soft);
  color: var(--text-main);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow var(--t-med),
    border-color var(--t-fast),
    background var(--t-med);
}

.btn-primary:hover {
  text-decoration: none;
  border-color: var(--accent-bright);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-bright) 22%, transparent),
    color-mix(in srgb, var(--accent) 8%, transparent) 60%,
    transparent 80%
  );
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 0 0 1px rgba(185, 28, 41, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.6),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Secondary button - subtiel, elegant */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
  margin-top: 0.4rem;

  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4);
  transition:
    transform var(--t-fast),
    box-shadow var(--t-med),
    border-color var(--t-fast),
    background var(--t-med);
}

.btn-secondary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.6);
}

.btn-secondary:active {
  transform: translateY(0);
}


.filter-btn {
  border-radius: 8px;
  border: 1px solid rgba(227, 228, 231, 0.16);
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform 0.1s ease-out;
}

.filter-btn.active {
  background: var(--accent-soft-low);
  border-color: var(--accent-soft);
  color: #ffffff;
}

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

/* ------------------------------------------------
   ABOUT / SERVICES
   ------------------------------------------------ */

#about {
  max-width: 960px;          /* smaller dan page-width */
  margin: 0 auto 4.5rem;     /* centreren + lucht eronder */
}



.accent-word {
  color: var(--accent-soft);
  font-weight: 500;
}

.accent-word strong {
  font-weight: inherit;
}

/* Intro: tekst + foto */

.about-intro {
  display: flex;
  align-items: flex-start;
  gap: 2.7rem;
  margin-bottom: 2.6rem;
}

.about-intro-text {
  flex: 1.6;
}

.about-highlight {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--accent-soft);
}

.about-highlight strong {
  color: var(--accent-soft);
}

/* Foto-kaart */


.about-photo-frame {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0.9rem 0.7rem;
  margin-left: auto;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.10), rgba(12, 12, 18, 1));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.08);
  max-width: 220px;
  transform: translateY(4px);
}

.about-photo-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}




.about-photo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  opacity: 0.95;
  flex-shrink: 0;
  margin: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  filter: grayscale(80%) contrast(1.14) brightness(0.96);
}

.about-signature {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(226, 227, 235, 0.78);
  max-width: 120px;
  text-align: center;
}

.about-signature strong {
  font-weight: 600;
  color: #f3f4ff;
}

/* Kaart-layout onder intro */

.about {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: 2.2rem;
  align-items: stretch;
}

.about ul {
  padding-left: 0.8rem;
  margin-top: 1rem;
}

/* Generieke kaart – high-status met subtiele gloed */

.about-block,
.tech-card {
  position: relative;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 12%, transparent) 0%, var(--bg-elevated) 65%),
    radial-gradient(circle at bottom right, var(--cosmic-shimmer), transparent 70%),
    radial-gradient(ellipse at center, var(--cosmic-glow), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 60%),
    linear-gradient(200deg, rgba(255, 255, 255, 0.05) 0%, transparent 25%, transparent 75%, var(--cosmic-abyss) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 205, 230, 0.12);
  box-shadow: var(--shadow-elevated);
  padding: 1.5rem 1.65rem 1.3rem;
  font-size: 0.94rem;
  color: var(--text-soft);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-med),
    background var(--t-med);
  overflow: hidden;
}

.about-block::before,
.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity var(--t-med);
}

.about-block::after,
.tech-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.15) 70%, transparent);
  opacity: 0.5;
}

/* HOVER EFFECTS DISABLED - only clickables should have hover */
/* .about-block:hover,
.tech-card:hover {
  transform: translateY(-3px) scale(1.005);
  border-color: rgba(185, 28, 41, 0.4);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, transparent) 0%, var(--bg-elevated) 60%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.02), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(185, 28, 41, 0.3),
    0 0 20px rgba(185, 28, 41, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 20px 48px rgba(0, 0, 0, 0.85),
    0 36px 80px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-block:hover::before,
.tech-card:hover::before {
  opacity: 0.9;
} */

/* FAQ cards - no hover effects */
#faq .about-block:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 12%, transparent) 0%, var(--bg-elevated) 65%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.015), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 60%);
  box-shadow: var(--shadow-elevated);
}

#faq .about-block:hover::before {
  opacity: 0.6;
}

.about-block h3,
.tech-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
}

.about-block h3::after {
  content: "";
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  width: 35px;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 28, 41, 0.3), transparent);
  opacity: 0.5;
}

.about-block p {
  margin: 0 0 0.7rem;
  line-height: 1.65;
  line-height:1.6;
}

.about-block strong {
  color: var(--text-main);
}

/* Approach list */

.about-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.6rem;
}

.about-list li {
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height:1.6;
}

.about-transition {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-transition a {
  color: var(--link-color);
  opacity: 0.9;
  text-decoration: none;
  border-bottom: 1px solid var(--link-border);
  transition: all 0.3s ease;
}

.about-transition a:hover {
  color: var(--link-hover);
  opacity: 1;
  border-bottom-color: var(--link-color);
}
/* ------------------------------------------------
   THE LIVING DECISION ENGINE
   ------------------------------------------------ */

.tech-card.decision-diagram {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  margin-top: 1.5rem;
  margin-bottom: 2.4rem;
  border: 1px solid rgba(185, 28, 41, 0.12);
  font-size: 0.86rem;
  line-height: 1.6;
  background:
    radial-gradient(ellipse at top left, rgba(185, 28, 41, 0.06), transparent 60%),
    radial-gradient(circle at bottom right, rgba(140, 20, 30, 0.025), transparent 55%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.01), transparent 70%),
    var(--bg-elevated);
  box-shadow:
    0 0 0 1px rgba(185, 28, 41, 0.08),
    0 0 32px rgba(185, 28, 41, 0.08),
    var(--shadow-elevated),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 60px rgba(185, 28, 41, 0.04);
  backdrop-filter: blur(32px) saturate(160%);
  animation: glass-pulse 8s ease-in-out infinite alternate;
}

/* Subtle top accent - no glow */

.tech-card.decision-diagram::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(185, 28, 41, 0.3) 30%,
    rgba(211, 47, 62, 0.35) 50%,
    rgba(185, 28, 41, 0.3) 70%,
    transparent
  );
  opacity: 0.5;
}

/* Subtle atmospheric presence - barely perceptible */

.tech-card.decision-diagram::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 300px;
  filter: blur(120px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(185, 28, 41, 0.12), transparent 65%);
  top: -15%;
  left: -8%;
  opacity: 0.18;
  pointer-events: none;
  animation: de-shimmer 60s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}





@keyframes de-shimmer {
  0%   {
    opacity: 0.15;
    transform: translate3d(-15px, -8px, 0) scale(0.96);
    filter: blur(120px) hue-rotate(0deg);
  }
  50%  {
    opacity: 0.22;
    transform: translate3d(12px, 10px, 0) scale(1.02);
    filter: blur(125px) hue-rotate(3deg);
  }
  100% {
    opacity: 0.18;
    transform: translate3d(20px, 15px, 0) scale(1.04);
    filter: blur(122px) hue-rotate(-2deg);
  }
}

@keyframes glass-pulse {
  0% {
    box-shadow:
      0 0 0 1px rgba(185, 28, 41, 0.08),
      0 0 28px rgba(185, 28, 41, 0.06),
      var(--shadow-elevated),
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      inset 0 0 55px rgba(185, 28, 41, 0.03);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(185, 28, 41, 0.12),
      0 0 36px rgba(185, 28, 41, 0.1),
      var(--shadow-elevated),
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      inset 0 0 65px rgba(185, 28, 41, 0.05);
  }
}

/* Diagram content */

.decision-diagram p {
  margin: 0 0 0.75rem;
  max-width: 52rem;
}




.diagram-flow {
  position: relative;
  margin: 0.75rem 0 0.6rem;
  gap: 0.35rem;
  padding: 0.85rem 1.1rem;
  max-width: 44rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(185, 28, 41, 0.1);
  background:
    radial-gradient(ellipse at left, rgba(185, 28, 41, 0.02), transparent 65%),
    radial-gradient(circle at right, rgba(140, 20, 30, 0.015), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.015), transparent 60%),
    rgba(0, 0, 0, 0.5);
  font-family: "SF Mono", "Consolas", "Menlo", monospace;
  font-size: 0.8rem;
  color: var(--text-main);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  box-shadow:
    0 0 0 1px rgba(185, 28, 41, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow-soft);
  backdrop-filter: blur(16px) saturate(130%);
}

.diagram-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(185, 28, 41, 0.15), transparent 30%, transparent 70%, rgba(185, 28, 41, 0.15));
  opacity: 0.06;
  pointer-events: none;
}

.diagram-flow span {
  position: relative;
  z-index: 1;
}

.diagram-flow span.arrow {
  color: var(--accent);
  font-weight: 700;
  opacity: 0.8;
}

.diagram-caption {
  font-size: 0.82rem;
  margin-top: 0.5rem;
  opacity: 0.8;
  color: var(--text-muted);
}


/* ------------------------------------------------
   TECHNOLOGIES
   ------------------------------------------------ */

.cases-hero {
  max-width: 960px;
  margin: 4.5rem auto 2.5rem;
}

.cases-hero .section-title {
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cases-hero .section-intro {
  margin-top: 1rem;
  font-size: 0.98rem;
  color: var(--text-soft);
}

/* grid */

.cases-section {
  margin-top: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

@media (max-width: 960px) {
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* cards */

.case-card {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 12%, transparent) 0%, var(--bg-elevated) 65%),
    radial-gradient(circle at bottom right, var(--cosmic-shimmer), transparent 70%),
    radial-gradient(ellipse at center, var(--cosmic-glow), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 60%),
    linear-gradient(200deg, rgba(255, 255, 255, 0.05) 0%, transparent 25%, transparent 75%, var(--cosmic-abyss) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 205, 230, 0.12);
  padding: 1.6rem 1.75rem 1.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: block;
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-med),
    background var(--t-med);
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.case-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.5;
}

.case-card:hover {
  border-color: rgba(185, 28, 41, 0.4);
  box-shadow:
    0 0 0 1px rgba(185, 28, 41, 0.25),
    0 0 24px rgba(185, 28, 41, 0.2),
    0 8px 28px rgba(0, 0, 0, 0.7),
    0 24px 56px rgba(0, 0, 0, 0.9),
    0 40px 88px rgba(0, 0, 0, 0.95);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, transparent) 0%, var(--bg-elevated) 60%),
    radial-gradient(circle at bottom right, var(--cosmic-shimmer), transparent 65%),
    radial-gradient(ellipse at center, var(--cosmic-glow), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 60%);
  transform: translateY(-4px) scale(1.01);
}

.case-card:hover::before {
  opacity: 0.3;
}

.case-card:hover .case-title {
  text-shadow: 0 0 8px var(--accent-soft);
}

.case-card:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

/* Primary card - less blur for better readability */
.case-card-primary {
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.case-title {
  margin: 0.4rem 0 0.6rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.case-summary {
  font-size: 0.94rem;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.case-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.case-highlights li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.case-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.case-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* pills */

.case-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-pill {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 55%);
}

.case-pill-soft {
  border-color: rgba(255,255,255,0.06);
  background: radial-gradient(circle at top, var(--accent-soft-low), transparent 65%);
}

/* link row */

.case-link-row {
  margin-top: 0.2rem;
}

.text-link.subtle {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}

.text-link.subtle:hover {
  text-decoration: underline;
}

/* CTA onderaan */

.cases-cta {
  margin: 2.8rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 960px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.cases-cta .btn-primary {
  padding-inline: 1.7rem;
}

@media (max-width: 720px) {
  .cases-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


.data-disclaimer {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: -0.6rem;
  margin-bottom: 1.4rem;
  color: var(--text-muted);
}

/* ------------------------------------------------
   CONTACT
   ------------------------------------------------ */

#contact {
  margin-top: 3.4rem;
}

.contact-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 1.8rem;
}

.contact-main {
  flex: 1.6;
}

.contact-side {
  flex: 1;
  max-width: 21rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Form */

.contact-form {
  margin-top: 0.4rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 205, 230, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.02), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.015), transparent),
    var(--bg-elevated);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    border-color var(--t-med),
    box-shadow var(--t-med),
    background var(--t-med),
    transform var(--t-fast);
}

input::placeholder,
textarea::placeholder {
  color: rgba(170, 171, 180, 0.5);
}

input:focus,
textarea:focus {
  border-color: rgba(185, 28, 41, 0.65);
  box-shadow:
    0 0 0 1px rgba(185, 28, 41, 0.2),
    inset 0 1px 4px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(circle at top left, rgba(185, 28, 41, 0.06), transparent 60%),
    linear-gradient(135deg, rgba(185, 28, 41, 0.03), transparent),
    var(--bg-elevated);
}

input:hover:not(:focus),
textarea:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.2);
  /* transform: translateY(-1px); */ /* DISABLED - no movement */
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Contact meta / pills */

.contact-meta {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.contact-meta a {
  color: var(--link-color);
  text-decoration: none;
  border-bottom: 1px solid var(--link-border);
  transition: all 0.3s ease;
}

.contact-meta a:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-color);
}

.contact-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 12, 0.95);
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.contact-link-pill:hover {
  border-color: rgba(185, 28, 41, 0.4);
  background: rgba(10, 11, 16, 0.98);
}

/* Form status */

.form-status {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.form-status--success {
  color: #7ed07e;
}

.form-status--error {
  color: #ff6b6b;
}



/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: 4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  backdrop-filter: blur(40px) saturate(140%);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%),
    linear-gradient(
      to top,
      rgba(3, 4, 8, 0.3),
      transparent 100%
    );

  /* Full width breakout */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(1.5rem, calc(50vw - var(--page-width) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc(50vw - var(--page-width) / 2 + 1.5rem));
  box-sizing: border-box;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 28, 41, 0.25) 50%, transparent);
  opacity: 0.4;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ------------------------------------------------
   BLOG / INSIGHTS
   ------------------------------------------------ */


.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
  cursor: pointer;
}

.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  border-color: rgba(193, 86, 63, 0.65);
  background: radial-gradient(circle at top, rgba(193, 86, 63, 0.12), rgba(7, 8, 11, 0.98));
}

.insight-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
}

.insight-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.insight-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.insight-excerpt {
  font-size: 0.86rem;
  color: var(--text-soft);
  flex-grow: 1;
}

.insight-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.2rem;
}

.insight-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.12rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(227, 228, 231, 0.16);
  color: var(--text-muted);
}

.insight-demo-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(227, 228, 231, 0.25);
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--accent),
    rgba(216, 116, 75, 0.94)
  );
  align-self: flex-start;
}


/* --- Numbered case steps in posts --- */

.article-summary {
  border-top: 1px solid rgba(233,69,96,0.4);
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  font-size: 0.95rem;
  max-width: 960px;
  margin: 0 auto;
  margin-bottom: 1rem;
}

.article-subtitle {
  margin: 0 0 2rem;
}
.post-steps {
  max-width: 1200px;   /* of 1100, smaakding */
  margin: 0 auto;
}

/* Grote “spook”-nummers */

.case-step {
  display: flex;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.3fr);
  gap: 2rem;      /*ruimte tussen tekst en figuur*/
  align-items: flex-start;
  border: 1px solid var(--border-subtle);
  max-width: 100%;
}

.case-content {
  flex: 2;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}




.case-step{
  border-radius: 24px;
  background: radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 12%, transparent) 0%, var(--bg-elevated) 70%);
  padding: 2.5rem 2.5rem 2rem;
}

.case-step::before {
  content: attr(data-step);
  font-size: 4.2rem;
  position: relative;
  left: -1.5rem;
  top: 1rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  pointer-events: none;
}

/* Titel + tekst binnen de step */
.case-step h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

@media (max-width: 800px) {
  .case-step {
    /* in plaats van 2 kolommen naast elkaar: stapel */
    flex-direction: column;
    padding: 1.6rem 1.3rem 1.3rem;
    position: relative;
    overflow: hidden;
  }

  .case-content {
    flex: 1 1 auto;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .figure-side {
    width: 100%;
    max-width: 100%;
    margin: 1.1rem 0 0;
    text-align: center;
  }

  /* step-nummer kleiner en minder naar links, anders drukt hij tekst weg */
  .case-step::before {
    font-size: 2.6rem;
    left: 0;
    top: 0.4rem;
    opacity: 0.12;
  }
}


.impact-card {
  border: 1px solid rgba(255,255,255,0.18);
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), rgba(0,0,0,0.7));
  padding: 1.75rem 2rem;
  border-radius: 0.75rem;
  margin-bottom: 2.5rem;
}

.impact-card h2 {
  margin-bottom: 0.5rem;
}

.impact-note {
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.impact-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.impact-metric {
  flex: 1 1 160px;
}

.impact-value {
  display: block;
  font-weight: 600;
  font-size: 1.2rem;
}

.impact-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Label boven de lijst */
.executive-metrics-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

/* Box met de bullets */
.executive-metrics {
  margin: 0;
  padding: 0.9rem 1.3rem;
  list-style: disc;
  background: rgba(255, 255, 255, 0.03);      /* heel licht donkerder vlak */
  border-left: 2px solid #f05a4f;             /* accentkleur, match je huisstijl */
  border-radius: 4px;
}

/* Bullets zelf */
.executive-metrics li {
  margin-left: 1.1rem;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
/* Case tables */
.case-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.case-table th,
.case-table td {
  padding: 0.5rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.case-table th {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.case-table td:first-child {
  font-weight: 500;
  color: var(--text-main);
}

/* Scrollable tables on mobile */
.case-content {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* PDF stack */

.pdf-stack {
  position: relative;
  float: right;
  width: 170px;
  max-width: 40%;
  margin: 0.2rem 0 1.2rem 1.4rem;
  cursor: pointer;
}

.pdf-stack img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.65);
}

.pdf-page {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
}

.pdf-page-back {
  transform: translate(18px, 16px);
  filter: brightness(0.85) contrast(0.95);
  z-index: 0;
}

.pdf-page-mid {
  transform: translate(9px, 8px);
  filter: brightness(0.92) contrast(0.98);
  z-index: 1;
}

.pdf-page-front {
  position: relative;
  transform: translate(0, 0);
  z-index: 2;
}

.pdf-stack:hover .pdf-page-front {
  transform: translate(0, -2px);
  transition: transform 0.2s ease-out;
}

/* blog pics */

.figure-side {
  flex: 1;
  width: 260px;
  max-width: 60%;
  margin: 0.75rem 0 0.75rem auto;
  text-align: center;
}

.figure-side img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(200, 200, 220, 0.12);
  cursor: zoom-in;
}

.figure-side figcaption {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--text-muted);
  font-weight: 400;
}

.figure-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.figure-stack .figure-side {
  width: 100%;
  max-width: 100%;
}

.figure-wide {
  width: 100%;
  margin: 2.5rem 0;
  text-align: center;
}

.figure-wide img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}

.figure-wide figcaption {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--text-muted);
}

/* Case demo – standalone GIF/video section between steps and impact */
.case-demo {
  margin: 2.5rem auto 1.5rem;
  max-width: 420px;
  text-align: center;
}

.case-demo figure {
  margin: 0;
}

.case-demo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.case-demo figcaption {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--text-muted);
}

.img-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 998;
}

.img-overlay[data-open="true"] {
  display: flex;
}

.img-overlay-inner {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 14px;
  border: 1px solid rgba(227, 228, 231, 0.26);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.95);
  background: #050608;
  padding: 0.4rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.img-overlay-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.img-overlay-close {
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
}

.img-overlay-close:hover {
  color: #fff;
}

.img-overlay-frame {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.img-overlay-frame img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 800px) {
  .figure-side {
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
  }

  /* charts are wide-aspect — need full width on mobile to stay readable */
  .case-step .figure-side {
    width: 100%;
    max-width: 100%;
    margin-top: 1.4rem;
  }

  .case-demo {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .figure-side figcaption {
    font-size: 0.72rem;
  }
}

/* mobiel voor pdf-stack */

@media (max-width: 720px) {
  .pdf-stack {
    float: none;
    margin: 0 0 1rem 0;
    width: 70%;
    max-width: 220px;
  }
}

.report-preview small,
.pdf-stack + p small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.9;
}


/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */

@media (max-width: 980px) {
  .nav-inner {
    gap: 1.2rem;
  }

  nav ul {
    gap: 1.2rem;
  }

  .page {
    width: min(var(--page-width), 100% - 2rem);
    padding-top: 4.8rem;
    overflow-x: hidden;
  }

  .hero {
    min-height: calc(100vh - 4.6rem);
  }

  .about-intro {
    flex-direction: column;
  }

  .about-intro-text {
    order: 1;
  }

  .about-photo {
    order: 2;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 3.4rem;
  }

  .tech-card.decision-diagram {
    margin-top: 2.4rem;
  }

  .contact-layout {
    flex-direction: column;
  }

  .contact-side {
    max-width: none;
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
  }

  nav ul {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero-heading {
    letter-spacing: 0.28em;
  }

  .about,
  .contact-layout {
    gap: 1.4rem;
  }

  .tech-card,
  .about-block {
    padding: 1.1rem 1.1rem 0.9rem;
  }

  .diagram-flow {
    max-width: 100%;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {

  .nav-inner {
    width: min(var(--page-width), 100% - 1.5rem);
    padding: 0.75rem 0;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 0.4rem;
    align-items: center;
  }

  /* Rij 1: brand links */
  .brand {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  /* Rij 1: taal rechts */
  .lang-switch {
    grid-column: 2 / 3;
    grid-row: 1;
    display: flex;
    gap: 0.6rem;
    justify-self: end;
  }

  /* Rij 2: menu rechts uitgelijnd */
  .site-header nav {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .site-header nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }

  /* menu items compacter */
  .site-header nav a {
    font-size: 0.84rem;
    letter-spacing: 0.11em;
    padding: 0.5rem 0.3rem;  /* Add touch-friendly padding on mobile */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-cta {
    padding: 0.38rem 1.05rem;  /* Compact maar nog steeds touch-friendly */
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    min-height: 42px;
  }

  /* Compact buttons voor mobile - scherp maar nog accessible */
  .btn-primary,
  .btn-secondary {
    padding: 0.48rem 1.5rem;  /* Compacter dan 0.7rem maar nog steeds goed */
    min-height: 42px;
    font-size: 0.82rem;
  }
}
/* ------------------------------------------------
   PERFORMANCE OPTIMIZATIONS
   ------------------------------------------------ */

/* GPU acceleration hints for animated elements */
.hero-canvas,
.tech-card.decision-diagram,
.case-card,
.about-block,
.btn-primary,
.nav-cta {
  will-change: auto; /* Reset after animation completes */
  transform: translateZ(0); /* Force GPU layer */
  backface-visibility: hidden;
}

/* Optimize heavy animations */
.tech-card.decision-diagram {
  will-change: box-shadow;
}

.tech-card.decision-diagram::after {
  will-change: opacity, transform;
}

/* Prevent layout shifts */
.site-header,
.hero,
.about,
.case-card {
  contain: layout style; /* Isolate layout calculations */
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .tech-card.decision-diagram::after {
    animation: none;
    opacity: 0.18;
  }

  .btn-primary,
  .nav-cta,
  .case-card,
  .about-block {
    transition: none;
  }

  .hero-canvas {
    opacity: 0.2 !important;
  }
}

/* ------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------ */

.faq-item {
  background:
    radial-gradient(ellipse at left, rgba(185, 28, 41, 0.02), transparent 65%),
    radial-gradient(circle at right, rgba(140, 20, 30, 0.015), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.015), transparent 60%),
    rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(185, 28, 41, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--t-med) cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--accent-soft);
  background:
    radial-gradient(ellipse at left, rgba(185, 28, 41, 0.03), transparent 65%),
    radial-gradient(circle at right, rgba(140, 20, 30, 0.02), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 60%),
    rgba(0, 0, 0, 0.6);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text-main);
  list-style: none;
  user-select: none;
  transition: color var(--t-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--t-med) cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--highlight);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-soft);
  line-height: 1.7;
  animation: faq-slide-down 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  margin: 0 0 0.8rem 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

@keyframes faq-slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------
   INDICATIVE IMPACT (case studies)
   ------------------------------------------------ */

.indicative-impact {
  margin: 2.5rem 0 0;
  padding: 1.4rem 1.6rem;
  border-left: 2px solid rgba(185, 28, 41, 0.35);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.015), transparent 60%),
    rgba(0, 0, 0, 0.25);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.indicative-impact h3 {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.indicative-impact p {
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.indicative-impact ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.indicative-impact li {
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.impact-caveat {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Indicative impact with demo GIF alongside */
.indicative-impact.has-demo {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
}

.indicative-impact.has-demo .impact-content {
  flex: 1;
  min-width: 0;
}

.impact-demo {
  flex: 0 0 280px;
  margin: 0;
  text-align: center;
}

.impact-demo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 200, 220, 0.12);
  cursor: zoom-in;
}

.impact-demo figcaption {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .indicative-impact.has-demo {
    flex-direction: column;
  }
  .impact-demo {
    flex: none;
    width: min(85%, 360px);
    margin: 0.5rem auto 0;
  }
}
