/* ===================================================================
   PaceFuel – Landing Page
   Dark / Emerald, abgestimmt auf das App-Branding
   =================================================================== */

:root {
  --bg:        #0c1220;
  --surface:   #131c2e;
  --surface-2: #1c2840;
  --surface-3: #263450;
  --brand:     #10b981;
  --brand-light:#34d399;
  --brand-dark:#059669;
  --text:      #f1f5f9;
  --text-muted:#94a3b8;
  --text-dim:  #64748b;
  --border:    rgba(148, 163, 184, .14);
  --border-strong: rgba(148, 163, 184, .24);
  --radius:    18px;
  --radius-lg: 26px;
  --maxw:      1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.text-brand { color: var(--brand-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-weight: 600; font-size: .95rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #04150e;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, .6);
}
.btn--primary:hover { background: var(--brand-light); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-light); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(12, 18, 32, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(12, 18, 32, .9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.nav__logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
}
.logo-text { color: var(--text); }

.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a { color: var(--text-muted); font-size: .93rem; font-weight: 500; transition: color .2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__login { color: var(--text) !important; }
.nav__cta {
  color: #04150e !important; background: var(--brand);
  padding: .55rem 1.05rem; border-radius: 999px; font-weight: 600 !important;
  transition: background .2s ease, transform .15s ease;
}
.nav__cta:hover { background: var(--brand-light); transform: translateY(-1px); }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: 11px; cursor: pointer; }
.nav__burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero__glow {
  position: absolute; top: -22%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; max-width: 140%;
  background: radial-gradient(closest-side, rgba(16,185,129,.20), rgba(16,185,129,.05) 55%, transparent 72%);
  pointer-events: none; z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__kicker {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-light);
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  padding: .35rem .8rem; border-radius: 999px;
  margin-bottom: 1.3rem;
}
.hero__title { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--text-muted); max-width: 34rem; }
.hero__actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; }
.hero__trust li { position: relative; color: var(--text-muted); font-size: .9rem; font-weight: 500; padding-left: 1.4rem; }
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Hero App-Mockup ---------- */
.hero__mockup { perspective: 1600px; }
.mock {
  background: linear-gradient(160deg, var(--surface) 0%, #0f1728 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg);
  transition: transform .5s ease;
}
.hero__mockup:hover .mock { transform: rotateY(0) rotateX(0); }
.mock__topbar { display: flex; align-items: center; gap: .55rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.mock__logo { width: 24px; height: 24px; border-radius: 7px; background: var(--brand); color:#fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.mock__brand { font-weight: 800; font-size: .95rem; }
.mock__badge { margin-left: auto; font-size: .62rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--brand-light); background: rgba(16,185,129,.14); padding: .25rem .5rem; border-radius: 6px; }
.mock__body { padding: 1.2rem; }
.mock__greeting { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.mock__greeting strong { font-size: 1.15rem; }
.mock__greeting span { color: var(--text-dim); font-size: .82rem; }
.mock__grid { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.mock__ring-card { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--surface-3); stroke-width: 9; }
.ring__value {
  /* Umfang bei r=52 ≈ 327; dashoffset 62 => ~81 % gefüllt (passend zu "447 kcal übrig") */
  fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 62;
}
.mock__ring-label { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.mock__ring-label b { font-size: 1.5rem; line-height: 1; }
.mock__ring-label span { font-size: .68rem; color: var(--text-dim); }
.mock__macros-title { font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.macro { display: grid; grid-template-columns: 1fr; gap: .28rem; margin-bottom: .6rem; }
.macro span { font-size: .74rem; color: var(--text-dim); }
.macro i {
  display: block; height: 7px; border-radius: 999px;
  background: var(--surface-3); position: relative;
}
.macro i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--brand-dark), var(--brand-light)); border-radius: 999px; }
.mock__plan { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.mock__plan-title { font-size: .78rem; color: var(--text-muted); }
.mock__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.mock__chips span { font-size: .72rem; color: var(--brand-light); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.2); padding: .22rem .6rem; border-radius: 7px; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(19,28,46,.5) 12%, rgba(19,28,46,.5) 88%, transparent); }
.section__head { max-width: 42rem; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.eyebrow { color: var(--brand-light); font-weight: 600; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .7rem; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.section__lead { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  color: var(--brand-light); background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.2);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.feature p { color: var(--text-muted); font-size: .96rem; }
.feature strong { color: var(--text); font-weight: 600; }

.features__hint { text-align: center; color: var(--text-dim); font-size: .92rem; margin: -1.2rem 0 1.8rem; }
.feature { cursor: pointer; }
.feature:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.feature__more { display: inline-block; margin-top: 1rem; color: var(--brand-light); font-size: .9rem; font-weight: 600; }
.feature:hover .feature__more { text-decoration: underline; }

/* ---------- Feature-Detail-Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 10, 18, .72);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem; animation: modalFade .2s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: 100%; max-width: 720px;
  max-height: 90vh; overflow-y: auto;
  background: linear-gradient(160deg, var(--surface), #0f1728);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.modal__close {
  position: absolute; top: .9rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.modal__close:hover { color: var(--text); border-color: var(--border-strong); }
.modal__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding-right: 2.5rem; }
.modal__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--brand-light); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.2); flex-shrink: 0; }
.modal__icon svg { width: 24px; height: 24px; }
.modal__head h3 { font-size: clamp(1.2rem, 3vw, 1.4rem); letter-spacing: -.01em; }

.fdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.fdetail__text p { color: var(--text-muted); margin-bottom: 1rem; }
.fdetail__list { list-style: none; display: grid; gap: .6rem; }
.fdetail__list li { position: relative; padding-left: 1.7rem; color: var(--text); font-size: .95rem; }
.fdetail__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Feature-Vorschau-Mockups */
.fmock { background: var(--surface-900); border: 1px solid var(--border-strong); border-radius: 14px; padding: .9rem; display: grid; gap: .5rem; }
.fmock__bar { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--text-muted); padding: .5rem .6rem; background: var(--surface-2); border-radius: 9px; }
.fmock__bar b { color: var(--text); }
.fmock__row { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-muted); padding: .1rem .6rem; }
.fmock__row b { color: var(--text); }
.fmock__add { text-align: center; font-size: .8rem; color: var(--brand-light); border: 1px dashed rgba(16,185,129,.3); border-radius: 9px; padding: .5rem; }
.fmock__ex { display: flex; justify-content: space-between; font-size: .82rem; padding: .4rem .6rem; background: var(--surface-2); border-radius: 8px; }
.fmock__ex span { color: var(--text); }
.fmock__ex em { color: var(--text-muted); font-style: normal; }
.fmock__tabs { display: flex; gap: .3rem; }
.fmock__tabs span { font-size: .74rem; color: var(--text-dim); padding: .25rem .5rem; border-radius: 7px; background: var(--surface-2); }
.fmock__tabs span.on { background: var(--brand-500); color: #04150e; font-weight: 600; }
.fmock__goal { font-size: .74rem; color: var(--text-dim); text-align: center; padding-top: .4rem; margin-top: .2rem; border-top: 1px solid var(--border); }
.fmock__wo { display: flex; flex-direction: column; padding: .5rem .6rem; background: var(--surface-2); border-radius: 9px; }
.fmock__wo b { font-size: .85rem; }
.fmock__wo span { font-size: .75rem; color: var(--text-muted); }
.fmock__src { text-align: center; font-size: .72rem; color: var(--brand-light); }
.fmock__member { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; background: var(--surface-2); border-radius: 9px; }
.fmock__ava { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); color: var(--text); display: grid; place-items: center; font-size: .8rem; font-weight: 600; flex-shrink: 0; }
.fmock__member b { font-size: .85rem; display: block; }
.fmock__member em { font-size: .72rem; color: var(--text-muted); font-style: normal; }
/* Chat-Blasen im Nachrichten-Mockup: eingehend links, eigene Antwort rechts */
.fmock__msg { max-width: 88%; padding: .5rem .65rem; border-radius: 12px; background: var(--surface-2); }
.fmock__msg b { display: block; font-size: .7rem; color: var(--brand-light); margin-bottom: .15rem; }
.fmock__msg span { font-size: .78rem; color: var(--text-muted); line-height: 1.45; }
.fmock__msg--out { margin-left: auto; background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.24); }
.fmock__msg--out span { color: var(--text); }

.fmock--center { place-items: center; text-align: center; gap: .8rem; padding: 1.6rem; }
.fmock__shield { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--brand-light); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.22); }
.fmock__shield svg { width: 30px; height: 30px; }
.fmock__tenants { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.fmock__tenants span { font-size: .75rem; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); padding: .3rem .6rem; border-radius: 8px; }
.fmock__note { font-size: .72rem; color: var(--brand-light); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 560px) {
  .fdetail { grid-template-columns: 1fr; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; list-style: none; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 1.6rem; }
.step__num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  font-weight: 800; font-size: 1.1rem; color: #04150e;
  background: var(--brand); margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.step p { color: var(--text-muted); font-size: .96rem; }

/* ---------- Cards (Für wen) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: linear-gradient(160deg, var(--surface), #0f1728);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.card h3::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--brand); margin-bottom: 1rem; }
.card p { color: var(--text-muted); font-size: .97rem; }

/* ---------- Preise ---------- */
/* Zwei Preisbausteine (Trainer- und Mitglieder-Lizenz) – mittig gesetzt, damit
   sie nicht links kleben, seit die Einrichtungsgebühr entfallen ist. */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; max-width: 46rem; margin-inline: auto; }
.pcard {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pcard--accent {
  border-color: rgba(16,185,129,.4);
  background: linear-gradient(160deg, rgba(16,185,129,.10), var(--surface) 60%);
  box-shadow: 0 20px 50px -30px rgba(16,185,129,.5);
}
.pcard__label { font-size: .82rem; font-weight: 600; color: var(--text-muted); letter-spacing: .03em; text-transform: uppercase; }
.pcard__price { display: flex; align-items: baseline; gap: .2rem; margin-top: .7rem; }
.pcard__num { font-size: clamp(2.4rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.pcard--accent .pcard__num { color: var(--brand-light); }
.pcard__cur { font-size: 1.4rem; font-weight: 700; color: var(--text-muted); }
.pcard__unit { color: var(--text-dim); font-size: .88rem; margin-top: .35rem; }
.pcard__desc { color: var(--text-muted); font-size: .93rem; margin-top: 1rem; }
.pcard__desc strong { color: var(--text); font-weight: 600; }
.pcard__tag {
  align-self: flex-start; margin-top: 1rem; font-size: .74rem; font-weight: 600;
  color: var(--brand-light); background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.25); border-radius: 999px; padding: .25rem .7rem;
}

/* Preisrechner */
.calc {
  margin-top: 1.6rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(16,185,129,.28);
  background: linear-gradient(150deg, rgba(16,185,129,.10), rgba(16,185,129,.02));
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.calc__head { text-align: center; margin-bottom: 1.6rem; }
.calc__title { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; }
.calc__sub { color: var(--text-muted); font-size: .95rem; margin-top: .4rem; }
.calc__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.4rem; align-items: stretch; }
.calc__controls { display: flex; flex-direction: column; gap: .8rem; }

.stepper {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface-900); border: 1px solid var(--border-strong);
  border-radius: 14px; padding: .9rem 1rem;
}
.stepper__info { display: flex; flex-direction: column; min-width: 0; }
.stepper__label { font-weight: 600; font-size: .95rem; }
.stepper__hint { font-size: .76rem; color: var(--text-dim); }
.stepper__ctrl { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.stepper__btn {
  width: 34px; height: 34px; border-radius: 10px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--text); font-size: 1.2rem; line-height: 1; font-weight: 600;
  display: grid; place-items: center;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.stepper__btn:hover:not(:disabled) { background: var(--brand-500); border-color: var(--brand-500); color: #04150e; }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__value { min-width: 2.4rem; text-align: center; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.calc__lines { list-style: none; display: grid; gap: .45rem; margin-top: .4rem; padding: 0 .2rem; }
.calc__lines li { display: flex; justify-content: space-between; font-size: .88rem; color: var(--text-muted); }
.calc__lines b { color: var(--text); font-variant-numeric: tabular-nums; }

.calc__result {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--surface-900); border: 1px solid var(--border-strong);
  border-radius: 16px; padding: 1.4rem;
}
.calc__resultLabel { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); font-weight: 600; }
.calc__total {
  font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--brand-light); line-height: 1.05; margin-top: .2rem; font-variant-numeric: tabular-nums;
}
.calc__once { font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }
.calc__once b, .calc__year b { color: var(--text); }
.calc__year { font-size: .82rem; color: var(--text-dim); margin-top: .3rem; }
.calc__cta { margin-top: 1.2rem; width: 100%; }

.pricing__note { margin-top: 1.4rem; text-align: center; color: var(--text-dim); font-size: .85rem; max-width: 52rem; margin-left: auto; margin-right: auto; }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.privacy .section__title, .privacy .section__lead { text-align: left; }
.privacy .eyebrow { text-align: left; }
.checklist { list-style: none; margin-top: 1.6rem; display: grid; gap: .9rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--text); font-size: 1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(16,185,129,.14) no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  border: 1px solid rgba(16,185,129,.25);
}
.privacy__panel {
  background: linear-gradient(160deg, var(--surface), #0f1728);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 2.4rem; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.shield { width: 80px; height: 80px; margin: 0 auto 1.4rem; border-radius: 22px; display: grid; place-items: center; color: var(--brand-light); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.22); }
.shield svg { width: 44px; height: 44px; }
.shield__tenants { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.shield__tenants span { font-size: .82rem; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); padding: .4rem .8rem; border-radius: 9px; }
.shield__note { margin-top: 1rem; font-size: .82rem; color: var(--brand-light); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- CTA ---------- */
.cta { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta__inner {
  text-align: center;
  background: linear-gradient(150deg, rgba(16,185,129,.16), rgba(16,185,129,.03));
  border: 1px solid rgba(16,185,129,.28);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3.5rem);
}
.cta__inner h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); letter-spacing: -.02em; font-weight: 800; }
.cta__inner p { margin: 1rem auto 0; color: var(--text-muted); max-width: 38rem; font-size: 1.05rem; }
.cta__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta__contact { margin-top: 1.1rem; color: var(--text-muted); font-size: .95rem; }
.cta__contact a { color: var(--brand-light); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.cta__contact a:hover { border-bottom-color: var(--brand-light); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: 3rem; margin-top: 1rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; padding-bottom: 2rem; }
.footer__brand { max-width: 20rem; }
.footer__brand p { margin-top: .9rem; color: var(--text-muted); font-size: .92rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; align-content: flex-start; }
.footer__links a { color: var(--text-muted); font-size: .92rem; transition: color .2s ease; }
.footer__links a:hover { color: var(--brand-light); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; padding: 1.4rem 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .85rem; }

/* ---------- Unterseiten-Header (Impressum/Datenschutz) ---------- */
.subnav .nav__inner { justify-content: space-between; }
.subnav__back { color: var(--text-muted); font-size: .93rem; font-weight: 500; transition: color .2s ease; }
.subnav__back:hover { color: var(--brand-light); }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal { max-width: 780px; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.legal__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.legal__updated { margin-top: .6rem; color: var(--text-dim); font-size: .9rem; }
.legal__note {
  margin: 1.8rem 0; padding: 1rem 1.2rem;
  background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.22);
  border-radius: 14px; color: var(--text-muted); font-size: .92rem;
}
.legal h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; margin: 2.4rem 0 .8rem; }
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 1.6rem 0 .5rem; }
.legal p { color: var(--text-muted); margin-bottom: .9rem; }
.legal ul { color: var(--text-muted); margin: 0 0 .9rem 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--brand-light); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.legal a:hover { border-bottom-color: var(--brand-light); }
.legal address { font-style: normal; color: var(--text); line-height: 1.8; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .placeholder {
  color: var(--brand-light); background: rgba(16,185,129,.1);
  padding: 0 .35em; border-radius: 4px; font-style: normal; font-weight: 500;
  border: 1px dashed rgba(16,185,129,.4);
}

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mockup { max-width: 420px; margin: 2.6rem auto 0; }
  .mock { transform: none; }
  .privacy { grid-template-columns: 1fr; }
  .features, .steps, .cards, .pricing { grid-template-columns: repeat(2, 1fr); }
  .calc__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12, 18, 32, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: .6rem 24px 1.4rem;
    transform: translateY(-140%);
    transition: transform .35s ease;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .85rem .2rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav__cta, .nav__login { text-align: center; }
  .nav__cta { margin-top: .8rem; padding: .8rem 1.05rem; }
  .nav__login { border-bottom: 1px solid var(--border) !important; }
}

@media (max-width: 620px) {
  .features, .steps, .cards, .pricing { grid-template-columns: 1fr; }
  .hero__trust { gap: .7rem 1.4rem; }
  .footer__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock { transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Hinweis auf den Umfang der kostenlosen Testphase (über den Preisbausteinen) */
.trialbox { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-bottom: 1.4rem; padding: 1.3rem 1.5rem; background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(16,185,129,.03)); border: 1px solid rgba(16,185,129,.28); border-radius: var(--radius); }
.trialbox__badge { flex-shrink: 0; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #04150e; background: var(--brand); padding: .4rem .8rem; border-radius: 999px; }
.trialbox__text { flex: 1 1 22rem; margin: 0; font-size: .95rem; color: var(--text-muted); line-height: 1.6; }
.trialbox__text strong { color: var(--text); }
@media (max-width: 720px) { .trialbox { flex-direction: column; align-items: flex-start; } }

/* ===========================================================================
   Content-Seiten (Personal Trainer, Ernährungsberater, Trainingsplan,
   Ernährungsplan). Nutzen dieselben Bausteine wie die Startseite; hier stehen
   nur die Abweichungen für den einspaltigen Kopfbereich.
   =========================================================================== */
.hero--sub { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
/* Ohne z-index läge der Text hinter dem Farbschleier des Kopfbereichs */
.hero--sub .container { position: relative; z-index: 1; }
.hero--sub .hero__title { max-width: 22ch; }
.hero--sub .hero__sub { max-width: 46rem; }

/* Verweiskarten am Seitenende: die Überschrift ist der Link */
.card h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(52,211,153,.4); }
.card h3 a:hover { color: var(--brand-light); border-bottom-color: var(--brand-light); }

/* ===========================================================================
   Persönlicher Kontaktbereich (Gründer)
   =========================================================================== */
.founder { display: flex; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: flex-start; }
.founder__photo {
  flex: 0 0 auto; width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(16,185,129,.35);
  background: var(--surface-2);
}
.founder__text { min-width: 0; }
.founder__text p { color: var(--text-muted); max-width: 46rem; }
.founder__actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.founder__note { margin-top: 1.2rem; font-size: .9rem; }
.founder__note a { color: var(--brand-light); }

@media (max-width: 640px) {
  .founder { flex-direction: column; align-items: center; text-align: center; }
  .founder__actions { justify-content: center; }
}
