/* ═════════════════════════════════════════════════════════════
   WISSAM FITNESS — Ink-Black · Smaragd · Creme
   ═════════════════════════════════════════════════════════════ */
:root {
  --ink: #050807;
  --ink-2: #080d0a;
  --emerald: #12d18e;
  --emerald-bright: #3af0ad;
  --emerald-dim: #0c7a55;
  --cream: #f2ecdf;
  --cream-dim: #c9c2b2;
  --warm: #f5edd9;
  --display: 'Anton', Impact, sans-serif;
  --body: 'Space Grotesk', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: thin; scrollbar-color: var(--emerald-dim) var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--emerald); color: var(--ink); }

/* ═══ PRELOADER ═══ */
#preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s ease, visibility .8s;
}
/* pointer-events none: schon während des Ausblendens dürfen Tipps/Klicks durchgehen (sonst frisst der Preloader die ersten Taps) */
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-inner { text-align: center; }
.pre-name {
  font-family: var(--display); font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: .04em; color: var(--cream);
}
.pre-name span { color: var(--emerald); margin-left: .35em; }
.pre-bar {
  width: min(60vw, 420px); height: 2px; margin: 2rem auto 1rem;
  background: rgba(242,236,223,.12); overflow: hidden;
}
.pre-fill { height: 100%; width: 0%; background: var(--emerald); transition: width .2s ease; }
.pre-pct { font-size: .8rem; letter-spacing: .3em; color: var(--cream-dim); }

/* ═══ MUSIK-KNOPF ═══ */
.music-toggle {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 95;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(5,8,7,.8); border: 1px solid var(--emerald);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 22px rgba(18,209,142,.28); backdrop-filter: blur(6px);
  transition: transform .3s, box-shadow .3s;
}
.music-toggle:hover { transform: scale(1.1); box-shadow: 0 0 34px rgba(18,209,142,.5); }
[dir="rtl"] .music-toggle { right: auto; left: 1.4rem; }
.music-toggle .mbars { display: flex; align-items: flex-end; gap: 2.5px; height: 18px; }
.music-toggle .mbars i {
  width: 3px; background: var(--emerald-bright); border-radius: 2px;
  animation: mbar 1s ease-in-out infinite;
}
.music-toggle .mbars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.music-toggle .mbars i:nth-child(2) { height: 90%; animation-delay: .2s; }
.music-toggle .mbars i:nth-child(3) { height: 60%; animation-delay: .4s; }
.music-toggle .mbars i:nth-child(4) { height: 100%; animation-delay: .1s; }
@keyframes mbar { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.music-toggle.off { border-color: rgba(242,236,223,.4); box-shadow: none; }
.music-toggle .mmute { color: var(--cream-dim); font-size: 1.2rem; line-height: 1; }

/* ═══ NACH-OBEN-KNOPF ═══ */
.top-fab {
  position: fixed; bottom: 1.4rem; left: 1.4rem; z-index: 95;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(5,8,7,.8); border: 1px solid var(--emerald);
  color: var(--emerald-bright); font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 22px rgba(18,209,142,.28); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s ease, visibility .35s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.top-fab.show { opacity: 1; visibility: visible; transform: translateY(0); }
.top-fab:hover { box-shadow: 0 0 34px rgba(18,209,142,.5); transform: translateY(-3px); }
[dir="rtl"] .top-fab { left: auto; right: 1.4rem; }

/* ═══ GRAIN ═══ */
/* Korn-Overlay entfernt — Nutzer wollte ein klares Bild ohne Schleier */
#grain { display: none; }

/* ═══ NAV ═══ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  mix-blend-mode: difference;
}
.nav-logo { font-family: var(--display); font-size: 1.6rem; color: var(--cream); letter-spacing: .05em; }
.nav-logo span { color: var(--emerald-bright); }
.nav-links { display: flex; gap: clamp(1rem, 3vw, 2.4rem); align-items: center; }
.nav-sections { display: flex; gap: clamp(1rem, 3vw, 2.4rem); align-items: center; }
.nav-burger { display: none; }
.nav-links a {
  color: var(--cream); text-decoration: none; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; opacity: .85;
  transition: opacity .3s;
}
.nav-links a:hover { opacity: 1; }
/* Sektions-Links als deutlich erkennbare Knöpfe */
.nav-sections a {
  opacity: 1; font-weight: 600; font-size: .84rem;
  border: 2px solid rgba(18,209,142,.75); border-radius: 2em;
  padding: .5em 1.15em; background: rgba(5,8,7,.55);
  transition: border-color .3s, color .3s, background .3s, box-shadow .3s;
}
.nav-sections a:hover {
  border-color: var(--emerald-bright); color: var(--emerald-bright);
  background: rgba(18,209,142,.12); box-shadow: 0 0 16px rgba(18,209,142,.35);
}
/* CTA im Burger-Panel: nur auf dem Handy sichtbar */
.nav-cta-mobile { display: none; }
.nav-cta { border: 2px solid var(--cream); padding: .5em 1.1em; border-radius: 2em; font-weight: 600; }
.lang-toggle {
  background: none; border: 1px solid var(--emerald); color: var(--emerald-bright);
  border-radius: 2em; padding: .5em 1.1em; cursor: pointer;
  font-family: var(--body); font-size: .82rem; letter-spacing: .1em;
  transition: background .3s;
}
.lang-toggle:hover { background: rgba(18,209,142,.15); }
/* Sprachumschalter mit 3 Sprachen */
.lang-switch {
  display: flex; gap: 2px; border: 1px solid var(--emerald); border-radius: 2em;
  overflow: hidden; background: rgba(5,8,7,.6);
}
.lang-switch button {
  background: none; border: none; color: var(--cream-dim); cursor: pointer;
  font-family: var(--body); font-size: .74rem; letter-spacing: .06em;
  padding: .5em .85em; transition: background .25s, color .25s;
}
.lang-switch button.aktiv { background: var(--emerald); color: var(--ink); font-weight: 700; }
.lang-switch button:not(.aktiv):hover { color: var(--emerald-bright); }

/* ═══ ARABISCH (RTL) ═══ */
body.lang-ar {
  --display: 'Tajawal', 'Cairo', sans-serif;
  --body: 'Tajawal', 'Cairo', 'Segoe UI', sans-serif;
}
body.lang-ar .hero-title,
body.lang-ar .section-title,
body.lang-ar .pillars-heading,
body.lang-ar .finale-title,
body.lang-ar .cred-hero,
body.lang-ar .foot-name,
body.lang-ar .pillar h3,
body.lang-ar .tf-name,
body.lang-ar .marquee-track span { font-weight: 700; letter-spacing: 0; }
body.lang-ar .eyebrow,
body.lang-ar .stat-label,
body.lang-ar .scroll-cue,
body.lang-ar .muscle-label,
body.lang-ar .tf-tag,
body.lang-ar .tf-dauer,
body.lang-ar .btn,
body.lang-ar .nav-links a,
body.lang-ar .foot-links a,
body.lang-ar .hero-tagline,
body.lang-ar .cred-sub { letter-spacing: 0; }
body.lang-ar .hero-title { line-height: 1.05; font-size: clamp(3.4rem, 13vw, 12rem); }
body.lang-ar .hero-title .accent { font-size: .9em; -webkit-text-stroke: 0; color: var(--emerald-bright); }
body.lang-ar .section-title { line-height: 1.15; }
body.lang-ar .section-title.outline { -webkit-text-stroke: 0; color: var(--cream); }
body.lang-ar .pillars-heading { -webkit-text-stroke: 0; color: var(--emerald); line-height: 1.1; }
body.lang-ar .pillars-heading { -webkit-text-stroke: 0; }
body.lang-ar .finale-title { line-height: 1.15; }
body.lang-ar .anat-note, body.lang-ar .side-copy { line-height: 2; }

/* ═══ SCRUB-SECTIONS (sticky canvas) ═══ */
.scrub { position: relative; height: var(--len, 500vh); }
.pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.stage {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: center / cover no-repeat var(--ink);
}
/* Rand-Vignette entfernt — wirkte wie Rauch/Nebel über den Filmsektionen */
.vignette { display: none; }
.overlay { position: absolute; inset: 0; pointer-events: none; z-index: 5; }

/* Zeilen, die über Scroll-Fenster [data-in, data-out] ein-/ausblenden */
.reveal-line { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }

/* ═══ HERO ═══ */
.hero-overlay { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.eyebrow {
  font-size: clamp(.6rem, 1.1vw, .8rem); letter-spacing: .42em;
  color: var(--emerald-bright); margin-bottom: 2.2rem;
}
.hero-title {
  font-family: var(--display); line-height: .88; font-weight: 400;
  font-size: clamp(4.2rem, 16.5vw, 15.5rem);
  text-shadow: 0 8px 60px rgba(0,0,0,.65);
}
.hero-title .line { display: block; }
.hero-title .accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--emerald);
  text-stroke: 2px var(--emerald);
  font-size: .72em; /* langer Nachname — bleibt innerhalb der Bildbreite */
}
.hero-title .ch {
  display: inline-block;
  opacity: 0; transform: translateY(.55em) rotate(6deg) scale(.92);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.hero-title .ch.on { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
.hero-sub {
  margin-top: 2.4rem; font-size: clamp(.95rem, 1.6vw, 1.25rem);
  font-weight: 300; letter-spacing: .04em; color: var(--cream);
  line-height: 1.7;
}
.hero-tagline {
  margin-top: 2rem; display: flex; flex-direction: column; gap: .3rem;
  font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.7rem);
  letter-spacing: .12em;
}
.accent-text { color: var(--emerald-bright); }
.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .65rem; letter-spacing: .4em; color: var(--cream-dim); z-index: 6;
  text-decoration: none; cursor: pointer; pointer-events: auto;
  padding: .6rem 1.2rem; transition: color .3s, transform .3s;
}
.scroll-cue:hover { color: var(--emerald-bright); transform: translateX(-50%) translateY(4px); }
.cue-line { width: 1px; height: 52px; background: linear-gradient(var(--emerald), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity:.4; } 50% { transform: scaleY(1); opacity:1; } }

/* ═══ STATS / CREDENTIALS ═══ */
#stats { padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 6vw, 5rem); text-align: center; }
.cred-hero {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.8rem, 5.5vw, 4.6rem); line-height: 1.15;
  color: var(--cream); letter-spacing: .03em; text-transform: uppercase;
  max-width: 1100px; margin: 0 auto;
}
.cred-sub {
  margin-top: 2.2rem; font-weight: 300;
  font-size: clamp(.95rem, 1.7vw, 1.25rem); letter-spacing: .06em;
  color: var(--cream-dim);
}
.cred-socials {
  margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.social-btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .75em 1.4em; border-radius: 3em; text-decoration: none;
  font-size: .85rem; letter-spacing: .1em; font-weight: 500;
  border: 2px solid var(--emerald-dim); color: var(--cream);
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}
.social-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
/* Instagram-Knopf: immer im vollen Instagram-Verlauf, weißes Symbol wie im Original */
.social-btn.ig {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7);
  border-color: rgba(5, 8, 7, .85); color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.social-btn.ig svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.social-btn.ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(238,42,123,.65);
}
.social-btn.wa { border-color: #12813f; }
.social-btn.wa:hover {
  transform: translateY(-3px); background: #25d366; color: #04310f;
  border-color: #25d366; box-shadow: 0 0 30px rgba(37,211,102,.5);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem; max-width: 1200px; margin: 0 auto;
}
.stat-num {
  display: block; font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.8rem); color: var(--emerald);
  line-height: 1;
}
.stat-label {
  display: block; margin-top: .7rem; font-size: .78rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--cream-dim);
}
.stats-cred {
  margin-top: 4.5rem; font-size: clamp(.7rem, 1.4vw, .95rem);
  letter-spacing: .3em; color: var(--cream);
  border-top: 1px solid rgba(18,209,142,.25); border-bottom: 1px solid rgba(18,209,142,.25);
  padding: 1.4rem 0; max-width: 1100px; margin-left: auto; margin-right: auto;
}

/* ═══ MARQUEE ═══ */
.marquee { overflow: hidden; padding: 1.1rem 0; border-top: 1px solid rgba(242,236,223,.08); border-bottom: 1px solid rgba(242,236,223,.08); }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  letter-spacing: .09em; color: var(--cream);
}
/* Trennpunkt zwischen den Phrasen: Wörter einer Phrase bleiben eng, Phrasen weit auseinander */
.marquee-track .mq-sep {
  color: var(--emerald-bright); font-weight: 400;
  margin: 0 clamp(.9em, 2vw, 1.5em);
}
.marquee.light .marquee-track span { color: var(--emerald-bright); }
.marquee.light .marquee-track .mq-sep { color: var(--cream); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══ SECTION TITLES ═══ */
.section-title {
  font-family: var(--display); font-weight: 400; line-height: .92;
  font-size: clamp(2.8rem, 9vw, 8.5rem); color: var(--cream);
  text-transform: uppercase;
}
.section-title.outline { color: transparent; -webkit-text-stroke: 2px var(--cream); }
.section-title.center { text-align: center; }

/* ═══ ANATOMIE ═══ */
#anatomie .section-title { position: absolute; top: 8vh; left: clamp(1.2rem, 5vw, 4rem); }
.muscle-label {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: .7rem;
  font-size: clamp(.72rem, 1.3vw, .95rem); letter-spacing: .3em;
  color: var(--emerald-bright); text-shadow: 0 2px 18px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(28px);
}
.muscle-label i {
  display: block; width: 3.2rem; height: 1px;
  background: var(--emerald-bright); box-shadow: 0 0 12px var(--emerald);
}
.anat-note {
  position: absolute; bottom: 10vh; right: clamp(1.2rem, 5vw, 4rem);
  text-align: right; font-size: clamp(.9rem, 1.5vw, 1.15rem);
  font-weight: 300; line-height: 1.8; letter-spacing: .05em;
}
.seq-progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: rgba(242,236,223,.08); z-index: 6;
}
.seq-fill { height: 100%; width: 0%; background: var(--emerald); box-shadow: 0 0 14px var(--emerald); }

/* ═══ DEIN WEG — drei Kacheln (erscheinen zusammen) ═══ */
#saeulen { background: linear-gradient(180deg, var(--ink) 0%, #0a120d 100%); }
.saeulen-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: .3;
}
.pillars-pin::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,8,7,.72) 0%, rgba(10,18,13,.5) 45%, rgba(5,8,7,.8) 100%);
}
.pillars-pin > .pillars-heading, .pillars-pin > .frauen-line, .pillars-pin > .pillars { position: relative; z-index: 2; }
.pillars-pin {
  flex-direction: column; gap: clamp(1.4rem, 4vh, 3rem);
  padding: 0 clamp(1.2rem, 4vw, 4rem);
  align-items: flex-start; justify-content: center;
}
.pillars-heading {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 6rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 2px var(--emerald);
}
.frauen-line {
  display: flex; align-items: center; gap: 1rem;
  color: var(--cream); font-weight: 300;
  font-size: clamp(.95rem, 1.5vw, 1.15rem); letter-spacing: .04em;
}
.frauen-line svg { width: 58px; height: 58px; flex-shrink: 0; }
.frauen-line svg * { stroke: var(--emerald-bright); fill: none; stroke-width: 3.4; stroke-linecap: round; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 2rem); width: 100%;
}
.pillar {
  position: relative; overflow: hidden; border-radius: 8px;
  min-height: clamp(320px, 56vh, 560px);
  background: var(--bg) center / cover no-repeat var(--ink-2);
  border: 1px solid rgba(18,209,142,.25);
  opacity: 0; transform: translateY(48px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.22,1,.36,1),
              border-color .4s, box-shadow .4s;
  display: flex; align-items: flex-end;
  text-decoration: none; color: inherit; cursor: pointer;
}
.pillar-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s ease;
}
.pillar:hover .pillar-video { transform: scale(1.06); }
.pillar-more {
  display: inline-block; margin-top: .8rem;
  font-size: .72rem; letter-spacing: .26em; color: var(--emerald-bright);
  border-bottom: 1px solid rgba(18,209,142,.5); padding-bottom: .25em;
}
.pillar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,7,.05) 30%, rgba(5,8,7,.88) 82%);
}
.pillar.on { opacity: 1; transform: translateY(0); }
.pillar:hover { border-color: var(--emerald); box-shadow: 0 0 42px rgba(18,209,142,.28); }
.pillar-inner { position: relative; padding: 1.6rem; }
.pillar-num { font-family: var(--display); font-size: .95rem; color: var(--emerald-bright); letter-spacing: .2em; }
.pillar h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 2.1rem); margin: .3rem 0 .55rem;
  letter-spacing: .02em; color: var(--cream);
}
.pillar p { font-weight: 300; font-size: clamp(.85rem, 1.1vw, 1rem); line-height: 1.65; color: var(--cream-dim); }

/* ═══ ERGEBNISSE ═══ */
#ergebnisse {
  /* +10% Scrollweg gegenüber 14vh — mehr Zeit für die Kundenergebnisse */
  padding: clamp(7rem, 20.4vh, 14rem) clamp(1.2rem, 6vw, 5rem);
  background: linear-gradient(180deg, #0a120d 0%, #0d1712 100%);
  position: relative; overflow: hidden;
}
#ergebnisse > .section-title, #ergebnisse > .results-sub, #ergebnisse > #transformations {
  position: relative; z-index: 2;
}
.ergebnisse-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: .34;
}
#ergebnisse::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #0a120d 0%, rgba(10,18,13,.55) 30%, rgba(13,23,18,.6) 70%, #0d1712 100%);
}
/* Rauchwolken entfernt — Nutzer wollte die Sektion klar */
.ergebnisse-smoke { display: none; }
.ergebnisse-smoke .rauch {
  position: absolute; width: 64vw; height: 64vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,209,142,.2), rgba(160,180,170,.12) 42%, transparent 68%);
  filter: blur(56px);
  animation: rauch-drift var(--dur, 20s) ease-in-out infinite alternate;
}
.ergebnisse-smoke .r1 { left: -24vw; top: -6%;  --dur: 21s; }
.ergebnisse-smoke .r2 { right: -26vw; top: 16%; --dur: 17s; animation-delay: -7s; }
.ergebnisse-smoke .r3 { left: -18vw; top: 46%;  --dur: 24s; animation-delay: -12s; }
.ergebnisse-smoke .r4 { right: -20vw; top: 72%; --dur: 19s; animation-delay: -4s; }
@keyframes rauch-drift {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(10vw, -6vh) scale(1.3) rotate(8deg); }
}
.results-sub {
  text-align: center; margin: 1.6rem auto 4rem; max-width: 560px;
  font-weight: 300; color: var(--cream-dim); line-height: 1.7;
}
#transformations { display: grid; gap: clamp(3rem, 8vh, 6rem); max-width: 1500px; margin: 0 auto; }
.tf-card { position: relative; }
/* Flex + zentriert: die letzte Reihe steht mittig → symmetrisch, auch bei ungerader Anzahl */
.tf-duo {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: clamp(1rem, 1.4vw, 1.6rem);
}
.tf-duo > * { flex: 0 1 calc(33.333% - 1.1rem); }
.tf-shot {
  margin: 0; overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(18,209,142,.35);
  transition: box-shadow .9s ease, border-color .9s ease;
}
.tf-shot { cursor: zoom-in; }
.tf-shot img { width: 100%; height: auto; display: block; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.tf-shot:hover img { transform: scale(1.06); }

/* ═══ LIGHTBOX — Bild in voller Größe ═══ */
#lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(3,5,4,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  cursor: zoom-out; padding: 2vh 2vw;
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox img {
  max-width: 96vw; max-height: 96vh; border-radius: 8px;
  border: 1px solid rgba(18,209,142,.5);
  box-shadow: 0 0 80px rgba(18,209,142,.25);
  transform: scale(.92); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
#lightbox.open img { transform: scale(1); }
#lightbox video {
  max-width: 96vw; max-height: 92vh; border-radius: 8px;
  border: 1px solid rgba(18,209,142,.5);
  box-shadow: 0 0 80px rgba(18,209,142,.25);
}
.tf-card.glow .tf-shot {
  box-shadow: 0 0 54px rgba(18,209,142,.3), 0 0 16px rgba(18,209,142,.35);
  border-color: var(--emerald);
}
.tf-compare {
  position: relative; overflow: hidden; border-radius: 6px;
  aspect-ratio: var(--ar, 3 / 4);
  border: 1px solid rgba(18,209,142,.35);
  box-shadow: 0 0 0 rgba(18,209,142,0);
  transition: box-shadow .8s ease;
  touch-action: none;
}
.tf-compare.glow { box-shadow: 0 0 64px rgba(18,209,142,.35), 0 0 18px rgba(18,209,142,.45); border-color: var(--emerald); }
.tf-compare img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.tf-after { clip-path: inset(0 0 0 var(--wipe, 50%)); }
.tf-handle {
  position: absolute; top: 0; bottom: 0; left: var(--wipe, 50%);
  width: 2px; background: var(--emerald-bright); cursor: ew-resize; z-index: 4;
  box-shadow: 0 0 16px var(--emerald);
}
.tf-handle::after {
  content: '⟨ ⟩'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: var(--ink); color: var(--emerald-bright);
  border: 1px solid var(--emerald); border-radius: 2em;
  padding: .45em .8em; font-size: .8rem; white-space: nowrap;
}
.tf-tag {
  position: absolute; top: 1rem; font-size: .65rem; letter-spacing: .3em;
  padding: .4em .9em; background: rgba(5,8,7,.72); border-radius: 2em; z-index: 3;
}
.tf-tag.before { left: 1rem; color: var(--cream-dim); }
.tf-tag.after { right: 1rem; color: var(--emerald-bright); border: 1px solid rgba(18,209,142,.4); }
.tf-meta { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; align-items: baseline; margin-top: 1.3rem; }
.tf-name { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: .04em; }
.tf-dauer { font-size: .78rem; letter-spacing: .28em; color: var(--emerald-bright); text-transform: uppercase; }
.tf-ergebnis { font-weight: 300; color: var(--cream); }
.tf-zitat { margin-top: .9rem; font-weight: 300; font-style: italic; color: var(--cream-dim); line-height: 1.7; }
.tf-placeholder {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; max-height: 60vh;
  border: 1px dashed rgba(18,209,142,.4); border-radius: 6px;
  color: var(--cream-dim); letter-spacing: .2em; font-size: .85rem;
  text-align: center; line-height: 2;
}

/* ═══ ERNÄHRUNG ═══ */
#ernaehrung .section-title { position: absolute; top: 9vh; left: clamp(1.2rem, 5vw, 4rem); }
.side-copy {
  position: absolute; bottom: 14vh; left: clamp(1.2rem, 5vw, 4rem);
  font-size: clamp(.95rem, 1.6vw, 1.25rem); font-weight: 300;
  line-height: 1.8; letter-spacing: .04em;
  text-shadow: 0 2px 22px rgba(0,0,0,.85);
}
.side-copy.right { left: auto; right: clamp(1.2rem, 5vw, 4rem); bottom: 26vh; text-align: right; }

/* ═══ FINALE ═══ */
.pin-video { background: var(--ink); overflow: hidden; }
.finale-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.pin-video::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,8,7,.5) 0%, rgba(5,8,7,.15) 38%, rgba(5,8,7,.72) 100%);
  pointer-events: none;
}
.pin-video .overlay { z-index: 5; }
.finale-overlay {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 12vh; text-align: center;
}
.finale-title {
  font-family: var(--display); font-weight: 400; line-height: .95;
  font-size: clamp(2.6rem, 8.5vw, 7.5rem); text-transform: uppercase;
  text-shadow: 0 6px 48px rgba(0,0,0,.7);
}
.finale-title .line { display: block; }
.finale-title .accent { color: var(--emerald-bright); }
.cta-row { display: flex; gap: 1.2rem; margin-top: 3rem; flex-wrap: wrap; justify-content: center; pointer-events: auto; }
.btn {
  font-family: var(--body); font-weight: 500; text-decoration: none;
  letter-spacing: .22em; font-size: .85rem; border-radius: 3em;
  padding: 1.1em 2.4em; transition: transform .3s, box-shadow .3s, background .3s;
}
.btn.primary {
  background: var(--emerald); color: var(--ink);
  box-shadow: 0 0 34px rgba(18,209,142,.45);
}
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 0 54px rgba(58,240,173,.7); background: var(--emerald-bright); }
.btn.ghost { border: 2px solid var(--cream); color: var(--cream); }
.btn.ghost:hover { transform: translateY(-3px); background: rgba(242,236,223,.1); }
/* FOLLOW-ON-INSTAGRAM-Knopf: wie der runde Instagram-Knopf oben — dauerhaft im Verlauf, mit Symbol */
.btn.ghost[href*="instagram"] {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7);
  border-color: rgba(5, 8, 7, .85); color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.btn.ghost[href*="instagram"] svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2;
  flex-shrink: 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35));
}
.btn.ghost[href*="instagram"]:hover {
  transform: translateY(-3px);
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7);
  box-shadow: 0 0 44px rgba(238,42,123,.6);
}

/* ═══ FOOTER — das leuchtende Finale ═══ */
#footer {
  background: var(--warm); color: #171a16;
  text-align: center; padding: clamp(4rem, 10vh, 7rem) 1.5rem 3rem;
}
.foot-name { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 5.5rem); letter-spacing: .03em; }
.foot-motto { margin: 1.2rem auto 2.6rem; font-weight: 300; font-size: clamp(.95rem, 1.6vw, 1.2rem); color: #3c4038; }
.foot-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.foot-links a {
  color: #0c7a55; text-decoration: none; letter-spacing: .14em;
  font-size: .88rem; text-transform: uppercase; border-bottom: 1px solid rgba(12,122,85,.4);
  padding-bottom: .2em;
}
.foot-copy { margin-top: 3.4rem; font-size: .72rem; letter-spacing: .12em; color: #8a8d83; }
.foot-design { margin-top: .6rem; font-size: .68rem; letter-spacing: .1em; color: #8a8d83; }
.foot-design a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-design a:hover { color: #171a16; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 760px) {
  /* ═══ Handy-Menü: Links in ein aufklappbares Panel ═══ */
  #nav {
    mix-blend-mode: normal;
    background: rgba(5,8,7,.55); backdrop-filter: blur(10px);
    padding: .9rem 1rem;
  }
  .nav-links { gap: .45rem; }
  /* Kopfleiste schlank halten: CTA wandert ins Burger-Panel (die Leiste war sonst breiter als der Bildschirm) */
  .nav-cta { display: none; }
  .nav-sections a.nav-cta-mobile { display: block; color: var(--emerald-bright); font-weight: 700; }
  /* Sprachknöpfe: groß genug zum Tippen — min-width, damit auch das schmale ع gut trifft */
  .lang-switch { gap: 0; padding: 2px; flex-shrink: 0; }
  .lang-switch button { font-size: .76rem; padding: .5em .4em; min-height: 30px; min-width: 34px; }

  /* Menü-Knopf (drei Striche) */
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 9px; border-radius: 10px;
    background: rgba(5,8,7,.6); border: 1px solid var(--emerald);
    cursor: pointer; flex-shrink: 0;
  }
  .nav-burger span {
    display: block; height: 2px; width: 100%; border-radius: 2px;
    background: var(--emerald-bright);
    transition: transform .3s ease, opacity .25s ease;
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Aufklappbares Panel mit den Sektions-Links */
  .nav-sections {
    position: fixed; top: 66px; left: 0; right: 0; z-index: 79;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,8,7,.96); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(18,209,142,.35);
    padding: .4rem 0;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, visibility .3s, transform .35s cubic-bezier(.22,1,.36,1);
  }
  .nav-sections.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-sections a {
    display: block; padding: 1rem 1.4rem; font-size: .95rem;
    letter-spacing: .16em; opacity: 1; color: var(--cream);
    border: none; border-radius: 0; background: none;
    border-bottom: 1px solid rgba(242,236,223,.07);
  }
  .nav-sections a:last-child { border-bottom: none; }
  .nav-sections a:active { background: rgba(18,209,142,.15); color: var(--emerald-bright); }

  /* DEIN WEG: auf dem Handy nicht fixieren — natürlich scrollen, Kacheln immer sichtbar */
  #saeulen { height: auto; }
  #saeulen .pin {
    position: relative; height: auto; min-height: 0; overflow: visible;
    padding: clamp(3rem, 9vh, 5rem) 1.2rem;
    display: flex; flex-direction: column; gap: 1.2rem;
  }
  .pillars { grid-template-columns: 1fr; gap: 1rem; }
  .pillar { min-height: 190px; opacity: 1; transform: none; }
  .pillars-heading { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .tf-duo > * { flex-basis: 100%; }
  .muscle-label { letter-spacing: .18em; }
  .side-copy.right { bottom: 6vh; }
  .anat-note { bottom: 6vh; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
