/* ============ Tokens (SX · Swiss Mono Soft, aus liftx.pen) ============ */
:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --raised: #1A1A1A;
  --line: #242424;
  --line-strong: #3A3A3A;
  --text: #F2F2F0;
  --muted: #8C8C8A;
  --dim: #5C5C5A;
  --signal: #D4FF3A;
  --on-signal: #0A0A0A;
  --r-control: 8px;
  --r-button: 10px;
  --r-small: 6px;
  --r-bar: 2px;
  --sans: Archivo, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
b { font-weight: 500; }
em { font-style: normal; }
svg { display: block; }
figure { margin: 0; }
::selection { background: var(--signal); color: var(--on-signal); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }

/* ============ Type helpers ============ */
.cap {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.cap.hi { color: var(--text); }
.cap.signal, .signal { color: var(--signal); }
.sq { display: inline-block; width: 8px; height: 8px; border-radius: var(--r-bar); background: var(--signal); flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 28px;
}
.h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 0 0 24px;
}
.dim { color: var(--dim); }
.body { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 470px; margin: 0; }
.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 440px; margin: 0; }

/* Section header rule: "01 ——— Loggen" */
.sec-rule {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px; margin-bottom: 56px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.sec-rule span:first-child { color: var(--signal); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px;
  border-radius: var(--r-button);
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .4s var(--ease-out), background .25s, color .25s;
}
.btn .i { width: 18px; height: 18px; margin-top: -2px; }
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-signal:hover { transform: translateY(-2px); }
.btn-signal:active { transform: translateY(0) scale(.98); }
.btn-raised { background: var(--raised); color: var(--text); }
.btn-raised:hover { background: #222; }
.btn-raised .arrow { transition: transform .3s var(--ease-out); }
.btn-raised:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--r-control); }
.btn-sm .i { width: 15px; height: 15px; }

/* ============ Mark (typografisch: X + Signal-Quadrat) ============ */
.mark {
  --m: 28px;
  position: relative; display: inline-block; flex: none;
  width: var(--m); aspect-ratio: 1;
  background: #0A0A0A;
  border-radius: 22.5%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  container-type: inline-size;
  overflow: hidden;
}
.mark b {
  position: absolute; left: 21%; top: 8%;
  font-family: var(--sans); font-weight: 600;
  font-size: 71cqw; line-height: 1;
  color: var(--text);
}
.mark i {
  position: absolute; left: 72.6%; top: 27.4%;
  width: 12.9%; aspect-ratio: 1;
  background: var(--signal);
}

/* ============ Nav ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 10, 10, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ============ Hero ============ */
.hero { padding: 150px 0 110px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero-title {
  font-size: clamp(48px, 5.4vw, 84px);
  white-space: nowrap;
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.hero-meta { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 22px 0 0; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 720px; --px: 0; --py: 0; }
.hero-visual .device { transform: translate(calc(var(--px) * -6px), calc(var(--py) * -6px)); transition: transform .6s var(--ease-out); }

.float { position: absolute; z-index: 3; transform: translate(calc(var(--px) * var(--dp) * 1px), calc(var(--py) * var(--dp) * 1px)); transition: transform .6s var(--ease-out); }
.float-set { left: -70px; bottom: 120px; }
.float-vol { right: -56px; top: 150px; }
.panel {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.panel-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 4px; }
.set-card { width: 214px; }
.set-big { font-family: var(--mono); font-size: 76px; font-weight: 500; letter-spacing: -.07em; line-height: 1; margin: 6px 0 2px; }
.set-foot { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.set-foot b { font-family: var(--mono); font-size: 17px; }
.check { width: 26px; height: 26px; border-radius: var(--r-small); background: var(--signal); display: grid; place-items: center; }
.check svg { width: 15px; height: 15px; fill: none; stroke: var(--on-signal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.segs { display: flex; gap: 3px; }
.segs i { flex: 1; height: 4px; border-radius: var(--r-bar); background: var(--line-strong); transition: background .4s; }
.segs i.on { background: var(--signal); }
.vol-card { width: 236px; }
.vol-value { display: flex; align-items: baseline; gap: 5px; margin: 6px 0 12px; }
.vol-value b { font-family: var(--mono); font-size: 32px; font-weight: 500; letter-spacing: -.05em; }
.vol-value span { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.vol-value.lg b { font-size: clamp(44px, 4.6vw, 64px); }

/* Bars */
.bars { display: flex; align-items: flex-end; gap: 5px; }
.bars i { flex: 1; height: var(--h); background: var(--line-strong); border-radius: var(--r-bar) var(--r-bar) 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + .2s); }
.bars i.hi { background: var(--signal); }
.bars i.off { background: var(--line); }
.bars.in i, .in .bars i { transform: scaleY(1); }
.bars.mini { height: 48px; }

/* ============ Device ============ */
.device {
  --s: .8;
  position: relative; z-index: 2;
  width: calc(414px * var(--s)); height: calc(868px * var(--s));
  padding: calc(12px * var(--s));
  border-radius: calc(64px * var(--s));
  background: #161618;
  box-shadow: inset 0 0 0 1.5px #2A2A2D, 0 40px 80px -30px rgba(0, 0, 0, .9);
  flex: none;
}
.screen {
  position: relative;
  width: 390px; height: 844px;
  transform: scale(var(--s)); transform-origin: top left;
  border-radius: 52px; overflow: hidden;
  background: var(--bg);
  display: flex; flex-direction: column;
}
.island { position: absolute; top: 11px; left: 132px; width: 126px; height: 37px; border-radius: 19px; background: #000; z-index: 5; }
.statusbar { height: 62px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 28px 0 32px; font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sb-icons i { width: 17px; height: 11px; border-radius: 2px; background: var(--text); opacity: .9; }
.sb-icons i:first-child { clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb-icons i:nth-child(2) { border-radius: 50% 50% 0 0; clip-path: polygon(50% 100%, 0 20%, 100% 20%); }
.sb-icons i.batt { width: 24px; height: 12px; border-radius: 3px; background: none; box-shadow: inset 0 0 0 1.5px var(--text); position: relative; }
.sb-icons i.batt::after { content: ""; position: absolute; inset: 3px; border-radius: 1px; background: var(--text); }
.home-ind { position: absolute; bottom: 8px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--text); }

/* App UI inside screens */
.screen .cap { font-size: 10.5px; }
.app-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 18px;
  border-radius: var(--r-button);
  background: var(--signal); color: var(--on-signal);
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
}
.app-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-btn.raised { background: var(--raised); color: var(--text); }
.app-btn.xs { height: 34px; padding: 0 12px; font-size: 13px; border-radius: var(--r-small); justify-content: space-between; }
.pill { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-control); background: var(--raised); font-weight: 600; font-size: 13.5px; }
.idx { font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.plan-row { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); }
.plan-row > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.plan-row .idx { padding-top: 5px; }
.plan-row b { font-size: 19px; letter-spacing: -.02em; }
.plan-row span:not(.idx) { font-size: 13px; color: var(--muted); }
.plan-row em { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-align: right; line-height: 1.8; }
.plan-row em i { font-style: normal; color: var(--muted); }

/* Dashboard */
.dash { flex: 1; padding: 4px 20px 0; display: flex; flex-direction: column; overflow: hidden; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.avatar { width: 30px; height: 30px; border-radius: var(--r-control); background: var(--raised); display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; font-weight: 500; }
.dash-title { font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1.02; margin-bottom: 24px; transition: opacity .38s, transform .38s var(--ease-out); }
.swap { opacity: 0; transform: translateY(6px); }
.week { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 24px; }
.day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); }
.day span { font-size: 10.5px; color: var(--dim); }
.day b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-small); font-size: 15px; color: var(--dim); }
.day i { width: 14px; height: 3px; border-radius: var(--r-bar); }
.day.done b { color: var(--text); }
.day.done i { background: var(--signal); }
.day.today span { color: var(--text); }
.day.today b { background: var(--text); color: var(--on-signal); }
.stat-row { display: flex; margin-bottom: 24px; }
.stat-row > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.stat-row > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.stat-row b { font-family: var(--mono); font-size: 34px; letter-spacing: -.04em; line-height: 1; }
.stat-row b em { font-size: 15px; color: var(--dim); letter-spacing: 0; }
.app-cta { height: 56px; border-radius: var(--r-button); background: var(--signal); color: var(--on-signal); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-weight: 600; font-size: 15px; margin-bottom: 30px; }
.app-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.list-head { display: flex; justify-content: space-between; margin-bottom: 10px; }

.tabbar { flex: none; display: flex; padding: 0 12px 30px; border-top: 1px solid var(--line); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding-top: 12px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .08em; color: var(--dim); position: relative; }
.tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { color: var(--text); }
.tab.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 2px; border-radius: var(--r-bar); background: var(--signal); }

/* ============ Ticker ============ */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tick 50s linear infinite; }
.ticker-track span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker-track i { width: 7px; height: 7px; border-radius: var(--r-bar); background: var(--signal); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: 120px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-visual { position: relative; display: flex; justify-content: center; }

.steps { list-style: none; margin: 44px 0 0; padding: 0; border-bottom: 1px solid var(--line); max-width: 470px; }
.step { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); position: relative; transition: opacity .4s; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--signal); transition: width .6s var(--ease-out); }
.step.active::before { width: 100%; }
.step-no { font-family: var(--mono); font-size: 11px; color: var(--dim); padding-top: 4px; transition: color .3s; }
.step.active .step-no { color: var(--signal); }
.step b { font-size: 17px; letter-spacing: -.01em; }
.step p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
#steps:has(.active) .step:not(.active) { opacity: .45; }

.points { list-style: none; margin: 44px 0 0; padding: 0; border-bottom: 1px solid var(--line); max-width: 470px; }
.points li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.pt-no { font-family: var(--mono); font-size: 11px; color: var(--signal); padding-top: 4px; }
.points b { font-size: 17px; }
.points p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Workout screen */
.wo { flex: 1; padding: 4px 20px 0; display: flex; flex-direction: column; overflow: hidden; }
.wo-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; }
.live-tag i { width: 8px; height: 8px; border-radius: var(--r-bar); background: var(--signal); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.wo-time { font-family: var(--mono); font-size: 76px; font-weight: 500; letter-spacing: -.06em; line-height: 1; margin: 2px 0 22px; }
.wo-stats { display: flex; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 18px; }
.wo-stats > div { flex: 1; display: grid; grid-template-columns: auto 1fr; align-items: baseline; row-gap: 6px; column-gap: 2px; }
.wo-stats > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.wo-stats .cap { grid-column: 1 / -1; }
.wo-stats b { font-family: var(--mono); font-size: 22px; letter-spacing: -.03em; }
.wo-stats em { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.flash { color: var(--signal) !important; transition: color .3s; }
.wo-segs { margin-bottom: 26px; }
.ex-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ex-title { font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.ex-cols, .ex-row { display: grid; grid-template-columns: 34px 1fr 64px 52px 28px; gap: 8px; align-items: center; padding: 0 10px; }
.ex-cols { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--dim); padding-bottom: 8px; }
.ex-cols span:nth-child(3), .ex-cols span:nth-child(4) { text-align: center; }
.ex-row { height: 52px; border-top: 1px solid var(--line); border-radius: 0; transition: background .4s, border-color .4s; font-family: var(--mono); }
.ex-row .no { font-size: 15px; }
.ex-row .prev { font-size: 13px; color: var(--dim); }
.ex-row .val { font-size: 15px; text-align: center; }
.ex-row.done .no { color: var(--muted); }
.ex-row.idle .val { color: var(--dim); }
.ex-row.active { background: var(--raised); border-color: transparent; border-radius: var(--r-control); }
.ex-row.active + .ex-row { border-top-color: transparent; }
.ex-row.active .val.box { height: 36px; display: grid; place-items: center; background: var(--bg); border-radius: var(--r-control); font-size: 17px; }
.ck { width: 28px; height: 28px; border-radius: var(--r-small); box-shadow: inset 0 0 0 1.5px var(--line-strong); display: grid; place-items: center; transition: background .25s, box-shadow .25s, transform .25s var(--ease-out); }
.ex-row.active .ck { box-shadow: inset 0 0 0 1.5px var(--text); }
.ck svg { width: 16px; height: 16px; fill: none; stroke: var(--on-signal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.ck.on { background: var(--signal); box-shadow: none; }
.ck.on svg { opacity: 1; }
.ck.pop { transform: scale(1.18); }
.add-set { height: 48px; display: flex; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; }
.restbar { flex: none; border-top: 1px solid var(--line); background: var(--bg); }
.rest-track { height: 3px; background: transparent; position: relative; overflow: hidden; }
.rest-track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--signal); transition: width 1s linear; }
.rest-row { display: flex; align-items: center; gap: 10px; padding: 14px 20px 34px; }
.rest-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.rest-txt b { font-family: var(--mono); font-size: 28px; letter-spacing: -.04em; line-height: 1; }
.restbar .pill { height: 48px; padding: 0 14px; font-size: 15px; }
.restbar .app-btn { height: 48px; }

/* Summary screen */
.sum { flex: 1; padding: 4px 20px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.sum-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ib { width: 36px; height: 36px; border-radius: var(--r-control); background: var(--raised); display: grid; place-items: center; }
.ib svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sum-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: var(--signal); }
.sum-badge i { width: 16px; height: 16px; border-radius: 4px; background: var(--signal); display: grid; place-items: center; }
.sum-badge svg { width: 12px; height: 12px; fill: none; stroke: var(--on-signal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sum-title { font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.sum-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 8px 0; }
.sum-grid > div { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; }
.sum-grid > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
.sum-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.sum-grid b { font-family: var(--mono); font-size: 30px; letter-spacing: -.04em; line-height: 1; }
.sum-grid b i { font-style: normal; }
.sum-grid em { font-size: 13px; color: var(--dim); margin-left: 3px; letter-spacing: 0; }
.sum-grid em.signal { color: var(--signal); }
.pr-row { display: flex; align-items: center; gap: 14px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.tag { font-family: var(--mono); font-size: 10px; font-weight: 600; background: var(--signal); color: var(--on-signal); padding: 4px 6px; border-radius: var(--r-small); }
.pr-row > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pr-row b { font-family: var(--mono); font-size: 16px; }
.pr-row span:not(.tag) { font-size: 13px; color: var(--muted); }
.pr-row em { font-family: var(--mono); font-size: 11px; color: var(--signal); }
.sum-sec-head { display: flex; justify-content: space-between; margin-top: 8px; }
.sum-bars { height: 96px; gap: 6px; }
.sum-bar { flex: none; display: flex; gap: 10px; padding: 14px 20px 34px; border-top: 1px solid var(--line); }
.sum-bar .app-btn { flex: 1; height: 52px; }

/* Story + sticker */
.recap-visual { gap: 0; }
.story {
  position: absolute; right: -10px; bottom: -30px; z-index: 3;
  width: 236px;
  transform: rotate(4deg);
}
.story-inner {
  height: 420px; border-radius: 22px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 25%, transparent 55%, rgba(0, 0, 0, .7)), url(img/story.jpg) center / cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -20px rgba(0, 0, 0, .9);
  padding: 10px;
}
.story-bars { display: flex; gap: 3px; }
.story-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.story-bars i.on { background: #fff; }
.story-head { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 11px; }
.story-ava { width: 22px; height: 22px; border-radius: 50%; background: #D9D9D6; }
.story-head b { font-weight: 600; }
.story-head span:last-child { color: rgba(255, 255, 255, .7); }
/* Story-Sticker: Original-Design aus „09 · Share-Sticker“ (bewusst nicht im SX-Stil) */
.sticker {
  position: absolute; left: 50%; top: 54%;
  width: max-content;
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px;
  font-family: "Noto Sans", sans-serif; color: #fff; text-align: center;
  transform: translate(-50%, -50%) scale(.62); transform-origin: center;
}
.sticker, .sticker * { text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.st-stats { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.st-stats > div { display: flex; flex-direction: column; align-items: center; }
.st-stats span { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .8); line-height: 1.35; }
.st-stats b { font-size: 34px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.2; white-space: nowrap; transition: opacity .38s, transform .38s var(--ease-out); }
.st-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.st-bars i { width: 4px; height: var(--h); border-radius: 1px; background: #fff; box-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.st-brand { padding-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: 4.5px; margin-right: -4.5px; }
.story-tag { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transform: rotate(-4deg); }
.story-tag i { width: 7px; height: 7px; border-radius: 1px; background: var(--signal); flex: none; }
.story-tag span { transition: opacity .38s, transform .38s var(--ease-out); }

/* ============ Feature grid (Haarlinien statt Karten) ============ */
.grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  margin-top: 56px;
}
.cell {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 24px; display: flex; flex-direction: column; gap: 18px; min-height: 340px;
  position: relative; transition: background .3s;
}
.cell:hover { background: #0E0E0E; }
.grid .cell-vol { grid-column: 1 / 4; }
.grid .cell-rest { grid-column: 4 / 6; }
.grid .cell-goal { grid-column: 6 / 7; }
.grid .cell-plans { grid-column: 1 / 4; }
.grid .cell-hist { grid-column: 4 / 6; }
.grid .cell-sync { grid-column: 6 / 7; }
.cell-head { display: flex; justify-content: space-between; align-items: center; }
.cell-copy { margin-top: auto; }
.cell-rest .rest-meta { display: flex; justify-content: space-between; margin-top: -6px; }
.cell-copy h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.cell-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.bars.big { height: 150px; gap: 8px; }
.bars.big > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 8px; }
.bars.big > div i { flex: none; }
.bars.big span { font-family: var(--mono); font-size: 10px; color: var(--dim); text-align: center; }
.big-num { font-family: var(--mono); font-size: clamp(56px, 6vw, 88px); font-weight: 500; letter-spacing: -.07em; line-height: 1; }
.big-num em { font-size: .35em; color: var(--dim); letter-spacing: 0; }
.cell .rest-track { height: 4px; background: var(--line-strong); border-radius: var(--r-bar); }
.spin-bar { animation: restbar 90s linear infinite; width: 100% !important; transform-origin: left; }
@keyframes restbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.rows { border-bottom: 1px solid var(--line); }
.rows .plan-row em { line-height: 1.6; padding-top: 4px; }
.hist-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.hist-row > div { display: flex; flex-direction: column; gap: 4px; }
.hist-row b { font-size: 17px; }
.hist-row em { font-family: var(--mono); font-size: 15px; }
.sync-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sync-list span { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }

/* ============ Widgets ============ */
.widgets { display: flex; gap: 16px; margin-top: 44px; }
.widget { width: 170px; height: 170px; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.w-top { display: flex; justify-content: space-between; align-items: center; }
.w-num { font-family: var(--mono); font-size: 52px; font-weight: 500; letter-spacing: -.06em; line-height: .95; }
.w-num em { font-size: 18px; color: var(--dim); letter-spacing: 0; }
.w-hint { margin-top: 8px; }
.w-title { font-size: 28px; font-weight: 500; letter-spacing: -.035em; margin: 6px 0 2px; }

/* Lock screen */
.screen-lock { background: linear-gradient(180deg, #26262A 0%, #101012 60%, #050505 100%); }
.lock { text-align: center; padding-top: 4px; font-family: Inter, sans-serif; }
.lock-date { font-size: 21px; font-weight: 500; opacity: .9; margin-top: 14px; }
.lock-time { font-size: 96px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.lock-widgets { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; }
.lw-ring { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.lw-ring svg:not(.flame) { position: absolute; inset: 6px; width: 52px; height: 52px; transform: rotate(-90deg); }
.lw-ring circle { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 5; }
.lw-ring .lw-prog { stroke: #fff; stroke-dasharray: 157; stroke-dashoffset: 39; stroke-linecap: round; }
.lw-ring b { font-size: 16px; font-weight: 700; }
.lw-ring em { font-size: 10px; opacity: .8; }
.flame { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; }
.lw-rect { width: 160px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, .12); text-align: left; padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; }
.lw-rect span { font-size: 10px; font-weight: 700; letter-spacing: .08em; opacity: .7; }
.lw-rect b { font-size: 16px; font-weight: 700; }
.lw-rect em { font-size: 11px; opacity: .8; }
.live { margin: auto 12px 20px; background: rgba(10, 10, 10, .95); border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.live-top { display: flex; align-items: center; gap: 10px; }
.live-name { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.live-name b { font-size: 16px; }
.live-name .cap { font-size: 9.5px; }
.live-name .sq { width: 6px; height: 6px; }
.live-time { font-family: var(--mono); font-size: 30px; letter-spacing: -.04em; }
.live-ex { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); padding-top: 12px; }
.live-ex b { font-size: 15px; }
.live-prog-head { display: flex; justify-content: space-between; margin-bottom: 7px; }
.live-prog-head .mono { font-size: 12px; }
.track { height: 3px; border-radius: var(--r-bar); background: var(--line-strong); overflow: hidden; }
.track i { display: block; height: 100%; width: calc(var(--p, .7) * 100%); background: var(--signal); transition: width 1s linear; }
.live-btns { display: flex; gap: 8px; }
.live-btns .app-btn { flex: 1; height: 40px; font-size: 13.5px; border-radius: var(--r-control); }
.lock-bottom { display: flex; justify-content: space-between; padding: 0 46px 44px; }
.lock-bottom span { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.lock-bottom svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* ============ App-Icon ============ */
.icon-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.icon-head .body { margin-bottom: 24px; }
.icons { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 32px; }
.icon-fig { padding: 32px 32px 32px 0; display: flex; flex-direction: column; gap: 24px; }
.icon-fig + .icon-fig { border-left: 1px solid var(--line); padding-left: 32px; }
.app-icon { width: min(220px, 100%); aspect-ratio: 1; transition: transform .5s var(--ease-out); }
.icon-fig:hover .app-icon { transform: translateY(-6px); }
.app-icon .mark { width: 100%; }
.app-icon.dark .mark { background: #000; }
.app-icon.dark .mark b { color: var(--signal); }
.app-icon.dark .mark i { background: var(--text); }
.app-icon.tinted .mark { background: #2A2A2D; }
.app-icon.tinted .mark i { background: var(--text); }
.icon-fig figcaption { display: flex; flex-direction: column; gap: 6px; }
.icon-fig figcaption b { font-size: 20px; }

/* ============ CTA ============ */
.cta { padding: 120px 0 140px; }
.cta-inner { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: end; }
.cta-title { font-size: clamp(48px, 6vw, 92px); font-weight: 500; letter-spacing: -.055em; line-height: .95; margin: 0; }
.cta-side { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; padding-bottom: 10px; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; gap: 32px; }
.footer nav { display: flex; gap: 24px; margin-left: auto; }
.footer nav a { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer nav a:hover { color: var(--text); }

/* ============ Reveal ============ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="rise"] { transform: translateY(40px); }
[data-reveal].in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 70ms + .1s); }
[data-split].in .w > span { transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-grid, .split, .icon-head, .cta-inner { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .hero-visual { min-height: 0; margin-top: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid .cell-vol, .grid .cell-plans { grid-column: 1 / 3; }
  .grid .cell-rest, .grid .cell-goal, .grid .cell-hist, .grid .cell-sync { grid-column: auto; }
  .story { right: 4%; }
}
@media (max-width: 760px) {
  .hero-title { white-space: normal; }
  .container, .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner .btn-sm { margin-left: auto; }
  .hero { padding-top: 120px; }
  .float-set { left: -6px; top: 40px; transform: scale(.82); transform-origin: top left; }
  .float-vol { right: -6px; bottom: 30px; transform: scale(.82); transform-origin: bottom right; }
  .device { --s: .7 !important; }
  .section { padding: 84px 0; }
  .grid { grid-template-columns: 1fr; }
  .grid .cell { grid-column: 1 / -1 !important; min-height: 0; }
  .icons { grid-template-columns: 1fr; }
  .icon-fig + .icon-fig { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .story { width: 180px; right: -4px; bottom: -40px; }
  .story-inner { height: 320px; }
  .sticker { transform: translate(-50%, -50%) scale(.48); }
  .widgets { flex-wrap: wrap; }
  .footer-inner { flex-wrap: wrap; }
  .footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], [data-split] .w > span, .bars i { opacity: 1; transform: none; }
}
