/* ============================================================
   LOGIK SYSTEMS — Website Relaunch
   Dark · technical · orange-accented · premium B2B
   ============================================================ */

:root {
  /* Brand colors */
  --bg-0: #161515;
  --bg-1: #1C1B1A;
  --bg-2: #242220;
  --light-0: #F5F5F4;
  --light-1: #E1E1E1;
  --white: #FFFFFF;
  --orange: #F4741B;
  --orange-bright: #F6892F;
  --orange-soft: #F9BA77;

  /* Derived */
  --ink: #161616;
  --ink-soft: #4A4A4A;
  --paper-line: rgba(18, 18, 18, 0.10);
  --txt-hi: rgba(255, 255, 255, 0.96);
  --txt-mid: rgba(255, 255, 255, 0.68);
  --txt-low: rgba(255, 255, 255, 0.44);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glow: rgba(244, 116, 27, 0.22);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --display-stretch: 125%;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* Layout */
  --maxw: 1280px;
  --pad-x: 32px;
  --sec-pad: 120px;
  --r-card: 24px;
  --r-media: 28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg-0);
  color: var(--txt-hi);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { position: relative; }

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.eyebrow {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-bright);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.sec-head { max-width: 880px; margin-bottom: 64px; display: grid; gap: 22px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 52px); }
.sec-head .lede { font-size: 18px; color: var(--txt-mid); max-width: 720px; text-wrap: pretty; }

.on-light { color: var(--ink); }
.on-light .lede { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #141414;
}
.btn-primary:hover {
  background: var(--orange-bright);
  box-shadow: 0 0 0 1px rgba(246, 137, 47, 0.4), 0 8px 32px var(--glow);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--txt-hi);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--orange);
  color: var(--orange-bright);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.25);
}
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1px var(--orange); color: var(--orange); }
.btn .arr { transition: transform 0.22s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Media placeholders (upcoming media production) ---------- */
.media-ph {
  position: relative;
  border-radius: var(--r-media);
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, 0.035) 0 14px,
      transparent 14px 28px),
    linear-gradient(160deg, #1E1F1F 0%, #161616 70%);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  display: grid;
  place-items: center;
}
.media-ph .ph-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--txt-low);
  text-align: center;
  max-width: 75%;
  padding: 18px 0;
}
.media-ph .ph-label strong {
  display: block;
  color: var(--orange-soft);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.media-ph.light-ph {
  background:
    repeating-linear-gradient(-45deg,
      rgba(18, 18, 18, 0.04) 0 14px,
      transparent 14px 28px),
    linear-gradient(160deg, #EDEDED 0%, #E3E3E3 70%);
  outline-color: var(--paper-line);
}
.media-ph.light-ph .ph-label { color: rgba(18, 18, 18, 0.45); }
.media-ph.light-ph .ph-label strong { color: var(--orange); }

/* ---------- Dot grid motif ---------- */
.dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-shell {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  display: flex;
  justify-content: center;
}
.nav-bar {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 14px 14px 26px;
  border-radius: 24px;
  background: rgba(20, 20, 20, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: padding 0.3s ease, background 0.3s ease;
}
.nav-shell.compact .nav-bar { padding-top: 9px; padding-bottom: 9px; background: rgba(18, 18, 18, 0.92); }

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--orange);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: 16px;
  color: #141414;
}
.logo-word {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.logo-word span { color: var(--txt-low); font-weight: 500; }

/* Brand wordmark (CSS-masked SVG; tinted via currentColor) */
.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.nav-bar .logo { color: var(--txt-hi); }
.nav-bar .brand-logo { width: 118px; height: 31px; }
.footer-brand .logo { color: #161515; }
.footer-brand .brand-logo { width: 150px; height: 40px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--txt-mid);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--txt-hi); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--orange-bright); }

.nav-cta { padding: 12px 22px; font-size: 14px; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  place-items: center;
  color: var(--txt-hi);
}
.nav-burger .bars { display: grid; gap: 5px; }
.nav-burger .bars i { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: 0.25s; }

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(14, 14, 14, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: max(100px, calc(80px + env(safe-area-inset-top))) max(36px, env(safe-area-inset-right)) max(48px, calc(32px + env(safe-area-inset-bottom))) max(36px, env(safe-area-inset-left));
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a.mlink {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 650;
  font-size: 30px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--txt-hi);
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ============================================================
   1 — HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px 0 0;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  outline: none;
}
.hero-media .ph-label { transform: translateY(-12vh); }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero::before {
  /* readability gradient */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.55) 48%, rgba(14, 14, 14, 0.25) 100%),
    linear-gradient(0deg, var(--bg-0) 2%, rgba(18, 18, 18, 0.25) 38%, rgba(18, 18, 18, 0.45) 100%);
  pointer-events: none;
}
.hero-nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.hero-nodes canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-content { max-width: 880px; display: grid; gap: 28px; padding-bottom: 56px; }
.hero h1 {
  font-size: clamp(42px, 5.6vw, 78px);
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--orange-bright); }
.hero .sub {
  font-size: 19px;
  color: var(--txt-mid);
  max-width: 640px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-micro {
  font-size: 13.5px;
  color: var(--txt-low);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-micro::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); flex: none; }

.play-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--txt-mid);
  font-size: 14px;
  font-weight: 500;
}
.play-chip .pbtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: 0.22s;
  position: relative;
}
.play-chip .pbtn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(244, 116, 27, 0.5);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .play-chip .pbtn::after { animation: none; } }
.play-chip:hover .pbtn { background: var(--orange); border-color: var(--orange); }
.play-chip:hover .pbtn .tri { border-left-color: #141414; }
.play-chip .tri {
  width: 0; height: 0;
  border-left: 11px solid var(--txt-hi);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
  transition: 0.22s;
}

/* Trust row */
.trust-row {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.trust-row .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-low);
  margin-right: 10px;
}
.trust-items { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-chip {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 620;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--txt-mid);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: 0.2s;
}
.trust-chip:hover { color: var(--orange-soft); border-color: rgba(244, 116, 27, 0.45); }

/* Partner logo chips (real brand SVGs on white, for dark hero) */
.trust-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 18px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.trust-logo img { height: 26px; width: auto; max-width: 132px; display: block; }
.trust-logo img[alt="Microsoft Dynamics 365"] { height: 30px; }
.trust-logo img[alt="SAP"] { height: 34px; }

/* ============================================================
   2 — PROBLEM
   ============================================================ */
.sec-problem { background: linear-gradient(180deg, #0E0E0E 0%, var(--bg-0) 30%, #141414 100%); padding: var(--sec-pad) 0; overflow: hidden; }
.sec-problem .wrap { position: relative; z-index: 2; }

/* Animated network globe backdrop */
.globe-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-fog {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, transparent 14%),
    linear-gradient(0deg, var(--bg-0) 0%, rgba(18, 18, 18, 0.55) 12%, transparent 32%),
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(10, 10, 10, 0.75) 0%, transparent 70%);
}
.globe-shard {
  position: absolute;
  bottom: -8%;
  width: 44%;
  height: 38%;
  background: linear-gradient(160deg, rgba(8, 8, 8, 0.55), transparent 70%);
  transform: skewX(-18deg) rotate(-4deg);
  filter: blur(2px);
}
.globe-shard.sh1 { left: -10%; }
.globe-shard.sh2 { right: -12%; transform: skewX(16deg) rotate(5deg); background: linear-gradient(200deg, rgba(8, 8, 8, 0.5), transparent 70%); }

.sec-problem .problem-card {
  background: rgba(24, 24, 24, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.sec-problem .flow-broken {
  background: rgba(24, 24, 24, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 34px 30px;
  display: grid;
  gap: 16px;
  align-content: start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: rgba(244, 116, 27, 0.35); }
.problem-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 19px; line-height: 1.25; }
.problem-card p { font-size: 15px; color: var(--txt-mid); }

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(244, 116, 27, 0.10);
  border: 1px solid rgba(244, 116, 27, 0.25);
  display: grid;
  place-items: center;
  color: var(--orange-bright);
}

/* Broken process flow */
.flow-broken {
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-1);
  padding: 40px 44px 36px;
  overflow-x: auto;
}
.flow-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-low);
  margin-bottom: 28px;
}
.flow-line { display: flex; align-items: center; gap: 0; min-width: 760px; }
.flow-node {
  display: grid;
  gap: 8px;
  justify-items: center;
  flex: none;
}
.flow-node .nbox {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-2);
  padding: 14px 22px;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 620;
  font-size: 14px;
}
.flow-node .ntag { font-family: var(--font-mono); font-size: 10.5px; color: var(--txt-low); letter-spacing: 0.06em; }
.flow-gap {
  flex: 1;
  min-width: 56px;
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.flow-gap .warn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background: var(--bg-1);
  border: 1.5px solid var(--orange);
  color: var(--orange-bright);
  border-radius: 6px;
  rotate: 45deg;
  display: grid;
  place-items: center;
}
.flow-gap .warn span { rotate: -45deg; font-family: var(--font-mono); font-size: 12px; font-weight: 600; line-height: 1; }
.flow-legend {
  margin-top: 26px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-low);
}
.flow-legend .l { display: flex; align-items: center; gap: 9px; }
.flow-legend .sw { width: 14px; height: 14px; border-radius: 4px; rotate: 45deg; border: 1.5px solid var(--orange); flex: none; }

/* ============================================================
   3 — SOLUTION (light)
   ============================================================ */
.sec-solution { background: var(--light-0); color: var(--ink); padding: var(--sec-pad) 0; position: relative; overflow: hidden; }
.sec-solution .wrap { position: relative; z-index: 2; }

/* Flowing particle wave backdrop */
.wave-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.wave-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave-fog {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--light-0) 0%, rgba(247, 247, 247, 0.6) 10%, transparent 26%),
    linear-gradient(0deg, var(--light-0) 0%, rgba(247, 247, 247, 0.6) 8%, transparent 22%),
    radial-gradient(ellipse 56% 42% at 32% 30%, rgba(247, 247, 247, 0.85) 0%, rgba(247, 247, 247, 0.4) 55%, transparent 78%);
}

.sec-solution .acc-item { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sec-solution .mesh-frame { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.solution-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.solution-visual { position: sticky; top: 120px; display: grid; gap: 20px; }
.mesh-frame {
  border-radius: var(--r-media);
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.08);
  overflow: hidden;
  aspect-ratio: 1 / 0.92;
  position: relative;
}
.mesh-frame svg { width: 100%; height: 100%; }
.mesh-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(18, 18, 18, 0.45);
  text-align: center;
}

/* Accordion */
.acc { display: grid; gap: 14px; }
.acc-item {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.acc-item.open { border-color: rgba(244, 116, 27, 0.55); box-shadow: 0 16px 44px rgba(244, 116, 27, 0.10); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  text-align: left;
  color: var(--ink);
}
.acc-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--orange);
  flex: none;
  width: 30px;
}
.acc-head h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 660; font-size: 19px; flex: 1; }
.acc-chev {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(18, 18, 18, 0.18);
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.acc-item.open .acc-chev { background: var(--orange); border-color: var(--orange); }
.acc-chev::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: 0.25s;
}
.acc-item.open .acc-chev::before { transform: rotate(-135deg) translate(-1px, -1px); color: #141414; }
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-in { overflow: hidden; }
.acc-body p {
  padding: 0 26px 26px 74px;
  font-size: 15.5px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ============================================================
   4 — KPI / ROI
   ============================================================ */
.sec-kpi { background: var(--bg-0); padding: var(--sec-pad) 0; overflow: hidden; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kpi-card {
  position: relative;
  background: linear-gradient(170deg, var(--bg-2) 0%, var(--bg-1) 60%);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px 30px 32px;
  display: grid;
  gap: 14px;
  align-content: start;
  overflow: hidden;
}
.kpi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 30px; right: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0.7;
}
.kpi-big {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 750;
  font-size: 54px;
  line-height: 1;
  color: var(--orange-bright);
  letter-spacing: -0.01em;
}
.kpi-big .unit { font-size: 30px; }
.kpi-word { font-size: 30px; line-height: 1.12; }
.kpi-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 640; font-size: 17.5px; line-height: 1.3; }
.kpi-card p { font-size: 14.5px; color: var(--txt-mid); }
.kpi-note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--txt-low);
  display: flex;
  align-items: center;
  gap: 10px;
}
.kpi-note::before { content: "*"; color: var(--orange); font-size: 16px; }

/* ============================================================
   5 — ERP COMPETENCE
   ============================================================ */
.sec-erp { background: var(--bg-1); padding: var(--sec-pad) 0; }
.erp-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.erp-copy { display: grid; gap: 24px; }
.erp-copy h2 { font-size: clamp(32px, 3.6vw, 46px); }
.erp-copy .lede { color: var(--txt-mid); font-size: 17.5px; text-wrap: pretty; }
.erp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.erp-card {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 8px;
  transition: border-color 0.22s;
}
.erp-card:hover { border-color: rgba(244, 116, 27, 0.4); }
.erp-card h4 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 680; font-size: 16px; color: var(--orange-soft); }
.erp-card p { font-size: 13.5px; color: var(--txt-mid); line-height: 1.55; }

/* Hub diagram */
.hub-frame {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.hub-frame svg { width: 100%; height: auto; }
.hub-frame .hub-caption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-low);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   6 — PRODUCT AREAS
   ============================================================ */
.sec-products { background: var(--bg-0); padding: var(--sec-pad) 0; }
.product-duo {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.product-card {
  border-radius: 28px;
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.product-card.main {
  background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg-1) 55%);
  border: 1px solid var(--line-strong);
}
.product-card.pkeasy {
  background: linear-gradient(165deg, #2E2417 0%, var(--bg-1) 60%);
  border: 1px solid rgba(244, 116, 27, 0.30);
}
.product-label {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 116, 27, 0.45);
  color: var(--orange-bright);
}
.product-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.product-card > p { color: var(--txt-mid); font-size: 15.5px; text-wrap: pretty; }
.product-points { display: grid; gap: 10px; }
.product-points li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
  color: var(--txt-mid);
}
.product-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  rotate: 45deg;
  background: var(--orange);
  flex: none;
}
.product-card .btn { align-self: flex-start; margin-top: auto; }
.product-media { margin-top: 6px; }
.product-media .media-ph { aspect-ratio: 16 / 8.2; border-radius: 18px; }

/* PK-Easy mini UI mockup */
.pk-ui {
  border-radius: 18px;
  background: #161310;
  border: 1px solid rgba(244, 116, 27, 0.22);
  overflow: hidden;
  font-size: 12px;
}
.pk-ui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.pk-ui-bar .d { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.pk-ui-bar .d:first-child { background: var(--orange); }
.pk-ui-bar .pk-ui-title { font-family: var(--font-mono); font-size: 10.5px; color: var(--txt-low); margin-left: 8px; letter-spacing: 0.08em; }
.pk-ui-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding: 16px; }
.pk-ui-rows { display: grid; gap: 9px; align-content: start; }
.pk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 9px 12px;
  color: var(--txt-mid);
  font-size: 11.5px;
}
.pk-row.sel { border-color: rgba(244, 116, 27, 0.55); color: var(--txt-hi); }
.pk-row .pk-val { font-family: var(--font-mono); font-size: 10.5px; color: var(--orange-soft); }
.pk-summary {
  background: rgba(244, 116, 27, 0.07);
  border: 1px solid rgba(244, 116, 27, 0.25);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.pk-summary .s-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--txt-low); }
.pk-summary .s-num { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: 21px; color: var(--orange-bright); }
.pk-summary .s-row { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--txt-mid); }
.pk-summary .s-cta { margin-top: 4px; background: var(--orange); color: #141414; border-radius: 999px; text-align: center; font-weight: 600; font-size: 11px; padding: 8px; }

/* ============================================================
   7 — PROCESS TIMELINE
   ============================================================ */
.sec-process { background: var(--bg-1); padding: var(--sec-pad) 0; position: relative; overflow: hidden; }
.sec-process .wrap { position: relative; z-index: 2; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(10% );
  right: calc(10%);
  height: 2px;
  background: var(--line-strong);
}
.steps .progress {
  position: absolute;
  top: 23px;
  left: 10%;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width 1.4s cubic-bezier(0.25, 0.8, 0.3, 1);
  box-shadow: 0 0 12px var(--glow);
}
.steps.inview .progress { width: 80%; }
.step {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--txt-mid);
  position: relative;
  z-index: 1;
  transition: 0.4s;
}
.steps.inview .step-dot { border-color: var(--orange); color: var(--orange-bright); }
.step h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 660; font-size: 18px; }
.step p { font-size: 13.5px; color: var(--txt-mid); }

/* ============================================================
   8 — CASE STUDIES
   ============================================================ */
.sec-cases { background: var(--bg-0); padding: var(--sec-pad) 0; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.case-card .case-bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; outline: none; }
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 12, 12, 0.96) 0%, rgba(12, 12, 12, 0.72) 42%, rgba(12, 12, 12, 0.15) 100%);
}
.case-body { padding: 38px 36px; display: grid; gap: 16px; }
.case-tag {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  border: 1px solid rgba(244, 116, 27, 0.4);
  border-radius: 999px;
  padding: 6px 13px;
}
.case-result {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 720;
  font-size: clamp(24px, 2.3vw, 31px);
  line-height: 1.15;
}
.case-result em { font-style: normal; color: var(--orange-bright); }
.case-rows { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.case-rows .cr { display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: 13.5px; }
.case-rows .cr dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt-low); padding-top: 2px; }
.case-rows .cr dd { color: var(--txt-mid); }
.case-body .btn { justify-self: start; margin-top: 6px; padding: 12px 24px; font-size: 14px; }

/* ============================================================
   9 — BENEFITS GRID
   ============================================================ */
.sec-benefits { background: var(--bg-1); padding: var(--sec-pad) 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 30px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 0.25s, border-color 0.25s;
}
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(244, 116, 27, 0.35); }
.benefit-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 18.5px; }
.benefit-card p { font-size: 14.5px; color: var(--txt-mid); }

/* ============================================================
   10 — ABOUT
   ============================================================ */
.sec-about { background: var(--light-0); color: var(--ink); padding: var(--sec-pad) 0; }
.about-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
}
.about-copy { display: grid; gap: 24px; }
.about-copy h2 { font-size: clamp(32px, 3.6vw, 46px); }
.about-copy p { color: var(--ink-soft); font-size: 17px; text-wrap: pretty; }
.about-media { display: grid; gap: 18px; }
.about-media .media-ph.tall { aspect-ratio: 4 / 3; }

/* Filled photo tiles (real imagery) */
.media-ph.filled { outline: none; }
.media-ph.filled > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-ph.filled .ph-cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; padding: 6px 11px; border-radius: 999px;
  background: rgba(18, 18, 18, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.about-media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-media-duo .media-ph { aspect-ratio: 1 / 0.85; }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: 26px 22px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: 0.22s;
}
.value-card:hover { border-color: rgba(244, 116, 27, 0.5); box-shadow: 0 14px 36px rgba(244, 116, 27, 0.10); }
.value-num { font-family: var(--font-mono); font-size: 12px; color: var(--orange); }
.value-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 660; font-size: 15.5px; line-height: 1.3; }
.value-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

/* ============================================================
   11 — TESTIMONIALS
   ============================================================ */
.sec-quotes { background: var(--bg-0); padding: var(--sec-pad) 0; overflow: hidden; }
.quote-shell { position: relative; }
.quote-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.quote-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px 38px 34px;
  display: grid;
  gap: 24px;
  align-content: space-between;
  min-height: 320px;
}
.quote-mark {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-size: 44px;
  font-weight: 800;
  color: var(--orange);
  line-height: 0.6;
  height: 22px;
}
.quote-card blockquote {
  font-size: 18.5px;
  line-height: 1.55;
  font-weight: 450;
  text-wrap: pretty;
}
.quote-foot { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.quote-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 6px, transparent 6px 12px),
    var(--bg-2);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--txt-low);
}
.quote-avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-who { display: grid; gap: 2px; flex: 1; }
.quote-who .qn { font-weight: 600; font-size: 15px; }
.quote-who .qr { font-size: 13px; color: var(--txt-mid); }
.quote-metric {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--orange-soft);
  border: 1px solid rgba(244, 116, 27, 0.35);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}
.quote-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 32px; }
.qbtn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--txt-hi);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: 0.2s;
}
.qbtn:hover { background: var(--orange); border-color: var(--orange); color: #141414; }
.qbtn:disabled { opacity: 0.3; pointer-events: none; }
.ph-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-low);
  margin-top: 18px;
}

/* ============================================================
   12 — FINAL CTA
   ============================================================ */
.sec-cta {
  background: var(--bg-0);
  padding: calc(var(--sec-pad) + 20px) 0;
  overflow: hidden;
}
.cta-panel {
  position: relative;
  border-radius: 32px;
  border: 1px solid rgba(244, 116, 27, 0.25);
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(244, 116, 27, 0.20) 0%, transparent 65%),
    linear-gradient(170deg, var(--bg-2) 0%, var(--bg-1) 60%);
  padding: 88px 64px;
  text-align: center;
  display: grid;
  gap: 26px;
  justify-items: center;
  overflow: hidden;
}
.cta-panel .dotgrid { -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 100%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 80% at 50% 100%, #000, transparent 75%); }
.cta-panel h2 { font-size: clamp(34px, 4vw, 54px); max-width: 800px; position: relative; }
.cta-panel .lede { color: var(--txt-mid); max-width: 620px; font-size: 17.5px; position: relative; text-wrap: pretty; }
.cta-panel .hero-ctas { justify-content: center; position: relative; }
.cta-trust {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  margin-top: 8px;
}
.cta-trust span {
  font-size: 13.5px;
  color: var(--txt-mid);
  display: flex;
  align-items: center;
  gap: 9px;
}
.cta-trust span::before { content: ""; width: 6px; height: 6px; rotate: 45deg; background: var(--orange); flex: none; }

/* ============================================================
   13 — FOOTER (orange)
   ============================================================ */
.footer {
  background: var(--orange);
  color: #1A1208;
  padding: 88px 0 0;
  border-radius: 40px 40px 0 0;
  margin-top: -2px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 72px;
}
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .logo-mark { background: #141414; color: var(--orange-bright); }
.footer-brand .logo-word { color: #141414; }
.footer-brand .logo-word span { color: rgba(20, 20, 20, 0.55); }
.footer-claim {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 680;
  font-size: 21px;
  line-height: 1.3;
  color: #141414;
  max-width: 320px;
}
.footer-co { font-size: 13.5px; color: rgba(20, 18, 8, 0.65); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 18, 8, 0.55);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a {
  font-size: 14.5px;
  font-weight: 500;
  color: #1A1208;
  transition: 0.15s;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid rgba(20, 18, 8, 0.18);
  padding: 26px 0;
}
.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(20, 18, 8, 0.6);
}
.footer-mega {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(60px, 10vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: rgba(20, 18, 8, 0.14);
  text-align: center;
  user-select: none;
  padding-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
}

/* Burger → X animation + scroll lock */
.nav-burger.open .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open .bars i:nth-child(2) { opacity: 0; }
.nav-burger.open .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
.mobile-menu { overflow-y: auto; }

/* ============================================================
   Scroll reveal
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.3, 1);
  }
  .rv.in { opacity: 1; transform: none; }
  .rv-d1 { transition-delay: 0.08s; }
  .rv-d2 { transition-delay: 0.16s; }
  .rv-d3 { transition-delay: 0.24s; }
}

/* Fail-safe: contexts where the animation timeline never ticks —
   snap reveals/transitions to their end state instantly. */
.no-anim .rv,
.no-anim .rv.in,
.no-anim .steps .progress,
.no-anim .step-dot {
  transition: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --sec-pad: 96px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .problem-grid, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-split, .erp-split, .about-top { grid-template-columns: 1fr; gap: 48px; }
  .solution-visual { position: static; max-width: 560px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .product-duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps .progress { display: none; }
  .step {
    grid-template-columns: 48px 1fr;
    text-align: left;
    justify-items: start;
    gap: 6px 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .step .step-dot { grid-row: 1 / 3; }
  .quote-card { flex: 0 0 calc(100% - 0px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --sec-pad: 72px; --pad-x: 22px; }
  body { font-size: 16px; }

  /* German compound words ("Produktkonfiguratoren") must hyphenate,
     or they overflow narrow screens */
  .display, .acc-head h3, .kpi-card h3, .benefit-card h3,
  .value-card h3, .step h3, .case-result {
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .hero { padding-top: 110px; min-height: 92svh; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 48px); }
  .hero .sub { font-size: 17px; }
  .hero-content { gap: 22px; padding-bottom: 36px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .play-chip { width: 100%; justify-content: center; padding: 4px 0; }
  .trust-row .wrap { gap: 12px; }
  .trust-chip { font-size: 12px; padding: 8px 14px; }
  .problem-grid, .kpi-grid, .benefit-grid, .case-grid, .erp-cards,
  .values-grid, .about-media-duo { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 44px; }
  .sec-head h2 { font-size: clamp(26px, 7vw, 38px); }
  .erp-copy h2, .about-copy h2 { font-size: clamp(26px, 7vw, 38px); }
  .cta-panel h2 { font-size: clamp(27px, 7.2vw, 40px); }

  /* Broken process flow → vertical on phones (no sideways scrolling) */
  .flow-broken { padding: 28px 22px; overflow: visible; }
  .flow-line { flex-direction: column; align-items: center; min-width: 0; gap: 0; }
  .flow-node .nbox { min-width: 180px; text-align: center; }
  .flow-gap {
    flex: none;
    width: 2px;
    height: 52px;
    min-width: 0;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px);
  }

  /* Solution accordion — drop desktop indent */
  .acc-head { padding: 20px 20px; gap: 14px; }
  .acc-head h3 { font-size: 17px; }
  .acc-body p { padding: 0 20px 22px 20px; }
  .mesh-caption { padding: 0 10px; }

  .kpi-big { font-size: 46px; }
  .kpi-word { font-size: 26px; }

  .erp-split { gap: 36px; }
  .hub-frame { padding: 18px; }

  .case-card { min-height: 460px; }
  .case-rows .cr { grid-template-columns: 1fr; gap: 3px; }
  .case-body { padding: 28px 24px; }

  .cta-panel { padding: 64px 26px; }
  .cta-panel .hero-ctas { width: 100%; }

  .quote-card { padding: 28px 24px 26px; min-height: 0; }
  .quote-card blockquote { font-size: 16.5px; }
  .quote-foot { flex-wrap: wrap; gap: 12px; }
  .quote-metric { order: 3; }

  .footer { padding-top: 64px; border-radius: 26px 26px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
  .footer-mega { font-size: clamp(34px, 14.5vw, 60px); }
  .footer-bottom .wrap { flex-direction: column; gap: 6px; }

  .product-card { padding: 32px 26px; }
  .pk-ui-body { grid-template-columns: 1fr; }
}

/* ============================================================
   CASES v2 — filterable reference grid (moved up)
   ============================================================ */
.sec-cases-top { padding-top: calc(var(--sec-pad) - 8px); }

/* Proof / stat bar */
.case-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.case-proof .cp {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  display: grid;
  gap: 5px;
  align-content: start;
}
.cp-num {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 740;
  font-size: 30px;
  line-height: 1;
  color: var(--orange-bright);
  letter-spacing: -0.01em;
}
.cp-lbl { font-size: 13px; color: var(--txt-mid); }

/* Filter panel */
.case-filterbar {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 32px;
  display: grid;
  gap: 18px;
}
.cfb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.cfb-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-low);
}
.cfb-meta { display: flex; align-items: center; gap: 14px; }
.case-count { font-size: 13.5px; color: var(--txt-mid); font-weight: 500; }
.cfb-reset {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-bright);
  border: 1px solid rgba(244, 116, 27, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  transition: 0.18s;
}
.cfb-reset:hover { background: rgba(244, 116, 27, 0.12); }
.cfb-reset[hidden] { display: none; }

.case-filters {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}
.filter-row { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.filter-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-low);
  padding-top: 11px;
  min-width: 96px;
  flex: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.chip {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--txt-mid);
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 17px;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.chip:hover { color: var(--txt-hi); border-color: rgba(244, 116, 27, 0.5); }
.chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #141414;
  font-weight: 600;
}

.case-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card-v2 {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.case-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 116, 27, 0.45);
  box-shadow: 0 18px 44px rgba(244, 116, 27, 0.12);
}
.case-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.case-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-mid);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 11px;
}
.case-pill.erp { color: var(--orange-soft); border-color: rgba(244, 116, 27, 0.4); }
.case-card-v2 h3 {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 660;
  font-size: 19px;
  line-height: 1.2;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.case-lines { display: grid; gap: 11px; }
.case-lines > div { display: grid; gap: 2px; }
.case-lines dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.case-lines dd { font-size: 13.5px; color: var(--txt-mid); line-height: 1.45; }
.case-kpi {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 740;
  font-size: 30px;
  line-height: 1.04;
  color: var(--orange-bright);
  letter-spacing: -0.01em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-hi);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
  transition: color 0.18s;
}
.case-link:hover { color: var(--orange-bright); }.case-link .arr { transition: transform 0.2s; }
.case-link:hover .arr { transform: translateX(3px); }

/* "Alle Referenzen" CTA tile (9th grid item) */
.case-cta-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--r-card);
  padding: 28px 26px;
  background: linear-gradient(165deg, #2E2417 0%, var(--bg-1) 60%);
  border: 1px solid rgba(244, 116, 27, 0.4);
  color: var(--txt-hi);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.case-cta-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 18px 44px rgba(244, 116, 27, 0.18);
}
.cta-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
}
.case-cta-card h3 {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 680;
  font-size: 23px;
  line-height: 1.15;
}
.case-cta-card p { font-size: 14.5px; color: var(--txt-mid); }
.cta-card-arrow {
  margin-top: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #141414;
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: transform 0.22s ease;
}
.case-cta-card:hover .cta-card-arrow { transform: translateX(4px); }

.case-empty { color: var(--txt-mid); font-size: 15px; margin-top: 8px; }
.linklike { color: var(--orange-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SOLUTION pipeline (replaces radial graphic)
   ============================================================ */
.solution-flow { margin-bottom: 56px; }
.pipe-engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(244, 116, 27, 0.08);
  border: 1px solid rgba(244, 116, 27, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 28px;
}
.pipe-engine-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  align-items: stretch;
}
.pipe-rail {
  position: absolute;
  top: 9px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, rgba(18,18,18,0.10), rgba(244,116,27,0.35), rgba(18,18,18,0.10));
  overflow: visible;
}
.pipe-comet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px 3px var(--glow);
  transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: no-preference) {
  .pipe-comet { animation: pipeComet 5s cubic-bezier(0.55,0,0.45,1) infinite; }
}
@keyframes pipeComet {
  0% { left: 0; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.pipe-stage {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  position: relative;
}
.pipe-node {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(244, 116, 27, 0.55);
  position: relative;
  z-index: 1;
  transition: 0.3s;
}
@media (prefers-reduced-motion: no-preference) {
  .pipe-node { animation: pipeNode 5s ease-in-out infinite; animation-delay: calc(var(--d) * 0.9s); }
}
@keyframes pipeNode {
  0%, 12% { background: #FFFFFF; box-shadow: none; transform: scale(1); }
  20% { background: var(--orange); box-shadow: 0 0 0 6px var(--glow); transform: scale(1.18); }
  40%, 100% { background: #FFFFFF; box-shadow: none; transform: scale(1); }
}
.pipe-card {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  padding: 18px 16px;
  width: 100%;
  display: grid;
  gap: 7px;
  align-content: start;
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.05);
}
.pipe-step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pipe-card h4 {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 660;
  font-size: 15.5px;
  line-height: 1.15;
  color: var(--ink);
}
.pipe-card p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }
/* CAD stage prominent */
.pipe-stage.cad .pipe-node {
  width: 24px; height: 24px;
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--glow);
}
.pipe-stage.cad .pipe-card {
  background: linear-gradient(165deg, #FFF3E8 0%, #FFFFFF 80%);
  border-color: rgba(244, 116, 27, 0.45);
  box-shadow: 0 16px 38px rgba(244, 116, 27, 0.16);
  transform: translateY(-6px);
}
.pipe-stage.cad .pipe-step { color: var(--orange); }
.pipe-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(18, 18, 18, 0.45);
  text-align: center;
  margin-top: 30px;
}
.acc-wide { max-width: 860px; margin: 0 auto; }

/* Case-page 4-step timeline (reuses .steps visuals) */
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps.steps-4::before, .steps.steps-4 .progress { left: 12%; right: 12%; }
.steps.steps-4 .progress { width: 0; }
.steps.steps-4.inview .progress { width: 76%; }

/* ERP-Kompetenz bottom logo strip */
.erp-logos {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.erp-logos-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-low);
}
.erp-logos-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.erp-logos-row span:not(.trust-logo) {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 640;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--txt-mid);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  transition: 0.2s;
}
.erp-logos-row span:not(.trust-logo):hover { color: var(--orange-soft); border-color: rgba(244, 116, 27, 0.45); }

/* PK-Easy price */
.pk-price {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 720;
  font-size: 21px;
  color: var(--orange-bright);
  margin-top: auto;
}
.pk-price span { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--txt-low); }
.product-card.pkeasy .pk-price + .btn { margin-top: 8px; }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.float-cta {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, calc(16px + env(safe-area-inset-bottom)));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #141414;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 15px 24px;
  box-shadow: 0 12px 34px var(--glow), 0 4px 14px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s;
}
.float-cta.show { opacity: 1; visibility: visible; transform: none; }
.float-cta:hover { background: var(--orange-bright); }
.float-cta .fc-icon { flex: none; }

/* ============================================================
   LEAD FORM MODAL
   ============================================================ */
.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
}
/* Inline (embedded) variant — fills its column, no overlay chrome */
.lead-embedded { max-width: none; max-height: none; }
.lead-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: none;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}
.lead-top {
  padding: 24px 26px 0;
  display: grid;
  gap: 16px;
}
.lead-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lead-step-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-low);
}
.lead-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--txt-mid);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: 0.18s;
  flex: none;
}
.lead-close:hover { color: var(--txt-hi); border-color: var(--orange); }
.lead-progress { height: 4px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.lead-progress i { display: block; height: 100%; background: var(--orange); border-radius: 999px; transition: width 0.35s cubic-bezier(0.3,0.8,0.3,1); }

.lead-body { padding: 26px; overflow-y: auto; display: grid; gap: 20px; }
.lead-q {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 660;
  font-size: 23px;
  line-height: 1.2;
}
.lead-hint { font-size: 13.5px; color: var(--txt-low); margin-top: -10px; }
.lead-options { display: grid; gap: 10px; }
.lead-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
  color: var(--txt-hi);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.16s ease;
}
.lead-opt:hover { border-color: rgba(244, 116, 27, 0.5); }
.lead-opt .box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  flex: none;
  display: grid;
  place-items: center;
  transition: 0.16s;
}
.lead-opt.radio .box { border-radius: 50%; }
.lead-opt.sel { border-color: var(--orange); background: rgba(244, 116, 27, 0.1); }
.lead-opt.sel .box { background: var(--orange); border-color: var(--orange); }
.lead-opt.sel .box::after {
  content: "";
  width: 6px; height: 10px;
  border-right: 2px solid #141414;
  border-bottom: 2px solid #141414;
  transform: rotate(45deg) translate(-1px, -1px);
}
.lead-fields { display: grid; gap: 14px; }
.lead-field { display: grid; gap: 6px; }
.lead-field label { font-size: 13px; color: var(--txt-mid); font-weight: 500; }
.lead-field label .req { color: var(--orange); }
.lead-field input, .lead-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--txt-hi);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.16s;
}
.lead-field input:focus, .lead-field textarea:focus { outline: none; border-color: var(--orange); }
.lead-field textarea { resize: vertical; min-height: 76px; }
.lead-field.err input { border-color: #E0564E; }
.lead-err { font-size: 12px; color: #F08A82; }

.lead-foot {
  padding: 18px 26px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.lead-back {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--txt-mid);
  padding: 12px 8px;
  transition: 0.16s;
}
.lead-back:hover { color: var(--txt-hi); }
.lead-back.hidden { visibility: hidden; }

.lead-success {
  padding: 56px 36px 60px;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.lead-success .ok {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(244, 116, 27, 0.14);
  border: 1px solid rgba(244, 116, 27, 0.4);
  display: grid;
  place-items: center;
  color: var(--orange-bright);
}
.lead-success h3 {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 26px;
}
.lead-success p { color: var(--txt-mid); font-size: 16px; max-width: 380px; }

/* ============================================================
   RESPONSIVE — new components
   ============================================================ */
@media (max-width: 1100px) {
  .case-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .case-proof { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr; gap: 0; }
  .pipe-rail {
    top: 0; bottom: 0;
    left: 9px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, rgba(18,18,18,0.10), rgba(244,116,27,0.35), rgba(18,18,18,0.10));
  }
  .pipe-comet { left: 50% !important; }
  @media (prefers-reduced-motion: no-preference) {
    .pipe-comet { animation: pipeCometV 5s cubic-bezier(0.55,0,0.45,1) infinite; }
  }
  @keyframes pipeCometV {
    0% { top: 0; opacity: 0; }
    6% { opacity: 1; }
    94% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
  .pipe-stage {
    grid-template-columns: 20px 1fr;
    justify-items: start;
    text-align: left;
    gap: 18px;
    padding: 10px 0;
    align-items: center;
  }
  .pipe-stage.cad .pipe-card { transform: none; }
  .pipe-card { box-shadow: 0 8px 22px rgba(18,18,18,0.05); }
}

@media (max-width: 760px) {
  .case-grid-v2 { grid-template-columns: 1fr; }
  .case-proof { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .case-proof .cp { padding: 16px 16px; }
  .cp-num { font-size: 25px; }
  .case-filterbar { padding: 18px 18px; }
  .filter-label { min-width: 0; padding-top: 0; }
  .filter-row { gap: 10px; }
  .float-cta { right: 16px; bottom: 16px; padding: 14px; }
  .float-cta .fc-label { display: none; }
  .lead-modal { border-radius: 22px; }
  .lead-q { font-size: 20px; }
}

/* ============================================================
   GLOBAL RESPONSIVE SAFEGUARDS (apply to every page)
   ============================================================ */
/* Media never forces horizontal overflow */
img, svg, video, canvas { max-width: 100%; }
/* [hidden] must always win over display rules (success states, toggles) */
[hidden] { display: none !important; }
/* Flex/grid children may shrink below content size instead of overflowing */
.hero-ctas, .nav-links, .trust-items, .blog-cats, .case-filters,
.cta-trust, .footer-bottom .wrap, .quote-foot, .pc-foot, .apply-actions { min-width: 0; }
.hero-ctas .btn, .cta-panel .btn, .art-cta-panel .btn { max-width: 100%; }
/* Long unbroken strings (emails, urls) wrap rather than overflow */
.addr-list a.v, .news-note, .footer-col a { overflow-wrap: anywhere; }

/* Small phones */
@media (max-width: 480px) {
  :root { --pad-x: 16px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .display { letter-spacing: -0.01em; }
  .btn { padding: 14px 20px; font-size: 14px; }
  .hero-ctas .btn, .cta-panel .hero-ctas .btn, .art-cta-panel .hero-ctas .btn { width: 100%; }
  .cta-panel, .art-cta-panel { padding-left: 22px; padding-right: 22px; }
  .news-form { flex-direction: column; }
  .news-form .btn, .news-form input { width: 100%; }
  .nav-bar { padding: 11px 11px 11px 18px; }
  .lead-modal { width: 100%; }
  .quote-metric { white-space: normal; }
  .footer-mega { font-size: 17vw; }
}

