/* ===== styles.css ===== */
/* AgenticLXP · Seite 0 „Was ist eine Agentic LXP?“
   Tokens: courseticket Design System (claude.ai/design), unter .ai-page statt :root (CMS-Regel).
   Ohne JS: alles lesbar, der Film erscheint als Kapitel mit Standbildern. Mit JS setzt main.js .ap-js. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://ctprdct-statamic-cms.s3.eu-west-1.amazonaws.com/assets/ai-pages/2c4aac47-e467-40f1-bf4d-24c7b4a3b367/assets/fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://ctprdct-statamic-cms.s3.eu-west-1.amazonaws.com/assets/ai-pages/2c4aac47-e467-40f1-bf4d-24c7b4a3b367/assets/fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://ctprdct-statamic-cms.s3.eu-west-1.amazonaws.com/assets/ai-pages/2c4aac47-e467-40f1-bf4d-24c7b4a3b367/assets/fonts/poppins-600-latin.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
.ai-page {
  --navy-deep: #111828; --surface-slate: #1F2938; --signal-blue: #289CE2; --depth-blue: #0069AA; --depth-blue-hover: #005A92; /* 04.11.2026 an Website-Relaunch angeglichen (vorher #0076B4/#00669C) */
  --ice-cyan: #74D2FF; --paper: #F8FAFB; --white: #FFFFFF;
  --gradient-signature: linear-gradient(90deg, #289CE2, #74D2FF);
  /* 05.11.2026 (Chef): Textfarben wie courseticket.com (ct-body/ct-lead #4B5567, -dark #D1D7DE, ct-muted-dark #9CA5B0) */
  --text-body: #111828; --text-muted: #4B5567; --text-faint: rgba(17,24,40,.5);
  --border-hairline: rgba(17,24,40,.10); --border-strong: rgba(17,24,40,.18);
  --text-body-dark: #F8FAFB; --text-muted-dark: #D1D7DE; --text-faint-dark: #9CA5B0;
  --border-hairline-dark: rgba(116,210,255,.14); --border-glow-dark: rgba(40,156,226,.35);
  --focus-ring: 0 0 0 2px var(--paper), 0 0 0 4px var(--signal-blue);
  --focus-ring-dark: 0 0 0 2px var(--navy-deep), 0 0 0 4px var(--signal-blue);
  --shadow-card: 0 1px 2px rgba(17,24,40,.05), 0 8px 24px rgba(17,24,40,.07);
  --shadow-card-hover: 0 2px 4px rgba(17,24,40,.06), 0 14px 36px rgba(17,24,40,.11);
  --glass-surface: linear-gradient(160deg, rgba(116,210,255,.07), rgba(31,41,56,.72) 38%);
  --glass-border: 1px solid rgba(116,210,255,.16);
  --glass-glow: 0 -1px 0 rgba(116,210,255,.25) inset, 0 30px 70px rgba(0,0,0,.5), 0 18px 50px -18px rgba(40,156,226,.45);
  --ease-out: cubic-bezier(0.22,1,0.36,1); --ease-cine: cubic-bezier(0.65,0,0.35,1);
  --dur-fast: 140ms; --dur-base: 220ms; --dur-slow: 420ms;
  --l1: #289CE2; --l2: #52B7FF; --l3: #74D2FF; /* Ebenen-Farben = Hover-Farben der Übersicht (Katalog-Blautöne) */
  --wrap: 1160px; --section-pad: clamp(72px, 10vw, 128px);
  /* 04.11.2026: Fliesstext Inter wie courseticket.com (liefert das CMS global),
     Ueberschriften/Buttons/Labels Poppins - Regel unter den Tokens. */
  --font-head: "Poppins", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-family: "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.62; color: var(--text-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
.ai-page *, .ai-page *::before, .ai-page *::after { box-sizing: border-box; }
/* Poppins fuer Ueberschrift-, Knopf- und Label-artiges sowie SVG-Beschriftungen der Motion Graphics (04.11.2026) */
.ai-page h1,
.ai-page h2,
.ai-page h3,
.ai-page h4,
.ai-page svg,
.ai-page .ap-eyebrow,
.ai-page .ap-h2,
.ai-page .ap-hero__title,
.ai-page .ap-table thead th,
.ai-page .ap-table tbody th,
.ai-page .ap-quote p,
.ai-page .ap-card__kicker,
.ai-page .ap-card__title,
.ai-page .ap-layers a span,
.ai-page .ap-relay__title,
.ai-page .ap-finale__word,
.ai-page .ap-hud__chapter,
.ai-page .ap-warum__eyebrow,
.ai-page .ap-satz__text,
.ai-page .ap-tag,
.ai-page .ap-tip__k,
.ai-page .ap-tip__t,
.ai-page .ap-loader__num,
.ai-page .ap-trust__big,
.ai-page .ap-card__quote p,
.ai-page .ap-chip,
.ai-page .ap-vertrauen__h,
.ai-page .lp-hero__title,
.ai-page .lp-row__n,
.ai-page .lp-band__track,
.ai-page .lp-dcard dt,
.ai-page .lp-link,
.ai-page .lp-claim,
.ai-page .lp-facts strong,
.ai-page .lp-scard__go { font-family: var(--font-head); }
.ai-page img { max-width: 100%; }
.ai-page h1, .ai-page h2, .ai-page h3, .ai-page p, .ai-page ol, .ai-page ul, .ai-page blockquote, .ai-page figure { margin: 0; }
.ai-page .ap-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * clamp(16px, 4vw, 48px)); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.ai-page .ap-wrap--narrow { max-width: 920px; }
.ai-page .ap-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ai-page .ap-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-blue); margin-bottom: 20px; }
.ai-page .ap-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gradient-signature); border-radius: 2px; }
.ai-page .ap-eyebrow--light { color: var(--depth-blue); }
.ai-page .ap-h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; line-height: 1.14; letter-spacing: -.02em; max-width: 20ch; }
.ai-page .ap-grad { background: var(--gradient-signature); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-page .ap-grad--light { background: linear-gradient(90deg, #0069AA, #289CE2); -webkit-background-clip: text; background-clip: text; }

.ai-page .ap-btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1.4 "Poppins", sans-serif; padding: 12px 20px; min-height: 44px; border-radius: 9999px; /* Pill wie courseticket.com seit 11/2026, vorher 500 16px, 16px 26px, 12px */ text-decoration: none; white-space: nowrap; transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base); }
.ai-page .ap-btn--primary { background: var(--depth-blue); color: var(--white); box-shadow: 0 10px 30px -12px rgba(40,156,226,.75), 0 0 0 1px rgba(116,210,255,.12) inset; }
.ai-page .ap-btn--primary:hover { background: var(--depth-blue-hover); box-shadow: 0 14px 38px -12px rgba(40,156,226,.9), 0 0 0 1px rgba(116,210,255,.2) inset; }
.ai-page .ap-btn--lg { padding: 15px 28px; font-size: 16px; }
.ai-page .ap-btn--text { color: var(--text-body-dark); padding: 16px 6px; }
.ai-page .ap-btn--text span { display: inline-block; transition: transform var(--dur-slow) var(--ease-out); }
.ai-page .ap-btn--text:hover span { transform: translateY(4px); }
.ai-page a:focus-visible, .ai-page button:focus-visible, .ai-page summary:focus-visible { outline: none; box-shadow: var(--focus-ring-dark); }

/* ---------- 1 Hero ---------- */
.ai-page .ap-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--text-body-dark); background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.ai-page .ap-hero__media { position: absolute; inset: -4%; z-index: -1; will-change: transform; }
.ai-page .ap-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.ai-page .ap-hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(17,24,40,.94) 0%, rgba(17,24,40,.78) 34%, rgba(17,24,40,.18) 70%, rgba(17,24,40,.35) 100%),
  linear-gradient(180deg, rgba(17,24,40,.5) 0%, transparent 22%, transparent 70%, #111828 100%); }
.ai-page .ap-hero__inner { padding-top: 120px; padding-bottom: 120px; }
.ai-page .ap-hero__title { font-size: clamp(46px, 7.2vw, 108px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; max-width: 11ch; margin-bottom: 32px; }
.ai-page .ap-hero__title .ap-grad { padding-bottom: .24em; margin-bottom: -.16em; } /* Verlauf (background-clip: text) reicht sonst nicht bis unter das „g“ */
.ai-page .ap-hero__lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--text-muted-dark); max-width: 640px; }
.ai-page .ap-hero__entity { font-size: 14px; line-height: 1.6; color: var(--text-faint-dark); max-width: 560px; margin-top: 18px; padding-left: 16px; border-left: 1px solid var(--border-hairline-dark); }
.ai-page .ap-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 40px; }
.ai-page .ap-hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-faint-dark); }
.ai-page .ap-hero__scroll i { width: 1px; height: 44px; background: linear-gradient(180deg, rgba(116,210,255,.7), transparent); transform-origin: top; }

/* ---------- 2 Reifegrad ---------- */
.ai-page .ap-matrix { background: var(--white); padding: var(--section-pad) 0; position: relative; }
.ai-page .ap-matrix .ap-h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.ai-page .ap-table-wrap { position: relative; }
.ai-page .ap-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; table-layout: fixed; }
.ai-page .ap-table thead td { width: 19%; }
.ai-page .ap-table thead th { width: 27%; }
.ai-page .ap-table th, .ai-page .ap-table td { text-align: left; vertical-align: top; padding: 24px 24px; border-bottom: 1px solid var(--border-hairline); }
.ai-page .ap-table thead th { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); padding-bottom: 20px; border-bottom: 1px solid var(--border-strong); }
.ai-page .ap-table thead td { border-bottom: 1px solid var(--border-strong); }
.ai-page .ap-table tbody th { font-size: 14px; font-weight: 600; color: var(--navy-deep); }
.ai-page .ap-table td { color: var(--text-muted); }
.ai-page .ap-table .is-hl { background: linear-gradient(180deg, rgba(40,156,226,.09), rgba(40,156,226,.05)); color: var(--navy-deep); font-weight: 500; font-size: 16.5px; border-left: 1px solid rgba(40,156,226,.22); border-right: 1px solid rgba(40,156,226,.22); }
.ai-page .ap-table thead .is-hl { border-top: 1px solid rgba(40,156,226,.22); border-radius: 20px 20px 0 0; position: relative; color: var(--navy-deep); }
.ai-page .ap-table thead .is-hl::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: var(--gradient-signature); border-radius: 2px; }
.ai-page .ap-table tbody tr:last-child .is-hl { border-radius: 0 0 20px 20px; }
.ai-page .ap-table__badge { display: inline-flex; align-items: center; gap: 8px; color: var(--depth-blue); }
.ai-page .ap-table__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal-blue); box-shadow: 0 0 0 4px rgba(40,156,226,.16); }
@media (max-width: 820px) {
  .ai-page .ap-table, .ai-page .ap-table tbody, .ai-page .ap-table tr, .ai-page .ap-table th, .ai-page .ap-table td { display: block; width: auto; }
  .ai-page .ap-table thead { display: none; }
  .ai-page .ap-table tbody tr { border: 1px solid var(--border-hairline); border-radius: 20px; margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
  .ai-page .ap-table tbody th { padding: 18px 20px 6px; border: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--depth-blue); }
  .ai-page .ap-table td { padding: 10px 20px; border: 0; display: grid; grid-template-columns: 112px 1fr; gap: 12px; }
  .ai-page .ap-table td::before { content: attr(data-label); font-size: 13px; color: var(--text-faint); }
  .ai-page .ap-table td.is-hl { border: 0; border-top: 1px solid rgba(40,156,226,.18); padding-bottom: 16px; border-radius: 0 !important; }
}

/* ---------- 3 Film: Grundzustand ohne JS = Kapitel untereinander ---------- */
.ai-page .ap-film { position: relative; background: var(--navy-deep); color: var(--text-body-dark); }
.ai-page .ap-film__stage { display: none; }
.ai-page .ap-film__chapters { padding: var(--section-pad) 0; max-width: 1160px; margin: 0 auto; }
.ai-page .ap-ch { padding: 0 clamp(16px, 4vw, 48px) 72px; }
.ai-page .ap-ch__still { display: block; width: 100%; height: auto; border-radius: 20px; margin-bottom: 28px; }
.ai-page .ap-quote p { font-size: clamp(26px, 3.4vw, 52px); font-weight: 600; line-height: 1.18; letter-spacing: -.025em; max-width: 22ch; margin-bottom: 40px; }
.ai-page .ap-quote em { font-style: normal; background: var(--gradient-signature); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-page .ap-card__kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-blue); margin-bottom: 14px; }
.ai-page .ap-card__title { font-size: clamp(20px, 1.65vw, 27px); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 14px; }
.ai-page .ap-card__text { color: var(--text-muted-dark); font-size: 15px; line-height: 1.6; }
.ai-page .ap-card__link { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--ice-cyan); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 6px; }
/* 18.11.2026 (Chef: „unterstrichene Icons bei den Pfeil-Links“): Die Linie lag am ganzen Link und lief dadurch auch unter dem Pfeil (Flex-Kind erbt
   die Unterstreichung des Links). Jetzt nur unter dem Text (.ap-link__t), der Pfeil bleibt frei. Regel für alle Seiten: Symbole nie unterstreichen. */
.ai-page .ap-card__link span[aria-hidden="true"] { transition: transform var(--dur-slow) var(--ease-out); }
.ai-page .ap-card__link:hover span[aria-hidden="true"] { transform: translateX(5px); }
/* 18.11.2026 abends (CMS-Vorschau gemessen): Das CMS unterstreicht Links beim Hovern selbst mit höherer Spezifität als unsere Grundregel, die Linie lag
   dadurch wieder am ganzen Link und lief unter dem Pfeil. Deshalb Link in jedem Zustand ohne Linie (a.-Selektor schlägt die CMS-Regel), Linie nur am Text. */
.ai-page a.ap-card__link, .ai-page a.ap-card__link:hover, .ai-page a.ap-card__link:focus-visible { text-decoration: none; }
.ai-page a.ap-card__link:hover .ap-link__t, .ai-page a.ap-card__link:focus-visible .ap-link__t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ai-page .ap-card__hint, .ai-page .ap-card__explore { display: none; }
.ai-page .ap-layers { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 8px; }
.ai-page .ap-layers a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; color: var(--text-body-dark); text-decoration: none; font-weight: 500; border: 1px solid var(--border-hairline-dark); background: rgba(255,255,255,.03); transition: background-color var(--dur-base), border-color var(--dur-base); }
.ai-page .ap-layers a span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--navy-deep); background: var(--layer, var(--signal-blue)); }
.ai-page .ap-layers a[data-layer="l1"] { --layer: var(--l1); }
.ai-page .ap-layers a[data-layer="l2"] { --layer: var(--l2); }
.ai-page .ap-layers a[data-layer="l3"] { --layer: var(--l3); }
.ai-page .ap-layers a:hover, .ai-page .ap-layers a.is-hot { background: rgba(116,210,255,.07); border-color: rgba(116,210,255,.32); }
.ai-page .ap-relay { margin-top: 24px; }
.ai-page .ap-relay__title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint-dark); }
.ai-page .ap-relay__pause { display: none; }
.ai-page .ap-relay__steps { padding-left: 1.2em; color: var(--text-muted-dark); font-size: 14px; }
.ai-page .ap-finale { text-align: center; padding: 24px 0; }
.ai-page .ap-finale__logo { display: block; width: 200px; height: auto; opacity: .9; margin: 0 auto; } /* zentriert (User 06.11.2026) */
.ai-page .ap-finale__word { font-size: clamp(44px, 7vw, 104px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; background: linear-gradient(180deg, #fff 20%, #74D2FF 120%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 18px; padding-bottom: .14em; margin-bottom: -.14em; } /* Unterlänge des „g“ nicht abschneiden: background-clip:text malt nur innerhalb der Box (User 06.11.2026) */
.ai-page .ap-finale__claim { font-size: clamp(17px, 1.6vw, 22px); color: var(--text-muted-dark); margin-top: 8px; }

/* ---------- 3 Film: Kino-Modus (mit JS) ---------- */
.ai-page.ap-js .ap-film__stage { display: block; position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: #0d1220; contain: layout paint; }
.ai-page.ap-js .ap-film__chapters { position: absolute; inset: 0; padding: 0; max-width: none; margin: 0; pointer-events: none; z-index: 6; }
.ai-page.ap-js .ap-film__chapters > .ap-ch { position: absolute; inset: 0; padding: 0; }
.ai-page.ap-js .ap-ch__still { display: none; }
.ai-page .ap-film__media { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 50%; backface-visibility: hidden; }
.ai-page .ap-film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: url(#apGrade); } /* 05.11.: Film-Hintergrund auf #111828 (src/main.js grade) */
.ai-page .ap-film__overlay { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; z-index: 3; }
.ai-page .ap-film__vignette { position: absolute; inset: 0; pointer-events: none; z-index: 4; background:
  radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8,11,20,.55) 100%),
  linear-gradient(180deg, rgba(13,18,32,.55) 0%, transparent 18%, transparent 62%, rgba(13,18,32,.72) 100%); }
.ai-page .ap-film__grain { position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ai-page .ap-film__light { display: none; }

/* HUD */
.ai-page .ap-hud { position: absolute; inset: 0; z-index: 7; pointer-events: none; color: var(--text-faint-dark); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-feature-settings: "tnum"; }
.ai-page .ap-hud__corner { position: absolute; width: 18px; height: 18px; border-color: rgba(116,210,255,.38); border-style: solid; border-width: 0; }
.ai-page .ap-hud__corner--tl { left: 22px; top: calc(22px + var(--ap-top, 0px)); border-left-width: 1px; border-top-width: 1px; }
.ai-page .ap-hud__corner--tr { right: 22px; top: calc(22px + var(--ap-top, 0px)); border-right-width: 1px; border-top-width: 1px; }
.ai-page .ap-hud__corner--bl { left: 22px; bottom: 22px; border-left-width: 1px; border-bottom-width: 1px; }
.ai-page .ap-hud__corner--br { right: 22px; bottom: 22px; border-right-width: 1px; border-bottom-width: 1px; }
.ai-page .ap-hud__chapter { position: absolute; left: 52px; top: calc(42px + var(--ap-top, 0px)); display: flex; align-items: center; gap: 14px; color: var(--text-muted-dark); }
.ai-page .ap-hud__chapter span:first-child { color: var(--ice-cyan); font-weight: 600; }
.ai-page .ap-hud__chapter i { width: 40px; height: 1px; background: rgba(116,210,255,.4); }
.ai-page .ap-hud__meta { position: absolute; right: 52px; top: calc(42px + var(--ap-top, 0px)); display: flex; gap: 22px; }

/* Kapitel-Leiste */
.ai-page .ap-rail { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 8; display: flex; flex-direction: column; gap: 6px; }
.ai-page .ap-rail::before { content: ""; position: absolute; right: 11px; top: 14px; bottom: 14px; width: 1px; background: rgba(116,210,255,.16); }
.ai-page .ap-rail__fill { position: absolute; right: 11px; top: 14px; width: 1px; height: calc(100% - 28px); background: var(--gradient-signature); background: linear-gradient(180deg, #289CE2, #74D2FF); transform-origin: top; transform: scaleY(var(--p, 0)); }
.ai-page .ap-rail button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--text-faint-dark); font: 500 12px/1 "Poppins", sans-serif; letter-spacing: .08em; border-radius: 6px; }
.ai-page .ap-rail button span { opacity: 0; transform: translateX(8px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), color var(--dur-base); white-space: nowrap; }
.ai-page .ap-rail button i { width: 23px; height: 23px; display: grid; place-items: center; }
.ai-page .ap-rail button i::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(116,210,255,.45); transition: transform var(--dur-slow) var(--ease-out), background-color var(--dur-base), box-shadow var(--dur-base); }
.ai-page .ap-rail:hover button span, .ai-page .ap-rail button:focus-visible span { opacity: 1; transform: none; }
.ai-page .ap-rail button.is-active { color: var(--white); }
.ai-page .ap-rail button.is-active i::after { transform: scale(1.8); background: var(--ice-cyan); box-shadow: 0 0 12px rgba(116,210,255,.9); }
.ai-page .ap-rail button:hover { color: var(--white); }

/* Karten */
.ai-page.ap-js .ap-ch .ap-card {
  position: absolute; left: clamp(24px, 4.2vw, 80px); bottom: clamp(28px, 5.5vh, 64px); width: min(420px, 31vw);
  padding: 24px 26px 20px; border-radius: 20px; background: var(--glass-surface); border: var(--glass-border); box-shadow: var(--glass-glow);
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity .45s var(--ease-out), transform .7s var(--ease-out);
}
.ai-page.ap-js .ap-ch .ap-card::before { content: ""; position: absolute; left: 32px; top: 0; width: 64px; height: 2px; background: var(--chip, var(--gradient-signature)); border-radius: 0 0 2px 2px; }
.ai-page.ap-js .ap-ch[data-color="l1"] { --chip: linear-gradient(90deg, #289CE2, #2FD3C7); }
.ai-page.ap-js .ap-ch[data-color="l2"] { --chip: linear-gradient(90deg, #A79BFF, #52B7FF); }
.ai-page.ap-js .ap-ch[data-color="l3"] { --chip: linear-gradient(90deg, #289CE2, #74D2FF); }
.ai-page.ap-js .ap-ch.is-active .ap-card { opacity: 1; transform: none; pointer-events: auto; transition: opacity .7s var(--ease-out) .12s, transform 1s var(--ease-out) .12s;
  backdrop-filter: blur(16px) saturate(125%); -webkit-backdrop-filter: blur(16px) saturate(125%); }
.ai-page.ap-js .ap-ch .ap-card > * { transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.ai-page.ap-js .ap-ch:not(.is-active) .ap-card > * { opacity: 0; transform: translateY(10px); }
.ai-page.ap-js .ap-ch.is-active .ap-card > :nth-child(2) { transition-delay: .2s; }
.ai-page.ap-js .ap-ch.is-active .ap-card > :nth-child(3) { transition-delay: .3s; }
.ai-page.ap-js .ap-ch.is-active .ap-card > :nth-child(4) { transition-delay: .4s; }
.ai-page.ap-js .ap-ch.is-active .ap-card > :nth-child(5) { transition-delay: .5s; }
.ai-page.ap-js .ap-card__explore { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-hairline-dark); font-size: 12.5px; color: var(--text-faint-dark); }
.ai-page.ap-js .ap-card__explore::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ice-cyan); box-shadow: 0 0 8px rgba(116,210,255,.7); }

/* R0: Zitat */
.ai-page.ap-js .ap-ch--intro .ap-quote { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); width: min(1100px, 86vw); text-align: center; }
.ai-page.ap-js .ap-ch--intro .ap-quote p { margin: 0 auto; max-width: 21ch; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.08; letter-spacing: -.035em; text-shadow: 0 10px 60px rgba(13,18,32,.8); }
.ai-page.ap-js .ap-ch--intro .ap-card__hint { display: block; margin-top: 18px; font-size: 12.5px; color: var(--text-faint-dark); }
.ai-page .ap-word { display: inline-block; will-change: transform, filter, opacity; }
.ai-page .ap-quote em .ap-word { background: var(--gradient-signature); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }

/* Staffellauf-Tafel */
.ai-page.ap-js .ap-relay {
  position: absolute; left: 50%; top: calc(clamp(86px, 13vh, 140px) + var(--ap-top, 0px)); transform: translate(-50%, -12px); margin: 0; width: min(420px, 40vw);
  padding: 16px 18px 14px; border-radius: 20px; background: linear-gradient(160deg, rgba(116,210,255,.10), rgba(17,24,40,.55) 55%);
  border: 1px solid rgba(116,210,255,.24); box-shadow: 0 0 0 1px rgba(40,156,226,.08), 0 20px 60px -20px rgba(40,156,226,.55), 0 -1px 0 rgba(116,210,255,.35) inset;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), visibility 0s linear .8s;
}
.ai-page.ap-js .ap-ch.is-active .ap-relay { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: opacity .8s var(--ease-out) .4s, transform 1s var(--ease-out) .4s, visibility 0s; }
.ai-page.ap-js .ap-relay__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ai-page.ap-js .ap-relay__pause { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border-hairline-dark); background: rgba(255,255,255,.04); cursor: pointer; color: var(--text-muted-dark); }
.ai-page.ap-js .ap-relay__pause span { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.ai-page .ap-motion-pause { position: absolute; right: 64px; bottom: 30px; z-index: 6; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 1px solid var(--border-hairline-dark); background: rgba(13,18,32,.45); color: var(--text-muted-dark); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility 0s linear .4s, color .2s; }
.ai-page .ap-motion-pause.is-on { opacity: .75; visibility: visible; transition: opacity .4s var(--ease-out), visibility 0s, color .2s; }
.ai-page .ap-motion-pause:hover { opacity: 1; color: var(--white); }
.ai-page .ap-motion-pause:focus-visible { opacity: 1; visibility: visible; box-shadow: var(--focus-ring); }
.ai-page .ap-motion-pause span { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.ai-page .ap-motion-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.ai-page.ap-js .ap-relay__pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.ai-page.ap-js .ap-relay__steps { list-style: none; padding: 0; position: relative; height: 44px; }
.ai-page.ap-js .ap-relay__steps li { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-muted-dark); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.ai-page.ap-js .ap-relay__steps li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--agent) 22%, transparent); border: 1px solid color-mix(in srgb, var(--agent) 60%, transparent); box-shadow: 0 0 16px color-mix(in srgb, var(--agent) 40%, transparent); }
.ai-page.ap-js .ap-relay__steps li b { color: var(--white); font-weight: 600; margin-right: 4px; }
.ai-page.ap-js .ap-relay__steps li.is-on { opacity: 1; transform: none; }
.ai-page.ap-js .ap-relay__dots { display: flex; gap: 6px; margin-top: 10px; }
.ai-page.ap-js .ap-relay__dots i { height: 2px; flex: 1; background: rgba(116,210,255,.16); border-radius: 2px; overflow: hidden; position: relative; }
.ai-page.ap-js .ap-relay__dots i::after { content: ""; position: absolute; inset: 0; background: var(--ice-cyan); transform-origin: left; transform: scaleX(var(--f, 0)); }
/* Schlüssel = Würfel-Position im Film; Farbe = Agent laut courseticket.com (05.11.2026, siehe content.js) */
.ai-page [data-agent="admin"] { --agent: #34D399; }    /* Skill-Agent, grüner Würfel */
.ai-page [data-agent="tutor"] { --agent: #52B7FF; }    /* Content-Agent, blauer Würfel */
.ai-page [data-agent="content"] { --agent: #A79BFF; }  /* Tutor-Agent, lila Würfel */
.ai-page [data-agent="profiler"] { --agent: #CFEFFF; } /* Admin-Agent, weißer Würfel: hellblau statt bernstein (User 05.11.2026) */


/* RX: Ebenen-Liste kompakt */
.ai-page.ap-js .ap-ch[data-ch="rx"] .ap-card { width: min(400px, 34vw); }

/* RE: Finale */
.ai-page.ap-js .ap-ch--end .ap-finale { position: absolute; left: 50%; bottom: clamp(48px, 10vh, 120px); transform: translateX(-50%); width: 92vw; }
.ai-page.ap-js .ap-ch--end .ap-finale > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
.ai-page.ap-js .ap-ch--end.is-active .ap-finale > * { opacity: 1; transform: none; }
.ai-page.ap-js .ap-ch--end.is-active .ap-finale > :nth-child(2) { transition-delay: .18s; }
.ai-page.ap-js .ap-ch--end.is-active .ap-finale > :nth-child(3) { transition-delay: .36s; }
/* Wenn „Warum courseticket“ aufscheint, tritt das Finale zurück */
.ai-page.ap-js .ap-film__stage.is-warum .ap-ch--end .ap-finale > * { opacity: 0; transform: translate3d(0, -18px, 0); transition-delay: 0s; }

/* ---------- Warum courseticket (Inhalt der KI-Workshop-Seite, Abschnitt 6) ----------
   Vier Aussagesätze bauen sich wortweise auf, ein Schlüsselwort bekommt eine wachsende Unterstreichung,
   daneben eine kleine SVG-Animation. Alle Bewegung als CSS-Transition an .ist-da (läuft im Compositor,
   auch wenn rAF klemmt). Ohne JS stehen die Sätze vollständig da. */
.ai-page .ap-warum { padding: 8px 0 24px; }
.ai-page .ap-warum__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ice-cyan); margin-bottom: 18px; }
.ai-page .ap-saetze { display: grid; gap: 0; }
.ai-page .ap-satz { display: grid; grid-template-columns: minmax(0, 1fr) 104px; column-gap: 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--border-hairline-dark); }
.ai-page .ap-satz__text, .ai-page .ap-satz__zusatz { grid-column: 1; }
.ai-page .ap-satz__bild { grid-column: 2; grid-row: 1 / -1; justify-self: end; width: 104px; color: #52B7FF; }
.ai-page .ap-satz__bild svg { width: 100%; height: auto; display: block; overflow: visible; }
.ai-page .ap-satz__text { margin: 0; font-size: clamp(21px, 2.1vw, 31px); font-weight: 600; line-height: 1.34; letter-spacing: -.01em; color: var(--white); text-wrap: balance; }
.ai-page .ap-satz__zusatz { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-muted-dark); max-width: 54ch; }
.ai-page .ap-strich { position: relative; font-style: normal; color: var(--white); }
.ai-page .ap-strich::after { content: ""; position: absolute; left: -.03em; right: -.03em; bottom: -.12em; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #289CE2, #74D2FF); box-shadow: 0 0 14px rgba(116,210,255,.45); transform-origin: left center; }

/* Im Film: Bühne über dem verblassten Bild, 2×2 auf dem Desktop */
.ai-page.ap-js .ap-ch--end .ap-warum { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; padding: 72px clamp(24px, 6vw, 96px) 56px; visibility: hidden; transition: visibility 0s linear .6s; }
.ai-page.ap-js .ap-film__stage.is-warum .ap-ch--end .ap-warum { visibility: visible; transition-delay: 0s; }
.ai-page.ap-js .ap-ch--end .ap-warum__eyebrow, .ai-page.ap-js .ap-ch--end .ap-saetze { width: min(1120px, 100%); }
.ai-page.ap-js .ap-ch--end .ap-saetze { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); }
.ai-page.ap-js .ap-ch--end .ap-satz:nth-child(-n+2) { border-top: 0; }
.ai-page.ap-js .ap-ch--end .ap-warum__eyebrow { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.ai-page.ap-js .ap-ch--end .ap-satz__zusatz { opacity: 0; transition: opacity .6s var(--ease-out); }
.ai-page.ap-js .ap-ch--end .ap-satz { border-top-color: transparent; transition: border-color .6s var(--ease-out); }
.ai-page.ap-js .ap-warum.ist-da .ap-warum__eyebrow { opacity: 1; transform: none; }
.ai-page.ap-js .ap-satz.ist-da .ap-satz__zusatz { opacity: 1; transition-delay: calc(var(--s, 0) * .22s + .45s); }
.ai-page.ap-js .ap-satz.ist-da { border-top-color: var(--border-hairline-dark); }
.ai-page.ap-js .ap-ch--end .ap-satz:nth-child(-n+2).ist-da { border-top-color: transparent; }

.ai-page .ap-wort { display: inline-block; }
.ai-page.ap-js .ap-wort { opacity: 0; transform: translateY(.45em); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
.ai-page.ap-js .ap-satz.ist-da .ap-wort { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--s, 0) * .22s + var(--i, 0) * 45ms); }
.ai-page.ap-js .ap-strich::after { transform: scaleX(0); transition: transform .3s var(--ease-out); }
.ai-page.ap-js .ap-satz.ist-da .ap-strich::after { transform: scaleX(1); transition: transform .72s var(--ease-out) calc(var(--s, 0) * .22s + .3s); }
.ai-page.ap-js .ap-zeichnet { stroke-dasharray: var(--len, 200); stroke-dashoffset: var(--len, 200); transition: stroke-dashoffset .3s; }
.ai-page.ap-js .ap-satz.ist-da .ap-zeichnet { stroke-dashoffset: 0; transition: stroke-dashoffset 1.15s var(--ease-out) calc(var(--s, 0) * .22s + .2s); }
.ai-page.ap-js .ap-zeit-punkt { opacity: 0; transition: opacity .2s; }
.ai-page.ap-js .ap-satz.ist-da .ap-zeit-punkt { opacity: 1; transition: opacity .3s ease calc(var(--s, 0) * .22s + .35s); }
.ai-page.ap-js .ap-raster circle { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .2s, transform .2s; }
.ai-page.ap-js .ap-satz.ist-da .ap-raster circle { opacity: var(--o, 1); transform: none; transition: opacity .34s var(--ease-out), transform .34s var(--ease-out); transition-delay: calc(var(--s, 0) * .22s + var(--i, 0) * 42ms + .18s); }
.ai-page.ap-js .ap-schicht { opacity: 0; transition: opacity .3s, transform .3s; }
.ai-page.ap-js .ap-schicht[data-schicht="1"] { transform: translateY(-14px); }
.ai-page.ap-js .ap-schicht[data-schicht="3"] { transform: translateY(14px); }
.ai-page.ap-js .ap-satz.ist-da .ap-schicht { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--s, 0) * .22s + var(--i, 0) * 130ms + .2s); }
.ai-page .ap-teilchen circle { opacity: 0; }
.ai-page.ap-js .ap-satz.ist-da .ap-teilchen circle { animation: ap-uebergabe 2.4s var(--ease-out) forwards; animation-delay: calc(var(--s, 0) * .22s + .4s); }
.ai-page.ap-js .ap-satz.ist-da .ap-teilchen circle:nth-child(2) { animation-delay: calc(var(--s, 0) * .22s + .7s); }
.ai-page.ap-js .ap-satz.ist-da .ap-teilchen circle:nth-child(3) { animation-delay: calc(var(--s, 0) * .22s + 1s); }
/* Zyklus-Limit statt Endlosschleife (WCAG 2.2.2): drei Teilchen laufen einmal durch */
@keyframes ap-uebergabe { 0% { opacity: 0; transform: translateX(0); } 14% { opacity: 1; } 70% { opacity: 1; transform: translateX(58px); } 100% { opacity: 0; transform: translateX(64px); } }

/* Hotspots (im 1920×1080-Bildraum, Größe gegenskaliert über --inv) */
.ai-page .ap-hs { position: absolute; left: 0; top: 0; width: calc(64px * var(--inv, 1)); height: calc(64px * var(--inv, 1)); margin: calc(-32px * var(--inv, 1)) 0 0 calc(-32px * var(--inv, 1)); transform: translate(var(--x), var(--y));
  border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility 0s linear .5s; }
.ai-page .ap-hs.is-live { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out) var(--d, .3s), visibility 0s; }
.ai-page .ap-hs::before, .ai-page .ap-hs::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%) scale(var(--inv, 1)); }
.ai-page .ap-hs::before { width: 10px; height: 10px; z-index: 1; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--hs, #74D2FF) 22%, transparent), 0 0 18px var(--hs, #74D2FF); transition: transform .4s var(--ease-out); }
.ai-page .ap-hs::after { width: 36px; height: 36px; border: 1.5px solid color-mix(in srgb, var(--hs, #74D2FF) 85%, transparent); background: color-mix(in srgb, var(--hs, #74D2FF) 10%, transparent); animation: ap-ping 2.8s var(--ease-out) infinite; animation-delay: var(--d, 0s); }
.ai-page .ap-hs--port::before { width: 8px; height: 8px; opacity: .8; }
.ai-page .ap-hs--port::after { width: 22px; height: 22px; animation: none; opacity: .5; }
.ai-page .ap-hs:hover::before, .ai-page .ap-hs.is-on::before, .ai-page .ap-hs:focus-visible::before { transform: translate(-50%, -50%) scale(calc(var(--inv, 1) * 1.45)); }
.ai-page .ap-hs:focus-visible { box-shadow: none; }
.ai-page .ap-hs:focus-visible::after { border: 2px solid var(--signal-blue); animation: none; opacity: 1; }
.ai-page .ap-hs.is-dim { opacity: .35; }
@keyframes ap-ping { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(calc(var(--inv, 1) * .9)); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(calc(var(--inv, 1) * 1.25)); } }

.ai-page .ap-beams { position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: visible; pointer-events: none; }
.ai-page .ap-beams path, .ai-page .ap-beams line, .ai-page .ap-beams polygon { vector-effect: non-scaling-stroke; fill: none; }
.ai-page .ap-beam { stroke-width: 1.5; stroke-linecap: round; filter: drop-shadow(0 0 6px currentColor); }
.ai-page .ap-zone { stroke: rgba(116,210,255,.0); stroke-width: 1; fill: rgba(116,210,255,0); transition: fill .4s var(--ease-out), stroke .4s var(--ease-out); }
.ai-page .ap-zone.is-on { fill: rgba(116,210,255,.07); stroke: rgba(116,210,255,.55); }
.ai-page .ap-layer-poly { stroke: transparent; stroke-width: 1.5; fill: transparent; transition: fill .4s, stroke .4s; }
.ai-page .ap-layer-poly.is-on { stroke: var(--c); stroke-width: 2; fill: color-mix(in srgb, var(--c) 16%, transparent); filter: drop-shadow(0 0 14px var(--c)); }
.ai-page .ap-lead { opacity: 0; transition: opacity .6s var(--ease-out); stroke-dasharray: 3 5; }
.ai-page .ap-lead.is-live { opacity: .75; transition-delay: .5s; }
.ai-page .ap-tag { position: absolute; left: 0; top: 0; transform: translate(var(--x), var(--y)) translate(-100%, -50%) scale(var(--inv, 1)); transform-origin: 100% 50%; padding-right: 18px; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted-dark); opacity: 0; transition: opacity .6s var(--ease-out), color .3s; pointer-events: none; }
.ai-page .ap-tag--right { transform: translate(var(--x), var(--y)) translate(0, -50%) scale(var(--inv, 1)); transform-origin: 0 50%; padding: 0 0 0 18px; }
.ai-page .ap-tag.is-live { opacity: 1; transition-delay: var(--d, .4s); }
.ai-page .ap-tag.is-on { color: var(--white); }
.ai-page .ap-tag b { color: var(--c, var(--ice-cyan)); margin-right: 8px; }

/* Tooltip (WCAG 1.4.13: bleibt, ist erreichbar, Esc schließt) */
.ai-page .ap-tip { position: absolute; left: 0; top: 0; z-index: 9; max-width: 280px; padding: 14px 16px; border-radius: 14px; pointer-events: auto;
  background: linear-gradient(160deg, rgba(116,210,255,.10), rgba(17,24,40,.86) 50%); border: 1px solid rgba(116,210,255,.22);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.7), 0 0 30px -10px rgba(40,156,226,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--text-body-dark); font-size: 14px; line-height: 1.5; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s; }
.ai-page .ap-tip.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility 0s; }
.ai-page .ap-tip__k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tip-c, var(--signal-blue)); margin-bottom: 4px; }
.ai-page .ap-tip__t { display: block; font-weight: 600; font-size: 15px; }
.ai-page .ap-tip__d { display: block; color: var(--text-muted-dark); margin-top: 4px; }
.ai-page .ap-tip__x { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-hairline-dark); color: var(--ice-cyan); font-size: 13px; }

/* Lader */
.ai-page .ap-loader { position: fixed; inset: 0; z-index: 100; background: #0d1220; display: grid; place-items: center; color: var(--text-body-dark); }
.ai-page .ap-loader__in { width: min(320px, 70vw); display: grid; gap: 18px; }
.ai-page .ap-loader__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-faint-dark); }
.ai-page .ap-loader__num { font-size: 13px; font-weight: 600; color: var(--ice-cyan); letter-spacing: .1em; font-feature-settings: "tnum"; }
.ai-page .ap-loader__bar { height: 1px; background: rgba(116,210,255,.14); overflow: hidden; }
.ai-page .ap-loader__bar i { display: block; height: 100%; background: var(--gradient-signature); transform-origin: left; transform: scaleX(0); }
.ai-page .ap-loader img { display: block; width: 160px; height: auto; opacity: .9; margin: 0 auto; } /* zentriert (User 06.11.2026) */
/* Lader steht ab dem ersten Bild im HTML (User 06.11.2026); das Script übernimmt ihn. Fällt das Script aus, blendet er sich nach 12 s aus. */
.ai-page > .ap-loader[data-static] { animation: apLoaderFallback .4s ease 12s forwards; }
@keyframes apLoaderFallback { to { opacity: 0; visibility: hidden; } }
/* 12.11.2026 (Chef-Gespräch: Lader soll zeigen, dass sich etwas tut). Im CMS kommt script.js erst Sekunden nach dem ersten Bild,
   bis dahin stand der Lader auf „000“ still. Jetzt bewegt er sich ab dem ersten Bild per CSS: Ein Lichtschein läuft über den
   Balken, der Balken füllt sich bremsend bis 60 %, das Logo atmet. Der Zähler erscheint erst mit dem Skript, das den Stand des
   Balkens übernimmt (main.js) und bis 100 führt. Bewusst ohne @property (globale Regel, könnte der CMS-Prüfer ablehnen). */
.ai-page .ap-loader__bar { position: relative; height: 2px; }
.ai-page .ap-loader__bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); animation: apLoaderSweep 1.4s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes apLoaderSweep { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.ai-page .ap-loader img { animation: apLoaderBreath 2.4s ease-in-out infinite; }
@keyframes apLoaderBreath { 50% { opacity: .55; } }
.ai-page > .ap-loader[data-static] .ap-loader__bar i { animation: apLoaderFill 6s cubic-bezier(.15,.75,.3,1) forwards; }
@keyframes apLoaderFill { from { transform: scaleX(0); } to { transform: scaleX(.6); } }
.ai-page > .ap-loader[data-static] .ap-loader__num { visibility: hidden; }

/* ---------- 4 Trust ---------- */
.ai-page .ap-trust { background: var(--paper); padding: clamp(64px, 8vw, 104px) 0; }
.ai-page .ap-trust__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 860px; } /* zwei Eckdaten (AWS, EU); die Zahlen stehen in „Warum courseticket“ */
.ai-page .ap-trust__list li { padding: 8px 28px 8px 28px; border-left: 1px solid var(--border-hairline); }
.ai-page .ap-trust__list li:first-child { border-left: 0; padding-left: 0; }
.ai-page .ap-trust__big { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--navy-deep); font-feature-settings: "tnum"; white-space: nowrap; }
.ai-page .ap-trust__small { font-size: 14px; color: var(--text-muted); margin-top: 10px; max-width: 24ch; }
@media (max-width: 860px) {
  .ai-page .ap-trust__list { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .ai-page .ap-trust__list li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- 5 FAQ ---------- */
.ai-page .ap-faq { background: var(--white); padding: var(--section-pad) 0; }
.ai-page .ap-faq .ap-h2 { margin-bottom: 48px; }
.ai-page .ap-faq__list { border-top: 1px solid var(--border-strong); }
.ai-page .ap-faq details { border-bottom: 1px solid var(--border-hairline); }
.ai-page .ap-faq summary { list-style: none; cursor: pointer; display: flex; gap: 24px; justify-content: space-between; align-items: center; padding: 28px 4px; border-radius: 8px; }
.ai-page .ap-faq summary::-webkit-details-marker { display: none; }
.ai-page .ap-faq summary:focus-visible { box-shadow: var(--focus-ring); }
.ai-page .ap-faq summary h3 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; transition: color var(--dur-base); }
.ai-page .ap-faq summary:hover h3 { color: var(--depth-blue); }
.ai-page .ap-faq summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); transition: background-color var(--dur-base), border-color var(--dur-base), transform var(--dur-slow) var(--ease-out); }
.ai-page .ap-faq summary i::before, .ai-page .ap-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--navy-deep); transform: translate(-50%, -50%); transition: transform var(--dur-slow) var(--ease-out), background-color var(--dur-base); }
.ai-page .ap-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.ai-page .ap-faq details[open] summary i { background: var(--depth-blue); border-color: var(--depth-blue); transform: rotate(180deg); }
.ai-page .ap-faq details[open] summary i::before, .ai-page .ap-faq details[open] summary i::after { background: var(--white); }
.ai-page .ap-faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.ai-page .ap-faq__a { overflow: hidden; }
.ai-page .ap-faq__a p { padding: 0 64px 32px 4px; color: var(--text-muted); font-size: 16.5px; line-height: 1.7; max-width: 72ch; }

/* ---------- 6 CTA ---------- */
.ai-page .ap-cta { position: relative; background: var(--navy-deep); color: var(--text-body-dark); padding: clamp(120px, 16vw, 220px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.ai-page .ap-cta__media { position: absolute; inset: 0; z-index: -1; }
.ai-page .ap-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .55; }
.ai-page .ap-cta__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(17,24,40,.55), rgba(17,24,40,.92) 80%), linear-gradient(180deg, #111828 0%, transparent 30%, transparent 70%, #111828 100%); }
.ai-page .ap-cta .ap-eyebrow { justify-content: center; }
.ai-page .ap-cta__title { margin: 0 auto; max-width: 16ch; font-size: clamp(36px, 5vw, 72px); letter-spacing: -.03em; line-height: 1.06; }
.ai-page .ap-cta__text { color: var(--text-muted-dark); font-size: clamp(17px, 1.4vw, 20px); max-width: 44ch; margin: 24px auto 40px; }

/* ---------- Einblendungen (nur mit JS) ---------- */
.ai-page.ap-js [data-reveal] { opacity: 0; transform: translateY(28px); }
.ai-page.ap-js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--rd, 0s); }

/* ---------- Hochformat / schmal ---------- */
@media (max-width: 900px), (orientation: portrait) {
  .ai-page.ap-js .ap-ch .ap-card, .ai-page.ap-js .ap-ch--intro .ap-card { left: 16px; right: 16px; bottom: max(20px, env(safe-area-inset-bottom)); width: auto; padding: 22px 22px 20px; }
  .ai-page.ap-js .ap-card__text { font-size: 14.5px; }
  .ai-page.ap-js .ap-card__explore { display: none; }
  .ai-page.ap-js .ap-ch--intro .ap-quote { top: 30%; }
  .ai-page .ap-hud__meta { display: none; }
  .ai-page .ap-hud__chapter { left: 24px; top: calc(74px + var(--ap-top, 0px)); }
  .ai-page .ap-hud__corner { display: none; }
  .ai-page .ap-rail { right: 6px; top: 40%; }
  .ai-page .ap-rail button span { display: none; }
  .ai-page.ap-js .ap-relay { top: calc(104px + var(--ap-top, 0px)); width: calc(100vw - 32px); }
  .ai-page.ap-js .ap-ch[data-ch="rx"] .ap-card { width: auto; }
  .ai-page.ap-js .ap-ch[data-ch="rx"] .ap-card__text { display: none; }
  .ai-page .ap-tag { font-size: 10px; }
}
@media (max-width: 600px) {
  .ai-page .ap-tag { display: none; }
  .ai-page .ap-hero__title { letter-spacing: -.03em; }
  .ai-page .ap-faq__a p { padding-right: 8px; }
  .ai-page.ap-js .ap-ch .ap-card__title { font-size: 21px; }
  .ai-page.ap-js .ap-ch--intro .ap-card__text { display: none; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .ai-page *, .ai-page *::before, .ai-page *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ai-page.ap-js [data-reveal] { opacity: 1; transform: none; }
  .ai-page.ap-js .ap-ch .ap-card { filter: none; transform: none; }
}

/* Hero-Zeilen und Staffellauf-Glühen */
.ai-page .ap-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .24em; margin: 0 -.02em -.24em; } /* 05.11.2026 (User): .1em schnitt die Unterlänge von „g“ ab */
.ai-page .ap-mask__in { display: inline-block; will-change: transform; }
.ai-page .ap-hs.is-relay::after { animation-duration: 1.2s; border-width: 2px; }

/* FAQ zweispaltig, Überschrift bleibt stehen */
@media (min-width: 980px) {
  .ai-page .ap-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); column-gap: clamp(48px, 6vw, 112px); align-items: start; }
  .ai-page .ap-faq__grid > .ap-eyebrow { grid-column: 1; grid-row: 1; }
  .ai-page .ap-faq__grid > .ap-h2 { grid-column: 1; grid-row: 2; position: sticky; top: 112px; }
  .ai-page .ap-faq__grid > .ap-faq__list { grid-column: 2; grid-row: 1 / span 2; }
}
/* Trust: feine Signaturlinie über jeder Zahl */
.ai-page .ap-trust__big::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 18px; background: var(--gradient-signature); border-radius: 2px; }

@media (max-width: 600px) {
  .ai-page.ap-js .ap-relay { padding: 12px 14px 10px; top: calc(96px + var(--ap-top, 0px)); }
  .ai-page.ap-js .ap-relay__steps { height: 36px; }
  .ai-page.ap-js .ap-relay__steps li { font-size: 13px; gap: 10px; }
  .ai-page.ap-js .ap-relay__steps li::before { width: 22px; height: 22px; border-radius: 7px; }
  .ai-page.ap-js .ap-ch .ap-card { padding: 18px 18px 16px; }
  .ai-page.ap-js .ap-card__text { font-size: 14px; line-height: 1.55; }
  .ai-page.ap-js .ap-card__kicker { margin-bottom: 8px; font-size: 12px; }
  .ai-page.ap-js .ap-card__title { margin-bottom: 8px; }
  .ai-page .ap-hud__chapter { top: calc(66px + var(--ap-top, 0px)); left: 18px; }
}

.ai-page .ap-film__sheets { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.ai-page .ap-film__sheets img { width: 1px; height: 1px; }

/* =============================================================
   Feinschliff 22.10.2026
   ============================================================= */

/* Kundenlogos — Laufband wie auf der KI-Workshop-Seite (27.08.2026):
   jedes Logo auf eigener weißer Kachel, KEIN Filter auf dem Bild (Markenrichtlinien),
   Anhalten unter dem Zeiger und per Knopf (WCAG 2.2.2). */
.ai-page .ap-trust { padding: var(--section-pad) 0 clamp(64px, 8vw, 104px); }
.ai-page .ap-trust__h { max-width: 24ch; }
.ai-page .ap-logos { position: relative; margin: clamp(36px, 4vw, 52px) 0 clamp(48px, 6vw, 80px); text-align: center; }
.ai-page .ap-logo-bahn { display: flex; overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); }
.ai-page .ap-logo-reihe { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: none; animation: ap-logo-lauf 46s linear infinite; }
@keyframes ap-logo-lauf { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.ai-page .ap-logo-reihe > li { flex: none; margin: 0 11px; padding: 15px 24px; min-width: 172px; min-height: 74px; display: grid; place-items: center;
  background: var(--white); border-radius: 12px; border: 1px solid var(--border-hairline); box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease; }
.ai-page .ap-logo-reihe > li:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.ai-page .ap-logo-reihe img { display: block; height: 34px; width: auto; max-width: 128px; object-fit: contain; }
.ai-page .ap-logo-bahn:hover .ap-logo-reihe, .ai-page .ap-logos.is-paused .ap-logo-reihe { animation-play-state: paused; }
.ai-page .ap-logo-pause { margin-top: 18px; display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--white); color: var(--text-muted); cursor: pointer; opacity: .7; transition: opacity var(--dur-base), color var(--dur-base); }
.ai-page .ap-logo-pause:hover { opacity: 1; color: var(--depth-blue); }
.ai-page .ap-logo-pause:focus-visible { opacity: 1; box-shadow: var(--focus-ring); }
.ai-page .ap-logo-pause span { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.ai-page .ap-logos.is-paused .ap-logo-pause span { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
@media (max-width: 640px) {
  .ai-page .ap-logo-reihe > li { margin: 0 8px; padding: 12px 18px; min-width: 132px; min-height: 62px; }
  .ai-page .ap-logo-reihe img { height: 26px; max-width: 100px; }
}

/* FAQ-Link */
.ai-page .ap-faq__a a { color: var(--depth-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ai-page .ap-faq__a a:hover { color: var(--depth-blue-hover); }

/* Film überspringen: dezentes X rechts oben im Film (User 06.11.2026), Beschriftung über title/aria-label */
.ai-page .ap-skip { position: absolute; right: 16px; top: calc(16px + var(--ap-top, 0px)); z-index: 20; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(13,18,32,.38); border: 1px solid rgba(255,255,255,.16); text-decoration: none; opacity: .7;
  transition: opacity var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out); }
.ai-page .ap-skip svg { width: 15px; height: 15px; display: block; }
.ai-page .ap-skip:hover { opacity: 1; color: #fff; background: rgba(13,18,32,.66); }
.ai-page .ap-skip:focus-visible { opacity: 1; color: #fff; box-shadow: var(--focus-ring-dark); }
.ai-page .ap-hud__corner--tr { display: none; } /* Platz für das X */

/* Scroll-Hinweis im Film: zeigt in jeder Ruhe, was als Nächstes kommt */
.ai-page .ap-cue { position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); z-index: 7; transform: translate(-50%, 8px); display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-faint-dark); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); white-space: nowrap; }
/* 12.11.2026 (Chef-Gespräch): nur „Scrollen Sie“ (abends: „Scrollen“), darüber ein Pfeil nach oben, darunter einer nach unten; beide wippen sacht */
.ai-page .ap-cue { gap: 8px; color: var(--text-muted-dark); }
.ai-page .ap-cue span { line-height: 1.4; padding: 2px 0; }
.ai-page .ap-cue__arr { display: block; width: 9px; height: 9px; border: solid #74D2FF; border-width: 1.5px 1.5px 0 0; opacity: .85; }
.ai-page .ap-cue__arr--up { transform: rotate(-45deg); animation: ap-cue-up 2.2s ease-in-out infinite; }
.ai-page .ap-cue__arr--down { transform: rotate(135deg); animation: ap-cue-down 2.2s ease-in-out infinite; }
@keyframes ap-cue-up { 50% { transform: translateY(-4px) rotate(-45deg); opacity: 1; } }
@keyframes ap-cue-down { 50% { transform: translateY(4px) rotate(135deg); opacity: 1; } }
.ai-page .ap-cue__arr { transition: opacity .4s var(--ease-out); }
/* 12.11.2026 abends (User): am oberen bzw. unteren Seitenende verschwindet der jeweilige Pfeil (Platz bleibt, Text springt nicht) */
.ai-page .ap-cue.is-top .ap-cue__arr--up, .ai-page .ap-cue.is-bottom .ap-cue__arr--down { animation: none; opacity: 0; }
.ai-page .ap-cue.is-on { opacity: 1; transform: translate(-50%, 0); transition-delay: 1.1s; }
@media (max-width: 900px), (orientation: portrait) { .ai-page .ap-cue { display: none; } }

/* Lichtstaub über dem Bild (nur in der Ausgangslage) */
.ai-page .ap-film__motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

/* Reifegrad: Zeilen nacheinander, die Agentic-LXP-Spalte leuchtet einmal auf */
.ai-page.ap-js .ap-table tbody tr { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.ai-page.ap-js .ap-table-wrap.is-in tbody tr { opacity: 1; transform: none; }
.ai-page.ap-js .ap-table-wrap.is-in tbody tr:nth-child(2) { transition-delay: .1s; }
.ai-page.ap-js .ap-table-wrap.is-in tbody tr:nth-child(3) { transition-delay: .2s; }
.ai-page.ap-js .ap-table-wrap.is-in tbody tr:nth-child(4) { transition-delay: .3s; }
.ai-page.ap-js .ap-table-wrap.is-in thead .is-hl::before { animation: ap-hl 1.6s var(--ease-out) .5s both; transform-origin: left; }
@keyframes ap-hl { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Version B: der Film beginnt im Hero ---------- */
.ai-page .ap-ch--hero .ap-herobox { padding: clamp(100px, 14vh, 160px) clamp(16px, 4vw, 48px) 48px; }
.ai-page.ap-js .ap-ch--hero .ap-herobox { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); max-width: calc(var(--wrap) + 2 * clamp(16px, 4vw, 48px)); margin: 0 auto; padding-bottom: 0; padding-top: var(--ap-top, 0px); }
.ai-page.ap-js .ap-ch--hero .ap-herobox > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.ai-page.ap-js .ap-ch--hero.is-active .ap-herobox > * { opacity: 1; transform: none; pointer-events: auto; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.ai-page.ap-js .ap-ch--hero.is-active .ap-herobox > :nth-child(2) { transition-delay: .08s; }
.ai-page.ap-js .ap-ch--hero.is-active .ap-herobox > :nth-child(3) { transition-delay: .16s; }
.ai-page.ap-js .ap-ch--hero.is-active .ap-herobox > :nth-child(4) { transition-delay: .24s; }
.ai-page.ap-js .ap-ch--hero.is-active .ap-herobox > :nth-child(5) { transition-delay: .32s; }
.ai-page .ap-ch--hero .ap-hero__title { text-shadow: 0 10px 50px rgba(13,18,32,.7); }
.ai-page .ap-film__heroshade { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: var(--hero-shade, 0);
  background: linear-gradient(90deg, rgba(13,18,32,.92) 0%, rgba(13,18,32,.6) 36%, rgba(13,18,32,.03) 62%, transparent 100%); } /* Mitte leicht geöffnet: Scherben etwas präsenter, Text links unverändert gut lesbar */
@media (max-width: 900px), (orientation: portrait) {
  .ai-page.ap-js .ap-ch--hero .ap-herobox { top: auto; bottom: max(24px, env(safe-area-inset-bottom)); transform: none; }
  .ai-page .ap-ch--hero .ap-hero__lead { font-size: 15.5px; }
  .ai-page .ap-ch--hero .ap-hero__entity { display: none; }
  .ai-page .ap-ch--hero .ap-hero__title { font-size: clamp(40px, 11vw, 56px); margin-bottom: 18px; }
  .ai-page .ap-ch--hero .ap-hero__actions { margin-top: 24px; }
  .ai-page .ap-film__heroshade { background: linear-gradient(0deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.7) 45%, transparent 75%); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page .ap-logo-reihe { animation: none !important; flex-wrap: wrap; justify-content: center; }
  .ai-page .ap-logo-reihe[aria-hidden="true"], .ai-page .ap-logo-pause { display: none !important; }
  .ai-page .ap-logo-bahn { -webkit-mask-image: none; mask-image: none; }
  .ai-page.ap-js .ap-table tbody tr { opacity: 1; transform: none; }
}

/* 12.11.2026 (Chef-Gespräch: „beim Scrollen soll sich direkt etwas tun“): Text und Karte der Hero-Ruhe gleiten mit dem Scrollen
   nach oben. Eigene translate-Eigenschaft, damit sich nichts mit den transform-Übergängen der Einblendung beißt. */
.ai-page.ap-js .ap-ch--hero .ap-herobox, .ai-page.ap-js .ap-ch--hero .ap-card { translate: 0 calc(var(--ap-hu, 0) * -9vh); }
@media (prefers-reduced-motion: reduce) { .ai-page.ap-js .ap-ch--hero .ap-herobox, .ai-page.ap-js .ap-ch--hero .ap-card { translate: none; } }

/* Version B: Im Hero keine Kapitelanzeige und keine Leiste, der Text hat Vorrang */
.ai-page .ap-hud__chapter, .ai-page .ap-rail { transition: opacity .6s var(--ease-out); }
.ai-page .ap-film__stage.is-hero .ap-hud__chapter, .ai-page .ap-film__stage.is-hero .ap-rail, .ai-page .ap-film__stage.is-hero .ap-hud__meta { opacity: 0; pointer-events: none; } /* Scroll-Hinweis seit 12.11. auch im Hero */
.ai-page .ap-hud__meta { transition: opacity .6s var(--ease-out); }

/* ---------- Version B: Hero und Ausgangslage in einer Ruhe (22.10.2026) ---------- */
.ai-page .ap-card__quote { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--border-hairline-dark); }
.ai-page .ap-card__quote p { font-size: clamp(17px, 1.35vw, 20px); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--white); }
.ai-page .ap-card__quote em, .ai-page .ap-card__quote em .ap-word { font-style: normal; background: var(--gradient-signature); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-page.ap-js .ap-ch--hero .ap-card { left: auto; right: clamp(72px, 7vw, 120px); width: min(400px, 30vw); }
.ai-page.ap-js .ap-ch--hero .ap-herobox { max-width: none; margin: 0; left: clamp(24px, 5vw, 96px); right: auto; width: min(640px, 50vw); padding: var(--ap-top, 0px) 0 0; }
.ai-page.ap-js .ap-ch--hero .ap-hero__title { font-size: clamp(44px, 5.6vw, 92px); }
.ai-page.ap-js .ap-ch--hero .ap-hero__lead { font-size: clamp(15.5px, 1.15vw, 18px); }
@media (max-width: 900px), (orientation: portrait) {
  /* Auf dem Handy nacheinander: erst Hero, beim Weiterscrollen in derselben Ruhe die Ausgangslage */
  .ai-page.ap-js .ap-ch--hero .ap-herobox { left: 16px; right: 16px; width: auto; top: calc(84px + var(--ap-top, 0px)); bottom: auto; transform: none; }
  .ai-page.ap-js .ap-ch--hero .ap-card { left: 16px; right: 16px; width: auto; }
  .ai-page.ap-js .ap-film__stage:not(.is-late) .ap-ch--hero .ap-card { opacity: 0; transform: translate3d(0, 26px, 0); pointer-events: none; }
  .ai-page.ap-js .ap-film__stage.is-late .ap-ch--hero .ap-herobox > * { opacity: 0; transform: translate3d(0, -14px, 0); pointer-events: none; }
  .ai-page.ap-js .ap-ch--hero .ap-card__text { display: block; }
  .ai-page .ap-film__heroshade { background: linear-gradient(180deg, rgba(13,18,32,.2) 0%, rgba(13,18,32,.88) 30%, rgba(13,18,32,.88) 70%, rgba(13,18,32,.3) 100%); }
}

/* =============================================================
   Plattform, Zusammenspiel, Staffellauf — Überarbeitung 22.10.2026
   ============================================================= */

/* Spotlight: alles außer der gewählten Fläche tritt zurück */
.ai-page .ap-beams .ap-spot { fill: rgba(7,10,18,.62); opacity: 0; transition: opacity .45s var(--ease-out); pointer-events: none; }
.ai-page .ap-beams .ap-spot.is-on { opacity: 1; }

/* Führungslinien: zeichnen sich beim Ankommen ein, leuchten bei Auswahl */
.ai-page .ap-leader { fill: none; stroke: var(--c, rgba(116,210,255,.55)); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55;
  transition: stroke-dashoffset .9s var(--ease-out), opacity .35s var(--ease-out), stroke-width .2s; }
.ai-page .ap-leader.is-live { stroke-dashoffset: 0; transition-delay: var(--d, .4s), 0s, 0s; }
.ai-page .ap-leader.is-on { opacity: 1; stroke-width: 1.6; filter: drop-shadow(0 0 4px var(--c, #74D2FF)); }
.ai-page .ap-leader-dot { fill: #0d1220; stroke: var(--c, #74D2FF); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .4s var(--ease-out); }
.ai-page .ap-leader-dot.is-live { opacity: 1; transition-delay: var(--d, .4s); }

/* Kanten der Zonen und Ebenen: unsichtbar, bei Auswahl als feine Lichtlinie */
.ai-page .ap-zone-edge, .ai-page .ap-layer-edge { fill: rgba(116,210,255,0); stroke: rgba(116,210,255,0); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round;
  transition: fill .45s var(--ease-out), stroke .45s var(--ease-out); }
/* Beim Zeigen leuchtet die Fläche exakt in ihrem Umriss und in ihrer eigenen Katalogfarbe */
.ai-page .ap-layer-edge.is-on { fill: color-mix(in srgb, var(--c) 16%, transparent); stroke: var(--c); stroke-width: 2; filter: drop-shadow(0 0 8px var(--c)); }
/* Layer 3: Segmente stechen deutlich in ihrer Farbe hervor – Farbe wird ins Glas „hineingeleuchtet“ (screen),
   die Glasstruktur bleibt sichtbar; kräftige Kontur und doppelter Schein */
/* 12.11.2026: Die flache 36-%-Fläche (screen) überdeckte die Glaskanten. Jetzt färbt .ap-zone-tint im Modus „color“ (Helligkeit bleibt
   vom Bild, also bleiben Kanten und Hell-Dunkel), die Kantenfläche gibt nur noch einen leichten Schein dazu. */
.ai-page .ap-zone-tint { fill: var(--c); opacity: 0; mix-blend-mode: color; pointer-events: none; transition: opacity .45s var(--ease-out); }
.ai-page .ap-zone-tint.is-on { opacity: .9; }
.ai-page .ap-zone-lit { fill: #fff; opacity: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity .45s var(--ease-out); }
.ai-page .ap-zone-lit.is-on { opacity: .07; }
.ai-page .ap-zone-rim { fill: none; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-out); }
.ai-page .ap-zone-rim.is-on { opacity: .6; }
.ai-page .ap-zone-edge.is-on { fill: color-mix(in srgb, var(--c) 12%, transparent); mix-blend-mode: screen; stroke: color-mix(in srgb, var(--c) 70%, #fff); stroke-width: 2.5;
  filter: drop-shadow(0 0 10px var(--c)) drop-shadow(0 0 28px color-mix(in srgb, var(--c) 60%, transparent)); }
.ai-page .ap-zone-hit { fill: transparent; stroke: none; pointer-events: none; cursor: pointer; }
.ai-page .ap-zone-hit.is-live { pointer-events: all; }

/* Chips: gläserne Beschriftung in fester Bildschirmgröße (gegenskaliert), links verankert */
.ai-page .ap-chip { position: absolute; left: 0; top: 0; transform: translate(var(--x), var(--y)) translate(0, -50%) scale(var(--inv, 1)); transform-origin: 0 50%;
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 12px; border-radius: 14px; text-align: left; white-space: nowrap;
  font: inherit; color: var(--text-body-dark); text-decoration: none; cursor: pointer;
  background: linear-gradient(160deg, rgba(116,210,255,.08), rgba(13,18,32,.78) 55%); border: 1px solid rgba(116,210,255,.18);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.7), 0 -1px 0 rgba(116,210,255,.18) inset; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), border-color .25s, box-shadow .25s, background-color .25s, visibility 0s linear .5s; }
.ai-page .ap-chip.is-live { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out) var(--d, .5s), border-color .25s, box-shadow .25s, visibility 0s; }
.ai-page .ap-chip.is-live.is-dim { opacity: .38; transition-delay: 0s; }
.ai-page .ap-chip:focus-visible { outline: none; box-shadow: var(--focus-ring-dark); }

/* Plattform-Zonen: Kürzel groß, Rolle klein, Bereiche klappen bei Auswahl auf */
.ai-page .ap-chip--zone { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px 11px; min-width: 196px; }
.ai-page .ap-chip--zone .ap-chip__k { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--c, var(--ice-cyan)); }
/* Layer 3: Tafeln und Führungslinien nur beim Zeigen auf die Zone oder bei Tastaturfokus (auf dem Handy als Etikett sichtbar) */
.ai-page .ap-chip--zone.is-live:not(.is-on):not(.is-inline):not(:focus-visible) { opacity: 0; pointer-events: none; transform: translate(var(--x), var(--y)) translate(-8px, -50%) scale(var(--inv, 1)); transition-delay: 0s; }
.ai-page .ap-chip--zone.is-live { transition: opacity .3s var(--ease-out), transform .35s var(--ease-out), border-color .25s, box-shadow .25s, visibility 0s; }
.ai-page .ap-leader--hover:not(.is-on) { opacity: 0 !important; }
.ai-page .ap-chip--zone .ap-chip__t { font-size: 14.5px; font-weight: 500; color: var(--white); }
.ai-page .ap-chip__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.ai-page .ap-chip__more > span { overflow: hidden; display: flex; flex-wrap: wrap; gap: 6px; max-width: 280px; white-space: normal; }
.ai-page .ap-chip__more em { font-style: normal; font-size: 12px; color: var(--text-muted-dark); padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(116,210,255,.2); background: rgba(116,210,255,.05); }
.ai-page .ap-chip--zone.is-on .ap-chip__more { grid-template-rows: 1fr; }
.ai-page .ap-chip--zone.is-on .ap-chip__more > span { padding-top: 9px; }
.ai-page .ap-chip--zone.is-on, .ai-page .ap-chip--zone:hover { border-color: color-mix(in srgb, var(--c, #BEF0FF) 60%, transparent); box-shadow: 0 16px 40px -14px rgba(0,0,0,.8), 0 0 24px -6px color-mix(in srgb, var(--c, #74D2FF) 45%, transparent), 0 -1px 0 rgba(116,210,255,.3) inset; }

/* Ebenen im Zusammenspiel: Nummer in Ebenenfarbe, Name, Unterzeile, Pfeil */
.ai-page .ap-chip--layer { padding: 9px 14px 9px 9px; }
.ai-page .ap-chip__n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #0d1220;
  background: var(--c); box-shadow: 0 0 18px -4px var(--c); }
.ai-page .ap-chip__body { display: grid; gap: 1px; }
.ai-page .ap-chip--layer .ap-chip__t { font-size: 15px; font-weight: 600; color: var(--white); }
.ai-page .ap-chip__s { font-size: 12.5px; color: var(--text-muted-dark); }
.ai-page .ap-chip__go { margin-left: 6px; color: var(--c); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s var(--ease-out); }
.ai-page .ap-chip--layer:hover, .ai-page .ap-chip--layer.is-on { border-color: color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.8), 0 0 26px -8px var(--c), 0 -1px 0 rgba(116,210,255,.3) inset; }
.ai-page .ap-chip--layer:hover .ap-chip__go, .ai-page .ap-chip--layer.is-on .ap-chip__go { opacity: 1; transform: none; }

/* Dirigenten-Kern: heller Ring; Agentennamen erscheinen beim Hover */
.ai-page .ap-hs--core::after { width: 46px; height: 46px; border-color: rgba(230,246,255,.8); }
.ai-page .ap-agentchip { position: absolute; left: 0; top: 0; transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(calc(var(--inv, 1) * .92)); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--white);
  background: rgba(13,18,32,.8); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); opacity: 0; transition: opacity .35s var(--ease-out); pointer-events: none; }
.ai-page .ap-agentchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.ai-page .ap-agentchip.is-live.is-on { opacity: 1; }

/* Layer 3: Karte wieder links, die Beschriftungen stehen rechts vom Würfel */
.ai-page.ap-js .ap-ch[data-ch="r3"] .ap-card { left: clamp(24px, 4.2vw, 80px); right: auto; }

/* ---------- Staffellauf rechts neben den Kernen ---------- */
.ai-page.ap-js .ap-relay.is-side { transform: translate(0, -50%) translateX(12px); padding: 16px 16px 12px; }
.ai-page.ap-js .ap-ch.is-active .ap-relay.is-side { transform: translate(0, -50%); }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps { height: auto; display: grid; gap: 4px; }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps li { position: relative; inset: auto; opacity: .5; transform: none; padding: 9px 10px; border-radius: 12px; cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; font-size: 13.5px; line-height: 1.35;
  transition: opacity .4s var(--ease-out), background-color .4s var(--ease-out); }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps li::before { width: 28px; height: 28px; grid-row: span 2; }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps li b { display: block; }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps li.is-done { opacity: .62; }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps li.is-on { opacity: 1; background: color-mix(in srgb, var(--agent) 10%, rgba(255,255,255,.02)); }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps li::after { content: ""; position: absolute; left: 50px; right: 12px; bottom: 4px; height: 1.5px; border-radius: 2px;
  background: var(--agent); transform-origin: left; transform: scaleX(var(--f, 0)); opacity: 0; }
.ai-page.ap-js .ap-relay.is-side .ap-relay__steps li.is-on::after { opacity: .9; }
.ai-page.ap-js .ap-relay.is-side .ap-relay__dots { display: none; }

/* Licht-Verbindung vom aktiven Schritt zum Kern */
.ai-page .ap-relaylink { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .5s var(--ease-out); }
.ai-page .ap-relaylink.is-on { opacity: 1; transition-delay: .9s; }
.ai-page .ap-relaylink path { fill: none; stroke-linecap: round; }
.ai-page .ap-relaylink__glow { stroke: var(--c, #74D2FF); stroke-width: 9; opacity: .32; filter: blur(4px); }
.ai-page .ap-relaylink__line { stroke: url(#ap-rl-g); stroke-width: 2.2; }
.ai-page .ap-relaylink__flow { stroke: #fff; stroke-width: 2.4; stroke-dasharray: 3 17; opacity: .9; animation: ap-flow 1.1s linear infinite; }
@keyframes ap-flow { to { stroke-dashoffset: -20; } }
.ai-page .ap-relaylink__end { fill: var(--c, #74D2FF); filter: drop-shadow(0 0 8px var(--c, #74D2FF)); }

@media (max-width: 900px), (orientation: portrait) {
  .ai-page .ap-chip { padding: 7px 10px; gap: 8px; }
  .ai-page .ap-chip--zone { min-width: 0; }
  .ai-page .ap-chip--zone .ap-chip__t, .ai-page .ap-chip__s, .ai-page .ap-chip__go { display: none; }
  .ai-page .ap-chip__n { width: 26px; height: 26px; font-size: 13px; }
  .ai-page .ap-chip--layer .ap-chip__t { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page .ap-leader { stroke-dashoffset: 0; }
  .ai-page .ap-relaylink__flow { animation: none; display: none; }
}

/* Staffellauf-Symbol: leuchtender Kern in Agentenfarbe statt leerem Kästchen */
.ai-page.ap-js .ap-relay__steps li::before { background: radial-gradient(circle at 50% 50%, var(--agent) 0 4px, color-mix(in srgb, var(--agent) 35%, transparent) 5px, transparent 9px), color-mix(in srgb, var(--agent) 12%, transparent) !important; }
.ai-page.ap-js .ap-relay__steps li.is-on::before { box-shadow: 0 0 0 1px color-mix(in srgb, var(--agent) 70%, transparent), 0 0 18px color-mix(in srgb, var(--agent) 55%, transparent) !important; }

.ai-page .ap-chip.is-on { z-index: 2; }

.ai-page .ap-chip.is-inline { transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(var(--inv, 1)); transform-origin: 50% 50%; padding: 5px 10px; min-width: 0; }
.ai-page .ap-chip.is-inline .ap-chip__t, .ai-page .ap-chip.is-inline .ap-chip__more { display: none; }
.ai-page .ap-chip.is-off, .ai-page .ap-leader.is-off, .ai-page .ap-leader-dot.is-off { display: none; }

/* Warum courseticket auf schmalen/hohen Bildschirmen: eine Spalte, Bild klein links, kompakter Satz */
@media (max-width: 900px), (orientation: portrait) {
  .ai-page.ap-js .ap-ch--end .ap-warum { padding: 64px 18px 28px; }
  .ai-page.ap-js .ap-ch--end .ap-saetze { grid-template-columns: 1fr; }
  .ai-page.ap-js .ap-ch--end .ap-satz:nth-child(2) { border-top-color: transparent; }
  .ai-page.ap-js .ap-ch--end .ap-satz:nth-child(2).ist-da { border-top-color: var(--border-hairline-dark); }
  .ai-page .ap-satz { grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 14px 0; }
  .ai-page .ap-satz__text, .ai-page .ap-satz__zusatz { grid-column: 2; }
  .ai-page .ap-satz__bild { grid-column: 1; grid-row: 1 / span 2; width: 56px; justify-self: start; align-self: start; margin-top: 2px; }
  .ai-page .ap-satz__text { font-size: clamp(18px, 4.8vw, 22px); }
  .ai-page .ap-satz__zusatz { font-size: 13.5px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page.ap-js .ap-wort, .ai-page.ap-js .ap-schicht, .ai-page.ap-js .ap-raster circle { opacity: 1; transform: none; }
  .ai-page.ap-js .ap-raster circle { opacity: var(--o, 1); }
  .ai-page.ap-js .ap-strich::after { transform: scaleX(1); }
  .ai-page.ap-js .ap-zeichnet { stroke-dashoffset: 0; }
  .ai-page.ap-js .ap-zeit-punkt, .ai-page.ap-js .ap-satz__zusatz, .ai-page.ap-js .ap-ch--end .ap-warum__eyebrow { opacity: 1; transform: none; }
}

/* ---------- Vertrauen im Film: nach „Warum courseticket“ treten die Sätze nach oben zurück, die Logo-Leiste erscheint ----------
   Ohne JS steht der Block als normaler Inhalt unter den Sätzen. */
.ai-page .ap-vertrauen { padding: 24px 0; }
.ai-page .ap-vertrauen__h { font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; line-height: 1.18; letter-spacing: -.02em; max-width: 24ch; margin: 0 auto; color: var(--white); }
.ai-page.ap-js .ap-ch--end .ap-vertrauen { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); /* sonst dehnt das breite Laufband die Spalte und alles Zentrierte rutscht aus dem Bild */ align-content: center; justify-items: center; text-align: center;
  padding: 72px 0 48px; visibility: hidden; opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), visibility 0s linear .6s; }
.ai-page.ap-js .ap-film__stage.is-vertrauen .ap-ch--end .ap-vertrauen { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .7s var(--ease-out) .15s, transform .9s var(--ease-out) .15s, visibility 0s; }
.ai-page.ap-js .ap-ch--end .ap-warum { transition: visibility 0s linear .6s, opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.ai-page.ap-js .ap-film__stage.is-vertrauen .ap-ch--end .ap-warum { opacity: 0; transform: translate3d(0, -36px, 0); visibility: hidden; transition: visibility 0s linear .5s, opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-warum__eyebrow { opacity: 1; transform: none; }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logos { width: 100%; min-width: 0; margin: clamp(24px, 4vh, 44px) 0 clamp(20px, 3vh, 36px); }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-bahn { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-reihe > li { border-color: rgba(255,255,255,.6); box-shadow: 0 14px 34px -16px rgba(0,0,0,.8); }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-pause { background: rgba(255,255,255,.06); border-color: var(--border-hairline-dark); color: var(--text-muted-dark); }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-pause:hover { color: var(--white); }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-pause:focus-visible { box-shadow: var(--focus-ring-dark); }
.ai-page.ap-js .ap-ch--end .ap-trust__list { width: min(760px, calc(100% - 48px)); text-align: left; }
.ai-page.ap-js .ap-ch--end .ap-trust__list li { border-left-color: var(--border-hairline-dark); }
.ai-page.ap-js .ap-ch--end .ap-trust__big { color: var(--white); font-size: clamp(22px, 2.1vw, 30px); }
.ai-page.ap-js .ap-ch--end .ap-trust__small { color: var(--text-muted-dark); max-width: 34ch; }
@media (max-width: 900px), (orientation: portrait) {
  .ai-page.ap-js .ap-ch--end .ap-vertrauen { padding: 64px 0 28px; }
  .ai-page .ap-vertrauen__h { font-size: clamp(21px, 5.6vw, 26px); padding: 0 18px; }
  .ai-page.ap-js .ap-ch--end .ap-trust__list { grid-template-columns: 1fr; gap: 18px; width: calc(100% - 36px); }
  .ai-page.ap-js .ap-ch--end .ap-trust__list li { border-left: 0; padding-left: 0; }
}

/* Trust-Leiste im Film nur mit Logos (Eckdaten AWS/EU entfallen, User 28.10.2026): Kacheln und Logos größer */
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-reihe > li { margin: 0 14px; padding: 20px 30px; min-width: 228px; min-height: 104px; }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-reihe img { height: 50px; max-width: 176px; }
.ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logos { margin-bottom: 0; }
@media (max-width: 640px) {
  .ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-reihe > li { margin: 0 10px; padding: 16px 22px; min-width: 172px; min-height: 84px; }
  .ai-page.ap-js .ap-ch--end .ap-vertrauen .ap-logo-reihe img { height: 38px; max-width: 132px; }
}

/* Ebenen aus Teilen (Übersicht): Fläche und Konturen getrennt; vector-effect wird nicht vererbt */
.ai-page .ap-layer-edge .ap-flaeche { stroke: none; }
.ai-page .ap-layer-edge .ap-umriss { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ai-page .ap-layer-edge.is-on .ap-umriss { stroke-width: 2; }

/* Layer 3: Agenten leuchten beim Zeigen auf den Dirigenten-Kern in ihrer Farbe */
.ai-page .ap-agent-glow { fill: transparent; stroke: transparent; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none;
  transition: fill .4s var(--ease-out), stroke .4s var(--ease-out); }
.ai-page .ap-agent-glow.is-on { fill: color-mix(in srgb, var(--c) 14%, transparent); stroke: var(--c); stroke-width: 2.5; filter: drop-shadow(0 0 6px var(--c)) drop-shadow(0 0 18px color-mix(in srgb, var(--c) 70%, transparent)); }

/* @view-transition entfernt (11.11.2026): Chrome brach die Überblendung bei jedem Seitenwechsel ab („ViewTransition opt-in disabled“,
   Ausnahme in der Konsole; die Opt-in-Regel in einer verlinkten CSS-Datei greift oft nicht). Sie wird auch nicht gebraucht: Seite 0
   verlässt man auf dem reinen Bild, die Layer-Seite beginnt mit genau diesem Bild, und Chrome hält die alte Seite bis zum ersten
   Bild der neuen stehen. */

/* Übergang zu Layer 1–3 (User 05.11.2026, src/main.js): vor dem Seitenwechsel bleibt nur das reine Bild mit Vignette und Körnung stehen,
   die Maus-Parallaxe läuft auf null. Genau so beginnt der Header der Layer-Seite. */
.ai-page.ap-leaving .ap-film__chapters, .ai-page.ap-leaving .ap-hud, .ai-page.ap-leaving .ap-rail, .ai-page.ap-leaving .ap-film__overlay,
.ai-page.ap-leaving .ap-film__motes, .ai-page.ap-leaving .ap-cue, .ai-page.ap-leaving .ap-film__heroshade, .ai-page.ap-leaving .ap-skip {
  opacity: 0 !important; pointer-events: none !important; transition: opacity .4s var(--ease-out) !important; }
.ai-page.ap-leaving .ap-film__media { transform: scale(1) !important; transform-origin: 50% 50%;
  transition: transform .45s var(--ease-out) !important; } /* 11.11.2026: Bild steht still (Maus-Parallaxe auf null). Die Fahrt beginnt erst auf der Layer-Seite aus
  der Ruhe (layer.css lp-dive). Eine Fahrt schon hier würde beim Laden der neuen Seite (gemessen 0,3–0,5 s) mitten in der Bewegung stocken. */

/* ===== Website-Grundstile (Chef 05.11.2026: „standard-styles der Statamic-Seite übernehmen … individuelle Elemente nicht abändern“) =====
   Werte gemessen auf courseticket.com/de/ (Klassen ct-h2, ct-lead, ct-body, ct-muted): Abschnittstitel Poppins 600, 26/32/36 px
   (< 640 / ≥ 640 / ≥ 1024), Zeilenhöhe 1,15, Laufweite −0,025em; Lead Inter 17/28; Fließtext 16/28; Kleintext 14/24; H3 18/28.
   Gilt hier für die gemeinsamen Standard-Texte (Abschnittstitel, Demo-Abschnitt, FAQ). Eigene Elemente (Film, Karten im Film,
   Aussagesätze, Tabelle, Eyebrows) bleiben unverändert. Layer-eigene Standard-Texte: Block am Ende von layer.css. */
.ai-page .ap-h2, .ai-page .ap-cta__title { font-size: 1.625rem; line-height: 1.15; letter-spacing: -.025em; }
@media (min-width: 640px) { .ai-page .ap-h2, .ai-page .ap-cta__title { font-size: 2rem; } }
@media (min-width: 1024px) { .ai-page .ap-h2, .ai-page .ap-cta__title { font-size: 2.25rem; } }
.ai-page .ap-cta__text { font-size: 1.0625rem; line-height: 1.75rem; }
.ai-page .ap-faq summary h3 { font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -.025em; }
.ai-page .ap-faq__a p { font-size: 1rem; line-height: 1.75rem; }

/* Mobil flüssiger (User 06.11.2026): Film-Canvas mit max. 1,25-facher Pixeldichte (script.js), ohne SVG-Farbkorrektur,
   kein Glas-Weichzeichner über dem laufenden Film (Hintergründe dafür deckender). Gemessen (iPhone-13-Emulation, 4× CPU-Drossel):
   Frames > 50 ms 19 → 2. Desktop unverändert. */
@media (pointer: coarse), (max-width: 760px) {
  .ai-page .ap-film__canvas { filter: none; }
  .ai-page.ap-js .ap-ch.is-active .ap-card, .ai-page.ap-js .ap-ch.is-active .ap-relay, .ai-page .ap-tip, .ai-page .ap-chip { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ai-page.ap-js .ap-ch .ap-card { background: linear-gradient(160deg, rgba(116,210,255,.08), rgba(17,24,40,.93) 55%); }
  .ai-page.ap-js .ap-relay { background: linear-gradient(160deg, rgba(116,210,255,.10), rgba(17,24,40,.9) 55%); }
  .ai-page .ap-chip { background: linear-gradient(160deg, rgba(116,210,255,.08), rgba(13,18,32,.9) 55%); }
  .ai-page .ap-film__media { will-change: auto; }
}

/* ===== layer.css ===== */
/* Prüfseiten Layer 1–3 (Seite 1–3 der Drei-Schichten-Serie).
   Basis: styles.css (Seite 0) + prototyp/s1-skills.css (Motion Graphic). Hier: Seitenabschnitte und Motion Design.
   Bildsprache: courseticket-Marke + Seite 0 (Navy, Glas, Signatur-Verlauf) + Muster von bitcraft.at
   (helle Flächen mit Punktraster und Plus-Marken, Überschrift links / Einleitung rechts, Mono-Etiketten,
   kleine animierte Szenen in Karten, Schriftband, Abschnittsanzeige, Cursor-Licht). */

.ai-page { --lp-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace; --lp-dot: rgba(17,24,40,.09); }
.ai-page .lp-dark { background: var(--navy-deep); color: var(--text-body-dark); }
.ai-page .lp-light { background: var(--white); color: var(--text-body); }
.ai-page .lp-paper { background: var(--paper); color: var(--text-body); }
.ai-page .lp-sec { position: relative; padding: var(--section-pad) 0; overflow: hidden; isolation: isolate; }

/* 05.11.2026 (User): Wie auf courseticket.com hat jeder Abschnitt nur noch seine Farbe. Das Punktraster (::before) und die Plus-Marken
   sind entfallen, ebenso das Linienmuster weiter unten und das Standbild im Demo-Abschnitt. Der Lichtschein bleibt (.lp-glow,
   dunkles .lp-raster, Hero). Die alte Fassung liegt in tmp/vor-nur-farbe-2026-11-05/. */
.ai-page .lp-plus { position: absolute; width: 13px; height: 13px; z-index: -1; opacity: .5; }
.ai-page .lp-plus::before, .ai-page .lp-plus::after { content: ""; position: absolute; background: currentColor; }
.ai-page .lp-plus::before { left: 6px; top: 0; width: 1px; height: 13px; }
.ai-page .lp-plus::after { top: 6px; left: 0; height: 1px; width: 13px; }
.ai-page .lp-light .lp-plus, .ai-page .lp-paper .lp-plus { color: rgba(17,24,40,.35); }
.ai-page .lp-dark .lp-plus { color: rgba(116,210,255,.45); }

/* Mono-Etikett (bitcraft) */
.ai-page .lp-mono { font: 500 12.5px/1 var(--lp-mono); letter-spacing: .04em; color: var(--text-muted); display: inline-flex; gap: 10px; align-items: center; }
.ai-page .lp-mono b { color: var(--depth-blue); font-weight: 600; }
.ai-page .lp-dark .lp-mono { color: var(--text-faint-dark); }
.ai-page .lp-dark .lp-mono b { color: var(--ice-cyan); }

/* Kopf eines Abschnitts: Überschrift links, Einleitung rechts */
.ai-page .lp-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ai-page .lp-head .ap-h2 { margin: 14px 0 0; max-width: 18ch; }
.ai-page .lp-head__lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--text-muted); margin: 0; max-width: 46ch; }
.ai-page .lp-dark .lp-head__lead { color: var(--text-muted-dark); }

/* ---------- Hero ---------- */
.ai-page .lp-hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; padding: clamp(110px, 12vw, 150px) 0 clamp(80px, 9vw, 110px); overflow: hidden; isolation: isolate; }
.ai-page .lp-hero__bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 55% at 78% 40%, rgba(40,156,226,.22), transparent 70%),
  radial-gradient(45% 45% at 15% 85%, rgba(116,210,255,.10), transparent 70%), var(--navy-deep); transform: translateY(calc(var(--p, 0) * 80px)); }
.ai-page .lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai-page .lp-hero__title { font-size: clamp(36px, 4.4vw, 64px); font-weight: 600; line-height: 1.06; letter-spacing: -.03em; margin: 22px 0 26px; max-width: 18ch; }
.ai-page .lp-hero__lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--text-muted-dark); max-width: 54ch; margin: 0; }
.ai-page .lp-hero__entity { font-size: 14.5px; line-height: 1.6; color: var(--text-faint-dark); max-width: 58ch; margin: 18px 0 34px; padding-left: 14px; border-left: 2px solid rgba(116,210,255,.25); }
.ai-page .lp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center;
  margin-top: clamp(28px, 2.6vw, 40px); } /* 11.11.2026 (User): Buttons klebten am Lead (Abstand war 0), jetzt etwas mehr Luft als H1 → Lead (26 px) */
.ai-page .lp-hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: end; transform: translateY(calc(var(--p, 0) * -60px)); }
.ai-page .lp-hero__visual svg { width: 100%; height: 100%; overflow: visible; }
.ai-page .lp-hero__ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(116,210,255,.14); }
.ai-page .lp-hero__ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(116,210,255,.12); }
.ai-page .lp-hud { position: absolute; inset: 22px; pointer-events: none; z-index: 1; }
.ai-page .lp-hud i { position: absolute; width: 18px; height: 18px; border-color: rgba(116,210,255,.35); border-style: solid; border-width: 0; }
.ai-page .lp-hud i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.ai-page .lp-hud i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.ai-page .lp-hud i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.ai-page .lp-hud i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.ai-page .lp-hud span { position: absolute; left: 30px; bottom: -4px; font: 500 12px/1 var(--lp-mono); color: var(--text-faint-dark); letter-spacing: .06em; }

/* Kinetische Überschrift: Wörter steigen aus einer Maske (nur mit JS) */
/* 12.11.2026 (Chef: Schrift nie abgeschnitten): Maske unten .08 → .22em und seitlich .04em Luft, sonst schnitt sie die Unterlängen
   (g, p, y) und Überhänge um 2–4 px ab. Startversatz der Wörter entsprechend 110 → 135 %, damit nichts unten hervorlugt. */
.ai-page .lp-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .22em; margin: 0 -.04em -.22em; }
.ai-page .lp-w > span { display: inline-block; }
.ai-page.ap-js .lp-kin .lp-w > span { transform: translateY(135%); }
.ai-page.ap-js .lp-kin.is-in .lp-w > span { transform: none; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 120ms); }

/* Endlos-Schleifen anhalten (Pause-Knopf, WCAG 2.2.2) */
.ai-page.lp-paused .lp-loop, .ai-page.lp-paused .lp-loop * { animation-play-state: paused !important; }

/* Hero-Motiv */
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-dash { to { stroke-dashoffset: -200; } }
@keyframes lp-glow { 0%, 100% { opacity: .25; } 50% { opacity: .85; } }
@keyframes lp-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--d, -14px)); } }
.ai-page .lp-loop .lp-bob { animation: lp-bob 5.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); transform-box: fill-box; }
.ai-page .lp-loop .lp-orbit { animation: lp-spin 18s linear infinite; transform-origin: 50% 50%; transform-box: view-box; }
.ai-page .lp-loop .lp-flow { stroke-dasharray: 6 10; animation: lp-dash 3.5s linear infinite; }
.ai-page .lp-loop .lp-pulse { animation: lp-glow 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.9s); }
.ai-page .lp-loop .lp-breathe { animation: lp-breathe 6s ease-in-out infinite; transform-box: fill-box; }

/* ---------- Herausforderung: Karten mit animierten Szenen ---------- */
.ai-page .lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ai-page .lp-pcard { position: relative; background: var(--white); border: 1px solid var(--border-hairline); border-radius: 18px; padding: 14px 14px 26px;
  box-shadow: var(--shadow-card); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.ai-page .lp-pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.ai-page .lp-scene { position: relative; border-radius: 12px; background: #F3F6F9; border: 1px solid rgba(17,24,40,.06); aspect-ratio: 28 / 15; overflow: hidden; }
.ai-page .lp-scene::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(17,24,40,.08) 1px, transparent 1.4px); background-size: 14px 14px; }
.ai-page .lp-scene svg { position: relative; width: 100%; height: 100%; display: block; }
.ai-page .lp-pcard .lp-mono { margin: 22px 12px 0; }
.ai-page .lp-pcard h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; margin: 10px 12px 8px; line-height: 1.3; }
.ai-page .lp-pcard p { margin: 0 12px; color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }

/* Szenen-Bausteine (SVG) */
.ai-page .sc-ink { fill: #111828; }
.ai-page .sc-mute { fill: rgba(17,24,40,.14); }
.ai-page .sc-line { stroke: rgba(17,24,40,.25); stroke-width: 1.5; fill: none; }
.ai-page .sc-card { fill: #fff; stroke: rgba(17,24,40,.14); }
.ai-page .sc-blue { fill: #0069AA; }
.ai-page .sc-sig { stroke: #289CE2; }
.ai-page .sc-t { font: 600 11px "Poppins", sans-serif; fill: #111828; }
.ai-page .sc-s { font: 500 9.5px "Poppins", sans-serif; fill: rgba(17,24,40,.6); }
.ai-page .sc-mono { font: 600 10px var(--lp-mono); fill: rgba(17,24,40,.55); }
.ai-page .sc-warn circle { fill: #111828; }
.ai-page .sc-warn text { font: 700 11px "Poppins", sans-serif; fill: #fff; }
/* Szenen-Animationen laufen, sobald die Karte sichtbar ist; Schleife mit Pause */
.ai-page .lp-scene .a { animation-duration: 4.8s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(0.65,0,0.35,1); transform-box: fill-box; transform-origin: 50% 50%; animation-play-state: paused; }
.ai-page .is-in .lp-scene .a { animation-play-state: running; }
.ai-page.lp-paused .lp-scene .a { animation-play-state: paused !important; }
@keyframes sc-bounce { 0%, 10% { transform: translateX(0); } 38% { transform: translateX(var(--dx, 90px)); } 48% { transform: translateX(calc(var(--dx, 90px) - 26px)) rotate(-8deg); } 62%, 100% { transform: translateX(0); } }
@keyframes sc-pop { 0%, 30% { transform: scale(0); opacity: 0; } 40% { transform: scale(1.25); opacity: 1; } 48%, 82% { transform: scale(1); opacity: 1; } 92%, 100% { transform: scale(0); opacity: 0; } }
@keyframes sc-shake { 0%, 40%, 60%, 100% { transform: translateX(0); } 45% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 55% { transform: translateX(-3px); } }
@keyframes sc-shuffle { 0%, 15% { transform: translateY(0) rotate(0); } 35%, 70% { transform: translateY(var(--dy, 8px)) rotate(var(--r, 3deg)); } 90%, 100% { transform: translateY(0) rotate(0); } }
@keyframes sc-crawl { 0% { transform: scaleX(0); } 80%, 100% { transform: scaleX(var(--to, .3)); } }
@keyframes sc-fadein { 0%, 20% { opacity: 0; transform: translateY(8px); } 35%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sc-blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes sc-cut { 0%, 30% { stroke-dashoffset: 0; opacity: 1; } 55%, 100% { stroke-dashoffset: 30; opacity: .25; } }
.ai-page .a.bounce { animation-name: sc-bounce; }
.ai-page .a.pop { animation-name: sc-pop; animation-delay: var(--d, 0s); }
.ai-page .a.shake { animation-name: sc-shake; }
.ai-page .a.shuffle { animation-name: sc-shuffle; animation-delay: var(--d, 0s); }
.ai-page .a.crawl { animation-name: sc-crawl; transform-origin: 0 50%; }
.ai-page .a.fadein { animation-name: sc-fadein; animation-delay: var(--d, 0s); }
.ai-page .a.blink { animation-name: sc-blink; animation-duration: 1.6s; }
.ai-page .a.cut { animation-name: sc-cut; stroke-dasharray: 4 4; }

/* ---------- Value Prop: nummerierte Zeilen mit Scroll-Fortschritt (bitcraft --row-p) ---------- */
.ai-page .lp-rows { display: grid; gap: 0; border-top: 1px solid var(--border-hairline); }
.ai-page .lp-row { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(16px, 3vw, 48px); padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--border-hairline); align-items: start; }
.ai-page .lp-row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gradient-signature); transform-origin: 0 50%; transform: scaleX(var(--row-p, 1)); }
.ai-page .lp-row__n { font-size: clamp(54px, 6vw, 88px); font-weight: 600; line-height: .9; letter-spacing: -.04em; background: linear-gradient(180deg, #0069AA, #289CE2 55%, #74D2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-page .lp-row h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin: 6px 0 0; }
.ai-page .lp-row p { margin: 8px 0 0; color: var(--text-muted); font-size: 17px; line-height: 1.65; }
.ai-page .lp-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.ai-page .lp-twin > div { position: relative; border-radius: 18px; padding: 30px 30px 28px; background: var(--navy-deep); color: var(--text-body-dark); overflow: hidden; isolation: isolate; }
.ai-page .lp-twin > div::after { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(40,156,226,.35), transparent 65%); z-index: -1; transform: translateY(calc((1 - var(--sp, 1)) * 60px)); }
.ai-page .lp-twin h3 { font-size: 20px; font-weight: 600; margin: 14px 0 10px; }
.ai-page .lp-twin p { margin: 0; color: var(--text-muted-dark); line-height: 1.65; }
.ai-page .lp-offen { outline: 1px dashed rgba(0,105,170,.55); outline-offset: 4px; border-radius: 4px; }
.ai-page .lp-dark .lp-offen, .ai-page .lp-twin .lp-offen { outline-color: rgba(116,210,255,.55); }
.ai-page .lp-note { display: block; margin-top: 10px; font: 500 12px/1.4 var(--lp-mono); color: var(--depth-blue); }
.ai-page .lp-dark .lp-note, .ai-page .lp-twin .lp-note { color: var(--ice-cyan); }

/* Schriftband (bitcraft-Kinetik), läuft mit dem Scrollen */
.ai-page .lp-band { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) 0; background: var(--paper); border-top: 1px solid var(--border-hairline); }
.ai-page .lp-band__track { display: flex; gap: .45em; white-space: nowrap; font-size: clamp(56px, 9vw, 140px); font-weight: 600; letter-spacing: -.04em; line-height: 1;
  transform: translateX(calc(-30% + var(--sp, .5) * 30%)); will-change: transform; }
.ai-page .lp-band__track span { color: transparent; -webkit-text-stroke: 1.5px rgba(0,105,170,.35); }
.ai-page .lp-band__track span.is-fill { -webkit-text-stroke: 0; background: var(--gradient-signature); -webkit-background-clip: text; background-clip: text; }
/* 18.11.2026 (Chef: „teilweise noch Schrift im Header abgeschnitten“): Verlaufstext (background-clip: text) zeigt Buchstaben nur innerhalb der Hintergrundfläche.
   Auf den Unterseiten war sie zu knapp: bei g, p, y fehlten 3–4 px der Unterlänge in den Überschriften („System“, „E-Learning-Fachleuten“) und rund 17 px bei den
   großen Laufband-Wörtern („Content-Agent“, „Katalog“). Fläche nach unten verlängert, Layout bleibt gleich (negativer Außenabstand). Seite 0 hat das seit 11/2026
   (.ap-hero__title .ap-grad). Prüfung: tmp/abschnitt-pruefung.html, Regel „Verlauf abgeschnitten“. */
.ai-page[class*="lp-id-"] .ap-grad { padding-bottom: .2em; margin-bottom: -.2em; }
.ai-page .lp-band__track span.is-fill { padding-bottom: .2em; margin-bottom: -.2em; }

/* ---------- Detail-Karten (Skills, Agenten, Zonen) ---------- */
.ai-page .lp-dcards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.ai-page .lp-dcard { position: relative; border-radius: 18px; padding: 26px 24px 24px; background: var(--white); border: 1px solid var(--border-hairline); box-shadow: var(--shadow-card);
  transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s; overflow: hidden; }
.ai-page .lp-dcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(40,156,226,.12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ai-page .lp-dcard:hover { box-shadow: var(--shadow-card-hover); border-color: rgba(40,156,226,.35); }
.ai-page .lp-dcard:hover::before { opacity: 1; }
.ai-page .lp-dcard__icon { width: 56px; height: 56px; margin-bottom: 18px; }
.ai-page .lp-dcard__icon svg { width: 100%; height: 100%; overflow: visible; }
.ai-page .lp-dcard h3 { font-size: 19px; font-weight: 600; margin: 0 0 4px; letter-spacing: -.01em; }
.ai-page .lp-dcard .lp-dcard__sub { font: 500 12.5px var(--lp-mono); color: var(--text-muted); margin: 0 0 14px; }
.ai-page .lp-dcard dl { margin: 0; display: grid; gap: 10px; }
.ai-page .lp-dcard dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--depth-blue); }
.ai-page .lp-dcard dd { margin: 2px 0 0; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.ai-page .lp-dcard .lp-mini { margin-top: 16px; display: grid; gap: 6px; }
.ai-page .lp-dcard .lp-mini span { display: block; font: 500 12.5px/1.3 var(--lp-mono); color: var(--text-muted); background: #F3F6F9; border-radius: 8px; padding: 7px 10px; }
.ai-page .lp-dcards__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--text-muted); }

/* Zeilenliste (Schnittstellen, Modelle & Datenschutz) */
.ai-page .lp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--border-hairline); }
.ai-page .lp-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border-hairline); }
.ai-page .lp-list svg { width: 44px; height: 44px; }
.ai-page .lp-list h3 { font-size: 18px; font-weight: 600; margin: 2px 0 4px; }
.ai-page .lp-list p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }
.ai-page .lp-list-foot { margin-top: 24px; color: var(--text-muted); }

/* Icon-Kacheln (Brand §8) mit Linienzeichnen beim Einblenden */
.ai-page .lp-ico { width: 44px; height: 44px; border-radius: 13px; background: rgba(40,156,226,.1); border: 1px solid rgba(40,156,226,.25); display: grid; place-items: center; }
.ai-page .lp-ico svg { width: 24px; height: 24px; stroke: #0069AA; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ai-page.ap-js [data-reveal] .lp-ico path, .ai-page.ap-js [data-reveal] .lp-ico circle, .ai-page.ap-js [data-reveal] .lp-ico rect { stroke-dasharray: 80; stroke-dashoffset: 80; }
.ai-page.ap-js [data-reveal].is-in .lp-ico path, .ai-page.ap-js [data-reveal].is-in .lp-ico circle, .ai-page.ap-js [data-reveal].is-in .lp-ico rect { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-out) .35s; }

/* Einstieg (Seite 1) und Einsatz-Kacheln (Seite 3) */
.ai-page .lp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ai-page .lp-duo > div { position: relative; border-radius: 20px; padding: clamp(28px, 3vw, 40px); background: var(--paper); border: 1px solid var(--border-hairline); overflow: hidden; }
.ai-page .lp-duo h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; margin: 14px 0 10px; }
.ai-page .lp-duo p { color: var(--text-muted); margin: 0 0 22px; line-height: 1.65; }
.ai-page .lp-link { color: var(--depth-blue); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.ai-page .lp-link::after { content: "→"; transition: transform .3s var(--ease-out); }
.ai-page .lp-link:hover::after { transform: translateX(5px); }
.ai-page .lp-link:focus-visible { outline: 3px solid #52B7FF; outline-offset: 3px; border-radius: 4px; }
.ai-page .lp-claim { margin-top: 28px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.ai-page .lp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ai-page .lp-tiles > div { border-radius: 16px; padding: 22px 20px; background: var(--white); border: 1px solid var(--border-hairline); }
.ai-page .lp-tiles h3 { font-size: 17px; font-weight: 600; margin: 12px 0 4px; }
.ai-page .lp-tiles p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
.ai-page .lp-brandline { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ai-page .lp-brandline p { margin: 0; padding: 20px 22px; border-radius: 14px; background: var(--navy-deep); color: var(--text-muted-dark); }
.ai-page .lp-brandline b { color: var(--text-body-dark); }

/* Beleg-Leiste (Seite 3) */
.ai-page .lp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--border-hairline); }
.ai-page .lp-facts > div { padding: 30px 26px; border-right: 1px solid var(--border-hairline); }
.ai-page .lp-facts > div:last-child { border-right: 0; }
.ai-page .lp-facts strong { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; }
.ai-page .lp-facts span { color: var(--text-muted); font-size: 15px; }

/* ---------- Serien-Navigation ---------- */
.ai-page .lp-series { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ai-page .lp-scard { position: relative; display: flex; flex-direction: column; gap: 8px; border-radius: 18px; padding: 24px 24px 22px; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--border-hairline); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.ai-page a.lp-scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.ai-page a.lp-scard:focus-visible { outline: 3px solid #52B7FF; outline-offset: 3px; }
.ai-page .lp-scard::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--c); }
.ai-page .lp-scard .lp-mono b { color: var(--c-ink, var(--depth-blue)); }
.ai-page .lp-scard h3 { font-size: 20px; font-weight: 600; margin: 4px 0 0; }
.ai-page .lp-scard p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.ai-page .lp-scard .lp-scard__go { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--depth-blue); }
.ai-page .lp-scard[aria-current="page"] { background: var(--navy-deep); color: var(--text-body-dark); border-color: transparent; }
.ai-page .lp-scard[aria-current="page"] p { color: var(--text-muted-dark); }
.ai-page .lp-scard[aria-current="page"] .lp-scard__go { color: var(--ice-cyan); }
.ai-page .lp-scard[aria-current="page"] .lp-mono { color: var(--text-faint-dark); }
.ai-page .lp-scard[aria-current="page"] .lp-mono b { color: var(--ice-cyan); }
.ai-page .lp-overview { margin-top: 24px; }

/* ---------- Abschnittsanzeige (bitcraft) + Scroll-Fortschritt ---------- */
.ai-page .lp-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 50; background: var(--gradient-signature); transform-origin: 0 50%; transform: scaleX(var(--page-p, 0)); pointer-events: none; }
.ai-page .lp-where { position: fixed; left: 18px; bottom: 18px; z-index: 50; display: inline-flex; gap: 10px; align-items: center; padding: 9px 14px; border-radius: 999px;
  background: rgba(17,24,40,.86); color: var(--text-body-dark); border: 1px solid rgba(116,210,255,.18); font: 500 12px/1 var(--lp-mono); letter-spacing: .04em;
  backdrop-filter: blur(8px); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease-out); pointer-events: none; }
.ai-page .lp-where.is-on { opacity: 1; transform: none; }
.ai-page .lp-where b { color: var(--ice-cyan); font-weight: 600; }
.ai-page .lp-where i { width: 7px; height: 7px; border-radius: 50%; background: var(--ice-cyan); box-shadow: 0 0 10px var(--ice-cyan); }

/* Cursor-Licht auf dunklen Flächen (nur feiner Zeiger) */
.ai-page .lp-cursor { position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(82,183,255,.16), transparent 62%); transform: translate(var(--cx, -999px), var(--cy, -999px)); transition: opacity .4s; opacity: 0; }
.ai-page .lp-dark:hover > .lp-cursor { opacity: 1; }

/* Motion Graphic eingebettet: Navy-Abschnitt ohne Prototyp-Hinweis */
.ai-page .lp-mg { background: var(--navy-deep); }
.ai-page .lp-mg .mg-sticky { max-width: 1240px; }

/* Abschluss-CTA: Lichtpulse */
.ai-page .lp-cta-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ai-page .lp-cta-glow i { position: absolute; width: 46vw; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; border: 1px solid rgba(116,210,255,.14); }
.ai-page .lp-loop .lp-cta-glow i { animation: lp-ripple 7s linear infinite; animation-delay: calc(var(--i) * -2.33s); }
@keyframes lp-ripple { from { scale: .3; opacity: .9; } to { scale: 1.6; opacity: 0; } }

/* Hinweisband der Prüfseite (kein Bestandteil der Live-Seite) */
.ai-page .lp-pruef { background: #0B1424; color: var(--text-muted-dark); font: 500 12.5px/1.5 var(--lp-mono); padding: 10px clamp(16px, 4vw, 48px); border-bottom: 1px solid rgba(116,210,255,.14); }
.ai-page .lp-pruef b { color: var(--ice-cyan); }

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .ai-page .lp-hero__grid, .ai-page .lp-head { grid-template-columns: 1fr; }
  .ai-page .lp-hero__visual { justify-self: center; max-width: 420px; }
  .ai-page .lp-cards, .ai-page .lp-series { grid-template-columns: 1fr; }
  .ai-page .lp-dcards { --cols: 2 !important; }
  .ai-page .lp-tiles { grid-template-columns: 1fr 1fr; }
  .ai-page .lp-row { grid-template-columns: 72px 1fr; }
  .ai-page .lp-row p { grid-column: 2; }
}
@media (max-width: 640px) {
  .ai-page .lp-dcards, .ai-page .lp-tiles, .ai-page .lp-twin, .ai-page .lp-duo, .ai-page .lp-list, .ai-page .lp-facts, .ai-page .lp-brandline { grid-template-columns: 1fr; }
  .ai-page .lp-dcards { --cols: 1 !important; }
  .ai-page .lp-facts > div { border-right: 0; border-bottom: 1px solid var(--border-hairline); }
  .ai-page .lp-where { display: none; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .ai-page .lp-loop *, .ai-page .lp-scene .a { animation: none !important; }
  .ai-page.ap-js .lp-kin .lp-w > span { transform: none !important; }
  .ai-page .lp-hero__bg, .ai-page .lp-hero__visual, .ai-page .lp-band__track { transform: none !important; }
  .ai-page .lp-row::before { transform: none; }
  .ai-page .lp-dcard { transform: none !important; }
  .ai-page .lp-cursor { display: none; }
  .ai-page.ap-js [data-reveal] .lp-ico path, .ai-page.ap-js [data-reveal] .lp-ico circle, .ai-page.ap-js [data-reveal] .lp-ico rect { stroke-dashoffset: 0; }
}

/* Icons auf dunklen Karten */
.ai-page .lp-twin .lp-ico { background: rgba(116,210,255,.08); border-color: rgba(116,210,255,.3); }
.ai-page .lp-twin .lp-ico svg { stroke: #74D2FF; }

/* FAQ (Baustein von Seite 0) auf hellem Grund: dunkle Schrift, weil s1-skills.css die Grundfarbe hell setzt */
.ai-page .ap-faq { color: var(--text-body); }
.ai-page .ap-faq summary h3 { color: var(--text-body); }
.ai-page .ap-faq__a, .ai-page .ap-faq__a p { color: var(--text-muted); }

/* ===== Dunkle Abschnitte wie Seite 0 (User 29.10.): nur Herausforderung und FAQ bleiben hell ===== */
.ai-page .lp-sec.lp-dark { background: var(--navy-deep); }
.ai-page .lp-sec.lp-dark.lp-glow { background: radial-gradient(60% 50% at 85% 0%, rgba(40,156,226,.14), transparent 70%), radial-gradient(50% 45% at 0% 100%, rgba(116,210,255,.06), transparent 70%), var(--navy-deep); }
.ai-page .lp-sec.lp-dark.lp-raster { background: radial-gradient(55% 50% at 10% 10%, rgba(40,156,226,.12), transparent 70%), #0E1422; }
.ai-page .lp-dark + .lp-dark, .ai-page .lp-dark + .lp-band, .ai-page .lp-band + .mg { border-top: 1px solid rgba(116,210,255,.08); }
.ai-page .lp-dark .ap-h2 { color: var(--text-body-dark); }

/* Nutzen-Zeilen */
.ai-page .lp-dark .lp-rows, .ai-page .lp-dark .lp-row { border-color: rgba(116,210,255,.12); }
.ai-page .lp-dark .lp-row p { color: var(--text-muted-dark); }
.ai-page .lp-dark .lp-row__n { background: linear-gradient(180deg, #52B7FF, #74D2FF); -webkit-background-clip: text; background-clip: text; }
.ai-page .lp-dark .lp-twin > div { background: var(--glass-surface); border: var(--glass-border); box-shadow: var(--glass-glow); }

/* Glas-Karten statt weißer Karten */
.ai-page .lp-dark .lp-dcard, .ai-page .lp-dark .lp-duo > div, .ai-page .lp-dark .lp-tiles > div, .ai-page .lp-dark .lp-scard {
  background: var(--glass-surface); border: var(--glass-border); box-shadow: var(--glass-glow); color: var(--text-body-dark); }
.ai-page .lp-dark .lp-dcard:hover { border-color: rgba(116,210,255,.4); }
.ai-page .lp-dark .lp-dcard::before { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(116,210,255,.12), transparent 60%); }
.ai-page .lp-dark .lp-dcard dt { color: var(--ice-cyan); }
.ai-page .lp-dark .lp-dcard dd, .ai-page .lp-dark .lp-duo p, .ai-page .lp-dark .lp-tiles p, .ai-page .lp-dark .lp-scard p { color: var(--text-muted-dark); }
.ai-page .lp-dark .lp-dcard .lp-dcard__sub { color: var(--text-faint-dark); }
.ai-page .lp-dark .lp-dcard .lp-mini span { background: rgba(116,210,255,.06); color: var(--text-muted-dark); }
.ai-page .lp-dark .lp-scard[aria-current="page"] { background: linear-gradient(160deg, rgba(40,156,226,.35), rgba(31,41,56,.85) 60%); border-color: rgba(116,210,255,.45); }
.ai-page .lp-dark .lp-scard .lp-scard__go, .ai-page .lp-dark .lp-link { color: #52B7FF; }

/* Listen, Belege, Marken-Zeile */
.ai-page .lp-dark .lp-list, .ai-page .lp-dark .lp-list > div, .ai-page .lp-dark .lp-facts, .ai-page .lp-dark .lp-facts > div { border-color: rgba(116,210,255,.12); }
.ai-page .lp-dark .lp-list p, .ai-page .lp-dark .lp-list-foot, .ai-page .lp-dark .lp-facts span, .ai-page .lp-dark .lp-dcards__foot { color: var(--text-muted-dark); }
.ai-page .lp-dark .lp-ico { background: rgba(116,210,255,.08); border-color: rgba(116,210,255,.3); }
.ai-page .lp-dark .lp-ico svg { stroke: #74D2FF; }
.ai-page .lp-dark .lp-brandline p { background: rgba(116,210,255,.06); border: var(--glass-border); }

/* Schriftband dunkel */
.ai-page .lp-band { background: #0E1422; border-top: 1px solid rgba(116,210,255,.08); }
.ai-page .lp-band__track span { -webkit-text-stroke: 1.5px rgba(116,210,255,.28); }
.ai-page .lp-dark .lp-scard .lp-mono b { color: var(--c); }
.ai-page .lp-dark .lp-scard .lp-mono { color: var(--text-faint-dark); }

/* ===== Hover-Bewegungen (User 29.10.: dezent, überall etwas) ===== */
/* Lichtfleck folgt dem Zeiger auf Karten (Variablen --mx/--my aus layer.js) */
.ai-page .lp-pcard, .ai-page .lp-twin > div, .ai-page .lp-duo > div, .ai-page .lp-tiles > div, .ai-page .lp-scard, .ai-page .lp-facts > div { position: relative; isolation: isolate; }
.ai-page .lp-pcard::after, .ai-page .lp-twin > div::before, .ai-page .lp-duo > div::after, .ai-page .lp-tiles > div::after, .ai-page .lp-scard::after, .ai-page .lp-facts > div::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s var(--ease-out);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(82,183,255,.16), transparent 65%); }
.ai-page .lp-pcard:hover::after, .ai-page .lp-twin > div:hover::before, .ai-page .lp-duo > div:hover::after, .ai-page .lp-tiles > div:hover::after, .ai-page .lp-scard:hover::after, .ai-page .lp-facts > div:hover::after { opacity: 1; }
.ai-page .lp-pcard::after { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(40,156,226,.10), transparent 65%); }

/* Herausforderung: Szene zoomt leicht, Raster wandert, Marker glühen */
.ai-page .lp-scene svg { transition: transform .6s var(--ease-out); }
.ai-page .lp-pcard:hover .lp-scene svg { transform: scale(1.04); }
.ai-page .lp-scene::before { transition: background-position 1.2s var(--ease-out); }
.ai-page .lp-pcard:hover .lp-scene::before { background-position: 7px 7px; }
.ai-page .lp-pcard:hover .sc-warn circle { filter: drop-shadow(0 0 5px rgba(40,156,226,.8)); }
.ai-page .lp-pcard h3 { transition: color .3s; }
.ai-page .lp-pcard:hover h3 { color: var(--depth-blue); }

/* Hero-Motiv: neigt sich zum Zeiger, einzelne Elemente leuchten auf */
.ai-page .lp-hero__visual svg { transition: transform .8s var(--ease-out); transform: perspective(900px) rotateX(var(--hy, 0deg)) rotateY(var(--hx, 0deg)); }
.ai-page .lp-hero__visual .lp-bob, .ai-page .lp-hero__visual .lp-breathe { transition: filter .35s; }
.ai-page .lp-hero__visual .lp-bob:hover, .ai-page .lp-hero__visual .lp-breathe:hover { filter: brightness(1.35) drop-shadow(0 0 14px rgba(116,210,255,.55)); }
.ai-page .lp-hero__ring { transition: transform 1.2s var(--ease-out), border-color .6s; }
.ai-page .lp-hero__visual:hover .lp-hero__ring { transform: scale(1.03) rotate(8deg); border-color: rgba(116,210,255,.3); }

/* Nutzen-Zeilen: Ziffer rückt, Linie leuchtet */
.ai-page .lp-row { transition: background-color .4s; }
.ai-page .lp-row__n { display: inline-block; transition: transform .5s var(--ease-out), filter .5s; }
.ai-page .lp-row:hover .lp-row__n { transform: translateX(8px) scale(1.06); filter: drop-shadow(0 0 18px rgba(82,183,255,.45)); }
.ai-page .lp-row h3 { transition: transform .5s var(--ease-out); }
.ai-page .lp-row:hover h3 { transform: translateX(6px); }
.ai-page .lp-row::before { transition: height .3s, filter .3s; }
.ai-page .lp-row:hover::before { height: 3px; filter: drop-shadow(0 0 6px rgba(116,210,255,.8)); }
.ai-page .lp-dark .lp-row:hover { background-color: rgba(116,210,255,.025); }

/* Icons: Kachel hebt sich, Linie zeichnet neu */
.ai-page .lp-ico { transition: transform .45s var(--ease-out), box-shadow .45s, background-color .45s; }
.ai-page .lp-twin > div:hover .lp-ico, .ai-page .lp-list > div:hover .lp-ico, .ai-page .lp-tiles > div:hover .lp-ico { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 8px 22px -8px rgba(82,183,255,.7); background-color: rgba(116,210,255,.14); }
@keyframes lp-redraw { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
.ai-page .lp-twin > div:hover .lp-ico svg *, .ai-page .lp-list > div:hover .lp-ico svg *, .ai-page .lp-tiles > div:hover .lp-ico svg * { stroke-dasharray: 80; animation: lp-redraw .9s var(--ease-out); }

/* Listen: Eintrag rückt ein, Unterstrich wächst */
.ai-page .lp-list > div { position: relative; transition: transform .4s var(--ease-out); }
.ai-page .lp-list > div::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gradient-signature); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.ai-page .lp-list > div:hover { transform: translateX(6px); }
.ai-page .lp-list > div:hover::after { transform: scaleX(1); }

/* Detail-Karten: Icon schwebt, Beispielzeilen gleiten */
.ai-page .lp-dcard__icon { transition: transform .6s var(--ease-out), filter .6s; }
.ai-page .lp-dcard:hover .lp-dcard__icon { transform: translateY(-6px) rotate(-4deg) scale(1.08); filter: drop-shadow(0 10px 14px rgba(82,183,255,.45)); }
.ai-page .lp-dcard .lp-mini span { transition: transform .4s var(--ease-out), background-color .4s; }
.ai-page .lp-dcard:hover .lp-mini span { transform: translateX(6px); }
.ai-page .lp-dcard:hover .lp-mini span:nth-child(2) { transition-delay: .05s; }
.ai-page .lp-dcard:hover .lp-mini span:nth-child(3) { transition-delay: .1s; }

/* Einstieg, Kacheln, Serie, Belege: leichtes Anheben */
.ai-page .lp-duo > div, .ai-page .lp-tiles > div, .ai-page .lp-facts > div { transition: transform .45s var(--ease-out), border-color .45s; }
.ai-page .lp-duo > div:hover, .ai-page .lp-tiles > div:hover { transform: translateY(-5px); border-color: rgba(116,210,255,.4); }
.ai-page .lp-facts strong { transition: transform .5s var(--ease-out); display: inline-block; }
.ai-page .lp-facts > div:hover strong { transform: translateY(-3px); background: var(--gradient-signature); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-page .lp-scard::before { transition: height .45s var(--ease-out), box-shadow .45s; }
.ai-page a.lp-scard:hover::before { height: 6px; box-shadow: 0 0 18px var(--c); }
.ai-page .lp-scard__go { transition: transform .35s var(--ease-out); }
.ai-page a.lp-scard:hover .lp-scard__go { transform: translateX(6px); }

/* FAQ: Akzentlinie links beim Hovern */
.ai-page .ap-faq summary { position: relative; }
.ai-page .ap-faq summary::before { content: ""; position: absolute; left: -16px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--gradient-signature); transform: scaleY(0); transition: transform .4s var(--ease-out); }
.ai-page .ap-faq summary:hover::before, .ai-page .ap-faq details[open] summary::before { transform: scaleY(1); }

/* Knöpfe folgen dem Zeiger (magnetisch), Demo-Hintergrund mit Zeiger-Parallaxe */
.ai-page .lp-magnet { transform: translate(var(--bx, 0px), var(--by, 0px)); transition: transform .35s var(--ease-out), background-color .2s, box-shadow .2s; }
.ai-page .ap-cta__media img { transition: transform 1.4s var(--ease-out); transform: scale(1.06) translate(var(--px, 0px), var(--py, 0px)); }

/* Mono-Etiketten: Nummer glimmt beim Hovern */
.ai-page .lp-mono b { transition: text-shadow .3s; }
.ai-page [data-reveal]:hover > .lp-mono b, .ai-page .lp-pcard:hover .lp-mono b { text-shadow: 0 0 12px currentColor; }

@media (prefers-reduced-motion: reduce) {
  .ai-page .lp-scene svg, .ai-page .lp-hero__visual svg, .ai-page .lp-row__n, .ai-page .lp-row h3, .ai-page .lp-ico, .ai-page .lp-list > div, .ai-page .lp-dcard__icon,
  .ai-page .lp-dcard .lp-mini span, .ai-page .lp-duo > div, .ai-page .lp-tiles > div, .ai-page .lp-magnet, .ai-page .ap-cta__media img { transform: none !important; }
  .ai-page .lp-ico svg * { animation: none !important; }
}

/* ===== Einheitlich nach Seite 1, Farben der courseticket.com-Startseite (User 05.11.2026; live gemessen) =====
   Startseite: Navy #111828, Fläche #1F2938, Markenblau #289CE2, Akzent auf Dunkel #74D2FF, Illustration #52B7FF,
   CTA #0069AA. Agenten: Skill #34D399 · Content #52B7FF · Tutor #A79BFF · Admin #FBBF24.
   Die frühere eigene Identität je Seite (Lila für L2, Orange für L3, eigene Hero-Aufbauten, Staffelstab, Schichten) entfällt. */
.ai-page[class*="lp-id-"] {
  --id-a: #289CE2; --id-b: #74D2FF; --id-grad: linear-gradient(90deg, #289CE2, #74D2FF); --id-glow: rgba(82,183,255,.16);
  --ice-cyan: #74D2FF; --gradient-signature: linear-gradient(90deg, #289CE2, #74D2FF);
  --border-hairline-dark: rgba(116,210,255,.14); --l3: #74D2FF;
  --glass-surface: linear-gradient(160deg, rgba(116,210,255,.07), rgba(31,41,56,.72) 38%);
  --glass-border: 1px solid rgba(116,210,255,.16);
}

/* Akzent auf dunklem Grund: Verlaufswörter, Eyebrow-Linie, Nummern, Ziffern, Fortschritt, Anzeige, Cursor-Licht */
.ai-page[class*="lp-id-"] .lp-dark .ap-grad, .ai-page[class*="lp-id-"] .lp-hero .ap-grad, .ai-page[class*="lp-id-"] .ap-cta .ap-grad, .ai-page[class*="lp-id-"] .lp-band .is-fill { background-image: var(--id-grad); }
.ai-page[class*="lp-id-"] .lp-dark .ap-eyebrow::before, .ai-page[class*="lp-id-"] .ap-cta .ap-eyebrow::before { background: var(--id-grad); }
.ai-page[class*="lp-id-"] .lp-dark .lp-mono b { color: var(--ice-cyan); }
.ai-page[class*="lp-id-"] .lp-dark .lp-row__n { background-image: linear-gradient(180deg, var(--id-a), var(--id-b)); }
.ai-page[class*="lp-id-"] .lp-dark .lp-row::before { background: var(--id-grad); }
.ai-page[class*="lp-id-"] .lp-progress { background: var(--id-grad); }
.ai-page[class*="lp-id-"] .lp-where b { color: var(--id-b); }
.ai-page[class*="lp-id-"] .lp-where i { background: var(--id-b); box-shadow: 0 0 10px var(--id-b); }
.ai-page[class*="lp-id-"] .lp-cursor { background: radial-gradient(circle, var(--id-glow), transparent 62%); }
.ai-page[class*="lp-id-"] .lp-dark .lp-twin > div::after { background: radial-gradient(circle, var(--id-glow), transparent 65%); }
.ai-page[class*="lp-id-"] .lp-dark .lp-dcard dt { color: var(--ice-cyan); }

/* ---------- Hintergrund: Linienmuster der dunklen Abschnitte entfallen (User 05.11.2026, nur Farbe) ---------- */

/* Hero: auf allen drei Seiten wie Seite 1 — Text linksbündig, Motiv rechts (Grundaufbau aus .lp-hero__grid) */

/* ===== Dezenter (User 05.11.2026): weniger Lesestoff, ruhigere Bewegung ===== */
/* Hero-Motiv: läuft einmal ab und bleibt dann stehen */
.ai-page .lp-hero .lp-hero__visual * { animation-iteration-count: 1 !important; }
/* Demo: Hintergrund-Ringe stehen still */
.ai-page .ap-cta .lp-cta-glow i { animation: none !important; scale: calc(.55 + var(--i) * .45); opacity: .55; }
/* „Was Sie davon haben“: eine Zeile mit drei Karten statt Nutzen-Zeilen + „Warum jetzt / morgen“ */
.ai-page .lp-gains { margin-top: clamp(48px, 6vw, 80px); }
.ai-page .lp-gains__k { display: block; color: var(--text-muted-dark); }
.ai-page .lp-gains__k b { color: var(--ice-cyan); margin-right: 4px; }
.ai-page .lp-twin.lp-twin--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.ai-page .lp-twin--3 > div { padding: 26px 26px 24px; }
.ai-page .lp-twin--3 h3 { font-size: 18px; }
@media (max-width: 900px) { .ai-page .lp-twin.lp-twin--3 { grid-template-columns: 1fr; } }

/* ===== Header = Standbild von Seite 0 (User 05.11.2026) =====
   Der Film auf Seite 0 bleibt im Kapitel jeder Ebene auf einem Standbild stehen (k1/k2/k3), dort steht der Link „Weiter zu …“.
   Der Header zeigt dasselbe Bild in derselben Geometrie wie die Film-Bühne (src/film.js measure()): quer als zentriertes „cover“,
   hochkant 16:9 mit der Breite min(235vw, 80vh·16/9), die Mitte auf 42 % der Höhe. Darüber liegt dieselbe Vignette. Beim Ankommen
   ist kurz nur das Bild zu sehen, dann blenden Abdunklung und Text ein. Beim Weiterscrollen tritt das Bild zurück (--p aus src/layer.js).
   Das bisherige SVG-Motiv entfällt. Der Header ist die einzige Ausnahme von „Abschnitte nur Farbe“. */
.ai-page .lp-hero--still { min-height: 100vh; min-height: 100lvh; background: #0d1220; }
/* Bildfläche = Film-Bühne: genau Fensterhöhe ab Oberkante des Headers, nicht die (oft höhere) Header-Höhe. Sonst rechnet „cover“
   auf eine andere Fläche und das Bild sitzt ~57 px anders als im Film (gemessen 05.11.: Header 845 px, Fenster 730 px). */
.ai-page .lp-hero__still { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; z-index: -3; overflow: hidden; opacity: calc(1 - var(--p, 0) * .65); }
.ai-page .lp-hero__still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(calc(1 + var(--p, 0) * .05)); transform-origin: 50% 50%; } /* --mx/--my: Maus-Parallaxe (src/layer.js) */
.ai-page .lp-hero__vignette { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; z-index: -2; pointer-events: none; background:   /* = .ap-film__vignette auf Seite 0 */
  radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8,11,20,.55) 100%),
  linear-gradient(180deg, rgba(13,18,32,.55) 0%, transparent 18%, transparent 62%, rgba(13,18,32,.72) 100%); }
.ai-page .lp-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;   /* = .ap-film__heroshade auf Seite 0 */
  background: linear-gradient(90deg, rgba(13,18,32,.94) 0%, rgba(13,18,32,.84) 36%, rgba(13,18,32,.5) 54%, transparent 78%); }
  /* kräftiger als auf Seite 0: Die Textspalte reicht hier bis ~780 px, auf L3 liegt dort die helle Glaskante (Hervorhebung sonst 1,5:1) */
.ai-page .lp-hero--still .lp-hero__grid { grid-template-columns: minmax(0, 1fr); }
.ai-page .lp-hero--still .lp-hero__grid > div { max-width: 600px; }   /* wie die frühere linke Spalte (1,1fr), sonst bricht die H1 anders um */
/* Ankommen: erst das Bild, dann Abdunklung und Text. Reines CSS ab dem ersten Bild (11.11.2026, „lädt doppelt“):
   Früher hing das an .ap-js. Der Browser zeichnet aber schon vor dem Skript ein Bild mit fertigem Text, und im CMS kommt script.js
   erst Sekunden nach dem ersten Bild (live gemessen: erstes Bild 1,6 s, script.js 5,8 s). Mit dem Skript verschwand der Text und kam
   neu. Die Animationen enden sichtbar, ohne Skript steht also ebenfalls alles da. */
/* 11.11.2026 (User: „natürlich und smooth“): Die Abdunklung legt sich nicht mehr als Ebene darüber, sie zieht wie Nebel von der
   Textseite her auf (lp-fog-in), der Text steigt leicht auf (lp-text-in). */
.ai-page .lp-hero--still .lp-hero__shade { animation: lp-fog-in 1.6s cubic-bezier(.25,.6,.3,1) .3s both; }
.ai-page .lp-hero--still .lp-hero__grid,
.ai-page .lp-hero--still .lp-hud { animation: lp-text-in 1.1s var(--ease-out) .6s both; }
/* Wort-Einblendung der H1 ebenso per CSS (die Wörter stehen fertig im HTML), nicht über .is-in aus dem Skript */
.ai-page.ap-js .lp-hero--still .lp-kin .lp-w > span { transform: none; transition: none; }
.ai-page .lp-hero--still .lp-kin .lp-w > span { animation: lp-word-in 1s var(--ease-out) calc(var(--i) * 70ms + 800ms) both; }
@keyframes lp-still-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-fog-in { from { opacity: 0; transform: translateX(-14%); } to { opacity: 1; transform: none; } }
@keyframes lp-text-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lp-word-in { from { transform: translateY(135%); } to { transform: none; } }
/* Hochkant wie die Film-Bühne von Seite 0 (portrait = Breite/Höhe < 1,15) */
@media (max-aspect-ratio: 115/100) {
  .ai-page .lp-hero--still { align-items: flex-end; }
  .ai-page .lp-hero__still img { inset: auto; left: 50%; top: 42%; width: min(235vw, 142.2vh); max-width: none; height: auto; aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%) translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(calc(1 + var(--p, 0) * .05)); }
  .ai-page .lp-hero__shade { background: linear-gradient(0deg, rgba(13,18,32,.95) 0%, rgba(13,18,32,.86) 55%, rgba(13,18,32,.6) 78%, transparent 96%); } /* Text reicht hier fast bis oben */
  .ai-page .lp-hero--still .lp-hero__shade { animation-name: lp-fog-up; } /* Text steht unten: Nebel steigt von unten auf */
  @keyframes lp-fog-up { from { opacity: 0; transform: translateY(14%); } to { opacity: 1; transform: none; } }
  .ai-page .lp-hero--still .ap-eyebrow { color: var(--ice-cyan); } /* über dem hellen Würfel (L3) sonst 3,0:1, so 5,4:1 */
}
@media (prefers-reduced-motion: reduce) {
  .ai-page .lp-hero--still .lp-hero__shade, .ai-page .lp-hero--still .lp-hero__grid, .ai-page .lp-hero--still .lp-hud,
  .ai-page .lp-hero--still .lp-kin .lp-w > span { animation: none; }
  .ai-page .lp-hero__still { opacity: 1; }
  .ai-page .lp-hero__still img { transform: none; }
  @media (max-aspect-ratio: 115/100) { .ai-page .lp-hero__still img { transform: translate(-50%, -50%); } }
}
/* @view-transition entfernt (11.11.2026), Begründung in styles.css am Ende des Übergangs-Blocks. */

/* ===== Demo-Abschnitt weiß (User 05.11.2026) =====
   Weißer Grund, dunkler Text. Der Verlauf in der H1 wird dunkler (#0069AA → #289CE2, ≥ 3:1 als große Schrift). Die Eyebrow ist
   13 px groß und braucht 4,5:1, deshalb #0069AA statt #289CE2 (3,2:1). Gilt nur für Layer 1–3, Seite 0 bleibt dunkel. */
.ai-page[class*="lp-id-"] .ap-cta { background: var(--white); color: var(--text-body); }
.ai-page[class*="lp-id-"] .ap-cta .ap-cta__title { color: var(--text-body); }
.ai-page[class*="lp-id-"] .ap-cta .ap-grad { background-image: linear-gradient(90deg, #0069AA, #289CE2); }
.ai-page[class*="lp-id-"] .ap-cta .ap-eyebrow { color: #0069AA; }
.ai-page[class*="lp-id-"] .ap-cta .ap-eyebrow::before { background: linear-gradient(90deg, #0069AA, #289CE2); }
.ai-page[class*="lp-id-"] .ap-cta .ap-cta__text { color: var(--text-muted); }

/* ===== Abschnitts-Leiste rechts wie auf Seite 0 (User 05.11.2026, src/layer.js) =====
   Maße und Verhalten = .ap-rail von Seite 0. Zusätzlich: .is-light über hellen Abschnitten (dunkle Punkte und Schrift),
   Namen auf einer Glasfläche, damit sie auf Hell wie Dunkel lesbar sind. */
.ai-page .lp-rail { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 49; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
.ai-page .lp-rail.is-on { opacity: 1; pointer-events: auto; }
.ai-page .lp-rail::before { content: ""; position: absolute; right: 11px; top: 14px; bottom: 14px; width: 1px; background: rgba(116,210,255,.16); transition: background-color .4s; }
.ai-page .lp-rail__fill { position: absolute; right: 11px; top: 14px; width: 1px; height: calc(100% - 28px); background: linear-gradient(180deg, #289CE2, #74D2FF); transform-origin: top; transform: scaleY(var(--p, 0)); }
.ai-page .lp-rail button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--text-faint-dark); font: 500 12px/1 var(--font-head); letter-spacing: .08em; border-radius: 6px; }
.ai-page .lp-rail button span { opacity: 0; transform: translateX(8px); white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: rgba(17,24,40,.86); color: rgba(248,250,251,.78);
  box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), color var(--dur-base); }
.ai-page .lp-rail button i { width: 23px; height: 23px; display: grid; place-items: center; }
.ai-page .lp-rail button i::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(116,210,255,.45); transition: transform var(--dur-slow) var(--ease-out), background-color var(--dur-base), box-shadow var(--dur-base); }
.ai-page .lp-rail:hover button span, .ai-page .lp-rail button:focus-visible span { opacity: 1; transform: none; }
.ai-page .lp-rail button.is-active span, .ai-page .lp-rail button:hover span { color: var(--white); }
.ai-page .lp-rail button.is-active i::after { transform: scale(1.8); background: var(--ice-cyan); box-shadow: 0 0 12px rgba(116,210,255,.9); }
.ai-page .lp-rail button:focus-visible { outline: 2px solid var(--ice-cyan); outline-offset: 2px; }
/* über hellen Abschnitten */
.ai-page .lp-rail.is-light::before { background: rgba(17,24,40,.16); }
.ai-page .lp-rail.is-light button i::after { background: rgba(17,24,40,.38); }
.ai-page .lp-rail.is-light button.is-active i::after { background: #0069AA; box-shadow: 0 0 10px rgba(0,105,170,.45); }
.ai-page .lp-rail.is-light button:focus-visible { outline-color: #0069AA; }
@media (max-width: 760px) {
  .ai-page .lp-rail { right: 6px; top: 40%; }
  .ai-page .lp-rail button span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ai-page .lp-rail, .ai-page .lp-rail button span, .ai-page .lp-rail button i::after { transition: none; } }

/* Körnung wie .ap-film__grain auf Seite 0 (User 05.11.2026: Übergang ohne sichtbaren Wechsel) */
.ai-page .lp-hero__grain { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; z-index: -2; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Kamerafahrt beim Übergang von Seite 0: seit 11.11.2026 eine durchgehende Vorwärtsfahrt ohne Unschärfe (lp-dive, unten).
   Ursprung = Mitte der Bildfläche, wie im Film. */
/* Ankunft von Seite 0 über #ankunft (05.11.2026, dritte Fassung).
   Messung: Beim ersten Bild der neuen Seite steht der Browser noch oben (Kopfzeile bzw. Prüfleiste sichtbar) und springt erst danach
   zum Sprungziel. Bei langsameren Seiten (L2/L3) ist das ein sichtbarer Ruck, im CMS um die Höhe der Kopfzeile.
   Deshalb liegt beim Ankommen eine bildschirmfüllende Kopie des Header-Bilds über allem (.lp-arrival, fixed, wie die Film-Bühne von
   Seite 0, auch über der Kopfzeile). Darunter springt der Browser unsichtbar an den Header. Die Kopie fährt scharf (lp-still-settle) und
   blendet nach 1,15 s in 0,35 s aus. Darunter steht dasselbe Bild an derselben Stelle, der Wechsel ist nicht zu sehen.
   Nur CSS (:target), wirkt also ab dem ersten Bild, auch bevor das Skript läuft. .lp-arrived (src/layer.js) hält den Zustand, wenn
   #ankunft danach aus der Adresse entfernt wird (sonst rechnete der Browser die Einblendung neu). */
.ai-page .lp-arrival { display: none; }
.ai-page .lp-hero--still:target + .lp-arrival, .ai-page.lp-arrived .lp-arrival { /* Geschwister nach dem Header: außerhalb seiner Ebene (isolation), damit sie auch über der CMS-Kopfzeile liegt */
  display: block; position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; z-index: 2147483000; overflow: hidden;
  background: #0d1220; pointer-events: none; animation: lp-arrival-out .3s ease .25s both; }
.ai-page .lp-arrival__img { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 50%; animation: lp-dive 2.2s cubic-bezier(.45,0,.2,1) both; }
.ai-page .lp-arrival__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.ai-page .lp-arrival__vig { position: absolute; inset: 0; background:   /* = .ap-film__vignette auf Seite 0 */
  radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8,11,20,.55) 100%),
  linear-gradient(180deg, rgba(13,18,32,.55) 0%, transparent 18%, transparent 62%, rgba(13,18,32,.72) 100%); }
.ai-page .lp-arrival__grain { position: absolute; inset: 0; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Durchgehende Fahrt (11.11.2026, User: „wirklich natürlich und smooth … als würde man eintauchen“, ersetzt Unschärfe + Zurückfahren):
   Auf Seite 0 verschwinden beim Klick nur die Elemente, das Bild steht (styles.css .ap-leaving). Die Layer-Seite fährt aus der Ruhe
   weich an und läuft auf 1,05 aus, eine einzige Vorwärtsbewegung ohne Umkehr. Gemessen: Eine schon auf Seite 0 begonnene Fahrt
   stockte, weil das Bild während des Ladens 0,3–0,5 s steht. Header-Bild und Kopie fahren gleichzeitig (gleiche Animation ab dem
   ersten Bild, Bild für Bild deckungsgleich gemessen), deshalb verschwindet die Kopie schon nach 0,25 s unsichtbar, und Abdunklung
   und Text ziehen noch während der Fahrt auf. Das Header-Bild bleibt bei Ankunft auf 1,05 stehen (direkter Aufruf: 1,0). */
@keyframes lp-dive { from { transform: none; } to { transform: scale(1.05); } }
@keyframes lp-arrival-out { to { opacity: 0; visibility: hidden; } }
.ai-page .lp-hero--still:target .lp-hero__still, .ai-page.lp-arrived .lp-hero--still .lp-hero__still { transform-origin: 50% 50%; animation: lp-dive 2.2s cubic-bezier(.45,0,.2,1) both; }
@media (max-aspect-ratio: 115/100) {
  .ai-page .lp-arrival__img img { inset: auto; left: 50%; top: 42%; width: min(235vw, 142.2vh); max-width: none; height: auto; aspect-ratio: 16 / 9; transform: translate(-50%, -50%); }
}
/* Abdunklung und Text noch während die Fahrt ausläuft */
.ai-page .lp-hero--still:target .lp-hero__shade, .ai-page.lp-arrived .lp-hero--still .lp-hero__shade { animation-delay: .2s; }
.ai-page .lp-hero--still:target .lp-hero__grid, .ai-page .lp-hero--still:target .lp-hud,
.ai-page.lp-arrived .lp-hero--still .lp-hero__grid, .ai-page.lp-arrived .lp-hero--still .lp-hud { animation-delay: .55s; }
.ai-page .lp-hero--still:target .lp-kin .lp-w > span, .ai-page.lp-arrived .lp-hero--still .lp-kin .lp-w > span { animation-delay: calc(var(--i) * 70ms + 700ms); }
.ai-page .lp-hero--still:target { scroll-margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .ai-page .lp-hero--still:target + .lp-arrival, .ai-page.lp-arrived .lp-arrival { display: none; }
  .ai-page .lp-hero--still:target .lp-hero__still, .ai-page.lp-arrived .lp-hero--still .lp-hero__still { animation: none; }
}

/* Ankunft aus der Explosionsansicht von Seite 0 über #ankunft-x (12.11.2026, User: Variante A).
   Seite 0 verlässt man dort auf dem Explosionsbild (kx), der Header zeigt aber das Standbild des Kapitels (k1/k2/k3). Deshalb liegt
   über allem eine eigene Kopie: oben das Explosionsbild, das auf die gewählte Ebene zufährt und dabei ausblendet, darunter das
   Header-Bild mit derselben Fahrt wie der Header selbst (lp-dive, gleicher Start = deckungsgleich). Danach verschwindet die Kopie
   unsichtbar, Abdunklung und Text ziehen später auf als bei der Kapitel-Ankunft. Nur CSS (:target am Anker vor dem Header),
   .lp-arrived-x (src/layer.js) hält den Zustand, wenn das Sprungziel aus der Adresse verschwindet.
   Zielpunkte = Mitte der Ebene im Explosionsbild (src/anchors.json RX, 1920×1080): L1 965/678, L2 1002/578, L3 1003/220. */
.ai-page .lp-x-anchor { display: block; height: 0; scroll-margin-top: 0; }
.ai-page.lp-arrived .lp-arrival.lp-arrival--x { display: none; }
.ai-page .lp-x-anchor:target ~ .lp-arrival--x, .ai-page.lp-arrived-x .lp-arrival--x {
  display: block; position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; z-index: 2147483000; overflow: hidden;
  background: #0d1220; pointer-events: none; animation: lp-arrival-out .35s ease 1.6s both; }
.ai-page .lp-arrival__x { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 50%;
  animation: lp-dive 2.2s cubic-bezier(.45,0,.2,1) both, lp-x-fade 1.75s ease both; } /* außen dieselbe Fahrt wie der Header */
/* innen das Bild in seiner echten Größe (wie object-fit: cover), damit Zielpunkt und Maßstab in Bildkoordinaten gelten */
.ai-page .lp-arrival__x img { position: absolute; left: 50%; top: 50%; width: max(100%, 177.78vh); width: max(100%, 177.78lvh); max-width: none; height: auto;
  aspect-ratio: 16 / 9; translate: -50% -50%; display: block; transform-origin: var(--xo, 50% 50%); animation: lp-x-zoom 1.75s cubic-bezier(.45,0,.2,1) both; }
/* Gemessen in kx-navy gegen k1/k2/k3-navy (Würfel, Gitterecken, die vier Tafeln bzw. Glaskörper): Das Header-Bild zeigt die Ebene
   um den Faktor --xs vergrößert um den Punkt --xo. Am Ende der Fahrt liegt das Explosionsbild deckungsgleich auf dem Header-Bild. */
.ai-page .lp-arrival--k1, .ai-page .lp-arrival--k2 { --xo: 56.3% 82.5%; --xs: 1.58; }
.ai-page .lp-arrival--k3 { --xo: 55.8% -4.9%; --xs: 1.6; }
@keyframes lp-x-zoom { from { transform: none; } to { transform: scale(var(--xs, 1.6)); } }
@keyframes lp-x-fade { 0%, 45% { opacity: 1; } 100% { opacity: 0; } }
@media (max-aspect-ratio: 115/100) {
  .ai-page .lp-arrival__x img { top: 42%; width: min(235vw, 142.2vh); }
}
/* Header darunter: dieselbe Fahrt wie bei der Kapitel-Ankunft, Abdunklung und Text erst nach dem Überblenden */
.ai-page .lp-x-anchor:target ~ .lp-hero--still .lp-hero__still, .ai-page.lp-arrived-x .lp-hero--still .lp-hero__still { transform-origin: 50% 50%; animation: lp-dive 2.2s cubic-bezier(.45,0,.2,1) both; }
.ai-page .lp-x-anchor:target ~ .lp-hero--still .lp-hero__shade, .ai-page.lp-arrived-x .lp-hero--still .lp-hero__shade { animation-delay: 1.1s; }
.ai-page .lp-x-anchor:target ~ .lp-hero--still .lp-hero__grid, .ai-page .lp-x-anchor:target ~ .lp-hero--still .lp-hud,
.ai-page.lp-arrived-x .lp-hero--still .lp-hero__grid, .ai-page.lp-arrived-x .lp-hero--still .lp-hud { animation-delay: 1.4s; }
.ai-page .lp-x-anchor:target ~ .lp-hero--still .lp-kin .lp-w > span, .ai-page.lp-arrived-x .lp-hero--still .lp-kin .lp-w > span { animation-delay: calc(var(--i) * 70ms + 1500ms); }
@media (prefers-reduced-motion: reduce) {
  .ai-page .lp-x-anchor:target ~ .lp-arrival--x, .ai-page.lp-arrived-x .lp-arrival--x { display: none; }
  .ai-page .lp-x-anchor:target ~ .lp-hero--still .lp-hero__still, .ai-page.lp-arrived-x .lp-hero--still .lp-hero__still { animation: none; }
}

/* ===== Website-Grundstile, Layer-eigene Standard-Texte (Chef 05.11.2026, Werte von courseticket.com, siehe Ende styles.css) =====
   H1 wie ct-h1: 30/40/46 px, Zeilenhöhe 1,08, Laufweite −0,03em. Lead 17/28, Fließtext 16/28, Kleintext 14/24, H3 18/28.
   Nicht betroffen: Toolbox, Bühnen, Laufband, Aussage-Satz (.lp-claim), Monospace-Labels, Eyebrows, Film-Header von Seite 0. */
.ai-page .lp-hero__title { font-size: 1.875rem; line-height: 1.08; letter-spacing: -.03em; }
@media (min-width: 640px) { .ai-page .lp-hero__title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .ai-page .lp-hero__title { font-size: 2.875rem; } }
.ai-page .lp-hero__lead, .ai-page .lp-head__lead { font-size: 1.0625rem; line-height: 1.75rem; }
.ai-page .lp-pcard h3, .ai-page .lp-twin h3, .ai-page .lp-scard h3, .ai-page .lp-duo h3 { font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -.025em; }
.ai-page .lp-pcard p, .ai-page .lp-twin p, .ai-page .lp-duo p { font-size: 1rem; line-height: 1.75rem; }
.ai-page .lp-scard p { font-size: .875rem; line-height: 1.5rem; }

/* ===== toolbox.css ===== */
/* Layer 1 · „Ihre Toolbox“ + Hero-Fundament (Wireframe 04.11.2026)
   Stil nach courseticket.com-Startseite: dunkle Karten, UI-Nachbauten, CSS-Schleifen.
   Grundregel: Ohne Animation (kein JS, reduzierte Bewegung) zeigt jedes Element sein ENDBILD;
   die Schleifen laufen nur in .tb-fig.is-play. Jeder Selektor einzeln unter .ai-page (Paket-Prüfer). */

/* ---------- Hero: das Fundament entsteht ---------- */
@keyframes l1-draw { from { stroke-dashoffset: 520; } }
@keyframes l1-drop { 0% { transform: translateY(-80px); opacity: 0; } 55% { opacity: 1; } 75% { transform: translateY(6px); } 100% { transform: none; opacity: 1; } }
@keyframes l1-ring { 0% { opacity: 0; transform: scale(.7); } 25% { opacity: .9; } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes l1-fade { from { opacity: 0; } }
.ai-page.lp-id-1 .lp-hero .lp-gridl { stroke-dasharray: 520; animation: l1-draw 1.3s var(--ease-out) backwards; animation-delay: calc(var(--k) * 110ms + .25s); }
.ai-page.lp-id-1 .lp-hero .lp-dock { transform-box: fill-box; animation: l1-drop 1s var(--ease-out) backwards; animation-delay: calc(1.25s + var(--i) * .3s); }
.ai-page.lp-id-1 .lp-hero .lp-dockring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: l1-ring 1.1s ease-out backwards; animation-delay: calc(1.9s + var(--i) * .3s); }
.ai-page.lp-id-1 .lp-hero .lp-flow { animation: lp-dash 3.5s linear infinite, l1-fade .9s ease-out 3.1s backwards; }

/* ---------- Abschnitt ---------- */
.ai-page .tb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.ai-page .tb-box, .ai-page .tb-stage { background: var(--surface-slate); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.ai-page .tb-label { font: 500 11.5px/1 var(--lp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint-dark); }
.ai-page .tb-box { padding: 20px; }
.ai-page .tb-box__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ai-page .tb-count { font: 600 12.5px/1 var(--lp-mono); color: var(--ice-cyan); padding: 6px 10px; border-radius: 999px; background: rgba(116,210,255,.08); border: 1px solid rgba(116,210,255,.2); }
.ai-page .tb-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ai-page .tb-slot { position: relative; min-height: 60px; gap: 8px; border-radius: 10px; border: 1px dashed rgba(116,210,255,.22); display: flex; align-items: center; transition: border-color var(--dur-base), background var(--dur-base); }
.ai-page .tb-slot.is-filled { border-style: solid; border-color: transparent; }
.ai-page .tb-slot__ghost { position: absolute; left: 16px; font: 500 12.5px/1.2 var(--lp-mono); color: rgba(248,250,251,.62); pointer-events: none; } /* 05.11.: Kontrast ≥ 4,5:1 (vorher .34 = 2,9:1) */
.ai-page .tb-slot.is-filled .tb-slot__ghost { visibility: hidden; }
.ai-page .tb-slot.is-dock::after { content: ""; position: absolute; inset: -1px; border-radius: 10px; border: 1.5px solid var(--ice-cyan); pointer-events: none; animation: tb-dock .7s ease-out forwards; }
@keyframes tb-dock { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.04, 1.25); } }

/* Baustein (Schalter) */
.ai-page .tb-mod { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px 10px 10px; border-radius: 10px;
  background: rgba(40,156,226,.14); border: 1px solid rgba(40,156,226,.55); color: var(--text-body-dark); box-shadow: 0 0 0 0 rgba(116,210,255,0), inset 0 1px 0 rgba(116,210,255,.12); transition: background var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-slow); }
.ai-page .tb-mod:hover { background: rgba(40,156,226,.22); }
.ai-page .tb-mod:focus-visible { outline: 3px solid #52B7FF; outline-offset: 2px; }
.ai-page .tb-mod__ico { flex: none; width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: rgba(116,210,255,.1); border: 1px solid rgba(116,210,255,.28); }
.ai-page .tb-mod__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ice-cyan); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ai-page .tb-mod__txt { display: grid; gap: 3px; min-width: 0; flex: 1; }
.ai-page .tb-mod__txt b { font: 600 15px/1.25 "Poppins", sans-serif; }
.ai-page .tb-mod__txt small { font: 500 11.5px/1 var(--lp-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint-dark); }
.ai-page .tb-mod__state { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 "Poppins", sans-serif; }
.ai-page .tb-mod[data-on="true"] .tb-mod__state { background: var(--ice-cyan); color: var(--navy-deep); }
.ai-page .tb-mod[data-on="true"] .tb-mod__state::before { content: "✓"; }
.ai-page .tb-mod[data-on="false"] { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.ai-page .tb-mod[data-on="false"]:hover { background: rgba(255,255,255,.08); border-color: rgba(116,210,255,.4); }
.ai-page .tb-mod[data-on="false"] .tb-mod__state { border: 1px solid rgba(116,210,255,.4); color: var(--ice-cyan); }
.ai-page .tb-mod[data-on="false"] .tb-mod__state::before { content: "+"; }
.ai-page .tb-mod.is-current { box-shadow: 0 0 0 1px var(--ice-cyan), 0 0 24px -4px rgba(116,210,255,.55), inset 0 1px 0 rgba(116,210,255,.12); }

/* Regal */
.ai-page .tb-shelf { margin-top: 18px; display: none; }
.ai-page.ap-js .tb-shelf.has-items { display: block; }
.ai-page .tb-shelf__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ai-page .tb-shelf__list .tb-mod { min-height: 52px; padding: 8px 10px 8px 8px; gap: 10px; }
.ai-page .tb-shelf__list .tb-mod__ico { width: 32px; height: 32px; }
.ai-page .tb-shelf__list .tb-mod__txt b { font-size: 13.5px; }
.ai-page .tb-shelf__list .tb-mod__txt small { display: none; }
.ai-page .tb-box__foot { display: none; margin-top: 16px; }
.ai-page.ap-js .tb-box__foot { display: flex; }
.ai-page .tb-all { all: unset; cursor: pointer; font: 600 14px/1.4 "Poppins", sans-serif; color: var(--ice-cyan); padding: 8px 16px; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.ai-page .tb-all:hover { background: rgba(255,255,255,.06); }
.ai-page .tb-all:focus-visible { outline: 3px solid #52B7FF; outline-offset: 2px; }
.ai-page .tb-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-faint-dark); }

/* ---------- Fenster „Im Einsatz“ ---------- */
.ai-page .tb-stage { overflow: hidden; }
.ai-page .tb-stage__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ai-page .tb-stage__bar > i, .ai-page .tb-term__bar > i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ai-page .tb-stage__bar > i:nth-child(1), .ai-page .tb-term__bar > i:nth-child(1) { background: #FF6B6B; }
.ai-page .tb-stage__bar > i:nth-child(2), .ai-page .tb-term__bar > i:nth-child(2) { background: #FBBF24; }
.ai-page .tb-stage__bar > i:nth-child(3), .ai-page .tb-term__bar > i:nth-child(3) { background: #34D399; }
.ai-page .tb-stage__title { margin-left: 10px; font: 500 12px/1 var(--lp-mono); letter-spacing: .06em; color: var(--text-faint-dark); text-transform: uppercase; }
.ai-page .tb-tabs { display: none; gap: 6px; padding: 12px 16px 0; flex-wrap: wrap; }
.ai-page.ap-js .tb-tabs { display: flex; }
.ai-page .tb-tab { all: unset; cursor: pointer; font: 500 12.5px/1 var(--lp-mono); color: var(--text-muted-dark); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); }
.ai-page .tb-tab:hover { color: var(--text-body-dark); border-color: rgba(116,210,255,.4); }
.ai-page .tb-tab[aria-current="true"] { color: var(--navy-deep); background: var(--ice-cyan); border-color: var(--ice-cyan); }
.ai-page .tb-tab:focus-visible { outline: 3px solid #52B7FF; outline-offset: 2px; }
.ai-page .tb-figs { padding: 14px 16px 18px; } /* unten Luft, seit der Pause-Knopf entfällt (18.11.2026) */
.ai-page .tb-fig { margin: 0; }
.ai-page .tb-fig + .tb-fig { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); }
.ai-page.ap-js .tb-fig { display: none; }
.ai-page.ap-js .tb-fig.is-on { display: block; margin: 0; padding: 0; border: 0; }
.ai-page:not(.ap-js) .tb-fig[data-s="none"] { display: none; }
.ai-page .tb-cap { margin: 14px 2px 0; font-size: 15px; line-height: 1.55; color: var(--text-body-dark); min-height: 3.1em; }
.ai-page .tb-cap__k { display: block; margin-bottom: 4px; font: 500 11.5px/1 var(--lp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ice-cyan); }
.ai-page.ap-js .tb-cap__k { display: none; }
.ai-page .tb-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 0; padding: 14px 2px 0; border-top: 1px solid rgba(255,255,255,.07); }
.ai-page .tb-info dt { font: 500 11.5px/1 var(--lp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint-dark); margin-bottom: 6px; }
.ai-page .tb-info dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted-dark); }
.ai-page .tb-id { display: block; margin-top: 6px; font: 500 11.5px/1.3 var(--lp-mono); color: rgba(116,210,255,.7); }
.ai-page .tb-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ai-page .tb-values { margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Szene: Grundgerüst ---------- */
.ai-page .tb-scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; min-height: 270px; font-size: 13px; }
.ai-page .tb-term, .ai-page .tb-app { position: relative; border-radius: 10px; overflow: hidden; }
.ai-page .tb-term { background: #0B111D; border: 1px solid rgba(255,255,255,.08); font: 500 12.5px/1.5 var(--lp-mono); }
.ai-page .tb-term__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ai-page .tb-term__bar > i { width: 7px; height: 7px; }
.ai-page .tb-term__bar span { margin: 0 auto; font-size: 11px; color: var(--text-faint-dark); }
.ai-page .tb-term__body { padding: 12px 14px; display: grid; gap: 8px; align-content: start; }
.ai-page .tb-term p { margin: 0; color: var(--text-muted-dark); overflow-wrap: anywhere; }
.ai-page .tb-term p b { font-weight: 700; margin-right: 4px; }
.ai-page .tb-term .t-cmd { color: var(--text-body-dark); }
.ai-page .tb-term .t-cmd b, .ai-page .tb-term .t-skill b, .ai-page .tb-term .t-out b { color: var(--ice-cyan); }
.ai-page .tb-term em { font-style: normal; color: var(--ice-cyan); }
.ai-page .tb-term .t-ok, .ai-page .tb-term .t-ok b { color: #34D399; }
.ai-page .tb-term .t-warn, .ai-page .tb-term .t-warn b { color: #FBBF24; }
.ai-page .tb-term .t-err, .ai-page .tb-term .t-err b { color: #FF8A8A; }
.ai-page .tb-app { background: #F8FAFB; color: #111828; border: 1px solid rgba(255,255,255,.1); }
.ai-page .tb-app__bar { padding: 9px 12px; background: #E7ECEF; font: 600 10.5px/1 var(--lp-mono); letter-spacing: .08em; color: rgba(17,24,40,.6); }
.ai-page .tb-app__body { position: relative; padding: 12px; display: grid; gap: 10px; align-content: start; min-height: 230px; }
.ai-page .tb-chip { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font: 600 11px/1.2 var(--lp-mono); background: rgba(0,105,170,.1); color: #0069AA; white-space: nowrap; }
.ai-page .tb-chip--ok { background: rgba(10,140,90,.12); color: #0A7A50; }
.ai-page .tb-chip--go { background: #0069AA; color: #fff; }

/* LMS-Bausteine */
.ai-page .tb-course { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08), 0 6px 16px rgba(17,24,40,.06); }
.ai-page .tb-course b { display: block; font: 600 13px/1.3 "Poppins", sans-serif; }
.ai-page .tb-course small, .ai-page .tb-learner small { font-size: 11.5px; color: rgba(17,24,40,.6); }
.ai-page .tb-thumb { width: 38px; height: 38px; border-radius: 6px; background: linear-gradient(135deg, #FBBF24, #FF6B3D); }
.ai-page .tb-learner { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(17,24,40,.04); }
.ai-page .tb-bar { height: 7px; border-radius: 4px; background: rgba(17,24,40,.1); overflow: hidden; }
.ai-page .tb-bar i { display: block; height: 100%; width: 100%; border-radius: 4px; background: #0069AA; transform-origin: 0 50%; transform: scaleX(var(--to)); }
.ai-page .tb-stmt code { font: 500 11.5px/1 var(--lp-mono); color: #0A7A50; background: rgba(10,140,90,.1); padding: 5px 8px; border-radius: 6px; }
.ai-page .tb-pkg { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: #0069AA; color: #fff; font: 600 10.5px/1 var(--lp-mono); box-shadow: 0 6px 18px rgba(0,105,170,.35); opacity: 0; }
.ai-page .tb-empty { display: grid; gap: 8px; }
.ai-page .tb-empty i { height: 36px; border-radius: 8px; background: rgba(17,24,40,.05); }
.ai-page .tb-file { justify-self: start; width: 54px; height: 40px; border-radius: 6px; display: grid; place-items: center; border: 1.5px dashed #289CE2; background: #fff; font: 600 11px/1 var(--lp-mono); color: #111828; }
.ai-page .tb-q { position: absolute; right: 18px; bottom: 18px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #D93F3F; color: #fff; font: 700 14px/1 "Poppins", sans-serif; }

/* Lernmodul-Skizze */
.ai-page .tb-mod-ui { position: relative; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08), 0 6px 16px rgba(17,24,40,.06); overflow: hidden; --head: #B7C0CA; --btn: #0F766E; --btn-t: #fff; }
.ai-page .tb-mod-ui__head { height: 30px; background: var(--head); display: flex; align-items: center; padding: 0 10px; }
.ai-page .tb-logo { font: 700 9.5px/1 var(--lp-mono); letter-spacing: .1em; color: #fff; padding: 4px 6px; border: 1px solid rgba(255,255,255,.7); border-radius: 3px; opacity: 0; }
.ai-page .tb-mod-ui__row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px; }
.ai-page .tb-img { height: 56px; border-radius: 5px; background: rgba(17,24,40,.06); color: rgba(17,24,40,.3); display: grid; place-items: center; }
.ai-page .tb-img svg { width: 60%; }
.ai-page .tb-lines { display: grid; gap: 7px; align-content: start; }
.ai-page .tb-lines i { height: 6px; border-radius: 3px; background: rgba(17,24,40,.1); }
.ai-page .tb-lines .tb-h { height: 9px; width: 70%; background: rgba(17,24,40,.28); }
.ai-page .tb-lines .tb-short { width: 55%; }
.ai-page .tb-btnmock { display: inline-block; margin: 0 12px 12px; padding: 6px 14px; border-radius: 999px; font: 600 11px/1.2 "Poppins", sans-serif; background: var(--btn); color: var(--btn-t); }
.ai-page .tb-mod-ui.is-brand, .ai-page .tb-mod-ui.is-done { --head: #0F766E; --btn: #F59E0B; --btn-t: #111828; }
.ai-page .tb-mod-ui.is-brand .tb-logo, .ai-page .tb-mod-ui.is-done .tb-logo { opacity: 1; }
.ai-page .tb-mod-ui.is-brand .tb-lines .tb-h, .ai-page .tb-mod-ui.is-done .tb-lines .tb-h { background: #0F766E; }
.ai-page .tb-swatches { display: flex; gap: 6px; justify-content: flex-end; }
.ai-page .tb-swatches i { width: 26px; height: 26px; border-radius: 6px; background: var(--c); box-shadow: 0 2px 6px rgba(17,24,40,.18); }
.ai-page .tb-mark { position: absolute; left: var(--x); top: var(--y); padding: 3px 7px; border-radius: 999px; font: 600 10.5px/1.2 var(--lp-mono); background: #D93F3F; color: #fff; white-space: nowrap; opacity: 0; }
.ai-page .tb-tick { position: absolute; left: var(--x); top: var(--y); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #0A8A5A; color: #fff; font: 700 11px/1 "Poppins", sans-serif; }
.ai-page .tb-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #289CE2; box-shadow: 0 0 12px 2px rgba(40,156,226,.6); opacity: 0; }
.ai-page .tb-corner { position: absolute; right: 8px; top: 6px; }
.ai-page .tb-ai { display: inline-flex; margin: 0 12px 12px; padding: 4px 9px; border-radius: 4px; font: 600 10.5px/1.2 var(--lp-mono); background: rgba(17,24,40,.07); color: #111828; }
.ai-page .tb-meta { display: grid; gap: 4px; padding: 10px; border-radius: 8px; background: #0B111D; }
.ai-page .tb-meta code { font: 500 11px/1.4 var(--lp-mono); color: #34D399; }
.ai-page .tb-meta code:first-child { color: rgba(248,250,251,.55); }
.ai-page .tb-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Schnittstellen: Knoten mit Anschlüssen */
.ai-page .tb-hub { position: relative; border-radius: 10px; background: #0B111D; border: 1px solid rgba(255,255,255,.08); min-height: 250px; }
.ai-page .tb-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai-page .tb-spoke { stroke: rgba(116,210,255,.22); stroke-width: 1.5; stroke-dasharray: 3 5; fill: none; }
.ai-page .tb-pulse { stroke: var(--ice-cyan); stroke-width: 2.5; fill: none; stroke-dasharray: 12 200; stroke-dashoffset: -200; opacity: 0; }
.ai-page .tb-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(40,156,226,.2); border: 1.5px solid var(--ice-cyan); box-shadow: 0 0 28px -6px rgba(116,210,255,.6); font: 600 12px/1 "Poppins", sans-serif; color: #F8FAFB; }
.ai-page .tb-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; gap: 2px; text-align: center; padding: 7px 10px; border-radius: 8px; background: var(--surface-slate);
  border: 1px solid var(--ice-cyan); box-shadow: 0 0 18px -4px rgba(116,210,255,.5); color: var(--text-body-dark); white-space: nowrap; }
.ai-page .tb-node b { font: 600 12px/1.2 "Poppins", sans-serif; }
.ai-page .tb-node small { font: 500 10.5px/1 var(--lp-mono); color: var(--text-faint-dark); }

/* ---------- Schleifen (10 s): nur in .is-play ---------- */
/* sN = ab Schritt N sichtbar (N × 10 %), alles blendet bei 95 % aus und beginnt neu */
@keyframes tb-s1 { 0%, 8% { opacity: 0; transform: translateY(6px); } 12%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-s2 { 0%, 18% { opacity: 0; transform: translateY(6px); } 22%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-s3 { 0%, 28% { opacity: 0; transform: translateY(6px); } 32%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-s4 { 0%, 38% { opacity: 0; transform: translateY(6px); } 42%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-s5 { 0%, 48% { opacity: 0; transform: translateY(6px); } 52%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-s6 { 0%, 58% { opacity: 0; transform: translateY(6px); } 62%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-s7 { 0%, 68% { opacity: 0; transform: translateY(6px); } 72%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-s8 { 0%, 78% { opacity: 0; transform: translateY(6px); } 82%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ai-page .tb-fig.is-play .s1 { animation: tb-s1 10s infinite; }
.ai-page .tb-fig.is-play .s2 { animation: tb-s2 10s infinite; }
.ai-page .tb-fig.is-play .s3 { animation: tb-s3 10s infinite; }
.ai-page .tb-fig.is-play .s4 { animation: tb-s4 10s infinite; }
.ai-page .tb-fig.is-play .s5 { animation: tb-s5 10s infinite; }
.ai-page .tb-fig.is-play .s6 { animation: tb-s6 10s infinite; }
.ai-page .tb-fig.is-play .s7 { animation: tb-s7 10s infinite; }
.ai-page .tb-fig.is-play .s8 { animation: tb-s8 10s infinite; }

/* einfliegen (Paket, Farbfelder): Startversatz --fx/--fy */
@keyframes tb-fly2 { 0%, 14% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.6); } 26%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-fly3 { 0%, 24% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.6); } 36%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-fly4 { 0%, 34% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.6); } 46%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ai-page .tb-fig.is-play .fly.s2 { animation: tb-fly2 10s var(--ease-out) infinite; }
.ai-page .tb-fig.is-play .fly.s3 { animation: tb-fly3 10s var(--ease-out) infinite; }
.ai-page .tb-fig.is-play .fly.s4 { animation: tb-fly4 10s var(--ease-out) infinite; }
/* Paket: fliegt ein und geht im Kurs auf (Endbild: unsichtbar, der Kurs ist da) */
@keyframes tb-pkg { 0%, 34% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.6); } 42% { opacity: 1; transform: none; } 48% { opacity: 1; transform: translateY(30px) scale(.8); } 52%, 100% { opacity: 0; transform: translateY(40px) scale(.4); } }
.ai-page .tb-fig.is-play .tb-pkg { animation: tb-pkg 10s var(--ease-out) infinite; }
/* Fortschritt füllt sich ab Schritt 6 */
@keyframes tb-fill6 { 0%, 60% { transform: scaleX(0); } 76%, 100% { transform: scaleX(var(--to)); } }
.ai-page .tb-fig.is-play .fill6 { animation: tb-fill6 10s var(--ease-out) infinite; }
/* WCAG: Markierungen 20–60 %, Prüflinie 30–56 %, Knopf erst blass, dann kontraststark */
@keyframes tb-mark { 0%, 24% { opacity: 0; transform: scale(.6); } 28%, 56% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: scale(.6); } }
@keyframes tb-scan { 0%, 30% { opacity: 0; top: 0; } 33% { opacity: 1; } 54% { opacity: 1; top: 100%; } 57%, 100% { opacity: 0; top: 100%; } }
@keyframes tb-weak { 0%, 58% { background: #CFE3E1; color: #9AA9B5; } 62%, 100% { background: var(--btn); color: var(--btn-t); } }
.ai-page .tb-fig.is-play .tb-mark { animation: tb-mark 10s infinite; }
.ai-page .tb-fig.is-play .tb-scan { animation: tb-scan 10s linear infinite; }
.ai-page .tb-fig.is-play .is-fixable .tb-btnmock { animation: tb-weak 10s infinite; }
@keyframes tb-weakimg { 0%, 58% { box-shadow: inset 0 0 0 2px #D93F3F; } 62%, 100% { box-shadow: none; } }
.ai-page .tb-fig.is-play .is-fixable .tb-img { animation: tb-weakimg 10s infinite; }
/* CI: Standardgrau → Kundenmarke ab Schritt 5 */
@keyframes tb-head { 0%, 48% { background: #B7C0CA; } 56%, 100% { background: var(--head); } }
@keyframes tb-btn { 0%, 52% { background: #8C97A3; color: #fff; } 60%, 100% { background: var(--btn); color: var(--btn-t); } }
@keyframes tb-logo { 0%, 56% { opacity: 0; transform: scale(.7); } 62%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tb-hline { 0%, 52% { background: rgba(17,24,40,.28); } 60%, 100% { background: #0F766E; } }
.ai-page .tb-scene--ci .tb-fig.is-play .tb-mod-ui__head, .ai-page .tb-fig.is-play .tb-scene--ci .tb-mod-ui__head { animation: tb-head 10s infinite; }
.ai-page .tb-fig.is-play .tb-scene--ci .tb-btnmock { animation: tb-btn 10s infinite; }
.ai-page .tb-fig.is-play .tb-scene--ci .tb-logo { animation: tb-logo 10s infinite; }
.ai-page .tb-fig.is-play .tb-scene--ci .tb-lines .tb-h { animation: tb-hline 10s infinite; }
/* Schnittstellen: Impuls läuft vom Kern zum Anschluss (Schritt 2/4/6/8) */
@keyframes tb-p2 { 0%, 12% { opacity: 0; stroke-dashoffset: 0; } 13% { opacity: 1; } 22% { opacity: 1; stroke-dashoffset: -150; } 24%, 100% { opacity: 0; stroke-dashoffset: -150; } }
@keyframes tb-p4 { 0%, 32% { opacity: 0; stroke-dashoffset: 0; } 33% { opacity: 1; } 42% { opacity: 1; stroke-dashoffset: -150; } 44%, 100% { opacity: 0; stroke-dashoffset: -150; } }
@keyframes tb-p6 { 0%, 52% { opacity: 0; stroke-dashoffset: 0; } 53% { opacity: 1; } 62% { opacity: 1; stroke-dashoffset: -150; } 64%, 100% { opacity: 0; stroke-dashoffset: -150; } }
@keyframes tb-p8 { 0%, 72% { opacity: 0; stroke-dashoffset: 0; } 73% { opacity: 1; } 82% { opacity: 1; stroke-dashoffset: -150; } 84%, 100% { opacity: 0; stroke-dashoffset: -150; } }
.ai-page .tb-fig.is-play .tb-pulse.p2 { animation: tb-p2 10s linear infinite; }
.ai-page .tb-fig.is-play .tb-pulse.p4 { animation: tb-p4 10s linear infinite; }
.ai-page .tb-fig.is-play .tb-pulse.p6 { animation: tb-p6 10s linear infinite; }
.ai-page .tb-fig.is-play .tb-pulse.p8 { animation: tb-p8 10s linear infinite; }
@keyframes tb-core { 0%, 100% { box-shadow: 0 0 20px -8px rgba(116,210,255,.4); } 50% { box-shadow: 0 0 36px -2px rgba(116,210,255,.8); } }
.ai-page .tb-fig.is-play .tb-core { animation: tb-core 2.5s ease-in-out infinite; }
/* Knoten: vorher gedämpft, ab Schritt N hell (eigene Keyframes, weil transform zentriert) */
@keyframes tb-n2 { 0%, 20% { opacity: .35; } 24%, 94% { opacity: 1; } 100% { opacity: .35; } }
@keyframes tb-n4 { 0%, 40% { opacity: .35; } 44%, 94% { opacity: 1; } 100% { opacity: .35; } }
@keyframes tb-n6 { 0%, 60% { opacity: .35; } 64%, 94% { opacity: 1; } 100% { opacity: .35; } }
@keyframes tb-n8 { 0%, 80% { opacity: .35; } 84%, 94% { opacity: 1; } 100% { opacity: .35; } }
.ai-page .tb-fig.is-play .tb-node.s2 { animation: tb-n2 10s infinite; }
.ai-page .tb-fig.is-play .tb-node.s4 { animation: tb-n4 10s infinite; }
.ai-page .tb-fig.is-play .tb-node.s6 { animation: tb-n6 10s infinite; }
.ai-page .tb-fig.is-play .tb-node.s8 { animation: tb-n8 10s infinite; }
/* Ohne Skills: Datei prallt am LMS ab */
@keyframes tb-bounce { 0%, 18% { transform: translateX(0); opacity: 0; } 22% { opacity: 1; } 38% { transform: translateX(110px); } 46% { transform: translateX(80px) rotate(-8deg); } 56%, 100% { transform: translateX(0); } }
.ai-page .tb-fig.is-play .tb-file.bounce { animation: tb-bounce 10s var(--ease-out) infinite; }

/* Pause (gemeinsamer Knopf-Mechanismus aus layer.js) */
.ai-page.lp-paused .tb-stage *, .ai-page.lp-paused .lp-hero .lp-loop * { animation-play-state: paused !important; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .ai-page .tb { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ai-page .tb-scene { grid-template-columns: 1fr; }
  .ai-page .tb-info { grid-template-columns: 1fr; }
  .ai-page .tb-shelf__list { grid-template-columns: 1fr; }
}

/* ---------- Reduzierte Bewegung: Endbilder, kein Gleiten ---------- */
@media (prefers-reduced-motion: reduce) {
  .ai-page .tb-stage *, .ai-page.lp-id-1 .lp-hero * { animation: none !important; }
  .ai-page .tb-slot.is-dock::after { display: none; }
}
.ai-page .tb-tabs[hidden] { display: none; }

/* Herausnehmen (04.11., User): eigener Knopf neben dem Häkchen; Klick auf den Baustein zeigt seine Szene */
.ai-page .tb-rm { all: unset; box-sizing: border-box; flex: none; cursor: pointer; display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--text-muted-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background var(--dur-base), color var(--dur-base), box-shadow var(--dur-base); }
.ai-page .tb-rm svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ai-page.ap-js .tb-slot.is-filled .tb-rm { display: grid; }
.ai-page .tb-rm:hover { color: #FFB4B4; background: rgba(255,107,107,.1); box-shadow: inset 0 0 0 1px rgba(255,107,107,.5); }
.ai-page .tb-rm:focus-visible { outline: 3px solid #52B7FF; outline-offset: 2px; }
.ai-page .tb-slot .tb-mod { flex: 1; min-width: 0; }

/* Laufband zwischen Toolbox und Einstieg (04.11., User): läuft dauerhaft statt nur beim Scrollen.
   Spur enthält die Wörter zweimal; -50 % minus halbe Lücke = nahtlose Schleife. Pause über den gemeinsamen Knopf (.lp-loop). */
@keyframes tb-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .225em)); } }
.ai-page.lp-id-1 .lp-band__track { width: max-content; transform: none; animation: tb-marquee 48s linear infinite; }

/* ===== showcase.css ===== */
/* Layer 2 + 3 · „So funktioniert es“ und Hero (User 04.11.2026). Baut auf toolbox.css auf (gleiche Karten, Fenster, Schleifen sN).
   Grundregel wie Layer 1: ohne Animation zeigt jedes Element sein ENDBILD; Schleifen nur in .tb-fig.is-play.
   Jeder Selektor einzeln unter .ai-page (Paket-Prüfer). */

/* ---------- Auswahl links ---------- */
.ai-page .sc .tb-mod { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.ai-page .sc .tb-mod:hover { background: rgba(255,255,255,.08); border-color: rgba(116,210,255,.4); }
.ai-page .sc .tb-mod__ico { background: color-mix(in srgb, var(--c) 14%, transparent); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.ai-page .sc .tb-mod__ico svg { stroke: var(--c); }
.ai-page .sc .sc-state { font: 600 11.5px/1 var(--lp-mono); color: var(--text-faint-dark); border: 1px solid rgba(255,255,255,.16); }
.ai-page .sc .sc-state:empty::before { content: "›"; font-size: 15px; }
.ai-page .sc .tb-mod[aria-pressed="true"] { background: rgba(40,156,226,.16); border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 26px -6px var(--c), inset 0 1px 0 rgba(116,210,255,.12); }
.ai-page .sc .tb-mod[aria-pressed="true"] .sc-state { background: var(--c); border-color: var(--c); color: var(--navy-deep); }
.ai-page .sc-extra { margin-top: 18px; }
.ai-page .sc-extra .tb-shelf__list .tb-mod__txt small { display: block; font-size: 10.5px; }
.ai-page .sc-live-chip { display: inline-flex; align-items: center; gap: 7px; }
.ai-page .sc-live-chip i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: sc-ping 2s ease-out infinite; }
@keyframes sc-ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }

/* ---------- Fenster rechts: Automatik-Leiste ---------- */
.ai-page .sc-auto { margin-left: auto; font: 500 11px/1 var(--lp-mono); color: var(--text-faint-dark); opacity: 0; transition: opacity var(--dur-base); }
.ai-page .sc .tb-stage.is-auto .sc-auto { opacity: 1; }
.ai-page .sc-prog { height: 2px; background: rgba(255,255,255,.05); }
.ai-page .sc-prog i { display: block; height: 100%; background: var(--ice-cyan); transform-origin: 0 50%; transform: scaleX(0); }
@keyframes sc-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ai-page .sc .tb-stage.is-auto .sc-prog i { animation: sc-prog 10s linear infinite; }
.ai-page .sc:not(.is-vis) .tb-stage * { animation-play-state: paused !important; }
.ai-page:not(.ap-js) .sc-prog, .ai-page:not(.ap-js) .sc-auto { display: none; }

/* ---------- Szenen: Grundbausteine ---------- */
.ai-page .sc-scene--tutor, .ai-page .sc-scene--isles { grid-template-columns: 1fr; }
.ai-page .sc .tb-bar i { background: var(--bc, #0069AA); }
.ai-page .sc-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-page .sc-l-dark { color: rgba(17,24,40,.55); }
.ai-page .sc-dark .tb-term__body { gap: 7px; }
.ai-page .sc-swap { display: inline-grid; }
.ai-page .sc-swap > span { grid-area: 1 / 1; }
.ai-page .sc-swap .w1, .ai-page .sc-swap .w2 { opacity: 0; }
.ai-page .sc-b { display: inline-flex; padding: 6px 14px; border-radius: 999px; font: 600 11.5px/1.2 "Poppins", sans-serif; box-shadow: inset 0 0 0 1px rgba(17,24,40,.2); color: #111828; }
.ai-page .sc-b--go { background: #0069AA; color: #fff; box-shadow: none; }
.ai-page .sc-ok { font: 600 12px/1.3 "Poppins", sans-serif; color: #0A7A50; }
.ai-page .sc-open { justify-self: start; padding: 4px 9px; border-radius: 999px; font: 600 11px/1.2 var(--lp-mono); background: rgba(217,63,63,.12); color: #B42F2F; }
.ai-page .sc-av { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -6px 0 rgba(0,0,0,.12); }
.ai-page .sc-thumb2 { background: linear-gradient(135deg, #289CE2, #74D2FF); }

/* L2 · Staffellauf */
.ai-page .sc-relay { position: relative; display: grid; gap: 8px; padding: 12px 12px 12px 30px; border-radius: 10px; background: #0B111D; border: 1px solid rgba(255,255,255,.08); }
.ai-page .sc-relay::before { content: ""; position: absolute; left: 15px; top: 26px; bottom: 26px; width: 2px; background: linear-gradient(180deg, #34D399, #52B7FF, #A79BFF, #FBBF24); opacity: .35; }
.ai-page .sc-ag { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.ai-page .sc-ag__cube { grid-row: span 2; width: 18px; height: 18px; border-radius: 4px; background: var(--c); transform: rotate(45deg) scale(.8); box-shadow: 0 0 12px -2px var(--c); }
.ai-page .sc-ag b { font: 600 13px/1.25 "Poppins", sans-serif; color: var(--text-body-dark); }
.ai-page .sc-ag small { font: 500 11px/1.3 var(--lp-mono); color: #34D399; }
.ai-page .sc-baton { position: absolute; left: 10px; top: 87.5%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #E6FBFF; box-shadow: 0 0 12px 3px rgba(116,210,255,.8); }
@keyframes sc-baton { 0%, 8% { top: 12.5%; opacity: 0; } 12%, 24% { top: 12.5%; opacity: 1; } 32%, 44% { top: 37.5%; } 52%, 64% { top: 62.5%; } 72%, 94% { top: 87.5%; opacity: 1; } 100% { top: 87.5%; opacity: 0; } }
.ai-page .tb-fig.is-play .sc-baton { animation: sc-baton 10s var(--ease-out) infinite; }
@keyframes sc-q1 { 0%, 10%, 30%, 100% { box-shadow: none; } 14%, 26% { box-shadow: 0 0 0 1px var(--c), 0 0 22px -4px var(--c); } }
@keyframes sc-q2 { 0%, 30%, 50%, 100% { box-shadow: none; } 34%, 46% { box-shadow: 0 0 0 1px var(--c), 0 0 22px -4px var(--c); } }
@keyframes sc-q3 { 0%, 50%, 70%, 100% { box-shadow: none; } 54%, 66% { box-shadow: 0 0 0 1px var(--c), 0 0 22px -4px var(--c); } }
@keyframes sc-q4 { 0%, 70%, 94%, 100% { box-shadow: none; } 74%, 90% { box-shadow: 0 0 0 1px var(--c), 0 0 22px -4px var(--c); } }
.ai-page .tb-fig.is-play .sc-ag.q1 { animation: sc-q1 10s infinite; }
.ai-page .tb-fig.is-play .sc-ag.q2 { animation: sc-q2 10s infinite; }
.ai-page .tb-fig.is-play .sc-ag.q3 { animation: sc-q3 10s infinite; }
.ai-page .tb-fig.is-play .sc-ag.q4 { animation: sc-q4 10s infinite; }

/* L2 · Skill-Agent */
.ai-page .sc-skill { display: grid; grid-template-columns: 1fr 90px auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; background: rgba(17,24,40,.04); font-size: 12.5px; }
.ai-page .sc-skill .tb-bar { grid-column: 2; }
.ai-page .sc-skill.is-gap { background: rgba(217,63,63,.07); }
.ai-page .sc-skill.is-gap .tb-bar i { background: #D93F3F; }
.ai-page .sc-flag { padding: 3px 7px; border-radius: 999px; font: 600 10.5px/1.2 var(--lp-mono); background: #D93F3F; color: #fff; }
.ai-page .sc-hand { justify-self: start; }
@keyframes tb-fill2 { 0%, 18% { transform: scaleX(0); } 34%, 100% { transform: scaleX(var(--to)); } }
@keyframes tb-fill4 { 0%, 38% { transform: scaleX(0); } 54%, 100% { transform: scaleX(var(--to)); } }
.ai-page .tb-fig.is-play .fill2 { animation: tb-fill2 10s var(--ease-out) infinite; }
.ai-page .tb-fig.is-play .fill4 { animation: tb-fill4 10s var(--ease-out) infinite; }

/* L2 · Content-Agent */
.ai-page .sc-review { justify-self: start; padding: 5px 11px; border-radius: 999px; font: 600 11.5px/1.2 "Poppins", sans-serif; background: #FBBF24; color: #111828; }
@keyframes sc-grow { 0%, 14% { clip-path: inset(0 0 100% 0); } 44%, 100% { clip-path: inset(0 0 0 0); } }
.ai-page .tb-fig.is-play .sc-grow { animation: sc-grow 10s var(--ease-out) infinite; }

/* L2 · Tutor-Agent */
.ai-page .sc-chat { display: grid; gap: 8px; }
.ai-page .sc-time { justify-self: center; font: 500 10.5px/1 var(--lp-mono); color: rgba(17,24,40,.5); }
.ai-page .sc-msg { margin: 0; max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.ai-page .sc-msg--me { justify-self: end; background: #0069AA; color: #fff; border-bottom-right-radius: 4px; }
.ai-page .sc-msg--ag { justify-self: start; background: #fff; color: #111828; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(17,24,40,.08), 0 6px 16px rgba(17,24,40,.06); }
.ai-page .sc-msg--bot { justify-self: start; background: rgba(17,24,40,.06); color: #111828; border-bottom-left-radius: 4px; }
.ai-page .sc-typing { display: none; gap: 4px; justify-self: start; background: #fff; }
.ai-page .sc-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(17,24,40,.4); animation: sc-dot 1s ease-in-out infinite; }
.ai-page .sc-typing i:nth-child(2) { animation-delay: .15s; }
.ai-page .sc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sc-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ai-page .tb-fig.is-play .sc-typing { display: inline-flex; position: absolute; left: 12px; top: 96px; animation: sc-type 10s infinite; }
@keyframes sc-type { 0%, 12% { opacity: 0; } 14%, 27% { opacity: 1; } 29%, 100% { opacity: 0; } }
.ai-page .sc-src { justify-self: start; font: 500 11px/1.2 var(--lp-mono); color: #0069AA; padding: 3px 8px; border-radius: 4px; background: rgba(0,105,170,.08); }
.ai-page .sc-toggles { display: flex; gap: 6px; margin-top: 4px; }
.ai-page .sc-tg { padding: 5px 11px; border-radius: 999px; font: 600 11px/1.2 var(--lp-mono); color: rgba(17,24,40,.6); box-shadow: inset 0 0 0 1px rgba(17,24,40,.18); }
.ai-page .sc-tg.t3 { background: #111828; color: #fff; }
@keyframes sc-t1 { 0%, 38% { background: #111828; color: #fff; } 40%, 100% { background: transparent; color: rgba(17,24,40,.6); } }
@keyframes sc-t2 { 0%, 38%, 66%, 100% { background: transparent; color: rgba(17,24,40,.6); } 40%, 64% { background: #111828; color: #fff; } }
@keyframes sc-t3 { 0%, 64% { background: transparent; color: rgba(17,24,40,.6); } 66%, 100% { background: #111828; color: #fff; } }
.ai-page .tb-fig.is-play .sc-tg.t1 { animation: sc-t1 10s infinite; }
.ai-page .tb-fig.is-play .sc-tg.t2 { animation: sc-t2 10s infinite; }
.ai-page .tb-fig.is-play .sc-tg.t3 { animation: sc-t3 10s infinite; }

/* Wechsel an derselben Stelle (w1 → w2 → w3) */
@keyframes sc-w1 { 0%, 36% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes sc-w2 { 0%, 38% { opacity: 0; } 42%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes sc-w3 { 0%, 64% { opacity: 0; } 68%, 100% { opacity: 1; } }
.ai-page .tb-fig.is-play .sc-swap .w1 { animation: sc-w1 10s infinite; }
.ai-page .tb-fig.is-play .sc-swap .w2 { animation: sc-w2 10s infinite; }
.ai-page .tb-fig.is-play .sc-swap .w3 { animation: sc-w3 10s infinite; }

/* L2 · Admin-Agent */
.ai-page .sc-person { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(17,24,40,.04); font-size: 12.5px; }
.ai-page .sc-person .sc-swap { margin-left: auto; justify-items: end; }
.ai-page .sc-st { padding: 3px 8px; border-radius: 999px; font: 600 10.5px/1.2 var(--lp-mono); background: rgba(17,24,40,.08); color: rgba(17,24,40,.7); white-space: nowrap; }
.ai-page .sc-st.is-run { background: rgba(0,105,170,.12); color: #0069AA; }
.ai-page .sc-st.is-ok { background: rgba(10,140,90,.12); color: #0A7A50; }
.ai-page .sc-report { display: grid; gap: 8px; padding: 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08), 0 6px 16px rgba(17,24,40,.06); }
.ai-page .sc-report .tb-label { color: rgba(17,24,40,.55); }
.ai-page .sc-cols { display: flex; align-items: flex-end; gap: 8px; height: 44px; }
.ai-page .sc-cols i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #FBBF24, #0A8A5A); }

/* L2 · Kontrolle */
.ai-page .sc-models { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 10px; background: rgba(17,24,40,.05); }
.ai-page .sc-models span { position: relative; z-index: 1; padding: 8px 4px; text-align: center; font: 600 11.5px/1.2 "Poppins", sans-serif; color: #111828; }
.ai-page .sc-ring { position: absolute; top: 4px; bottom: 4px; left: calc(4px + 3 * (100% - 8px) / 4); width: calc((100% - 20px) / 4); border-radius: 7px; background: #fff; box-shadow: 0 0 0 1.5px #0069AA, 0 4px 10px rgba(0,105,170,.2); }
@keyframes sc-ring { 0%, 10% { left: 4px; } 16%, 20% { left: calc(4px + (100% - 8px) / 4); } 26%, 30% { left: calc(4px + 2 * (100% - 8px) / 4); } 36%, 100% { left: calc(4px + 3 * (100% - 8px) / 4); } }
.ai-page .tb-fig.is-play .sc-ring { animation: sc-ring 10s var(--ease-out) infinite; }
.ai-page .sc-ask { display: grid; gap: 10px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(251,191,36,.5), 0 8px 20px rgba(17,24,40,.1); }
.ai-page .sc-ask b { font: 600 12.5px/1.4 "Poppins", sans-serif; }
.ai-page .sc-btns { display: flex; gap: 8px; }
@keyframes sc-press { 0%, 56% { transform: none; } 59% { transform: scale(.9); } 62%, 100% { transform: none; } }
.ai-page .tb-fig.is-play .sc-ask .sc-b--go { animation: sc-press 10s infinite; }

/* L2 · Chatbot oder Agent */
.ai-page .sc-anat { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 6px; background: rgba(116,210,255,.06); border-left: 2px solid var(--ice-cyan); }
.ai-page .sc-anat b { font: 600 12px/1.2 "Poppins", sans-serif; color: var(--text-body-dark); }
.ai-page .sc-anat small { font: 500 11px/1.3 var(--lp-mono); color: var(--text-muted-dark); }
.ai-page .sc-done { justify-self: start; margin-top: 2px; font: 600 12px/1.2 var(--lp-mono); color: #34D399; }

/* L3 · Ein Kurs: drei Zonen, ein Weg */
.ai-page .sc-zones { position: relative; display: flex; flex-direction: column-reverse; justify-content: center; gap: 8px; padding: 12px 40px 12px 12px; border-radius: 10px; background: #0B111D; border: 1px solid rgba(255,255,255,.08); }
.ai-page .sc-zone { display: grid; gap: 3px; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.ai-page .sc-zone b { font: 600 13px/1.2 "Poppins", sans-serif; color: var(--text-body-dark); }
.ai-page .sc-zone small { font: 500 11px/1.3 var(--lp-mono); color: var(--text-muted-dark); }
.ai-page .sc-token { position: absolute; right: 14px; top: 16%; width: 14px; height: 14px; margin-top: -7px; border-radius: 4px; background: #E6FBFF; box-shadow: 0 0 14px 3px rgba(116,210,255,.75); transform: rotate(45deg); }
@keyframes sc-token { 0%, 10% { top: 70%; opacity: 0; } 14%, 26% { top: 70%; opacity: 1; } 34%, 46% { top: 43%; } 54%, 76% { top: 16%; opacity: 1; } 80%, 100% { top: 16%; opacity: 0; } }
.ai-page .tb-fig.is-play .sc-token { animation: sc-token 10s var(--ease-out) infinite; }
.ai-page .sc-back { font: 500 11px/1.3 var(--lp-mono); color: #34D399; order: -1; }
@keyframes sc-z1 { 0%, 12%, 30%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); } 16%, 26% { box-shadow: 0 0 0 1px var(--c), 0 0 22px -4px var(--c); } }
@keyframes sc-z2 { 0%, 32%, 50%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); } 36%, 46% { box-shadow: 0 0 0 1px var(--c), 0 0 22px -4px var(--c); } }
@keyframes sc-z3 { 0%, 52%, 78%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); } 56%, 74% { box-shadow: 0 0 0 1px var(--c), 0 0 22px -4px var(--c); } }
.ai-page .tb-fig.is-play .sc-zone.z1 { animation: sc-z1 10s infinite; }
.ai-page .tb-fig.is-play .sc-zone.z2 { animation: sc-z2 10s infinite; }
.ai-page .tb-fig.is-play .sc-zone.z3 { animation: sc-z3 10s infinite; }

/* L3 · LCMS */
.ai-page .sc-blk { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 6px; background: rgba(47,107,255,.12); border: 1px solid rgba(47,107,255,.45); font: 500 12px/1 var(--lp-mono); color: var(--text-body-dark); }
.ai-page .sc-blk i { width: 10px; height: 10px; border-radius: 2px; background: #289CE2; }
.ai-page .sc-chip-d { justify-self: start; background: rgba(52,211,153,.14); color: #34D399; }
.ai-page .sc-ed { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.ai-page .sc-outline { display: grid; gap: 6px; align-content: start; }
.ai-page .sc-outline span { padding: 5px 7px; border-radius: 5px; background: rgba(17,24,40,.05); font: 500 10.5px/1.2 var(--lp-mono); color: rgba(17,24,40,.7); }

/* L3 · LMS */
.ai-page .sc-ana { display: grid; gap: 6px; padding: 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08), 0 6px 16px rgba(17,24,40,.06); }
.ai-page .sc-ana svg { width: 100%; height: 46px; }
.ai-page .sc-spark { fill: none; stroke: #0069AA; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
@keyframes sc-spark { 0%, 62% { stroke-dashoffset: 100; } 86%, 100% { stroke-dashoffset: 0; } }
.ai-page .tb-fig.is-play .sc-spark { animation: sc-spark 10s var(--ease-out) infinite; }

/* L3 · LXP */
.ai-page .sc-step { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; font: 500 12px/1.2 var(--lp-mono); color: var(--text-body-dark); }
.ai-page .sc-step i { width: 14px; height: 14px; border-radius: 50%; background: #FBBF24; box-shadow: 0 0 10px -1px #FBBF24; }
.ai-page .sc-step + .sc-step::before { content: ""; position: absolute; left: 6px; top: -8px; height: 12px; width: 2px; background: rgba(251,191,36,.4); }
.ai-page .sc-hello { font: 600 15px/1.2 "Poppins", sans-serif; }
.ai-page .sc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ai-page .sc-card { display: grid; gap: 6px; padding: 8px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08), 0 6px 16px rgba(17,24,40,.06); font: 600 11px/1.3 "Poppins", sans-serif; }
.ai-page .sc-card i { height: 34px; border-radius: 5px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 40%, #fff)); }

/* L3 · Kursverkauf */
.ai-page .sc-pay { display: flex; justify-content: flex-end; }
.ai-page .sc-pay .sc-swap { justify-items: end; align-items: center; }
@keyframes sc-press2 { 0%, 44% { transform: none; } 50% { transform: scale(.9); } 56%, 100% { transform: none; } }
.ai-page .tb-fig.is-play .sc-b.is-press { animation: sc-press2 10s infinite; }
.ai-page .sc-b2c .sc-av { width: 38px; height: 38px; border-radius: 6px; }

/* L3 · Ihre Marke */
.ai-page .sc-use { padding: 7px 9px; border-radius: 6px; background: rgba(116,210,255,.06); border: 1px solid rgba(116,210,255,.25); font: 500 12px/1.2 var(--lp-mono); color: var(--text-body-dark); }
.ai-page .sc-browser { background: #F8FAFB; }
.ai-page .sc-url { padding: 8px 12px; background: #E7ECEF; font: 500 11px/1 var(--lp-mono); color: rgba(17,24,40,.7); }
.ai-page .sc-url { display: flex; align-items: center; gap: 6px; }
.ai-page .sc-url::before { content: "🔒"; font-size: 10px; }
.ai-page .tb-fig.is-play .sc-scene--brand .tb-mod-ui__head { animation: tb-head 10s infinite; }
.ai-page .tb-fig.is-play .sc-scene--brand .tb-btnmock { animation: tb-btn 10s infinite; }
.ai-page .tb-fig.is-play .sc-scene--brand .tb-logo { animation: tb-logo 10s infinite; }
.ai-page .tb-fig.is-play .sc-scene--brand .tb-lines .tb-h { animation: tb-hline 10s infinite; }

/* L3 · Ohne Plattform: Inseln */
.ai-page .sc-isles { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: center; padding: 44px 18px; border-radius: 10px; background: #0B111D; border: 1px solid rgba(255,255,255,.08); }
.ai-page .sc-isle { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 10px; background: #F8FAFB; }
.ai-page .sc-isle small { font-size: 11.5px; color: rgba(17,24,40,.6); }
.ai-page .sc-dup { justify-self: start; padding: 4px 9px; border-radius: 999px; font: 600 11px/1.2 var(--lp-mono); background: rgba(251,191,36,.18); color: #8A5A00; }
.ai-page .sc-cut { position: absolute; top: 50%; margin-top: -13px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; display: grid; place-items: center; background: #D93F3F; color: #fff; font: 700 13px/1 "Poppins", sans-serif; }
.ai-page .sc-cut.c1 { left: calc(18px + (100% - 116px) / 3 + 20px); }
.ai-page .sc-cut.c2 { left: calc(18px + 2 * (100% - 116px) / 3 + 60px); }
.ai-page .sc-isles::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; border-top: 2px dashed rgba(217,63,63,.5); z-index: 0; }
.ai-page .sc-isle { position: relative; z-index: 1; }
.ai-page .sc-isle-q { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); }
@keyframes sc-q { 0%, 68% { opacity: 0; } 72%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ai-page .tb-fig.is-play .sc-isles .sc-isle-q { animation: sc-q 10s infinite; }

/* ---------- Hero Layer 2: Agenten landen auf dem Fundament ---------- */
.ai-page.lp-id-2 .lp-hero .lp-gridl { stroke-dasharray: 520; animation: l1-draw 1.3s var(--ease-out) backwards; animation-delay: calc(var(--k) * 90ms); }
.ai-page.lp-id-2 .lp-hero .lp-dock { transform-box: fill-box; animation: l1-drop 1s var(--ease-out) backwards; animation-delay: calc(.9s + var(--i) * .3s); }
.ai-page.lp-id-2 .lp-hero .lp-dockring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: l1-ring 1.1s ease-out backwards; animation-delay: calc(1.55s + var(--i) * .3s); }
.ai-page.lp-id-2 .lp-hero .lp-relay { stroke-dasharray: 6 10; animation: lp-dash 4s linear infinite, l1-fade .9s ease-out 2.6s backwards; }
.ai-page.lp-id-2 .lp-hero .lp-orbit { animation: lp-spin 9s linear infinite, l1-fade .9s ease-out 2.8s backwards; }

/* ---------- Hero Layer 3: drei Zonen stapeln sich, Daten laufen durch ---------- */
.ai-page.lp-id-3 .lp-hero .lp-dock { transform-box: fill-box; animation: l1-drop 1s var(--ease-out) backwards; animation-delay: calc(.3s + var(--i) * .35s); }
.ai-page.lp-id-3 .lp-hero .lp-beam { stroke-dasharray: 10 18; animation: lp-dash 2.4s linear infinite reverse, l1-fade .9s ease-out 1.8s backwards; }
.ai-page.lp-id-3 .lp-hero .lp-agents { animation: l1-fade .9s ease-out 2.2s backwards; }

/* Laufband: läuft auf allen Layer-Seiten dauerhaft (wie Layer 1) */
.ai-page .lp-band__track { width: max-content; transform: none; animation: tb-marquee 48s linear infinite; }

/* ---------- Responsiv & reduzierte Bewegung ---------- */
@media (max-width: 560px) {
  .ai-page .sc-isles { grid-template-columns: 1fr; gap: 14px; padding-bottom: 54px; }
  .ai-page .sc-cut, .ai-page .sc-isles::before { display: none; }
  .ai-page .sc-cards { grid-template-columns: 1fr 1fr; }
  .ai-page .sc-ed { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page.lp-id-2 .lp-hero *, .ai-page.lp-id-3 .lp-hero *, .ai-page .sc-live-chip i, .ai-page .lp-band__track { animation: none !important; }
}

/* ===== stage.css ===== */
/* Layer 2 + 3 · Herzstück „So funktioniert es“ in Variante B (User 11.11.2026, Bau 12.11.2026).
   Aufbau wie die Toolbox auf Layer 1: links das beschriftete Bild (.hs-box), rechts das Fenster „Im Einsatz“ (.hs-win, Bausteine
   tb-term / tb-app aus toolbox.css), darunter Satz + „Was passiert“ / „Was Sie davon haben“, unten die Kapitel-Leiste.
   Ohne JS: Endbild im SVG, alle Kapitel untereinander. Jeder Selektor einzeln unter .ai-page (Paket-Prüfer, kein :is()).
   Alte Fassung: tmp/vor-herzstueck-b-2026-11-12/stage.css. */

.ai-page .st { margin-top: clamp(32px, 4.5vw, 52px); }
.ai-page .st-pin { width: min(1240px, calc(100% - 2 * clamp(16px, 3vw, 40px))); margin: 0 auto; }

/* ---------- Bild links, Fenster rechts ---------- */
.ai-page .hs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.ai-page .hs-box { display: flex; flex-direction: column; min-width: 0; background: var(--surface-slate); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden;
  background-image: radial-gradient(110% 80% at 50% 60%, rgba(40,156,226,.14), transparent 70%); }
.ai-page .hs-box__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 0; }
.ai-page .hs-k { font: 600 12px/1 var(--lp-mono); color: var(--ice-cyan); padding: 6px 10px; border-radius: 999px; background: rgba(116,210,255,.08); border: 1px solid rgba(116,210,255,.2); }
.ai-page .hs-viz { flex: 1; min-height: 0; display: grid; place-items: center; padding: 4px 6px 8px; }
.ai-page .st-svg { display: block; width: 100%; height: auto; max-height: 100%; }
.ai-page .hs-win { min-width: 0; display: flex; flex-direction: column; }
.ai-page .hs-panes { flex: 1; padding: 14px 16px 16px; }
.ai-page .hs-pane__k { margin: 0 0 10px; font: 500 11.5px/1 var(--lp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ice-cyan); }
.ai-page .hs-pane + .hs-pane { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); }

/* mit JS: Szenen und Texte liegen übereinander (höchste bestimmt die Höhe, nichts wird abgeschnitten), GSAP blendet um */
.ai-page.ap-js .hs-panes, .ai-page.ap-js .hs-texts { display: grid; }
.ai-page.ap-js .hs-pane, .ai-page.ap-js .hs-txt, .ai-page.ap-js .hs-pane + .hs-pane, .ai-page.ap-js .hs-txt + .hs-txt { grid-area: 1 / 1; margin: 0; padding-top: 0; border: 0; }
.ai-page.ap-js .hs-pane:not(.is-on), .ai-page.ap-js .hs-txt:not(.is-on) { visibility: hidden; }
.ai-page.ap-js .hs-pane__k { display: none; }

/* ---------- Texte unter der Bühne ---------- */
.ai-page .hs-texts { margin-top: 14px; }
.ai-page .hs-txt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ai-page .hs-txt + .hs-txt { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.ai-page .hs-txt__k { margin: 0 0 4px; font: 500 11.5px/1 var(--lp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ice-cyan); }
.ai-page .hs-txt h3 { margin: 0 0 4px; font: 600 clamp(16px, 1.35vw, 19px)/1.3 "Poppins", sans-serif; color: var(--text-body-dark); }
.ai-page .hs-txt__main > p:last-child { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted-dark); }
.ai-page .hs-txt .tb-info { margin: 0; padding: 0; border: 0; gap: 18px; }

/* ---------- Kapitel-Leiste ---------- */
.ai-page .st-player { margin-top: 14px; }
.ai-page:not(.ap-js) .st-player { display: none; }
.ai-page .st-segs { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.ai-page .st-seg { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; height: 100%; min-height: 44px; padding: 12px 12px 8px; border-radius: 10px;
  background: var(--surface-slate); border: 1px solid rgba(255,255,255,.08); color: var(--text-muted-dark); font: 600 13.5px/1.2 "Poppins", sans-serif; position: relative; overflow: hidden; }
.ai-page .st-seg:hover { color: var(--text-body-dark); border-color: rgba(116,210,255,.35); }
.ai-page .st-seg:focus-visible { outline: 3px solid #52B7FF; outline-offset: 2px; }
.ai-page .st-seg[aria-current="step"] { color: var(--text-body-dark); border-color: rgba(116,210,255,.5); background: rgba(40,156,226,.14); }
.ai-page .st-seg__k { font: 600 11.5px/1 var(--lp-mono); color: var(--ice-cyan); margin-right: 4px; }
.ai-page .st-seg__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.06); }
.ai-page .st-seg__bar i { display: block; height: 100%; background: linear-gradient(90deg, #289CE2, #74D2FF); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Scroll-Film: hoher Abschnitt, Bühne bleibt stehen (clip statt hidden, sonst greift sticky nicht) ---------- */
.ai-page .lp-sec.st-sec { overflow: clip; }
.ai-page .st--scrub { height: calc(100vh + var(--st-len, 400vh)); }
.ai-page .st--scrub .st-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
/* niedrige Laptop-Fenster: Bild + Fenster bekommen, was nach Text und Leiste übrig bleibt */
.ai-page .st--scrub .hs-grid { height: clamp(320px, calc(100vh - 270px), 540px); }
/* im Film füllt das Bild seine Kachel (zählt nicht zur Zeilenhöhe), die Fenster-Szene bestimmt nichts darüber hinaus */
.ai-page .st--scrub .hs-viz { position: relative; }
.ai-page .st--scrub .st-svg { position: absolute; inset: 4px 6px 8px; width: calc(100% - 12px); height: calc(100% - 12px); max-height: none; }
.ai-page .st--scrub .hs-win { min-height: 0; overflow: hidden; }

/* ---------- SVG: Schrift und Flächen ---------- */
.ai-page .st-svg text { font-family: "Poppins", sans-serif; }
.ai-page .st-t { font-weight: 600; font-size: 16px; fill: #F8FAFB; }
/* 12.11.: das Bild wird auf etwa 0,85 verkleinert, deshalb größere Schrift im SVG (bei 1366 px Breite ≥ 11 px auf dem Schirm) */
.ai-page .st-t13 { font-size: 15px; } .ai-page .st-t14 { font-size: 15.5px; } .ai-page .st-t15 { font-size: 17px; } .ai-page .st-t16 { font-size: 18px; } .ai-page .st-t20 { font-size: 25px; }
.ai-page .st-svg .st-mono { font: 500 15px var(--lp-mono); fill: rgba(248,250,251,.7); letter-spacing: .02em; }
.ai-page .st-svg .st-mono-s { font-size: 12.5px; letter-spacing: .06em; }
.ai-page .st-svg .st-mono-d { fill: rgba(17,24,40,.55); }
.ai-page .st-sym { font-family: system-ui, sans-serif; font-weight: 400; }
.ai-page .st-d { fill: #111828; } .ai-page .st-bold { font-weight: 600; }
.ai-page .st-glass { fill: rgba(31,41,56,.78); stroke: rgba(116,210,255,.26); }
.ai-page .st-paper { fill: #F8FAFB; stroke: rgba(255,255,255,.7); filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.ai-page .st-hl { fill: rgba(116,210,255,.16); stroke: var(--ice-cyan); stroke-width: 1.5; }
.ai-page .st-eu { fill: #1B3A8A; stroke: rgba(255,213,74,.6); }
.ai-page .st-hair2 { stroke: rgba(116,210,255,.4); stroke-width: 1.2; fill: none; }
.ai-page .st-line { fill: none; stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; opacity: .7; }
.ai-page .st-chip-g { fill: rgba(52,211,153,.14); stroke: rgba(52,211,153,.55); } .ai-page .st-chip-g-t { font: 600 13.5px var(--lp-mono); fill: #34D399; }
.ai-page .st-chip-z { fill: rgba(11,17,29,.86); stroke: rgba(116,210,255,.4); stroke-width: 1.2; } .ai-page .st-chip-z-t { font: 500 13.5px var(--lp-mono); fill: #E8EEF5; }
.ai-page .ag-floor { fill: rgba(116,210,255,.05); stroke: rgba(116,210,255,.15); }
/* ohne JS: Kapitel-Grafik, die im Film wieder verschwindet, gehört nicht ins Endbild */
.ai-page:not(.ap-js) .st-svg [data-o] { display: none; }

/* ---------- Fenster-Szenen ---------- */
.ai-page .hs-app .tb-app__body { min-height: 0; gap: 9px; }
.ai-page .hs-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ai-page .hs-col { display: grid; gap: 10px; align-content: start; }
.ai-page .hs-row { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08); }
.ai-page .hs-row > i { width: 10px; height: 10px; margin-top: 5px; border-radius: 3px; background: var(--c); transform: rotate(45deg); }
.ai-page .hs-row b { font: 600 13.5px/1.3 "Poppins", sans-serif; color: #111828; }
.ai-page .hs-row small { font: 500 11px/1.3 var(--lp-mono); color: rgba(17,24,40,.55); }
.ai-page .hs-row span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: rgba(17,24,40,.78); }
.ai-page .hs-row em { display: block; margin-top: 2px; font: 500 11px/1.35 var(--lp-mono); font-style: normal; color: #0069AA; }
.ai-page .hs-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-page .hs-rows .hs-row small { display: block; }
.ai-page .hs-rows .hs-row span { font-size: 12px; line-height: 1.4; }
.ai-page .hs-foot { margin: 2px 0 0; font: 600 12px/1.3 var(--lp-mono); color: #0069AA; }
.ai-page .hs-q, .ai-page .hs-a { margin: 0; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; max-width: 92%; }
.ai-page .hs-q { justify-self: end; background: #0069AA; color: #fff; border-bottom-right-radius: 4px; }
.ai-page .hs-a { justify-self: start; background: #E7ECEF; color: #111828; border-bottom-left-radius: 4px; }
.ai-page .hs-res { justify-self: start; display: inline-block; padding: 5px 10px; border-radius: 999px; font: 600 11px/1.2 var(--lp-mono); }
.ai-page .hs-res--no { background: rgba(17,24,40,.06); color: rgba(17,24,40,.6); }
.ai-page .hs-res--ok { background: rgba(52,211,153,.14); color: #34D399; border: 1px solid rgba(52,211,153,.4); }
.ai-page .hs-skill { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(255,107,107,.08); }
.ai-page .hs-skill small, .ai-page .hs-seats small, .ai-page .hs-line small { font-size: 11.5px; color: rgba(17,24,40,.6); }
.ai-page .hs-chatline { padding: 8px 10px; border-radius: 8px; background: rgba(167,155,255,.14); font-size: 12px; color: #111828; }
.ai-page .hs-chatline b { color: #5B4BC4; }
.ai-page .hs-chat .tb-app__body { gap: 10px; }
.ai-page .hs-time { margin: 0; text-align: center; font: 500 11px/1 var(--lp-mono); color: rgba(17,24,40,.5); }
.ai-page .hs-src { justify-self: start; }
.ai-page .hs-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-page .hs-acts span { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(17,24,40,.18); font: 500 11.5px/1.2 "Poppins", sans-serif; color: #111828; background: #fff; }
.ai-page .hs-ask { font: 600 13.5px/1.3 "Poppins", sans-serif; }
.ai-page .hs-p { margin: 0; font-size: 12.5px; line-height: 1.45; color: rgba(17,24,40,.78); }
.ai-page .hs-btns { display: flex; gap: 8px; }
.ai-page .hs-btns span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(17,24,40,.2); font: 600 12px/1.2 "Poppins", sans-serif; color: #111828; }
.ai-page .hs-btns .is-go { background: #0069AA; border-color: #0069AA; color: #fff; }
.ai-page .hs-okline { margin: 0; font: 600 12.5px/1.3 "Poppins", sans-serif; color: #0A7A50; }
.ai-page .hs-model { padding: 10px 12px; border-radius: 10px; background: var(--surface-slate); border: 1px solid rgba(255,255,255,.08); }
.ai-page .hs-model > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-page .hs-model > div span { padding: 5px 10px; border-radius: 999px; font: 500 11.5px/1.2 var(--lp-mono); color: var(--text-muted-dark); border: 1px solid rgba(255,255,255,.14); }
.ai-page .hs-model > div .is-on { color: var(--navy-deep); background: var(--ice-cyan); border-color: var(--ice-cyan); }
.ai-page .hs-eu { justify-self: start; background: rgba(27,58,138,.5); color: #FFD54A; }
.ai-page .hs-label { margin: 0; font: 600 13px/1.3 "Poppins", sans-serif; color: #111828; }
.ai-page .hs-stamps { display: grid; gap: 6px; }
.ai-page .hs-stamps span { justify-self: start; padding: 4px 9px; border-radius: 999px; background: rgba(10,140,90,.1); color: #0A7A50; font: 600 11.5px/1.2 var(--lp-mono); }
.ai-page .hs-path { margin: 0; font-size: 12.5px; color: rgba(17,24,40,.75); }
.ai-page .hs-ex { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font: 500 10px/1.3 var(--lp-mono); letter-spacing: .06em; text-transform: uppercase;
  color: rgba(17,24,40,.55); background: rgba(17,24,40,.06); vertical-align: middle; }
.ai-page .hs-book b { font: 600 13.5px/1.3 "Poppins", sans-serif; }
.ai-page .hs-seats { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.ai-page .hs-fill { transform-origin: 0 50%; transform: scaleX(.45); }
.ai-page .hs-seats .tb-bar i.hs-fill { transform: scaleX(.45); }
.ai-page .hs-num { display: inline-grid; }
.ai-page .hs-num > span { grid-area: 1 / 1; font-weight: 700; color: #111828; text-align: right; }
.ai-page:not(.ap-js) .hs-n0, .ai-page:not(.ap-js) .hs-n1 { visibility: hidden; }
.ai-page .hs-line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08); }
.ai-page .hs-line b { font: 600 12.5px/1.3 "Poppins", sans-serif; color: #111828; }
.ai-page .hs-url { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #E7ECEF; font: 500 11.5px/1 var(--lp-mono); color: rgba(17,24,40,.7); }
.ai-page .hs-url > i { width: 9px; height: 11px; border: 1.5px solid rgba(17,24,40,.45); border-radius: 2px; }
.ai-page .hs-brand { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: #0F766E; }
.ai-page .hs-brand .tb-logo { opacity: 1; font-size: 11px; }
.ai-page .hs-nav { display: flex; gap: 6px; }
.ai-page .hs-nav i { width: 28px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); }
.ai-page .hs-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-page .hs-tiles span { padding: 9px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,40,.08); border-top: 3px solid #0F766E; }
.ai-page .hs-tiles b { display: block; font: 600 12.5px/1.3 "Poppins", sans-serif; color: #111828; }
.ai-page .hs-tiles small { font-size: 11px; color: rgba(17,24,40,.6); }
.ai-page .hs-wl { display: grid; gap: 4px; font-size: 12px; color: rgba(17,24,40,.75); }
.ai-page .hs-wl b { color: #0069AA; }

/* Pause über den gemeinsamen Knopf */
.ai-page.lp-paused .st * { animation-play-state: paused !important; }

/* ---------- Schmal: untereinander, Kapitel per Knopf (kein Scroll-Film, kein seitliches Wischen) ---------- */
@media (max-width: 960px) {
  .ai-page .hs-grid { grid-template-columns: 1fr; }
  .ai-page .hs-viz { padding: 0 4px 6px; }
  .ai-page .hs-txt { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .ai-page .hs-two { grid-template-columns: 1fr; }
  .ai-page .hs-txt .tb-info { grid-template-columns: 1fr; gap: 10px; }
  .ai-page .st-segs { gap: 4px; }
  .ai-page .st-seg { min-height: 44px; padding: 10px 0 6px; text-align: center; font-size: 0; }
  .ai-page .st-seg__k { margin: 0; font-size: 13px; }
  .ai-page .hs-tiles { grid-template-columns: 1fr; }
  .ai-page .hs-rows { grid-template-columns: 1fr; }
  /* Bild am Handy etwa halb so groß: Namen und Rollen größer, damit sie lesbar bleiben (Etiketten mit fester Breite bleiben) */
  .ai-page .st-t20 { font-size: 30px; }
  .ai-page .st-t16 { font-size: 20px; }
  .ai-page .st-svg .st-mono { font-size: 18px; }
  .ai-page .st-svg .st-mono-s { font-size: 12.5px; }
}
/* Kapitel-Leiste am Handy oben über dem Fenster, damit die Knöpfe neben dem Bild erreichbar sind */
.ai-page .st--tabs .st-pin { display: flex; flex-direction: column; }
.ai-page .st--tabs .st-player { order: -1; margin: 0 0 12px; }
