/* ==========================================================================
   Celander – Website
   Konzept: Ein Tag in einem Bogen. Der Verlauf des Logos (Blau → Violett →
   Pfirsich) ist der Tagesverlauf; Scrollen lässt die Zeit laufen.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Fläche & Text */
  --bg: #0b0a12;
  --bg-2: #12101c;
  --ink: #f3f1f8;
  --ink-2: rgba(243, 241, 248, 0.74);
  --ink-3: rgba(243, 241, 248, 0.58);
  --ink-4: rgba(243, 241, 248, 0.34);
  --line: rgba(243, 241, 248, 0.08);
  --line-2: rgba(243, 241, 248, 0.14);

  /* Papier (Mittag) */
  --paper: #f5f2fa;
  --paper-ink: #16141f;
  --paper-ink-2: rgba(22, 20, 31, 0.72);
  --paper-ink-3: rgba(22, 20, 31, 0.62);
  --paper-line: rgba(22, 20, 31, 0.12);

  /* Marke – aus dem Logo */
  --blue: #2a72ff;
  --indigo: #6168f1;
  --violet: #8561ea;
  --lilac: #ab64f0;
  --mauve: #d57abd;
  --rose: #f08b94;
  --peach: #fc9774;
  --dot: #fe9672;
  --grad: linear-gradient(180deg, #2a72ff 0%, #3b72fc 10%, #6168f1 27%, #8561ea 45%, #ab64f0 63%, #d57abd 76%, #f08b94 85%, #fc9676 94%, #fc9774 100%);
  --grad-x: linear-gradient(100deg, #5b86ff 0%, #8561ea 34%, #ab64f0 52%, #d57abd 70%, #f08b94 84%, #fc9774 100%);
  --red-now: #e5484d;

  /* Kalenderfarben (dunkle Varianten aus CalendarColor) */
  --cal-lavender: #a99fff;
  --cal-blue: #82aeff;
  --cal-sky: #6cc8f2;
  --cal-teal: #5ccfc2;
  --cal-sage: #93cb9c;
  --cal-green: #6bd48a;
  --cal-mustard: #f0c95a;
  --cal-orange: #ffa866;
  --cal-coral: #ff958e;
  --cal-red: #ff7c88;
  --cal-pink: #ff8dc6;
  --cal-graphite: #a6acba;

  /* App-Farbe (Farbton aus den Einstellungen, Standard Indigo) */
  --app-hue: 236;

  /* Typografie */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-hero: clamp(3.5rem, 11vw, 12.5rem);
  --fs-h2: clamp(2.6rem, 6.2vw, 6.8rem);
  --fs-lead: clamp(1.125rem, 0.5vw + 0.98rem, 1.4rem);
  --fs-body: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);

  /* Raster */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-micro: 150ms;
  --t-small: 250ms;
  --t-medium: 450ms;
  --t-large: 700ms;

  /* Ebenen */
  --z-sky: -2;
  --z-content: 1;
  --z-nav: 50;
  --z-sheet: 60;
  --z-grain: 90;
  --z-cursor: 100;
  --z-loader: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, output { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(171, 100, 240, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono { font-family: var(--font-mono); font-feature-settings: "zero" 0; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
em.serif { font-size: 1.08em; line-height: 0.8; }
.grad-text {
  background: var(--grad-x);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: calc(var(--z-loader) + 1);
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600;
  transform: translateY(-160%); transition: transform var(--t-small) var(--ease-out);
}
.skip:focus { transform: none; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: clamp(18px, 2vw, 28px);
}
.eyebrow .mono {
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(243, 241, 248, 0.04);
}
.nocase { text-transform: none; }
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--dot);
  box-shadow: 0 0 0 4px rgba(254, 150, 114, 0.18);
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 620;
  max-width: 13ch;
  text-wrap: balance;
}
.section-head { padding-top: clamp(110px, 14vw, 210px); padding-bottom: clamp(36px, 5vw, 72px); }
.section-head__lead {
  margin-top: clamp(20px, 2.4vw, 32px);
  max-width: 36rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Himmel & Korn ---------- */
.sky {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: var(--z-sky);
  background:
    radial-gradient(70% 55% at 75% 30%, rgba(42, 114, 255, 0.28), transparent 70%),
    radial-gradient(60% 50% at 20% 90%, rgba(133, 97, 234, 0.22), transparent 70%),
    var(--bg);
}
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: none;
  place-items: center; align-content: center; gap: 28px;
  background: var(--bg);
}
.js .loader { display: grid; animation: loader-failsafe 0s 5s forwards; }
.js.no-motion .loader { display: none; }
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }
.loader__mark { width: clamp(84px, 9vw, 120px); height: auto; overflow: visible; }
.loader__arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__time { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.loader__clock { font-size: 1.05rem; color: var(--ink); letter-spacing: 0.04em; }
.loader__label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
  .has-cursor input[type="range"] { cursor: none; }
  .has-cursor .cursor { display: block; }
}
.cursor { position: fixed; inset: 0 auto auto 0; z-index: var(--z-cursor); pointer-events: none; }
.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  will-change: transform;
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(243, 241, 248, 0.42);
  display: grid; place-items: center;
  transition: width var(--t-medium) var(--ease-out), height var(--t-medium) var(--ease-out), margin var(--t-medium) var(--ease-out),
              background-color var(--t-small) ease, border-color var(--t-small) ease;
}
.cursor__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: #120e1a; opacity: 0;
  transition: opacity var(--t-small) ease;
}
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(243, 241, 248, 0.12); }
.cursor.is-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-color: transparent; background: linear-gradient(135deg, #b9c6ff, #f5b3c4 60%, #fdbb9f); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot, .cursor.is-link .cursor__dot { opacity: 0; }
.cursor.is-light .cursor__dot { background: var(--paper-ink); }
.cursor.is-light .cursor__ring { border-color: rgba(22, 20, 31, 0.4); }
.cursor.is-hidden { opacity: 0; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: space-between; align-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 16px;
  pointer-events: none;
  transition: color var(--t-medium) ease;
}
.topbar::before {
  content: ""; position: absolute; inset: 0 0 -44px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11, 10, 18, 0.96), rgba(11, 10, 18, 0.82) 50%, rgba(11, 10, 18, 0));
  transition: opacity var(--t-medium) ease;
}
.topbar::after {
  content: ""; position: absolute; inset: 0 0 -44px; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(rgba(245, 242, 250, 0.97), rgba(245, 242, 250, 0.85) 50%, rgba(245, 242, 250, 0));
  transition: opacity var(--t-medium) ease;
}
.on-light .topbar::before { opacity: 0; }
.on-light .topbar::after { opacity: 1; }
.topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 640; font-size: 1.12rem; letter-spacing: -0.03em; min-height: 44px; }
.brand__mark { width: 30px; height: 30px; }
.clock { display: flex; align-items: baseline; gap: 12px; }
.clock__label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); transition: color var(--t-medium) ease; }
.clock__time { font-size: 1.05rem; font-weight: 500; letter-spacing: 0.02em; min-width: 5ch; text-align: right; }
.clock { transition: opacity var(--t-medium) ease; }
.on-light .topbar { color: var(--paper-ink); }
.on-light .clock { opacity: 0; }

/* ---------- Pill-Navigation (wie in der App) ---------- */
.pill {
  position: fixed; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-nav);
  display: flex; align-items: center; gap: 2px;
  width: max-content; max-width: calc(100% - 20px); margin-inline: auto;
  height: 60px; padding: 0 8px;
  border-radius: 30px;
  background: rgba(22, 20, 32, 0.58);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 2px 6px rgba(0, 0, 0, 0.25), 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  color: var(--ink);
}
.pill__logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.pill__logo svg { width: 26px; height: 26px; overflow: visible; }
.pill__track, .pill__progress { fill: none; stroke-width: 81; stroke-linecap: round; }
.pill__track { stroke: rgba(255, 255, 255, 0.16); }
.pill__progress { stroke: url(#g-arc); stroke-dasharray: 1; stroke-dashoffset: 1; }
.pill__dot { fill: rgba(255, 255, 255, 0.22); stroke: none; transition: fill var(--t-medium) ease; }
.pill.is-done .pill__dot { fill: var(--dot); }
.pill__links { display: flex; gap: 2px; }
.pill__links a {
  display: flex; align-items: center; height: 44px; padding: 0 15px; border-radius: 22px;
  font-size: 0.92rem; font-weight: 520; color: var(--ink-2);
  transition: color var(--t-small) ease, background-color var(--t-small) ease;
}
.pill__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.pill__links a.is-current { color: var(--ink); background: hsl(var(--app-hue) 38% 30% / 0.85); }
.pill__menu { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 16px; border-radius: 22px; font-weight: 560; font-size: 0.95rem; }
.pill__menu svg { width: 20px; height: 20px; }
.pill__menu-label { min-width: 0; }
.pill__cta {
  width: 44px; height: 44px; margin-left: 6px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-x); color: #160f1e;
  box-shadow: 0 6px 16px -6px rgba(240, 139, 148, 0.7);
  transition: transform var(--t-small) var(--ease-back);
}
.pill__cta svg { width: 22px; height: 22px; stroke-width: 2.2; }
.pill__cta:hover { transform: rotate(90deg) scale(1.06); }
.pill__cta:active { transform: scale(0.94); }

/* ---------- Sheet (Menü auf dem Telefon) ---------- */
.sheet { position: fixed; inset: 0; z-index: var(--z-sheet); }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(6, 5, 12, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet__panel {
  position: absolute; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
  padding: 10px 14px 18px; border-radius: 28px;
  background: rgba(24, 22, 36, 0.78);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
}
.sheet__handle { display: block; width: 40px; height: 4px; border-radius: 2px; margin: 4px auto 10px; background: rgba(255, 255, 255, 0.25); }
.sheet__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 8px;
  font-size: 1.9rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1;
  border-bottom: 1px solid var(--line);
}
.sheet__links li:last-child a { border-bottom: 0; }
.sheet__links .mono { font-size: 0.75rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0.04em; width: 3.4rem; flex: none; }
.sheet__note { display: flex; align-items: center; gap: 10px; margin: 8px 8px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.sheet__note svg { width: 20px; height: 20px; flex: none; color: #3ddc84; }
.sheet__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.07); }
.sheet__close svg { width: 20px; height: 20px; }

/* ---------- Download-Knöpfe ----------
   Eigene Knöpfe im Badge-Stil: Die offiziellen Store-Badges sind nur für Apps im
   Play Store bzw. App Store erlaubt. Der Android-Roboter ist frei nutzbar (CC BY 3.0). */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 0 24px 0 16px;
  border-radius: 18px;
  text-align: left; white-space: nowrap;
}
.store__icon { width: 28px; height: 28px; flex: none; }
.store__text { display: flex; flex-direction: column; line-height: 1.12; }
.store__text small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.01em; }
.store__text b { font-size: 1.12rem; font-weight: 640; letter-spacing: -0.02em; }
.store--android {
  color: var(--ink);
  border: 1px solid transparent;
  background: linear-gradient(#15131f, #15131f) padding-box, var(--grad-x) border-box;
  box-shadow: 0 12px 34px -12px rgba(61, 220, 132, 0.45);
  transition: scale var(--t-small) var(--ease-out), box-shadow var(--t-medium) ease;
  will-change: transform;
}
.store--android small { color: var(--ink-2); }
.store--android .store__icon { color: #3ddc84; }
.store--android:hover { box-shadow: 0 18px 44px -12px rgba(61, 220, 132, 0.65); }
.store--android:active { scale: 0.97; }
.store--soon { color: var(--ink-2); border: 1px dashed var(--line-2); background: rgba(243, 241, 248, 0.03); }
.store--soon small { color: var(--ink-3); }
.store--soon .store__icon { color: var(--peach); }
.stores--big { justify-content: center; }
.stores--big .store { min-height: 72px; padding: 0 28px 0 20px; border-radius: 22px; }
.stores--big .store__icon { width: 34px; height: 34px; }
.stores--big .store__text b { font-size: 1.3rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 560;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0% 1px no-repeat;
  transition: background-size var(--t-medium) var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-small) var(--ease-out); }
.link-arrow:hover svg { transform: translateY(2px); }

/* ==========================================================================
   Hero – 06:00
   ========================================================================== */
.hero {
  --pw: min(clamp(230px, 22vw, 320px), calc((100svh - 300px) / 2.17));
  --pr: clamp(16px, 7vw, 150px);
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
  overflow: clip;
}
.hero__halo {
  position: absolute; right: -6vw; top: 50%;
  width: min(66vw, 980px); aspect-ratio: 1;
  translate: 0 -50%;
  opacity: 0.5;
  filter: blur(70px) saturate(1.3);
  pointer-events: none;
}
.hero__halo svg { width: 100%; height: 100%; animation: halo-spin 60s linear infinite; }
@keyframes halo-spin { to { transform: rotate(360deg); } }
.hero__inner { position: relative; pointer-events: none; }
.hero__inner a, .hero__inner p { pointer-events: auto; }
.hero__eyebrow, .hero__bottom { position: relative; z-index: 2; }
.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 640;
  margin-left: -0.04em;
}
.hero__line { display: block; overflow: clip; padding-top: 0.06em; padding-bottom: 0.16em; margin-block: -0.06em -0.16em; }
.hero__line--2 { padding-left: 0.72em; padding-right: 0.1em; }
.ch { display: inline-block; will-change: transform; }
.sl-mask { padding: 0.06em 0.12em 0.16em 0; margin: -0.06em -0.12em -0.16em 0; }
.hero__line--2 em { display: inline-block; padding-bottom: 0.08em; }
.hero__bottom {
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  max-width: min(34rem, calc(100% - var(--pw) - var(--pr) - 72px));
  margin-top: clamp(28px, 3.6vw, 52px);
}
.hero__lead { max-width: 31rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__device {
  position: absolute; z-index: 1;
  right: var(--pr); top: calc(50svh + 10px);
  translate: 0 -50%;
  perspective: 1400px;
}
.hero__tilt { position: relative; transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg); will-change: transform; }
.hero__device .phone { --w: var(--pw); }
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px 11px 13px; border-radius: 18px;
  background: rgba(30, 28, 44, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.6);
  font-size: 0.86rem; font-weight: 560; white-space: nowrap;
  transform: translateZ(60px);
}
.float-chip small { font-size: 0.72rem; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.float-chip svg { width: 17px; height: 17px; color: var(--peach); }
.float-chip .bar { width: 4px; height: 20px; border-radius: 2px; background: var(--c); }
.float-chip--a { left: -34%; top: 16%; }
.float-chip--b { right: -26%; bottom: 22%; transform: translateZ(90px); }
.hero__foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: clamp(40px, 6vw, 80px); padding-bottom: 104px;
}
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--ink-3); }
.scroll-cue__line { position: relative; width: 1px; height: 40px; background: var(--line-2); overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--grad); animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }
.hero__facts { display: flex; gap: 8px; font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.06em; }
.hero__facts li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); }

/* ==========================================================================
   Telefon & App-Mockups (gezeichnet in dp: 360 × 800)
   ========================================================================== */
.phone {
  --w: 300px;
  --k: 0.8;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.022);
  border-radius: calc(var(--w) * 0.15);
  background: linear-gradient(145deg, #3a3746 0%, #17151f 38%, #0e0d14 70%, #2b2936 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07) inset,
    0 0 0 calc(var(--w) * 0.006) #07060b,
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 50px 100px -30px rgba(0, 0, 0, 0.75),
    0 30px 120px -40px rgba(133, 97, 234, 0.45);
}
.phone::before {
  content: ""; position: absolute; right: calc(var(--w) * -0.012); top: 22%; width: calc(var(--w) * 0.012); height: 9%;
  border-radius: 0 3px 3px 0; background: #26242f;
}
.phone__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 800;
  border-radius: calc(var(--w) * 0.13);
  overflow: hidden;
  isolation: isolate;
  background: #0f1019;
}
.phone__canvas {
  position: absolute; top: 0; left: 0;
  width: 360px; height: 800px;
  transform: scale(var(--k));
  transform-origin: 0 0;
}

/* App-Thema (dunkel) */
.app {
  --accent: hsl(var(--app-hue) 100% 80%);
  --accent-soft: hsl(var(--app-hue) 36% 30% / 0.9);
  --on-accent: hsl(var(--app-hue) 44% 12.5%);
  --a-ink: #eceef7;
  --a-ink-2: rgba(236, 238, 247, 0.64);
  --a-ink-3: rgba(236, 238, 247, 0.42);
  --a-tile: rgba(255, 255, 255, 0.045);
  --a-line: rgba(255, 255, 255, 0.07);
  --a-glass: rgba(34, 36, 54, 0.66);
  position: absolute; inset: 0;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--a-ink);
  background:
    radial-gradient(120% 55% at 15% -5%, hsl(var(--app-hue) 55% 32% / 0.55), transparent 70%),
    radial-gradient(90% 40% at 100% 100%, rgba(213, 122, 189, 0.12), transparent 70%),
    linear-gradient(180deg, #161a2c 0%, #10111b 55%, #0d0e16 100%);
}
.app svg { stroke-width: 1.9; }
.a-cam { position: absolute; top: 12px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #030305; box-shadow: 0 0 0 2px #15151c; z-index: 5; }
.a-status { position: absolute; top: 0; left: 0; right: 0; height: 36px; padding: 4px 26px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 560; z-index: 4; }
.a-status__icons { display: flex; align-items: center; gap: 5px; }
.a-status__icons i { display: block; background: var(--a-ink); }
.a-status__icons .wifi { width: 14px; height: 10px; clip-path: polygon(50% 100%, 0 25%, 15% 8%, 50% 0, 85% 8%, 100% 25%); }
.a-status__icons .sig { width: 11px; height: 11px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.a-status__icons .bat { width: 7px; height: 12px; border-radius: 2px; }
.a-top { position: absolute; top: 46px; left: 14px; right: 14px; height: 46px; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.a-round {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 6px 14px -4px rgba(0, 0, 0, 0.5);
}
.a-round svg { width: 21px; height: 21px; }
.a-title { position: absolute; left: 60px; right: 60px; text-align: center; font-size: 16px; font-weight: 640; letter-spacing: -0.01em; }
.a-title span { position: absolute; inset: 0; transition: opacity 0.35s ease, transform 0.5s var(--ease-out); }
.a-title span:not(.is-on) { opacity: 0; transform: translateY(6px); }

.a-pill {
  position: absolute; left: 12px; right: 12px; bottom: 18px; height: 60px; z-index: 4;
  display: flex; align-items: center; padding: 0 6px 0 7px;
  border-radius: 30px;
  background: var(--a-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset, 0 16px 30px -10px rgba(0, 0, 0, 0.6);
}
.a-slot {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 46px; min-width: 38px; padding: 0 8px; border-radius: 23px;
  color: var(--a-ink-2);
  transition: background-color 0.45s var(--ease-out), color 0.3s ease, padding 0.45s var(--ease-out);
}
.a-slot svg { width: 21px; height: 21px; flex: none; transition: width 0.45s var(--ease-out), opacity 0.3s ease; }
.a-slot b { font-weight: 640; font-size: 14px; color: var(--a-ink); white-space: nowrap; overflow: hidden; max-width: 0; transition: max-width 0.5s var(--ease-out); }
.a-slot.is-on { background: var(--accent-soft); color: var(--a-ink); padding: 0 14px; }
.a-slot.is-on .ico { width: 0; opacity: 0; }
.a-slot.is-on b { max-width: 96px; }
.a-sep { width: 1px; height: 26px; margin: 0 3px; background: rgba(255, 255, 255, 0.14); flex: none; }
.a-fab { margin-left: auto; width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 18px -6px hsl(var(--app-hue) 90% 70% / 0.6); }
.a-fab svg { width: 24px; height: 24px; stroke-width: 2.2; }
.a-home { position: absolute; bottom: 6px; left: 50%; width: 108px; height: 4px; margin-left: -54px; border-radius: 2px; background: rgba(255, 255, 255, 0.55); z-index: 5; }

/* Bildschirme */
.screen { position: absolute; inset: 0; }
.phone[data-mocks] .screen { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; }
.phone[data-mocks] .screen.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }

/* Gemeinsame Einträge */
.a-item { display: grid; grid-template-columns: 4px 1fr; column-gap: 13px; padding: 8px 0; }
.a-item::before { content: ""; grid-row: span 2; border-radius: 2px; background: var(--c); }
.a-item b { font-size: 15px; font-weight: 500; }
.a-item span { font-size: 12px; color: var(--a-ink-2); display: flex; align-items: center; gap: 5px; }
.a-item span svg { width: 12px; height: 12px; }
.a-item.is-past { opacity: 0.5; }

/* Monat */
.m-head { position: absolute; top: 100px; left: 8px; right: 8px; display: grid; grid-template-columns: 17px repeat(7, 1fr); column-gap: 3px; font-size: 11.5px; font-weight: 500; text-align: center; color: var(--a-ink-2); }
.m-head .is-sun { color: var(--cal-coral); }
.m-grid { position: absolute; top: 122px; left: 8px; right: 8px; display: grid; grid-template-rows: repeat(6, 63px); row-gap: 4px; }
.m-week { display: grid; grid-template-columns: 17px repeat(7, minmax(0, 1fr)); column-gap: 3px; }
.m-kw { grid-row: 1; grid-column: 1; font-size: 9px; color: var(--a-ink-3); padding-top: 7px; }
.m-day {
  grid-row: 1; min-width: 0;
  border-radius: 10px; background: var(--a-tile);
  padding: 4px 2px 0; display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  overflow: hidden;
}
.m-num { align-self: center; height: 19px; min-width: 19px; padding: 0 3px; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 520; }
.m-day.is-out .m-num { opacity: 0.36; }
.m-day.is-sun .m-num { color: var(--cal-coral); }
.m-day.is-today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.m-day.is-today .m-num { background: #f4f4fa; color: #14141c; }
.m-spacer { height: 15px; flex: none; }
.m-ev { display: flex; align-items: center; gap: 2.5px; font-size: 9.5px; line-height: 12px; white-space: nowrap; overflow: hidden; padding-left: 2px; }
.m-ev::before { content: ""; width: 2.5px; height: 10px; border-radius: 2px; background: var(--c); flex: none; }
.m-ev.is-task::before { width: 6px; height: 6px; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1.4px var(--c); }
.m-more { font-size: 8.5px; color: var(--a-ink-2); padding-left: 4px; }
.m-span {
  grid-row: 1; align-self: start; margin-top: 24px; z-index: 1;
  height: 14px; padding: 0 5px; border-radius: 5px;
  font-size: 9.5px; line-height: 14px; font-weight: 500; white-space: nowrap; overflow: hidden;
  background: color-mix(in srgb, var(--c) 38%, rgba(20, 20, 30, 0.6));
}
.m-card {
  position: absolute; left: 10px; right: 10px; bottom: 88px; height: 202px; z-index: 2;
  padding: 16px 18px 0;
  border-radius: 28px;
  background: rgba(34, 36, 54, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 -10px 40px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.m-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.m-card__date { font-size: 34px; font-weight: 620; letter-spacing: -0.03em; line-height: 1; }
.m-card__day { display: flex; flex-direction: column; font-size: 12px; color: var(--a-ink-2); line-height: 1.25; }
.m-card__day b { font-size: 15px; color: var(--a-ink); font-weight: 600; }
.m-card__acts { margin-left: auto; display: flex; gap: 6px; }
.m-card__acts svg { width: 22px; height: 22px; }
.m-card__acts .plus { color: var(--accent); }

/* Tag */
.d-week { position: absolute; top: 100px; left: 12px; right: 12px; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.d-week span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--a-ink-2); }
.d-week b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14.5px; font-weight: 560; color: var(--a-ink); }
.d-week i { width: 12px; height: 2.5px; border-radius: 2px; background: var(--c, transparent); }
.d-week .is-today b { background: var(--accent); color: var(--on-accent); }
.d-time { position: absolute; top: 168px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.d-hour { position: absolute; left: 52px; right: 12px; height: 60px; border-top: 1px solid var(--a-line); }
.d-hour span { position: absolute; left: -44px; top: -7px; font-size: 10.5px; color: var(--a-ink-3); }
.d-ev {
  position: absolute; overflow: hidden;
  padding: 4px 7px; border-radius: 7px;
  background: color-mix(in srgb, var(--c) 24%, rgba(18, 18, 28, 0.6));
  border-left: 3px solid var(--c);
  font-size: 11px; line-height: 1.25;
}
.d-ev b { display: block; font-size: 12px; font-weight: 600; }
.d-ev span { color: var(--a-ink-2); }
.d-now { position: absolute; left: 50px; right: 12px; height: 2px; background: var(--red-now); z-index: 2; }
.d-now::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red-now); }

/* Agenda */
.ag { position: absolute; top: 102px; left: 14px; right: 14px; display: flex; flex-direction: column; }
.ag-head { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; margin: 6px 0 4px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); font-size: 13.5px; font-weight: 620; }
.ag-head em { font-style: normal; color: var(--accent); }
.ag .a-item { padding: 8px 4px 8px 10px; }
.ag-now { display: flex; align-items: center; gap: 0; margin: 4px 0; color: var(--red-now); font-size: 11.5px; font-weight: 600; }
.ag-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red-now); flex: none; }
.ag-now::after { content: ""; order: 1; flex: 1; height: 1.5px; background: var(--red-now); margin: 0 8px 0 0; }
.ag-now span { order: 2; }
.ag-task { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: center; padding: 10px 4px 10px 12px; font-size: 15px; }
.ag-task i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--c); }

/* Aufgaben */
.t-input { position: absolute; top: 102px; left: 14px; right: 14px; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 24px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset; color: var(--a-ink-3); font-size: 14.5px; }
.t-input svg { width: 20px; height: 20px; color: var(--accent); }
.t-list { position: absolute; top: 160px; left: 0; right: 0; }
.t-group { margin: 14px 24px 4px; font-size: 11.5px; font-weight: 640; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-ink-2); }
.t-group.is-over { color: var(--cal-coral); }
.t-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--ease-out) 0.5s, opacity 0.4s ease 0.5s; }
.t-wrap > div { min-height: 0; overflow: hidden; }
.t-wrap.is-gone { grid-template-rows: 0fr; opacity: 0; }
.t-item { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 9px 22px; }
.t-circle { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--c); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.t-circle svg { position: absolute; inset: 3px; width: 16px; height: 16px; color: var(--on-accent); stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.4s var(--ease-out) 0.15s; }
.t-title { display: flex; flex-direction: column; font-size: 15px; }
.t-title b { position: relative; font-weight: 450; align-self: flex-start; }
.t-title b::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out) 0.2s; }
.t-title span { font-size: 12px; color: var(--a-ink-2); }
.t-title .is-over { color: var(--cal-coral); }
.t-item svg.rep { width: 14px; height: 14px; color: var(--a-ink-3); }
.t-item.is-checked .t-circle { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.t-item.is-checked .t-circle svg { stroke-dashoffset: 0; }
.t-item.is-checked .t-title b::after { transform: scaleX(1); }
.t-item.is-checked .t-title { color: var(--a-ink-3); }
.t-done { margin: 16px 24px 0; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--a-ink-2); }
.t-snack {
  position: absolute; left: 14px; right: 14px; bottom: 92px; height: 50px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  border-radius: 18px; font-size: 14px;
  background: rgba(44, 46, 66, 0.85);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 14px 30px -8px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.55s var(--ease-back);
}
.t-snack b { color: var(--accent); font-weight: 620; }
.t-snack.is-on { opacity: 1; transform: none; }

/* Jahr */
.y-grid { position: absolute; top: 104px; left: 12px; right: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
.y-month h5 { margin: 0 0 4px 3px; font-size: 12px; font-weight: 640; }
.y-month.is-now h5 { color: var(--accent); }
.y-days { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 1px; font-size: 7.6px; text-align: center; color: var(--a-ink-2); }
.y-days span { position: relative; height: 13px; line-height: 12px; }
.y-days span.is-mark::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 7px; height: 1.6px; margin-left: -3.5px; border-radius: 1px; background: var(--c); }
.y-days span.is-today { color: var(--on-accent); font-weight: 700; }
.y-days span.is-today::before { content: ""; position: absolute; inset: 0 1px; border-radius: 4px; background: var(--accent); z-index: -1; }
.y-days span { z-index: 0; }
.y-days .is-sun { color: var(--cal-coral); }

/* Eintritt der Bildschirm-Inhalte */
.phone .rise { opacity: 0; transform: translateY(10px); }
.screen.is-on .rise, .phone.is-live .rise {
  opacity: 1; transform: none;
  transition: opacity 0.5s ease calc(var(--i, 0) * 28ms + 80ms), transform 0.7s var(--ease-out) calc(var(--i, 0) * 28ms + 80ms);
}
.phone .grow { transform: scaleX(0); transform-origin: left; }
.screen.is-on .grow, .phone.is-live .grow { transform: none; transition: transform 0.8s var(--ease-out) calc(var(--i, 0) * 22ms + 260ms); }
.phone .sheet-up { transform: translateY(110%); }
.screen.is-on .sheet-up, .phone.is-live .sheet-up { transform: none; transition: transform 0.9s cubic-bezier(0.22, 1.12, 0.36, 1) 0.45s; }

/* ==========================================================================
   Manifest – 07:30
   ========================================================================== */
.manifest { padding: clamp(110px, 16vw, 240px) 0 clamp(60px, 8vw, 120px); }
.manifest__text {
  font-size: clamp(1.9rem, 4.3vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.038em;
  font-weight: 560;
  max-width: 24ch;
  text-wrap: pretty;
}
.manifest__text .w { opacity: 0.16; transition: opacity 0.2s linear; }
.no-motion .manifest__text .w, .no-js .manifest__text .w { opacity: 1; }
.inline-chip {
  display: inline-flex; align-items: center; gap: 0.35em;
  margin: 0 0.12em; padding: 0.32em 0.75em 0.32em 0.55em;
  border-radius: 999px; vertical-align: 0.38em;
  font-family: var(--font-mono); font-size: 0.36em; font-weight: 500; letter-spacing: 0.02em; line-height: 1;
  background: rgba(243, 241, 248, 0.07); border: 1px solid var(--line-2);
}
.inline-chip i { width: 0.32em; height: 1.2em; border-radius: 3px; background: var(--c); }
.inline-logo { display: inline-block; width: 0.82em; height: 0.82em; vertical-align: -0.08em; margin: 0 0.04em; }
.inline-logo svg { width: 100%; height: 100%; animation: halo-spin 14s linear infinite; }
.manifest__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: clamp(48px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line);
}
.manifest__foot p { max-width: 34rem; color: var(--ink-2); }
.manifest__pills { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.75rem; color: var(--ink-2); }
.manifest__pills li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); }

/* ==========================================================================
   Ansichten – 09:00
   ========================================================================== */
.views__scroll { position: relative; height: 560vh; }
.views__sticky {
  position: sticky; top: 0;
  height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
}
.views__list { display: flex; flex-direction: column; gap: 2px; }
.views__btn {
  display: flex; align-items: baseline; gap: 16px;
  min-height: 48px; padding: 4px 0;
  font-size: clamp(1.7rem, 2.8vw, 2.9rem); font-weight: 620; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--ink-4);
  text-align: left;
  transition: color var(--t-medium) ease;
}
.views__btn .mono { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-4); transform: translateY(-0.9em); transition: color var(--t-medium) ease; }
.views__btn:hover { color: var(--ink-2); }
.views__item.is-active .views__btn { color: var(--ink); }
.views__item.is-active .views__btn .mono { color: var(--peach); }
.views__text {
  max-width: 25rem; max-height: 0; overflow: hidden; opacity: 0;
  padding-left: calc(0.75rem * 1.6 + 16px);
  color: var(--ink-2); line-height: 1.55;
  transition: max-height 0.7s var(--ease-out), opacity 0.4s ease, margin 0.7s var(--ease-out);
}
.views__item.is-active .views__text { max-height: 9em; opacity: 1; margin: 6px 0 18px; }
.views__device { position: relative; }
.views__device::before {
  content: ""; position: absolute; inset: 10% -30%; z-index: -1;
  background: radial-gradient(closest-side, hsl(var(--app-hue) 80% 60% / 0.35), transparent);
  filter: blur(30px);
}
.views__device .phone { --w: min(clamp(250px, 23vw, 330px), calc((100svh - 120px) / 2.17)); }
.views__meta { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.views__big { font-size: clamp(6rem, 12vw, 13rem); line-height: 0.8; letter-spacing: -0.04em; display: flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.views__big-num { display: inline-block; background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.views__big-of { font-size: 0.28em; color: var(--ink-4); margin-top: 0.3em; font-style: normal; font-family: var(--font-mono); letter-spacing: 0; }
.views__bar { display: block; width: min(200px, 14vw); height: 2px; border-radius: 1px; background: var(--line-2); overflow: hidden; }
.views__bar i { display: block; height: 100%; background: var(--grad-x); transform-origin: left; transform: scaleX(var(--p, 0.2)); }

/* ==========================================================================
   Ein Tag – 12:00 (helles Sheet)
   ========================================================================== */
.day { position: relative; padding-top: clamp(40px, 6vw, 80px); }
.day__sheet {
  --cal-lavender: #7468da; --cal-blue: #3473db; --cal-sky: #1592c9; --cal-teal: #138c81; --cal-sage: #55905f; --cal-green: #2b9348;
  --cal-mustard: #b98a0e; --cal-orange: #db6b1f; --cal-coral: #d9534c; --cal-red: #c0313f; --cal-pink: #c94d91; --cal-graphite: #636a79;
  position: relative;
  margin-inline: clamp(8px, 1.2vw, 20px);
  border-radius: clamp(28px, 4.5vw, 64px);
  background:
    radial-gradient(55% 45% at 88% 6%, rgba(252, 151, 116, 0.26), transparent 70%),
    radial-gradient(50% 40% at 6% 30%, rgba(42, 114, 255, 0.14), transparent 70%),
    radial-gradient(60% 50% at 60% 100%, rgba(171, 100, 240, 0.16), transparent 70%),
    var(--paper);
  color: var(--paper-ink);
  overflow: clip;
  box-shadow: 0 -30px 80px -40px rgba(252, 151, 116, 0.5);
}
.day .eyebrow { color: var(--paper-ink-3); }
.day .eyebrow .mono { color: var(--paper-ink); border-color: var(--paper-line); background: rgba(255, 255, 255, 0.6); }
.day .section-head { padding-top: clamp(80px, 10vw, 150px); padding-bottom: 0; }
.day .section-head__lead { color: var(--paper-ink-2); }
.day__scroll { position: relative; height: 320vh; }
.day__sticky {
  --now-x: max(var(--gutter), 28vw);
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
}
.day__track {
  display: flex; align-items: stretch;
  padding-left: var(--now-x);
  padding-right: 20vw;
  will-change: transform;
}
.day__now { position: absolute; top: 0; bottom: 0; left: var(--now-x); width: 0; z-index: 0; pointer-events: none; }
.day__now::before {
  content: ""; position: absolute; top: 10%; bottom: 10%; left: -0.75px; width: 1.5px;
  background: linear-gradient(transparent, var(--red-now) 12%, var(--red-now) 88%, transparent);
}
.day__now-label {
  position: absolute; top: calc(10% - 14px); left: -12px;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--red-now); color: #fff;
  font-size: 0.75rem; letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(229, 72, 77, 0.6);
}
.day__now-label b { font-weight: 500; }
.moment { position: relative; z-index: 1; flex: none; width: clamp(290px, 31vw, 450px); display: flex; flex-direction: column; }
.moment__time {
  display: block; position: relative;
  padding-bottom: 22px; margin-bottom: 26px;
  font-family: var(--font-serif); font-style: normal;
  font-size: clamp(3.2rem, 6.4vw, 6.4rem); line-height: 0.9; letter-spacing: -0.02em;
  color: var(--paper-ink);
  border-bottom: 1px solid var(--paper-line);
  background: repeating-linear-gradient(90deg, var(--paper-line) 0 1px, transparent 1px 30px) left bottom / 100% 8px no-repeat;
}
.moment__time::after {
  content: ""; position: absolute; left: -5px; bottom: -6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--paper-ink);
}
.moment__card {
  flex: 1;
  margin-right: clamp(20px, 3vw, 48px);
  padding: clamp(22px, 2vw, 30px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(22, 20, 31, 0.05), 0 24px 50px -24px rgba(70, 40, 140, 0.28);
  display: flex; flex-direction: column; gap: 10px;
}
.moment__tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5a43c9; }
.moment__card h3 { font-size: clamp(1.35rem, 1.7vw, 1.65rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 640; }
.moment__card > p:not(.moment__tag) { color: var(--paper-ink-2); font-size: 0.98rem; line-height: 1.5; }
.moment__card > div { margin-top: auto; padding-top: 10px; }

.mini-widget { border-radius: 20px; padding: 14px 16px !important; background: #1b1a26; color: #f1f0f6; display: flex; flex-direction: column; gap: 6px; }
.mini-widget__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; margin-bottom: 2px; }
.mini-widget__head span { font-size: 0.72rem; color: rgba(241, 240, 246, 0.6); }
.mini-row { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; }
.mini-row i { width: 3.5px; height: 15px; border-radius: 2px; background: var(--c); }
.mini-row small { margin-left: auto; font-size: 0.72rem; color: rgba(241, 240, 246, 0.6); font-family: var(--font-mono); }
.mini-widget .mini-row i { filter: brightness(1.35); }
.mini-seg { display: flex; gap: 4px; padding: 4px !important; border-radius: 999px; background: rgba(22, 20, 31, 0.06); font-size: 0.78rem; font-weight: 560; }
.mini-seg span { flex: 1; text-align: center; padding: 8px 6px; border-radius: 999px; color: var(--paper-ink-2); white-space: nowrap; }
.mini-seg .is-on { background: #fff; color: var(--paper-ink); box-shadow: 0 2px 8px rgba(22, 20, 31, 0.12); }
.mini-form { display: flex; flex-direction: column; border-radius: 18px; background: rgba(22, 20, 31, 0.04); padding: 4px 14px !important; }
.mini-form div { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 0.85rem; border-bottom: 1px solid var(--paper-line); }
.mini-form div:last-child { border-bottom: 0; }
.mini-form span { color: var(--paper-ink-3); }
.mini-form b { display: flex; align-items: center; gap: 7px; font-weight: 560; }
.mini-form b i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.mini-notif { border-radius: 20px; padding: 14px 16px !important; background: #232232; color: #f1f0f6; display: flex; flex-direction: column; gap: 3px; font-size: 0.84rem; box-shadow: 0 14px 30px -14px rgba(22, 20, 31, 0.6); }
.mini-notif__head { display: flex; align-items: center; gap: 7px; font-size: 0.72rem; color: rgba(241, 240, 246, 0.62); margin-bottom: 4px; }
.mini-notif__head svg { width: 15px; height: 15px; }
.mini-notif b { font-size: 0.95rem; }
.mini-notif > span { color: rgba(241, 240, 246, 0.7); }
.mini-notif__actions { display: flex; gap: 18px; margin-top: 8px; font-weight: 600; color: #b3b9ff; font-size: 0.8rem; }
.mini-task { display: flex; align-items: center; gap: 12px; padding: 14px 16px !important; border-radius: 18px; background: rgba(22, 20, 31, 0.04); font-size: 0.95rem; }
.mini-task s { color: var(--paper-ink-3); text-decoration-thickness: 1.5px; }
.mini-task__check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #5a43c9; color: #fff; }
.mini-task__check svg { width: 15px; height: 15px; stroke-width: 3; }
.mini-palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mini-palette i { height: 30px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.moment--night .moment__card { background: #16141f; color: #f1f0f6; border-color: #16141f; box-shadow: 0 30px 60px -24px rgba(22, 20, 31, 0.6); }
.moment--night .moment__card > p:not(.moment__tag) { color: rgba(241, 240, 246, 0.72); }
.moment--night .moment__tag { color: #fdb79c; }
.mini-night { display: flex; align-items: center; gap: 12px; }
.mini-night svg { width: 26px; height: 26px; color: var(--peach); }
.mini-night span { font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(241, 240, 246, 0.18); color: rgba(241, 240, 246, 0.75); }

/* ==========================================================================
   Glas – 15:00
   ========================================================================== */
.glass { padding: clamp(110px, 14vw, 210px) 0 clamp(60px, 8vw, 120px); }
.glass__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.glass__lead { margin-top: clamp(20px, 2.4vw, 30px); font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 32rem; text-wrap: pretty; }
.controls { margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 26px; max-width: 30rem; }
.control legend, .control__head label { font-size: 0.95rem; font-weight: 560; }
.control legend { margin-bottom: 12px; }
.control__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.control__head--sub { margin-top: 16px; }
.control__head--sub label { font-size: 0.86rem; color: var(--ink-2); font-weight: 500; }
.control__head output { font-size: 0.85rem; color: var(--ink-2); }

.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 0; background: transparent;
  --fill: calc(var(--v, 0.65) * 100%);
}
.range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #8b7cf6, #f08b94) 0 0 / var(--fill) 100% no-repeat, rgba(255, 255, 255, 0.12);
}
.range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #8b7cf6, #f08b94); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.08);
  transition: transform var(--t-micro) ease;
}
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--peach); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--peach); }
.range--hue::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, hsl(0 85% 68%), hsl(45 85% 62%), hsl(90 70% 58%), hsl(150 70% 55%), hsl(190 80% 58%), hsl(230 90% 70%), hsl(275 85% 70%), hsl(320 85% 70%), hsl(360 85% 68%));
}
.range--hue::-moz-range-track { background: linear-gradient(90deg, hsl(0 85% 68%), hsl(45 85% 62%), hsl(90 70% 58%), hsl(150 70% 55%), hsl(190 80% 58%), hsl(230 90% 70%), hsl(275 85% 70%), hsl(320 85% 70%), hsl(360 85% 68%)); }
.range--hue::-moz-range-progress { background: transparent; }
.range--hue::-webkit-slider-thumb { background: hsl(var(--app-hue) 90% 72%); box-shadow: 0 0 0 4px #fff, 0 4px 14px rgba(0, 0, 0, 0.5); }
.range--hue::-moz-range-thumb { background: hsl(var(--app-hue) 90% 72%); box-shadow: 0 0 0 4px #fff, 0 4px 14px rgba(0, 0, 0, 0.5); }

.swatches { display: flex; flex-wrap: wrap; gap: 4px; }
.swatch { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: inherit; }
.swatch span:not(.sr-only) {
  width: 32px; height: 32px; border-radius: 50%;
  background: hsl(var(--h) 90% 72%);
  font-size: 0; color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform var(--t-small) var(--ease-back), box-shadow var(--t-small) ease;
}
.swatch:hover span { transform: scale(1.08); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px hsl(var(--h) 90% 72%); }
.swatch input:focus-visible + span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--peach); }

.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: inherit; }
.segmented span { display: block; padding: 11px 22px; border-radius: 999px; font-size: 0.92rem; font-weight: 560; color: var(--ink-2); transition: background-color var(--t-small) ease, color var(--t-small) ease; }
.segmented input:checked + span { background: var(--ink); color: #120e1a; }
.segmented input:focus-visible + span { outline: 2px solid var(--peach); outline-offset: 2px; }
.glass__note { margin-top: 24px; max-width: 30rem; font-size: 0.9rem; color: var(--ink-3); }

.glass__stage {
  --t: 0.65;
  --tint: 30 32 48;
  --fillv: 0.52;
  --blur: 25px;
  --accent: hsl(var(--app-hue) 100% 80%);
  --g-ink: #eceef7;
  --g-ink-2: rgba(236, 238, 247, 0.66);
  position: relative;
  min-height: clamp(460px, 46vw, 640px);
  border-radius: clamp(28px, 3vw, 40px);
  overflow: hidden;
  isolation: isolate;
  background: #0e0c17;
  border: 1px solid var(--line);
  transition: background-color var(--t-medium) ease;
}
.glass__stage[data-theme="light"] {
  --tint: 252 251 255;
  --accent: hsl(var(--app-hue) 63% 46%);
  --g-ink: #16141f;
  --g-ink-2: rgba(22, 20, 31, 0.68);
  --cal-lavender: #7468da; --cal-green: #2b9348; --cal-coral: #d9534c;
  background: #ecebf5;
}
.glass__stage { --app-cal-green: var(--cal-green); --app-cal-lavender: var(--cal-lavender); --app-cal-coral: var(--cal-coral); }
.glass__blobs { position: absolute; inset: 0; }
.blob { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; will-change: transform; }
.blob--a { left: -12%; top: -14%; background: radial-gradient(circle, #2a72ff 0%, rgba(42, 114, 255, 0) 66%); animation: blob-a 16s ease-in-out infinite alternate; }
.blob--b { right: -14%; top: 18%; background: radial-gradient(circle, #d57abd 0%, rgba(213, 122, 189, 0) 66%); animation: blob-b 19s ease-in-out infinite alternate; }
.blob--c { left: 18%; bottom: -26%; background: radial-gradient(circle, #fc9774 0%, rgba(252, 151, 116, 0) 66%); animation: blob-c 14s ease-in-out infinite alternate; }
@keyframes blob-a { to { transform: translate(28%, 22%) scale(1.15); } }
@keyframes blob-b { to { transform: translate(-30%, 18%) scale(0.9); } }
@keyframes blob-c { to { transform: translate(24%, -30%) scale(1.1); } }
.blob-logo { position: absolute; left: 50%; top: 50%; width: 58%; height: auto; aspect-ratio: 1; translate: -50% -50%; animation: halo-spin 40s linear infinite; }
.glass__stage[data-theme="light"] .blob { opacity: 0.75; }

.glass-card {
  position: absolute; inset: 0; margin: auto;
  width: min(372px, 84%); height: fit-content;
  padding: 20px 22px 12px;
  border-radius: 28px;
  color: var(--g-ink);
  background: rgb(var(--tint) / var(--fillv));
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.45);
  backdrop-filter: blur(var(--blur)) saturate(1.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 2px 6px rgba(0, 0, 0, 0.18), 0 40px 70px -24px rgba(0, 0, 0, 0.6);
  translate: var(--dx, 0px) var(--dy, 0px);
  rotate: var(--rot, 0deg);
  touch-action: none;
  user-select: none;
  cursor: grab;
  transition: background-color var(--t-medium) ease, color var(--t-medium) ease;
}
.glass-card:active { cursor: grabbing; }
.glass__stage[data-theme="light"] .glass-card { border-color: rgba(255, 255, 255, 0.8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(40, 30, 90, 0.08), 0 40px 70px -28px rgba(60, 40, 130, 0.35); }
.glass-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.glass-card__date { font-size: 40px; font-weight: 620; letter-spacing: -0.04em; line-height: 1; }
.glass-card__day { display: flex; flex-direction: column; min-width: 0; white-space: nowrap; font-size: 0.86rem; color: var(--g-ink-2); line-height: 1.3; }
.glass-card__day b { color: var(--g-ink); font-size: 1.05rem; font-weight: 600; }
.glass-card__btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.glass-card__btn:first-of-type { margin-left: auto; }
.glass-card__btn svg { width: 22px; height: 22px; }
.glass-card__btn--accent { color: var(--accent); }
.glass-card__list li { display: grid; grid-template-columns: 4px 1fr; column-gap: 14px; padding: 10px 0; }
.glass-card__list li::before { content: ""; grid-row: span 2; border-radius: 2px; background: var(--c); }
.glass-card__list b { font-weight: 520; font-size: 1.02rem; }
.glass-card__list span { font-size: 0.82rem; color: var(--g-ink-2); }
.glass__hint {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(236, 238, 247, 0.6); padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.25);
}
.glass__stage[data-theme="light"] .glass__hint { color: rgba(22, 20, 31, 0.62); background: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   Funktionen – 17:00 (Bento)
   ========================================================================== */
.features { padding-bottom: clamp(60px, 8vw, 120px); }
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "rec rec rec rec rem rem"
    "src src wid wid rem rem"
    "src src wid wid mot mot"
    "goo goo goo a11 a11 a11";
  gap: 14px;
}
.tile {
  --mx: 50%; --my: 0%;
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 250px;
  padding: clamp(22px, 2.2vw, 32px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(171, 100, 240, 0.14), transparent 60%);
  opacity: 0; transition: opacity var(--t-medium) ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(252, 151, 116, 0.75), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity var(--t-medium) ease;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile h3 { font-size: clamp(1.3rem, 1.7vw, 1.7rem); line-height: 1.14; letter-spacing: -0.032em; font-weight: 620; max-width: 24ch; text-wrap: balance; }
.tile p { color: var(--ink-2); line-height: 1.55; max-width: 46ch; }
.tile__tag { display: flex; align-items: center; gap: 9px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.tile__tag svg { width: 16px; height: 16px; color: var(--peach); }
.tile--rec { grid-area: rec; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; gap: 28px; }
.tile__copy { display: flex; flex-direction: column; gap: 12px; }
.tile--rem { grid-area: rem; }
.tile--search { grid-area: src; }
.tile--widgets { grid-area: wid; }
.tile--motion { grid-area: mot; min-height: 0; }
.tile--google { grid-area: goo; }
.tile--a11y { grid-area: a11; }

/* Wiederholungen */
.rec-demo { display: flex; flex-direction: column; gap: 16px; }
.rec-demo__chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.72rem; }
.rec-demo__chips span { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.rec-demo__chips .is-on { border-color: transparent; background: var(--grad-x); color: #160f1e; font-weight: 500; }
.rec-demo__strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.rec-demo__strip span { position: relative; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 0.75rem; color: var(--ink-3); background: rgba(255, 255, 255, 0.035); font-variant-numeric: tabular-nums; }
.rec-demo__strip span.is-head { height: auto; background: none; font-size: 0.68rem; letter-spacing: 0.06em; padding-bottom: 2px; }
.rec-demo__strip span.is-hit { color: var(--ink); background: rgba(171, 100, 240, 0.16); }
.rec-demo__strip span.is-hit::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 5px; height: 2.5px; border-radius: 2px; background: var(--grad-x); transform: scaleX(0); transition: transform 0.6s var(--ease-out) var(--d, 0s); }
.tile.is-in .rec-demo__strip span.is-hit::after { transform: scaleX(1); }

/* Erinnerungen */
.notif-stack { position: relative; margin-top: auto; padding-top: 30px; }
.notif {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px; border-radius: 22px;
  background: rgba(40, 38, 58, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
  font-size: 0.86rem;
}
.notif__head { display: flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--ink-3); margin-bottom: 4px; }
.notif__head svg { width: 16px; height: 16px; }
.notif b { font-size: 0.98rem; font-weight: 600; }
.notif > span { color: var(--ink-2); }
.notif__actions { display: flex; gap: 20px; margin-top: 10px; font-size: 0.8rem; font-weight: 620; color: hsl(var(--app-hue) 100% 82%); }
.notif--back { position: absolute; left: 6%; right: 6%; top: 0; z-index: 1; opacity: 0.5; transform: scale(0.94); transform-origin: top; }

/* Suche */
.search-demo { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.search-demo__field { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 25px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); font-size: 1rem; }
.search-demo__field svg { width: 19px; height: 19px; color: var(--ink-3); }
.search-demo__caret { width: 1.5px; height: 20px; background: var(--peach); animation: caret 1s steps(2) infinite; margin-left: -8px; }
@keyframes caret { 50% { opacity: 0; } }
.search-demo__results { display: flex; flex-direction: column; gap: 4px; min-height: 172px; }
.search-demo__results li { display: grid; grid-template-columns: 4px 1fr auto; column-gap: 12px; align-items: center; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); font-size: 0.9rem; animation: result-in 0.5s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
.search-demo__results li::before { content: ""; height: 26px; border-radius: 2px; background: var(--c); }
.search-demo__results li.is-day { grid-template-columns: 1fr; background: none; padding: 6px 4px 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.search-demo__results li.is-day::before { display: none; }
.search-demo__results small { font-size: 0.75rem; color: var(--ink-3); font-family: var(--font-mono); }
.search-demo__results mark { background: rgba(252, 151, 116, 0.28); color: var(--ink); border-radius: 3px; padding: 0 1px; }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } }

/* Widgets */
.widgets-demo { margin-top: auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; padding-top: 12px; }
.wdg { border-radius: 24px; padding: 14px; background: rgba(28, 26, 40, 0.9); border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7); }
.wdg--month { display: flex; flex-direction: column; gap: 6px; }
.wdg-month__head { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; }
.wdg-month__head span { color: var(--ink-3); font-weight: 400; }
.wdg-month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: 0.6rem; text-align: center; color: var(--ink-2); }
.wdg-month__grid span { position: relative; height: 17px; line-height: 15px; border-radius: 5px; }
.wdg-month__grid span.is-head { color: var(--ink-3); font-size: 0.55rem; }
.wdg-month__grid span.is-out { opacity: 0.35; }
.wdg-month__grid span.is-mark::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 1px; height: 2px; border-radius: 1px; background: var(--c); }
.wdg-month__grid span.is-today { background: hsl(var(--app-hue) 100% 80%); color: hsl(var(--app-hue) 44% 12.5%); font-weight: 700; }
.wdg--tasks { display: flex; flex-direction: column; gap: 10px; font-size: 0.8rem; }
.wdg--tasks b { font-size: 0.82rem; }
.wdg-task { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.wdg-task i { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px hsl(var(--app-hue) 100% 80%); flex: none; position: relative; }
.wdg-task.is-done { color: var(--ink-4); text-decoration: line-through; }
.wdg-task.is-done i { background: hsl(var(--app-hue) 100% 80%); }

/* Bewegung – Gummiband */
.rubber {
  position: relative; margin-top: auto;
  height: 168px; border-radius: 22px; overflow: hidden;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  touch-action: none; user-select: none; cursor: grab;
}
.rubber:active { cursor: grabbing; }
.rubber__list { display: flex; flex-direction: column; padding: 8px 14px; transform: translateY(var(--y, 0px)) scaleY(var(--sy, 1)); transform-origin: top; will-change: transform; }
.rubber__list span { display: flex; align-items: center; gap: 12px; height: 38px; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.rubber__list span:last-child { border-bottom: 0; }
.rubber__list span::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--c); }
.rubber__list small { margin-left: auto; font-size: 0.72rem; color: var(--ink-3); }

/* Google */
.sync-demo { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 16px; }
.sync-node { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.sync-node svg { width: 34px; height: 34px; }
.sync-node--text { width: auto; padding: 0 18px; font-size: 0.85rem; font-weight: 560; line-height: 1.35; }
.sync-line { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.sync-line i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 12px var(--peach); animation: sync-r 2.6s var(--ease-io) infinite; }
.sync-line i + i { background: #8b7cf6; box-shadow: 0 0 12px #8b7cf6; animation-name: sync-l; animation-delay: 1.3s; }
@keyframes sync-r { from { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
@keyframes sync-l { from { left: calc(100% - 8px); opacity: 0; } 15%, 85% { opacity: 1; } to { left: 0; opacity: 0; } }

/* Barrierefreiheit */
@property --pct { syntax: "<integer>"; inherits: false; initial-value: 100; }
.a11y-demo { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 16px; min-height: 104px; }
.a11y-demo__aa { font-size: 44px; font-weight: 620; letter-spacing: -0.04em; line-height: 1; transform-origin: left bottom; animation: aa 4.8s var(--ease-io) infinite; }
.a11y-demo__pct { font-size: 0; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); counter-reset: pct var(--pct); animation: pct 4.8s var(--ease-io) infinite; }
.a11y-demo__pct::before { content: counter(pct) " %"; font-size: 0.85rem; }
@keyframes aa { 0%, 12% { transform: scale(1); } 45%, 62% { transform: scale(2); } 95%, 100% { transform: scale(1); } }
@keyframes pct { 0%, 12% { --pct: 100; } 45%, 62% { --pct: 200; } 95%, 100% { --pct: 100; } }

/* ==========================================================================
   Privatsphäre – 20:00
   ========================================================================== */
.privacy { padding: clamp(110px, 14vw, 210px) 0 clamp(80px, 10vw, 140px); }
.privacy__title { font-size: clamp(2.8rem, 8vw, 8.8rem); line-height: 0.92; letter-spacing: -0.05em; font-weight: 630; max-width: 11ch; text-wrap: balance; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 100px); border-top: 1px solid var(--line-2); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2.4vw, 32px) clamp(12px, 2vw, 28px) 0; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: clamp(5.5rem, 16vw, 17rem); line-height: 0.82; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; font-style: normal; }
.stat__label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.privacy__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-top: clamp(48px, 6vw, 80px); }
.privacy__text { max-width: 42rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* ==========================================================================
   Laufband
   ========================================================================== */
.marquee { padding: clamp(28px, 4vw, 56px) 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee__row { display: flex; white-space: nowrap; }
.marquee__inner {
  display: flex; flex: none; align-items: center; gap: 0.42em; padding-right: 0.42em;
  font-size: clamp(3rem, 8.6vw, 8.6rem); font-weight: 640; letter-spacing: -0.045em; line-height: 1.08;
  will-change: transform;
}
.marquee__inner i { width: 0.2em; height: 0.2em; flex: none; border-radius: 50%; background: var(--dot); }
.marquee__inner .serif { font-size: 1.06em; background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.marquee__row--rev .marquee__inner > span:not(.serif) { color: transparent; -webkit-text-stroke: 1.2px rgba(243, 241, 248, 0.42); }

/* ==========================================================================
   Holen – 22:30
   ========================================================================== */
.cta { position: relative; min-height: 115svh; display: grid; place-items: center; text-align: center; padding: clamp(120px, 14vw, 200px) 0; overflow: clip; }
.cta__mark { position: absolute; left: 50%; top: 50%; width: min(96vw, 940px); aspect-ratio: 1; translate: -50% -50%; opacity: 0.32; pointer-events: none; }
.cta__mark svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 60px rgba(171, 100, 240, 0.55)); }
.cta__arc { stroke-dasharray: 1; stroke-dashoffset: 0; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { justify-content: center; }
.cta__title { font-size: clamp(3rem, 9.2vw, 10rem); line-height: 0.9; letter-spacing: -0.055em; font-weight: 640; text-wrap: balance; }
.cta__lead { margin: clamp(22px, 2.6vw, 34px) auto clamp(30px, 3.6vw, 48px); max-width: 36rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.cta__lead strong { display: block; color: var(--ink); font-weight: 600; }
.cta__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; font-size: 0.75rem; color: var(--ink-3); }
.cta__facts li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11, 10, 18, 0.4); }
.cta__note { margin-top: 22px; max-width: 30rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }
.cta__sum { margin-top: 10px; max-width: min(100%, 36rem); font-size: 0.68rem; letter-spacing: 0.02em; color: var(--ink-3); overflow-wrap: anywhere; }

/* ==========================================================================
   Fußzeile
   ========================================================================== */
.footer { position: relative; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); overflow: clip; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.footer__clock { font-size: clamp(1.2rem, 2vw, 1.75rem); letter-spacing: -0.03em; font-weight: 520; }
.footer__clock .mono { font-size: 0.9em; padding: 2px 10px; border-radius: 10px; background: rgba(243, 241, 248, 0.07); }
.footer__greeting { color: var(--ink-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.footer__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); transition: color var(--t-small) ease; }
.footer__links a:hover { color: var(--ink); }
.footer__links svg { width: 16px; height: 16px; }
.footer__word {
  --mx: 50%; --my: 50%;
  margin: clamp(30px, 5vw, 70px) 0 0;
  font-size: clamp(5rem, 22.5vw, 26rem); font-weight: 720; letter-spacing: -0.065em; line-height: 0.78;
  text-align: center; white-space: nowrap; user-select: none;
  color: transparent;
  background: radial-gradient(30vw circle at var(--mx) var(--my), #fc9774 0%, #ab64f0 34%, #6168f1 52%, rgba(243, 241, 248, 0.07) 76%);
  -webkit-background-clip: text; background-clip: text;
  padding-bottom: 0.06em;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 110px; font-size: 0.9rem; color: var(--ink-3); border-top: 1px solid var(--line); }
.footer__legal { flex-basis: 100%; max-width: 62rem; font-size: 0.75rem; line-height: 1.55; color: var(--ink-3); }

/* ==========================================================================
   Datenschutz-Seite
   ========================================================================== */
.legal { padding: 140px 0 140px; }
.legal__wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.045em; font-weight: 640; margin-bottom: 16px; }
.legal .legal__meta { color: var(--ink-3); margin-bottom: 48px; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; font-weight: 620; margin: 48px 0 14px; }
.legal h3 { font-size: 1.15rem; letter-spacing: -0.02em; font-weight: 620; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(252, 151, 116, 0.6); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--peach); }
.legal__card h2, .legal__en h2 { margin-top: 0; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal code { font-family: var(--font-mono); font-size: 0.82em; padding: 2px 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); overflow-wrap: anywhere; }
.legal .eyebrow a { color: var(--ink-2); }
.legal + .footer .footer__bottom { padding-bottom: 40px; border-top: 0; }
.legal__card { margin: 0 0 8px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-2); }
.legal__en { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .hero__facts { display: none; }
}

@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "rec rec" "rem src" "wid mot" "wid a11" "goo goo";
  }
  .tile--rec { grid-template-columns: 1fr; align-items: start; }
  .views__meta { display: none; }
  .views__sticky { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 900px) {
  .pill__links { display: none; }
  .pill__menu { display: flex; }
  .pill { padding: 0 8px 0 8px; }

  .hero { padding-top: 96px; justify-content: flex-start; }
  .hero__title { font-size: clamp(3.2rem, 15.5vw, 7rem); }
  .hero__line--2 { padding-left: 0.4em; }
  .hero__device { position: relative; right: auto; top: auto; translate: none; display: flex; justify-content: center; margin: 36px 0 8px; order: 0; }
  .hero__device .phone { --w: min(62vw, 300px); }
  .hero__halo { right: -40vw; top: 52%; width: 130vw; }
  .hero__tilt { transform: rotateY(-8deg) rotateX(4deg); }
  .float-chip--a { left: -18%; top: 12%; }
  .float-chip--b { right: -16%; bottom: 18%; }
  .hero__inner { display: contents; }
  .hero__eyebrow, .hero__title { position: relative; z-index: 2; padding-inline: var(--gutter); }
  .hero__bottom { padding-inline: var(--gutter); margin-top: 20px; max-width: none; }
  .hero__foot { padding-bottom: 104px; }

  .views__scroll { height: 520vh; }
  .views__sticky {
    grid-template-columns: 1fr; grid-template-rows: 1fr auto;
    align-content: center; justify-items: center; gap: 18px;
    padding-top: 78px; padding-bottom: 92px;
  }
  .views__device { grid-row: 1; align-self: end; }
  .views__device .phone { --w: min(58vw, calc((100svh - 330px) / 2.17)); }
  .views__list { grid-row: 2; position: relative; width: 100%; max-width: 30rem; min-height: 9.5em; }
  .views__item { position: absolute; inset: 0 0 auto; text-align: center; opacity: 0; visibility: hidden; transition: opacity var(--t-medium) ease, visibility 0s var(--t-medium); }
  .views__item.is-active { opacity: 1; visibility: visible; transition: opacity var(--t-medium) ease; }
  .views__btn { justify-content: center; margin-inline: auto; font-size: 1.9rem; }
  .views__btn .mono { transform: none; }
  .views__text { padding-left: 0; margin-inline: auto !important; }
  .views__item .views__text { max-height: none; opacity: 1; margin-top: 4px; }

  .glass__grid { display: flex; flex-direction: column; gap: 0; }
  .glass__copy { display: contents; }
  .glass__stage { order: 1; min-height: 360px; margin-top: 32px; }
  .controls { order: 2; }
  .glass__note { order: 3; }

  .stats { grid-template-columns: 1fr; border-top: 0; }
  .stat { flex-direction: row; align-items: baseline; justify-content: space-between; border-left: 0; border-top: 1px solid var(--line-2); padding: 14px 0 0; }
}

@media (max-width: 640px) {
  .topbar { padding-top: max(12px, env(safe-area-inset-top)); }
  .clock__label { display: none; }
  .hero__facts { display: none; }
  .hero__lead { font-size: 1.08rem; }
  .float-chip { font-size: 0.78rem; padding: 9px 12px; }
  .float-chip small { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "rec" "rem" "src" "wid" "mot" "goo" "a11"; }
  .tile { min-height: 0; }
  .widgets-demo { grid-template-columns: 1fr 1fr; }
  .moment { width: 80vw; }
  .day__sticky { --now-x: 24px; }
  .day__scroll { height: 420vh; }
  .sync-node--text { padding: 0 12px; font-size: 0.78rem; }
  .stores { flex-direction: column; align-items: stretch; width: 100%; }
  .stores--big { width: min(100%, 22rem); margin-inline: auto; }
  .stores--big .store { min-height: 64px; }
  .footer__bottom { padding-bottom: 100px; }
  .manifest__text { font-size: clamp(1.75rem, 8.4vw, 2.6rem); }
}

@media (max-height: 640px) and (min-width: 901px) {
  .hero__device .phone { --w: min(240px, calc((100svh - 140px) / 2.17)); }
}

/* ==========================================================================
   Reduzierte Bewegung: nur Überblendungen
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__halo svg, .inline-logo svg, .blob, .blob-logo, .scroll-cue__line::after,
  .sync-line i, .a11y-demo__aa, .a11y-demo__pct, .search-demo__caret { animation: none !important; }
  .phone .rise, .phone .grow, .phone .sheet-up { transform: none !important; }
  .store--android, .pill__cta { transition: none !important; }
}
.rm .day__scroll { height: auto; }
.rm .day__sticky { position: relative; height: auto; overflow-x: auto; overflow-y: hidden; padding: 60px 0 40px; scroll-snap-type: x proximity; }
.rm .moment { scroll-snap-align: start; }
.rm .day__now { display: none; }
.rm .day__track { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: var(--gutter); }
