/* =========================================================
   PG Solutions – One-Page Website
   Layout: 12er-Raster, max. 1200px, großzügiger Weißraum,
   Hero + Software + CTA in Deep Navy, Inhalte auf Weiß/Light Gray
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben */
  --navy: #0B1F3B;          /* Deep Navy – Vertrauen */
  --navy-deep: #071730;
  --navy-soft: #122A4D;
  --blue: #007BFF;          /* Electric Blue – Technologie */
  --blue-ink: #0066E6;      /* Blau für Text auf Hell (AA-Kontrast) */
  --blue-btn: #006AE8;      /* Buttons mit weißer Schrift (AA-Kontrast) */
  --cyan: #00D1C1;          /* Cyan – Innovation */
  --gray: #F4F6FA;          /* Light Gray – Klarheit */
  --white: #FFFFFF;

  /* Text & Linien */
  --ink: #0B1F3B;
  --ink-soft: #4A5B73;
  --ink-mute: #5B6B82;
  --line: #E1E7F0;
  --line-strong: #CED7E4;
  --on-dark: #FFFFFF;
  --on-dark-soft: #B8C4D6;
  --on-dark-mute: #8C9BB3;
  --line-dark: rgba(255, 255, 255, .12);

  --grad: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 123, 255, .12), rgba(0, 209, 193, .12));

  /* Typografie */
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --fs-h1: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.7vw, 3.4rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --fs-lead: clamp(1.08rem, 1rem + .4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-eyebrow: clamp(.9rem, .82rem + .35vw, 1.05rem);

  /* Raster & Form */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: 50px;              /* oben + unten = 100px zwischen zwei Abschnitten */
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-card: 0 1px 2px rgba(11, 31, 59, .04), 0 12px 32px -16px rgba(11, 31, 59, .14);
  --shadow-lift: 0 2px 4px rgba(11, 31, 59, .04), 0 28px 56px -24px rgba(11, 31, 59, .28);

  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.08;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: rgba(0, 209, 193, .28); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: .7em 1.1em; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Eyebrow – angelehnt an die gesperrten Labels im Branding */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.eyebrow::before {
  content: "";
  width: 36px; height: 3px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow--dark { color: var(--cyan); }
/* Eine Zeile: Text ist mit .12em Sperrung rund 41em breit, dazu ~56px Strich + Abstand.
   Die Größe folgt deshalb der Breite von .hero-copy (Container) und bleibt höchstens 1rem. */
.hero .eyebrow { letter-spacing: .12em; font-size: clamp(.75rem, calc((100cqi - 56px) / 41), 1rem); align-items: flex-start; white-space: nowrap; }
.hero .eyebrow .eyebrow-items { flex-wrap: nowrap; }
.hero .eyebrow::before { margin-top: .6em; flex: none; }
.eyebrow-items { display: flex; flex-wrap: wrap; column-gap: .55em; }
.eyebrow-items > span { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: .95em;
  --btn-pad-x: 1.45em;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .35s var(--ease), background-color .35s var(--ease),
              border-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { --btn-pad-y: .7em; --btn-pad-x: 1.15em; font-size: .9rem; }
.btn-lg { --btn-pad-y: 1.1em; --btn-pad-x: 1.7em; font-size: 1rem; }

.btn-primary {
  background: var(--blue-btn);
  color: var(--white);
  box-shadow: 0 10px 28px -12px rgba(0, 123, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(100deg, rgba(255,255,255,0) 30%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.btn-primary:hover {
  background: #005ED0;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(0, 150, 230, .8), 0 0 0 4px rgba(0, 209, 193, .12), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline-dark {
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .03);
}
.btn-outline-dark:hover {
  border-color: rgba(0, 209, 193, .7);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-2px);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 20%, rgba(255,255,255,.12) 80%, transparent);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9, 26, 51, .9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5);
}
.site-header.is-scrolled::after { opacity: 1; }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 200px; height: auto; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
  position: relative;
  display: block;
  padding: .55em .9em;
  color: rgba(255, 255, 255, .78);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .3s var(--ease);
}
.main-nav ul a::after {
  content: "";
  position: absolute; left: .9em; right: .9em; bottom: .2em; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a[aria-current="true"] { color: var(--white); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.main-nav .nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 6px; justify-items: center; }
.nav-toggle-bars i {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, #12305C 0%, rgba(11, 31, 59, 0) 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark-soft);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 5vw, 72px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 42%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 72% 42%, #000 10%, transparent 72%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.hero-glow--a {
  width: 520px; height: 520px; right: -60px; top: 6%;
  background: radial-gradient(circle, rgba(0, 123, 255, .55), transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero-glow--b {
  width: 380px; height: 380px; right: 22%; bottom: -12%;
  background: radial-gradient(circle, rgba(0, 209, 193, .35), transparent 65%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-60px, 40px) scale(1.08); } }
@keyframes drift-b { to { transform: translate(50px, -30px) scale(.94); } }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { min-width: 0; container-type: inline-size; }
.hero-title {
  font-size: var(--fs-h1);
  font-size: clamp(2.6rem, 12.6cqi, 5.5rem);
  color: var(--white);
  letter-spacing: -.035em;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero-lead {
  max-width: 34ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--on-dark-soft);
  margin-bottom: 40px;
}
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
}
.hero-pillars li { display: inline-flex; align-items: baseline; gap: 10px; }
.hero-pillars span {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--cyan);
  letter-spacing: .04em;
}

/* Hero-Ladeanimation */
.hero-anim {
  animation: rise .9s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms + 120ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Visualisierung */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.hv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-orbit { transform-origin: 280px 280px; transform-box: view-box; }
.hv-orbit--slow { animation: spin 90s linear infinite; }
.hv-orbit--rev { animation: spin 70s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-diamond { animation: breathe 9s ease-in-out infinite; transform-box: view-box; }
@keyframes breathe { 50% { opacity: .55; } }

.hv-link {
  stroke-dasharray: 3 9;
  animation: flow 2.8s linear infinite;
}
.hv-link--2 { animation-duration: 3.4s; }
.hv-link--3 { animation-duration: 3.1s; }
@keyframes flow { to { stroke-dashoffset: -48; } }

.hv-pulse {
  fill: none;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3.6s var(--ease) infinite;
}
.hv-pulse--2 { animation-delay: 1.2s; }
.hv-pulse--3 { animation-delay: 2.4s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .9; }
  80%, 100% { transform: scale(3.4); opacity: 0; }
}

.hv-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.hv-core-ring {
  position: absolute; inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, .35) 0%, rgba(0, 209, 193, .12) 40%, transparent 68%);
  animation: glow 6s ease-in-out infinite;
}
@keyframes glow { 50% { opacity: .6; transform: scale(.94); } }
.hv-core-tile {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border-radius: 24%;
  background: linear-gradient(160deg, rgba(23, 50, 92, .92), rgba(8, 22, 45, .96));
  border: 1px solid rgba(140, 190, 255, .22);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, .6),
    0 0 0 8px rgba(255, 255, 255, .02),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hv-core-tile img { width: 64%; height: auto; }

.hv-chip {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 12px 16px 12px 18px;
  border-radius: 14px;
  background: rgba(14, 36, 70, .72);
  border: 1px solid rgba(140, 190, 255, .18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  white-space: nowrap;
  translate: 0 -50%;
}
.hv-chip::before {
  /* 45°-Anschnitt wie im PG-Signet */
  content: "";
  position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad);
}
.hv-chip strong { color: var(--white); font-size: .92rem; font-weight: 600; letter-spacing: -.005em; }
.hv-chip small { font-family: var(--mono); font-size: .68rem; color: var(--on-dark-mute); letter-spacing: .02em; }
/* Positionen = Andockpunkte im SVG (viewBox 560) */
.hv-chip--1 { right: calc((560 - 244) / 560 * 100%); top: calc(110 / 560 * 100%); }
.hv-chip--2 { left: calc(406 / 560 * 100%); top: calc(290 / 560 * 100%); }
.hv-chip--3 { right: calc((560 - 224) / 560 * 100%); top: calc(460 / 560 * 100%); }
.hv-chip--2::before { left: -1px; }
.hv-chip--1::before, .hv-chip--3::before { left: auto; right: -1px; border-radius: 3px 0 0 3px; }
.hv-chip--1, .hv-chip--3 { text-align: right; padding: 12px 18px 12px 16px; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--gray { background: var(--gray); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 3.5vw, 48px); }
.section-head h2 + .section-lead { margin-top: 22px; }
.section-lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 48ch; }

/* ---------- Kernbereiche ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-row: span 4;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.service-card::after {
  content: "";
  position: absolute; right: 0; top: 0;
  width: 180px; height: 180px;
  border-top-right-radius: inherit;
  background: radial-gradient(circle at 100% 0%, rgba(0, 209, 193, .14), transparent 65%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card:hover::before, .service-card:hover::after { opacity: 1; }

@supports (grid-template-rows: subgrid) {
  .services { grid-template-rows: auto auto auto 1fr; }
  .service-card { display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .sc-list { margin-top: 0; align-self: start; }
}
.sc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.sc-num {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--blue-ink);
  padding: 6px 12px 6px 14px;
  background: var(--grad-soft);
  /* angeschnittene Ecke als Zitat des Signets */
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  border-radius: 0 8px 8px 8px;
}
.sc-icon { width: 48px; height: 48px; }
.service-card h3 { margin-bottom: 14px; }
.service-card > p { margin-bottom: 28px; }
.sc-list {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: .95rem;
  color: var(--ink);
  font-weight: 500;
}
.sc-list li { display: flex; align-items: center; gap: 12px; }
.sc-list li::before {
  content: "";
  width: 6px; height: 6px; flex: none;
  border-radius: 1.5px;
  background: var(--grad);
  transform: rotate(45deg);
}

/* ---------- Software ---------- */
.section--software {
  padding-top: 0;
  padding-bottom: var(--section-y);
  /* Panel steht auf der Grenze zwischen Weiß und Light Gray der Referenz */
  background: linear-gradient(to bottom, var(--white) 55%, var(--gray) 55%);
}
.software-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #0F2A52 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--on-dark-soft);
}
.software-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(0, 123, 255, .28), transparent 70%),
    radial-gradient(40% 50% at 70% 100%, rgba(0, 209, 193, .16), transparent 70%);
}
.software-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
}
.software-copy { min-width: 0; }
.software-copy h2 { color: var(--white); margin-bottom: 24px; }
.software-copy > p:not(.eyebrow) { margin-bottom: 28px; max-width: 46ch; }
.software-copy h2 { font-size: clamp(2rem, 1.35rem + 2.2vw, 3rem); }
.check-list { display: grid; gap: 12px; margin-bottom: 40px; color: var(--white); font-weight: 500; font-size: .98rem; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list .icon {
  width: 22px; height: 22px; padding: 4px;
  border-radius: 7px;
  color: var(--navy);
  background: var(--grad);
}

/* Dashboard */
.dash {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  background: rgba(10, 27, 54, .88);
  border: 1px solid rgba(140, 190, 255, .18);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-size: 12px;
  line-height: 1.4;
  color: var(--on-dark-soft);
}
.dash-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.dash-addr {
  flex: 1; max-width: 260px;
  padding: 4px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
  font-family: var(--mono); font-size: 10.5px; color: var(--on-dark-mute);
}
.dash-body { display: grid; grid-template-columns: 136px minmax(0, 1fr); }
.dash-side {
  display: grid; align-content: start; gap: 4px;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, .07);
}
.dash-logo { width: 30px; margin: 2px 6px 16px; }
.dash-side span {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; border-radius: 8px;
  color: var(--on-dark-mute);
}
.dash-side span i { width: 8px; height: 8px; border-radius: 2.5px; background: rgba(255, 255, 255, .18); }
.dash-side span.is-active { background: rgba(0, 123, 255, .16); color: var(--white); }
.dash-side span.is-active i { background: var(--cyan); }
.dash-main { display: grid; gap: 14px; padding: 18px; min-width: 0; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; }
.dash-head small { display: block; color: var(--on-dark-mute); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.dash-head strong { color: var(--white); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.dash-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(0, 209, 193, .12); color: var(--cyan); font-weight: 600; font-size: 10.5px;
}
.dash-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dash-kpis > div {
  display: grid; gap: 2px;
  padding: 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}
.dash-kpis small { color: var(--on-dark-mute); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-kpis b { color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dash-kpis em { font-style: normal; font-size: 10px; color: var(--on-dark-mute); }
.dash-kpis em.up { color: var(--cyan); }
.dash-chart {
  padding: 12px 12px 8px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}
.dash-chart-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.dash-chart-head small { color: var(--on-dark-soft); font-size: 10.5px; }
.dash-chart-head span { font-family: var(--mono); font-size: 10px; color: var(--on-dark-mute); }
.dash-chart svg { width: 100%; height: 92px; }
.dash-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; color: var(--on-dark-mute); margin-top: 4px; }
.dash-line { stroke-dasharray: 600; stroke-dashoffset: 0; }
.dash-list { display: grid; gap: 6px; }
.dash-list > div {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px;
  background: rgba(255, 255, 255, .03);
}
.dash-list span:nth-child(2) { color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-ico { width: 18px; height: 18px; border-radius: 6px; background: var(--grad-soft); border: 1px solid rgba(0, 209, 193, .3); }
.dash-list em { font-style: normal; font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--on-dark-soft); }
.dash-list em.ok { background: rgba(0, 209, 193, .12); color: var(--cyan); }
.dash-toast {
  position: absolute; left: -28px; bottom: -26px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
  animation: float 9s ease-in-out infinite;
}
.dash-toast b { display: block; font-size: 12.5px; font-weight: 600; }
.dash-toast small { display: block; font-size: 10.5px; color: var(--ink-mute); }
.dt-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: var(--white); }
.dt-ico .icon { width: 18px; height: 18px; }

/* ---------- Beratung ---------- */
.consult {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.consult-copy { position: sticky; top: calc(var(--header-h) + 48px); }
.consult-copy h2 { margin-bottom: 26px; }
.consult-copy p:not(.eyebrow) { font-size: var(--fs-lead); line-height: 1.6; margin-bottom: 36px; max-width: 36ch; }
.questions { display: grid; counter-reset: q; }
.questions li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  align-items: start;
  padding-block: clamp(26px, 3.2vw, 40px);
  border-top: 1px solid var(--line);
}
.questions li:last-child { border-bottom: 1px solid var(--line); }
.questions p {
  font-size: clamp(1.35rem, 1.05rem + 1.25vw, 2.05rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.022em;
  color: var(--ink);
  text-wrap: balance;
}
.q-mark {
  display: grid; place-items: center;
  width: clamp(40px, 4vw, 52px); aspect-ratio: 1;
  margin-top: 2px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(0, 123, 255, .18);
  color: var(--blue-ink);
  font-weight: 700;
  font-size: 1.15rem;
}

/* ---------- Warum ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.reason {
  position: relative;
  padding: 32px 28px 34px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.reason-num {
  display: block;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--blue-ink);
}
.reason-num::after {
  content: "";
  display: block;
  width: 36px; height: 2px; margin-top: 14px;
  border-radius: 2px;
  background: var(--grad);
  transition: width .5s var(--ease);
}
.reason:hover .reason-num::after { width: 64px; }
.reason h3 { margin-bottom: 12px; }
.reason p { font-size: .98rem; line-height: 1.6; }

.statement {
  margin-top: clamp(40px, 4vw, 56px);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Prozess / Timeline ---------- */
.timeline {
  --node: 56px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.timeline::before, .timeline::after {
  content: "";
  position: absolute;
  left: calc(var(--node) / 2);
  right: calc(25% - 24px - var(--node) / 2);
  top: calc(var(--node) / 2);
  height: 2px;
  border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after {
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) .2s;
}
.timeline.is-visible::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; padding-right: 8px; }
.step-node {
  display: grid; place-items: center;
  width: var(--node); height: var(--node);
  margin-bottom: 28px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-ink);
  box-shadow: 0 0 0 8px var(--white);
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.timeline.is-visible .step-node { background: var(--navy); color: var(--white); border-color: var(--navy); }
.timeline.is-visible .step:nth-child(1) .step-node { transition-delay: .2s; }
.timeline.is-visible .step:nth-child(2) .step-node { transition-delay: .7s; }
.timeline.is-visible .step:nth-child(3) .step-node { transition-delay: 1.2s; }
.timeline.is-visible .step:nth-child(4) .step-node { transition-delay: 1.7s; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .98rem; line-height: 1.6; max-width: 26ch; }

/* ---------- Über uns ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.about-tile {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid; place-items: center;
}
.about-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 59, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 59, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
}
.about-geo { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 140s linear infinite; }
.about-signet { position: relative; width: 44%; filter: drop-shadow(0 24px 30px rgba(0, 102, 230, .22)); }
.about-tagline {
  position: absolute; left: 32px; bottom: 28px;
  font-size: .7rem; font-weight: 500; letter-spacing: .3em; line-height: 1.9;
  text-transform: uppercase; color: var(--ink-mute);
}
.about-copy h2 { margin-bottom: 28px; }
.about-copy p + p { margin-top: 18px; }
.about-copy p { max-width: 54ch; }
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.values li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
}
.values .icon {
  width: 38px; height: 38px; padding: 8px;
  border-radius: 11px;
  color: var(--blue-ink);
  background: var(--grad-soft);
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-ink); }
.faq-item summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: var(--blue-ink);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { padding-bottom: 26px; max-width: 62ch; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */
/* Dunkler Abschluss vor dem Footer (ersetzt den früheren CTA-Bereich) */
.section--contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark-soft);
}
.section--contact h2 { color: var(--white); }
.contact-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, #000, transparent 75%);
}
.contact-bg::after {
  content: "";
  position: absolute;
  width: 760px; height: 760px; right: -220px; top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, .32), rgba(0, 209, 193, .1) 45%, transparent 68%);
  filter: blur(20px);
  animation: drift-a 24s ease-in-out infinite alternate;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-info h2 { margin-bottom: 22px; }
.contact-info > p:not(.eyebrow) { max-width: 40ch; margin-bottom: 40px; }
.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(140, 180, 255, .18);
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
}
.contact-person {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(140, 180, 255, .14);
  color: var(--on-dark-soft);
}
.contact-person strong { display: block; color: var(--white); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.contact-person span { font-size: .9rem; }
.contact-mono {
  display: grid; place-items: center;
  width: 54px; height: 54px; flex: none;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(23, 50, 92, .9), rgba(8, 22, 45, .95));
  border: 1px solid rgba(140, 190, 255, .24);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}
.contact-mono img { width: 64%; }
.contact-list { display: grid; padding: 8px 26px; }
.contact-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding-block: 18px;
  border-bottom: 1px solid rgba(140, 180, 255, .12);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--cyan); }
.contact-list small {
  display: block;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: 2px;
}
.contact-list a, .contact-list address { color: var(--white); font-weight: 500; text-decoration: none; line-height: 1.55; }
.contact-list a { background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.contact-list a:hover { color: var(--cyan); background-size: 100% 1px; }

.contact-form-wrap {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(140, 180, 255, .18);
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--blue-ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #8391A7; }
.field input:hover, .field textarea:hover { border-color: #AEBBCD; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, .14);
}
.field [aria-invalid="true"] { border-color: #C2334D; box-shadow: 0 0 0 4px rgba(194, 51, 77, .1); }
.field-error { font-size: .84rem; color: #B42343; font-weight: 500; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 14px; }
.field--check label { font-weight: 400; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.field--check label a { color: var(--blue-ink); }
.field--check .field-error { grid-column: 2; }
.field--check input {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; margin: 1px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .25s, border-color .25s;
}
.field--check input::after {
  content: "";
  width: 10px; height: 6px;
  border: solid var(--white);
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .25s var(--ease);
}
.field--check input:checked { background: var(--blue-btn); border-color: var(--blue-btn); }
.field--check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.field--check input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.form-note { font-size: .84rem; color: var(--ink-mute); }
.form-status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  background: rgba(0, 209, 193, .1);
  border: 1px solid rgba(0, 209, 193, .35);
  color: var(--ink);
}
.form-status.is-error { background: rgba(194, 51, 77, .07); border-color: rgba(194, 51, 77, .3); }
.form-status a { color: var(--blue-ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray);
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  padding-top: clamp(40px, 5vw, 56px);
  font-size: .94rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand img { width: 230px; margin-bottom: 20px; }
.footer-brand p { color: var(--ink-soft); font-weight: 500; }
.footer-title {
  margin-bottom: 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--blue-ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-size: .85rem;
}
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); text-decoration: none; }
.to-top .icon { transform: rotate(-90deg); transition: transform .35s var(--ease); }
.to-top:hover { color: var(--blue-ink); }
.to-top:hover .icon { transform: rotate(-90deg) translateX(3px); }

/* ---------- Scroll-Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .brand img { width: 180px; }   /* Platz für die Navigation zwischen 960 und 1100px */
  .main-nav ul a { padding-inline: .7em; }
  .main-nav ul a::after { left: .7em; right: .7em; }
  .header-inner { gap: 20px; }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 170px; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(80% 50% at 100% 0%, rgba(0, 123, 255, .22), transparent 70%),
      var(--navy-deep);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility 0s linear .4s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line-dark); }
  .main-nav ul a {
    padding: 18px 0;
    font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--white);
  }
  .main-nav ul a::after { display: none; }
  .main-nav .nav-cta-mobile { display: inline-flex; align-self: stretch; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .hero-lead { max-width: 40ch; }

  .services { grid-template-columns: 1fr; max-width: 640px; }
  .software-panel { grid-template-columns: 1fr; }
  .dash { margin-inline: 8px; margin-bottom: 20px; }
  .consult { grid-template-columns: 1fr; gap: 40px; }
  .consult-copy { position: static; }
  .about { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .about-tile { max-width: 440px; }
  .contact { grid-template-columns: 1fr; }

  .timeline { grid-template-columns: 1fr; gap: 0; --node: 52px; }
  .timeline::before, .timeline::after { display: none; }
  .step {
    display: grid;
    grid-template-columns: var(--node) minmax(0, 1fr);
    column-gap: 24px;
    padding-bottom: 40px;
  }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::before, .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(var(--node) / 2 - 1px);
    top: calc(var(--node) + 8px);
    bottom: 8px;
    width: 2px;
    border-radius: 2px;
    background: var(--line);
  }
  .step:not(:last-child)::after {
    background: var(--grad);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .6s var(--ease);
  }
  .timeline.is-visible .step::after { transform: scaleY(1); }
  .timeline.is-visible .step:nth-child(1)::after { transition-delay: .4s; }
  .timeline.is-visible .step:nth-child(2)::after { transition-delay: .9s; }
  .timeline.is-visible .step:nth-child(3)::after { transition-delay: 1.4s; }
  .step-node { grid-row: span 2; margin-bottom: 0; }
  .step h3 { margin-top: 12px; }
  .step p { max-width: 40ch; }
}

@media (max-width: 640px) {
  :root { --fs-body: 1rem; }
  /* Zu schmal für eine Zeile: Label darf wieder umbrechen */
  .hero .eyebrow { white-space: normal; font-size: .8rem; }
  .hero .eyebrow .eyebrow-items { flex-wrap: wrap; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .hero-pillars { flex-direction: column; gap: 10px; margin-top: 40px; }
  .hv-chip { padding: 8px 12px !important; border-radius: 11px; }
  .hv-chip strong { font-size: .76rem; }
  .hv-chip small { display: none; }
  .reasons { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .dash { font-size: 11px; margin-inline: 0; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-main { padding: 14px; }
  .dash-kpis { gap: 8px; }
  .dash-kpis > div { padding: 10px; }
  .dash-kpis b { font-size: 17px; }
  .dash-toast { left: 12px; right: 12px; bottom: -30px; }
  .software-panel { padding-bottom: 64px; border-radius: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner .footer-col:last-child { grid-column: 1 / -1; }
  .btn { white-space: normal; text-align: center; }
  .software-copy .btn { width: 100%; }
  .dash-kpis small { white-space: normal; }
  .sc-top { margin-bottom: 28px; }
  .reason { padding: 26px 24px 28px; }
  .reason-num { margin-bottom: 22px; }
  .statement { text-wrap: wrap; }
  .contact-person, .contact-list { padding-inline: 20px; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .timeline::after, .step::after { transform: none !important; }
  .timeline .step-node { background: var(--navy); color: var(--white); border-color: var(--navy); }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .hero-visual, .contact-bg, .hero-bg { display: none; }
  .hero { background: none; color: #000; padding-top: 0; }
  .hero-title { color: #000; }
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal-header { background: var(--navy); }
.legal-header .header-inner { justify-content: space-between; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-soft); font-size: .92rem; font-weight: 500; text-decoration: none; }
.legal-back .icon { transform: rotate(180deg); }
.legal-back:hover { color: var(--white); }
.legal { padding-block: clamp(56px, 8vw, 104px); }
.legal .container { max-width: calc(820px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); margin-bottom: 16px; }
.legal h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin: 48px 0 14px; letter-spacing: -.02em; }
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; margin-top: 10px; }
.legal a { color: var(--blue-ink); }
.legal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 28px; margin: 0; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }
.legal .todo { background: rgba(0, 209, 193, .14); color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.legal-note { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--gray); border: 1px solid var(--line); font-size: .92rem; }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding-top: clamp(48px, 8vw, 96px); }
.notfound-inner { display: grid; justify-items: start; }
.notfound .brand { margin-bottom: clamp(48px, 8vw, 88px); }
.notfound .brand img { width: 200px; }
.notfound .hero-title { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); }

/* ---------- Kundenreferenz ---------- */
.section--ref { padding-top: 0; }
.ref-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 3.5vw, 48px);
}
.ref-head h2 { max-width: 15ch; }
.ref-intro p { font-size: var(--fs-lead); line-height: 1.6; margin-bottom: 28px; }
.ref-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.ref-facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.ref-facts dd { margin: 0; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.4; }

.ref-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin-bottom: 28px;
}
.ref-flow li {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.ref-flow li::before {
  content: "";
  width: 8px; height: 8px; margin-right: 10px;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}
.ref-flow li:not(:last-child)::after {
  content: "";
  width: clamp(20px, 3.4vw, 56px); height: 1px;
  margin-inline: 14px;
  background: linear-gradient(90deg, var(--line-strong), var(--blue));
}

.ref-shot { margin: 0; }
.ref-shot figcaption {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--ink-mute);
  text-align: right;
}

/* Nachgebautes SISTEK-Dashboard (Beispieldaten) – bewusst im Look des echten Systems */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
.erp {
  --e-ink: #111827;
  --e-muted: #6B7280;
  --e-line: #E5E7EB;
  --e-bg: #F9FAFB;
  --e-side: #111728;
  --e-blue: #3B82F6;
  --e-green: #10B981;
  --e-green-t: #059669;
  --e-orange: #F59E0B;
  --e-orange-t: #D97706;
  --e-red: #EF4444;
  --e-red-t: #DC2626;
  --e-purple: #8B5CF6;
  --e-purple-t: #7C3AED;
  container-type: inline-size;
  border-radius: 14px;
  overflow: hidden;
  background: var(--e-bg);
  border: 1px solid #D9DEE7;
  box-shadow: 0 2px 6px rgba(11, 31, 59, .05), 0 60px 110px -50px rgba(11, 31, 59, .45);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.erp svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.erp svg.sm { width: .95em; height: .95em; }
.erp-chrome {
  display: flex; align-items: center; gap: 18px;
  height: 38px; padding: 0 14px;
  background: #E9ECF1;
  border-bottom: 1px solid #D9DEE7;
}
.erp-dots { display: flex; gap: 7px; }
.erp-dots i { width: 11px; height: 11px; border-radius: 50%; }
.erp-dots i:nth-child(1) { background: #FF5F57; }
.erp-dots i:nth-child(2) { background: #FEBC2E; }
.erp-dots i:nth-child(3) { background: #28C840; }
.erp-tab {
  display: inline-flex; align-items: center; gap: 8px;
  height: 26px; padding: 0 16px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  font-size: 11.5px; font-weight: 600; color: #374151; letter-spacing: .01em;
}
.erp-app {
  position: relative;
  display: grid;
  grid-template-columns: 15em minmax(0, 1fr);
  height: 57em;
  overflow: hidden;
  font-size: clamp(8px, 1.02cqi, 12.5px);
  line-height: 1.35;
  color: var(--e-ink);
}
.erp-app::after {
  /* Bildschirmausschnitt läuft unten weich aus */
  content: ""; position: absolute; left: 15em; right: 0; bottom: 0; height: 7em;
  background: linear-gradient(to bottom, rgba(249, 250, 251, 0), var(--e-bg) 85%);
  pointer-events: none;
}
.erp-side { display: flex; flex-direction: column; background: var(--e-side); color: #AAB2C3; overflow: hidden; }
.erp-logo { padding: 1.5em 1.3em 1.3em; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.erp-logo img { width: 9.6em; height: auto; display: block; }
.erp-nav { display: grid; align-content: start; gap: .1em; padding: 1em .8em; }
.erp-nav small { margin: 1.2em .8em .45em; font-size: .72em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6B7488; }
.erp-nav span { display: flex; align-items: center; gap: .85em; padding: .58em .8em; border-radius: .55em; font-size: 1.02em; }
.erp-nav span svg { color: #8D96AA; }
.erp-nav span .end { margin-left: auto; width: .85em; height: .85em; }
.erp-nav span.is-active { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 2px 0 0 var(--e-blue); }
.erp-nav span.is-active svg { color: #fff; }
.erp-nav span b { margin-left: auto; display: grid; place-items: center; min-width: 1.5em; height: 1.5em; border-radius: 99px; background: var(--e-red); color: #fff; font-size: .78em; }
.erp-main { display: flex; flex-direction: column; min-width: 0; }
.erp-top {
  display: flex; align-items: center; gap: .9em;
  padding: .9em 1.6em;
  background: #fff;
  border-bottom: 1px solid var(--e-line);
}
.erp-crumb { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; color: var(--e-ink); white-space: nowrap; }
.erp-crumb svg { color: var(--e-muted); }
.erp-search {
  display: inline-flex; align-items: center; gap: .6em;
  width: 14em; padding: .5em .8em;
  border: 1px solid var(--e-line); border-radius: .6em;
  color: #9CA3AF; background: #fff; white-space: nowrap;
}
.erp-search kbd { margin-left: auto; padding: .1em .45em; border-radius: .35em; background: #F3F4F6; border: 1px solid var(--e-line); font: inherit; font-size: .8em; color: var(--e-muted); }
.erp-grow { flex: 1; }
.erp-btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .6em 1em;
  border-radius: .6em;
  border: 1px solid var(--e-line);
  background: #fff;
  font-weight: 500; white-space: nowrap; color: var(--e-ink);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .03);
}
.erp-btn--primary { background: var(--e-blue); border-color: var(--e-blue); color: #fff; }
.erp-ic { position: relative; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: .55em; color: #4B5563; }
.erp-ic svg { width: 1.3em; height: 1.3em; }
.erp-ic--bell i { position: absolute; top: -.1em; right: -.1em; display: grid; place-items: center; min-width: 1.45em; height: 1.45em; padding: 0 .3em; border-radius: 99px; background: var(--e-red); color: #fff; font-style: normal; font-size: .7em; font-weight: 700; border: 2px solid #fff; }
.erp-user { display: inline-flex; align-items: center; gap: .65em; padding-left: .6em; color: var(--e-muted); }
.erp-av { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--e-purple); color: #fff; font-weight: 600; font-size: .92em; letter-spacing: .02em; }
.erp-user-txt { display: grid; line-height: 1.2; }
.erp-user-txt b { color: var(--e-ink); font-weight: 600; white-space: nowrap; }
.erp-user-txt em { justify-self: start; margin-top: .15em; padding: .05em .45em; border-radius: .3em; background: #DBEAFE; color: #1D4ED8; font-style: normal; font-size: .75em; font-weight: 600; }
.erp-content { display: grid; gap: 1.1em; padding: 1em 1.6em 2em; }
.erp-hint { margin: 0; font-size: .9em; color: var(--e-muted); }
.erp-hint u { color: #4B5563; }
.erp-actions { display: flex; align-items: center; gap: .6em; }
.erp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1em; }
.erp-card {
  display: grid; align-content: start; gap: .85em;
  padding: 1.4em 1.5em;
  border-radius: .9em;
  background: #fff;
  border: 1px solid var(--e-line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  min-width: 0;
}
.erp-head { display: flex; align-items: center; gap: .75em; font-weight: 600; font-size: 1.12em; }
.erp-badge { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: .6em; }
.erp-badge svg { width: 1.15em; height: 1.15em; }
.c-blue { background: #EFF6FF; color: var(--e-blue); }
.c-purple { background: #F5F3FF; color: var(--e-purple); }
.c-green { background: #ECFDF5; color: var(--e-green); }
.c-orange { background: #FFFBEB; color: var(--e-orange); }
.c-red { background: #FEF2F2; color: var(--e-red); }
.erp .t-green { color: var(--e-green-t); }
.erp .t-orange { color: var(--e-orange-t); }
.erp .t-red { color: var(--e-red-t); }
.erp .t-purple { color: var(--e-purple-t); }
.erp-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; padding-bottom: 1em; border-bottom: 1px solid var(--e-line); }
.erp-sum b { font-size: 1.65em; font-weight: 700; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.erp-sum small { color: var(--e-muted); white-space: nowrap; font-size: .92em; }
.erp-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.erp-split > div { display: grid; gap: .2em; padding-inline: .3em; }
.erp-split > div + div { border-left: 1px solid var(--e-line); }
.erp-split small { font-size: .74em; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #4B5563; }
.erp-split b { font-size: 1.5em; font-weight: 700; font-variant-numeric: tabular-nums; }
.erp-split i { font-style: normal; font-size: .82em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.erp-split--plain small { text-transform: none; letter-spacing: 0; font-size: .85em; color: var(--e-muted); }
.erp-split--plain b { font-size: 1.85em; }
.erp-offers-body { display: grid; grid-template-columns: minmax(0, 1fr) 7.4em; gap: 1.4em; align-items: center; }
.erp-offers-body ul { display: grid; gap: .6em; margin: 0; padding: 0; list-style: none; }
.erp-offers-body li { display: flex; justify-content: space-between; color: #4B5563; font-variant-numeric: tabular-nums; }
.erp-offers-body li b { color: var(--e-ink); font-weight: 700; }
.erp-offers-body li.t-green, .erp-offers-body li.t-green b { color: var(--e-green-t); }
.erp-offers-body li.t-orange, .erp-offers-body li.t-orange b { color: var(--e-orange-t); }
.erp-offers-body li.t-red, .erp-offers-body li.t-red b { color: var(--e-red-t); }
.erp-offers-body li em { font-style: normal; font-weight: 400; font-size: .85em; color: var(--e-muted); }
.erp-donut { width: 100% !important; height: auto !important; stroke: none !important; }
.erp-rowline, .erp-total { display: flex; align-items: center; justify-content: space-between; gap: 1em; font-size: .92em; color: #4B5563; }
.erp-total { padding-top: .9em; border-top: 1px solid var(--e-line); font-size: 1em; }
.erp-total b { color: var(--e-ink); font-size: 1.1em; font-variant-numeric: tabular-nums; }
.erp-meter { height: .42em; border-radius: 99px; background: #F3F4F6; overflow: hidden; }
.erp-meter i { display: block; height: 100%; border-radius: inherit; background: var(--e-blue); }
.erp-meter i.bg-green { background: var(--e-green); }
.erp-meter i.bg-orange { background: var(--e-orange); }
.erp-link { display: inline-flex; align-items: center; gap: .4em; color: var(--e-blue); font-weight: 500; font-size: .92em; }
.erp-link svg { width: .95em; height: .95em; }
.erp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.erp-tiles > div { display: grid; gap: .25em; padding: .9em 1em; border-radius: .7em; background: #F9FAFB; }
.erp-tiles small { color: var(--e-muted); font-size: .88em; }
.erp-tiles b { font-size: 1.75em; font-weight: 700; font-variant-numeric: tabular-nums; }
.erp-tiles i { font-style: normal; color: var(--e-muted); font-size: .85em; font-variant-numeric: tabular-nums; }
.erp-pill { padding: .2em .7em; border-radius: 99px; border: 1px solid var(--e-line); font-weight: 600; font-size: .9em; color: var(--e-ink); }
.erp-due { border-left: 3px solid var(--e-red); }
.erp-big { font-size: 2.4em; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.erp-due small { color: var(--e-muted); font-size: 1em; }
.erp-tabs { margin-left: auto; display: inline-flex; gap: .2em; font-size: .78em; font-weight: 500; color: #4B5563; }
.erp-tabs span { padding: .35em .7em; border-radius: .45em; }
.erp-tabs .is-active { background: var(--e-blue); color: #fff; }
.erp-rev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.erp-rev small { display: block; color: var(--e-muted); font-size: .85em; margin-bottom: .2em; }
.erp-rev b { font-size: 1.3em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.erp-bars { display: grid; gap: .45em; }
.erp-bars > div:not(.erp-meter) { display: flex; justify-content: space-between; color: #4B5563; font-size: .9em; font-variant-numeric: tabular-nums; }

@container (max-width: 900px) {
  .erp-search, .erp-ic:not(.erp-ic--bell), .erp-actions .erp-btn:nth-child(3), .erp-actions .erp-btn:last-child { display: none; }
}
@container (max-width: 620px) {
  .erp-app { grid-template-columns: 1fr; height: 46em; font-size: 11px; }
  .erp-app::after { left: 0; }
  .erp-side, .erp-actions, .erp-user-txt, .erp-hint, .erp-offers, .erp-orders, .erp-sites, .erp-revenue { display: none; }
  .erp-top { padding: .9em 1.1em; }
  .erp-content { padding: 1em 1.1em 2em; }
  .erp-grid { grid-template-columns: 1fr; }
}

.ref-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 56px);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}
.ref-cta p { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; letter-spacing: -.01em; max-width: 34ch; }

@media (max-width: 960px) {
  .ref-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
}
@media (max-width: 640px) {
  .ref-facts { grid-template-columns: 1fr; gap: 14px; }
  .ref-flow { gap: 12px 22px; }
  .ref-flow li::after { display: none; }
  .ref-cta { padding: 24px; }
  .ref-cta .btn { width: 100%; }
  .ref-shot figcaption { text-align: left; }
}

/* =========================================================
   Orbit-Elemente (Signet, Kreise, Knoten) – wiederverwendbar
   ========================================================= */
.orb { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb--spin { animation: spin 140s linear infinite; }
.o-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 59, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 59, .05) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 68%);
}
.o-glow {
  position: absolute; inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, .16), rgba(0, 209, 193, .06) 50%, transparent 72%);
  animation: glow 7s ease-in-out infinite;
}
.o-core {
  position: absolute; left: 50%; top: 50%;
  width: 27%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 26%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(0, 66, 160, .35);
}
.o-core img { width: 62%; filter: drop-shadow(0 10px 14px rgba(0, 102, 230, .2)); }

/* Leistungen: drei Bereiche im Orbit */
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 19vw, 250px);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(32px, 3.5vw, 48px);
}
.services-intro .section-head { margin-bottom: 0; }
.o3 { position: relative; width: 100%; aspect-ratio: 1; }
.o3-spin { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.o3-node { position: absolute; translate: -50% -50%; }
.o3-node > span {
  display: grid; place-items: center;
  width: clamp(50px, 4.6vw, 62px); aspect-ratio: 1;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px -18px rgba(11, 31, 59, .4);
  animation: spin 80s linear infinite reverse;
}
.o3-node svg { width: 56%; height: 56%; }

/* Branchen-Orbit in der Referenz */
.branches {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(40px, 4vw, 56px);
}
.branches-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); letter-spacing: -.03em; margin-bottom: 22px; }
.branches-copy p:not(.eyebrow) { font-size: 1.05rem; max-width: 46ch; }
.branches-copy p + p { margin-top: 14px; }
.borbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.borbit .o-core { width: 24%; }
.bchip {
  position: absolute;
  translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 14px 10px 11px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(11, 31, 59, .45);
  font-size: .86rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
  width: max-content;
  animation: float 8s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}
.bchip svg {
  width: 26px; height: 26px; padding: 5px;
  border-radius: 8px;
  flex: none;
  background: var(--grad-soft);
  color: var(--blue-ink);
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* Prozess: laufender Datenpunkt + Puls an den Knoten */
.timeline-wrap { position: relative; }
.tl-runner {
  position: absolute;
  left: 28px; right: calc(25% - 24px - 28px);
  top: 28px; height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s var(--ease) 1.8s;
}
.timeline.is-visible + .tl-runner { opacity: 1; }
.tl-runner i {
  position: absolute; top: 50%; left: 0;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 209, 193, .18), 0 0 18px 4px rgba(0, 209, 193, .55);
  animation: run 4.5s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes run {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.step-node { position: relative; }
.step-node::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  border: 2px solid var(--cyan);
  opacity: 0;
}
.timeline.is-visible .step-node::after { animation: ping 4.5s var(--ease) infinite; }
.timeline.is-visible .step:nth-child(1) .step-node::after { animation-delay: 1.8s; }
.timeline.is-visible .step:nth-child(2) .step-node::after { animation-delay: 3.3s; }
.timeline.is-visible .step:nth-child(3) .step-node::after { animation-delay: 4.8s; }
.timeline.is-visible .step:nth-child(4) .step-node::after { animation-delay: 6.3s; }
@keyframes ping {
  0% { opacity: .8; transform: scale(1); }
  35%, 100% { opacity: 0; transform: scale(1.45); }
}


/* Hintergrund-Orbits */
.section--orbit, .section--contact { overflow: hidden; isolation: isolate; }
.bg-orbit { position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 1; }
.bg-orbit--warum { width: min(620px, 70vw); right: max(-200px, -14vw); top: -140px; opacity: .9; }
.bg-orbit--contact { width: min(560px, 80vw); right: max(-180px, -16vw); top: 40px; opacity: .8; }
.section--contact .container { position: relative; }

/* ERP-Mockup: Logo in der mobilen Kopfzeile */
.erp-mlogo { display: none; align-items: center; gap: .8em; color: #4B5563; }
.erp-mlogo img { width: 7.5em; height: auto; display: block; }
@container (max-width: 620px) {
  .erp-mlogo { display: inline-flex; }
  .erp-crumb { display: none; }
}

@media (max-width: 960px) {
  .services-intro { grid-template-columns: 1fr; }
  .o3 { max-width: 220px; justify-self: start; }
  .branches { grid-template-columns: 1fr; }
  .tl-runner { display: none; }
}
@media (max-width: 640px) {
  .borbit { width: 88%; }
  .bchip { font-size: .7rem; padding: 7px 10px 7px 8px; gap: 6px; border-radius: 10px; }
  .bchip svg { width: 20px; height: 20px; padding: 3px; border-radius: 6px; }
  .o3 { display: none; }
  .bg-orbit--warum { width: 420px; right: -220px; top: -120px; }
  .bg-orbit--contact { display: none; }
}
