/* Product showcase (px-*): /ki-workspace/, /firmen-ki-chat/ (Eigene KI-Plattform) and the case study. UI drawn in HTML, scaled and animated by product.js. */
:root {
  --ui: #FFFFFF; --ui-2: #F5F6FD; --ui-3: #F3F4F9; --hair: #E1E2E9; --hair-2: #EAEBF2;
  --tx: #1C1B18; --tx-2: #585960; --tx-3: #909198;
  --ok: #17A06B; --ok-l: #E3F5EC; --warn: #D98A12; --warn-l: #FDF1DE; --red: #DC4C3E; --red-l: #FCE6E3;
  --vio: #7C5CE6; --vio-l: #EEE9FC; --tea: #0E9AA7; --tea-l: #DFF3F4; --bl-l: #E8EBFD;
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* Hero ------------------------------------------------------------------------------------------ */
.px-hero { position: relative; padding: clamp(28px,4vw,56px) 0 0; overflow: hidden; }
.px-hero-glow { position: absolute; inset: 40% -10% -10%; background: radial-gradient(60% 55% at 50% 40%, rgba(36,59,230,.16), rgba(201,208,250,.28) 45%, transparent 75%); pointer-events: none; }
.px-hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.px-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--tx-2); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--hair); padding: 6px 14px; border-radius: 999px; animation: h2a-rise .7s var(--ease) .05s both; }
.px-hero h1 { font-weight: 700; font-size: clamp(38px,5.6vw,76px); letter-spacing: -.045em; line-height: 1.02; margin: 22px 0 0; max-width: 22ch; text-wrap: balance; hyphens: manual; animation: h2a-rise .8s var(--ease) .12s both; }
.px-mute { color: var(--px-mute, #9A9BA2); }
.px-lead { font-size: clamp(17px,1.5vw,19.5px); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 22px 0 0; text-wrap: pretty; animation: h2a-rise .8s var(--ease) .3s both; }
.px-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; animation: h2a-rise .8s var(--ease) .42s both; }
.px-meta { margin-top: 18px; font-size: 13.5px; color: var(--muted2); animation: h2a-rise .8s var(--ease) .5s both; }
.px-hero-stage { position: relative; max-width: 1200px; margin: clamp(40px,5vw,64px) auto 0; padding: 0 20px; animation: px-rise 1.1s var(--ease) .55s both; }
.px-hero-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.px-hero .keyfacts { margin: 8px auto 0; max-width: 760px; text-align: left; position: relative; z-index: 1; }
.px-hero-after { padding: 0 20px clamp(48px,6vw,80px); position: relative; }
@keyframes px-rise { from { opacity: 0; transform: translateY(40px) scale(.985); } to { opacity: 1; transform: none; } }

/* Scaled stage --------------------------------------------------------------------------------- */
.px-fit { position: relative; overflow: hidden; }
.px-fit-in { transform-origin: 0 0; }
.px-card-vis > .px-fit, .px-panel > .px-fit { width: 100%; }
.px-fit.compact .px-side, .px-fit.compact .px-rail { display: none; }
.px-fit.compact .px-app, .px-fit.compact .px-app.rail { grid-template-columns: 1fr; }
.px-fit.compact .px-stackable { flex-direction: column; }
.px-fit.compact .px-stackable > [data-at] > .px-i { transform: rotate(90deg); }
.px-fit.compact .px-split { grid-template-columns: 1fr !important; }
.px-fit.compact .px-split > * + * { border-left: 0 !important; border-top: 1px solid var(--hair); }
.px-fit.compact .px-g3 { grid-template-columns: 1fr 1fr !important; }
.px-fit.compact .px-g2 { grid-template-columns: 1fr !important; }
.px-fit.compact .px-opt { display: none; }
.px-fit.compact .px-models { right: 12px !important; }
.px-fit.crop { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }

/* Window --------------------------------------------------------------------------------------- */
.px-win { background: var(--ui); border-radius: 14px; box-shadow: 0 0 0 1px rgba(11,12,20,.08), 0 2px 4px rgba(11,12,20,.04), 0 24px 60px -24px rgba(11,12,20,.28), 0 60px 120px -60px rgba(36,59,230,.25); overflow: hidden; color: var(--tx); font-size: 13px; line-height: 1.45; text-align: left; letter-spacing: -.005em; }
.px-bar { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--hair); background: var(--ui-2); font-size: 12px; color: var(--tx-3); }
.px-dots { display: flex; gap: 7px; }
.px-dots i { width: 11px; height: 11px; border-radius: 50%; background: #DEDFE6; }
.px-dots i:nth-child(1) { background: #F2665C; } .px-dots i:nth-child(2) { background: #F6BE3B; } .px-dots i:nth-child(3) { background: #3DC56A; }
.px-url { margin: 0 auto; display: flex; align-items: center; gap: 6px; background: var(--ui); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 7px; padding: 4px 12px; min-width: 300px; justify-content: center; color: var(--tx-2); }
.px-i { flex: none; display: block; }
.px-av { --c: #243BE6; --s: 22px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: var(--c); color: #fff; font-size: calc(var(--s) * .4); font-weight: 650; letter-spacing: 0; box-shadow: 0 0 0 2px #fff; }
.px-stack { display: inline-flex; } .px-stack .px-av + .px-av { margin-left: -7px; }

/* App layout */
.px-app { display: grid; grid-template-columns: 236px 1fr; min-height: 560px; }
.px-app.rail { grid-template-columns: 52px 220px 1fr; }
.px-rail { background: var(--ui-3); border-right: 1px solid var(--hair); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; color: var(--tx-2); }
.px-rail span { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.px-rail span.on { background: var(--ui); color: var(--tx); box-shadow: 0 0 0 1px var(--hair), 0 1px 2px rgba(0,0,0,.05); }
.px-side { background: var(--ui-2); border-right: 1px solid var(--hair); padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.px-org { display: flex; align-items: center; gap: 9px; padding: 4px 6px 12px; font-weight: 650; font-size: 13.5px; }
.px-org .lg { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; }
.px-org .px-i { margin-left: auto; color: var(--tx-3); }
.px-nav-i { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-nav-i.on { background: var(--ui); color: var(--tx); box-shadow: 0 0 0 1px var(--hair), 0 1px 2px rgba(0,0,0,.04); }
.px-nav-i kbd { margin-left: auto; font: inherit; font-size: 11px; color: var(--tx-3); background: var(--ui-3); border-radius: 5px; padding: 1px 6px; }
.px-side-h { font-size: 11px; font-weight: 600; color: var(--tx-3); padding: 14px 8px 4px; letter-spacing: .02em; }
.px-side-foot { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 6px 2px; border-top: 1px solid var(--hair); font-size: 12px; }
.px-side-foot b { display: block; font-weight: 600; font-size: 12.5px; }
.px-side-foot small { color: var(--tx-3); font-size: 11.5px; }
.px-main { display: flex; flex-direction: column; min-width: 0; background: var(--ui); position: relative; }
.px-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--hair-2); min-height: 48px; }
.px-top .r { margin-left: auto; display: flex; gap: 8px; align-items: center; color: var(--tx-3); }
.px-sel { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 8px; font-weight: 600; }
.px-sel:hover { background: var(--ui-3); }
.px-sel small { font-weight: 500; color: var(--tx-3); }

/* Atoms */
.px-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--ui-3); color: var(--tx-2); white-space: nowrap; }
.px-pill.ok { background: var(--ok-l); color: #0F7A51; } .px-pill.warn { background: var(--warn-l); color: #A9650A; } .px-pill.red { background: var(--red-l); color: #B23628; }
.px-pill.bl { background: var(--bl-l); color: var(--blue); } .px-pill.vio { background: var(--vio-l); color: #5B3EC4; } .px-pill.tea { background: var(--tea-l); color: #097680; }
.px-pill.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.px-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; padding: 6px 11px; border-radius: 8px; background: var(--ui); color: var(--tx); box-shadow: inset 0 0 0 1px var(--hair), 0 1px 2px rgba(0,0,0,.04); white-space: nowrap; }
.px-btn.pri { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(36,59,230,.3), inset 0 1px 0 rgba(255,255,255,.18); }
.px-btn.ink { background: var(--tx); color: #fff; box-shadow: none; }
.px-kbd { font-size: 11px; color: var(--tx-3); }
.px-chipx { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--ui); box-shadow: inset 0 0 0 1px var(--hair); font-size: 12px; color: var(--tx-2); white-space: nowrap; }
.px-chipx img { width: 14px; height: 14px; }
.px-src { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 6px; border-radius: 7px; background: var(--ui-2); box-shadow: inset 0 0 0 1px var(--hair); font-size: 11.5px; color: var(--tx-2); }
.px-src .n { width: 16px; height: 16px; border-radius: 5px; background: var(--bl-l); color: var(--blue); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.px-cite { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 5px; background: var(--bl-l); color: var(--blue); font-size: 10px; font-weight: 700; vertical-align: 1px; margin: 0 1px; }
.px-ent { border-radius: 4px; padding: 0 3px; font-weight: 600; }
.px-ent.p { background: #FFE9C7; color: #8A5300; } .px-ent.e { background: #DCEBFF; color: #1F4FA8; } .px-ent.b { background: #E9E1FF; color: #4D2DB0; } .px-ent.t { background: #D9F3E6; color: #0D6B45; }
.px-ph { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; background: var(--tx); color: #fff; border-radius: 4px; padding: 1px 5px; letter-spacing: 0; }
.px-track { height: 6px; border-radius: 99px; background: var(--ui-3); overflow: hidden; }
.px-track > i { display: block; height: 100%; border-radius: inherit; background: var(--blue); width: var(--w); }
.px-tog { width: 30px; height: 18px; border-radius: 99px; background: #D2D3DA; position: relative; flex: none; }
.px-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.px-tog.on { background: var(--blue); } .px-tog.on::after { transform: translateX(12px); }
.px-tog.ok { background: var(--ok); } .px-tog.ok::after { transform: translateX(12px); }

/* Chat */
.px-chat { flex: 1; padding: 22px clamp(20px,5%,64px) 0; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.px-me { align-self: flex-end; max-width: 78%; background: var(--ui-3); border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: 13.5px; }
.px-ai { display: flex; gap: 11px; font-size: 13.5px; }
.px-ai .lg { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; color: #fff; }
.px-ai-b { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.px-ai-b p { margin: 0; }
.px-ai-b ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.px-step { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tx-2); flex-wrap: wrap; }
.px-step > .px-i { color: var(--ok); }
.px-acts { display: flex; gap: 10px; color: var(--tx-3); }
.px-compose { margin: 14px clamp(20px,5%,64px) 18px; border-radius: 14px; background: var(--ui); box-shadow: 0 0 0 1px var(--hair), 0 6px 20px -10px rgba(11,12,20,.18); padding: 12px 12px 10px 14px; }
.px-compose .tx { min-height: 22px; font-size: 13.5px; color: var(--tx); }
.px-compose .tx:empty::before { content: attr(data-ph); color: var(--tx-3); }
.px-compose .row { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--tx-3); }
.px-compose .row .r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.px-send { width: 28px; height: 28px; border-radius: 50%; background: var(--tx); color: #fff; display: grid; place-items: center; }
.px-caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--blue); vertical-align: -2px; margin-left: 1px; animation: px-blink 1s steps(1) infinite; }
@keyframes px-blink { 50% { opacity: 0; } }

/* Table */
.px-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.px-tbl th { text-align: left; font-weight: 500; color: var(--tx-3); font-size: 11.5px; padding: 8px 12px; border-bottom: 1px solid var(--hair); white-space: nowrap; background: var(--ui-2); }
.px-tbl td { padding: 9px 12px; border-bottom: 1px solid var(--hair-2); white-space: nowrap; vertical-align: middle; }
.px-tbl tr:last-child td { border-bottom: 0; }
.px-tbl .nm { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.px-tbl .nm small { display: block; font-weight: 400; color: var(--tx-3); font-size: 11.5px; }
.px-tbl .mut { color: var(--tx-3); }
.px-tbl tr.hl td { background: #F6F7FE; }

/* Generic surfaces inside panels/cards */
.px-sheet { background: var(--ui); border-radius: 12px; box-shadow: 0 0 0 1px var(--hair), 0 10px 30px -18px rgba(11,12,20,.25); color: var(--tx); font-size: 13px; line-height: 1.45; text-align: left; }
.px-sheet-h { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--hair-2); font-weight: 600; }
.px-sheet-h .r { margin-left: auto; display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--tx-3); }
.px-sheet-b { padding: 14px; }
.px-lbl { font-size: 11.5px; color: var(--tx-3); font-weight: 500; }
.px-kpi b { display: block; font-size: 22px; letter-spacing: -.03em; font-weight: 650; margin-top: 2px; }
.px-kpi small { font-size: 11.5px; color: var(--ok); font-weight: 600; }

.px-mrow { transition: background .35s; }
.px-mrow .px-ck { opacity: 0; transition: opacity .3s; }
.px-mrow[data-k="0"] .px-ck { opacity: 1; }
[data-step="2"] .px-mrow[data-k="3"], [data-step="3"] .px-mrow[data-k="5"], [data-step="4"] .px-mrow[data-k="0"] { background: var(--ui-3); }

/* Chapters ------------------------------------------------------------------------------------- */
.px-chapters { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.px-nav { display: none; }
.px-ch { padding: clamp(40px,6vw,72px) 0; border-bottom: 1px solid var(--line); }
.px-ch:last-child { border-bottom: 0; }
.px-ch-tag { display: inline-flex; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--bl-l); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.px-state { font-size: clamp(21px,1.9vw,27px); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; margin: 0 0 clamp(24px,3vw,40px); max-width: 36ch; text-wrap: pretty; }
.px-state .px-mute { color: var(--px-mute-t, #9A9BA2); }
.px-state b { font-weight: 650; color: var(--ink); }
.px-panel { position: relative; border-radius: 22px; background: linear-gradient(180deg, #EEF0F6, #E7E2F2); padding: clamp(18px,3vw,40px); overflow: hidden; }
.px-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(11,12,20,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,12,20,.045) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); }
.px-panel > * { position: relative; }
.px-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-top: 20px; }
.px-card { background: var(--paper); padding: clamp(20px,2.4vw,30px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.px-card h4 { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 500; letter-spacing: -.015em; max-width: 38ch; }
.px-card h4 b { font-weight: 650; }
.px-card-vis { position: relative; flex: 1; min-height: 230px; display: grid; place-items: center; border-radius: 14px; background: var(--ui-3); overflow: hidden; padding: 18px; }
.px-card-vis::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11,12,20,.09) 1px, transparent 1px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%); }
.px-card-vis > * { position: relative; }
@media (min-width: 760px) { .px-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) {
  .px-chapters { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 0 56px; }
  .px-nav { display: block; border-right: 1px solid var(--line); }
  .px-nav ol { list-style: none; margin: 0; padding: 72px 0 0; position: sticky; top: 110px; display: grid; gap: 4px; }
  .px-nav a { text-decoration: none; display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 550; color: var(--px-nav-off, #AAABB2); padding: 7px 0; transition: color .35s; }
  .px-nav a:hover { color: var(--ink); }
  .px-nav a.on { color: var(--ink); }
  .px-bar-p { width: 2px; height: 22px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; margin-left: -1px; }
  .px-bar-p i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: var(--blue); }
  .px-nav a:not(.on) .px-bar-p i { height: 0; }
  .px-ch-tag { display: none; }
}

/* Dark band ------------------------------------------------------------------------------------ */
.px-dark { position: relative; background: #0F1017; color: #FFFFFF; border-radius: 28px; overflow: hidden; padding: clamp(40px,6vw,88px) clamp(22px,5vw,72px); }
.px-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 110%, rgba(36,59,230,.55), transparent 70%), radial-gradient(40% 40% at 85% 0%, rgba(124,92,230,.22), transparent 70%); pointer-events: none; }
.px-dark::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); pointer-events: none; }
.px-dark > * { position: relative; z-index: 1; }
.px-dark .px-eyebrow { background: rgba(255,255,255,.08); color: #C7C8CF; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); animation: none; }
.px-dark h2 { font-size: clamp(32px,4.6vw,64px); letter-spacing: -.045em; line-height: 1.02; margin: 20px 0 0; font-weight: 700; max-width: 18ch; text-wrap: balance; }
.px-dark h2 .px-mute { color: var(--px-mute-d, #67686F); }
.px-dark p.lead { color: #A9ADB9; font-size: 18px; max-width: 56ch; margin: 18px 0 0; line-height: 1.55; }
.px-flow { display: grid; gap: 12px; margin-top: clamp(32px,4vw,52px); }
.px-node { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; backdrop-filter: blur(6px); }
.px-node .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #FFFFFF; }
.px-node b { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.px-node span { color: #A1A2A9; font-size: 14px; line-height: 1.45; }
.px-node.hot { border-color: rgba(122,140,255,.6); background: linear-gradient(180deg, rgba(36,59,230,.28), rgba(36,59,230,.08)); box-shadow: 0 0 0 4px rgba(36,59,230,.12), 0 20px 50px -20px rgba(36,59,230,.8); }
.px-link { height: 26px; width: 2px; margin: 0 auto; background: linear-gradient(rgba(255,255,255,.15), rgba(122,140,255,.9), rgba(255,255,255,.15)); background-size: 100% 200%; animation: px-flowy 1.6s linear infinite; }
@media (min-width: 900px) {
  .px-flow { grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: stretch; }
  .px-link { width: 100%; height: 2px; margin: auto 0; background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(122,140,255,.9), rgba(255,255,255,.15)); background-size: 200% 100%; animation-name: px-flowx; }
}
@keyframes px-flowx { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes px-flowy { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.px-ops { display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; margin-top: 16px; }
.px-ops > div { background: #12131A; padding: 20px; display: flex; gap: 12px; align-items: flex-start; }
.px-ops b { display: block; font-size: 15.5px; } .px-ops span { color: #A1A2A9; font-size: 14px; }
.px-ops .px-i { color: #8C9BFF; margin-top: 3px; }
@media (min-width: 760px) { .px-ops { grid-template-columns: repeat(4, 1fr); } }

[data-out] { transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s; }
[data-out].px-out { opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
html:not(.px-js) [data-out] { display: none; }
.px-win { hyphens: manual; -webkit-hyphens: manual; }

/* Sequences: product.js adds .px-js to <html>, then reveals [data-at] steps. Without JS everything shows. */
.px-js [data-at] { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.px-js [data-at].px-in { opacity: 1; transform: none; }
.px-js [data-at].px-pop { transform: scale(.94); }
.px-js [data-at].px-pop.px-in { transform: none; }
.px-js [data-px-anim] .px-grow { transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.px-js [data-px-anim].px-on .px-grow { transform: none; }
.px-js [data-px-anim] .px-track > i { width: 0; transition: width 1.4s var(--ease) .2s; }
.px-js [data-px-anim].px-on .px-track > i { width: var(--w); }
.px-ent, .px-ph { transition: background .4s, color .4s; }
.px-swap { display: inline-grid; vertical-align: bottom; }
.px-swap > * { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.px-swap > :last-child { opacity: 0; transform: translateY(6px); }
.px-swap.px-in > :first-child { opacity: 0; transform: translateY(-6px); }
.px-swap.px-in > :last-child { opacity: 1; transform: none; }
.px-scan { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(transparent, rgba(36,59,230,.12), transparent); pointer-events: none; }
[data-px-anim].px-on .px-scan { animation: px-scan 2.6s var(--ease) .3s 1 both; }
@keyframes px-scan { from { top: -40px; } to { top: 100%; } }
.px-spin { animation: px-spin 1.2s linear infinite; }
@keyframes px-spin { to { transform: rotate(360deg); } }
.px-float { animation: px-floaty 6s ease-in-out infinite; }
@keyframes px-floaty { 50% { transform: translateY(-6px); } }
.px-pulse { position: relative; }
.px-pulse::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(36,59,230,.45); animation: px-ring 2s ease-out infinite; }
@keyframes px-ring { to { box-shadow: 0 0 0 10px rgba(36,59,230,0); } }
.px-hover { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
[data-px-anim].px-on .px-lift { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 0 0 1px var(--hair), 0 26px 50px -20px rgba(11,12,20,.35); }
.px-cursor { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 5; transition: left 1.1s var(--ease), top 1.1s var(--ease); filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }

@media (prefers-reduced-motion: reduce) {
  .px-hero *, .px-chapters *, .px-dark * { animation: none !important; transition: none !important; }
  .px-js [data-at] { opacity: 1; transform: none; }
}

/* Small screens */
@media (max-width: 640px) {
  .px-hero h1 { font-size: clamp(34px,10vw,44px); }
  .px-ctas { width: 100%; flex-direction: column; }
  .px-ctas .btn { justify-content: center; }
  .px-hero-stage { padding: 0 12px; }
  .px-panel { border-radius: 18px; padding: 14px; }
  .px-card-vis { min-height: 200px; padding: 12px; }
}
.px-own { max-width: 50%; }
.px-fit.compact .px-own { max-width: none; }
.px-state, .px-dark h2, .px-hero h1, .px-card h4 { hyphens: manual; -webkit-hyphens: manual; }

/* Dark band: entrance once in view, then a calm idle state (glowing hot tile, flowing links, pointer light). */
.px-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 40%), rgba(140,155,255,.14), transparent 45%); }
.px-dark:hover .px-spot { opacity: 1; }
.px-lockup { display: flex; align-items: center; gap: .32em; flex-wrap: wrap; }
.px-lockup .b { height: .72em; width: auto; filter: brightness(0) invert(1); }
.px-node { transition: border-color .4s, background .4s, transform .5s var(--ease); }
@media (hover: hover) { .px-node:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); } }
.px-node.hot { animation: px-hot 3.6s ease-in-out 2.4s infinite; }
@keyframes px-hot { 50% { box-shadow: 0 0 0 7px rgba(36,59,230,.18), 0 26px 70px -18px rgba(70,90,255,.95); } }
.px-js .px-dark[data-px-anim]::before { opacity: 0; transform: translateY(18%) scale(.85); transition: opacity 1.8s var(--ease), transform 2.2s var(--ease); }
.px-js .px-dark[data-px-anim]::after { opacity: 0; transition: opacity 2s var(--ease) .3s; }
.px-js .px-dark[data-px-anim].px-on::before, .px-js .px-dark[data-px-anim].px-on::after { opacity: 1; transform: none; }
.px-js .px-dark[data-px-anim] h2 { clip-path: inset(0 0 100% 0); transform: translateY(26px); transition: clip-path 1.1s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.px-js .px-dark[data-px-anim].px-on h2 { clip-path: inset(0 0 -10% 0); transform: none; }
.px-js .px-dark[data-px-anim] h2 .px-mute { opacity: 0; transition: opacity 1s var(--ease) .75s; }
.px-js .px-dark[data-px-anim].px-on h2 .px-mute { opacity: 1; }
.px-js .px-dark[data-px-anim] .px-lockup { clip-path: none; transform: none; }
.px-js .px-dark[data-px-anim] .px-lockup .a { display: inline-block; opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.px-js .px-dark[data-px-anim] .px-lockup .x { display: inline-block; opacity: 0; transform: scale(.3) rotate(-120deg); transition: opacity .6s var(--ease) .55s, transform .9s cubic-bezier(.3,1.5,.5,1) .55s; }
.px-js .px-dark[data-px-anim] .px-lockup .b { opacity: 0; transform: translateX(40px); transition: opacity .9s var(--ease) .75s, transform 1.1s var(--ease) .75s; }
.px-js .px-dark[data-px-anim].px-on .px-lockup .a, .px-js .px-dark[data-px-anim].px-on .px-lockup .x, .px-js .px-dark[data-px-anim].px-on .px-lockup .b { opacity: 1; transform: none; }
.px-js .px-dark[data-px-anim] p.lead { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .6s, transform .9s var(--ease) .6s; }
.px-js .px-dark[data-px-anim] .px-node { opacity: 0; transform: translateY(28px) scale(.96); filter: blur(8px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease), border-color .4s, background .4s; transition-delay: calc(.9s + var(--i, 0) * .18s); }
.px-js .px-dark[data-px-anim] .px-link { transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease); transition-delay: calc(1.05s + var(--i, 0) * .18s); }
.px-js .px-dark[data-px-anim] .px-ops > div { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(1.8s + var(--i, 0) * .12s); }
.px-js .px-dark[data-px-anim].px-on p.lead, .px-js .px-dark[data-px-anim].px-on .px-node, .px-js .px-dark[data-px-anim].px-on .px-ops > div { opacity: 1; transform: none; filter: none; }
.px-js .px-dark[data-px-anim].px-on .px-link { transform: none; }
.px-js .px-dark[data-px-anim].px-on .px-node { transition-delay: calc(.9s + var(--i, 0) * .18s), calc(.9s + var(--i, 0) * .18s), calc(.9s + var(--i, 0) * .18s), 0s, 0s; }
@media (max-width: 899px) { .px-js .px-dark[data-px-anim] .px-link { transform: scaleY(0); transform-origin: center top; } }
@media (prefers-reduced-motion: reduce) { .px-js .px-dark[data-px-anim] *, .px-js .px-dark[data-px-anim]::before, .px-js .px-dark[data-px-anim]::after { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; } }

/* Branding preview: swatches, the moving ring and the accent the preview takes on. */
.px-sw { width: 26px; height: 26px; border-radius: 8px; position: relative; display: block; }
.px-ring { position: absolute; inset: -4px; border-radius: 11px; box-shadow: 0 0 0 2px var(--tx); }
.px-prev { --acc: #243BE6; }
[data-step="2"] .px-prev, [data-step="3"] .px-prev { --acc: #0F6E66; }
.px-prev .acc { background: var(--acc) !important; color: #fff; transition: background .7s var(--ease); }
.px-prev .acc-l { background: color-mix(in srgb, var(--acc) 12%, white); color: var(--acc); transition: background .7s, color .7s; }
.px-prev .lg.acc { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }

/* Fertig oder individuell: the two ways side by side. */
.px-weg { display: grid; gap: 14px; }
@media (min-width: 760px) { .px-weg { grid-template-columns: 1fr 1fr; } }
.px-weg-c { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px,3vw,36px); display: flex; flex-direction: column; gap: 16px; }
.px-weg-c.on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.px-weg-tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--bl-l); color: var(--blue); }
.px-weg-c.on .px-weg-tag { background: rgba(255,255,255,.12); color: #C9CFF7; }
.px-weg-c h3 { margin: 0; font-size: clamp(24px,2.4vw,32px); letter-spacing: -.035em; line-height: 1.1; }
.px-weg-c ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.px-weg-c li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; line-height: 1.45; }
.px-weg-c li .px-i { color: var(--blue); margin-top: 3px; }
.px-weg-c.on li .px-i { color: #8C9BFF; }
.px-weg-c .btn { align-self: flex-start; }
.px-weg-here { align-self: flex-start; font-size: 14px; color: #A9ADB9; }
.px-weg-more { text-align: center; margin: 22px 0 0; color: var(--muted); }
.sec-head h2 { hyphens: manual; -webkit-hyphens: manual; }

/* ======================================================================================================
   v2 (class .px-v2, attribute data-px-readable): calmer, more readable showcase for /ki-workspace/ and
   /firmen-ki-chat/. Everything below is scoped, so the case study (which does not use .px-v2) is unchanged.
   ====================================================================================================== */
.nw { white-space: nowrap; }
.px-v2 { --px-mute: #76777E; --px-mute-t: #66676E; --px-mute-d: #82838A; --px-nav-off: #66676E; --tx-3: #6B6C73; }
.px-v2 .px-card h4 .px-mute { color: var(--px-mute-t); }
.px-v2 .px-meta, .px-v2.px-hero .px-meta { color: var(--muted); }

/* Hero composition, caption and replay */
.px-hero.px-v2 h1 { margin-top: 24px; max-width: 26ch; animation-delay: .08s; animation-duration: .8s; }
.px-hero.px-v2 h1 .px-mute { display: block; }
.px-hero.px-v2 .px-hero-stage::after { display: none; }
.px-hero.px-v2 .px-hero-stage .px-fit { overflow: visible; }
.px-v2 .px-lead, .px-dark.px-v2 *, .px-weg.px-v2 * { hyphens: manual; -webkit-hyphens: manual; }
.px-v2 .px-win *, .px-v2 .px-sheet *, .px-hero.px-v2 .keyfacts li { hyphens: manual; -webkit-hyphens: manual; }
.px-hero.px-v2 .px-lead { margin-top: 24px; animation-delay: .18s; }
.px-hero.px-v2 .px-ctas { margin-top: 36px; animation-delay: .28s; animation-duration: .8s; }
.px-hero.px-v2 .px-meta { animation-delay: .3s; margin-top: 10px; }
.px-hero.px-v2 .px-hero-stage { margin-top: clamp(48px,5vw,72px); animation-delay: .35s; animation-duration: .9s; }
.px-ctanote { margin: 14px 0 0; font-size: 14px; color: var(--muted); animation: h2a-rise .8s var(--ease) .3s both; }
.px-capline { position: relative; max-width: 66ch; margin: 14px auto 0; padding: 0 20px; text-align: center; }
.px-caption { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.px-replay { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 12px; border-radius: 10px; }
.px-replay:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
html:not(.px-js) .px-replay { display: none; }
.px-hero.px-v2 .px-hero-after { padding-top: 0; }
.px-hero.px-v2 .keyfacts { max-width: 1040px; margin-top: clamp(28px,3vw,40px); padding: 6px; border-radius: 22px; background: transparent; box-shadow: none; border: 1px solid var(--line); }
.px-hero.px-v2 .keyfacts h2 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.px-hero.px-v2 .keyfacts ul { list-style: none; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); padding: 0; }
.px-hero.px-v2 .keyfacts li { padding: 14px 18px 14px 44px; font-size: 15px; line-height: 1.45; color: var(--text); }
.px-hero.px-v2 .keyfacts li::before { left: 18px; top: 14px; }
@media (min-width: 900px) { .px-hero.px-v2 .keyfacts li + li { border-left: 1px solid var(--line); } }

/* Chapters: wider panels, calmer rhythm */
.px-v2 .px-n { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; letter-spacing: .02em; opacity: .75; }
.px-v2 .px-ch-tag { display: none; }
.px-v2 .px-ch { padding: clamp(56px,8vw,112px) 0; }
.px-v2 .px-ch:first-child { padding-top: clamp(40px,5vw,72px); }
.px-v2 .px-state { font-size: clamp(22px,2.1vw,30px); max-width: 44ch; margin-bottom: clamp(24px,3vw,36px); }
.px-v2 .px-cards { margin-top: 24px; }
.px-v2 .px-panel { padding: clamp(16px,2vw,28px); }
.px-v2 .px-panel::before { background-image: linear-gradient(rgba(11,12,20,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,12,20,.035) 1px, transparent 1px); }
.px-v2 .px-card h4 { font-size: 17px; }
.px-note { max-width: 62ch; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 1080px) {
  .px-v2.px-chapters { grid-template-columns: 200px minmax(0,1fr); gap: 0 40px; }
  .px-v2 .px-nav a { gap: 10px; font-size: 15.5px; }
}
/* Mobile chapter navigation: a sticky strip of numbered chips */
@media (max-width: 1079px) {
  .px-v2 .px-nav { display: block; position: sticky; top: calc(var(--px-sticky, 74px) - 1px); z-index: 4; background: var(--bg); overflow-x: auto; scroll-snap-type: x proximity; border-bottom: 1px solid var(--line); margin: 0 -20px; scrollbar-width: none; }
  .px-v2 .px-nav::-webkit-scrollbar { display: none; }
  .px-v2 .px-nav ol { display: flex; gap: 8px; padding: 8px 20px; margin: 0; list-style: none; width: max-content; }
  .px-v2 .px-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 550; white-space: nowrap; scroll-snap-align: start; text-decoration: none; color: var(--px-nav-off); box-shadow: inset 0 0 0 1px var(--line); }
  .px-v2 .px-nav a.on { background: var(--ink); color: #FFFFFF; box-shadow: none; }
  .px-v2 .px-bar-p { display: none; }
}
@media (max-width: 640px) { .px-v2 .px-nav { margin: 0 -16px; } .px-v2 .px-nav ol { padding: 8px 16px; } }

/* Slim sidebars in chapter panels, readable text */
.px-app.slim { grid-template-columns: 184px 1fr; }
.px-app.rail.slim { grid-template-columns: 44px 176px 1fr; }
.px-app.slim .px-side-foot, .px-app.slim .px-side-h, .px-app.slim .px-org .px-i { display: none; }
.px-side-brand { margin-top: auto; padding: 10px 8px 2px; border-top: 1px solid var(--hair); font-size: 11.5px; color: var(--tx-3); }
.px-fit[data-px-readable] .px-lbl, .px-fit[data-px-readable] .px-tbl th, .px-fit[data-px-readable] .px-kpi small,
.px-fit[data-px-readable] .px-tbl .nm small, .px-fit[data-px-readable] .px-side-foot small, .px-fit[data-px-readable] .px-nav-i kbd,
.px-fit[data-px-readable] .px-src, .px-fit[data-px-readable] .px-side-brand { font-size: 12.5px; }
.px-fit[data-px-readable] .px-pill { font-size: 12.5px; }
.px-fit[data-px-readable] .px-side-h { font-size: 12px; }
.px-fit[data-px-readable] .px-cite, .px-fit[data-px-readable] .px-src .n { font-size: 11px; }
.px-fit[data-px-readable] .px-chipx { font-size: 12.5px; }
.px-fit[data-px-readable] .px-win, .px-fit[data-px-readable] .px-sheet { font-size: 13.5px; }
.px-fit[data-px-readable].crop { -webkit-mask-image: none; mask-image: none; }

/* Flow diagram: horizontal on desktop, vertical on compact */
.px-fit .px-c-only { display: none; }
.px-fit.compact .px-c-only { display: block; }
.px-fit.compact .px-c-hide { display: none; }
.px-vflow { position: relative; display: grid; gap: 10px; padding: 16px 16px 16px 34px; }
.px-vflow::before { content: ""; position: absolute; left: 25px; top: 38px; bottom: 38px; border-left: 2px dashed #C0C1C8; }
.px-vflow .px-vn { position: relative; padding: 11px 13px; display: grid; gap: 4px; }
.px-vflow .px-vn::before { content: ""; position: absolute; left: -15px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--ui); box-shadow: 0 0 0 2px #C0C1C8; }

/* Cards: Passt, wenn / Nicht dabei */
.px-weg-fit { font-weight: 600; margin: 0; font-size: 16.5px; line-height: 1.45; }
.px-weg-not { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.px-weg-c.on .px-weg-not { color: #A9ADB9; }

/* CTA row */
.px-cta-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(8px,2vw,24px); }
.px-cta-row p { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.px-cta-row .px-cta-go { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.px-cta-row .px-cta-link { font-size: 16px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) { .px-cta-row .btn { width: 100%; justify-content: center; } }

/* Q&A cards (dark band) */
.px-qa { display: grid; gap: 12px; margin-top: clamp(28px,4vw,44px); }
@media (min-width: 900px) { .px-qa { grid-template-columns: repeat(3,1fr); } }
.px-qa > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; }
.px-qa h3 { font-size: 16px; margin: 0 0 8px; letter-spacing: -.01em; }
.px-qa p { color: #A9ADB9; font-size: 15px; line-height: 1.5; margin: 0; }
.px-dark.px-v2 .px-flow.px-below { margin-top: 16px; }

/* Calm dark band: opacity and a short rise only, no blur, no rotation, no clip */
.px-dark.px-v2 p.lead { color: #A9ADB9; }
.px-js .px-dark.px-v2[data-px-anim] h2 { clip-path: none; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s; }
.px-js .px-dark.px-v2[data-px-anim].px-on h2 { clip-path: none; opacity: 1; transform: none; }
.px-js .px-dark.px-v2[data-px-anim] h2 .px-mute { opacity: 0; transition: opacity .6s var(--ease) .3s; }
.px-js .px-dark.px-v2[data-px-anim].px-on h2 .px-mute { opacity: 1; }
.px-js .px-dark.px-v2[data-px-anim] .px-lockup .a { transform: none; transition: opacity .6s var(--ease) .1s; }
.px-js .px-dark.px-v2[data-px-anim] .px-lockup .x { transform: none; transition: opacity .6s var(--ease) .25s; }
.px-js .px-dark.px-v2[data-px-anim] .px-lockup .b { transform: none; transition: opacity .6s var(--ease) .4s; }
.px-js .px-dark.px-v2[data-px-anim] p.lead { transform: translateY(14px); transition: opacity .6s var(--ease) .3s, transform .6s var(--ease) .3s; }
.px-js .px-dark.px-v2[data-px-anim].px-on p.lead { transform: none; }
.px-js .px-dark.px-v2[data-px-anim] .px-node, .px-js .px-dark.px-v2[data-px-anim].px-on .px-node {
  filter: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: translateY(14px);
  transition: opacity .6s var(--ease) calc(.3s + var(--i, 0) * .12s), transform .6s var(--ease) calc(.3s + var(--i, 0) * .12s), border-color .4s, background .4s; }
.px-js .px-dark.px-v2[data-px-anim].px-on .px-node { transform: none; }
.px-js .px-dark.px-v2[data-px-anim] .px-link { transition: transform .6s var(--ease); transition-delay: calc(.5s + var(--i, 0) * .12s); }
.px-js .px-dark.px-v2[data-px-anim] .px-qa > div, .px-js .px-dark.px-v2[data-px-anim] .px-ops > div { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.5s + var(--i, 0) * .12s); }
.px-js .px-dark.px-v2[data-px-anim].px-on .px-qa > div, .px-js .px-dark.px-v2[data-px-anim].px-on .px-ops > div { opacity: 1; transform: none; }
/* Endless animations run a few times, once the section is in view, then rest (WCAG 2.2.2) */
.px-js .px-dark.px-v2[data-px-anim] .px-node.hot { animation: none; }
.px-js .px-dark.px-v2[data-px-anim].px-on .px-node.hot { animation: px-hot 3.6s ease-in-out 1.2s 3; }
.px-dark.px-v2 .px-link { animation-iteration-count: 3; }
.px-js .px-dark.px-v2[data-px-anim] .px-link { animation-play-state: paused; }
.px-js .px-dark.px-v2[data-px-anim].px-on .px-link { animation-play-state: running; }
.px-v2 .px-float, .px-v2 .px-pulse::after { animation-iteration-count: 3; }
.px-v2 .px-spin { animation-iteration-count: 4; }
.px-js .px-v2 [data-px-anim]:not(.px-on) .px-float, .px-js .px-v2 [data-px-anim]:not(.px-on) .px-pulse::after, .px-js .px-v2 [data-px-anim]:not(.px-on) .px-spin { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .px-weg *, .px-cta-row *, .px-replay { animation: none !important; transition: none !important; }
  .px-replay { display: none; }
  .px-ctanote { animation: none; }
}
@media (max-width: 640px) {
  .px-hero.px-v2 h1 { font-size: clamp(34px,10vw,44px); }
  .px-hero.px-v2 .px-ctas .btn { min-height: 52px; padding-top: 0; padding-bottom: 0; }
  /* Full-width pill: text centred, arrow pinned to the right edge, same 52px height as the button below */
  .px-hero.px-v2 .px-ctas .btn-pill { position: relative; justify-content: center; min-height: 52px; padding: 8px 52px 8px 20px;
    font-size: clamp(14px, 4.3vw, 16.5px); white-space: normal; line-height: 1.2; text-align: center; }
  .px-hero.px-v2 .px-ctas .btn-pill .dot { position: absolute; right: 8px; top: 8px; }
  .px-hero.px-v2 .keyfacts li { padding: 12px 14px 12px 40px; }
  .px-hero.px-v2 .keyfacts li::before { left: 14px; top: 12px; }
}

.px-colb { min-height: 150px; }
.px-v2 .px-fit.compact .px-opt { display: none !important; }
.px-v2 .px-fit.compact .px-colb { min-height: 0; }

@media (min-width: 760px) and (max-width: 979px) { .px-v2 .px-cards { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .px-v2 .px-panel { padding: 8px; border-radius: 16px; }
  .px-v2 .px-card { padding: 16px; }
  .px-v2 .px-card-vis { padding: 8px; min-height: 0; }
  .px-v2 .px-card-vis > .px-fit { margin: 8px 0; }
}

/* Avatar stacks: overlap a little less so the initials stay readable */
.px-v2 .px-stack .px-av + .px-av { margin-left: -4px; }
.px-note, .px-caption, .px-cta-row p { hyphens: manual; -webkit-hyphens: manual; }

/* Hero scroll tilt (opt-in via data-px-tilt): the drawing lies back in 3D and stands up while the page scrolls.
   product.js writes --px-rx and --px-s; without JavaScript or with reduced motion the drawing simply stands flat. */
.px-hero-stage[data-px-tilt] { perspective: 1100px; }
.px-tilt-card { transform: rotateX(var(--px-rx, 0deg)) scale(var(--px-s, 1)); transform-origin: 50% 20%; will-change: transform; }
.px-tilt-card > .px-fit { border-radius: 16px; box-shadow: 0 9px 20px rgba(11,12,20,.08), 0 37px 37px rgba(11,12,20,.06), 0 84px 50px rgba(11,12,20,.04); }
@media (prefers-reduced-motion: reduce) { .px-tilt-card { transform: none !important; } }

/* Provider logos: model tiles in the drawn UI and logo lines above the hero key facts. */
.px-mlogo { width: var(--s, 22px); height: var(--s, 22px); border-radius: calc(var(--s, 22px) * .26); flex: none; display: inline-block; vertical-align: -.22em; object-fit: contain; }
.px-mlogo.lt { background: #fff; padding: calc(var(--s, 22px) * .14); box-shadow: inset 0 0 0 1px rgba(11,12,20,.12); }
.px-mlogos { display: inline-flex; gap: 6px; align-items: center; }
.px-hero.px-v2 .keyfacts li:has(.px-kf-h) { padding-left: 18px; }
.px-hero.px-v2 .keyfacts li:has(.px-kf-h)::before { content: none; }
.px-kf-h { display: flex; align-items: center; height: 32px; margin-bottom: 10px; }
.px-kf-h img[alt="RelationFlow"] { height: 18px; width: auto; }
.px-wm { font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: var(--ink, var(--text)); line-height: 1; }
.px-wm span { color: var(--blue); }
@media (max-width: 760px) { .px-hero.px-v2 .keyfacts li:has(.px-kf-h) { padding-left: 14px; } }
/* Key fact head as text, same height as the wordmarks next to it. */
.px-kf-t { font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--text); }

/* Logo cloud: monochrome logos with names, a slow marquee with faded edges. */
.px-lc { max-width: 1040px; margin: clamp(40px,4.5vw,64px) auto clamp(56px,7vw,104px); padding: 0 20px; text-align: center; }
.px-lc-l { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.px-lc-mask { position: relative; overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.px-lc-track { display: flex; width: max-content; align-items: center; animation: px-lc-marquee 38s linear infinite; }
.px-lc-mask:hover .px-lc-track { animation-play-state: paused; }
.px-lc-i { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 6px 32px; color: var(--muted); transition: color .2s ease; }
.px-lc-i:hover { color: var(--text); }
.px-lc-i span { font-size: 19px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
@keyframes px-lc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) { .px-lc-i { padding: 6px 22px; } .px-lc-i span { font-size: 17px; } .px-micon { width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .px-lc-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .px-lc-i[aria-hidden] { display: none; }
  .px-lc-mask { -webkit-mask-image: none; mask-image: none; }
}
