@font-face {
  font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
/* LenzLog – Marketing-Website. Tokens 1:1 aus der App (KalorienWeb/css/app.css :root), nur dunkel.
   Aufbau: Tokens · Basis · Kopf · Knöpfe · Abschnitte · Start · Preise · Installation · Rechtliches · Fuß ·
   Handy-Mockups (.ph-*, in em: 1em ≈ 16px der App) · Einblenden/Animation. */
:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --bg-2: #111113;
  --surface: #161618;
  --surface-2: #242427;
  --surface-3: #2E2E31;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --fg: #F2F2F4;
  --fg-2: #C7C7CC;
  --muted: #9A9AA0;
  --faint: #6A6A70;
  --accent: #3D6BFF;
  --accent-2: #75A6FF;
  --accent-deep: #1B2F7A;
  --accent-soft: rgba(61, 107, 255, 0.16);
  --accent-glow: rgba(61, 107, 255, 0.65);
  --protein: #FF4F66;
  --carbs: #C99A3E;
  --fat: #F4F4F6;
  --fiber: #7BD88F;
  --ok: #2EE6A0;
  --warn: #FFC629;
  --over: #FF4F70;
  --track: rgba(255, 255, 255, 0.10);
  --glass: rgba(28, 28, 30, 0.7);
  --glass-strong: rgba(24, 24, 26, 0.88);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-highlight: rgba(255, 255, 255, 0.07);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 42%);
  --glass-blur: blur(20px) saturate(140%);
  --r-xl: 26px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  /* Website: Manrope (selbst gehostet, assets/fonts, OFL). Die Handy-Mockups behalten die Systemschrift der App (--font-app). */
  --font-display: "Manrope", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-app: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
  --head-h: 64px;
  accent-color: var(--accent);
}
@media (max-width: 520px) { :root { --gutter: 16px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: #A9C6FF; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-glow); color: #fff; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 650; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.ic { flex: none; }

/* Hintergrund: weiche Leuchtflecken wie in der App (fest, hinter allem) */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow::before, .bg-glow::after { content: ""; position: absolute; border-radius: 50%; }
.bg-glow::before { width: 120vmax; height: 80vmax; left: 50%; top: -48vmax; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(170, 174, 184, 0.10), rgba(170, 174, 184, 0) 70%); }
.bg-glow::after { width: 70vmax; height: 70vmax; right: -30vmax; top: 10vh;
  background: radial-gradient(closest-side, rgba(61, 107, 255, 0.10), rgba(61, 107, 255, 0) 70%); }

/* Glas-Fläche (Karten) */
.glass {
  background: var(--glass-sheen), var(--glass);
  /* kein backdrop-filter: der Hintergrund ist ruhig, und viele Blur-Ebenen bremsen Handys */
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 24px 50px -30px rgba(0, 0, 0, 0.8);
  border-radius: var(--r-xl);
}

/* ---------- Kopf ---------- */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head-h); }
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 12, 0.6); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color 0.25s ease, background 0.25s ease;
}
.site-head.is-scrolled::before { border-bottom-color: var(--line); background: rgba(11, 11, 12, 0.78); }
.head-in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--font-display); font-weight: 650; font-size: 19px; letter-spacing: -0.02em; margin-right: auto; }
.brand:hover { color: #fff; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--fg-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 99px; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: var(--fg); }
.head-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 99px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { background: var(--surface-3); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--fg); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: calc(var(--head-h) - 4px); left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px; border-radius: 20px; background: rgba(22, 22, 24, 0.97); border: 1px solid var(--line-strong);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
  .nav a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .site-head.is-open .nav { opacity: 1; transform: none; visibility: visible; }
}
@media (max-width: 420px) { .head-in { gap: 8px; } .head-tools { gap: 6px; } .lang a { min-width: 30px; padding: 0 6px; } .head-cta { padding: 0 12px; } }
@media (max-width: 359px) { .brand span { display: none; } }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 99px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(180deg, #5C84FF, var(--accent)); color: #fff; box-shadow: 0 0 0 1px rgba(117, 166, 255, 0.5) inset, 0 10px 30px -10px var(--accent-glow), 0 0 40px -14px var(--accent-glow); }
.btn-primary:hover { color: #fff; box-shadow: 0 0 0 1px rgba(160, 195, 255, 0.7) inset, 0 12px 36px -10px var(--accent-glow), 0 0 50px -10px var(--accent-glow); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; }
.section-tight { padding-top: clamp(40px, 6vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 1px var(--accent-glow); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2, .h2 { font-size: clamp(32px, 5vw, 52px); }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--fg-2); margin-top: 18px; line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grad-text { background: linear-gradient(180deg, #FFFFFF 20%, #A9A9B0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-text { color: var(--accent-2); text-shadow: 0 0 28px rgba(61, 107, 255, 0.55); }

/* ---------- Start: Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 6.6vw, 76px); letter-spacing: -0.04em; line-height: 1.02; }
.hero .lead { max-width: 560px; margin-top: 24px; }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ic { color: var(--ok); }
.badge-claude { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 13.5px; color: var(--fg-2); margin-bottom: 26px; }
.badge-claude b { color: var(--fg); font-weight: 600; }
.badge-claude i { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 520px; }
.hero-visual .phone { z-index: 2; }
.hero-visual .phone.back { position: absolute; z-index: 1; --pw: min(250px, calc(100vw - 120px)); right: -2%; top: 14%; transform: rotate(7deg); opacity: 0.78; filter: saturate(0.9); }
.hero-visual .phone.front { transform: translateX(-14%) rotate(-3deg); }
.hero-visual::before { content: ""; position: absolute; width: 80%; height: 70%; left: 10%; top: 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 107, 255, 0.24), rgba(61, 107, 255, 0)); z-index: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: left; }
  .hero-visual { min-height: 0; padding-top: 12px; }
  .hero-visual .phone.front { transform: none; }
  .hero-visual .phone.back { display: none; }
}

/* Trust-Zeile */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 18px 20px; }
.fact b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Funktions-Zeilen: Text + Mockup, abwechselnd */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feat + .feat { margin-top: clamp(80px, 12vw, 150px); }
.feat.flip .feat-copy { order: 2; }
.feat-copy h3 { font-size: clamp(28px, 3.6vw, 40px); }
.feat-copy .lead { margin-top: 16px; }
.feat-vis { display: flex; justify-content: center; position: relative; }
.feat-vis::before { content: ""; position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, var(--halo, rgba(61, 107, 255, 0.2)), transparent); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg-2); font-size: 16px; }
.ticks li .ic { margin-top: 2px; color: var(--accent-2); }
.ticks li b { color: var(--fg); font-weight: 600; }
@media (max-width: 860px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat.flip .feat-copy { order: 0; }
}

/* Weitere Funktionen: Karten-Raster */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fcard { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fcard h3 { font-size: 18.5px; letter-spacing: -0.015em; }
.fcard p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.ficon { width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: var(--c, var(--accent-2));
  background: color-mix(in srgb, var(--c, var(--accent-2)) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--accent-2)) 30%, transparent); margin-bottom: 4px; }
.fcard .tag { align-self: flex-start; font-size: 11px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line-strong); }
@media (max-width: 900px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* So funktioniert's */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.step { padding: 26px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.step-vis { height: 150px; border-radius: 18px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 8px; position: relative; }
.step-n { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent-2); letter-spacing: 0.08em; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Datenschutz */
.priv { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.priv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.priv-item { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.priv-item h3 { font-size: 17px; letter-spacing: -0.01em; }
.priv-item p { font-size: 14.5px; color: var(--muted); }
.fine { margin-top: 22px; font-size: 13px; color: var(--faint); line-height: 1.5; }
@media (max-width: 900px) { .priv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .priv-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Preise ---------- */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.price-card { padding: clamp(24px, 4vw, 36px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.price-card.pro { border-color: rgba(117, 166, 255, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(61, 107, 255, 0.25), 0 30px 80px -30px rgba(61, 107, 255, 0.45); }
.price-card.pro::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -170px; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 107, 255, 0.35), transparent); pointer-events: none; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name h3 { font-size: 24px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--ok); background: rgba(46, 230, 160, 0.12); box-shadow: inset 0 0 0 1px rgba(46, 230, 160, 0.3); }
.billing { display: inline-flex; padding: 4px; margin: 22px 0 0; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); align-self: flex-start; }
.billing button { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing button[aria-pressed="true"] { background: var(--surface-3); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.billing small { font-size: 11.5px; color: var(--ok); font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.price b { font-family: var(--font-display); font-size: clamp(48px, 6vw, 64px); font-weight: 650; letter-spacing: -0.045em; line-height: 1; }
.price span { color: var(--muted); font-size: 16px; }
.price-sub { margin-top: 8px; color: var(--fg-2); font-size: 15px; min-height: 1.5em; }
.price-alt { display: none; }
.js .price-card[data-cycle="year"] .p-month, .js .price-card[data-cycle="month"] .p-year { display: none; }
.no-js-both .p-year { display: block; }
.incl { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.incl li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--fg-2); }
.incl li .ic { color: var(--ok); margin-top: 3px; }
.price-card .btn { margin-top: 30px; width: 100%; }
.price-card .cta-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.free-card h3 { font-size: 22px; }
.free-card .incl li .ic { color: var(--muted); }
.free-card .incl li.no { color: var(--faint); }
.free-card .incl li.no .ic { color: var(--faint); }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--fg-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.price-notes { max-width: 980px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-notes .glass { padding: 20px; font-size: 14.5px; color: var(--muted); }
.price-notes b { display: block; color: var(--fg); font-size: 15.5px; margin-bottom: 4px; }
@media (max-width: 820px) { .price-wrap, .price-notes { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 20px; padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform 0.25s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--accent-2); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 20px; }
.faq .ans { padding: 0 22px 22px; color: var(--fg-2); font-size: 16px; }
.faq .ans p + p { margin-top: 10px; }

/* Abschluss-Band */
.cta-band { padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 700px; height: 400px; left: 50%; top: -200px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(61, 107, 255, 0.35), transparent); pointer-events: none; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 48px); position: relative; }
.cta-band .lead { position: relative; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; position: relative; }

/* ---------- Unterseiten-Kopf ---------- */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.04em; }
.page-head .lead { max-width: 680px; }

/* ---------- Installation ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.tabs button { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.tabs button .det { font-size: 11px; font-weight: 700; color: var(--ok); }
.detected { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.platform { margin-top: 30px; }
.js .platform[hidden] { display: none; }
.platform h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 8px; }
.platform > .lead { margin-top: 6px; margin-bottom: 26px; }
.isteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; counter-reset: is; }
.istep { padding: 20px; display: flex; flex-direction: column; gap: 12px; counter-increment: is; }
.istep-vis { height: 170px; border-radius: 18px; background: #0F0F11; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.istep h3 { font-size: 17.5px; letter-spacing: -0.01em; display: flex; gap: 10px; align-items: baseline; }
.istep h3::before { content: counter(is); flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); box-shadow: 0 0 14px -3px var(--accent-glow); transform: translateY(-2px); }
.istep p { color: var(--muted); font-size: 15px; }
.istep kbd, .kbd { font-family: inherit; font-size: 0.92em; font-weight: 600; color: var(--fg); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-strong); border-radius: 7px; padding: 1px 7px; white-space: nowrap; }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: 18px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fg-2); background: rgba(61, 107, 255, 0.09); border: 1px solid rgba(61, 107, 255, 0.28); }
.callout .ic { color: var(--accent-2); margin-top: 2px; }
.callout.warn { background: rgba(255, 198, 41, 0.08); border-color: rgba(255, 198, 41, 0.3); }
.callout.warn .ic { color: var(--warn); }
.inapp { display: none; }
.inapp.show { display: flex; margin-bottom: 18px; }
.help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.help .glass { padding: 22px; }
.help h3 { font-size: 17px; margin-bottom: 8px; }
.help p { font-size: 15px; color: var(--muted); }
@media (max-width: 720px) { .help { grid-template-columns: minmax(0, 1fr); } }

/* Mini-Illustrationen der Installationsschritte */
.mini { width: 150px; height: 150px; }
.mini-phone { width: 118px; height: 150px; margin-top: 34px; border-radius: 22px 22px 0 0; border: 2px solid #3A3A3E; border-bottom: 0; background: #141416; position: relative; overflow: hidden; }
.mini-url { margin: 12px 10px 0; height: 20px; border-radius: 8px; background: #26262A; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 9px; color: var(--fg-2); font-weight: 600; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: #1C1C1F; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-around; color: #6E6E73; }
.mini-bar .hot, .mini .hot { color: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent-glow)); }
.hot-ring { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent-2); box-shadow: 0 0 14px var(--accent-glow); }
.sheet { position: absolute; left: 6px; right: 6px; bottom: 0; border-radius: 12px 12px 0 0; background: #222225; padding: 8px; display: grid; gap: 4px; }
.sheet i { display: flex; align-items: center; justify-content: space-between; height: 18px; padding: 0 7px; border-radius: 6px; background: #2C2C30; font-style: normal; font-size: 8.5px; color: var(--fg-2); font-weight: 600; }
.sheet i.hot-row { background: var(--accent-soft); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.home-grid { display: grid; grid-template-columns: repeat(3, 26px); gap: 12px; padding: 18px 16px; }
.home-grid i { width: 26px; height: 26px; border-radius: 7px; background: #2A2A2E; }
.home-grid i.app { background: #0B0B0C; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 16px -2px var(--accent-glow); display: flex; align-items: center; justify-content: center; }
.notif { position: absolute; left: 8px; right: 8px; top: 30px; padding: 8px; border-radius: 12px; background: rgba(44, 44, 48, 0.96); box-shadow: 0 8px 20px -8px #000; font-size: 8.5px; color: var(--fg-2); text-align: center; line-height: 1.35; }
.notif b { display: block; color: #fff; font-size: 9px; margin-bottom: 3px; }
.notif .nbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; }
.notif .nbtns span { padding: 3px; border-radius: 6px; background: #38383C; }
.notif .nbtns span.hot-row { background: var(--accent); color: #fff; }
.add-dlg { position: absolute; left: 8px; right: 8px; top: 28px; padding: 8px; border-radius: 12px; background: #242427; font-size: 8.5px; color: var(--fg-2); }
.add-dlg .r1 { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.add-dlg .r1 b { color: var(--accent-2); }
.add-dlg .r2 { display: flex; gap: 6px; align-items: center; }
.add-dlg .r2 i { width: 22px; height: 22px; border-radius: 6px; background: #0B0B0C; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; }
.menu-pop { position: absolute; right: 6px; top: 34px; width: 92px; padding: 5px; border-radius: 10px; background: #2A2A2E; display: grid; gap: 3px; box-shadow: 0 8px 20px -6px #000; }
.menu-pop i { display: block; height: 14px; border-radius: 4px; background: #343438; font-style: normal; font-size: 7.5px; line-height: 14px; padding: 0 5px; color: var(--fg-2); white-space: nowrap; overflow: hidden; }
.menu-pop i.hot-row { background: var(--accent-soft); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.desk { width: 200px; height: 130px; border-radius: 12px; border: 2px solid #3A3A3E; background: #141416; overflow: hidden; }
.desk .bar { height: 26px; background: #1E1E21; display: flex; align-items: center; gap: 6px; padding: 0 8px; }
.desk .bar span { flex: 1; height: 14px; border-radius: 7px; background: #2A2A2E; font-size: 8px; color: var(--fg-2); display: flex; align-items: center; padding: 0 8px; }

/* ---------- Rechtliches ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 24px; margin: 44px 0 10px; }
.legal p, .legal li { color: var(--fg-2); font-size: 16.5px; }
.legal ul { padding-left: 1.2em; }
.legal .meta { color: var(--muted); font-size: 14px; margin-top: 12px; }
.todo {
  margin: 14px 0; padding: 16px 18px; border-radius: 16px;
  background: repeating-linear-gradient(135deg, rgba(255, 198, 41, 0.10) 0 12px, rgba(255, 198, 41, 0.06) 12px 24px);
  border: 1.5px dashed rgba(255, 198, 41, 0.75); color: #FFE7A3; font-size: 15px;
}
.todo b { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.todo p { color: #FFE7A3; font-size: 15px; }
.ph { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; color: #1A1400; background: var(--warn); padding: 1px 6px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.toc { margin-top: 26px; padding: 18px 22px; }
.toc ol { margin: 6px 0 0; padding-left: 1.3em; columns: 2; column-gap: 28px; }
.toc li { font-size: 15px; margin: 3px 0; }
.toc a { color: var(--fg-2); text-decoration: none; }
.toc a:hover { color: var(--fg); text-decoration: underline; }
@media (max-width: 560px) { .toc ol { columns: 1; } }

/* ---------- Fuß ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h2 { font-size: 12.5px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 14px; font-family: var(--font-body); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--fg); text-decoration: underline; }
.foot-brand p { margin-top: 14px; max-width: 320px; line-height: 1.5; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--faint); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* 404 */
.nf { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 80px 0; }
.nf .code { font-family: var(--font-display); font-size: clamp(90px, 18vw, 160px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }

/* =====================================================================================
   Handy-Mockups. Breite --pw; innen alles in em (1em = pw/25 ≈ 12px bei 300px ≈ 16px der App).
   ===================================================================================== */
.phone {
  --pw: min(300px, calc(100vw - 56px));
  width: var(--pw); aspect-ratio: 300 / 624; flex: none; position: relative;
  padding: calc(var(--pw) * 0.032); border-radius: calc(var(--pw) * 0.165);
  background: linear-gradient(145deg, #3A3A3F, #18181B 40%, #0E0E10 70%, #2A2A2E);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 3px #050506, 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 30px 60px -30px rgba(61, 107, 255, 0.25);
}
.phone::after { /* Seitentaste */
  content: ""; position: absolute; right: -2px; top: 26%; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #2A2A2E;
}
.ph-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * 0.135);
  background: radial-gradient(120% 55% at 50% -12%, rgba(170, 174, 184, 0.08), rgba(170, 174, 184, 0) 62%), var(--bg);
  font-size: calc(var(--pw) / 25); line-height: 1.35; color: var(--fg); display: flex; flex-direction: column;
  font-family: var(--font-body); letter-spacing: 0;
}
.ph-status { flex: none; height: 3.6em; display: flex; align-items: center; justify-content: space-between; padding: 0.6em 2.1em 0; font-size: 1.05em; font-weight: 600; position: relative; }
.ph-status .isl { position: absolute; left: 50%; top: 0.85em; width: 7.6em; height: 2.2em; transform: translateX(-50%); border-radius: 99px; background: #000; }
.ph-status .sig { display: flex; gap: 0.35em; align-items: center; }
.ph-status .sig i { display: block; width: 1.6em; height: 0.8em; border-radius: 0.25em; border: 1px solid rgba(255, 255, 255, 0.55); position: relative; }
.ph-status .sig i::after { content: ""; position: absolute; inset: 1px 30% 1px 1px; background: #fff; border-radius: 0.12em; }
.ph-status .sig b { display: block; width: 1.1em; height: 0.75em; background: linear-gradient(90deg, #fff 0 18%, transparent 18% 27%, #fff 27% 45%, transparent 45% 54%, #fff 54% 72%, transparent 72% 81%, #fff 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ph-top { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6em; padding: 0.3em 1.1em 0.7em; }
.ph-top h4 { font-size: 1.75em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.ph-top small { display: block; font-size: 0.78em; color: var(--muted); font-weight: 500; margin-bottom: 0.25em; }
.ph-pill { display: inline-flex; align-items: center; gap: 0.3em; height: 2em; padding: 0 0.7em; border-radius: 99px; font-size: 0.85em; font-weight: 700; background: rgba(34, 34, 37, 0.7); box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ph-pill .ic { width: 1.1em; height: 1.1em; color: #FF9A4D; }
.ph-body { flex: 1; min-height: 0; overflow: hidden; padding: 0 1em; display: flex; flex-direction: column; gap: 0.75em;
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }
.ph-tabs { flex: none; height: 4.6em; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 0.55em; background: rgba(20, 21, 23, 0.92); border-top: 1px solid rgba(255, 255, 255, 0.07); }
.ph-tab { display: flex; flex-direction: column; align-items: center; gap: 0.2em; font-size: 0.66em; font-weight: 600; color: #7C7C82; }
.ph-tab .ic { width: 1.9em; height: 1.9em; }
.ph-tab.on { color: var(--accent-2); }
.ph-tab.on .ic { filter: drop-shadow(0 0 6px var(--accent-glow)); }
.ph-home { position: absolute; left: 50%; bottom: 0.45em; width: 9em; height: 0.3em; transform: translateX(-50%); border-radius: 99px; background: rgba(255, 255, 255, 0.55); }

/* Glas in der App */
.ph-card, .ph-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 42%), rgba(32, 32, 35, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 1.6em; min-width: 0;
}
.ph-card { padding: 1.05em; display: flex; flex-direction: column; gap: 0.7em; }
.ph-label { font-size: 0.7em; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 0.4em; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75em; }
.ph-tile { aspect-ratio: 1 / 1; padding: 0.95em; display: flex; flex-direction: column; gap: 0.2em; position: relative; }
.ph-act { display: inline-flex; align-items: center; gap: 0.25em; font-size: 0.95em; letter-spacing: 0; text-transform: none; font-weight: 650; color: var(--muted); }
.ph-act i { width: 0.6em; height: 0.6em; border-radius: 0.15em; background: #283E85; box-shadow: inset 0 0 0 1px rgba(127, 162, 255, 0.35); }
/* kcal-Ring (Geometrie wie js/widgets.js: r 42, Bogen 8, Spur 6.5) */
.ph-ring { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; container-type: inline-size; }
.ph-ring svg { width: 100%; height: 100%; overflow: visible; }
.ph-ring .ra-main { filter: drop-shadow(0 0 4px rgba(61, 107, 255, 0.55)); }
.ph-ring .ra-halo { animation: tip-breathe 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tip-breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
.ph-ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ph-ring-c b { font-family: var(--font-display); font-size: 23cqw; font-weight: 500; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ph-ring-c small { margin-top: 4.5cqw; font-size: 9.6cqw; font-weight: 600; color: var(--ok); white-space: nowrap; }
.ph-val { font-family: var(--font-display); font-weight: 600; font-size: 2.35em; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 0.3em; }
.ph-val small { font-family: var(--font-body); font-size: 0.36em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 0.2em; }
.ph-val.ok { color: var(--ok); }
.ph-sub { font-size: 0.75em; color: var(--muted); }
.ph-viz { margin-top: auto; display: flex; flex-direction: column; gap: 0.45em; }
.ph-spark { width: 100%; height: 2.4em; overflow: visible; }
.ph-spec { position: relative; height: 0.4em; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 79, 112, 0.75) 0 50%, rgba(255, 198, 41, 0.75) 50% 65%, rgba(46, 230, 160, 0.8) 65%); }
.ph-spec i { position: absolute; top: 50%; width: 0.85em; height: 0.85em; margin: -0.425em 0 0 -0.425em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.18em var(--ok), 0 0 8px rgba(46, 230, 160, 0.9); }
/* Makro-Balken */
.ph-mac { display: flex; flex-direction: column; gap: 0.35em; }
.ph-mac-top { display: flex; justify-content: space-between; gap: 0.5em; font-size: 0.82em; color: var(--muted); }
.ph-mac-top b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.ph-mac-top span:first-child { display: inline-flex; align-items: center; gap: 0.45em; }
.ph-mac-top span:first-child::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }
.ph-bar { height: 0.4em; border-radius: 99px; background: var(--track); overflow: hidden; }
.ph-bar > i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--c); box-shadow: 0 0 8px -1px var(--c); transform-origin: left center; }
.ph-macs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75em 1em; }
/* Nährstoffe-Karte (angepinnt) */
.ph-nut { display: grid; grid-template-columns: 1.3em minmax(0, 1fr) auto; gap: 0.55em; align-items: center; font-size: 0.85em; }
.ph-nut .ic { width: 1.25em; height: 1.25em; color: var(--accent-2); }
.ph-nut .nm { display: flex; flex-direction: column; gap: 0.3em; min-width: 0; }
.ph-nut .nm span { display: flex; justify-content: space-between; gap: 0.4em; white-space: nowrap; }
.ph-nut .nm span small { color: var(--muted); font-variant-numeric: tabular-nums; }
.ph-nut .pct { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.95em; min-width: 2.6em; text-align: right; }
/* Coach-Chat (wie .ag-* in css/app.css) */
.ph-chat { gap: 0.8em; padding-top: 0.2em; }
.ph-day { align-self: center; font-size: 0.72em; color: var(--faint); font-weight: 600; }
.ph-msg { display: flex; flex-direction: column; gap: 0.4em; max-width: 86%; }
.ph-msg.user { align-self: flex-end; align-items: flex-end; }
.ph-msg.ai { align-self: flex-start; align-items: flex-start; max-width: 94%; }
.ph-bub { padding: 0.65em 0.85em; border-radius: 1.15em; font-size: 0.95em; line-height: 1.42; }
.ph-msg.user .ph-bub { background: var(--accent); color: #fff; border-bottom-right-radius: 0.4em; }
.ph-msg.ai .ph-bub { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); border-bottom-left-radius: 0.4em; }
.ph-photo { width: 9.5em; height: 9.5em; border-radius: 1.1em; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ph-photo svg { width: 100%; height: 100%; }
.ph-h { font-size: 1.2em; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.4em; }
.ph-top2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.ph-big { padding: 0.6em 0.7em; border-radius: 0.9em; background: rgba(255, 255, 255, 0.05); }
.ph-big b { display: block; font-size: 1.85em; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ph-big b small { font-size: 0.45em; font-weight: 600; opacity: 0.55; margin-left: 0.15em; letter-spacing: 0; }
.ph-big > span { display: block; margin-top: 0.3em; font-size: 0.72em; font-weight: 600; opacity: 0.7; }
.ph-big.hs { color: var(--ok); box-shadow: inset 0 0 0 1px currentColor; }
.ph-big.hs > span { color: var(--fg); }
.ph-m3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; margin-top: 0.5em; }
.ph-m3 div { padding: 0.4em 0.2em 0.35em; border-radius: 0.75em; background: rgba(255, 255, 255, 0.05); text-align: center; }
.ph-m3 b { display: block; font-size: 1.05em; font-weight: 700; font-variant-numeric: tabular-nums; }
.ph-m3 b small { font-size: 0.7em; opacity: 0.75; }
.ph-m3 span { font-size: 0.68em; opacity: 0.6; }
.ph-m3 .p b { color: var(--protein); } .ph-m3 .c b { color: var(--carbs); } .ph-m3 .f b { color: var(--fat); }
.ph-txt { margin-top: 0.55em; font-size: 0.92em; color: var(--fg-2); }
.ph-chip { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.35em 0.7em; border-radius: 99px; font-size: 0.78em; font-weight: 600; color: #4BE3A4; background: rgba(43, 213, 143, 0.12); box-shadow: inset 0 0 0 1px rgba(43, 213, 143, 0.3); }
.ph-chip .ic { width: 1.1em; height: 1.1em; }
.ph-typing { display: inline-flex; gap: 0.3em; padding: 0.75em 0.9em; border-radius: 1.15em; border-bottom-left-radius: 0.4em; background: rgba(255, 255, 255, 0.06); }
.ph-typing i { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.ph-typing i:nth-child(2) { animation-delay: 0.15s; } .ph-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-0.2em); } }
.ph-input { flex: none; display: flex; align-items: center; gap: 0.5em; margin: 0 0.8em 0.6em; padding: 0.35em 0.4em 0.35em 0.45em; border-radius: 99px; background: rgba(32, 32, 35, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); }
.ph-input .cam { width: 2.3em; height: 2.3em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.07); color: var(--fg-2); }
.ph-input span { flex: 1; font-size: 0.9em; color: var(--faint); }
.ph-input .snd { width: 2.3em; height: 2.3em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; box-shadow: 0 0 12px -2px var(--accent-glow); }
.ph-input .ic { width: 1.25em; height: 1.25em; }
.ph-sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 0.2em 0.1em 0.2em; }
.ph-sheet-h h5 { margin: 0; font-size: 1.3em; font-weight: 700; letter-spacing: -0.015em; }
.ph-sheet-h small { color: var(--muted); font-size: 0.8em; }
.ph-x { width: 2.2em; height: 2.2em; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.ph-x .ic { width: 1.1em; height: 1.1em; }
/* Gesundheitswert-Gleichung (wie .det-eq-*) */
.eq { position: relative; display: flex; flex-direction: column; }
.eq::before { content: ""; position: absolute; left: calc(1.1em - 1px); top: 1.4em; bottom: 1.5em; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--line-strong), var(--line) 85%, var(--line-strong)); }
.eq-row { display: flex; align-items: center; gap: 0.65em; padding: 0.4em 0.2em 0.4em 0; min-width: 0; }
.eq-ic { position: relative; z-index: 1; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.eq-ic .ic { width: 1.15em; height: 1.15em; }
.eq-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2em; }
.eq-label { font-size: 0.95em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-sub { display: flex; align-items: center; gap: 0.5em; min-width: 0; }
.eq-sub small { font-size: 0.75em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.eq-bar { position: relative; flex: none; width: 3.2em; height: 0.3em; border-radius: 99px; background: var(--track); overflow: hidden; }
.eq-bar > i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--c); transform-origin: left center; }
.eq-v { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.25em; min-width: 3.3em; height: 1.85em; padding: 0 0.55em; border-radius: 99px; font-size: 0.86em; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--muted); }
.eq-v.pos { color: var(--ok); background: rgba(46, 230, 160, 0.12); }
.eq-v.neg { color: var(--over); background: rgba(255, 79, 112, 0.13); }
.eq-num { flex: none; font-family: var(--font-display); font-size: 1.5em; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.eq-res { display: flex; align-items: center; gap: 0.65em; margin-top: 0.4em; padding-top: 0.65em; border-top: 1px solid var(--line); }
.eq-res .eq-ic { --c: var(--fg); font-weight: 800; font-size: 1em; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); }
.eq-res .eq-label { flex: 1; font-size: 1em; }
.eq-score { min-width: 4em; height: 2.3em; padding: 0 0.7em; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.8em; border: 2px solid currentColor; font-size: 1.3em; font-weight: 700; color: var(--ok); background: rgba(52, 211, 153, 0.12); font-variant-numeric: tabular-nums; box-shadow: 0 0 18px -6px rgba(46, 230, 160, 0.8); }
.eq-explain { font-size: 0.82em; color: var(--muted); line-height: 1.45; padding: 0.2em 0.1em; }
/* Verlauf: Kachel-Heatmap (wie .heat-grid in css/history.css) */
.ph-seg { display: flex; gap: 0.5em; }
.ph-seg span { display: inline-flex; align-items: center; gap: 0.4em; height: 2.3em; padding: 0 0.95em; border-radius: 99px; font-size: 0.82em; font-weight: 600; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.ph-seg span.on { color: var(--fg); background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 14px -4px var(--accent-glow); }
.ph-seg .ic { width: 1.1em; height: 1.1em; }
.heat { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 0.25em; }
.heat i { aspect-ratio: 1 / 1; border-radius: 0.25em; background: #1E1E21; position: relative; }
.heat i.pre { background: rgba(30, 30, 33, 0.45); }
.heat i.today { outline: 1.5px solid var(--accent-2); outline-offset: 1.5px; background: rgba(43, 213, 143, 0.55); }
.heat i.cheat::after { content: ""; position: absolute; top: 1px; right: 1px; width: 0.35em; height: 0.35em; border-radius: 50%; background: var(--warn); box-shadow: 0 0 4px rgba(251, 191, 36, 0.8); }
.heat-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.78em; color: var(--muted); }
.heat-head b { color: var(--fg); font-weight: 600; }
.sw { display: inline-flex; align-items: center; gap: 0.3em; }
.sw i { width: 0.65em; height: 0.65em; border-radius: 0.2em; display: inline-block; margin-left: 0.3em; }
.heat-leg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; }
.heat-leg div { display: flex; flex-direction: column; gap: 0.3em; }
.heat-leg span { font-size: 0.68em; font-weight: 600; color: var(--muted); }
.heat-leg p { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.2em; margin: 0; }
.heat-leg p i { height: 0.6em; border-radius: 0.2em; }
.heat-hint { font-size: 0.7em; color: var(--faint); line-height: 1.4; }
.ph-week { display: flex; align-items: center; justify-content: space-between; font-size: 0.85em; color: var(--muted); padding: 0 0.2em; }
.ph-week b { font-family: var(--font-display); color: var(--fg); font-weight: 600; }
.ph-dayrow { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; gap: 0.75em; align-items: center; padding: 0.7em 0.85em; border-radius: 1.2em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 42%), rgba(32, 32, 35, 0.66); border: 1px solid rgba(255, 255, 255, 0.1); }
.ph-date { display: flex; flex-direction: column; align-items: center; padding: 0.25em 0; border-radius: 0.6em; background: var(--accent-soft); }
.ph-date small { font-size: 0.62em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); }
.ph-date b { font-family: var(--font-display); font-size: 1.15em; font-weight: 650; line-height: 1.1; }
.ph-dmain { min-width: 0; display: flex; flex-direction: column; gap: 0.3em; }
.ph-dmain > span { font-size: 0.75em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-dmain > b { font-size: 1.05em; font-weight: 600; font-variant-numeric: tabular-nums; }
.ph-dmain > b small { font-size: 0.7em; color: var(--muted); font-weight: 500; }
.ph-sc { min-width: 2.7em; height: 1.65em; padding: 0 0.45em; border-radius: 0.55em; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8em; font-weight: 700; color: var(--bg); }
.ph-sc.ok { background: var(--ok); } .ph-sc.warn { background: var(--warn); }

/* Kleiner Karten-Mockup (ohne Handy), z. B. Nährstoffe / Gewicht */
.float-card { width: min(360px, 100%); font-size: calc(min(360px, 100vw - 40px) / 26); }

/* ---------- Einblenden & Animation (nur mit JS, nur ohne reduzierte Bewegung) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(.2, .7, .2, 1), transform 0.8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .anim .ph-bar > i, .js .anim .eq-bar > i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(0.25s + var(--i, 0) * 0.08s); }
  .js .anim.is-in .ph-bar > i, .js .anim.is-in .eq-bar > i { transform: none; }
  .js .anim .ph-spec i { left: 0 !important; transition: left 1.3s cubic-bezier(.2, .7, .2, 1) 0.3s; }
  .js .anim.is-in .ph-spec i { left: var(--x) !important; }
  .js .anim .heat i { opacity: 0; transform: scale(0.4); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(0.2s + var(--i, 0) * 0.008s); }
  .js .anim.is-in .heat i { opacity: 1; transform: none; }
  .js .anim .eq-row, .js .anim .eq-res, .js .anim .ph-msg, .js .anim .ph-chip-row { opacity: 0; transform: translateY(0.6em); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(0.2s + var(--i, 0) * 0.12s); }
  .js .anim.is-in .eq-row, .js .anim.is-in .eq-res, .js .anim.is-in .ph-msg, .js .anim.is-in .ph-chip-row { opacity: 1; transform: none; }
  .js .anim .ph-spark path.ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .7, .2, 1) 0.4s; }
  .js .anim.is-in .ph-spark path.ln { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.ph-pill.ai .ic { color: var(--accent-2); }

/* Hero: schwebende Karte „vom Coach eingetragen“ */
.hero-float { position: absolute; z-index: 3; left: 2%; bottom: 9%; display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 20px; max-width: 290px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 50%), rgba(28, 28, 30, 0.82); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  animation: float 6s ease-in-out infinite; }
.hf-photo { width: 56px; height: 56px; flex: none; border-radius: 14px; overflow: hidden; }
.hf-photo svg { width: 100%; height: 100%; }
.hf-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hf-txt b { font-size: 15px; letter-spacing: -0.01em; }
.hf-txt span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.hf-txt em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: #4BE3A4; margin-top: 2px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-visual .phone.front { transform: none; }
@media (min-width: 901px) { .hero-visual .phone.front { transform: translateX(8%); } }
@media (max-width: 900px) { .hero-float { left: 50%; bottom: -18px; transform: translateX(-50%); animation: none; } }
@media (max-width: 420px) { .hero-float { max-width: calc(100% - 24px); } }

/* Budget-Karte (Kalorienring groß) */
.bd-card { gap: 1em; padding: 1.4em; border-radius: 1.8em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.bd-grid { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 1.4em; align-items: center; }
.bd-ring { width: 11em; height: 11em; flex: none; }
.bd-ring .ph-ring-c b { font-size: 24cqw; }
.bd-rows { display: flex; flex-direction: column; gap: 0.55em; font-size: 0.95em; }
.bd-row { display: flex; justify-content: space-between; gap: 0.6em; color: var(--muted); }
.bd-row b { color: var(--fg); font-weight: 600; }
.bd-row.act b { color: var(--accent-2); }
.bd-row.sum { color: var(--fg); padding-bottom: 0.55em; border-bottom: 1px solid var(--line); font-weight: 600; }
.bd-row.ok b { color: var(--ok); }
.bd-note { font-size: 0.8em; color: var(--muted); line-height: 1.45; }
.float-card { font-size: min(15px, calc((100vw - 40px) / 24)); width: min(400px, 100%); position: relative; }

/* „So funktioniert's“-Bildchen */
.sv-photo { width: 104px; height: 104px; border-radius: 22px; overflow: hidden; position: relative; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 30px -16px #000; transform: rotate(-4deg); }
.sv-photo svg { width: 100%; height: 100%; }
.sv-shutter { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7); }
.sv-chat { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 14px; }
.sv-bub { padding: 9px 13px; border-radius: 16px; border-bottom-left-radius: 6px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font-weight: 600; }
.sv-chip { font-size: 12.5px; }
.sv-chip .ic { width: 15px; height: 15px; }
.sv-ring { width: 112px; height: 112px; }
.sv-ring svg { width: 100%; height: 100%; overflow: visible; }
.sv-ring .ra-main { filter: drop-shadow(0 0 4px rgba(61, 107, 255, 0.55)); }
.mini-logo { display: flex; justify-content: center; margin-top: 26px; }
.mini-logo svg { filter: drop-shadow(0 0 14px rgba(61, 107, 255, 0.5)); }

/* Feinschliff nach Sichtprüfung */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.site-foot { margin-top: 0; }
.ph-chat { justify-content: flex-end; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%); mask-image: linear-gradient(180deg, transparent, #000 14%); padding-bottom: 0.6em; }
.ph-big b { white-space: nowrap; font-size: 1.7em; }
.float-card { width: min(440px, 100%); font-size: min(15px, calc((100vw - 40px) / 25)); }
.bd-grid { grid-template-columns: 10.5em minmax(0, 1fr); }
.bd-ring { width: 10.5em; height: 10.5em; }
.bd-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 800px) { .fact b { font-size: 20px; } .fact { padding: 16px; } }
@media (max-width: 900px) { .hero-float { bottom: -34px; } .hero-visual { margin-bottom: 34px; } }
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 18px; }
  .tabs button { flex-direction: column; justify-content: center; gap: 3px; padding: 9px 4px; border-radius: 14px; font-size: 14px; text-align: center; line-height: 1.2; }
  .tabs button .det { font-size: 10.5px; }
}

/* Schrift: Manrope für die Website, Systemschrift (wie die App) in allen Mockups */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.045em; }
.fcard h3, .priv-item h3, .istep h3, .help h3, .faq summary, .legal h2 { font-weight: 700; letter-spacing: -0.02em; }
.phone, .float-card, .hero-float, .step-vis, .istep-vis {
  --font-display: var(--font-app); --font-body: var(--font-app); font-family: var(--font-app);
}
.phone h4, .phone h5, .float-card h4 { font-weight: 700; letter-spacing: -0.02em; }
.brand svg { flex: none; }

/* ---------- Kontaktformular ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cform { padding: clamp(20px, 4vw, 32px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; color: var(--fg-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); padding: 13px 15px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(61, 107, 255, 0.25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--over); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cform-foot .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { font-size: 14.5px; color: var(--muted); min-height: 1.4em; }
.form-status.err { color: #FF9FB2; }
.form-msg { display: none; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; margin-bottom: 14px; font-size: 15px; }
.form-msg:target, .form-msg.show { display: flex; }
.form-msg:focus { outline: none; }
.form-msg.ok { color: #BFF5DD; background: rgba(46, 230, 160, 0.1); border: 1px solid rgba(46, 230, 160, 0.35); }
.form-msg.ok .ic { color: var(--ok); }
.form-msg.err { color: #FFD3DC; background: rgba(255, 79, 112, 0.1); border: 1px solid rgba(255, 79, 112, 0.35); }
.form-msg.err .ic { color: var(--over); }
.contact-side { display: grid; gap: 14px; }
.contact-side .glass { padding: 20px; display: grid; gap: 6px; }
.contact-side h2 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; }
.contact-side p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
