/* Fitness4You – statische Seite. Keine externen Quellen, alles lokal. */

@font-face {
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amatic-sc-400.woff2") format("woff2");
}
@font-face {
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/amatic-sc-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-700i.woff2") format("woff2");
}

:root {
  --orange: #f07e14;
  --orange-btn: #ef6d00;
  --orange-dark: #c95a00;
  --blue: #1f86c4;
  --topbar: #333333;
  --header: #4a4a4a;
  --black: #000000;
  --panel: rgba(0, 0, 0, 0.72);
  --text: #f2f2f2;
  --muted: #c9c9c9;
  --radius: 22px;
  --header-h: 64px;
  --wrap: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--orange-btn);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), 100% - 2rem);
  margin-inline: auto;
}

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--topbar);
  color: var(--orange);
  font-size: 0.8125rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
  padding-block: 0.35rem;
}
.topbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .ico { display: inline-flex; align-items: center; gap: 0.35rem; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.social a { display: inline-flex; padding: 0.3rem; }
.social .icon { width: 1.05rem; height: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}
.menu-toggle {
  background: none;
  border: 0;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
  display: inline-flex;
}
.menu-toggle .icon { width: 1.6rem; height: 1.6rem; }
.logo img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
}
.main-nav a:hover { color: var(--orange); }
@media (max-width: 760px) {
  .main-nav { display: none; }
}

/* Offcanvas-Menü */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.offcanvas.is-open { display: block; }
.offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.offcanvas__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(320px, 85vw);
  background: #1c1c1c;
  padding: 1.25rem 1.5rem 2rem;
  overflow-y: auto;
}
.offcanvas__close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  float: right;
  padding: 0 0.25rem;
}
.offcanvas ul { list-style: none; margin: 2.75rem 0 0; padding: 0; }
.offcanvas li a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid #333;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.offcanvas li a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: #222 url("../img/hero-eingang.webp") center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}
.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem 2rem;
}
.hero h1 {
  font-family: "Amatic SC", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.4em;
  line-height: 1;
}
.hero__brand {
  font-size: clamp(4rem, 12vw, 9.5rem);
  letter-spacing: 0.02em;
}
.hero__claim {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}
.hero__badge {
  width: clamp(150px, 18vw, 226px);
  margin-top: 1.5rem;
}
.hero__facts {
  background: rgba(0, 0, 0, 0.72);
}
.hero__facts ul {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.hero__facts li { color: var(--orange); font-weight: 700; line-height: 1.4; }
.hero__facts strong { font-size: 1.75rem; }
.hero__facts span { color: #fff; display: block; }
@media (max-width: 640px) {
  .hero__facts ul { grid-template-columns: 1fr; gap: 0.9rem; }
}

/* ---------- Abschnitts-Überschriften ---------- */
.section-title {
  font-family: "Amatic SC", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--orange);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange-btn);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--orange-dark); }
.btn--lg { font-size: 1rem; padding: 0.8rem 1.4rem; }

/* ---------- Angebote ---------- */
.offers { padding: 4rem 0; }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 960px) { .offers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .offers__grid { grid-template-columns: 1fr; } }
.offer {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #111;
  border: 1px solid #2a2a2a;
}
.offer img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.offer__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.offer h3 { font-size: 1.35rem; color: #fff; }
.offer p { font-size: 0.9rem; color: var(--muted); }
.offer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.offer .accent { color: var(--blue); font-weight: 700; }
.offer .btn { margin-top: auto; align-self: center; }

/* ---------- Bild-Abschnitte mit Textpanel ---------- */
.feature {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 4rem 0;
}
.feature--probe { background-image: url("../img/bg-probetraining.webp"); }
.feature--zirkel { background-image: url("../img/bg-zirkel.webp"); }
.feature--turbo { background-image: url("../img/bg-turbosonic.webp"); background-color: #000; }
.feature .wrap { display: flex; }
.feature--right .wrap { justify-content: flex-end; }
.panel {
  background: var(--panel);
  padding: 2rem 2.25rem;
  max-width: 620px;
  backdrop-filter: blur(2px);
}
.panel h2 {
  font-family: "Amatic SC", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  color: var(--orange);
}
.panel .lead { font-weight: 700; color: #fff; }
.panel .lead strong { color: var(--orange); font-size: 1.15rem; display: block; }
.panel ul { padding-left: 1.2rem; margin: 0 0 1em; }
.panel li { margin-bottom: 0.35rem; }
.panel .cols {
  columns: 2;
  column-gap: 1.5rem;
  list-style: none;
  padding: 0;
}
.panel .cols li { break-inside: avoid; }
.panel .cols li::before { content: "✓ "; color: var(--orange); font-weight: 700; }
@media (max-width: 560px) {
  .panel { padding: 1.5rem 1.25rem; }
  .panel .cols { columns: 1; }
}
.turbo-pics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ---------- Kurse (animierte Kreise) ---------- */
.courses {
  background: #000 url("../img/bg-kurse.webp") center / cover no-repeat;
  padding: 3rem 0;
}
.courses__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.f4u-wrap { container-type: inline-size; width: 100%; }
.f4u-bubbles {
  position: relative;
  width: 100%;
  aspect-ratio: 1495 / 1016;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-weight: 700;
  list-style: none;
  margin: 0;
  padding: 0;
}
.f4u-b {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--wm, var(--w)) * 1cqw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: calc(var(--wm, var(--w)) * var(--fm, var(--f)) * 0.86cqw);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  will-change: transform;
}
.f4u-b::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(var(--c1), var(--c2));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--wm, var(--w)) * 0.075cqw), #000 calc(100% - var(--wm, var(--w)) * 0.075cqw + 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--wm, var(--w)) * 0.075cqw), #000 calc(100% - var(--wm, var(--w)) * 0.075cqw + 1px));
}
.f4u-b::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 calc(var(--wm, var(--w)) * 0.14cqw) var(--c1), inset 0 0 calc(var(--wm, var(--w)) * 0.1cqw) var(--c2);
}
.f4u-b > span {
  position: relative;
  display: block;
  background: linear-gradient(var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.f4u-b .big { font-size: 1.4em; display: block; }

/* Position, Größe und Farbe je Kreis (aus dem Original übernommen) */
.b1  { --dd: 0s;    --x: 1.37;  --y: 17.08; --w: 17.73; --f: .215; --mw: 31; --mf: .175; --o: 10; --d: 0s;   --t: 1.8s; --r: 900deg;  --ay: -10cqw; --g: 3.2s; --c1: #ff7a00; --c2: #ff4d00; }
.b2  { --dd: .15s;  --x: .84;   --y: 52.21; --w: 15.05; --f: .235; --mw: 26; --mf: .22;  --o: 6;  --d: .25s; --t: 1.5s; --r: 620deg;  --ay: 12cqw;  --g: 2.6s; --c1: #ff6a00; --c2: #ff3d00; }
.b3  { --dd: .75s;  --x: 41.1;  --y: 3.99;  --w: 13.71; --f: .25;  --mw: 25; --mf: .225; --o: 4;  --d: .4s;  --t: 1.6s;                             --g: 2.5s; --c1: #ffb000; --c2: #ff9000; }
.b4  { --dd: .3s;   --x: 14.52; --y: 75.2;  --w: 16.05; --f: .22;  --mw: 27; --mf: .205; --o: 9;  --d: .55s; --t: 2s;   --r: 760deg;  --ay: 6cqw;   --g: 3.4s; --c1: #ff6000; --c2: #ff3a00; }
.b5  { --dd: .45s;  --x: 19.23; --y: 1.23;  --w: 15.72; --f: .245; --mw: 27; --mf: .235; --o: 1;  --d: .7s;  --t: 1.4s; --r: 540deg;  --ay: -6cqw;  --g: 2.8s; --c1: #ff9f00; --c2: #ff7b00; }
.b6  { --dd: 1.05s; --x: 53.71; --y: 18.9;  --w: 11.37; --f: .29;  --mw: 22; --mf: .3;   --o: 3;  --d: .9s;  --t: 1.4s;                             --g: 2.7s; --c1: #ffb300; --c2: #ff9500; }
.b7  { --dd: .9s;   --x: 41.4;  --y: 68.11; --w: 14.18; --f: .245; --mw: 27; --mf: .215; --o: 8;  --d: 1s;   --t: 1.9s; --r: 840deg;  --ay: 15cqw;  --g: 3s;   --c1: #ff9600; --c2: #ff7400; }
.b8  { --dd: 1.35s; --x: 64.85; --y: 1.53;  --w: 21.07; --f: .205; --mw: 31; --mf: .19;  --o: 7;  --d: 1.15s;--t: 1.7s;                             --g: 2.9s; --c1: #ffe100; --c2: #ffb800; }
.b9  { --dd: 1.2s;  --x: 51.81; --y: 39.91; --w: 17.73; --f: .19;  --mw: 29; --mf: .175; --o: 11; --d: 1.3s; --t: 1.6s;                             --g: 3.3s; --c1: #ffa800; --c2: #ff8a00; }
.b10 { --dd: 1.5s;  --x: 73.28; --y: 31.25; --w: 25.75; --f: .16;  --mw: 36; --mf: .155; --o: 5;  --d: 1.4s; --t: 2.2s; --r: 1080deg; --ay: -8cqw;  --g: 3.5s; --c1: #ffd200; --c2: #ffa600; }
.b11 { --dd: .6s;   --x: 17.93; --y: 24.9;  --w: 30.1;  --f: .13;  --mw: 40; --mf: .15;  --o: 2;  --d: 2s;   --t: 1.1s;                             --g: 3.6s; --c1: #ff9500; --c2: #ff6a00; }

.f4u-ready .f4u-b { opacity: 0; }
.f4u-ready.go .f4u-b { opacity: 1; animation: f4uRollPlain 1.7s cubic-bezier(.22, .75, .3, 1) var(--dd) both; }
.f4u-ready.go .f4u-b::after { animation: f4uGlow var(--g, 3s) ease-in-out calc(var(--dd) + 1.7s) infinite alternate; }
@keyframes f4uRollPlain {
  0%   { transform: translateX(-110cqw) rotate(-720deg); opacity: 0; }
  15%  { opacity: 1; }
  80%  { transform: translateX(1.2cqw) rotate(10deg); }
  100% { transform: none; opacity: 1; }
}
@keyframes f4uRoll {
  0%   { transform: translate(-110cqw, var(--ay, 0cqw)) rotate(calc(-1 * var(--r, 720deg))); opacity: 0; }
  15%  { opacity: 1; }
  80%  { transform: translateX(1.2cqw) rotate(10deg); }
  100% { transform: none; opacity: 1; }
}
@keyframes f4uDrop {
  0%   { transform: translateY(-90cqw) rotate(-25deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  10%  { opacity: 1; }
  50%  { transform: translateY(0) scale(1.06, .92); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  66%  { transform: translateY(-5cqw) scale(.98, 1.02); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  80%  { transform: translateY(0) scale(1.03, .96); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  90%  { transform: translateY(-1.2cqw); }
  100% { transform: none; opacity: 1; }
}
@keyframes f4uPop {
  0%   { transform: scale(0); opacity: 0; }
  55%  { transform: scale(1.15); opacity: 1; }
  75%  { transform: scale(.94); }
  90%  { transform: scale(1.03); }
  100% { transform: none; opacity: 1; }
}
@keyframes f4uGlow { from { opacity: .1; } to { opacity: .85; } }

@container (max-width: 480px) {
  .f4u-bubbles {
    aspect-ratio: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5cqw 2cqw;
    padding: 6cqw 0;
  }
  .f4u-b { position: relative; left: auto; top: auto; --wm: var(--mw, 28); --fm: var(--mf, .16); order: var(--o, 0); }
  .f4u-ready.go .f4u-b { animation: f4uRoll var(--t, 1.7s) cubic-bezier(.22, .75, .3, 1) var(--d) both; }
  .f4u-ready.go .f4u-b.drop { animation-name: f4uDrop; animation-timing-function: linear; }
  .f4u-ready.go .f4u-b.pop { animation-name: f4uPop; animation-timing-function: ease-out; }
  .f4u-ready.go .f4u-b::after { animation-delay: calc(var(--d) + var(--t, 1.7s)); }
}
@media (prefers-reduced-motion: reduce) {
  .f4u-ready .f4u-b,
  .f4u-ready.go .f4u-b { opacity: 1; animation: none; }
  .f4u-ready.go .f4u-b::after { animation: none; opacity: .4; }
}

/* ---------- Firmenfitness ---------- */
.partners { padding: 4rem 0; }
.partners__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1000px) { .partners__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partners__grid { grid-template-columns: 1fr; } }
.partner {
  border: 2px solid #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partner img { height: 90px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 1rem; }
.partner p { font-size: 0.875rem; color: var(--muted); }
.partner .btn { margin-top: auto; }

/* ---------- Kontakt ---------- */
.contact { padding: 2rem 0 4rem; }
.contact__box {
  background: var(--orange);
  color: #1a1a1a;
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}
.contact__box h2 {
  font-family: "Amatic SC", "Arial Narrow", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.contact address {
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.6;
}
.contact address a { color: #000; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact address a:hover { color: #fff; }
.contact .social { display: flex; justify-content: center; gap: 0.75rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.contact .social a { color: #1a1a1a; }
.contact .social a:hover { color: #fff; }
.contact .social .icon { width: 1.6rem; height: 1.6rem; }
.map { margin: 0; }
.map a { display: block; border-radius: 12px; overflow: hidden; }
.map img { width: 100%; aspect-ratio: 1400 / 600; object-fit: cover; }
.map figcaption {
  font-size: 0.8rem;
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.25rem;
}
.map figcaption a { color: #1a1a1a; font-weight: 700; }

/* ---------- 360°-Rundgang ---------- */
.tour { padding: 3rem 0; }
.tour__frame {
  position: relative;
  width: min(100%, 1000px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #111 url("../img/bg-zirkel.webp") center / cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
}
.tour__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
}
.tour__consent p { max-width: 560px; font-size: 0.875rem; color: var(--muted); margin: 0; }
.tour__consent a { color: #fff; }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__hint { text-align: center; font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.tour__hint a { color: #fff; }

/* ---------- Galerie ---------- */
.gallery { padding: 3rem 0 4rem; }
.gallery__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem;
}
.gallery__grid a { display: block; overflow: hidden; }
.gallery__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.gallery__grid a:hover img { transform: scale(1.05); opacity: 0.9; }
@media (prefers-reduced-motion: reduce) {
  .gallery__grid img { transition: none; }
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4rem;
}
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox button:hover { background: var(--orange-btn); }
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ddd;
  font-size: 0.875rem;
}
@media (max-width: 600px) {
  .lightbox__stage { padding: 3.5rem 0.5rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--header);
  color: #eee;
  padding: 2.5rem 0 2rem;
  text-align: center;
  font-size: 0.95rem;
}
.site-footer address { font-style: normal; margin-bottom: 1.25rem; }
.site-footer address a { color: #fff; }
.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.site-footer nav a {
  display: inline-block;
  background: var(--orange-btn);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.site-footer nav a:hover { background: var(--orange-dark); }
.site-footer .copy { margin-top: 1.5rem; font-size: 0.8rem; color: #bbb; }

/* ---------- Rechtstexte ---------- */
.legal {
  background: #fff;
  color: #222;
  padding: 3rem 0 4rem;
}
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: #111; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; color: #111; }
.legal h3 { font-size: 1.12rem; margin-top: 1.5rem; color: #111; }
.legal h4 { font-size: 1rem; margin-top: 1.2rem; }
.legal a { color: #b34f00; overflow-wrap: anywhere; }
.legal .back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; }
.legal .upper { text-transform: none; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}
.notfound h1 {
  font-family: "Amatic SC", "Arial Narrow", sans-serif;
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--orange);
}

/* Nur für Screenreader und Suchmaschinen sichtbar (Original zeigt hier keine Überschrift) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.courses { position: relative; isolation: isolate; }
.courses::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: -1; }

/* ===== 1:1-Angleichung an das Original ===== */

/* Angebote: 6 schmale Karten mit weißem, abgerundetem Rahmen */
.offers { padding: 2.5rem 0 3rem; }
.offers .wrap { width: min(1240px, 100% - 2rem); }
.offers__grid { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 1100px) { .offers__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .offers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .offers__grid { grid-template-columns: 1fr; } }
.offer {
  background: transparent;
  border: 2px solid #fff;
  border-radius: var(--radius);
  padding: 0.75rem 0.75rem 1rem;
}
.offer img { border-radius: 10px; aspect-ratio: 4 / 3; }
.offer__body { padding: 0.75rem 0.25rem 0; }
.offer h3 {
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 0.5rem;
}
.offer p, .offer ul { font-size: 0.8125rem; color: #fff; line-height: 1.35; }
.offer .accent { color: var(--blue); }
.offer .btn { font-size: 0.75rem; padding: 0.45rem 0.9rem; }

/* Probetraining: graues, abgerundetes Panel rechts */
.feature--probe { padding: 3rem 0; }
.feature--probe .panel {
  background: rgba(70, 70, 70, 0.82);
  border-radius: 16px;
  max-width: 560px;
  font-size: 0.875rem;
}
.feature--probe .panel h2 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.875rem;
  color: #fff;
  text-align: center;
}
.feature--probe .lead { text-align: center; text-decoration: underline; }
.feature--probe .lead strong { color: #fff; }

/* Zirkeltraining und TurboSonic: Text direkt auf abgedunkeltem Bild */
.feature--zirkel, .feature--turbo { isolation: isolate; }
.feature--zirkel::before, .feature--turbo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}
.feature--zirkel .panel, .feature--turbo .panel {
  background: transparent;
  backdrop-filter: none;
  max-width: 640px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.feature--turbo .panel h3 { text-decoration: underline; font-size: 1rem; margin-top: 1rem; }

/* Galerie: 4 Spalten wie im Original */
.gallery .wrap { width: min(1000px, 100% - 2rem); }
.gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }

/* Fußzeile: drei Spalten, orange Schrift */
.site-footer { text-align: left; color: var(--orange); font-size: 0.875rem; padding: 2rem 0; }
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.site-footer address { margin: 0; text-align: center; }
.site-footer address a { color: var(--orange); text-decoration: none; }
.site-footer address a:hover { color: #fff; }
.site-footer .footer-social { display: flex; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.site-footer .footer-social a {
  display: inline-flex;
  background: #3b5998;
  color: #fff;
  padding: 0.5rem;
  border-radius: 3px;
}
.site-footer .footer-social a.ig { background: #c13584; }
.site-footer nav ul { flex-direction: column; align-items: center; gap: 0.6rem; }
.site-footer nav a { background: none; color: var(--orange); padding: 0; font-weight: 400; }
.site-footer nav a:hover { background: none; color: #fff; text-decoration: underline; }
.site-footer .copy { grid-column: 1 / -1; text-align: center; margin: 0.5rem 0 0; color: #bbb; font-size: 0.75rem; }
.site-footer .copy a { color: #ddd; }
@media (max-width: 700px) {
  .site-footer .wrap { grid-template-columns: 1fr; justify-items: center; }
}
.feature--turbo .panel .cols { columns: 1; }
.feature--turbo .panel .cols li { margin-bottom: 0; }
.feature--turbo .panel .cols li::before { content: none; }
@media (max-width: 600px) {
  .topbar .wrap { flex-wrap: nowrap; }
  .topbar .t { display: none; }
  .topbar .ico .icon { width: 1.15rem; height: 1.15rem; }
  .topbar ul { gap: 0.35rem 0.9rem; }
}
