/* ═══════════════════════════════════════════════════════════════
   become-fit.de · main.css
   Gemeinsame Styles für alle Seiten.
   Seiten-spezifische Styles bleiben im <style>-Tag der jeweiligen Datei.
   ═══════════════════════════════════════════════════════════════ */

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

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --bg:        #0c0b09;
  --bg2:       #111009;
  --surface:   #181610;
  --card:      #1e1b12;
  --border:    #2e2a1e;
  --amber:     #e8920a;
  --amber-lt:  #f5ab3a;
  --amber-dim: #b56e06;
  --white:     #f0ece4;
  --muted:     #7a7468;
  --faint:     #3a3628;
  --font-disp: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}

/* ── BASE ───────────────────────────────────────────────────── */
html  { scroll-behavior: smooth; background: var(--bg); }
body  { background: var(--bg); color: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════════════════════════════
   NAV A – Einfache Nav (Detail-Seiten: Tools & Programme)
   Links: Brand  ·  Rechts: Zurück-Link
   ══════════════════════════════════════════════════════════════ */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; background: rgba(12,11,9,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nb   { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.nb-n { font-family: var(--font-disp); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.nb-s { font-size: .65rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.nbk  { font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: color .2s; }
.nbk:hover { color: var(--amber); }
.nbk::before { content: '←'; }

/* ══════════════════════════════════════════════════════════════
   NAV B – Volle Nav (Übersichtsseiten: index, tools/, programme/)
   Brand · Links · CTA-Button · Hamburger
   ══════════════════════════════════════════════════════════════ */
.nav-brand      { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-family: var(--font-disp); font-size: 1.15rem; font-weight: 700; }
.nav-brand-sub  { font-size: .65rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.nav-links      { list-style: none; display: flex; gap: 26px; align-items: center; }
.nav-links a    { font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:hover  { color: var(--white); }
.nav-links a.active { color: var(--amber); }
.nav-btn        { background: var(--amber); color: #000 !important; font-weight: 600 !important; padding: 9px 22px; border-radius: 3px; transition: background .2s !important; }
.nav-btn:hover  { background: var(--amber-lt) !important; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-nav { display: none; position: fixed; inset: 68px 0 0 0; z-index: 199; background: rgba(12,11,9,.97); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 32px 24px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.05rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 18px 0; border-bottom: 1px solid var(--border); width: 100%; text-align: center; transition: color .2s; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .mobile-cta { margin-top: 24px; background: var(--amber); color: #000 !important; font-weight: 700 !important; padding: 14px 36px; border-radius: 3px; border-bottom: none !important; }

/* ══════════════════════════════════════════════════════════════
   FOOTER A – Einfach (Detail-Seiten)
   ══════════════════════════════════════════════════════════════ */
footer { padding: 40px 48px; background: var(--surface); border-top: 1px solid var(--border); text-align: center; }
.fc   { font-size: .76rem; color: var(--muted); }
.fc a { color: var(--amber); }
.fc a:hover { color: var(--amber-lt); }

/* ══════════════════════════════════════════════════════════════
   FOOTER B – Voll (Übersichtsseiten)
   ══════════════════════════════════════════════════════════════ */
.footer-inner   { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.footer-brand   { font-family: var(--font-disp); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.footer-brand span { color: var(--amber); }
.footer-links   { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-links a { font-size: .78rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy    { font-size: .75rem; color: var(--faint); }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.btn        { display: inline-block; background: var(--amber); color: #000; font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; padding: 13px 28px; border-radius: 3px; text-decoration: none; transition: background .2s; }
.btn:hover  { background: var(--amber-lt); color: #000; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav    { padding: 0 20px; }
  footer { padding: 32px 20px; }
}
@media (max-width: 640px) {
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
}
