/* wtf. Startseite – nur Tokens aus brand/tokens.css, Bausteine aus brand/components.css.
   Präfixe: l- = Seite, m- = Mockups. Bewegung nur mit html.js und ohne prefers-reduced-motion. */

/* Anker und Fokus nicht unter dem klebenden Kopf */
html { scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.l-body {
  font-size: var(--w-size-xl);
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
.l-body img { display: block; max-width: 100%; height: auto; }
.l-body a:focus-visible, .l-body button:focus-visible { outline: 2px solid var(--w-focus); outline-offset: 3px; border-radius: var(--w-radius-sm); }
.l-red { color: var(--w-brand); }
.l-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.l-skip {
  position: absolute; left: var(--w-space-4); top: var(--w-space-2); z-index: 20;
  padding: var(--w-space-2) var(--w-space-3); border-radius: var(--w-radius);
  background: var(--w-text); color: var(--w-bg); transform: translateY(-200%);
}
.l-skip:focus { transform: none; }

.l-wrap { width: 100%; max-width: var(--w-page-max); margin: 0 auto; padding: 0 var(--w-space-4); }
@media (min-width: 768px) { .l-wrap { padding: 0 var(--w-space-6); } }

.l-h2 {
  margin: 0 0 var(--w-space-6);
  font-size: var(--w-size-section); font-weight: var(--w-weight-heavy);
  letter-spacing: var(--w-tracking-tight); line-height: 1.05; text-wrap: balance;
  max-width: 18ch;
}
.l-h3 {
  margin: 0;
  font-size: var(--w-size-3xl); font-weight: var(--w-weight-heavy);
  letter-spacing: var(--w-tracking-tight); line-height: var(--w-leading-tight); text-wrap: balance;
}
.l-lead { margin: 0 0 var(--w-space-6); max-width: 34em; font-size: var(--w-size-xl); line-height: 1.5; text-wrap: pretty; }
@media (min-width: 768px) { .l-lead { font-size: var(--w-size-2xl); line-height: 1.45; } }
.l-nowrap { white-space: nowrap; }
.l-btn-lg { min-height: 48px; padding: 0 var(--w-space-5); font-size: var(--w-size-lg); border-radius: var(--w-radius); }
.l-btn-lg .l-icon { transition: transform var(--w-duration) var(--w-ease-out); }
.l-btn-lg:hover .l-icon { transform: translateX(3px); }

.l-section { padding: calc(var(--w-space-8) * 1.5) 0; }
@media (min-width: 768px) { .l-section { padding: calc(var(--w-space-8) * 2) 0; } }

/* Kopf */
.l-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--w-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--w-line) 70%, transparent);
}
.l-header__inner {
  display: flex; align-items: center; gap: var(--w-space-5);
  max-width: var(--w-page-max); margin: 0 auto; padding: var(--w-space-3) var(--w-space-4);
}
@media (min-width: 768px) { .l-header__inner { padding: var(--w-space-3) var(--w-space-6); } }
.l-header__logo img { height: 24px; width: auto; }
.l-nav { display: none; gap: var(--w-space-5); margin-left: auto; font-size: var(--w-size-md); font-weight: var(--w-weight-semibold); }
.l-nav a { color: var(--w-muted); text-decoration: none; transition: color var(--w-duration); }
.l-nav a:hover { color: var(--w-text); }
.l-header__cta { margin-left: auto; }
@media (min-width: 768px) { .l-nav { display: flex; } .l-header__cta { margin-left: 0; } }
.l-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--w-brand); transform: scaleX(0); transform-origin: 0 50%; }

/* Hero */
.l-hero {
  display: grid; gap: var(--w-space-7); align-items: center;
  max-width: var(--w-page-max); margin: 0 auto;
  padding: var(--w-space-7) var(--w-space-4) var(--w-space-8);
}
@media (min-width: 960px) {
  .l-hero { grid-template-columns: 1.15fr 1fr; gap: var(--w-space-8); min-height: calc(100svh - 64px); padding: var(--w-space-8) var(--w-space-6); }
}
.l-hero__title {
  margin: 0 0 var(--w-space-4);
  font-size: var(--w-size-hero); font-weight: var(--w-weight-heavy);
  letter-spacing: -0.04em; line-height: 0.95;
}
.l-hero__say { margin: 0 0 var(--w-space-5); color: var(--w-muted); font-size: var(--w-size-lg); }
.l-hero__actions { display: flex; flex-wrap: wrap; gap: var(--w-space-3); }
.l-hero__demo { margin: 0; }
.l-hero__caption { margin-top: var(--w-space-3); color: var(--w-muted); font-size: var(--w-size-sm); }

/* Mockup-Grundteile */
.m-article, .m-window {
  background: var(--w-surface); border: 1px solid var(--w-line); border-radius: var(--w-radius-lg);
  font-size: var(--w-size-md); line-height: var(--w-leading); color: var(--w-text);
  user-select: none;
}
.m-article { position: relative; padding: var(--w-space-6) var(--w-space-5); display: flex; flex-direction: column; gap: var(--w-space-3); }
.m-article__ressort { margin: 0; font-size: var(--w-size-xs); font-weight: var(--w-weight-semibold); letter-spacing: var(--w-tracking-caps); text-transform: uppercase; color: var(--w-muted); }
.m-article__title { margin: 0; font-size: var(--w-size-2xl); font-weight: var(--w-weight-heavy); letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.m-article__by { margin: 0 0 var(--w-space-2); color: var(--w-muted); }
.m-bar { display: block; height: 10px; width: var(--w, 80%); border-radius: var(--w-radius-pill); background: var(--w-field); }
.m-label { font-size: var(--w-size-sm); font-weight: var(--w-weight-semibold); }
.m-quiet { color: var(--w-muted); font-size: var(--w-size-sm); }
.m-primary { background: var(--w-accent); color: var(--w-on-accent); }
.m-field { display: block; padding: 7px 10px; border: 1px solid var(--w-line-strong); border-radius: var(--w-radius); background: var(--w-surface); font-size: var(--w-size-sm); }
.m-note { margin: 0; color: var(--w-muted); font-size: var(--w-size-sm); line-height: 1.45; }
.m-note--box { padding: var(--w-space-3); border-radius: var(--w-radius); background: var(--w-field); }
.m-window .w-chip, .m-popup .w-chip { cursor: default; }
.m-window .w-btn, .m-popup .w-btn { cursor: default; }

/* Hero-Demo: Name ist geschwärzt, wird freigelegt, Adresse erscheint */
.l-redact { position: relative; display: inline-block; color: var(--w-text); font-weight: var(--w-weight-semibold); }
.l-redact::after {
  content: ""; position: absolute; inset: 1px -3px; border-radius: var(--w-radius-sm);
  background: var(--w-text); transform-origin: 100% 50%; transform: scaleX(0);
}
.l-hero__result { display: grid; margin-top: var(--w-space-3); padding-top: var(--w-space-4); border-top: 1px dashed var(--w-line); }
.l-hero__result > * { grid-area: 1 / 1; align-self: center; justify-self: start; }
.l-hero__reading { display: none; color: var(--w-muted); font-size: var(--w-size-sm); }
.l-hero__chip { max-width: 100%; }

/* Plate für Nahaufnahmen */
.l-plate {
  display: grid; place-items: center; padding: var(--w-space-6) var(--w-space-4);
  border-radius: var(--w-radius-lg); background: var(--w-field);
}
@media (min-width: 768px) { .l-plate { padding: var(--w-space-7); } }

/* Popup .who */
.m-popup {
  width: min(360px, 100%); padding: var(--w-space-4);
  display: flex; flex-direction: column; gap: var(--w-space-2);
  background: var(--w-bg); border: 1px solid var(--w-line); border-radius: var(--w-radius-lg); box-shadow: var(--w-shadow);
  font-size: var(--w-size-base); line-height: var(--w-leading); color: var(--w-text); user-select: none;
}
.m-popup__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--w-space-1); }
.m-popup__head img { height: 18px; width: auto; }
.m-popup__card { display: flex; flex-direction: column; gap: 2px; font-size: var(--w-size-base); line-height: 1.35; }
.m-popup .m-label { margin-top: var(--w-space-1); }
.m-popup .w-actions { margin-top: var(--w-space-2); }

/* Produktfamilie */
.l-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--w-space-2); }
@media (min-width: 768px) { .l-tiles { grid-template-columns: repeat(3, 1fr); gap: var(--w-space-5); } }
.l-tiles a {
  display: flex; align-items: center; gap: var(--w-space-4); padding: var(--w-space-3) 0;
  color: var(--w-text); text-decoration: none; border-top: 1px solid var(--w-line);
}
.l-tiles img { width: 56px; height: 56px; transition: transform var(--w-duration-slow) var(--w-ease-out); }
.l-tiles a:hover img { transform: rotate(-6deg) scale(1.06); }
.l-tiles strong { display: block; font-size: var(--w-size-lg); font-weight: var(--w-weight-heavy); letter-spacing: -0.01em; }
.l-tiles span { color: var(--w-muted); font-size: var(--w-size-lg); line-height: 1.35; }
.l-tiles a:hover strong { color: var(--w-accent); }

.l-product {
  display: grid; gap: var(--w-space-6); align-items: center;
  max-width: var(--w-page-max); margin: 0 auto; padding: var(--w-space-8) var(--w-space-4) 0;
  scroll-margin-top: 72px;
}
@media (min-width: 960px) {
  .l-product { grid-template-columns: 5fr 7fr; gap: var(--w-space-8); padding: calc(var(--w-space-8) * 1.5) var(--w-space-6) 0; }
  .l-product--flip { grid-template-columns: 7fr 5fr; }
  .l-product--flip .l-product__text { order: 2; }
}
.l-product__text { display: flex; flex-direction: column; gap: var(--w-space-5); }
.l-product__logo { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--w-space-3); }
.l-product__logo img { height: 30px; width: auto; }
.l-product__mock { margin: 0; min-width: 0; }
.l-state {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--w-radius-pill);
  background: var(--w-field); color: var(--w-muted); font-size: var(--w-size-sm); font-weight: var(--w-weight-semibold);
}
.l-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--w-guess); }
.l-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--w-space-2); }
.l-dots li { position: relative; padding-left: var(--w-space-5); }
.l-dots li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--w-brand); }

/* Outlook-Mockup */
.m-outlook { display: grid; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 640px) { .m-outlook { grid-template-columns: 1fr 260px; } }
.m-mail { display: none; flex-direction: column; min-width: 0; }
@media (min-width: 640px) { .m-mail { display: flex; } }
.m-mail__bar { display: flex; align-items: center; gap: var(--w-space-3); padding: var(--w-space-3) var(--w-space-4); background: var(--w-field); }
.m-send { padding: 2px 10px; border-radius: var(--w-radius-sm); background: var(--w-muted); color: var(--w-bg); font-size: var(--w-size-sm); font-weight: var(--w-weight-semibold); }
.m-mail__row { margin: 0; padding: var(--w-space-2) var(--w-space-4); border-bottom: 1px solid var(--w-line); font-size: var(--w-size-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mail__row span, .m-attach span { color: var(--w-muted); margin-right: var(--w-space-2); }
.m-mail__body { display: flex; flex-direction: column; gap: var(--w-space-3); padding: var(--w-space-4); }
.m-mail__body p { margin: 0; font-size: var(--w-size-sm); }
.m-attach { align-self: flex-start; padding: var(--w-space-1) var(--w-space-3); border-radius: var(--w-radius); background: var(--w-field); font-size: var(--w-size-sm); }
.m-pane { display: flex; flex-direction: column; gap: var(--w-space-3); padding: var(--w-space-4); background: var(--w-bg); border-left: 1px solid var(--w-line); font-size: var(--w-size-md); }
.m-pane img { height: 20px; width: auto; }
.m-pane .w-tabs { margin: 0; }
.m-tab { flex: 1; text-align: center; padding: 4px 8px; border-radius: calc(var(--w-radius) - 2px); color: var(--w-muted); font-size: var(--w-size-sm); font-weight: var(--w-weight-semibold); }
.m-tab[aria-selected="true"] { background: var(--w-text); color: var(--w-bg); }
.m-pane__q { margin: 0; font-size: var(--w-size-2xl); font-weight: var(--w-weight-heavy); letter-spacing: var(--w-tracking-tight); line-height: var(--w-leading-tight); }
.m-pane .w-list { font-size: var(--w-size-sm); }
.m-group { display: flex; flex-direction: column; gap: 6px; }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.m-tag { padding: 2px 10px; border-radius: var(--w-radius-pill); background: var(--w-field); font-size: var(--w-size-sm); }
.m-tag[aria-pressed="true"] { background: var(--w-text); color: var(--w-bg); }
.m-when { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.m-more { margin-left: var(--w-space-1); padding: 0 6px; border-radius: var(--w-radius-pill); background: var(--w-field); color: var(--w-muted); font-size: var(--w-size-xs); }
.m-mail__row .m-more { margin-right: 0; }
.m-scheduled {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: var(--w-space-1) var(--w-space-3); border-radius: var(--w-radius-pill);
  background: color-mix(in srgb, var(--w-ok) 12%, var(--w-surface)); color: var(--w-ok);
  font-size: var(--w-size-sm); font-weight: var(--w-weight-semibold); white-space: nowrap;
}
.m-scheduled .l-icon { width: 16px; height: 16px; }

/* .where-Mockup */
.m-where { display: grid; grid-template-columns: 1fr; overflow: hidden; background: var(--w-bg); }
@media (min-width: 640px) { .m-where { grid-template-columns: 168px 1fr; } }
.m-side { display: none; flex-direction: column; gap: var(--w-space-1); padding: var(--w-space-5) var(--w-space-3); background: var(--w-surface); border-right: 1px solid var(--w-line); }
@media (min-width: 640px) { .m-side { display: flex; } }
.m-side img { height: 18px; width: auto; margin: 0 var(--w-space-2) var(--w-space-5); }
.m-nav { padding: 6px var(--w-space-2); border-radius: var(--w-radius); color: var(--w-muted); font-size: var(--w-size-sm); }
.m-nav[aria-selected="true"] { background: var(--w-text); color: var(--w-bg); font-weight: var(--w-weight-semibold); }
.m-main { display: flex; flex-direction: column; gap: var(--w-space-3); padding: var(--w-space-5); min-width: 0; }
.m-main__head { display: flex; align-items: center; justify-content: space-between; gap: var(--w-space-3); }
.m-main__title { margin: 0; font-size: var(--w-size-2xl); font-weight: var(--w-weight-heavy); letter-spacing: var(--w-tracking-tight); }
.m-main .w-list { font-size: var(--w-size-md); }
.m-main .w-list strong { font-weight: var(--w-weight-semibold); }
.m-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--w-radius-pill); background: var(--w-field); font-size: var(--w-size-sm); }
.m-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--w-line-strong); }
.m-pill--guess::before { background: var(--w-guess); }
.m-pill--ok::before { background: var(--w-ok); }

/* Problem */
.l-problem { background: var(--w-field); }
.l-problem__title { max-width: 14ch; font-size: clamp(40px, 7vw, 88px); line-height: 1; }
.l-chores { list-style: none; margin: 0 0 var(--w-space-7); padding: 0; counter-reset: c; }
.l-chores li {
  display: grid; gap: var(--w-space-1); padding: var(--w-space-5) 0;
  border-top: 1px solid var(--w-line-strong);
}
@media (min-width: 768px) { .l-chores li { grid-template-columns: minmax(220px, 1fr) 2fr; gap: var(--w-space-6); align-items: baseline; } }
.l-chores__what {
  position: relative; justify-self: start;
  font-size: var(--w-size-3xl); font-weight: var(--w-weight-heavy); letter-spacing: var(--w-tracking-tight); line-height: 1.15;
}
.l-chores__what::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 54%; height: 4px; border-radius: 2px;
  background: var(--w-brand); transform-origin: 0 50%; transform: scaleX(1);
}
.l-chores__why { color: var(--w-muted); }
.l-problem__punch { margin: 0; max-width: 24em; font-size: var(--w-size-2xl); font-weight: var(--w-weight-semibold); line-height: 1.4; }

/* So geht's */
.l-how { padding-bottom: 0; }
.l-flow {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--w-space-5);
  max-width: var(--w-page-max); margin: 0 auto; padding: 0 var(--w-space-4);
}
.l-flow__stage {
  position: sticky; top: 64px; z-index: 2;
  padding: var(--w-space-3) 0; background: var(--w-bg);
}
.l-flow__steps { list-style: none; margin: 0; padding: 0 0 20vh; }
.l-step { min-height: 42vh; padding: var(--w-space-6) 0; display: flex; flex-direction: column; justify-content: flex-start; gap: var(--w-space-3); }
.l-step p { margin: 0; max-width: 30em; color: var(--w-muted); }
@media (min-width: 960px) {
  .l-flow { grid-template-columns: 7fr 5fr; gap: var(--w-space-8); padding: 0 var(--w-space-6); }
  .l-flow__stage { top: calc(50vh - 230px); align-self: start; padding: 0; }
  .l-flow__steps { padding: 0 0 20vh; }
  .l-step { min-height: 80vh; justify-content: center; }
}

.m-browser { position: relative; overflow: hidden; height: clamp(280px, 40svh, 460px); }
@media (min-width: 960px) { .m-browser { height: 460px; } }
.m-browser__bar { display: flex; align-items: center; gap: var(--w-space-3); padding: var(--w-space-2) var(--w-space-3); background: var(--w-field); }
.m-dots { display: flex; gap: 5px; }
.m-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--w-line-strong); opacity: 0.6; }
.m-url { flex: 1; min-width: 0; padding: 2px var(--w-space-3); border-radius: var(--w-radius-pill); background: var(--w-bg); color: var(--w-muted); font-size: var(--w-size-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ext { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--w-radius); transition: background-color var(--w-duration), box-shadow var(--w-duration); }
.m-ext img { width: 18px; height: 18px; }
.m-browser__page { display: flex; flex-direction: column; gap: var(--w-space-3); padding: var(--w-space-5); max-width: 520px; }
.m-hit { background: none; color: inherit; border-radius: var(--w-radius-sm); padding: 0 2px; transition: background-color var(--w-duration-slow) var(--w-ease-out), color var(--w-duration-slow); }
.m-popup--float { position: absolute; top: 48px; right: var(--w-space-3); width: min(320px, calc(100% - 24px)); gap: 6px; padding: var(--w-space-3); }
.m-popup--float .m-popup__head img { height: 16px; }
.m-search { font-size: var(--w-size-sm); color: var(--w-muted); }
.m-found { flex-direction: column; align-items: flex-start; }
.m-compose {
  position: absolute; left: var(--w-space-3); right: var(--w-space-3); bottom: var(--w-space-3);
  border: 1px solid var(--w-line); border-radius: var(--w-radius-lg); background: var(--w-surface); box-shadow: var(--w-shadow);
  overflow: hidden; font-size: var(--w-size-sm);
}
.m-compose .m-mail__body { padding: var(--w-space-3) var(--w-space-4); gap: var(--w-space-2); }
.m-send--you { background: var(--w-accent); color: var(--w-on-accent); }

/* Ausgangszustand ohne JS: Popup mit Ergebnis */
.m-search, .m-compose { display: none; }

/* Vertrauen */
.l-ledger {
  display: grid; gap: var(--w-space-4); align-items: center;
  margin: var(--w-space-7) 0; padding: var(--w-space-5);
  border-radius: var(--w-radius-lg); background: var(--w-surface); border: 1px solid var(--w-line);
}
@media (min-width: 960px) {
  .l-ledger { grid-template-columns: 1fr auto 1fr auto 1fr; padding: var(--w-space-6); gap: var(--w-space-5); }
}
.l-ledger__col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--w-space-2); }
.l-ledger__arrow { color: var(--w-line-strong); width: 24px; height: 24px; transform: rotate(90deg); justify-self: start; margin-left: var(--w-space-4); }
@media (min-width: 960px) { .l-ledger__arrow { transform: none; margin: 0; } }
.l-ledger__kept {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--w-space-2) var(--w-space-3);
  padding-top: var(--w-space-5); border-top: 1px dashed var(--w-line);
}
.l-ledger__kept .w-label-caps { flex-basis: 100%; }
.l-token {
  display: inline-flex; align-items: center; gap: var(--w-space-2); max-width: 100%;
  padding: 4px 12px; border-radius: var(--w-radius-pill); background: var(--w-field);
  font-size: var(--w-size-md); font-weight: var(--w-weight-semibold); overflow-wrap: anywhere;
}
.l-token--pattern { background: var(--w-text); color: var(--w-bg); }
.l-token--gone { position: relative; color: var(--w-muted); background: transparent; border: 1px dashed var(--w-line-strong); text-decoration: line-through; text-decoration-color: var(--w-brand); text-decoration-thickness: 2px; }
.l-token--gone em { font-style: normal; font-weight: var(--w-weight-regular); font-size: var(--w-size-sm); text-decoration: none; display: inline-block; }
.l-facts { list-style: none; margin: 0 0 var(--w-space-5); padding: 0; display: grid; gap: var(--w-space-4); }
@media (min-width: 768px) { .l-facts { grid-template-columns: repeat(3, 1fr); gap: var(--w-space-6); } }
.l-facts li { padding-top: var(--w-space-3); border-top: 2px solid var(--w-text); color: var(--w-muted); }
.l-facts strong { display: block; margin-bottom: var(--w-space-1); color: var(--w-text); font-weight: var(--w-weight-semibold); }

/* CTA */
.l-cta { padding: calc(var(--w-space-8) * 1.5) 0; background: var(--w-accent); color: var(--w-on-accent); }
@media (min-width: 768px) { .l-cta { padding: calc(var(--w-space-8) * 2) 0; } }
.l-cta__title {
  margin: 0 0 var(--w-space-5);
  font-size: clamp(48px, 10vw, 128px); font-weight: var(--w-weight-heavy); letter-spacing: -0.04em; line-height: 0.95;
}
.l-cta__text { margin: 0 0 var(--w-space-6); max-width: 30em; font-size: var(--w-size-2xl); line-height: 1.45; }
.l-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--w-space-4) var(--w-space-5); }
.l-cta__btn { background: var(--w-text); color: var(--w-bg); }
.l-cta__btn:hover { background: color-mix(in srgb, var(--w-text) 86%, var(--w-accent)); }
.l-cta .l-btn-lg:focus-visible, .l-copy:focus-visible { outline-color: var(--w-on-accent); }
.l-cta__mail { display: inline-flex; align-items: center; gap: var(--w-space-2); font-weight: var(--w-weight-semibold); }
.l-copy {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--w-radius);
  background: color-mix(in srgb, var(--w-on-accent) 14%, transparent); color: inherit; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--w-duration);
}
.l-copy:hover { background: color-mix(in srgb, var(--w-on-accent) 24%, transparent); }
.l-copy__status { font-size: var(--w-size-md); min-width: 6ch; }
.l-cta__fine { margin: var(--w-space-6) 0 0; font-size: var(--w-size-md); opacity: 0.85; }

/* Fuß */
.l-footer { border-top: 1px solid var(--w-line); }
.l-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--w-space-4);
  max-width: var(--w-page-max); margin: 0 auto; padding: var(--w-space-6) var(--w-space-4);
  font-size: var(--w-size-md);
}
@media (min-width: 768px) { .l-footer__inner { padding: var(--w-space-6); } }
.l-footer img { height: 22px; width: auto; }
.l-footer nav { display: flex; flex-wrap: wrap; gap: var(--w-space-2) var(--w-space-5); }
.l-footer a { color: var(--w-muted); text-decoration: none; }
.l-footer a:hover { color: var(--w-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .l-progress { animation: l-grow linear both; animation-timeline: scroll(root); }
  }

  /* Hero: Schwärzung rollt ein, wird gelesen, gibt den Namen frei, Adresse rastet ein */
  .js .l-redact::after { animation: l-redact 1.6s var(--w-ease-out) 0.3s both; }
  .js .l-hero__reading { display: block; animation: l-pulse 0.8s ease-in-out 0.3s 2, l-out 0.3s ease-out 1.7s both; }
  .js .l-hero__chip { animation: l-rise var(--w-duration-slow) var(--w-ease-out) 1.8s both; }
  .js .l-hero__chip::before { animation: l-dot 0.6s 2.1s both; }
  .js .l-hero__title { animation: l-title 900ms var(--w-ease-out) both; }

  /* Problem: Durchstreichen nacheinander */
  .js .l-chores .l-chores__what::after { transform: scaleX(0); transition: transform var(--w-duration-slow) var(--w-ease-out); }
  .js .l-chores.is-in li:nth-child(1) .l-chores__what::after { transform: scaleX(1); transition-delay: 150ms; }
  .js .l-chores.is-in li:nth-child(2) .l-chores__what::after { transform: scaleX(1); transition-delay: 450ms; }
  .js .l-chores.is-in li:nth-child(3) .l-chores__what::after { transform: scaleX(1); transition-delay: 750ms; }
  .js .l-chores.is-in li:nth-child(4) .l-chores__what::after { transform: scaleX(1); transition-delay: 1050ms; }
  .js .l-problem__punch { opacity: 0.25; filter: blur(4px); transition: opacity var(--w-duration-slow) var(--w-ease-out) 900ms, filter var(--w-duration-slow) var(--w-ease-out) 900ms; }
  .js .l-problem__punch.is-in { opacity: 1; filter: none; }

  /* Mockups bauen sich auf */
  .js [data-reveal] .m-build { opacity: 0; transform: translateY(10px); filter: blur(3px); transition: opacity var(--w-duration-slow) var(--w-ease-out), transform var(--w-duration-slow) var(--w-ease-out), filter var(--w-duration-slow) var(--w-ease-out); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal].is-in .m-build { opacity: 1; transform: none; filter: none; }
  .js .l-product__mock { transform: translateY(24px) scale(0.98); opacity: 0.4; transition: transform 900ms var(--w-ease-out), opacity 900ms var(--w-ease-out); }
  .js .l-product__mock.is-in { transform: none; opacity: 1; }

  /* Vertrauen: der Name verschwindet, das Muster bleibt */
  .js .l-ledger .l-token--gone { opacity: 1; filter: none; transition: opacity 900ms var(--w-ease-out) 900ms, filter 900ms var(--w-ease-out) 900ms; }
  .js .l-ledger.is-in .l-token--gone { opacity: 0.55; filter: blur(1.5px); }
  .js .l-ledger .l-token--pattern { transition: transform var(--w-duration-slow) var(--w-ease-out) 500ms; transform: scale(0.94); }
  .js .l-ledger.is-in .l-token--pattern { transform: none; }

  /* Ablauf */
  .js .m-popup--float, .js .m-compose, .js .m-found, .js .m-search, .js .m-open {
    transition: opacity var(--w-duration-slow) var(--w-ease-out), transform var(--w-duration-slow) var(--w-ease-out), filter var(--w-duration-slow) var(--w-ease-out);
  }
  .js .l-step { transition: opacity var(--w-duration-slow) var(--w-ease-out); }

  .l-tiles img { transition: transform var(--w-duration-slow) var(--w-ease-out); }
}

/* Ablauf-Zustände (gelten auch ohne Bewegung, dann ohne Übergang) */
.js .m-search, .js .m-compose { display: block; }
.js .l-flow .m-popup--float { opacity: 0; transform: translateY(-12px) scale(0.97); transform-origin: 100% 0; }
.js .l-flow .m-search { opacity: 0; }
.js .l-flow .m-found { opacity: 0; transform: translateY(6px); filter: blur(2px); }
.js .l-flow .m-open { opacity: 0.35; }
.js .l-flow .m-compose { opacity: 0; transform: translateY(24px); }
.js .l-step { opacity: 0.35; }
.js .l-step.is-active { opacity: 1; }

.js .l-flow[data-step="1"] .m-hit { background: transparent; }
.js .l-flow:is([data-step="2"], [data-step="3"], [data-step="4"]) .m-hit { background: color-mix(in srgb, var(--w-brand) 22%, transparent); }
.js .l-flow:is([data-step="2"], [data-step="3"], [data-step="4"]) .m-ext { background: var(--w-text); }
.js .l-flow:is([data-step="2"], [data-step="3"], [data-step="4"]) .m-popup--float { opacity: 1; transform: none; }
.js .l-flow[data-step="2"] .m-search { opacity: 1; animation: l-pulse 1.2s ease-in-out infinite; }
.js .l-flow[data-step="2"] .m-found { display: none; }
.js .l-flow:is([data-step="3"], [data-step="4"]) .m-search { display: none; }
.js .l-flow:is([data-step="3"], [data-step="4"]) .m-found { opacity: 1; transform: none; filter: none; }
.js .l-flow:is([data-step="3"], [data-step="4"]) .m-open { opacity: 1; }
.js .l-flow[data-step="4"] .m-popup--float { opacity: 0.3; filter: blur(1px); }
.js .l-flow[data-step="4"] .m-compose { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .l-flow[data-step="2"] .m-search { animation: none; }
  .l-btn-lg .l-icon, .l-tiles img, .m-hit, .m-ext { transition: none; }
}

@keyframes l-grow { to { transform: scaleX(1); } }
@keyframes l-redact {
  0%, 45% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
@keyframes l-rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
@keyframes l-dot { 0% { transform: scale(0); } 60% { transform: scale(1.8); } 100% { transform: scale(1); } }
@keyframes l-title { from { opacity: 0.001; transform: translateY(16px); } }
@keyframes l-pulse { 50% { opacity: 0.45; } }
@keyframes l-out { to { opacity: 0; visibility: hidden; } }
