/* ==========================================================================
   MuscleHouse GYM – Design System
   Dunkel, ruhig, präzise. Systemschrift (SF Pro auf Apple-Geräten),
   keine externen Fonts → DSGVO-freundlich und schnell.
   ========================================================================== */

:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --green: #6aba40;          /* Markengrün – exakt aus dem Logo */
  --green-deep: #6aba40;
  --green-glow: rgba(106, 186, 64, .22);
  --warn: #ffd60a;
  --red: #ff453a;

  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 56px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
::selection { background: var(--green); color: #000; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.green { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Skala ---------- */
.display { font-size: clamp(44px, 8.4vw, 104px); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
.h1 { font-size: clamp(40px, 6.2vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; color: var(--text-2); letter-spacing: -.015em; font-weight: 400; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: var(--green); letter-spacing: -.005em; margin-bottom: 14px; }
.gradient-text {
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hashtag { font-weight: 700; letter-spacing: .02em; color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--font); letter-spacing: -.01em;
  background: var(--text); color: #000; border: 0; cursor: pointer;
  transition: transform .35s var(--ease-out), background .25s, color .25s, box-shadow .35s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn-green { background: var(--green); color: #000; box-shadow: 0 8px 30px -8px var(--green-glow); }
.btn-green:hover { box-shadow: 0 10px 40px -6px rgba(106,186,64, .45); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-arrow { color: var(--green); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translate(3px, -1px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.center .actions { justify-content: center; }

/* ---------- Navigation (Glas) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(10, 10, 12, .62);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(10, 10, 12, .78); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; flex-shrink: 0; }
.brand img { width: 30px; height: auto; }
.brand b { color: var(--green); font-weight: 700; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a.btn, .nav-links a.btn:hover { color: #000; }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--text); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav.open .nav-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-cta-desktop { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 12px var(--gutter) 40px; background: rgba(0,0,0,.94);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s;
    overflow-y: auto;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 28px; font-weight: 600; color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -.03em; }
  .nav-links .btn { margin-top: 24px; font-size: 17px; border: 0; padding: 0 26px; color: #000; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Infobar (aus info.json) ---------- */
.infobar { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; z-index: 90; transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  width: min(720px, calc(100% - 2 * var(--gutter))); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.infobar.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.infobar-inner { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px;
  background: rgba(28, 28, 31, .82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 50px -20px rgba(0,0,0,.8); font-size: 14px; }
.infobar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 0 4px var(--green-glow); }
.infobar.hinweis .dot { background: var(--warn); box-shadow: 0 0 0 4px rgba(255,214,10,.2); }
.infobar.notfall .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(255,69,58,.22); }
.infobar .txt { flex: 1; color: var(--text-2); line-height: 1.35; }
.infobar .txt b { color: var(--text); font-weight: 600; margin-right: 6px; }
.infobar .more { color: var(--green); font-weight: 500; white-space: nowrap; }
.infobar .close { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--text-2); cursor: pointer; font-size: 17px; line-height: 1; flex-shrink: 0; }
.infobar .close:hover { background: rgba(255,255,255,.16); color: var(--text); }
@media (max-width: 640px) {
  .infobar-inner { flex-wrap: wrap; row-gap: 2px; padding: 12px 10px 12px 16px; }
  .infobar .txt { flex: 1 1 calc(100% - 60px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .infobar .txt b { display: block; }
  .infobar-inner { position: relative; padding-right: 48px; }
  .infobar .close { position: absolute; top: 10px; right: 10px; }
  .infobar .more { flex-basis: 100%; padding-left: 20px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section-tight { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 18px; }
.bg-2 { background: var(--bg-2); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--nav-h) + 60px) 0 100px; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards; filter: saturate(.95) brightness(.55) contrast(1.08); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(0,0,0,.6), rgba(0,0,0,.2) 75%),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.35) 70%, #000 100%); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 14px; color: var(--text-2); transition: background .25s;
}
.pill:hover { background: rgba(255,255,255,.12); }
.pill .stars { color: var(--green); letter-spacing: 1px; }
.pill .go { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--text); font-size: 13px; }
.hero h1 { margin: 28px 0 0; }
.rotator { display: block; position: relative; height: 1.04em; overflow: hidden; color: var(--green); }
.rotator span {
  position: absolute; left: 0; right: 0; top: 0;
  opacity: 0; transform: translateY(110%); filter: blur(6px);
  transition: transform .9s var(--ease-out), opacity .7s var(--ease), filter .7s var(--ease);
}
.rotator span.is-active { opacity: 1; transform: none; filter: none; }
.rotator span.is-out { opacity: 0; transform: translateY(-110%); filter: blur(6px); }
.hero .lead { max-width: 640px; margin: 28px auto 36px; color: rgba(245,245,247,.78); }
.hero .hashtag { display: block; margin-top: 30px; font-size: 14px; letter-spacing: .14em; opacity: .9; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Seiten-Hero (Unterseiten) */
.page-hero { padding: calc(var(--nav-h) + clamp(72px, 10vw, 128px)) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(106,186,64,.14), transparent 70%); pointer-events: none; }
.page-hero .lead { max-width: 720px; margin-top: 22px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.has-img { min-height: 78svh; display: flex; align-items: flex-end; isolation: isolate; }
.page-hero.has-img .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero.has-img .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.3) 40%, #000 100%); }
.page-hero.has-img::before { display: none; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(260px, auto); }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface);
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.tile p { color: var(--text-2); margin: 12px 0 0; max-width: 42ch; }
.tile .kicker { font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 10px; }
.tile.img { justify-content: flex-end; min-height: 420px; }
.tile.img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.tile.img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85)); }
.tile.img:hover > img { transform: scale(1.04); }
.tile.img.feature::after { background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.35) 55%, rgba(0,0,0,.05)), linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
@media (max-width: 700px) { .tile.img.feature::after { background: linear-gradient(180deg, rgba(0,0,0,.1) 20%, rgba(0,0,0,.9) 75%); } }
.tile.img p { color: rgba(245,245,247,.78); }
.tile .big { font-size: clamp(64px, 9vw, 120px); font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.tile .big small { font-size: .32em; letter-spacing: -.02em; color: var(--text-2); font-weight: 600; margin-left: 6px; }
.tile.glow::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(106,186,64,.28), transparent 65%); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.row-2 { grid-row: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 2; }
  .bento .half-m { grid-column: span 1; }
  .row-2 { grid-row: auto; }
}
@media (max-width: 560px) { .bento .half-m { grid-column: span 2; } }

/* ---------- Split (Template 2) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.wide { aspect-ratio: 4 / 3; }
.split h2 { margin-bottom: 22px; }
.split .lead { margin-bottom: 28px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.contact-row span { display: inline-flex; align-items: center; gap: 8px; }
.contact-row svg { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
}

/* Bild-Reveal (Clip) */
.reveal-img { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
.reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.reveal-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal-img.in img { transform: scale(1); }

/* ---------- Liste mit Häkchen ---------- */
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check li { position: relative; padding-left: 34px; color: var(--text); }
.check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236aba40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.check.compact { gap: 10px; font-size: 15px; }
.check.compact li { color: var(--text-2); }

/* ---------- Horizontaler Karussell-Scroller ---------- */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 32vw, 400px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  --bleed: calc((100vw - min(var(--wrap), 100vw)) / 2 + var(--gutter));
  padding: 4px var(--bleed) 24px var(--gutter); margin: 0 calc(-1 * var(--bleed)) 0 calc(-1 * var(--gutter));
  scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller-wrap { position: relative; }
.scroller-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.scroller-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface-2); color: var(--text); font-size: 20px; transition: background .2s, opacity .2s; }
.scroller-nav button:hover { background: #2a2a2e; }
.scroller-nav button:disabled { opacity: .35; cursor: default; }
.gcard { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.85)); }
.gcard:hover img { transform: scale(1.05); }
.gcard small { color: var(--green); font-weight: 600; font-size: 13px; }
.gcard h3 { font-size: 24px; margin-top: 6px; }

/* ---------- Reviews ---------- */
figure { margin: 0; }
.review { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); min-height: 100%; }
.review .stars { color: var(--green); letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 18px 0 24px; font-size: 19px; line-height: 1.45; letter-spacing: -.015em; color: var(--text); }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.review .avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--green); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.review .who small { display: block; color: var(--text-3); font-size: 13px; }
.scroller.reviews { grid-auto-columns: clamp(290px, 38vw, 460px); }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-glow); color: var(--green); margin-bottom: 20px; }
.card .icon svg { width: 22px; height: 22px; }
.card.highlight { background: linear-gradient(180deg, rgba(106,186,64,.10), rgba(106,186,64,.02) 40%), var(--surface); box-shadow: inset 0 0 0 1px rgba(106,186,64,.45); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; background: var(--green); color: #000; margin-bottom: 16px; }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; background: var(--surface); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); }
.plan.highlight { background: linear-gradient(180deg, rgba(106,186,64,.12), rgba(106,186,64,0) 55%), var(--surface); box-shadow: inset 0 0 0 1px rgba(106,186,64,.55), 0 30px 80px -40px rgba(106,186,64,.45); }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan .price { font-size: 52px; font-weight: 700; letter-spacing: -.045em; margin: 18px 0 2px; line-height: 1; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--text-2); letter-spacing: -.01em; margin-left: 4px; }
.plan .term { color: var(--text-2); font-size: 15px; margin: 8px 0 24px; min-height: 2.9em; }
.plan .check { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plans-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.plan.row { flex-direction: row; align-items: center; gap: 24px; padding: 26px 30px; }
.plan.row .price { font-size: 38px; margin: 0 0 0 auto; white-space: nowrap; }
.plan.row .term { margin: 4px 0 0; min-height: 0; }
.plan.row > div:first-child { min-width: 0; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plans-secondary { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .plan.row { flex-direction: column; align-items: flex-start; } .plan.row .btn { margin: 12px 0 0; width: 100%; } }

.price-xl { font-size: clamp(48px, 6vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 12px 0 6px; }
.price-xl small { font-size: 17px; color: var(--text-2); font-weight: 500; letter-spacing: -.01em; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 4px; }
.step { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 15px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-glow); }
.step h3, .step strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-2); }

/* ---------- Regeln ---------- */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: r; }
.rule { position: relative; padding: 30px 30px 30px 30px; background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.rule::before { counter-increment: r; content: counter(r, decimal-leading-zero); display: block; font-size: 44px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--green); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.rule h3 { font-size: 21px; margin-bottom: 8px; }
.rule p { color: var(--text-2); margin: 0; }
@media (max-width: 720px) { .rules { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.member { background: var(--surface); border-radius: var(--radius-sm); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.member .avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--green); font-weight: 700; font-size: 18px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.member b { display: block; font-weight: 600; }
.member span { color: var(--text-2); font-size: 14px; line-height: 1.35; display: block; margin-top: 2px; }

/* ---------- Infoboard ---------- */
.infoboard { display: none; }
.infoboard.show { display: block; }
.msgs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.msg { position: relative; padding: 24px 26px 24px 26px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.msg::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); }
.msg.hinweis::before { background: var(--warn); }
.msg.notfall::before { background: var(--red); }
.msg .when { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.msg h3 { font-size: 19px; margin-bottom: 6px; }
.msg p { margin: 0; color: var(--text-2); font-size: 15px; }
.msg a { color: var(--green); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; padding: 0 28px; color: var(--text-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.marquee span.hl { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Big CTA ---------- */
.cta { text-align: center; padding: clamp(110px, 16vw, 200px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(circle, rgba(106,186,64,.18), transparent 60%); }
.cta .lead { margin: 22px auto 40px; max-width: 560px; }

/* ---------- Forms ---------- */
form .field { display: grid; gap: 8px; }
label { font-size: 14px; color: var(--text-2); font-weight: 500; }
input, select, textarea {
  width: 100%; font: 400 17px/1.3 var(--font); color: var(--text); letter-spacing: -.01em;
  background: var(--surface-2); border: 0; border-radius: 12px; padding: 14px 16px; min-height: 52px;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--green); background: #222226; }
input[type="date"] { color-scheme: dark; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form-stack { display: grid; gap: 18px; }
.stepnum { font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: .01em; margin-bottom: 14px; text-transform: none; }
.choice { display: grid; gap: 10px; }
.choice label { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background .2s; color: var(--text); }
.choice label:hover { background: #232327; }
.choice input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; }
.choice label > span { flex: 1; display: block; }
.choice label b { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 16px; }
.choice label small { display: block; color: var(--text-2); font-size: 14px; margin-top: 3px; font-weight: 400; }
.choice label::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--text-3); transition: box-shadow .2s, background .2s; }
.choice label.cb::before { border-radius: 6px; }
.choice label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); background: rgba(106,186,64,.07); }
.choice label:has(input:checked)::before { box-shadow: inset 0 0 0 6px var(--green); }
.choice label.cb:has(input:checked)::before { box-shadow: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.choice label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.choice.grid2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .choice.grid2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; border-radius: 6px; flex-shrink: 0; cursor: pointer; }
.consent input:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; box-shadow: none; }
.consent a, .prose a, .card a:not(.btn) { color: var(--green); }
.form-status { font-size: 14px; color: var(--text-2); margin: 0; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* Hinweis-/Platzhalter */
.ph { background: rgba(255,214,10,.14); color: #ffe066; padding: 1px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,214,10,.3); }
.notice { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 15px; }

/* Öffnungszeiten-Tabelle */
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; }
.hours dt { color: var(--text-2); }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

/* Warenkorb */
.cart table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cart td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.cart td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart .total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 6px; }
.cart .total .price-xl { margin: 0; font-size: 40px; }
.sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.paybox { margin-top: 18px; padding: 22px; border-radius: var(--radius-sm); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.paybox p { margin: 0 0 6px; }
.paybox code { font: 500 15px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); }

/* Karte (DSGVO: erst nach Klick) */
.map-consent { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; text-align: center; padding: 30px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
.map-consent p { max-width: 340px; margin: 0 auto 18px; color: var(--text-2); font-size: 15px; }

/* Store-Badges */
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 12px; background: #fff; color: #000; transition: transform .3s var(--ease-out); }
.badge:hover { transform: translateY(-2px); }
.badge svg { width: 24px; height: 24px; }
.badge span { display: flex; flex-direction: column; line-height: 1.05; }
.badge small { font-size: 11px; }
.badge b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }

/* Prose (Rechtliches) */
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); }
.prose p strong { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 72px 0 36px; font-size: 14px; color: var(--text-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-logo { width: 150px; margin-bottom: 18px; }
.footer h4 { color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: -.005em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; color: var(--text-3); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 22px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: span 2; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } .footer-top > :first-child { grid-column: auto; } }

/* ---------- Scroll-Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-in { opacity: 0; transform: translateY(24px); filter: blur(8px); animation: heroIn 1.3s var(--ease-out) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero-in { opacity: 1; transform: none; filter: none; }
  .reveal-img { clip-path: none; } .reveal-img img { transform: none; }
}

/* ---------- Feinschliff Mobil ---------- */
@media (max-width: 480px) {
  .pill { font-size: 13px; white-space: nowrap; gap: 8px; }
  .pill .stars { letter-spacing: 0; }
  .hero .actions .btn { width: 100%; }
  .hero .actions { max-width: 320px; margin: 0 auto; }
  .tile.img { min-height: 380px; }
}
@media (max-width: 960px) {
  .nav-links { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open { background: #000; border-bottom-color: var(--line); }
  body.nav-open .infobar { opacity: 0; pointer-events: none; }
}

/* ==========================================================================
   v3 – Logo-Schriftzug, Hover-Interaktionen, Bewegung
   ========================================================================== */

/* Logo: echter Schriftzug aus dem Markenlogo (oberer Streifen der Logo-Datei) */
.brand { gap: 10px; }
.brand-emblem { width: 30px; height: auto; transition: transform .6s var(--ease-out); }
.brand:hover .brand-emblem { transform: rotate(-8deg) scale(1.08); }
.brand-wm { display: block; width: 168px; height: calc(168px * 55 / 600); overflow: hidden; flex-shrink: 0; }
.brand-wm img { width: 168px; max-width: none; height: auto; display: block; }
.brand-gym { font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--text); padding: 3px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); line-height: 1; transition: box-shadow .3s, color .3s; }
.brand:hover .brand-gym { color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
@media (max-width: 420px) { .brand-wm { width: 138px; height: calc(138px * 55 / 600); } .brand-wm img { width: 138px; } .brand-gym { display: none; } }

/* Scroll-Fortschritt */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--green-deep), var(--green)); box-shadow: 0 0 12px var(--green-glow); pointer-events: none; }

/* Nav-Links: Unterstrich wächst aus der Mitte */
@media (min-width: 961px) {
  .nav-links a:not(.btn) { position: relative; padding: 6px 0; }
  .nav-links a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1.5px; border-radius: 2px; background: var(--green); transition: left .4s var(--ease-out), right .4s var(--ease-out); }
  .nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { left: 0; right: 0; }
}

/* Buttons: Glanz-Sweep + Pfeil */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn:hover::before { transform: translateX(120%); }
.btn-ghost::before { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); }
.btn .arr { display: inline-block; transition: transform .4s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.link-arrow { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out); padding-bottom: 2px; }
.link-arrow:hover { background-size: calc(100% - 1.1em) 1px; }

/* Spotlight + Lift auf allen Karten */
.card, .plan, .review, .rule, .member, .msg, .tile:not(.img), .stat { position: relative; isolation: isolate; }
.card, .plan, .review, .rule, .member, .msg, .tile {
  transition: transform .6s var(--ease-out), box-shadow .5s var(--ease), background-color .4s;
}
.card::after, .plan::after, .review::after, .rule::after, .member::after, .msg::after, .tile:not(.img)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(106,186,64,.13), transparent 45%);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover, .plan:hover, .review:hover, .rule:hover, .member:hover, .msg:hover, .tile:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 1px rgba(106,186,64,.35), 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(106,186,64,.06);
  }
  .plan.highlight:hover { box-shadow: inset 0 0 0 1px rgba(106,186,64,.8), 0 40px 90px -40px rgba(106,186,64,.55); }
  .card:hover::after, .plan:hover::after, .review:hover::after, .rule:hover::after, .member:hover::after, .msg:hover::after, .tile:not(.img):hover::after { opacity: 1; }
  .card .icon, .member .avatar { transition: transform .6s var(--ease-out), background .3s, color .3s; }
  .card:hover .icon { transform: translateY(-3px) rotate(-6deg) scale(1.08); background: var(--green); color: #000; }
  .member:hover .avatar { transform: scale(1.1); background: var(--green); color: #000; }
  .rule::before { transition: transform .6s var(--ease-out), color .3s; transform-origin: 0 100%; }
  .rule:hover::before { transform: scale(1.18); }
  .stat strong { transition: color .4s, transform .6s var(--ease-out); }
  .stat:hover strong { color: var(--green); transform: scale(1.06); }
  .review:hover .avatar { background: var(--green); color: #000; }
}

/* Bild-Kacheln: Zoom, Caption hebt sich, Glanzkante */
.tile.img > img, .gcard img, .split-media img { will-change: transform; }
.tile.img .kicker, .tile.img h3, .tile.img p, .gcard small, .gcard h3 { transition: transform .7s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile.img:hover > img { transform: scale(1.06); }
  .tile.img:hover .kicker, .tile.img:hover h3, .tile.img:hover p { transform: translateY(-6px); }
  .gcard:hover small, .gcard:hover h3 { transform: translateY(-8px); }
  .split-media:hover img { transform: scale(1.04); }
}
.split-media img { transition: transform 1.4s var(--ease-out); }
.gcard { transition: transform .7s var(--ease-out), box-shadow .5s; }
.gcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; }
.gcard .plus { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; z-index: 3;
  background: rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 20px; line-height: 1;
  opacity: 0; transform: scale(.6) rotate(-90deg); transition: opacity .4s, transform .6s var(--ease-out), background .3s; }
@media (hover: hover) and (pointer: fine) {
  .gcard:hover { box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
  .gcard:hover::before { box-shadow: inset 0 0 0 1px rgba(106,186,64,.5); }
  .gcard:hover .plus { opacity: 1; transform: none; background: var(--green); color: #000; }
}
/* 3D-Neigung (per JS) */
[data-tilt] { transform-style: preserve-3d; }

/* Bento-Kachel „Rund um die Uhr“: pulsierender Live-Punkt */
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(106,186,64,.6); } 70% { box-shadow: 0 0 0 10px rgba(106,186,64,0); } 100% { box-shadow: 0 0 0 0 rgba(106,186,64,0); } }

/* Formular-Felder: sanfter Fokus-Glow */
input:hover, select:hover, textarea:hover { background-color: #202024; }
input:focus, select:focus, textarea:focus { box-shadow: inset 0 0 0 2px var(--green), 0 0 0 5px rgba(106,186,64,.12); }
.choice label { transition: box-shadow .25s, background .25s, transform .4s var(--ease-out); }
.choice label:active { transform: scale(.985); }

/* Überschriften: Wort-für-Wort-Einblendung */
.js .split-words .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px);
  transition: opacity .8s var(--ease), transform 1s var(--ease-out), filter .8s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .split-words.in .w { opacity: 1; transform: none; filter: none; }

/* Hero: Parallax-Variablen */
.hero-media { transform: translate3d(0, var(--hero-y, 0px), 0); will-change: transform; }
.hero [data-hero] { opacity: var(--hero-o, 1); transform: translate3d(0, var(--hero-ty, 0px), 0); }

/* Scroller-Pfeile */
.scroller-nav button { transition: background .25s, opacity .2s, transform .4s var(--ease-out); }
.scroller-nav button:not(:disabled):hover { background: var(--green); color: #000; transform: scale(1.08); }

/* Footer-Links */
.footer a { transition: color .2s, padding-left .35s var(--ease-out); }
.footer ul a:hover { color: var(--green); padding-left: 4px; }

@media (prefers-reduced-motion: reduce) {
  .js .split-words .w { opacity: 1; transform: none; filter: none; }
  .progress { display: none; }
}

/* v4 – Feinschliff */
.brand-gym, .brand:hover .brand-gym { box-shadow: none; padding: 0; }
.slash { display: inline-block; margin: 0 .1em; }
.pricelist li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pricelist li b { font-weight: 600; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tile .big small.pre { margin: 0 .12em 0 0; font-size: .34em; }
.stat strong .slash { display: inline-block; margin: 0 .1em; font-size: inherit; color: inherit; }

/* v5 – Straffere vertikale Rhythmik */
.section { padding: clamp(56px, 6.5vw, 96px) 0; }
.section-tight { padding: clamp(40px, 4.5vw, 64px) 0; }
/* Zwei Abschnitte mit gleichem Hintergrund direkt untereinander: Abstand nicht verdoppeln */
.section:not(.bg-2) + .section:not(.bg-2),
.section:not(.bg-2) + .section-tight:not(.bg-2),
.section-tight:not(.bg-2) + .section:not(.bg-2),
.section-tight:not(.bg-2) + .section-tight:not(.bg-2),
.bg-2 + .bg-2 { padding-top: 0; }
.section-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head .lead { margin-top: 14px; }
.cta { padding: clamp(72px, 9vw, 120px) 0; }
.cta .lead { margin: 18px auto 30px; }
.page-hero { padding: calc(var(--nav-h) + clamp(48px, 6vw, 88px)) 0 clamp(32px, 4vw, 56px); }
.page-hero.has-img { min-height: 64svh; }
.stat { padding: 30px 16px; }
.marquee { padding: 16px 0; }
.split { gap: clamp(28px, 5vw, 72px); }
.split .lead { margin-bottom: 22px; }
.split h2 { margin-bottom: 16px; }
.hero { padding-bottom: 80px; }
.footer { padding-top: 56px; }
.footer-top { padding-bottom: 36px; }

/* v6 – Laufband: Großschrift, 24/7 nicht mehr zerrissen */
.marquee span { display: inline; padding: 0; gap: 0; font-size: inherit; color: inherit; }
.marquee span::after { content: none; }
.marquee-track > span { display: inline-flex; align-items: center; padding: 0 30px; white-space: nowrap; color: var(--text-3);
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.marquee-track > span.hl { color: var(--text); }
.marquee-track > span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: 60px; flex-shrink: 0; }
.marquee .slash { display: inline-block; margin: 0 .12em; }

/* v7 – Ausstattung als rotierender Bogen (Arch Gallery) */
.arch { position: relative; --cw: clamp(190px, 24vw, 320px); }
.arch-stage { position: relative; height: calc(var(--cw) * 1.333 + clamp(70px, 8vw, 120px)); margin: 0 calc(-1 * var(--gutter)); overflow: hidden;
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.arch-stage.dragging { cursor: grabbing; }
.arch-card {
  position: absolute; left: 50%; top: 18px; width: var(--cw); aspect-ratio: 3 / 4; margin: 0 0 0 calc(var(--cw) / -2);
  border-radius: 28px; overflow: hidden; background: var(--surface); cursor: pointer;
  transform-origin: 50% 120%;
  transform: translateX(var(--x, 0px)) translateY(var(--y, 0px)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  opacity: var(--o, 1); z-index: var(--z, 1);
  transition: transform 1s var(--ease-out), opacity .7s var(--ease), box-shadow .5s, filter .7s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08);
  filter: brightness(var(--b, 1)) saturate(var(--sat, 1));
}
.arch-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease-out); }
.arch-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; }
.arch-card.is-active { box-shadow: 0 40px 90px -30px rgba(106,186,64,.35), 0 30px 60px -30px rgba(0,0,0,.9); }
.arch-card.is-active::after { box-shadow: inset 0 0 0 1.5px rgba(106,186,64,.6); }
.arch-stage.dragging .arch-card { transition: opacity .7s var(--ease), filter .7s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .arch-card:hover { transform: translateX(var(--x, 0px)) translateY(calc(var(--y, 0px) - 16px)) rotate(var(--r, 0deg)) scale(calc(var(--s, 1) * 1.05)); --b: 1; --sat: 1; }
  .arch-card:hover img { transform: scale(1.06); }
}
.arch-caption { text-align: center; min-height: 72px; margin-top: 4px; }
.arch-caption small { display: block; color: var(--green); font-weight: 600; font-size: 14px; }
.arch-caption h3 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 6px; }
.arch-caption.swap small, .arch-caption.swap h3 { animation: capIn .7s var(--ease-out); }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.arch-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.arch-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface-2); color: var(--text); font-size: 20px; transition: background .25s, color .25s, transform .4s var(--ease-out); }
.arch-nav button:hover { background: var(--green); color: #000; transform: scale(1.08); }
.arch-dots { display: flex; gap: 8px; }
.arch-dots button { width: 7px; height: 7px; padding: 0; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .5s var(--ease-out), background .3s; }
.arch-dots button:hover { background: rgba(255,255,255,.5); transform: none; }
.arch-dots button[aria-selected="true"] { width: 26px; background: var(--green); }
.arch-dots button.prog { position: relative; overflow: hidden; }

/* v8 – Scroll-Elemente entfernt */
.scroll-hint, .progress { display: none !important; }

/* v8 – FAQ (Akkordeon) */
.faq-wrap { max-width: 900px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -.02em; transition: color .25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text); font-size: 20px; font-weight: 400; transition: transform .5s var(--ease-out), background .25s, color .25s; }
.faq-item summary:hover { color: var(--green); }
.faq-item summary:hover::after { background: var(--green); color: #000; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--green); color: #000; }
.faq-item p { margin: -6px 0 24px; color: var(--text-2); max-width: 70ch; animation: capIn .5s var(--ease-out); }

/* v8 – Hero-Komposition: Bank mit gesticktem Logo links, Text rechts */
@media (min-width: 900px) {
  .hero { text-align: left; }
  .hero > .wrap { display: flex; justify-content: flex-end; }
  .hero [data-hero] { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-copy { width: min(600px, 52%); display: flex; flex-direction: column; align-items: flex-start; }
  .hero .lead { margin-left: 0; margin-right: 0; }
  .hero .actions { justify-content: flex-start !important; }
  .hero .rotator span { text-align: left; }
  .hero::after { background:
      linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.72) 62%, rgba(0,0,0,.82) 100%),
      linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 70%, #000 100%); }
  .hero-media img { object-position: 30% 50%; filter: saturate(.95) brightness(.8) contrast(1.06); }
}
@media (max-width: 899px) {
  .hero-media img { object-position: 22% 50%; }
}
@media (min-width: 900px) {
  .hero-copy { width: min(640px, 54%); }
  .hero-copy h1 { align-self: stretch; font-size: clamp(56px, 6.4vw, 92px); }
}
i.slash { font-style: normal; display: inline-block; margin: 0 .1em; }
.grid.keep2 { grid-template-columns: 1fr 1fr !important; }
@media (max-width: 620px) { .grid.keep2 > :nth-child(2) { margin-top: 28px !important; } }

/* Mobil: Bild oben (Logo-Bank sichtbar), Text darunter – keine Überlagerung */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; padding: var(--nav-h) 0 56px; text-align: center; }
  .hero-media { position: relative; inset: auto; height: 50svh; min-height: 300px; margin-bottom: -64px; z-index: 0; }
  .hero-media img { object-position: 24% 52%; transform: none; animation: none; filter: saturate(.95) brightness(.85) contrast(1.06); }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.2) 60%, #000 100%); }
  .hero::after { display: none; }
  .hero > .wrap { position: relative; z-index: 1; }
  .hero h1 { margin-top: 20px; }
  .hero .lead { margin: 20px auto 28px; }
}
@media (max-width: 899px) {
  .hero-media { transform: none !important; }
  .hero [data-hero] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   v9 – Barrierefreiheit, Region, flüssige Darstellung auf Mobilgeräten
   ========================================================================== */
:root { --text-3: #8e8e93; }               /* Kontrast ≥ 4.5:1 auf Schwarz */
body { overflow-x: hidden; overflow-x: clip; }

/* Sprunglink: bei Tastatur-Fokus sichtbar */
.skip { position: absolute; left: 12px; top: -64px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--green); color: #000; font-weight: 600; transition: top .2s; }
.skip:focus { top: 10px; }

.footer .fh { color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; margin: 0 0 14px; }
.footer address { font-style: normal; }

/* Aus der Region */
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.towns li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.towns b { font-weight: 600; }
.towns span { color: var(--text-2); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 380px) { .towns { grid-template-columns: 1fr; } }

/* Arch Gallery: Abdunkeln per Overlay (GPU) statt CSS-Filter, Pause-Taste, größere Trefferflächen */
.arch-card { filter: none !important; transition: transform 1s var(--ease-out), opacity .7s var(--ease), box-shadow .5s; }
.arch-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: var(--dim, 0); transition: opacity .7s var(--ease); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .arch-card:hover { --dim: 0; } }
.arch-nav { gap: 10px; }
.arch-dots { gap: 0; }
.arch-dots button { width: 20px; height: 32px; padding: 0; background: none !important; display: grid; place-items: center; transition: width .5s var(--ease-out); }
.arch-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.3); transition: width .5s var(--ease-out), background .3s; }
.arch-dots button:hover::before { background: rgba(255,255,255,.6); }
.arch-dots button[aria-current="true"] { width: 38px; }
.arch-dots button[aria-current="true"]::before { width: 26px; background: var(--green); }
.arch-pause svg { width: 16px; height: 16px; fill: currentColor; display: block; margin: auto; }
.arch-pause .i-play { display: none; }
.arch-pause[aria-pressed="true"] .i-play { display: inline; }
.arch-pause[aria-pressed="true"] .i-pause { display: none; }
.arch:focus-visible { outline-offset: 8px; border-radius: 12px; }

/* Laufband anhalten, wenn man drauf zeigt */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Performance: keine dauerhaften GPU-Ebenen für alle Bilder */
.tile.img > img, .gcard img, .split-media img { will-change: auto; }

/* Touch-Geräte & schmale Bildschirme: nur Transform/Opacity animieren (kein Blur, kein Clip-Path) */
@media (hover: none), (max-width: 899px) {
  .js .reveal-img { clip-path: none; opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
  .js .reveal-img img { transform: none; transition: none; }
  .js .reveal-img.in { opacity: 1; transform: none; }
  .js .split-words .w, .js .hero-in, .rotator span, .rotator span.is-out { filter: none; }
  .arch-caption.swap small, .arch-caption.swap h3 { animation-name: capInM; }
  .btn-ghost, .pill { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn-ghost { background: rgba(255,255,255,.12); }
}
@keyframes capInM { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal-img, .js .reveal-img img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}

/* v9 – Mobile-Layout absichern */
.split > *, .grid > *, .bento > *, .plans > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 860px) { .sticky { position: static; } }
@media (max-width: 560px) {
  .towns li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; }
}
@media (max-width: 380px) { .pill { white-space: normal; text-align: left; } }
/* Links im Fließtext nicht nur über Farbe erkennbar */
p a:not(.btn):not(.link-arrow), label a, .prose a, .msg a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.scroller:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--radius); }
.arch-dots button { width: 24px; }
.arch-dots button[aria-current="true"] { width: 40px; }
@media (max-width: 440px) {
  .arch-nav { flex-wrap: wrap; row-gap: 6px; }
  .arch-dots { order: -1; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 380px) { .towns { grid-template-columns: 1fr 1fr; } .towns li { padding: 12px 14px; } .towns b { font-size: 15px; } .towns span { font-size: 13px; } }

/* ---------- v10: Team – größere Karten, Edona mittig erhöht ---------- */
.team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.member { padding: 28px 18px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 200px; justify-content: center; }
.member .avatar { width: 72px; height: 72px; font-size: 26px; margin: 0 0 18px; }
.member b { font-size: 19px; letter-spacing: -.01em; }
.member span { font-size: 14px; margin-top: 4px; }
.member.lead-member { grid-column: 1 / -1; justify-self: center; width: min(100%, 300px); min-height: 240px; box-shadow: inset 0 0 0 1px rgba(106,186,64,.55), 0 20px 50px -20px rgba(106,186,64,.35); background: linear-gradient(180deg, rgba(106,186,64,.12), var(--surface) 70%); }
.member.lead-member .avatar { width: 96px; height: 96px; font-size: 34px; background: var(--green); color: #000; box-shadow: none; }
.member.lead-member b { font-size: 22px; }
.member.lead-member span { color: var(--green); }
@media (min-width: 1100px) {
  .team { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .member { min-height: 230px; }
  .member.lead-member { grid-column: auto; width: auto; order: 4; margin-top: -36px; min-height: 0; }
  .team > :nth-child(2), .team > :nth-child(3), .team > :nth-child(4) { order: 1; }
  .team > :nth-child(5), .team > :nth-child(6), .team > :nth-child(7) { order: 5; }
  .team { padding-top: 32px; }
}
@media (max-width: 560px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .member { min-height: 170px; padding: 22px 12px; }
  .member .avatar { width: 60px; height: 60px; font-size: 22px; margin-bottom: 14px; }
  .member b { font-size: 17px; }
  .team > :last-child:nth-child(even) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
}

/* ---------- v11: Nach-oben-Button + AGB-Tabelle ---------- */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(28,28,30,.92); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong), 0 10px 30px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s, background .2s, color .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease-out), visibility 0s, background .2s, color .2s; }
.to-top:hover { background: var(--green); color: #000; }
.to-top:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
body.nav-open .to-top { opacity: 0; visibility: hidden; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.table-scroll { overflow-x: auto; margin: 0 0 20px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); }
.table-scroll:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.legal-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; color: var(--text-2); }
.legal-table th { text-align: left; color: var(--text); font-weight: 600; padding: 12px 14px; background: var(--surface); }
.legal-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.legal-table td:first-child { color: var(--text); }
#main:focus { outline: none; }
@media (max-width: 600px) {
  .table-scroll { overflow: visible; box-shadow: none; border-radius: 0; }
  .legal-table { min-width: 0; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table tr { display: block; padding: 14px 16px; margin-bottom: 10px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .legal-table td { display: block; padding: 2px 0; border: 0; }
  .legal-table td:first-child { font-weight: 600; margin-bottom: 6px; }
  .legal-table td[data-label]::before { content: attr(data-label) ": "; color: var(--text-3); }
}

/* ---------- v12: FAQ-Fragetext, Regionskarte ---------- */
.faq-item summary > span { min-width: 0; }
.region-split { align-items: center; margin-bottom: 28px; }
.region-map { margin: 0; position: relative; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.region-map figcaption { position: absolute; left: 16px; bottom: 12px; font-size: 12px; color: var(--text-3); }
.rmap { display: block; width: 100%; height: auto; font-family: inherit; }
.rmap-dot { fill: rgba(255,255,255,.07); }
.rmap-river { fill: none; stroke: rgba(90,150,220,.38); stroke-width: 7; stroke-linecap: round; }
.rmap-tag.river { fill: rgba(120,170,230,.7); font-size: 14px; font-style: italic; letter-spacing: .04em; }
.rmap-road { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 3; stroke-dasharray: 10 8; stroke-linecap: round; }
.rmap-shield rect { fill: #1d4fa3; stroke: rgba(255,255,255,.6); stroke-width: 1.2; }
.rmap-shield text { fill: #fff; font-size: 13px; font-weight: 700; text-anchor: middle; }
.rmap-line { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s cubic-bezier(.45,0,.2,1) var(--d, 0s), opacity .25s, stroke-width .25s; }
.rmap.go .rmap-line { stroke-dashoffset: 0; }
.rmap-car { fill: #fff; filter: drop-shadow(0 0 6px rgba(106,186,64,.9)); }
.rmap-town circle { fill: var(--surface-2, #2c2c2e); stroke: rgba(255,255,255,.75); stroke-width: 2; transition: fill .25s, stroke .25s; }
.rmap-town text, .rmap-gym text { fill: var(--text); font-size: 17px; font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.rmap-gym text { fill: var(--green); font-size: 18px; font-weight: 700; }
.rmap-pin { fill: var(--green); }
.rmap-pulse { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.rmap.go .rmap-pulse { animation: rmapPulse 1.6s ease-out 1.6s 3; }
@keyframes rmapPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.rmap-route.hl .rmap-line { opacity: 1; stroke-width: 4; }
.rmap-town.hl circle { fill: var(--green); stroke: var(--green); }
.towns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.towns li { transition: box-shadow .25s, background .25s; }
.towns li.hl { box-shadow: inset 0 0 0 1px var(--green); }
@media (max-width: 960px) { .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .region-map { margin-top: 8px; } }
@media (max-width: 640px) {
  .towns { grid-template-columns: 1fr 1fr; }
  .rmap-town text { font-size: 21px; }
  .rmap-gym text { font-size: 22px; }
  .region-map figcaption { position: static; padding: 0 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rmap-line { stroke-dashoffset: 0; transition: none; }
  .rmap-car { display: none; }
  .rmap.go .rmap-pulse { animation: none; }
}
.region-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 860px) { .region-split { grid-template-columns: 1fr; } }
.region-map figcaption { top: auto; bottom: 12px; left: 16px; }
@media (max-width: 640px) { .region-map figcaption { position: static; padding: 0 16px 12px; } }

/* ---------- v13: Regionskarte schwarz-weiß mit Gemeindegrenzen ---------- */
.region-map { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.rmap-bg { fill: #000; }
.rmap-b8 { fill: none; stroke: rgba(255,255,255,.2); stroke-width: .7; stroke-linejoin: round; }
.rmap-b6 { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.2; stroke-linejoin: round; }
.rmap-area { fill: #fff; opacity: 0; transition: opacity .3s; }
.rmap-area.hl { opacity: .13; }
.rmap-home { fill: rgba(106,186,64,.22); stroke: var(--green); stroke-width: 1.4; }
.rmap-river { stroke: rgba(110,165,235,.55); stroke-width: 3.2; }
.rmap-river.small { stroke-width: 1.6; stroke: rgba(110,165,235,.4); }
.rmap-road { stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 7 6; }
.rmap-line { transition: stroke-dashoffset 1.1s cubic-bezier(.45,0,.2,1) calc(var(--d, 0s) + .2s), opacity .25s, stroke-width .25s; opacity: .7; }
.rmap-town { opacity: 0; transition: opacity .45s ease var(--d, 0s); cursor: pointer; }
.rmap.go .rmap-town { opacity: 1; }
.rmap-town .hit { fill: transparent; }
.rmap-town .dot { fill: #000; stroke: #fff; stroke-width: 2; transition: fill .25s, stroke .25s; }
.rmap-town .name { fill: #fff; font-size: 17px; font-weight: 600; paint-order: stroke; stroke: #000; stroke-width: 5px; stroke-linejoin: round; }
.rmap-town .time { fill: var(--green); font-size: 15px; font-weight: 700; paint-order: stroke; stroke: #000; stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.rmap-town.show .time, .rmap-town.hl .time { opacity: 1; }
.rmap-town.hl .dot { fill: var(--green); stroke: var(--green); }
.rmap-town.hl .name { fill: var(--green); }
.rmap-gym text { stroke: #000; }
.region-map figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .rmap-town .name { font-size: 21px; }
  .rmap-town .time { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .rmap-town { opacity: 1; transition: none; }
}
.rmap-town .hit { fill: transparent; stroke: none; }
.region-map figcaption { background: rgba(0,0,0,.75); padding: 4px 8px; border-radius: 6px; left: 10px; bottom: 10px; }
@media (max-width: 640px) { .region-map figcaption { background: none; padding: 0 16px 12px; } }
.rmap-town.hl .hit { fill: transparent; stroke: none; }

/* ---------- v14: Regionskarte im modernen Kartenstil ---------- */
.amap-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .amap-grid { grid-template-columns: 1fr; } }
.amap { position: relative; margin: 0; background: #000; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.amap-svg { display: block; width: 100%; height: auto; }
.am-munis { fill: none; stroke: rgba(255,255,255,.2); stroke-width: .8; stroke-linejoin: round; }
.am-area { fill: #0c0c0e; stroke: rgba(255,255,255,.92); stroke-width: 1.5; stroke-linejoin: round; opacity: 0; transition: opacity .5s ease calc(var(--i, 0) * 60ms), fill .3s, stroke .3s; }
.amap.go .am-area { opacity: 1; }
.am-area.is-on { fill: rgba(106,186,64,.32); stroke: #9be07a; }
.am-area.is-hover { fill: rgba(106,186,64,.16); }
.am-home { opacity: 1; fill: rgba(106,186,64,.45); stroke: #9be07a; }
.am-river { fill: none; stroke: rgba(106,186,64,.6); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.am-river--small { stroke-width: 1.4; stroke: rgba(106,186,64,.4); }
.am-line { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.am-route.run .am-line { animation: amDraw 1s cubic-bezier(.45,0,.2,1) forwards; }
.am-route.done .am-line { stroke-dashoffset: 0; }
@keyframes amDraw { to { stroke-dashoffset: 0; } }
.am-car { fill: #fff; filter: drop-shadow(0 0 6px rgba(106,186,64,.95)); }
.amap-pins { position: absolute; inset: 0; }
.am-pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.am-dot { width: 10px; height: 10px; border-radius: 50%; background: #f2f2f2; box-shadow: 0 0 0 3px #000; transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1) calc(var(--i, 0) * 90ms + .2s), background .25s, width .25s, height .25s; }
.amap.go .am-dot { transform: scale(1); }
.am-pin:hover .am-dot, .am-pin.is-hover .am-dot { background: var(--green); }
.am-pin.is-active .am-dot { width: 22px; height: 22px; background: var(--green); box-shadow: 0 0 0 4px #000, 0 0 0 5px rgba(106,186,64,.5); }
.am-pin--home .am-dot { transform: scale(1); }
.am-pin--home.is-active .am-dot, .am-pin--home .am-dot { width: 22px; height: 22px; background: var(--green); box-shadow: 0 0 0 4px #000, 0 0 0 5px rgba(106,186,64,.5); }
.am-label { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); white-space: nowrap; padding: 6px 12px; border-radius: 99px;
  background: var(--green); color: #000; font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.am-label em { font-style: normal; font-weight: 600; opacity: .7; margin-left: 4px; }
.pin--left .am-label { left: -4px; transform: translate(0, 4px); }
.pin--right .am-label { left: auto; right: -4px; transform: translate(0, 4px); }
.am-pin:hover .am-label, .am-pin:focus-visible .am-label, .am-pin.is-hover .am-label, .am-pin.is-active .am-label { opacity: 1; transform: translate(-50%, 0); }
.pin--left:hover .am-label, .pin--left.is-hover .am-label, .pin--left.is-active .am-label, .pin--left:focus-visible .am-label,
.pin--right:hover .am-label, .pin--right.is-hover .am-label, .pin--right.is-active .am-label, .pin--right:focus-visible .am-label { transform: none; }
.am-pin.is-active, .am-pin.is-hover, .am-pin:hover { z-index: 3; }
.am-pin--home { z-index: 2; }
.am-pin--home.is-active .am-label, .am-pin--home .am-label { opacity: 1; transform: translate(-50%, 0); }
.am-pin:focus-visible { outline: none; }
.am-pin:focus-visible .am-dot { box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--green); }
.amap-credit { position: absolute; top: 10px; right: 14px; font-size: 11px; color: rgba(255,255,255,.45); }
.amap-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.amap-legend { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(23,23,26,.9); color: #a3a3a8; font-size: 12px; }
.amap-legend .lg-area { width: 16px; height: 11px; border-radius: 3px; border: 1.5px solid #fff; background: #0c0c0e; }
.amap-legend .lg-line { width: 16px; height: 2px; border-radius: 2px; background: var(--green); margin-left: 8px; }
.amap-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.amap-card { background: var(--surface); border-radius: 20px; padding: 28px; box-shadow: inset 0 0 0 1px var(--line); flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.amap-card h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.025em; margin: 0 0 12px; }
.amap-badge { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--green); color: #000; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.amap-card p { color: var(--text-2); margin: 0 0 22px; }
.amap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.amap-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.am-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.am-chip span { color: var(--text-3); font-weight: 500; }
.am-chip:hover, .am-chip.is-hover { box-shadow: inset 0 0 0 1px var(--green); }
.am-chip[aria-pressed="true"] { background: var(--green); color: #000; box-shadow: none; }
.am-chip[aria-pressed="true"] span { color: rgba(0,0,0,.65); }
.am-chip:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 640px) {
  .amap { border-radius: 16px; }
  .am-label { font-size: 13px; padding: 5px 10px; }
  .amap-legend { left: 8px; bottom: 8px; font-size: 11px; padding: 5px 10px; }
  .amap-legend .lg-line { margin-left: 4px; }
  .amap-credit { top: 6px; right: 10px; font-size: 10px; }
  .amap-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-area, .am-dot { transition: none; }
  .am-route.run .am-line { animation: none; stroke-dashoffset: 0; }
  .am-car { display: none; }
}
.am-route.done .am-line { opacity: .28; }
.am-route.is-on .am-line { opacity: 1; stroke-width: 3; }
.amap-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .amap-grid { grid-template-columns: 1fr; } }
.amap { align-self: start; }
.amap.has-sel .am-pin--home:not(:hover):not(.is-hover) .am-label { opacity: 0; }
.pin--below .am-label { bottom: auto; top: calc(100% + 6px); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .am-pin { width: 24px; height: 24px; } .am-pin--home { z-index: 1; } }
@media (max-width: 560px) {
  .sig-card { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  .sig-price { text-align: left !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
}

/* ---------- v17: Überschriften ohne Unschärfe-Filter einblenden (Safari hat Text sonst gestaucht/verzerrt gezeichnet) ---------- */
.js .split-words .w { filter: none !important; transition: opacity .7s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js .split-words .w.gradient-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f5f5f7; }
.js .hero-in { filter: none !important; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Horizontale Scroller dürfen das senkrechte Scrollen der Seite nicht abfangen */
.scroller { overflow-y: hidden; overscroll-behavior-y: auto; }
.rotator span, .rotator span.is-out { filter: none !important; }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- v18: Texte nur noch weich einblenden – keine Bewegung, kein Verzerren ---------- */
.js [data-reveal] { transform: none !important; transition-property: opacity !important; transition-duration: .8s !important; transition-timing-function: ease !important; }
.js .hero-in { transform: none !important; filter: none !important; animation: fadeOnly .9s ease forwards; }
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
