/* Startseite: Bühne mit sieben Fällen (scripts/start_buehne.py). Präfix st-. Kompaktes Hörbeispiel: .vd-k. */

.st { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--hair);
  background:
    radial-gradient(900px 420px at 50% 56%, rgba(79,70,229,.07), transparent 70%),
    linear-gradient(180deg, #F7F6F2 0%, #F1EFE9 100%);
  padding: 22px 40px 0; box-shadow: 0 40px 90px -60px rgba(20,22,27,.45); text-align: left;
  --k-ink: #131722; --k-ink7: #3d4659; --k-ink5: #687184; --k-ink4: #9aa1ae; --k-hair: #e6e8ee; --k-blue: #4f46e5; }
.st-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto; padding: 5px; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,.6); border: 1px solid var(--hair); border-radius: 999px; }
.st-tab { flex: 0 0 auto; padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s; }
.st-tab:hover { color: var(--ink); }
.st-tab.on { background: #fff; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(20,22,27,.35); }
.st-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-pick { display: none; }
.st-stage { height: 580px; }
.st-sz { display: none; height: 100%; min-width: 0; }
.st-sz.on { display: grid; place-items: center; animation: stIn .4s var(--ease) both; }
@keyframes stIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st-g { display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; }
.st-i { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.st-ok { stroke-width: 3; width: 12px; height: 12px; }
.st .k-badge { padding: 3px 9px; font-size: 12px; background: #f0f3f9; color: var(--k-ink5); }
.st .k-badge.ok { background: #e6f4ec; color: #1a9b59; }
.st .k-badge.go { background: #eef0fb; color: #4f46e5; }
.st .k-badge.warn { background: #fff7ed; color: #b5740f; }
.st .k-badge.rot { background: #fef2f2; color: #b91c1c; }
.st .k-btn { padding: 8px 13px; font-size: 13px; box-shadow: 0 1px 2px rgba(19,23,34,.12); }
.st-win { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 30px 60px -30px rgba(19,23,34,.35); overflow: hidden; text-align: left; font-size: 14px; color: var(--k-ink); }
.st-ch { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #eef0f4; color: var(--k-ink5); flex: 0 0 auto; }
.st-ch .st-i { width: 13px; height: 13px; }
.st-ch.wa { background: #e3f6ea; color: #128c4b; }
.st-ch.tel { background: #eef0fb; color: #4f46e5; }
.st-ch.mail { background: #fdf0e1; color: #b5740f; }
.st-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eef0fb; color: #4f46e5; font-weight: 600; font-size: 15px; flex: 0 0 auto; }
.st-chip-t { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.3; }
.st-chip-t b { font-size: 15px; font-weight: 600; color: var(--k-ink); white-space: nowrap; }
.st-chip-t small { font-size: 12.5px; color: var(--k-ink5); white-space: nowrap; }
.st-laeuft { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--k-ink5); white-space: nowrap; }
.st-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #d8dbe6; border-top-color: #4f46e5; animation: stSpin .8s linear infinite; }
@keyframes stSpin { to { transform: rotate(360deg); } }
.st .k-swap { justify-items: start; }
.st .st-chip > .k-swap, .st .st-doc-h > .k-swap, .st .st-post-st { justify-items: end; }
.st-m { display: none; }

/* ---------- 1 Nachrichten */
.st-post { display: grid; grid-template-columns: 272px 1fr; width: 100%; max-width: 880px; height: 480px; }
.st-post-l { display: flex; flex-direction: column; border-right: 1px solid var(--k-hair); background: #f9fafb; min-width: 0; }
.st-post-lh { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px; }
.st-post-lh b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.st-post-lh span { display: flex; gap: 8px; font-size: 12px; }
.st-pz { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 11px 16px; border-top: 1px solid #eef0f4; }
.st-pz.on { background: #fff; box-shadow: inset 3px 0 0 #4f46e5; }
.st-pz-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-pz-t b { font-size: 13.5px; font-weight: 600; }
.st-pz-t > span { font-size: 12.5px; color: var(--k-ink5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pz-t .k-swap { display: grid; min-width: 0; }
.st-pz-t .k-sw { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.st-pz:not(.on) b { font-weight: 500; color: var(--k-ink7); }
.st-pz time { align-self: start; font-size: 11.5px; color: var(--k-ink4); font-variant-numeric: tabular-nums; }
.st-post-r { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.st-post-rh { display: flex; align-items: center; gap: 11px; padding: 12px 18px; border-bottom: 1px solid var(--k-hair); }
.st-post-n { display: flex; flex-direction: column; margin-right: auto; line-height: 1.3; }
.st-post-n b { font-size: 15px; font-weight: 600; }
.st-post-n small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--k-ink5); }
.st-post-n .st-ch { width: 16px; height: 16px; border-radius: 4px; }
.st-post-n .st-ch .st-i { width: 10px; height: 10px; }
.st-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px 18px 18px; background: #f9fafb; overflow: hidden; }
.st-b { align-self: flex-start; max-width: 78%; padding: 9px 13px; border-radius: 16px; border-bottom-left-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 1px 2px rgba(19,23,34,.05); font-size: 14px; line-height: 1.45; color: var(--k-ink); }
.st-b.aus { align-self: flex-end; border-radius: 16px; border-bottom-right-radius: 5px; background: #4f46e5; box-shadow: none; color: #fff; }
.k-flow .st-b[data-at] { display: none; }
.k-flow .st-b[data-at].on { display: block; animation: kwIn .32s var(--ease) both; }
.st-bf { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; color: var(--k-ink4); }
.st-b.aus .st-bf { justify-content: flex-end; color: rgba(255,255,255,.75); }
.st-bf .st-i { width: 12px; height: 12px; }
.st-pdf { display: flex; align-items: center; gap: 10px; margin: -2px -5px 8px; padding: 8px 12px 8px 9px; border-radius: 11px; background: rgba(255,255,255,.16); }
.st-pdf > b { display: grid; place-items: center; width: 30px; height: 36px; border-radius: 5px; background: #fff; color: #e5484d; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; flex: 0 0 auto; }
.st-pdf strong { display: block; font-size: 13.5px; font-weight: 600; }
.st-pdf small { display: block; font-size: 11.5px; opacity: .78; }
.k-flow .st-typ[data-at].on { display: flex; gap: 4px; padding: 13px 14px; }
.st-typ i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.85); animation: kwDot 1s infinite; }
.st-typ i:nth-child(2) { animation-delay: .15s; } .st-typ i:nth-child(3) { animation-delay: .3s; }

/* ---------- Handy mit Karte daneben (Recall, Anamnese, Ausfallrechnung) */
.st-duo { display: flex; align-items: center; justify-content: center; gap: 32px; width: 100%; height: 100%; }
.st-duo .kp { width: 266px; }
.st-chip { display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 24px 44px -24px rgba(19,23,34,.35); }

/* ---------- 3 Recall */
.st-recall .st-chip { width: 290px; margin-bottom: 250px; }
.st-recall .kw-chat { justify-content: flex-start; gap: 10px; padding: 12px 9px; }
.st-recall .kw-m { max-width: 92%; font-size: 14px; }
.st-recall .kw-btn { padding: 10px 8px; font-size: 14px; }
.st-tag { align-self: center; padding: 3px 10px; border-radius: 8px; background: rgba(255,255,255,.92); box-shadow: 0 1px .5px rgba(11,20,26,.13); font-size: 11.5px; color: #54656F; }
.st-bk { position: absolute; inset: -46px 0 0; z-index: 4; display: grid; grid-template-rows: auto 1fr; padding-top: 46px; background: #fff; transform: translateY(100%); pointer-events: none; color: #131722; }
.k-flow .st-bk[data-at] { opacity: 1; transition: transform .42s cubic-bezier(.2,.8,.2,1); }
.st-bk.on { transform: none; }
.st-bk-bar { display: flex; align-items: center; gap: 8px; margin: 4px 12px 0; padding: 7px 12px; border-radius: 10px; background: #EFEFF0; font-size: 12px; color: #3C3C43; }
.st-bk-bar i { width: 9px; height: 11px; border-radius: 2px; border: 1.6px solid #6E6E73; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.st-bk-a { grid-area: 2 / 1; display: flex; flex-direction: column; padding: 20px 14px 0; }
.st-bk-a > b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.st-bk-a > small { margin-top: 2px; font-size: 13px; color: #687184; }
.st-bk-tage { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 6px; margin-top: 16px; }
.st-bk-tage span { display: grid; place-items: center; height: 34px; border-radius: 9px; background: #f3f4f8; font-size: 13px; font-weight: 600; color: #687184; }
.st-bk-tage span.on { background: #eef0fb; color: #4f46e5; }
.st-bk-zeiten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.st-bk-zeiten > span { position: relative; display: grid; place-items: center; height: 38px; border-radius: 9px; box-shadow: inset 0 0 0 1px #dfe1e7; font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.st-bk-zeiten i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 9px; background: #4f46e5; color: #fff; font-style: normal; font-weight: 600; }
.st-bk-btn { position: relative; display: grid; place-items: center; height: 44px; margin-top: 18px; border-radius: 12px; background: #4f46e5; color: #fff; font-size: 14.5px; font-weight: 600; }
.st-bk-ok { align-items: center; justify-content: center; padding-bottom: 70px; text-align: center; background: #fff; }
.st-bk-ok .k-ok { width: 54px; height: 54px; stroke: #1a9b59; }
.st-bk-ok > b { margin: 12px 0 4px; font-size: 21px; }
.st-bk-ok > span { font-size: 14px; line-height: 1.45; color: #687184; }
.st-termin { display: flex; align-items: center; gap: 14px; width: 250px; margin-top: 230px; padding: 14px 18px 14px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(19,23,34,.06), 0 28px 50px -18px rgba(19,23,34,.38), 0 8px 16px -10px rgba(19,23,34,.2); }
.k-flow .st-termin[data-at] { transform: translateY(14px) scale(.94); transition: opacity .4s var(--ease), transform .55s cubic-bezier(.2,1.2,.3,1); }
.k-flow .st-termin[data-at].on { transform: none; }
.st-blatt { display: flex; flex-direction: column; align-items: center; width: 54px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e6e8ee; overflow: hidden; flex: 0 0 auto; }
.st-blatt small { width: 100%; padding: 3px 0; background: #e5484d; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.st-blatt b { padding: 3px 0 5px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: #131722; }
.st-termin-t { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.st-termin-t > b { font-size: 16px; font-weight: 600; color: #131722; }
.st-termin-t > span { font-size: 13.5px; color: #687184; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-termin-t .k-grau { margin-top: 5px; font-size: 12px; }

/* ---------- Anruf-Karte (Terminplanung, Umplanen) */
.st-call { width: 310px; flex: 0 0 auto; padding: 14px 14px 16px; border-radius: 24px; background: linear-gradient(170deg, #3B4458, #1B1E27 55%, #101216); color: #fff; box-shadow: 0 30px 50px -24px rgba(19,23,34,.55); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.st-call-h { display: flex; align-items: center; gap: 11px; margin-bottom: 4px; }
.st-call-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(160deg, #A7ADBA, #6B7180); font-size: 17px; font-weight: 600; flex: 0 0 auto; }
.st-call-n { display: flex; flex-direction: column; margin-right: auto; line-height: 1.3; min-width: 0; }
.st-call-n b { font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.st-call-st { font-size: 12.5px; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-call-w { display: flex; align-items: center; gap: 3px; height: 20px; }
.st-call-w i { width: 3px; height: calc(var(--h) * 1px); border-radius: 2px; background: #8B93FF; animation: kcWave 1s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -70ms); }
.st .st-l { width: fit-content; max-width: 90%; margin: 8px 0 0; padding: 8px 11px; border-radius: 13px; background: rgba(255,255,255,.14); font-size: 13px; line-height: 1.38; color: #fff; }
.st .st-l.me { margin-left: auto; background: rgba(139,147,255,.4); }
.k-flow .st-l[data-at] { transform: translateY(8px); }
.k-flow .st-l[data-at].on { transform: none; }

/* ---------- 4 Terminplanung */
.st-tp { display: flex; align-items: center; justify-content: center; gap: 32px; width: 100%; }
.st-plan { width: 540px; flex: 0 1 auto; min-width: 0; padding: 0 16px 14px; }
.st-plan-h { display: flex; align-items: center; gap: 10px; height: 54px; }
.st-plan-h b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.st-plan-h > span { font-size: 13.5px; color: var(--k-ink5); }
.st .st-plan-h .st-plan-st { margin-left: auto; justify-items: end; }
.st-plan-k, .st-plan-g { display: grid; grid-template-columns: 46px repeat(3, 1fr); column-gap: 6px; }
.st-plan-k { padding: 8px 0; border-top: 1px solid var(--k-hair); border-bottom: 1px solid var(--k-hair); font-size: 12.5px; font-weight: 600; color: var(--k-ink7); }
.st-plan-g { grid-template-rows: repeat(5, 58px); background-image: repeating-linear-gradient(180deg, transparent 0 57px, #eef0f4 57px 58px); }
.st-plan-g time { grid-column: 1; padding-top: 5px; font-size: 11.5px; color: var(--k-ink4); font-variant-numeric: tabular-nums; }
.st-ev { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 3px 0 4px; padding: 8px 9px; border-radius: 8px; background: #f3f4f8; box-shadow: inset 3px 0 0 #c9cddb; overflow: hidden; font-size: 11px; }
.st-ev.a { background: #eef0fb; box-shadow: inset 3px 0 0 #a5b4fc; }
.st-ev.b { background: #e9f5ee; box-shadow: inset 3px 0 0 #86cfa3; }
.st-ev.c { background: #fdf3e4; box-shadow: inset 3px 0 0 #f0c586; }
.st-ev .k-grau { background: rgba(19,23,34,.1); }
.st-ev b { font-size: 13px; font-weight: 600; line-height: 1.15; }
.st-ev small { font-size: 11.5px; line-height: 1.15; }
.st-ev.neu { gap: 3px; justify-content: center; background: #4f46e5; color: #fff; box-shadow: 0 10px 22px -8px rgba(79,70,229,.7), 0 0 0 3px rgba(79,70,229,.18); white-space: nowrap; }
.st-ev.neu small { opacity: .85; }
.k-flow .st-ev.neu[data-at] { transform: scale(.86); transition: opacity .3s var(--ease), transform .5s cubic-bezier(.2,1.4,.3,1); }
.k-flow .st-ev.neu[data-at].on { transform: none; }
.st-frei { margin: 3px 0 4px; border-radius: 8px; border: 1.5px dashed #4f46e5; background: rgba(79,70,229,.06); animation: stPuls 1s ease-in-out infinite alternate; }
@keyframes stPuls { to { background: rgba(79,70,229,.16); } }

/* ---------- 5 Anamnese */
.st-fb { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; margin-top: -46px; padding: 54px 12px 24px; background: #f6f7f9; color: #131722; text-align: left; font-family: var(--sans, inherit); }
.st-fb-h { display: flex; flex-direction: column; gap: 1px; padding: 0 2px; }
.st-fb-h small { font-size: 11.5px; color: #687184; }
.st-fb-h b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.st-fb-p { display: block; height: 4px; margin-top: 7px; border-radius: 2px; background: #e3e5ec; overflow: hidden; }
.k-flow .st-fb-p i[data-at] { display: block; height: 100%; width: 60%; border-radius: 2px; background: #4f46e5; opacity: 1; transition: width .6s var(--ease); }
.k-flow .st-fb-p i[data-at].on { width: 100%; }
.st-fb-q, .st-fb-s { display: flex; flex-direction: column; gap: 7px; padding: 10px 11px 11px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px #e6e8ee; }
.st-fb label { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.st-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.st-yn > span { position: relative; display: grid; place-items: center; height: 34px; border-radius: 9px; box-shadow: inset 0 0 0 1px #dfe1e7; font-size: 13.5px; font-weight: 500; }
.st-yn i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 9px; background: #4f46e5; color: #fff; font-style: normal; font-weight: 600; }
.st-fb-in { display: flex; align-items: center; height: 34px; padding: 0 11px; border-radius: 9px; box-shadow: inset 0 0 0 1px #dfe1e7; font-size: 13.5px; }
.k-flow .st-fb-in span[data-at] { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 1; transition: max-width .9s steps(10); }
.k-flow .st-fb-in span[data-at].on { max-width: 6em; }
.st-fb-pad { position: relative; display: block; height: 52px; border-radius: 9px; border: 1.5px dashed #cfd3dd; }
.st-fb-pad em { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11.5px; font-style: normal; color: #9aa1ae; }
.st-fb-pad svg { position: absolute; inset: 5px 14px; width: calc(100% - 28px); height: calc(100% - 10px); }
.st-fb-pad path, .st-doc-u path { fill: none; stroke: #1e1b4b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.k-flow .st-fb-pad svg[data-at], .k-flow .st-doc-u svg[data-at] { opacity: 1; }
.st-fb-pad svg.on path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.1s cubic-bezier(.4,.1,.5,1); }
.st-doc-u svg.on path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease-out; }
.st-fb-btn { position: relative; display: grid; place-items: center; height: 44px; margin-top: auto; border-radius: 12px; background: #4f46e5; color: #fff; font-size: 14.5px; font-weight: 600; flex: 0 0 auto; }
.st-fb-ok { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px 40px; background: #fff; text-align: center; }
.st-fb-ok .k-ok { width: 56px; height: 56px; stroke: #1a9b59; }
.st-fb-ok b { margin: 12px 0 4px; font-size: 22px; font-weight: 600; }
.st-fb-ok span { font-size: 13.5px; line-height: 1.45; color: #687184; }
.st-doc { width: 350px; flex: 0 1 auto; min-width: 0; padding: 16px 18px 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 30px 60px -30px rgba(19,23,34,.35); }
.st-doc-h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.st-doc-z { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; border-top: 1px solid #f0f2f6; font-size: 13.5px; color: var(--k-ink7); }
.st-doc-z i { font-style: normal; font-weight: 600; color: var(--k-ink); }
.st-doc-w i { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 99px; background: #fff7ed; color: #b5740f; font-size: 12.5px; }
.st-doc-w .st-i { width: 13px; height: 13px; }
.st-doc-u { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; border-top: 1px solid #f0f2f6; }
.st-doc-u small { font-size: 13.5px; color: var(--k-ink7); }
.st-doc-u svg { width: 132px; height: 30px; }

/* ---------- 6 Umplanen bei Ausfall */
.st-um { display: flex; align-items: flex-start; justify-content: center; gap: 28px; width: 100%; }
.st-um-win { width: 540px; flex: 0 1 auto; min-width: 0; margin-top: 26px; }
.st-um-h { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.st-um-h .st-av { background: #fef2f2; color: #b91c1c; }
.st .st-um-akt { justify-items: end; }
.st-um-r { display: grid; grid-template-columns: 44px 1fr auto 20px; align-items: center; gap: 12px; min-height: 64px; padding: 0 18px; border-top: 1px solid #f0f2f6; }
.st-um-r time { font-size: 13px; color: var(--k-ink5); font-variant-numeric: tabular-nums; }
.st-um-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-um-n b { font-size: 14.5px; font-weight: 600; }
.st-um-neu { font-size: 13px; color: var(--k-ink5); white-space: nowrap; }
.st-um-neu .k-sw + .k-sw { color: #4f46e5; font-weight: 500; }
.st-um-neu .st-i { width: 13px; height: 13px; }
.st .st-um-st { justify-items: end; font-size: 12.5px; color: var(--k-ink5); white-space: nowrap; }
.st-um-st .st-ch { width: 20px; height: 20px; }
.st-um-ok { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1a9b59; color: #fff; }
.k-flow .st-um-ok[data-at] { transform: scale(.4); transition: opacity .25s, transform .4s cubic-bezier(.2,1.5,.3,1); }
.k-flow .st-um-ok[data-at].on { transform: none; }
.st-um-seite { display: flex; flex-direction: column; gap: 14px; width: 310px; flex: 0 0 auto; height: 400px; }
.st-um .kn { background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 20px 36px -22px rgba(19,23,34,.4); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; align-items: start; }
.st-um .kn-t span { display: block; -webkit-line-clamp: unset; }
.st-nur-m { display: none; }

/* ---------- 7 Ausfallrechnung */
.st-ar-win { width: 600px; flex: 0 1 auto; min-width: 0; }
.st-ar-h { display: flex; align-items: center; gap: 16px; padding: 14px 18px; font-size: 13px; }
.st-ar-h b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.st-ar-r { display: grid; grid-template-columns: 1fr auto auto 142px; align-items: center; gap: 14px; min-height: 68px; padding: 0 18px; border-top: 1px solid #f0f2f6; }
.st-ar-eur { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st .st-ar-akt, .st-ar-r > .k-btn { justify-self: end; justify-items: end; }
.st-ar-alt { opacity: .5; }
.st-ar .kap-sheet { padding: 12px 13px 26px; }
.st-ar .ksp { padding-top: 84px; z-index: 7; }
.st-ar .ksp .kp-status { position: absolute; left: 0; right: 0; top: 0; color: #fff; }
.st-ar .ksp .kp-status b { visibility: hidden; }
.st-ar .ksp-u { font-size: 64px; }
.st-ar .kn { grid-template-columns: 34px 1fr; position: relative; }
.st-ar .kn time { display: none; }
.st-ar .kn-t span { -webkit-line-clamp: 4; }

/* ---------- Kompaktes Hörbeispiel in der Bühne */
.st .vd.vd-k { width: 100%; max-width: 880px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.vd-k .vd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.vd-k .vd-head h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.016em; line-height: 1.2; }
.vd-k .vd-desc { margin: 6px 0 0; min-height: 0; max-width: 640px; font-size: 16px; line-height: 1.5; }
.vd-k .vd-wahl { flex: 0 0 auto; }
.vd-k .vd-tabs { margin: 0; padding: 4px; gap: 2px; }
.vd-k .vd-tab { padding: 8px 14px; font-size: 13.5px; }
.vd-k .vd-stage { height: 250px; margin: 10px -40px 0; }
.vd-k .vd-sub { margin-top: 0; font-size: 20px; }

/* ---------- Vier Spalten: gleich hohe Texte */
.st-points h3 { white-space: nowrap; }

@media (max-width: 1100px) {
  .st-tabs { border-radius: 24px; }
  .st-recall .st-chip { width: 250px; }
  .st-termin { width: 236px; }
  .st-plan, .st-um-win, .st-ar-win { flex: 1 1 0; width: auto; }
  .st-plan, .st-um-win { max-width: 540px; }
  .st-ar-win { max-width: 600px; }
  .st-chip-t small { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 980px) {
  .st { padding: 20px 24px 0; }
  .st-post { grid-template-columns: 220px 1fr; }
  .st-post-lh span { display: none; }
  .st-recall .st-chip { display: none; }
  .st-call { width: 270px; }
  .st-um-seite { width: 270px; }
  .st-ar-r { grid-template-columns: 1fr auto 142px; }
  .st-ar-r > .k-badge { display: none; }
  .vd-k .vd-stage { margin: 10px -24px 0; }
}
@media (max-width: 860px) {
  .st-d { display: none; }
  .st-m { display: inline; }
  .st-um-st > .k-sw { font-size: 0; }
  .st-um-st .k-grau { display: none; }
  .st-ar-r { grid-template-columns: 1fr auto; }
  .st-ar-eur { display: none; }
}
@media (max-width: 720px) {
  .st { padding: 14px 14px 0; border-radius: 22px; }
  .st-tabs { display: none; }
  .st-pick { display: block; position: relative; }
  .st-pick::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
  .st-select { width: 100%; min-height: 52px; padding: 0 44px 0 18px; border-radius: 14px; border: 1px solid var(--hair); background: #fff; color: var(--ink);
    font: inherit; font-size: 16px; font-weight: 600; appearance: none; -webkit-appearance: none; box-shadow: 0 6px 18px -14px rgba(20,22,27,.35); }
  .st-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .st-stage { height: 572px; }
  .st-nur-d { display: none; }
  .st-nur-m { display: block; }
  .st .kp-status { padding: 6px 20px 0 24px; font-size: 13.5px; }
  .st .kp-island { width: 70px; height: 22px; margin-left: -35px; top: 12px; }

  .st-post { grid-template-columns: 1fr; height: 548px; }
  .st-post-l { display: none; }
  .st-post-rh { padding: 11px 14px; }
  .st-thread { padding: 14px 12px 16px; }
  .st-b { max-width: 88%; }

  .st-duo { flex-direction: column; justify-content: center; gap: 12px; }
  .st-duo .kp { width: 242px; }
  .st-chip, .st-recall .st-chip { display: flex; width: 100%; max-width: 330px; margin: 0; padding: 10px 12px 10px 14px; }
  .st-termin { display: none; }
  .st-recall .kw-m { font-size: 13.5px; }
  .st-bk-a { padding: 16px 11px 0; }
  .st-bk-zeiten > span { height: 36px; }

  .st-tp { flex-direction: column; gap: 12px; }
  .st-call { width: 100%; max-width: 340px; padding: 12px 12px 14px; border-radius: 20px; }
  .st-plan { flex: 0 0 auto; width: 100%; max-width: 340px; padding: 0 12px 10px; }
  .st-plan-h { height: 46px; }
  .st-plan-k, .st-plan-g { grid-template-columns: 40px repeat(2, 1fr); }
  .st-plan-k span:last-child, .st-ev3 { display: none; }
  .st-plan-g { grid-template-rows: repeat(5, 40px); background-image: repeating-linear-gradient(180deg, transparent 0 39px, #eef0f4 39px 40px); }
  .st-ev { margin: 2px 0 3px; padding: 5px 8px; gap: 4px; }
  .st-ev small { display: none; }
  .st-ev.neu small { display: block; font-size: 11px; }
  .st-ev.neu b { font-size: 12.5px; }
  .st-ev.neu { gap: 1px; }

  .st-fb { gap: 8px; padding: 52px 10px 20px; }
  .st-fb-h b { font-size: 16.5px; }
  .st-fb-q, .st-fb-s { padding: 8px 9px 9px; gap: 6px; }
  .st-fb label { font-size: 13px; }
  .st-yn > span, .st-fb-in { height: 31px; }
  .st-fb-pad { height: 44px; }
  .st-fb-pad em { font-size: 10.5px; }
  .st-fb-btn { height: 42px; }
  .st-doc { order: -1; width: 100%; max-width: 330px; padding: 10px 12px 10px 14px; }
  .st-doc-h { padding: 0; }
  .st-doc-b { display: none; }

  .st-um { flex-direction: column; align-items: center; gap: 12px; }
  .st-um-win { flex: 0 0 auto; width: 100%; max-width: 340px; margin: 0; }
  .st-um-h { padding: 11px 12px; gap: 10px; }
  .st-um-h .st-av { width: 32px; height: 32px; }
  .st-um-r { grid-template-columns: 38px 1fr auto 20px; gap: 8px; min-height: 52px; padding: 0 12px; }
  .st-um-n b { font-size: 14px; }
  .st-um-neu { font-size: 12.5px; }
  .st-um-seite { display: grid; width: 100%; max-width: 340px; height: auto; }
  .st-um-seite > * { grid-area: 1 / 1; align-self: start; }

  .st-ar-win { flex: 0 0 auto; width: 100%; max-width: 340px; border-radius: 14px; }
  .st-ar-h, .st-ar-alt { display: none; }
  .st-ar-r { grid-template-columns: 1fr auto; gap: 10px; min-height: 0; padding: 10px 12px 10px 14px; border-top: 0; }
  .st-ar-r > .k-badge, .st-ar-eur { display: none; }
  .st-ar .kp { width: 236px; }
  .st-ar .ksp { padding-top: 78px; }
  .st-ar .ksp-u { font-size: 56px; }

  .vd-k .vd-head { flex-direction: column; }
  .vd-k .vd-head h3 { font-size: 20px; }
  .vd-k .vd-desc { font-size: 15.5px; }
  .vd-k .vd-wahl { width: 100%; order: -1; }
  .vd-k .vd-pick { margin: 0; }
  .vd-k .vd-select { min-height: 44px; font-size: 15px; border-radius: 12px; }
  .vd-k .vd-stage { height: 200px; margin: 14px -14px 0; }
  .vd-k .vd-sub { font-size: 17px; }
  .st-points h3 { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .st-sz.on { animation: none; }
  .k-flow .st-bk[data-at], .st-fb-pad svg.on path, .st-doc-u svg.on path { transition: none; }
}

/* Handy: nur das Mockup, ohne Namenszeile darüber; dafür größer und unten mit Rand */
@media (max-width: 720px) {
  .st { padding-bottom: 14px; }
  .st-chip, .st-recall .st-chip, .st-doc, .st-ar-win { display: none; }
  .st-duo .kp, .st-ar .kp { width: 262px; }
}
