/* generiert aus src/story.css — nicht direkt bearbeiten */
:root, [data-theme="dark"], .tone-dark { --sy-head: var(--font); --sy-maxw: var(--maxw); --sy-header: var(--header-h); --sy-ease: var(--ease); --sy-night: #0d0c0b; --sy-ink: #f3efe9; --sy-ink-2: #b9b0a5; --sy-accent: #c7b096; --sy-accent-strong: #b8a089; --sy-accent-text: var(--primary-light); --sy-accent-text-light: #6b5a48; --sy-accent-soft: rgba(184, 160, 137, .16); --sy-card: #171512; --sy-glow: rgba(184, 160, 137, .14); --sy-glow-2: rgba(107, 90, 72, .2); --sy-text: var(--text); --sy-text-2: var(--text-2); --sy-tile: var(--surface); --sy-tile-line: var(--line); --sy-paper-soft: var(--surface-2); --sy-btn: var(--primary); --sy-btn-ink: #15120f; --sy-ok: #6fcf97; --sy-ok-soft: rgba(16, 185, 129, .14); --sy-log: #0f0e0d; --sy-log-ink: #b9b0a5; --sy-photo-tint: rgba(10, 9, 8, .8); --sy-chap-bg: rgba(18, 17, 16, .74); --sy-chap-line: rgba(255, 255, 255, .1); --sy-chap-ink: #b9b0a5; --sy-chap-active: rgba(184, 160, 137, .22); --sy-chap-active-ink: #f3efe9; --sy-hub-bg: var(--bg-elev); --sy-tile-solid: #171614; --sy-hero-bg: var(--bg); --sy-soft-head: #8f8579; --sy-ink-d: #f3efe9; --sy-ink-2-d: #b9b0a5; --sy-dev-accent: #b8a089; --sy-kc-dark: linear-gradient(160deg, #2b251e, #13110f); }
[data-theme="light"] { --sy-accent-text: #6b5a48; --sy-btn: #1f1b17; --sy-btn-ink: #fff; --sy-ok: #047857; --sy-ok-soft: rgba(16, 185, 129, .12); --sy-log: #1a1714; --sy-chap-bg: rgba(255, 255, 255, .82); --sy-chap-line: rgba(0, 0, 0, .08); --sy-chap-ink: #4b4540; --sy-chap-active: #1f1b17; --sy-chap-active-ink: #fff; --sy-hub-bg: var(--primary-bg); --sy-tile-solid: #fff; --sy-soft-head: #8a7c6d; }
/* Story-Bausteine (gemeinsam mit hoerl). Farben kommen über --sy-* aus build.mjs. */

.sy-wrap { width: min(var(--sy-maxw, 1200px), 100% - 48px); margin-inline: auto; }
.sy-kicker { display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sy-kicker, var(--sy-accent-text)); margin-bottom: 10px; }
.sy-fine { font-size: .75rem; color: var(--sy-ink-2); margin: 0; }
.sy-fine--paper { color: var(--sy-text-2); margin-top: 20px; text-align: center; }
.sy-head2 { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sy-head2 h2, .sy-rep-copy h2 { font-family: var(--sy-head); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; color: var(--sy-text); }
.sy-head2 p { color: var(--sy-text-2); margin: 0; font-size: 1.0625rem; }

/* ===================== Szene 1: Verbinden ===================== */
.sy-scene { position: relative; background: var(--sy-night); color: var(--sy-ink); --sy-kicker: var(--sy-accent); }
.sy-scene.is-live { height: 400vh; }
.sy-stage { display: flex; flex-direction: column; padding: calc(var(--sy-header, 72px) + 20px) 24px 20px; min-height: 100vh; }
.sy-scene.is-live .sy-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
.sy-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 60%, var(--sy-glow), transparent 70%), radial-gradient(40% 40% at 15% 30%, var(--sy-glow-2), transparent 70%); pointer-events: none; }

.sy-caps { position: relative; width: min(780px, 100%); margin: 0 auto; min-height: 8.6rem; text-align: center; }
.sy-cap h2, .sy-cap h3 { font-family: var(--sy-head); font-size: clamp(1.6rem, 1.05rem + 2.1vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 10px; color: var(--sy-ink); font-weight: 650; }
.sy-cap p { margin: 0 auto; max-width: 600px; color: var(--sy-ink-2); font-size: 1.0625rem; line-height: 1.5; }
.sy-scene:not(.is-live) .sy-cap:not(:first-child) { display: none; }
.sy-scene.is-live .sy-cap { position: absolute; inset: 0 0 auto; opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 14px)); visibility: var(--vis, hidden); }

.sy-board { position: relative; flex: 1; min-height: 0; width: min(1120px, 100%); margin: 18px auto 0; display: grid; grid-template-columns: minmax(210px, 290px) minmax(0, 1fr); gap: clamp(56px, 9vw, 150px); align-items: center; }
.sy-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 2; }
.sy-card { position: relative; display: grid; gap: 2px; padding: 13px 16px; border-radius: 14px; background: var(--sy-card); border: 1px solid rgba(255, 255, 255, .08); opacity: calc(.74 + .26 * var(--on, 1)); transition: opacity .2s; }
.sy-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--sy-accent); opacity: var(--on, 1); box-shadow: 0 0 24px -6px var(--sy-accent); pointer-events: none; }
.sy-card small { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sy-accent); font-weight: 600; }
.sy-card b { font-size: 1.0625rem; color: var(--sy-ink); }
.sy-card span { font-size: .8125rem; color: var(--sy-ink-2); }
.sy-card code { font: 500 .6875rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--sy-ink-2); margin-top: 4px; }

.sy-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.sy-lines path { fill: none; stroke: var(--sy-accent); stroke-width: 2; stroke-linecap: round; opacity: .85; }
.sy-lines circle { fill: var(--sy-accent); }

.sy-win { position: relative; z-index: 2; background: #fbfaf8; color: #1d1b19; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; max-height: 100%; display: flex; flex-direction: column; }
.sy-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f0eeea; border-bottom: 1px solid #e4e1dc; }
.sy-chrome > i { width: 9px; height: 9px; border-radius: 50%; background: #d8d4ce; }
.sy-url { flex: 1; margin-left: 10px; border-radius: 6px; background: #fff; border: 1px solid #e4e1dc; font-size: .6875rem; color: #6b665f; }
.sy-swap { display: inline-grid; }
.sy-swap > em { grid-area: 1 / 1; font-style: normal; white-space: nowrap; }
.sy-url { padding: 3px 10px; }
.v1 { opacity: calc(1 - var(--v2, 0)); }
.v2 { opacity: var(--v2, 0); }
.sy-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #ece9e4; flex-wrap: wrap; }
.sy-brand { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .875rem; }
.sy-brand > i { width: 16px; height: 16px; border-radius: 5px; background: var(--sy-night); }
.sy-brand .sy-swap { font-weight: 500; color: #6b665f; }
.sy-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sy-chip { font-size: .6875rem; font-weight: 600; padding: 4px 9px; border-radius: 99px; border: 1px dashed #cfcac3; color: #5f5a53; background: color-mix(in srgb, var(--sy-accent-strong) calc(var(--on, 1) * 12%), #fff); border-style: var(--bs, solid); }

.sy-body { position: relative; padding: 18px; flex: 1; min-height: 0; }
.sy-view { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; align-items: center; }
.sy-view--1 { opacity: calc(1 - var(--v2, 0)); transform: translateX(calc(var(--v2, 0) * -16px)); }
.sy-view--2 { position: absolute; inset: 18px; opacity: var(--v2, 0); transform: translateX(calc((1 - var(--v2, 0)) * 16px)); grid-template-columns: 1.4fr 1fr; }
.sy-pic, .sy-stagepic { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #ebe8e3; }
.sy-pic::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, #e8e5e0 0 8px, #efece8 8px 16px); opacity: calc(1 - var(--dam, 1)); z-index: 1; }
.sy-pic img, .sy-stagepic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sy-pic img { opacity: var(--dam, 1); transform: scale(calc(1.06 - .06 * var(--dam, 1))); }
.sy-stagepic { aspect-ratio: 4 / 3.3; }
.sy-stagepic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .45)); }
.sy-spot { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 700; font-size: .9375rem; }
.sy-info { display: grid; gap: 8px; }
.sy-langs { display: flex; gap: 4px; }
.sy-langs b { font-size: .625rem; padding: 3px 7px; border-radius: 5px; background: #1d1b19; color: #fff; }
.sy-langs b[data-l] { background: #ece9e4; color: #1d1b19; opacity: var(--tr, 1); transform: translateY(calc((1 - var(--tr, 1)) * 4px)); }
.sy-title { margin: 0; font-weight: 700; font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); letter-spacing: -.01em; opacity: var(--pim, 1); }
.sy-sku { margin: 0; font-size: .75rem; color: #6b665f; opacity: var(--pim, 1); }
.sy-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; opacity: var(--pim, 1); }
.sy-facts li { display: flex; justify-content: space-between; font-size: .75rem; padding: 5px 0; border-bottom: 1px solid #ece9e4; }
.sy-facts span { color: #6b665f; }
.sy-trans { margin: 0; font-size: .75rem; color: var(--sy-accent-text-light); font-weight: 600; opacity: var(--tr, 1); }
.sy-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; opacity: var(--erp, 1); }
.sy-price { font-weight: 800; font-size: 1.25rem; }
.sy-price small { font-size: .6875rem; font-weight: 500; color: #6b665f; margin-left: 4px; }
.sy-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; color: #2f6b47; font-weight: 600; }
.sy-stock i { width: 7px; height: 7px; border-radius: 50%; background: #2f9a5d; box-shadow: 0 0 0 calc(var(--erp, 1) * 4px) rgba(47, 154, 93, .18); }
.sy-cfg { display: grid; gap: 10px; align-content: center; }
.sy-sw { display: flex; gap: 8px; }
.sy-sw i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.sy-sw i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #1d1b19; }
.sy-cta { justify-self: start; padding: 9px 16px; border-radius: 99px; background: #1d1b19; color: #fff; font-size: .8125rem; font-weight: 600; }
.sy-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 18px; border-top: 1px solid #ece9e4; font-size: .75rem; font-weight: 600; color: #2f6b47; opacity: var(--fin, 1); }
.sy-note i { width: 8px; height: 8px; border-radius: 50%; background: #2f9a5d; }
.sy-stage > .sy-fine { position: relative; text-align: center; margin-top: 10px; }

@media (max-width: 760px) {
  .sy-stage { padding: calc(var(--sy-header, 64px) + 12px) 16px 12px; }
  .sy-caps { min-height: 9.2rem; }
  .sy-cap h2, .sy-cap h3 { font-size: 1.375rem; }
  .sy-cap p { font-size: .875rem; line-height: 1.45; }
  .sy-board { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 8px; }
  .sy-src { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sy-card { padding: 9px 6px; border-radius: 10px; text-align: center; }
  .sy-card small, .sy-card span, .sy-card code { display: none; }
  .sy-card b { font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sy-head { padding: 10px 12px; }
  .sy-chips { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sy-chip { font-size: .625rem; padding: 3px 4px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sy-body { padding: 12px; }
  .sy-view { gap: 12px; grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .sy-view--2 { inset: 12px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .sy-stagepic { aspect-ratio: auto; height: 150px; }
  .sy-cfg { grid-template-columns: auto auto; align-items: center; justify-content: space-between; }
  .sy-cfg .sy-sku { display: none; }
  .sy-sku { font-size: .6875rem; }
  .sy-facts { display: none; }
  .sy-buy { flex-direction: column; align-items: flex-start; gap: 2px; }
  .sy-note { padding: 8px 12px; }
}
@media (max-height: 720px) and (min-width: 761px) { .sy-cap p { display: none; } .sy-caps { min-height: 5.2rem; } }
@media (max-height: 640px) and (max-width: 760px) { .sy-cap p { display: none; } .sy-caps { min-height: 4.6rem; } }

/* ===================== Szene 2: Simulation (Scroll-Bühne, sternförmig) ===================== */
.sy-hub { --sy-ink: var(--sy-text); --sy-ink-2: var(--sy-text-2); --sy-kicker: var(--sy-accent-text); background: var(--sy-hub-bg); color: var(--sy-text); }
.sy-hub.is-live { height: 400vh; }
.sy-hub .sy-stage::before { background: radial-gradient(50% 45% at 50% 62%, var(--sy-accent-soft), transparent 70%); }
.sy-hub .sy-lines path { stroke: var(--sy-accent-strong); stroke-width: 1.6; opacity: .7; }
.sy-hub .sy-lines circle { fill: var(--sy-accent-strong); opacity: 0; filter: drop-shadow(0 0 6px var(--sy-accent-strong)); }

.sy-hubboard { position: relative; flex: 1; min-height: 0; width: min(1180px, 100%); margin: 14px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 290px) minmax(0, 1fr); grid-template-areas: "l core r"; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sy-col { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 2; }
.sy-col--l { grid-area: l; }
.sy-col--r { grid-area: r; }
.sy-core { grid-area: core; position: relative; z-index: 2; padding: 18px; display: grid; gap: 12px; background: var(--sy-tile-solid); border: 1px solid var(--sy-tile-line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35), 0 0 0 calc(var(--pulse, 0) * 6px) var(--sy-accent-soft); }
.sy-rec__src { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sy-accent-text); }
.sy-rec__src i { width: 8px; height: 8px; border-radius: 50%; background: var(--sy-accent-strong); box-shadow: 0 0 0 4px var(--sy-accent-soft); }
.sy-rec__item { display: flex; gap: 12px; align-items: center; }
.sy-rec__item img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; background: #ebe8e3; }
.sy-rec__item b { display: block; color: var(--sy-text); }
.sy-rec__item small { color: var(--sy-text-2); font-size: .75rem; }
.sy-rec__chg { list-style: none; margin: 0; padding: 0; display: grid; }
.sy-rec__chg li { display: flex; justify-content: space-between; gap: 8px; font-size: .8125rem; padding: 6px 0; border-bottom: 1px solid var(--sy-tile-line); opacity: calc(.35 + .65 * var(--chg, 1)); }
.sy-rec__chg span { color: var(--sy-text-2); }
.sy-rec__chg b { color: var(--sy-text); font-weight: 600; text-align: right; }
.sy-rec__chg s { color: var(--sy-text-2); font-weight: 400; margin-right: 2px; }
.sy-rec__chg ins { text-decoration: none; }
.sy-meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: baseline; }
.sy-meter span { font-size: .75rem; color: var(--sy-text-2); }
.sy-meter b { font-family: var(--sy-head); font-size: 1.5rem; color: var(--sy-text); font-variant-numeric: tabular-nums; }
.sy-meter b span { font-size: inherit; color: inherit; }
.sy-meter i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--sy-tile-line); overflow: hidden; }
.sy-meter em { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--sy-accent-strong); transform: scaleX(var(--m, 0)); transform-origin: left; }
.sy-core__note { margin: 0; font-size: .75rem; color: var(--sy-text-2); }
.sy-core__note b { color: var(--sy-ok); }

.sy-res { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; background: var(--sy-tile-solid); border: 1px solid var(--sy-tile-line); border-radius: 14px; overflow: hidden; opacity: calc(.55 + .45 * var(--lit, 1)); transform: translateX(calc((1 - var(--lit, 1)) * var(--dx, 0px))); transition: border-color .3s; }
.sy-col--l .sy-res { --dx: -10px; }
.sy-col--r .sy-res { --dx: 10px; }
.sy-res h3 { margin: 2px 0 0; font-size: .875rem; color: var(--sy-text); }
.sy-res p { margin: 0; font-size: .75rem; color: var(--sy-text-2); line-height: 1.35; }
.sy-res__top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.sy-res__tag { font-size: .6875rem; font-weight: 700; color: var(--sy-accent-text); text-decoration: none; }
.sy-res__tag:hover { text-decoration: underline; }
.sy-res__st { font-size: .5625rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 99px; background: var(--sy-paper-soft); color: var(--sy-text-2); }
.sy-res[data-state="run"] { border-color: var(--sy-accent-strong); }
.sy-res[data-state="run"] .sy-res__st { background: var(--sy-accent-soft); color: var(--sy-accent-text); }
.sy-res[data-state="done"] .sy-res__st { background: var(--sy-ok-soft); color: var(--sy-ok); }
.sy-res::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sy-accent-strong); transform: scaleX(0); transform-origin: left; }
.sy-res[data-state="run"]::after { animation: sy-bar .6s linear forwards; }
@keyframes sy-bar { to { transform: scaleX(1); } }
.sy-res__vis { width: 64px; height: 64px; border-radius: 10px; background: var(--sy-paper-soft); position: relative; overflow: hidden; display: grid; place-items: center; }
.sy-res[data-state="wait"] .sy-res__vis > * { opacity: .6; }
.sy-res[data-state="wait"] .sy-res__vis > .sx-doc { opacity: 1; }
@keyframes sy-in { from { opacity: 0; transform: translateY(4px); } }

.sx-shop { display: flex; gap: 10px; align-items: center; }
.sx-shop > i { width: 30px; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.sx-shop span { display: grid; }
.sx-shop b { font-size: .9375rem; color: var(--sy-text); font-variant-numeric: tabular-nums; }
.sx-new { display: none; }
.sy-res[data-state="done"] .sx-old { display: none; }
.sy-res[data-state="done"] .sx-new { display: block; animation: sy-in .4s ease both; }
.sx-studio { position: absolute; inset: 0; }
.sx-studio img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.92); transition: filter .6s; }
.sy-res[data-state="done"] .sx-studio img { filter: brightness(1.14) contrast(1.06); }
.sx-scan { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--sy-accent-strong); box-shadow: 0 0 12px var(--sy-accent-strong); opacity: 0; }
.sy-res[data-state="run"] .sx-scan { opacity: 1; animation: sy-scan .7s linear forwards; }
@keyframes sy-scan { to { left: 100%; } }
.sx-fmts { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 3px; opacity: 0; transition: opacity .4s; }
.sx-fmts em { font-style: normal; font-size: .5625rem; font-weight: 700; padding: 2px 5px; border-radius: 4px; background: rgba(255, 255, 255, .92); color: #1d1b19; }
.sy-res[data-state="done"] .sx-fmts { opacity: 1; }
.sx-pdf { display: flex; align-items: end; gap: 8px; }
.sx-page { width: 30px; height: 40px; border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); padding: 5px 4px; display: grid; gap: 3px; align-content: start; }
.sx-page i { height: 3px; border-radius: 2px; background: #d9d4cd; }
.sx-page i:nth-child(2) { width: 70%; }
.sx-pdf em, .sx-doc code { font-style: normal; }
.sx-pdf em { font-size: .625rem; font-weight: 800; padding: 3px 6px; border-radius: 5px; background: var(--sy-ok-soft); color: var(--sy-ok); opacity: 0; transform: scale(.8); transition: .35s; }
.sy-res[data-state="done"] .sx-pdf em { opacity: 1; transform: none; }
.sx-cat { width: 40px; height: 46px; background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; }
.sx-cat i { border-radius: 2px; background: #e7e3dd; }
.sx-cat i:first-child { grid-column: span 2; }
.sy-res[data-state="done"] .sx-cat i:first-child { background: center/cover var(--sy-img), #e7e3dd; }
.sx-lang { display: grid; gap: 4px; width: 84%; }
.sx-lang span { display: grid; grid-template-columns: 14px 1fr; gap: 6px; align-items: center; }
.sx-lang b { font-size: .5rem; color: var(--sy-text-2); }
.sx-lang i { height: 6px; border-radius: 3px; background: linear-gradient(var(--sy-accent-strong), var(--sy-accent-strong)) left/var(--w, 40%) 100% no-repeat, var(--sy-tile-line); transition: background-size .6s; }
.sx-lang span:nth-child(2) i { --w: 25%; }
.sx-lang span:nth-child(3) i { --w: 25%; }
.sy-res[data-state="done"] .sx-lang i { --w: 100%; }
.sx-indd { width: 44px; height: 36px; position: relative; }
.sx-frame { position: absolute; inset: 0; border: 1.5px dashed var(--sy-text-2); border-radius: 4px; opacity: .5; }
.sx-drop { position: absolute; inset: 6px; border-radius: 3px; background: center/cover var(--sy-img), #e7e3dd; transform: translate(16px, -14px) rotate(6deg) scale(.7); opacity: 0; transition: .5s var(--sy-ease, ease); }
.sy-res[data-state="run"] .sx-drop { opacity: .7; }
.sy-res[data-state="done"] .sx-drop { transform: none; opacity: 1; }
.sx-doc { display: grid; gap: 3px; width: 92%; }
.sx-doc code { font: 500 .5rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 3px 4px; border-radius: 4px; background: var(--sy-tile-solid); color: var(--sy-text-2); border-left: 2px solid var(--sy-tile-line); }
.sy-res[data-state="done"] .sx-doc code { border-left-color: var(--sy-ok); color: var(--sy-text); }
.sx-shop > i { background: center/cover var(--sy-img), #e7e3dd; }


.sx-pdf { flex-direction: column; align-items: center; gap: 3px; }
.sx-pdf em { font-size: .5rem; padding: 1px 4px; }
.sx-shop { gap: 6px; flex-direction: column; }
.sx-shop b { font-size: .75rem; }
.sx-fmts em { font-size: .5rem; padding: 1px 3px; }

@media (max-width: 1080px) and (min-width: 761px) { .sy-res { grid-template-columns: minmax(0, 1fr); } .sy-res__vis { display: none; } }
@media (max-width: 760px) {
  .sy-hubboard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "core core" "l r"; gap: 22px 22px; align-items: start; margin-top: 4px; }
  .sy-core { padding: 12px; gap: 8px; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .sy-core .sy-rec__src, .sy-core .sy-rec__chg, .sy-core__note { display: none; }
  .sy-rec__item img { width: 40px; height: 40px; }
  .sy-meter b { font-size: 1.125rem; }
  .sy-col { gap: 6px; }
  .sy-res { grid-template-columns: minmax(0, 1fr); padding: 8px 9px; border-radius: 11px; }
  .sy-res__vis, .sy-res p, .sy-res__st { display: none; }
  .sy-res h3 { font-size: .75rem; }
  .sy-res__tag { font-size: .625rem; }
}
@media (max-height: 760px) and (min-width: 761px) { .sy-res p { display: none; } .sy-rec__chg li { padding: 4px 0; } }

/* Schaltfläche (Prüfbericht) */
.sy-run { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 99px; background: var(--sy-btn); color: var(--sy-btn-ink); font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; transition: transform .15s, opacity .15s; }
.sy-run:hover { transform: translateY(-1px); }
.sy-run:focus-visible { outline: 2px solid var(--sy-accent-strong); outline-offset: 3px; }
.sy-run[disabled] { opacity: .6; cursor: default; transform: none; }
.sy-run__play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.sy-run.is-busy .sy-run__play { width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sy-spin .8s linear infinite; }
@keyframes sy-spin { to { transform: rotate(360deg); } }

/* ===================== Szene 3: Prüfbericht ===================== */
.sy-night-sec { background: var(--sy-night); color: var(--sy-ink); --sy-text: var(--sy-ink); --sy-text-2: var(--sy-ink-2); }
.sy-rep-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.sy-rep-copy p { color: var(--sy-ink-2); font-size: 1.0625rem; line-height: 1.6; }
.sy-rep-copy .sy-kicker { color: var(--sy-accent); }
.sy-rules { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sy-rules li { padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; color: var(--sy-ink-2); }
.sy-rules b { color: var(--sy-ink); margin-right: 4px; }
.sy-link { color: var(--sy-accent); font-weight: 600; text-underline-offset: 3px; }
.sy-rep { background: #fbfaf8; color: #1d1b19; border-radius: 18px; padding: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); display: grid; gap: 14px; }
.sy-rep__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sy-rep__head small { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: #6b665f; font-weight: 600; }
.sy-rep__head b { font-size: 1.0625rem; }
.sy-rep__sum { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: #f6e3df; color: #8f2f22; }
.sy-rep__sum.is-ok { background: #e1f1e6; color: #22603a; }
.sy-rep__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sy-rep__list li { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #ece9e4; transition: background .35s, border-color .35s; }
.sy-rep__list b { font-size: .9375rem; }
.sy-rep__list p { margin: 2px 0 4px; font-size: .8125rem; color: #514c46; }
.sy-rep__list small { font-size: .6875rem; color: #6b665f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sy-pill { flex: none; font-size: .625rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
[data-s="crit"] .sy-pill { background: #f6e3df; color: #8f2f22; }
[data-s="check"] .sy-pill { background: #f5ecd7; color: #6f5312; }
[data-s="ok"] .sy-pill { background: #e1f1e6; color: #22603a; }
.sy-rep__list li.is-fixed { background: #f3faf5; border-color: #cfe7d7; }
.sy-run--wide { width: 100%; }
.sy-rep .sy-fine { color: #6b665f; }
.sy-rep .sy-run { background: #1d1b19; color: #fff; }
@media (max-width: 860px) { .sy-rep-grid { grid-template-columns: 1fr; } }

/* ===================== Menschen ===================== */
.sy-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 14px; }
.sy-person--team-buero { grid-row: span 2; }
.sy-person--fotostudio { grid-row: span 2; }
.sy-person figure { position: relative; margin: 0; height: 100%; border-radius: 18px; overflow: hidden; background: var(--sy-paper-soft); }
.sy-person img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.72) contrast(1.02); transition: transform .8s var(--sy-ease, ease), filter .6s; }
.sy-person figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--sy-photo-tint) 100%); }
.sy-person figure:hover img { transform: scale(1.035); filter: saturate(.9); }
.sy-person figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; display: grid; gap: 4px; }
.sy-person figcaption b { font-family: var(--sy-head); font-size: 1.125rem; }
.sy-person figcaption span { font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .88); }
@media (max-width: 960px) {
  .sy-people { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .sy-person--team-buero { grid-row: auto; grid-column: span 2; }
  .sy-person--fotostudio { grid-row: span 2; }
}
@media (max-width: 560px) {
  .sy-people { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .sy-person--team-buero, .sy-person--fotostudio { grid-column: auto; grid-row: auto; }
}

/* ===================== Kapitel-Navigation ===================== */
.sy-chapters { position: sticky; top: calc(var(--sy-header, 72px) + 10px); z-index: 40; display: flex; justify-content: center; align-items: flex-start; pointer-events: none; height: 0; }
.sy-chapters > div { pointer-events: auto; display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: var(--sy-chap-bg); border: 1px solid var(--sy-chap-line); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35); max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sy-chapters.is-on > div { opacity: 1; transform: none; }
.sy-chapters a { flex: none; padding: 7px 13px; border-radius: 99px; font-size: .8125rem; font-weight: 600; color: var(--sy-chap-ink); text-decoration: none; white-space: nowrap; }
.sy-chapters a[aria-current="true"] { background: var(--sy-chap-active); color: var(--sy-chap-active-ink); }
.sy-chapters a:focus-visible { outline: 2px solid var(--sy-accent-strong); outline-offset: 1px; }

@media (prefers-reduced-motion: reduce) {
  .sy-res::after, .sx-scan { animation: none !important; }
  .sy-person img, .sy-res, .sx-drop, .sx-lang i { transition: none !important; }
}

/* Mit Kapitel-Navigation rückt die Bühne ein Stück tiefer */
.sy-chapters ~ .sy-scene .sy-stage { padding-top: calc(var(--sy-header, 72px) + 62px); }

/* ===================== Hero: kippt beim Scrollen in die Fläche ===================== */
.sy-hero { position: relative; background: var(--sy-hero-bg); }
.sy-hero.is-live { height: 190vh; }
.sy-hero__stage { position: relative; padding: calc(var(--sy-header, 72px) + 56px) 24px 48px; perspective: 1800px; overflow: hidden; }
.sy-hero.is-live .sy-hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-bottom: 0; }
.sy-hero__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 40% at 50% 75%, var(--sy-accent-soft), transparent 70%); pointer-events: none; }
.sy-hero__copy { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; opacity: var(--co, 1); transform: translateY(var(--cy, 0px)); }
.sy-hero__h1 { font-family: var(--sy-head); font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; color: var(--sy-text); font-weight: 700; }
.sy-hero__h1 span { color: var(--sy-soft-head); }
.sy-hero__lead { max-width: 640px; margin: 0 auto; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--sy-text-2); }
.sy-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.sy-hero__proof { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .8125rem; color: var(--sy-text-2); }
.sy-hero__proof li::before { content: "✓"; margin-right: 6px; color: var(--sy-accent-text); font-weight: 700; }
.sy-hero__dev { position: relative; z-index: 1; width: min(1100px, 100%); margin: 40px auto 0; transform-origin: 50% 0; transform: translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)) scale(var(--sc, 1)); }
.sy-hero.is-live .sy-hero__dev { position: absolute; left: 0; right: 0; top: 0; margin-top: 0; }
.sy-dev { width: 1100px; transform: scale(var(--k, 1)); transform-origin: 0 0; background: #fbfaf8; color: #1d1b19; border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .55), 0 0 0 1px var(--sy-tile-line); }
.sy-hero__dev { height: calc(680px * var(--k, 1)); }
@media (max-width: 760px) {
  .sy-hero__stage { padding: calc(var(--sy-header, 64px) + 32px) 16px 32px; }
  .sy-hero__proof { font-size: .75rem; }
}

/* ===================== Kennenlernen ===================== */
.sy-know-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.sy-know-head h2 { font-family: var(--sy-head); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.04; letter-spacing: -.03em; margin: 0; color: var(--sy-text); }
.sy-know-head h2 span { color: var(--sy-soft-head); }
.sy-know-head p { margin: 0; color: var(--sy-text-2); font-size: 1.0625rem; line-height: 1.55; }
.sy-know { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sy-kc { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; border-radius: 20px; background: var(--sy-tile-solid); border: 1px solid var(--sy-tile-line); min-height: 380px; }
.sy-kc--dark { background: var(--sy-kc-dark, var(--sy-night)); border-color: transparent; --sy-text: var(--sy-ink-d); --sy-text-2: var(--sy-ink-2-d); }
.sy-kc__k { font-size: .75rem; font-weight: 700; color: var(--sy-accent-text); }
.sy-kc--dark .sy-kc__k { color: var(--sy-accent); }
.sy-kc h3 { margin: 0; font-family: var(--sy-head); font-size: 1.375rem; line-height: 1.15; letter-spacing: -.015em; color: var(--sy-text); }
.sy-kc p { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--sy-text-2); }
.sy-kc__vis { margin-top: auto; padding-top: 18px; }
.sk-cap { margin: 8px 0 0 !important; font-size: .6875rem !important; opacity: .8; }
.sk-flow { display: flex; align-items: center; gap: 8px; }
.sk-flow span, .sk-box { padding: 10px 12px; border-radius: 10px; background: var(--sy-paper-soft); font-size: .8125rem; font-weight: 600; color: var(--sy-text); }
.sk-flow .is-core { background: var(--sy-btn); color: var(--sy-btn-ink); }
.sk-flow i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--sy-accent-strong) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: sk-flow 1.2s linear infinite; }
@keyframes sk-flow { to { background-position: 22px 0; } }
.sk-rights { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sk-rights li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .8125rem; color: var(--sy-text); }
.sk-rights b { font-weight: 600; color: var(--sy-accent); font-size: .75rem; }
.sk-net { display: grid; gap: 8px; }
.sk-box { display: grid; gap: 2px; border: 1.5px solid var(--sy-accent-strong); background: transparent; }
.sk-box em { font-style: normal; font-weight: 500; font-size: .75rem; color: var(--sy-text-2); }
.sk-box--soft { border-style: dashed; border-color: var(--sy-tile-line); }
.sk-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sk-log li { display: grid; grid-template-columns: 10px 1fr; gap: 0 10px; padding: 6px 0; font-size: .8125rem; color: var(--sy-text); }
.sk-log i { grid-row: span 2; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--sy-accent-strong); box-shadow: 0 0 0 3px var(--sy-accent-soft); }
.sk-log small { font-size: .6875rem; color: var(--sy-text-2); }
@media (max-width: 1080px) { .sy-know { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sy-kc { min-height: 0; } }
@media (max-width: 760px) { .sy-know-head { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 560px) { .sy-know { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sk-flow i { animation: none; } }

/* Überschriften nicht automatisch trennen */
.sy-hero__h1, .sy-know-head h2, .sy-cap h2, .sy-cap h3, .sy-head2 h2, .sy-rep-copy h2, .sy-kc h3 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
.sy-hero__h1 span { display: inline-block; }

/* Portal-Hero mit Bild im Hintergrund: das Dashboard steigt beim Scrollen davor auf */
.sy-hero.has-bg .sy-hero__stage::before { display: none; }
.sy-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform: translateY(var(--by, 0px)) scale(var(--bs, 1.08)); transform-origin: 60% 40%; z-index: 0; }
.sy-hero__veil { position: absolute; inset: 0; z-index: 0; opacity: var(--vo, 1); background: linear-gradient(180deg, var(--sy-hero-bg) 0%, color-mix(in srgb, var(--sy-hero-bg) 92%, transparent) 50%, color-mix(in srgb, var(--sy-hero-bg) 70%, transparent) 64%, transparent 88%); }
.sy-hero.has-bg .sy-hero__copy, .sy-hero.has-bg .sy-hero__dev { z-index: 1; }
.sy-hero:not(.is-live) .sy-hero__bg { transform: none; }
@media (max-width: 760px) { .sy-hero__bg { object-position: 72% 50%; } }

/* ===================== Der Weg: klebende Schritte + wechselndes App-Fenster ===================== */
.sy-steps { position: relative; background: var(--sy-hero-bg); color: var(--sy-text); }
.sy-steps.is-live { height: 360vh; }
.sy-steps__stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; width: min(var(--sy-maxw, 1200px), 100% - 48px); margin: 0 auto; padding: clamp(64px, 9vw, 120px) 0; }
.sy-steps.is-live .sy-steps__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--sy-header, 72px) + 24px) 0 24px; }
.sy-steps__copy h2 { font-family: var(--sy-head); font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 12px; color: var(--sy-text); }
.sy-steps__sub { margin: 0 0 28px; color: var(--sy-text-2); font-size: 1rem; line-height: 1.55; max-width: 460px; }
.sy-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sy-steps__list li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0 14px; border-top: 1px solid var(--sy-tile-line); opacity: calc(.42 + .58 * var(--a, 1)); transition: opacity .3s; }
.sy-steps__n { font: 600 .8125rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--sy-accent-text); }
.sy-steps__list h3 { margin: 0; font-family: var(--sy-head); font-size: 1.25rem; letter-spacing: -.015em; color: var(--sy-text); }
.sy-steps__list p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--sy-text-2); max-height: calc(var(--a, 1) * 5em); overflow: hidden; }
.sy-steps__bar { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--sy-accent-strong); transform-origin: left; transform: scaleX(var(--b, 0)); }
.sy-steps__win { position: relative; border-radius: 18px; overflow: hidden; background: #fbfaf8; color: #1d1b19; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .45), 0 0 0 1px var(--sy-tile-line); }
.sy-steps__panes { position: relative; min-height: 380px; }
.sw-pane { position: absolute; inset: 0; padding: 26px; opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 14px)); visibility: var(--vis, hidden); }
.sy-steps:not(.is-live) .sw-pane:first-child { --o: 1; --vis: visible; }
.sw-h { margin: 0 0 16px; font-weight: 700; font-size: 15px; }
.sw-aud { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-aud span { display: grid; gap: 3px; padding: 14px; border-radius: 12px; border: 1px solid #e6e2dc; background: #fff; }
.sw-aud span.is-on { border-color: var(--sy-accent-strong); box-shadow: 0 0 0 3px var(--sy-accent-soft); }
.sw-aud i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c9c3bb; }
.sw-aud .is-on i { border: 5px solid var(--sy-accent-strong); }
.sw-aud b { font-size: 13px; }
.sw-aud small { font-size: 11px; color: #6b665f; }
.sw-mods { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-mods span { padding: 8px 12px; border-radius: 99px; border: 1px dashed #cfc9c1; font-size: 12px; font-weight: 600; color: #6b665f; }
.sw-mods span.is-on { border-style: solid; border-color: transparent; background: #1d1b19; color: #fff; }
.sw-looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.sw-looks span { display: grid; gap: 6px; padding: 10px; border-radius: 12px; border: 1px solid #e6e2dc; font-size: 12px; font-weight: 600; }
.sw-looks span.is-on { border-color: var(--sy-accent-strong); }
.sw-looks i { height: 54px; border-radius: 8px; }
.sw-looks .a { background: linear-gradient(135deg, #e9e3da, #cbbfae); }
.sw-looks .b { background: linear-gradient(135deg, #e8ebe8, #c9d2cc); }
.sw-looks .c { background: linear-gradient(135deg, #2b2620, #4a4036); }
.sw-net { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 8px; }
.sw-box { display: grid; gap: 3px; padding: 18px 16px; border-radius: 14px; border: 1.5px solid var(--sy-accent-strong); background: #fff; }
.sw-box b { font-size: 14px; }
.sw-box small { font-size: 11px; color: #6b665f; }
.sw-box--core { background: #1d1b19; border-color: #1d1b19; color: #fff; }
.sw-box--core small { color: #c9bfb2; }
.sw-link { position: relative; display: grid; justify-items: center; gap: 6px; }
.sw-link i { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--sy-accent-strong) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: sw-flow 1s linear infinite; }
.sw-link em { font-style: normal; font-size: 10px; font-weight: 600; color: #6b665f; }
@keyframes sw-flow { to { background-position: 28px 0; } }
.sw-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.sw-checks li { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.sw-checks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e1f1e6; color: #22603a; font-size: 11px; font-weight: 800; }
.sw-portals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-portals span { display: grid; gap: 4px; padding: 16px; border-radius: 12px; border: 1px solid #e6e2dc; background: #fff; min-height: 84px; align-content: end; }
.sw-portals b { font-size: 14px; }
.sw-portals small { font-size: 11px; font-weight: 600; color: #22603a; }
.sw-portals .is-new { border-style: dashed; background: transparent; }
.sw-portals .is-new small { color: #6b665f; font-size: 13px; }
.sw-foot { margin: 16px 0 0; font-size: 12px; color: #6b665f; }
@media (max-width: 900px) {
  .sy-steps__stage { grid-template-columns: 1fr; gap: 20px; }
  .sy-steps.is-live .sy-steps__stage { align-content: start; }
  .sy-steps.is-live .sy-steps__list li:not(.is-cur) { display: none; }
  .sy-steps__sub { display: none; }
  .sy-steps__panes { min-height: 330px; }
  .sw-pane { padding: 18px; }
  .sw-net { grid-template-columns: 1fr; }
  .sw-link i { width: 2px; height: 28px; background: var(--sy-accent-strong); animation: none; }
}
@media (prefers-reduced-motion: reduce) { .sw-link i { animation: none; } }
.sy-steps__win .xs-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #efece7; border-bottom: 1px solid #e4e0da; }
.sy-steps__win .xs-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d1ca; }
.sy-steps__win .xs-bar span { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 11px; color: #6b665f; }

.sy-chapters ~ .sy-steps.is-live .sy-steps__stage { padding-top: calc(var(--sy-header, 72px) + 76px); }

/* ===== Simulation „Kettenreaktion" (sechs Akte, gleiche Datei auf ASIM und hoerl) ===== */
.sm { --sm-bg: #14110e; --sm-bg-2: #1d1915; --sm-ink: #f3efe9; --sm-ink-2: #b9b0a5; --sm-ink-3: #8f8579; --sm-line: rgba(255, 255, 255, .1); --sm-acc: #d9bf9a; --sm-acc-2: #b8976f; --sm-paper: #f6f2ec; --sm-ok: #8fd3ad;
  position: relative; height: 760vh; padding: 0 !important; background: var(--sm-bg); color: var(--sm-ink); }
.sm[data-brand="hoerl"] { --sm-bg: #0f2a1f; --sm-bg-2: #163828; --sm-ink: #eef6f0; --sm-ink-2: #b3ccbd; --sm-ink-3: #86a493; --sm-line: rgba(255, 255, 255, .12); --sm-acc: #c8f169; --sm-acc-2: #a8d5b5; --sm-paper: #f7faf7; --sm-ok: #c8f169; }
.sm__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(300px, 34%) 1fr; gap: clamp(24px, 3vw, 56px); padding: calc(var(--sy-header, 72px) + 28px) clamp(20px, 3vw, 48px) 44px; max-width: 1600px; margin: 0 auto;
  background: radial-gradient(60% 50% at 70% 40%, color-mix(in srgb, var(--sm-acc) 10%, transparent), transparent 70%); }
.sm__kick { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sm-acc); }
.sm__title { margin: 0 0 22px; font-family: var(--sy-head); font-weight: 700; font-size: clamp(1.9rem, 1.1rem + 2vw, 3rem); line-height: 1.04; letter-spacing: -.035em; color: var(--sm-ink); }
.sm__title span { color: var(--sm-acc); }
.sm__acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sm__acts li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--sm-line); opacity: .45; transition: opacity .35s; }
.sm__acts li.is-on { opacity: 1; }
.sm__n { font: 600 .75rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--sm-ink-3); }
.sm__acts li.is-on .sm__n { color: var(--sm-acc); }
.sm__acts b { font-size: .9375rem; color: var(--sm-ink); }
.sm__acts h3, .sm__acts p, .sm__acts small { margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s, opacity .35s, margin .4s; }
.sm__acts h3 { font-size: clamp(1.15rem, .9rem + .6vw, 1.45rem); line-height: 1.2; letter-spacing: -.02em; color: var(--sm-ink); }
.sm__acts p { font-size: .9375rem; line-height: 1.55; color: var(--sm-ink-2); }
.sm__acts small { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--sm-acc); }
.sm__acts li.is-on h3 { max-height: 90px; opacity: 1; margin-top: 4px; }
.sm__acts li.is-on p { max-height: 160px; opacity: 1; margin-top: 6px; }
.sm__acts li.is-on small { max-height: 30px; opacity: 1; margin-top: 8px; }
.sm__canvas { position: relative; min-height: 0; }
.sm__ui { position: absolute; left: 50%; top: 50%; width: 900px; height: 600px; transform: translate(-50%, -50%) scale(var(--sc, 1)); font-size: 14px; }
.sm__ui img { display: block; object-fit: cover; }
.sm__fine { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: .75rem; color: var(--sm-ink-2); pointer-events: none; }
.sm__hud { position: absolute; right: 0; top: -52px; z-index: 5; display: grid; grid-template-columns: auto auto; gap: 4px 12px; align-items: baseline; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--sm-line); min-width: 170px; }
.sm__hud span { font-size: 12px; color: var(--sm-ink-2); }
.sm__hud b { justify-self: end; font-size: 18px; }
.sm__hud i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--sm-line); overflow: hidden; }
.sm__hud em { display: block; height: 100%; background: linear-gradient(90deg, var(--sm-acc-2), var(--sm-acc)); transform-origin: left; transform: scaleX(var(--m, 0)); transition: transform .4s; }
.sm-act { --t: 0; --v: 0; position: absolute; inset: 0; opacity: var(--v); visibility: hidden; transform: translateY(calc((1 - var(--v)) * 20px)); }
.sm-act.is-on { visibility: visible; }
.sm-cur { position: absolute; z-index: 6; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); pointer-events: none; }
.sm-lab { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--sm-acc); }
.o, .n { transition: none; }
/* Knoten ATAMYA */
.sm-node { position: absolute; left: 0; top: 262px; width: 190px; padding: 14px 16px; border-radius: 14px; background: var(--sm-bg-2); border: 1px solid color-mix(in srgb, var(--sm-acc) 45%, transparent); display: grid; gap: 2px; box-shadow: 0 0 40px -12px color-mix(in srgb, var(--sm-acc) 50%, transparent); }
.sm-node b { font-size: 16px; }
.sm-node small { font-size: 12px; color: var(--sm-ink-2); }
.sm-node__dot { position: absolute; right: 12px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--sm-ok); box-shadow: 0 0 0 0 var(--sm-ok); animation: smPing 1.8s infinite; }
@keyframes smPing { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Akt 0: Produktakte */
.sm-rec { position: absolute; left: 100px; right: 100px; top: 60px; padding: 20px; border-radius: 20px; background: var(--sm-paper); color: #1d1915; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); --pr: clamp(0, (var(--t) - .2) * 12, 1); --mo: clamp(0, (var(--t) - .34) * 9, 1); --s2: clamp(0, (var(--t) - .5) * 14, 1); --s3: clamp(0, (var(--t) - .66) * 14, 1); }
.sm-rec__k { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5f564c; }
.sm-rec__st { display: grid; font-style: normal; letter-spacing: 0; text-transform: none; }
.sm-rec__st s { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; text-decoration: none; font-size: 12.5px; }
.sm-rec__st s:nth-child(1) { background: #ece6dc; color: #6b6158; opacity: calc(1 - var(--s2)); }
.sm-rec__st s:nth-child(2) { background: #f6ead3; color: #8a5a1c; opacity: calc(var(--s2) * (1 - var(--s3))); }
.sm-rec__st s:nth-child(3) { background: #e3eee6; color: #2f5a43; opacity: var(--s3); }
.sm-rec__in { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.sm-rec__img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #ddd6cc; }
.sm-rec__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-rec__img img.old { filter: grayscale(1) contrast(.85) brightness(1.08); }
.sm-rec__img img.new { clip-path: inset(0 calc((1 - var(--mo)) * 100%) 0 0); }
.sm-rec__img small { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: rgba(0, 0, 0, .6); color: #fff; }
.sm-rec__img small.o { opacity: calc(1 - var(--mo)); } .sm-rec__img small.n { opacity: var(--mo); }
.sm-rec dl { margin: 0; }
.sm-rec dl > div { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(29, 25, 21, .08); font-size: 16px; }
.sm-rec dt { color: #6b6158; }
.sm-rec dd { position: relative; display: grid; margin: 0; font-weight: 700; }
.sm-rec dd > span { grid-area: 1 / 1; justify-self: end; white-space: nowrap; }
.sm-rec .is-price .o { opacity: calc(1 - var(--pr)); } .sm-rec .is-price .n { opacity: var(--pr); }
.sm-rec .is-motif .o { opacity: calc(1 - var(--mo)); } .sm-rec .is-motif .n { opacity: var(--mo); }
.sm-rec .is-four .o { opacity: calc(1 - var(--s3)); } .sm-rec .is-four .n { opacity: var(--s3); display: inline-flex; align-items: center; gap: 5px; color: #2f5a43; }
.sm-rec .is-price { border-radius: 10px; background: rgba(217, 191, 154, calc(var(--pr) * (1 - clamp(0, (var(--t) - .5) * 6, 1)) * .35)); margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
.sm-act--0 .sm-cur { --m: clamp(0, (var(--t) - .04) / .14, 1); right: -4px; top: 34px; opacity: calc(var(--m) * (1 - clamp(0, (var(--t) - .32) * 10, 1))); transform: translate(calc((1 - var(--m)) * -180px), calc((1 - var(--m)) * 120px)); }
.sm-wave { position: absolute; inset: -10px; border-radius: 26px; border: 2px solid var(--sm-acc); opacity: calc(clamp(0, (var(--t) - .74) * 8, 1) * (1 - clamp(0, (var(--t) - .86) * 7, 1))); transform: scale(calc(1 + clamp(0, (var(--t) - .74) * 1.4, .4))); pointer-events: none; }
.sm-wave.w2 { opacity: calc(clamp(0, (var(--t) - .82) * 8, 1) * (1 - clamp(0, (var(--t) - .94) * 14, 1))); transform: scale(calc(1 + clamp(0, (var(--t) - .82) * 1.4, .3))); }

/* Akt 1: Verkaufen */
.sm-hub { position: absolute; left: 268px; top: 282px; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #15120f; background: linear-gradient(135deg, #fbf3e6, var(--sm-acc)); box-shadow: 0 0 30px -6px var(--sm-acc); opacity: clamp(0, (var(--t) - .08) * 10, 1); }
.sm[data-brand="hoerl"] .sm-hub { background: var(--sm-acc); }
.sm-wire { position: absolute; inset: 0; width: 900px; height: 600px; overflow: visible; }
.sm-wire path { fill: none; stroke: var(--sm-acc); stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: calc(300 - clamp(0, (var(--t) - .04) * 3.5, 1) * 300); opacity: .8; }
.sm-shop { --a: clamp(0, (var(--t) - .12) * 8, 1); --f: clamp(0, (var(--t) - .32) * 10, 1); position: absolute; left: 440px; right: 0; top: 40px; height: 300px; border-radius: 16px; overflow: hidden; background: #fff; color: #1d1915; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); opacity: var(--a); transform: translateX(calc((1 - var(--a)) * 30px)); }
.sm-bar { display: flex; align-items: center; gap: 6px; margin: 0; padding: 9px 12px; font-size: 11.5px; background: #f2eee8; color: #6b6158; }
.sm-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6cfc5; }
.sm-bar span { margin-left: 8px; }
.sm-shop__in { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 18px; }
.sm-shop__in img { width: 190px; height: 190px; border-radius: 10px; }
.sm-shop small { font-size: 12px; color: #7a6f63; }
.sm-shop b { display: block; font-size: 24px; letter-spacing: -.02em; margin: 2px 0 10px; }
.sm-price { display: grid; margin: 0 0 14px; font-size: 26px; font-weight: 700; }
.sm-price span { grid-area: 1 / 1; }
.sm-price .o { opacity: calc(1 - var(--f)); transform: translateY(calc(var(--f) * -10px)); }
.sm-price .n { opacity: var(--f); transform: translateY(calc((1 - var(--f)) * 10px)); color: #1d1915; }
.sm-cta { display: inline-block; padding: 9px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; background: #1f1b17; color: #fff; }
.sm-sync { display: flex; align-items: center; gap: 5px; margin: 12px 0 0; font-size: 12.5px; color: #2f5a43; opacity: clamp(0, (var(--t) - .45) * 10, 1); }
.sm-mkt { --a: clamp(0, (var(--t) - .45) * 8, 1); --f: clamp(0, (var(--t) - .64) * 10, 1); position: absolute; left: 440px; right: 0; top: 400px; display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--sm-paper); color: #1d1915; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); opacity: var(--a); transform: translateX(calc((1 - var(--a)) * 30px)); }
.sm-mkt img { width: 90px; height: 90px; border-radius: 8px; }
.sm-mkt small { font-size: 12px; color: #7a6f63; }
.sm-mkt b { display: block; font-size: 16px; margin-top: 2px; }
.sm-price--s { margin: 0; font-size: 22px; }
.sm-soon { position: absolute; right: 12px; top: -11px; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; background: #f6ead3; color: #8a5a1c; }

/* Akt 2: Medien */
.sm-studio { --s: clamp(0, (var(--t) - .04) / .26, 1); position: absolute; left: 230px; top: 20px; width: 280px; }
.sm-cut { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: repeating-conic-gradient(#e7e1d8 0 25%, #f6f2ec 0 50%) 0 0 / 18px 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sm-cut img { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(48% 62% at 50% 52%, #000 calc(55% + (1 - var(--s)) * 100%), transparent calc(70% + (1 - var(--s)) * 100%)); mask-image: radial-gradient(48% 62% at 50% 52%, #000 calc(55% + (1 - var(--s)) * 100%), transparent calc(70% + (1 - var(--s)) * 100%)); }
.sm-scan { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 100%); width: 2px; background: var(--sm-acc); box-shadow: 0 0 16px 2px var(--sm-acc); opacity: calc(min(1, var(--s) * 20) * (1 - clamp(0, (var(--s) - .96) * 25, 1))); }
.sm-studio .sm-lab { margin-top: 10px; }
.sm-fmts { position: absolute; left: 230px; top: 352px; width: 280px; margin: 0; padding: 0; list-style: none; display: flex; gap: 10px; align-items: flex-end; }
.sm-fmts li { --a: clamp(0, (var(--t) - .3 - var(--i) * .06) * 10, 1); position: relative; border-radius: 8px; overflow: hidden; background: #f6f2ec; opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 20px)); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.sm-fmts .f0 { width: 80px; height: 80px; } .sm-fmts .f1 { width: 88px; height: 66px; } .sm-fmts .f2 { width: 96px; height: 54px; }
.sm-fmts img { width: 100%; height: 100%; }
.sm-fmts small { position: absolute; left: 4px; top: 4px; padding: 1px 6px; border-radius: 99px; font-size: 10px; font-weight: 600; background: rgba(0, 0, 0, .6); color: #fff; }
.sm-indd { --a: clamp(0, (var(--t) - .42) * 8, 1); position: absolute; left: 560px; right: 0; top: 40px; opacity: var(--a); transform: translateX(calc((1 - var(--a)) * 30px)); }
.sm-indd__bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 12px 12px 0 0; background: #2a2622; font-size: 12px; color: #d9d2c8; }
.sm-indd__bar b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #49021f; color: #ff3366; font-size: 11px; }
.sm-indd__page { position: relative; height: 380px; padding: 22px; border-radius: 0 0 12px 12px; background: #fff; display: grid; gap: 10px; align-content: start; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sm-indd__page > i { display: block; height: 10px; border-radius: 3px; background: #e9e4dc; }
.sm-indd__page .t1 { width: 60%; height: 18px; background: #d8d1c6; } .sm-indd__page .t2 { width: 85%; } .sm-indd__page .t3 { width: 92%; } .sm-indd__page .t4 { width: 70%; }
.sm-frame { position: relative; height: 180px; border-radius: 4px; border: 1.5px dashed #b8b0a4; background: linear-gradient(45deg, transparent 49.5%, #d6cfc5 49.5% 50.5%, transparent 50.5%), linear-gradient(-45deg, transparent 49.5%, #d6cfc5 49.5% 50.5%, transparent 50.5%); overflow: hidden; }
.sm-frame img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: clamp(0, (var(--t) - .84) * 14, 1); }
.sm-indd .sm-lab { margin-top: 10px; }
.sm-drag { --m: clamp(0, (var(--t) - .58) / .26, 1); position: absolute; left: 230px; top: 352px; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .9); opacity: calc(clamp(0, (var(--t) - .56) * 20, 1) * (1 - clamp(0, (var(--t) - .86) * 20, 1))); transform: translate(calc(var(--m) * 372px), calc(var(--m) * -232px)) scale(calc(1 + var(--m) * .3)); }
.sm-drag img { width: 100%; height: 100%; }
.sm-act--2 .sm-cur { --m: clamp(0, (var(--t) - .58) / .26, 1); left: 290px; top: 400px; opacity: calc(clamp(0, (var(--t) - .54) * 20, 1) * (1 - clamp(0, (var(--t) - .9) * 20, 1))); transform: translate(calc(var(--m) * 372px), calc(var(--m) * -232px)); }

/* Akt 3: Dokumente */
.sm-pdf { --a: clamp(0, (var(--t) - .04) * 8, 1); position: absolute; left: 230px; top: 10px; width: 290px; height: 410px; padding: 22px; border-radius: 6px; background: #fff; color: #1d1915; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 20px)); }
.sm-pdf__k { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8a7f73; }
.sm-pdf h4 { margin: 6px 0 12px; font-size: 26px; letter-spacing: -.03em; }
.sm-pdf__img { height: 150px; border-radius: 6px; overflow: hidden; }
.sm-pdf__img img { width: 100%; height: 100%; }
.sm-pdf dl { margin: 14px 0 0; }
.sm-pdf dl > div { --r: clamp(0, (var(--t) - .14 - var(--i) * .06) * 12, 1); display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #eee8e0; font-size: 13px; opacity: var(--r); }
.sm-pdf dt { color: #7a6f63; } .sm-pdf dd { margin: 0; font-weight: 700; }
.sm-ua { position: absolute; left: 230px; top: 440px; width: 290px; margin: 0; padding: 12px 14px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--sm-line); }
.sm-ua li { --k: clamp(0, (var(--t) - .38 - var(--i) * .05) * 14, 1); display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--sm-ink-2); opacity: calc(.25 + var(--k) * .75); }
.sm-ua li svg { color: var(--sm-ok); opacity: var(--k); }
.sm-ua li.h { grid-column: 1 / -1; font-weight: 700; color: var(--sm-acc); opacity: 1; }
.sm-cat { --a: clamp(0, (var(--t) - .55) * 8, 1); position: absolute; left: 560px; right: 0; top: 30px; opacity: var(--a); transform: translateX(calc((1 - var(--a)) * 30px)); }
.sm-cat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; border-radius: 6px; background: var(--sm-paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sm-cat__grid > div { display: grid; gap: 4px; color: #1d1915; }
.sm-cat__grid img { width: 100%; aspect-ratio: 1; border-radius: 4px; filter: saturate(.8); }
.sm-cat__grid b { font-size: 13px; }
.sm-cat__grid span { font-size: 12px; color: #6b6158; }
.sm-cat__grid .is-hot { --h: clamp(0, (var(--t) - .74) * 10, 1); border-radius: 6px; box-shadow: 0 0 0 calc(var(--h) * 3px) var(--sm-acc); }
.sm-cat__grid .is-hot img { filter: none; }
.sm-cat__grid .is-hot span { font-weight: 700; color: #1d1915; }
.sm-cat__grid s { color: #a59a8d; font-weight: 400; margin-right: 4px; }

/* Akt 4: Sprachen & Wissen */
.sm-tr { position: absolute; left: 230px; top: 30px; width: 300px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--sm-line); }
.sm-tr__row { --f: clamp(0, (var(--t) - .04 - var(--i) * .1) * 6, 1); display: grid; grid-template-columns: 30px 1fr; gap: 6px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--sm-line); }
.sm-tr__row b { font-size: 13px; color: var(--sm-acc); }
.sm-tr__row span { height: 5px; border-radius: 3px; background: var(--sm-line); overflow: hidden; }
.sm-tr__row span i { display: block; height: 100%; width: calc(var(--f) * 100%); background: linear-gradient(90deg, var(--sm-acc-2), var(--sm-acc)); }
.sm-tr__row p { grid-column: 2; margin: 0; font-size: 15px; font-weight: 600; color: var(--sm-ink); opacity: var(--f); }
.sm-tr__row:first-of-type { --f: 1; }
.sm-atlas { position: absolute; left: 560px; right: 0; top: 30px; padding: 18px; border-radius: 16px; background: var(--sm-paper); color: #1d1915; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sm-atlas p:not(.sm-lab) { --a: clamp(0, (var(--t) - .44 - var(--i) * .08) * 12, 1); display: grid; gap: 2px; margin: 0; padding: 10px 0; border-top: 1px solid #ebe5dc; opacity: var(--a); transform: translateX(calc((1 - var(--a)) * 10px)); }
.sm-atlas code { font: 600 11.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9a6f43; }
.sm[data-brand="hoerl"] .sm-atlas code { color: #2e7050; }
.sm-atlas span { font-size: 14px; }
.sm-atlas .sm-lab { color: #7a6f63; }

/* Akt 5: Ergebnis */
.sm-grid { position: absolute; left: 0; right: 0; top: 70px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sm-grid li { --a: clamp(0, (var(--t) - .04 - var(--i) * .05) * 10, 1); position: relative; display: grid; gap: 4px; padding: 18px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid color-mix(in srgb, var(--sm-acc) calc(var(--a) * 40%), var(--sm-line)); opacity: calc(.2 + var(--a) * .8); transform: translateY(calc((1 - var(--a)) * 16px)); }
.sm-grid a { font-size: 12px; font-weight: 600; color: var(--sm-acc); text-decoration: none; pointer-events: auto; }
.sm-grid b { font-size: 17px; letter-spacing: -.01em; }
.sm-grid li > span { position: absolute; right: 12px; top: 14px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #15120f; background: var(--sm-ok); opacity: var(--a); }
.sm-sum { --a: clamp(0, (var(--t) - .45) * 6, 1); position: absolute; left: 50%; top: 340px; transform: translateX(-50%) scale(calc(.9 + var(--a) * .1)); display: grid; justify-items: center; gap: 4px; text-align: center; opacity: var(--a); }
.sm-sum > b { font-size: 84px; line-height: 1; letter-spacing: -.05em; background: linear-gradient(100deg, #fbf3e6, var(--sm-acc) 45%, var(--sm-acc-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sm-sum > span { font-size: 15px; color: var(--sm-ink-2); }
.sm-sum em { margin-top: 10px; padding: 6px 14px; border-radius: 99px; font-style: normal; font-size: 13px; background: rgba(255, 255, 255, .06); color: var(--sm-ink-2); }
.sm-sum em b { color: var(--sm-ok); }

@media (max-width: 900px) {
  .sm { height: 700vh; }
  .sm__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 6px; padding: calc(var(--sy-header, 64px) + 14px) 16px 30px; }
  .sm__title { font-size: 1.5rem; margin-bottom: 8px; }
  .sm__kick { display: none; }
  .sm__acts li { display: none; padding: 6px 0; }
  .sm__acts li.is-on { display: grid; }
  .sm__acts h3 { font-size: 1.05rem; }
  .sm__acts p { font-size: .875rem; }
  /* schmale Bühne: ATAMYA-Knoten und Linien weg, Inhalte rücken nach links und werden größer */
  .sm__ui { top: 10px; width: 670px; transform-origin: 50% 0; transform: translate(-50%, 0) scale(var(--scm, var(--sc, 1))); }
  .sm-node, .sm-hub, .sm-wire { display: none; }
  .sm-act--1, .sm-act--2, .sm-act--3, .sm-act--4 { left: -225px; right: auto; width: 900px; }
  .sm-act--0 .sm-rec { left: 0; right: 0; }
  .sm-act--0 .sm-rec__in { grid-template-columns: 210px 1fr; }
  .sm-grid { grid-template-columns: repeat(2, 1fr); top: 20px; }
  .sm-sum { top: 400px; }
  .sm-sum > b { font-size: 64px; }
  .sm__hud { top: auto; bottom: -46px; right: auto; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 900px) and (max-height: 720px) { .sm__acts li.is-on p { display: none; } }
/* Ohne Bewegung: alle Akte im Endzustand untereinander */
.sm:not(.is-live) { height: auto; }
.sm:not(.is-live) .sm__stage { position: relative; height: auto; display: block; padding-bottom: 40px; }
.sm:not(.is-live) .sm__acts li { opacity: 1; }
.sm:not(.is-live) .sm__acts h3, .sm:not(.is-live) .sm__acts p, .sm:not(.is-live) .sm__acts small { max-height: none; opacity: 1; margin-top: 6px; }
.sm:not(.is-live) .sm__canvas { height: calc(600px * var(--sc, 1)); margin-top: 30px; }
.sm:not(.is-live) .sm-act { --t: 1; --v: 0; }
.sm:not(.is-live) .sm-act--5 { --v: 1; visibility: visible; }
.sm:not(.is-live) .sm-cur { display: none; }
.sm:not(.is-live) .sm__fine { position: relative; bottom: auto; padding-bottom: 24px; }
.sm-act:not(.is-on) .sm-node__dot { animation: none; }

/* ---------- Live-Demo-Leitstand (Portal-Hero): baut sich auf, danach arbeiten die Agents ---------- */
.sd { --sd-ink: #1b1916; --sd-ink-2: #5d574f; --sd-ink-3: #8a8379; --sd-line: #ebe7e1; --sd-card: #fff; --sd-bg: #f8f6f2; --sd-acc: var(--sy-dev-accent); --sd-ok: #1f7a46; --sd-ok-bg: #e3f2e8; --sd-warn: #7a5a12; --sd-warn-bg: #f6edd8; --sd-ag: #1b1916; background: var(--sd-bg); }
.sd .sy-chrome { position: relative; }
.sd-live { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #b42318; letter-spacing: .02em; }
.sd-live i { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); animation: sdPing 1.8s ease-out infinite; }
@keyframes sdPing { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .45); } 80%, 100% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); } }
.sd-app { display: grid; grid-template-columns: 196px 1fr; height: 640px; }
.sd-nav { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; background: #f1eee9; border-right: 1px solid var(--sd-line); font-size: 13px; color: var(--sd-ink-2); }
.sd-logo { display: flex; align-items: center; gap: 9px; margin: 0 6px 18px; font-size: 14px; color: var(--sd-ink); }
.sd-logo i { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--sy-night), #3a352f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.sd-nav > span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.sd-nav > span svg { opacity: .7; flex: none; }
.sd-nav > span.is-on { background: #fff; color: var(--sd-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .03); }
.sd-badge { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 99px; background: #e4dfd7; color: var(--sd-ink); font: 600 11px/18px var(--font, system-ui); font-style: normal; text-align: center; }
.sd-badge--ag { background: var(--sd-ag); color: #fff; }
.sd-nav__ag { color: var(--sd-ink) !important; font-weight: 600; }
.sd-conn { margin: auto 0 0; padding: 10px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: #2f6b47; }
.sd-conn i, .sd-agchip i, .sd-run i { width: 7px; height: 7px; border-radius: 50%; background: #2f9a5d; flex: none; }
.sd-main { padding: 18px 22px 20px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; min-height: 0; }
.sd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sd-head small { font-size: 11px; color: var(--sd-ink-3); font-weight: 600; letter-spacing: .02em; }
.sd-head p { margin: 2px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--sd-ink); }
.sd-agchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 99px; background: var(--sd-ag); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.sd-agchip i { background: #7ee2a0; animation: sdPulse 1.6s ease-in-out infinite; }
@keyframes sdPulse { 50% { opacity: .35; } }
.sd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sd-kpi { position: relative; padding: 13px 14px; border-radius: 12px; background: var(--sd-card); border: 1px solid var(--sd-line); display: grid; gap: 3px; min-height: 84px; overflow: hidden; }
.sd-kpi small { font-size: 11px; color: var(--sd-ink-3); font-weight: 600; }
.sd-kpi b { font-size: 26px; letter-spacing: -.025em; color: var(--sd-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.sd-kpi > span { font-size: 11px; color: var(--sd-ink-3); }
.sd-kpi.is-tick b { animation: sdTick .7s var(--sy-ease, ease); }
@keyframes sdTick { 30% { color: var(--sd-ok); transform: translateY(-2px); } }
.sd-spark { position: absolute; right: 12px; bottom: 12px; width: 46%; height: 30px; overflow: visible; }
.sd-spark__a { fill: color-mix(in srgb, var(--sd-acc) 18%, transparent); }
.sd-spark__l { fill: none; stroke: var(--sd-acc); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sd-meter { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: #efebe5; overflow: hidden; }
.sd-meter em { display: block; height: 100%; width: var(--m, 87.5%); border-radius: inherit; background: var(--sd-acc); transition: width .9s var(--sy-ease, ease); }
.sd-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; min-height: 0; }
.sd-card { background: var(--sd-card); border: 1px solid var(--sd-line); border-radius: 12px; padding: 12px 14px; min-height: 0; overflow: hidden; }
.sd-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--sd-ink); }
.sd-h > span { font-size: 11px; font-weight: 500; color: var(--sd-ink-3); display: inline-flex; align-items: center; gap: 6px; }
.sd-run i { animation: sdPulse 1.2s ease-in-out infinite; }
.sd-row { display: grid; grid-template-columns: 38px 1fr auto 46px; gap: 11px; align-items: center; padding: 8px 0; border-top: 1px solid #f2efea; font-size: 13px; }
.sd-row img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: #ebe8e3; }
.sd-row b { display: grid; font-weight: 600; color: var(--sd-ink); line-height: 1.25; }
.sd-row small { font-size: 11px; color: var(--sd-ink-3); font-weight: 400; }
.sd-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; white-space: nowrap; transition: background-color .4s, color .4s; }
.sd-pill.is-ok { background: var(--sd-ok-bg); color: var(--sd-ok); }
.sd-pill.is-warn { background: var(--sd-warn-bg); color: var(--sd-warn); }
.sd-pill.is-run { background: var(--sd-ag); color: #fff; }
.sd-pill.is-run::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: sdSpin .8s linear infinite; }
.sd-pill.is-appr { background: #e8eef9; color: #284a8a; }
@keyframes sdSpin { to { transform: rotate(360deg); } }
.sd-dots { display: flex; gap: 4px; justify-content: flex-end; }
.sd-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e2ddd5; transition: background-color .4s; }
.sd-dots[data-ch="2"] i:nth-child(-n+2), .sd-dots[data-ch="3"] i:nth-child(-n+3), .sd-dots[data-ch="4"] i { background: var(--sd-ok); }
.sd-feed { display: flex; flex-direction: column; background: linear-gradient(180deg, #fff, #fcfbf9); }
.sd-log { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.sd-ev { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 9px 10px; border-radius: 10px; background: #f7f5f1; border: 1px solid #efebe5; font-size: 12px; line-height: 1.35; animation: sdIn .55s var(--sy-ease, ease) both; }
.sd-ev:first-child { background: #fff; border-color: color-mix(in srgb, var(--sd-acc) 45%, #efebe5); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .25); }
.sd-ev b { display: block; font-size: 11px; color: var(--sd-ink); }
.sd-ev span { color: var(--sd-ink-2); }
.sd-ev time { font-size: 10px; color: var(--sd-ink-3); font-variant-numeric: tabular-nums; }
.sd-av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 700 11px/1 var(--font, system-ui); font-style: normal; color: #fff; background: linear-gradient(135deg, var(--sy-night), #4a443c); }
.sd-ev--human .sd-av { background: #fff; color: var(--sd-ink); box-shadow: inset 0 0 0 1.5px var(--sd-ink); }
.sd-ev:nth-child(n+5) { display: none; }
@keyframes sdIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.sd-chan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--sd-card); border: 1px solid var(--sd-line); }
.sd-chan div { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: baseline; font-size: 12px; color: var(--sd-ink-2); }
.sd-chan b { font-size: 13px; color: var(--sd-ink); font-variant-numeric: tabular-nums; }
.sd-chan i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(var(--sd-acc), var(--sd-acc)) left / var(--v) 100% no-repeat, #efebe5; transition: background-size .9s var(--sy-ease, ease); }
.sd-note { position: absolute; right: 14px; bottom: 8px; margin: 0; font-size: 10px; color: var(--sd-ink-3); }
.sd { position: relative; }
/* Aufbau: nur wenn das Skript läuft (is-pre), sonst sofort vollständig */
.sd.is-pre .sd-b { opacity: 0; transform: translateY(14px); }
.sd.is-pre .sd-row { opacity: 0; transform: translateX(-10px); }
.sd.is-pre .sd-spark__l { stroke-dashoffset: 1; }
.sd.is-pre .sd-spark__a { opacity: 0; }
.sd.is-pre .sd-chan i { background-size: 0 100%, auto; }
.sd.is-pre .sd-meter em { width: 0; }
.sd.is-pre.is-built .sd-b { opacity: 1; transform: none; transition: opacity .6s var(--sy-ease, ease), transform .8s var(--sy-ease, ease); transition-delay: calc(var(--b) * 110ms); }
.sd.is-pre.is-built .sd-row { opacity: 1; transform: none; transition: opacity .5s, transform .6s var(--sy-ease, ease); transition-delay: calc(800ms + var(--r) * 90ms); }
.sd.is-pre.is-built .sd-spark__l { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--sy-ease, ease) .5s; }
.sd.is-pre.is-built .sd-spark__a { opacity: 1; transition: opacity .8s 1.2s; }
.sd.is-pre.is-built .sd-chan i { background-size: var(--v) 100%, auto; transition: background-size 1.1s var(--sy-ease, ease) 1.1s; }
.sd.is-pre.is-built .sd-meter em { transition-delay: .7s; }
.is-lite .sd *, .is-lite .sd *::before { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sd *, .sd *::before { animation: none !important; transition: none !important; } }

/* generiert aus src/xp.css — nicht direkt bearbeiten */
:root, [data-theme="light"] { --xp-head: var(--font); --xp-body: var(--font); --xp-hw: 300; --xp-hw3: 400; --xp-maxw: var(--maxw); --xp-gutter: 24px; --xp-gutter-lg: 48px; --xp-ease: var(--ease); --xp-bg: var(--bg); --xp-mist: #f3eee8; --xp-ink: #1d1915; --xp-ink-2: #8a7f73; --xp-ink-3: #978b7c; --xp-text: #1d1915; --xp-text-2: #5a524a; --xp-kick: #6b5a48; --xp-line: rgba(74, 61, 48, .12); --xp-line-2: rgba(74, 61, 48, .22); --xp-card: #fff; --xp-sand: #ece3d7; --xp-dark: #1f1b17; --xp-on-dark: #f3efe9; --xp-on-dark-2: #b9b0a5; --xp-accent: #b8a089; --xp-btn: #1f1b17; --xp-btn-ink: #fff; --xp-ok: #047857; --xp-ok-soft: rgba(16, 185, 129, .12); --xp-ctrl: rgba(74, 61, 48, .07); --xp-ctrl-2: rgba(74, 61, 48, .16); --xp-a-surf: #f6f2ec; --xp-a-surf-2: #e9e1d6; --xp-sand-surf: rgba(255, 255, 255, .55); --xp-sand-surf-2: rgba(255, 255, 255, .9); --xp-cta-bg: linear-gradient(120deg, #efe7dc, #e3d6c5); --xp-page: #fff; }
[data-theme="dark"], .tone-dark { --xp-mist: #121110; --xp-ink: #f3efe9; --xp-ink-2: #8f8579; --xp-ink-3: #6e655b; --xp-text: #f3efe9; --xp-text-2: #b9b0a5; --xp-kick: var(--primary-light); --xp-line: rgba(255, 255, 255, .1); --xp-line-2: rgba(255, 255, 255, .18); --xp-card: #171513; --xp-sand: #221e19; --xp-dark: #2c251e; --xp-btn: var(--primary); --xp-btn-ink: #15120f; --xp-ok: #6fcf97; --xp-ok-soft: rgba(16, 185, 129, .16); --xp-ctrl: rgba(255, 255, 255, .07); --xp-ctrl-2: rgba(255, 255, 255, .16); --xp-a-surf: rgba(255, 255, 255, .05); --xp-a-surf-2: rgba(255, 255, 255, .1); --xp-sand-surf: rgba(255, 255, 255, .06); --xp-sand-surf-2: rgba(255, 255, 255, .12); --xp-cta-bg: linear-gradient(120deg, #1d1915, #2a231c); --xp-page: #f3efe9; --xp-ok-on-sand: #6fcf97; }
/* Experience-Bausteine (gemeinsam mit hoerl). Farben über --xp-* aus build.mjs. */

.xp-wrap { width: 100%; max-width: var(--xp-maxw, 1200px); margin-inline: auto; padding-inline: var(--xp-gutter, 24px); }
@media (min-width: 768px) { .xp-wrap { --xp-gutter: var(--xp-gutter-lg, 48px); } }
.xp-sec { padding: clamp(64px, 9vw, 128px) 0; background: var(--xp-bg); color: var(--xp-text); }
.xp-sec--mist { background: var(--xp-mist); }
.xp-kicker { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--xp-kick); margin-bottom: 14px; }
.xp-h2 { font-family: var(--xp-head); font-weight: var(--xp-hw, 300); font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem); line-height: 1.06; letter-spacing: var(--xp-track, -.035em); color: var(--xp-ink); margin: 0; text-wrap: balance; hyphens: manual; }
.xp-h2 span { color: var(--xp-ink-2); }
.xp-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 56px); }
.xp-sub { margin: 18px 0 0; max-width: 640px; font-size: 1.0625rem; line-height: 1.6; color: var(--xp-text-2); }
.xp-fine { font-size: .75rem; color: var(--xp-text-2); margin-top: 20px; }
.xp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--xp-ink); text-decoration: none; }
.xp-link svg { transition: transform .2s var(--xp-ease, ease); }
.xp-link:hover svg { transform: translateX(4px); }
.xp-link:focus-visible, .xc-btn:focus-visible, .xc-dot:focus-visible, .xo-card a:focus-visible, .xc-track:focus-visible { outline: 2px solid var(--xp-accent); outline-offset: 3px; border-radius: 8px; }

/* ===================== Manifest ===================== */
.xp-manifest { padding: clamp(80px, 14vw, 200px) 24px; background: var(--xp-bg); text-align: center; }
.xm-text { max-width: 980px; margin: 0 auto; font-family: var(--xp-head); font-weight: var(--xp-hw, 300); font-size: clamp(1.75rem, 1.05rem + 3vw, 3.5rem); line-height: 1.16; letter-spacing: var(--xp-track, -.035em); color: var(--xp-ink); hyphens: manual; }
.xm-line { display: block; }
.xm-line + .xm-line { margin-top: .5em; }
.xp-manifest.is-live .xm-w { color: var(--xp-ink-3); transition: color .35s ease; }
.xp-manifest.is-live .xm-w.on { color: var(--xp-ink); }

/* ===================== Karussell ===================== */
.xc { --pad: max(var(--xp-gutter, 24px), calc((100vw - var(--xp-maxw, 1200px)) / 2 + var(--xp-gutter, 24px))); }
@media (min-width: 768px) { .xc { --xp-gutter: var(--xp-gutter-lg, 48px); } }
.xc-track { position: relative; list-style: none; margin: 0; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 4px var(--pad) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.xc-track::-webkit-scrollbar { display: none; }
.xc-item { flex: 0 0 clamp(290px, 29vw, 400px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 22px; }
.xc-card { --d: 9s; position: relative; display: flex; flex-direction: column; height: clamp(440px, 36vw, 520px); padding: 22px 22px 26px; border-radius: 24px; background: var(--xp-card); color: var(--xp-ink); overflow: hidden; }
.xc-card--sand { background: var(--xp-sand); }
.xc-card--dark { background: var(--xp-dark); color: var(--xp-on-dark); --xp-ink: var(--xp-on-dark); --xp-text-2: var(--xp-on-dark-2); --xa-surf: rgba(255, 255, 255, .07); --xa-surf-2: rgba(255, 255, 255, .12); --xa-ink: var(--xp-on-dark); --xa-ink-2: var(--xp-on-dark-2); --xa-line: rgba(255, 255, 255, .16); }
.xc-k { position: relative; height: 1.2em; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--xp-text-2); }
.xc-k span { position: absolute; inset: 0; white-space: nowrap; }
.xc-k span:first-child { opacity: 0; }
.xc-label { margin: 6px 0 0; font-size: .9375rem; font-weight: 600; color: var(--xp-ink); }
.xc-anim { flex: 1; min-height: 0; display: grid; place-items: center; padding: 14px 0; }
.xc-state { margin: 0; font-family: var(--xp-head); font-weight: var(--xp-hw, 300); font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem); line-height: 1.04; letter-spacing: var(--xp-track, -.035em); color: var(--xp-ink); }
.xc-copy h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.45; font-weight: 600; color: var(--xp-ink); }
.xc-copy .xc-name { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--xp-kick); margin-bottom: 4px; }
.xc-copy p { margin: 0 0 12px; font-size: .9375rem; line-height: 1.55; color: var(--xp-text-2); }
.xc-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.xc-dots { display: flex; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 99px; background: var(--xp-ctrl); }
.xc-dot { width: 22px; height: 30px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.xc-dot i { width: 6px; height: 6px; border-radius: 3px; background: var(--xp-text-2); opacity: .45; transition: width .3s var(--xp-ease, ease), opacity .3s; position: relative; overflow: hidden; }
.xc-dot[aria-current="true"] { width: 44px; }
.xc-dot[aria-current="true"] i { width: 34px; opacity: 1; background: var(--xp-ctrl-2); }
.xc-dot[aria-current="true"] i::after { content: ""; position: absolute; inset: 0; background: var(--xp-ink); transform-origin: left; transform: scaleX(0); }
.xc.is-auto .xc-dot[aria-current="true"] i::after { animation: xc-fill var(--xc-t, 7s) linear forwards; }
@keyframes xc-fill { to { transform: scaleX(1); } }
.xc-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; background: var(--xp-ctrl); color: var(--xp-ink); cursor: pointer; transition: background .2s; }
.xc-btn:hover { background: var(--xp-ctrl-2); }
.xc-pause .pl { display: none; }
.xc-pause[aria-pressed="true"] .pa { display: none; }
.xc-pause[aria-pressed="true"] .pl { display: inline; }
.xc-nav { display: flex; gap: 8px; margin-left: auto; }
.xc-prev svg { transform: rotate(180deg); }
@media (max-width: 760px) { .xc-nav { display: none; } .xc-item { flex-basis: 84vw; } .xc-card { height: 470px; } }
@media (prefers-reduced-motion: reduce) { .xc-pause { display: none; } }

/* ===================== Animationen (gemeinsamer Takt --d, Endzustand ist der Ruhezustand) ===================== */
.xa { --xa-surf: var(--xp-a-surf); --xa-surf-2: var(--xp-a-surf-2); --xa-ink: var(--xp-ink); --xa-ink-2: var(--xp-text-2); --xa-line: var(--xp-line); position: relative; width: 100%; max-width: 330px; height: 100%; max-height: 250px; font-size: 12px; color: var(--xa-ink); }
.xc-card--dark .xa { --xa-surf: rgba(255, 255, 255, .07); --xa-surf-2: rgba(255, 255, 255, .12); --xa-ink: var(--xp-on-dark); --xa-ink-2: var(--xp-on-dark-2); --xa-line: rgba(255, 255, 255, .16); --xp-ok: #8fdcae; --xp-ok-soft: rgba(143, 220, 174, .14); }
.xa small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--xa-ink-2); }
.xa ul { list-style: none; margin: 0; padding: 0; }
.xa svg path { fill: none; stroke: var(--xp-accent); stroke-width: 1.6; stroke-dasharray: 1; }

@keyframes xs1 { 0%, 10% { opacity: 0; transform: translateY(8px); } 18%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes xs2 { 0%, 24% { opacity: 0; transform: translateY(8px); } 32%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes xs3 { 0%, 38% { opacity: 0; transform: translateY(8px); } 46%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes xs4 { 0%, 52% { opacity: 0; transform: translateY(8px); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes xs5 { 0%, 66% { opacity: 0; transform: translateY(8px); } 74%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes xd1 { 0%, 10% { stroke-dashoffset: 1; } 26%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes xd2 { 0%, 22% { stroke-dashoffset: 1; } 38%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes xd3 { 0%, 34% { stroke-dashoffset: 1; } 50%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes xk1 { 0%, 44% { opacity: 1; } 50%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes xk2 { 0%, 44% { opacity: 0; } 50%, 96% { opacity: 1; } 100% { opacity: 0; } }

.xc-card.is-run .xc-k span:first-child { animation: xk1 var(--d) infinite; }
.xc-card.is-run .xc-k span:last-child { animation: xk2 var(--d) infinite; }
.xc-card.is-run .s1 { animation: xs1 var(--d) infinite; }
/* Einstieg mitten im ersten Schritt, damit die Karte nie leer wirkt */
.xc-card.is-run * { animation-delay: -1.4s; }

/* Datenfluss */
.xa-flow { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; }
.xa-src { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--xa-surf); }
.xa-src b { font-size: 15px; }
.xa-src span { color: var(--xa-ink-2); }
.xa-lines { width: 100%; height: 150px; }
.xa-tg { display: grid; gap: 22px; }
.xa-tg li { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--xa-surf); font-weight: 600; }
.xa-tg i { color: var(--xp-ok); display: grid; }
.is-run .xa-src { animation: xs1 var(--d) infinite; }
.is-run .xa-lines path:nth-child(1) { animation: xd1 var(--d) infinite; }
.is-run .xa-lines path:nth-child(2) { animation: xd2 var(--d) infinite; }
.is-run .xa-lines path:nth-child(3) { animation: xd3 var(--d) infinite; }
.is-run .xa-tg li:nth-child(1) { animation: xs2 var(--d) infinite; }
.is-run .xa-tg li:nth-child(2) { animation: xs3 var(--d) infinite; }
.is-run .xa-tg li:nth-child(3) { animation: xs4 var(--d) infinite; }

/* Freistellen */
.xa-cut { display: grid; grid-template-rows: 1fr auto; gap: 10px; }
.xa-ph { position: relative; border-radius: 14px; overflow: hidden; background: repeating-conic-gradient(var(--xa-surf) 0 25%, transparent 0 50%) 0 0 / 16px 16px; }
.xa-ph img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.12) contrast(1.05); }
.xa-scan { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; background: var(--xp-accent); box-shadow: 0 0 14px var(--xp-accent); opacity: 0; }
.xa-fmt { display: flex; gap: 6px; }
.xa-fmt li { padding: 5px 9px; border-radius: 99px; background: var(--xa-surf-2); font-weight: 600; font-size: 11px; }
@keyframes xcut { 0%, 30% { filter: saturate(.4) brightness(.86); } 42%, 92% { filter: brightness(1.12) contrast(1.05); } }
@keyframes xscan { 0%, 12% { left: 0; opacity: 0; } 14% { opacity: 1; } 40% { left: 100%; opacity: 1; } 42%, 100% { opacity: 0; left: 100%; } }
.is-run .xa-ph img { animation: xcut var(--d) infinite; }
.is-run .xa-scan { animation: xscan var(--d) infinite; }
.is-run .xa-fmt li:nth-child(1) { animation: xs3 var(--d) infinite; }
.is-run .xa-fmt li:nth-child(2) { animation: xs4 var(--d) infinite; }
.is-run .xa-fmt li:nth-child(3) { animation: xs5 var(--d) infinite; }

/* PDF barrierefrei */
.xa-pdf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.xa-page { display: grid; gap: 7px; padding: 16px 14px; border-radius: 6px; background: var(--xp-page, #fff); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .3); aspect-ratio: 3 / 4; align-content: start; }
.xa-page i { height: 5px; border-radius: 3px; background: #ddd7cf; }
.xa-page i.h { height: 9px; width: 70%; background: #b9b0a5; }
.xa-page i.s { width: 60%; }
.xa-fig { height: 38px; border-radius: 4px; background: #e9e4dc; }
.xa-tags { display: grid; gap: 6px; }
.xa-tags li { padding: 6px 9px; border-radius: 8px; background: var(--xa-surf); font-weight: 600; border-left: 2px solid var(--xp-accent); }
.xa-badge { position: absolute; left: 0; bottom: -4px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 99px; background: var(--xp-ok-soft); color: var(--xp-ok); font-weight: 700; }
.is-run .xa-tags li:nth-child(1) { animation: xs1 var(--d) infinite; }
.is-run .xa-tags li:nth-child(2) { animation: xs2 var(--d) infinite; }
.is-run .xa-tags li:nth-child(3) { animation: xs3 var(--d) infinite; }
.is-run .xa-tags li:nth-child(4) { animation: xs4 var(--d) infinite; }
.is-run .xa-badge { animation: xs5 var(--d) infinite; }

/* Migration */
.xa-mig { display: grid; grid-template-columns: 1fr 44px 1fr; grid-template-rows: auto auto; gap: 14px 6px; align-items: center; }
.xa-box { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: var(--xa-surf); }
.xa-box b { font-size: 14px; }
.xa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.xa-grid i { aspect-ratio: 1; border-radius: 4px; background: var(--xa-surf-2); }
.xa-grid--to i { background: var(--xp-accent); opacity: .75; }
.xa-pipe { display: grid; gap: 8px; }
.xa-pipe i { height: 2px; background: linear-gradient(90deg, transparent, var(--xp-accent), transparent); background-size: 200% 100%; }
.xa-prog { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: var(--xa-ink-2); }
.xa-prog i { height: 6px; border-radius: 3px; background: var(--xa-surf-2); overflow: hidden; }
.xa-prog em { display: block; height: 100%; background: var(--xp-ok); transform-origin: left; }
.xa-prog b { color: var(--xp-ok); }
@keyframes xprog { 0%, 12% { transform: scaleX(0); } 72%, 100% { transform: scaleX(1); } }
@keyframes xpipe { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes xfade { 0%, 12% { opacity: .75; } 70%, 92% { opacity: .25; } 100% { opacity: .75; } }
.is-run .xa-prog em { animation: xprog var(--d) infinite; }
.is-run .xa-pipe i { animation: xpipe 1.2s linear infinite; }
.is-run .xa-pipe i:nth-child(2) { animation-delay: -.4s; }
.is-run .xa-pipe i:nth-child(3) { animation-delay: -.8s; }
.is-run .xa-grid:not(.xa-grid--to) { animation: xfade var(--d) infinite; }
.is-run .xa-grid--to i:nth-child(-n+3) { animation: xs2 var(--d) infinite; }
.is-run .xa-grid--to i:nth-child(n+4):nth-child(-n+6) { animation: xs3 var(--d) infinite; }
.is-run .xa-grid--to i:nth-child(n+7) { animation: xs4 var(--d) infinite; }
.is-run .xa-prog b { animation: xs5 var(--d) infinite; }

/* Doku schreibt mit */
.xa-docs { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; align-items: center; }
.xa-tree { display: grid; gap: 4px; }
.xa-tree li { padding: 5px 8px; border-radius: 6px; color: var(--xa-ink-2); }
.xa-tree li.in { margin-left: 12px; }
.xa-tree li.on { background: var(--xa-surf-2); color: var(--xa-ink); font-weight: 600; }
.xa-doc { position: relative; display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--xa-surf); }
.xa-doc b { font-size: 13px; }
.xa-doc i { height: 6px; border-radius: 3px; background: var(--xa-surf-2); transform-origin: left; }
.xa-doc i.s { width: 55%; }
.xa-upd { display: inline-flex; gap: 6px; align-items: center; justify-self: start; margin-top: 6px; padding: 4px 9px; border-radius: 99px; background: var(--xp-ok-soft); color: var(--xp-ok); font-weight: 700; }
@keyframes xgrow1 { 0%, 20% { transform: scaleX(0); } 32%, 92% { transform: scaleX(1); } 100% { opacity: 0; } }
@keyframes xgrow2 { 0%, 32% { transform: scaleX(0); } 44%, 92% { transform: scaleX(1); } 100% { opacity: 0; } }
@keyframes xgrow3 { 0%, 44% { transform: scaleX(0); } 56%, 92% { transform: scaleX(1); } 100% { opacity: 0; } }
.is-run .xa-tree li.on { animation: xs1 var(--d) infinite; }
.is-run .xa-doc i:nth-of-type(1) { animation: xgrow1 var(--d) infinite; }
.is-run .xa-doc i:nth-of-type(2) { animation: xgrow2 var(--d) infinite; }
.is-run .xa-doc i:nth-of-type(3) { animation: xgrow3 var(--d) infinite; }
.is-run .xa-upd { animation: xs5 var(--d) infinite; }

/* Tabelle kopieren */
.xa-copy { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.xa-tbl { display: grid; gap: 5px; padding: 12px; border-radius: 12px; background: var(--xa-surf); }
.xa-tbl i { height: 14px; border-radius: 4px; background: var(--xa-surf-2); }
.xa-tbl--to i { background: var(--xp-accent); opacity: .55; }
.xa-click { padding: 7px 10px; border-radius: 99px; background: var(--xp-btn); color: var(--xp-btn-ink); font-weight: 700; font-size: 11px; white-space: nowrap; }
@keyframes xhl { 0%, 14% { background: var(--xa-surf-2); } 20%, 34% { background: var(--xp-accent); opacity: .55; } 40%, 100% { background: var(--xa-surf-2); } }
@keyframes xpress { 0%, 34% { transform: scale(1); opacity: .5; } 38% { transform: scale(.9); opacity: 1; } 44%, 92% { transform: scale(1); opacity: 1; } 100% { opacity: .5; } }
.is-run .xa-tbl:not(.xa-tbl--to) i { animation: xhl var(--d) infinite; }
.is-run .xa-click { animation: xpress var(--d) infinite; }
.is-run .xa-tbl--to i:nth-of-type(-n+2) { animation: xs3 var(--d) infinite; }
.is-run .xa-tbl--to i:nth-of-type(n+3) { animation: xs4 var(--d) infinite; }

/* Ziehen und ablegen */
.xa-drag { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.xa-arch, .xa-indd { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--xa-surf); }
.xa-arch span { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.xa-arch i { aspect-ratio: 1; border-radius: 5px; background: var(--xa-surf-2); }
.xa-arch i.me { background: center / cover, var(--xa-surf-2); outline: 2px solid var(--xp-accent); outline-offset: 1px; }
.xa-frame { aspect-ratio: 4 / 5; border-radius: 4px; border: 1.5px dashed var(--xa-ink-2); background: center / cover var(--xa-img, none); }
.xa-fly { position: absolute; width: 56px; height: 56px; border-radius: 6px; background: center / cover, var(--xa-surf-2); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); left: 64%; top: 34%; opacity: 0; }
@keyframes xfly { 0%, 14% { left: 30%; top: 58%; opacity: 0; transform: scale(.8) rotate(0); } 20% { opacity: 1; transform: scale(1) rotate(-4deg); } 50% { left: 64%; top: 34%; opacity: 1; transform: scale(1.04) rotate(3deg); } 58%, 100% { left: 64%; top: 34%; opacity: 0; transform: scale(1.2); } }
@keyframes xfill { 0%, 54% { background-size: 0 0; } 60%, 92% { background-size: cover; } 100% { background-size: 0 0; } }
.xa-drag .xa-frame { background-size: cover; }
.is-run .xa-fly { animation: xfly var(--d) infinite; }
.is-run .xa-frame { animation: xfill var(--d) infinite; }

/* Marktplatz */
.xa-mkt { display: grid; gap: 12px; align-content: center; }
.xa-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border-radius: 12px; background: var(--xa-surf); }
.xa-item b { font-size: 14px; }
.xa-item > span { font-weight: 700; font-size: 14px; }
.xa-item em { grid-column: 1 / -1; font-style: normal; color: var(--xa-ink-2); }
.xa-n { display: inline-grid; height: 1.3em; overflow: hidden; vertical-align: bottom; color: var(--xa-ink); }
.xa-n i { font-style: normal; grid-area: 1 / 1; transform: translateY(100%); }
.xa-n i:last-child { transform: none; }
@keyframes xnumA { 0%, 50% { transform: none; } 56%, 100% { transform: translateY(-100%); } }
@keyframes xnumB { 0%, 50% { transform: translateY(100%); } 56%, 100% { transform: none; } }
.is-run .xa-n i:first-child { animation: xnumA var(--d) infinite; }
.is-run .xa-n i:last-child { animation: xnumB var(--d) infinite; }
.xa-ch { display: grid; gap: 6px; }
.xa-ch li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--xa-line); }
.xa-ch span { color: var(--xa-ink-2); }
.xa-sold { margin: 0; justify-self: start; padding: 5px 10px; border-radius: 99px; background: var(--xp-ok-soft); color: var(--xp-ok); font-weight: 700; }
.is-run .xa-ch li:nth-child(1) { animation: xs2 var(--d) infinite; }
.is-run .xa-ch li:nth-child(2) { animation: xs3 var(--d) infinite; }
.is-run .xa-ch li:nth-child(3) { animation: xs4 var(--d) infinite; }
.is-run .xa-sold { animation: xs4 var(--d) infinite; }

/* Portale */
.xa-por { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr auto; gap: 10px; align-items: end; }
.xa-w { display: grid; gap: 6px; padding: 8px; border-radius: 10px; background: var(--xa-surf); }
.xa-w i { height: 60px; border-radius: 6px; background: var(--xa-surf-2); }
.xa-w.w2 i { height: 90px; background: center / cover var(--xa-img, none), var(--xa-surf-2); }
.xa-w b { font-size: 11px; }
.xa-core { grid-column: 1 / -1; padding: 12px; border-radius: 12px; background: var(--xp-btn); color: var(--xp-btn-ink); text-align: center; font-weight: 700; letter-spacing: .04em; }
@keyframes xrise { 0%, 20% { opacity: 0; transform: translateY(26px) scale(.92); } 34%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes xrise2 { 0%, 34% { opacity: 0; transform: translateY(26px) scale(.92); } 48%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes xrise3 { 0%, 48% { opacity: 0; transform: translateY(26px) scale(.92); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.is-run .xa-core { animation: xs1 var(--d) infinite; }
.is-run .xa-w.w1 { animation: xrise var(--d) infinite; }
.is-run .xa-w.w2 { animation: xrise2 var(--d) infinite; }
.is-run .xa-w.w3 { animation: xrise3 var(--d) infinite; }

/* PIM: zusammenführen */
.xa-mrg { display: grid; place-items: center; }
.xa-chip { position: absolute; left: 50%; top: 50%; padding: 6px 11px; border-radius: 99px; background: var(--xa-surf-2); font-weight: 700; opacity: 0; translate: -50% -50%; }
.xa-chip.c1 { --x: -95px; --y: -90px; } .xa-chip.c2 { --x: 95px; --y: -85px; } .xa-chip.c3 { --x: -100px; --y: 80px; } .xa-chip.c4 { --x: 95px; --y: 88px; }
@keyframes xgather { 0%, 26% { opacity: 1; transform: translate(var(--x), var(--y)); } 44% { opacity: 0; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; } }
.xa-rec { display: grid; gap: 8px; width: 78%; padding: 16px; border-radius: 14px; background: var(--xa-surf); }
.xa-rec b { font-size: 13px; }
.xa-rec i { height: 6px; border-radius: 3px; background: var(--xa-surf-2); }
.xa-rec i.s { width: 60%; }
.xa-rec small { color: var(--xp-ok); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.is-run .xa-chip { animation: xgather var(--d) infinite; }
.is-run .xa-rec { animation: xs3 var(--d) infinite; }

/* DAM: finden */
.xa-dam { display: grid; gap: 10px; align-content: center; }
.xa-search { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 99px; background: var(--xa-surf); }
.xa-search span { overflow: hidden; white-space: nowrap; width: 5ch; font-weight: 600; border-right: 1.5px solid var(--xp-accent); }
.xa-search i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--xa-ink-2); }
.xa-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.xa-thumbs i { aspect-ratio: 1; border-radius: 8px; background: center / cover, var(--xa-surf-2); }
.xa-thumbs i.t2 { outline: 2px solid var(--xp-accent); outline-offset: 2px; }
.xa-thumbs i:not(.t2) { opacity: .35; }
.xa-ok { justify-self: start; display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; background: var(--xp-ok-soft); color: var(--xp-ok); font-weight: 700; }
@keyframes xtype { 0%, 10% { width: 0; } 30%, 92% { width: 5ch; } 100% { width: 0; } }
@keyframes xdim { 0%, 36% { opacity: 1; } 44%, 92% { opacity: .35; } 100% { opacity: 1; } }
.is-run .xa-search span { animation: xtype var(--d) steps(5) infinite; }
.is-run .xa-thumbs i:not(.t2) { animation: xdim var(--d) infinite; }
.is-run .xa-ok { animation: xs4 var(--d) infinite; }

/* Publishing: Seite entsteht */
.xa-lay { display: grid; gap: 12px; place-items: center; }
.xa-spread { display: flex; gap: 2px; padding: 8px; border-radius: 8px; background: var(--xa-surf); }
.xa-spread .pg { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 34px; gap: 5px; width: 120px; padding: 10px; background: var(--xp-page, #fff); border-radius: 3px; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .3); }
.xa-spread i { border-radius: 3px; background: #e6e0d8; }
.xa-spread .b1, .xa-spread .b5 { grid-column: span 2; background: #cfc6bb; }
.xa-spread .b2, .xa-spread .b6 { background: center / cover var(--xa-img, none), #e6e0d8; }
.xa-cnt { margin: 0; color: var(--xa-ink-2); }
.xa-cnt b { display: inline-grid; height: 1.3em; overflow: hidden; vertical-align: bottom; color: var(--xa-ink); }
.xa-cnt b i { font-style: normal; grid-area: 1 / 1; }
.xa-cnt b i:first-child { transform: translateY(-100%); }
.is-run .xa-spread .b1, .is-run .xa-spread .b2 { animation: xs1 var(--d) infinite; }
.is-run .xa-spread .b3, .is-run .xa-spread .b4 { animation: xs2 var(--d) infinite; }
.is-run .xa-spread .b5, .is-run .xa-spread .b6 { animation: xs3 var(--d) infinite; }
.is-run .xa-spread .b7 { animation: xs4 var(--d) infinite; }
.is-run .xa-cnt b i:first-child { animation: xnumA var(--d) infinite; }
.is-run .xa-cnt b i:last-child { animation: xnumB var(--d) infinite; }

/* Betrieb */
.xa-mon { display: grid; gap: 12px; align-content: center; }
.xa-mon ul { display: grid; gap: 6px; }
.xa-mon li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--xa-surf); }
.xa-mon li i { width: 8px; height: 8px; border-radius: 50%; background: var(--xp-ok); }
.xa-mon li b { color: var(--xp-ok); font-size: 11px; }
.xa-mon li.u { outline: 1.5px solid var(--xp-accent); }
.xa-pulse { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--xa-ink-2); }
.xa-pulse i { width: 8px; height: 8px; border-radius: 50%; background: var(--xp-ok); box-shadow: 0 0 0 0 var(--xp-ok-soft); }
@keyframes xpulse { 0% { box-shadow: 0 0 0 0 var(--xp-ok-soft); } 70% { box-shadow: 0 0 0 10px transparent; } }
.is-run .xa-mon li:nth-child(1) { animation: xs1 var(--d) infinite; }
.is-run .xa-mon li:nth-child(2) { animation: xs2 var(--d) infinite; }
.is-run .xa-mon li:nth-child(3) { animation: xs3 var(--d) infinite; }
.is-run .xa-mon li:nth-child(4) { animation: xs4 var(--d) infinite; }
.is-run .xa-pulse i { animation: xpulse 1.8s infinite; }

/* ===================== Der Anfang ===================== */
.xp-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.xo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.xo-card a { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; background: var(--xp-card); color: var(--xp-ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--xp-ease, ease), box-shadow .35s; }
.xo-card a:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .35); }
.xo-txt { padding: 22px 22px 18px; }
.xo-txt h3 { margin: 0 0 8px; font-family: var(--xp-head); font-weight: var(--xp-hw3, 400); font-size: 1.375rem; line-height: 1.18; letter-spacing: -.02em; color: var(--xp-ink); }
.xo-txt p { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--xp-text-2); }
.xo-img { margin: auto 0 0; aspect-ratio: 4 / 3.4; overflow: hidden; }
.xo-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .8s var(--xp-ease, ease); }
.xo-card a:hover .xo-img img { transform: scale(1.04); }
.xo-go { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--xp-card); color: var(--xp-ink); }
@media (max-width: 1080px) { .xo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .xo { grid-template-columns: 1fr; } .xo-img { aspect-ratio: 16 / 10; } }

/* ===================== CTA-Karte ===================== */
.xcta { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; border-radius: 28px; overflow: hidden; background: var(--xp-cta-bg); }
.xcta-txt { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.xcta-txt > p:not(.xp-fine) { margin: 0; max-width: 520px; font-size: 1.0625rem; line-height: 1.6; color: var(--xp-text-2); }
.xcta-act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.xcta .xp-fine { margin: 0; }
.xcta-img { position: relative; margin: 0; min-height: 360px; }
.xcta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.xcta-img figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .9); color: #1d1b19; font-size: .75rem; font-weight: 600; }
@media (max-width: 860px) { .xcta { grid-template-columns: 1fr; } .xcta-img { min-height: 300px; order: -1; } }

/* ===================== Hero-Linienfeld ===================== */
.xh-field { position: absolute; left: 0; right: 0; bottom: 0; height: min(62vh, 560px); pointer-events: none; transform: translateY(var(--hy, 0px)); opacity: var(--ho, 1); -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.xh-field svg { width: 100%; height: 100%; }
.xh-grid line { stroke: var(--xp-line); stroke-width: 1; opacity: .5; }
.xh-arcs circle { fill: none; stroke: var(--xp-line); stroke-dasharray: 3 6; }
.xh-paths path { fill: none; stroke: var(--xp-accent); stroke-width: 1.2; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 0; }
.xh-packets circle { fill: var(--xp-accent); }
.xh-nodes rect { fill: var(--xp-card); stroke: var(--xp-line-2); }
.xh-nodes text, .xh-core text { font: 600 12px var(--xp-body, system-ui); fill: var(--xp-ink); text-anchor: middle; }
.xh-core circle { fill: var(--xp-btn); }
.xh-core text { fill: var(--xp-btn-ink); font-size: 15px; letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .xh-paths path { animation: xh-draw 2.2s var(--xp-ease, ease) both; }
  .xh-paths path:nth-child(odd) { animation-delay: .25s; }
  .xh-nodes g, .xh-core { animation: xh-in .8s var(--xp-ease, ease) both; animation-delay: .4s; }
}
@keyframes xh-draw { from { stroke-dashoffset: 1; } }
@keyframes xh-in { from { opacity: 0; } }
@media (max-width: 760px) { .xh-field { height: 42vh; } .xh-nodes text { font-size: 16px; } }

@media (prefers-reduced-motion: reduce) {
  .xc-card *, .xc-card { animation: none !important; }
  .xh-packets { display: none; }
}

.xc-card--sand { --xp-a-surf: var(--xp-sand-surf); --xp-a-surf-2: var(--xp-sand-surf-2); --xp-ok: var(--xp-ok-on-sand, #035e42); }

/* Gegenstück zur Inline-Regel der Startseite: Linienfeld erst zeigen, wenn dieses Stylesheet geladen ist */
.xh-field { display: block; }

/* ===================== Produktbühne asim:PORTAL (Brand-Studio-Muster) ===================== */
.xs-sec { padding: clamp(64px, 9vw, 120px) 0; }
.xs-card { --f: 1; --mx: 0; --my: 0; position: relative; overflow: hidden; border-radius: 32px; min-height: clamp(560px, 62vw, 760px); padding: clamp(36px, 5vw, 64px) 24px 0; text-align: center; color: #f3efe9; background: radial-gradient(80% 60% at 50% 0%, rgba(199, 176, 150, .16), transparent 60%), linear-gradient(180deg, #1c1813, #0f0d0b 70%); isolation: isolate; }
.xs-intro { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #c7b096; }
.xs-title { margin: 6px 0 0; font-family: var(--xp-head); font-weight: 600; font-size: clamp(3.2rem, 1.4rem + 9vw, 9.5rem); line-height: .95; letter-spacing: -.05em; background: linear-gradient(180deg, #fbf3e6 10%, #d4b896 52%, #8a7258 95%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(calc((1 - var(--f)) * 24px)); }
.xs-stage { position: relative; height: clamp(320px, 38vw, 470px); margin: clamp(-24px, -1vw, 0px) auto 0; max-width: 1060px; perspective: 1600px; transform: translate(calc(var(--mx) * 10px), calc(var(--my) * 6px)); }
.xs-win { position: absolute; left: 50%; bottom: 74px; width: min(440px, 46%); border-radius: 14px; overflow: hidden; background: #fbfaf8; color: #1d1b19; text-align: left; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); transform-origin: 50% 100%; }
.xs-win--c { z-index: 3; width: min(520px, 54%); transform: translate(-50%, calc((1 - var(--f)) * 40px)) translateZ(60px) rotateX(calc(var(--my) * -2deg)); }
.xs-win--l { z-index: 2; transform: translate(calc(-50% - var(--f) * 74%), calc(-6% + (1 - var(--f)) * 40px)) rotateY(calc(var(--f) * 16deg)) scale(.9); filter: brightness(calc(.92 + var(--f) * .02)); }
.xs-win--r { z-index: 2; transform: translate(calc(-50% + var(--f) * 74%), calc(-6% + (1 - var(--f)) * 40px)) rotateY(calc(var(--f) * -16deg)) scale(.9); }
.xs-bar { display: flex; align-items: center; gap: 5px; padding: 8px 11px; background: #efece7; border-bottom: 1px solid #e4e0da; }
.xs-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d6d1ca; }
.xs-bar span { margin-left: 8px; flex: 1; padding: 2px 8px; border-radius: 5px; background: #fff; font-size: 10px; color: #6b665f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xs-app { padding: 14px 16px 16px; }
.xs-app__t { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.xs-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.xs-kpis span { display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; border: 1px solid #ebe7e1; background: #fff; }
.xs-kpis small { font-size: 9px; color: #6b665f; }
.xs-kpis b { font-size: 18px; letter-spacing: -.02em; }
.xs-bars { display: grid; gap: 7px; margin-top: 12px; }
.xs-bars span { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; font-size: 10px; color: #57524b; }
.xs-bars em { font-style: normal; }
.xs-bars i { height: 7px; border-radius: 4px; background: linear-gradient(#b8a089, #b8a089) left / calc(var(--v) * var(--f)) 100% no-repeat, #ece8e2; }
.xs-prod { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.xs-prod img, .xs-show img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #e8e6e3; }
.xs-prod b { display: block; font-size: 14px; }
.xs-prod small { font-size: 10px; color: #6b665f; }
.xs-price { margin: 8px 0 2px; font-size: 18px; font-weight: 800; }
.xs-price small { font-weight: 500; }
.xs-stock { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 10px; font-weight: 600; color: #2f6b47; }
.xs-stock i { width: 6px; height: 6px; border-radius: 50%; background: #2f9a5d; }
.xs-show { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; }
.xs-show img { grid-row: span 2; aspect-ratio: 16 / 10; }
.xs-sw { display: flex; gap: 6px; }
.xs-sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.xs-sw i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #1d1b19; }
.xs-cta { padding: 7px 10px; border-radius: 99px; background: #1d1b19; color: #fff; font-size: 10px; font-weight: 600; white-space: nowrap; }
.xs-base { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: rgba(31, 27, 23, .94); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); white-space: nowrap; }
.xs-base b { font-size: 14px; letter-spacing: .06em; color: #fff; }
.xs-base span { font-size: 12px; color: #c9bfb2; margin-right: 6px; }
.xs-base em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: rgba(199, 176, 150, .16); color: #e6d6c2; opacity: var(--f); }
.xs-foot { display: grid; justify-items: center; gap: 14px; margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.xs-claim { margin: 0; font-family: var(--xp-head); font-weight: var(--xp-hw, 300); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); letter-spacing: var(--xp-track, -.035em); line-height: 1.1; color: var(--xp-ink); }
.xs-claim span { color: var(--xp-ink-2); }
.xs-sub { margin: 0; max-width: 620px; color: var(--xp-text-2); font-size: 1.0625rem; line-height: 1.55; }
.xs-url { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 6px 6px 6px 16px; border-radius: 99px; background: var(--xp-card); box-shadow: 0 0 0 1px var(--xp-line-2), 0 18px 40px -24px rgba(0, 0, 0, .35); }
.xs-url__lock { display: grid; color: var(--xp-text-2); }
.xs-url__txt { font-size: .9375rem; color: var(--xp-text-2); }
.xs-url__txt b { color: var(--xp-ink); font-weight: 600; }
.xs-url__go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; background: var(--xp-btn); color: var(--xp-btn-ink); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: transform .2s; }
.xs-url__go:hover { transform: translateX(2px); }
.xs-url__go:focus-visible { outline: 2px solid var(--xp-accent); outline-offset: 3px; }
.xs-demo { font-size: .875rem; }
@media (max-width: 760px) {
  .xs-card { min-height: 0; padding-bottom: 0; border-radius: 24px; }
  .xs-stage { height: 300px; }
  .xs-win { width: 74%; bottom: 58px; }
  .xs-win--c { width: 82%; }
  .xs-win--l, .xs-win--r { opacity: .55; }
  .xs-base span, .xs-base em:nth-of-type(n+2) { display: none; }
  .xs-url__txt { font-size: .8125rem; }
  .xs-title { font-size: 12vw; }
  .xs-stage { margin-top: 20px; height: 330px; }
  .xs-kpis b { font-size: 14px; white-space: nowrap; }
  .xs-kpis small { font-size: 8px; }
  .xs-kpis span { padding: 7px; }
  .xs-bars span { grid-template-columns: 70px 1fr; }
  .xs-url { padding-left: 12px; }
  .xs-url__txt { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .xs-stage { transform: none; } }

.xs-title { white-space: nowrap; hyphens: manual; -webkit-hyphens: manual; }

/* Beispielmotive in den Karten */
.xa-src--img { gap: 8px; padding: 10px; }
.xa-src--img > span { display: grid; gap: 1px; }
.xa-src--img img { width: 100%; aspect-ratio: 4 / 3; height: auto; border-radius: 8px; object-fit: cover; }
.xa-item--img img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; }
.xa-item--img { grid-template-columns: 46px 1fr auto; align-items: center; }
.xa-item--img img { grid-row: span 2; }
.xa-item--img em { grid-column: 2 / -1; }
.xa-grid i, .xa-arch i, .xa-thumbs i { background-size: cover; background-position: center; }
.xa-grid--to i { background-color: var(--xp-accent); }

/* Portal-Reise (ASIM-Startseite). Farben über --xp-* (helle/dunkle Blöcke). */

/* ---------- Szene 2: Funktionen ---------- */
.jy-feat { position: relative; }
.jy-feat.is-live { height: 380vh; }
.jy-feat__stage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: min(var(--xp-maxw, 1200px), 100% - 48px); margin: 0 auto; padding: clamp(64px, 8vw, 120px) 0; }
.jy-feat.is-live .jy-feat__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--header-h, 72px) + 20px) 0 20px; }
.jy-feat__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.jy-feat__list li { border-top: 1px solid var(--xp-line); }
.jy-feat__btn { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 13px 0; border: 0; background: none; text-align: left; font: inherit; color: var(--xp-text-2); cursor: pointer; transition: color .25s; }
.jy-feat__btn b { font-weight: 600; font-size: 1.0625rem; }
.jy-feat__btn[aria-pressed="true"] { color: var(--xp-ink); }
.jy-feat__btn:focus-visible { outline: 2px solid var(--xp-accent); outline-offset: 2px; border-radius: 6px; }
.jy-n { font: 600 .75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--xp-kick); }
.jy-feat__list p { margin: 0 0 0 34px; max-height: 0; overflow: hidden; font-size: .9375rem; line-height: 1.55; color: var(--xp-text-2); transition: max-height .45s var(--xp-ease, ease), padding .45s; }
.jy-feat__list li.is-on p { max-height: 7em; padding-bottom: 14px; }

.jy-dash { --lift: 0; position: relative; border-radius: 18px; background: #fbfaf8; color: #1d1b19; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .5), 0 0 0 1px var(--xp-line-2); perspective: 1400px; }
.jy-dash__bar, .jy-uc__win .jy-dash__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #efece7; border-bottom: 1px solid #e4e0da; border-radius: 18px 18px 0 0; }
.jy-dash__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d1ca; }
.jy-dash__bar span { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 11px; color: #6b665f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jy-dash__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 10px; padding: 14px; transform-style: preserve-3d; }
.jy-z { position: relative; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #ece8e2; font-size: 12px; transition: transform .55s var(--xp-ease, ease), opacity .45s, box-shadow .55s, filter .45s; }
.jy-z[data-z="akte"] { grid-row: span 2; }
.jy-dash.has-focus .jy-z::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: rgba(251, 250, 248, .6); transition: opacity .45s; pointer-events: none; }
.jy-dash.has-focus .jy-z.is-on::after { opacity: 0; }
.jy-dash.has-focus .jy-z.is-on { opacity: 1; filter: none; transform: translateZ(70px) scale(1.04); box-shadow: 0 30px 60px -24px rgba(29, 27, 25, .45), 0 0 0 2px var(--xp-accent); z-index: 2; }
.jy-z__t { margin: 0 0 8px; font-weight: 700; font-size: 12px; display: flex; justify-content: space-between; }
.jy-z__t em { font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 99px; background: #f5ecd7; color: #6f5312; }
.jy-z ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.jy-z li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: #f7f5f2; font-size: 11px; }
.jy-z li.warn::before, .jy-z li.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; }
.jy-z li.warn::before { background: #c58a2b; }
.jy-z li.ok::before { background: #2f9a5d; }
.jy-z li.warn, .jy-z li.ok { justify-content: flex-start; }
.jy-akte img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; background: #e8e6e3; }
.jy-akte dl { margin: 8px 0 0; display: grid; gap: 4px; }
.jy-akte dl div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #f0ede9; }
.jy-akte dt { color: #6b665f; }
.jy-akte dd { margin: 0; font-weight: 600; }
.jy-bar { display: grid; grid-template-columns: 74px 1fr 34px; gap: 6px; align-items: center; margin: 5px 0; font-size: 10.5px; color: #57524b; }
.jy-bar i { height: 6px; border-radius: 3px; background: linear-gradient(#b8a089, #b8a089) left / var(--v) 100% no-repeat, #ece8e2; }
.jy-bar b { font-weight: 600; text-align: right; }
.jy-bar--lang { grid-template-columns: 22px 1fr; }
.jy-pill { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 99px; background: #f3efe9; font-size: 10px; font-weight: 600; color: #6b5a48; }
.jy-btn { flex: none; padding: 3px 8px; border-radius: 99px; background: #1d1b19; color: #fff; font-size: 10px; font-weight: 600; }
.jy-konf { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.jy-konf img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.jy-sw { display: grid; gap: 5px; }
.jy-sw i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.jy-sw i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #1d1b19; }
.jy-dash__foot { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0 16px 12px; font-size: 10.5px; font-weight: 600; color: #2f6b47; }
.jy-dash__foot i { width: 6px; height: 6px; border-radius: 50%; background: #2f9a5d; }
@media (max-width: 960px) {
  .jy-feat__stage { grid-template-columns: 1fr; gap: 18px; align-content: start; }
  .jy-feat.is-live .jy-feat__list li:not(.is-on) { display: none; }
  .jy-feat__list { margin-top: 14px; }
  .jy-dash__grid { grid-template-columns: 1fr 1fr; }
  .jy-z[data-z="akte"] { grid-row: auto; grid-column: span 2; }
  .jy-akte { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
  .jy-akte dl { margin: 0; }
  .jy-dash.has-focus .jy-z:not(.is-on) { display: none; }
  .jy-dash.has-focus .jy-z.is-on { grid-column: span 2; transform: none; }
}

/* ---------- Szene 3: Anwendungsfälle ---------- */
.jy-uc { padding: clamp(72px, 9vw, 128px) 0; }
.jy-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; }
.jy-tabs::-webkit-scrollbar { display: none; }
.jy-tabs button { position: relative; flex: 1 0 auto; display: flex; align-items: baseline; gap: 10px; padding: 14px 4px 14px 0; border: 0; border-top: 1px solid var(--xp-line-2); background: none; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--xp-text-2); text-align: left; cursor: pointer; white-space: nowrap; }
.jy-tabs button[aria-selected="true"] { color: var(--xp-ink); }
.jy-tabs button:focus-visible { outline: 2px solid var(--xp-accent); outline-offset: 2px; }
.jy-tabs__bar { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--xp-ink); transform-origin: left; transform: scaleX(0); }
.jy-tabs button[aria-selected="true"] .jy-tabs__bar { transform: scaleX(1); }
.jy-uc.is-auto .jy-tabs button[aria-selected="true"] .jy-tabs__bar { transform: scaleX(0); animation: jy-fill var(--jy-t, 7s) linear forwards; }
@keyframes jy-fill { to { transform: scaleX(1); } }
.jy-uc__win { border-radius: 18px; background: #fbfaf8; color: #1d1b19; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .45), 0 0 0 1px var(--xp-line-2); overflow: hidden; }
.jy-uc__pane { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; padding: clamp(20px, 3vw, 40px); min-height: 380px; }
.jy-uc__pane.is-on { animation: jy-in .45s var(--xp-ease, ease) both; }
@keyframes jy-in { from { opacity: 0; transform: translateY(8px); } }
.jy-uc__txt h3 { margin: 0 0 8px; font-family: var(--xp-head); font-weight: var(--xp-hw3, 400); font-size: 1.5rem; letter-spacing: -.02em; }
.jy-uc__txt p { margin: 0; font-size: .9375rem; line-height: 1.6; color: #57524b; }
.jy-uc__vis { --d: 6s; position: relative; min-height: 300px; display: grid; align-items: center; }
.jc-h { margin: 0 0 10px; font-weight: 700; font-size: 13px; }
/* Schritt-Einblendungen, solange der Reiter aktiv ist (bleiben danach stehen) */
@keyframes jz1 { 0%, 4% { opacity: 0; transform: translateY(8px); } 12%, 100% { opacity: 1; transform: none; } }
@keyframes jz2 { 0%, 16% { opacity: 0; transform: translateY(8px); } 24%, 100% { opacity: 1; transform: none; } }
@keyframes jz3 { 0%, 28% { opacity: 0; transform: translateY(8px); } 36%, 100% { opacity: 1; transform: none; } }
@keyframes jz4 { 0%, 40% { opacity: 0; transform: translateY(8px); } 48%, 100% { opacity: 1; transform: none; } }
@keyframes jz5 { 0%, 52% { opacity: 0; transform: translateY(8px); } 60%, 100% { opacity: 1; transform: none; } }
.jy-uc__pane.is-on .s1 { animation: jz1 var(--d) both; }
.jy-uc__pane.is-on .s2 { animation: jz2 var(--d) both; }
.jy-uc__pane.is-on .s3 { animation: jz3 var(--d) both; }
.jy-uc__pane.is-on .s4 { animation: jz4 var(--d) both; }
.jy-uc__pane.is-on .s5 { animation: jz5 var(--d) both; }
.jc-form { display: grid; gap: 8px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid #ece8e2; }
.jc-form label { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; background: #f7f5f2; font-size: 12px; }
.jc-form label span { color: #6b665f; }
.jc-save { justify-self: start; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; padding: 6px 12px; border-radius: 99px; background: #e1f1e6; color: #22603a; font-size: 12px; font-weight: 700; }
.jc-rule { position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid #ece8e2; }
.jc-warn, .jc-fix { margin: 0; padding: 10px 12px; border-radius: 9px; font-size: 12px; font-weight: 600; }
.jc-warn { background: #f5ecd7; color: #6f5312; }
.jc-fix { background: #e1f1e6; color: #22603a; }
.jc-ring { display: grid; justify-items: start; gap: 2px; }
.jc-ring b { font-size: 32px; letter-spacing: -.02em; }
.jc-ring b:first-child { display: none; }
.jc-ring small { color: #6b665f; font-size: 11px; }
.jc-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.jc-dam, .jc-slot { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #ece8e2; }
.jc-dam span { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.jc-dam i { aspect-ratio: 1; border-radius: 6px; background: #ece8e2 center / cover; }
.jc-dam i.me { outline: 2px solid #b8a089; outline-offset: 1px; }
.jc-slot i { display: block; aspect-ratio: 4 / 3; border-radius: 9px; background: #ece8e2 center / cover; }
.jc-fly { position: absolute; width: 64px; height: 64px; border-radius: 8px; background: center / cover; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4); left: 66%; top: 40%; opacity: 0; }
.jy-uc__pane.is-on .jc-fly { animation: jc-fly var(--d) both; }
@keyframes jc-fly { 0%, 10% { left: 30%; top: 64%; opacity: 0; } 18% { opacity: 1; } 42% { left: 66%; top: 40%; opacity: 1; } 50%, 100% { left: 66%; top: 40%; opacity: 0; } }
.jc-appr { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: center; }
.jc-langs { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #ece8e2; }
.jc-langs span { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; font-size: 12px; }
.jc-langs i { height: 7px; border-radius: 4px; background: linear-gradient(#b8a089, #b8a089) left / 100% 100% no-repeat, #ece8e2; }
.jc-phone { display: grid; gap: 8px; padding: 18px 16px; border-radius: 26px; background: #1d1b19; color: #f3efe9; border: 6px solid #2c2722; font-size: 12px; }
.jc-phone p { margin: 0; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #c7b096; }
.jc-btn { justify-self: start; display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 99px; background: #e1f1e6; color: #22603a; font-weight: 700; }
.jc-out { display: grid; gap: 8px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid #ece8e2; }
.jc-out div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 9px; background: #f7f5f2; font-size: 12px; }
.jc-out small { color: #6b665f; }
.jc-out em { display: inline-flex; gap: 5px; align-items: center; font-style: normal; font-weight: 700; color: #22603a; }
@media (max-width: 860px) {
  .jy-uc__pane { grid-template-columns: 1fr; min-height: 0; }
  .jy-uc__txt { order: -1; }
  .jy-uc__vis { min-height: 0; }
  .jc-media, .jc-appr { grid-template-columns: 1fr; }
  .jc-form label { grid-template-columns: 100px 1fr; }
}

/* ---------- Szene 4: Architektur ---------- */
.jy-eco { padding: clamp(72px, 9vw, 128px) 0; }
.xp-head--center { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }
.xp-head--center .xp-sub { margin-left: auto; margin-right: auto; }
.ec { position: relative; max-width: 1080px; margin: clamp(32px, 5vw, 56px) auto 0; display: grid; justify-items: center; }
.ec-layer, .ec-api { position: relative; width: 100%; opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s var(--xp-ease, ease), transform .9s var(--xp-ease, ease); transition-delay: calc(var(--o) * 160ms); }
.jy-eco.is-in .ec-layer, .jy-eco.is-in .ec-api { opacity: 1; transform: none; }
.ec-k { margin: 0 0 12px; text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--xp-ink-2); }
.ec-k b { color: #e9d5b5; letter-spacing: .02em; text-transform: none; font-size: .9375rem; }
.ec ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ec-people li { padding: 8px 14px; border-radius: 99px; font-size: .875rem; color: var(--xp-text-2); border: 1px solid var(--xp-line-2); }
.ec-portal { padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(233, 213, 181, .1), rgba(233, 213, 181, .03)); border: 1px solid rgba(217, 191, 154, .35); }
.ec-portal li { display: grid; gap: 2px; min-width: 150px; padding: 12px 16px; border-radius: 14px; background: var(--xp-page, #f3efe9); color: #1d1915; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.ec-portal li b { font-size: .9375rem; }
.ec-portal li small { font-size: .78rem; color: #6b6158; }
.ec-portal li.is-more { background: transparent; color: #e9d5b5; box-shadow: inset 0 0 0 1px rgba(217, 191, 154, .45); }
.ec-portal li.is-more small { color: var(--xp-ink-2); }
.ec-api { display: grid; justify-items: center; gap: 8px; margin: 14px 0; padding: 14px 20px; border-radius: 99px; max-width: 620px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(217, 191, 154, .5); text-align: center; overflow: hidden; }
.ec-api p { margin: 0; font-size: .875rem; color: var(--xp-text-2); }
.ec-api p b { color: var(--xp-ink); margin-right: 6px; }
.ec-api__flow { position: absolute; inset: 0; pointer-events: none; }
.ec-api__flow i { position: absolute; inset: 0; animation: ecFlow 4.8s linear infinite; will-change: transform; }
.ec-api__flow i::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #d9bf9a; box-shadow: 0 0 10px #d9bf9a; opacity: .8; }
.ec-api__flow i:nth-child(odd) { animation-direction: reverse; }
.ec-api__flow i:nth-child(odd)::before { background: #9fd9b8; box-shadow: 0 0 10px #6fcf97; }
.ec-api__flow i:nth-child(2) { animation-delay: -.8s; } .ec-api__flow i:nth-child(3) { animation-delay: -1.6s; } .ec-api__flow i:nth-child(4) { animation-delay: -2.4s; } .ec-api__flow i:nth-child(5) { animation-delay: -3.2s; } .ec-api__flow i:nth-child(6) { animation-delay: -4s; }
@keyframes ecFlow { from { transform: translateX(-2%); } to { transform: translateX(102%); } }
.ec-core { display: grid; justify-items: center; gap: 14px; padding: 26px 22px; border-radius: 24px; max-width: 720px; background: radial-gradient(80% 120% at 50% 0%, rgba(217, 191, 154, .22), transparent 70%), #1f1b17; border: 1px solid rgba(217, 191, 154, .4); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(217, 191, 154, .3); }
.ec-core__t { margin: 0; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; background: linear-gradient(100deg, #fbf3e6, #d9bf9a 40%, #8f7152 60%, #e9d5b5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ec-core__t span { font-weight: 500; }
.ec-core li { padding: 6px 12px; border-radius: 99px; font-size: .8125rem; color: #e8e1d8; background: rgba(255, 255, 255, .06); }
.ec-sys li { display: grid; gap: 2px; min-width: 160px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--xp-line-2); transition: border-color .3s, transform .3s, background-color .3s; }
.ec-sys li b { font-size: .9375rem; color: var(--xp-ink); }
.ec-sys li small { font-size: .8rem; color: var(--xp-text-2); }
.ec-sys li:hover, .ec-sys li:focus-visible { outline: none; transform: translateY(-3px); border-color: #d9bf9a; background: rgba(217, 191, 154, .08); }
.ec-wires { position: relative; display: flex; justify-content: center; gap: clamp(36px, 8vw, 120px); height: 54px; width: 100%; opacity: 0; transition: opacity .6s .5s; }
.jy-eco.is-in .ec-wires { opacity: 1; }
.ec-wires i { position: relative; width: 1px; height: 100%; background: linear-gradient(rgba(217, 191, 154, .1), rgba(217, 191, 154, .55), rgba(217, 191, 154, .1)); }
.ec-wires i::after { content: ""; position: absolute; left: -2.5px; top: 0; width: 6px; height: 100%; background: radial-gradient(circle at 50% calc(100% - 3px), #f4e6cf 0 2.6px, rgba(217, 191, 154, .5) 3.2px, transparent 6px); animation: ecUp 2.6s calc(var(--i) * -.45s) linear infinite; will-change: transform, opacity; }
.ec-wires--down i::after { animation-name: ecUp; }
@keyframes ecUp { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
.jy-eco:not(.is-in) .ec-wires i::after, .jy-eco:not(.is-in) .ec-api__flow i { animation-play-state: paused; }
.ec-note { margin: 0; font-size: .8125rem; color: var(--xp-text-2); }
.ec-note b { color: #e9d5b5; margin-right: 6px; }
.ec-portal .ec-note { text-align: center; margin-top: 14px; }
.ec-core .ec-note { text-align: center; }
.ec-foot { margin: 28px auto 0; max-width: 60ch; text-align: center; font-size: .8125rem; color: var(--xp-ink-2); }
@media (max-width: 700px) { .ec-portal li, .ec-sys li { min-width: 0; flex: 1 1 140px; } .ec-wires { gap: 28px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .ec-wires i::after, .ec-api__flow i { animation: none; display: none; } .ec-layer, .ec-api { transition: none; opacity: 1; transform: none; } }

/* ---------- Szene 5: Mehrwert ---------- */
.jy-val { padding: clamp(80px, 10vw, 140px) 0; }
.jy-val__h { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); }
.jy-val__grid { list-style: none; margin: 0 auto 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; }
.jy-val__grid li { display: grid; gap: 6px; padding: 22px; border-radius: 18px; background: var(--xp-card); box-shadow: 0 0 0 1px var(--xp-line); }
.jy-val__grid b { font-size: 1.0625rem; color: var(--xp-ink); }
.jy-val__grid span { font-size: .9375rem; line-height: 1.55; color: var(--xp-text-2); }
.jy-ask { max-width: 680px; margin: 0 auto; padding: 18px 20px; border-radius: 22px; background: var(--xp-card); box-shadow: 0 0 0 1px var(--xp-line-2), 0 30px 60px -36px rgba(0, 0, 0, .4); display: grid; gap: 10px; }
.jy-ask__k { margin: 0; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--xp-kick); }
.jy-ask__q { margin: 0; font-size: 1.125rem; color: var(--xp-ink); }
.jy-ask__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jy-ask__chips button { min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--xp-line-2); background: none; font: inherit; font-size: .875rem; font-weight: 600; color: var(--xp-text-2); cursor: pointer; transition: background .2s, color .2s; }
.jy-ask__chips button[aria-pressed="true"] { background: var(--xp-btn); border-color: var(--xp-btn); color: var(--xp-btn-ink); }
.jy-ask__chips button:focus-visible { outline: 2px solid var(--xp-accent); outline-offset: 2px; }
.jy-ask__go { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; background: var(--xp-btn); color: var(--xp-btn-ink); font-weight: 600; text-decoration: none; }
.jy-ask__go:focus-visible { outline: 2px solid var(--xp-accent); outline-offset: 3px; }
@media (max-width: 760px) { .jy-val__grid { grid-template-columns: 1fr; } .jy-ask__go { justify-self: stretch; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .jy-uc__pane .s1, .jy-uc__pane .s2, .jy-uc__pane .s3, .jy-uc__pane .s4, .jy-uc__pane .s5, .jc-fly, .jy-uc__pane.is-on { animation: none !important; }
  .jy-z { transition: none; }
}
.sy-chapters ~ .jy-feat.is-live .jy-feat__stage { padding-top: calc(var(--header-h, 72px) + 76px); }

/* ===== Portal-Bühne (Brand-Studio-Muster) — Startseite ASIM ===== */
.bh { --bh-bg: #13110f; --bh-ink: #f3efe9; --bh-ink-2: #b9b0a5; --bh-ink-3: #8f8579; --bh-line: rgba(255, 255, 255, .1); --bh-paper: #f6f2ec; --bh-gold: linear-gradient(100deg, #fbf3e6 0%, #d9bf9a 28%, #8f7152 48%, #e9d5b5 62%, #b8976f 82%, #f4e6cf 100%);
  --p: 0; --e: 1; --it: 1; --ot: 0; --sw: 0; --st: 0; --en: 0; --ch: 0; --sh: 0;
  position: relative; height: 1100vh; padding: 0 !important; }
.bh__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.bh__card { position: absolute; inset: 0; overflow: hidden; color: var(--bh-ink); background: radial-gradient(70% 55% at 50% 0%, rgba(199, 176, 150, .1), transparent 60%), var(--bh-bg);
  clip-path: inset(calc(var(--e) * 14vh) calc(var(--e) * max(24px, 9vw)) 0 round calc(var(--e) * 28px)); isolation: isolate; }

/* Goldschrift mit wanderndem Glanz */
.bh-g, .bh__title, .bh__brand { background: var(--bh-gold); background-size: 220% 100%; background-position: calc(var(--sh) * 100%) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Intro / Ausklang-Titel */
.bh__intro { position: absolute; left: 0; right: 0; top: 50%; text-align: center; z-index: 3; pointer-events: none;
  opacity: max(var(--it), var(--ot)); transform: translateY(calc(-50% + var(--e) * 7vh - var(--ot) * 25vh)) scale(calc(1 - (1 - var(--it)) * (1 - var(--ot)) * .08)); }
.bh__pre { margin: 0 0 clamp(8px, 2vh, 28px); font-family: var(--xp-head); font-weight: 600; font-size: clamp(1.1rem, .8rem + 1vw, 1.75rem); letter-spacing: -.02em; color: #e8e1d8; }
.bh__title { margin: 0; font-family: var(--xp-head); font-weight: 700; font-size: clamp(3.2rem, 1rem + 9vw, 8.5rem); line-height: 1; letter-spacing: -.05em; white-space: nowrap; padding: 0 .04em .08em; }
.bh__sub { margin: clamp(10px, 3vh, 34px) 0 0; font-family: var(--xp-head); font-weight: 700; font-size: clamp(1.5rem, .9rem + 2.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; opacity: min(1, calc(var(--sw) * 3)); }
.bh__sub span { opacity: clamp(.22, calc(var(--sw) * 7 - var(--i)), 1); }

/* Kopfzeile: Marke + Kapitelreiter */
.bh__top { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; align-items: flex-start; padding: 24px clamp(20px, 2.8vw, 40px); opacity: calc(var(--ch) * (1 - var(--ot))); }
.bh__brand { font-family: var(--xp-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; margin-top: 6px; }
.bh__tabs { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.bh__tabs li { width: 88px; font-size: .8125rem; color: var(--bh-ink-3); }
.bh__tabs i { display: block; height: 2px; margin-bottom: 9px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.bh__tabs s { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #f4e6cf, #b8976f); transform-origin: left; transform: scaleX(0); }

/* Pills unten */
.bh__pills { position: absolute; left: 50%; bottom: clamp(16px, 2.6vh, 24px); z-index: 6; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(20, 18, 16, .78); border: 1px solid var(--bh-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translate(-50%, calc((1 - var(--ch)) * 14px)); opacity: var(--ch); }
.bh-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 99px; font-size: .8125rem; font-weight: 600; color: #ece6de; text-decoration: none; white-space: nowrap; }
.bh-pill--solid { background: #fff; color: #15120f; }
.bh-pill:focus-visible, .bh-url:focus-visible, .bh-with a:focus-visible { outline: 2px solid #d9bf9a; outline-offset: 2px; }

/* Kapitel */
.bh-ch { --t: 0; --v: 0; position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: minmax(280px, 30%) 1fr; gap: clamp(20px, 3vw, 56px); align-items: center; padding: 84px clamp(20px, 2.8vw, 40px) 96px; opacity: var(--v); visibility: hidden; }
.bh-ch.is-on { visibility: visible; }
.bh-ch__copy { transform: translateY(calc((1 - var(--v)) * 22px)); }
.bh-ch__k { margin: 0 0 14px; font-size: .8125rem; font-weight: 600; color: #d9bf9a; }
.bh-ch__h { margin: 0; font-family: var(--xp-head); font-weight: 700; font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; color: #fff; }
.bh-ch__p { margin: 22px 0 0; max-width: 36ch; font-size: clamp(.95rem, .85rem + .3vw, 1.0625rem); line-height: 1.6; color: var(--bh-ink-2); }
.bh-ch__ui { position: relative; height: 100%; min-height: 0; }
.bh-ui { position: absolute; left: 50%; top: 50%; width: 880px; height: 600px; transform: translate(-50%, -50%) scale(var(--sc, 1)) translateY(calc((1 - var(--v)) * 30px)); font-size: 14px; color: var(--bh-ink); }
.bh-ui img { display: block; object-fit: cover; }
.bh-cur { position: absolute; z-index: 5; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); pointer-events: none; }

/* --- 1 Leitstand --- */
.bh-wins { position: absolute; left: 0; top: 0; width: 520px; height: 600px; }
.bh-win { position: absolute; border-radius: 18px; overflow: hidden; border: 1px solid var(--bh-line); background: #1d1a17; }
.bh-win--b2 { --m: clamp(0, (var(--t) - .02) / .12, 1); left: 40px; right: 40px; top: calc(80px - var(--m) * 80px); height: 120px; background: #24201c; opacity: calc(var(--m) * .75); }
.bh-win--b1 { --m: clamp(0, (var(--t) - .02) / .12, 1); left: 20px; right: 20px; top: calc(80px - var(--m) * 40px); height: 120px; background: #2c2722; opacity: var(--m); }
.bh-win--f { left: 0; right: 0; top: 80px; height: 520px; background: var(--bh-paper); color: #1d1915; border-color: transparent; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.bh-win__bar { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 18px; font-size: 14.5px; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #d9d2c8; }
.bh-win--f .bh-win__bar { border-bottom-color: rgba(29, 25, 21, .08); color: #1d1915; }
.bh-logo { font-weight: 800; letter-spacing: -.03em; }
.bh-logo em { color: #b8976f; font-style: normal; }
.bh-con { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; background: rgba(255, 255, 255, .06); color: #b9b0a5; }
.bh-win--f .bh-con { background: #e8efe9; color: #2f5a43; }
.bh-con::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3f9b6b; }
.bh-win__body { padding: 14px 18px; }
.bh-legend { position: absolute; left: 548px; top: 448px; width: 332px; margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.bh-legend li { --on: calc(clamp(0, (var(--t) - var(--a)) * 30, 1) * (1 - clamp(0, (var(--t) - var(--b)) * 30, 1))); display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: rgba(243, 239, 233, calc(.4 + var(--on) * .6)); background: rgba(255, 255, 255, calc(var(--on) * .07)); border: 1px solid rgba(217, 191, 154, calc(var(--on) * .45)); }
.bh-legend b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; color: #1d1915; background: linear-gradient(135deg, #f4e6cf, #b8976f); opacity: calc(.4 + var(--on) * .6); }
.bh-task { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #ebe4da; }
.bh-task img { width: 46px; height: 46px; border-radius: 10px; }
.bh-task p { margin: 0; display: grid; gap: 1px; line-height: 1.3; }
.bh-task small { font-size: 11px; color: #7a6f63; text-transform: uppercase; letter-spacing: .06em; }
.bh-task span:not(.bh-go) { font-size: 12.5px; color: #6b6158; }
.bh-go { --pr: clamp(0, (var(--t) - .2) * 30, 1); margin-left: auto; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 13px; color: #fff; background: #1f1b17; transform: scale(calc(1 - var(--pr) * (1 - clamp(0, (var(--t) - .23) * 30, 1)) * .06)); }
.bh-ui1 .bh-cur { --m: clamp(0, (var(--t) - .08) / .12, 1); right: 26px; top: 34px; opacity: calc(var(--m) * (1 - clamp(0, (var(--t) - .3) * 8, 1))); transform: translate(calc((1 - var(--m)) * -160px), calc((1 - var(--m)) * 90px)); }
.bh-steps { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.bh-steps li { --s: clamp(0, (var(--t) - .24 - var(--i) * .065) * 16, 1); --c: clamp(0, (var(--t) - .28 - var(--i) * .065) * 16, 1); display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(29, 25, 21, .07); opacity: var(--s); transform: translateY(calc((1 - var(--s)) * 10px)); }
.bh-steps i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: #2f5a43; opacity: calc(.15 + var(--c) * .85); transform: scale(calc(.7 + var(--c) * .3)); }
.bh-steps p { margin: 0; display: grid; gap: 2px; line-height: 1.25; }
.bh-steps code { font: 500 12.5px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9a6f43; }
.bh-steps span { font-size: 13.5px; color: #1d1915; }
.bh-outs { position: absolute; left: 548px; top: 66px; width: 332px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bh-out { --o: clamp(0, (var(--t) - .62 - var(--i) * .04) * 12, 1); position: relative; height: 112px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-weight: 700; letter-spacing: -.02em; background: #221e1a; border: 1px solid var(--bh-line); opacity: calc(.12 + var(--o) * .88); transform: translateY(calc((1 - var(--o)) * 14px)) scale(calc(.94 + var(--o) * .06)); }
.bh-out > b { position: relative; z-index: 1; opacity: var(--o); }
.bh-out--dark { background: #0c0b0a; font-size: 22px; color: #f4e6cf; }
.bh-out--light { background: var(--bh-paper); color: #1d1915; font-family: Georgia, serif; font-weight: 400; font-size: 17px; line-height: 1.15; }
.bh-out--img img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: calc(var(--o) * .75); }
.bh-out--img b { color: #fff; font-size: 20px; align-self: flex-end; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.bh-out > span { position: absolute; left: 8px; bottom: 7px; z-index: 1; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-size: 10px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .55); }
.bh-out small { position: absolute; right: 8px; top: 7px; z-index: 1; font-size: 10.5px; font-weight: 600; letter-spacing: 0; padding: 2px 7px; border-radius: 99px; background: rgba(0, 0, 0, .5); color: #f3efe9; font-family: var(--xp-body); opacity: var(--o); }

/* --- 2 Produktakte --- */
.bh-akte { position: absolute; inset: 10px 0 0; border-radius: 18px; overflow: hidden; background: var(--bh-paper); color: #1d1915; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.bh-akte .bh-win__bar { color: #1d1915; border-bottom-color: rgba(29, 25, 21, .08); }
.bh-akte .bh-con { background: #e8efe9; color: #2f5a43; }
.bh-crumb { font-size: 12.5px; color: #8a7f73; margin-left: 10px; }
.bh-akte__in { display: grid; grid-template-columns: 240px 1fr; height: calc(100% - 50px); }
.bh-akte__side { padding: 18px; border-right: 1px solid rgba(29, 25, 21, .08); display: grid; align-content: start; gap: 14px; background: #f1ece4; }
.bh-akte__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e2ddd5; }
.bh-akte__img img { width: 100%; height: 100%; }
.bh-akte__name { margin: 0; display: grid; gap: 2px; }
.bh-akte__name b { font-size: 20px; letter-spacing: -.02em; }
.bh-akte__name span { font-size: 12.5px; color: #2f5a43; }
.bh-ring { display: flex; align-items: center; gap: 12px; }
.bh-ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.bh-ring circle { fill: none; stroke: rgba(29, 25, 21, .1); stroke-width: 6; }
.bh-ring circle.v { stroke: #b8976f; stroke-linecap: round; stroke-dasharray: var(--q, 78) 100; }
.bh-ring p { margin: 0; display: grid; }
.bh-ring b { font-size: 22px; letter-spacing: -.03em; }
.bh-ring small { font-size: 12px; color: #7a6f63; }
.bh-akte__main { position: relative; padding: 16px 22px; }
.bh-akte__tabs { position: relative; display: flex; gap: 4px; margin: 0 0 16px; padding: 0 0 10px; list-style: none; border-bottom: 1px solid rgba(29, 25, 21, .1); }
.bh-akte__tabs li { padding: 6px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: #8a7f73; transition: background-color .3s, color .3s; }
.bh-akte__tabs li.is-on { background: #1f1b17; color: #fff; }
.bh-akte__tabs .bh-akte__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; padding: 0; border-radius: 0; background: linear-gradient(90deg, #b8976f, #e9d5b5); transform-origin: left; transform: scaleX(var(--t)); }
.bh-pane { position: absolute; left: 22px; right: 22px; top: 76px; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .45s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.bh-pane.is-on { opacity: 1; transform: none; }
.bh-pane__h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.bh-pane__h span { font-size: 13px; font-weight: 500; color: #8a7f73; }
.bh-pane__note { margin: 12px 0 0; font-size: 13px; color: #6b6158; }
.bh-pane li, .bh-attrs > div { opacity: 0; transform: translateY(8px); }
.bh-pane.is-on li, .bh-pane.is-on .bh-attrs > div { animation: bhIn .45s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--j) * 70ms + 80ms); }
@keyframes bhIn { to { opacity: 1; transform: none; } }
.bh-attrs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bh-attrs > div { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(29, 25, 21, .07); }
.bh-attrs dt { font-size: 12px; color: #8a7f73; }
.bh-attrs dd { margin: 3px 0 0; font-size: 16px; font-weight: 700; }
.bh-vars { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bh-vars li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(29, 25, 21, .07); }
.bh-vars i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.bh-vars b { font-size: 14px; }
.bh-vars span { font-size: 12.5px; color: #6b6158; }
.bh-media { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bh-media li { position: relative; border-radius: 10px; overflow: hidden; background: #e2ddd5; }
.bh-media li:nth-child(1) img { aspect-ratio: 1; }
.bh-media li:nth-child(2) img { aspect-ratio: 4 / 3; }
.bh-media li:nth-child(3) img { aspect-ratio: 16 / 9; }
.bh-media li:nth-child(4) img { aspect-ratio: 1; object-position: 50% 80%; transform: scale(1.8); }
.bh-media img { width: 100%; height: auto; }
.bh-media small { position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 99px; font-size: 11px; font-weight: 600; background: rgba(0, 0, 0, .55); color: #fff; }
.bh-docs, .bh-hist { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bh-docs li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(29, 25, 21, .07); }
.bh-docs i { width: 10px; height: 10px; border-radius: 50%; background: #3f9b6b; }
.bh-docs li.warn i { background: #c98a2e; box-shadow: 0 0 0 4px rgba(201, 138, 46, .18); }
.bh-docs b { font-size: 15px; }
.bh-docs span { margin-left: auto; font-size: 13px; color: #6b6158; }
.bh-docs li.warn span { color: #8a5a1c; font-weight: 600; }
.bh-hist { position: relative; padding-left: 18px; }
.bh-hist::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#b8976f, rgba(184, 151, 111, .15)); }
.bh-hist li { position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(29, 25, 21, .07); }
.bh-hist li::before { content: ""; position: absolute; left: -18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #b8976f; border: 2px solid var(--bh-paper); }
.bh-hist time { font-size: 12.5px; color: #8a7f73; }
.bh-hist b { font-size: 14.5px; }
.bh-hist span { font-size: 12.5px; color: #6b6158; }

/* --- 3 Übersetzung --- */
.bh-doc { position: absolute; top: 24px; width: 350px; }
.bh-doc--dark { --s: clamp(0, (var(--t) - .16) / .3, 1); left: 40px; transform: perspective(1200px) rotateY(7deg) rotateZ(-1.5deg); }
.bh-doc--light { --s: clamp(0, (var(--t) - .44) / .3, 1); left: 470px; transform: perspective(1200px) rotateY(-7deg) rotateZ(1.5deg); }
.bh-doc__lang { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 16px; color: var(--bh-ink-2); }
.bh-doc__lang i { width: 26px; height: 1px; background: currentColor; opacity: .5; }
.bh-doc__lang em { font-style: normal; font-weight: 700; color: #d9bf9a; opacity: calc(.35 + var(--s) * .65); }
.bh-doc__page { position: relative; height: 460px; padding: 22px; border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.bh-doc--dark .bh-doc__page { background: #0e0d0c; border: 1px solid var(--bh-line); color: #fff; }
.bh-doc--light .bh-doc__page { background: var(--bh-paper); color: #1d1915; }
.bh-doc__top { display: flex; justify-content: space-between; margin: 0 0 22px; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; opacity: .6; }
.bh-doc__txt { display: grid; }
.bh-doc__txt > * { grid-area: 1 / 1; margin: 0; }
.bh-doc__txt .t1 { clip-path: inset(0 0 0 calc(var(--s) * 100%)); }
.bh-doc__txt .t2 { clip-path: inset(0 calc((1 - var(--s)) * 100%) 0 0); }
.bh-doc h4 { font-size: 30px; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.bh-doc--dark h4 { color: #e9d5b5; }
.bh-doc--light h4 { font-family: Georgia, serif; font-weight: 400; font-size: 27px; }
.bh-doc__lead { margin-top: 14px; font-size: 12.5px; line-height: 1.5; opacity: .75; }
.bh-doc ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bh-doc li { display: flex; align-items: baseline; gap: 10px; }
.bh-doc li b { font-size: 22px; color: #e9d5b5; min-width: 104px; }
.bh-doc li span { font-size: 11px; opacity: .6; }
.bh-doc img { position: absolute; right: -40px; bottom: -30px; width: 230px; height: 230px; border-radius: 50%; opacity: .55; }
.bh-doc--light img { left: 22px; right: 22px; bottom: 22px; width: auto; height: 210px; border-radius: 4px; opacity: 1; }
.bh-scan { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 100%); width: 2px; background: linear-gradient(#f4e6cf, #b8976f); box-shadow: 0 0 18px 2px rgba(217, 191, 154, .6); opacity: calc(min(var(--s) * 20, 1) * (1 - clamp(0, (var(--s) - .97) * 33, 1))); }
.bh-chip { --c: clamp(0, (var(--t) - .78) * 12, 1); position: absolute; left: 50%; bottom: 6px; margin: 0; padding: 9px 16px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid var(--bh-line); white-space: nowrap; opacity: var(--c); transform: translate(-50%, calc((1 - var(--c)) * 10px)); }

/* --- 4 Freigabe & Automatisierung --- */
.bh-stepper { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.bh-stepper li { --n: clamp(0, (var(--t) - var(--s0)) * 14, 1); position: relative; display: grid; justify-items: center; gap: 8px; width: 120px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, calc(.4 + var(--n) * .6)); }
.bh-stepper li:nth-child(1) { --s0: .06; } .bh-stepper li:nth-child(2) { --s0: .2; } .bh-stepper li:nth-child(3) { --s0: .3; } .bh-stepper li:nth-child(4) { --s0: .73; } .bh-stepper li:nth-child(5) { --s0: .84; }
.bh-stepper li + li::before { content: ""; position: absolute; top: 25px; right: 85px; width: 140px; height: 2px; background: linear-gradient(90deg, #b8976f, #f4e6cf) left / calc(var(--n) * 100%) 100% no-repeat, rgba(255, 255, 255, .12); }
.bh-stepper i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #2b2116; background: radial-gradient(circle at 35% 30%, #fbf3e6, #c9a57a 45%, #7d6146 80%); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7); transform: scale(calc(.7 + var(--n) * .3)); filter: grayscale(calc(1 - var(--n))) brightness(calc(.45 + var(--n) * .55)); }
.bh-stepper i svg { width: 16px; height: 16px; opacity: var(--n); }
.bh-stepper em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; letter-spacing: .02em; }
.bh-stepper em.auto { color: #9fd9b8; background: rgba(111, 207, 151, .12); }
.bh-stepper em.man { color: #f4e6cf; background: rgba(217, 191, 154, .16); }
.bh-appr { --a: clamp(0, (var(--t) - .08) * 8, 1); position: absolute; left: 0; width: 380px; top: 136px; padding: 16px; border-radius: 18px; background: var(--bh-paper); color: #1d1915; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8); opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 24px)); }
.bh-appr__img { position: relative; height: 196px; border-radius: 10px; overflow: hidden; background: #0c0b0a; }
.bh-appr__img img { width: 100%; height: 100%; }
.bh-appr__img b { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 13px; letter-spacing: .22em; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.bh-appr__h { margin: 14px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.bh-checks { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.bh-checks span { --k: clamp(0, (var(--t) - .2 - var(--i) * .06) * 14, 1); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 13px; background: #ebe4da; color: #3e372f; opacity: calc(.25 + var(--k) * .75); }
.bh-checks svg { opacity: var(--k); color: #2f5a43; }
.bh-appr__btn { --b: clamp(0, (var(--t) - .72) * 20, 1); position: relative; display: grid; margin: 16px 0 0; }
.bh-appr__btn span { grid-area: 1 / 1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; font-size: 14.5px; font-weight: 600; }
.bh-appr__btn .a { background: #1f1b17; color: #fff; opacity: calc(1 - var(--b)); }
.bh-appr__btn .b { background: #5f7a68; color: #fff; opacity: var(--b); transform: scale(calc(.96 + var(--b) * .04)); }
.bh-ui4 .bh-cur { --m: clamp(0, (var(--t) - .56) / .14, 1); left: 70px; top: 22px; opacity: calc(var(--m) * (1 - clamp(0, (var(--t) - .9) * 12, 1))); transform: translate(calc((1 - var(--m)) * 200px), calc((1 - var(--m)) * 120px)); }
.bh-auto { --a: clamp(0, (var(--t) - .12) * 8, 1); position: absolute; left: 404px; right: 0; top: 136px; bottom: 0; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--bh-line); opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 24px)); }
.bh-auto__h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.bh-auto__h b { font-size: 16px; }
.bh-auto__h span { font-size: 12.5px; color: var(--bh-ink-3); }
.bh-auto ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bh-auto li { --r: clamp(0, (var(--t) - var(--r0)) * 30, 1); --d: clamp(0, (var(--t) - var(--d0)) * 30, 1); position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, calc(.03 + var(--r) * (1 - var(--d)) * .05)); border: 1px solid rgba(217, 191, 154, calc(.08 + var(--r) * (1 - var(--d)) * .5)); }
.bh-auto li:nth-child(1) { --r0: .22; --d0: .3; } .bh-auto li:nth-child(2) { --r0: .34; --d0: .44; } .bh-auto li:nth-child(3) { --r0: .74; --d0: .84; } .bh-auto li:nth-child(4) { --r0: .86; --d0: .95; }
.bh-auto li p { grid-column: 1; margin: 0; font-size: 13.5px; color: #ece6de; line-height: 1.35; }
.bh-auto li small { display: inline-block; min-width: 38px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #d9bf9a; }
.bh-auto li em { grid-column: 2; grid-row: 1; justify-self: end; font-style: normal; font-size: 11px; color: var(--bh-ink-3); }
.bh-auto .st { grid-column: 2; grid-row: 2; justify-self: end; display: grid; font-size: 12px; font-weight: 600; }
.bh-auto .st s { grid-area: 1 / 1; text-decoration: none; justify-self: end; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.bh-auto .st s:nth-child(1) { color: var(--bh-ink-3); opacity: calc(1 - var(--r)); }
.bh-auto .st s:nth-child(2) { color: #f4e6cf; opacity: calc(var(--r) * (1 - var(--d))); }
.bh-auto .st s:nth-child(3) { color: #8fd3ad; opacity: var(--d); }
.bh-log { display: grid; gap: 3px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--bh-line); font: 500 11.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--bh-ink-3); }
.bh-log span:nth-child(1) { opacity: clamp(.15, (var(--t) - .24) * 20, 1); } .bh-log span:nth-child(2) { opacity: clamp(.15, (var(--t) - .3) * 20, 1); } .bh-log span:nth-child(3) { opacity: clamp(.15, (var(--t) - .74) * 20, 1); } .bh-log span:nth-child(4) { opacity: clamp(.15, (var(--t) - .85) * 20, 1); }

/* Ausklang: Formatleiste im Bogen */
.bh-strip { position: absolute; left: 50%; top: 49%; z-index: 2; width: 0; height: 0; margin: 0; padding: 0; list-style: none; perspective: 1400px; pointer-events: none; }
.bh-sc { --w: clamp(150px, 15vw, 240px); --f: clamp(0, calc(var(--st) * 1.9 - var(--a) * .09), 1); position: absolute; left: calc(var(--w) / -2); top: 0; width: var(--w); aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; background: #0c0b0a; border: 1px solid var(--bh-line); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
  opacity: var(--f); transform: translate(calc(var(--i) * var(--w) * .96), calc(var(--i) * var(--i) * 7px + (1 - var(--f)) * 60vh)) rotateZ(calc(var(--i) * 2.4deg + (1 - var(--f)) * var(--i) * 8deg)) rotateY(calc(var(--i) * -5deg)); }
.bh-sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh-sc b { position: relative; font-size: calc(var(--w) * .12); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: #f3efe9; }
.bh-sc--light { background: var(--bh-paper); }
.bh-sc--light b { color: #1d1915; font-family: Georgia, serif; font-weight: 400; }
.bh-sc--gold b { background: var(--bh-gold); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.bh-sc small { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; background: rgba(0, 0, 0, .55); color: #f3efe9; }
.bh__end { position: absolute; left: 0; right: 0; bottom: clamp(70px, 11vh, 110px); z-index: 4; display: grid; justify-items: center; gap: 14px; padding: 0 20px; text-align: center; opacity: var(--en); transform: translateY(calc((1 - var(--en)) * 16px)); visibility: hidden; }
.bh.is-end .bh__end { visibility: visible; }
.bh-url { display: inline-flex; align-items: center; gap: 4px; padding: 5px 5px 5px 18px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid var(--bh-line); color: #e8e1d8; text-decoration: none; font-size: .9375rem; }
.bh-url b { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 8px 14px; border-radius: 99px; background: #fff; color: #15120f; font-size: .875rem; }
.bh-with { margin: 0; font-size: .875rem; color: var(--bh-ink-2); }
.bh-with a { margin-left: 8px; display: inline-flex; align-items: center; gap: 5px; color: #f4e6cf; font-weight: 600; text-decoration: none; }
.bh-note { margin: 0; font-size: .75rem; color: var(--bh-ink-3); }

html.bh-pinned .site-header { transform: translateY(-100%); }
.site-header { transition: transform .35s var(--ease, ease), background-color .2s, border-color .2s; }

/* Mobil: Text oben, Oberfläche darunter skaliert */
@media (max-width: 900px) {
  .bh { height: 1000vh; }
  .bh-ch { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 12px; padding: 78px 20px 80px; }
  .bh-ch__h { font-size: clamp(1.6rem, 1rem + 3.4vw, 2.4rem); }
  .bh-ch__h br { display: none; }
  .bh-ch__p { margin-top: 10px; font-size: .9rem; line-height: 1.5; }
  .bh__tabs { gap: 6px; width: 100%; }
  .bh__tabs li { flex: 1; width: auto; min-width: 0; font-size: .625rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bh-ch { padding-top: 112px; }
  .bh-url { font-size: .8125rem; white-space: nowrap; }
  .bh-url b { margin-left: 6px; }
  .bh__top { padding: 18px 20px; flex-direction: column; gap: 10px; }
  .bh__brand { font-size: 1rem; margin: 0; }
  .bh-strip { top: 46%; }
  /* Oberfläche direkt unter dem Text, nicht in der Mitte der Restfläche */
  .bh-ui { top: 6px; transform-origin: 50% 0; transform: translate(-50%, 0) scale(var(--sc, 1)) translateY(calc((1 - var(--v)) * 30px)); }
  /* Kapitel 1: nur das Leitstand-Fenster, dafür deutlich größer */
  .bh-ui1 { width: 520px; transform: translate(-50%, 0) scale(var(--scn, var(--sc, 1))) translateY(calc((1 - var(--v)) * 30px)); }
  .bh-ui1 .bh-outs, .bh-ui1 .bh-legend { display: none; }
  .bh-sc { --w: 128px; }
}
@media (max-width: 900px) and (max-height: 700px) { .bh-ch__p { display: none; } }

/* Ohne Bewegung: alles gestapelt im Endzustand */
.bh:not(.is-live) { height: auto; }
.bh:not(.is-live) .bh__pin { position: relative; height: auto; overflow: visible; }
.bh:not(.is-live) .bh__card { position: relative; clip-path: none; border-radius: 0; padding: 72px 0 40px; display: grid; gap: 24px; }
.bh:not(.is-live) .bh__intro { position: relative; top: auto; transform: none; opacity: 1; --sw: 1; padding: 0 20px; }
.bh:not(.is-live) .bh__top, .bh:not(.is-live) .bh__pills, .bh:not(.is-live) .bh-strip { display: none; }
.bh:not(.is-live) .bh-ch { position: relative; --t: 1; --v: 1; visibility: visible; min-height: 0; padding-top: 40px; padding-bottom: 40px; }
.bh:not(.is-live) .bh-ch__ui { height: calc(600px * var(--sc, 1)); }
.bh:not(.is-live) .bh-cur { display: none; }
.bh:not(.is-live) .bh__end { position: relative; bottom: auto; --en: 1; opacity: 1; transform: none; visibility: visible; }
@media (max-width: 900px) { .bh:not(.is-live) .bh-ch { grid-template-rows: auto auto; } }
