/* ==========================================================================
   AURA – Landingpage
   Design-System 1:1 aus der App: tiefes Schwarz, luftige weiße Inter-Zahlen,
   ein einziger lebendiger grüner Akzent (der Puls auf dem Kalorien-Bogen).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/Inter-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #000000;
  --surface: #0d0d0f;
  --surface-2: #141416;
  --surface-3: #1c1c1f;

  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);

  --ink: #ffffff;
  --ink-2: #8a8a8e;
  --ink-3: #5e5e63;

  --live: #30d158;          /* der eine grüne Puls */
  --live-dim: rgba(48, 209, 88, 0.14);
  --live-soft: rgba(48, 209, 88, 0.5);
  --warm: #b58d79;          /* sparsamer warmer Sekundärton (Fett) */
  --carb: #38a9ff;          /* sehr sparsam, wie das Barcode-Icon */

  --max: 1160px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 32px;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

::selection {
  background: var(--live);
  color: #000;
}

/* ---------- Type helpers ---------- */
/* Die luftigen Datenzahlen – die Signatur-Typo der App. */
.num {
  font-weight: 250;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.live-text {
  color: var(--live);
}

/* Kleiner pulsierender „live"-Punkt – das App-Motiv. */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 var(--live-soft);
}

.live-dot.is-pulsing {
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(48, 209, 88, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0);
  }
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #000;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 14px clamp(16px, 4vw, 32px);
}

.nav-shell {
  display: flex;
  width: min(100%, var(--max));
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 9px 9px 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 13, 15, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(13, 13, 15, 0.86);
  border-color: var(--line-2);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand-lockup img {
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 28px);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color 160ms ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  content: "";
  background: var(--live);
  transition: right 240ms var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  right: 0;
}

/* ==========================================================================
   Buttons – Weiß ist die Aktionsfarbe (wie die +-Buttons in der App)
   ========================================================================== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink);
  color: #000;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, opacity 160ms ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 255, 255, 0.16);
}

.nav-cta {
  min-height: 40px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 700;
  gap: 0;
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.cta-kicker {
  color: rgba(0, 0, 0, 0.55);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.is-disabled-download {
  cursor: default;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.cta-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  position: relative;
  display: grid;
  min-height: min(880px, 100svh);
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 150px clamp(18px, 4vw, 32px) 90px;
}

/* Sehr ruhiges Ambient-Licht – ein einziger weicher grüner Schimmer. */
.hero-glow {
  position: absolute;
  inset: -10% auto auto -10%;
  width: 70%;
  height: 90%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 44% at 62% 38%, rgba(48, 209, 88, 0.1), transparent 70%),
    radial-gradient(34% 38% at 30% 26%, rgba(255, 255, 255, 0.05), transparent 72%);
  filter: blur(30px);
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.85;
  }
  to {
    transform: translate3d(3%, 2%, 0);
    opacity: 1;
  }
}

.hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(52px, 8.2vw, 102px);
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: -0.035em;
}

/* Die Satzpunkte der Headline werden zum grünen Puls-Motiv. */
h1 .dot {
  color: var(--live);
}

.hero-body {
  max-width: 540px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 550;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
}

/* ---------- Hero Visual ---------- */
.hero-visual {
  min-width: 0;
}

.phone-scene {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px 8px;
  transform-style: preserve-3d;
}

.float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
  animation: floatY 5.6s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

.float-card strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.float-card small {
  display: block;
  margin-top: 1px;
  color: var(--ink-2);
  font-size: 11.5px;
}

.float-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 14px;
}

.float-ic.live {
  color: var(--live);
  border-color: rgba(48, 209, 88, 0.3);
  background: var(--live-dim);
}

.float-card-a {
  top: 0%;
  right: max(-16px, calc(50% - 300px));
}

.float-card-b {
  top: 40%;
  left: max(-14px, calc(50% - 332px));
}

.float-card-c {
  bottom: 11%;
  right: max(-8px, calc(50% - 308px));
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ==========================================================================
   Phone-Mockup – getreuer Nachbau der App
   ========================================================================== */
.phone {
  position: relative;
  width: min(86vw, 326px);
  height: 678px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 46px;
  background: var(--bg);
  box-shadow:
    0 0 0 9px #0c0c0d,
    0 0 0 10px rgba(255, 255, 255, 0.05),
    0 44px 110px rgba(0, 0, 0, 0.66);
}

.phone-hero {
  animation: phoneRise 900ms var(--ease) both;
}

@keyframes phoneRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 6;
  width: 116px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #000;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.phone-status .pct {
  color: var(--ink);
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 6px 16px 14px;
  overflow: hidden;
}

/* ---- App: Begrüßung ---- */
.a-greet {
  margin: 8px 2px 14px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.a-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

/* ---- App: Kalorien-Bogen (die Signatur) ---- */
.a-summary {
  padding: 18px 16px 16px;
}

.a-summary-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.a-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.a-side.right {
  align-items: center;
}

.a-side .a-side-val {
  font-size: 22px;
  line-height: 1;
}

.a-side .a-side-unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}

.a-side .a-side-lbl {
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
}

.gauge {
  position: relative;
  width: 150px;
  height: 150px;
}

.gauge svg {
  width: 150px;
  height: 150px;
}

.gauge-track {
  fill: none;
  stroke: var(--surface-3);
  stroke-width: 9;
  stroke-linecap: round;
}

/* Grüner Fortschrittsbogen – das runde Ende liest sich als der „Puls"-Punkt. */
.gauge-progress {
  fill: none;
  stroke: var(--live);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 386.4;
  stroke-dashoffset: 386.4;
  filter: drop-shadow(0 0 6px rgba(48, 209, 88, 0.45));
  transition: stroke-dashoffset 1.5s var(--ease);
}

.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.gauge-num {
  font-size: 40px;
  line-height: 1;
}

.gauge-cap {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

/* ---- App: Makros (dünne Linie + farbiger Punkt) ---- */
.a-macros {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.a-macro {
  flex: 1;
}

.a-macro-lbl {
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
}

.a-macro-val {
  margin-top: 2px;
  font-size: 17px;
  line-height: 1;
}

.a-macro-val s {
  color: var(--ink-3);
  text-decoration: none;
  font-size: 12px;
}

.a-macro-track {
  position: relative;
  height: 3px;
  margin-top: 9px;
  border-radius: 3px;
  background: var(--surface-3);
}

.a-macro-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 3px;
  transition: width 1.1s var(--ease) 300ms;
}

.a-macro-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 1.1s var(--ease) 300ms;
}

.phone-hero .a-macro-fill,
.is-visible .a-macro-fill {
  width: var(--w, 50%);
}

.phone-hero .a-macro-dot,
.is-visible .a-macro-dot {
  left: var(--w, 50%);
}

/* ---- App: Coach-Briefing ---- */
.a-briefing {
  margin-top: 13px;
  padding: 15px 16px;
}

.a-briefing-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.a-briefing-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.35;
}

.a-briefing-row + .a-briefing-row {
  margin-top: 9px;
}

.a-briefing-row .ic {
  flex: 0 0 16px;
  margin-top: 1px;
  color: var(--ink-3);
}

.a-briefing-row b {
  font-weight: 600;
}

.a-briefing-row .muted {
  color: var(--ink-2);
}

/* ---- App: Quick-Actions 2×2 ---- */
.a-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}

.a-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
}

.a-action-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
}

.a-action-ic.live {
  color: var(--live);
}

.a-action-ic.carb {
  color: var(--carb);
}

/* ---- App: Tabbar ---- */
.a-tabbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: auto;
  padding: 12px 6px 2px;
  border-top: 1px solid var(--line);
}

.a-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ink-3);
  font-size: 9.5px;
  font-weight: 550;
}

.a-tab.is-on {
  color: var(--ink);
}

/* ---- App: Datumsleiste (Ernährung) ---- */
.a-screen-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 6px 2px 14px;
}

.a-screen-head h4 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.a-screen-head .sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-2);
}

.a-add-lg {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--ink);
  color: #000;
  font-size: 22px;
  font-weight: 400;
}

.a-dates {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 14px;
}

.a-date {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 0 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink-2);
}

.a-date i {
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-3);
}

.a-date b {
  font-size: 15px;
  font-weight: 600;
}

.a-date.is-on {
  background: var(--surface-2);
  border-color: var(--line-2);
  color: var(--ink);
}

.a-date.is-on::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

/* ---- App: Log-Liste ---- */
.a-loghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 2px 10px;
}

.a-loghead b {
  font-size: 15px;
  font-weight: 700;
}

.a-loghead span {
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}

.a-logrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.a-logrow .thumb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 18px;
}

.a-logrow .tx b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.a-logrow .tx small {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 11.5px;
}

.a-add-sm {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ink);
  color: #000;
  font-size: 17px;
}

/* ---- App: Training ---- */
.a-train-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 2px 13px;
}

.a-pill {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 600;
}

.a-rest {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.a-rest i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: pulseSmall 1.5s ease-in-out infinite;
}

@keyframes pulseSmall {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.a-exercise {
  padding: 15px 15px 8px;
}

.a-ex-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.a-ex-title b {
  font-size: 15px;
  font-weight: 700;
}

.a-ex-title .pr {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--live);
}

.a-set {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 2px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.a-set .n {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
}

.a-set .v {
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.a-set .rir {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 11px;
}

.a-set .done {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--live-dim);
  color: var(--live);
}

.a-set.is-active {
  margin: 0 -7px;
  padding: 9px;
  border-top: 0;
  border-radius: 12px;
  background: var(--surface-2);
}

.a-set.is-active .n {
  background: var(--ink);
  color: #000;
}

.a-set .now {
  width: 21px;
  text-align: center;
  color: var(--live);
}

.a-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 13px 15px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

.a-note b {
  color: var(--ink);
  font-weight: 650;
}

.a-note-ic {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--live-dim);
  color: var(--live);
}

.a-next {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.a-next small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.a-next span {
  font-size: 13px;
  font-weight: 600;
}

/* ---- App: Coach-Chat ---- */
.a-chat {
  gap: 10px;
  padding-top: 12px;
}

.a-bubble {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 12px;
  line-height: 1.5;
}

.a-bubble-coach {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  background: var(--surface);
  color: rgba(255, 255, 255, 0.9);
}

.a-bubble-user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--ink);
  color: #000;
  font-weight: 500;
}

.a-actioncard {
  align-self: flex-start;
  width: 92%;
  padding: 14px;
}

.a-actioncard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
}

.a-actioncard-head .live-dot {
  width: 7px;
  height: 7px;
}

.a-actioncard ul {
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-2);
}

.a-actioncard li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a-actioncard li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--live);
}

.a-actioncard-btns {
  display: flex;
  gap: 8px;
}

.a-btn-fill,
.a-btn-ghost {
  flex: 1;
  padding: 9px 0;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  text-align: center;
}

.a-btn-fill {
  background: var(--ink);
  color: #000;
}

.a-btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}

/* ==========================================================================
   Stats-Band
   ========================================================================== */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}

.stat-item {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 30px clamp(14px, 2.5vw, 30px);
  border-left: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 1px solid var(--line);
}

.stat-item strong {
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 250;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-item .stat-unit {
  font-weight: 250;
  color: var(--ink-2);
}

.stat-item span:last-child {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
  overflow: hidden;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  white-space: nowrap;
}

.ticker-group span {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}

.ticker-group i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--live);
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(84px, 11vw, 138px) clamp(18px, 4vw, 32px);
  scroll-margin-top: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.section-centered .section-heading {
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

.section-centered .eyebrow {
  justify-content: center;
}

h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 600px;
}

/* ---------- Steps (echte Sequenz → Nummern gerechtfertigt) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(38px, 5vw, 58px);
}

.step-card {
  position: relative;
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: transform 240ms var(--ease), border-color 240ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}

.step-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.step-num::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-2);
  color: var(--ink);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.step-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Feature-Sections ---------- */
.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.feature-section-flipped {
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
}

.feature-section-flipped .feature-copy {
  grid-column: 2;
}

.feature-section-flipped .feature-visual {
  grid-column: 1;
  grid-row: 1;
}

.feature-copy {
  display: grid;
  gap: 20px;
  max-width: 580px;
}

.feature-copy > p {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.feature-list {
  display: grid;
  gap: 15px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  font-weight: 450;
  line-height: 1.5;
}

.feature-list b {
  font-weight: 650;
  color: var(--ink);
}

/* Die Bullet-Punkte = das Makro-Punkt-Motiv der App. */
.li-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--live);
}

.li-dot.white {
  background: var(--ink);
}

.li-dot.warm {
  background: var(--warm);
}

.li-dot.carb {
  background: var(--carb);
}

.feature-visual {
  display: grid;
  place-items: center;
}

.phone-feature {
  width: min(86vw, 320px);
  height: 654px;
}

/* ---------- Privacy ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(38px, 5vw, 58px);
}

.privacy-card {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: transform 240ms var(--ease), border-color 240ms ease;
}

.privacy-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}

.privacy-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink);
}

.privacy-card h3 {
  font-size: 17px;
  font-weight: 720;
}

.privacy-card p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.section-faq {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 46px);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 200ms ease;
}

.faq-item[open] {
  border-color: var(--line-2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-marker {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

.faq-marker::before,
.faq-marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.6px;
  content: "";
  background: var(--ink-2);
  transform: translate(-50%, -50%);
  transition: transform 280ms var(--ease), background 200ms ease;
}

.faq-marker::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-marker::before,
.faq-item[open] .faq-marker::after {
  background: var(--live);
}

.faq-item[open] .faq-marker::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-body {
  padding: 0 22px 22px;
}

.faq-item[open] .faq-body {
  animation: faqOpen 340ms var(--ease) both;
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-body p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 64ch;
}

.faq-body a {
  color: var(--live);
  font-weight: 600;
}

/* ---------- Final CTA ---------- */
.final-cta-section {
  padding: 28px clamp(18px, 4vw, 32px) 120px;
}

.final-cta {
  position: relative;
  display: grid;
  width: min(100%, 940px);
  justify-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: clamp(52px, 9vw, 86px) clamp(22px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  text-align: center;
  overflow: hidden;
}

.final-glow {
  position: absolute;
  inset: -50% -20% auto;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(40% 60% at 50% 0%, rgba(48, 209, 88, 0.12), transparent 70%);
  filter: blur(28px);
}

.final-cta > * {
  position: relative;
}

.final-cta img {
  border-radius: 19px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.final-cta h2 {
  max-width: 17ch;
}

.final-cta > p {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.availability-note {
  color: var(--ink-3);
  font-size: 13.5px !important;
}

.availability-note a {
  color: var(--ink-2);
  font-weight: 650;
  border-bottom: 1px solid var(--line-2);
  transition: color 160ms ease;
}

.availability-note a:hover {
  color: var(--live);
  border-color: rgba(48, 209, 88, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px clamp(18px, 4vw, 32px) 36px;
  background: #040405;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(120px, auto));
  gap: 40px clamp(24px, 4vw, 64px);
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-about p {
  max-width: 420px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
}

.footer-col strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  width: fit-content;
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-meta {
  width: min(100%, var(--max));
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
}

/* ==========================================================================
   Mobile Sticky CTA
   ========================================================================== */
.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.mobile-sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  background: var(--ink);
  color: #000;
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Reveals
   ========================================================================== */
.reveal {
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps-grid.is-visible .step-card,
.privacy-grid.is-visible .privacy-card {
  animation: cardIn 600ms var(--ease) both;
}

.steps-grid.is-visible .step-card:nth-child(2),
.privacy-grid.is-visible .privacy-card:nth-child(2) {
  animation-delay: 100ms;
}

.steps-grid.is-visible .step-card:nth-child(3),
.privacy-grid.is-visible .privacy-card:nth-child(3) {
  animation-delay: 200ms;
}

.privacy-grid.is-visible .privacy-card:nth-child(4) {
  animation-delay: 300ms;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Legal-/Support-Seiten
   ========================================================================== */
.legal-body {
  background: var(--bg);
}

.legal-main {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 150px clamp(18px, 4vw, 32px) 100px;
}

.legal-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 38px;
}

.legal-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.legal-hero > p {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 62ch;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.legal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #000;
  font-weight: 650;
  font-size: 14px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.legal-button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.legal-button-secondary {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
}

.legal-content {
  display: grid;
  gap: 14px;
}

.legal-section {
  display: grid;
  gap: 13px;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.legal-section h2 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  margin-top: 6px;
  font-size: 15.5px;
  font-weight: 650;
}

.legal-section p,
.legal-section li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

.legal-section a {
  color: var(--live);
  font-weight: 600;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-placeholder {
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 14px 16px;
  color: var(--ink) !important;
  font-weight: 550;
  font-size: 14px !important;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 200ms ease;
}

.support-card:hover {
  border-color: var(--line-2);
}

.support-card h2 {
  font-size: 20px;
  line-height: 1.2;
}

.support-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.support-card a:not(.legal-button) {
  color: var(--live);
  font-weight: 600;
}

.support-card-wide {
  grid-column: 1 / -1;
}

.support-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .float-card-a {
    right: -4px;
  }
  .float-card-b {
    left: -8px;
  }
  .float-card-c {
    right: -2px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 56px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .phone-scene {
    padding: 10px 0 24px;
  }

  .float-card-a {
    top: 2%;
    right: max(0px, calc(50% - 300px));
  }
  .float-card-b {
    left: max(-6px, calc(50% - 312px));
  }
  .float-card-c {
    right: max(-2px, calc(50% - 296px));
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    min-height: 124px;
    border-right: 1px solid var(--line);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-section,
  .feature-section-flipped {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .feature-section-flipped .feature-copy,
  .feature-section-flipped .feature-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-copy {
    max-width: 680px;
  }

  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    padding: 10px 12px;
  }

  .nav-shell {
    min-height: 54px;
    padding-left: 14px;
  }

  .hero-section {
    padding: 112px 18px 40px;
    gap: 30px;
  }

  h1 {
    font-size: clamp(46px, 13.5vw, 64px);
  }

  .hero-body {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta-primary {
    justify-content: center;
  }

  .cta-ghost {
    min-height: 52px;
  }

  .float-card small {
    display: none;
  }

  .float-card-a {
    top: 0;
    right: 0;
  }
  .float-card-b {
    top: 36%;
    left: 0;
  }
  .float-card-c {
    bottom: 8%;
    right: 2px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .stat-item {
    min-height: 112px;
    padding: 22px 18px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: 0;
  }

  .section {
    padding: 72px 18px;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    padding: 17px 18px;
    font-size: 15px;
  }

  .faq-body {
    padding: 0 18px 18px;
  }

  .final-cta-section {
    padding-bottom: 84px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .legal-main {
    padding-top: 118px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-cta {
    display: none;
  }

  .nav-shell {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
