/* MATE Living Architecture — eigenständige Inszenierung für Startseite und Laborhandel. */
.home-pilot,
.mx-labor {
  --living-bg: #F1F2EE;
  --living-paper: #FFFFFF;
  --living-ink: #0B1120;
  --living-muted: #59616D;
  --living-line: rgba(11, 17, 32, .16);
  --living-faint: rgba(11, 17, 32, .065);
  --living-accent: #1B2ED6;
  --living-accent-soft: #DDE2FF;
  --living-glow: rgba(90, 112, 240, .19);
  --living-shadow: rgba(11, 17, 32, .16);
}

:root[data-theme="dunkel"] .home-pilot,
:root[data-theme="dunkel"] .mx-labor {
  --living-bg: #0B1120;
  --living-paper: #111A2C;
  --living-ink: #F5F7FC;
  --living-muted: #B5BBD0;
  --living-line: rgba(181, 187, 208, .24);
  --living-faint: rgba(181, 187, 208, .075);
  --living-accent: #7D8CFF;
  --living-accent-soft: #26334B;
  --living-glow: rgba(90, 112, 240, .18);
  --living-shadow: rgba(0, 0, 0, .38);
}

.living-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: var(--living-accent, #1B2ED6);
  transform: scaleX(0);
  transform-origin: left center;
}

.living-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-bottom: -.09em;
  padding-bottom: .09em;
}

.living-word > span {
  display: inline-block;
}

.living-motion .living-word > span {
  opacity: 0;
  transform: translateY(112%) rotate(2deg);
  animation: living-word-in 1s var(--ease) forwards;
  animation-delay: calc(var(--word-index) * 70ms + 100ms);
}

@keyframes living-word-in {
  to { opacity: 1; transform: none; }
}

.living-motion .living-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.living-motion .living-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Startseite: kein dunkler Katalograhmen, sondern eine helle räumliche Bühne. */
.home-pilot {
  background: var(--living-bg);
  color: var(--living-ink);
}

.home-pilot .site-header {
  background: color-mix(in srgb, var(--living-bg) 84%, transparent);
  border-bottom-color: var(--living-line);
}

.home-pilot .arch-film {
  overflow: clip;
  background:
    radial-gradient(ellipse at 74% 34%, rgba(255, 255, 255, .92), transparent 43%),
    radial-gradient(circle at 78% 50%, var(--living-glow), transparent 39%),
    var(--living-bg);
  color: var(--living-ink);
}

:root[data-theme="dunkel"] .home-pilot .arch-film {
  background:
    radial-gradient(ellipse at 74% 34%, rgba(38, 51, 75, .6), transparent 46%),
    radial-gradient(circle at 78% 50%, var(--living-glow), transparent 40%),
    var(--living-bg);
}

.living-ambient {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.living-ghost {
  position: absolute;
  top: 5vh;
  right: -1.5vw;
  color: transparent;
  font-family: var(--font-meta);
  font-size: clamp(10rem, 23vw, 25rem);
  line-height: .8;
  letter-spacing: -.08em;
  opacity: .32;
  -webkit-text-stroke: 1px var(--living-line);
  transform: translate3d(calc(var(--page-progress, 0) * -4vw), 0, 0);
}

.living-coordinate {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  color: var(--living-muted);
  font-family: var(--font-meta);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.home-pilot .film-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
  max-width: 1680px;
}

.home-pilot .film-stage {
  top: var(--header);
  height: calc(100svh - var(--header));
  padding: clamp(22px, 3vw, 48px) 0 clamp(22px, 3vw, 40px) clamp(8px, 2vw, 36px);
}

.home-pilot .film-stage-inner {
  border: 0;
  background: transparent;
  transform: translate3d(var(--stage-x, 0), var(--stage-y, 0), 0);
  transition: transform .7s var(--ease);
}

.home-pilot .film-stage-inner::before,
.home-pilot .film-stage-inner::after {
  z-index: 0;
  background: var(--living-line);
}

.home-pilot .film-blueprint {
  opacity: 0;
  background-image: none;
}

.living-stage-shadow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 15%;
  width: 54%;
  height: 10%;
  border-radius: 50%;
  background: var(--living-shadow);
  filter: blur(28px);
  opacity: .38;
  transform: translateX(-50%) scale(calc(1 + var(--scene-progress, 0) * .08));
  pointer-events: none;
}

.living-stage-caption {
  position: absolute;
  z-index: 4;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--living-muted);
  font-family: var(--font-meta);
  font-size: .56rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.living-stage-caption::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--living-accent);
}

.home-pilot #mate-film-canvas {
  filter: drop-shadow(0 22px 26px rgba(11, 17, 32, .08));
}

.home-pilot .film-step {
  min-height: calc(100svh - var(--header));
}

.home-pilot .film-step:first-child {
  min-height: calc(100svh - var(--header));
  padding-top: clamp(54px, 7vh, 90px);
}

.home-pilot .film-step-inner {
  max-width: 650px;
}

.home-pilot .film-step-inner::before {
  top: -26px;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--living-accent);
}

.home-pilot .film-step h1 {
  max-width: 9.5ch;
  font-size: clamp(4.1rem, 6.6vw, 7.7rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.065em;
}

.home-pilot .film-step h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.1vw, 5.8rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.058em;
}

.home-pilot .film-step p:not(.eyebrow):not(.chapter-number):not(.film-note) {
  color: var(--living-muted);
}

.home-pilot .arch-film .eyebrow,
.home-pilot .chapter-number,
.home-pilot .film-scene-label,
.home-pilot .film-chapter-nav button.is-active {
  color: var(--living-accent);
}

.home-pilot .kicker .meta,
.home-pilot .film-topline,
.home-pilot .film-chapter-nav button,
.home-pilot .film-axis {
  color: var(--living-muted);
}

.home-pilot .film-note {
  max-width: 46ch;
  border-top-color: var(--living-line);
  color: var(--living-muted);
}

.home-pilot .film-note::before {
  background: var(--living-accent);
}

.home-pilot .film-chapter-nav {
  border-top-color: var(--living-line);
}

.home-pilot .film-chapter-nav button {
  min-height: 48px;
}

.home-pilot .film-chapter-nav button.is-active {
  border-color: var(--living-accent);
}

.home-pilot .film-axis span {
  border-color: var(--living-line);
}

.home-pilot .film-fallback path {
  fill: var(--living-ink);
}

.home-pilot .film-fallback rect {
  fill: var(--living-accent);
}

.home-pilot .film-step:last-of-type {
  background: transparent;
}

.living-scroll-cue {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: clamp(36px, 7vh, 76px);
  color: var(--living-muted);
  font-family: var(--font-meta);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.living-scroll-cue i {
  position: relative;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: var(--living-line);
}

.living-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: var(--living-accent);
  transform: none;
  animation: none;
}

/* Inhalte erhalten größere Gesten und sichtbare Zustandswechsel. */
.home-pilot #kurz {
  position: relative;
  background: var(--living-paper);
}

.home-pilot #kurz::before {
  content: "01";
  position: absolute;
  top: 40px;
  right: var(--gutter);
  color: var(--living-faint);
  font-family: var(--font-meta);
  font-size: clamp(8rem, 18vw, 19rem);
  line-height: 1;
  pointer-events: none;
}

.home-pilot .answer-intro,
.home-pilot .answer-list {
  position: relative;
  z-index: 1;
}

.home-pilot .answer-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--living-line);
  transition: padding .35s var(--ease), background .35s;
}

.home-pilot .answer-list > div:hover {
  padding-left: 18px;
  background: color-mix(in srgb, var(--living-accent) 4%, transparent);
}

.home-pilot #leistungen {
  background: var(--living-bg);
}

.home-pilot .service-index {
  border-top-color: var(--living-ink);
}

.home-pilot .service-row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom-color: var(--living-line);
}

.home-pilot .service-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--living-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease);
}

.home-pilot .service-row:hover {
  padding-inline: 24px;
  background: transparent;
  color: #FFFFFF;
}

.home-pilot .service-row:hover::before {
  transform: scaleY(1);
}

.home-pilot .service-row:hover p,
.home-pilot .service-row:hover .service-tags,
.home-pilot .service-row:hover .service-number,
.home-pilot .service-row:hover .service-arrow {
  color: #FFFFFF;
}

.home-pilot .service-row h3,
.home-pilot .service-row p,
.home-pilot .service-number,
.home-pilot .service-arrow {
  transition: color .3s, transform .45s var(--ease);
}

.home-pilot .service-row:hover h3 {
  transform: translateX(8px);
}

.home-pilot .principle-band {
  position: relative;
  overflow: hidden;
  background: #1B2ED6;
}

.home-pilot .principle-band::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -24vw;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .25);
  transform: rotate(45deg);
  pointer-events: none;
}

.home-pilot .principle-quote {
  max-width: 12ch;
  font-size: clamp(3.4rem, 6.8vw, 7.6rem);
}

.home-pilot #vorgehen {
  background: var(--living-paper);
}

.home-pilot .process-line li {
  position: relative;
}

.home-pilot .process-line li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--living-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}

.home-pilot .process-line.is-visible li::before {
  transform: scaleX(1);
  transition-delay: calc(var(--reveal-index, 0) * 130ms);
}

.home-pilot .process-line li:nth-child(2) { --reveal-index: 1; }
.home-pilot .process-line li:nth-child(3) { --reveal-index: 2; }
.home-pilot .process-line li:nth-child(4) { --reveal-index: 3; }

/* Interaktiver Prozessraum: vier Ebenen, drei verständliche Blickwinkel. */
.process-experience {
  margin: 0 0 clamp(64px, 8vw, 112px);
}

.process-experience-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.process-view-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--living-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--living-paper) 52%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--living-paper) 82%, transparent);
}

.process-view-controls button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--living-muted);
  font: 500 .72rem/1.2 var(--font-meta);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}

.process-view-controls button[aria-pressed="true"] {
  border-color: #5A70F0;
  background: #1B2ED6;
  color: #FFFFFF;
}

.process-view-controls button:focus-visible,
.process-step-button:focus-visible {
  outline: 2px solid var(--living-accent);
  outline-offset: 4px;
}

.process-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--living-muted);
  font: 500 .66rem/1.3 var(--font-meta);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.process-live i {
  width: 6px;
  height: 6px;
  background: var(--living-accent);
  animation: process-pulse 2.4s ease-in-out infinite;
}

@keyframes process-pulse {
  50% { opacity: .3; }
}

.process-theatre {
  --process-rx: 0deg;
  --process-ry: 0deg;
  position: relative;
  isolation: isolate;
  height: clamp(500px, 44vw, 600px);
  overflow: hidden;
  border: 1px solid var(--living-line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--living-paper) 46%, transparent), transparent 44%),
    radial-gradient(circle at 64% 30%, var(--living-glow), transparent 42%),
    var(--living-paper);
  box-shadow: 0 24px 70px var(--living-shadow);
  color: var(--living-ink);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.process-theatre::before {
  content: none;
}

.process-theatre-meta {
  position: absolute;
  z-index: 5;
  top: 26px;
  right: 30px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  color: var(--living-muted);
  font: 500 .62rem/1.3 var(--font-meta);
  letter-spacing: .12em;
}

.process-scene {
  position: absolute;
  inset: 60px 0 132px;
  perspective: 1300px;
  perspective-origin: 50% 45%;
}

.process-layers {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(50vw, 560px);
  height: 270px;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease), width .7s var(--ease), height .7s var(--ease);
}

.process-theatre[data-view="iso"] .process-layers {
  transform: translate(-50%, -50%) rotateX(calc(50deg + var(--process-ry))) rotateZ(calc(-26deg + var(--process-rx)));
}

.process-theatre[data-view="front"] .process-layers {
  transform: translate(-50%, -50%) rotateX(var(--process-ry)) rotateZ(var(--process-rx));
}

.process-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--living-line);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--living-paper), var(--living-bg));
  box-shadow: 0 18px 46px var(--living-shadow);
  color: var(--living-muted);
  opacity: .68;
  transform: translate3d(calc(var(--layer) * 26px), calc(var(--layer) * -16px), calc(var(--layer) * 24px));
  transform-style: preserve-3d;
  transition: transform .65s var(--ease), left .65s var(--ease), top .65s var(--ease), width .65s var(--ease), height .65s var(--ease), opacity .4s, background .4s, border-color .4s;
}

.process-layer::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: .5;
}

.process-layer.is-active {
  z-index: 5;
  border-color: #8B98FF;
  background: linear-gradient(135deg, #243CE0, #1424B7);
  color: #FFFFFF;
  opacity: 1;
  transform: translate3d(0, -12px, 120px);
}

/* Frontal: alle vier Phasen als ruhige, gleichrangige Übersicht. */
.process-theatre[data-view="front"] .process-layers {
  width: min(88%, 1080px);
  height: 240px;
}

.process-theatre[data-view="front"] .process-layer {
  inset: 0 auto auto 0;
  width: calc(25% - 12px);
  height: 100%;
  padding: 22px;
  transform: none;
}

.process-theatre[data-view="front"] .process-layer:nth-child(2) { left: 25%; }
.process-theatre[data-view="front"] .process-layer:nth-child(3) { left: 50%; }
.process-theatre[data-view="front"] .process-layer:nth-child(4) { left: 75%; }

.process-theatre[data-view="front"] .process-layer.is-active {
  transform: translateY(-10px);
}

.process-theatre[data-view="front"] .process-layer > strong {
  font-size: clamp(1.3rem, 2.4vw, 2.4rem);
}

.process-theatre[data-view="front"] .process-layer > small {
  font-size: .52rem;
  letter-spacing: .06em;
}

/* Draufsicht: unverzerrter 2x2-Architekturgrundriss aller vier Phasen von oben ohne Überlappung. */
.process-theatre[data-view="top"] .process-scene {
  inset: 58px 28px 136px;
  perspective: none;
}

.process-theatre[data-view="top"] .process-layers {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1040px);
  height: 100%;
  margin-inline: auto;
  transform: none !important;
  transform-style: flat;
}

.process-theatre[data-view="top"] .process-layer {
  position: relative;
  inset: auto;
  top: auto !important;
  left: auto !important;
  width: auto;
  height: auto;
  padding: 18px 24px;
  opacity: 1;
  transform: none !important;
  transform-style: flat;
}

.process-theatre[data-view="top"] .process-layer > strong {
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
}

.process-theatre[data-view="top"] .process-layer > small {
  font-size: .52rem;
  letter-spacing: .08em;
}

.process-theatre[data-view="top"] .process-layer::after {
  right: 16px;
  bottom: 16px;
  width: 24px;
  height: 24px;
}

.process-theatre[data-view="top"] .process-layer.is-active {
  z-index: 6;
  opacity: 1;
  transform: translate3d(0, -3px, 0) !important;
}

.process-layer > span,
.process-layer > small {
  font: 500 .66rem/1.3 var(--font-meta);
  letter-spacing: .1em;
}

.process-layer > strong {
  font: 500 clamp(2.4rem, 5vw, 4.8rem)/.95 var(--font-heading);
  letter-spacing: -.055em;
}

.process-theatre-caption {
  position: absolute;
  z-index: 6;
  bottom: 30px;
  left: 30px;
  max-width: min(470px, 62%);
}

.process-theatre-caption > span {
  display: block;
  margin-bottom: 8px;
  color: var(--living-accent);
  font: 500 .66rem/1.3 var(--font-meta);
  letter-spacing: .1em;
}

.process-theatre-caption > strong {
  display: block;
  font: 500 clamp(1.6rem, 3vw, 2.7rem)/1.08 var(--font-heading);
  letter-spacing: -.035em;
}

.process-theatre-caption p {
  margin: 10px 0 0;
  color: var(--living-muted);
  font-size: .86rem;
}

.process-perspective-label {
  position: absolute;
  right: 30px;
  bottom: 32px;
  color: var(--living-muted);
  font: 500 .62rem/1.3 var(--font-meta);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-step-button {
  display: inline;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.home-pilot .process-line li.is-current::before {
  background: var(--living-accent);
  transform: scaleX(1);
}

.home-pilot .process-line li.is-current h3,
.home-pilot .process-line li.is-current .index {
  color: var(--living-accent);
}

.home-pilot #plattformen {
  background: var(--living-bg);
}

.home-pilot .platform-layout {
  border: 0;
  background: transparent;
  gap: 18px;
}

.home-pilot .platform-primary {
  min-height: 560px;
  background: #1B2ED6;
  color: #FFFFFF;
}

:root .home-pilot .platform-primary .index,
.home-pilot .platform-primary p,
.home-pilot .platform-primary .meta {
  color: #E4E7FF;
}

.home-pilot .platform-primary .platform-logo {
  filter: brightness(0) invert(1);
}

:root[data-theme="dunkel"] .home-pilot .platform-primary .platform-logo {
  content: url("assets/logos/odoo-hell.svg");
  filter: none;
}

.home-pilot .platform-primary .text-link {
  color: #FFFFFF;
}

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

.home-pilot .platform-stack > article {
  background: var(--living-paper);
  border: 1px solid var(--living-line);
  transition: transform .4s var(--ease), border-color .4s;
}

.home-pilot .platform-stack > article:hover {
  z-index: 1;
  border-color: var(--living-accent);
  transform: translateX(-10px);
}

.home-pilot #faq {
  background: var(--living-paper);
}

.home-pilot .faq-list details {
  transition: padding .35s var(--ease), background .35s;
}

.home-pilot .faq-list details[open] {
  padding-left: 20px;
  background: color-mix(in srgb, var(--living-accent) 4%, transparent);
}

/* Laborhandel: die Charge selbst wird zur Hauptfigur. */
.mx-labor {
  background: var(--living-bg);
  color: var(--living-ink);
}

.mx-labor .kopf {
  background: color-mix(in srgb, var(--living-bg) 86%, transparent);
  border-bottom-color: var(--living-line);
}

.mx-labor .krumen {
  position: relative;
  z-index: 2;
  margin-bottom: -20px;
  color: var(--living-muted);
}

.mx-labor .mx-intro {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 76px);
  padding-block: clamp(54px, 6vw, 88px);
  overflow: clip;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 255, 255, .9), transparent 35%),
    radial-gradient(circle at 75% 50%, var(--living-glow), transparent 40%),
    var(--living-bg);
}

:root[data-theme="dunkel"] .mx-labor .mx-intro {
  background:
    radial-gradient(circle at 78% 38%, rgba(38, 51, 75, .56), transparent 40%),
    var(--living-bg);
}

.mx-labor .mx-intro::before {
  content: "CHARGE";
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: 0;
  color: transparent;
  font-family: var(--font-meta);
  font-size: clamp(9rem, 20vw, 22rem);
  line-height: .72;
  letter-spacing: -.07em;
  -webkit-text-stroke: 1px var(--living-line);
  opacity: .42;
}

.mx-labor .mx-intro::after {
  display: none;
}

.mx-labor .mx-intro.mate-has-blueprint > .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  max-width: 1540px;
  min-height: calc(100svh - 210px);
}

.mx-labor .mate-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.mx-labor .mate-hero-copy h1 {
  max-width: 10ch;
  margin: 24px 0 30px;
  font-size: clamp(4rem, 6.1vw, 7rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.062em;
}

.mx-labor .mate-hero-copy h1 > span:not(.living-word) {
  display: block;
  margin-bottom: 18px;
  color: var(--living-accent);
  font-family: var(--font-meta);
  font-size: .13em;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mx-labor .mate-hero-copy .lead {
  max-width: 43ch;
  color: var(--living-muted);
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
}

.mx-labor .mate-hero-copy .knoepfe {
  margin-top: 38px;
}

.mx-labor .mate-hero-copy .eyebrow {
  color: var(--living-accent);
}

.mx-labor .mx-intro > .container > .living-batch-hero {
  grid-column: 2;
  grid-row: 1;
}

.living-batch-hero {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
  perspective: 1400px;
}

.living-batch-frame {
  position: relative;
  min-height: clamp(520px, 62vh, 680px);
  transform: rotateX(calc(-4deg + var(--batch-y, 0deg))) rotateY(calc(-8deg + var(--batch-x, 0deg)));
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}

.living-batch-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(84%, 570px);
  aspect-ratio: 1;
  border: 1px solid var(--living-line);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-40px);
}

.living-batch-ring::before,
.living-batch-ring::after {
  content: "";
  position: absolute;
  border: 1px solid var(--living-faint);
  border-radius: 50%;
}

.living-batch-ring::before { inset: 11%; }
.living-batch-ring::after { inset: 27%; }

.living-batch-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78%, 480px);
  padding: clamp(24px, 3.2vw, 42px);
  background: color-mix(in srgb, var(--living-paper) 90%, transparent);
  border: 1px solid var(--living-line);
  box-shadow: 0 42px 90px var(--living-shadow);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) translateZ(70px);
}

.living-batch-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 38%;
  height: 3px;
  background: var(--living-accent);
}

.living-batch-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--living-muted);
  font-family: var(--font-meta);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.living-batch-id {
  display: block;
  margin: 34px 0 6px;
  font-family: var(--font-meta);
  font-size: clamp(3.2rem, 5.6vw, 5.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}

.living-batch-product {
  color: var(--living-muted);
  font-size: .88rem;
}

.living-batch-units {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 38px 0 30px;
}

.living-batch-unit {
  aspect-ratio: 1;
  background: var(--living-accent-soft);
  border: 1px solid color-mix(in srgb, var(--living-accent) 38%, transparent);
  transform: translateZ(calc(var(--unit-index) * 1px));
}

.living-batch-unit:nth-child(-n+4) {
  background: var(--living-accent);
  border-color: var(--living-accent);
}

.living-batch-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--living-line);
  font-family: var(--font-meta);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.living-batch-total strong {
  color: var(--living-accent);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -.03em;
}

.living-batch-tag {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 14px 16px;
  background: var(--living-paper);
  border: 1px solid var(--living-line);
  box-shadow: 0 16px 40px var(--living-shadow);
  transform: translateZ(120px);
}

.living-batch-tag span,
.living-batch-tag strong {
  display: block;
}

.living-batch-tag span {
  color: var(--living-muted);
  font-family: var(--font-meta);
  font-size: .54rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.living-batch-tag strong {
  margin-top: 5px;
  font-size: .86rem;
  font-weight: 550;
}

.living-batch-tag--origin { top: 10%; left: 0; }
.living-batch-tag--stock { right: 0; bottom: 16%; }

.living-batch-route {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.living-batch-route path {
  fill: none;
  stroke: var(--living-accent);
  stroke-width: 1.2;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
}

.living-batch-hero figcaption {
  position: absolute;
  right: 0;
  bottom: -6px;
  max-width: 36ch;
  color: var(--living-muted);
  font-size: .75rem;
  text-align: right;
}

/* Das Arbeitsmodell ist ein dunkles Kapitel mit einer klaren Mengenerzählung. */
.mx-labor .mate-process-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(100px, 12vw, 170px);
  background: #0B1120;
  color: #F5F7FC;
}

.mx-labor .mate-process-section::before {
  content: "12 / 08 / 04";
  position: absolute;
  top: 30px;
  right: -20px;
  color: rgba(125, 140, 255, .08);
  font-family: var(--font-meta);
  font-size: clamp(7rem, 17vw, 18rem);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.mx-labor .mate-process-section > .container {
  position: relative;
  z-index: 1;
  max-width: 1540px;
}

.mx-labor .mate-process-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.mx-labor .mate-process-heading .eyebrow {
  color: #7D8CFF;
}

.mx-labor .mate-process-heading > p {
  max-width: 40ch;
  margin: 0 0 24px auto;
  color: #B5BBD0;
}

.living-equation {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  padding: 28px 0 40px;
  border-top: 1px solid #303A4D;
}

.living-equation strong {
  font-family: var(--font-meta);
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.06em;
}

.living-equation > span {
  max-width: 32ch;
  padding-bottom: 4px;
  color: #B5BBD0;
}

.living-equation small {
  display: block;
  margin-bottom: 12px;
  color: #7D8CFF;
  font-family: var(--font-meta);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.living-equation[data-step="1"] strong { color: #7D8CFF; }
.living-equation[data-step="2"] strong { font-size: clamp(2.8rem, 6vw, 6.8rem); }

.mx-labor .mate-process-section .mx-scene {
  margin: 0;
  box-shadow: 0 44px 110px rgba(0, 0, 0, .3);
}

.mx-labor .sz-einsatz {
  background: var(--living-paper);
}

.mx-labor .sz-leiste {
  border-color: var(--living-line);
}

.mx-labor .sz-bento {
  gap: 18px;
}

.mx-labor .sz-kachel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--living-line);
  background: var(--living-bg);
  transition: transform .45s var(--ease), background .45s, color .45s;
}

.mx-labor .sz-kachel:hover {
  z-index: 2;
  background: var(--living-accent);
  color: #FFFFFF;
  transform: translateY(-8px);
}

.mx-labor .sz-kachel:hover p,
.mx-labor .sz-kachel:hover .eyebrow {
  color: #FFFFFF;
}

.mx-labor .sz-kachel:hover .raster {
  stroke: #FFFFFF;
}

.mx-labor .sz-migration {
  position: relative;
}

.mx-labor .sz-check li {
  transition: transform .4s var(--ease), border-color .4s;
}

.mx-labor .sz-check li:hover {
  border-color: var(--living-accent);
  transform: translateX(8px);
}

.mx-labor .mx-band {
  position: relative;
  overflow: hidden;
  background: #1B2ED6;
}

.mx-labor .mx-band::after {
  content: "DEMO—A";
  position: absolute;
  right: -2vw;
  bottom: -2vw;
  color: rgba(255, 255, 255, .08);
  font-family: var(--font-meta);
  font-size: clamp(7rem, 17vw, 18rem);
  line-height: .8;
  pointer-events: none;
}

.mx-labor .mx-band .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .home-pilot .film-step h1 { font-size: clamp(3.6rem, 6.8vw, 5.6rem); }
  .home-pilot .film-layout { grid-template-columns: minmax(0, 46%) minmax(0, 54%); }
  .mx-labor .mx-intro.mate-has-blueprint > .container { grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr); }
  .living-batch-tag--origin { left: -12px; }
  .living-batch-tag--stock { right: -12px; }
}

@media (max-width: 900px) {
  .living-ghost { top: 18vh; font-size: 34vw; }
  .living-coordinate { display: none; }
  .home-pilot .film-stage {
    top: var(--header);
    height: 46svh;
    padding: 0;
    background: var(--living-bg);
  }
  .home-pilot .film-stage-inner { border: 0; }
  .home-pilot .film-copy { margin-top: -46svh; }
  .home-pilot .film-step,
  .home-pilot .film-step:first-child {
    min-height: 108svh;
    padding-top: calc(46svh + 48px);
    padding-bottom: 64px;
  }
  .home-pilot .film-step-inner { text-shadow: none; }
  .home-pilot .film-step:last-of-type {
    top: calc(var(--header) + 46svh);
    min-height: 62svh;
    background: transparent;
  }
  .home-pilot .film-step h1 { font-size: clamp(3.6rem, 10vw, 5.8rem); }
  .home-pilot .film-step h2 { font-size: clamp(3rem, 8vw, 4.8rem); }
  .living-stage-caption { left: 20px; bottom: 16px; }
  .home-pilot .answer-list > div { grid-template-columns: 100px 1fr; }
  .home-pilot .process-line { gap: 40px 0; }
  .process-theatre { height: 560px; }
  .process-layers { width: min(72vw, 520px); }
  .process-perspective-label { display: none; }
  .home-pilot .platform-primary { min-height: 440px; }
  .mx-labor .mx-intro { min-height: 0; }
  .mx-labor .mx-intro.mate-has-blueprint > .container {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 54px;
  }
  .mx-labor .mx-intro > .container > .living-batch-hero,
  .mx-labor .mx-intro > .container > .erp-system-diagram {
    grid-column: 1;
    grid-row: auto;
  }
  .mx-labor .mate-hero-copy { max-width: 720px; }
  .living-batch-hero { max-width: 680px; margin-inline: auto; }
  .living-batch-frame { min-height: 580px; }
  .mx-labor .mate-process-heading { grid-template-columns: 1fr; }
  .mx-labor .mate-process-heading > p { margin-left: 0; }
}

@media (max-width: 640px) {
  .home-pilot .film-stage { height: 42svh; }
  .home-pilot .film-copy { margin-top: -42svh; }
  .home-pilot .film-step,
  .home-pilot .film-step:first-child {
    min-height: 110svh;
    padding-top: calc(42svh + 42px);
  }
  .home-pilot .film-step:last-of-type { top: calc(var(--header) + 42svh); }
  .home-pilot .film-step h1 { font-size: clamp(3.5rem, 16vw, 5rem); }
  .home-pilot .film-step h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .home-pilot .film-note { margin-top: 24px; padding-top: 18px; }
  .living-scroll-cue { margin-top: 32px; }
  .living-stage-caption { font-size: .48rem; }
  .home-pilot #kurz::before { font-size: 44vw; }
  .home-pilot .answer-list > div { grid-template-columns: 1fr; gap: 8px; }
  .home-pilot .service-row:hover { padding-inline: 0; }
  .home-pilot .service-row:hover h3 { transform: none; }
  .home-pilot .principle-quote { font-size: clamp(3.2rem, 14vw, 4.8rem); }
  .process-experience-top { align-items: flex-start; }
  .process-view-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .process-view-controls button { padding-inline: 8px; font-size: .65rem; }
  .process-live { display: none; }
  .process-theatre { height: 540px; }
  .process-theatre-meta { top: 20px; right: 20px; left: 20px; font-size: .55rem; }
  .process-scene { inset: 58px 0 154px; }
  .process-layers { top: 46%; width: min(60vw, 340px); height: 200px; }
  .process-layer { padding: 20px; }
  .process-layer > strong { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .process-layer > small { font-size: .5rem; }
  .process-theatre[data-view="front"] .process-layers { width: calc(100% - 40px); height: 280px; }
  .process-theatre[data-view="front"] .process-layer { width: calc(50% - 6px); height: calc(50% - 6px); padding: 14px; }
  .process-theatre[data-view="front"] .process-layer:nth-child(2) { left: calc(50% + 6px); }
  .process-theatre[data-view="front"] .process-layer:nth-child(3) { top: calc(50% + 6px); left: 0; }
  .process-theatre[data-view="front"] .process-layer:nth-child(4) { top: calc(50% + 6px); left: calc(50% + 6px); }
  .process-theatre[data-view="front"] .process-layer.is-active { transform: translateY(-4px); }
  .process-theatre[data-view="front"] .process-layer > strong { font-size: clamp(1.15rem, 6vw, 1.6rem); }
  .process-theatre[data-view="front"] .process-layer > small { display: none; }
  .process-theatre[data-view="front"] .process-layer::after { right: 12px; bottom: 12px; width: 20px; height: 20px; }
  .process-theatre[data-view="top"] .process-scene { inset: 54px 18px 132px; }
  .process-theatre[data-view="top"] .process-layers { width: 100%; height: 100%; gap: 10px; }
  .process-theatre[data-view="top"] .process-layer { padding: 14px; }
  .process-theatre[data-view="top"] .process-layer > strong { font-size: clamp(1.15rem, 6vw, 1.6rem); }
  .process-theatre[data-view="top"] .process-layer > small { display: none; }
  .process-theatre[data-view="top"] .process-layer::after { right: 12px; bottom: 12px; width: 18px; height: 18px; }
  .process-theatre-caption { right: 20px; bottom: 24px; left: 20px; max-width: none; }
  .process-step-button { width: 100%; }
  .home-pilot .platform-layout { gap: 12px; }
  .home-pilot .platform-stack { gap: 12px; }
  .home-pilot .platform-stack > article:hover { transform: none; }
  .mx-labor .krumen { margin-bottom: 0; }
  .mx-labor .mx-intro { padding-top: 44px; }
  .mx-labor .mate-hero-copy h1 { font-size: clamp(3.5rem, 15vw, 4.8rem); }
  .living-batch-frame { min-height: 450px; }
  .living-batch-card { width: 82%; padding: 24px 20px; }
  .living-batch-id { margin-top: 26px; font-size: 3.4rem; }
  .living-batch-units { gap: 5px; margin: 26px 0 22px; }
  .living-batch-tag { min-width: 124px; padding: 10px 12px; }
  .living-batch-tag--origin { top: 2%; left: 0; }
  .living-batch-tag--stock { right: 0; bottom: 8%; }
  .living-batch-hero figcaption { position: static; margin-top: 12px; text-align: left; }
  .living-equation { grid-template-columns: 1fr; gap: 22px; }
  .living-equation strong { font-size: 4.4rem; }
  .living-equation[data-step="2"] strong { font-size: 3.2rem; }
  .mx-labor .mate-process-section { padding-block: 82px; }
  .mx-labor .sz-kachel:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .living-motion .living-word > span,
  .living-scroll-cue i::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .living-motion .living-reveal {
    opacity: 1;
    transform: none;
  }
  .living-ghost,
  .home-pilot .film-stage-inner,
  .living-batch-frame {
    transform: none;
  }
  .living-scroll-cue i::after { display: none; }
  .process-live i { animation: none; }
  .process-layers,
  .process-layer { transition: none; }
}
