/*
 * Daily Thread website, new edition. Colours and app elements come from /kit/kit.css (same values as the app).
 * Calm page, three big moments (weave, globe, night to morning). Everything readable without motion.
 * No middle dots as separators (house rule).
 */
* { box-sizing: border-box; }
/* no blue flash on tap (Android/iOS); pressed states are styled where it matters (wish of the user, 2026-11-18) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--dt-paper); color: var(--dt-ink); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img, svg, canvas { display: block; }
a { color: inherit; }
.wrap { --gutter: 24px; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dt-card); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--dt-label); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; }
.sub { color: var(--dt-muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 56ch; margin: 18px 0 0; }
.eyebrow { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dt-muted); margin: 0 0 14px; font-weight: 500; }
.note { color: var(--dt-muted); font-size: 15px; margin: 28px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.link { color: var(--dt-label); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; }
/* "Im Ratgeber": a quiet row under a chapter that links the guides on the same topic (2026-11-28) */
.guide-hint { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; line-height: 1.3; }
.guide-hint.center { justify-content: center; }
.guide-hint > span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dt-muted); margin-right: 6px; }
.guide-hint a, .page .guide-hint a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--dt-line); background: transparent; color: var(--dt-ink); text-decoration: none; font-weight: 500; transition: border-color .22s, color .22s; }
.guide-hint a::after { content: ""; width: 6px; height: 6px; flex: none; border-right: 1.6px solid var(--dt-label); border-top: 1.6px solid var(--dt-label); transform: rotate(45deg); }
.guide-hint a:hover, .guide-hint a:focus-visible, .page .guide-hint a:not(.btn):hover { border-color: var(--dt-label); color: var(--dt-label); }
.page .guide-hint { margin-top: 48px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--dt-label-soft); color: var(--dt-on-label); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: rgba(255, 255, 255, .1); color: #F5F5F5; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* ---------- header ---------- */
/* header.top, not .top: the kit's Heute card has a .top row too, which otherwise got the header's paper background */
/* "Ruhige Linie" (proposal A, chosen by the user 2026-11-27): paper with one hairline below, like the app.
   No gradient, no shadow, no glow; it only shows the page through a little when it moves under it.
   The page you are on gets a short magenta stroke that sits exactly on the hairline, like a bookmark. */
header.top { position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--dt-paper) 88%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--dt-line);
  transition: border-color .3s, background-color .3s, color .3s; }
/* over the night sky of the start page: calm black glass, light writing */
header.top.on-night { background: rgba(0, 0, 0, .62); color: #F5F5F5; --dt-muted: #B8B1BF; --dt-label: #FF85BA;
  border-bottom-color: rgba(255, 255, 255, .12); }
/* without backdrop blur (old browsers) the glass would be unreadable: then solid */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { header.top { background: var(--dt-paper); } header.top.on-night { background: #000; } }
.bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; font-size: 17px; letter-spacing: -.2px; }
/* the small turn on hover, the same as in the web app (wish of the user, 2026-11-18) */
.brand img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.brand:hover img, .brand:focus-visible img { transform: rotate(60deg); }
@media (prefers-reduced-motion: reduce) { .brand img { transition: none; } }
/* Two groups: the chapters of the start page, then the own pages (Ratgeber, Hilfe, Über uns), split by a short hairline */
.links { display: flex; align-items: stretch; align-self: stretch; margin-left: 12px; }
.links a { position: relative; display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.links a:nth-child(4) { margin-left: 13px; }
.links a:nth-child(4)::before { content: ""; position: absolute; left: -7px; top: 50%; width: 1px; height: 18px; margin-top: -9px; background: var(--dt-line); }
.on-night .links a:nth-child(4)::before { background: rgba(255, 255, 255, .18); }
.links a, .quiet { text-decoration: none; color: var(--dt-muted); font-size: 15px; transition: color .22s; }
.links a:hover, .quiet:hover, .links a:focus-visible { color: inherit; }
/* under the mouse a fine line glides in from the left; the current page: ink, a little bolder, magenta stroke */
.links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 1px; border-radius: 2px;
  background: currentColor; opacity: .35; transform: scaleX(0); transform-origin: left; transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .22s; }
.links a:hover::after, .links a:focus-visible::after { transform: none; }
.links a[aria-current] { color: inherit; font-weight: 600; letter-spacing: -.1px; }
.links a[aria-current]::after { height: 2px; background: var(--dt-label); opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .links a::after { transition: none; } }
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* a short hairline between "Anmelden" and the switches */
.tools > .quiet:first-child { position: relative; margin-right: 10px; }
.tools > .quiet:first-child::after { content: ""; position: absolute; right: -11px; top: 50%; width: 1px; height: 18px; margin-top: -9px; background: var(--dt-line); }
.on-night .tools > .quiet:first-child::after { background: rgba(255, 255, 255, .18); }
.theme { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
[data-theme="dark"] .theme .sun, :root:not([data-theme="dark"]) .theme .moon { display: none; }
.cta-pill { height: 38px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--dt-label-soft);
  color: var(--dt-on-label); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
/* Menu on phones: a full-width panel that folds out under the header, like a page of its own; the two lines turn
   into an ×, the page behind dims and stays still. Proposal A (2026-11-27): big rows numbered 01 to 06, the page you
   are on in magenta, "Anmelden" and "Platz sichern" side by side, the language quietly at the end. */
.menu { display: none; position: static; }
.menu summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; position: relative; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; transition: opacity .2s, transform .25s; }
.menu summary::before, .menu summary::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.8px; margin: -.9px 0 0 -9px;
  border-radius: 2px; background: currentColor; opacity: 0; transition: opacity .2s, transform .25s; }
.menu[open] summary svg { opacity: 0; transform: rotate(45deg) scale(.6); }
.menu[open] summary::before { opacity: 1; transform: rotate(45deg); }
.menu[open] summary::after { opacity: 1; transform: rotate(-45deg); }
.menu nav { position: fixed; left: 0; right: 0; top: 64px; height: calc(100dvh - 64px); align-content: start; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 24px 28px; background: var(--dt-paper); color: var(--dt-ink);
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; counter-reset: nav; animation: menu-in .28s cubic-bezier(.2, .8, .2, 1); }
.menu nav a { grid-column: 1 / -1; padding: 14px 2px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.5px; text-decoration: none; color: var(--dt-ink);
  border-bottom: 1px solid var(--dt-line); display: flex; align-items: baseline; gap: 14px; transition: color .22s; }
.menu nav a::before { counter-increment: nav; content: counter(nav, decimal-leading-zero); width: 20px; flex: none;
  font-size: 12px; letter-spacing: 1px; font-weight: 400; color: var(--dt-muted); font-variant-numeric: tabular-nums; }
.menu nav a[aria-current], .menu nav a[aria-current]::before, .menu nav a:active { color: var(--dt-label); }
/* "Anmelden" (outlined) and "Platz sichern" (magenta) as two pills side by side; the language small and quiet below */
.menu nav a[href^="/app"], .menu nav a.m-cta { grid-column: auto; margin-top: 24px; justify-content: center; align-items: center; height: 50px; padding: 0 8px;
  border: 1px solid var(--dt-ink); border-radius: 999px; font-size: 16px; line-height: 1; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.menu nav a.m-cta { background: var(--dt-label-soft); border-color: transparent; color: var(--dt-on-label); }
.menu nav a[href^="/app"]::before, .menu nav a.m-cta::before, .menu nav a[hreflang]::before { content: none; }
.menu nav a[hreflang] { border: 0; justify-content: center; font-size: 15px; line-height: 20px; letter-spacing: 0; color: var(--dt-muted); padding: 18px 0 0; }
/* the page behind: dimmed and held still while the menu is open */
/* (the header's blur makes it the frame for fixed children, so heights are given in dvh, not with bottom: 0) */
.menu[open]::after { content: ""; position: fixed; left: 0; right: 0; top: 64px; height: 100dvh; background: rgba(0, 0, 0, .28); z-index: -1; }
body:has(.menu[open]) { overflow: hidden; }
/* while the menu is open the header is plain paper, also over the night sky (the night colours are dropped again) */
header.top:has(.menu[open]) { background: var(--dt-paper); color: var(--dt-ink); border-bottom-color: var(--dt-line); --dt-muted: inherit; --dt-label: inherit; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .menu nav { animation: none; } }
/* "Auswertungen" made the row longer: the menu takes over already below 1100 px; on phones "Platz sichern" moves into the menu */
@media (max-width: 1099px) { .links, .hide-s { display: none; } .menu { display: block; } .bar { gap: 10px; } .tools { gap: 6px; } }
@media (max-width: 640px) { .tools > .cta-pill { display: none; } }

/* ---------- B: the thread through the page ---------- */
main { position: relative; }
.thread { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.thread path { fill: none; stroke-linecap: round; }
.thread-bg { stroke: var(--dt-line); stroke-width: 1; opacity: .5; }
.thread-line { stroke: url(#thread-grad); stroke-width: 2; }
.thread { transition: opacity .35s ease; }
.thread.held { opacity: .15; }
/* 2026-11-18 (wish of the user): no line running down the whole page any more; on the left only the gauge
   shows up while a scroll effect holds the page, and how far it has come */
.thread { display: none; }
/* while a scroll effect holds the page: the thread becomes a gauge of how far the effect has come */
.pin-gauge { position: fixed; top: calc(64px + 7vh); bottom: 9vh; width: 2px; border-radius: 2px; z-index: 5; pointer-events: none;
  background: color-mix(in srgb, var(--dt-muted) 28%, transparent); opacity: 0; transition: opacity .35s ease; }
.pin-gauge.on { opacity: 1; }
.pin-gauge i { position: absolute; inset: 0; border-radius: inherit; transform-origin: top; transform: scaleY(0);
  background: linear-gradient(#7B52E0, #E04FD8 35%, #FF5E9C 70%, #FFB066); }
.pin-gauge b { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--dt-paper); border: 2px solid #E04FD8; box-sizing: border-box; }
.pin-gauge.thin { width: 1.5px; }
.pin-gauge.thin b { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }
.chapter, .hero { position: relative; z-index: 1; }

/* ---------- 1 hero: night ---------- */
.hero { background: linear-gradient(#000 0%, #07050d 55%, #120a22 100%); color: #F5F5F5; margin-top: -64px; padding: 140px 0 120px; text-align: center; overflow: hidden;
  --dt-muted: #B8B1BF; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--dt-paper)); }
.hero .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 1; display: grid; justify-items: center; }
/* the woven logo that draws itself thread by thread, the same as the app's loading animation (wish of the user, 2026-11-18) */
/* bigger (wish of the user, 2026-11-18): about 360 px on a computer, 200 px on a phone (was 230 / 170) */
.hero-logo { width: clamp(200px, 28vw, 360px); aspect-ratio: 1; margin-bottom: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > :not(.hero-logo) { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-in > :nth-child(2) { animation-delay: .45s; } .hero-in > :nth-child(3) { animation-delay: .55s; }
  .hero-in > :nth-child(4) { animation-delay: .65s; } .hero-in > :nth-child(5) { animation-delay: .75s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
/* always exactly two lines (wish of the user, 2026-11-18): each half on its own line, never broken further;
   on phones the size follows the width so the longer second line still fits */
.hero h1 { font-size: clamp(28px, calc((100vw - 40px) / 8.8), 84px); line-height: 1.04; letter-spacing: -.035em; max-width: none; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lead { color: #CFC9D6; font-size: clamp(17px, 1.7vw, 20px); max-width: 52ch; margin: 24px 0 0; }
.hero .eyebrow { color: #FFB066; }
/* light mode: a pale sky, the stars drawn dark so they stay clearly visible (wish of the user, 2026-11-17) */
:root:not([data-theme="dark"]) .hero { background: linear-gradient(#E6E0F2 0%, #EFEBF5 55%, var(--dt-paper) 100%); color: var(--dt-ink); --dt-muted: #5F5965; }
:root:not([data-theme="dark"]) .hero .lead { color: var(--dt-muted); }
:root:not([data-theme="dark"]) .hero .eyebrow { color: #B26A1F; }
:root:not([data-theme="dark"]) .hero .btn.ghost { background: transparent; color: var(--dt-ink); box-shadow: inset 0 0 0 1px var(--dt-ink); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------- chapters ---------- */
.chapter { padding: clamp(90px, 12vw, 160px) 0 0; }
.head { max-width: 760px; }
.track { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* 2 evening: phone stage */
/* 2026-11-18 (wish of the user): no scroll effect – phone and all five steps in view at once; the steps play by
   themselves (line on the left fills meanwhile), a tap on a step or on the phone moves on. */
.evening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 34px; align-items: center; }
.stage { display: grid; place-items: center; cursor: pointer; }
.dt-phone { width: min(310px, 80vw, calc((100vh - 170px) * .46)); }   /* phone fits the window together with the steps */
.dt-phone .screen { position: absolute; left: 0; top: 0; width: 390px; height: 845px; transform-origin: 0 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-width: 460px; }
.step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: center;
  padding: 12px 0 12px 18px; border-left: 2px solid var(--dt-line); cursor: pointer; opacity: .5; transition: opacity .35s; }
.step:hover { opacity: .8; }
.step.on { opacity: 1; }
.step::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--dt-label); transform-origin: top; transform: scaleY(0); }
.step.on::before { transform: scaleY(1); }
.step.on.run::before { animation: phase-run var(--dur, 5s) linear forwards; }
.step .no { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600;
  background: color-mix(in srgb, var(--dt-ink) 7%, transparent); color: var(--dt-muted); transition: background .3s, color .3s; }
.step.on .no { background: color-mix(in srgb, var(--dt-label) 18%, transparent); color: var(--dt-label); }
.step h3 { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.2; }
.step p { grid-column: 2; color: var(--dt-muted); margin: 8px 0 2px; font-size: 16.5px; display: none; }
.step.on p { display: block; animation: step-in .35s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
/* calm language hint for visitors whose browser prefers another language (assets/lang-hint.js) */
.lang-hint { position: fixed; left: 0; right: 0; bottom: 18px; margin: 0 auto; width: max-content; z-index: 60;
  transform: translateY(16px); opacity: 0;
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 10px 10px 10px 18px;
  background: var(--dt-card); color: var(--dt-ink); border: 1px solid var(--dt-line); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14); font-size: 14.5px; transition: opacity .3s, transform .3s; }
:root[data-theme="dark"] .lang-hint { border-color: color-mix(in srgb, var(--dt-ink) 22%, transparent); box-shadow: 0 10px 34px rgba(0, 0, 0, .7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lang-hint { border-color: color-mix(in srgb, var(--dt-ink) 22%, transparent); box-shadow: 0 10px 34px rgba(0, 0, 0, .7); } }
.lang-hint.in { opacity: 1; transform: translateY(0); }
.lang-hint a { color: var(--dt-label); font-weight: 600; text-decoration: none; white-space: nowrap; }
.lang-hint a:hover { text-decoration: underline; }
.lang-hint button { border: 0; background: transparent; color: var(--dt-muted); font-size: 20px; line-height: 1; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; flex: none; }
.lang-hint button:hover { background: color-mix(in srgb, var(--dt-ink) 8%, transparent); color: var(--dt-ink); }
@media (max-width: 520px) { .lang-hint { flex-wrap: wrap; gap: 6px 12px; border-radius: 18px; bottom: 12px; width: calc(100vw - 32px); } .lang-hint span { flex-basis: calc(100% - 44px); } .lang-hint button { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .lang-hint { transition: none; } }
/* Ratgeber on the homepage: three quiet link cards */
.guide-row { margin: 30px 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guide-row a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; background: var(--dt-card);
  border: 1px solid var(--dt-line); color: var(--dt-ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.guide-row a:hover { border-color: color-mix(in srgb, var(--dt-label) 50%, var(--dt-line)); transform: translateY(-2px); }
.guide-row span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dt-label); font-weight: 600; }
.guide-row strong { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.2px; }
.guide-row em { font-style: normal; color: var(--dt-muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 800px) { .guide-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .guide-row a { transition: none; } .guide-row a:hover { transform: none; } }
/* Auf einen Blick: features first as one large card, then AI, privacy, launch, price (order wished by the user, 2026-11-18) */
.facts { margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.facts-lead { margin-top: 30px; grid-template-columns: 1fr; }
.facts > div { padding: 18px 20px; border-radius: 20px; background: var(--dt-card); border: 1px solid var(--dt-line); }
.facts dt { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dt-label); font-weight: 600; }
.facts dd { margin: 6px 0 0; color: var(--dt-ink); font-size: 15.5px; line-height: 1.5; }
.facts-lead > div { padding: 24px 26px; }
.facts-lead dd p { margin: 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; letter-spacing: -.2px; font-weight: 500; }
/* "Auf einen Blick" as a bento grid (wish of the user, 2026-11-18): tiles of different sizes with texts of
   different length, each with its own soft tint; privacy, launch and price stay as a row of three below.
   Wide: 4 columns, 5 rows. Middle: 2 columns. Phones: 2 columns, big tiles across. */
.bento { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto);
  grid-template-areas: "intro intro ai ai" "intro intro mood voice" "globe globe scan photo" "globe globe scan streak" "cal cal widgets focus" "privacy privacy privacy privacy"; }
.bt { --a: 224, 79, 216; position: relative; overflow: hidden; border-radius: 22px; padding: 22px 22px 20px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(var(--a), .1), rgba(var(--a), .02) 60%), var(--dt-card); border: 1px solid var(--dt-line);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
:root[data-input="mouse"]:not(.scrolling) .bt:hover { transform: translateY(-3px); border-color: rgba(var(--a), .45); box-shadow: 0 16px 36px -18px rgba(var(--a), .7); }
.bt h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.3px; margin: 0; }
.bt p { margin: 6px 0 0; color: var(--dt-muted); font-size: 15px; line-height: 1.5; }
.bt-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: auto; background: rgba(var(--a), .16); }
.bt-ic svg { width: 21px; height: 21px; fill: none; stroke: rgb(var(--a)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bt-ic + h3 { margin-top: 18px; }
/* each tile is a jump mark to its section (2026-11-19): the whole tile can be tapped, a small arrow shows it */
.bt-go { color: inherit; text-decoration: none; }
.bt-go::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.bt-go:focus-visible { outline: none; } .bt:has(.bt-go:focus-visible) { outline: 2px solid var(--dt-label); outline-offset: 3px; }
/* the arrow: a fine drawn chevron like everywhere else on the site, not the "→" text character (wish of the user, 2026-11-28) */
.bt h3:has(.bt-go)::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 2px 9px; vertical-align: middle;
  border-right: 1.8px solid rgb(var(--a)); border-top: 1.8px solid rgb(var(--a)); border-radius: 0 1px 0 0;
  rotate: 45deg; translate: -4px 0; opacity: 0; transition: opacity .3s, translate .3s; }
:root[data-input="mouse"]:not(.scrolling) .bt:hover h3::after, .bt.lit h3::after { opacity: 1; translate: 0 0; }
.bt { cursor: pointer; }
/* the big symbol in the corner of the large tiles */
.bt-globe .bt-ic svg, .bt-intro::after { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.bt-intro { grid-area: intro; --a: 123, 82, 224; justify-content: flex-end; padding: 28px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 94, 156, .22), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(123, 82, 224, .2), transparent 60%), var(--dt-card); }
.bt-intro::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: url(/assets/logo.svg) center / contain no-repeat; opacity: .16; }
:root[data-input="mouse"]:not(.scrolling) .bt-intro:hover::after { transform: rotate(60deg) scale(1.05); }
.bt-eyebrow { font-size: 12px !important; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dt-label) !important; font-weight: 600; margin: 0 !important; }
.bt-lead { color: var(--dt-ink) !important; font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.22 !important; letter-spacing: -.5px; font-weight: 500; margin-top: 10px !important; }
.bt-leadsub { font-size: 16px !important; margin-top: 12px !important; max-width: 46ch; }
.bt-ai { grid-area: ai; --a: 224, 79, 216; }
.bt-mood { grid-area: mood; --a: 255, 94, 156; }
.bt-voice { grid-area: voice; --a: 123, 82, 224; }
.bt-globe { grid-area: globe; --a: 70, 120, 220; justify-content: flex-end; }
.bt-globe .bt-ic { position: absolute; right: -50px; top: -50px; width: 260px; height: 260px; border-radius: 50%; background: rgba(var(--a), .07); margin: 0; }
.bt-globe .bt-ic svg { width: 170px; height: 170px; stroke-width: .6; opacity: .55; }
:root[data-input="mouse"]:not(.scrolling) .bt-globe:hover .bt-ic svg { transform: rotate(-25deg); }
.bt-globe h3 { font-size: 24px; margin-top: 0; } .bt-globe p { font-size: 16px; max-width: 44ch; }
.bt-scan { grid-area: scan; --a: 47, 168, 132; }
.bt-photo { grid-area: photo; --a: 255, 150, 90; }
.bt-streak { grid-area: streak; --a: 255, 176, 102; }
.bt-cal { grid-area: cal; --a: 224, 79, 216; }
.bt-widgets { grid-area: widgets; --a: 123, 82, 224; }
.bt-focus { grid-area: focus; --a: 93, 99, 144; }
/* privacy (2026-11-19): a wide tile in the grid's design, leading to "Nur für dich"; it carries the night sky that
   turns into morning there – a dark blue edge on the left, the sunrise glowing up from the bottom right */
.bt-privacy { grid-area: privacy; --a: 255, 150, 90; min-height: 0; flex-direction: row; align-items: center; gap: 18px; padding: 22px 26px;
  background: radial-gradient(70% 140% at 100% 120%, rgba(255, 176, 102, .32), transparent 60%),
    radial-gradient(50% 120% at 0% 0%, rgba(40, 44, 90, .18), transparent 70%), var(--dt-card); }
.bt-privacy .bt-ic { margin: 0; flex: none; }
.bt-privacy h3 { margin: 0 !important; flex: none; }
.bt-privacy p { margin: 0; max-width: 70ch; }
.bt-privacy::after { content: ""; position: absolute; right: -60px; bottom: -150px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 120, .55), rgba(255, 140, 120, .15) 55%, transparent 70%); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
:root[data-input="mouse"]:not(.scrolling) .bt-privacy:hover::after { transform: translateY(-40px) scale(1.1); }
.bt-privacy.lit::after { transform: translateY(-40px) scale(1.1); }
@media (max-width: 640px) { .bt-privacy { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; } }   /* moved here from the "Ein Abend" helpers row (2026-11-19) */
/* 2026-11-19 (user): only privacy stays below the grid; launch and price sit at the end of the page, under the sign-up */
.facts.facts-1 { grid-template-columns: 1fr; margin-top: 12px; }
.facts.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .facts.facts-2 { grid-template-columns: 1fr; } }
.launch-facts { margin-top: 34px; width: 100%; text-align: left; }
/* Start and price (wish of the user, 2026-11-19, option 4 of tools/start-preis-vorschlaege.html): the launch with
   three platform pills, below it Basic and Subscription side by side like plans, the subscription softly in pink */
.lf-start, .lf-plan { background: var(--dt-card); border: 1px solid var(--dt-line); border-radius: 20px; }
.lf-start { padding: 20px 22px; }
.lf-eyebrow { margin: 0; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dt-label); font-weight: 600; }
.lf-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lf-chips li { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 14px; font-size: 14px;
  background: color-mix(in srgb, var(--dt-ink) 7%, transparent); color: var(--dt-ink); }
.launch-facts svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lf-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.lf-plan { padding: 20px 22px; }
.lf-pro { border-color: color-mix(in srgb, var(--dt-label) 55%, var(--dt-line)); background: color-mix(in srgb, var(--dt-label) 6%, var(--dt-card)); }
.lf-price { margin: 8px 0 0; font-size: 32px; font-weight: 500; letter-spacing: -.8px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--dt-ink); }
.lf-price small { font-size: 15px; color: var(--dt-muted); font-weight: 400; letter-spacing: 0; }
.lf-plan ul { list-style: none; padding: 0; margin: 12px 0 0; color: var(--dt-muted); font-size: 14.5px; line-height: 1.5; }
.lf-plan li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.lf-plan li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--dt-label); }
.lf-note { color: var(--dt-muted); font-size: 14px; text-align: center; margin: 14px 0 0; }
@media (max-width: 560px) { .lf-plans { grid-template-columns: 1fr; } .lf-start, .lf-plan { padding: 18px 16px; } }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "intro intro" "ai ai" "mood voice" "globe globe" "scan photo" "scan streak" "cal cal" "widgets focus" "privacy privacy"; }
}
@media (max-width: 640px) {
  .bento { gap: 10px; grid-auto-rows: minmax(0, auto); }
  .bt { padding: 18px 16px 16px; border-radius: 18px; } .bt h3 { font-size: 17px; } .bt p { font-size: 14.5px; }
  .bt-ic + h3 { margin-top: 14px; }
  .bt-intro { padding: 22px 18px; min-height: 0; } .bt-globe { min-height: 0; }
  /* shorter on phones (the grid was almost 3 screens): the small tiles show only their title, the big ones a
     shorter text; every tile leads to its section */
  .bt-mood p, .bt-voice p, .bt-photo p, .bt-streak p, .bt-widgets p, .bt-focus p, .bt-leadsub { display: none; }
  .bt-ai p, .bt-globe p, .bt-scan p, .bt-cal p, .bt-privacy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bt-globe .bt-ic { width: 180px; height: 180px; right: -40px; top: -40px; } .bt-globe .bt-ic svg { width: 120px; height: 120px; }
  .bt-globe h3 { margin-top: 70px; }
  .bt h3::after { opacity: 1; transform: none; }
  .facts-2 { grid-template-columns: 1fr; }
}
/* Phones and tablets (no hover, wish of the user 2026-11-19): the tile in the middle of the screen lights up the same
   way while you scroll past (.lit from home.js) */
.bt.lit { transform: translateY(-3px); border-color: rgba(var(--a), .45); box-shadow: 0 16px 36px -18px rgba(var(--a), .7); }
.bt-intro.lit::after { transform: rotate(60deg) scale(1.05); }
.bt-globe.lit .bt-ic svg { transform: rotate(-25deg); }
@media (prefers-reduced-motion: reduce) { .bt, .bt-globe .bt-ic svg, .bt-intro::after { transition: none; } .bt:hover, .bt.lit { transform: none; } }
/* Features as an even grid with a small line icon each (2026-11-18; the wrapping pills of different widths looked
   untidy): three columns on wide screens, two on phones, every tile the same height. */
.feat { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.feat li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--dt-ink) 5%, transparent); font-size: 15px; line-height: 1.3; font-weight: 500; }
.feat svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: color-mix(in srgb, var(--dt-label) 14%, transparent);
  fill: none; stroke: var(--dt-label); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .facts-lead > div { padding: 20px 16px; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 14.5px; }
  .feat li:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts-lead { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
/* what an entry can hold: each helper with a short line on what actually happens (wish of the user, 2026-11-18) */
.helpers { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.helpers li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px; border-radius: 20px;
  background: var(--dt-card); border: 1px solid var(--dt-line); }
.helpers svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: color-mix(in srgb, var(--dt-label) 14%, transparent);
  color: var(--dt-label); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.helpers b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.helpers span { display: block; color: var(--dt-muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
@media (max-width: 1000px) { .helpers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .helpers { grid-template-columns: 1fr; } }

/* the screens inside the phone (built by neu.js at the app's own size, 1 dp = 1 px) */
.screen { background: var(--dt-paper); color: var(--dt-ink); opacity: 0; transition: opacity .45s; overflow: hidden; }
.screen.on { opacity: 1; }
.sb { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0; font-size: 15px; font-weight: 600; }
.sb i { display: flex; gap: 6px; } .sb i b { width: 17px; height: 11px; border-radius: 3px; background: currentColor; opacity: .85; }
.sb i b:first-child { width: 15px; border-radius: 2px 2px 4px 4px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.fl-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 4px 8px; text-align: center; }
.fl-top svg { width: 20px; height: 20px; margin: 0 auto; }
.fl-top b { font-size: 15px; display: block; } .fl-top small { font-size: 12px; color: var(--dt-muted); }
.fl-bar { display: flex; gap: 4px; padding: 6px 20px; }
.fl-bar span { flex: 1; height: 2px; border-radius: 1px; background: var(--dt-fill); } .fl-bar span.f { background: var(--dt-label); }
.fl-body { padding: 20px 24px 0; height: 640px; display: flex; flex-direction: column; }
.fl-q { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.5px; width: 92%; }
.fl-mood { flex: 1; display: grid; place-items: center; }
.fl-mood .dt-glow span { font-size: 57px; font-weight: 400; letter-spacing: -.25px; }
.fl-slider { height: 20px; position: relative; display: flex; align-items: center; }
.fl-slider .tr { position: absolute; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--dt-fill); }
.fl-slider .fi { position: absolute; left: 0; height: 4px; border-radius: 2px; background: var(--dt-label); width: 77.8%; transition: width .6s; }
.fl-slider .th { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--dt-ink); left: calc(77.8% - 10px); transition: left .6s; }
.fl-ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--dt-muted); margin: 6px 0 18px; }
.fl-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.fl-breath { flex: 1; display: grid; justify-items: center; align-content: center; gap: 4px; }
.fl-breath .ring { width: 280px; height: 280px; display: grid; place-items: center; position: relative; }
.fl-breath .ring .dt-glow { position: absolute; width: 280px; height: 280px; transform: scale(.75); transition: transform 5s ease-in-out; }
.fl-breath .ring.in .dt-glow { transform: scale(1); } .fl-breath .ring.out .dt-glow { transform: scale(.55); }
.fl-breath .play { width: 64px; height: 64px; border-radius: 50%; background: var(--dt-label); color: var(--dt-on-label); display: grid; place-items: center; z-index: 1; }
.fl-breath .play svg { width: 26px; height: 26px; fill: currentColor; }
.fl-breath b { font-size: 22px; font-weight: 500; } .fl-breath small { font-size: 14px; color: var(--dt-muted); }
.fl-ask { color: var(--dt-muted); font-size: 14px; margin-bottom: 10px; }
.fl-text { font-size: 18px; line-height: 28px; white-space: pre-wrap; }
.fl-text::after { content: ""; display: inline-block; width: 2px; height: 22px; background: var(--dt-label); vertical-align: -4px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fl-ctl { position: absolute; left: 0; right: 0; bottom: 34px; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; padding: 0 20px; }
.fl-ctl .bk { justify-self: start; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--dt-fill); display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.fl-ctl .pl { width: 46px; height: 46px; border-radius: 50%; background: var(--dt-fill); display: grid; place-items: center; justify-self: center; }
.fl-ctl .nx { justify-self: end; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--dt-label); color: var(--dt-on-label); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.fl-ctl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fl-home { padding: 34px 20px 0; display: grid; gap: 16px; }
.fl-home .hi { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.6px; }
.fl-home .da { font-size: 14px; color: var(--dt-muted); margin-top: 2px; }
.fl-home canvas { width: calc(100% + 40px); margin: 0 -20px; height: 150px; }
.fl-sec { display: flex; justify-content: space-between; } .fl-sec b { font-size: 17px; } .fl-sec span { color: var(--dt-label); font-size: 15px; }
.fl-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; border-top: 1px solid var(--dt-line); display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center; font-size: 13px; color: var(--dt-muted); padding-top: 10px; background: var(--dt-paper); }
.fl-nav svg { width: 26px; height: 26px; margin: 0 auto 4px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fl-nav .on { color: var(--dt-ink); font-weight: 600; }

/* 3 weave */
.weave-ch { padding-top: clamp(60px, 8vw, 110px); }
/* 2026-11-19: weave and calendar/year/curve are one chapter ("Aus Tagen werden Erinnerungen"); the weave comes
   first as its own block, then the three views, each with a small heading */
.weave-block { margin-top: clamp(28px, 4vw, 48px); }
.sub-h { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.4px; line-height: 1.2; margin: 0; }
.traces-h { margin-top: clamp(56px, 7vw, 90px); }
/* a quiet call to sign up in the middle of the page */
.mid-cta { margin-top: clamp(48px, 6vw, 80px); padding: 22px 26px; border-radius: 22px; display: flex; align-items: center; gap: 20px; justify-content: space-between;
  background: radial-gradient(120% 140% at 0% 0%, rgba(224, 79, 216, .12), transparent 60%), var(--dt-card); border: 1px solid var(--dt-line); }
.mid-cta p { margin: 0; font-size: 17px; } .mid-cta .btn { flex: none; }
@media (max-width: 640px) { .mid-cta { flex-direction: column; align-items: flex-start; } .mid-cta .btn { width: 100%; } }
/* who is behind it: a short personal note before the sign-up */
.hello-ch { padding-top: clamp(70px, 9vw, 120px); }
.hello { max-width: 720px; margin: 0 auto; display: flex; gap: 18px; align-items: flex-start; }
/* 2026-11-19 (user, option D): the founder note is a card; the threads to the logo lie behind it and come out at
   its lower edge, which glows softly (home.js endThread) */
.hello-ch { position: relative; z-index: 2; }
.hello { position: relative; padding: 22px 24px; border-radius: 22px; background: var(--dt-card); border: 1px solid var(--dt-line); }
.hello::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #E04FD8, #FF5E9C, #FFB066, transparent); opacity: .55; }
@media (max-width: 640px) { .hello { padding: 18px 16px; gap: 14px; } }
.hello-av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 600; color: #fff;
  background: conic-gradient(from 200deg, #7B52E0, #E04FD8, #FF5E9C, #FFB066, #7B52E0); }
.hello p { margin: 2px 0 8px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.45; letter-spacing: -.2px; }
/* a short price line under the hero buttons */
.hero-note { margin: 18px 0 0; font-size: 15px; color: var(--dt-muted); }
.hero-note a { color: inherit; text-underline-offset: 3px; }
.weave-head { position: relative; z-index: 1; }
.sticky .globe-text { padding-top: calc(64px + 5vh); }
.weave-stage { position: relative; height: clamp(300px, 52vh, 520px); margin-top: 10px; }
.big-weave { position: absolute; left: 0; top: 0; width: 100%; height: 72%; }
.weave-read { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: 2px; }
.weave-read .num { font-size: clamp(64px, 9vw, 110px); line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; transition: color .3s; }
.weave-read .word { color: var(--dt-muted); font-size: 18px; }
.try { max-width: 520px; margin: 40px auto 0; padding: 24px 26px; border-radius: 20px; background: var(--dt-card); border: 1px solid var(--dt-line); }
.try label { font-weight: 600; }
.try input { display: block; width: 100%; margin-top: 12px; accent-color: var(--dt-label); height: 28px; }
.try-scale { display: flex; justify-content: space-between; color: var(--dt-muted); font-size: 14px; }

/* 4 traces */
/* Erinnerungen: no scroll effect any more (2026-11-18) – the views switch by themselves or by a tap */
.traces-stage { padding: 36px 0 8px; }
.traces { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.phases li { opacity: .38; transition: opacity .4s; padding-left: 18px; border-left: 2px solid var(--dt-line); position: relative; cursor: pointer; }
.phases li:hover { opacity: .7; }
.phases li.on { opacity: 1; }
/* the active view's line fills from top to bottom while it is shown: the next one follows when it is full */
.phases li::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--dt-label);
  transform-origin: top; transform: scaleY(0); }
.phases li.on::before { transform: scaleY(1); }
.phases li.on.run::before { animation: phase-run 6.5s linear forwards; }
@keyframes phase-run { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .phases li.on.run::before { animation: none; } }
.phases b { display: block; font-size: 22px; letter-spacing: -.3px; } .phases span { color: var(--dt-muted); }
.trace-card { padding: 22px 22px 18px; max-width: 460px; width: 100%; justify-self: center; }
.tc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.tc-title { font-size: 17px; } .tc-sub { color: var(--dt-muted); font-size: 14px; }
.tc-views { position: relative; aspect-ratio: 1 / 1.02; }
.tc-view { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.tc-view.on { opacity: 1; }
.tc-month .d.mood { transform: scale(.3); opacity: 0; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .25s; }
.tc-month .d.mood.in { transform: none; opacity: 1; }
.tc-year text { font-size: 9px; fill: var(--dt-muted); } .tc-year text.now { fill: var(--dt-label); font-weight: 700; }
.tc-year circle { transition: opacity .3s; } .tc-year .empty { fill: var(--dt-fill); } .tc-year .later { fill: var(--dt-fill); opacity: .5; }
.tc-year .ring { fill: none; stroke: var(--dt-label); stroke-width: 1.2; }
/* Verlauf like the app's "Säulen" (2026-11-28): big average, pink change to the period before, bars per day */
.tc-curve { display: grid; align-content: center; gap: 10px; }
.tc-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tc-big b { font-size: 34px; font-weight: 600; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.tc-delta { color: var(--dt-label); font-size: 14px; }
.tc-trend { width: 100%; height: auto; overflow: visible; }
.tc-trend .col { opacity: .78; } .tc-trend .none { fill: var(--dt-fill); }
.tc-trend .avg { stroke: var(--dt-ink); stroke-opacity: .28; stroke-dasharray: 3 4; }
.tc-trend text { font-size: 11px; fill: var(--dt-muted); }

/* 5 globe */
.globe-ch .track { height: 170vh; }   /* was 300vh: the page held still for too long (structure check 2026-11-19) */
.globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-text { position: relative; z-index: 2; pointer-events: none; }
/* keeps the text readable when the globe comes close */
.globe-ch .sticky::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--dt-paper) 0, color-mix(in srgb, var(--dt-paper) 80%, transparent) 30%, transparent 52%); }
@media (max-width: 900px) { .globe-ch .sticky::before { background: linear-gradient(var(--dt-paper) 0, color-mix(in srgb, var(--dt-paper) 85%, transparent) 36%, transparent 52%); } }
.globe-text > * { max-width: 470px; }
.globe-text .note { max-width: 380px; }

/* 6 streak */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.feats li { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid color-mix(in srgb, #FFB066 60%, transparent); }
.feats span { color: var(--dt-muted); }
.streak-demo { max-width: 420px; width: 100%; justify-self: center; display: grid; gap: 18px; }
.streak-demo .dt-streak { transition: background .7s, box-shadow .7s; }
.streak-demo .dt-streak.pop { animation: pop .6s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes pop { 40% { transform: scale(1.12); } }
/* the streak chain (home.js streak(), 2026-11-18): 14 beads light up gold, a missing day is restored */
.chain { --gold: 255, 176, 102; position: relative; padding: 22px 22px 18px; overflow: visible; }
.ch-head { display: flex; align-items: center; justify-content: space-between; }
.ch-count { display: flex; align-items: baseline; gap: 10px; }
.ch-num { font-size: 52px; line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; min-width: 1.2ch; }
.ch-num.tick { animation: ch-tick .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ch-tick { 40% { transform: translateY(-4px) scale(1.06); } }
.ch-count span { color: var(--dt-muted); font-size: 16px; }
.ch-sun { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--gold), .14); transition: background .8s, box-shadow .8s; }
.ch-sunsvg { width: 28px; height: 28px; fill: none; stroke: color-mix(in srgb, rgb(var(--gold)), var(--dt-ink) 30%); stroke-width: 1.8; stroke-linecap: round; animation: ch-spin 14s linear infinite; }
@keyframes ch-spin { to { transform: rotate(360deg); } }
.chain.full .ch-sun { background: rgba(var(--gold), .45); box-shadow: 0 0 0 8px rgba(var(--gold), .14), 0 0 34px rgba(var(--gold), .7); }
.ch-wd, .ch-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; justify-items: center; }
.ch-wd { margin: 20px 0 6px; font-size: 11px; letter-spacing: 1px; color: var(--dt-muted); text-transform: uppercase; }
.bead { width: 100%; max-width: 40px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px;
  color: var(--dt-muted); background: color-mix(in srgb, var(--dt-ink) 6%, transparent); transition: background .35s, color .35s, box-shadow .35s, transform .35s; }
.bead.gold { background: rgba(var(--gold), var(--dt-gold-a, .3)); color: color-mix(in srgb, rgb(var(--gold)), var(--dt-ink) 45%); font-weight: 600;
  animation: bead-in .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bead-in { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } }
.bead.gap { background: transparent; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--dt-muted) 50%, transparent); animation: bead-gap 1s ease-in-out infinite; }
@keyframes bead-gap { 50% { box-shadow: inset 0 0 0 2px var(--dt-label); } }
.bead.saved { box-shadow: 0 0 0 2px rgb(var(--gold)), 0 0 18px rgba(var(--gold), .8); }
.chain.full .bead.gold { animation: bead-wave 1.6s ease both; }
.chain.full .bead:nth-child(7n+2) { animation-delay: .06s; } .chain.full .bead:nth-child(7n+3) { animation-delay: .12s; }
.chain.full .bead:nth-child(7n+4) { animation-delay: .18s; } .chain.full .bead:nth-child(7n+5) { animation-delay: .24s; }
.chain.full .bead:nth-child(7n+6) { animation-delay: .3s; } .chain.full .bead:nth-child(7n) { animation-delay: .36s; }
@keyframes bead-wave { 30% { transform: translateY(-5px); box-shadow: 0 0 16px rgba(var(--gold), .8); } }
.ch-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 30px; flex-wrap: wrap; }
.ch-restore { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; font-size: 13.5px;
  background: color-mix(in srgb, var(--dt-label) 12%, transparent); color: var(--dt-label); }
.ch-restore b { font-weight: 600; }
.ch-restore.bump { animation: ch-bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ch-bump { 40% { transform: scale(1.12); } }
.gem { width: 12px; height: 12px; transform: rotate(45deg); border-radius: 3px; background: linear-gradient(135deg, #FFB066, #FF5E9C); display: inline-block; }
.gem.flying { position: absolute; z-index: 3; transform: rotate(45deg); transition: transform .65s cubic-bezier(.5, 0, .3, 1); box-shadow: 0 0 14px rgba(255, 176, 102, .9); }
.ch-msg { color: var(--dt-muted); font-size: 14px; opacity: 0; }
.ch-msg.show { animation: ch-msg .45s ease forwards; }
@keyframes ch-msg { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ch-sunsvg, .bead, .chain.full .bead.gold { animation: none !important; } }
/* home screen widgets, as in widget_streak.xml / widget_write.xml */
.widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 168px)); gap: 14px; }
.widget { aspect-ratio: 1; border-radius: 20px; background: var(--dt-card); border: 1px solid var(--dt-line); display: flex; flex-direction: column; min-width: 0; }
.w-streak { padding: 14px 18px; justify-content: center; }
.w-write { padding: 16px; }
.w-top { display: flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dt-muted); }
.w-top span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-top em { font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--dt-ink); }
.w-sun { width: 24px; height: 24px; fill: none; stroke: var(--dt-muted); stroke-width: 1.8; stroke-linecap: round; transition: stroke .5s; }
.done .w-sun { stroke: var(--dt-label); }
.w-write .w-sun { width: 15px; height: 15px; }
.w-num { font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -.03em; margin-top: 2px; }
.w-label { font-size: 14px; font-weight: 500; }
.widget small { color: var(--dt-muted); font-size: 12px; } .widget small:first-of-type { margin-top: 8px; }
.w-title { flex: 1; font-size: 17px; font-weight: 500; line-height: 1.3; margin-top: 6px; }
.w-btn { height: 42px; border-radius: 999px; background: var(--dt-label); color: var(--dt-on-label); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; }
.w-write.done .w-btn { background: var(--dt-fill); color: var(--dt-ink); }
.w-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 7 week */
.review { padding: 22px 24px; }
.rv-top { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.rv-top div { display: grid; } .rv-top span { color: var(--dt-muted); font-size: 14px; }
.rv-dot { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#7B52E0, #E04FD8, #FF5E9C, #FFB066, #7B52E0); opacity: .85; }
.rv-p h4 { margin: 16px 0 4px; font-size: 15px; }
.rv-p p { margin: 0; color: var(--dt-muted); font-size: 15.5px; }
.js .rv-p { opacity: 0; transform: translateY(10px); transition: opacity .7s, transform .7s; }
.js .rv-p.in { opacity: 1; transform: none; }
/* topic cards exactly like the app's carousel (InsightCarousel.kt TopicCard): 180 high, own colour per topic */
.topics-head { margin: 56px 0 0; } .topics-head h3 { font-size: 17px; letter-spacing: -.2px; margin: 0; } .topics-head .note { margin: 2px 0 0; }
.topics { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.topics li { --a: #E04FD8; --tint: color-mix(in srgb, var(--a) 75%, #000); position: relative; overflow: hidden; height: 180px; padding: 18px;
  border-radius: 20px; background: var(--dt-card); border: 1px solid var(--dt-line); display: flex; flex-direction: column; }
[data-theme="dark"] .topics li { --tint: var(--a); }
.topics li[data-topic="strengths"] { --a: #7B6CF0; } .topics li[data-topic="drive"] { --a: #E04FD8; } .topics li[data-topic="light"] { --a: #FFA94D; }
.topics li[data-topic="proud"] { --a: #FF5E9C; } .topics li[data-topic="own"] { --a: #9A93A3; }
.tp-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  background: color-mix(in srgb, var(--a) 16%, transparent); color: var(--tint); }
[data-theme="dark"] .tp-ic { background: color-mix(in srgb, var(--a) 20%, transparent); }
.tp-ic svg { width: 19px; height: 19px; }
.topics svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topics b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.2px; position: relative;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-sub { color: var(--dt-muted); font-size: 14px; line-height: 20px; margin-top: 2px; position: relative;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-bg { position: absolute; right: -18px; bottom: -26px; width: 100px; height: 100px; color: color-mix(in srgb, var(--a) 12%, transparent); }
[data-theme="dark"] .tp-bg { color: color-mix(in srgb, var(--a) 14%, transparent); }
/* Hover (wish of the user, 2026-11-18): the card lifts a little and lights up in its own colour – a soft light
   follows the pointer (--mx/--my from home.js), the rim glows, the symbol turns, the big symbol behind grows. */
.topics li { transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s; }
.topics li::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--a) 40%, transparent), transparent 65%); }
/* a band of light runs around the rim while hovering */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.topics li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: conic-gradient(from var(--ang), transparent 0 55%, color-mix(in srgb, var(--a) 70%, transparent) 72%, #fff 80%, var(--a) 86%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@keyframes rim { to { --ang: 360deg; } }
.tp-ic { position: relative; }   /* above the light */
.tp-ic, .tp-bg { transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .35s, color .35s; }
/* hover only with a real mouse and not while the page scrolls under a resting pointer (2026-11-19) */
:root[data-input="mouse"]:not(.scrolling) .topics li:hover { transform: translateY(-6px) scale(1.02); border-color: color-mix(in srgb, var(--a) 60%, var(--dt-line));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 40%, transparent), 0 0 28px -4px color-mix(in srgb, var(--a) 60%, transparent),
      0 24px 48px -14px color-mix(in srgb, var(--a) 70%, transparent); }
:root[data-input="mouse"]:not(.scrolling) .topics li:hover::before { opacity: 1; }
:root[data-input="mouse"]:not(.scrolling) .topics li:hover::after { opacity: 1; animation: rim 2.4s linear infinite; }
:root[data-input="mouse"]:not(.scrolling) .topics li:hover b { color: color-mix(in srgb, var(--a) 55%, var(--dt-ink)); }
:root[data-input="mouse"]:not(.scrolling) .topics li:hover .tp-ic { transform: rotate(-12deg) scale(1.08); background: color-mix(in srgb, var(--a) 30%, transparent); }
:root[data-input="mouse"]:not(.scrolling) .topics li:hover .tp-bg { transform: scale(1.25) rotate(8deg); color: color-mix(in srgb, var(--a) 22%, transparent); }

/* Phones and tablets have no hover (wish of the user, 2026-11-18): the card that stands in the middle of the swipe
   row lights up the same way (.lit, set in home.js), the light sits in its middle. */
.topics li.lit { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 60%, var(--dt-line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 40%, transparent), 0 0 24px -4px color-mix(in srgb, var(--a) 60%, transparent),
    0 18px 36px -14px color-mix(in srgb, var(--a) 70%, transparent); }
.topics li.lit::before { opacity: 1; }
.topics li.lit::after { opacity: 1; animation: rim 2.4s linear infinite; }
.topics li.lit b { color: color-mix(in srgb, var(--a) 55%, var(--dt-ink)); }
.topics li.lit .tp-ic { transform: rotate(-12deg) scale(1.08); background: color-mix(in srgb, var(--a) 30%, transparent); }
.topics li.lit .tp-bg { transform: scale(1.25) rotate(8deg); color: color-mix(in srgb, var(--a) 22%, transparent); }
@media (prefers-reduced-motion: reduce) { .topics li, .tp-ic, .tp-bg { transition: none; } .topics li:hover, .topics li.lit { transform: none; } .topics li.lit::after { animation: none; } }
@media (max-width: 1000px) {
  /* swipe sideways like the app's carousel, the next card peeks in */
  .topics { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: calc(-1 * var(--gutter, 20px)); margin-right: calc(-1 * var(--gutter, 20px));
    padding: 14px var(--gutter, 20px) 30px; scroll-padding: 0 var(--gutter, 20px); margin-top: 0; margin-bottom: -16px; }   /* room for the glow */
  .topics::-webkit-scrollbar { display: none; }
  .topics li { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; }
}

/* 8 dawn */
.dawn-ch { padding-top: clamp(90px, 12vw, 160px); }
.dawn-ch .track { height: 160vh; }   /* was 260vh (2026-11-19) */
.dawn { --sky1: #000; --sky2: #0b0716; --fg: #F5F5F5; --sun: 0; color: var(--fg); background: linear-gradient(var(--sky1), var(--sky2)); }
.sky { position: absolute; inset: 0; }
.sky .stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: calc(1 - var(--sun)); }
.sunrise { position: absolute; left: 50%; bottom: 0; width: 120vmax; height: 120vmax; transform: translate(-50%, calc(62% - var(--sun) * 30%)); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 140, .95) 0 6%, rgba(255, 176, 102, .55) 12%, rgba(255, 94, 156, .22) 28%, transparent 55%); opacity: calc(.2 + var(--sun) * .8); }
/* at the end of the sunrise the sky's lower part melts into the page, so the next section follows without an edge */
.dawn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none;
  background: linear-gradient(transparent, var(--dt-paper) 92%); opacity: var(--end, 0); }
.dawn-in { position: relative; z-index: 1; height: 100%; display: grid; align-content: center; justify-items: center; text-align: center; }
.dawn-in .eyebrow { color: inherit; opacity: .7; }
.words { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; max-width: 22ch; margin: 0; }
.words span { opacity: .16; transition: opacity .35s; } .words span.lit { opacity: 1; }
.checks { list-style: none; padding: 0; margin: 60px auto 0; max-width: 760px; display: grid; gap: 14px; }
.checks li { padding: 16px 20px 16px 52px; border-radius: 18px; background: var(--dt-card); border: 1px solid var(--dt-line); color: var(--dt-muted); position: relative; }
.checks li b { color: var(--dt-ink); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, #FFB066 30%, transparent); }
.checks li::after { content: ""; position: absolute; left: 24px; top: 24px; width: 8px; height: 5px; border: solid #B26A1F; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
[data-theme="dark"] .checks li::after { border-color: #FFC994; }

/* 9 devices */
/* no pinned stage: the entry travels with normal scrolling (wish of the user, 2026-11-18) */
[data-track="devices"] { height: auto; }
[data-track="devices"] .sticky { position: relative; height: auto; overflow: visible; padding: 48px 0 0; }
.devices { height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.devices .dt-phone { width: 250px; }
.browser { border-radius: 16px; background: var(--dt-card); border: 1px solid var(--dt-line); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .14); }
.br-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--dt-line); }
.br-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--dt-fill); }
.br-bar span { margin-left: 14px; flex: 1; max-width: 340px; height: 26px; border-radius: 8px; background: var(--dt-fill); font-size: 13px; color: var(--dt-muted); display: flex; align-items: center; padding: 0 12px; }
.br-app { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 380px; background: var(--dt-paper); }
.br-list { border-right: 1px solid var(--dt-line); padding: 18px 0; }
.br-list h4 { margin: 0 20px 8px; font-size: 20px; }
.br-list .dt-row { padding: 10px 16px; } .br-list .dt-row .t { font-size: 14.5px; } .br-list .dt-row .s { font-size: 12.5px; }
.br-list .dt-row.slot { opacity: 0; } .br-list .dt-row.slot.landed { opacity: 1; }
.br-entry { padding: 26px 30px; }
.br-entry .hd { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.br-entry h5 { margin: 0; font-size: 22px; letter-spacing: -.3px; }
.br-entry h6 { margin: 16px 0 4px; font-size: 13px; color: var(--dt-muted); font-weight: 500; }
.br-entry p { margin: 0; font-size: 15px; }
.br-entry { transition: opacity .5s; } .br-entry.wait { opacity: 0; }
.flyer { position: absolute; z-index: 5; background: var(--dt-card); border: 1px solid var(--dt-line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
  pointer-events: none; transform-origin: 0 0; }
.flyer .dt-row { padding: 10px 14px; }

/* 10 signup */
.signup { max-width: 640px; margin: 0 auto; text-align: center; display: grid; justify-items: center; position: relative; z-index: 1; }
.signup-logo { margin-bottom: 26px; }
/* room above the logo for the threads to fall from above (2026-11-19) */
.signup:has(> .signup-logo) { padding-top: clamp(150px, 20vw, 260px); }
/* the thread into the logo at the end (home.js endThread) */
section:has(> .end-thread) { position: relative; }
.end-thread { position: absolute; left: 0; pointer-events: none; overflow: visible; z-index: 0; }
.end-thread path { fill: none; stroke-linecap: round; }
.et-bg { stroke: var(--dt-line); stroke-width: 1; opacity: .5; }
/* the four incoming threads keep their own colour (stroke/fill attributes), the joined one carries all of them */
.et-in { opacity: .9; }   /* each has its own width (stroke-width attribute) */

/* the ring of light when the thread hits the logo */
.et-burst { fill: none; stroke: #FFB066; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.et-burst.go { animation: et-burst 1.1s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes et-burst { 0% { opacity: .9; transform: scale(.6); stroke-width: 3; } 100% { opacity: 0; transform: scale(2.6); stroke-width: .5; } }
@media (prefers-reduced-motion: reduce) { .et-burst.go { animation: none; } }
.et-main { stroke: url(#end-grad); }
.et-tip { filter: drop-shadow(0 0 5px rgba(255, 176, 102, .8)); transition: opacity .3s; }
.et-tip-main { fill: #FFB066; }
/* 2026-11-19 (user): the logo waits upside down (a little smaller and paler); when the threads hit it, it turns the
   right way up with a glow and stays so – scrolling back up turns it upside down again (home.js endThread) */
.signup-logo { transition: transform 1.4s cubic-bezier(.3, .8, .3, 1), opacity 1s, filter 1.2s; }   /* soft, no spring (2026-11-19) */
.signup-logo.flipped { transform: rotate(-180deg) scale(.86); opacity: .6; }
.signup-logo.arrive { filter: drop-shadow(0 0 10px rgba(224, 79, 216, .45)); }
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(224, 79, 216, 0)); }
  30% { filter: drop-shadow(0 0 20px rgba(224, 79, 216, .8)); }
}
@media (prefers-reduced-motion: reduce) { .signup-logo { transition: none; } .signup-logo.flipped { transform: none; opacity: 1; } .signup-logo.arrive { animation: none; } }
.signup .sub { margin-left: auto; margin-right: auto; }
.form { display: flex; gap: 10px; margin-top: 30px; width: 100%; max-width: 520px; }
.input { flex: 1; min-width: 0; height: 50px; border-radius: 999px; border: 1px solid var(--dt-line); background: var(--dt-card); color: var(--dt-ink); padding: 0 20px; font: inherit; }
.input:focus { outline: 2px solid var(--dt-label); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; text-align: left; font-size: 14px; color: var(--dt-muted); margin-top: 16px; max-width: 520px; }
.consent input { flex: none; margin-top: 3px; accent-color: var(--dt-label); }
.status { min-height: 24px; margin: 14px 0 0; } .status.ok { color: var(--dt-label); } .status.err { color: #C0392B; }

.foot { margin-top: 120px; border-top: 1px solid var(--dt-line); padding: 28px 0 40px; color: var(--dt-muted); font-size: 14px; position: relative; z-index: 1; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; } .foot a { text-decoration: none; } .foot a:hover { color: var(--dt-ink); }

/* ---------- phones and small windows ---------- */
@media (max-width: 900px) {
  /* phones: phone, a row of five numbers (each with its timer line below), then only the active step's text –
     everything on one screen */
  .evening { grid-template-columns: 1fr; gap: 18px; }
  .stage .dt-phone { width: min(44vw, 190px); }
  .steps { max-width: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; position: relative; min-height: 210px; align-content: start; }
  .step { display: flex; justify-content: center; padding: 0 0 10px; border-left: 0; opacity: .55; position: static; }
  .step::before { left: auto; top: auto; bottom: auto; width: 0; height: 0; }
  .step .no { width: 34px; height: 34px; font-size: 14px; position: relative; }
  .step h3, .step p, .step.on p { display: none; }
  .step.on h3 { display: block; position: absolute; left: 0; right: 0; top: 60px; font-size: 20px; text-align: left; }
  /* grid-column back to auto: an absolute child with a grid column would be placed inside that column only */
  .step.on p { display: block; position: absolute; left: 0; right: 0; top: 92px; margin: 0; font-size: 15.5px; grid-column: auto; }
  /* the timer line runs along the bottom of the active number */
  .step { background: linear-gradient(var(--dt-label), var(--dt-label)) left bottom / 0 2px no-repeat,
    linear-gradient(var(--dt-line), var(--dt-line)) left bottom / 100% 2px no-repeat; }
  .step.on { background-size: 100% 2px, 100% 2px; }
  .step.on.run { animation: step-line var(--dur, 5s) linear forwards; }
  @keyframes step-line { from { background-size: 0 2px, 100% 2px; } to { background-size: 100% 2px, 100% 2px; } }
  .traces { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .phases { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .phases li { padding: 0 0 8px; border-left: 0; border-bottom: 2px solid var(--dt-line); text-align: center; } .phases b { font-size: 16px; } .phases span { display: none; }
  /* side by side on narrow screens: the timer line runs along the bottom, left to right */
  .phases li::before { left: 0; top: auto; bottom: -2px; width: 100%; height: 2px; transform-origin: left; transform: scaleX(0); }
  .phases li.on::before { transform: scaleX(1); }
  .phases li.on.run::before { animation-name: phase-run-x; }
  @keyframes phase-run-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .phases li.on span { display: none; }
  .trace-card { max-width: 380px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .devices { grid-template-columns: 1fr; gap: 20px; align-content: center; justify-items: center; }
  .devices .dt-phone { width: 150px; }
  .browser { width: 100%; }
  .br-app { grid-template-columns: 1fr; min-height: 0; }
  .br-list { border-right: 0; border-bottom: 1px solid var(--dt-line); padding: 12px 0 6px; } .br-list h4 { font-size: 16px; }
  .br-list > div:nth-of-type(n+3) { display: none; }
  .devices { padding-top: 64px; }
  .devices .dt-phone { width: 140px; --bz: 5px; box-shadow: 0 0 0 5px #1d1b21, 0 0 0 6px #3a3640, 0 16px 34px rgba(0, 0, 0, .28); }
  .br-entry { padding: 16px 18px; } .br-entry h6, .br-entry h6 + p { display: none; } .br-entry h6:first-of-type, .br-entry h6:first-of-type + p { display: block; }
  .thread-line { stroke-width: 1.5; opacity: .7; }
  .weave-stage { height: clamp(280px, 46vh, 420px); }
}
@media (max-width: 560px) {
  .wrap { --gutter: 16px; }
  /* stacked: the field keeps its full height (flex: 1 squeezed it to a thin line in a column) */
  .form { flex-direction: column; gap: 10px; } .form .input { flex: none; width: 100%; height: 52px; } .form .btn { width: 100%; height: 52px; }
  .consent { align-items: flex-start; }
  /* "Platz sichern" lives in the menu on phones, so the name next to the logo has room again */
}

/* ---------- without motion: everything simply finished ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { height: auto !important; } .sticky { position: relative; height: auto; min-height: 0; padding: 40px 0; }
  .weave-ch .sticky { height: 80vh; } .globe-ch .sticky { height: 90vh; } .dawn-ch .sticky { height: 80vh; }
  .step { opacity: 1; } .step p { display: block; }
  .js .rv-p { opacity: 1; transform: none; }
}
