/* Baukasten für echte Produktabläufe (scripts/kit.py). Takt: [data-kf] in assets/site.js. */
.k-flow { position: relative; }
.k-flow [data-at] { opacity: 0; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.k-flow [data-at].on { opacity: 1; }
.k-swap { display: inline-grid; }
.k-swap > .k-sw { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transform: translateY(4px); pointer-events: none; }
.k-swap > .k-sw.on { transform: none; }
.k-tap { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(79,70,229,.28); transform: scale(.3); pointer-events: none; }
.k-flow .k-tap.on { transform: scale(1); opacity: 0; transition: transform .6s ease-out, opacity .6s ease-out .1s; }
.k-flow .k-tap { opacity: .9; transition: none; }
.k-flow .k-tap:not(.on) { opacity: 0; }

.k-apple { width: 1em; height: 1em; fill: currentColor; margin-right: .08em; transform: translateY(-.06em); }
.k-applepay { display: inline-flex; align-items: center; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-weight: 500; letter-spacing: -.02em; }
.k-pays { display: flex; flex-wrap: wrap; gap: 8px; }
.k-pays > span { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 76px; padding: 0 14px; border-radius: 9px; font-size: 18px; }
.k-pays .k-applepay { background: #000; color: #fff; }
.k-pays .k-gpay { gap: 5px; background: #fff; border: 1px solid #DADCE0; color: #3C4043; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 500; }
.k-pays .k-gpay svg { width: 18px; height: 18px; }
.k-pays .k-cardpay { background: #fff; border: 1px solid var(--hair); font-size: 15px; font-weight: 600; color: var(--ink); }

.k-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #EFEDE6; color: var(--ink-2); font-size: 12.5px; font-weight: 600; font-style: normal; white-space: nowrap; }
.k-badge.ok { background: var(--green-soft); color: var(--green); }
.k-badge.go { background: var(--accent-soft); color: var(--accent-deep); }
.k-badge.warn { background: #FDEDD8; color: #9A5B0B; }
.k-btn { position: relative; display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.k-btn.hell { background: #fff; color: var(--ink); border: 1px solid var(--hair); }
.k-toggle { display: inline-block; width: 36px; height: 22px; border-radius: 11px; background: #D9D6CC; position: relative; vertical-align: middle; }
.k-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.k-toggle.on { background: #34C759; }
.k-toggle.on::after { left: 16px; }

/* iPhone */
.kp { position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 612; flex: 0 0 auto; padding: 9px; border-radius: 50px; background: #0E0F12; box-shadow: 0 0 0 1.5px #2C2E35 inset, 0 30px 60px -22px rgba(20,22,27,.45), 0 12px 24px -14px rgba(20,22,27,.3); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.kp-screen { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 41px; background: #fff; color: #000; }
.kp-status { position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 6px 26px 0 30px; font-size: 15px; flex: 0 0 auto; }
.kp-status b { font-weight: 600; letter-spacing: -.01em; }
.kp-island { position: absolute; left: 50%; top: 11px; width: 84px; height: 25px; margin-left: -42px; border-radius: 14px; background: #000; }
.kp-sys { display: flex; align-items: center; gap: 5px; }
.kp-sys svg { height: 11px; width: auto; fill: currentColor; }
.kp-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.kp-home { position: absolute; z-index: 7; left: 50%; bottom: 7px; width: 108px; height: 4.5px; margin-left: -54px; border-radius: 3px; background: #000; opacity: .85; }
.kp-side { position: absolute; right: -2.5px; top: 150px; width: 3px; height: 64px; border-radius: 2px; background: #2C2E35; }
.kp-dark .kp-screen { background: #000; color: #fff; }
.kp-dark .kp-home { background: #fff; }

/* WhatsApp */
.kw { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: #EFEAE2; }
.kw-head { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px 6px; background: #F6F6F6; border-bottom: 1px solid #DEDCD6; margin-top: -46px; padding-top: 50px; }
.kw-head > svg { width: 20px; height: 20px; fill: none; stroke: #007AFF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.kw-head > svg:first-child { transform: scaleX(-1); }
.kw-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #DFE5E7; color: #54656F; font-weight: 600; font-size: 14px; flex: 0 0 auto; }
.kw-who { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.2; }
.kw-who b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw-who small { font-size: 11px; color: #667781; }
.kw-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 10px 9px 8px; overflow: hidden; }
.kw-m { position: relative; align-self: flex-start; max-width: 86%; padding: 6px 8px 5px 9px; border-radius: 9px; border-top-left-radius: 2px; background: #fff; box-shadow: 0 1px .5px rgba(11,20,26,.13); font-size: 13.5px; line-height: 1.34; color: #111B21; }
.kw-m.me { align-self: flex-end; background: #D9FDD3; border-radius: 9px; border-top-right-radius: 2px; }
.k-flow .kw-m[data-at] { display: none; }
.k-flow .kw-m[data-at].on { display: block; animation: kwIn .32s var(--ease) both; }
@keyframes kwIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.kw-f { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 -1px; }
.kw-auto { font-size: 10.5px; font-style: normal; color: #8696A0; white-space: nowrap; }
.kw-m .kw-f time { float: none; margin: 0; }
.kw-t { display: inline; }
.kw-m time { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px 0 -2px 10px; font-size: 10.5px; color: #667781; }
.kw-tick { width: 15px; height: 10px; fill: none; stroke: #53BDEB; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kw-btn { position: relative; clear: both; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px -8px -5px -9px; padding: 9px 8px; border-top: 1px solid #E9EDEF; color: #027EB5; font-size: 13.5px; font-weight: 500; }
.kw-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); }
.kw-pdf { display: flex; align-items: center; gap: 9px; margin: -1px -3px 6px -4px; padding: 9px 10px; border-radius: 7px; background: #F5F6F6; }
.kw-pdf > b { display: grid; place-items: center; width: 30px; height: 36px; border-radius: 4px; background: #E5484D; color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; flex: 0 0 auto; }
.kw-pdf strong { display: block; font-size: 13px; font-weight: 500; }
.kw-pdf small { display: block; font-size: 11px; color: #667781; }
.kw-typing { padding: 11px 12px; }
.k-flow .kw-typing[data-at].on { display: flex; gap: 4px; }
.kw-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA6AD; animation: kwDot 1s infinite; }
.kw-typing i:nth-child(2) { animation-delay: .15s; } .kw-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes kwDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.kw-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px 24px; background: #F6F6F6; border-top: 1px solid #DEDCD6; }
.kw-bar i { font-style: normal; font-size: 22px; line-height: 1; color: #007AFF; font-weight: 300; }
.kw-bar span { flex: 1; height: 30px; border-radius: 16px; background: #fff; border: 1px solid #DEDCD6; }
.kw-bar .kw-mic { width: 12px; height: 18px; border-radius: 6px; border: 2px solid #007AFF; }

/* Apple Pay */
.kap { position: absolute; inset: -46px 0 0; z-index: 5; display: flex; align-items: flex-end; background: rgba(0,0,0,.38); pointer-events: none; }
.k-flow .kap { transition: opacity .3s; }
.kap-sheet { width: 100%; padding: 14px 16px 30px; border-radius: 16px 16px 0 0; background: #F2F2F7; color: #000; transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.kap.on .kap-sheet { transform: none; }
.kap-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 22px; }
.kap-x { width: 26px; height: 26px; border-radius: 50%; background: #E3E3E8; position: relative; }
.kap-x::before, .kap-x::after { content: ""; position: absolute; left: 7.5px; top: 12px; width: 11px; height: 1.8px; border-radius: 1px; background: #7C7C82; transform: rotate(45deg); }
.kap-x::after { transform: rotate(-45deg); }
.kap-row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 11px; background: #fff; margin-bottom: 8px; }
.kap-row b { display: block; font-size: 14px; font-weight: 600; }
.kap-row small { display: block; font-size: 11.5px; color: #8A8A8E; }
.kap-card { width: 42px; height: 27px; border-radius: 4.5px; background: linear-gradient(135deg, #1A2A6C, #3F5BD9 60%, #7C9CFF); position: relative; flex: 0 0 auto; }
.kap-card i { position: absolute; left: 5px; top: 8px; width: 8px; height: 6px; border-radius: 1.5px; background: #E7C26B; }
.kap-sum b { font-size: 21px; letter-spacing: -.01em; margin-top: 1px; }
.kap-state { display: grid; height: 74px; margin-top: 6px; }
.kap-s { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: #3C3C43; text-align: center; }
.kap-dbl { width: 26px; height: 26px; border-radius: 7px; border: 2px solid #007AFF; position: relative; animation: kapDbl 1.1s infinite; }
.kap-dbl::after { content: ""; position: absolute; right: -6px; top: 5px; width: 3px; height: 12px; border-radius: 2px; background: #007AFF; }
@keyframes kapDbl { 0%, 100% { transform: none; } 12% { transform: translateX(-3px); } 24% { transform: none; } 36% { transform: translateX(-3px); } 48% { transform: none; } }
.k-faceid { width: 38px; height: 38px; fill: none; stroke: #007AFF; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; animation: kapFace 1s ease-in-out infinite; }
@keyframes kapFace { 50% { transform: scale(.92); opacity: .7; } }
.k-ok { width: 38px; height: 38px; fill: none; stroke: #007AFF; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.kap-s3.on .k-ok path { stroke-dasharray: 34; stroke-dashoffset: 34; animation: kapOk .4s .1s ease-out forwards; }
@keyframes kapOk { to { stroke-dashoffset: 0; } }

/* Anruf */
.kc { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: -46px; padding: 62px 16px 26px; background: linear-gradient(170deg, #3B4458, #1B1E27 55%, #101216); color: #fff; }
.kc-top { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.kc-av { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: linear-gradient(160deg, #A7ADBA, #6B7180); font-size: 22px; font-weight: 600; }
.kc-top b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.kc-st { font-size: 13px; color: rgba(255,255,255,.65); justify-items: center; }
.kc-wave { display: flex; align-items: center; gap: 3px; height: 20px; margin-top: 6px; }
.kc-wave 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); }
@keyframes kcWave { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.kc-talk { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 0 12px; overflow: hidden; }
.kc-l { align-self: flex-start; max-width: 90%; margin: 0; padding: 7px 10px; border-radius: 12px; background: rgba(255,255,255,.14); font-size: 12.5px; line-height: 1.35; color: #fff; }
.kc-l.me { align-self: flex-end; background: rgba(139,147,255,.38); }
.k-flow .kc-l[data-at], .k-flow .kc-done[data-at] { display: none; }
.k-flow .kc-l[data-at].on { display: block; animation: kwIn .32s var(--ease) both; }
.kc-done { align-self: center; align-items: center; gap: 6px; margin: 4px 0 0; padding: 6px 12px; border-radius: 999px; background: #1E7F4F; font-size: 12px; font-weight: 600; color: #fff; }
.k-flow .kc-done[data-at].on { display: flex; animation: kwIn .32s var(--ease) both; }
.kc-done svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.kc-btns { display: flex; justify-content: space-between; padding: 0 6px; }
.kc-btns i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); }
.kc-btns .kc-end { background: #FF3B30; }
.kc-end svg { width: 20px; height: 20px; fill: #fff; stroke: none; transform: rotate(135deg); }

/* Cockpit: Farben und Maße aus der App (walletpass/frontend/tailwind.config.js) */
.kwin { --k-ink: #131722; --k-ink7: #3d4659; --k-ink5: #687184; --k-ink4: #9aa1ae; --k-hair: #e6e8ee;
  display: flex; width: 100%; border-radius: 14px; background: #f9fafb; 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); }
.kwin-nav { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 52px; padding: 16px 0; background: #1e1b4b; flex: 0 0 auto; }
.kwin-nav img { filter: brightness(0) invert(1); margin-bottom: 14px; opacity: .95; }
.kwin-nav i { position: relative; display: grid; place-items: center; width: 100%; height: 34px; color: #c9c8ee; }
.kwin-nav svg { position: relative; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kwin-nav i.on { color: #fff; }
.kwin-nav i.on::before { content: ""; position: absolute; inset: 0 6px; border-radius: 8px; background: rgba(255,255,255,.07); }
.kwin-nav i.on::after { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 0 3px 3px 0; background: #e8b661; }
.kwin-main { flex: 1; min-width: 0; padding: 20px 22px 22px; }
.kwin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.kwin-head b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.kwin-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #eef0f4; }
.kwin-tabs span { padding: 5px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--k-ink5); }
.kwin-tabs span.on { background: #fff; color: var(--k-ink); box-shadow: 0 1px 2px rgba(19,23,34,.1); }
.kwin .k-btn { border-radius: 12px; background: #4f46e5; font-weight: 500; font-size: 12.5px; padding: 7px 12px; box-shadow: 0 1px 2px rgba(19,23,34,.12); }
.kwin .k-badge, .k-mini .k-badge { padding: 2px 8px; font-size: 11px; background: #f0f3f9; color: var(--k-ink5, #687184); }
.kwin .k-badge.ok, .k-mini .k-badge.ok { background: #e6f4ec; color: #1a9b59; }
.kwin .k-badge.go, .k-mini .k-badge.go { background: #eef0fb; color: #4f46e5; }
.kwin .k-badge.warn, .k-mini .k-badge.warn { background: #fff7ed; color: #b5740f; }
.kwin .k-badge.rot, .k-mini .k-badge.rot { background: #fef2f2; color: #b91c1c; }
.kt { border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair, #e6e8ee); padding: 0 16px; }
.kt-h, .kt-r { display: grid; grid-template-columns: var(--cols, 1.3fr repeat(calc(var(--n) - 1), 1fr)); align-items: center; gap: 14px; }
.kt-h { padding: 11px 0; font-size: 12px; font-weight: 500; color: var(--k-ink5, #687184); border-bottom: 1px solid var(--k-hair, #e6e8ee); }
.kt-r { padding: 13px 0; border-bottom: 1px solid #f3f4f8; font-size: 14px; }
.kt-r:last-child { border-bottom: none; }
.kt-r > span { min-width: 0; color: var(--k-ink7, #3d4659); font-variant-numeric: tabular-nums; }
.kt-r > span:first-child { font-weight: 500; color: var(--k-ink, #131722); display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.kt-r > span:last-child, .kt-h > span:last-child { justify-self: end; text-align: right; }
.kt-r small { display: block; font-size: 11px; font-weight: 400; color: var(--k-ink4, #9aa1ae); margin-top: 2px; }
.kt-r b { font-weight: 600; color: var(--k-ink, #131722); }
.kt-r.aus { opacity: .45; }
.ks { width: 100%; border-radius: 16px; border: 1px solid var(--hair); background: #fff; box-shadow: 0 24px 50px -28px rgba(20,22,27,.3); overflow: hidden; text-align: left; }
.ks-h { padding: 14px 18px; border-bottom: 1px solid var(--hair); font-size: 15px; font-weight: 650; }
.ks-r { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #F0EEE7; font-size: 14px; }
.ks-r:last-child { border-bottom: none; }
.ks-r span { color: var(--ink-2); }
.ks-r b { font-weight: 600; text-align: right; }

/* Seitenaufbau der Funktionsseiten (scripts/seiten/) */
.sx-stage { position: relative; margin: 48px auto 0; padding: 44px 40px 0; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(180deg, #F6F4EE, #EFECE4); overflow: hidden; }
.sx-duo { display: flex; align-items: flex-end; justify-content: center; gap: 36px; }
.sx-duo { align-items: center; padding-bottom: 44px; }
.sx-duo > .kwin { max-width: 620px; }
.sx-duo > .kp { width: 280px; }
.sx-sec { padding: 104px 0 0; }
.sx-sec h2 { max-width: 760px; }
.sx-steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 20px; margin-top: 44px; counter-reset: sx; }
.sx-step { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--hair); background: #fff; overflow: hidden; counter-increment: sx; }
.sx-step-g { display: grid; place-items: center; min-height: 150px; padding: 22px 18px; background: var(--paper-2); }
.sx-step-t { padding: 18px 20px 22px; }
.sx-step h3 { font-size: 18px; margin: 0 0 6px; }
.sx-step h3::before { content: counter(sx) ". "; color: var(--accent); }
.sx-step p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.sx-block { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.sx-block.flip .sx-block-g { order: 2; }
.sx-block-g { display: grid; place-items: center; min-height: 340px; padding: 36px 32px; border-radius: 24px; background: var(--paper-2); border: 1px solid var(--hair); }
.sx-block h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 14px; }
.sx-block p { font-size: 17.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.sx-block ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.sx-block li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.sx-block li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.4px solid var(--green); border-bottom: 2.4px solid var(--green); transform: rotate(-45deg) scale(.8); }
@media (max-width: 960px) {
  .sx-steps { grid-template-columns: 1fr 1fr; }
  .sx-block { grid-template-columns: 1fr; gap: 26px; }
  .sx-block.flip .sx-block-g { order: 0; }
}
@media (max-width: 720px) {
  .sx-stage { margin-top: 28px; padding: 20px 14px 0; border-radius: 22px; }
  .sx-duo { flex-direction: column; align-items: center; gap: 18px; }
  .sx-duo { padding-bottom: 22px; }
  .sx-sec { padding-top: 64px; }
  .sx-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .sx-step { flex-direction: row; }
  .sx-step-g { flex: 0 0 38%; min-height: 0; padding: 14px 10px; }
  .sx-step-t { padding: 14px 16px; }
  .sx-block-g { min-height: 0; padding: 22px 14px; border-radius: 20px; }
  .sx-block p { font-size: 16.5px; }
  .kwin-nav { display: none; }
  .kwin-main { padding: 14px; }
  .kwin-head b { font-size: 19px; }
  /* Tabellen werden auf dem Handy zu Karten, wie in der App */
  .kt { padding: 0; background: none; box-shadow: none; display: grid; gap: 8px; }
  .kt-h { display: none; }
  .kt-r { grid-template-columns: 1fr auto; gap: 6px 10px; padding: 13px 14px; border: none; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair, #e6e8ee); }
  .kt-r > span:first-child { grid-column: 1 / -1; }
  .kt-r > span:empty { display: none; }
  .sx-duo .kt-r:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .k-flow [data-at], .k-flow .kw-m[data-at], .kap-sheet { transition: none; animation: none !important; }
}

.sx-sec .sec-lead { max-width: 640px; margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.k-mini { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 230px; padding: 13px 14px; border-radius: 13px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 10px 22px -16px rgba(20,22,27,.3); font-size: 13.5px; text-align: left; }
.k-mini b { font-weight: 600; }
.k-mini small { display: block; font-size: 12px; color: var(--ink-3); }
.k-mini .k-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
/* Zeitstrahl */
.kz { position: relative; display: grid; gap: 0; width: 100%; max-width: 380px; text-align: left; }
.kz-p { position: relative; display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 36px; padding: 11px 0; }
.kz-p time { font-size: 13px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.kz-p b { font-size: 15.5px; font-weight: 600; }
.kz-p::before { content: ""; position: absolute; left: 82px; top: 17px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid #C9C5B8; z-index: 1; }
.kz-p::after { content: ""; position: absolute; left: 87px; top: 28px; bottom: -17px; width: 1.5px; background: #D9D6CC; }
.kz-p:last-child::after { display: none; }
.kz-p.ok::before { border-color: var(--green); background: var(--green); }
.kz-p.go::before { border-color: var(--accent); }
.kz-p.warn::before { border-color: #D97706; background: #D97706; }
.k-flow .kz-p[data-at] { transform: translateY(8px); }
.k-flow .kz-p[data-at].on { transform: none; }
/* Bezahlseite */
.kco { position: absolute; inset: -46px 0 0; z-index: 4; display: flex; flex-direction: column; padding-top: 46px; background: #fff; transform: translateY(100%); pointer-events: none; }
.k-flow .kco[data-at] { opacity: 1; transition: transform .42s cubic-bezier(.2,.8,.2,1); }
.kco.on { transform: none; }
.kco-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; }
.kco-bar i { width: 9px; height: 11px; border-radius: 2px; border: 1.6px solid #6E6E73; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.kco-st { flex: 1; display: grid; }
.kco-a { grid-area: 1 / 1; display: flex; }
.kco-in { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 26px 20px 0; text-align: center; }
.kco-in small { font-size: 12.5px; color: #6E6E73; }
.kco-in > span { font-size: 14px; }
.kco-in > b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 18px; }
.kco-ap { position: relative; display: flex !important; align-items: center; justify-content: center; height: 44px; border-radius: 9px; background: #000; color: #fff; font-size: 20px; }
.kco-in em { margin: 14px 0 6px; font-size: 12px; font-style: normal; color: #8A8A8E; }
.kco-in > i { height: 38px; border-radius: 9px; border: 1px solid #DADADF; }
.kco-in > i.h { width: 55%; margin-top: 4px; }
.kco-ok { justify-content: center; align-items: center; padding-bottom: 60px; }
.kco-ok .k-ok { width: 56px; height: 56px; stroke: var(--green); }
.kco-ok > b { font-size: 22px; margin: 10px 0 4px; }
.kco-ok > span { font-size: 13px; color: #6E6E73; max-width: 200px; }
.sx-block-g > .k-flow, .sx-step-g > .k-flow { width: 100%; display: grid; place-items: center; }
.k-btn { border-radius: 12px; background: #4f46e5; font-weight: 500; }
.kc p { font-size: 12.5px; line-height: 1.35; color: #fff; margin: 0; }
.k-mini .k-badge { align-self: flex-start; }
.sx-block-g .kwin .kt { --cols: 1fr auto; }
.sx-block-t a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.kc p.kc-l, .kc p.kc-done { font-size: 12.5px; line-height: 1.35; color: #fff; margin: 0; }
.kc p.kc-done { margin-top: 4px; font-size: 12px; }

/* Nebendetails als graue Balken: Text bestimmt die Länge, bleibt aber unsichtbar. */
.k-grau, .sx-stage .kt-r small {
  display: inline-block; max-width: 100%; height: .62em; line-height: .62em; overflow: hidden; vertical-align: middle;
  border-radius: 99px; background: #e9ebf0; color: transparent !important; font-style: normal; user-select: none; white-space: nowrap;
}
.k-grau * , .sx-stage .kt-r small * { visibility: hidden; }
.sx-stage .kt-r small { display: block; width: fit-content; margin-top: 7px; }
.kw-m .k-grau, .kc .k-grau { background: rgba(17,27,33,.1); }

/* Anruf: klingeln, annehmen, Gesprächszeit */
.kc-av { position: relative; }
.kc-ring { position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); opacity: 0; }
.k-flow .kc-ring[data-at].on { opacity: 1; animation: kcRing 1.3s ease-out infinite; }
@keyframes kcRing { from { transform: scale(.86); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.kc-sub { font-size: 12px; color: rgba(255,255,255,.55); }
.kc-st { font-variant-numeric: tabular-nums; }
.kc-btns svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.kc-btns .kc-pad { fill: #fff; stroke: none; }
.kc-btns .kc-end svg { fill: #fff; stroke: none; }
.kc-in { display: none; justify-content: space-between; padding: 0 22px; }
.kc-in span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,.85); }
.kc-in i { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #FF3B30; }
.kc-in .kc-go { background: #30D158; }
.kc-in svg { width: 24px; height: 24px; fill: #fff; stroke: none; }
.kc-in .kc-end svg { transform: rotate(135deg); }
.k-flow .kc-in[data-at].on { display: flex; }
.k-flow .kc-in[data-at].on .kc-go { animation: kcGo 1s ease-in-out infinite alternate; }
@keyframes kcGo { to { transform: translateY(-3px); } }
.k-flow .kc-btns[data-at] { display: none; }
.k-flow .kc-btns[data-at].on { display: flex; }

/* Sperrbildschirm und Mitteilungen */
.ksp { position: absolute; inset: -46px 0 0; z-index: 4; display: flex; flex-direction: column; align-items: center; padding: 88px 10px 30px; background: linear-gradient(165deg, #33406b, #1d2440 45%, #3a2f55); color: #fff; }
.ksp-d { font-size: 15px; font-weight: 500; opacity: .85; }
.ksp-u { font-size: 70px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.ksp-n { align-self: stretch; margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.kn { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 10px 11px; border-radius: 18px; background: rgba(245,245,247,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #111; text-align: left; }
.k-flow .kn[data-at] { display: none; }
.k-flow .kn[data-at].on { display: grid; animation: kwIn .4s var(--ease) both; }
.kn-app { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8.500px; }
.kn-app svg { width: 21px; height: 21px; fill: #fff; stroke: none; }
.kn-app.wa { background: #25D366; } .kn-app.sms { background: #34C759; } .kn-app.tel { background: #34C759; }
.kn-app.mail { background: linear-gradient(180deg, #1E9BFF, #0A6CF5); } .kn-app.mail svg { fill: none; stroke: #fff; stroke-width: 1.700; stroke-linejoin: round; }
.kn-app.ph { background: #1e1b4b; }
.kn-t { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; line-height: 1.3; }
.kn-t b { font-size: 13px; font-weight: 600; }
.kn-t span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kn time { align-self: start; font-size: 11px; color: rgba(60,60,67,.6); }

/* SMS (Nachrichten-App) */
.ksm { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.ksm-head { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: -46px; padding: 50px 12px 8px; background: #F6F6F6; border-bottom: 1px solid #E3E3E6; position: relative; }
.ksm-head > svg { position: absolute; left: 10px; bottom: 22px; width: 20px; height: 20px; fill: none; stroke: #007AFF; stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.ksm-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #A5ABB8, #868C99); color: #fff; font-weight: 600; font-size: 15px; }
.ksm-head b { font-size: 11.5px; font-weight: 500; }
.ksm-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px 12px 8px; overflow: hidden; }
.ksm-chat time { align-self: center; margin-bottom: 4px; font-size: 10.5px; color: #8E8E93; }
.ksm-m { align-self: flex-start; max-width: 80%; padding: 7px 12px; border-radius: 18px; background: #E9E9EB; font-size: 14px; line-height: 1.32; color: #000; }
.ksm-m.me { align-self: flex-end; background: #34C759; color: #fff; }
.k-flow .ksm-m[data-at] { display: none; }
.k-flow .ksm-m[data-at].on { display: block; animation: kwIn .32s var(--ease) both; }
.ksm-bar { display: flex; align-items: center; gap: 8px; padding: 6px 12px 22px; }
.ksm-bar i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #E9E9EB; color: #7C7C80; font-style: normal; font-size: 18px; }
.ksm-bar span { flex: 1; padding: 6px 12px; border: 1px solid #D1D1D6; border-radius: 16px; font-size: 13px; color: #C4C4C7; }

/* E-Mail (Mail-App) */
.kml { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; margin-top: -46px; padding: 50px 14px 24px; background: #fff; overflow: hidden; }
.kml-nav { display: flex; align-items: center; gap: 2px; color: #007AFF; font-size: 14.5px; }
.kml-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.kml-from { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #E5E5EA; }
.kml-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #DDE1F5; color: #4f46e5; font-weight: 600; }
.kml-from b { display: block; font-size: 13.5px; font-weight: 600; }
.kml-from small { font-size: 11.5px; color: #8E8E93; }
.kml-from time { align-self: start; font-size: 11.5px; color: #8E8E93; }
.kml-sub { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.kml-body { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.45; color: #1C1C1E; }
.kml-body p, .sx-block .kml-body p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #1C1C1E; }
.kml-btn { position: relative; align-self: flex-start; margin-top: 4px; padding: 9px 16px; border-radius: 10px; background: #4f46e5; color: #fff; font-size: 13.5px; font-weight: 600; }

.kml-bar { display: flex; justify-content: space-between; margin: auto -14px 0; padding: 10px 26px 0; border-top: 1px solid #E5E5EA; color: #007AFF; }
.kml-bar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* Der Tipp-Ring im Annehmen-Knopf darf den Hörer nicht verschieben */
.kc-in i.k-tap { position: absolute; display: block; width: 44px; height: 44px; background: rgba(255,255,255,.4); }
.kc-in .kc-go svg { grid-area: 1 / 1; }
