/* ============================================================
   style.css – Page Specific Styles (Index)
   Aufbau:
   1) Hero Section
   2) Grids & Layout
   3) Feature Cards
   4) Responsive Anpassungen
   ============================================================ */

:root {
  --hero-gap: clamp(1.8rem, 1.5vw, 1.2rem);
}

/* GLOBAL PAGE BACKGROUND FIX */
html, body {
  background: var(--bg-2) !important;
}



/* ============================================================
   FCH — HERO SECTION (Dark, Apple-Clean)
   ============================================================ */

/* SECTION BASE — full-bleed hero under the nav */
.hero-section {
  position: relative;
  background: var(--bg-2); /* match header */
  width: 100%;
  padding: 0; /* no top/bottom padding, image defines height */
  overflow: hidden;
}

/* MEDIA WRAPPER — stretches from under the header to the bottom of the viewport */
.hero-media-wrapper {
  position: relative;
  width: 100vw !important;
  height: 100vh;
  margin-top: 55px !important;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

/* HERO IMAGE — true full width/height of the wrapper */
.hero-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

/* ============================================================
   HERO OVERLAY — left → right dark fade
============================================================ */

.hero-media-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.50) 60%,
    rgba(0, 0, 0, 0.1) 90%
  );
}

/* Bild unter Overlay */
.hero-media {
  position: relative;
  z-index: 0;
}

/* Text über Overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

/* HERO CONTENT — overlay on top of the image */
.hero-content {
  position: absolute;
  top: 50%;
  left: clamp(1.25rem, 6vw, 6rem);
  transform: translateY(-50%);
  width: min(620px, 92%);
  text-align: left;
  padding-right: clamp(1rem, 4vw, 3rem);
  z-index: 2;
}




/* TEXT CONTENT */
.hero-eyebrow {
  font-size: clamp(.9rem, 1.2vw, 1rem);
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 1rem;
  letter-spacing: .5px;
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink-1);
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.hero-subtitle {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* CTA GROUP */
.hero-cta-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* BUTTON BASE */
.hero-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: clamp(.9rem, 1vw, 1.1rem) clamp(2.2rem, 3vw, 2.8rem);
  border-radius: 999px;
  font-size: var(--fs-body);
  font-weight: 500;
  transition: background .3s ease, transform .3s ease, color .3s ease;
}

/* PRIMARY BUTTON */
.hero-btn.primary {
  background: var(--brand);
  color: #111;
}

.hero-btn.primary:hover {
  background: color-mix(in srgb, var(--brand) 90%, white);
  transform: translateY(-2px);
}

/* SECONDARY BUTTON */
.hero-btn.secondary {
  border: 2px solid var(--ink-1);
  color: var(--ink-1);
  background: transparent;
}

.hero-btn.secondary:hover {
  background: var(--ink-1);
  color: #000;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS — FCH STANDARD
   ============================================================ */

/* 0–480px — Mobile Portrait */
@media (max-width: 480px) {


.hero-blob::before { 
  top: 10%;
  width: 200px;
  height: 200px;
}
  .hero-social { display: none !important; }

  .hero-media-wrapper {
    width: 100%;
    margin-inline: auto;
    border-radius: 12px;
    overflow: hidden;
  }

  .hero-media {
    width: 100%;
    height: 120vh !important;
    object-fit: cover;
    border-radius: 12px;
  }

  .hero-content {
    position: absolute;
    top: 25%;
    left: 6%;
    transform: none;
    padding: 0;
    z-index: 5;
    width: 88%;
    text-align: left;
    left: 4%;
    width: 92%;
  }

  .hero-content h1,
  .hero-content .hero-title {
    
    line-height: 1.22;
    max-width: 88%;
  }

  .hero-subtitle {
    
    max-width: 88%;
    margin-bottom: 1rem;
  }



  .hero-cta-group {
    flex-direction: column;
    gap: 0.6rem;
    width: 90% !important;
    margin-left: 5% !important;
  }

  .hero-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    width: 100% !important;
    justify-content: center;
  }

  .hero-eyebrow {
    margin-left: 0.2rem;
  }

  .hero-content .hero-eyebrow,
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-cta-group {
    margin-left: 5% !important;
    width: 90% !important;
  }
}

/* 480–768px — Mobile Landscape / Small Tablets */
@media (min-width: 480px) and (max-width: 900px) {
  .hero-media-wrapper {
    width: 100%;
    margin-inline: auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-media {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    border-radius: 20px;
  }

  .hero-content {
    position: relative;
    top: 0;
    left: 5;
    transform: none;
    width: 100%;
    padding: 1.8rem 1.6rem;
    text-align: left;
  }
  .hero-content {
    width: clamp(420px, 88%, 760px);
  }

  .hero-content h1,
  .hero-content .hero-title {
    
    max-width: 92%;
  }

  .hero-subtitle {
    
    max-width: 92%;
  }


  .hero-cta-group {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .hero-btn {
    padding: 0.7rem 1.4rem;
  }
}

/* ============================================================
   HERO — TABLET VIEW (768–1200px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .hero-media-wrapper {
    width: clamp(88%, 94%, 96%);
    margin-inline: auto;
    border-radius: 20px;
  }

  .hero-media {
    width: 100%;
    height: 100vh;
  }

  .hero-content {
    position: absolute;
    top: 46%;
    left: clamp(2rem, 8vw, 12rem);
    transform: translateY(-50%);
    width: clamp(480px, 62%, 760px);
    text-align: left;
    padding-right: clamp(1rem, 4vw, 3rem);
    z-index: 2;
  }

  .hero-eyebrow {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    margin-left: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    line-height: 1.22;
    margin-bottom: 1.2rem;
  }

  .hero-subtitle {
    
    line-height: 1.55;
    margin-bottom: 1.4rem;
  }

  .hero-cta-group {
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero-btn {
    
    padding: 0.7rem 1.6rem;
  }


  /* Farbklecks eindeutig zugeordnet */
  .hero-blob::before {
    content: "";
    position: absolute;
    top: 20%;
    right: -15%;
    width: 300px;
    height: 300px;
  }
  .hero-blob::before {
    filter: blur(120px);
  }
}

/* 1440+ — Large Desktop / Widescreen */
@media (min-width: 1440px) {
  .hero-media-wrapper {
    width: 94%;
  }
}


/* ============================================================
   2) GLOBAL PAGE LAYOUT (specific for this page)
   ============================================================ */

.page-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.page-section-sm {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.page-section-lg {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}


/* Max width wrappers */
.wrapper {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* Wide wrapper (Hero, Big grids, etc.) */
.wrapper-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}


/* ============================================================
   3) FEATURE GRID
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
}


/* ============================================================
   4) GENERAL IMAGE / MEDIA BEHAVIOUR
   ============================================================ */

img.fullwidth {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}


/* ============================================================
   5) RESPONSIVE TWEAKS
   ============================================================ */

@media (max-width: 900px) {

  .hero {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }

  .features-grid {
    gap: var(--space-4);
  }
}

@media (max-width: 600px) {

  .hero {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

  .hero p {
    margin-bottom: var(--space-5);
  }
}





/* ============================
   TRAINING OVERVIEW SECTION
============================= */

.training-overview-section {
  background: var(--bg-2);
  padding: clamp(4rem, 6vw, 7rem) 0;
  width: 100%;
  margin-top: 100px;
}

.training-overview-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem);
  padding-left: clamp(3.1rem, 11vw, 15rem);
  padding-right: clamp(3.1rem, 11vw, 15rem);
  align-items: flex-start;
}

/* LEFT COLUMN */
.training-overview-eyebrow {
  color: var(--brand);
  font-size: clamp(.9rem, 1vw, 1rem);
  letter-spacing: .5px;
  margin-bottom: 1rem;
  display: block;
}

.training-overview-title {
  color: var(--ink-1);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  max-width: 680px;
}

.training-overview-sub {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: 1.6;
  opacity: .85;
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 2.8rem);
}

/* Divider between text and rating */
.training-divider {
  width: 100%;
  max-width: 680px;
  height: 2px;
  background: var(--brand);
  margin: 1.6rem 0 2rem 0;
  opacity: .9;
  border-radius: 999px;
}

@media (min-width: 900px) and (max-width: 1580px) {

  /* Intro block alignment fix for large tablets */
  .training-overview-wrapper {
    grid-template-columns: 1fr 1.3fr;
    align-items: flex-start;
  }

  .training-overview-eyebrow,
  .training-overview-title,
  .training-overview-sub,
  .training-divider {
    padding-left: 0;
    margin-left: 0;
  }

  .training-overview-eyebrow {
    margin-bottom: 0.8rem;
  }

  .training-overview-title {
    max-width: 640px;
    margin-bottom: 1.2rem;
  }

  .training-overview-sub {
    max-width: 640px;
    margin-bottom: 2rem;
  }

  .training-divider {
    max-width: 640px;
    margin-left: 20px;
    margin-right: auto;
  }

}

.training-overview-btn {
  display: inline-block;
  padding: .9rem 2rem;
  background: var(--brand);
  color: #111;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 500;
  transition: opacity .25s ease, transform .25s ease;
}

.training-overview-btn:hover {
  opacity: .85;
  transform: translateY(-2px);
}

/* GRID */
.training-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding-top: .6rem;
}

/* CARD BASE */
.training-card {
  background: var(--bg-3);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: clamp(1.4rem, 2vw, 2rem);
  transition: transform .25s ease, background .25s ease, opacity .25s ease;
}

.training-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
  opacity: .98;
}

/* HIGHLIGHT CARD */

.training-card.highlight {
  background: var(--brand);
  border: 1px solid rgba(255,255,255,0.18);
  transform: rotate(-0deg) !important;
  color: #111;
}

.training-card.highlight h3,
.training-card.highlight p {
  color: #111 !important;
}

/* ICON */
.training-card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: .8rem;
  object-fit: contain;
  opacity: .9;
}

/* TEXT */
.training-card h3 {
  color: var(--ink-1);
  font-size: clamp(1.1rem, 1.3vw, 1.4rem);
  margin-bottom: .4rem;
  font-weight: 500;
}

.training-card p {
  color: var(--ink-2);
  font-size: calc(var(--fs-body) - 0.1rem);
  font-weight: 300;
  opacity: .85;
  line-height: 1.5;
}

/* ============================================================
   TRAINING OVERVIEW — SMALL MOBILE (0–480px)
============================================================ */
@media (max-width: 480px) {

  .training-overview-wrapper {
    padding-left: 3%;
    padding-right: 3%;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .training-overview-title,
  .training-overview-sub,
  .training-overview-eyebrow {
    width: 94%;
    margin-inline: auto;
  }

  .training-overview-grid {
    grid-template-columns: 1fr;
    width: 94%;
    margin-inline: auto;
    gap: 1.4rem;
  }

  .training-card {
    padding: 1.4rem 1.2rem;
  }
}

/* ============================================================
   TRAINING OVERVIEW — MOBILE LANDSCAPE / SMALL TABLET (480–768px)
============================================================ */
@media (min-width: 480px) and (max-width: 768px) {

  .training-overview-wrapper {
    width: 94%;
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .training-overview-title,
  .training-overview-sub,
  .training-overview-eyebrow {
    text-align: left;
    width: 94%;
    margin-inline: auto;
  }

  .training-overview-grid {
    grid-template-columns: 1fr 1fr;
    width: 94%;
    margin-inline: auto;
    gap: 1.4rem;
  }
}

/* ============================================================
   TRAINING OVERVIEW — TABLET (768–1200px)
============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .training-overview-wrapper,
  .training-overview-title,
  .training-overview-sub,
  .training-overview-eyebrow,
  .training-overview-grid {
    width: 92% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .training-overview-wrapper {
    grid-template-columns: 1fr;
    gap: 3.4rem;
  }

  .training-overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }
}


/* ============================================================
   TRAINING OVERVIEW — iPad Pro 13" / Hybrid Tablets
============================================================ */
@media (min-width: 1001px) and (max-width: 1440px) {

  .training-overview-wrapper {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .training-overview-eyebrow,
  .training-overview-title,
  .training-overview-sub,
  .training-divider {
    max-width: 640px;
    margin-left: 0;
  }

  .training-divider {
    display: none;
  }

}


/* ============================
   EGYM HIGHLIGHT SECTION
============================= */

.egym-section {
  background: var(--bg-2);
  padding: clamp(4rem, 6vw, 7rem) 0;
  width: 100%;
  margin-top: 100px;
}


.egym-wrapper {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1rem, 2vw, 4rem);
  padding-left: clamp(3.1rem, 11vw, 15rem);
  padding-right: clamp(3.1rem, 11vw, 15rem);
  align-items: stretch;
  margin-top: clamp(-40px, -4vw, -120px);
}

.egym-section-title {
  padding-left: clamp(3.1rem, 11vw, 15rem);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}
.egym-highlight {
  color: #C75300; /* eGym-Orange */
}

.egym-section-sub {
  padding-left: clamp(3.1rem, 11vw, 15rem);
  margin-top: -.4rem;
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
  max-width: 820px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.6;
  opacity: .85;
}

.egym-section-eyebrow {
  padding-left: clamp(3.1rem, 11vw, 15rem);
  color: #C75300;
  font-size: clamp(.9rem, 1vw, 1rem);
  letter-spacing: .5px;
  margin-bottom: .6rem;
  display: block;
  margin-top: 100px;
}

/* LEFT MEDIA CARD */
.egym-media-card {
  background: var(--bg-3);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 420px;
  max-height: 540px;
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.egym-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RIGHT TEXT CARD */
.egym-text-card {
  background: var(--bg-3);
  border-radius: 30px;
  padding: clamp(1.8rem, 2.4vw, 2.4rem);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 420px;
  max-height: 540px;
  height: auto;
  justify-content: space-between;
}


/* DIVIDER */
.egym-divider {
  width: 100%;
  height: 2px;
  background: #C75300;;
  opacity: .9;
  border-radius: 999px;
  margin: .4rem 0 1rem 0;
}

/* BULLET LIST */
.egym-list {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.egym-list li {
  color: var(--ink-1);
  font-size: calc(var(--fs-body) - 0.1rem);
  line-height: 1.5;
  opacity: .9;
}

/* CTA BUTTON */
.egym-btn {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 2rem;
  background: #C75300;;
  color: #111;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 500;
  transition: opacity .25s ease, transform .25s ease;
}

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

/* ============================================
   EGYM POPUP – OVERLAY
============================================ */
.egym-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: none;            /* wird per JS → flex */
  justify-content: center;
  align-items: center;

  z-index: 9999;
  opacity: 0;
  transition: opacity .25s ease-out;
}

.egym-popup-overlay.show-popup {
  display: flex !important;
  opacity: 1;
}

/* ============================================
   EGYM POPUP – BOX
============================================ */
.egym-popup {
  width: min(640px, 94%);
  max-height: 80vh;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.16);

  padding: clamp(2rem, 3vw, 3rem);
  color: var(--ink-1);

  transform: scale(0.93);
  opacity: 0;
  transition:
    transform .28s ease-out,
    opacity .28s ease-out;
  overflow-y: auto;
  overflow-x: hidden;
  /* Hide scrollbar visually */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

/* Continue by adding WebKit rule */
.egym-popup::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.egym-popup-overlay.show-popup .egym-popup {
  transform: scale(1);
  opacity: 1;
}

/* ============================================
   HEADER
============================================ */


/* FIX EXISTING POPUP STRUCTURE (MATCHING CURRENT HTML) */
.egym-popup-title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: #C75300 !important;
  margin-bottom: 1.2rem;
}

.egym-popup-text {
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.egym-popup-list {
  padding-left: 1.4rem;
  margin-top: 1.2rem;
  margin-bottom: 1.8rem;
}

.egym-popup-list li {
  color: var(--ink-1) !important;
  font-weight: 400;
  margin-bottom: .5rem;
  opacity: 1;
  position: relative;
  padding-left: .6rem;
}

.egym-popup-list li::marker {
  color: #C75300 !important;
  font-weight: 700;
}
.egym-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all .22s ease;
}

.egym-popup-close:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}



/* Orange Highlights (plattform-konform mit eGym) */
.egym-highlight {
  color: #C75300;
  font-weight: 600;
}

/* ============================================
   CTA Button im Popup
============================================ */
.egym-popup-btn {
  margin-top: 1.5rem;
  display: inline-block;
  background: #C75300;
  color: #000;

  padding: .9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s ease;
}

.egym-popup-btn:hover {
  background: #d45c00;
  transform: translateY(-2px);
}
/* ============================
   RESPONSIVE
============================= */

/* ============================================================
   EGYM — MOBILE PORTRAIT (0–480px)
============================================================ */
@media (max-width: 480px) {

  .egym-section-eyebrow,
  .egym-section-title,
  .egym-section-sub {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  .egym-wrapper {
    width: 94% !important;
    margin-inline: auto !important;
    padding: 0 !important;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: -100px;
  }

  .egym-media-card {
    height: 320px;
    border-radius: 20px;
  }

  .egym-text-card {
    border-radius: 20px;
    padding: 1.4rem 1.2rem;
    height: auto;
  }
}
/* ============================================================
   EGYM — TABLET & iPad (bis 1024px)
============================================================ */
@media (max-width: 1024px) {

  .egym-section-eyebrow,
  .egym-section-title,
  .egym-section-sub {
    width: min(92%, 860px);
    margin-inline: auto;
    padding-left: 0;
  }

  .egym-wrapper {
    width: min(92%, 1100px);
    margin-inline: auto;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-top: -120px;
  }

  .egym-media-card,
  .egym-text-card {
    height: auto;
    min-height: 360px;
    border-radius: 26px;
  }
}





/* ============================================================
   KURSE SECTION (Tagesplan • Highlights • Wochenplan)
   Vollständig eigenständig – keine Überschneidung zu OFFERS
============================================================ */

/* ------------------------------------------------------------
   SECTION WRAPPER
------------------------------------------------------------ */
.kurse-section {
  padding: clamp(4rem, 6vw, 7rem) 0;
  background: var(--bg-2);
  position: relative;
  margin-top: 100px;
}

/* ------------------------------------------------------------
   INTRO
------------------------------------------------------------ */
.kurse-intro {
  width: 100%;
  padding-left: clamp(3.1rem, 11vw, 15rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.kurse-eyebrow {
  color: var(--brand);
  font-size: clamp(.9rem, 1vw, 1rem);
  letter-spacing: .5px;
  display: block;
  margin-bottom: 0.6rem;
}

.kurse-title {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-1);
  margin-bottom: 1rem;
}

.kurse-sub {
  font-size: var(--fs-lead);
  line-height: 1.6;
  opacity: .85;
  color: var(--ink-2);
  max-width: 760px;
}

/* ============================================================
   TAGESPLAN — Zwei Spalten (Morgens / Abends)
============================================================== */

.kurse-day-eyebrow {
  color: var(--brand);
  font-size: clamp(.9rem, 1vw, 1rem);
  letter-spacing: .5px;
  display: block;
  margin-bottom: .4rem;

  /* NEU – exakt gleiche Einrückung wie Karten */
  padding-left: clamp(3.1rem, 11vw, 15rem);
}

.kurse-day-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: clamp(1.6rem, 3vw, 2rem);

  /* NEU – ebenfalls gleiche Einrückung wie Karten */
  padding-left: clamp(3.1rem, 11vw, 15rem);
}

#kurse-today-full {
  color: var(--ink-2); /* heller Grauton */
  font-weight: 400;    /* etwas leichter als Haupttitel */
  opacity: .85;        /* optional: dezenter */
}

/* Wrapper mit 2 Spalten */
.kurse-day-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 4vw, 4rem);
  align-items: flex-start;

  /* NEW: match global horizontal padding */
  padding-left: clamp(3.1rem, 11vw, 15rem);
  padding-right: clamp(3.1rem, 11vw, 15rem);

  /* NEW: center & constrain max width */
  max-width: var(--container-wide);
  margin-inline: auto;

  /* NEW: add spacing to gallery below */
  margin-bottom: clamp(3rem, 4vw, 4rem);
}

/* Titel der Gruppen */
.kurse-day-group-title {
  font-size: clamp(1.2rem, 1.6vw, 1.8rem);
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: -2rem;
}

/* Divider between text and rating */
.kurse-divider {
  width: 100%;
  max-width: 680px;
  height: 2px;
  background: var(--brand);
  margin: 1.6rem 0 2rem 0;
  opacity: .9;
  border-radius: 999px;
}

/* Listen in Spalten */
.kurse-day-list {
  display: grid;
  gap: 1.4rem;
  max-width: 100%;
}

/* Einzelne Kurskarte */
.kurse-day-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 1.6rem;
  border-radius: 16px;

  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 1rem;
}

/* Zeit */
.kurse-day-item .time {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

/* Info / Titel */
.kurse-day-item .info h4 {
  color: var(--ink-1);
  font-size: 1.05rem;
  margin-bottom: .2rem;
  font-weight: 600;
}

/* Trainer */
.kurse-day-item .trainer {
  color: var(--ink-2);
  font-size: .95rem;
  opacity: .85;
}

/* RESPONSIVE: Unter 780px → wieder einspaltig */
@media (max-width: 780px) {
  .kurse-day-flex {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* ------------------------------------------------------------
   SCROLLABLE HIGHLIGHTS (Horizontal)
------------------------------------------------------------ */
.kurse-gallery {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  padding-left: clamp(3.1rem, 11vw, 15rem);
  padding-right: clamp(3.1rem, 11vw, 15rem);
  padding-bottom: 2rem;

  -webkit-overflow-scrolling: touch;
}

.kurse-gallery::-webkit-scrollbar {
  display: none;
}

/* ARROWS */
.kurse-arrow {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);

  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: background .25s ease, opacity .25s ease;
}

.kurse-arrow:hover {
  background: rgba(255,255,255,0.18);
}

.kurse-arrow.left {
  left: clamp(1rem, 3vw, 2rem);
}

.kurse-arrow.right {
  right: clamp(1rem, 3vw, 2rem);
}

/* Hide arrows on mobile */
@media (max-width: 900px) {
  .kurse-arrow {
    display: none;
  }
}

/* ------------------------------------------------------------
   KURS-HIGHLIGHT CARDS
------------------------------------------------------------ */
.kurse-card {
  flex: 0 0 auto;
  background: var(--bg-3);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  scroll-snap-align: center;
  transition: transform .25s ease, opacity .25s ease;
  padding-bottom: 1.8rem;
}

.kurse-card:hover {
  transform: translateY(-4px);
  opacity: .98;
}

.kurse-card.narrow {
  width: clamp(300px, 38vw, 420px);
}

.kurse-card.wide {
  width: clamp(420px, 55vw, 620px);
}

.kurse-img {
  width: 100%;
  height: clamp(180px, 28vw, 300px);
  object-fit: cover;
  display: block;
}

.kurse-meta {
  display: block;
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--brand);
  letter-spacing: .4px;
  padding-inline: 1.2rem;
}

.kurse-text {
  padding-inline: 1.2rem;
  margin-top: .5rem;
}

.kurse-text h3 {
  color: var(--ink-1);
  font-size: clamp(1.2rem, 1.4vw, 1.6rem);
  margin-bottom: .6rem;
}

.kurse-text p {
  color: var(--ink-2);
  font-size: calc(var(--fs-body) - 0.1rem);
  font-weight: 300;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   WOCHENPLAN (Grid Style – Tage nebeneinander)
------------------------------------------------------------ */

.kurse-weekplan {
  padding-left: clamp(3.1rem, 11vw, 15rem);
  padding-right: clamp(3.1rem, 11vw, 15rem);
  margin-top: clamp(4rem, 6vw, 6rem);
}

.kurse-week-eyebrow {
  color: var(--brand);
  display: inline-block;
  margin-bottom: .4rem;
}

.kurse-weekplan-title {
  color: var(--ink-1);
  font-size: var(--fs-h2);
  font-weight: 600;
}

.kurse-week-range {
  margin-top: .6rem;
  font-size: clamp(.9rem, 1vw, 1rem);
  color: var(--ink-2);
  opacity: .75;
}

/* ------------------------------------------------------------
   GRID
------------------------------------------------------------ */

.kurse-week-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.2rem;
}

/* ------------------------------------------------------------
   DAY COLUMN
------------------------------------------------------------ */

.kurse-week-day {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
}

/* ------------------------------------------------------------
   DAY HEADER
------------------------------------------------------------ */

.kurse-week-day-head {
  font-size: .95rem;
  font-weight: 600;
  color: var(--brand); /* ✅ Wochentag in Brandfarbe */
  padding-bottom: .5rem;
  margin-bottom: .8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ------------------------------------------------------------
   COURSE LIST
------------------------------------------------------------ */

.kurse-week-day-body {
  display: flex;
  flex-direction: column;
  gap: .6rem; /* ✅ gleichmäßige Abstände */
}

/* ------------------------------------------------------------
   COURSE ITEM
------------------------------------------------------------ */

.kurse-week-item {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: .6rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;

  min-width: 0; /* 🔥 DAS IST DER FIX */
}

/* Uhrzeit */
.kurse-week-time {
  font-size: .78rem;
  color: var(--ink-2);
  opacity: .75;
  line-height: 1.2;
  white-space: normal;
}

.kurse-week-title {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;

  font-size: .8rem;
  font-weight: 400;
  color: var(--brand);
  line-height: 1.3;

  white-space: normal;
  word-break: break-all;     /* ← DAS ist der entscheidende Punkt */
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------
   EMPTY STATE
------------------------------------------------------------ */

.kurse-week-empty {
  font-size: .85rem;
  color: var(--ink-2);
  opacity: .6;
}

/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */

/* Tablet */
@media (max-width: 1100px) {
  .kurse-week-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   MOBILE WEEKPLAN — Horizontal Scroll
============================================================ */


@media (max-width: 900px) {



  .kurse-week-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .kurse-week-grid::-webkit-scrollbar {
    height: 6px;
  }

  .kurse-week-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
  }

  .kurse-week-day {
    flex: 0 0 75vw;        /* 👉 Breite einer Tages-Spalte */
    max-width: 80vw;
    scroll-snap-align: start;
  }
  .kurse-week-eyebrow {
  
  display: none;
  
}
}

/* ============================================================
   KURSE WEEKLY — TABLET (900–1199px)
   Medium iPads: horizontal scroll, narrower cards
============================================================ */
@media (min-width: 800px) and (max-width: 1199px) {

  .kurse-week-grid {
    display: flex;
    gap: 1.6rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1.2rem;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }



  .kurse-week-day {
    flex: 0 0 340px;
    max-width: 340px;
    scroll-snap-align: start;
  }
}


/* ============================================================
   KURSE WEEKLY — LARGE TABLET / iPad Pro 13" (1200–1440px)
   Force horizontal scroll instead of desktop grid
============================================================ */
@media (min-width: 1200px) and (max-width: 1440px) {

  .kurse-week-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1.4rem;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .kurse-week-day {
    flex: 0 0 320px;
    max-width: 320px;
    scroll-snap-align: start;
  }
}


/* ------------------------------------------------------------
   FINAL CTA BELOW WEEKPLAN
------------------------------------------------------------ */
.kurse-cta-wrapper {
  padding-left: clamp(3.1rem, 11vw, 15rem);
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

.kurse-cta {
  display: inline-block;
  padding: .9rem 2.4rem;
  background: var(--brand);
  color: #111;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 500;
  transition: opacity .25s ease, transform .25s ease;
}

.kurse-cta:hover {
  opacity: .85;
  transform: translateY(-2px);
}

/* ============================================================
   KURSE — MOBILE PORTRAIT (0–480px)
============================================================ */
@media (max-width: 480px) {

  /* Intro */
  .kurse-intro,
  .kurse-eyebrow,
  .kurse-title,
  .kurse-sub {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  /* Tagesplan Titel + Eyebrow */
  .kurse-day-eyebrow,
  .kurse-day-title {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  /* Wrapper einspaltig */
  .kurse-day-flex {
    grid-template-columns: 1fr !important;
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 1.6rem !important;
  }

  .kurse-day-item {
    grid-template-columns: 100px 1fr;
    padding: 1rem 1.2rem;
  }

  /* Scroll-Gallery */
  .kurse-gallery {
    width: 100%;
    padding-left: 3%;
    padding-right: 3%;
    gap: 1rem;
  }

  .kurse-card {
    width: 82% !important;
  }

  /* Wochenplan */
  .kurse-weekplan,
  .kurse-week-eyebrow,
  .kurse-weekplan-title,
  .kurse-week-range {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
  }

  .kurse-week-table {
    width: 94% !important;
    margin-inline: auto !important;
  }

  .kurse-cta-wrapper {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
  }
}
/* ============================================================
   KURSE — SMALL TABLETS (480–768px)
============================================================ */
@media (min-width: 480px) and (max-width: 768px) {

  .kurse-intro,
  .kurse-eyebrow,
  .kurse-title,
  .kurse-sub,
  .kurse-day-eyebrow,
  .kurse-day-title {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
  }

  .kurse-day-flex {
    grid-template-columns: 1fr !important;
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 2rem;
  }

  .kurse-gallery {
    padding-left: 3%;
    padding-right: 3%;
    gap: 1.4rem;
  }

  .kurse-card.narrow {
    width: clamp(340px, 70vw, 420px);
  }

  .kurse-weekplan,
  .kurse-weekplan-title,
  .kurse-week-range {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
  }

  .kurse-week-table {
    width: 94% !important;
    margin-inline: auto !important;
  }

  .kurse-cta-wrapper {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
  }
}
/* ============================================================
   KURSE — TABLET (768–1200px)
============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  /* Allgemeine Breite */
  .kurse-intro,
  .kurse-eyebrow,
  .kurse-title,
  .kurse-sub,
  .kurse-day-eyebrow,
  .kurse-day-title,
  .kurse-day-flex,
  .kurse-weekplan,
  .kurse-weekplan-title,
  .kurse-week-range,
  .kurse-week-table,
  .kurse-cta-wrapper {
    width: 92% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .kurse-week-eyebrow { 
    display: none;
  }
  /* Tagesplan */
  .kurse-day-flex {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.4rem !important;
  }

  /* Gallery */
  .kurse-gallery {
    padding-left: 2%;
    padding-right: 2%;
    gap: 1.6rem;
  }

  .kurse-card.narrow {
    width: clamp(340px, 44vw, 420px);
  }

  /* Wochenplan Tabelle */
  .kurse-week-table {
    width: 100% !important;
  }
}
@media (max-width: 480px) {

  .kurse-week-eyebrow,
  .kurse-weekplan-title,
  .kurse-week-range,
  .kurse-weekplan,
  .kurse-week-table,
  .kurse-cta-wrapper {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
}

/* ============================================================
   USP / TIMELINE SECTION — FIXED TO MATCH YOUR HTML
============================================================ */

.usp-section {
  background: var(--bg-2);
  padding: clamp(4rem, 6vw, 7rem) 0;
  position: relative;
}

/* INTRO */
.usp-intro {
  margin-bottom: clamp(4rem, 6vw, 5rem);
  padding-left: clamp(3.1rem, 11vw, 15rem);
  padding-right: clamp(3.1rem, 11vw, 15rem);
}

.usp-eyebrow {
  color: var(--brand);
  font-size: clamp(.9rem, 1vw, 1rem);
  letter-spacing: .5px;
  display: block;
  margin-bottom: .6rem;
}

.usp-title {
  color: var(--ink-1);
  font-size: var(--fs-h1);
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 720px;
}


.usp-sub {
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
  opacity: .85;
  max-width: 700px;
  margin-top: 50px;
}




/* ============================================================
   TIMELINE LAYOUT — FIXED
============================================================ */

.usp-timeline {
  position: relative;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-left: clamp(3.1rem, 10vw, 12rem);
  padding-right: clamp(2rem, 5vw, 4rem);
}

/* --- Horizontal Line (zentral auf Step-Dots) --- */
.usp-line {
  position: absolute;
  top: 130px; 
  left: 52%;
  transform: translateX(-50%);
  width: calc(100% - clamp(8rem, 22vw, 26rem));
  height: 4px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  z-index: 1;
}

.usp-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: inherit;
  transition: width .25s ease-out, opacity .25s ease-out;
  opacity: .25; /* wird durch JS zu 1 */
}

/* --- Step-Container, perfekt auf die Line ausgerichtet --- */
.usp-steps {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding-top: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-left: 0;
  padding-right: 0;
  max-width: calc(var(--container-wide) - clamp(6rem, 20vw, 24rem));
  margin-inline: auto;
  gap: clamp(2rem, 4vw, 4rem);
}

/* STEP */
.usp-step {
  position: relative;
}

/* --- Step Number (große Zahlen über der Linie) --- */
.usp-step-number {
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  transition: color .35s ease-out, opacity .35s ease-out;
  margin-bottom: .4rem;
}

/* --- Dot exakt auf der Linie --- */
.usp-step-dot {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  margin-inline: auto;
  margin-bottom: 1.2rem;
  position: relative;
  top: -2px; /* adjust to sit the dot center on the line */
  z-index: 3;
  transition: background .35s ease-out, transform .35s ease-out;
}

/* --- Titel --- */
.usp-step-title {
  color: var(--ink-1);
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  font-weight: 500;
  margin-bottom: .4rem;
}

/* --- Beschreibung --- */
.usp-step-text {
  color: var(--ink-2);
  font-size: calc(var(--fs-body) - .05rem);
  line-height: 1.55;
  opacity: .85;
  max-width: 240px;
  margin-inline: auto;
}
/* --- Normalize step title + text heights --- */
.usp-step-title {
  min-height: 2.8rem; /* force equal vertical slot for titles */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.usp-step-text {
  min-height: 4.2rem; /* equal height for descriptions */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

/* ============================================================
   ACTIVE STATES (JS add/remove class="active")
============================================================ */

.usp-step.active .usp-step-number {
  color: var(--brand);
  opacity: 1;
}

.usp-step.active .usp-step-dot {
  background: var(--brand);
  transform: scale(1.3);
}

/* Farbklecks eindeutig zugeordnet */
.usp-blob::before {
  content: "";
  position: absolute;
  top: 22%;
  right: -15%;
  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle at center,
    rgba(184, 204, 100, 0.25) 0%,
    rgba(184, 204, 100, 0.15) 40%,
    rgba(184, 204, 100, 0.05) 70%,
    rgba(184, 204, 100, 0) 100%
  );

  z-index: 0;
  pointer-events: none;
  transform: rotate(15deg);
}
.usp-blob::before {
  filter: blur(120px);
}

/* ============================================================
   USP / TIMELINE — MOBILE (0–480px)
   ============================================================ */
@media (max-width: 480px) {

  /* INTRO-BEREICH */
  .usp-intro,
  .usp-eyebrow,
  .usp-title,
  .usp-sub,
  .usp-footnote {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  /* FOOTNOTE CTA */
  .usp-footnote-cta {
    margin-left: 0 !important;
  }

  /* TIMELINE WRAPPER */
  .usp-timeline {
    width: 94% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 4 Steps -> Mobile: 1 Column */
  .usp-steps {
    grid-template-columns: 1fr !important;
    row-gap: 2.4rem !important;
    max-width: 94% !important;
  }

  /* Line komplett aus */
  .usp-line {
    display: none !important;
  }

  /* Step Textbreite */
  .usp-step-text,
  .usp-step-title {
    max-width: 94% !important;
  }
}


/* ============================================================
   USP / TIMELINE — SMALL TABLET (480–768px)
   ============================================================ */
@media (min-width: 480px) and (max-width: 768px) {

  /* INTRO */
  .usp-intro,
  .usp-eyebrow,
  .usp-title,
  .usp-sub,
  .usp-footnote {
    width: 92% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .usp-footnote-cta {
    margin-left: 0 !important;
  }

  /* TIMELINE */
  .usp-timeline {
    width: 92% !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 4 Steps → 2 Columns */
  .usp-steps {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 2.6rem !important;
    column-gap: 2rem !important;
    max-width: 92% !important;
  }

  .usp-line {
    display: none !important;
  }
}


/* ============================================================
   USP / TIMELINE — TABLET (768–1200px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  /* INTRO */
  .usp-section {
    display: none;
  }
}










/* ============================================================
   SECTION 7 — Finaler CTA (Hybrid Hero Style)
============================================================ */

.finalcta-section {
  margin-top: 120px;
  padding: clamp(4rem, 6vw, 7rem) 0;
  background: var(--bg-2);
  position: relative;
}

/* Farbklecks eindeutig zugeordnet */
.cta-blob::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -15%;
  width: 450px;
  height: 450px;

  background: radial-gradient(
    circle at center,
    rgba(184, 204, 100, 0.25) 0%,
    rgba(184, 204, 100, 0.15) 40%,
    rgba(184, 204, 100, 0.05) 70%,
    rgba(184, 204, 100, 0) 100%
  );

  z-index: 0;
  pointer-events: none;
  transform: rotate(15deg);
}
.cta-blob::before {
  filter: blur(120px);
}
/* -----------------------------------
   MEDIA WRAPPER (wie Hero)
----------------------------------- */

.finalcta-media-wrapper {
  position: relative;
  width: 100%; 
  margin-inline: auto;
  padding-left: clamp(3.1rem, 11vw, 15rem);
  padding-right: clamp(3.1rem, 11vw, 15rem);
  border-radius: 30px;
  overflow: hidden;
  height: 80vh;
}

.finalcta-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}

/* -----------------------------------
   OVERLAY CARD
----------------------------------- */

.finalcta-card {
  position: absolute;
  top: 15%;
  right: clamp(14rem, 6.5vw, 12rem);
  height: 70%;
  width: min(650px, 48vw);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(22px);
  padding: clamp(1.6rem, 2vw, 2.2rem);
  padding-top: clamp(2rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  justify-content: space-between;
}

/* -----------------------------------
   TEXT
----------------------------------- */

.finalcta-title {
  font-size: var(--fs-h1);
  color: var(--ink-1);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .2rem;
}

.finalcta-sub {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: 1.6;
  opacity: .85;
  max-width: 520px;
  margin-bottom: .4rem;
}

/* -----------------------------------
   BUTTONS
----------------------------------- */

.finalcta-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.finalcta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .9rem 2rem;
  border-radius: 999px;
  font-size: var(--fs-body);
  font-weight: 500;
  text-decoration: none;
  transition: background .3s ease, color .3s ease, transform .25s ease;
}

/* PRIMARY */
.finalcta-btn.primary {
  background: var(--brand);
  color: #111;
}

.finalcta-btn.primary:hover {
  background: color-mix(in srgb, var(--brand) 90%, white);
  transform: translateY(-2px);
}

/* SECONDARY */
.finalcta-btn.secondary {
  border: 2px solid var(--ink-1);
  color: var(--ink-1);
  background: transparent;
}

.finalcta-btn.secondary:hover {
  background: var(--ink-1);
  color: #000;
  transform: translateY(-2px);
}



/* -----------------------------------
   RESPONSIVE — MOBILE
----------------------------------- */

@media (max-width: 760px) {
  .finalcta-media-wrapper {
    height: 52vh;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .finalcta-media {
    border-radius: 22px;
  }

  .finalcta-card {
    position: relative;
    top: 0;
    right: 0;
    transform: none;

    width: 90%;
    max-width: none;
    margin-inline: auto;
    margin-top: -3.2rem;

    border-radius: 22px;
  }

  .finalcta-btns {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   FINAL CTA — iPad 11"
   768px – 1023px
============================================================ */

@media (min-width: 768px) and (max-width: 1023px) {

  .finalcta-media-wrapper {
    height: 68vh;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .finalcta-media {
    border-radius: 24px;
  }

  .finalcta-card {
    position: absolute;
    top: 100px;
    bottom: 20px;
    right: 80px;
    left: auto;

    width: 80%;
    height: 77%;

    margin: 0;
    transform: none;

    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .finalcta-sub {
    max-width: 100%;
  }

  .finalcta-btns {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ============================================================
   FINAL CTA — iPad 12.9" / 13"
   1024px – 1366px
============================================================ */

@media (min-width: 1024px) and (max-width: 1366px) {

  .finalcta-media-wrapper {
    height: 75vh;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .finalcta-media {
    border-radius: 26px;
  }

  .finalcta-card {
    position: absolute;
    top: 115px;
    bottom: 24px;
    right: 92px;
    left: auto;

    width: 82%;
    height: 73%;

    margin: 0;
    transform: none;

    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .finalcta-sub {
    max-width: 100%;
  }
}








