/* ==========================================================================
   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; }

/* Kein horizontaler Scrollbalken: overflow-x auf html UND body.
   clip statt hidden, weil hidden einen Scroll-Container erzeugen und damit
   position:sticky im Header aushebeln würde. Am html-Element nötig, damit auch
   fest positionierte Elemente (das geschlossene Menü-Panel liegt rechts
   außerhalb) keine scrollbare Breite mehr erzeugen. */
html { overflow-x: clip; }
body { overflow-x: clip; }
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  /* Sehr lange Komposita (z. B. "Verbraucherstreitbeilegung/Universalschlichtungs-
     stelle") würden auf schmalen Geräten aus ihrem Kasten laufen. break-word bricht
     sie nur im Notfall um, hyphens setzt dabei einen Trennstrich. */
  overflow-wrap: break-word;
  hyphens: auto;
  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;
  /* Keine automatische Silbentrennung in Überschriften und Buttons – dort wirkt
     ein Trennstrich störend. Weiche Trennstriche (&shy;) bleiben wirksam. */
  hyphens: manual;
}

.btn, .accent-script, .benefit, .lang-switch, .nav-links a { hyphens: manual; }

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: flex-start;
  gap: 1.5rem;
  padding-block: 0.65rem;
}

/* Navigation rechtsbündig, Sprachumschalter dahinter */
.main-nav { margin-left: auto; }
.site-header .lang-switch { margin-left: 1.25rem; }

.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 */
.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);
}

/* Mobile: Hamburger + Drawer */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .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%);
    /* Geschlossen zusätzlich unsichtbar und nicht bedienbar – ein nur
       verschobenes Panel kann sonst Breite erzeugen und per Tab erreichbar sein.
       Die Verzögerung sorgt dafür, dass die Schließen-Animation sichtbar bleibt. */
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .32s;
    overflow-y: auto;
    z-index: 2;
  }
  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s;
  }
  .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; }

  /* Sprachumschalter bleibt in der Kopfleiste sichtbar (nicht im Drawer):
     Reihenfolge per flex order → Logo | DE/EN | Burger.
     Der Container-Gap (1.5rem) wird hier verkleinert, damit DE/EN direkt links
     neben dem Burger sitzt; das negative Außenmaß am Burger hebt seine innere
     Polsterung auf, sodass das Icon optisch am rechten Rand abschließt. */
  .site-header .container { gap: 0.6rem; }
  .site-header .lang-switch { order: 1; margin-left: auto; margin-right: 0; }
  .site-header .nav-toggle { order: 2; margin-right: -9px; }

  /* Platz für die feste CTA-Leiste am unteren Rand – nur wenn sie ausgegeben wird
     (Wert wie auf gymedge.de) */
  body.has-mobile-cta { padding-bottom: 68px; }
}

/* --------------------------------------------------------------------------
   Feste CTA-Leiste (Mobil): Probetraining + Mitglied werden
   -------------------------------------------------------------------------- */
.mobile-cta { display: none; }

@media (max-width: 980px) {
  /* Aufbau 1:1 wie die .sticky-mobile-cta auf gymedge.de:
     Flexbox mit flex:1 je Button, 10px Abstand, 8px Radius,
     Polsterung 0.75em/1em, Safe-Area unten. */
  .mobile-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    padding: 0.6em 0.75em calc(0.6em + env(safe-area-inset-bottom, 0px));
    background-color: rgba(39, 39, 38, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, 0.5);
  }
  .mobile-cta .btn {
    flex: 1;
    /* min-width:0 nötig, damit ein Flex-Element unter die Mindestbreite seines
       Inhalts schrumpfen darf – sonst schiebt das lange Wort "PROBETRAINING"
       den zweiten Button über den Rand. */
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    /* gymedge nutzt feste 0.85rem; deren Beschriftungen bestehen aus zwei Wörtern
       und können umbrechen. "PROBETRAINING" ist ein Wort – daher leicht mit der
       Bildschirmbreite skalierend, damit es auch auf 320px-Geräten passt. */
    font-size: clamp(0.62rem, 3vw, 0.78rem);
    letter-spacing: 0.02em;
    padding: 0.75em 0.5em;
    border-radius: 8px;
    /* Umbruch erlauben und lange Wörter notfalls trennen – "PROBETRAINING" ist
       ein Wort und würde sonst über den Rand laufen. Der weiche Trennstrich
       (&shy;) im Text gibt die saubere Trennstelle vor. */
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.15;
  }
  /* Bei offenem Menü nicht über dem Backdrop liegen */
  body.nav-open .mobile-cta { display: none; }
}

/* --------------------------------------------------------------------------
   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;
  /* Abgerundete Form wie die Buttons im Header */
  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;
  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 {
  /* überschreibt 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);
}

/* Angebotskarte – in der Sekundärfarbe Violett (#501E70, Pantone 3555 C)
   hervorgehoben. Violett ist im Styleguide die Aktionsfarbe und wird hier
   bewusst genutzt, damit die Karte sich vom grünen Grundton abhebt; der
   Handlungsaufruf bleibt grün und sticht dadurch zusätzlich 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);
}

.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); }

/* 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;
  /* min() verhindert Überlauf auf schmalen Geräten: der Container ist bei 320px
     nur 294px breit (92%), eine starre Mindestbreite von 300px würde herausragen. */
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 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(min(210px, 100%), 1fr));
  gap: 1.25rem;
}

/* Variante für die Startseite: alle sechs Kacheln in einer Reihe.
   Eigene Klasse, damit die Vorteile-Seite mit ihren 12 Kacheln weiter umbricht. */
.benefits-grid--row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.benefits-grid--row .benefit {
  padding: 1rem 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  line-height: 1.35;
  hyphens: auto;
}

@media (max-width: 1100px) {
  .benefits-grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-grid--row .benefit { font-size: 0.82rem; }
}

@media (max-width: 680px) {
  .benefits-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.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;
}

.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);
}

/* In der einreihigen Variante etwas kleineres Logo, damit die Kachel nicht höher
   ausfällt als die übrigen fünf */
.benefits-grid--row .benefit--gymid { gap: 0.5rem; }
.benefits-grid--row .benefit--gymid img { height: 22px; }

/* --------------------------------------------------------------------------
   Konzept / Galerie
   -------------------------------------------------------------------------- */
.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(min(260px, 100%), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

/* --------------------------------------------------------------------------
   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(min(220px, 100%), 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); }

/* Adress-Footer im Werbemittel-Format:
   Adresse ∙ PLZ Ort ∙ Telefon ∙ E-Mail */
.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, Telefon) nicht mittendrin umbrechen –
   Umbruch nur an den Leerzeichen um die ∙-Trenner */
.footer-address .addr-item,
.footer-address a[href^="tel:"] { white-space: nowrap; }

/* Die E-Mail-Adresse ist mit 37 Zeichen zu lang für 320px-Geräte und muss
   notfalls umbrechen dürfen, sonst läuft sie aus dem Bild. */
.footer-address a[href^="mailto:"] { white-space: normal; overflow-wrap: anywhere; }

.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; }
.note-small { margin-top: 1.75rem; font-size: 0.85rem; }
.mt-1 { margin-top: 1rem; }
.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(min(240px, 100%), 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; }

/* --------------------------------------------------------------------------
   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); }

/* --------------------------------------------------------------------------
   Footer: Kündigung und Widerruf als umrandete Buttons
   Gesetzlich vorgeschriebene Schaltflächen sollen als solche erkennbar sein
   und nicht zwischen den übrigen Textlinks untergehen.
   -------------------------------------------------------------------------- */
.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: 6px;
  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 Geräten volle Breite, damit die Beschriftung nicht umbricht */
  .footer-actions { flex-direction: column; align-items: stretch; }
}

/* --------------------------------------------------------------------------
   Sprachumschalter (DE/EN) im Header
   -------------------------------------------------------------------------- */
.nav-area {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  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.15rem;
  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); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Bewerbungsformular (Jobs-Seite)
   -------------------------------------------------------------------------- */
.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; }
}

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

/* --------------------------------------------------------------------------
   Kontaktseite
   Die Faktenliste stammt aus der dunklen Anfahrt-Sektion. Auf hellem Grund
   wären die grünen Labels zu kontrastarm – daher hier Anthrazit.
   -------------------------------------------------------------------------- */
.contact-facts dt { color: var(--ef-anthracite); }

.contact-social,
.contact-links {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  line-height: 2;
}

.contact-social li,
.contact-links li { margin: 0; }
