/* Coach website – tokens follow the app (BrandRefresh-v2, CoachCard, CoachMotion). See DESIGN_PRODUCT_BRIEF.md. */
:root {
  --canvas: #FFFFFF; /* = the app's chat (Surface.conversation, light); founder 04.11.: page and display the same */
  --surface: #FFFFFF;
  --ink: #0D0D0D;
  --ink-2: rgba(13, 13, 13, 0.62);
  --ink-3: rgba(13, 13, 13, 0.42);
  --hairline: rgba(13, 13, 13, 0.08);
  --nutrition: #FF5A1F;
  --health: #F5324C;
  --training: #2F80ED;
  --spectrum: linear-gradient(90deg in srgb, var(--nutrition) 0%, var(--health) 50%, var(--training) 100%);
  --spectrum-fallback: linear-gradient(90deg, #FF5A1F 0%, #F5324C 50%, #2F80ED 100%);
  --training-light: linear-gradient(135deg, #1F7AFF, #4D52F5 55%, #A663FF);
  --nutrition-light: linear-gradient(135deg, #FF8A1F, #FF5A1F 55%, #F5324C);
  --health-light: linear-gradient(135deg, #FF3346, #ED3366 55%, #F0448D);
  --radius-card: 24px;
  --radius-page: 28px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--hairline);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  /* CoachMotion roles, no overshoot */
  --ease: cubic-bezier(0.2, 0.0, 0.0, 1);
  --t-press: 140ms;
  --t-content: 250ms;
  --t-layout: 350ms;
  --t-reveal: 700ms;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #000000;
    --surface: #161618;
    --ink: #F5F5F7;
    --ink-2: rgba(245, 245, 247, 0.66);
    --ink-3: rgba(245, 245, 247, 0.44);
    --hairline: rgba(255, 255, 255, 0.10);
    --shadow-card: 0 0 0 1px var(--hairline);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--canvas); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--training); outline-offset: 3px; border-radius: 8px; }

/* Wordmark per scheme */
.wordmark--dark { display: none; }
@media (prefers-color-scheme: dark) { .wordmark--light { display: none; } .wordmark--dark { display: block; } }

/* Buttons: capsules like the app */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--canvas);
  font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -0.01em;
  transition: transform var(--t-press) var(--ease), opacity var(--t-press) var(--ease);
}
.button:hover { opacity: 0.88; }
.button:active { transform: scale(0.97); }
.button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline); }
.button--small { min-height: 40px; padding: 0 18px; font-size: 15px; }

.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); margin-bottom: 14px; }
.spectrum-text { background: var(--spectrum-fallback); background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Navigation: glass only for navigation */
.nav { position: sticky; top: 0; z-index: 50; padding: max(6px, env(safe-area-inset-top)) var(--gutter) 6px; transition: background var(--t-content) var(--ease); }
.nav[data-scrolled] { background: linear-gradient(to bottom, var(--canvas) 0%, color-mix(in srgb, var(--canvas) 92%, transparent) 30%, color-mix(in srgb, var(--canvas) 72%, transparent) 100%); /* solid at the top edge = Safari status-bar tint, glass below (founder 04.11.) */ -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--hairline); }
.nav__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.nav__brand img { height: 22px; width: auto; }
.nav__links { display: none; margin-left: auto; gap: 28px; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink-2); transition: color var(--t-content) var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav .button--small { margin-left: auto; }
@media (min-width: 820px) { .nav__links { display: flex; } .nav .button--small { margin-left: 8px; } }

/* Device: real iPhone 18 Pro display geometry (402 × 874 pt, corner ≈ 13.7 % of width). */
/* Apple's iPhone 18 Pro product bezel in Burgundy (Apple Design Resources, licence accepted by the founder 04.11.2026) over the real
   1206 × 2622 screen recording; the screen sits at 72/69 px inside the 1350 × 2760 bezel. */
.device { --bezel: url("device/iphone-18-pro-burgundy.png"); --bezel-avif: url("device/iphone-18-pro-burgundy.avif"); margin: 0; position: relative; width: min(100%, 340px); aspect-ratio: 1350 / 2760; }
.device__screen { position: absolute; inset: 2.5% 5.3333%; border-radius: 15% / 6.9%; overflow: hidden; background: var(--canvas); isolation: isolate; } /* never a black screen while a picture loads */
.device::after { content: ""; position: absolute; inset: 0; background: var(--bezel) center / 100% 100% no-repeat; background-image: image-set(var(--bezel-avif) type("image/avif"), var(--bezel) type("image/png")); pointer-events: none; z-index: 3; filter: drop-shadow(0 28px 44px rgba(13, 13, 13, 0.12)); }
.device__media { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(20px, 6vw, 96px) var(--gutter) clamp(48px, 8vw, 120px);
  display: grid; gap: clamp(36px, 6vw, 72px); align-items: center;
}
.hero__title { font-size: clamp(40px, 10.5vw, 92px); line-height: 1.0; letter-spacing: -0.04em; font-weight: 750; text-wrap: balance; }
@media (max-width: 899px) { .hero__title br, .story__intro h2 br, .live h2 br, .week h2 br { display: none; } }
.hero__lead { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero__device { margin: 0; display: grid; justify-items: center; gap: 14px; }
.device--hero { width: min(78vw, 360px); }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 0.85fr; } .hero__device { justify-items: end; } }

/* Promise */
.promise { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 10vw, 140px) var(--gutter); text-align: center; }
.promise__line { font-size: clamp(30px, 5.2vw, 64px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; }

/* Story + features */
.story { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 8vw, 120px) var(--gutter); }
.story__intro { max-width: 720px; margin-bottom: clamp(40px, 7vw, 96px); }
.story__intro p:not(.eyebrow) { margin-top: 18px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); }
.feature { display: grid; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); margin-bottom: clamp(24px, 4vw, 48px); background: var(--surface); border-radius: var(--radius-page); box-shadow: var(--shadow-card); overflow: hidden; }
.feature__media { margin: 0; justify-self: center; }
.feature .device, .week .device { width: min(72vw, 320px); }
.feature__text p:not(.tag) { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 40ch; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; padding: 64px 72px; }
  .feature:nth-of-type(even) .feature__text { order: 2; }
}
.tag { display: inline-block; font-size: 14px; font-weight: 650; letter-spacing: 0.01em; padding: 6px 12px; border-radius: 999px; background: rgba(13, 13, 13, 0.05); color: var(--ink-2); margin-bottom: 18px; }
.tag--training { color: #fff; background: var(--training-light); }
.tag--nutrition { color: #fff; background: var(--nutrition-light); }
.tag--health { color: #fff; background: var(--health-light); }

/* Coach Live: always OLED black like the app */
.live { background: #000; color: #F5F5F7; padding: clamp(72px, 12vw, 160px) var(--gutter); overflow: hidden; position: relative; }
.live::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(60% 60% at 50% 100%, rgba(47, 128, 237, 0.28), rgba(245, 50, 76, 0.12) 45%, transparent 70%); pointer-events: none; }
.live__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; gap: 56px; align-items: center; }
.live__text p:not(.eyebrow) { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); color: rgba(245, 245, 247, 0.7); max-width: 38ch; }
.live h2 { font-size: clamp(40px, 6.5vw, 76px); }
.eyebrow--on-dark { color: rgba(245, 245, 247, 0.5); }
.device--live { justify-self: center; width: min(76vw, 340px); }
.device--live { --bezel: url("device/iphone-18-pro-black.png"); --bezel-avif: url("device/iphone-18-pro-black.avif"); }
.device--live .device__screen { background: #000; }
.device--live::after { filter: drop-shadow(0 40px 80px rgba(47, 128, 237, 0.35)); }
@media (min-width: 900px) { .live__inner { grid-template-columns: 1.1fr 0.9fr; } }

/* Trust */
.trust { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 10vw, 140px) var(--gutter); }
.trust__intro { margin-bottom: 40px; }
.trust__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.trust__card { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 28px; }
.trust__card h3 { font-size: 20px; letter-spacing: -0.01em; }
.trust__card p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.trust__more { margin-top: 28px; }
.trust__more a { color: var(--ink-2); text-underline-offset: 4px; }
@media (min-width: 720px) { .trust__grid { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); } }

/* CTA */
.cta { text-align: center; padding: clamp(72px, 12vw, 160px) var(--gutter); max-width: 860px; margin: 0 auto; }
.cta__mark { margin: 0 auto 28px; width: 88px; height: 88px; }
.cta__title { font-size: clamp(48px, 9vw, 104px); letter-spacing: -0.05em; line-height: 0.95; }
.cta__lead { margin: 22px auto 0; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 36ch; }
.cta__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* Footer */
.footer { border-top: 1px solid var(--hairline); padding: 40px var(--gutter) max(40px, env(safe-area-inset-bottom)); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.footer__inner img { height: 18px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__note { color: var(--ink-3); }

/* Reveal: transform + opacity only (compositor-friendly) */
/* Founder 04.11. ("ploppt auf"): the UI curve (0.2,0,0,1) put almost all of the fade into the first ~120 ms. Content now
   glides in on a gentle ease-out, opacity a little slower than the movement, starting while it enters from below. */
.js .reveal:not([data-visible]) { opacity: 0; transform: translateY(32px); }
.reveal { transition: opacity 1000ms cubic-bezier(0.33, 0, 0.2, 1), transform 1100ms cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 180ms linear; }
  .button { transition: none; }
}

/* Text links (secondary actions are never buttons) */
.textlink { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--hairline); transition: text-decoration-color var(--t-content) var(--ease); }
.textlink:hover { text-decoration-color: currentColor; }
.hero__actions { align-items: center; gap: 24px; }

/* Device media: poster image underneath, video fades in once it really plays */
.device__screen > picture, .device__screen > img { display: contents; }
.device__screen .device__media { position: absolute; inset: 0; }
.device__video { opacity: 0; transition: opacity var(--t-content) var(--ease); }
.device__video[data-playing] { opacity: 1; }
.device__pause { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.45); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity var(--t-content) var(--ease); }
.device__pause { visibility: hidden; }
.device__video[data-playing] ~ .device__pause, .device__pause[aria-pressed="true"] { visibility: visible; }
.device:hover .device__pause, .device__pause:focus-visible, .device__pause[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .device__pause { opacity: 0.85; width: 36px; height: 36px; right: 10px; bottom: 10px; } }
.device__pause svg { width: 16px; height: 16px; fill: currentColor; }

/* Also-list */
.also { list-style: none; margin: clamp(8px, 2vw, 16px) 0 0; padding: 0; display: grid; gap: 12px; }
.also li { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 20px 24px; color: var(--ink-2); font-size: 16px; }
.also strong { color: var(--ink); font-weight: 650; }
@media (min-width: 720px) { .also { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .also { grid-template-columns: repeat(4, 1fr); } }

/* Week: the peak */
.week { padding: clamp(56px, 10vw, 140px) var(--gutter); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--training) 6%, transparent) 40%, color-mix(in srgb, var(--health) 5%, transparent) 70%, transparent); }
.week__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; align-items: center; }
.week__text p:not(.eyebrow) { margin: 20px 0 32px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 38ch; }
@media (min-width: 900px) { .week__inner { grid-template-columns: 1.1fr 0.9fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(48px, 8vw, 120px) var(--gutter); }
.faq h2 { margin-bottom: 28px; }
.faq__list { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform var(--t-content) var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
.faq details a { color: var(--ink); }

.footer__note { flex-basis: 100%; margin-left: 0; font-size: 13px; line-height: 1.5; }

