/* MATE Frosted-Aero Full-Page Spatial World & Glass UI
   Erstreckt die 1:1 3D-Obsidian-Architektur rahmenlos über die gesamte Seite
   (100vw × 100svh, mit Perspektivenwechseln und filmreifen Kamera-Übergängen)
   und verankert den Hero sowie alle Sektionen konsequent im Frosted Design UI mit Modern Aero. */

/* ==========================================================================
   1. MODERN AERO DESIGN TOKENS & STICKY FOCUS-PADDING
   ========================================================================== */
@property --fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

html {
  scroll-padding-top: calc(var(--header, 78px) + 20px);
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

:root {
  --aero-panel-bg: linear-gradient(
    138deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(248, 251, 255, 0.66) 50%,
    rgba(230, 238, 255, 0.76) 100%
  );
  --aero-panel-soft: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.90) 0%,
    rgba(244, 248, 255, 0.80) 100%
  );
  --aero-tile-bg: rgba(255, 255, 255, 0.64);
  --aero-border-hi: rgba(255, 255, 255, 0.92);
  --aero-border-lo: rgba(70, 88, 132, 0.16);
  --aero-card-shadow:
    0 28px 72px rgba(11, 17, 32, 0.11),
    0 6px 20px rgba(11, 17, 32, 0.05),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.98),
    inset 1px 0 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(70, 88, 132, 0.11);
  --aero-soft-shadow:
    0 14px 38px rgba(11, 17, 32, 0.08),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="dunkel"] {
  --aero-panel-bg: linear-gradient(
    138deg,
    rgba(22, 33, 56, 0.84) 0%,
    rgba(14, 22, 40, 0.70) 52%,
    rgba(20, 32, 62, 0.80) 100%
  );
  --aero-panel-soft: linear-gradient(
    140deg,
    rgba(20, 30, 52, 0.80) 0%,
    rgba(13, 21, 38, 0.66) 100%
  );
  --aero-tile-bg: rgba(26, 39, 66, 0.62);
  --aero-border-hi: rgba(196, 208, 245, 0.24);
  --aero-border-lo: rgba(125, 140, 255, 0.20);
  --aero-card-shadow:
    0 30px 80px rgba(0, 0, 0, 0.44),
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(125, 140, 255, 0.12);
  --aero-soft-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* ==========================================================================
   2. CROSS-DOCUMENT VIEW TRANSITIONS & PORTAL-ÜBERGANG
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

.cube-portal-veil {
  position: fixed;
  inset: 0;
  z-index: 980;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 48%,
    color-mix(in oklab, var(--frost-accent) 24%, var(--frost-canvas)) 0%,
    var(--frost-canvas) 74%
  );
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cube-portal-veil.is-active {
  opacity: 0.94;
}

/* ==========================================================================
   3. NATIVE SCROLL-DRIVEN PROGRESS & INTERAKTIONS-ZUSTÄNDE
   ========================================================================== */
@keyframes mate-scroll-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .living-progress {
    animation: mate-scroll-progress auto linear both;
    animation-timeline: scroll(root block);
    animation-range: 0% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .living-progress {
    animation: none !important;
  }
}

:where(
  .frost-layer-row,
  .frost-inspector-link,
  .frost-phase-btn,
  .frost-industry-card,
  .spatial-pin__card,
  .service-cube-back,
  .service-step-pin,
  .service-step-btn,
  .service-connections-bar a
):focus-visible {
  outline: 2px solid var(--frost-accent);
  outline-offset: 3px;
}

/* ==========================================================================
   4. GANZSEITIGE, RAHMENLOSE 3D-AERO-WELT (.aero-world-stage)
   ========================================================================== */
.home-pilot .site-header {
  z-index: 120;
  border-bottom: 1px solid var(--aero-border-hi);
  background: rgba(252, 253, 255, 0.95);
  box-shadow:
    0 10px 34px rgba(11, 17, 32, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

:root[data-theme="dunkel"] .home-pilot .site-header {
  background: rgba(10, 16, 30, 0.95);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.aero-world-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100svh;
  overflow: clip;
  pointer-events: auto;
  contain: layout style paint;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.aero-world-stage.is-post-hero,
.aero-world-stage.is-post-hero #mate-film-canvas {
  pointer-events: none !important;
  cursor: default;
}

.aero-world-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(237, 241, 248, 0.24) 52%,
    rgba(218, 228, 248, 0.22) 100%
  );
}

:root[data-theme="dunkel"] .aero-world-aurora {
  background: linear-gradient(
    155deg,
    rgba(19, 30, 54, 0.42) 0%,
    rgba(7, 13, 25, 0.18) 54%,
    rgba(15, 25, 50, 0.34) 100%
  );
}

.aero-world-grid {
  display: none;
  background-image: none;
}

.home-pilot #mate-film-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: pan-y;
  filter: none !important;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.home-pilot #mate-film-canvas:active {
  cursor: grabbing;
}

.aero-world-stage .film-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.aero-world-stage.webgl-ready .film-fallback {
  opacity: 0;
}

.aero-world-stage.ohne-webgl #mate-film-canvas {
  opacity: 0;
  pointer-events: none;
}

/* Vordergrund-Inhalte schweben über der 3D-Welt; freie Raumflächen bleiben direkt 3D-interaktiv */
.home-pilot main#inhalt {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.home-pilot .site-footer {
  position: relative;
  z-index: 5;
}

.home-pilot :where(
  .aero-glass-card,
  .aero-section-sheet,
  .aero-process-workbench,
  .section-heading,
  .service-row,
  .platform-primary,
  .platform-stack article,
  .platform-footnote,
  .frost-industry-card,
  .frost-case-card,
  .faq-grid > div:first-child,
  .faq-list details,
  .aero-pixel-cta-card,
  .contact-copy,
  .contact-form
) {
  pointer-events: auto;
}

/* Signet-Flug: exakte Markenfarben in Hell- & Dunkelmodus */
.signet-flug svg path {
  fill: #0B1120;
}

.signet-flug svg rect {
  fill: #1B2ED6;
}

:root[data-theme="dunkel"] .signet-flug svg path {
  fill: #EFEFF0;
}

:root[data-theme="dunkel"] .signet-flug svg rect {
  fill: #5A70F0;
}

/* Subtiler Ultramarin Dock-Impuls beim Einrasten des fliegenden Signets am Ende von Kapitel 04 */
.logo-flight-target {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-flight-target::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(0.86);
  border: 1.5px solid rgba(27, 46, 214, 0.72);
  box-shadow:
    0 0 0 0 rgba(27, 46, 214, 0.34),
    0 0 18px rgba(27, 46, 214, 0.28);
}

:root[data-theme="dunkel"] .logo-flight-target::after {
  border-color: rgba(114, 134, 255, 0.84);
  box-shadow:
    0 0 0 0 rgba(90, 112, 240, 0.42),
    0 0 22px rgba(90, 112, 240, 0.36);
}

@keyframes mateLogoDockRing {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.82);
  }
  24% {
    opacity: 0.92;
    transform: translateY(-50%) scale(1.04);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(1.38);
  }
}

@keyframes mateLogoDockSheen {
  0% {
    filter: drop-shadow(0 0 0 rgba(27, 46, 214, 0));
  }
  28% {
    filter: drop-shadow(0 0 12px rgba(27, 46, 214, 0.45));
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(27, 46, 214, 0));
  }
}

@keyframes mateLogoDockSheenDark {
  0% {
    filter: drop-shadow(0 0 0 rgba(90, 112, 240, 0));
  }
  28% {
    filter: drop-shadow(0 0 14px rgba(114, 134, 255, 0.56));
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(90, 112, 240, 0));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .logo-flight-target.is-docked::after {
    animation: mateLogoDockRing 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .logo-flight-target.is-docked .brand-logo {
    animation: mateLogoDockSheen 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  :root[data-theme="dunkel"] .logo-flight-target.is-docked .brand-logo {
    animation-name: mateLogoDockSheenDark;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-flight-target.is-docked::after,
  .logo-flight-target.is-docked .brand-logo {
    animation: none;
  }
}

/* Räumlich verankerte 3D→2D Pins in der offenen Vollbild-Bühne */
.stage-pins-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 280ms ease;
}

.aero-world-stage.is-signet .stage-pins-layer,
.aero-world-stage.is-post-hero .spatial-pin:not(.spatial-pin--active):not(.spatial-pin--hover) {
  opacity: 0;
  pointer-events: none;
}

.spatial-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  translate: var(--pin-x, -999px) calc(var(--pin-y, -999px) - 50%);
  opacity: var(--pin-opacity, 0);
  transition: opacity 220ms ease;
}

.spatial-pin[data-hidden="true"] {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
}

.spatial-pin__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 999px;
  background: var(--frost-accent);
  outline: 2px solid color-mix(in oklab, var(--frost-accent) 28%, transparent);
  box-shadow: none;
}

.frost-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 224px;
  padding: 8px 13px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 16px;
  background: rgba(250, 252, 255, 0.94);
  color: var(--frost-text);
  box-shadow: var(--aero-soft-shadow);
  text-decoration: none;
}

:root[data-theme="dunkel"] .frost-chip {
  background: rgba(15, 24, 44, 0.92);
}

.frost-chip strong {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.22;
  color: var(--frost-text);
}

.frost-chip span {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--frost-muted);
}

.spatial-pin--active {
  translate: calc(var(--pin-x, -999px) - 50%) calc(var(--pin-y, -999px) - 108%);
  flex-direction: column-reverse;
  gap: 6px;
}

.spatial-pin--active .frost-chip {
  pointer-events: auto;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-width: none;
  padding: 8px 15px;
  border-radius: 999px;
  border-color: color-mix(in oklab, var(--frost-accent) 44%, var(--aero-border-hi));
  transition: box-shadow 180ms ease, scale 150ms ease, border-color 180ms ease;
}

.spatial-pin--active .frost-chip:hover {
  border-color: var(--frost-accent);
  box-shadow: var(--aero-card-shadow);
}

.spatial-pin--active .frost-chip:active {
  scale: 0.97;
}

.spatial-pin--active .spatial-pin__go,
.spatial-pin--hover .spatial-pin__go {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--frost-accent);
  white-space: nowrap;
}

.spatial-pin--hover {
  z-index: 6;
  pointer-events: none !important;
  translate: calc(var(--pin-x, -999px) - 50%) calc(var(--pin-y, -999px) - 112%);
  flex-direction: column-reverse;
  gap: 6px;
}

.spatial-pin--hover .frost-chip {
  pointer-events: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-width: none;
  padding: 7px 14px;
  border-radius: 999px;
  border-color: color-mix(in oklab, var(--frost-accent) 52%, var(--aero-border-hi));
  box-shadow: var(--aero-card-shadow);
}

/* ==========================================================================
   5. FROSTED DESIGN UI + MODERN AERO HERO & KAPITEL-KAPSELN (.arch-film)
   ========================================================================== */
.home-pilot .arch-film,
:root[data-theme="dunkel"] .home-pilot .arch-film {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background: transparent !important;
}

.home-pilot .arch-film .living-ambient {
  opacity: 0.42;
}

.home-pilot .arch-film .living-ghost {
  opacity: 0.16;
}

.home-pilot .arch-film .living-coordinate {
  display: none;
}

.home-pilot .film-layout {
  display: block;
  max-width: var(--max, 1480px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.home-pilot .film-copy {
  width: min(100%, 608px);
  margin: 0;
  padding: 0;
}

.home-pilot .film-step {
  min-height: clamp(540px, 76svh, 760px);
  display: flex;
  align-items: center;
  padding-block: clamp(24px, 3.6vh, 48px);
}

.home-pilot .film-step:first-child {
  min-height: clamp(580px, 84svh, 800px);
  padding-top: clamp(20px, 3.4vh, 44px);
}

/* Kapitel 04: Signet-Erklärungs-Chips (Fundament & Ultramarin-Plan) in Modern Aero */
.signet-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.signet-callout {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 44px;
  padding: 13px 15px;
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 18px;
  background: var(--aero-tile-bg);
  color: var(--frost-text);
  box-shadow: var(--aero-soft-shadow);
}

:root[data-theme="dunkel"] .signet-callout {
  border-color: var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  background: var(--aero-tile-bg);
  color: var(--frost-text);
}

.signet-callout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1.5px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.24), transparent);
}

:root[data-theme="dunkel"] .signet-callout::before {
  background: linear-gradient(90deg, transparent, rgba(196, 208, 245, 0.26), transparent);
}

.signet-callout--ultramarin::before,
.signet-callout--ultra::before,
.signet-callout--accent::before,
.signet-callout--core::before,
.signet-callout:last-child::before {
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--frost-accent) 68%, transparent), transparent);
}

.signet-callout .signet-swatch,
.signet-callout .signet-callout-swatch,
.signet-callout > i {
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border-radius: 4px;
  background: #0B1120;
  border: 1px solid rgba(15, 23, 42, 0.22);
}

:root[data-theme="dunkel"] .signet-callout .signet-swatch,
:root[data-theme="dunkel"] .signet-callout .signet-callout-swatch,
:root[data-theme="dunkel"] .signet-callout > i {
  background: #DCE4F7;
  border-color: rgba(255, 255, 255, 0.24);
}

.signet-callout--ultramarin .signet-swatch,
.signet-callout--ultramarin .signet-callout-swatch,
.signet-callout--ultramarin > i,
.signet-callout--ultra .signet-swatch,
.signet-callout--ultra .signet-callout-swatch,
.signet-callout--ultra > i,
.signet-callout--accent .signet-swatch,
.signet-callout--accent .signet-callout-swatch,
.signet-callout--accent > i,
.signet-callout--core .signet-swatch,
.signet-callout--core .signet-callout-swatch,
.signet-callout--core > i {
  background: var(--frost-accent, #1B2ED6);
  border-color: color-mix(in oklab, var(--frost-accent, #1B2ED6) 65%, #FFFFFF);
}

.signet-callout strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--frost-text);
}

.signet-callout span,
.signet-callout small,
.signet-callout p {
  display: block;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.44;
  color: var(--frost-muted);
}

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

@media (forced-colors: active) {
  .signet-callout {
    border: 1px solid CanvasText;
  }
}

/* Skulpturale Modern-Aero-Glaskapsel (stabile opacity: 1 verhindert RenderSurface-Tearing über WebGL) */
.aero-glass-card {
  position: relative;
  width: 100%;
  max-width: 608px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 32px;
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-card-shadow);
  backdrop-filter: blur(16px) saturate(162%);
  -webkit-backdrop-filter: blur(16px) saturate(162%);
  contain: layout style paint;
  overflow: hidden;
}

/* Spekulare obere Aero-Lichtkante */
.aero-glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.98) 28%,
    rgba(154, 176, 255, 0.88) 64%,
    transparent 100%
  );
}

:root[data-theme="dunkel"] .aero-glass-card::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.34) 30%,
    rgba(125, 140, 255, 0.56) 66%,
    transparent 100%
  );
}

.home-pilot .film-step-inner.aero-glass-card::before {
  display: none;
}

/* Aero Kicker Pill im Hero (Kapitel 00) */
.aero-kicker-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-bottom: clamp(18px, 2.2vw, 26px);
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 999px;
  background: var(--aero-tile-bg);
  box-shadow:
    0 6px 18px rgba(11, 17, 32, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

:root[data-theme="dunkel"] .aero-kicker-pill {
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.aero-orb {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 30%, #9EB0FF 0%, #1B2ED6 72%);
  outline: 2px solid color-mix(in oklab, var(--frost-accent) 24%, transparent);
  box-shadow: none;
}

.aero-kicker-pill .eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--frost-text);
}

/* Kapitel-Badge (01..04) im Aero-Glasstil */
.aero-chapter-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px !important;
  padding: 5px 12px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 999px;
  background: var(--aero-tile-bg);
  color: var(--frost-accent) !important;
  font-family: var(--font-meta);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

:root[data-theme="dunkel"] .aero-chapter-pill {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.home-pilot .aero-hero-card h1 {
  max-width: 10ch;
  margin: 0 0 18px;
  font-size: clamp(3.15rem, 4.9vw, 5.15rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--frost-text);
}

.home-pilot .aero-chapter-card h2 {
  max-width: 11ch;
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 3.8vw, 3.85rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.052em;
  color: var(--frost-text);
}

.home-pilot .aero-glass-card .lead,
.home-pilot .aero-glass-card > p:not(.chapter-number):not(.film-note) {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.6;
  color: var(--frost-muted);
}

.home-pilot .aero-glass-card .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.home-pilot .aero-glass-card .actions .btn {
  padding-inline: 18px;
  font-size: 0.93rem;
  white-space: nowrap;
}

/* Sekundäre Aero-Glaspille im Hero & Kapitel 04 (kein verschachtelter backdrop-filter in .aero-glass-card!) */
.home-pilot .arch-film .btn--ghost,
.home-pilot .aero-secondary-btn {
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 999px;
  background: var(--aero-tile-bg);
  color: var(--frost-text);
  box-shadow: var(--aero-soft-shadow);
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, scale 150ms ease;
}

.home-pilot .arch-film .btn--ghost:hover,
.home-pilot .aero-secondary-btn:hover {
  border-color: color-mix(in oklab, var(--frost-accent) 46%, var(--aero-border-hi));
  background: var(--frost-glass-strong);
  color: var(--frost-accent);
  box-shadow: var(--aero-card-shadow);
}

.home-pilot .aero-secondary-btn:active {
  scale: 0.98;
}

/* Kapitel-Kapseln bleiben bei opacity: 1 stabil im Compositor (kein backdrop-filter + opacity < 1 Flackern über WebGL) */

/* ==========================================================================
   6. KAPITEL 02 & 03: VERTIKALE 3-EBENEN-ARCHITEKTUR & BLUEPRINT-VERSPRECHEN
   ========================================================================== */
.frost-layer-explorer {
  margin-top: 22px;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--frost-edge);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Vertikaler 3-Schichten-Stapel (1:1 wie der 3D-Würfel: Krone → Mitte → Basis) */
.frost-layer-stack {
  display: grid;
  gap: 8px;
}

.frost-layer-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 16px;
  background: var(--frost-glass-soft);
  color: var(--frost-text);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.frost-layer-row:hover {
  border-color: color-mix(in oklab, var(--frost-accent) 38%, var(--aero-border-hi));
  background: var(--frost-glass);
}

.frost-layer-row[aria-selected="true"] {
  border-color: color-mix(in oklab, var(--frost-accent) 56%, var(--aero-border-hi));
  background: color-mix(in oklab, var(--frost-accent) 11%, var(--frost-glass-strong));
  box-shadow: var(--aero-soft-shadow);
}

.frost-layer-row[aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  border-inline-start: 3px solid var(--frost-accent);
  border-radius: 0 3px 3px 0;
}

/* Miniatur-3-Schichten-Glyphe zeigt sofort, ob oben, Mitte oder unten aktiv ist */
.frost-layer-glyph {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 24px;
  padding: 5px 4px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 9px;
  background: var(--aero-tile-bg);
}

.frost-layer-glyph i {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: color-mix(in oklab, var(--frost-text) 20%, transparent);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.frost-layer-glyph[data-glyph="top"] i:nth-child(1),
.frost-layer-glyph[data-glyph="mid"] i:nth-child(2),
.frost-layer-glyph[data-glyph="bot"] i:nth-child(3) {
  background: color-mix(in oklab, var(--frost-accent) 56%, transparent);
}

.frost-layer-row[aria-selected="true"] .frost-layer-glyph[data-glyph="top"] i:nth-child(1),
.frost-layer-row[aria-selected="true"] .frost-layer-glyph[data-glyph="mid"] i:nth-child(2),
.frost-layer-row[aria-selected="true"] .frost-layer-glyph[data-glyph="bot"] i:nth-child(3) {
  background: var(--frost-accent);
  box-shadow: none;
}

.frost-layer-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.frost-layer-meta small {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frost-muted);
}

.frost-layer-row[aria-selected="true"] .frost-layer-meta small {
  color: var(--frost-accent);
}

.frost-layer-meta strong {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.24;
  color: var(--frost-text);
}

.frost-layer-meta span {
  font-size: 0.8125rem;
  line-height: 1.38;
  color: var(--frost-muted);
}

.frost-layer-count {
  flex: none;
  padding: 4px 10px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 999px;
  background: var(--aero-tile-bg);
  font-family: var(--font-meta);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frost-muted);
  white-space: nowrap;
}

.frost-layer-row[aria-selected="true"] .frost-layer-count {
  border-color: color-mix(in oklab, var(--frost-accent) 44%, var(--aero-border-hi));
  color: var(--frost-accent);
}

/* Live-3D-Würfel-Inspektor (role="tabpanel" ohne eigenes Box-Padding, Child-Wrapper trägt Fläche) */
.frost-cube-inspector {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.frost-inspector-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 8px 13px;
  border: 1px dashed color-mix(in oklab, var(--frost-accent) 42%, var(--aero-border-hi));
  border-radius: 999px;
  background: color-mix(in oklab, var(--frost-accent) 7%, var(--frost-glass-soft));
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.36;
  color: var(--frost-text);
}

@keyframes frost-beacon-pulse {
  0%, 100% {
    opacity: 0.75;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.frost-inspector-pulse {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 999px;
  background: var(--frost-accent);
  outline: 2px solid color-mix(in oklab, var(--frost-accent) 22%, transparent);
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  .frost-inspector-pulse {
    animation: frost-beacon-pulse 2.2s ease-in-out infinite;
  }
}

.frost-inspector-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--frost-edge);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.frost-inspector-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.frost-inspector-head small {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.frost-inspector-head strong {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--frost-text);
}

.home-pilot .film-step .frost-inspector-card p {
  margin: 0;
  max-width: 48ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--frost-muted);
}

.frost-inspector-link {
  align-self: flex-start;
  margin-top: 2px;
  font-family: var(--font-meta);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--frost-accent);
  text-decoration: none;
}

.frost-inspector-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Kapitel 03: Drei kompakte Blueprint-Zusagen ohne Doppelung des 4-Phasen-Modells */
.frost-blueprint-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.frost-blueprint-points li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 15px 12px 34px;
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 16px;
  background: var(--aero-tile-bg);
  box-shadow: var(--aero-soft-shadow);
}

.frost-blueprint-points li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--frost-accent);
  outline: 2px solid color-mix(in oklab, var(--frost-accent) 18%, transparent);
  box-shadow: none;
}

.frost-blueprint-points li strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.26;
  color: var(--frost-text);
}

.frost-blueprint-points li span {
  font-size: 0.8125rem;
  line-height: 1.42;
  color: var(--frost-muted);
}

/* ==========================================================================
   8. GANZSEITIGE AERO-SEKTIONEN ÜBER DER OFFENEN 3D-WELT (#leistungen → #kontakt)
   ========================================================================== */
.home-pilot .section,
.home-pilot .section--white,
.home-pilot #leistungen,
.home-pilot #vorgehen,
.home-pilot #plattformen,
.home-pilot #branchen,
.home-pilot #referenz,
.home-pilot #faq {
  background: transparent !important;
}

/* Aero-Glas-Kopfzeilen sichern Kontrast, während die 3D-Steine dahinter durchscheinen */
.home-pilot .section-heading {
  padding: 26px 32px;
  padding: clamp(22px, 2.8vw, 32px) clamp(24px, 3vw, 36px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 28px;
  background: var(--aero-panel-soft);
  box-shadow: var(--aero-soft-shadow);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* #leistungen: Jede Zeile als eigene Aero-Glaskapsel über der 3D-Tiefenperspektive */
.home-pilot .service-index {
  border-top: 0;
  display: grid;
  gap: 14px;
}

.home-pilot .service-row {
  margin: 0;
  padding: 28px 28px;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 2.8vw, 34px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 24px;
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-soft-shadow);
  backdrop-filter: blur(12px) saturate(158%);
  -webkit-backdrop-filter: blur(12px) saturate(158%);
  contain: layout style;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.home-pilot .service-row:hover {
  padding-inline: clamp(22px, 2.8vw, 34px);
  border-color: color-mix(in oklab, var(--frost-accent) 44%, var(--aero-border-hi));
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-card-shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .home-pilot .service-row:hover {
    transform: translateY(-2px);
  }
}

/* #vorgehen: Linksbündige Frosted-Aero Phasen-Werkbank + freier 3D-Raum rechts */
.home-pilot .aero-vorgehen-section {
  padding-block: clamp(72px, 9vh, 112px);
  scroll-margin-top: calc(var(--header, 76px) + 12px);
}

.aero-vorgehen-layout {
  display: flex;
  align-items: center;
  min-height: clamp(560px, 68svh, 680px);
}

.home-pilot .aero-process-workbench {
  width: min(100%, 652px);
  max-width: 652px;
}

.aero-process-head {
  margin-bottom: 18px;
}

.aero-process-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.aero-process-topline .aero-chapter-pill {
  margin: 0 !important;
}

.aero-process-sync {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid color-mix(in oklab, var(--frost-accent) 34%, var(--aero-border-hi));
  border-radius: 999px;
  background: color-mix(in oklab, var(--frost-accent) 8%, var(--frost-glass-soft));
  font-family: var(--font-meta);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.aero-process-sync > i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 999px;
  background: var(--frost-accent);
  outline: 2px solid color-mix(in oklab, var(--frost-accent) 22%, transparent);
  box-shadow: none;
}

.home-pilot .aero-process-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--frost-text);
}

.aero-process-intro {
  max-width: 52ch;
  margin: 0;
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
  line-height: 1.58;
  color: var(--frost-muted);
}

/* Einzeilige Tablist (focusgroup="tablist nomemory") ohne mehrzeiliges Umbrechen */
.aero-vorgehen-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: inline proximity;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 18px;
  background: var(--frost-glass-soft);
}

.aero-vorgehen-tabs::-webkit-scrollbar {
  display: none;
}

.aero-vorgehen-tab {
  position: relative;
  flex: 1 0 7.25rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 10px 13px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--frost-muted);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.aero-vorgehen-tab:hover {
  background: var(--frost-glass);
  color: var(--frost-text);
}

.aero-vorgehen-tab:focus-visible {
  outline: 2px solid var(--frost-accent);
  outline-offset: -2px;
}

.aero-vorgehen-tab small {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.9;
}

.aero-vorgehen-tab strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.22;
}

/* Auswahl strikt aus [aria-selected="true"] + Formindikator per border auf ::after (Forced-Colors-sicher) */
.aero-vorgehen-tab[aria-selected="true"] {
  border-color: color-mix(in oklab, var(--frost-accent) 54%, var(--aero-border-hi));
  background: color-mix(in oklab, var(--frost-accent) 11%, var(--frost-glass-strong));
  color: var(--frost-text);
  box-shadow: var(--aero-soft-shadow);
}

.aero-vorgehen-tab[aria-selected="true"] small {
  color: var(--frost-accent);
  opacity: 1;
}

.aero-vorgehen-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  border-block-end: 2.5px solid var(--frost-accent);
  border-radius: 2px 2px 0 0;
}

/* Panels teilen dieselbe Grid-Zelle; [role="tabpanel"] selbst hat null Padding/Border/Background für hidden="until-found" */
.aero-vorgehen-panels {
  display: grid;
  margin-top: 16px;
}

.aero-vorgehen-panel {
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.aero-phase-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--frost-edge);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.aero-phase-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aero-phase-step {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.aero-phase-card h3 {
  margin: 0;
  font-size: clamp(1.32rem, 1.8vw, 1.62rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--frost-text);
}

.aero-phase-card > p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.94rem;
  line-height: 1.56;
  color: var(--frost-muted);
}

.aero-phase-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.aero-phase-checks li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--frost-text);
}

.aero-phase-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--frost-accent);
  outline: 2px solid color-mix(in oklab, var(--frost-accent) 16%, transparent);
  box-shadow: none;
}

.aero-phase-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--frost-edge);
}

.aero-phase-deliverable {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aero-phase-deliverable small {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--frost-muted);
}

.aero-phase-deliverable strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--frost-text);
}

.aero-phase-next {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid color-mix(in oklab, var(--frost-accent) 42%, var(--aero-border-hi));
  border-radius: 999px;
  background: color-mix(in oklab, var(--frost-accent) 10%, var(--frost-glass-strong));
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--frost-accent);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, scale 140ms ease;
}

.aero-phase-next:hover {
  border-color: var(--frost-accent);
  background: var(--frost-accent);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(11, 17, 32, 0.18);
}

.aero-phase-next:active {
  scale: 0.97;
}

.aero-phase-next--cta {
  border-color: rgba(174, 186, 255, 0.58);
  background-color: #1424B7;
  background-image: linear-gradient(135deg, #1B2ED6 0%, #1424B7 64%, #0E1B94 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(11, 17, 32, 0.20);
}

.aero-phase-next--cta:hover {
  border-color: rgba(210, 218, 255, 0.84);
  background-color: #0E1B94;
  background-image: linear-gradient(135deg, #2438E4 0%, #1829C6 64%, #0E1B94 100%);
  color: #FFFFFF;
}

/* #plattformen: Offenes Aero-Kartenraster ohne geschlossenen 1px-Rahmenkasten */
.home-pilot .platform-layout {
  gap: 16px;
  border: 0;
  background: transparent;
}

.home-pilot .platform-stack {
  gap: 14px;
  background: transparent;
}

.home-pilot .platform-primary {
  border: 1px solid rgba(190, 202, 255, 0.56);
  background-color: #1424B7;
  background-image: linear-gradient(
    145deg,
    #1B2ED6 0%,
    #1424B7 58%,
    #0E1B94 100%
  );
  color: #FFFFFF;
}

.home-pilot .platform-stack > article {
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 22px;
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-soft-shadow);
  backdrop-filter: blur(12px) saturate(158%);
  -webkit-backdrop-filter: blur(12px) saturate(158%);
  contain: layout style;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-pilot .platform-stack > article:hover {
  border-color: color-mix(in oklab, var(--frost-accent) 44%, var(--aero-border-hi));
  box-shadow: var(--aero-card-shadow);
}

.home-pilot .platform-footnote {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 999px;
  background: var(--aero-panel-soft);
}

/* #branchen & #referenz */
.frost-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.frost-industry-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 34px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: var(--frost-radius);
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-soft-shadow);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  contain: layout style;
  text-decoration: none;
  color: var(--frost-text);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.frost-industry-card:hover {
  border-color: color-mix(in oklab, var(--frost-accent) 44%, var(--aero-border-hi));
  box-shadow: var(--aero-card-shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .frost-industry-card:hover {
    transform: translateY(-3px);
  }
}

.frost-industry-card:active {
  scale: 0.99;
}

.frost-industry-card .index {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-meta);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.frost-industry-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
}

.frost-industry-card p {
  margin: 0 0 22px;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--frost-muted);
}

.frost-industry-cta {
  margin-top: auto;
  font-family: var(--font-meta);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.frost-case-card {
  padding: 32px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 32px;
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-card-shadow);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  contain: layout style;
}

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

.frost-case-col {
  padding: 8px 28px 8px 0;
  border: 0;
  border-right: 1px solid var(--frost-edge);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.frost-case-col--after {
  padding: 8px 0 8px 28px;
  border-right: 0;
  background: transparent;
  color: var(--frost-text);
  box-shadow: none;
}

.frost-case-col .index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-meta);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--frost-muted);
}

.frost-case-col--after .index {
  color: var(--frost-accent);
}

.frost-case-col ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.52;
  color: var(--frost-text);
}

.frost-case-col--after ul {
  color: var(--frost-text);
}

.frost-case-quote {
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--frost-edge);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 20px 36px;
  align-items: end;
}

.frost-case-quote p {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--frost-text);
}

.frost-case-quote footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.frost-case-quote footer strong {
  font-size: 0.95rem;
  color: var(--frost-text);
}

.frost-case-quote footer span {
  font-size: 0.82rem;
  color: var(--frost-muted);
}

/* #faq: Hochkontrast-Aero-Intro-Kapsel + barrierefreie Glas-Akkordeons */
.home-pilot #faq .faq-grid > div:first-child {
  align-self: start;
  padding: 30px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 28px;
  background: rgba(248, 250, 255, 0.95);
  box-shadow: var(--aero-card-shadow);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
}

:root[data-theme="dunkel"] .home-pilot #faq .faq-grid > div:first-child {
  background: rgba(13, 21, 39, 0.94);
  border-color: rgba(196, 208, 245, 0.24);
}

.home-pilot #faq .faq-grid > div:first-child h2 {
  color: var(--frost-text);
}

.home-pilot #faq .faq-grid > div:first-child .muted {
  color: #3B455E;
}

:root[data-theme="dunkel"] .home-pilot #faq .faq-grid > div:first-child .muted {
  color: #C7D0E6;
}

.home-pilot .faq-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}

.home-pilot .faq-list details,
.home-pilot .faq-list details[open] {
  padding: 0;
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 22px;
  background: rgba(248, 250, 255, 0.95);
  box-shadow: var(--aero-soft-shadow);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  contain: layout style;
}

.home-pilot .faq-list details[open] {
  border-color: color-mix(in oklab, var(--frost-accent) 42%, var(--aero-border-hi));
  background: rgba(252, 253, 255, 0.97);
  box-shadow: var(--aero-card-shadow);
}

:root[data-theme="dunkel"] .home-pilot .faq-list details,
:root[data-theme="dunkel"] .home-pilot .faq-list details[open] {
  border-color: rgba(196, 208, 245, 0.22);
  background: rgba(14, 23, 43, 0.94);
}

:root[data-theme="dunkel"] .home-pilot .faq-list details[open] {
  border-color: rgba(125, 140, 255, 0.48);
  background: rgba(18, 29, 54, 0.96);
}

.home-pilot .faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75ch;
  padding: 20px 24px;
  color: var(--frost-text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.home-pilot .faq-list summary::-webkit-details-marker {
  display: none;
}

.home-pilot .faq-list summary::after,
.home-pilot .faq-list details[open] summary::after {
  content: none;
}

.home-pilot .faq-list summary::before {
  content: "";
  inline-size: 1.05em;
  block-size: 1.05em;
  flex-shrink: 0;
  background-color: var(--frost-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.home-pilot .faq-list summary:dir(rtl)::before {
  rotate: 90deg;
}

.home-pilot .faq-list details[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  .home-pilot .faq-list summary::before {
    transition: rotate 0.2s ease;
  }
}

.home-pilot .faq-list details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.home-pilot .faq-list details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .home-pilot .faq-list details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.home-pilot .faq-list details p {
  max-width: 64ch;
  margin: 0;
  padding: 0 24px 22px calc(24px + 1.05em + 0.75ch);
  color: #2B344A;
  font-size: 0.98rem;
  line-height: 1.62;
}

:root[data-theme="dunkel"] .home-pilot .faq-list details p {
  color: #D5DEF0;
}

/* #pixel-cta: Pixel-Quadrat CTA-Sektion auf der Startseite */
.home-pilot .aero-pixel-cta-section {
  padding-block: clamp(48px, 6vw, 88px);
}

.aero-pixel-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: 36px;
  padding: clamp(32px, 4.5vw, 56px);
  border: 1px solid rgba(174, 186, 255, 0.34);
  border-radius: 32px;
  background: linear-gradient(
    138deg,
    rgba(10, 17, 34, 0.96) 0%,
    rgba(15, 25, 50, 0.94) 56%,
    rgba(22, 37, 92, 0.92) 100%
  );
  color: #F5F7FC;
  box-shadow:
    0 28px 72px rgba(7, 12, 26, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  contain: layout style paint;
}

.aero-pixel-cta-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  margin-bottom: 16px;
  border: 1px solid rgba(125, 140, 255, 0.38);
  border-radius: 999px;
  background: rgba(90, 112, 240, 0.16);
  color: #9FB0FF;
}

.aero-pixel-cta-copy h2 {
  max-width: 19ch;
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.aero-pixel-cta-copy .lead {
  max-width: 56ch;
  margin: 0 0 26px;
  color: #CFD8EC;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.58;
}

.aero-pixel-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aero-pixel-cta-actions .btn--ghost {
  border-color: rgba(196, 208, 245, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #F5F7FC;
}

.aero-pixel-cta-actions .btn--ghost:hover {
  border-color: rgba(196, 208, 245, 0.65);
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.aero-pixel-quadrat {
  display: block;
  width: clamp(124px, 13vw, 168px);
  aspect-ratio: 80 / 88;
  color: #EEF2FF;
}

.aero-pixel-quadrat svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.aero-pixel-quadrat rect {
  transform-box: fill-box;
  transform-origin: center;
}

.aero-pixel-quadrat .sz-akzent {
  fill: #6A80FF;
  filter: none;
}

.aero-pixel-quadrat {
  transform-origin: center;
  transition: scale 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  :is(.aero-contact-sheet, .aero-pixel-cta-card).is-in-view .aero-pixel-quadrat {
    animation: aeroPixelWave 720ms cubic-bezier(0.22, 1, 0.36, 1) 1 none;
  }

  .aero-pixel-cta-card:hover .aero-pixel-quadrat {
    scale: 1.03;
  }
}

@keyframes aeroPixelWave {
  0% {
    opacity: 0.78;
    scale: 0.96;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

/* #kontakt: Transluzenter Aero-Abendhorizont mit sichtbarem 3D-Makro-Würfel */
.home-pilot .contact-section {
  padding: 80px 28px;
  padding-block: clamp(72px, 9vw, 120px);
  background: linear-gradient(
    180deg,
    rgba(9, 15, 29, 0.78) 0%,
    rgba(7, 12, 23, 0.92) 100%
  );
  border-top: 0;
}

.home-pilot .contact-copy {
  padding: 32px;
  padding: clamp(26px, 3.2vw, 40px);
  border: 1px solid rgba(196, 208, 245, 0.22);
  border-radius: 30px;
  background: rgba(13, 21, 39, 0.72);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}

.home-pilot .contact-form {
  background: rgba(15, 24, 45, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

/* ==========================================================================
   9. ALLE UNTERSEITEN: KONSISTENTES FROSTED-AERO DESIGN, PARTNER,
      PLATTFORM-SVG-ANIMATIONEN & STIMMIGE 3D-WÜRFEL-INTEGRATION
   ========================================================================== */

/* 9.1 Gemeinsame Aero-Atmosphäre & harmonisierte Navigation auf allen Unterseiten */
.mate-detail .kopf {
  border-bottom: 1px solid var(--aero-border-hi);
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-soft-shadow);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.mate-detail .kopf #nav-liste > li > a:not(.btn),
.mate-detail .kopf .nav-ausloeser,
.mate-detail .kopf .sprache > summary {
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--frost-text);
}

.mate-detail .kopf #nav-liste > li > a:not(.btn):hover,
.mate-detail .kopf .nav-ausloeser:hover {
  color: var(--frost-accent);
}

.mate-detail section.mx-intro,
.erp-pilot .sub-hero {
  position: relative;
  background:
    radial-gradient(ellipse 58% 68% at 78% 36%, rgba(90, 112, 240, 0.10), transparent 70%),
    radial-gradient(ellipse 46% 52% at 14% 18%, rgba(255, 255, 255, 0.78), transparent 68%);
}

:root[data-theme="dunkel"] .mate-detail section.mx-intro,
:root[data-theme="dunkel"] .erp-pilot .sub-hero {
  background:
    radial-gradient(ellipse 58% 68% at 78% 36%, rgba(43, 64, 223, 0.16), transparent 70%),
    radial-gradient(ellipse 46% 52% at 14% 18%, rgba(30, 44, 76, 0.55), transparent 68%);
}

/* 9.2 Partner- & Netzwerk-Sektion auf mate-ueber-uns.html */
.aero-partners-section {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px);
}

.aero-partners-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.aero-partners-header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.aero-partners-header > p {
  margin: 0;
  color: var(--frost-muted);
  line-height: 1.6;
}

.aero-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.aero-partner-grid:where(:has(> .aero-partner-card:nth-child(3):last-child)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aero-partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 26px;
  background: var(--frost-glass-strong);
  box-shadow: var(--aero-soft-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, translate 180ms ease;
}

.aero-partner-card:hover {
  border-color: color-mix(in oklab, var(--frost-accent) 44%, var(--aero-border-hi));
  box-shadow: var(--aero-card-shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .aero-partner-card:hover {
    translate: 0 -2px;
  }
}

.aero-partner-tag {
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.aero-partner-card h3 {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--frost-text);
}

.aero-partner-card p {
  margin: 0;
  color: var(--frost-muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

/* 9.3 Plattformseiten: Aero-Glasrahmen, Pause-Steuerung & plattformspezifische SVG-Animationen */
.erp-cube-hero.platform-hero-teaser {
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 28px;
  background: var(--aero-panel-bg);
  box-shadow: var(--aero-card-shadow);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
}

.pui-topline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 10px;
}

.pui-motion-toggle {
  padding: 4px 10px;
  border: 1px solid var(--aero-border-lo);
  border-radius: 999px;
  background: var(--frost-glass-strong);
  color: var(--frost-text);
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.pui-motion-toggle:hover {
  border-color: var(--frost-accent);
  color: var(--frost-accent);
}

@media (prefers-reduced-motion: reduce) {
  .pui-motion-toggle {
    display: none;
  }
}

.platform-hero-teaser.is-paused *,
.platform-hero-teaser.is-offscreen * {
  animation-play-state: paused !important;
}

.mate-process-section,
.mate-process-section[id] {
  scroll-margin-top: calc(var(--header, 78px) + 20px);
}

.platform-ui-svg .pui-trace-rail {
  fill: none;
  stroke: var(--pui-stroke, rgba(100, 116, 139, 0.34));
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.72;
}

.platform-ui-svg .pui-trace-stream {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 24 76;
  stroke-dashoffset: 18;
  opacity: 0.9;
}

.platform-ui-svg .pui-trace-packet {
  fill: none;
  stroke-width: 5.4;
  stroke-linecap: round;
  stroke-dasharray: 0.6 139.4;
  stroke-dashoffset: 4;
  opacity: 0;
}

.platform-ui-svg .pui-hi-rect {
  pointer-events: none;
  opacity: 0;
}

.platform-ui-svg .pui-odoo-stage-1,
.platform-ui-svg .pui-odoo-stage-2 {
  opacity: 0;
}

.platform-ui-svg .pui-odoo-stage-3 {
  opacity: 1;
}

.platform-ui-svg .pui-zoho-bar,
.platform-ui-svg .pui-ws-typing {
  transform-box: fill-box;
  transform-origin: left center;
}

.platform-ui-svg .pui-ampel-halo,
.platform-ui-svg .pui-live-dot,
.platform-ui-svg .pui-zoho-bp,
.platform-ui-svg .pui-m365-policy {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  /* Core flowing data-stream animation (generic platform traces & studios) */
  .platform-ui-svg .pui-trace-stream {
    animation: puiTraceStream 3.2s linear infinite;
  }

  .platform-ui-svg .pui-trace-stream.pui-delay-1 {
    animation-delay: -1.05s;
  }

  .platform-ui-svg .pui-trace-stream.pui-delay-2 {
    animation-delay: -2.1s;
  }

  .platform-ui-svg .pui-live-dot {
    animation: puiSoftPulse 3.2s ease-in-out infinite;
  }

  .platform-ui-svg .pui-ampel-halo {
    animation: puiSoftPulse 3.2s ease-in-out infinite;
  }

  .platform-ui-svg .pui-ampel-halo.pui-delay-1 {
    animation-delay: -1.1s;
  }

  .platform-ui-svg .pui-ampel-halo.pui-delay-2 {
    animation-delay: -2.2s;
  }

  .platform-ui-svg .pui-zoho-bar {
    animation: puiBarGrow 4.8s ease-in-out infinite;
  }

  /* ------------------------------------------------------------------------
     1. ODOO 18 ENTERPRISE (7.2s): Statusbar Chevron -> Smart-Buttons -> Chatter
     ------------------------------------------------------------------------ */
  .platform-ui-svg--odoo .pui-odoo-stage-1 {
    animation: puiOdooStage1 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-stage-2 {
    animation: puiOdooStage2 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-stage-3 {
    animation: puiOdooStage3 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-tr-1,
  .platform-ui-svg--odoo .pui-odoo-tr-2,
  .platform-ui-svg--odoo .pui-odoo-tr-3,
  .platform-ui-svg--odoo .pui-odoo-tr-chatter {
    stroke-dasharray: 28 112;
    stroke-dashoffset: 28;
    opacity: 0;
  }

  .platform-ui-svg--odoo .pui-odoo-tr-1 {
    animation: puiOdooTrace1 7.2s linear infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-tr-2 {
    animation: puiOdooTrace2 7.2s linear infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-tr-3 {
    animation: puiOdooTrace3 7.2s linear infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-tr-chatter {
    animation: puiOdooTraceChatter 7.2s linear infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-pk-chatter {
    animation: puiOdooPktChatter 7.2s linear infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-sb-g-1 {
    animation: puiOdooSbLift1 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-sb-g-2 {
    animation: puiOdooSbLift2 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-sb-g-3 {
    animation: puiOdooSbLift3 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-sb-1 {
    animation: puiOdooHi1 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-sb-2 {
    animation: puiOdooHi2 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-sb-3 {
    animation: puiOdooHi3 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-chatter-1 {
    animation: puiOdooChatterSlide1 7.2s ease-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-chatter-hi-1 {
    animation: puiOdooChatterHi1 7.2s ease-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-chatter-2 {
    animation: puiOdooChatterSlide2 7.2s ease-out infinite;
  }

  .platform-ui-svg--odoo .pui-odoo-chatter-hi-2 {
    animation: puiOdooChatterHi2 7.2s ease-out infinite;
  }

  /* ------------------------------------------------------------------------
     2. WECLAPP CLOUD-ERP (7.2s): 4-Stage Belegkette + Ampeln + Status Check
     ------------------------------------------------------------------------ */
  .platform-ui-svg--weclapp .pui-wc-stream {
    stroke-dasharray: 22 78;
    animation: puiTraceStream 3.6s linear infinite;
  }

  .platform-ui-svg--weclapp .pui-weclapp-runner {
    animation: puiWeclappChain 7.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  .platform-ui-svg--weclapp .pui-wc-hi-1 {
    animation: puiWcStage1 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--weclapp .pui-wc-hi-2 {
    animation: puiWcStage2 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--weclapp .pui-wc-hi-3 {
    animation: puiWcStage3 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--weclapp .pui-wc-hi-4 {
    animation: puiWcStage4 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--weclapp .pui-wc-chk-1 {
    animation: puiWcStatusCheck1 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--weclapp .pui-wc-chk-2 {
    animation: puiWcStatusCheck2 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--weclapp .pui-wc-datev-hi {
    animation: puiWcStage4 7.2s ease-in-out infinite;
  }

  /* ------------------------------------------------------------------------
     3. ZOHO ONE SUITE (7.2s): Blueprint -> 3 Flowing Pipes -> Projects/Books/Desk
     ------------------------------------------------------------------------ */
  .platform-ui-svg--zoho .pui-zoho-bp {
    animation: puiZohoBlueprint 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-bp-ring {
    animation: puiZohoBpRing 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-pipe-1,
  .platform-ui-svg--zoho .pui-zoho-pipe-2,
  .platform-ui-svg--zoho .pui-zoho-pipe-3 {
    stroke-dasharray: 28 112;
    stroke-dashoffset: 28;
    opacity: 0;
  }

  .platform-ui-svg--zoho .pui-zoho-pipe-1 {
    animation: puiZohoPipe1 7.2s linear infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-pipe-2 {
    animation: puiZohoPipe2 7.2s linear infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-pipe-3 {
    animation: puiZohoPipe3 7.2s linear infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-pkt-1 {
    animation: puiZohoPkt1 7.2s linear infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-pkt-2 {
    animation: puiZohoPkt2 7.2s linear infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-pkt-3 {
    animation: puiZohoPkt3 7.2s linear infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-bar {
    animation: puiZohoBarFill 7.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-card-hi-1 {
    animation: puiZohoCard1 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-card-hi-2,
  .platform-ui-svg--zoho .pui-zoho-books-hi {
    animation: puiZohoCard2 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--zoho .pui-zoho-card-hi-3,
  .platform-ui-svg--zoho .pui-zoho-sla-hi {
    animation: puiZohoCard3 7.2s ease-in-out infinite;
  }

  /* ------------------------------------------------------------------------
     4. SHOPIFY POLARIS + ERP (7.2s): 2-Phase Bidirectional Order <-> Stock/DHL
     ------------------------------------------------------------------------ */
  .platform-ui-svg--shopify .pui-sh-order-hi {
    animation: puiShOrderHi 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--shopify .pui-sh-tr-fwd,
  .platform-ui-svg--shopify .pui-sh-tr-ret1,
  .platform-ui-svg--shopify .pui-sh-tr-ret2 {
    stroke-dasharray: 28 112;
    stroke-dashoffset: 28;
    opacity: 0;
  }

  .platform-ui-svg--shopify .pui-sh-tr-fwd {
    animation: puiShTraceFwd 7.2s linear infinite;
  }

  .platform-ui-svg--shopify .pui-sh-pk-fwd {
    animation: puiShPktFwd 7.2s linear infinite;
  }

  .platform-ui-svg--shopify .pui-sh-erp-hi-1 {
    animation: puiShErp1 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--shopify .pui-sh-erp-hi-2 {
    animation: puiShErp2 7.2s ease-in-out infinite;
  }

  .platform-ui-svg--shopify .pui-sh-tr-ret1 {
    animation: puiShTraceRet1 7.2s linear infinite;
  }

  .platform-ui-svg--shopify .pui-sh-pk-ret1 {
    animation: puiShPktRet1 7.2s linear infinite;
  }

  .platform-ui-svg--shopify .pui-sh-tr-ret2 {
    animation: puiShTraceRet2 7.2s linear infinite;
  }

  .platform-ui-svg--shopify .pui-sh-pk-ret2 {
    animation: puiShPktRet2 7.2s linear infinite;
  }

  .platform-ui-svg--shopify .pui-sh-track-hi,
  .platform-ui-svg--shopify .pui-sh-badge-hi {
    animation: puiShFulfillHi 7.2s ease-in-out infinite;
  }

  /* ------------------------------------------------------------------------
     5. GOOGLE WORKSPACE (7.4s): Gmail Chip -> Drive Bridge -> SL Co-Edit -> Access
     ------------------------------------------------------------------------ */
  .platform-ui-svg--workspace .pui-ws-gmail-hi {
    animation: puiWsGmailHi 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--workspace .pui-ws-tr-bridge {
    stroke-dasharray: 28 112;
    stroke-dashoffset: 28;
    opacity: 0;
    animation: puiWsTraceBridge 7.4s linear infinite;
  }

  .platform-ui-svg--workspace .pui-ws-pk-bridge {
    animation: puiWsPktBridge 7.4s linear infinite;
  }

  .platform-ui-svg--workspace .pui-ws-doc-hi {
    animation: puiWsDocHi 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--workspace .pui-ws-cursor {
    animation: puiWorkspaceCursor 7.4s cubic-bezier(0.32, 0, 0.2, 1) infinite;
  }

  .platform-ui-svg--workspace .pui-ws-typing {
    animation: puiWorkspaceLine 7.4s cubic-bezier(0.32, 0, 0.2, 1) infinite;
  }

  .platform-ui-svg--workspace .pui-ws-ring-int-hi {
    animation: puiWsBoundaryInt 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--workspace .pui-ws-ring-ext-hi {
    animation: puiWsBoundaryExt 7.4s ease-in-out infinite;
  }

  /* ------------------------------------------------------------------------
     6. MICROSOFT 365 (7.4s): Entra/Intune Ring -> Zero-Trust Gate -> Teams/Outlook/SP
     ------------------------------------------------------------------------ */
  .platform-ui-svg--microsoft .pui-m365-policy {
    animation: puiM365PolicyPulse 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-ring {
    animation: puiM365Compliance 7.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-intune-hi {
    animation: puiM365IntuneHi 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-tr-gate,
  .platform-ui-svg--microsoft .pui-m365-tr-1,
  .platform-ui-svg--microsoft .pui-m365-tr-2,
  .platform-ui-svg--microsoft .pui-m365-tr-3 {
    stroke-dasharray: 28 112;
    stroke-dashoffset: 28;
    opacity: 0;
  }

  .platform-ui-svg--microsoft .pui-m365-tr-gate {
    animation: puiM365TraceGate 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-pk-gate {
    animation: puiM365PktGate 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-gate-hi {
    animation: puiM365GateHi 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-tr-1 {
    animation: puiM365Trace1 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-pk-1 {
    animation: puiM365Pkt1 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-tr-2 {
    animation: puiM365Trace2 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-pk-2 {
    animation: puiM365Pkt2 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-tr-3 {
    animation: puiM365Trace3 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-pk-3 {
    animation: puiM365Pkt3 7.4s linear infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-chk-1 {
    animation: puiM365Tile1 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-chk-2 {
    animation: puiM365Tile2 7.4s ease-in-out infinite;
  }

  .platform-ui-svg--microsoft .pui-m365-chk-3 {
    animation: puiM365Tile3 7.4s ease-in-out infinite;
  }

  /* Keep non-platform generic Hero SVGs working smoothly */
  .platform-ui-svg:not(.platform-ui-svg--microsoft) .pui-m365-ring {
    animation: puiSoftOpacity 4.6s ease-in-out infinite;
  }
}

/* Core flowing stroke-dashoffset keyframes (shared by .ass-stream, .esf-pulse & .pui-trace-stream) */
@keyframes puiTraceStream {
  0% {
    stroke-dashoffset: 100;
    opacity: 0.72;
  }
  20%, 80% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.72;
  }
}

@keyframes puiSoftPulse {
  0%, 100% {
    opacity: 0.56;
    scale: 0.92;
  }
  50% {
    opacity: 1;
    scale: 1.18;
  }
}

@keyframes puiSoftOpacity {
  0%, 100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

@keyframes puiBarGrow {
  0%, 100% {
    scale: 0.84 1;
  }
  55% {
    scale: 1 1;
  }
}

/* --- 1. Odoo 18 Enterprise Keyframes (7.2s) --- */
@keyframes puiOdooStage1 {
  0%, 1% { opacity: 0; }
  3%, 9% { opacity: 1; }
  12%, 100% { opacity: 0; }
}

@keyframes puiOdooStage2 {
  0%, 9% { opacity: 0; }
  11%, 18% { opacity: 1; }
  21%, 100% { opacity: 0; }
}

@keyframes puiOdooStage3 {
  0%, 17% { opacity: 0.22; }
  20%, 95% { opacity: 1; }
  98%, 100% { opacity: 0.22; }
}

@keyframes puiOdooTrace1 {
  0%, 20% { stroke-dashoffset: 28; opacity: 0; }
  22% { opacity: 0.96; }
  35% { opacity: 0.96; }
  38%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiOdooTrace2 {
  0%, 32% { stroke-dashoffset: 28; opacity: 0; }
  34% { opacity: 0.96; }
  47% { opacity: 0.96; }
  50%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiOdooTrace3 {
  0%, 44% { stroke-dashoffset: 28; opacity: 0; }
  46% { opacity: 0.96; }
  59% { opacity: 0.96; }
  62%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiOdooTraceChatter {
  0%, 56% { stroke-dashoffset: 28; opacity: 0; }
  59% { opacity: 1; }
  72% { opacity: 1; }
  75%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiOdooPktChatter {
  0%, 57% { stroke-dashoffset: 2; opacity: 0; }
  60% { opacity: 1; }
  72% { opacity: 1; }
  75%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiOdooSbLift1 {
  0%, 25%, 45%, 100% { translate: 0 0; }
  31%, 40% { translate: 0 -1.8px; }
}

@keyframes puiOdooSbLift2 {
  0%, 37%, 57%, 100% { translate: 0 0; }
  43%, 52% { translate: 0 -1.8px; }
}

@keyframes puiOdooSbLift3 {
  0%, 49%, 69%, 100% { translate: 0 0; }
  55%, 64% { translate: 0 -1.8px; }
}

@keyframes puiOdooHi1 {
  0%, 25%, 46%, 100% { opacity: 0; }
  30%, 41% { opacity: 1; }
}

@keyframes puiOdooHi2 {
  0%, 37%, 58%, 100% { opacity: 0; }
  42%, 53% { opacity: 1; }
}

@keyframes puiOdooHi3 {
  0%, 49%, 70%, 100% { opacity: 0; }
  54%, 65% { opacity: 1; }
}

@keyframes puiOdooChatterSlide1 {
  0%, 60% { translate: 0 4px; opacity: 0.68; }
  67%, 93% { translate: 0 0; opacity: 1; }
  98%, 100% { translate: 0 4px; opacity: 0.68; }
}

@keyframes puiOdooChatterHi1 {
  0%, 62%, 95%, 100% { opacity: 0; }
  68%, 90% { opacity: 1; }
}

@keyframes puiOdooChatterSlide2 {
  0%, 68% { translate: 0 3px; opacity: 0.72; }
  75%, 94% { translate: 0 0; opacity: 1; }
  98%, 100% { translate: 0 3px; opacity: 0.72; }
}

@keyframes puiOdooChatterHi2 {
  0%, 70%, 96%, 100% { opacity: 0; }
  76%, 92% { opacity: 1; }
}

/* --- 2. weclapp Cloud-ERP Keyframes (7.2s) --- */
@keyframes puiWeclappChain {
  0% { translate: 0 0; opacity: 0; }
  5% { translate: 0 0; opacity: 1; }
  20% { translate: 0 0; opacity: 1; }
  30%, 44% { translate: 104px 0; opacity: 1; }
  54%, 68% { translate: 208px 0; opacity: 1; }
  78%, 92% { translate: 312px 0; opacity: 1; }
  97%, 100% { translate: 312px 0; opacity: 0; }
}

@keyframes puiWcStage1 {
  0%, 24%, 100% { opacity: 0; }
  4%, 20% { opacity: 1; }
}

@keyframes puiWcStage2 {
  0%, 24%, 49%, 100% { opacity: 0; }
  29%, 44% { opacity: 1; }
}

@keyframes puiWcStage3 {
  0%, 48%, 73%, 100% { opacity: 0; }
  53%, 68% { opacity: 1; }
}

@keyframes puiWcStage4 {
  0%, 72%, 97%, 100% { opacity: 0; }
  77%, 93% { opacity: 1; }
}

@keyframes puiWcStatusCheck1 {
  0%, 30%, 66%, 100% { opacity: 0; }
  36%, 58% { opacity: 1; }
}

@keyframes puiWcStatusCheck2 {
  0%, 44%, 80%, 100% { opacity: 0; }
  50%, 72% { opacity: 1; }
}

/* --- 3. Zoho One Suite Keyframes (7.2s) --- */
@keyframes puiZohoBlueprint {
  0%, 24%, 100% { scale: 1; }
  9% { scale: 1.035; }
  14% { scale: 0.985; }
  19% { scale: 1; }
}

@keyframes puiZohoBpRing {
  0%, 24%, 100% { opacity: 0; }
  7%, 18% { opacity: 1; }
}

@keyframes puiZohoPipe1 {
  0%, 17% { stroke-dashoffset: 28; opacity: 0; }
  20% { opacity: 0.96; }
  40% { opacity: 0.96; }
  44%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiZohoPipe2 {
  0%, 27% { stroke-dashoffset: 28; opacity: 0; }
  30% { opacity: 0.96; }
  50% { opacity: 0.96; }
  54%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiZohoPipe3 {
  0%, 37% { stroke-dashoffset: 28; opacity: 0; }
  40% { opacity: 0.96; }
  60% { opacity: 0.96; }
  64%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiZohoPkt1 {
  0%, 18% { stroke-dashoffset: 2; opacity: 0; }
  21% { opacity: 1; }
  40% { opacity: 1; }
  44%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiZohoPkt2 {
  0%, 28% { stroke-dashoffset: 2; opacity: 0; }
  31% { opacity: 1; }
  50% { opacity: 1; }
  54%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiZohoPkt3 {
  0%, 38% { stroke-dashoffset: 2; opacity: 0; }
  41% { opacity: 1; }
  60% { opacity: 1; }
  64%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiZohoBarFill {
  0%, 34% { scale: 0.34 1; }
  58%, 90% { scale: 1 1; }
  97%, 100% { scale: 0.34 1; }
}

@keyframes puiZohoCard1 {
  0%, 35%, 92%, 100% { opacity: 0; }
  41%, 86% { opacity: 1; }
}

@keyframes puiZohoCard2 {
  0%, 45%, 94%, 100% { opacity: 0; }
  51%, 88% { opacity: 1; }
}

@keyframes puiZohoCard3 {
  0%, 55%, 96%, 100% { opacity: 0; }
  61%, 90% { opacity: 1; }
}

/* --- 4. Shopify Polaris + ERP Keyframes (7.2s) --- */
@keyframes puiShOrderHi {
  0%, 22%, 100% { opacity: 0; }
  4%, 17% { opacity: 1; }
}

@keyframes puiShTraceFwd {
  0%, 10% { stroke-dashoffset: 28; opacity: 0; }
  13% { opacity: 1; }
  31% { opacity: 1; }
  35%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiShPktFwd {
  0%, 11% { stroke-dashoffset: 2; opacity: 0; }
  14% { opacity: 1; }
  31% { opacity: 1; }
  35%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiShErp1 {
  0%, 22%, 50%, 100% { opacity: 0; }
  27%, 45% { opacity: 1; }
}

@keyframes puiShErp2 {
  0%, 29%, 56%, 100% { opacity: 0; }
  34%, 51% { opacity: 1; }
}

@keyframes puiShTraceRet1 {
  0%, 47% { stroke-dashoffset: 28; opacity: 0; }
  50% { opacity: 1; }
  68% { opacity: 1; }
  72%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiShPktRet1 {
  0%, 48% { stroke-dashoffset: 2; opacity: 0; }
  51% { opacity: 1; }
  68% { opacity: 1; }
  72%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiShTraceRet2 {
  0%, 53% { stroke-dashoffset: 28; opacity: 0; }
  56% { opacity: 1; }
  74% { opacity: 1; }
  78%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiShPktRet2 {
  0%, 54% { stroke-dashoffset: 2; opacity: 0; }
  57% { opacity: 1; }
  74% { opacity: 1; }
  78%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiShFulfillHi {
  0%, 64%, 96%, 100% { opacity: 0; }
  70%, 92% { opacity: 1; }
}

/* --- 5. Google Workspace Keyframes (7.4s) --- */
@keyframes puiWsGmailHi {
  0%, 26%, 100% { opacity: 0; }
  4%, 21% { opacity: 1; }
}

@keyframes puiWsTraceBridge {
  0%, 19% { stroke-dashoffset: 28; opacity: 0; }
  22% { opacity: 1; }
  38% { opacity: 1; }
  42%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiWsPktBridge {
  0%, 20% { stroke-dashoffset: 2; opacity: 0; }
  23% { opacity: 1; }
  38% { opacity: 1; }
  42%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiWsDocHi {
  0%, 35%, 76%, 100% { opacity: 0; }
  40%, 71% { opacity: 1; }
}

@keyframes puiWorkspaceCursor {
  0%, 38% { translate: -69px 0; }
  69%, 91% { translate: 0 0; }
  97%, 100% { translate: -69px 0; }
}

@keyframes puiWorkspaceLine {
  0%, 38% { scale: 0.32 1; }
  69%, 91% { scale: 1 1; }
  97%, 100% { scale: 0.32 1; }
}

@keyframes puiWsBoundaryInt {
  0%, 69%, 90%, 100% { opacity: 0; }
  74%, 85% { opacity: 1; }
}

@keyframes puiWsBoundaryExt {
  0%, 77%, 97%, 100% { opacity: 0; }
  82%, 93% { opacity: 1; }
}

/* --- 6. Microsoft 365 Zero-Trust Keyframes (7.4s) --- */
@keyframes puiM365PolicyPulse {
  0%, 28%, 100% { opacity: 0.86; scale: 1; }
  10%, 18% { opacity: 1; scale: 1.025; }
}

@keyframes puiM365Compliance {
  0%, 4% { stroke-dashoffset: 84; }
  26%, 91% { stroke-dashoffset: 0; }
  97%, 100% { stroke-dashoffset: 84; }
}

@keyframes puiM365IntuneHi {
  0%, 3%, 30%, 100% { opacity: 0; }
  8%, 25% { opacity: 1; }
}

@keyframes puiM365TraceGate {
  0%, 24% { stroke-dashoffset: 28; opacity: 0; }
  27% { opacity: 1; }
  40% { opacity: 1; }
  43%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365PktGate {
  0%, 25% { stroke-dashoffset: 2; opacity: 0; }
  28% { opacity: 1; }
  40% { opacity: 1; }
  43%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365GateHi {
  0%, 33%, 88%, 100% { opacity: 0; }
  38%, 83% { opacity: 1; }
}

@keyframes puiM365Trace1 {
  0%, 40% { stroke-dashoffset: 28; opacity: 0; }
  43% { opacity: 1; }
  55% { opacity: 1; }
  58%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365Pkt1 {
  0%, 41% { stroke-dashoffset: 2; opacity: 0; }
  44% { opacity: 1; }
  55% { opacity: 1; }
  58%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365Trace2 {
  0%, 50% { stroke-dashoffset: 28; opacity: 0; }
  53% { opacity: 1; }
  65% { opacity: 1; }
  68%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365Pkt2 {
  0%, 51% { stroke-dashoffset: 2; opacity: 0; }
  54% { opacity: 1; }
  65% { opacity: 1; }
  68%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365Trace3 {
  0%, 60% { stroke-dashoffset: 28; opacity: 0; }
  63% { opacity: 1; }
  75% { opacity: 1; }
  78%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365Pkt3 {
  0%, 61% { stroke-dashoffset: 2; opacity: 0; }
  64% { opacity: 1; }
  75% { opacity: 1; }
  78%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes puiM365Tile1 {
  0%, 48%, 96%, 100% { opacity: 0; }
  53%, 91% { opacity: 1; }
}

@keyframes puiM365Tile2 {
  0%, 58%, 96%, 100% { opacity: 0; }
  63%, 91% { opacity: 1; }
}

@keyframes puiM365Tile3 {
  0%, 68%, 96%, 100% { opacity: 0; }
  73%, 91% { opacity: 1; }
}

/* 9.4 Ganzseitiger 3×3×3 Hintergrund-Würfel mit hervorgehobenem Stein +
       Isometrische Herkunfts-Kapsel + Interaktives Aero-SVG-Prozessstudio */

.aero-world-stage--subpage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout style paint;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  background:
    radial-gradient(ellipse 62% 68% at 76% 42%, rgba(90, 112, 240, 0.16), transparent 72%),
    radial-gradient(ellipse 48% 54% at 18% 24%, rgba(255, 255, 255, 0.62), transparent 70%);
}

:root[data-theme="dunkel"] .aero-world-stage--subpage {
  background:
    radial-gradient(ellipse 62% 68% at 76% 42%, rgba(43, 64, 223, 0.24), transparent 72%),
    radial-gradient(ellipse 48% 54% at 18% 24%, rgba(16, 26, 48, 0.68), transparent 70%);
}

.aero-world-stage--subpage.is-occluded {
  visibility: hidden;
}

.subpage-world-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.subpage-world-canvas.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .subpage-world-canvas {
    opacity: 1;
    transition: none;
  }
}

/* Leichtgewichtiger Frost-Aero-Lite Hintergrund für Mobile / Reduced-Motion / Save-Data (ohne WebGL) */
.aero-world-stage--subpage.subpage-aero-lite {
  background:
    radial-gradient(ellipse 68% 48% at 86% 12%, rgba(27, 46, 214, 0.14), transparent 62%),
    radial-gradient(ellipse 52% 44% at 12% 24%, rgba(255, 255, 255, 0.86), transparent 58%),
    radial-gradient(ellipse 60% 48% at 52% 88%, rgba(125, 140, 255, 0.11), transparent 64%),
    var(--frost-canvas, #EDF1F8);
}

:root[data-theme="dunkel"] .aero-world-stage--subpage.subpage-aero-lite {
  background:
    radial-gradient(ellipse 68% 48% at 86% 12%, rgba(90, 112, 240, 0.20), transparent 62%),
    radial-gradient(ellipse 52% 44% at 12% 24%, rgba(38, 55, 92, 0.42), transparent 58%),
    radial-gradient(ellipse 60% 48% at 52% 88%, rgba(27, 46, 214, 0.14), transparent 64%),
    var(--frost-canvas, #070D19);
}

.subpage-aero-lite-svg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(760px, 100vw);
  height: auto;
  max-height: 70svh;
  opacity: 0.72;
  pointer-events: none;
}

.subpage-aero-lite-svg .aero-lite-grid {
  stroke: rgba(27, 46, 214, 0.14);
  stroke-width: 1;
}

.subpage-aero-lite-svg .aero-lite-core {
  fill: rgba(27, 46, 214, 0.08);
  stroke: rgba(27, 46, 214, 0.28);
  stroke-width: 1.1;
}

:root[data-theme="dunkel"] .subpage-aero-lite-svg .aero-lite-grid {
  stroke: rgba(139, 155, 255, 0.16);
}

:root[data-theme="dunkel"] .subpage-aero-lite-svg .aero-lite-core {
  fill: rgba(90, 112, 240, 0.14);
  stroke: rgba(139, 155, 255, 0.34);
}

body.has-subpage-cube-world > header,
body.has-subpage-aero-lite > header {
  position: sticky;
  top: 0;
  z-index: 600;
}

body.has-subpage-cube-world > main,
body.has-subpage-cube-world > footer,
body.has-subpage-cube-world > .ctaleiste,
body.has-subpage-aero-lite > main,
body.has-subpage-aero-lite > footer,
body.has-subpage-aero-lite > .ctaleiste {
  position: relative;
  z-index: 2;
}

body.has-subpage-cube-world.mate-detail section.mx-intro,
body.has-subpage-cube-world.mate-detail section.mod-hero,
body.has-subpage-cube-world.mate-detail section.hero,
body.has-subpage-cube-world.erp-pilot .sub-hero,
body.has-subpage-aero-lite.mate-detail section.mx-intro,
body.has-subpage-aero-lite.mate-detail section.mod-hero,
body.has-subpage-aero-lite.mate-detail section.hero,
body.has-subpage-aero-lite.erp-pilot .sub-hero {
  background: transparent !important;
  border-bottom-color: var(--aero-border-lo);
}

/* Zweispaltiges Hero-Layout auch für Über uns, Marktplatz & News */
.mate-detail.mx-people .mx-intro.mate-has-blueprint > .container,
.mate-detail.mx-market .mx-intro.mate-has-blueprint > .container,
.mate-detail.mx-news .mx-intro.mate-has-blueprint > .container {
  display: grid;
  max-width: var(--max, 1280px);
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 1.04fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}

.mate-detail .mx-intro.mate-has-blueprint > .container > .erp-cube-hero.platform-hero-teaser {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

@media (min-width: 981px) {
  body.has-subpage-cube-world :is(
    .mx-intro.mate-has-blueprint > .container > .erp-cube-hero.platform-hero-teaser,
    .sub-hero-grid > .erp-cube-hero.platform-hero-teaser,
    section.hero > .erp-cube-hero.platform-hero-teaser,
    section.hero > .container > .erp-cube-hero.platform-hero-teaser
  ) {
    align-self: end;
    margin-top: 170px;
  }
}

/* Lesbare Frosted-Aero Brotkrumen-Kapsel (Desktop 3D, Mobile Aero-Lite & Detailseiten) */
body.has-subpage-cube-world .krumen,
body.has-subpage-aero-lite .krumen,
body.mate-detail .krumen {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 14px;
  padding: 5px 14px !important;
  min-height: 0 !important;
  border: 1px solid var(--aero-border-hi);
  border-radius: 999px;
  background: rgba(248, 250, 255, 0.84);
  backdrop-filter: blur(12px) saturate(155%);
  -webkit-backdrop-filter: blur(12px) saturate(155%);
}

body.has-subpage-cube-world .krumen ol,
body.has-subpage-aero-lite .krumen ol,
body.mate-detail .krumen ol {
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  gap: 2px 8px;
  line-height: 1.3;
}

body.has-subpage-cube-world .krumen li,
body.has-subpage-aero-lite .krumen li,
body.mate-detail .krumen li {
  display: inline-flex;
  align-items: center;
}

:root[data-theme="dunkel"] body.has-subpage-cube-world .krumen,
:root[data-theme="dunkel"] body.has-subpage-aero-lite .krumen,
:root[data-theme="dunkel"] body.mate-detail .krumen {
  border-color: rgba(196, 208, 245, 0.22);
  background: rgba(11, 18, 35, 0.82);
}

@media (max-width: 640px) {
  body.has-subpage-aero-lite .krumen {
    padding: 2px 14px !important;
  }

  body.has-subpage-aero-lite .krumen ol,
  body.mate-detail .krumen ol {
    gap: 2px 6px;
  }

  body.mate-detail.mx-article .krumen {
    border-radius: 20px;
    padding: 6px 14px !important;
  }
}

/* Hochlesbare Aero-Glaskapsel für Hero-Text über dem 3D-Hintergrund-Würfel & Aero-Lite-Backdrop */
body.has-subpage-cube-world .mate-hero-copy,
body.has-subpage-cube-world.erp-pilot .sub-hero-grid > div:first-child,
body.has-subpage-cube-world.mate-detail section.hero > div:first-child,
body.has-subpage-aero-lite .mate-hero-copy,
body.has-subpage-aero-lite.erp-pilot .sub-hero-grid > div:first-child,
body.has-subpage-aero-lite.mate-detail section.hero > div:first-child {
  padding: clamp(24px, 2.8vw, 34px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 28px;
  background: rgba(248, 250, 255, 0.88);
  box-shadow: var(--aero-card-shadow);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
}

:root[data-theme="dunkel"] body.has-subpage-cube-world .mate-hero-copy,
:root[data-theme="dunkel"] body.has-subpage-cube-world.erp-pilot .sub-hero-grid > div:first-child,
:root[data-theme="dunkel"] body.has-subpage-cube-world.mate-detail section.hero > div:first-child,
:root[data-theme="dunkel"] body.has-subpage-aero-lite .mate-hero-copy,
:root[data-theme="dunkel"] body.has-subpage-aero-lite.erp-pilot .sub-hero-grid > div:first-child,
:root[data-theme="dunkel"] body.has-subpage-aero-lite.mate-detail section.hero > div:first-child {
  border-color: rgba(196, 208, 245, 0.22);
  background: rgba(11, 18, 35, 0.86);
}

/* Transluzente Frosted-Aero Sektionen ohne ganzflächigen backdrop-filter Overdraw (verhindert RenderSurface-Flackern bei GSAP-Reveals) */
body.has-subpage-cube-world.mate-detail .section:not(.mx-intro):not(.mod-hero):not(.dunkel),
body.has-subpage-cube-world.erp-pilot .section:not(.contact-section) {
  background: rgba(246, 249, 254, 0.92);
}

body.has-subpage-cube-world.mate-detail .section.weiss,
body.has-subpage-cube-world.erp-pilot .section--white {
  background: rgba(251, 253, 255, 0.95);
}

:root[data-theme="dunkel"] body.has-subpage-cube-world.mate-detail .section:not(.mx-intro):not(.mod-hero):not(.dunkel),
:root[data-theme="dunkel"] body.has-subpage-cube-world.erp-pilot .section:not(.contact-section) {
  background: rgba(10, 17, 33, 0.92);
}

:root[data-theme="dunkel"] body.has-subpage-cube-world.mate-detail .section.weiss,
:root[data-theme="dunkel"] body.has-subpage-cube-world.erp-pilot .section--white {
  background: rgba(13, 21, 39, 0.95);
}

body.has-subpage-cube-world.mate-detail .section.dunkel,
body.has-subpage-cube-world.erp-pilot .contact-section {
  background: linear-gradient(180deg, rgba(9, 15, 29, 0.93) 0%, rgba(7, 12, 23, 0.97) 100%);
}

/* Stein-Herkunfts-Kapsel mit Mini-3×3×3-Isometrie im Hero */
.subpage-stone-origin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 18px;
  padding: 7px 10px 7px 8px;
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 999px;
  background: var(--frost-glass-strong);
  box-shadow: var(--aero-soft-shadow);
}

.subpage-stone-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.subpage-origin-iso {
  width: 36px;
  height: 36px;
  flex: none;
  overflow: visible;
}

.subpage-origin-iso .iso-stone .iso-top {
  fill: rgba(148, 163, 184, 0.30);
  stroke: rgba(71, 85, 105, 0.32);
  stroke-width: 0.55;
}

.subpage-origin-iso .iso-stone .iso-left {
  fill: rgba(100, 116, 139, 0.28);
  stroke: rgba(71, 85, 105, 0.30);
  stroke-width: 0.55;
}

.subpage-origin-iso .iso-stone .iso-right {
  fill: rgba(71, 85, 105, 0.34);
  stroke: rgba(71, 85, 105, 0.30);
  stroke-width: 0.55;
}

:root[data-theme="dunkel"] .subpage-origin-iso .iso-stone .iso-top {
  fill: rgba(148, 163, 184, 0.22);
  stroke: rgba(196, 208, 245, 0.26);
}

:root[data-theme="dunkel"] .subpage-origin-iso .iso-stone .iso-left,
:root[data-theme="dunkel"] .subpage-origin-iso .iso-stone .iso-right {
  fill: rgba(51, 65, 85, 0.42);
  stroke: rgba(196, 208, 245, 0.22);
}

.subpage-origin-iso .iso-stone--socket path {
  fill: rgba(90, 112, 240, 0.14);
  stroke: #5A70F0;
  stroke-width: 0.7;
  stroke-dasharray: 1.4 1.2;
}

.subpage-origin-iso .iso-tether {
  stroke: #5A70F0;
  stroke-width: 1.3;
  stroke-linecap: round;
}

.subpage-origin-iso .iso-halo {
  fill: rgba(90, 112, 240, 0.26);
}

.subpage-origin-iso .iso-stone--active .iso-top {
  fill: #7D8CFF;
  stroke: #FFFFFF;
  stroke-width: 0.7;
}

.subpage-origin-iso .iso-stone--active .iso-left {
  fill: #2B40DF;
  stroke: #C7D2FE;
  stroke-width: 0.65;
}

.subpage-origin-iso .iso-stone--active .iso-right {
  fill: #1B2ED6;
  stroke: #C7D2FE;
  stroke-width: 0.65;
}

@media (prefers-reduced-motion: no-preference) {
  .subpage-origin-iso .iso-halo {
    transform-box: fill-box;
    transform-origin: center;
    animation: puiSoftPulse 3.2s ease-in-out infinite;
  }
}

.subpage-stone-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.subpage-stone-meta small {
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--frost-muted);
}

.subpage-stone-meta strong {
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.subpage-stone-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid color-mix(in oklab, var(--frost-accent) 32%, var(--aero-border-hi));
  border-radius: 999px;
  background: color-mix(in oklab, var(--frost-accent) 8%, var(--aero-panel-bg));
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--frost-text);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.subpage-stone-back:hover {
  border-color: var(--frost-accent);
  color: var(--frost-accent);
}

/* 9.5 Interaktives Frosted-Aero SVG-Prozessstudio (.aero-svg-studio) auf allen 15 Fachseiten */
.mate-detail .mx-scene.aero-svg-studio {
  --ass-accent: #1B2ED6;
  --ass-card-bg: rgba(255, 255, 255, 0.95);
  --ass-stage-bg: rgba(240, 244, 252, 0.86);
  --ass-stroke: rgba(47, 64, 110, 0.18);
  --ass-ink: #0B1120;
  --ass-muted: #4A5568;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--aero-border-hi);
  border-bottom-color: var(--aero-border-lo);
  border-radius: 28px;
  background: rgba(250, 252, 255, 0.96);
  color: var(--ass-ink);
  box-shadow: var(--aero-card-shadow);
  contain: layout style paint;
}

:root[data-theme="dunkel"] .mate-detail .mx-scene.aero-svg-studio {
  --ass-card-bg: rgba(22, 33, 58, 0.94);
  --ass-stage-bg: rgba(11, 18, 34, 0.84);
  --ass-stroke: rgba(181, 195, 235, 0.22);
  --ass-ink: #F5F7FC;
  --ass-muted: #C2CCE0;
  border-color: rgba(196, 208, 245, 0.22);
  background: rgba(14, 23, 43, 0.92);
  color: var(--ass-ink);
}

.aero-svg-studio .ass-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aero-svg-studio .ass-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
}

.aero-svg-studio .ass-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 58ch;
}

.aero-svg-studio .ass-kicker {
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.aero-svg-studio .ass-heading {
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ass-ink);
}

.aero-svg-studio .ass-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.aero-svg-studio .ass-scenario-tabs,
.aero-svg-studio .ass-step-bar {
  --fade-size: 2rem;
  --fade-dir: right;
  --fade-start-pos: 0;
  --fade-end-pos: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
  scroll-padding-inline: var(--fade-size);
  padding-bottom: 2px;
  mask:
    linear-gradient(#000, #000) no-clip subtract,
    linear-gradient(to var(--fade-dir), #000, transparent) var(--fade-start-pos) 0 / var(--fade-start) 100% no-repeat no-clip,
    linear-gradient(to var(--fade-dir), transparent, #000) var(--fade-end-pos) 0 / var(--fade-end) 100% no-repeat no-clip;
  animation: reveal-step-fade-start linear both, hide-step-fade-end linear both;
  animation-timeline: scroll(self inline);
  animation-range: 0 var(--fade-size), calc(100% - var(--fade-size)) 100%;
}

.aero-svg-studio .ass-scenario-tabs::-webkit-scrollbar,
.aero-svg-studio .ass-step-bar::-webkit-scrollbar {
  display: none;
}

.aero-svg-studio .ass-scenario-tabs.more-start,
.aero-svg-studio .ass-step-bar.more-start {
  --fade-start: var(--fade-size);
}

.aero-svg-studio .ass-scenario-tabs.more-end,
.aero-svg-studio .ass-step-bar.more-end {
  --fade-end: var(--fade-size);
}

.aero-svg-studio .ass-scenario-btn {
  position: relative;
  flex: none;
  min-block-size: 36px;
  padding: 7px 14px;
  border: 1px solid var(--ass-stroke);
  border-radius: 999px;
  background: var(--ass-card-bg);
  color: var(--ass-muted);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.aero-svg-studio .ass-scenario-btn:hover {
  border-color: var(--frost-accent);
  color: var(--ass-ink);
}

.aero-svg-studio .ass-scenario-btn[aria-selected="true"] {
  border-color: var(--frost-accent);
  background: color-mix(in oklab, var(--frost-accent) 12%, var(--ass-card-bg));
  color: var(--ass-ink);
}

.aero-svg-studio .ass-scenario-btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  border-block-end: 2.5px solid var(--frost-accent);
}

.aero-svg-studio .ass-motion-btn {
  min-block-size: 34px;
  padding: 6px 12px;
  border: 1px solid var(--ass-stroke);
  border-radius: 999px;
  background: var(--ass-card-bg);
  color: var(--ass-muted);
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}

.aero-svg-studio .ass-motion-btn:hover {
  border-color: var(--frost-accent);
  color: var(--frost-accent);
}

@media (prefers-reduced-motion: reduce) {
  .aero-svg-studio .ass-motion-btn {
    display: none;
  }
}

.aero-svg-studio.is-paused * {
  animation-play-state: paused !important;
}

/* SVG-Bühne */
.aero-svg-studio .ass-stage {
  padding: 16px;
  padding: clamp(12px, 1.8vw, 20px);
  border: 1px solid var(--ass-stroke);
  border-radius: 20px;
  background: var(--ass-stage-bg);
}

.aero-svg-studio .ass-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font-body, system-ui, sans-serif);
}

.aero-svg-studio .ass-pipe {
  fill: none;
  stroke: color-mix(in srgb, var(--ass-ink) 18%, transparent);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.aero-svg-studio .ass-pipe.is-reached,
.aero-svg-studio .ass-pipe.is-active {
  stroke: color-mix(in srgb, var(--ass-accent) 45%, var(--ass-stroke));
}

.aero-svg-studio .ass-pipe--return {
  stroke-dasharray: 5 5;
}

.aero-svg-studio .ass-stream {
  fill: none;
  stroke: var(--ass-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  stroke-dashoffset: 0;
  opacity: 0.25;
}

.aero-svg-studio .ass-stream.is-active,
.aero-svg-studio .ass-stream.is-reached {
  opacity: 0.95;
}

.aero-svg-studio .ass-stream--alt {
  stroke: #F59E0B;
}

.aero-svg-studio .ass-stream--return {
  stroke: #10B981;
}

@media (prefers-reduced-motion: no-preference) {
  .aero-svg-studio .ass-stream.is-active {
    animation: puiTraceStream 2.8s linear infinite;
  }

  .aero-svg-studio .ass-live-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: puiSoftPulse 2.8s ease-in-out infinite;
  }
}

.aero-svg-studio .ass-core-glow {
  fill: color-mix(in srgb, var(--ass-accent) 16%, transparent);
}

.aero-svg-studio .ass-core-box {
  fill: #1B2ED6;
  stroke: rgba(199, 210, 254, 0.65);
  stroke-width: 1.4;
}

.aero-svg-studio .ass-core-kicker {
  fill: #FFFFFF;
  font-family: var(--font-meta, var(--font-display));
  font-size: 9.2px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.aero-svg-studio .ass-core-sub {
  fill: #E0E7FF;
  font-size: 9.6px;
  font-weight: 500;
}

.aero-svg-studio .ass-live-dot {
  fill: #34D399;
}

.aero-svg-studio .ass-node {
  cursor: pointer;
}

.aero-svg-studio .ass-node-card {
  fill: var(--ass-card-bg);
  stroke: var(--ass-stroke);
  stroke-width: 1.2;
  transition: stroke 160ms ease, stroke-width 160ms ease;
}

.aero-svg-studio .ass-node:hover .ass-node-card {
  stroke: var(--ass-accent);
}

.aero-svg-studio .ass-node.is-active .ass-node-card {
  stroke: var(--ass-accent);
  stroke-width: 2.2;
  fill: color-mix(in srgb, var(--ass-accent) 7%, var(--ass-card-bg));
}

.aero-svg-studio .ass-node-accent {
  fill: var(--ass-accent);
}

.aero-svg-studio .ass-node-accent--ok {
  fill: #10B981;
}

.aero-svg-studio .ass-node-accent--warn {
  fill: #F59E0B;
}

.aero-svg-studio .ass-icon-bg {
  fill: color-mix(in srgb, var(--ass-accent) 13%, transparent);
}

.aero-svg-studio .ass-icon {
  fill: none;
  stroke: var(--ass-accent);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-theme="dunkel"] .aero-svg-studio .ass-icon {
  stroke: #93A8FF;
}

.aero-svg-studio .ass-node-kicker {
  fill: var(--ass-muted);
  font-family: var(--font-meta, var(--font-display));
  font-size: 7.8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.aero-svg-studio .ass-node-title {
  fill: var(--ass-ink);
  font-size: 11.4px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.aero-svg-studio .ass-node-pill {
  fill: color-mix(in srgb, var(--ass-accent) 10%, var(--ass-stage-bg));
  stroke: color-mix(in srgb, var(--ass-accent) 28%, transparent);
  stroke-width: 1;
}

.aero-svg-studio .ass-node-badge {
  fill: var(--ass-ink);
  font-size: 9px;
  font-weight: 650;
}

.aero-svg-studio .ass-return-banner rect {
  fill: var(--ass-card-bg);
  stroke: color-mix(in srgb, #10B981 42%, var(--ass-stroke));
  stroke-width: 1.1;
}

.aero-svg-studio .ass-return-banner text {
  fill: var(--ass-ink);
  font-size: 9.2px;
  font-weight: 600;
}

/* Schritt-Tab-Leiste & 3-Spalten-Auswertung */
.aero-svg-studio .ass-step-btn {
  position: relative;
  flex: 1 0 max-content;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-block-size: 46px;
  padding: 10px 16px;
  border: 1px solid var(--ass-stroke);
  border-radius: 14px;
  background: var(--ass-card-bg);
  color: var(--ass-muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.aero-svg-studio .ass-step-btn:hover {
  border-color: var(--frost-accent);
  color: var(--ass-ink);
}

.aero-svg-studio .ass-step-btn small {
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.aero-svg-studio .ass-step-btn strong {
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}

.aero-svg-studio .ass-step-btn[aria-selected="true"] {
  border-color: var(--frost-accent);
  background: color-mix(in oklab, var(--frost-accent) 11%, var(--ass-card-bg));
  color: var(--ass-ink);
}

.aero-svg-studio .ass-step-btn[aria-selected="true"] small {
  color: var(--frost-accent);
}

.aero-svg-studio .ass-step-btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  border-block-end: 2.5px solid var(--frost-accent);
  border-radius: 2px 2px 0 0;
}

/* Tabpanel selbst ohne Padding/Border (gemäß Tabs-Spezifikation) */
.aero-svg-studio .ass-panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.aero-svg-studio .ass-readout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.aero-svg-studio .ass-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--ass-stroke);
  border-radius: 16px;
  background: var(--ass-card-bg);
}

.aero-svg-studio .ass-card--highlight {
  border-color: color-mix(in oklab, var(--frost-accent) 42%, var(--ass-stroke));
  background: color-mix(in oklab, var(--frost-accent) 7%, var(--ass-card-bg));
}

.aero-svg-studio .ass-card-label {
  font-family: var(--font-meta, var(--font-display));
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--frost-accent);
}

.aero-svg-studio .ass-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.54;
  color: var(--ass-ink);
}

/* 9.6 ERP-Story Auftragsfluss-SVG (#auftragsfluss auf mate-erp-einfuehren.html) */
.erp-story-svg-strip {
  margin: 14px 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--aero-border-hi);
  border-radius: 16px;
  background: var(--frost-glass-strong);
}

.erp-story-flow-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font-body, system-ui, sans-serif);
}

.erp-story-flow-svg .esf-rail {
  stroke: rgba(100, 116, 139, 0.28);
  stroke-width: 2.5;
}

.erp-story-flow-svg .esf-progress {
  stroke: #1B2ED6;
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.erp-story-flow-svg .esf-pulse {
  stroke: #6F86FF;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
}

@media (prefers-reduced-motion: no-preference) {
  .erp-story-flow-svg .esf-pulse {
    animation: puiTraceStream 2.8s linear infinite;
  }
}

.erp-order-workspace[data-state="angebot"] .esf-progress { stroke-dashoffset: 100; }
.erp-order-workspace[data-state="stueckliste"] .esf-progress { stroke-dashoffset: 75; }
.erp-order-workspace[data-state="fertigung"] .esf-progress { stroke-dashoffset: 50; }
.erp-order-workspace[data-state="lieferung"] .esf-progress { stroke-dashoffset: 25; }
.erp-order-workspace[data-state="service"] .esf-progress { stroke-dashoffset: 0; }

.erp-story-flow-svg .esf-node rect {
  fill: var(--aero-tile-bg, #FFFFFF);
  stroke: rgba(100, 116, 139, 0.32);
  stroke-width: 1.2;
  transition: stroke 200ms ease, fill 200ms ease;
}

:root[data-theme="dunkel"] .erp-story-flow-svg .esf-node rect {
  fill: rgba(20, 31, 56, 0.94);
  stroke: rgba(181, 195, 235, 0.26);
}

.erp-story-flow-svg .esf-kicker {
  fill: var(--frost-muted);
  font-family: var(--font-meta, var(--font-display));
  font-size: 6.8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.erp-story-flow-svg .esf-label {
  fill: var(--frost-text);
  font-size: 9.8px;
  font-weight: 700;
}

.erp-story-flow-svg .esf-sub {
  fill: var(--frost-muted);
  font-size: 7.4px;
}

.erp-order-workspace[data-state="angebot"] .esf-node--angebot rect,
.erp-order-workspace[data-state="stueckliste"] .esf-node--stueckliste rect,
.erp-order-workspace[data-state="fertigung"] .esf-node--fertigung rect,
.erp-order-workspace[data-state="lieferung"] .esf-node--lieferung rect,
.erp-order-workspace[data-state="service"] .esf-node--service rect {
  stroke: var(--frost-accent);
  stroke-width: 2.2;
  fill: color-mix(in oklab, var(--frost-accent) 12%, var(--frost-glass-strong));
}

/* ==========================================================================
   10. RESPONSIVE ANPASSUNG (TABLET & MOBIL)
   ========================================================================== */
@media (max-width: 1080px) {
  .mate-detail.mx-people .mx-intro.mate-has-blueprint > .container,
  .mate-detail.mx-market .mx-intro.mate-has-blueprint > .container,
  .mate-detail.mx-news .mx-intro.mate-has-blueprint > .container,
  .aero-partners-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .mate-detail .mx-intro.mate-has-blueprint > .container > .erp-cube-hero.platform-hero-teaser {
    grid-column: 1;
    grid-row: auto;
  }

  .aero-svg-studio .ass-readout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .frost-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frost-case-quote {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .home-pilot .film-layout {
    padding-inline: var(--gutter);
  }

  .home-pilot .film-copy {
    width: 100%;
    margin-top: 0;
    padding-inline: 0;
  }

  .home-pilot .film-step,
  .home-pilot .film-step:first-child {
    min-height: clamp(460px, 74svh, 660px);
    align-items: flex-end;
    padding: clamp(160px, 26svh, 240px) 0 40px;
  }

  .home-pilot .film-step-inner.aero-glass-card {
    max-width: 100%;
    text-shadow: none;
  }

  .spatial-pin:not(.spatial-pin--active):not(.spatial-pin--hover) {
    display: none;
  }

  .home-pilot .aero-vorgehen-section {
    padding: 28svh 0 64px;
  }

  .aero-vorgehen-layout {
    min-height: 0;
    align-items: flex-end;
  }

  .home-pilot .aero-process-workbench {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .frost-industry-grid,
  .frost-case-compare,
  .aero-partner-grid,
  .aero-pixel-cta-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .frost-case-col {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--frost-edge);
  }

  .frost-case-col--after {
    padding: 18px 0 0;
    border-bottom: 0;
  }

  .aero-pixel-quadrat {
    width: 116px;
  }

  .frost-layer-count {
    display: none;
  }

  .frost-layer-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .aero-vorgehen-tab {
    flex: none;
    min-inline-size: 6.9rem;
  }

  .aero-phase-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .aero-phase-next {
    width: 100%;
  }

  .aero-glass-card,
  .frost-case-card,
  .aero-pixel-cta-card {
    border-radius: 24px;
    padding: 24px 20px;
  }

  .subpage-stone-origin {
    border-radius: 20px;
    padding: 8px 12px;
  }

  .mate-detail .mx-scene.aero-svg-studio {
    border-radius: 22px;
    padding: 18px 16px;
  }
}
