@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;600;700&display=swap");

:root{
  --bg: #e5edf4;
  --page-canvas: #e5edf4;
  --card: #ffffff;
  --text: #101010;
  --muted: rgba(16,16,16,.62);

  --overlay: rgba(0,0,0,.55);
  --highlight: #007fdc;

  --cta: #007fdc;
  --cta-2: #2f5a7f;
  --outline: rgba(255,255,255,.75);

  /* Gleiche horizontale Einrückung wie Hero-Card (Seiten-Gutter) */
  --layout-gutter: 40px;

  /*
   * Karten-Innenabstand — gleiches Prinzip wie .masonry-card-text
   * (dort sitzt der Inhalt in einem eigenen Block mit Padding zum Kartenrand).
   */
  --card-content-pad-x: 36px;
  --card-content-pad-y: 40px;

  /* Alias für bestehende Regeln */
  --box-pad-y: var(--card-content-pad-y);
  --box-pad-x: var(--card-content-pad-x);
  --box-pad-y-tight: 36px;
  --box-pad-x-tight: 32px;

  /* Mitgliedschaft: etwas großzügiger als Standard-Karten */
  --plan-card-pad-x: 52px;
  --plan-card-pad-y: 52px;
  --plan-card-pad-bottom: 48px;

  /* Panel-Inhalt (z. B. „Über EpigFit“) — Hero nutzt dieselbe Spur */
  --section-content-max: 1540px;
  --section-pad-x: clamp(40px, 6vw, 88px);

  /* Sektions-H2 einheitlich (wie Testimonials), ohne Hero-H1 */
  --section-h2-size: clamp(28px, 3.5vw, 40px);
  --section-h2-weight: 700;
  --section-h2-lh: 1.15;
  --section-h2-track: -0.02em;
  --section-h2-color: rgba(7, 17, 24, 0.98);
  --section-h2-color-on-dark: rgba(255, 255, 255, 0.96);
}

*{ box-sizing: border-box; }

/* Gemeinsame Typo für Sektions-Überschriften (Poppins, gleiche Größe wie .tgrid-title) */
.about-split-title,
.surface-title,
.pros-split-heading,
.tgrid-title,
.faq-split-page-title,
.steps-head h2,
.contact-head h2,
.plans-display-title,
.cta-banner-title{
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: var(--section-h2-size);
  font-weight: var(--section-h2-weight);
  line-height: var(--section-h2-lh);
  letter-spacing: var(--section-h2-track);
}

.about-split-title,
.surface-title,
.pros-split-heading,
.tgrid-title,
.faq-split-page-title,
.steps-head h2,
.contact-head h2{
  color: var(--section-h2-color);
}

.plans-display-title{
  margin: 0;
  color: var(--section-h2-color-on-dark);
  text-transform: none;
}

html,body{ height: 100%; }

body{
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--page-canvas);
  color: var(--text);
}

/* Große, abgerundete Sektions-Panels mit sichtbarem Seiten-„Gutter“ (Referenz: BULL-Layout) */
.section-panel{
  width: calc(100% - var(--layout-gutter));
  max-width: none;
  margin: 12px auto;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 20px 50px rgba(52, 105, 144, 0.09);
}

/* Inhalt nutzt die volle Breite innerhalb des Panel-Innenabstands */
.section-panel .container{
  width: 100%;
  max-width: var(--section-content-max);
  padding: clamp(62px, 11vw, 128px) var(--section-pad-x);
}

.section-panel--dark{
  background: linear-gradient(155deg, #1e2a38 0%, #141c26 52%, #101820 100%);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.22),
    0 28px 70px rgba(0, 0, 0, 0.32);
  overflow: visible;
}

.section-panel--accent{
  background: linear-gradient(148deg, #b8cfe2 0%, #e0ebf5 40%, #c9dae9 100%);
  box-shadow:
    0 2px 4px rgba(52, 105, 144, 0.07),
    0 18px 46px rgba(52, 105, 144, 0.14);
}

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

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

.container{
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.page{
  min-height: 100vh;
  padding-bottom: 18px;
}

.hero{
  padding-top: 28px;
}

/* Gemeinsame Spur: Logo, Headline, Untertext und CTA starten auf derselben linken Linie */
.hero-card{
  --hero-align-max: var(--section-content-max);
  --hero-pad-x: var(--section-pad-x);
  position: relative;
  border-radius: 26px;
  /* visible: Nav-Dropdown darf über die Hero-Karte hinausragen (sonst Abschnitt) */
  overflow: visible;
  margin: 0 auto;
  width: calc(100% - var(--layout-gutter));
  min-height: 820px;
  background: #0b0b0b;
  display: flex;
  flex-direction: column;
}

.hero .container{
  box-sizing: border-box;
  width: 100%;
  max-width: var(--hero-align-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hero-pad-x);
  padding-right: var(--hero-pad-x);
}

.hero-bg{
  position:absolute;
  inset:0;
  clip-path: inset(0 round 26px);
  background-image: url("Andi-und-Basti2.webp");
  background-size: cover;
  background-position: center 22%;
  filter: saturate(1.05) contrast(1.02);
  transform: none;
}

.hero-scrim{
  position:absolute;
  inset:0;
  clip-path: inset(0 round 26px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.36) 48%, rgba(0,0,0,.62) 100%);
}

.nav{
  position: absolute;
  top: clamp(16px, 2.2vw, 28px);
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.25s ease, transform 0.25s ease;
}

.nav.is-sticky{
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 1100;
}

.nav.is-sticky .nav-surface{
  background: linear-gradient(
    130deg,
    rgba(9, 14, 22, 0.94) 0%,
    rgba(11, 18, 30, 0.9) 55%,
    rgba(10, 17, 28, 0.95) 100%
  );
  border-color: rgba(157, 201, 255, 0.28);
  box-shadow:
    0 10px 28px rgba(5, 10, 18, 0.44),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.nav.is-sticky .nav-links{
  background: rgba(7, 12, 19, 0.68);
  border-color: rgba(164, 207, 255, 0.22);
}

.nav.is-sticky .nav-links a,
.nav.is-sticky .nav-dropdown-toggle{
  color: rgba(244, 249, 255, 0.95);
}

.nav-inner{
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  width: 100%;
  justify-content: space-between;
}

/* Schwebende Glas-Leiste: Logo | Links (zentriert) | CTA */
.nav-surface{
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  padding: 12px clamp(16px, 2.5vw, 28px);
  border-radius: 22px;
  /* visible: Dropdown-Panel unter „Programm“ nicht abschneiden */
  overflow: visible;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  max-height: 100%;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.logo:hover{
  opacity: 0.92;
}

.logo:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Passt in die Glas-Leiste (kein scale — vermeidet Überstand nach Logo-Zuschnitt) */
.logo-img{
  height: clamp(38px, 5.2vw, 48px);
  width: auto;
  max-width: min(260px, 46vw);
  max-height: 48px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45));
}

.logo-text{
  font-size: 14px;
  letter-spacing: .1px;
}

.nav-links{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  overflow: visible;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links a{
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-links a:hover{
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-links a:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.nav-link-cta{
  display: none;
}

.btn-cta:hover{
  color: #ffffff;
  filter: brightness(1.03);
}

.nav-actions{
  display:flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta{
  font-weight: 600;
  font-size: 13px;
  padding: 11px 20px;
  box-shadow:
    0 4px 16px rgba(52, 105, 144, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nav-cta:hover{
  filter: brightness(1.08);
  box-shadow:
    0 6px 22px rgba(52, 105, 144, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.nav-cta:focus-visible{
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Programm-Dropdown (Startseite + Unterseiten) */
.nav-item--dropdown{
  position: relative;
}

.nav-dropdown-toggle{
  appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  font: inherit;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 30px 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}

.nav-dropdown-toggle::after{
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.nav-item--dropdown.is-open .nav-dropdown-toggle::after{
  transform: translateY(-25%) rotate(-135deg);
}

.nav-dropdown-toggle:hover{
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-dropdown-toggle:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.nav-dropdown-panel{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 1200;
  min-width: 268px;
  max-width: min(320px, 92vw);
  max-height: min(72vh, 440px);
  overflow-y: auto;
  padding: 10px;
  border-radius: 18px;
  background: rgba(12, 18, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.nav-item--dropdown.is-open .nav-dropdown-panel{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a{
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-panel a:hover{
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-dropdown-panel a:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 1px;
}

/* Navigation auf Unterseiten: nicht über dem Hero absolut positioniert */
.nav.nav--subpage{
  position: absolute;
  top: clamp(16px, 2.2vw, 28px);
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav.nav--subpage.is-sticky{
  position: fixed;
  top: 10px;
}

.nav.nav--subpage .container{
  /* Gleiche innere Spur wie in der Hero-Navigation */
  box-sizing: border-box;
  width: 100%;
  max-width: var(--section-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.subpage-hero .subpage-breadcrumb{
  font-size: 13px;
  /* Deutlicher Abstand unter der absolut positionierten Subpage-Nav */
  margin: clamp(22px, 3.2vw, 36px) 0 28px;
  color: rgba(255, 255, 255, 0.72);
}

/* Unterseiten-Hero: genug Luft bis zur ersten Content-Zeile (Breadcrumb) unter der Nav */
.subpage-hero > .container{
  position: relative;
  z-index: 2;
  padding-top: clamp(108px, 12vw, 148px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

/* Gleicher oberer Außenabstand der abgerundeten Hero-Box wie auf der Hauptseite */
.subpage-hero.section-panel{
  position: relative;
  isolation: auto;
  margin-top: 28px;
  min-height: clamp(400px, 50vh, 620px);
}

/* Trainings-Unterseiten: Bereichsbild wie auf der Startseite im Hero (Foto + Scrim) */
.subpage-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background-color: #141c26;
  /* background-image: inline am .subpage-hero-bg (HTML-Datei als Basis für url) — nicht per CSS-Variable aus styles.css */
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  filter: saturate(1.06) contrast(1.04);
  opacity: 0.44;
}

.subpage-hero-scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    rgba(6, 10, 16, 0.9) 0%,
    rgba(6, 10, 16, 0.52) 44%,
    rgba(10, 16, 26, 0.82) 100%
  );
}

/* Nav separat höher stapeln (s. .subpage-hero .nav.nav--subpage), sonst liegt der Hero-Content per DOM über der Leiste. */
.subpage-hero .nav.nav--subpage{
  z-index: 1100;
}

@media (prefers-reduced-motion: reduce){
  .subpage-hero-bg{
    filter: none;
  }
}

.subpage-hero .subpage-breadcrumb a{
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.subpage-hero .subpage-breadcrumb a:hover{
  color: rgba(255, 255, 255, 0.9);
}

.subpage-hero .subpage-breadcrumb > span:last-child{
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.subpage-hero .badge{
  margin-top: 0;
  margin-bottom: 6px;
  margin-left: 0;
  margin-right: auto;
}

.subpage-hero .surface-title.subpage-h1{
  text-align: left;
  margin: 20px 0 0;
  max-width: min(640px, 100%);
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.subpage-lead{
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin: 16px 0 0;
}

.subpage-hero .subpage-lead{
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.42);
}

.subpage-hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.subpage-content .subpage-split{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.subpage-h2{
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--section-h2-color);
  margin: 32px 0 14px;
}

.subpage-h2:first-child{
  margin-top: 0;
}

.subpage-prose{
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.subpage-article{
  max-width: 62ch;
}

.subpage-article > .subpage-prose:last-child{
  margin-bottom: 0;
}

.subpage-article-h2{
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--section-h2-color);
  margin: 28px 0 12px;
}

.subpage-article-h2:first-child{
  margin-top: 0;
}

.subpage-article-h3{
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(16, 16, 16, 0.88);
  margin: 20px 0 8px;
}

.subpage-article-list{
  margin: 0 0 18px;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.subpage-article-list li{
  margin: 0 0 8px;
}

.subpage-article + .subpage-h2{
  margin-top: 40px;
}

.subpage-aside{
  position: sticky;
  top: 20px;
}

.subpage-related{
  margin-top: 0;
  padding: 20px 22px;
  background: rgba(52, 105, 144, 0.06);
  border: 1px solid rgba(52, 105, 144, 0.12);
  border-radius: 20px;
}

.subpage-h3{
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(16, 16, 16, 0.88);
}

.subpage-related-list{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.subpage-related-link{
  font-size: 14px;
  font-weight: 600;
  color: var(--cta);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 127, 220, 0.12);
  cursor: pointer;
  transition: color 0.2s ease;
}

.subpage-related-link:hover{
  color: var(--cta-2);
}

.subpage-content .subpage-split.subpage-split--wide{
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
}

.philosophy-article{
  max-width: 76ch;
}

.philosophy-quote{
  margin: 18px 0 28px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(52, 105, 144, 0.2);
  background: linear-gradient(142deg, rgba(52, 105, 144, 0.12), rgba(52, 105, 144, 0.05));
  color: rgba(15, 24, 34, 0.9);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.philosophy-graphic-card{
  margin: 20px 0 30px;
}

.philosophy-graphic-card figcaption{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.philosophy-graphic{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(52, 105, 144, 0.2);
  background: linear-gradient(145deg, #f4f8fc 0%, #e8f0f8 100%);
  box-shadow:
    0 2px 5px rgba(16, 24, 34, 0.08),
    0 24px 40px rgba(52, 105, 144, 0.15);
}

.philosophy-graphic img{
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.philosophy-graphic--warm img{
  filter: none;
}

.philosophy-levels{
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.philosophy-level{
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(24, 46, 70, 0.16);
  background: #f8fbff;
}

.philosophy-level h3{
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  color: rgba(12, 23, 36, 0.95);
}

.philosophy-level p{
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(16, 16, 16, 0.68);
}

.philosophy-level--base{
  border-color: rgba(227, 135, 35, 0.35);
  background: linear-gradient(160deg, rgba(255, 250, 244, 0.9), rgba(255, 242, 226, 0.9));
}

.philosophy-level--mid{
  border-color: rgba(15, 122, 99, 0.32);
  background: linear-gradient(160deg, rgba(241, 253, 249, 0.92), rgba(230, 248, 242, 0.92));
}

.philosophy-level--top{
  border-color: rgba(37, 72, 122, 0.36);
  background: linear-gradient(160deg, rgba(242, 247, 255, 0.94), rgba(229, 239, 252, 0.94));
}

/* Laptop-Bereich (13/14/15"): Desktop-Look behalten, nur Typo/Spacing leicht verdichten */
@media (max-width: 1512px) and (min-width: 981px){
  .nav-surface{
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    padding: 10px 16px;
  }

  .logo-img{
    max-width: min(220px, 20vw);
    height: clamp(34px, 2.8vw, 42px);
  }

  .nav-links{
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    gap: 3px;
    padding: 3px 6px;
    justify-content: center;
  }

  .nav-links a,
  .nav-dropdown-toggle{
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 10px;
    letter-spacing: 0.01em;
  }

  .nav-dropdown-toggle{
    padding-right: 24px;
  }

  .nav-dropdown-toggle::after{
    right: 10px;
  }

  .nav-actions{
    display: flex;
    gap: 8px;
    margin-left: 4px;
  }

  .nav-cta{
    font-size: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap;
  }
}

@media (max-width: 1200px){
  .subpage-content .subpage-split.subpage-split--wide{
    grid-template-columns: minmax(0, 1fr);
  }

  .philosophy-article{
    max-width: none;
  }

  .subpage-split--wide .subpage-aside{
    position: static;
  }
}

@media (max-width: 980px){
  .philosophy-quote{
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .philosophy-graphic{
    border-radius: 18px;
  }

  .philosophy-graphic-card{
    margin: 16px 0 24px;
  }
}

@media (max-width: 640px){
  .philosophy-level{
    padding: 14px 14px;
    border-radius: 14px;
  }

  .philosophy-level h3{
    font-size: 15px;
  }

  .philosophy-level p{
    font-size: 13px;
    line-height: 1.6;
  }

  .philosophy-graphic-card figcaption{
    font-size: 12px;
  }
}

.subpage-content .faq-grid{
  max-width: none;
  margin: 12px 0 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}

.btn-outline{
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.7);
  background: transparent;
}

.btn-outline:hover{
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-cta{
  background: var(--cta);
  color: #ffffff;
  border-color: rgba(52,105,144,.35);
  box-shadow: 0 12px 30px rgba(52,105,144,.18);
}

.btn-ghost{
  border-color: rgba(16,16,16,.15);
  background: #ffffff;
  color: rgba(16,16,16,.9);
  padding: 10px 18px;
  border-radius: 12px;
}

.btn-ghost:hover{
  background: rgba(52, 105, 144, 0.1);
  border-color: rgba(52, 105, 144, 0.35);
  color: rgba(16, 16, 16, 0.96);
  box-shadow: 0 8px 22px rgba(52, 105, 144, 0.16);
  transform: translateY(-1px);
}

/* Feste Aktionen unten rechts: WhatsApp liegt über „Nach oben“ (gleicher rechter Rand, +56px nach oben) */
.fab--whatsapp{
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: calc(clamp(14px, 2.2vw, 28px) + 56px);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, #2fe077 0%, #128c4b 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(18, 140, 75, 0.38);
  z-index: 120;
  text-decoration: none;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.fab--whatsapp:hover{
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(18, 140, 75, 0.45);
}

.fab--whatsapp:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

.fab--whatsapp .fab__icon{
  width: 26px;
  height: 26px;
  display: block;
}

.back-to-top{
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(7, 127, 220, 0.96) 0%, rgba(47, 90, 127, 0.96) 100%);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7, 127, 220, 0.35);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover{
  filter: brightness(1.07);
}

.back-to-top:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.btn-full{
  width: 100%;
}

.hamburger{
  display:none;
  flex-shrink: 0;
  margin-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.hamburger:hover{
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.hamburger:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.hamburger span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.92);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.hamburger span:nth-child(1){ top: 14px; }
.hamburger span:nth-child(2){ top: 21px; }
.hamburger span:nth-child(3){ top: 28px; }

.hamburger[aria-expanded="true"] span:nth-child(1){
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3){
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce){
  .nav-links a,
  .nav-links,
  .logo,
  .nav-cta,
  .hamburger,
  .nav-surface,
  .nav-dropdown-toggle,
  .nav-dropdown-toggle::after,
  .nav-dropdown-panel{
    transition: none;
  }
}

.hero-main{
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  /* Platz für absolute Nav (verhindert Overlap auf Mobile) */
  padding: clamp(96px, 12vw, 136px) 0 48px;
  min-height: 0;
}

.hero-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-copy{
  min-width: 0;
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(52, 105, 144, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 18px;
}

.hero-float-card{
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.65);
  max-width: 320px;
  justify-self: end;
}

.hero-float-heading{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-float-stars{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  color: #c9a227;
}

.hero-float-star{
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}

.hero-float-label{
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(16, 16, 16, 0.45);
}

.hero-float-avatars{
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.hero-avatar{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(52, 105, 144, 0.35), rgba(52, 105, 144, 0.15));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  margin-left: -12px;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.hero-avatar--alt-crop img{
  object-position: 28% 30%;
  transform: scale(1.12);
}

.hero-avatar:first-child{
  margin-left: 0;
}

.hero-avatar--more{
  background: rgba(16, 16, 16, 0.12);
  color: rgba(16, 16, 16, 0.55);
}

.hero-float-stat{
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(16, 16, 16, 0.62);
}

.hero-float-stat strong{
  color: rgba(52, 105, 144, 0.98);
  font-weight: 700;
}

.stats-strip{
  width: calc(100% - var(--layout-gutter));
  margin: 12px auto 0;
  border-radius: 24px;
  background: linear-gradient(95deg, #2a4d6e 0%, #346990 42%, #2f5a7f 100%);
  box-shadow: 0 16px 40px rgba(52, 105, 144, 0.22);
  padding: 28px clamp(20px, 4vw, 40px);
}

.stats-strip-inner{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-strip-item{
  min-width: 0;
}

.stat-strip-num{
  display: block;
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 44px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: #ffffff;
}

.stat-strip-label{
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.about-split-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.about-split-copy .badge{
  margin-left: 0;
  margin-right: auto;
}

.about-split-title{
  margin: 18px 0 0;
}

.about-split-lead{
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.about-split-copy .muted{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
}

.about-split-cta{
  margin-top: 28px;
}

.about-philosophy-btn{
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, #1f4f78 0%, #007fdc 100%);
  border: 1px solid rgba(52, 105, 144, 0.36);
  box-shadow:
    0 12px 24px rgba(52, 105, 144, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.about-philosophy-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 16px 30px rgba(52, 105, 144, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.about-philosophy-btn:focus-visible{
  outline: 2px solid rgba(0, 127, 220, 0.55);
  outline-offset: 3px;
}

.about-trainers{
  margin-top: 28px;
}

.about-trainers-label{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(16, 16, 16, 0.45);
}

.about-trainers-avatars{
  display: flex;
  gap: 10px;
}

.about-ta{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(52, 105, 144, 0.12);
  border: 1px solid rgba(52, 105, 144, 0.25);
  color: rgba(52, 105, 144, 0.95);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-split-media{
  position: relative;
  min-height: min(500px, 58vw);
}

.about-img{
  position: absolute;
  border-radius: 22px;
  background-size: cover;
  box-shadow: 0 22px 50px rgba(23, 45, 68, 0.2);
  border: 1px solid rgba(16, 16, 16, 0.06);
}

.about-img--front{
  width: 100%;
  height: 100%;
  inset: 0;
  background-image: url("assets/Epigfit-Koerperschmiede.jpeg");
  background-position: center 38%;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.services-grid > .service-card{
  min-width: 0;
}

.service-card{
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}

.service-card-img{
  height: 200px;
  background-image: var(--svc-bg-img);
  background-size: cover;
  background-position: var(--svc-pos, center);
}

.service-card-body{
  box-sizing: border-box;
  padding-top: var(--card-content-pad-y);
  padding-right: var(--card-content-pad-x);
  padding-bottom: var(--card-content-pad-y);
  padding-left: var(--card-content-pad-x);
}

.service-card-body h3{
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: rgba(16, 16, 16, 0.92);
}

.service-card-body p{
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.pros-split-heading{
  margin: 0;
  text-align: center;
}

.pros-split-sub{
  margin: 12px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.65;
}

.pros-split-grid{
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 44px);
  align-items: stretch;
}

.pros-split-grid > *{
  min-width: 0;
}

.pros-panel{
  border-radius: 28px;
  padding: clamp(36px, 5vw, 48px) clamp(32px, 4vw, 44px);
  background: linear-gradient(155deg, #346990 0%, #2a5a7f 55%, #264e6f 100%);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(52, 105, 144, 0.25);
}

.pros-panel-title{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.pros-panel-text{
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.pros-highlight{
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #ffffff;
  color: rgba(16, 16, 16, 0.9);
}

.pros-highlight-kicker{
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(52, 105, 144, 0.9);
}

.pros-highlight-main{
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.pros-panel-btn{
  margin-top: 24px;
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pros-panel-btn:hover{
  background: #fff;
  color: rgba(16, 16, 16, 0.9);
  border-color: #fff;
}

.pros-media{
  border-radius: 28px;
  min-height: 400px;
  background-image: url("assets/epig-pros-media.png");
  background-size: cover;
  background-position: 40% 32%;
  box-shadow: 0 22px 55px rgba(23, 45, 68, 0.18);
  border: 1px solid rgba(16, 16, 16, 0.06);
}

.trainer-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.trainer-title{
  margin-top: 14px;
}

.trainer-lead{
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.7;
  max-width: 680px;
}

.trainer-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
  align-items: stretch;
  width: 100%;
}

.trainer-card{
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 24, 36, 0.08);
  border-radius: 22px;
  padding: 18px 18px 20px;
  box-shadow: 0 12px 34px rgba(23, 45, 68, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.trainer-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(23, 45, 68, 0.09);
  border-color: rgba(52, 105, 144, 0.18);
}

.trainer-card-top{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 14px;
}

.trainer-photo{
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, rgba(52, 105, 144, 0.18), rgba(52, 105, 144, 0.06));
  border: 1px solid rgba(52, 105, 144, 0.14);
  box-shadow: 0 16px 34px rgba(52, 105, 144, 0.12);
}

.trainer-photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.trainer-photo--andi,
.trainer-photo--alt{
  aspect-ratio: 4 / 3;
}

.trainer-photo--andi img{
  object-position: center 24%;
}

.trainer-photo--alt img{
  object-position: center 30%;
}

.trainer-photo--nina img{
  object-position: 28% 24%;
}

.trainer-photo--marcus img{
  object-position: 52% 38%;
}

.trainer-id{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.trainer-name{
  font-size: 15px;
  font-weight: 800;
  color: rgba(16, 16, 16, 0.92);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trainer-role{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(52, 105, 144, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trainer-chips{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trainer-chip{
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(16, 16, 16, 0.72);
  background: rgba(52, 105, 144, 0.08);
  border: 1px solid rgba(52, 105, 144, 0.12);
  padding: 7px 10px;
  border-radius: 999px;
}

.trainer-metrics{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: rgba(16, 16, 16, 0.62);
}

.trainer-metric{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 24, 36, 0.06);
  padding: 8px 10px;
  border-radius: 12px;
}

.trainer-metric svg{
  width: 16px;
  height: 16px;
  color: rgba(52, 105, 144, 0.95);
}

.trainer-foot{
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trainer-foot-note{
  margin: 0;
  font-size: 13.5px;
  text-align: center;
}

@media (max-width: 768px){
  .trainer-grid{
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 28px);
  }

  .trainer-card{
    padding: 22px 22px 24px;
  }

  .trainer-photo{
    aspect-ratio: 4 / 3;
  }

  .trainer-name,
  .trainer-role{
    white-space: normal;
  }
}

.testimonials-grid-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.tgrid-title{
  margin: 0;
}

.tgrid-lead{
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

/* Masonry: Zeile 1 = schmal | breit (Bild+Text) | schmal — Zeile 2 = schmal | schmal | breit */
.tgrid.tgrid--masonry{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.tgrid > .ttile{
  min-width: 0;
}

.ttile--sm{
  grid-column: span 3;
}

.ttile--wide{
  grid-column: span 6;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.ttile{
  background: #f3f5f7;
  border: 1px solid rgba(16, 24, 36, 0.06);
  border-radius: 20px;
  box-sizing: border-box;
  box-shadow: 0 8px 28px rgba(23, 45, 68, 0.06);
}

.ttile--sm{
  padding: 36px 34px 32px;
}

.ttile-body{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 36px 34px 32px;
  box-sizing: border-box;
}

.ttile-media{
  flex: 0 0 38%;
  max-width: 280px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}

.ttile-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.ttile-quote{
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4vw, 52px);
  line-height: 0.85;
  color: rgba(52, 105, 144, 0.92);
  margin: 0 0 8px;
}

.ttile-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(16, 24, 36, 0.78);
}

.ttile-rule{
  border: 0;
  border-top: 1px solid rgba(16, 24, 36, 0.08);
  margin: 22px 0 0;
  padding: 0;
  width: 100%;
}

.ttile-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.ttile-person{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.ttile-name{
  font-size: 15px;
  font-weight: 700;
  color: rgba(16, 24, 36, 0.92);
}

.ttile-role{
  font-size: 12.5px;
  color: rgba(16, 24, 36, 0.48);
}

.ttile-meta-divider{
  width: 1px;
  align-self: stretch;
  min-height: 44px;
  background: rgba(16, 24, 36, 0.1);
  flex-shrink: 0;
}

.ttile-grade-wrap{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  text-align: right;
}

.ttile-grade-label{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(16, 24, 36, 0.45);
}

.ttile-grade-row{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.ttile-grade-num{
  font-size: 17px;
  font-weight: 800;
  color: rgba(16, 24, 36, 0.92);
}

.ttile-stars{
  font-size: 12px;
  line-height: 1;
  letter-spacing: 2px;
  color: rgba(16, 16, 16, 0.88);
}

.faq-split-page-title{
  margin: 0;
  text-align: center;
}

.faq-split-page-lead{
  margin: 10px auto 0;
  max-width: 520px;
  text-align: center;
  font-size: 14px;
}

.faq-split-grid{
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.faq-split-grid > *{
  min-width: 0;
}

.faq-cta-card{
  position: sticky;
  top: 20px;
  border-radius: 24px;
  padding: 36px 28px;
  background: linear-gradient(165deg, #346990 0%, #2a5578 100%);
  color: #fff;
  box-shadow: 0 18px 46px rgba(52, 105, 144, 0.22);
}

.faq-cta-title{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.faq-cta-text{
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.faq-cta-btn{
  margin-top: 20px;
  display: inline-flex;
  width: auto;
  background: #fff;
  color: rgba(52, 105, 144, 0.98);
  border-color: #fff;
  font-weight: 700;
}

.faq-cta-btn:hover{
  filter: brightness(1.03);
}

.faq-accordion-stack{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-banner{
  position: relative;
  width: calc(100% - var(--layout-gutter));
  margin: 12px auto;
  border-radius: 48px;
  overflow: hidden;
  min-height: min(320px, 48vw);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("assets/epig-cta-banner.webp");
  background-size: cover;
  background-position: center 35%;
}

.cta-banner-scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14, 28, 42, 0.82) 0%, rgba(52, 105, 144, 0.55) 100%);
}

.cta-banner-inner{
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px clamp(24px, 5vw, 48px);
  max-width: 640px;
}

.cta-banner-title{
  margin: 0;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.cta-banner-sub{
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.cta-banner-inner .btn-cta{
  margin-top: 22px;
}

.footer--brand.section-panel{
  background: linear-gradient(180deg, #1a2f44 0%, #142633 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.footer--brand .container{
  color: rgba(255, 255, 255, 0.88);
}

.footer-cols{
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.footer-brand-name{
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-brand-logo{
  display: block;
  width: auto;
  height: clamp(34px, 4.6vw, 46px);
  max-width: min(260px, 100%);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.35));
}

.footer-brand-desc{
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.footer-col{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title{
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.footer-col a{
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-col a:hover{
  color: #fff;
}

.footer-col-text{
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

.social.footer-social{
  margin-top: 6px;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social .social-link{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.footer-social .social-link:hover{
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 26px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.footer-social .social-link:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.88);
  outline-offset: 2px;
}

.footer-social .social-link svg{
  width: 22px;
  height: 22px;
  display: block;
}

.footer-secondary{
  margin-top: clamp(26px, 4vw, 40px);
  padding-top: clamp(22px, 3.5vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-secondary > .footer-col-title{
  display: block;
  margin-bottom: 2px;
}

.footer-link-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  column-gap: clamp(18px, 3vw, 36px);
  row-gap: 0;
  margin-top: 10px;
  max-width: 1000px;
}

a.footer-grid-link{
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
  padding: 8px 0;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease;
}

a.footer-grid-link:hover{
  color: #ffffff;
}

@media (max-width: 480px){
  .footer-link-grid{
    grid-template-columns: 1fr;
  }
}

/* Rechtstexte (Datenschutz / Impressum) */
.legal-main{
  padding-bottom: clamp(48px, 10vw, 100px);
}

.legal-hero .subpage-h1{
  max-width: 20ch;
}

.legal-inner{
  max-width: 720px;
  margin: 0 auto;
}

.legal-lead{
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.legal-article{
  margin-top: clamp(28px, 4vw, 40px);
}

.legal-article h2{
  margin: 32px 0 12px;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(7, 17, 24, 0.95);
}

.legal-article h2:first-child{
  margin-top: 0;
}

.legal-article p{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(16, 16, 16, 0.78);
}

.legal-article a{
  color: rgba(52, 105, 144, 0.98);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.legal-article a:hover{
  color: rgba(30, 58, 90, 0.98);
}

.legal-article ul{
  margin: 0 0 16px;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(16, 16, 16, 0.78);
}

.legal-article li{
  margin-bottom: 6px;
}

.legal-note{
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(52, 105, 144, 0.08);
  border: 1px solid rgba(52, 105, 144, 0.16);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(16, 16, 16, 0.72);
}

.footer-bar{
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer--brand .copyright{
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.hero-title{
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.9px;
  text-shadow: 0 12px 45px rgba(0,0,0,.35);
}

.hero-title .highlight{
  display: inline-block;
  padding: .01em .1em;
  border-radius: 7px;
  background: var(--highlight);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(52,105,144,.18);
}

.hero-title .highlight:hover{
  filter: brightness(1.04);
}

.hero-subtitle{
  margin: 22px 0 0;
  max-width: 600px;
  color: rgba(255,255,255,.58);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta{
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta .btn{
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 46px;
  box-sizing: border-box;
}

.hero-cta .btn-cta{
  box-shadow: 0 12px 32px rgba(52, 105, 144, 0.2);
}

.about{
  padding: 0;
}

.badge{
  width: fit-content;
  margin: 0 auto;
  background: #f7f7f7;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(16,16,16,.8);
  border: 1px solid rgba(16,16,16,.08);
}

.section-title{
  text-align: center;
  margin: 32px auto 0;
  width: min(980px, 100%);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  color: rgba(16,16,16,.92);
}

/* „Was ist EpigFit?“ — Editorial-Layout, Säulen, Orbit-Deko, Scroll-Reveals */
.epigfit-intro.surface-section{
  padding: 0;
  position: relative;
  overflow: hidden;
}

.epigfit-intro.surface-section::before{
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(ellipse 80% 60% at 12% 20%, rgba(52, 105, 144, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 30%, rgba(52, 105, 144, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(180, 200, 220, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.epigfit-intro-container{
  position: relative;
  z-index: 1;
}

.epigfit-intro-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  grid-auto-flow: row;
}

.epigfit-intro-main{
  min-width: 0;
}

.epigfit-intro-head{
  text-align: left;
  margin-bottom: 28px;
}

.epigfit-intro-head .badge{
  margin-left: 0;
  margin-right: auto;
}

.epigfit-intro-title{
  text-align: left;
  margin-top: 14px;
}

.epigfit-surface-body{
  max-width: 640px;
  margin: 0;
  text-align: left;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.epigfit-surface-body p{
  margin: 0 0 20px;
}

.epigfit-surface-body p:last-child{
  margin-bottom: 0;
}

.epigfit-intro-closing{
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(52,105,144,.98);
}

.epigfit-pillars{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
}

.epigfit-intro-main .epigfit-pillars{
  margin-top: clamp(32px, 4vw, 44px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.epigfit-pillar{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(52, 105, 144, 0.12);
  box-shadow: 0 10px 36px rgba(52, 105, 144, 0.06);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.epigfit-pillar:hover{
  border-color: rgba(52, 105, 144, 0.22);
  box-shadow: 0 14px 44px rgba(52, 105, 144, 0.1);
  transform: translateY(-2px);
}

.epigfit-pillar-icon{
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 105, 144, 0.1);
  color: rgba(52, 105, 144, 0.95);
}

.epigfit-pillar-text{
  width: 100%;
  min-width: 0;
}

.epigfit-pillar-title{
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: rgba(16, 16, 16, 0.9);
  line-height: 1.28;
}

.epigfit-pillar-text p{
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.52;
  color: var(--muted);
}

.epigfit-intro-visual{
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(16px, 3vw, 28px) 0;
}

.epigfit-intro-photo-card{
  position: relative;
  width: 100%;
  max-width: min(480px, 100%);
  margin: 0 auto;
}

.epigfit-intro-photo-card::before{
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -18px;
  height: 42%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(52, 105, 144, 0.22) 0%, transparent 68%);
  filter: blur(22px);
  pointer-events: none;
}

.epigfit-intro-photo{
  position: relative;
  z-index: 1;
  border-radius: clamp(20px, 3.5vw, 28px);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: linear-gradient(160deg, rgba(52, 105, 144, 0.12), rgba(52, 105, 144, 0.04));
  box-shadow:
    0 4px 12px rgba(52, 105, 144, 0.07),
    0 18px 40px rgba(52, 105, 144, 0.11),
    0 42px 88px rgba(40, 72, 98, 0.16),
    0 0 0 1px rgba(52, 105, 144, 0.1);
}

.epigfit-intro-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.epigfit-intro-photo-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 22% 35%;
}

.epigfit-visual-quote{
  margin: 28px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(40, 78, 102, 0.88);
  max-width: min(340px, 100%);
}

.epigfit-visual-quote span{
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: rgba(52, 105, 144, 0.98);
}

/* Scroll-in: ohne JS / ohne html.epigfit-motion sofort sichtbar */
.epigfit-reveal{
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html.epigfit-motion .epigfit-reveal:not(.is-inview){
  opacity: 0;
  transform: translateY(18px);
}

html.epigfit-motion .epigfit-reveal.is-inview{
  opacity: 1;
  transform: translateY(0);
}

.epigfit-pillars .epigfit-reveal:nth-child(1){
  transition-delay: 0.05s;
}

.epigfit-pillars .epigfit-reveal:nth-child(2){
  transition-delay: 0.12s;
}

.epigfit-pillars .epigfit-reveal:nth-child(3){
  transition-delay: 0.19s;
}

.epigfit-intro-visual.epigfit-reveal{
  transition-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce){
  html.epigfit-motion .epigfit-reveal:not(.is-inview){
    opacity: 1;
    transform: none;
  }

  .epigfit-reveal{
    transition: none;
  }

  .epigfit-pillar:hover{
    transform: none;
  }
}

@media (max-width: 960px){
  .epigfit-intro-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .epigfit-intro-visual{
    position: static;
    order: 2;
    padding: 0;
  }

  .epigfit-intro-photo-card{
    max-width: min(400px, 94vw);
  }

  .epigfit-intro-main .epigfit-pillars{
    grid-template-columns: 1fr;
  }
}

.plans{
  padding: 0;
}

.plans-head{
  text-align: center;
  margin-bottom: 40px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.plans-lead{
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.section-panel--dark .plans-head .muted{
  color: rgba(255, 255, 255, 0.55);
}

.plans-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 32px);
  align-items: stretch;
  padding-top: 18px;
  padding-bottom: 14px;
}

.schedule-section{
  margin-top: clamp(44px, 7vw, 72px);
}

.schedule-header{
  text-align: center;
  margin-bottom: 24px;
}

.schedule-header h3{
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.96);
}

.schedule-header h3 span{ color: rgba(255, 255, 255, 0.96); }

.schedule-header p{
  max-width: 720px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.legend{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.legend-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.dot{ width: 10px; height: 10px; border-radius: 50%; }
.dot.workout{ background: #4aa5ff; }
.dot.painfree{ background: #19a974; }
.dot.meditation{ background: #8b5cf6; }

.schedule-wrapper{
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.schedule-grid{
  display: grid;
  grid-template-columns: 110px repeat(6, minmax(145px, 1fr));
  min-width: 980px;
}

.cell{
  min-height: 74px;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.cell:nth-child(7n){ border-right: none; }

.top-left,.day-header,.time-cell{
  background: #1a2f44;
  font-weight: 800;
}
.top-left,.time-cell{
  position: sticky;
  left: 0;
  z-index: 2;
}
.top-left{
  z-index: 3;
  color: #c8e4ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-header{
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.86);
}

.time-cell{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8e4ff;
  font-size: 14px;
  white-space: nowrap;
}

.class-card{
  height: 100%;
  min-height: 52px;
  border-radius: 14px;
  padding: 9px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.class-card strong{ font-size: 13px; line-height: 1.1; font-weight: 800; }
.class-card small{ font-size: 11px; opacity: 0.9; white-space: nowrap; }

.workout-card{ background: linear-gradient(135deg, #007fdc, #2f5a7f); }
.painfree-card{ background: linear-gradient(135deg, #19a974, #0f7a56); }
.meditation-card{ background: linear-gradient(135deg, #8b5cf6, #4c1d95); }

.double-card{
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}
.double-card .class-card{ min-height: 44px; padding: 8px; }
.double-card .class-card strong{ font-size: 11px; }
.double-card .class-card small{ font-size: 10px; }

.empty{ background: rgba(255, 255, 255, 0.02); }

@media (max-width: 768px){
  .schedule-header p{ font-size: 15px; }
  .schedule-grid{
    grid-template-columns: 118px repeat(6, minmax(132px, 1fr));
    min-width: 916px;
  }
  .cell{
    min-height: 68px;
    padding: 8px;
  }
  .time-cell{
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
  }
}

/* Grid: min-width:auto verhindert oft korrektes Schrumpfen — Inhalt wirkte am Rand klebend */
.plans-grid > .plan-card,
.services-grid > .service-card,
.steps-grid > .step-card,
.contact-grid > .contact-form,
.contact-grid > .contact-card,
.tgrid > .ttile,
.faq-accordion-stack > .faq-item,
.about-split-grid > *{
  min-width: 0;
}

.cards{
  width: 100%;
}

.plan-card{
  border-radius: 28px;
  position: relative;
  border: 1px solid rgba(16,16,16,.08);
  box-sizing: border-box;
  overflow: hidden;
  /* Explizit horizontal + vertikal — volle Kontrolle, kein Kurzform-Parsing */
  padding-top: var(--plan-card-pad-y);
  padding-right: var(--plan-card-pad-x);
  padding-bottom: var(--plan-card-pad-bottom);
  padding-left: var(--plan-card-pad-x);
}

.plan-card--dim{
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.plan-card--dim:hover{
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 56px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.plan-card--dim .plan-top h3{
  color: rgba(255, 255, 255, 0.95);
}
.plan-card--dim .price-main{
  color: #fff;
}
.plan-card--dim .price-rest,
.plan-card--dim .price-note{
  color: rgba(255, 255, 255, 0.55);
}
.plan-card--dim .plan-list li{
  color: rgba(255, 255, 255, 0.78);
}

.plan-card--popular{
  padding-top: 88px;
  padding-right: var(--plan-card-pad-x);
  padding-bottom: var(--plan-card-pad-bottom);
  padding-left: var(--plan-card-pad-x);
  background:
    linear-gradient(180deg, rgba(52, 105, 144, 0.06) 0%, rgba(255, 255, 255, 0) 28%),
    #ffffff;
  border: 1px solid rgba(52, 105, 144, 0.38);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(52, 105, 144, 0.08) inset;
  transform: translateY(-10px);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.plan-card--popular:hover{
  border-color: rgba(52, 105, 144, 0.5);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.95) inset,
    0 0 40px rgba(52, 105, 144, 0.12);
  transform: translateY(-12px);
}

.plan-card--popular::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #346990 0%, #4d8ab8 50%, #5aa3d4 100%);
  opacity: 0.95;
}
.plan-card--popular .plan-top h3,
.plan-card--popular .price-main{
  color: rgba(16, 16, 16, 0.94);
}
.plan-card--popular .price-rest,
.plan-card--popular .price-note{
  color: rgba(16, 16, 16, 0.55);
}
.plan-card--popular .plan-list li{
  color: rgba(16, 16, 16, 0.8);
}

.most-popular{
  position:absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border: 1px solid rgba(52, 105, 144, 0.45);
  color: rgba(52, 105, 144, 0.98);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 251, 253, 0.98) 100%);
  box-shadow:
    0 4px 14px rgba(52, 105, 144, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.plan-top{
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-card--popular .plan-top{
  border-bottom-color: rgba(52, 105, 144, 0.14);
}

.plan-top h3{
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: inherit;
}

.price{
  display:flex;
  align-items: baseline;
  justify-content:center;
  gap: 6px;
  margin-top: 8px;
}

.price-main{
  font-size: clamp(34px, 4.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-rest{
  font-size: 13px;
  font-weight: 500;
  color: rgba(16,16,16,.7);
}
.price-note{
  text-align:center;
  font-size: 11px;
  color: rgba(16,16,16,.55);
  margin-top: 4px;
}

.plan-list{
  list-style: none;
  padding: 0;
  margin: 28px 0 28px;
  padding-inline: 0;
  margin-inline: 0;
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.plan-list li{
  font-size: 13px;
  line-height: 1.45;
  color: rgba(16,16,16,.78);
  display:flex;
  gap: 12px;
  align-items: flex-start;
}

.plan-list li::before{
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: rgba(52, 105, 144, 0.2);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  border: 1px solid rgba(52, 105, 144, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23346990' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

.plan-card--dim .plan-list li::before{
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

.plan-card--popular .plan-list li::before{
  background-color: rgba(52, 105, 144, 0.12);
  border-color: rgba(52, 105, 144, 0.32);
}

.plan-card .btn-ghost{
  width: 100%;
  margin-top: 18px;
}

.btn-plan-secondary{
  margin-top: 18px;
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 600;
  padding: 14px 22px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-plan-secondary:hover{
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.plans-single-wrap{
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.plan-card--single{
  width: min(560px, 100%);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 46%, rgba(255, 255, 255, 0.07) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 52px rgba(0, 0, 0, 0.24);
}

.plan-card--single .plan-top h3,
.plan-card--single .price-main{
  color: rgba(255, 255, 255, 0.95);
}

.plan-card--single .price-rest,
.plan-card--single .price-note,
.plan-card--single .plan-list li{
  color: rgba(255, 255, 255, 0.78);
}

.plan-card--single .plan-list li::before{
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce){
  .plan-card--dim:hover{
    transform: none;
  }

  .plan-card--popular,
  .plan-card--popular:hover{
    transform: none;
  }

  .trainer-card,
  .trainer-card:hover{
    transform: none;
  }

  .footer-social .social-link,
  .footer-social .social-link:hover{
    transform: none;
    transition: none;
  }
}

.plan-cta-featured{
  margin-top: 18px;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.plan-cta-arrow{
  display: flex;
  align-items: center;
}

.footer{
  padding: 44px 0 52px;
  background: transparent;
}

.footer.footer--brand{
  padding: 0;
}
.footer-inner{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-links{
  display:flex;
  gap: 16px;
  color: rgba(16,16,16,.55);
  font-size: 12px;
}
.footer-links a:hover{ color: rgba(16,16,16,.75); }

.footer-meta{
  display:flex;
  align-items: center;
  gap: 16px;
}
.social{
  display:flex;
  gap: 10px;
}
.social-link{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(16,16,16,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(16,16,16,.65);
}

.copyright{
  font-size: 12px;
  color: rgba(16,16,16,.55);
  white-space: nowrap;
}

.muted{
  color: var(--muted);
}

.surface-section{
  padding: 0;
}

.surface-head{
  text-align: center;
  margin-bottom: 40px;
}

.surface-title{
  margin: 10px 0 0;
  text-align: center;
}

/* Nur „Was ist EpigFit?“ links — andere .surface-title bleiben zentriert */
.epigfit-intro .surface-title.epigfit-intro-title,
#epigfit-intro-heading{
  text-align: left;
}

.surface-subtitle{
  margin: 12px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.surface-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.mini-card{
  background: #ffffff;
  border: 1px solid rgba(16,16,16,.08);
  border-radius: 24px;
  box-sizing: border-box;
  padding-top: var(--card-content-pad-y);
  padding-right: var(--card-content-pad-x);
  padding-bottom: var(--card-content-pad-y);
  padding-left: var(--card-content-pad-x);
  box-shadow: 0 12px 40px rgba(0,0,0,.03);
  text-align: center;
}

.mini-icon{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(52,105,144,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(52,105,144,.95);
  margin: 0 auto 18px;
}

.mini-card h3{
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: rgba(16,16,16,.92);
}

.mini-card p{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.badge--blue{
  background: rgba(52,105,144,.09);
  border: 1px solid rgba(52,105,144,.22);
  color: rgba(52,105,144,.96);
}

.steps-section{
  padding: 0;
}

.steps-head{
  text-align: center;
  margin-bottom: 32px;
}

.steps-head h2{
  margin: 0;
}

.steps-head .muted{
  margin-top: 10px;
}

.steps-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

.step-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(16, 16, 16, 0.07);
  border-radius: 26px;
  box-sizing: border-box;
  padding-top: calc(var(--card-content-pad-y) + 4px);
  padding-right: var(--card-content-pad-x);
  padding-bottom: var(--card-content-pad-y);
  padding-left: var(--card-content-pad-x);
  box-shadow:
    0 4px 24px rgba(52, 105, 144, 0.06),
    0 14px 44px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.step-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #346990 0%, #4d8ab8 55%, #6eb8e8 100%);
  opacity: 0.92;
}

.step-card:hover{
  border-color: rgba(52, 105, 144, 0.2);
  box-shadow:
    0 8px 32px rgba(52, 105, 144, 0.12),
    0 20px 52px rgba(0, 0, 0, 0.06);
}

@media (min-width: 981px){
  .step-card:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 38px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(52, 105, 144, 0.35), rgba(52, 105, 144, 0.06));
    border-radius: 1px;
    z-index: 0;
    pointer-events: none;
  }
}

.step-num{
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 1px solid rgba(52, 105, 144, 0.28);
  color: rgba(52, 105, 144, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, rgba(52, 105, 144, 0.14), rgba(52, 105, 144, 0.04));
  box-shadow:
    0 4px 14px rgba(52, 105, 144, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.step-card h3{
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(16, 16, 16, 0.92);
  line-height: 1.25;
}

.step-card p{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* Probetraining-Seite: Überzeugungs-Sektionen (Text + Bild) */
.probetraining-section .probetraining-split{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 460px);
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}

.probetraining-split--reverse .probetraining-split-media{
  order: -1;
}

.probetraining-split-heading{
  margin: 14px 0 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: var(--section-h2-track);
  color: var(--section-h2-color);
  text-align: left;
}

.probetraining-split-lead{
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
  max-width: 54ch;
}

.probetraining-benefits{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.probetraining-benefits li{
  position: relative;
  padding: 0 0 0 1.35rem;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(16, 16, 16, 0.88);
}

.probetraining-benefits li:last-child{
  margin-bottom: 0;
}

.probetraining-benefits li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #346990, #5a9cc4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.probetraining-split-note{
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.65;
  max-width: 54ch;
}

.probetraining-split-media{
  border-radius: 24px;
  min-height: min(300px, 42vw);
  aspect-ratio: 4 / 3;
  background-color: #e8eef4;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(52, 105, 144, 0.08);
  border: 1px solid rgba(16, 16, 16, 0.06);
}

/* Probetraining: Badges bündig mit linken Überschriften (Basis .badge nutzt margin: 0 auto) */
.probetraining-split-copy .badge.badge--blue{
  margin-left: 0;
  margin-right: auto;
}

/* Ablauf-Block: Badge, Überschrift und Untertitel zentriert (Rest der Probetraining-Seite unverändert) */
.probetraining-surface-head{
  text-align: center;
}

.probetraining-surface-head .surface-title{
  text-align: center;
}

.probetraining-surface-head .surface-subtitle{
  text-align: center;
}

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

  .probetraining-split--reverse .probetraining-split-media{
    order: 0;
  }

  .probetraining-split-media{
    min-height: 220px;
    max-height: 320px;
  }
}

.faq-section{
  padding: 0;
}

.faq-head{
  text-align: center;
  margin-bottom: 28px;
}
.faq-head h2{
  margin: 0;
  font-size: 28px;
  color: rgba(16,16,16,.92);
}

.faq-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item{
  background: #fff;
  border: 1px solid rgba(16,16,16,.08);
  border-radius: 18px;
  box-sizing: border-box;
  width: min(100%, 920px);
  margin-inline: auto;
  padding-top: clamp(20px, 2.6vw, 28px);
  padding-right: clamp(18px, 2.4vw, 26px);
  padding-bottom: clamp(20px, 2.6vw, 28px);
  padding-left: clamp(18px, 2.4vw, 26px);
  box-shadow: 0 12px 40px rgba(0,0,0,.02);
}

.faq-item summary{
  cursor: pointer;
  font-weight: 700;
  color: rgba(16,16,16,.9);
}

.faq-item p{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.cta-section{
  padding: 0;
}

.cta-inner{
  background: transparent;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2{
  margin: 0;
  font-size: 22px;
  color: rgba(16,16,16,.92);
}

.cta-inner p{
  margin-top: 8px;
}

.btn-cta--big{
  padding: 12px 18px;
}

.contact-section{
  padding: 0;
}

.contact-head{
  text-align:center;
  margin-bottom: 32px;
}

.contact-head h2{
  margin: 0;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.contact-form{
  background:#fff;
  border: 1px solid rgba(16,16,16,.08);
  border-radius: 24px;
  box-sizing: border-box;
  padding-top: var(--card-content-pad-y);
  padding-right: var(--card-content-pad-x);
  padding-bottom: var(--card-content-pad-y);
  padding-left: var(--card-content-pad-x);
  box-shadow: 0 12px 40px rgba(0,0,0,.02);
}

.contact-form label{
  display:block;
  margin-bottom: 22px;
}

.contact-form span{
  display:block;
  font-size: 13px;
  color: rgba(16,16,16,.75);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(16,16,16,.12);
  background: #fff;
  padding: 16px 18px;
  font-family: inherit;
  color: rgba(16,16,16,.92);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(52,105,144,.55);
  box-shadow: 0 0 0 4px rgba(52,105,144,.14);
}

.contact-form-status{
  min-height: 1.35em;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(16,16,16,.72);
}

.contact-form-status.is-error{
  color: #9a1b1b;
}

.contact-form-status.is-success{
  color: rgba(28, 92, 52, 0.95);
}

.contact-form.is-sending .btn[type="submit"]{
  opacity: 0.72;
  pointer-events: none;
}

.contact-card{
  background:#fff;
  border: 1px solid rgba(16,16,16,.08);
  border-radius: 24px;
  box-sizing: border-box;
  padding-top: var(--card-content-pad-y);
  padding-right: var(--card-content-pad-x);
  padding-bottom: var(--card-content-pad-y);
  padding-left: var(--card-content-pad-x);
  box-shadow: 0 12px 40px rgba(0,0,0,.02);
}

.contact-line{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(16,16,16,.06);
}

.contact-line:last-child{
  border-bottom: 0;
}

.contact-label{
  font-size: 12.5px;
  color: rgba(16,16,16,.6);
  font-weight: 700;
}

.contact-value{
  font-size: 12.8px;
  color: rgba(16,16,16,.85);
  font-weight: 600;
  text-align:right;
}

.contact-actions{
  margin-top: 24px;
}

/* Masonry-style program grid (referenz: Expert-led / Karten-Masonry) */
.masonry-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  grid-auto-flow: dense;
  gap: 22px;
  margin-top: 36px;
}

.masonry-grid > .masonry-card{
  min-width: 0;
}

.masonry-card{
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(16,16,16,.06);
}

.masonry-card--tall{
  grid-row: span 2;
  min-height: 456px;
}

.masonry-card-bg{
  position: absolute;
  inset: 0;
  background-image: var(--card-bg-img);
  background-size: cover;
  background-position: var(--bg-pos, center);
  transform: scale(1.02);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-card-scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.12) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,.72) 100%
  );
  pointer-events: none;
}

.masonry-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(52,105,144,0);
  z-index: 1;
  pointer-events: none;
  transition: background 0.35s ease;
}

.masonry-card:hover .masonry-card-bg{
  transform: scale(1.08);
}

.masonry-card:hover::before{
  background: rgba(52,105,144,0.28);
}

.masonry-card-text{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  padding-top: var(--card-content-pad-y);
  padding-right: var(--card-content-pad-x);
  padding-bottom: calc(var(--card-content-pad-y) - 6px);
  padding-left: var(--card-content-pad-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.masonry-card-title{
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.masonry-card-sub{
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.86);
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.masonry-card:hover .masonry-card-title,
.masonry-card:hover .masonry-card-sub{
  color: #ffffff;
}

@media (max-width: 980px){
  .nav.is-sticky{
    top: 0;
  }
  .hero-card{
    --hero-align-max: 100%;
  }
  .plans-grid{ grid-template-columns: 1fr; }
  .plan-card--popular{
    transform: none;
    order: -1;
  }
  .hero-layout{
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .hero-float-card{
    justify-self: stretch;
    max-width: none;
  }
  .stats-strip-inner{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-split-grid{
    grid-template-columns: 1fr;
  }
  .about-split-media{
    min-height: 380px;
    order: 2;
  }
  .services-grid{
    grid-template-columns: 1fr;
  }
  .pros-split-grid{
    grid-template-columns: 1fr;
  }
  .tgrid.tgrid--masonry{
    grid-template-columns: 1fr;
  }
  .ttile--sm,
  .ttile--wide{
    grid-column: auto;
  }
  .ttile--wide{
    flex-direction: column;
  }
  .ttile-media{
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    min-height: 200px;
    max-height: 280px;
    border-radius: 20px 20px 0 0;
  }

  .ttile-media img.ttile-media-img--jan{
    object-position: center bottom;
  }
  .faq-split-grid{
    grid-template-columns: 1fr;
  }
  .faq-cta-card{
    position: static;
  }
  .footer-cols{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-card{ min-height: 610px; }
  .nav-inner{ position: relative; }
  .nav-surface{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    gap: 10px;
  }
  .nav-links{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    justify-self: auto;
    gap: 6px;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 12px;
    background: rgba(12, 18, 28, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: min(70vh, 520px);
    overflow: auto;
  }
  .nav-links.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a{
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-item--dropdown{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-toggle{
    width: 100%;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-dropdown-toggle::after{
    right: calc(50% - 52px);
  }

  .nav-dropdown-panel{
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    max-width: none;
    max-height: none;
    margin-top: 6px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  }

  .nav-item--dropdown.is-open .nav-dropdown-panel{
    display: block;
    transform: none;
  }

  .nav-dropdown-panel a{
    text-align: center;
  }

  .subpage-content .subpage-split{
    grid-template-columns: 1fr;
  }

  .about-split-cta{
    margin-top: 24px;
  }

  .about-philosophy-btn{
    width: 100%;
    justify-content: center;
  }

  .subpage-aside{
    position: static;
  }

  .subpage-hero .surface-title.subpage-h1{
    max-width: none;
  }

  .nav.nav--subpage{
    top: 22px;
  }

  .nav.nav--subpage .container{
    width: calc(100% - 56px);
  }

  .subpage-hero.section-panel{
    margin-top: 20px;
  }

  .subpage-hero > .container{
    padding-top: 118px;
    padding-bottom: 72px;
  }

  .subpage-hero .subpage-breadcrumb{
    margin-top: 22px;
    margin-bottom: 18px;
  }

  .nav-links .nav-link-cta{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--cta);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .nav-actions{ display:none; }
  .hamburger{ display:flex; }

  /* Sticky Mobile-Navigation: Hintergrund umfasst auch Hamburger + rundere Kanten */
  .nav.is-sticky .container{
    width: calc(100% - 68px);
  }
  .nav.is-sticky .nav-inner{
    padding: 6px 10px;
    border-radius: 18px;
    background: linear-gradient(
      130deg,
      rgba(9, 14, 22, 0.95) 0%,
      rgba(11, 18, 30, 0.92) 55%,
      rgba(10, 17, 28, 0.95) 100%
    );
    border: 1px solid rgba(157, 201, 255, 0.26);
    box-shadow:
      0 12px 30px rgba(5, 10, 18, 0.42),
      0 1px 0 rgba(255, 255, 255, 0.12) inset;
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
  }

  .nav.is-sticky .nav-surface{
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav.is-sticky .hamburger{
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(173, 214, 255, 0.32);
  }
  .nav.is-sticky .nav-actions{ display:none; }
  .steps-grid{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction: column; align-items: flex-start; }
  .contact-grid{ grid-template-columns: 1fr; }
  .masonry-grid{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }
  .masonry-card--tall{
    grid-row: span 2;
    min-height: 400px;
  }
}

@media (max-width: 520px){
  :root{
    --layout-gutter: 28px;
    --card-content-pad-x: 22px;
    --card-content-pad-y: 32px;
    --box-pad-y-tight: 26px;
    --box-pad-x-tight: 20px;
    --plan-card-pad-x: 24px;
    --plan-card-pad-y: 40px;
    --plan-card-pad-bottom: 36px;
  }
  .container{ width: calc(100% - 28px); }
  .section-panel .container{
    width: 100%;
    max-width: none;
  }
  .section-panel{
    margin: 10px auto;
    border-radius: 26px;
  }
  .hero-card{
    min-height: auto;
    border-radius: 22px;
  }
  .hero-title{ font-size: 40px; }
  .hero-subtitle{ max-width: 320px; }
  .stats-strip-inner{
    grid-template-columns: 1fr;
  }
  .tgrid.tgrid--masonry{
    grid-template-columns: 1fr;
  }
  .footer-cols{
    grid-template-columns: 1fr;
  }
  .cta-banner{
    border-radius: 34px;
  }
  .masonry-grid{
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
  }
  .masonry-card--tall{
    grid-row: auto;
    min-height: 260px;
  }

  .nav.nav--subpage{
    top: 18px;
  }

  .nav.nav--subpage .container{
    width: calc(100% - 28px);
  }

  .nav.is-sticky .container{
    width: calc(100% - 34px);
  }

  .subpage-hero.section-panel{
    margin-top: 14px;
  }

  .subpage-hero > .container{
    padding-top: 108px;
    padding-bottom: 60px;
  }

  .subpage-hero .subpage-breadcrumb{
    margin-bottom: 16px;
  }
}

