/* Zeitfuchs — Hero: das Handy als Mittelpunkt einer lebenden Uhr.
   Intro = reines CSS (individuelle translate/scale-Properties). GSAP fasst Bühne/Kärtchen erst nach dem Intro an.
   Das App-Display ist in em gebaut: 1em = 1/36 der Displaybreite (≈ 10 px im 360er-Design der App). */

/* ===================== Rahmen + Text ===================== */
.hero { position: relative; padding: 64px 0 0; overflow-x: clip; }
.hero .blob { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.hero .blob.b1 { inset: -240px -200px auto auto; width: 760px; height: 760px; background: radial-gradient(circle, color-mix(in srgb, var(--orange) 16%, transparent), transparent 66%); animation: drift 18s ease-in-out infinite; }
.hero .blob.b2 { inset: auto auto -320px -260px; width: 640px; height: 640px; background: radial-gradient(circle, color-mix(in srgb, var(--orange) 9%, transparent), transparent 70%); animation: drift 22s ease-in-out infinite reverse; }
.hero-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 74% 44%, rgba(36,19,9,.13), rgba(36,19,9,.04) 40%, transparent 64%);
  -webkit-mask: radial-gradient(circle, #000 1.1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(#000 55%, transparent 96%);
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle, #000 1.1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(#000 55%, transparent 96%);
          mask-composite: intersect;
}
.hero-glow { position: absolute; left: 0; top: 0; z-index: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, color-mix(in srgb, var(--orange) 15%, transparent), transparent 62%); transition: opacity .6s ease; }
.hero:hover .hero-glow { opacity: 1; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } .hero { padding-top: 34px; } }

.hi { animation: heroRise .9s var(--ease-out) var(--d, 0s) backwards; }
.kick .neu { position: relative; overflow: hidden; display: inline-block; margin-left: 8px; padding: 3px 9px 2px; border-radius: 999px; background: var(--orange-btn); color: #fff; font-size: 10.5px; letter-spacing: .12em; vertical-align: 1px; box-shadow: 0 3px 10px -3px color-mix(in srgb, var(--orange) 60%, transparent); }
.kick .neu::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); animation: shimmer 4.5s ease-in-out 1.6s infinite; }
@media (max-width: 600px) { .kick .neu { display: block; width: max-content; margin: 6px 0 0; } }

.hero-h1 { margin-top: 16px; font-size: clamp(2.8rem, 1.9rem + 4.8vw, 5rem); line-height: 1.0; letter-spacing: -.028em; }
.hero-h1 .ln { display: block; overflow: hidden; padding: .06em 0 .2em; margin: -.06em 0 -.2em; }
.hero-h1 .li { display: block; animation: lineUp 1.05s cubic-bezier(.16,1,.3,1) var(--d, 0s) backwards; }
.hero-h1 .u { position: relative; white-space: nowrap; color: var(--orange); }
/* Lichtreflex über „stempelt mit“ — GPU-Variante: ein weiches Lichtband (außen) gleitet über eine helle Textkopie,
   die sich exakt gegenläufig bewegt (innen). Beides nur transform → kein Neuzeichnen pro Frame.
   Band = 35 % der Wortbreite; außen −100 % → +286 % (eigene Breite) = −0,35 W → +1,0 W, innen genau entgegengesetzt. */
@keyframes shineBand { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(286%); } }
@keyframes shineText { 0%, 70% { transform: translateX(35%); } 100% { transform: translateX(-100%); } }
.u-shine { position: absolute; left: 0; top: 0; bottom: 0; width: 35%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
  animation: shineBand 7s ease-in-out 2.6s infinite backwards; will-change: transform; }
.u-shine > span { position: absolute; left: 0; top: 0; width: 285.72%; color: #FFC49A; white-space: nowrap;
  animation: shineText 7s ease-in-out 2.6s infinite backwards; will-change: transform; }
.u-shine > span::before { content: "stempelt mit"; } /* per CSS: Überschrift bleibt für Suchmaschinen sauber */

.hero-h1 .u svg { position: absolute; left: -1%; bottom: -.13em; width: 102%; height: .3em; stroke: var(--orange-2); fill: none; stroke-width: 7; stroke-linecap: round; }
.hero-h1 .u path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw .8s var(--ease-out) .95s forwards; }
.hero .lead { margin-top: 22px; font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--ink); max-width: 46ch; }
.hero .lead .em { font-weight: 600; color: var(--espresso); }
.hero .lead b { color: var(--orange-ink); }
.hero .cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 14px; font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--taupe); }

/* ===================== Bühne: Zifferblatt + Handy ===================== */
.hero-visual { justify-self: center; width: min(100%, 600px, max(440px, 100vh - 290px)); width: min(100%, 600px, max(440px, 100svh - 290px)); display: flex; flex-direction: column; align-items: center; }
.hero-stage { position: relative; width: 100%; display: grid; place-items: center; animation: scenePop 1.15s var(--ease-out) .15s backwards; }
.dial-layer, .hphone-wrap { grid-area: 1 / 1; }
.dial-layer { position: relative; width: 100%; aspect-ratio: 1; z-index: 1; }

/* Zustandslicht hinter dem Handy: arbeitet (orange) · Pause (amber) · erledigt (grün), atmet sanft */
@keyframes breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.06); } }
.hglow { position: absolute; inset: 16%; border-radius: 50%; pointer-events: none; animation: breathe 4.2s ease-in-out infinite; }
.hglow i { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity .9s ease; }
.hglow .w { background: radial-gradient(circle, rgba(232,89,12,.26), transparent 66%); }
.hglow .p { background: radial-gradient(circle, rgba(217,119,6,.3), transparent 66%); }
.hglow .d { background: radial-gradient(circle, rgba(30,142,78,.28), transparent 66%); }
.hero-stage[data-state="work"] .hglow .w, .hero-stage[data-state="pause"] .hglow .p, .hero-stage[data-state="done"] .hglow .d { opacity: 1; }

/* Funken bei jedem Tipp */
.sparks { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.spark { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; will-change: transform, opacity; }

.hdial { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; } /* je eigene GPU-Ebene: Bogen-Updates zeichnen Striche/Ziffern nicht mit */
.hdial .rim { fill: none; stroke: rgba(36,19,9,.08); stroke-width: 1; }
.hdial .tk { stroke: rgba(36,19,9,.18); stroke-width: 2; stroke-linecap: round; }
.hdial .tk.hr { stroke: rgba(36,19,9,.4); stroke-width: 3.4; }
.hdial .tk.lit { stroke: var(--orange); }
.hdial .tk.lit.pz { stroke: var(--peach-line); }
.hdial .nums text { font-family: "JetBrains Mono", monospace; font-size: 15px; font-weight: 700; fill: rgba(36,19,9,.32); text-anchor: middle; dominant-baseline: central; }
.hdial .track { fill: none; stroke: rgba(36,19,9,.06); stroke-width: 12; }
.hdial .arc { fill: none; stroke-width: 12; }
.hdial .arc.work { stroke: var(--orange); stroke-linecap: round; }
.hdial .arc.pause { stroke: var(--peach-line); }

/* Zeiger: dreht als Ebene um die Mitte; Lichtkegel folgt dahinter */
.zeiger { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.zeiger .trail { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from -58deg, transparent 0deg, rgba(232,89,12,.0) 4deg, rgba(232,89,12,.2) 57deg, transparent 58deg); -webkit-mask: radial-gradient(circle, transparent 22%, #000 58%, transparent 72%); mask: radial-gradient(circle, transparent 22%, #000 58%, transparent 72%); }
.zeiger .stick { position: absolute; left: 50%; top: 6.33%; width: 2px; height: 43.67%; margin-left: -1px; border-radius: 2px; background: linear-gradient(var(--espresso), rgba(36,19,9,.15)); }
.zeiger .tip { position: absolute; left: 50%; top: 6.33%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(232,89,12,.18), 0 0 22px rgba(232,89,12,.7); }

.mark { position: absolute; z-index: 3; translate: -50% -50%; display: flex; align-items: center; gap: 7px; white-space: nowrap; font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 600; color: var(--taupe); background: rgba(255,255,255,.9); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 11px 5px 8px; box-shadow: var(--sh-s); }
.mark i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent); }
.mark b { color: var(--espresso); }
.mark.m2 i { background: var(--peach-line); box-shadow: 0 0 0 3px var(--peach); }
.mark.m3 i { background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }
.mark.m1 { left: 2.9%; top: 78.3%; }
.mark.m2 { left: 97.1%; top: 21.7%; }
.mark.m3 { left: 88.9%; top: 88.9%; }
.mark.m2, .mark.m3 { opacity: 0; }
html.motion-on .mark { translate: none; } /* GSAP zentriert per xPercent/yPercent */

/* ===================== Handy ===================== */
.hphone-wrap { position: relative; z-index: 2; width: 44%; }
/* iPhone: Titan-Rahmen (Metallverlauf + Lichtkanten) → schwarzer Displayrand → Display.
   Eckenradius ≈ 14,5 % der Breite (elliptisch umgerechnet auf die Höhe), wie beim echten Gerät. */
.hphone, .phone.iphone {
  position: relative; padding: 1%; border-radius: 14.5% / 6.7%; container-type: inline-size;
  background:
    linear-gradient(135deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, rgba(255,255,255,.22) 100%),
    linear-gradient(160deg, #8b857e 0%, #57514b 14%, #2f2b28 34%, #1f1c1a 58%, #3a3531 80%, #6f6861 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.28),
    inset 0 0 0 2.5px rgba(0,0,0,.55),
    inset 0 3px 2px rgba(255,255,255,.22),
    inset 0 -3px 3px rgba(0,0,0,.35),
    0 0 0 1px rgba(20,14,10,.55),
    0 70px 100px -50px rgba(40,25,12,.6),
    0 28px 50px -26px rgba(40,25,12,.45),
    0 0 90px -12px rgba(232,89,12,.16);
}
.hphone { animation: floaty 7s ease-in-out infinite; }
.hphone-fly { transform-origin: 0 0; }
.hphone-fly.is-flying { position: fixed; will-change: transform, opacity; }
.hphone-wrap.flying { z-index: 7; } /* im Flug vor Story-Leiste und Kärtchen */
/* Seitentasten: links Action-Button + Lautstärke, rechts Seitentaste */
.hphone .side, .phone.iphone .side { position: absolute; width: 1.3%; border-radius: 3px; pointer-events: none;
  background: linear-gradient(90deg, #2a2623, #8a837c 45%, #3a3531); box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.hphone .side.act, .phone.iphone .side.act { left: -1%; top: 16.5%; height: 3.4%; }
.hphone .side.vu, .phone.iphone .side.vu  { left: -1%; top: 22.5%; height: 6.6%; }
.hphone .side.vd, .phone.iphone .side.vd  { left: -1%; top: 30.5%; height: 6.6%; }
.hphone .side.pw, .phone.iphone .side.pw  { right: -1%; top: 25%; height: 10.5%; background: linear-gradient(270deg, #2a2623, #8a837c 45%, #3a3531); }
.scr {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 720 / 1561; overflow: hidden;
  border: 1.3cqw solid #050505; border-radius: 13.6% / 6.3%; background: #fff; color: #26130A;
  box-shadow: 0 0 0 .5px rgba(255,255,255,.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hanken Grotesk", system-ui, sans-serif;
  font-size: 7px; line-height: 1.25; text-align: left; contain: layout paint style; /* Timer-Updates bleiben im Display */
}
@supports (font-size: 1cqw) { .scr { font-size: calc(97.4cqw / 36); } }  /* Displaybreite = Rahmen-Innenbreite − 2 × Rand */

/* Demo-Handy: gleicher iPhone-Rahmen, Screenshots im schwarzen Displayrand + statische Dynamic Island */
.phone.iphone .shots { border: 1.3cqw solid #050505; border-radius: 13.6% / 6.3%; }
.di-static { position: absolute; z-index: 3; top: 1.6cqw; left: 50%; width: 29.5cqw; height: 8.4cqw; translate: -50% 0; border-radius: 99em; background: #000; pointer-events: none; }
.di-static .di-cam { right: 2.9cqw; width: 3.1cqw; height: 3.1cqw; margin-top: -1.55cqw; }

/* Dynamic Island — dehnt sich beim Einstempeln zur Live Activity (Fuchs + laufender Timer) */
.di {
  position: absolute; z-index: 6; top: 1.05em; left: 50%; width: 11.2em; height: 3.3em; translate: -50% 0;
  display: flex; align-items: center; justify-content: space-between; padding: 0 1.15em 0 .75em;
  border-radius: 99em; background: #000; transition: width .6s var(--ease-spring);
}
.di-fx { width: 1.9em; height: 1.9em; opacity: 0; transition: opacity .25s ease; }
.di-t { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 700; font-size: 1.22em; color: var(--live); opacity: 0; transition: opacity .25s ease, color .3s ease; }
.di-cam { position: absolute; right: 1em; top: 50%; width: 1.15em; height: 1.15em; margin-top: -.575em; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #2b3b52 0 18%, #0d131c 55%, #030405 100%); box-shadow: inset 0 0 0 .1em #15181d; transition: opacity .2s ease; }
.hero-stage[data-state="work"] .di, .hero-stage[data-state="pause"] .di { width: 18em; }
.hero-stage[data-state="work"] .di-fx, .hero-stage[data-state="pause"] .di-fx,
.hero-stage[data-state="work"] .di-t, .hero-stage[data-state="pause"] .di-t { opacity: 1; transition-delay: .2s; }
.hero-stage[data-state="work"] .di-cam, .hero-stage[data-state="pause"] .di-cam { opacity: 0; }
.hero-stage[data-state="pause"] .di-t { color: #F9A968; }
.scr svg { width: 1em; height: 1em; display: inline-block; flex: none; }
.scr b { font-weight: 800; }

.sb { display: flex; align-items: center; justify-content: space-between; height: 5.2em; padding: 0 3.4em 0 3.6em; flex: none; }
.sb-t { font-size: 1.62em; font-weight: 700; letter-spacing: -.01em; }
.sb-i { display: flex; align-items: center; gap: .7em; }
.sb-i .bars { display: flex; align-items: flex-end; gap: .18em; height: 1.1em; }
.sb-i .bars i { width: .32em; border-radius: .1em; background: #26130A; }
.sb-i .bars i:nth-child(1) { height: 35%; } .sb-i .bars i:nth-child(2) { height: 55%; } .sb-i .bars i:nth-child(3) { height: 78%; } .sb-i .bars i:nth-child(4) { height: 100%; opacity: .3; }
.sb-i .bat { font-style: normal; font-size: .95em; font-weight: 800; color: #fff; background: #26130A; border-radius: .45em; padding: .08em .45em; }

.sc-body { flex: 1; min-height: 0; padding: 0 1.7em 9em; overflow: hidden; }
.sc-date { margin-top: 1.7em; text-align: center; font-size: 1.05em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7D685B; }
.sc-hi { display: flex; align-items: center; gap: .9em; margin-top: 1.9em; }
.sc-hi img { width: 4.4em; height: 4.4em; }
.sc-hi > div { flex: 1; min-width: 0; }
.sc-hi b { font-size: 1.62em; letter-spacing: -.01em; }
.sc-hi .wave { font-size: 1.4em; }
.sc-hi .co { display: block; font-size: 1.18em; color: #7D685B; margin-top: .1em; }
.sc-hi > svg { width: 2.1em; height: 2.1em; color: #57392A; }

.sc-card { margin-top: 1.8em; padding: 2.3em 2em 2em; border-radius: 2.6em; background: #fff; text-align: center; box-shadow: 0 .9em 1.6em rgba(124,58,14,.08), 0 0 0 1px #F2EFEB; }
.sc-timer { font-size: 6.4em; font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.sc-status { margin-top: .55em; font-size: 1.45em; color: #57392A; transition: color .3s; }
.sc-status.pz { color: #D97706; }
.sc-chips { display: flex; justify-content: center; gap: .8em; margin-top: 1.4em; }
.sc-chips span { font-size: 1.1em; font-weight: 700; color: #57392A; background: #F7F6F3; border: 1px solid #E9E6E1; border-radius: 99em; padding: .55em 1.2em; }
.sc-note { display: flex; align-items: center; gap: 1em; margin-top: 1.2em; padding: 1.05em 1.4em; border-radius: 1.6em; background: #F7F6F3; color: #7D685B; font-size: 1.25em; }
.sc-note svg { color: #57392A; }
.sc-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: .7em; border-radius: 1.8em; }
.sc-btn.main { margin-top: 1.2em; height: 5.2em; background: #E8590C; color: #fff; box-shadow: 0 .8em 1.6em -.6em rgba(232,89,12,.55); }
.sc-btn.main b { font-size: 1.8em; }
.sc-btn.main .ic svg { width: 1.6em; height: 1.6em; }
.sc-btn.main .ic.play { display: none; }
.sc-btn.main.play .ic.play { display: inline-flex; }
.sc-btn.main.play .ic.stop { display: none; }
.sc-sec { overflow: hidden; }
.sc-btn.alt { margin-top: .8em; height: 4.3em; background: #F7F6F3; color: #57392A; border-radius: 1.6em; }
.sc-btn.alt b { font-size: 1.42em; font-weight: 700; }
.sc-btn.alt svg { width: 1.5em; height: 1.5em; }
.touch { position: absolute; left: 50%; top: 50%; width: 4.6em; height: 4.6em; margin: -2.3em 0 0 -2.3em; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 .35em rgba(255,255,255,.28); opacity: 0; pointer-events: none; }
.sc-btn.alt .touch { background: rgba(36,19,9,.16); box-shadow: 0 0 0 .35em rgba(36,19,9,.07); }

.sc-warn, .sc-close { height: 0; overflow: hidden; }
.sc-warn > div { display: flex; align-items: center; gap: .8em; margin-top: 1.2em; padding: 1em 1.2em; border: 1px solid #D97706; border-radius: 1.2em; background: #FCEED3; color: #57392A; }
.sc-warn svg { width: 1.6em; height: 1.6em; color: #D97706; }
.sc-warn span { font-size: 1.2em; }
.sc-close > div { margin-top: 1.2em; padding: 1.4em 1.6em; border-radius: 2em; background: #fff; box-shadow: 0 .9em 1.6em rgba(124,58,14,.08), 0 0 0 1px #F2EFEB; }
.cl-h b { display: block; font-size: 1.42em; }
.cl-h span { display: block; margin-top: .2em; font-size: 1.08em; color: #7D685B; }
.cl-row { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: .9em; }
.cl-row > span.tnum { font-size: 2.3em; font-weight: 800; letter-spacing: -.02em; }
.sc-btn.ok { height: 3.6em; padding: 0 1.5em; background: #E8590C; color: #fff; border-radius: 1.3em; }
.sc-btn.ok b { font-size: 1.25em; }
.stamp2 { position: absolute; right: 0; top: 0; bottom: 0; height: max-content; margin: auto 0; font-size: 1.25em; font-weight: 800; color: #178A46; background: #E3F5EA; border: 1.5px solid #178A46; border-radius: 1em; padding: .45em .9em; opacity: 0; }

.sc-sec-h { display: flex; align-items: center; gap: 1em; margin-top: 2em; font-size: 1.22em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #57392A; }
.sc-sec-h .dotico { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: #fff; box-shadow: 0 .3em .9em rgba(124,58,14,.1); }
.sc-sec-h .dotico svg { width: 1.3em; height: 1.3em; color: #26130A; }
.sc-konto { display: flex; align-items: center; justify-content: space-between; margin-top: 1em; padding: 1.5em 1.8em; border-radius: 2.2em; background: #fff; box-shadow: 0 .9em 1.6em rgba(124,58,14,.08), 0 0 0 1px #F2EFEB; }
.sc-konto b { font-size: 2.8em; letter-spacing: -.02em; }
.sc-konto span { font-size: 1.2em; color: #7D685B; text-align: right; }
.sc-konto span i { display: block; width: 8.4em; height: .35em; margin-top: .5em; border-radius: 1em; background: #E9E6E1; }

.tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; height: 8.4em; padding-top: 1.3em; background: rgba(255,255,255,.97); border-top: 1px solid #F2EFEB; }
.tabbar span { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35em; font-size: 1.02em; font-weight: 600; color: #7D685B; }
.tabbar svg, .tabbar img { width: 2.2em; height: 2.2em; }
.tabbar svg { color: #8f8a86; }
.tabbar .on { color: #E8590C; }
.tabbar .on svg { color: #E8590C; }
.tabbar .on::before { content: ""; position: absolute; top: -1.15em; width: 2.6em; height: .34em; border-radius: 1em; background: #E8590C; }

.scr .glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.16) 46%, rgba(255,255,255,0) 54%); }
.scr .shine { position: absolute; top: -20%; left: 0; width: 55%; height: 140%; pointer-events: none; background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); transform: translateX(-180%) rotate(8deg); }

/* ===================== Live-Demo-Leiste (Kapitel synchron zur Story) ===================== */
.story-bar {
  position: relative; z-index: 3; width: min(100%, 470px); margin-top: 18px; padding: 14px 16px 12px; overflow: hidden;
  border-radius: 18px; background: var(--card); border: 1px solid var(--rule);
  box-shadow: var(--sh-m);
  animation: heroRise .9s var(--ease-out) 1.1s backwards;
}
.sb-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; text-align: center; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 15px; color: var(--espresso); }
.sb-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 99px; background: var(--espresso); color: #fff; font-family: "JetBrains Mono", monospace; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sb-live i { width: 6px; height: 6px; border-radius: 50%; background: #FF4D4D; }
.sb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.sb-steps li { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 4px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--taupe); white-space: nowrap; transition: color .3s, background .3s; }
.sb-steps li i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--rule); font-style: normal; font-family: "JetBrains Mono", monospace; font-size: 9.5px; font-weight: 700; color: var(--taupe); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-spring); }
.sb-steps li.on { color: var(--espresso); background: var(--peach); }
.sb-steps li.on i { background: var(--orange); border-color: var(--orange); color: #fff; transform: scale(1.12); }
.sb-steps li.done i { background: var(--green); border-color: var(--green); color: #fff; }
.sb-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rule); }
.sb-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform-origin: 0 50%; transform: scaleX(0); }
html:not(.motion-on) .sb-prog { display: none; }

/* „…und noch viel mehr“ mit rotierendem Feature-Wort (reines CSS, 6 Wörter × 1,8 s) */
.sb-more { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px auto 2px; width: max-content; max-width: 100%; padding: 7px 14px 7px 8px; border-radius: 99px; border: 1px dashed var(--peach-line); font-size: 13px; font-weight: 600; color: var(--taupe); transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease-spring); }
.sb-more:hover { color: var(--espresso); border-style: solid; border-color: var(--orange); transform: translateY(-1px); }
.sb-more.hl { background: var(--peach); border-style: solid; border-color: var(--peach-line); color: var(--espresso); transform: scale(1.04); }
.sb-plus { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; transition: transform .5s var(--ease-spring); }
.sb-more.hl .sb-plus, .sb-more:hover .sb-plus { transform: rotate(90deg); }
.sb-rot { display: inline-grid; overflow: hidden; height: 1.35em; font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--orange-ink); }
.sb-rot span { grid-area: 1 / 1; line-height: 1.35; opacity: 0; transform: translateY(80%); animation: wordRot 10.8s var(--ease-out) infinite; }
.sb-rot span:nth-child(2) { animation-delay: 1.8s; }
.sb-rot span:nth-child(3) { animation-delay: 3.6s; }
.sb-rot span:nth-child(4) { animation-delay: 5.4s; }
.sb-rot span:nth-child(5) { animation-delay: 7.2s; }
.sb-rot span:nth-child(6) { animation-delay: 9s; }
@keyframes wordRot {
  0% { opacity: 0; transform: translateY(80%); }
  4%, 14% { opacity: 1; transform: translateY(0); }
  18%, 100% { opacity: 0; transform: translateY(-80%); }
}
.sb-arrow { color: var(--orange-ink); transition: transform .3s var(--ease-out); }
.sb-more:hover .sb-arrow { transform: translateX(3px); }

/* ===================== Kärtchen ===================== */
.hero-card { position: absolute; z-index: 4; animation: cardPop .85s var(--ease-spring) calc(.8s + var(--i, 0) * .12s) backwards; }
.hc-in {
  background: var(--card); border: 1px solid var(--rule); border-radius: 13px; padding: 9px 13px; box-shadow: var(--sh-m);
  display: flex; flex-direction: column; gap: 1px; white-space: nowrap;
  animation: floaty 7s ease-in-out var(--fd, 0s) infinite;
}
.hero-card .k { font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.hero-card .v { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 15px; color: var(--espresso); letter-spacing: -.01em; }
.hero-card .v.pos { color: var(--green); }
.hc-in.island {
  flex-direction: row; align-items: center; gap: 8px;
  background: #060606; border: 0; border-radius: 999px; padding: 9px 16px 9px 11px;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.6), inset 0 0 0 .5px rgba(255,255,255,.08);
}
.hc-in.island .fx { width: 18px; height: 18px; flex: none; }
.hc-in.island .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); flex: none; transition: background .3s; }
.hc-in.island.pz .dot { background: #F9A968; animation: none; }
.hc-in.island .tm { font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 13.5px; color: var(--live); transition: color .3s; }
.hc-in.island.pz .tm { color: #F9A968; }
.hero-card.c-live  { top: 5%;  left: 2%;  transform-origin: 100% 50%; }
.hero-card.c-konto { top: 44%; left: -3%; transform-origin: 100% 50%; }
.hero-card.c-close { top: 47%; right: -3%; transform-origin: 0 50%; }

/* ===================== Proof-Band ===================== */
.hero-proof { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--rule); animation: heroRise .9s var(--ease-out) .75s backwards; }
.hero-proof > div { padding: 24px 30px 26px 0; }
.hero-proof > div + div { border-left: 1px solid var(--rule); padding-left: 30px; }
.hero-proof b { display: block; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.62rem; line-height: 1.2; color: var(--espresso); letter-spacing: -.02em; }
.hero-proof > div > span { font-size: 13.5px; color: var(--taupe); }

/* ===================== Tablet / Mobil ===================== */
@media (max-width: 960px) {
  .hero-visual { width: min(100%, 560px); }
}
@media (max-width: 640px) {
  .hero { padding: 30px 0 0; }
  .hero .cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero .cta .btn { width: 100%; }
  .dial-layer { width: 116%; }
  .hphone-wrap { width: 60%; }
  .mark { display: none; }
  .hglow { inset: 12%; }
  .mark { font-size: 10px; padding: 4px 9px 4px 7px; gap: 5px; }
  .mark .mw { display: none; }
  .hdial .nums { display: none; }
  .hc-in { padding: 7px 10px; border-radius: 11px; }
  .hero-card .v { font-size: 13.5px; }
  .hero-card.c-konto { display: none; }
  .story-bar { padding: 12px 10px 10px; }
  .sb-head { font-size: 13.5px; }
  .sb-more { font-size: 12px; gap: 5px; padding: 6px 11px 6px 6px; }
  .sb-steps li { flex-direction: column; gap: 4px; padding: 6px 2px; font-size: 10.5px; white-space: normal; text-align: center; line-height: 1.2; }
  .hero-card.c-live { display: none; } /* Live Activity zeigt hier die Dynamic Island selbst */
  .hero-card.c-close { top: 56%; right: -3%; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 30px; }
  .hero-proof > div { padding: 14px 0; }
  .hero-proof > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .hero-proof b { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-rot span { animation: none !important; opacity: 0; }
  .sb-rot span:first-child { opacity: 1; transform: none; }
  .hero-h1 .u path { stroke-dashoffset: 0; animation: none; }
  .hphone, .hc-in, .hero .blob, .kick .neu::after, .hglow, .u-shine, .u-shine > span { animation: none !important; }
  .u-shine { display: none; }
}

/* App-Store-Knopf unter den Hero-Knöpfen, daneben die Kleingedruckt-Zeile */
.hero .store-row { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero .store-row .fine { margin: 0; }
@media (max-width: 700px) {
  .hero .store-row { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; }
  .hero .store-row .store { justify-content: center; }
  .hero .store-row .fine { text-align: center; }
}
