/* ==========================================================================
   EASYFITNESS Corporate Design – Styleguide-Umsetzung
   Quelle: Praesentation_EASYFITNESS_CorporateDesign.pdf
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FARBEN (Styleguide S. 3)
   Primär: Hellgrün / Anthrazit / Weiss · Sekundär: Violett
   -------------------------------------------------------------------------- */
:root {
  --ef-green:      #AFCA0B;  /* Hellgrün  · CMYK 40/0/100/0 · Pantone 3507 C */
  --ef-anthracite: #272726;  /* Anthrazit · CMYK 0/0/0/95  · Pantone Black 7 C */
  --ef-white:      #FFFFFF;  /* Weiss */
  --ef-violet:     #501E70;  /* Violett (Sekundärfarbe) · Pantone 3555 C */

  --ef-grey-bg:    #F4F4F2;  /* neutrale Fläche, abgeleitet */

  /* Typografie (Styleguide S. 4) */
  --font-headline: 'Greycliff CF', 'Poppins', 'Helvetica Neue', Arial, sans-serif; /* Heavy, NUR VERSALIEN */
  --font-body:     'Greycliff CF', 'Poppins', 'Helvetica Neue', Arial, sans-serif; /* Light */
  --font-accent:   'EDO SZ', 'Permanent Marker', cursive;                          /* 1. Schmuckschrift, NUR VERSALIEN */
}

/* Lizenzierte Hausschriften – Font-Dateien unter /fonts/ ablegen, sobald vorhanden.
   Bis dahin greifen SELBST GEHOSTETE Fallbacks (Poppins OFL / Permanent Marker Apache-2.0).
   Keine externen Font-Requests (Consent-/DSGVO-Vorgabe des Projekts). */
@font-face {
  font-family: 'Greycliff CF';
  src: url('/fonts/GreycliffCF-Heavy.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Greycliff CF';
  src: url('/fonts/GreycliffCF-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'EDO SZ';
  src: url('/fonts/edosz.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* Fallback: Poppins (lokal gehostet) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/poppins-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/poppins-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fallback für EDO SZ: Permanent Marker (lokal gehostet) */
@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/permanent-marker-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Horizontalen Überlauf global unterbinden: verhindert, dass ein einzelnes zu
   breites Element die ganze Seite seitlich verschiebt (seitliches Scrollen auf
   Mobil). WICHTIG: overflow-x:clip statt hidden – clip unterbindet den Überlauf
   ebenso, macht das Element aber NICHT zum Scroll-Container und bricht daher
   position:sticky (Header) nicht. overflow:hidden auf body hatte den fixierten
   Header beim Scrollen gelöst. */
html, body { overflow-x: clip; }
html, body { max-width: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ef-anthracite);
  background: var(--ef-white);
}

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

a { color: inherit; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* Headlines: Greycliff CF Heavy, NUR IN VERSALIEN (Styleguide S. 4) */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

/* Schmuckschrift-Akzente (EDO SZ, nur Versalien) */
.accent-script {
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ef-green);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Header – Anthrazit-Balken mit grüner Linie (analog Styleguide-Folien)
   Logo: weiß/anthrazit-Variante auf dunklem Grund
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(39, 39, 38, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(175, 202, 11, 0.35);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(28, 28, 27, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: var(--ef-green);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.65rem;
}

.site-header .logo { display: inline-flex; align-items: center; }
.site-header .logo img {
  height: 36px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--ef-white);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--ef-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover { color: var(--ef-green); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Header-Buttons: kompakt, Pill-Form (UI 2026) */
.site-header .btn {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
}
.site-header .btn:hover { transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 42px; height: 42px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--ef-white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Backdrop fürs Mobile-Menü */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 90;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* Ghost-Button (sekundäre CTAs) */
.btn-ghost {
  background: transparent;
  color: var(--ef-white);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover {
  border-color: var(--ef-green);
  color: var(--ef-green);
}

/* Sprachumschalter DE/EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 0.6rem;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.lang-switch > *:first-child::after {
  content: "/";
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}
.lang-switch a { color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color .2s ease; }
.lang-switch a:hover { color: var(--ef-green); }
.lang-switch .lang-current { color: var(--ef-green); }

/* Mobile: Hamburger + Drawer */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  /* backdrop-filter am Header erzeugt einen neuen Containing Block und würde
     das position:fixed des Drawers (Kind des Headers) an den Header statt an
     den Viewport binden. Auf Mobil daher deckender Hintergrund ohne Blur, damit
     der Drawer korrekt am Viewport ausgerichtet ist. */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--ef-anthracite);
  }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(86vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.25rem 1.5rem 2rem;
    background: var(--ef-anthracite);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    z-index: 95; /* über dem Backdrop (90); vorher z-index:2 -> Drawer lag unter Backdrop/Inhalt und war nicht bedienbar */
  }
  .main-nav.is-open { transform: translateX(0); }
  /* Toggle über dem Drawer halten, damit er zum Schließen klickbar bleibt. */
  .nav-toggle { position: relative; z-index: 96; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links a::after { display: none; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .site-header .btn {
    text-align: center;
    font-size: 0.85rem;
    padding: 0.9rem 1.15rem;
  }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-green {
  background: var(--ef-green);
  color: var(--ef-anthracite);
}

.btn-outline-white {
  border: 2px solid var(--ef-white);
  color: var(--ef-white);
}

.btn-outline-white:hover {
  background: var(--ef-white);
  color: var(--ef-anthracite);
}

.btn-outline-dark {
  border: 2px solid var(--ef-anthracite);
  color: var(--ef-anthracite);
}

.btn-outline-dark:hover {
  background: var(--ef-anthracite);
  color: var(--ef-white);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ef-anthracite);
  color: var(--ef-white);
  overflow: hidden;
}

.hero::after {
  /* grüner Verlauf am unteren Rand – analog Social-Media-Motive (S. 7) */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(175, 202, 11, 0.55), transparent);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* Querformat-Foto mittig einpassen; bei Bedarf anpassen */
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 6rem 7rem;
  max-width: 760px;
}

.hero .accent-script {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  display: block;
  margin-bottom: 0.75rem;
}

.hero p.address {
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.hero .hours {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero .cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Hero der Startseite: Text links, Angebotskarte rechts
   Ziel: Nutzen und Preis auf einen Blick, ein klarer Handlungsaufruf.
   -------------------------------------------------------------------------- */
.hero-split {
  /* ueberschreibt die schmale Textspalte von .hero-inner */
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-lead {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34em;
}

.hero-facts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hero-facts li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.1rem;
  height: 0.55rem;
  border-left: 3px solid var(--ef-green);
  border-bottom: 3px solid var(--ef-green);
  transform: rotate(-45deg);
}

/* Hero-Highlights: die wichtigsten Vorteile als hervorgehobene Chips.
   Gruener Rahmen + dezente Fuellung, damit sie als Highlights auffallen. */
.hero-highlights {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ef-white);
  background: rgba(175, 202, 11, 0.12);
  border: 1px solid var(--ef-green);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Ganze Chip-Flaeche klickbar: der Link traegt das Padding und fuellt das li. */
.hero-highlights li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
}

/* Hover/Focus: Chip fuellt sich gruen, Text dunkel - deutliches Klick-Feedback. */
.hero-highlights li:hover,
.hero-highlights li:focus-within {
  background: var(--ef-green);
  color: var(--ef-anthracite);
}

/* Hero-Benefits: kurzes, nicht-klickbares Vorteils-Extrakt (z. B. EMS-Hero).
   Optik wie die Highlight-Chips (grüner Rahmen, dezente Füllung), aber ohne
   Link/Hover, da es reine Info-Chips sind. */
.hero-benefits {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ef-white);
  border: 2px solid var(--ef-green);
  border-radius: 999px;
  background: rgba(175, 202, 11, 0.12);
}

/* Mobil: alle Vorteils-Chips gleich groß (volle Breite, zentrierter Text). */
@media (max-width: 640px) {
  .hero-benefits {
    flex-direction: column;
  }
  .hero-benefits li {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Angebotskarte - in der Sekundaerfarbe Violett (#501E70, Pantone 3555 C)
   hervorgehoben. Violett ist im Styleguide die Aktionsfarbe und wird hier
   bewusst genutzt, damit die Karte sich vom gruenen Grundton abhebt; der
   Handlungsaufruf bleibt gruen und sticht dadurch zusaetzlich heraus. */
.offer-card {
  background:
    linear-gradient(158deg, rgba(80, 30, 112, 0.62) 0%, rgba(28, 28, 27, 0.93) 58%);
  border: 1px solid rgba(80, 30, 112, 0.7);
  border-top: 4px solid var(--ef-violet);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  box-shadow: 0 26px 60px -20px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(80, 30, 112, 0.4) inset;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

/* Dezenter Shine-Sweep über die gesamte Angebotskarte: ein schräger
   Lichtreflex gleitet in großem Abstand (lange Pause) über die violette
   Fläche – lebendig, aber nicht aufdringlich. */
.offer-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 55%;
  height: 200%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 0;
  animation: offer-shine 7s ease-in-out infinite;
}

/* Karteninhalt über dem Reflex halten, damit das Licht Texte/Button nicht überdeckt. */
.offer-card > * {
  position: relative;
  z-index: 1;
}

@keyframes offer-shine {
  /* Sweep läuft nur in den ersten ~15 % des Zyklus, danach lange Pause */
  0%   { left: -75%; opacity: 0; }
  2%   { opacity: 1; }
  15%  { left: 125%; opacity: 1; }
  16%  { left: 125%; opacity: 0; }
  100% { left: 125%; opacity: 0; }
}

/* Kein Reflex, wenn der Nutzer reduzierte Bewegung wünscht. */
@media (prefers-reduced-motion: reduce) {
  .offer-card::after { animation: none; display: none; }
}

.offer-badge {
  display: inline-block;
  background: var(--ef-violet);
  color: var(--ef-white);
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.45em 1em;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 18px -6px rgba(80, 30, 112, 0.9);
}

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1;
  margin: 0 0 1.25rem;
}

.offer-price-from {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.offer-price-value {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  color: var(--ef-white);
}

.offer-price-unit {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.offer-cta { display: block; width: 100%; }

.offer-trust {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.offer-secondary {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ef-green);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offer-note {
  margin: 1.25rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-facts { max-width: 34em; }
}

/* --------------------------------------------------------------------------
   Sektionen
   -------------------------------------------------------------------------- */
section { padding-block: 4.5rem; }

.section-head {
  margin-bottom: 2.5rem;
}

.section-head .accent-script {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.35rem;
}

.section-dark {
  background: var(--ef-anthracite);
  color: var(--ef-white);
}

.section-grey { background: var(--ef-grey-bg); }

/* Infotext-Block (z. B. EMS-Erklärung): gut lesbarer Fließtext mit begrenzter
   Zeilenlänge und ruhigem vertikalem Rhythmus. */
.ems-info {
  max-width: 780px;
}
.ems-info p {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(39, 39, 38, 0.85);
}
.ems-info p strong {
  color: var(--ef-anthracite);
  font-weight: 700;
}
.ems-info .cta-row {
  margin-top: 1.75rem;
}

/* Rechtstexte (Impressum, Datenschutz): vertikaler Rhythmus für Fließtext –
   der globale Margin-Reset lässt Überschriften sonst direkt am Absatz kleben */
.legal h2 { margin: 2.75rem 0 1rem; }
.legal h3 { margin: 2rem 0 0.75rem; }
.legal h4 { margin: 1.5rem 0 0.5rem; }
.legal p, .legal ul, .legal dl { margin-bottom: 1rem; }
.legal ul { padding-left: 1.35rem; }

/* --------------------------------------------------------------------------
   Tarife
   -------------------------------------------------------------------------- */
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.tariff-card {
  background: var(--ef-white);
  color: var(--ef-anthracite);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Highlighted (empfohlener) Tarif */
.tariff-card.highlighted {
  box-shadow: 0 18px 48px rgba(175, 202, 11, 0.35);
  border: 2px solid var(--ef-green);
}

/* "Beliebt" Badge für highlighted Karte – schwebendes Pill oben mittig */
.tariff-card.highlighted .badge-popular {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ef-green);
  color: var(--ef-anthracite);
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* kleiner Stern/Blitz vor dem Text */
.tariff-card.highlighted .badge-popular::before {
  content: '★';
  font-size: 0.8em;
  line-height: 1;
}

/* Der hervorgehobene Kopf braucht oben Platz für das schwebende Badge */
.tariff-card.highlighted .card-head {
  padding-top: 2.75rem;
}

.tariff-card .card-head {
  background: var(--ef-anthracite);
  color: var(--ef-white);
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 5px solid var(--ef-green);
}

.tariff-card .card-head .accent-script {
  font-size: 1.15rem;
}

/* Preisauszeichnung: Punkt als Trennung, KEIN Leerzeichen vor € (Styleguide S. 5) */
.price {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
  margin-top: 0.35rem;
}

.price sup {
  font-size: 0.45em;
  top: -0.9em;
  position: relative;
}

.price-period {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ef-green);
}

.tariff-card ul {
  list-style: none;
  padding: 1.5rem 1.75rem;
  flex: 1;
}

.tariff-card ul li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.65rem;
}

.tariff-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--ef-green);
}

.tariff-card ul li.fee::before { background: var(--ef-violet); }

.tariff-card .card-cta {
  padding: 0 1.75rem 1.75rem;
}

.tariff-card .card-cta .btn { width: 100%; text-align: center; }

/* Violettes Angebots-Badge (Sekundärfarbe, analog Social-Media-Motive) */
.badge-violet {
  display: inline-block;
  background: var(--ef-violet);
  color: var(--ef-white);
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}

/* Sternchentext */
.fineprint {
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(39, 39, 38, 0.65);
  padding: 0 1.75rem 1.5rem;
}

.section-dark .fineprint-global {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Vorteile
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.benefit {
  background: var(--ef-white);
  border-left: 5px solid var(--ef-green);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  overflow-wrap: break-word;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.benefit--gymid {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-left: 5px solid var(--ef-violet);
  color: var(--ef-white);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.benefit--gymid img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   Vorteile als durchlaufende Reihe (Marquee)
   Kacheln laufen endlos von rechts nach links. Der Track enthaelt die Kacheln
   doppelt; bei -50% Verschiebung beginnt optisch nahtlos das zweite Set.
   -------------------------------------------------------------------------- */
.benefits-marquee {
  overflow: hidden;
  width: 100%;
  margin: 2.5rem 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.benefits-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: benefits-scroll 38s linear infinite;
}

.benefits-marquee:hover .benefits-marquee-track {
  animation-play-state: paused;
}

.benefits-marquee .benefit {
  flex: 0 0 auto;
  width: 240px;
  box-sizing: border-box;
}

@keyframes benefits-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .benefits-marquee-track { animation: none; }
  /* Ohne Animation die Reihe horizontal scrollbar machen, damit alle Kacheln
     erreichbar bleiben. */
  .benefits-marquee { overflow-x: auto; }
}

/* --------------------------------------------------------------------------
   Konzept / Galerie
   -------------------------------------------------------------------------- */
#konzept {
  /* Beim Anspringen per #konzept-Anker unter dem sticky Header freihalten */
  scroll-margin-top: 90px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.split .accent-script { font-size: 1.35rem; display: block; margin-bottom: 0.35rem; }

.split p + p { margin-top: 1rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Konzept-Slideshow (loest das einzelne grosse Bild ab)
   Fester Rahmen, alle Slides gestapelt, sanfter Crossfade per Opazitaet.
   Zwei Bilder liegen gedreht vor und werden per CSS aufgerichtet:
   .rot-right = 90 Grad im Uhrzeigersinn, .rot-left = 90 Grad gegen den UZS.
   Da aus Quer- ein Hochformat wird, deckt object-fit:cover im gedrehten
   Zustand den Rahmen ab.
   -------------------------------------------------------------------------- */
.konzept-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ef-anthracite);
}

.konzept-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.konzept-slide.is-active {
  opacity: 1;
}

/* Gedrehte Slides: das Bild um seinen Mittelpunkt rotieren und zusaetzlich
   hochskalieren, damit es den 3:2-Rahmen vollstaendig ausfuellt (kein Rand).
   Ein gedrehtes 3:2-Bild belegt sonst nur 66,7 % der Rahmenbreite -> Faktor 1,5
   bringt es auf volle Breite; der Ueberstand in der Hoehe wird von
   overflow:hidden des Rahmens beschnitten. object-fit:cover haelt das
   Bildseitenverhaeltnis. */
.konzept-slide.rot-right,
.konzept-slide.rot-left {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform-origin: center center;
}

.konzept-slide.rot-right {
  transform: rotate(90deg) scale(1.5);
}

.konzept-slide.rot-left {
  transform: rotate(-90deg) scale(1.5);
}

/* --------------------------------------------------------------------------
   Betreiber
   -------------------------------------------------------------------------- */
.operator dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.5rem;
}

.operator dt {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ef-green);
  padding-top: 0.15rem;
}

@media (max-width: 620px) {
  .operator dl { grid-template-columns: 1fr; }
  .operator dd { margin-bottom: 0.75rem; }
}

/* --------------------------------------------------------------------------
   Footer – fester Bestandteil (Styleguide S. 5):
   Anthrazit, weiße Schrift, grüne Akzente, ausschließlich Greycliff
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ef-anthracite);
  color: var(--ef-white);
  border-top: 6px solid var(--ef-green);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-block: 3rem 2rem;
}

.footer-main h4 {
  color: var(--ef-green);
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.footer-main ul { list-style: none; }

.footer-main li { margin-bottom: 0.45rem; }

.footer-main a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
}

.footer-main a:hover { color: var(--ef-green); }

/* --------------------------------------------------------------------------
   Footer: Kuendigung und Widerruf als umrandete Buttons
   Gesetzlich vorgeschriebene Schaltflaechen sollen als solche erkennbar sein
   und nicht zwischen den uebrigen Textlinks untergehen (§ 312k BGB).
   -------------------------------------------------------------------------- */
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.footer-btn {
  display: inline-block;
  padding: 0.55em 1.1em;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.footer-btn:hover,
.footer-btn:focus-visible {
  border-color: var(--ef-green);
  color: var(--ef-green);
  background-color: rgba(175, 202, 11, 0.08);
}

@media (max-width: 560px) {
  /* Auf schmalen Geraeten volle Breite, damit die Beschriftung nicht umbricht */
  .footer-actions { flex-direction: column; align-items: stretch; }
}

/* Adress-Footer im Werbemittel-Format:
   Adresse ∙ PLZ Ort ∙ Kontakt ∙ www.easyfitness.club */
.footer-address {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-address .sep { color: var(--ef-green); padding-inline: 0.35rem; }

/* Segmente (Adresse, PLZ/Ort, E-Mail, URL) nicht mittendrin umbrechen –
   Umbruch nur an den Leerzeichen um die ∙-Trenner */
.footer-address .addr-item,
.footer-address a { white-space: nowrap; }

.footer-address a { color: var(--ef-white); text-decoration: none; }

.footer-address a:hover { color: var(--ef-green); }

/* --------------------------------------------------------------------------
   Utilities (CI-konform statt Inline-Styles)
   -------------------------------------------------------------------------- */
.link-green { color: var(--ef-green); text-decoration: none; }
.link-green:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Kontakt-Karten (Kontaktseite)
   -------------------------------------------------------------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.75rem 1.5rem;
  background: var(--ef-white);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ef-anthracite);
  box-shadow: 0 10px 30px rgba(39, 39, 38, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(39, 39, 38, 0.13);
}
.contact-card-icon {
  display: inline-grid;
  place-items: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--ef-green);
  margin-bottom: 1rem;
}
.contact-card-icon svg { width: 30px; height: 30px; }
.contact-card-label {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(39, 39, 38, 0.5);
  margin-bottom: 0.25rem;
}
.contact-card-value {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ef-anthracite);
  word-break: break-word;
  transition: color .2s ease;
}
.contact-card:hover .contact-card-value { color: var(--ef-green); }
.contact-sub {
  text-align: center;
  margin-top: 2.25rem;
  line-height: 1.7;
  color: rgba(39, 39, 38, 0.7);
}
.note-small { margin-top: 1.75rem; font-size: 0.85rem; }
.mt-1 { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Aggregatoren / Firmenfitness-Sektion
   -------------------------------------------------------------------------- */
.aggregator-intro {
  max-width: 46em;
  margin: 0 auto 2rem;
  text-align: center;
}

.aggregator-pills {
  list-style: none;
  margin: 0 auto 2.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.aggregator-pills li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--ef-white);
  background: rgba(175, 202, 11, 0.12);
  border: 1px solid var(--ef-green);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Ganze Pill klickbar: Link traegt das Padding und fuellt das li. */
.aggregator-pills li a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
}

.aggregator-pills li:hover,
.aggregator-pills li:focus-within {
  background: var(--ef-green);
  color: var(--ef-anthracite);
}

.aggregator-cta {
  text-align: center;
}

.img-rounded { border-radius: 6px; }

/* Social-Icons im Hero (Logo bei Social Media: einfarbig – hier Icon-Stil weiß) */
.hero-social {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.25rem;
}
.hero-social a {
  color: var(--ef-white);
  transition: color .2s ease;
}
.hero-social a:hover { color: var(--ef-green); }
.hero-social svg { width: 26px; height: 26px; }

/* Claim-Band – Schmuckschrift EDO SZ, NUR VERSALIEN (Styleguide S. 4) */
.claim-band {
  background: var(--ef-anthracite);
  border-top: 6px solid var(--ef-green);
  border-bottom: 6px solid var(--ef-green);
  color: var(--ef-white);
  text-align: center;
}
.claim-band .claim-line {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  display: block;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Anfahrt – Skizze im Werbemittel-Stil (Styleguide S. 6):
   Anthrazit-Fläche, weiße Straßenlinien, Beschriftung in Schmuckschrift,
   grüner Standort-Pin
   -------------------------------------------------------------------------- */
.anfahrt-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}

.anfahrt-facts dt {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ef-green);
  padding-top: 0.15rem;
}

@media (max-width: 620px) {
  .anfahrt-facts { grid-template-columns: 1fr; }
  .anfahrt-facts dd { margin-bottom: 0.75rem; }
}

.map-sketch {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 1rem;
}

.map-sketch svg { width: 100%; height: auto; display: block; }

.map-sketch .road {
  fill: none;
  stroke: var(--ef-white);
  stroke-width: 7;
  stroke-linecap: round;
}

.map-sketch .road-thin { stroke-width: 4; opacity: 0.85; }

.map-sketch .rail {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 3;
  stroke-dasharray: 10 7;
}

.map-sketch .map-label {
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-size: 15px;
  fill: var(--ef-white);
  letter-spacing: 0.04em;
}

.map-sketch .map-label--ef {
  fill: var(--ef-green);
  font-size: 19px;
}

.map-sketch .poi { fill: rgba(255, 255, 255, 0.75); }

.map-sketch .pin path { fill: var(--ef-green); }

.map-sketch .pin .pin-dot { fill: var(--ef-anthracite); }

/* --------------------------------------------------------------------------
   Probetraining – Ablauf in 3 Schritten
   -------------------------------------------------------------------------- */
.hero--sub .hero-inner { padding-block: 4.5rem 5.5rem; }

.hero-sub-text {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step {
  background: var(--ef-grey-bg);
  border-top: 5px solid var(--ef-green);
  border-radius: 0 0 6px 6px;
  padding: 1.75rem 1.6rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--ef-anthracite);
  color: var(--ef-green);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step h3 { margin-bottom: 0.5rem; }

.step a { color: inherit; text-decoration: underline; }

.cta-row--center { justify-content: center; }

/* CTA-Button-Reihe (Claim-Band, Danke-Seite): nebeneinander mit Abstand.
   Die Hero-Variante hat weiter oben ihre eigene .hero .cta-row-Regel.
   Kein justify-content hier, damit die Hero-Ausrichtung (links) erhalten
   bleibt; Zentrierung nur ueber .cta-row--center. */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobil: Buttons untereinander, gleiche Breite, mehr Abstand. */
@media (max-width: 560px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cta-row .btn {
    width: 100%;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Consent: Footer-Button für Cookie-Einstellungen im Link-Stil
   (Banner-Styles siehe consent.css)
   -------------------------------------------------------------------------- */
.footer-consent-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: rgba(255, 255, 255, 0.85);
}

.footer-consent-btn:hover { color: var(--ef-green); }

/* --------------------------------------------------------------------------
   Bewerbungsformular (Jobs-Seite) / Kontaktformular
   -------------------------------------------------------------------------- */
.apply-form { max-width: 640px; margin: 0 auto; text-align: left; }
.apply-form .form-row { display: flex; gap: 1rem; }
.apply-form .form-row > * { flex: 1; }
.apply-form label {
  display: block;
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--ef-anthracite);
  margin: 0 0 0.35rem;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ef-anthracite);
  background: var(--ef-white);
  border: 1px solid rgba(39, 39, 38, 0.2);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus { outline: none; border-color: var(--ef-green); }
.apply-form textarea { resize: vertical; min-height: 120px; }
.apply-form .form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.25rem 0 1rem;
  cursor: pointer;
}
.apply-form .form-consent input { width: auto; margin: 0.25rem 0 0; accent-color: var(--ef-green); flex: none; }
.apply-form .field-hint { font-size: 0.8rem; color: rgba(39, 39, 38, 0.6); margin: 0 0 1.25rem; }
.apply-form .form-error { color: #c0392b; font-size: 0.9rem; margin: 0 0 1rem; min-height: 1em; }
.apply-form .btn { width: 100%; text-align: center; }
.apply-contact { text-align: center; line-height: 1.8; color: rgba(39, 39, 38, 0.75); margin-top: 2rem; }
@media (max-width: 560px) {
  .apply-form .form-row { flex-direction: column; gap: 0; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hero-inner { padding-block: 4rem 5rem; }
}

/* --------------------------------------------------------------------------
   Kursplan-Widget (Magicline/MySports, siehe boxen.html)
   Der Standort-Waehler des eingebetteten Widgets laesst sich technisch nicht
   entfernen (Cross-Origin-iFrame, kein Konfigurationsparameter von Magicline
   dafuer). Stattdessen wird die Kopfzeile mit dem Standort-Dropdown optisch
   ueberdeckt und deren Klicks abgefangen, sodass nur "EASYFITNESS Wismar"
   sichtbar/bedienbar ist. Falls Magicline die Hoehe der Kopfzeile im Widget
   aendert, muss --courseplan-lock-h unten angepasst werden.
   -------------------------------------------------------------------------- */
.courseplan-embed {
  position: relative;
}
.courseplan-lock {
  --courseplan-lock-h: 3.6rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--courseplan-lock-h);
  background: var(--ef-grey-bg);
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ef-anthracite);
  z-index: 2;
  pointer-events: auto;
}

/* Basisregel fuer .field-hint ausserhalb von Formularen (z. B. der Hinweis
   unter dem Kursplan). Die spezifischere Regel .apply-form .field-hint weiter
   oben behaelt fuer Formulare Vorrang. */
.field-hint {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(39, 39, 38, 0.6);
  margin: 1.25rem 0 0;
}
