/* digitera. Hero-Labor 3
 * Basis: Hero-Labor 2, Variante 2. Text oben, iPhone darunter.
 * Nach dem Klick: links das Ergebnis, rechts das Team. Die Routine-Termine wandern als Chips zum Team.
 * Bewegung nach Emil Kowalski: nur transform/opacity (Ausnahme: stroke-dashoffset des Hakens),
 * eigene Kurven, Federn über linear(), Stagger 70 ms, reduzierte Bewegung = Endzustand.
 */

@font-face {
  font-family: "Forum Serif";
  src: url("../assets/fonts/ForumSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --bg-subtle: #F6F6F5;
  --line: #E6E6E4;
  --line-strong: #D6D6D3;
  --ink: #1D1D1F;
  --ink-2: #5F5F5F;
  --ink-3: #8E8E8E;
  --brand: #FF3B30;       /* Primärfarbe = Apple-Kalender-Rot (Owner 25.09.) */
  --brand-ink: #D70015;   /* rote Schrift auf Weiß, 5,4 : 1 */
  --brand-cta: #1D1D1F;   /* v5 (Owner 26.09.): CTAs schwarz statt rot; auf Dunkel weiß */
  --brand-cta-old: #E0281D;   /* Button-Fläche: weiße Schrift 4,7 : 1 (#FF3B30 hätte nur 3,6) */

  --font-display: "Forum Serif", Georgia, "Times New Roman", serif;
  --font-text: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Helvetica Neue", sans-serif;

  /* Kurven aus dem Emil-Skill, nicht selbst erfunden */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  /* Federn: per JS als linear() aus { duration, bounce } berechnet; Rückfall ease-out */
  --spring-pop: var(--ease-out);
  --spring-pop-ms: 560ms;
  --spring-banner: var(--ease-drawer);
  --spring-banner-ms: 620ms;

  --gutter: clamp(16px, 4.4vw, 64px);
  --hdr-h: 64px;
  --side-gap: 56px;
  --card-w: 292px;

  --ios-red: #FF3B30;
  --ios-gray: #8E8E93;
  --ios-sep: #E3E3E8;
  --s: .8;
  --crop: 904px;

  /* Haken: Kreis Mars Orange, Haken weiß (Grafik, Kontrast 3,2 : 1) */
  --ck-bg: #248A3D;   /* Apple-Grün, dunkle Stufe: weißer Haken 4,6 : 1 */
  --ck-fg: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--hdr-h); padding: 0 max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  background: rgba(255,255,255,0);
  transition: background-color 320ms var(--ease-out), -webkit-backdrop-filter 320ms var(--ease-out), backdrop-filter 320ms var(--ease-out);
}
/* Liquid Glass erst beim Scrollen, ohne Linie: Milchglas, Sättigung, weiche Tiefe */
.hdr.is-scrolled {
  background: rgba(255,255,255,.58);
  -webkit-backdrop-filter: blur(22px) saturate(1.9) brightness(1.04); backdrop-filter: blur(22px) saturate(1.9) brightness(1.04);
}
body { padding-top: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; padding: 8px 0; }
.brand-mark { width: 28px; height: 28px; transform: translateY(-5.5px); }
.wordmark { font-family: var(--font-text); font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.wordmark i, .d-key i { font-style: normal; color: var(--brand); }
.hdr-nav { display: flex; gap: 32px; font-size: 14px; color: var(--ink-2); }
.hdr-nav a { transition: color 160ms ease; }
.hdr-cta {
  justify-self: end; display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
  border-radius: 999px; background: var(--brand-cta); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.hdr-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .hdr-nav a:hover { color: var(--ink); }
  .hdr-cta:hover { background: #000; }
}

/* ---------- Text oben ---------- */
.hero { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(28px, 6.2vh, 64px); }

.chip-claim {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); background: var(--bg-subtle);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.display {
  margin: 24px 0 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 5vw, 76px); line-height: 1.02; letter-spacing: -.03em; color: var(--ink);
  text-wrap: balance;
}
.d-soft { color: var(--ink); white-space: nowrap; }
.d-key { color: var(--ink); white-space: nowrap; }
.sub { margin-top: 20px; max-width: 860px; font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 900px) { .sub > span { display: block; } }

/* ---------- Auslöser (links vom iPhone): dunkle Pill mit Team, Handschrift-Hinweis ---------- */
.trigger { position: relative; width: max-content; max-width: 100vw; transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out); }
.go {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px 0 10px;
  border-radius: 32px; background: var(--ink); color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; text-align: left;
  box-shadow: 0 10px 24px -10px rgba(29,29,31,.45);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  animation: nudge-x 800ms var(--ease-out) 1.8s 1 both;
}
.go::before {
  content: ""; position: absolute; inset: -5px; border-radius: 37px; border: 2px solid var(--brand);
  opacity: 0; z-index: -1; pointer-events: none;
  animation: go-ring 2.2s var(--ease-out) 1.2s 3;
}
@keyframes go-ring { 0% { opacity: .6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.08); } }
@keyframes nudge-x { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(8px); } 40% { transform: translateX(0); } 58% { transform: translateX(4px); } 76% { transform: translateX(0); } }
@keyframes arrow-go { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.go:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .go:hover { background: #000; } }
.go-team { display: flex; flex: none; }
.go-team img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ink); background: var(--bg-subtle); }
.go-team img + img { margin-left: -10px; }
.go-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.go-arrow { color: var(--brand); flex: none; }
.go-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; animation: arrow-go 1.6s var(--ease-in-out) 1.2s 4; }
.go[aria-disabled="true"] { cursor: default; }
.has-played .go, .has-played .go::before, .has-played .go-arrow svg { animation: none; }

@media (min-width: 1100px) and (max-width: 1239px) {
  .go { font-size: 14.5px; gap: 10px; padding: 0 16px 0 8px; }
  .go-team img { width: 28px; height: 28px; }
}
/* Handschrift: einmal gezeichnetes SVG-Lettering, Pfeil zeigt auf den Button */
.hint { position: absolute; left: 6px; bottom: calc(100% + 4px); display: flex; align-items: flex-end; gap: 2px; color: var(--brand-ink); pointer-events: none; }
.hint-text { width: 150px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-4deg); margin-bottom: 14px; }
.hint-arrow { width: 46px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-bottom: -10px; }

/* Nach dem Start: Auslöser weicht, Stunden-Stream übernimmt denselben Platz */
.is-streaming .trigger { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity 200ms ease, transform 220ms var(--ease-out), visibility 0s 220ms; }

/* ---------- Bühne: Ergebnis | iPhone | Team ---------- */
.stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; max-width: 1280px; margin: clamp(40px, 6.4vh, 64px) auto 0; padding-bottom: 96px;
}
.device { grid-column: 2; grid-row: 1; position: relative; }
.side-r { grid-column: 3; grid-row: 1; min-width: 0; padding-left: var(--side-gap); }
.left {
  grid-column: 1; grid-row: 1; align-self: start; justify-self: end; position: relative;
  width: calc(var(--card-w) + var(--side-gap)); padding-right: var(--side-gap);
  margin-top: calc(300px * var(--s)); display: flex; justify-content: flex-end;
}
.left .stream { right: var(--side-gap); }
.crew { display: none; }
.flights { position: absolute; inset: 0; pointer-events: none; z-index: 20; }

/* ---------- iPhone 17 Pro (Silber) ---------- */
.device-crop { position: relative; }
.phone-box { position: relative; width: calc(432px * var(--s)); height: calc(904px * var(--s)); }
.phone { position: absolute; top: 0; left: 0; width: 432px; height: 904px; transform: scale(var(--s)); transform-origin: 0 0; }
.frame {
  position: absolute; inset: 0; border-radius: 77px;
  background: linear-gradient(150deg, #F4F4F5 0%, #C9CACD 18%, #E7E8EA 50%, #BDBEC1 80%, #EEEEEF 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7),
    inset 0 0 0 2.5px rgba(160,162,166,.35),
    0 0 0 .5px rgba(0,0,0,.10);
}
.phone-box::before {
  content: ""; position: absolute; inset: 0; border-radius: calc(77px * var(--s));
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 22px 44px -18px rgba(0,0,0,.24), 0 56px 100px -40px rgba(0,0,0,.22);
}
.bezel { position: absolute; inset: 4.5px; border-radius: 72.5px; background: #0B0B0C; box-shadow: 0 0 0 .75px rgba(120,122,126,.5); }
.screen {
  position: absolute; inset: 10.5px; border-radius: 62px; overflow: hidden; background: #fff;
  font-family: var(--font-ios); color: #000; -webkit-font-smoothing: antialiased; letter-spacing: -.01em;
  isolation: isolate;
}
.hw { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #B9BABD, #E9EAEC 55%, #C4C5C8); }
.hw-action { left: -2.5px; top: 190px; height: 34px; }
.hw-volup { left: -2.5px; top: 252px; height: 64px; }
.hw-voldn { left: -2.5px; top: 330px; height: 64px; }
.hw-side { right: -2.5px; top: 282px; height: 104px; background: linear-gradient(270deg, #B9BABD, #E9EAEC 55%, #C4C5C8); }
.hw-cam { right: -1.5px; top: 548px; height: 66px; width: 3px; background: linear-gradient(270deg, #A9AAAD, #D8D9DC); }

.sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 6; }
.sb-time { position: absolute; left: 2px; width: 136px; top: 19px; text-align: center; font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sb-icons { position: absolute; right: 31px; top: 24px; display: flex; align-items: center; gap: 6px; color: #000; }
.sb-cell { width: 18px; height: 12px; fill: currentColor; }
.sb-wifi { width: 16px; height: 12px; fill: currentColor; }
.sb-batt { width: 28px; height: 13px; fill: currentColor; margin-left: 1px; }
.island { position: absolute; top: 11px; left: 50%; width: 126px; height: 37px; margin-left: -63px; border-radius: 19px; background: #000; z-index: 7; }

.glass {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(246,246,247,.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.8);
  backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04), inset 0 1px 1px rgba(255,255,255,.9);
  color: #3A3A3C;
}
.glass-cap { height: 44px; border-radius: 22px; }
.glass-round { width: 44px; height: 44px; border-radius: 50%; }
.glass svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

.cal-nav { position: absolute; top: 60px; left: 16px; right: 16px; height: 44px; display: flex; justify-content: space-between; z-index: 3; }
.nav-back { gap: 5px; padding: 0 16px 0 12px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.nav-back svg { width: 11px; height: 19px; stroke-width: 2.6; }
.nav-right { display: flex; gap: 8px; }
.nav-tools { gap: 18px; padding: 0 14px; }
.nav-tools svg { width: 22px; height: 22px; stroke-width: 2.1; }
.nav-tools svg circle[r="1.2"] { fill: currentColor; stroke: none; }
.nav-add svg { width: 21px; height: 21px; stroke-width: 2.3; }

.week { position: absolute; top: 114px; left: 6px; right: 6px; display: grid; grid-template-columns: repeat(7, 1fr); z-index: 2; }
.wd { display: flex; flex-direction: column; align-items: center; }
.wd-l { font-size: 11px; line-height: 13px; font-weight: 600; color: var(--ios-gray); letter-spacing: .02em; }
.wd-n { margin-top: 5px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wd.is-weekend .wd-n { color: var(--ios-gray); }
.wd.is-today .wd-n { background: #1D1D1F; color: #fff; font-weight: 600; }
.date-line { position: absolute; top: 172px; left: 0; right: 0; text-align: center; font-size: 15px; line-height: 20px; letter-spacing: -.01em; color: #000; }
.date-line::after { content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 1px; background: var(--ios-sep); }

.grid { position: absolute; inset: 0; }
.hour { position: absolute; left: 0; right: 0; height: 1px; }
.hour::after { content: ""; position: absolute; left: 54px; right: 0; top: 0; height: 1px; background: var(--ios-sep); }
.hour span { position: absolute; left: 0; width: 46px; top: -7px; text-align: right; font-size: 11.5px; line-height: 14px; font-weight: 500; color: var(--ios-gray); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.hour.is-hidden span { opacity: 0; }

/* Termin: Fläche (.ev-bg) getrennt vom Text, damit die bleibenden Termine per scaleX breiter werden
   können, ohne width zu animieren. */
.ev {
  --c: #007AFF; --tint: #DBEBFF; --txt: #0060D6;
  position: absolute; border-radius: 6px; overflow: hidden; color: var(--txt);
  padding: 3.5px 6px 0 9px;
  font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: -.015em;
  transform-origin: 50% 0;
  transition: opacity 240ms ease;
}
.ev-bg { position: absolute; inset: 0; border-radius: 6px; background: var(--tint); transform-origin: 0 50%; transition: transform 520ms var(--ease-in-out); }
.ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3.5px; background: var(--c); z-index: 1; }
.ev.c-blue { --c: #007AFF; --tint: #DBEBFF; --txt: #0060D6; }
.ev.c-violet { --c: #AF52DE; --tint: #F3E6FA; --txt: #8A33B8; }
.ev.c-green { --c: #34C759; --tint: #DCF5E2; --txt: #1F7A38; }
.ev-t { position: relative; display: block; }
.ev.is-lifted .ev-t { opacity: 0; }
.ev.is-gone { opacity: 0; visibility: hidden; transition: none; }

.now { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: 2; pointer-events: none; }
.now::after { content: ""; position: absolute; left: 48px; right: 0; top: -.75px; height: 1.5px; background: var(--ios-red); }
.now-pill { position: absolute; left: 4px; top: -9px; width: 46px; height: 18px; border-radius: 9px; background: var(--ios-red); color: #fff; font-size: 12px; line-height: 18px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.edge-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 128px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.86) 62%, #fff); }
.tabbar { position: absolute; left: 16px; right: 16px; bottom: 26px; display: flex; justify-content: space-between; z-index: 3; }
.tabbar .glass { height: 48px; border-radius: 24px; }
.tb-today { padding: 0 20px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.tb-right { gap: 24px; padding: 0 18px; }
.tb-right svg { width: 25px; height: 25px; stroke-width: 1.9; }
.home-ind { position: absolute; bottom: 8px; left: 50%; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: #000; z-index: 4; }

/* ---------- iOS-Mitteilung (Liquid Glass) ---------- */
.banner {
  position: absolute; top: 56px; left: 10px; right: 10px; z-index: 8;
  display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center;
  padding: 12px 16px 13px 13px; border-radius: 26px;
  background: rgba(28,28,30,.86);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 0 0 .6px rgba(255,255,255,.08), 0 14px 36px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.10);
  color: #fff;
  opacity: 0; transform: translateY(-125%) scale(.96);
  /* Ausfahren schneller als Einfahren */
  transition: transform 380ms var(--ease-out), opacity 240ms ease;
}
.banner.is-in {
  opacity: 1; transform: none;
  transition: transform var(--spring-banner-ms) var(--spring-banner), opacity 200ms ease;
}
.banner-icon { width: 38px; height: 38px; border-radius: 9px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 .6px rgba(255,255,255,.2); }
.banner-icon img { width: 27px; height: 27px; }
.banner-body { min-width: 0; }
.banner-top { display: flex; justify-content: space-between; align-items: baseline; }
.banner-top b { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.banner-top span { font-size: 13px; color: rgba(235,235,245,.6); }
.banner-title, .banner-text { display: block; font-size: 15px; line-height: 20px; letter-spacing: -.02em; color: #fff; }
.banner-title { font-weight: 600; }

/* ---------- Avatar mit Fortschrittsring und Haken (Desktop-Karte und mobile Reihe) ---------- */
.av { position: relative; width: var(--av, 44px); height: var(--av, 44px); flex: none; }
.av-img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--bg-subtle); }
.av-img img { width: 100%; height: 100%; object-fit: cover; }
/* Ring nur mit transform: zwei Halbkreise drehen sich in zwei festen Hälften */
.st { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; z-index: 2; }
.av-ring { position: absolute; inset: -4px; border-radius: 50%; opacity: 0; transition: opacity 260ms ease; }
.av-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--line); }
.av-ring .h { position: absolute; inset: 0; }
.av-ring .h-r { clip-path: inset(0 0 0 50%); }
.av-ring .h-l { clip-path: inset(0 50% 0 0); }
.av-ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); }
.av-ring .h-r i { clip-path: inset(0 50% 0 0); }
.av-ring .h-l i { clip-path: inset(0 0 0 50%); }
.is-working .av-ring { opacity: 1; }
.is-done .av-ring { opacity: 0; transition-duration: 200ms; }

/* Haken-Komponente (playCheck): Kreis ploppt, Haken zeichnet sich, 8 Striche als Burst */
.ck { position: absolute; inset: 0; pointer-events: none; }
.ck-disc { position: absolute; inset: 0; border-radius: 50%; background: var(--ck-bg); box-shadow: 0 0 0 2px #fff; opacity: 0; transform: scale(.6); }
.ck svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ck path { fill: none; stroke: var(--ck-fg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ck-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.ck-burst i { position: absolute; left: 0; top: -.8px; width: 5px; height: 1.6px; border-radius: 1px; background: var(--ck-bg); transform-origin: 0 50%; opacity: 0; }
.ck.ck-on .ck-disc { opacity: 1; transform: none; }
.ck.ck-on path { stroke-dashoffset: 0; }

/* ---------- Team rechts (Desktop): nur Avatare, luftig, der mittlere leicht versetzt ---------- */
.team { display: flex; flex-direction: column; gap: 60px; width: var(--card-w); }
.tm { display: flex; align-items: center; gap: 18px; }
.tm:nth-child(2) { margin-left: 44px; }
.tm .av { --av: 72px; }
/* 1. Avatar ploppt (Feder mit deutlichem Überschwingen), nacheinander mit 200 ms Versatz */
.tm .av, .cf .av {
  opacity: 0; transform: scale(.35);
  transition: transform var(--spring-plop-ms, 620ms) var(--spring-plop, cubic-bezier(0.34,1.56,0.64,1)), opacity 160ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.is-started .tm .av, .is-started .cf .av { opacity: 1; transform: none; }
/* 2. Danach Name und Zuständigkeit daneben */
.tm-text {
  min-width: 0; display: flex; flex-direction: column; line-height: 1.3;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 160ms ease, transform 180ms var(--ease-out);
}
.is-started .tm-text { opacity: 1; transform: none; transition: opacity 320ms var(--ease-out) calc(var(--i, 0) * 120ms + 140ms), transform 360ms var(--ease-out) calc(var(--i, 0) * 120ms + 140ms); }
.tm-text b { font-size: 16px; font-weight: 600; color: var(--ink); }
.tm-sub { display: grid; font-size: 14px; color: var(--ink-2); }
.tm-sub > span { grid-area: 1 / 1; transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out); }
.tm-res { opacity: 0; transform: translateY(6px); }
/* 3. Nach dem Haken ersetzt das Ergebnis die Zuständigkeit (kein zweites „fertig“) */
.tm.is-done .tm-role { opacity: 0; transform: translateY(-6px); }
.tm.is-done .tm-res { opacity: 1; transform: none; color: var(--ink); transition-delay: 120ms; }

/* Zähler am Avatar, solange Aufgaben ankommen */
.av-count {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--ink); color: #fff; box-shadow: 0 0 0 2px #fff;
  font-size: 12px; line-height: 28px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums;
  opacity: 0; transform: scale(.8); transition: opacity 180ms ease, transform 240ms var(--ease-out);
}
.av-count.has-n { opacity: 1; transform: none; }
.is-done .av-count { opacity: 0; transform: scale(.8); }


/* ---------- Fliegende Termine: sehen aus wie der Termin selbst ---------- */
.chip { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; }
.chip-ev {
  --c: #007AFF; --tint: #DBEBFF; --txt: #0060D6;
  position: relative; border-radius: 6px; overflow: hidden; background: var(--tint); color: var(--txt);
  padding: 3.5px 6px 0 9px;
  font-family: var(--font-ios); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: -.015em;
  -webkit-font-smoothing: antialiased;
}
.chip-ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3.5px; background: var(--c); }
.chip-ev.c-violet { --c: #AF52DE; --tint: #F3E6FA; --txt: #8A33B8; }
.chip-ev.c-green { --c: #34C759; --tint: #DCF5E2; --txt: #1F7A38; }
.chip-t { display: block; }
.chip-shadow { position: absolute; left: 0; top: 0; border-radius: 6px; box-shadow: 0 10px 24px -10px rgba(29,29,31,.35), 0 1px 3px rgba(29,29,31,.10); opacity: 0; }

/* ---------- Links: Stunden-Stream ---------- */
.stream {
  position: absolute; right: 0; top: 0; display: flex; flex-direction: column; align-items: flex-end; text-align: right;
  opacity: 0; transform: translateY(8px); visibility: hidden;
  transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 0s 180ms;
}
.is-streaming .stream { opacity: 1; transform: none; visibility: visible; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.res-num { font-family: var(--font-display); font-size: clamp(52px, 4.8vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.res-n { display: inline-block; min-width: 1.1em; text-align: right; }
.res-foot { display: flex; align-items: center; gap: 18px; margin-top: 2px; opacity: 0; transition: opacity 200ms ease; }
.is-done .res-foot { opacity: 1; transition: opacity 360ms var(--ease-out) 300ms; }
.res-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  font-size: 13px; color: var(--ink-2); transition: color 160ms ease, transform 160ms var(--ease-out);
}
.res-btn:active { transform: scale(.97); }
.res-btn svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound .snd-off, .sound[aria-pressed="false"] .snd-on { display: none; }
.sound[aria-pressed="false"] .snd-off { display: block; }
@media (hover: hover) and (pointer: fine) { .res-btn:hover { color: var(--ink); } }

/* ---------- Angebot unten rechts (nicht modal) ---------- */
.offer {
  position: fixed; right: 24px; bottom: 24px; z-index: 50; width: min(420px, calc(100vw - 32px));
  padding: 28px 28px 24px; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(29,29,31,.28);
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity 240ms ease, transform 320ms var(--ease-out);
}
.offer.is-in { opacity: 1; transform: none; transition: opacity 320ms var(--ease-out), transform var(--spring-pop-ms) var(--spring-pop); }
.offer-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background-color 160ms ease; }
.offer-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .offer-x:hover { background: var(--bg-subtle); color: var(--ink); } }
.offer-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.offer-title { margin: 10px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.offer-text { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); text-align: center; text-wrap: pretty; }
.offer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.offer-form label { display: grid; gap: 6px; min-width: 0; font-size: 13px; color: var(--ink-2); }
.offer-form .wide { grid-column: 1 / -1; }
.offer-form input {
  width: 100%; min-width: 0; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-subtle);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color 160ms ease, background-color 160ms ease;
}
.offer-form input::placeholder { color: var(--ink-3); }
.offer-form input:focus { outline: none; border-color: var(--ink); background: #fff; }
.offer-submit { grid-column: 1 / -1; height: 48px; margin-top: 4px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.offer-submit:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .offer-submit:hover { background: #000; } }
.offer-done { margin-top: 20px; text-align: center; font-size: 15px; font-weight: 600; }
.offer-done span { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.offer-done a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Unter 1100 px: Auslöser/Stunden oben, Avatar-Reihe, iPhone darunter ---------- */
@media (max-width: 1099px) {
  :root { --crop: 770px; }
  .stage { grid-template-columns: minmax(0, 1fr); justify-items: center; margin-top: 28px; padding-bottom: 72px; overflow-x: clip; }
  .side-r { display: none; }
  .left { grid-column: 1; grid-row: 1; justify-self: center; width: 100%; max-width: 380px; margin: 34px 0 0; padding: 0; justify-content: center; min-height: 64px; }
  .left .stream { right: auto; left: 50%; transform: translate(-50%, 8px); align-items: center; text-align: center; }
  .is-streaming .left .stream { transform: translate(-50%, 0); }
  .res-num { font-size: 44px; }
  .res-foot { margin-top: 4px; gap: 22px; }
  .res-btn { min-height: 44px; }
  .crew { display: block; grid-row: 2; margin: 22px 0 14px; }
  .device { grid-column: 1; grid-row: 3; }

  /* iPhone unten angeschnitten und ausgeblendet */
  .device-crop { height: calc(var(--crop) * var(--s)); clip-path: inset(-60px -48px 0 -48px); }
  .device-crop::after {
    content: ""; position: absolute; left: -48px; right: -48px; bottom: 0; height: 64px; z-index: 5; pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 88%);
  }

  .crew-faces { display: flex; gap: 26px; }
  .cf { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; }
  .cf:nth-child(2) { transform: translateY(8px); }
  .cf .av { --av: 52px; }
  .cf-name { opacity: 0; transition: opacity 260ms var(--ease-out) calc(var(--i, 0) * 120ms + 140ms); }
  .is-started .cf-name { opacity: 1; }
  .cf-name { font-size: 12px; line-height: 14px; color: var(--ink-2); }
  .cf.is-done .cf-name { color: var(--ink); font-weight: 600; }
  .cf .st { width: 22px; height: 22px; right: -4px; bottom: -3px; }
  .cf .av-count { line-height: 22px; font-size: 11px; }
  .offer { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 24px 18px 18px; }
  .offer-title { font-size: 24px; }
}

@media (max-width: 899px) {
  :root { --hdr-h: 56px; }
  .hdr { grid-template-columns: 1fr auto; }
  .hdr-nav { display: none; }
  .wordmark { font-size: 25px; }
  .brand-mark { width: 26px; height: 26px; transform: translateY(-5px); }
  .hdr-cta { height: 44px; padding: 0 16px; }
  .copy { padding-top: 26px; }
  .display { margin-top: 20px; }
  .sub { font-size: 16px; margin-top: 16px; }
  .go { height: 60px; font-size: 15px; padding: 0 16px 0 8px; gap: 10px; }
  .go-team img { width: 30px; height: 30px; }
}
@media (max-width: 374px) {
  .crew-faces { gap: 8px; }
}

/* ---------- Reduzierte Bewegung: Endzustand ohne Wege, nur kurze Überblendungen ---------- */
@media (prefers-reduced-motion: reduce) {
  .go, .go::before, .go-arrow svg { animation: none; }
  .go::before { opacity: 0; }
  .tm .av, .cf .av, .tm-text, .tm-sub > span, .trigger, .ev-bg, .av-count, .res-foot, .offer {
    transform: none !important; transition-property: opacity !important; transition-duration: 160ms !important; transition-delay: 0s !important;
  }
  .banner, .banner.is-in { transform: none; transition: opacity 200ms ease; }
}

/* Zurücksetzen ohne Übergänge (Termine blenden trotzdem weich wieder ein) */
.is-resetting .tm .av, .is-resetting .cf .av, .is-resetting .tm-text, .is-resetting .tm-sub > span, .is-resetting .cf-name, .is-resetting .stream, .is-resetting .trigger, .is-resetting .res-foot,
.is-resetting .banner, .is-resetting .ev-bg, .is-resetting .av-ring, .is-resetting .av-count,
.is-resetting .go { transition: none !important; }

/* Kein Live-Punkt am Stundenzähler (Owner 25.09.) */
.stream .nt__dot { display: none !important; }


/* ---------- Hintergrund-Optionen (subtil, nur im Hero-Bereich, läuft nach unten aus) ---------- */
body { position: relative; }
.bg { position: absolute; left: 0; right: 0; top: 0; height: 1500px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.bg > div { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms var(--ease-out); }
/* Lichtschein: warmer Hauch hinter dem iPhone, kühles Licht oben, feines Korn */
.bg-glow { display: none; }
.bg-grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
body[data-bg="2"] .bg-grain { opacity: .035; }


/* ---------- Öffnung: weiße Ebene löst sich auf, Inhalte gleiten gestaffelt herein ---------- */
.opening { position: fixed; inset: 0; z-index: 100; background: #fff; pointer-events: none; animation: opening 1600ms var(--ease-in-out) both; }
@keyframes opening { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.in { animation: enter 900ms var(--ease-out) both; }
.in-0 { animation-name: appear; animation-duration: 1200ms; animation-delay: 120ms; }
.in-1 { animation-delay: 260ms; }
.in-2 { animation-delay: 340ms; }
.in-3 { animation-delay: 420ms; }
/* iPhone-Einlauf 1:1 wie getcarl.de (gemessen 25.09.): 200 px von unten, keine Einblendung,
   1290 ms, Kurve cubic-bezier(0.6, 0, 0.34, 1), Start ~0,4 s nach dem Laden */
.in-phone { animation: phone-in 1290ms cubic-bezier(0.6, 0, 0.34, 1) 400ms both; }
@keyframes phone-in { from { transform: translateY(200px); } to { transform: none; } }
.in-4 { animation-delay: 900ms; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .opening { animation: none; opacity: 0; visibility: hidden; }
  .in, .in-phone { animation: appear 200ms ease both; animation-delay: 0ms; }
}


/* Lichtschein zentral hinter dem iPhone, in der Markenfarbe (weich, mehrstufig, ohne harte Kante) */
.device { isolation: isolate; }
.device::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 46%; width: calc(1100px * var(--s)); height: calc(1000px * var(--s));
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(255,59,48,.16), rgba(255,59,48,.07) 45%, rgba(255,59,48,0) 100%),
    radial-gradient(closest-side, rgba(255,120,90,.10), rgba(255,120,90,0) 70%);
  border-radius: 50%;
}
@media (max-width: 1099px) { .device::before { width: 150vw; height: calc(900px * var(--s)); } }

/* Aufgaben-Zähler: NumberFlow in Weiß, zentriert im dunklen Punkt */
.av-count { display: grid; place-items: center; --ticker-ink: #fff; --ticker-size: 12px; }
.av-count .nt { font-family: var(--font-text); font-weight: 600; line-height: 1; }
.cf .av-count { --ticker-size: 11px; }

/* Kein Live-Punkt im Aufgaben-Zähler */
.av-count .nt__dot { display: none !important; }

/* Avatare: nur ein kleiner, weicher Schatten */
.av-img { box-shadow: 0 1px 2px rgba(29,29,31,.08), 0 6px 14px -8px rgba(29,29,31,.28); }

/* Lichtschein hinter dem iPhone atmet langsam (nur transform/opacity, sehr ruhig) */
.device::before { animation: glow-breathe 9s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; will-change: transform, opacity; }
@keyframes glow-breathe {
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: .85; }
  50%  { transform: translate(-49%, -51%) scale(1.06) rotate(4deg); opacity: 1; }
  100% { transform: translate(-51%, -49.5%) scale(.97) rotate(-3deg); opacity: .9; }
}
@media (prefers-reduced-motion: reduce) { .device::before { animation: none; } }

/* Zähler: rund beschneiden, damit beim Rollen keine Ziffernreste als Punkt sichtbar werden */
.av-count { overflow: hidden; }
.av-count .nt__dot, .av-count .nt__dot::before, .av-count .nt__dot::after { display: none !important; content: none !important; }
.av-count number-flow { --number-flow-mask-height: 0.15em; }

/* Haken-Pfad nur sichtbar, solange der Haken aktiv ist (runde Kappe würde sonst einen Punkt zeichnen) */
.ck path { opacity: 0; }
.ck.ck-on path { opacity: 1; }
/* Ohne Auslöser: die Stunden-Spalte bleibt bis zum Start leer */
.left { min-height: 64px; }

/* ---------- Spalten-Überschriften: minimal, gleiche Typo wie der Claim-Chip (ohne Fläche) ---------- */
.side-label {
  margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
}
.side-label--left { margin-bottom: 10px; }
/* rechts: erscheint kurz vor den Avataren */
.side-label--right { opacity: 0; transform: translateY(6px); transition: opacity 160ms ease, transform 180ms var(--ease-out); }
.is-started .side-label--right { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); }
.side-label--crew { display: none; }
@media (max-width: 1099px) {
  .side-label--crew { display: block; text-align: center; margin-bottom: 12px; opacity: 0; transition: opacity 160ms ease; }
  .is-started .side-label--crew { opacity: 1; transition: opacity 420ms var(--ease-out); }
  .side-label--left { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .side-label--right { transform: none !important; } }
.is-resetting .side-label--right, .is-resetting .side-label--crew { transition: none !important; }

/* Überschriften links und rechts auf gleicher Höhe: beide Spalten mittig zum iPhone, gleiche Blockhöhe (JS) */
@media (min-width: 1100px) {
  .left { align-self: center; margin-top: 0; }
}

@media (max-width: 1099px) { .left { min-height: 118px; } }


/* ---------- Inhaltsbreite wie getcarl.de (gemessen: 1104 px, zentriert) ----------
   Kopfzeile und Text liegen auf 1104 px; die iPhone-Bühne darf breiter sein (bis 1280 px). */
:root { --content-w: 1104px; }
.hdr { padding: 0 max(var(--gutter), calc((100vw - var(--content-w)) / 2)); }
.hero { max-width: calc(var(--content-w) + 2 * var(--gutter)); }
.stage {
  --stage-w: min(1280px, calc(100vw - 2 * var(--gutter)));
  width: var(--stage-w); max-width: none;
  margin-left: calc((100% - var(--stage-w)) / 2); margin-right: 0;
}
@media (max-width: 1099px) { .stage { --stage-w: 100%; } }


/* Bildmarke (Logo-Pfeil) neben der Wortmarke */
.brand { gap: 7px; }
.brand-mark { width: 26px; height: 26px; transform: translateY(-2px); flex: none; }
/* Sehr schmale Handys (iPhone SE 320 px): Headline darf umbrechen, CTA kompakter */
@media (max-width: 400px) {
  .d-soft, .d-key { white-space: normal; }
  .display { font-size: clamp(36px, 11vw, 44px); }
}
@media (max-width: 360px) {
  .hdr-cta { padding: 0 12px; font-size: 13px; }
  .wordmark { font-size: 21px; }
  .brand-mark { width: 22px; height: 22px; }
}

/* ---------- Mobil kompakt: Stunden links, Team rechts in EINER Zeile über dem iPhone ---------- */
@media (max-width: 1099px) {
  .stage { grid-template-columns: auto auto; justify-content: center; column-gap: clamp(18px, 7vw, 40px); align-items: end; }
  .left { grid-column: 1; grid-row: 1; width: auto; max-width: none; margin: 0; justify-self: start; min-height: 104px; }
  .left .stream { left: 0; transform: translateY(8px); align-items: flex-start; text-align: left; }
  .is-streaming .left .stream { transform: none; }
  .side-label--left { text-align: left; }
  .res-num { font-size: 38px; }
  .res-foot { margin-top: 0; }
  .res-btn { min-height: 36px; }
  .crew { grid-column: 2; grid-row: 1; margin: 0 0 6px; justify-self: end; }
  .side-label--crew { text-align: left; margin-bottom: 10px; }
  .crew-faces { gap: 10px; }
  .cf { width: 52px; }
  .cf .av { --av: 46px; }
  .device { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 18px; }
}
@media (max-width: 360px) {
  .crew-faces { gap: 6px; }
  .cf { width: 46px; }
  .cf .av { --av: 40px; }
  .res-num { font-size: 32px; }
}

/* ======================================================================
   Feinschliff 26.09.: mehr Weißraum + ruhigere, „premium“ Übergänge (Emil-Skill)
   - Einblenden mit leichter Unschärfe, die sich auflöst (Blur überbrückt Überblendungen)
   - nur transform / opacity / filter(blur ≤ 6px), ease-out, kurze Staffelung
   ====================================================================== */
.copy { padding-top: clamp(56px, 10vh, 104px); }
.display { margin-top: 32px; }
.sub { margin-top: 26px; }
.stage { margin-top: clamp(64px, 9vh, 104px); }

@keyframes enter { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.in { animation-duration: 1000ms; }
.in-1 { animation-delay: 240ms; } .in-2 { animation-delay: 310ms; } .in-3 { animation-delay: 380ms; }

/* Stunden: weich aus der Unschärfe */
.stream { filter: blur(4px); transition: opacity 200ms ease, transform 220ms var(--ease-out), filter 220ms var(--ease-out), visibility 0s 220ms; }
.is-streaming .stream { filter: blur(0); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out), filter 700ms var(--ease-out); }

/* Name + Rolle neben dem Avatar: aus der Unschärfe */
.tm-text { filter: blur(4px); }
.is-started .tm-text { filter: blur(0); transition: opacity 360ms var(--ease-out) calc(var(--i, 0) * 120ms + 140ms), transform 420ms var(--ease-out) calc(var(--i, 0) * 120ms + 140ms), filter 420ms var(--ease-out) calc(var(--i, 0) * 120ms + 140ms); }
/* Rolle → Ergebnis: Überblendung mit 2 px Blur statt zwei Texte übereinander */
.tm-sub > span { transition: opacity 320ms var(--ease-out), transform 360ms var(--ease-out), filter 320ms var(--ease-out); }
.tm-res { filter: blur(2px); }
.tm.is-done .tm-role { filter: blur(2px); }
.tm.is-done .tm-res { filter: blur(0); }

/* Überschrift rechts ebenso */
.side-label--right { filter: blur(3px); }
.is-started .side-label--right { filter: blur(0); transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), filter 420ms var(--ease-out); }

/* ---------- Mobil: mehr Luft im Textblock ---------- */
@media (max-width: 1099px) {
  .copy { padding-top: 40px; }
  .display { margin-top: 24px; }
  .sub { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .in, .stream, .tm-text, .side-label--right, .tm-sub > span { filter: none !important; }
}

/* Mobil: Spaltenbreiten festlegen, damit die Überschriften nicht ineinander laufen */
@media (max-width: 1099px) {
  .side-label { font-size: 10px; letter-spacing: .12em; }
  .left { width: 124px; }
  .stage { column-gap: 22px; }
}
@media (max-width: 360px) {
  .left { width: 108px; }
  .stage { column-gap: 14px; }
  .side-label { font-size: 9.5px; letter-spacing: .1em; }
}


.res-btn { white-space: nowrap; }

/* ---------- Mobil: iPhone überlappt anfangs die (unsichtbare) Stunden-/Team-Zeile,
   beim Start gleitet es mit der Einlauf-Kurve nach unten in die Ausblendung ---------- */
@media (max-width: 1099px) {
  .stage { margin-top: 36px; }
  .device { margin-top: -58px; }
  .device-crop { clip-path: inset(-400px -48px 0 -48px); }
}

@media (max-width: 1099px) { .left, .crew { position: relative; z-index: 6; } }

/* ---------- Mobil ruhiger: Zeile exakt so breit wie das iPhone, Überschriften oben auf einer Linie ---------- */
@media (max-width: 1099px) {
  .stage {
    width: min(100%, calc(432px * var(--s))); margin-left: auto; margin-right: auto;
    grid-template-columns: 1fr auto; justify-content: stretch; align-items: start; column-gap: 16px;
  }
  .left { justify-self: start; width: auto; min-width: 118px; padding-left: calc(18px * var(--s)); }
  .crew { justify-self: end; padding-right: calc(18px * var(--s)); margin: 0; }
  .side-label--crew, .side-label--left { text-align: left; margin-bottom: 10px; }
  .cf:nth-child(2) { transform: none; }
  .is-started .cf:nth-child(2) { transform: none; }
  .res-foot { display: none !important; }
  .left { min-height: 92px; }
}
@media (max-width: 440px) {
  .stage { column-gap: 8px; }
  .left { min-width: 0; padding-left: calc(20px * var(--s)); }
  .crew { padding-right: calc(20px * var(--s)); }
  .crew-faces { gap: 6px; }
  .cf { width: 44px; }
  .cf .av { --av: 40px; }
  .cf-name { font-size: 11px; }
  .side-label { font-size: 9.5px; letter-spacing: .1em; }
  .res-num { font-size: 34px; }
}

/* ---------- Mobil: Zeile nutzt die volle Inhaltsbreite (nicht die iPhone-Breite), Lichtschein mit mehr Raum ---------- */
@media (max-width: 1099px) {
  .stage { width: 100%; max-width: none; margin-left: 0; margin-right: 0; overflow: visible; padding-bottom: 96px; }
  .left { padding-left: 0; }
  .crew { padding-right: 0; }
  .device::before { width: 190vw; height: calc(1300px * var(--s)); top: 42%; }
}
@media (max-width: 440px) {
  .crew-faces { gap: 10px; }
  .cf { width: 48px; }
  .cf .av { --av: 44px; }
  .side-label { font-size: 10px; letter-spacing: .12em; }
  .res-num { font-size: 38px; }
}
@media (max-width: 360px) {
  .crew-faces { gap: 6px; }
  .cf { width: 44px; }
  .cf .av { --av: 40px; }
}

/* Lichtschein darf breit sein, aber nie seitliches Scrollen erzeugen (auch in Safari) */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 1099px) { .hero { overflow-x: clip; } }

/* Mobil: iPhone läuft per Maske in Transparenz aus (statt weißer Fläche über dem Lichtschein) */
@media (max-width: 1099px) {
  .device-crop::after { display: none; }
  .device-crop {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent);
            mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent);
  }
}

/* Mobil: „Digitales Personal“ rechtsbündig über der Avatar-Reihe (Owner 26.09.) */
@media (max-width: 1099px) {
  .crew { display: flex; flex-direction: column; align-items: flex-end; }
  .side-label--crew { text-align: right; }
}

/* Tablet/breites Handy: Stundenblock steht ganz außerhalb des iPhones → rechtsbündig wie am Desktop (Owner 26.09.) */
@media (max-width: 1099px) {
  .side-out .left .stream { align-items: flex-end; text-align: right; }
  .side-out .side-label--left { text-align: right; }
}

/* Schleife (Owner 26.09.): heutiger Tag rot, sobald ein anderer Tag ausgewählt ist – wie im Apple-Kalender */
.wd.is-now:not(.is-today) .wd-n { color: #FF3B30; font-weight: 600; }
.grid-shot, .week-shot { pointer-events: none; }
/* Owner 26.09.: „Ihre Zeit zurück“ und „Digitales Personal“ sichtbarer */
.hero .side-label { color: var(--ink-2); }
@media (min-width: 1100px) { .hero .side-label { font-size: 12.5px; } }
