/* ==========================================================================
   ExtraFit – Designsystem „Evolution“
   Farben, Schriften und Abstände als Tokens; Komponenten danach in Seitenreihenfolge.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Dritten) ---------- */
@font-face {
  font-family:"Barlow Condensed";
  src:url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"Barlow Condensed";
  src:url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"Manrope";
  src:url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben */
  --ink:#202522;            /* Anthrazit: Text, dunkle Abschnitte */
  --ink-deep:#181c1a;       /* Footer */
  --paper:#f7f6f2;          /* Warmweiß: Grundfläche */
  --sage:#e7ebdf;           /* Salbeigrau: ruhige Informationsflächen */
  --white:#fff;
  --orange:#ef7922;         /* Logo-Orange: Buttons, Flächen, Akzente auf Dunkel */
  --orange-hover:#f48a3c;
  --orange-display:#d9650f; /* große Schrift auf Hell (≥ 3:1) */
  --rust:#b4520c;           /* kleine orange Schrift auf Hell (≥ 4.5:1) */
  --olive:#62653f;          /* Wachtendonk */
  --olive-night:#2b2d22;
  --olive-light:#b8bc86;
  --wd-green:#585c33;       /* Logo-Grün Wachtendonk */
  --wd-green-hover:#6b7040;
  --muted:#5c625d;
  --line:rgba(32,37,34,.14);
  --line-dark:rgba(247,246,242,.16);
  --on-dark:rgba(247,246,242,.76);

  /* Schrift */
  --display:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  --text:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;

  /* Raster */
  --max:1240px;
  --gutter:clamp(20px,5vw,72px);
  --section:clamp(88px,10vw,160px);        /* kompakte Textabschnitte: großzügig */
  --section-tight:clamp(64px,6.5vw,104px); /* inhaltsreiche Abschnitte mit großen Bildern */
  --radius:4px;

  /* Abstand vom Seitenrand bis zur Inhaltskante (für randnahe Bilder) */
  --bleed:max(var(--gutter),calc((100vw - var(--max)) / 2));
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* Große Bildschirme: Inhalt und Schrift wachsen stufenweise mit,
   damit Text und randlose Bilder im Verhältnis bleiben */
@media (min-width:1600px) {
  :root {
    --max:1360px;
  }

  html {
    font-size:106.25%;
  }
}

@media (min-width:1920px) {
  :root {
    --max:1480px;
  }

  html {
    font-size:112.5%;
  }
}

@media (min-width:2400px) {
  :root {
    --max:1640px;
  }

  html {
    font-size:125%;
  }
}

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

html {
  scroll-behavior:smooth;
  scroll-padding-top:96px;
  -webkit-text-size-adjust:100%;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--text);
  font-size:1.0625rem;
  line-height:1.65;
  font-weight:450;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}

img {
  display:block;
  max-width:100%;
}

a {
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea {
  font:inherit;
  color:inherit;
}

button {
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
  background:none;
  border:0;
  padding:0;
  -webkit-tap-highlight-color:transparent;
}

h1,
h2,
h3,
p,
ul {
  margin:0;
}

ul {
  padding:0;
  list-style:none;
}

:focus-visible {
  outline:3px solid var(--focus,var(--ink));
  outline-offset:3px;
  border-radius:2px;
}

.wrap {
  width:100%;
  max-width:calc(var(--max) + 2 * var(--gutter));
  margin-inline:auto;
  padding-inline:var(--gutter);
}

.section {
  padding-block:var(--section);
}

/* Inhaltsreiche Abschnitte bekommen die engere Abstandsstufe */
.studio-section,
.locations-section,
.courses-teaser,
.future,
.membership,
.contact {
  --section:var(--section-tight);
}

/* ---------- Typografie ---------- */
h1,
h2 {
  font-family:var(--display);
  font-weight:700;
  letter-spacing:-.005em;
  text-wrap:balance;
}

h1 {
  font-size:clamp(4rem,7.4vw,7.25rem);
  line-height:.88;
}

h2 {
  font-size:clamp(2.75rem,5.4vw,5rem);
  line-height:.94;
}

h3 {
  font-family:var(--text);
  font-weight:700;
  font-size:1.3125rem;
  line-height:1.25;
  letter-spacing:-.012em;
}

.eyebrow,
.kicker {
  display:block;
  margin-bottom:20px;
  font-family:var(--text);
  font-size:.9375rem;
  font-weight:650;
  line-height:1.4;
  color:var(--muted);
}

.section-head {
  margin-bottom:clamp(48px,6vw,88px);
}

.section-head > p {
  max-width:46ch;
  margin-top:28px;
  color:var(--muted);
}

/* Zweispaltige Variante: Überschrift links, Einleitung rechts unten */
.section-head.split,
.future .section-head {
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:32px clamp(32px,6vw,96px);
  align-items:end;
}

.future .section-head > p {
  margin-top:0;
  padding-bottom:.4em;
}

.orange-text {
  color:inherit;
}

.ico {
  width:1em;
  height:1em;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:-.12em;
}

/* ---------- Buttons und Links ---------- */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:52px;
  padding:0 24px;
  border:1.5px solid var(--orange);
  border-radius:3px;
  background:var(--orange);
  color:var(--ink);
  font-family:var(--text);
  font-size:.9375rem;
  font-weight:750;
  line-height:1.2;
  letter-spacing:.005em;
  text-align:center;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}

.btn .ico {
  font-size:1.05em;
  transition:transform .25s var(--ease);
}

.btn:hover {
  background:var(--orange-hover);
  border-color:var(--orange-hover);
}

.btn:hover .ico {
  transform:translate(2px,-2px);
}

/* Sekundär: oranger Rahmen, Schrift in Textfarbe */
.btn.dark,
.btn.outline {
  background:transparent;
  color:inherit;
}

.btn.dark:hover,
.btn.outline:hover {
  background:var(--orange);
  color:var(--ink);
}

/* Auf dunklen Flächen bleibt der Hauptaufruf gefüllt */
.care .btn.dark {
  background:var(--orange);
  color:var(--ink);
}

.care .btn.dark:hover {
  background:var(--orange-hover);
}

.text-link,
.cross-location a,
.loc-actions button,
.pick-link,
.back-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding-bottom:3px;
  border-bottom:1.5px solid currentColor;
  font-size:.9375rem;
  font-weight:750;
  line-height:1.3;
  transition:border-color .2s ease,color .2s ease;
}

.text-link:hover,
.cross-location a:hover,
.loc-actions button:hover,
.pick-link:hover,
.back-link:hover {
  border-color:var(--orange);
}

/* ---------- Kopfbereich ---------- */
.topline {
  padding:9px var(--gutter);
  background:var(--ink);
  color:var(--paper);
  font-size:.8125rem;
  font-weight:600;
  text-align:center;
}

.topline span {
  margin-left:10px;
  color:var(--on-dark);
}

.topline .ico {
  display:none;
}

header {
  position:sticky;
  top:0;
  z-index:50;
  background:var(--white);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease,box-shadow .25s ease;
}

header.scrolled {
  border-bottom-color:var(--line);
  box-shadow:0 10px 30px -24px rgba(32,37,34,.55);
}

.nav {
  display:flex;
  align-items:center;
  gap:clamp(20px,3vw,44px);
  min-height:84px;
}

.logo img {
  width:auto;
  height:46px;
}

.links {
  display:flex;
  gap:clamp(18px,2.4vw,34px);
  margin-left:auto;
}

.links a {
  position:relative;
  padding-block:8px;
  font-size:.9375rem;
  font-weight:650;
}

.links a::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:2px;
  height:2px;
  background:var(--orange);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s var(--ease);
}

.links a:hover::after {
  transform:scaleX(1);
}

.nav > .btn {
  min-height:46px;
  padding-inline:20px;
}

.menu {
  display:none;
  width:48px;
  height:48px;
  margin-left:4px;
  border:1px solid var(--line);
  border-radius:3px;
  align-items:center;
  justify-content:center;
}

.ico-menu {
  width:22px;
  height:22px;
  stroke-width:2;
}

/* ---------- Hero ---------- */
.hero {
  position:relative;
  background:var(--paper);
}

.hero > .wrap {
  display:grid;
  grid-template-columns:var(--bleed) minmax(0,calc(var(--max) * .43)) clamp(32px,5vw,80px) minmax(0,1fr);
  grid-template-rows:1fr auto;
  max-width:none;
  padding:0;
}

/* Foto rechts läuft über die volle Höhe von Hero und Kennzahlen-Band und schließt bündig ab */
.hero-grid {
  display:contents;
}

.hero-copy {
  grid-column:2;
  grid-row:1;
  align-self:center;
  padding-block:clamp(44px,5vw,84px);
}

.hero-copy .eyebrow {
  margin-bottom:24px;
}

.hero h1 .l {
  display:block;
}

.hero h1 .accent {
  color:var(--orange-display);
}

.hero-copy > p {
  max-width:34ch;
  margin-top:32px;
  font-size:1.1875rem;
  color:var(--muted);
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px 32px;
  margin-top:40px;
}

.trust {
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:40px;
  font-size:.875rem;
  line-height:1.5;
}

.stars {
  color:var(--rust);
  font-size:1rem;
  letter-spacing:2px;
}

.trust .note {
  color:var(--muted);
  font-size:.8125rem;
}

.hero-visual {
  grid-column:4;
  grid-row:1 / 3;
  position:relative;
  align-self:stretch;
  min-height:min(calc(100vh - 124px),880px);
  z-index:2;
  overflow:hidden;
  background:var(--ink);
}

.hero-visual img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:40% 50%;
}

.hero-visual::after {
  content:"";
  position:absolute;
  inset:45% 0 0;
  background:linear-gradient(to top,rgba(24,28,26,.82),rgba(24,28,26,0));
}

.visual-text {
  position:absolute;
  left:clamp(24px,3.4vw,56px);
  right:clamp(24px,3.4vw,56px);
  bottom:52px;
  z-index:1;
  color:var(--paper);
}

.visual-text small {
  display:block;
  margin-bottom:10px;
  font-size:.875rem;
  font-weight:650;
  color:var(--on-dark);
}

.visual-text h3 {
  font-family:var(--display);
  font-size:clamp(2rem,3vw,2.75rem);
  font-weight:600;
  line-height:1;
  letter-spacing:0;
}

/* Kennzahlen-Band: dunkel unter dem Text, endet an der Fotokante */
.facts {
  grid-column:1 / 4;
  grid-row:2;
  display:grid;
  grid-template-columns:var(--bleed) minmax(0,calc(var(--max) * .43)) clamp(32px,5vw,80px);
  padding-block:44px 52px;
  background:var(--ink);
  color:var(--paper);
}

.facts-inner {
  grid-column:2;
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.2fr);
}

.fact {
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-right:20px;
}

.fact + .fact {
  padding-left:20px;
  border-left:1px solid var(--line-dark);
}

.fact strong {
  white-space:nowrap;
  font-family:var(--display);
  font-size:clamp(2.5rem,3.2vw,3.25rem);
  font-weight:700;
  line-height:1;
  color:var(--paper);
}

.fact span {
  font-size:.875rem;
  line-height:1.45;
  color:var(--on-dark);
}

/* ---------- Betreuung (dunkel) ---------- */
.care {
  padding-block:0;
  background:var(--ink);
  color:var(--paper);
  --focus:var(--paper);
}

.care > .wrap {
  max-width:none;
  padding:0;
}

.care-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,calc(var(--max) * .52)) clamp(40px,6vw,104px) minmax(0,calc(var(--max) * .42)) var(--bleed);
  align-items:center;
}

.care-photo {
  grid-column:1 / 3;
  position:relative;
  align-self:stretch;
  min-height:600px;
  overflow:hidden;
}

.care-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:30% 50%;
}

.photo-caption {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:96px 32px 32px var(--bleed);
  background:linear-gradient(to top,rgba(24,28,26,.85),rgba(24,28,26,0));
}

.photo-caption strong {
  display:block;
  font-family:var(--display);
  font-size:1.75rem;
  font-weight:600;
  line-height:1.1;
}

.photo-caption span {
  font-size:.875rem;
  color:var(--on-dark);
}

.care-copy {
  grid-column:4;
  padding-block:var(--section-tight);
}

.care .eyebrow,
.future .eyebrow,
.contact .eyebrow {
  color:var(--on-dark);
}

.care-copy h2 {
  font-size:clamp(2.5rem,4.1vw,3.875rem);
}

.care-copy > p {
  max-width:46ch;
  margin-top:28px;
  color:var(--on-dark);
}

.steps {
  margin:44px 0 48px;
  border-top:1px solid var(--line-dark);
}

.step {
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:4px;
  padding:22px 0;
  border-bottom:1px solid var(--line-dark);
}

.step b {
  font-family:var(--display);
  font-size:2rem;
  font-weight:700;
  line-height:1;
  color:var(--orange);
}

.step h3 {
  font-size:1.1875rem;
}

.step p {
  margin-top:4px;
  font-size:.9375rem;
  color:var(--on-dark);
}

/* ---------- Studio ---------- */
.studio-section {
  background:var(--paper);
}

/* Trainingswelten: EGYM über die volle Breite, darunter GYM80 und Flexx nebeneinander.
   Fotos links mit schrägem Abschluss und oranger Kante (wie die Standorte). */
.worlds {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(10px,1vw,16px);
  margin-inline:calc(-1 * var(--bleed));
}

.world {
  --cut:72%;
  --edge:7px;
  position:relative;
  display:grid;
  grid-template-columns:var(--photo,42%) minmax(0,1fr);
  min-height:clamp(440px,34vw,500px);
  overflow:hidden;
  background:var(--white);
}

.world-egym {
  --photo:52%;
  --cut:80%;
  grid-column:1 / -1;
  min-height:clamp(440px,34vw,680px);
}

.world-photo {
  display:block;
  overflow:hidden;
  position:absolute;
  inset:0 auto 0 0;
  width:var(--photo,42%);
  background:var(--orange);
  clip-path:polygon(0 0,100% 0,var(--cut) 100%,0 100%);
}

.world-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  clip-path:polygon(0 0,calc(100% - var(--edge)) 0,calc(var(--cut) - var(--edge)) 100%,0 100%);
  transition:transform .8s var(--ease);
}

.world-photo:hover img {
  transform:scale(1.02);
}

.world-egym .world-photo img {
  object-position:50% 58%;
}

#studio .section-head {
  max-width:none;
}

#studio .section-head > p {
  max-width:66ch;
}

.world-gym80 .world-photo img {
  object-position:42% 60%;
}

.world-flexx .world-photo img {
  object-position:46% 62%;
}

.world-body {
  grid-column:2;
  max-width:34rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:clamp(28px,2.6vw,40px) clamp(24px,2.4vw,36px) clamp(28px,2.6vw,40px) clamp(4px,.6vw,10px);
}

.world-egym .world-body {
  justify-content:center;
  max-width:44rem;
  padding:clamp(36px,3.4vw,52px) clamp(28px,3.4vw,52px) clamp(36px,3.4vw,52px) clamp(8px,1vw,16px);
}

.world-body h3 {
  margin-top:16px;
  font-family:var(--display);
  font-size:clamp(2rem,2.5vw,2.625rem);
  font-weight:700;
  line-height:.95;
  letter-spacing:0;
  text-wrap:balance;
}

.world-egym .world-body h3 {
  font-size:clamp(2.5rem,3.6vw,3.5rem);
}

.world-body h3 span {
  color:var(--orange-display);
}

.world-body > p {
  margin-top:16px;
  font-size:.9375rem;
  line-height:1.6;
  color:var(--muted);
}

.world-egym .world-body > p {
  font-size:1rem;
}

.world-list {
  display:grid;
  gap:10px;
  margin:20px 0 28px;
}

.world-list li {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.9375rem;
  font-weight:600;
  line-height:1.45;
}

.world-list .li-ico {
  stroke:var(--orange);
  stroke-width:2.5;
}

.world-body .btn {
  margin-top:auto;
}

.world-egym .world-body .btn {
  margin-top:0;
}

/* EGYM: drei Vorteile nebeneinander, Icon über dem Titel */
.world-benefits {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  margin:28px 0 32px;
}

.world-benefits li {
  display:grid;
  align-content:start;
  gap:4px;
  padding:2px 16px;
  font-size:.8125rem;
  line-height:1.4;
  color:var(--muted);
}

.world-benefits li:first-child {
  padding-left:0;
}

.world-benefits li + li {
  border-left:1px solid var(--line);
}

.world-benefits .feat-ico {
  margin-bottom:6px;
  stroke:var(--orange);
  stroke-width:1.8;
}

.world-benefits span {
  overflow-wrap:break-word;
}

.world-benefits strong {
  font-size:.9375rem;
  font-weight:750;
  color:var(--ink);
}

.course-card ul {
  display:grid;
  gap:10px;
  margin:28px 0 32px;
}

.course-card li {
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:.9375rem;
  line-height:1.5;
}

.li-ico {
  flex:none;
  width:20px;
  height:20px;
  margin-top:1px;
  fill:none;
  stroke:var(--rust);
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.course-card ul {
  gap:12px;
}

/* ---------- Empfang & Lounge: Foto links mit schräger Kante, dunkler Text rechts ---------- */
.reception {
  display:grid;
  grid-template-columns:55% minmax(0,1fr);
  min-height:clamp(520px,40vw,680px);
  overflow:hidden;
  background:var(--ink);
  color:var(--paper);
  --focus:var(--paper);
}

.reception-photo {
  position:relative;
  background:var(--orange);
  clip-path:polygon(0 0,100% 0,86% 100%,0 100%);
}

.reception-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 48%;
  clip-path:polygon(0 0,calc(100% - 7px) 0,calc(86% - 7px) 100%,0 100%);
}

/* Textspalte: rechter Abstand = Seitenrand, die Lesebreite begrenzen die Elemente selbst */
.reception-copy {
  align-self:center;
  padding:clamp(48px,5vw,88px) var(--bleed) clamp(48px,5vw,88px) clamp(24px,3.4vw,56px);
}

.reception-copy h2,
.reception-perks {
  max-width:34rem;
}

.reception-copy .eyebrow {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#f59a55;
}

.reception-copy .eyebrow::before,
.reception-copy .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,4vw,56px);
  height:1.5px;
  background:var(--orange);
}

.reception-copy h2 {
  font-size:clamp(2.75rem,4.4vw,4.25rem);
}

.reception-copy h2 span {
  color:var(--orange);
}

.reception-copy > p {
  max-width:44ch;
  margin-top:22px;
  font-size:1.0625rem;
  color:rgba(247,246,242,.84);
}

.reception-perks {
  display:grid;
  gap:16px;
  margin-top:32px;
}

.reception-perks li {
  display:flex;
  align-items:center;
  gap:16px;
}

.reception-perks .perk-ico {
  width:48px;
  height:48px;
  padding:12px;
}

.reception-perks strong {
  display:block;
  font-family:var(--display);
  font-size:1.4375rem;
  font-weight:700;
  line-height:1.05;
}

.reception-perks span {
  display:block;
  margin-top:3px;
  font-size:.9375rem;
  color:rgba(247,246,242,.78);
}

.cross-location {
  display:grid;
  grid-template-columns:minmax(0,4fr) minmax(0,6fr) auto;
  gap:16px 40px;
  align-items:center;
  padding-block:44px;
}

.cross-location strong {
  font-family:var(--display);
  font-size:1.75rem;
  font-weight:600;
  line-height:1.1;
}

.cross-location p {
  font-size:.9375rem;
  color:var(--muted);
}

/* ---------- Ziele: interaktive Trainingsziel-Bühne ---------- */
.goals-section {
  --section:var(--section-tight);
}

.goals-section .section-head {
  margin-bottom:clamp(40px,4.5vw,64px);
}

.goals-section .eyebrow {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--rust);
}

.goals-section .eyebrow::before,
.goals-section .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,5vw,64px);
  height:1.5px;
  background:var(--orange);
}

.goals-section h2 span {
  color:var(--orange-display);
}

.goals-section .section-head > p {
  max-width:56ch;
  margin-top:20px;
}

/* Bühne links bis an den Bildschirmrand, Auswahl rechts an der Inhaltskante */
.goal-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(300px,27vw,440px);
  gap:clamp(20px,2.4vw,36px);
  align-items:stretch;
  margin-inline:calc(-1 * var(--bleed));
  padding-right:clamp(16px,2.2vw,40px); /* gleicher Randabstand wie die Tarifkarten */
}

.goal-picker {
  grid-column:2;
  grid-row:1;
  display:flex;
  flex-direction:column;
}

.picker-title {
  font-family:var(--display);
  font-size:clamp(1.75rem,2.2vw,2.125rem);
  font-weight:700;
  line-height:1;
}

.picker-sub {
  margin-top:8px;
  font-size:.9375rem;
  color:var(--muted);
}

.goals {
  display:grid;
  flex:1;
  grid-auto-rows:1fr;
  gap:12px;
  margin-top:22px;
}

.goal {
  display:flex;
  align-items:center;
  gap:18px;
  min-height:84px;
  padding:14px 20px 14px 22px;
  border:1.5px solid var(--line);
  border-radius:calc(var(--radius) * 3);
  background:var(--white);
  color:var(--ink);
  text-align:left;
  box-shadow:0 1px 2px rgba(32,37,34,.04);
  transition:background-color .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s var(--ease);
}

.goal-ico {
  flex:none;
  width:34px;
  height:34px;
  fill:none;
  stroke:var(--orange);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:stroke .25s ease;
}

.goal-name {
  flex:1;
  font-family:var(--display);
  font-size:clamp(1.5rem,1.9vw,1.875rem);
  font-weight:700;
  line-height:1.05;
}

.goal-short {
  display:none;
}

.goal-arrow {
  flex:none;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .25s var(--ease);
}

.goal:hover {
  border-color:var(--orange);
  box-shadow:0 10px 24px -18px rgba(32,37,34,.45);
}

.goal:hover .goal-arrow {
  transform:translateX(3px);
}

/* Aktiv: kräftiges Orange mit weißer Schrift (Kontrast für große Schrift erfüllt) */
.goal.active {
  border-color:var(--orange-display);
  background:var(--orange-display);
  color:var(--white);
  box-shadow:0 16px 32px -18px rgba(217,101,15,.7);
}

.goal.active .goal-ico {
  stroke:var(--white);
}

.goal:focus-visible {
  outline:3px solid var(--ink);
  outline-offset:3px;
}

/* Bühne: Foto links mit schräger Kante und oranger Linie, dunkle Textfläche rechts */
.goal-stage {
  grid-column:1;
  grid-row:1;
  position:relative;
  display:grid;
  grid-template-columns:48% minmax(0,1fr);
  min-height:clamp(500px,38vw,620px);
  overflow:hidden;
  border-radius:0 calc(var(--radius) * 3) calc(var(--radius) * 3) 0;
  background:var(--ink);
  color:var(--paper);
  --focus:var(--paper);
}

.stage-photo {
  position:absolute;
  inset:0 auto 0 0;
  width:48%;
  background:var(--orange);
  clip-path:polygon(0 0,100% 0,78% 100%,0 100%);
}

.stage-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  clip-path:polygon(0 0,calc(100% - 7px) 0,calc(78% - 7px) 100%,0 100%);
}

.stage-photo .image-label {
  position:absolute;
  left:14px;
  bottom:12px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(24,28,26,.62);
  font-size:.75rem;
  font-weight:650;
  color:var(--paper);
}

.stage-photo .image-label[hidden] {
  display:none;
}

.stage-body {
  grid-column:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  max-width:36rem;
  padding:clamp(32px,3.4vw,56px) clamp(28px,3.4vw,56px) clamp(32px,3.4vw,56px) clamp(8px,1vw,16px);
}

.stage-photo img,
.stage-body > * {
  transition:opacity .25s ease;
}

.goal-stage.is-switching .stage-photo img,
.goal-stage.is-switching .stage-body > * {
  opacity:0;
}

.stage-kicker {
  display:flex;
  align-items:center;
  gap:16px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#f59a55;
}

.stage-kicker::after {
  content:"";
  width:56px;
  height:1.5px;
  background:var(--orange);
}

.goal-stage h3 {
  margin-top:16px;
  font-family:var(--display);
  font-size:clamp(2.25rem,3.4vw,3.5rem);
  font-weight:700;
  line-height:.95;
  letter-spacing:0;
  text-wrap:balance;
}

.goal-stage h3 span {
  color:var(--orange);
}

#goal-text {
  margin-top:18px;
  font-size:1rem;
  line-height:1.6;
  color:rgba(247,246,242,.84);
}

.stage-benefits {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  margin-top:28px;
}

.stage-benefits li {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:2px 10px;
  font-size:.875rem;
  font-weight:650;
  line-height:1.35;
  text-align:center;
}

.stage-benefits li + li {
  border-left:1px solid var(--line-dark);
}

.stage-ico {
  width:32px;
  height:32px;
  fill:none;
  stroke:var(--orange);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.stage-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:30px;
  padding-bottom:3px;
  border-bottom:1.5px solid var(--orange);
  font-size:.9375rem;
  font-weight:750;
  color:var(--paper);
}

.stage-link .ico {
  color:var(--orange);
}

.stage-link:hover {
  color:var(--orange);
}

/* ---------- Standorte: Finde dein Studio (Phase 3) ---------- */
.locations-section {
  background:var(--white);
}

.locations-section .section-head,
.studio-section .section-head {
  max-width:820px;
  margin-inline:auto;
  text-align:center;
}

.locations-section .eyebrow,
.studio-section .section-head .eyebrow {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--rust);
}

.locations-section .eyebrow::before,
.locations-section .eyebrow::after,
.studio-section .section-head .eyebrow::before,
.studio-section .section-head .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,5vw,64px);
  height:1.5px;
  background:var(--orange);
}

.locations-section h2 span,
.studio-section h2 span {
  color:var(--orange-display);
}

.locations-section .section-head > p,
.studio-section .section-head > p {
  max-width:52ch;
  margin:24px auto 0;
}

.locations {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-inline:calc(-1 * var(--bleed));
}

/* Standortfläche: Bild links mit schrägem Abschluss, Text rechts */
.location {
  position:relative;
  display:grid;
  grid-template-columns:46% minmax(0,1fr);
  min-height:clamp(600px,36vw,44rem);
  overflow:hidden;
}

.location.geldern {
  --accent:var(--orange);
  background:var(--ink);
  color:var(--paper);
  --focus:var(--paper);
}

/* Wachtendonk hell, Akzente im Grün des Wachtendonk-Logos */
.location.wachtendonk {
  --accent:var(--wd-green);
  background:var(--paper);
}

.location .photo {
  position:absolute;
  inset:0 auto 0 0;
  width:46%;
  background:var(--accent);
  clip-path:polygon(0 0,100% 0,72% 100%,0 100%);
}

/* Kante in der Akzentfarbe des Studios entlang des Schnitts */
.location .photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  clip-path:polygon(0 0,calc(100% - 7px) 0,calc(72% - 7px) 100%,0 100%);
}

.location.geldern .photo img {
  object-position:42% 55%;
}

.location.wachtendonk .photo img {
  object-position:58% 55%;
}

.location-body {
  grid-column:2;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  max-width:520px;
  padding:clamp(36px,3.6vw,52px) clamp(24px,2.8vw,44px) clamp(32px,3.2vw,44px) clamp(20px,2vw,32px);
}

/* Studiologo über dem Etikett */
.loc-logo {
  width:auto;
  height:40px;
  margin-bottom:22px;
}

.wachtendonk .loc-logo {
  height:30px;
  margin-block:5px 27px;
}

.location .tag,
.world .tag {
  display:inline-block;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(239,121,34,.13);
  font-size:.8125rem;
  font-weight:750;
  line-height:1.3;
  color:#9c4508;
}

.location.geldern .tag {
  background:rgba(239,121,34,.14);
  color:#f59a55;
}

.location.wachtendonk .tag {
  background:rgba(88,92,51,.13);
  color:#474b28;
}

.location-body h3 {
  margin-top:18px;
  font-family:var(--display);
  font-size:clamp(2.75rem,3.6vw,3.75rem);
  font-weight:700;
  line-height:.92;
  letter-spacing:0;
}

.location-body > p:not(.parking) {
  margin-top:16px;
  font-size:1rem;
  color:var(--muted);
}

.location.geldern .location-body > p:not(.parking) {
  color:var(--on-dark);
}

.features {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  width:100%;
  margin-top:28px;
}

.features li {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:4px 6px;
  font-size:.8125rem;
  font-weight:700;
  line-height:1.25;
  text-align:center;
}

.features li + li {
  border-left:1px solid var(--line);
}

.geldern .features li + li {
  border-left-color:var(--line-dark);
}

.feat-ico {
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.parking {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:24px;
  font-size:.9375rem;
  font-weight:650;
}

.parking .feat-ico {
  width:22px;
  height:22px;
  stroke:var(--rust);
}

.geldern .parking .feat-ico {
  stroke:var(--orange);
}

.wachtendonk .parking .feat-ico {
  stroke:var(--wd-green);
}

/* Wachtendonk: Button und Textlink im Logo-Grün */
.location.wachtendonk .btn {
  border-color:var(--wd-green);
  background:var(--wd-green);
  color:var(--white);
}

.location.wachtendonk .btn:hover {
  border-color:var(--wd-green-hover);
  background:var(--wd-green-hover);
}

.location.wachtendonk .loc-actions button:hover {
  border-color:var(--wd-green);
  color:var(--wd-green);
}

.location.wachtendonk .btn:focus-visible,
.location.wachtendonk .loc-actions button:focus-visible {
  outline-color:var(--wd-green);
}

.loc-actions {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding-top:36px;
}

/* Größere Tippfläche für den Textlink, ohne die Optik zu ändern */
.loc-actions button {
  position:relative;
}

.loc-actions button::after {
  content:"";
  position:absolute;
  inset:-12px -8px;
}

.location-cta {
  min-height:54px;
  padding-inline:22px;
  white-space:nowrap;
}

.cross-location {
  margin-top:clamp(56px,6vw,88px);
  border-top:1px solid var(--line);
}

/* Merkmal-Punkte (Kursbereich) */
.chips {
  display:flex;
  flex-wrap:wrap;
  gap:8px 22px;
  margin-top:24px;
  font-size:.875rem;
  font-weight:650;
}

.chips span::before {
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:9px;
  vertical-align:.15em;
  background:var(--orange);
}

/* Trainingsziele responsiv */
@media (max-width:1199px) {
  /* Tablet: Auswahl als 2x2 über der Bühne */
  .goal-layout {
    grid-template-columns:1fr;
    gap:28px;
    margin-inline:0;
    padding-right:0;
  }

  .goal-picker,
  .goal-stage {
    grid-column:1;
    grid-row:auto;
  }

  .goals {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:auto;
  }

  .goal-stage {
    margin-inline:calc(-1 * var(--gutter));
    border-radius:0;
  }
}

/* Smartphone: Kacheln 2x2 mit Symbol oben, Bühne darunter mit Bild oben */
@media (max-width:700px) {
  .goal-picker {
    text-align:left;
  }

  .goals {
    gap:10px;
    margin-top:18px;
  }

  .goal {
    flex-direction:column;
    justify-content:center;
    gap:8px;
    min-height:96px;
    padding:14px 8px;
    text-align:center;
  }

  .goal-ico {
    width:30px;
    height:30px;
  }

  .goal-name {
    flex:none;
    font-size:1.25rem;
  }

  .goal-long,
  .goal-arrow {
    display:none;
  }

  .goal-short {
    display:inline;
  }

  .goal-stage {
    display:block;
    min-height:0;
  }

  .stage-photo {
    position:relative;
    inset:auto;
    width:100%;
    aspect-ratio:16 / 10;
    clip-path:polygon(0 0,100% 0,100% 88%,0 100%);
  }

  .stage-photo img {
    clip-path:polygon(0 0,100% 0,100% calc(88% - 5px),0 calc(100% - 5px));
  }

  .stage-body {
    max-width:none;
    padding:20px var(--gutter) 30px;
  }

  .goal-stage h3 {
    margin-top:12px;
    font-size:2.125rem;
  }

  #goal-text {
    margin-top:12px;
  }

  .stage-benefits {
    grid-template-columns:1fr;
    gap:10px;
    margin-top:18px;
  }

  .stage-benefits li {
    flex-direction:row;
    gap:12px;
    padding:0;
    font-size:.9375rem;
    text-align:left;
  }

  .stage-benefits li + li {
    border-left:0;
  }

  .stage-ico {
    width:24px;
    height:24px;
  }

  .stage-link {
    margin-top:22px;
  }
}

/* Standorte responsiv: untereinander ab Tablet, Bild oben auf dem Smartphone */
@media (max-width:1359px) {
  .locations {
    grid-template-columns:1fr;
  }

  .location {
    min-height:520px;
  }

  .location-body {
    padding-left:clamp(12px,3vw,40px);
  }
}

@media (max-width:700px) {
  .locations {
    margin-inline:calc(-1 * var(--gutter));
  }

  .location {
    display:flex;
    flex-direction:column;
    min-height:0;
  }

  .location .photo {
    position:relative;
    inset:auto;
    width:100%;
    aspect-ratio:4 / 3;
    clip-path:polygon(0 0,100% 0,100% 90%,0 100%);
  }

  .location .photo img {
    clip-path:polygon(0 0,100% 0,100% calc(90% - 6px),0 calc(100% - 6px));
  }

  .location-body {
    padding:24px 22px 28px;
  }

  .features li {
    padding-inline:4px;
  }

  .loc-actions,
  .location-cta {
    width:100%;
  }

  .locations-section .eyebrow {
    letter-spacing:.14em;
    gap:12px;
  }
}

/* Trainingswelten responsiv */
@media (max-width:1199px) {
  .worlds {
    grid-template-columns:1fr;
  }

  .world {
    --photo:46%;
    --cut:78%;
    min-height:420px;
  }

  .world-body {
    justify-content:center;
    max-width:560px;
  }

  .world-body .btn {
    margin-top:0;
  }

  .world-benefits {
    grid-template-columns:1fr;
    gap:14px;
    margin:24px 0 28px;
  }

  .world-benefits li {
    grid-template-columns:auto minmax(0,1fr);
    column-gap:12px;
    padding:0;
  }

  .world-benefits li + li {
    border-left:0;
  }

  .world-benefits .feat-ico {
    grid-row:span 2;
    margin:0;
  }
}

/* Smartphone: Bild oben mit leicht schrägem Abschluss, Text darunter */
@media (max-width:700px) {
  .worlds {
    gap:10px;
    margin-inline:calc(-1 * var(--gutter));
  }

  .world,
  .world-egym {
    display:flex;
    flex-direction:column;
    min-height:0;
  }

  .world-photo {
    position:relative;
    inset:auto;
    width:100%;
    aspect-ratio:4 / 3;
    clip-path:polygon(0 0,100% 0,100% 90%,0 100%);
  }

  .world-egym .world-photo {
    aspect-ratio:3 / 2;
  }

  .world-photo img {
    clip-path:polygon(0 0,100% 0,100% calc(90% - 6px),0 calc(100% - 6px));
  }

  .world-gym80 .world-photo img {
    object-position:50% 58%;
  }

  .world-flexx .world-photo img {
    object-position:50% 66%;
  }

  .world-body,
  .world-egym .world-body {
    max-width:none;
    padding:20px 22px 26px;
  }

  .world-body h3,
  .world-egym .world-body h3 {
    font-size:2.375rem;
  }

  .world-body > p,
  .world-egym .world-body > p {
    font-size:1rem;
  }

  .world-list li {
    font-size:1rem;
  }

  .world-benefits strong {
    font-size:1rem;
  }

  .world-benefits li {
    font-size:.9375rem;
  }

  .world-body .btn {
    width:100%;
    justify-content:center;
  }
}

/* ---------- Kurse: Text links, großes Kursbild rechts bis zum Rand ---------- */
.courses-teaser {
  --start:calc(55% * .86); /* Bild beginnt genau am unteren Ende der Empfangskante */
  position:relative;
  padding-block:0;
  overflow:hidden;
  background:var(--paper);
}

.teaser-grid {
  display:flex;
  align-items:center;
  min-height:clamp(540px,42vw,720px);
}

.teaser-copy {
  position:relative;
  z-index:1;
  max-width:calc(55vw * .86 - var(--bleed) - clamp(24px,3vw,48px));
  padding-block:var(--section-tight);
}

.teaser-copy .eyebrow {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--rust);
}

.teaser-copy .eyebrow::before,
.teaser-copy .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,4vw,56px);
  height:1.5px;
  background:var(--orange);
}

.teaser-copy h2 span {
  color:var(--orange-display);
}

.teaser-copy > p {
  max-width:40ch;
  margin-top:24px;
  font-size:1.0625rem;
  color:var(--muted);
}

.courses-teaser .chips {
  margin:24px 0 36px;
}

.teaser-photo {
  position:absolute;
  top:0;
  bottom:0;
  left:var(--start);
  right:0;
  background:var(--orange);
  clip-path:polygon(0 0,100% 0,100% 100%,14.6% 100%);
}

.teaser-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:56% 30%;
  clip-path:polygon(7px 0,100% 0,100% 100%,calc(14.6% + 7px) 100%);
}

/* weicher Übergang vom hellen Text in das Bild */
.teaser-photo::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to right,rgba(247,246,242,.28),rgba(247,246,242,0) 34%);
  clip-path:polygon(7px 0,100% 0,100% 100%,calc(14.6% + 7px) 100%);
  pointer-events:none;
}

.teaser-photo .image-label {
  position:absolute;
  right:16px;
  bottom:14px;
  z-index:1;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(24,28,26,.62);
  font-size:.75rem;
  font-weight:650;
  color:var(--paper);
}

/* Empfang und Kurse responsiv */
@media (max-width:860px) {
  .reception {
    display:block;
    min-height:0;
  }

  .reception-photo {
    aspect-ratio:4 / 3;
    clip-path:polygon(0 0,100% 0,100% 90%,0 100%);
  }

  .reception-photo img {
    clip-path:polygon(0 0,100% 0,100% calc(90% - 6px),0 calc(100% - 6px));
  }

  .reception-copy {
    padding:28px var(--gutter) var(--section-tight);
  }

  .reception-perks {
    gap:14px;
    margin-top:26px;
  }

  .reception-perks .perk-ico {
    width:42px;
    height:42px;
    padding:10px;
  }

  .reception-perks strong {
    font-size:1.3125rem;
  }

  /* Kurse: Überschrift und Text, dann Bild, dann der Button */
  .teaser-grid {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-height:0;
  }

  .teaser-copy {
    display:contents;
    max-width:none;
  }

  .teaser-copy .eyebrow {
    margin-top:var(--section-tight);
  }

  .courses-teaser .chips {
    margin-bottom:28px;
  }

  .teaser-photo {
    position:relative;
    left:auto;
    order:2;
    aspect-ratio:4 / 3;
    margin:0 calc(-1 * var(--gutter));
    clip-path:polygon(0 0,100% 6%,100% 100%,0 100%);
  }

  .teaser-photo img,
  .teaser-photo::after {
    clip-path:polygon(0 calc(0% + 5px),100% calc(6% + 5px),100% 100%,0 100%);
  }

  .teaser-photo::after {
    display:none;
  }

  .teaser-photo img {
    object-position:58% 30%;
  }

  .courses-teaser .btn {
    order:3;
    width:100%;
    margin:24px 0 var(--section-tight);
  }
}

/* ---------- Weiterentwicklung (dunkel) ---------- */
.future {
  background:var(--ink);
  color:var(--paper);
  --focus:var(--paper);
}

.future .section-head > p {
  color:var(--on-dark);
}

.future .section-head h2 span {
  color:inherit;
}

.future .section-head {
  margin-bottom:clamp(40px,5vw,72px);
}

.future-grid {
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:clamp(40px,6vw,96px);
  align-items:start;
}

/* HYROX einzeilig: breite Outline-Grafik statt zwei hoher Zeilen */
.hyrox-type br {
  display:none;
}

.hyrox-type {
  font-family:var(--display);
  font-size:clamp(6rem,11vw,10.5rem);
  font-weight:700;
  line-height:.82;
  letter-spacing:-.01em;
  color:transparent;
  -webkit-text-stroke:2px var(--orange);
}

.hyrox-type span {
  display:block;
  margin-top:22px;
  font-family:var(--text);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.24em;
  line-height:1.4;
  color:var(--on-dark);
  -webkit-text-stroke:0;
}

.future-content {
  margin-top:36px;
}

.status {
  display:inline-block;
  font-size:.8125rem;
  font-weight:650;
  color:var(--on-dark);
}

.future-content h3 {
  margin-top:12px;
  font-family:var(--display);
  font-size:clamp(2.25rem,3.4vw,3.25rem);
  font-weight:600;
  line-height:.98;
  letter-spacing:0;
}

.future-content p {
  max-width:42ch;
  margin-top:18px;
  color:var(--on-dark);
}

.future-side {
  border-top:1px solid var(--line-dark);
}

.equipment {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:6px 28px;
  padding:32px 0;
  border-bottom:1px solid var(--line-dark);
}

.equipment-top {
  display:flex;
  flex-direction:column;
  gap:6px;
}

.equipment .big {
  font-family:var(--display);
  font-size:5rem;
  font-weight:700;
  line-height:.85;
  color:var(--orange);
}

.equipment h3 {
  font-size:1.25rem;
}

.equipment p {
  margin-top:6px;
  font-size:.9375rem;
  color:var(--on-dark);
}

.improvements {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px 40px;
  margin-top:64px;
  padding-top:28px;
  border-top:1px solid var(--line-dark);
  font-size:.9375rem;
}

.improvements span::before {
  content:"✓";
  margin-right:10px;
  color:var(--orange);
  font-weight:800;
}

.future-note {
  margin-top:24px;
  font-size:.8125rem;
  color:var(--on-dark);
}

/* ---------- Team: drei große Karten mit Porträt, schräger Bildkante und oranger Linie ---------- */
.team-section {
  background:var(--paper);
}

.team-section .section-head {
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:32px clamp(32px,5vw,80px);
  align-items:center;
  margin-bottom:clamp(44px,5vw,72px);
}

.team-section .eyebrow {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--rust);
}

.team-section .eyebrow::before,
.team-section .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,5vw,64px);
  height:1.5px;
  background:var(--orange);
}

.team-section h2 span {
  color:var(--orange-display);
}

.team-section .section-head > p {
  max-width:40ch;
  margin-top:0;
  padding:6px 0 6px clamp(24px,3vw,44px);
  border-left:1.5px solid var(--orange);
}

/* Gruppenfoto über den Karten: Querformat in Inhaltsbreite, unten verankert, damit alle Köpfe im Bild bleiben */
.team-group {
  position:relative;
  aspect-ratio:1.9 / 1;
  margin:0 0 clamp(16px,2vw,28px);
  overflow:hidden;
  border-radius:calc(var(--radius) * 2);
  background:var(--ink);
}

.team-group img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:55% 100%;
}

.team-group::after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:5px;
  background:var(--orange);
}

.team-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2vw,28px);
}

.team-card {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:calc(var(--radius) * 2);
  background:var(--white);
  box-shadow:0 1px 2px rgba(32,37,34,.05),0 18px 40px -28px rgba(32,37,34,.28);
}

/* Bildfläche im festen Seitenverhältnis: echte Fotos ersetzen später nur das img */
.team-photo {
  position:relative;
  aspect-ratio:6 / 5;
  overflow:hidden;
  background:var(--orange);
  clip-path:polygon(0 0,100% 0,100% 88%,0 100%);
}

.team-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 30%;
  clip-path:polygon(0 0,100% 0,100% calc(88% - 4px),0 calc(100% - 4px));
}

.team-copy {
  display:flex;
  align-items:flex-start;
  gap:18px;
  padding:clamp(14px,1.4vw,20px) clamp(20px,2vw,28px) clamp(24px,2.4vw,32px);
}

.team-ico {
  flex:none;
  width:44px;
  height:44px;
  padding:9px;
  border:1.5px solid var(--orange);
  border-radius:50%;
  fill:none;
  stroke:var(--orange);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.team-copy h3 {
  font-family:var(--display);
  font-size:clamp(1.75rem,2.2vw,2.125rem);
  font-weight:700;
  line-height:1;
  letter-spacing:0;
}

.team-role {
  margin-top:6px;
  font-size:.9375rem;
  font-weight:650;
  line-height:1.4;
}

.team-extra {
  margin-top:2px;
  font-size:.875rem;
  line-height:1.4;
  color:var(--muted);
}

/* ---------- Mitgliedschaft: vier Tarifkarten, HYROX als Leiste darunter ---------- */
.membership {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--paper);
}

/* Kopf mittig, darunter ein Block über die volle Breite: Fotoband, in das die Tarifkarten hineinragen */
.membership-head {
  max-width:60rem;
  margin:0 auto clamp(36px,4vw,56px);
  text-align:center;
}

.membership-full {
  position:relative;
  margin-inline:calc(-1 * var(--bleed));
  padding-inline:clamp(16px,2.2vw,40px);
}

.membership-photo {
  position:relative;
  height:clamp(300px,26vw,460px);
  margin-inline:calc(-1 * clamp(16px,2.2vw,40px));
}

.membership-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 42%;
}

.membership-photo::after {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,var(--paper) 0%,rgba(247,246,242,0) 22%),
    linear-gradient(to top,var(--paper) 0%,rgba(247,246,242,.55) 30%,rgba(247,246,242,0) 60%),
    rgba(247,246,242,.12);
}

.membership-full .prices {
  position:relative;
  margin-top:calc(-1 * clamp(150px,13vw,240px));
}

.membership-head .eyebrow {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--rust);
}

.membership-head .eyebrow::before,
.membership-head .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,5vw,64px);
  height:1.5px;
  background:var(--orange);
}

.membership-head h2 {
  max-width:none;
}

.membership-head h2 span {
  color:var(--orange-display);
}

.membership-head p {
  max-width:58ch;
  margin:22px auto 0;
  color:var(--muted);
}

.toggle {
  display:inline-flex;
  margin-top:28px;
  padding:4px;
  background:var(--white);
  border-radius:3px;
  box-shadow:inset 0 0 0 1px var(--line);
}

.toggle button {
  min-height:44px;
  padding:0 20px;
  border-radius:2px;
  font-size:.9375rem;
  font-weight:650;
  color:var(--muted);
  transition:background-color .2s ease,color .2s ease;
}

.toggle button.active {
  background:var(--ink);
  color:var(--paper);
}

/* Karten teilen sich die Zeilen (Kopf, Preis, Liste, Button), damit Preise und Buttons auf einer Höhe liegen */
.prices {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(14px,1.6vw,24px);
}

.price {
  position:relative;
  display:grid;
  grid-row:span 4;
  grid-template-rows:subgrid;
  row-gap:0;
  overflow:hidden;
  border:1.5px solid transparent;
  border-radius:calc(var(--radius) * 3);
  background:var(--white);
  box-shadow:0 1px 2px rgba(32,37,34,.05),0 22px 44px -30px rgba(32,37,34,.3);
}

.price-top {
  padding:clamp(24px,2.2vw,30px) clamp(20px,1.9vw,28px) 20px;
}

.price-label {
  margin-bottom:12px;
  font-size:.8125rem;
  font-weight:700;
  line-height:1.35;
  color:var(--rust);
}

.price h3 {
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--display);
  font-size:clamp(2.25rem,2.6vw,2.75rem);
  font-weight:700;
  line-height:1;
  letter-spacing:0;
}

.price-ico {
  flex:none;
  width:30px;
  height:30px;
  fill:none;
  stroke:var(--orange);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.price-desc {
  margin-top:14px;
  font-size:.9375rem;
  line-height:1.5;
  color:var(--muted);
}

/* Preisfeld: "Preis folgt" ist bewusst gedämpft; mit Preis (is-set) wird es dunkel */
.price-amount {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  align-content:start;
  gap:4px 10px;
  margin:0 clamp(20px,1.9vw,28px);
  padding:20px 0 22px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.price-amount strong {
  font-family:var(--display);
  font-size:clamp(2.25rem,2.8vw,3rem);
  font-weight:700;
  line-height:1;
  color:#7b817d;
}

.price-amount.is-set strong {
  color:var(--ink);
}

.price-unit {
  font-size:.8125rem;
  font-weight:600;
  color:var(--muted);
}

.price-amount.is-set .price-unit {
  font-family:var(--display);
  font-size:1.375rem;
  font-weight:600;
  color:var(--ink);
}

.price-variant {
  flex-basis:100%;
  margin-top:6px;
  font-size:.75rem;
  font-weight:750;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--rust);
}

.price ul {
  display:grid;
  align-content:start;
  gap:11px;
  margin:0;
  padding:22px clamp(20px,1.9vw,28px) 26px;
}

.price li {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.9375rem;
  line-height:1.45;
}

.price .li-ico,
.hyrox-bar .li-ico {
  stroke:var(--orange);
  stroke-width:2.5;
}

.price .btn {
  align-self:end;
  margin:0 clamp(20px,1.9vw,28px) clamp(20px,1.9vw,28px);
  gap:10px;
  padding-inline:12px;
  font-size:.8125rem;
  white-space:nowrap;
}

.price .btn.outline {
  border-color:var(--ink);
  background:var(--white);
  color:var(--ink);
}

.price .btn.outline:hover {
  border-color:var(--orange);
  background:var(--orange);
}

/* Hervorhebung: auf eine andere Karte übertragbar, Klasse "featured" */
.price.featured {
  border-color:var(--orange);
  box-shadow:0 1px 2px rgba(32,37,34,.05),0 26px 48px -28px rgba(217,101,15,.45);
}

.price.featured .price-top {
  background:var(--orange);
}

.price.featured .price-label,
.price.featured .price-desc {
  color:var(--ink);
}

.price.featured .price-ico {
  stroke:var(--ink);
}

.price.featured .price-amount {
  border-top-color:transparent;
}

/* Optionale Plakette, erst nach Freigabe einsetzen */
.price-badge {
  position:absolute;
  top:12px;
  right:12px;
  padding:5px 12px;
  border-radius:999px;
  background:var(--white);
  font-size:.75rem;
  font-weight:750;
  color:var(--ink);
}

/* HYROX als eigene dunkle Leiste: Text links, Foto rechts mit schräger Kante */
.hyrox-bar {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  margin-top:clamp(14px,1.6vw,24px);
  overflow:hidden;
  border-radius:calc(var(--radius) * 3);
  background:var(--ink);
  color:var(--paper);
  --focus:var(--paper);
}

.hyrox-bar-copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:clamp(32px,3.4vw,52px) clamp(24px,3.4vw,52px);
}

.hyrox-kicker {
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--orange);
}

.hyrox-bar h3 {
  margin-top:14px;
  font-family:var(--display);
  font-size:clamp(3.25rem,5vw,4.75rem);
  font-weight:700;
  line-height:.92;
  letter-spacing:.005em;
}

.hyrox-claim {
  margin-top:14px;
  font-size:clamp(1.125rem,1.4vw,1.375rem);
  font-weight:600;
  line-height:1.35;
  color:var(--paper);
}

.hyrox-desc {
  max-width:44ch;
  margin-top:16px;
  font-size:.9375rem;
  color:var(--on-dark);
}

.hyrox-bar ul {
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  margin-top:18px;
}

.hyrox-bar li {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.875rem;
  font-weight:650;
}

.hyrox-bar .scope-note {
  max-width:52ch;
  margin-top:14px;
  font-size:.8125rem;
  color:var(--on-dark);
}

.hyrox-bar .price-amount {
  margin:22px 0 24px;
  padding:0;
  border:0;
}

.hyrox-bar .price-amount strong {
  font-size:clamp(1.75rem,2.2vw,2.25rem);
  color:var(--paper);
}

.hyrox-bar .price-unit {
  color:var(--on-dark);
}

.hyrox-bar-photo {
  position:relative;
  min-height:100%;
  background:var(--orange);
  clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);
}

.hyrox-bar-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:30% 62%;
  clip-path:polygon(calc(18% + 7px) 0,100% 0,100% 100%,7px 100%);
}

.price-note {
  margin-top:28px;
  font-size:.9375rem;
  color:var(--muted);
}

.hyrox-bar-photo .image-label {
  position:absolute;
  right:14px;
  bottom:12px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(24,28,26,.62);
  font-size:.75rem;
  font-weight:650;
  color:var(--paper);
}

/* Tarife responsiv */
@media (max-width:1279px) {
  .prices {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hyrox-bar {
    grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  }
}

@media (max-width:860px) {
  .membership-photo {
    height:240px;
  }

  .membership-full .prices {
    margin-top:-90px;
  }

  .prices {
    grid-template-columns:1fr;
    gap:16px;
  }

  .price-top {
    padding:24px 22px 18px;
  }

  .price-amount {
    margin-inline:22px;
  }

  .price ul {
    padding:20px 22px 22px;
  }

  .price .btn {
    margin:0 22px 22px;
    width:auto;
  }

  .hyrox-bar {
    display:flex;
    flex-direction:column-reverse;
  }

  .hyrox-bar-photo {
    min-height:0;
    aspect-ratio:16 / 10;
    clip-path:polygon(0 0,100% 0,100% 88%,0 100%);
  }

  .hyrox-bar-photo img {
    clip-path:polygon(0 0,100% 0,100% calc(88% - 6px),0 calc(100% - 6px));
    object-position:50% 66%;
  }

  .hyrox-bar-photo .image-label {
    bottom:calc(12% + 8px);
  }

  .hyrox-bar-copy {
    padding:22px 22px 26px;
  }

  .hyrox-bar ul {
    display:grid;
    gap:10px;
  }

  .hyrox-bar .btn {
    width:100%;
  }
}

/* ---------- Fragen: Überschrift oben, breites Accordion darunter ---------- */
.faq {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--paper);
}

/* großes dekoratives Fragezeichen, für Screenreader ohne Inhalt */
.faq::before {
  content:"?" / "";
  position:absolute;
  top:calc(var(--section) * .35);
  right:max(var(--gutter),calc((100vw - var(--max)) / 2 - 40px));
  z-index:-1;
  font-family:var(--display);
  font-size:clamp(13rem,20vw,21rem);
  font-weight:700;
  line-height:1;
  color:rgba(32,37,34,.045);
  pointer-events:none;
}

.faq-intro {
  margin-bottom:clamp(36px,4vw,56px);
}

.faq-intro .eyebrow {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--rust);
}

.faq-intro .eyebrow::before,
.faq-intro .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,5vw,64px);
  height:1.5px;
  background:var(--orange);
}

.faq-intro h2 span {
  color:var(--orange-display);
}

.faq-intro p {
  max-width:60ch;
  margin-top:20px;
  font-size:1.0625rem;
  color:var(--muted);
}

.faqs {
  display:grid;
  gap:14px;
}

.faqs details {
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:calc(var(--radius) * 3);
  background:var(--white);
  box-shadow:0 1px 2px rgba(32,37,34,.04),0 10px 24px -20px rgba(32,37,34,.3);
}

.faqs summary {
  position:relative;
  display:block;
  padding:24px 76px 24px clamp(20px,2.4vw,34px);
  font-family:var(--display);
  font-size:clamp(1.375rem,1.8vw,1.625rem);
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  list-style:none;
  transition:background-color .2s ease,box-shadow .2s ease;
}

.faqs summary::-webkit-details-marker {
  display:none;
}

/* Plus/Minus rechts */
.faqs summary::before,
.faqs summary::after {
  content:"";
  position:absolute;
  right:clamp(20px,2.4vw,32px);
  top:50%;
  width:20px;
  height:2.5px;
  margin-top:-1px;
  border-radius:1px;
  background:var(--orange-display);
  transition:transform .25s var(--ease);
}

.faqs summary::after {
  transform:rotate(90deg);
}

.faqs details[open]:not(.closing) summary::after {
  transform:rotate(0);
}

.faqs summary:hover {
  background:rgba(239,121,34,.05);
}

.faqs summary:focus-visible {
  outline:3px solid var(--ink);
  outline-offset:-3px;
}

/* geöffnet: pfirsichfarbener Kopf mit oranger Linie links */
.faqs details[open]:not(.closing) summary {
  background:rgba(239,121,34,.11);
  box-shadow:inset 4px 0 0 var(--orange);
}

.faq-answer {
  overflow:hidden;
}

.faq-answer p {
  max-width:78ch;
  padding:22px 76px 28px clamp(20px,2.4vw,34px);
  font-size:1rem;
  line-height:1.65;
  color:var(--muted);
}

@media (max-width:700px) {
  .faq::before {
    display:none;
  }

  .faqs {
    gap:10px;
  }

  .faqs summary {
    padding:18px 56px 18px 18px;
    font-size:1.25rem;
  }

  .faqs summary::before,
  .faqs summary::after {
    right:18px;
    width:18px;
  }

  .faq-answer p {
    padding:16px 18px 22px;
    font-size:.9375rem;
  }
}

/* ---------- Probetraining: Foto links mit schräger Kante, Formular rechts ---------- */
.contact {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--paper);
  color:var(--ink);
}

/* Foto reicht vom linken Rand bis etwa 60 % der Inhaltsbreite, orange Linie entlang des Schnitts */
.contact-visual {
  /* Foto endet oben 44px vor der Formularspalte, die orange Linie läuft im hellen Zwischenraum */
  --w:calc(var(--bleed) + (var(--cw) - var(--g)) * 6 / 11 + var(--g) - 44px);
  position:absolute;
  inset:0 auto 0 0;
  z-index:-1;
  width:var(--w);
  background:var(--orange);
  clip-path:polygon(0 0,100% 0,calc(100% - 130px) 100%,0 100%);
}

.contact-visual img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 55%;
  clip-path:polygon(0 0,calc(100% - 7px) 0,calc(100% - 137px) 100%,0 100%);
}

.contact-visual::after {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to right,rgba(24,28,26,.86) 0%,rgba(24,28,26,.66) 40%,rgba(24,28,26,.18) 72%,rgba(24,28,26,.05) 100%),
    linear-gradient(to top,rgba(24,28,26,.5),rgba(24,28,26,0) 45%);
  clip-path:polygon(0 0,calc(100% - 7px) 0,calc(100% - 137px) 100%,0 100%);
}

.contact {
  --g:clamp(48px,7vw,120px);
}

/* Foto und Formular als ein Block über die volle Breite: Foto links, weiße Fläche rechts */
.contact-frame {
  --slant:clamp(28px,3.4vw,56px);
  position:relative;
  isolation:isolate;
  background:var(--white);
  /* Übergang von den Fragen: leicht schräge Oberkante mit schmaler oranger Linie */
  clip-path:polygon(0 var(--slant),100% 0,100% 100%,0 100%);
}

.contact-frame::before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  z-index:2;
  height:calc(var(--slant) + 6px);
  background:var(--orange);
  clip-path:polygon(0 var(--slant),100% 0,100% 5px,0 calc(var(--slant) + 5px));
  pointer-events:none;
}

.contact {
  padding-top:0;
}

.contact {
  --cw:min(100vw - 2 * var(--gutter),var(--max));
}

.contact-layout {
  display:grid;
  grid-template-columns:minmax(0,6fr) minmax(0,5fr);
  gap:40px var(--g);
  align-items:center;
  padding-block:clamp(48px,5vw,80px);
}

/* Im Block braucht das Formular keine eigene Karte mehr */
@media (min-width:861px) {
  .contact form {
    padding:0;
    border-radius:0;
    background:none;
    box-shadow:none;
  }
}

.contact-copy {
  padding-right:clamp(24px,4.4vw,64px); /* Text bleibt auch unten links der schrägen Bildkante */
  color:var(--paper);
  --focus:var(--paper);
}

.contact-copy .eyebrow {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#f59a55;
}

.contact-copy .eyebrow::before,
.contact-copy .eyebrow::after {
  content:"";
  flex:none;
  width:clamp(28px,5vw,64px);
  height:1.5px;
  background:var(--orange);
}

.contact-copy h2 {
  font-size:clamp(2.5rem,4.1vw,4.5rem);
  color:var(--paper);
}

.contact-copy h2 span {
  color:var(--orange);
}

.contact-copy > p {
  max-width:44ch;
  margin-top:24px;
  font-size:1.0625rem;
  color:rgba(247,246,242,.86);
}

.trial-perks {
  display:grid;
  gap:18px;
  margin-top:36px;
}

.trial-perks li {
  display:flex;
  align-items:center;
  gap:18px;
}

.perk-ico {
  flex:none;
  width:52px;
  height:52px;
  padding:13px;
  border:1.5px solid var(--orange);
  border-radius:50%;
  fill:none;
  stroke:var(--orange);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.trial-perks strong {
  display:block;
  font-family:var(--display);
  font-size:1.5rem;
  font-weight:700;
  line-height:1.05;
  color:var(--paper);
}

.trial-perks span {
  display:block;
  max-width:34ch;
  margin-top:3px;
  font-size:.9375rem;
  color:rgba(247,246,242,.8);
}

/* Formular */
form {
  padding:clamp(28px,3vw,44px);
  border-radius:calc(var(--radius) * 3);
  background:var(--white);
  box-shadow:0 2px 4px rgba(32,37,34,.06),0 30px 60px -30px rgba(32,37,34,.45);
  color:var(--ink);
  --focus:var(--ink);
}

.form-top {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:8px 20px;
}

.form-top h3 {
  font-family:var(--display);
  font-size:clamp(2rem,2.6vw,2.5rem);
  font-weight:700;
  line-height:1;
  letter-spacing:0;
}

.form-top small {
  font-size:.8125rem;
  font-weight:700;
  color:var(--rust);
}

.form-note {
  margin:12px 0 26px;
  font-size:.9375rem;
  line-height:1.5;
  color:var(--muted);
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 16px;
}

.form-grid label {
  display:block;
  font-size:.875rem;
  font-weight:700;
}

.form-grid label span {
  font-weight:450;
  color:var(--muted);
}

.form-grid .full {
  grid-column:1 / -1;
}

/* Feld mit Symbol links im Eingabefeld */
.field {
  position:relative;
}

.field-ico {
  position:absolute;
  left:15px;
  bottom:16px;
  width:20px;
  height:20px;
  fill:none;
  stroke:var(--muted);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}

.field.area .field-ico {
  bottom:auto;
  top:calc(1.45em + 8px + 15px);
}

.field input,
.field select,
.field textarea {
  padding-left:46px;
}

input,
select,
textarea {
  display:block;
  width:100%;
  min-height:52px;
  margin-top:8px;
  padding:12px 14px;
  border:1px solid #c9cec4;
  border-radius:calc(var(--radius) * 1.5);
  background:var(--white);
  font-size:1rem;
  font-weight:500;
  color:var(--ink);
  transition:border-color .2s ease,box-shadow .2s ease;
}

textarea {
  min-height:104px;
  resize:vertical;
}

select {
  padding-right:40px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23202522' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  -webkit-appearance:none;
  appearance:none;
}

input::placeholder,
textarea::placeholder {
  color:#8a8f88;
}

input:focus,
select:focus,
textarea:focus {
  outline:none;
  border-color:var(--ink);
  box-shadow:0 0 0 3px rgba(239,121,34,.4);
}

.consent {
  display:flex !important;
  align-items:flex-start;
  gap:12px;
  font-weight:450 !important;
  font-size:.8125rem !important;
  line-height:1.55;
  color:var(--muted);
  cursor:pointer;
}

.consent input {
  width:20px;
  min-height:0;
  height:20px;
  margin:1px 0 0;
  padding:0;
  flex:none;
  accent-color:var(--orange);
}

.consent a {
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:2px;
}

.hp {
  position:absolute !important;
  left:-9999px !important;
  width:1px;
  height:1px;
  overflow:hidden;
}

.submit {
  width:100%;
  min-height:58px;
  margin-top:26px;
  font-size:1rem;
}

.btn-ico {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.submit[disabled] {
  opacity:.6;
  cursor:wait;
}

.result {
  margin-top:16px;
  padding:16px 18px;
  background:var(--sage);
  border-left:3px solid var(--olive);
  font-size:.9375rem;
}

.result[hidden] {
  display:none;
}

.result.error {
  background:#fdf0ec;
  border-color:#c43b1a;
  color:#8a2a12;
}

.form-call {
  margin-top:18px;
  font-size:.8125rem;
  text-align:center;
  color:var(--muted);
}

.form-call span {
  white-space:nowrap;
}

.form-call a {
  font-weight:700;
  color:var(--ink);
  white-space:nowrap;
}

.form-call a:hover {
  text-decoration:underline;
  text-underline-offset:2px;
}

/* Probetraining responsiv */
@media (max-width:1279px) {
  .form-grid {
    grid-template-columns:1fr;
  }
}

@media (max-width:1100px) {
  .contact-layout {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:40px 48px;
  }

  .contact-copy {
    padding-right:72px;
  }

  .contact-visual {
    --w:calc(var(--bleed) + (var(--cw) - 48px) / 2 + 48px - 32px);
    clip-path:polygon(0 0,100% 0,calc(100% - 60px) 100%,0 100%);
  }

  .contact-visual img,
  .contact-visual::after {
    clip-path:polygon(0 0,calc(100% - 7px) 0,calc(100% - 67px) 100%,0 100%);
  }

  .form-grid {
    grid-template-columns:1fr;
  }
}

/* Smartphone: Foto oben, Text darunter auf dunkel, dann das Formular */
@media (max-width:860px) {
  .contact-visual {
    position:relative;
    inset:auto;
    z-index:auto;
    width:auto;
    aspect-ratio:16 / 10;
    clip-path:polygon(0 0,100% 0,100% 86%,0 100%);
  }

  .contact-visual img,
  .contact-visual::after {
    clip-path:polygon(0 0,100% 0,100% calc(86% - 6px),0 calc(100% - 6px));
  }

  .contact-visual::after {
    background:linear-gradient(to top,rgba(24,28,26,.55),rgba(24,28,26,0) 60%);
  }

  .contact {
    padding-bottom:0;
    background:var(--paper);
  }

  .contact-frame {
    --slant:22px;
    background:var(--ink);
  }

  .contact-layout {
    display:block;
    padding-block:0 var(--section-tight);
  }

  .contact-copy {
    padding:28px 0 36px;
  }

  .trial-perks {
    margin-top:28px;
  }

  .perk-ico {
    width:46px;
    height:46px;
    padding:11px;
  }

  form {
    margin-inline:calc(-1 * var(--gutter) + 8px);
    padding:26px 20px 28px;
  }

  .form-call a {
    display:inline-block;
    padding-block:6px;
  }
}

/* ---------- Footer ---------- */
footer {
  padding-block:72px 32px;
  background:var(--ink-deep);
  color:var(--on-dark);
  font-size:.9375rem;
  --focus:var(--paper);
}

.footer-top {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:32px 56px;
  align-items:center;
  padding-bottom:48px;
}

footer .logo {
  display:inline-block;
  justify-self:start;
}

footer .logo img {
  width:auto;
  height:44px;
}

/* Logos beider Studios nebeneinander */
.footer-logos {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px 32px;
}

.footer-logos .logo + .logo {
  padding-left:32px;
  border-left:1px solid var(--line-dark);
}

.footer-logos .logo + .logo img {
  height:30px;
}

@media (max-width:560px) {
  .footer-logos {
    gap:18px;
  }

  .footer-logos .logo + .logo {
    padding-left:0;
    border-left:0;
  }
}

.footer-top p {
  color:var(--paper);
}

.foot-links {
  display:flex;
  flex-wrap:wrap;
  gap:8px 28px;
  font-weight:650;
  color:var(--paper);
}

.foot-links a:hover,
.social-bar a:hover,
.footer-bottom a:hover {
  color:var(--orange);
}

.social-bar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 28px;
  padding-block:20px;
  border-top:1px solid var(--line-dark);
}

.social-bar > span {
  margin-right:auto;
}

.social-bar a {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:650;
  color:var(--paper);
}

.footer-bottom {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px 24px;
  padding-top:24px;
  border-top:1px solid var(--line-dark);
  font-size:.8125rem;
}

.footer-bottom div {
  display:flex;
  gap:24px;
}

/* ---------- Mobiler Probetraining-Button ---------- */
.mobile-cta {
  display:none;
}

/* ---------- Dialog ---------- */
dialog {
  width:min(560px,calc(100% - 32px));
  padding:clamp(28px,5vw,44px);
  border:0;
  border-radius:var(--radius);
  background:var(--white);
  color:var(--ink);
  box-shadow:0 30px 80px -30px rgba(0,0,0,.5);
}

dialog::backdrop {
  background:rgba(24,28,26,.62);
}

dialog h2 {
  padding-right:40px;
  font-size:2.5rem;
}

#dialog-content p {
  margin-top:16px;
  color:var(--muted);
}

#dialog-content a {
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:2px;
}

dialog .close {
  position:absolute;
  top:12px;
  right:12px;
  width:44px;
  height:44px;
  font-size:28px;
  line-height:1;
  border-radius:3px;
}

dialog .close:hover {
  background:var(--sage);
}

/* ---------- Kursseite ---------- */
.course-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;
  background:var(--paper);
}

.course-hero > .wrap {
  max-width:calc(var(--max) / 2 + var(--gutter));
  margin:0 0 0 auto;
  padding-block:clamp(56px,7vw,112px);
  padding-right:clamp(32px,5vw,80px);
}

.course-hero h1 span {
  display:block;
}

.course-hero > .wrap > p {
  max-width:36ch;
  margin-top:28px;
  font-size:1.1875rem;
  color:var(--muted);
}

.course-hero img {
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
}

.back-link {
  margin-bottom:48px;
}

.course-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:64px clamp(28px,4vw,56px);
}

.course-card {
  display:flex;
  flex-direction:column;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.course-number {
  font-size:.875rem;
  font-weight:650;
  color:var(--muted);
}

.course-number span {
  margin-left:10px;
  color:var(--rust);
}

.course-card h2 {
  margin-top:14px;
  font-size:clamp(2.25rem,3vw,2.75rem);
  font-weight:600;
  line-height:1;
}

.course-card > p {
  margin-top:16px;
  font-size:.9375rem;
  color:var(--muted);
}

.course-card .text-link {
  margin-top:auto;
  align-self:flex-start;
}

.schedule-note {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:28px 48px;
  margin-top:clamp(72px,8vw,120px);
  padding:clamp(32px,4vw,56px);
  background:var(--ink);
  color:var(--paper);
  --focus:var(--paper);
}

.schedule-note .eyebrow {
  color:var(--on-dark);
}

.schedule-note h3 {
  font-family:var(--display);
  font-size:2.5rem;
  font-weight:600;
  line-height:1;
  letter-spacing:0;
}

.schedule-note p {
  max-width:52ch;
  margin-top:12px;
  color:var(--on-dark);
}

/* ---------- Rechtliche Seiten ---------- */
.legal {
  padding-block:clamp(56px,7vw,104px);
}

.legal-wrap {
  max-width:calc(780px + 2 * var(--gutter));
}

.legal h1 {
  font-size:clamp(2.5rem,9.5vw,5.5rem);
  overflow-wrap:anywhere;
  hyphens:auto;
  margin-bottom:24px;
}

.legal h2 {
  margin:44px 0 12px;
  font-family:var(--text);
  font-size:1.25rem;
  line-height:1.3;
  letter-spacing:-.01em;
}

.legal p,
.legal li {
  font-size:1rem;
  line-height:1.7;
  color:var(--muted);
}

.legal p + p {
  margin-top:12px;
}

.legal ul {
  margin:8px 0 12px;
  padding-left:22px;
  list-style:disc;
}

.legal a {
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:2px;
}

.legal .lead {
  font-size:1.1875rem;
  color:var(--ink);
}

.legal .todo-inline {
  padding:1px 6px;
  border-radius:3px;
  background:#fdf0ec;
  color:#8a2a12;
}

.legal .note {
  margin-top:44px;
}

.legal-page .mobile-cta {
  display:none !important;
}

/* ---------- Bewegung ---------- */
@keyframes rise {
  from {
    opacity:0;
    transform:translateY(.35em);
  }
  to {
    opacity:1;
    transform:none;
  }
}

@keyframes unveil {
  from {
    clip-path:inset(0 0 0 100%);
  }
  to {
    clip-path:inset(0 0 0 0);
  }
}

@keyframes fade {
  from {
    opacity:0;
  }
  to {
    opacity:1;
  }
}

.hero h1 .l {
  animation:rise .9s var(--ease) both;
}

.hero h1 .l:nth-child(2) {
  animation-delay:.09s;
}

.hero h1 .l:nth-child(3) {
  animation-delay:.18s;
}

.hero-copy .eyebrow,
.hero-copy > p,
.hero-actions,
.trust {
  animation:fade .8s ease .35s both;
}

.hero-visual {
  animation:unveil 1.2s var(--ease) .1s both;
}

/* Scroll-Einblendung: Fotos sind immer sichtbar. Nur wenn ein Foto beim Scrollen von unten
   ins Bild kommt, setzt JavaScript die Klasse reveal-run und spielt eine kurze Einblendung ab. */
@keyframes reveal-in {
  from {
    opacity:0;
    transform:translateY(24px);
  }

  to {
    opacity:1;
    transform:none;
  }
}

.reveal-run {
  animation:reveal-in .7s var(--ease) both;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after {
    animation:none !important;
    transition:none !important;
  }

  .reveal-run {
    animation:none;
  }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width:1100px) {
  .links {
    gap:20px;
  }

  .team-grid {
    gap:14px;
  }

  .team-copy {
    gap:12px;
    padding-inline:18px;
  }

  .team-ico {
    width:38px;
    height:38px;
    padding:8px;
  }

  .improvements {
    grid-template-columns:1fr;
  }
}

/* ==========================================================================
   Navigation einklappen
   ========================================================================== */
@media (max-width:960px) {
  .menu {
    display:inline-flex;
  }

  .nav {
    min-height:72px;
    gap:12px;
  }

  .nav > .btn {
    margin-left:auto;
  }

  .links {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    gap:0;
    margin:0;
    padding:8px var(--gutter) 24px;
    background:var(--white);
    border-bottom:1px solid var(--line);
    box-shadow:0 24px 40px -28px rgba(32,37,34,.5);
  }

  .links.open {
    display:flex;
  }

  .links a {
    display:flex;
    align-items:center;
    min-height:60px;
    border-bottom:1px solid var(--line);
    font-family:var(--display);
    font-size:2rem;
    font-weight:600;
  }

  .links a:last-child {
    border-bottom:0;
  }

  .links a::after {
    display:none;
  }
}

/* ==========================================================================
   Smartphone und schmale Tablets
   ========================================================================== */
@media (max-width:860px) {
  :root {
    --section:clamp(72px,16vw,96px);
    --section-tight:clamp(56px,13vw,72px);
  }

  .section-head.split,
  .future .section-head {
    display:block;
  }

  .team-section .section-head {
    display:block;
    margin-bottom:32px;
  }

  .team-section .section-head > p {
    margin-top:24px;
    padding:2px 0 2px 18px;
  }

  .team-grid {
    grid-template-columns:1fr;
    gap:16px;
  }

  .team-photo {
    aspect-ratio:4 / 3;
    clip-path:polygon(0 0,100% 0,100% 86%,0 100%);
  }

  .team-photo img {
    object-position:50% 15%;
    clip-path:polygon(0 0,100% 0,100% calc(86% - 4px),0 calc(100% - 4px));
  }

  .team-copy {
    padding:14px 20px 24px;
  }

  .future .section-head > p {
    margin-top:24px;
    padding:0;
  }

  /* Hero: Text zuerst, dann das Foto randlos */
  .hero > .wrap,
  .hero-grid {
    display:block;
  }

  .hero-copy {
    padding:44px var(--gutter) 40px;
  }

  .hero-copy > p {
    margin-top:24px;
    font-size:1.0625rem;
  }

  .hero-actions {
    margin-top:32px;
  }

  .hero-actions .btn {
    flex:1 1 100%;
  }

  .trust {
    margin-top:36px;
  }

  .hero-visual {
    min-height:0;
    aspect-ratio:4 / 5;
    max-height:78vh;
    margin:0;
    width:100%;
  }

  .hero-visual img {
    object-position:42% 50%;
  }

  .visual-text {
    bottom:28px;
  }

  .facts {
    display:block;
    padding:28px var(--gutter) 32px;
  }

  .facts-inner {
    grid-template-columns:1fr 1fr;
  }

  .fact {
    gap:6px;
    padding-right:10px;
  }

  .fact + .fact {
    padding-left:18px;
  }

  .fact:nth-child(3) {
    grid-column:1 / -1;
    flex-direction:row;
    align-items:center;
    gap:16px;
    margin-top:22px;
    padding:20px 0 0;
    border-left:0;
    border-top:1px solid var(--line-dark);
  }

  .fact strong {
    font-size:2.25rem;
  }

  .fact span {
    font-size:.75rem;
  }

  /* Betreuung */
  .care-grid {
    display:block;
  }

  .care-photo {
    min-height:0;
    aspect-ratio:4 / 3;
  }

  .care {
    padding-top:0;
  }

  .photo-caption {
    padding:64px var(--gutter) 20px;
  }

  .photo-caption strong {
    font-size:1.4rem;
  }

  .care-copy {
    padding:48px var(--gutter) var(--section-tight);
  }

  .care-copy .btn {
    width:100%;
  }

  .cross-location {
    grid-template-columns:1fr;
    gap:12px;
    padding-block:48px;
  }

  /* Weiterentwicklung */
  .future-grid {
    grid-template-columns:1fr;
  }

  .hyrox-type {
    font-size:clamp(5rem,26vw,7.5rem);
    -webkit-text-stroke-width:1.5px;
  }

  .equipment .big {
    font-size:4rem;
  }

  .improvements {
    margin-top:44px;
  }

  /* Kontakt */
  .contact-layout {
    grid-template-columns:1fr;
  }


  /* Footer */
  .footer-top {
    grid-template-columns:1fr;
    gap:24px;
  }

  .social-bar > span {
    flex-basis:100%;
  }

  /* Mobiler Probetraining-Button, blendet sich im Kontaktbereich aus */
  .mobile-cta {
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:40;
    padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    border-top:1px solid var(--line);
    transition:transform .3s var(--ease);
  }

  .mobile-cta.hidden {
    transform:translateY(110%);
  }

  .mobile-cta .btn {
    width:100%;
  }

  body:not(.legal-page) footer {
    padding-bottom:110px;
  }

  /* Kursseite */
  .course-hero {
    grid-template-columns:1fr;
  }

  .course-hero > .wrap {
    max-width:none;
    padding:44px var(--gutter) 40px;
  }

  .course-hero img {
    min-height:0;
    aspect-ratio:4 / 3;
  }

  .course-grid {
    grid-template-columns:1fr;
    gap:48px;
  }

  .schedule-note {
    margin-inline:calc(-1 * var(--gutter));
  }

  .schedule-note .btn {
    width:100%;
  }
}

@media (max-width:420px) {
  .topline {
    padding-inline:12px;
    font-size:.6875rem;
  }

  .topline span {
    margin-left:6px;
  }

  .logo img {
    height:38px;
  }

  .nav > .btn {
    min-height:44px;
    padding-inline:14px;
    gap:8px;
    font-size:.875rem;
  }

  h1 {
    font-size:clamp(3.5rem,17.5vw,4.5rem);
  }

  .trust {
    align-items:flex-start;
  }
}

@media (min-width:861px) and (max-width:1100px) {
  .course-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ==========================================================================
   Phase 11: Smartphone-Feinschliff (nur bis 700px, Tablet und Desktop unverändert)
   ========================================================================== */
@media (max-width:700px) {
  /* --- Einheitlicher Rhythmus: Abschnitte 56–64px, Überschrift zu Einleitung 16px,
         Einleitung zum Inhalt 32px --- */
  :root {
    --section:64px;
    --section-tight:56px;
  }

  .section-head,
  .goals-section .section-head,
  .team-section .section-head,
  .membership-head,
  .faq-intro {
    margin-bottom:32px;
  }

  .section-head > p,
  .goals-section .section-head > p,
  .locations-section .section-head > p,
  .studio-section .section-head > p,
  .team-section .section-head > p,
  .future .section-head > p,
  .membership-head p,
  .faq-intro p,
  .teaser-copy > p,
  .care-copy > p,
  .reception-copy > p,
  .contact-copy > p {
    margin-top:16px;
  }

  /* --- Maßnahme A: Tarifkarten kompakter, Inhalte und Hervorhebung unverändert --- */
  .prices {
    gap:14px;
  }

  .price-top {
    padding:18px 22px 14px;
  }

  .price-label {
    margin-bottom:8px;
  }

  .price-desc {
    margin-top:10px;
  }

  .price-amount {
    padding:12px 0 14px;
  }

  .price-amount strong {
    font-size:2.125rem;
  }

  .price-variant {
    margin-top:4px;
  }

  .price ul {
    gap:8px;
    padding:14px 22px 16px;
  }

  .price .btn {
    margin:0 22px 20px;
  }

  .hyrox-bar-copy {
    padding:20px 22px 24px;
  }

  /* --- Maßnahme B: Trainingswelten kürzer, Bilder bleiben groß und mit schräger Kante --- */
  .worlds {
    gap:12px;
  }

  .world-photo,
  .world-egym .world-photo {
    aspect-ratio:16 / 9;
  }

  .world-egym .world-photo img {
    object-position:50% 62%;
  }

  .world-gym80 .world-photo img {
    object-position:50% 62%;
  }

  .world-flexx .world-photo img {
    object-position:50% 70%;
  }

  .world-body,
  .world-egym .world-body {
    padding:16px 22px 22px;
  }

  .world-body h3,
  .world-egym .world-body h3 {
    margin-top:12px;
    font-size:2.125rem;
  }

  /* Desktop-Zeilenumbruch in den Überschriften mobil aufheben, Text bleibt gleich */
  .world-body h3 br {
    display:none;
  }

  .world-body > p,
  .world-egym .world-body > p {
    margin-top:10px;
    font-size:.9375rem;
    line-height:1.55;
  }

  .world-list {
    gap:8px;
    margin:16px 0 20px;
  }

  .world-benefits {
    gap:10px;
    margin:16px 0 20px;
  }

  /* --- Team: Porträt links neben dem Namen statt groß darüber --- */
  .team-grid {
    gap:12px;
  }

  .team-card {
    display:grid;
    grid-template-columns:38% minmax(0,1fr);
    min-height:148px;
  }

  .team-photo {
    aspect-ratio:auto;
    clip-path:polygon(0 0,100% 0,82% 100%,0 100%);
  }

  .team-photo img {
    position:absolute;
    inset:0;
    object-position:50% 22%;
    clip-path:polygon(0 0,calc(100% - 5px) 0,calc(82% - 5px) 100%,0 100%);
  }

  .team-copy {
    flex-direction:column;
    justify-content:center;
    gap:10px;
    padding:16px 16px 16px 8px;
  }

  .team-ico {
    width:36px;
    height:36px;
    padding:8px;
  }

  .team-copy h3 {
    font-size:1.625rem;
  }

  .team-group {
    aspect-ratio:4 / 3;
    margin-bottom:12px;
  }

  .team-group img {
    object-position:55% 60%;
  }
}
