/* ==========================================================================
   SentralTech Motion Layer · 2026-09-27 (d)
   Ladeanimation, Seitenübergänge, Scroll-Reveals, Parallax, Micro-Interactions.
   Aktiv nur mit html.st-motion (wird per Head-Skript gesetzt, außer bei
   "Bewegung reduzieren"). Ohne JS bleibt die Seite unverändert.
   ========================================================================== */

:root {
  --st-ease: cubic-bezier(.16, 1, .3, 1);
  --st-ease-io: cubic-bezier(.77, 0, .18, 1);
  --st-ease-soft: cubic-bezier(.22, .61, .36, 1);
  --st-ink: #06111d;
  --st-logo: #1b9bf0;
  --st-cyan: #54cbff;
  --st-ok: #2ee6a0;
  --st-scan-mask: linear-gradient(180deg, #000 0 40%, transparent 52% 100%);
  --st-mask-hidden: calc(69.4% - .35em);
  --st-mask-shown: calc(0% - .35em);
  --st-cover-bg:
    radial-gradient(80% 60% at 50% 40%, rgba(0, 104, 255, .17), rgba(0, 104, 255, 0) 62%),
    radial-gradient(50% 40% at 50% 100%, rgba(84, 203, 255, .07), rgba(84, 203, 255, 0) 70%),
    #06111d;
}

/* --------------------------------------------------------------------------
   1 · Sofort-Abdeckung vor dem ersten Paint (Intro + Seitenwechsel)
   -------------------------------------------------------------------------- */
html.st-intro::after,
html.st-enter::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  background: var(--st-cover-bg);
  pointer-events: none;
}

html.st-live::after { content: none; }

/* Hero-/Header-Animationen warten, bis die Abdeckung aufgeht */
/* Unter der Abdeckung sind die Hero-Inhalte bereits fertig gerendert (zählt für
   Google/LCP). Die Einblend-Animationen starten erst, wenn sich die Abdeckung öffnet. */
html.st-hold .home-hero :is(.eyebrow-line, .home-hero__lead, .hero-actions, .hero-proof > *, .security-network,
  .security-network__status, .security-network__protocol, .hero-visual__caption),
html.st-hold .inner-hero :is(.inner-hero__grid, .breadcrumbs, .inner-hero__copy > .system-label, h1,
  .inner-hero__copy > p, .inner-hero__side > *) {
  animation: none !important;
}

html.st-hold :is(.home-hero, .inner-hero, .site-header) *,
html.st-hold :is(.home-hero, .inner-hero, .site-header) *::before,
html.st-hold :is(.home-hero, .inner-hero, .site-header) *::after,
html.st-hold :is(.home-hero, .inner-hero)::before,
html.st-hold :is(.home-hero, .inner-hero)::after {
  animation-play-state: paused !important;
}

/* --------------------------------------------------------------------------
   2 · Intro-Loader "Secure Boot"
   -------------------------------------------------------------------------- */
.st-loader,
.st-curtain {
  position: fixed;
  inset: 0;
  z-index: 2147483601;
  font-family: var(--font-mono, "SFMono-Regular", Consolas, "Liberation Mono", monospace);
  color: #cfe6f7;
  -webkit-font-smoothing: antialiased;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

/* Wischblende: Fenster (…__bg) und Inhalt (.st-bg-in) werden gegenläufig verschoben –
   reine Compositor-Animation, kein Neuzeichnen pro Frame (JS: wipe()) */
.st-loader__bg,
.st-curtain__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.st-bg-in {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--st-cover-bg);
  will-change: transform;
}

.st-grid {
  position: absolute;
  inset: -80px;
  background-image:
    linear-gradient(rgba(120, 196, 242, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 196, 242, .075) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 45%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 45%, #000 18%, transparent 76%);
  animation: st-grid-drift 9s linear infinite;
}

@keyframes st-grid-drift { to { transform: translate3d(0, 64px, 0); } }

.st-loader__sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 34vh;
  background: linear-gradient(180deg, rgba(84, 203, 255, 0), rgba(84, 203, 255, .045) 70%, rgba(84, 203, 255, .22) 99%, rgba(84, 203, 255, 0));
  transform: translate3d(0, -40vh, 0);
  animation: st-sweep 2.6s var(--st-ease-io) .15s both;
}

@keyframes st-sweep { to { transform: translate3d(0, 110vh, 0); } }

/* HUD-Ecken + Labels */
.st-hud {
  position: absolute;
  inset: clamp(16px, 3vw, 30px);
  pointer-events: none;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6f8ea8;
}

.st-hud > i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(84, 203, 255, .5);
  opacity: 0;
  animation: st-fade-in .6s var(--st-ease) both;
}

.st-hud > i:nth-of-type(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; translate: -6px -6px; animation-name: st-corner; }
.st-hud > i:nth-of-type(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; translate: 6px -6px; animation-name: st-corner; animation-delay: .06s; }
.st-hud > i:nth-of-type(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; translate: -6px 6px; animation-name: st-corner; animation-delay: .12s; }
.st-hud > i:nth-of-type(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; translate: 6px 6px; animation-name: st-corner; animation-delay: .18s; }

@keyframes st-corner { to { opacity: 1; translate: 0 0; } }
@keyframes st-fade-in { from { opacity: 0; } to { opacity: 1; } }

.st-hud > span {
  position: absolute;
  white-space: nowrap;
  opacity: 0;
  animation: st-fade-in .8s var(--st-ease) .3s both;
}

.st-hud > span:nth-of-type(1) { top: 5px; left: 36px; color: #8fc9ee; }
.st-hud > span:nth-of-type(2) { top: 5px; right: 36px; }
.st-hud > span:nth-of-type(3) { bottom: 5px; left: 36px; }
.st-hud > span:nth-of-type(4) { bottom: 5px; right: 36px; }

.st-hud b {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--st-cyan);
  box-shadow: 0 0 10px var(--st-cyan);
  vertical-align: 1px;
  animation: st-blink 1.1s steps(2, jump-none) infinite;
}

@keyframes st-blink { 50% { opacity: .25; } }

@media (max-width: 640px) {
  .st-hud { font-size: 9px; letter-spacing: .16em; }
  .st-hud > span:nth-of-type(2),
  .st-hud > span:nth-of-type(3) { display: none; }
  .st-hud > span:nth-of-type(1) { left: 30px; }
  .st-hud > span:nth-of-type(4) { right: 30px; }
}

/* Bühne */
.st-loader__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.st-loader__center {
  display: grid;
  justify-items: center;
  gap: clamp(22px, 3.4vh, 34px);
  margin-top: -3vh;
}

.st-loader__logo {
  position: relative;
  width: min(390px, 74vw);
  aspect-ratio: 379 / 154;
}

.st-ring {
  position: absolute;
  left: 50.13%;
  top: 29.2%;
  width: 25.5%;
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
}

.st-ring svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }

.st-ring__halo {
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(27, 155, 240, .30), rgba(0, 104, 255, .08) 55%, rgba(0, 104, 255, 0));
  opacity: 0;
  animation: st-halo 1.6s var(--st-ease) .1s both;
}

@keyframes st-halo { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

.st-ring circle { fill: none; vector-effect: non-scaling-stroke; }
.st-ring__track { stroke: rgba(84, 203, 255, .16); stroke-width: 1; stroke-dasharray: 1 1.02; stroke-dashoffset: 1.01; animation: st-draw 1.4s var(--st-ease-io) .15s forwards; }
.st-ring__ticks { stroke: rgba(84, 203, 255, .35); stroke-width: 5; stroke-dasharray: .004 .0373; opacity: 0; animation: st-fade-in 1s ease .7s forwards; }
/* Bögen drehen als eigene SVG-Ebenen (HTML-Transform → Compositor), nicht als SVG-Kreis-Transform */
.st-ring__arc { stroke: var(--st-cyan); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: .16 .84; }
.st-ring__arc--b { stroke: rgba(0, 104, 255, .9); stroke-dasharray: .07 .93; }
.st-ring__spin { opacity: 0; filter: drop-shadow(0 0 4px rgba(84, 203, 255, .9)); will-change: transform; animation: st-spin 2.4s linear infinite, st-fade-in .6s ease .45s forwards; }
.st-ring__spin--b { animation: st-spin-rev 3.6s linear infinite, st-fade-in .6s ease .6s forwards; }

@keyframes st-spin { to { transform: rotate(360deg); } }
@keyframes st-spin-rev { to { transform: rotate(-360deg); } }

/* Logo (Vektor, identische Geometrie wie das JPG 379×154) */
.st-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 0 0;
  filter: drop-shadow(0 0 6px rgba(27, 155, 240, .45));
  transition: filter .5s ease;
}

.st-logo path {
  fill: none;
  stroke: var(--st-logo);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1.1;
  stroke-dashoffset: 1.05;
}

.st-logo circle {
  fill: var(--st-logo);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
}

.st-logo .st-spark {
  fill: #dff6ff;
  transform: scale(0);
  opacity: 0;
}

.is-run .st-logo path { animation: st-draw var(--dur, .72s) var(--st-ease-io) var(--d, 0s) forwards; }
.is-run .st-logo circle { animation: st-node .55s var(--st-ease) var(--d, 0s) forwards; }
.is-run .st-logo .st-spark { animation: st-spark .7s var(--st-ease) var(--d, 0s) forwards; }

@keyframes st-draw { 0% { stroke-dashoffset: 1.05; } 100% { stroke-dashoffset: 0; } }
@keyframes st-node { 0% { transform: scale(0); } 55% { transform: scale(1.55); } 100% { transform: scale(1); } }
@keyframes st-spark { 0% { transform: scale(0); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }

.st-loader.is-ready .st-logo {
  filter: drop-shadow(0 0 10px rgba(84, 203, 255, .7)) drop-shadow(0 0 26px rgba(0, 104, 255, .35));
}

.st-loader.is-ready .st-logo path { animation: st-charge 1s ease both; }

.st-ring__wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(120, 220, 255, .85);
  box-shadow: 0 0 18px rgba(84, 203, 255, .45), inset 0 0 14px rgba(84, 203, 255, .25);
  opacity: 0;
  pointer-events: none;
}
.st-loader.is-ready .st-ring__wave { animation: st-wave 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
.st-loader.is-ready .st-ring__wave:nth-child(2) { animation-delay: .18s; }
@keyframes st-wave {
  0% { opacity: .9; scale: .75; }
  100% { opacity: 0; scale: 2.6; }
}

@keyframes st-charge {
  0% { stroke: var(--st-logo); stroke-dashoffset: 0; }
  35% { stroke: #bfeeff; stroke-dashoffset: 0; }
  100% { stroke: var(--st-logo); stroke-dashoffset: 0; }
}

/* Status + Fortschritt */
.st-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(330px, 78vw);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: #8fb3cc;
  opacity: 0;
  animation: st-up .7s var(--st-ease) .35s both;
}

.st-status__msg { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; overflow: hidden; }

.st-dot {
  position: relative;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-cyan);
  box-shadow: 0 0 10px rgba(84, 203, 255, .9);
  transition: background .3s ease, box-shadow .3s ease;
}

.st-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: rgba(84, 203, 255, .7);
  animation: st-ping 1.4s var(--st-ease) infinite;
}

.st-loader.is-ready .st-dot { background: var(--st-ok); box-shadow: 0 0 12px rgba(46, 230, 160, .95); }
.st-loader.is-ready .st-dot::after { color: rgba(46, 230, 160, .8); }
.st-loader.is-ready .st-status { color: #d9f6ea; }

@keyframes st-ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

.st-status__pct { font-variant-numeric: tabular-nums; color: #d6ecfb; }
.st-status__pct small { font-size: inherit; color: #5f809a; margin-left: 2px; }

.st-bar {
  position: relative;
  width: min(330px, 78vw);
  height: 1px;
  background: rgba(156, 211, 245, .16);
  opacity: 0;
  animation: st-up .7s var(--st-ease) .42s both;
}

.st-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: -1px;
  top: 4px;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(156, 211, 245, .3) 0 1px, transparent 1px 25%);
}

.st-bar i {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, rgba(0, 104, 255, .25), var(--st-cyan));
}

.st-bar b {
  position: absolute;
  top: 50%;
  left: calc(var(--p, 0) * 100%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9f6ff;
  box-shadow: 0 0 10px 3px rgba(84, 203, 255, .75);
  translate: -50% -50%;
}

@keyframes st-up { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* Scan-Linie (Exit) */
.st-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(84, 203, 255, 0), var(--st-cyan) 18%, #eafcff 50%, var(--st-cyan) 82%, rgba(84, 203, 255, 0));
  box-shadow: 0 0 16px 2px rgba(84, 203, 255, .6), 0 0 60px 10px rgba(0, 104, 255, .22);
  will-change: transform;
}

.st-scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 160px;
  background: linear-gradient(0deg, rgba(84, 203, 255, .14), rgba(84, 203, 255, 0));
}

.st-scan--down::before { bottom: auto; top: 100%; background: linear-gradient(180deg, rgba(84, 203, 255, .12), rgba(84, 203, 255, 0)); }

/* Header-Logo wird vom Intro "angedockt" */
html.st-intro .site-header .brand-mark__official-logo { opacity: 0; }
html.st-intro.st-docked .site-header .brand-mark__official-logo {
  opacity: 1;
  transition: transform var(--motion-normal, .28s) var(--ease-enter, ease), opacity .45s ease;
}

html.st-intro .site-header .brand-mark__plate { animation: st-plate .9s var(--st-ease) .2s both; }
html.st-intro .site-header :is(.desktop-nav > *, .site-header__actions > *, .mobile-menu-button) {
  animation: st-drop .8s var(--st-ease) both;
}
html.st-intro .site-header .desktop-nav > :nth-child(1) { animation-delay: .32s; }
html.st-intro .site-header .desktop-nav > :nth-child(2) { animation-delay: .38s; }
html.st-intro .site-header .desktop-nav > :nth-child(3) { animation-delay: .44s; }
html.st-intro .site-header .desktop-nav > :nth-child(4) { animation-delay: .50s; }
html.st-intro .site-header .desktop-nav > :nth-child(5) { animation-delay: .56s; }
html.st-intro .site-header .desktop-nav > :nth-child(6) { animation-delay: .62s; }
html.st-intro .site-header .desktop-nav > :nth-child(n+7) { animation-delay: .68s; }
html.st-intro .site-header .site-header__actions > :nth-child(1) { animation-delay: .70s; }
html.st-intro .site-header .site-header__actions > :nth-child(2) { animation-delay: .78s; }
html.st-intro .site-header .mobile-menu-button { animation-delay: .6s; }

@keyframes st-plate { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes st-drop { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }

/* --------------------------------------------------------------------------
   3 · Seitenübergang (Scan-Vorhang)
   -------------------------------------------------------------------------- */
.st-curtain { pointer-events: none; }
.st-curtain.is-leaving { pointer-events: auto; cursor: progress; }

.st-curtain__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.st-curtain__center {
  display: grid;
  justify-items: center;
  gap: 18px;
  opacity: 0;
}

.st-mark {
  width: 46px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(27, 155, 240, .55));
}

.st-mark path {
  fill: none;
  stroke: var(--st-logo);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.st-mark .st-mark__pulse {
  stroke: #e6f9ff;
  stroke-width: 3.8;
  stroke-dasharray: .16 1.2;
  stroke-dashoffset: .16;
  animation: st-pulse 1.1s linear infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 0 3px #bfeeff);
}

@keyframes st-pulse { to { stroke-dashoffset: -1.2; } }

.st-mark circle { fill: var(--st-logo); }

.st-curtain__label {
  display: block;
  max-width: min(86vw, 560px);
  padding-inline: 4px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
  color: #9fc3dc;
  white-space: normal;
  overflow-wrap: anywhere;
}

.st-curtain__label em { font-style: normal; color: var(--st-cyan); }

.st-curtain__bar {
  position: relative;
  width: 150px;
  height: 1px;
  overflow: hidden;
  background: rgba(156, 211, 245, .14);
}

.st-curtain__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(84, 203, 255, 0), var(--st-cyan), rgba(84, 203, 255, 0));
  animation: st-indet 1.05s var(--st-ease-io) infinite;
}

@keyframes st-indet { from { translate: -110% 0; } to { translate: 260% 0; } }

/* --------------------------------------------------------------------------
   4 · Alte, an die Scroll-Position gekoppelte Fades abschalten
       (wirkten beim Lesen verwaschen + nur in Chrome)
   -------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  html.st-motion :is(.section-heading, .protection-model li, .service-index > a, .regulation-section__copy,
    .technology-orbit__list > a, .infrastructure-layers > div, .process-timeline > li, .portfolio-grid > a,
    .technology-catalog > a, .capability-grid article, .solution-areas article, .principle-grid article,
    .needs-grid > a, .connected-services__grid > a, .technology-proof__grid > a) {
    animation: none;
    animation-timeline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  @supports (animation-timeline: view()) {
    :is(.section-heading, .protection-model li, .service-index > a, .regulation-section__copy,
      .technology-orbit__list > a, .infrastructure-layers > div, .process-timeline > li, .portfolio-grid > a,
      .technology-catalog > a, .capability-grid article, .solution-areas article, .principle-grid article,
      .needs-grid > a, .connected-services__grid > a, .technology-proof__grid > a) {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }
}

/* Bugfix: Bei "Bewegung reduzieren" war die Hero-Headline bisher ~2,6 s lang
   nur zu 15 % sichtbar (Verzögerung lief trotz reduzierter Bewegung weiter). */
@media (prefers-reduced-motion: reduce) {
  .cyber-headline__text { animation: none !important; opacity: 1 !important; clip-path: none !important; filter: none !important; transform: none !important; }
  .cyber-headline__matrix { display: none !important; }
  .hero-system-state { animation: none !important; opacity: 1 !important; }
}

/* --------------------------------------------------------------------------
   5 · Reveal-System (per JS vergeben: data-st="…")
   -------------------------------------------------------------------------- */
html.st-motion [data-st]:not(.st-in) { opacity: 0; }

html.st-motion [data-st].st-in {
  animation-duration: var(--st-dur, 1s);
  animation-timing-function: var(--st-ease);
  animation-delay: var(--st-d, 0s);
  animation-fill-mode: both;
  animation-iteration-count: 1;
  animation-timeline: auto;
}

/* Überschrift: weicher Scan von oben nach unten (bricht keine Silbentrennung) */
/* Maske ist größer als die Box (no-clip), damit Unterlängen/Umlaute nicht beschnitten werden */
html.st-motion [data-st="scan"] {
  -webkit-mask-image: var(--st-scan-mask);
  mask-image: var(--st-scan-mask);
}
html.st-motion [data-st="scan"],
html.st-motion .inner-hero__copy h1 {
  -webkit-mask-size: calc(100% + .8em) 400%;
  mask-size: calc(100% + .8em) 400%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-clip: no-clip;
  mask-clip: no-clip;
  -webkit-mask-position: 50% var(--st-mask-hidden);
  mask-position: 50% var(--st-mask-hidden);
}
html.st-motion [data-st="scan"].st-in { animation-name: st-scan; --st-dur: 1.2s; animation-timing-function: cubic-bezier(.3, .75, .2, 1); }

@keyframes st-scan {
  0% { -webkit-mask-image: var(--st-scan-mask); mask-image: var(--st-scan-mask); -webkit-mask-position: 50% var(--st-mask-hidden); mask-position: 50% var(--st-mask-hidden); translate: 0 .32em; opacity: .35; filter: blur(3px); }
  60% { filter: blur(0); }
  99.9% { -webkit-mask-image: var(--st-scan-mask); mask-image: var(--st-scan-mask); -webkit-mask-position: 50% var(--st-mask-shown); mask-position: 50% var(--st-mask-shown); translate: 0 0; opacity: 1; filter: blur(0); }
  100% { -webkit-mask-image: none; mask-image: none; -webkit-mask-position: 50% var(--st-mask-shown); mask-position: 50% var(--st-mask-shown); translate: 0 0; opacity: 1; filter: blur(0); }
}

/* Fließtext / Buttons */
html.st-motion [data-st="rise"].st-in { animation-name: st-rise; --st-dur: 1s; }
@keyframes st-rise {
  from { opacity: 0; translate: 0 26px; filter: blur(3px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

/* Karten */
html.st-motion [data-st="card"].st-in { animation-name: st-card; --st-dur: 1.1s; }
@keyframes st-card {
  from { opacity: 0; translate: 0 46px; scale: .975; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

/* Listen-Einträge */
html.st-motion [data-st="item"].st-in { animation-name: st-item; --st-dur: .85s; }
@keyframes st-item {
  from { opacity: 0; translate: -10px 14px; }
  to { opacity: 1; translate: 0 0; }
}

/* Grafiken / Diagramme */
html.st-motion [data-st="frame"].st-in { animation-name: st-frame; --st-dur: 1.35s; }
@keyframes st-frame {
  from { opacity: 0; translate: 0 36px; scale: .96; filter: blur(6px); }
  55% { filter: blur(0); }
  to { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); }
}

/* Mono-Labels: Einblenden, Text wird per JS entschlüsselt */
html.st-motion [data-st="decode"].st-in { animation-name: st-label; --st-dur: .5s; }
@keyframes st-label { from { opacity: 0; } to { opacity: 1; } }

/* Farbige Karten-Oberkante zeichnet sich nach dem Einblenden */
html.st-motion .technology-proof__grid > a[data-st].st-in i {
  animation: st-underline .75s var(--st-ease) calc(var(--st-d, 0s) + .25s) both;
  transform-origin: 0 50%;
}
@keyframes st-underline { from { scale: 0 1; } to { scale: 1 1; } }

/* Häkchen-Icons in Listen */
html.st-motion .check-list > li[data-st].st-in :is(.check-icon, svg) {
  animation: st-check .6s var(--st-ease) calc(var(--st-d, 0s) + .18s) both;
}
@keyframes st-check { from { opacity: 0; scale: .4; rotate: -25deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }

@media print {
  html.st-motion [data-st] { opacity: 1 !important; animation: none !important; -webkit-mask: none !important; mask: none !important; filter: none !important; translate: none !important; }
  .st-loader, .st-curtain, .st-spot { display: none !important; }
}

/* --------------------------------------------------------------------------
   6 · Hero-Choreografie (Start)
   -------------------------------------------------------------------------- */
/* Headline: Matrix-Zeilen tippen → werden vom Scan "verbraucht" → Headline wird
   Zeile für Zeile entschlüsselt (JS: .st-hl). Ohne JS gilt der CSS-Fallback. */
html.st-motion .cyber-headline__matrix { animation: none; }
html.st-motion .cyber-headline__matrix > span {
  animation:
    headline-matrix-row .62s steps(18, end) .28s both,
    st-matrix-out .46s cubic-bezier(.7, 0, .3, 1) 1.52s forwards;
}
html.st-motion .cyber-headline__matrix > span:nth-child(2) { animation-delay: .52s, 1.6s; }
html.st-motion .cyber-headline__matrix > span:nth-child(3) { animation-delay: .76s, 1.68s; }
@keyframes st-matrix-out {
  from { clip-path: inset(0 0 0 0); opacity: 1; }
  to { clip-path: inset(0 0 0 100%); opacity: .2; visibility: hidden; }
}

/* CSS-Fallback (falls das Zeilen-Skript nicht greift) */
html.st-motion .cyber-headline__text { animation: 1.6s cubic-bezier(.16, 1, .3, 1) 1.55s both headline-decode-coherent; }

/* Zeilen-Entschlüsselung */
html.st-motion .cyber-headline.st-hl .cyber-headline__text { animation: none !important; }
.st-hl-line {
  display: flow-root;
  position: relative;
  width: fit-content;
  max-width: none;
  white-space: nowrap;
}
.st-hl-txt {
  display: block;
  padding: .16em .12em .22em;
  margin: -.16em -.12em -.22em;
}
.st-hl-cur {
  position: absolute;
  left: 0;
  top: -.1em;
  bottom: -.14em;
  width: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
}
.st-hl-cur > i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(84, 203, 255, 0), #54cbff 18%, #e9fbff 50%, #54cbff 82%, rgba(84, 203, 255, 0));
  box-shadow: 0 0 10px 1px rgba(84, 203, 255, .75), 0 0 28px 4px rgba(0, 104, 255, .28);
}
.st-hl-cur > i::before {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 100%;
  width: 1.7em;
  background: radial-gradient(100% 50% at 100% 50%, rgba(84, 203, 255, .2), rgba(84, 203, 255, 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.st-hl-cur > b {
  position: absolute;
  left: 7px;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-mono, monospace);
  font-size: .22em;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  white-space: nowrap;
  color: #0068ff;
  text-shadow: 0 0 8px rgba(0, 104, 255, .45);
  opacity: .7;
}
.cyber-headline__accent .st-hl-cur > b { color: #0a8fe8; }

/* Während der Entschlüsselung bleibt alles innerhalb der Headline-Box (kein Überstand am Rand) */
html.st-motion .cyber-headline.st-hl:not(.st-hl-done) .cyber-headline__text {
  clip-path: inset(-.4em -2px -.5em -2px);
}

/* Abschluss: Signatur-Linie unter der Headline (wie auf den Unterseiten) */
html.st-motion .cyber-headline.st-hl .cyber-headline__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: min(180px, 32%);
  height: 2px;
  background: linear-gradient(90deg, #48ccff, rgba(72, 204, 255, 0));
  transform-origin: 0 50%;
  scale: 0 1;
  pointer-events: none;
}
html.st-motion .cyber-headline.st-hl-done .cyber-headline__text::after {
  animation: st-hl-sig .9s var(--st-ease) forwards;
}
@keyframes st-hl-sig { to { scale: 1 1; } }

html.st-motion .home-hero .eyebrow-line { animation: st-up .7s var(--st-ease) .02s backwards; }
html.st-motion .home-hero__lead { animation: st-rise 1.1s var(--st-ease) 2.55s backwards; }
html.st-motion .home-hero .hero-actions { animation: st-rise 1.1s var(--st-ease) 2.72s backwards; }
html.st-motion .home-hero .hero-proof > * { animation: st-item .8s var(--st-ease) backwards; }
html.st-motion .home-hero .hero-proof > :nth-child(1) { animation-delay: 2.92s; }
html.st-motion .home-hero .hero-proof > :nth-child(2) { animation-delay: 3s; }
html.st-motion .home-hero .hero-proof > :nth-child(3) { animation-delay: 3.08s; }

html.st-motion .home-hero__visual .security-network { animation: st-visual 1.8s var(--st-ease) .3s backwards; }
@keyframes st-visual {
  from { opacity: 0; scale: .93; filter: blur(12px); }
  60% { filter: blur(0); }
}
html.st-motion .home-hero__visual .security-network__status { animation: st-chip .8s var(--st-ease) backwards; }
html.st-motion .home-hero__visual .security-network__status--one { animation-delay: 1.05s; }
html.st-motion .home-hero__visual .security-network__status--two { animation-delay: 1.17s; }
html.st-motion .home-hero__visual .security-network__status--three { animation-delay: 1.29s; }
html.st-motion .home-hero__visual .security-network__status--four { animation-delay: 1.41s; }
html.st-motion .home-hero__visual .security-network__protocol { animation: st-up .8s var(--st-ease) .9s backwards; }
html.st-motion .home-hero__visual .hero-visual__caption { animation: st-rise 1s var(--st-ease) 2.3s backwards; }
@keyframes st-chip { from { opacity: 0; scale: .7; translate: 0 8px; } }

/* Unterseiten-Hero */
html.st-motion .inner-hero__grid { animation: st-grid-in 1.8s var(--st-ease) backwards; }
@keyframes st-grid-in { from { opacity: 0; scale: 1.06; } }
html.st-motion .inner-hero .breadcrumbs { animation: st-up .7s var(--st-ease) .05s backwards; }
html.st-motion .inner-hero__copy > .system-label { animation: st-up .6s var(--st-ease) .14s backwards; }
html.st-motion .inner-hero__copy h1 { animation: st-scan 1.25s cubic-bezier(.3, .75, .2, 1) .2s both; }
html.st-motion .inner-hero__copy h1::after { animation-delay: 1.05s; animation-duration: .9s; }
html.st-motion .inner-hero__copy > p { animation: st-rise 1s var(--st-ease) .6s backwards; }
html.st-motion .inner-hero__side { animation: none; }
html.st-motion .inner-hero__side > * { animation: st-side 1.2s var(--st-ease) .72s backwards; }
@keyframes st-side {
  from { opacity: 0; translate: var(--st-side-x, 22px) var(--st-side-y, 0px); filter: blur(6px); }
}
@media (max-width: 980px) {
  html.st-motion .inner-hero__side > * { --st-side-x: 0px; --st-side-y: 26px; }
}

/* --------------------------------------------------------------------------
   7 · Scroll-Parallax: Werte setzt das Skript direkt (translate/opacity), nur
       solange der Bereich sichtbar ist – keine teure Variablen-Vererbung.
   -------------------------------------------------------------------------- */
html.st-motion :is(.home-hero__copy, .home-hero__visual, .inner-hero__copy, .inner-hero__side,
  .inner-hero__grid, .final-cta__network, .consultation-cta__signal) { will-change: translate; }

/* --------------------------------------------------------------------------
   7b · Rendering-Performance: Bereiche weit unterhalb des Bildschirms werden
        erst gerendert, wenn sie in die Nähe kommen (Browser-nativ, kein JS).
   -------------------------------------------------------------------------- */
main > section:nth-child(n+4):not(.protection-scroll),
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

/* --------------------------------------------------------------------------
   8 · Micro-Interactions
   -------------------------------------------------------------------------- */
/* Spotlight auf Karten (ein globales Overlay, folgt dem Zeiger) */
.st-spot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: var(--w, 0);
  height: var(--h, 0);
  translate: var(--x, 0) var(--y, 0);
  border-radius: var(--r, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  contain: strict;
}

.st-spot.is-on { opacity: 1; }

.st-spot::before,
.st-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.st-spot::before {
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), var(--st-spot-fill, rgba(0, 104, 255, .075)), transparent 62%);
  mix-blend-mode: var(--st-spot-blend, multiply);
}

.st-spot::after {
  padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--st-spot-edge, rgba(0, 104, 255, .65)), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.st-spot.is-dark {
  --st-spot-fill: rgba(84, 203, 255, .13);
  --st-spot-blend: screen;
  --st-spot-edge: rgba(120, 220, 255, .85);
}

/* Glanz-Sweep auf Haupt-Buttons */
html.st-motion :is(.button--primary, .button--light, .button--header) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

html.st-motion :is(.button--primary, .button--light, .button--header)::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .38) 48%, rgba(255, 255, 255, 0) 64%);
  translate: -110% 0;
  transition: translate .8s var(--st-ease);
}

html.st-motion .button--light::after {
  background: linear-gradient(105deg, rgba(84, 203, 255, 0) 30%, rgba(84, 203, 255, .45) 48%, rgba(84, 203, 255, 0) 64%);
}

html.st-motion :is(.button--primary, .button--light, .button--header):is(:hover, :focus-visible)::after { translate: 110% 0; }

/* Magnetische CTAs: Wert per JS (individuelle translate-Eigenschaft) */
html.st-motion [data-st-magnet] { will-change: translate; }

/* Back-to-top: Lesefortschritt als Rahmen */
html.st-motion .back-to-top::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(from 0deg, var(--st-cyan) calc(var(--st-prog, 0) * 1turn), rgba(84, 203, 255, 0) 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 4px rgba(84, 203, 255, .6));
}

/* Animationen pausiert (Button im Footer) → alles sofort sichtbar */
html[data-motion="paused"] [data-st] {
  opacity: 1 !important;
  animation: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  filter: none !important;
  translate: none !important;
  scale: none !important;
}

/* --------------------------------------------------------------------------
   9 · Text sitzt sauber in runden Formen (unabhängig von Animationen)
   -------------------------------------------------------------------------- */
/* Hero-Kreis: "4 BEREICHE VERBUNDEN" lief über den inneren Ring hinaus */
.home-hero--refined .security-network--convergence .security-network__sigil {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.home-hero--refined .security-network--convergence .security-network__sigil svg { width: 26px; height: 29px; }
.home-hero--refined .security-network--convergence .security-network__core-kicker,
.home-hero--refined .security-network--convergence .security-network__core > small {
  font-size: .7rem;
  letter-spacing: .02em;
  line-height: 1.22;
}
.home-hero--refined .security-network--convergence .security-network__core > small {
  max-width: 7.4em;
  margin-top: 1px;
  text-align: center;
  text-wrap: balance;
}
.home-hero--refined .security-network--convergence .security-network__core > strong { margin: 1px 0; }

@media (max-width: 720px) {
  .home-hero--refined .security-network--convergence .security-network__sigil { flex-basis: 32px; width: 32px; height: 32px; margin-bottom: 3px; }
  .home-hero--refined .security-network--convergence .security-network__sigil svg { width: 22px; height: 25px; }
  .home-hero--refined .security-network--convergence .security-network__core-kicker,
  .home-hero--refined .security-network--convergence .security-network__core > small { font-size: .66rem; }
  .home-hero--refined .security-network--convergence .security-network__core > strong { font-size: .92rem; }
}

/* "SOC & MDR"-Grafik: "QUALIFIZIERUNG" ragte seitlich aus dem Kreis */
.solution-process-triage {
  width: 128px;
  min-height: 128px;
}
.solution-process-triage small,
.solution-process-triage span {
  font-size: .66rem;
  letter-spacing: 0;
}
@media (min-width: 1121px) {
  .solution-process-map--signal-convergence {
    grid-template-columns: minmax(140px, 0.58fr) 112px 128px 58px minmax(292px, 1.5fr) minmax(156px, 0.7fr);
  }
}

/* SentinelOne-Grafik: "KORRELATION" schnitt den inneren Ring → Kern größer, Ring weiter */
@media (min-width: 901px) {
  .manufacturer-map--signal-core { grid-template-columns: minmax(115px, .58fr) 122px minmax(170px, 1fr) minmax(150px, .72fr); }
}
@media (min-width: 721px) and (max-width: 900px) {
  .manufacturer-map--signal-core { grid-template-columns: minmax(115px, .55fr) 122px minmax(190px, 1fr); }
}
.manufacturer-map__core { width: 120px; height: 120px; }
.manufacturer-map__core i { inset: 8px; }
.manufacturer-map__core small { font-size: .66rem; letter-spacing: .01em; }
.manufacturer-map__core strong { margin-top: 3px; }

/* N-able-Grafik: "RESILIENZ" lag auf dem inneren Ring */
.manufacturer-map__cycle-core { width: 110px; height: 110px; }
.manufacturer-map__cycle-core small { font-size: .7rem; letter-spacing: .03em; }

/* --------------------------------------------------------------------------
   10 · Schwache Geräte (html.st-lite, per JS erkannt: Datensparmodus, wenig
        RAM/Kerne oder gemessene Ruckler). Gleiche Bewegungen, aber nur mit
        Compositor-Eigenschaften (Deckkraft, Verschiebung, Skalierung) –
        ohne Unschärfe-Filter, Masken-Scans und Leuchtschatten.
        · .st-lt       → Reveal, das im leichten Profil gestartet wurde
        · .st-lite-boot → Profil stand schon vor dem Aufdecken fest (Hero)
   -------------------------------------------------------------------------- */
@keyframes st-scan-lite { from { opacity: 0; translate: 0 .45em; } to { opacity: 1; translate: 0 0; } }
@keyframes st-rise-lite { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes st-frame-lite { from { opacity: 0; translate: 0 36px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes st-side-lite { from { opacity: 0; translate: var(--st-side-x, 22px) var(--st-side-y, 0px); } }
@keyframes st-visual-lite { from { opacity: 0; scale: .93; } }

html.st-motion [data-st].st-lt { -webkit-mask: none; mask: none; }
html.st-motion [data-st="scan"].st-in.st-lt { animation-name: st-scan-lite; animation-timing-function: var(--st-ease); }
html.st-motion [data-st="rise"].st-in.st-lt { animation-name: st-rise-lite; }
html.st-motion [data-st="frame"].st-in.st-lt { animation-name: st-frame-lite; }

html.st-lite-boot .home-hero__lead,
html.st-lite-boot .home-hero .hero-actions,
html.st-lite-boot .home-hero__visual .hero-visual__caption,
html.st-lite-boot .inner-hero__copy > p { animation-name: st-rise-lite; }
html.st-lite-boot .home-hero__visual .security-network { animation-name: st-visual-lite; }
html.st-lite-boot .inner-hero__copy h1 { -webkit-mask: none; mask: none; animation-name: st-scan-lite; animation-timing-function: var(--st-ease); }
html.st-lite-boot .inner-hero__side > * { animation-name: st-side-lite; }

/* Ladeanimation: Leuchten statisch statt pro Frame gefiltert */
html.st-lite-boot .st-ring__spin { filter: none; }
html.st-lite-boot .st-ring__wave { box-shadow: none; }

/* Glas-Effekte (Backdrop-Weichzeichner) sind auf schwachen GPUs beim Scrollen teuer */
html.st-lite .back-to-top,
html.st-lite .server-scroll-meter { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.st-lite .back-to-top { background-color: rgba(5, 22, 36, .96); }

/* Dauerhafte Kleinigkeiten */
html.st-lite .st-spot::before { mix-blend-mode: normal; }
html.st-lite .back-to-top::before { filter: none; }
html.st-lite .st-hl-cur > i { box-shadow: 0 0 8px 1px rgba(84, 203, 255, .6); }

/* --------------------------------------------------------------------------
   11 · Für alle Geräte: Die Kopfzeile ist vollständig deckend (#000). Der
        Backdrop-Weichzeichner dahinter war daher unsichtbar, wurde aber bei
        jedem Scroll-Frame über die ganze Breite berechnet → entfernt.
   -------------------------------------------------------------------------- */
.site-header--light,
.site-header--dark { -webkit-backdrop-filter: none; backdrop-filter: none; }
