@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* Typo: Poppins = Überschriften, Logo, Buttons, KPIs · Lato = Fließtext (body) */

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

:root {
  --text-hero: clamp(2.25rem, 1.15rem + 5vw, 4rem);
  --hero-title-size: clamp(1.3rem, 1rem + 2.8vw, 4.1rem);
  --hero-title-leading: 1.1;
  --hero-title-shadow: 0 0 10px rgba(255, 255, 255, 0.28), 0 0 22px rgba(255, 255, 255, 0.14), 0 1px 3px rgba(0, 0, 0, 0.12);
  --hero-highlight-border: 1.5px solid rgba(0, 102, 204, 0.48);
  --hero-highlight-bg: rgba(0, 102, 204, 0.14);
  --hero-highlight-bg-fallback: rgba(0, 102, 204, 0.18);
  --hero-highlight-blur: blur(4px);
  /* Einheitliche Ecken in px (nicht % — Prozent erzeugt auf Rechtecken verzerrte Ellipsen) */
  --radius: 12px;
  --hero-highlight-radius: var(--radius);
  --hero-buttons-highlight-border: 1.5px solid rgba(148, 163, 184, 0.45);
  --hero-buttons-highlight-bg: rgba(238, 242, 247, 0.22);
  --hero-buttons-highlight-bg-fallback: rgba(238, 242, 247, 0.38);
  --text-page-hero: clamp(2rem, 1rem + 3.8vw, 3.35rem);
  --text-hero-lead: clamp(1.0625rem, 0.98rem + 0.45vw, 1.3125rem);
  --text-section: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-display-section: clamp(1.85rem, 1.3rem + 1.75vw, 2.625rem);
  --text-card-title: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --primary-color: #1a1a1a;
  --secondary-color: #555;
  --accent-color: #0066cc;
  --accent-light: #e6f0ff;
  --light-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --newsletter-bg: #eef2f7;
  --header-height: 70px;
  --content-bio-max: 48rem;
  --content-bio-max-mobile: 36rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ===== CREDENTIALS (unter Hero) ===== */
.credentials-section {
  position: relative;
  z-index: 2;
  background: var(--newsletter-bg);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 32px);
  overflow: hidden;
  margin-top: 0;
  display: flex;
  align-items: center;
}

.credentials-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.credentials-stats {
  position: relative;
  margin-bottom: 0;
}

.credentials-stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 2.2vw, 2rem);
  align-items: center;
}

.credentials-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  border-top: none;
  padding: 0;
  transform: none;
  animation: none;
  transition: none;
}

.credentials-stat:hover {
  transform: none;
}

.credentials-stat__value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.125rem, 3.8vw + 0.35rem, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-color);
  margin: 0 0 0.35rem;
  white-space: nowrap;
}

.credentials-stat__value .credentials-count {
  white-space: nowrap;
}

.credentials-stat__unit {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 1rem + 2.5vw, 2.75rem);
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: -0.03em;
}

.credentials-stat__label {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.5rem, 1.05vw + 0.2rem, 0.75rem);
  font-weight: 600;
  letter-spacing: clamp(0.04em, 0.06vw, 0.12em);
  text-transform: uppercase;
  color: var(--secondary-color);
  margin: 0 auto;
  line-height: 1.3;
  max-width: 100%;
  padding: 0 2px;
  hyphens: auto;
}

.credentials-achievements {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.credentials-achievements__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0 0 1.25rem;
}

.credentials-achievements__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.credentials-achievements__item {
  text-align: left;
}

.credentials-achievements__headline {
  margin: 0 0 0.3rem;
  color: var(--primary-color);
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.45;
}

.credentials-achievements__year {
  font-weight: 700;
  color: var(--primary-color);
}

.credentials-achievements__detail {
  margin: 0;
  padding-left: 0;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.875rem, 0.85rem + 0.15vw, 1rem);
  color: var(--secondary-color);
  line-height: 1.6;
}

.credentials-section.is-revealed .credentials-stat {
  animation: credentialsFadeUp 0.7s ease forwards;
}

.credentials-section.is-revealed .credentials-stat:nth-child(1) { animation-delay: 0.05s; }
.credentials-section.is-revealed .credentials-stat:nth-child(2) { animation-delay: 0.12s; }
.credentials-section.is-revealed .credentials-stat:nth-child(3) { animation-delay: 0.19s; }
.credentials-section.is-revealed .credentials-stat:nth-child(4) { animation-delay: 0.26s; }

.credentials-section.is-revealed .credentials-achievements__item {
  animation: credentialsFadeUp 0.6s ease forwards;
  opacity: 0;
}

.credentials-section.is-revealed .credentials-achievements__item:nth-child(1) { animation-delay: 0.35s; }
.credentials-section.is-revealed .credentials-achievements__item:nth-child(2) { animation-delay: 0.41s; }
.credentials-section.is-revealed .credentials-achievements__item:nth-child(3) { animation-delay: 0.47s; }
.credentials-section.is-revealed .credentials-achievements__item:nth-child(4) { animation-delay: 0.53s; }
.credentials-section.is-revealed .credentials-achievements__item:nth-child(5) { animation-delay: 0.59s; }

@keyframes credentialsFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Nur auf sehr schmalen Screens: untereinander stapeln */
@media (max-width: 440px) {
  .credentials-stats__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.25rem);
  }

  .credentials-stat__value {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: 0.5rem;
  }

  .credentials-stat__label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    max-width: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .credentials-section.is-revealed .credentials-stat,
  .credentials-section.is-revealed .credentials-achievements__item {
    animation: none;
    opacity: 1;
  }
}

/* ===== HERO-STATS: Portrait + „Das bin ich“ ===== */
.hero-stats-section {
  position: relative;
  background: #fff;
  padding: clamp(20px, 3vw, 32px) clamp(18px, 4vw, 28px) clamp(56px, 7vw, 80px);
}

.hero-stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-stats-layout {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  grid-template-columns: 1fr;
  grid-template-areas:
    "stats-text"
    "stats-portrait";
}

.hero-stats-text-column {
  grid-area: stats-text;
}

.hero-stats-portrait {
  grid-area: stats-portrait;
  width: 100%;
  max-width: 920px;
  margin: clamp(8px, 2vw, 16px) auto 0;
}

/* Gleiche Karten-Sprache wie .philosophy-grid (weiß, Akzent links, shadow-sm) */
.hero-stats-text-column.hero-stats-bio-text {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  border: none;
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
  max-width: var(--content-bio-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero-stats-text-column.hero-stats-bio-text .hero-stats-bio-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  margin: 0 0 0.85rem;
  padding-bottom: 0;
  color: var(--primary-color);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: none;
}

.hero-stats-text-column.hero-stats-bio-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color);
  margin: 0 0 1rem;
  max-width: none;
}

.hero-stats-text-column.hero-stats-bio-text p strong {
  color: var(--primary-color);
  font-weight: 700;
}

.hero-stats-text-column.hero-stats-bio-text p:last-of-type {
  margin-bottom: 0;
}

.hero-stats-text-column.hero-stats-bio-text p.hero-stats-bio-quote {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--secondary-color);
  font-weight: 400;
  background: none;
  border: none;
}

/* Portrait: Rahmen, Fokus auf einer starken Bildachse */
.hero-stats-portrait-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.07),
    0 2px 0 rgba(0, 102, 204, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  outline: 1px solid rgba(26, 26, 26, 0.05);
  outline-offset: -1px;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hero-stats-portrait:hover .hero-stats-portrait-frame {
  box-shadow:
    0 12px 36px rgba(0, 102, 204, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.hero-stats-portrait-frame img,
.hero-stats-portrait-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
}

.hero-stats-portrait-video {
  vertical-align: middle;
}

.hero-stats-portrait-frame.is-playing .hero-stats-portrait-video {
  object-fit: contain;
}

.hero-stats-portrait-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: var(--accent-color);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-stats-portrait-play:hover {
  background: #0052a3;
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 102, 204, 0.4);
}

.hero-stats-portrait-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-stats-portrait-play__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.hero-stats-portrait-frame.is-playing .hero-stats-portrait-play,
.hero-stats-portrait-play[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .hero-stats-portrait {
    max-width: 100%;
  }

  .hero-stats-text-column.hero-stats-bio-text {
    text-align: left;
    max-width: var(--content-bio-max-mobile);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats-text-column.hero-stats-bio-text .hero-stats-bio-heading {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stats-portrait:hover .hero-stats-portrait-frame {
    transform: none;
  }
}

/* ===== PHILOSOPHY (10 Kacheln, Karussell): Anbindung an Hero-Stats ===== */
.philosophy-section--after-hero {
  background: #fff;
  padding: clamp(36px, 4vw, 48px) clamp(18px, 4vw, 28px) clamp(16px, 2.5vw, 22px);
}

.philosophy-section--after-hero .philosophy-container {
  max-width: 1240px;
  margin: 0 auto;
}

.philosophy-widget {
  position: relative;
}

/* Hinweis nur im Karussell-Modus sichtbar (siehe max-width-Regel unten) */
.philosophy-swipe-hint {
  display: none;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary-color);
  opacity: 0.65;
  margin: 0 0 10px;
}

.philosophy-intro {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.45;
  text-align: center;
  margin: 0 auto clamp(18px, 2.5vw, 26px);
  max-width: 36rem;
}

/* Karussell auf allen Viewports (Reihenfolge im HTML = Wichtigkeit) */
.philosophy-section--after-hero .philosophy-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding: 4px 0 14px;
  margin: 0;
  text-align: left;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.philosophy-section--after-hero .philosophy-grid::-webkit-scrollbar {
  display: none;
}

.philosophy-section--after-hero .philosophy-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1.15rem 1rem;
  background: #fff;
  border-left: 4px solid var(--accent-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 601px) and (hover: hover) and (pointer: fine) {
  .philosophy-section--after-hero .philosophy-card {
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.28s ease,
      border-left-width 0.22s ease,
      border-left-color 0.22s ease;
    will-change: transform;
  }

  .philosophy-section--after-hero .philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    border-left-width: 6px;
    border-left-color: #0052a3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .philosophy-section--after-hero .philosophy-card {
    transition: none;
    will-change: auto;
  }

  .philosophy-section--after-hero .philosophy-card:hover {
    transform: none;
  }
}

.philosophy-section--after-hero .philosophy-card p {
  margin: 0;
  flex: 1;
  color: var(--secondary-color);
  line-height: 1.55;
  font-size: 0.9375rem;
}

.philosophy-section--after-hero .philosophy-card strong {
  color: var(--primary-color);
}

/* Hinweis + Karussell: Phone 1 · iPad 2 · Mac/Desktop 4 Kacheln nebeneinander */
@media (max-width: 600px) {
  .philosophy-swipe-hint {
    display: block;
  }

  .philosophy-section--after-hero .philosophy-widget {
    margin-left: calc(-1 * clamp(12px, 4vw, 20px));
    margin-right: calc(-1 * clamp(12px, 4vw, 20px));
  }

  .philosophy-section--after-hero .philosophy-grid {
    scroll-padding-inline: max(16px, calc(50vw - min(42vw, 168px)));
    padding: 4px max(16px, calc(50vw - min(42vw, 168px))) 14px;
  }

  .philosophy-section--after-hero .philosophy-card {
    flex: 0 0 min(84vw, 320px);
    max-width: min(84vw, 320px);
    scroll-snap-align: center;
    min-height: 0;
  }

  .philosophy-section--after-hero .philosophy-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-left-width: 4px;
    border-left-color: var(--accent-color);
  }
}

@media (min-width: 601px) {
  .philosophy-swipe-hint {
    display: block;
  }

  .philosophy-section--after-hero .philosophy-card {
    scroll-snap-align: start;
    min-height: 0;
  }
}

/* iPad / Tablet: 2 Kacheln sichtbar */
@media (min-width: 601px) and (max-width: 1199px) {
  .philosophy-section--after-hero .philosophy-grid {
    gap: 18px;
  }

  .philosophy-section--after-hero .philosophy-card {
    flex: 0 0 calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

/* Mac / großer Desktop: 4 Kacheln sichtbar */
@media (min-width: 1200px) {
  .philosophy-section--after-hero .philosophy-grid {
    gap: 20px;
  }

  .philosophy-section--after-hero .philosophy-card {
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
  }
}

/* Karussell in Programm-Block (Startseite, unter Shop-CTA) */
.philosophy-section--embedded {
  background: #fff;
  padding: clamp(20px, 3vw, 28px) clamp(18px, 4vw, 28px) clamp(16px, 2.5vw, 22px);
  margin-top: clamp(0.85rem, 2vw, 1.25rem);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Zentriert + gleiche Breite wie Hero-Video (max 920px) */
#bench-program .program-product-benefits.philosophy-section--embedded {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#bench-program .program-product-benefits .philosophy-widget--carousel {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

#bench-program .philosophy-section--embedded .philosophy-widget {
  margin-left: 0;
  margin-right: 0;
}

#bench-program .philosophy-section--embedded .philosophy-swipe-hint,
#bench-program .philosophy-section--embedded .philosophy-scroll-hint--desktop {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

#bench-program.program-product-section {
  padding-bottom: 0;
}

#bench-program .program-product-checkout {
  width: 100%;
  max-width: var(--content-bio-max);
  margin: 0 auto;
}

@media (max-width: 768px) {
  #bench-program .program-product-checkout {
    max-width: var(--content-bio-max-mobile);
  }
}

#bench-program .program-product-cta-block {
  align-items: stretch;
}

#bench-program .program-product-cta-wrap--checkout {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

#bench-program .program-checkout-shell {
  width: 100%;
  max-width: 100%;
}

#home-program-checkout {
  scroll-margin-top: 96px;
}

/* Startseite: Checkout als echter Link (zuverlässig auch auf Handy) */
.program-checkout-shell {
  position: relative;
  width: 100%;
  height: auto;
}

.program-checkout-shell__visual,
.program-checkout-shell__link:not(.btn),
.program-checkout-shell__link:not(.btn):link,
.program-checkout-shell__link:not(.btn):visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 16px 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(0, 102, 204, 0.4);
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 102, 204, 0.25);
}

.program-checkout-shell__link:not(.btn):hover,
.program-checkout-shell__link:not(.btn):focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #0052a3 0%, #004080 100%);
}

#bench-program .program-checkout-shell__widget {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  border-radius: var(--radius);
  text-indent: -9999px;
  color: transparent;
  cursor: pointer;
}

#bench-program .program-checkout-shell__widget .shop-buy-button-root {
  width: 100%;
  height: 52px;
  max-height: 52px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

#bench-program .program-checkout-shell__widget .shop-buy-button-root iframe {
  width: 100% !important;
  height: 52px !important;
  max-height: 52px !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: var(--radius) !important;
  opacity: 0.01;
  cursor: pointer;
}

@media (min-width: 601px) {
  .program-checkout-shell__visual,
  .program-checkout-shell__link:not(.btn) {
    min-height: 60px;
    font-size: 1.18rem;
    padding: 20px 44px;
  }

  #bench-program .program-checkout-shell__widget .shop-buy-button-root,
  #bench-program .program-checkout-shell__widget .shop-buy-button-root iframe {
    height: 60px !important;
    max-height: 60px !important;
  }
}

@keyframes programCtaGlowPulse {
  0%, 100% { box-shadow: 0 18px 38px rgba(0, 102, 204, 0.4); }
  50% { box-shadow: 0 18px 38px rgba(0, 102, 204, 0.55); }
}

@media (prefers-reduced-motion: no-preference) {
  .program-checkout-shell__visual,
  .program-checkout-shell__link:not(.btn) {
    animation: programCtaGlowPulse 2.6s ease-in-out infinite;
  }
}

.program-product-benefits .philosophy-widget--carousel {
  position: relative;
}

.philosophy-scroll-hint--desktop {
  display: none;
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .philosophy-section--embedded .philosophy-swipe-hint--mobile {
    display: none;
  }

  .philosophy-section--embedded .philosophy-scroll-hint--desktop {
    display: block;
    margin-bottom: 12px;
    opacity: 0.72;
  }

  .philosophy-widget--carousel.is-scrollable .philosophy-scroll-hint--desktop {
    opacity: 0.85;
  }

  .philosophy-widget--carousel.is-scrollable::after {
    content: '';
    position: absolute;
    right: 0;
    top: 30px;
    bottom: 14px;
    width: 64px;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.25s ease;
  }

  .philosophy-widget--carousel.is-scroll-end::after {
    opacity: 0;
  }

  .philosophy-scroll-next {
    position: absolute;
    right: 6px;
    top: calc(50% + 12px);
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--accent-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition:
      background 0.2s ease,
      box-shadow 0.2s ease,
      color 0.2s ease;
  }

  .philosophy-scroll-next:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: var(--shadow-md);
  }

  .philosophy-scroll-next:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
  }

  .philosophy-scroll-next[hidden] {
    display: none;
  }
}

@media (max-width: 768px) {
  .philosophy-scroll-next {
    display: none;
  }
}

/* Road to 100kg — Startseite: ein Block, keine losen Segmente */
.program-product-section {
  --sv-radius: 10px;
  --program-stack-gap: clamp(0.65rem, 1.75vw, 0.9rem);
  position: relative;
  overflow-x: hidden;
  background: var(--newsletter-bg);
  text-align: center;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 4vw, 24px) clamp(28px, 4vw, 40px);
}

.program-product-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--program-stack-gap);
}

.program-product-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 1.2vw, 0.55rem);
  width: 100%;
  margin: clamp(0.15rem, 0.5vw, 0.25rem) 0 0;
}

.program-product-cta-wrap {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

#bench-program .program-product-cta-wrap .btn.btn-primary,
.program-product-section .program-product-cta-wrap .btn.btn-primary {
  display: inline-block;
  min-width: min(100%, 440px);
  padding: 20px 44px !important;
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  border-radius: var(--radius) !important;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%) !important;
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(0, 102, 204, 0.4);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

@media (min-width: 601px) and (hover: hover) and (pointer: fine) {
  #bench-program .program-product-cta-wrap .btn.btn-primary,
.program-product-section .program-product-cta-wrap .btn.btn-primary {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  #bench-program .program-product-cta-wrap .btn.btn-primary:hover,
  .program-product-section .program-product-cta-wrap .btn.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 42px rgba(0, 102, 204, 0.45);
  }
}

/* ===== Sanfter Puls am CTA, damit der Klick magnetisch wirkt ===== */
@keyframes programCtaPulse {
  0%   { box-shadow: 0 18px 38px rgba(0, 102, 204, 0.40); }
  50%  { box-shadow: 0 18px 38px rgba(0, 102, 204, 0.55); }
  100% { box-shadow: 0 18px 38px rgba(0, 102, 204, 0.40); }
}

@media (prefers-reduced-motion: no-preference) {
  #bench-program .program-product-cta-wrap .btn.btn-primary,
.program-product-section .program-product-cta-wrap .btn.btn-primary {
    animation: programCtaPulse 2.6s ease-in-out infinite;
  }
}

/* ===== PROGRAMM-CTA DOCK (Handy: unten andocken, im Kasten einrasten) ===== */
.program-product-cta-placeholder {
  height: 0;
  width: 100%;
  pointer-events: none;
}

@media (min-width: 769px) {
  body.program-cta-docked {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .credentials-section {
    z-index: 10001;
  }

  #bench-program .program-product-cta-block:not(.is-docked) {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
  }

  #bench-program .program-product-checkout {
    max-width: none;
  }

  #bench-program .program-product-cta-wrap--checkout {
    width: 100%;
    min-width: 0;
    max-width: none;
    display: block;
  }

  .program-checkout-shell__link:not(.btn) {
    animation: none;
    width: 100%;
    pointer-events: auto;
  }

  body > #program-cta-dock.is-docked,
  #program-cta-dock.is-docked,
  #bench-program .program-product-cta-block.is-docked {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 10000;
    transform: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  /* Am body gedockt: gleiche Button-Styles wie in #bench-program (ohne weißen Frame) */
  #program-cta-dock.is-docked .program-product-cta-wrap,
  #program-cta-dock.is-docked .program-checkout-shell {
    width: 100%;
  }

  #program-cta-dock.is-docked .program-checkout-shell__link:not(.btn) {
    display: flex;
    width: 100%;
    pointer-events: auto;
    touch-action: manipulation;
    animation: none;
  }

  #program-cta-dock.is-docked .program-checkout-shell__widget,
  #program-cta-dock.is-docked .shop-buy-button-frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
  }

  #program-cta-dock.is-docked .shop-buy-button-root {
    width: 100%;
    height: 52px;
    max-height: 52px;
    min-height: 0;
    margin: 0;
    overflow: hidden;
  }

  #program-cta-dock.is-docked .shop-buy-button-root iframe {
    width: 100% !important;
    height: 52px !important;
    max-height: 52px !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: var(--radius) !important;
    opacity: 0.01;
    cursor: pointer;
  }

  body.program-cta-docked .program-product-checkout {
    z-index: 0;
  }

  body.program-cta-docked {
    padding-bottom: 0;
  }

  body.cookie-banner-active #program-cta-dock.is-docked,
  body.cookie-banner-active #bench-program .program-product-cta-block.is-docked {
    visibility: hidden;
    pointer-events: none;
  }

  body.cookie-banner-active.program-cta-docked {
    padding-bottom: 0;
  }
}

@media (min-width: 601px) {
  .program-product-section {
    --program-stack-gap: clamp(0.7rem, 1.5vw, 0.95rem);
    padding: clamp(22px, 2.8vw, 32px) clamp(20px, 4vw, 28px) clamp(32px, 4vw, 44px);
  }
}

@media (min-width: 900px) {
  .program-product-section {
    --program-stack-gap: 0.85rem;
  }
}

@media (max-width: 600px) {
  .program-product-section {
    --program-stack-gap: 0.6rem;
    padding: clamp(18px, 4vw, 24px) clamp(14px, 4vw, 20px) clamp(24px, 5vw, 32px);
  }

  .program-product-cta-block {
    gap: 0.35rem;
    margin-top: 0.1rem;
  }

  #bench-program .program-product-cta-wrap .btn.btn-primary,
.program-product-section .program-product-cta-wrap .btn.btn-primary {
    min-width: min(100%, 320px);
    font-size: 1.05rem !important;
    padding: 16px 22px !important;
  }
}

/* ===== SCROLL PROGRESS BAR (sichtbar erst nach ausgeblendetem Header) ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color) 0%, #0052a3 100%);
  width: 0%;
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

.scroll-progress.is-visible {
  opacity: 1;
  visibility: visible;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary-color);
  line-height: 1.65;
  font-size: clamp(15px, 0.9rem + 0.2vw, 17px);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

html:has(body.page-home) {
  background-color: #0f1419;
  overflow-x: hidden;
}

body.page-home {
  background-color: #0f1419;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Innenseiten: dunkler Hero ohne .hero-main-title */
section.hero .hero-content h1:not(.hero-main-title) {
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-page-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 15px;
  color: #fff;
}

section.hero .hero-content > p:not(.hero-subtitle) {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-hero-lead);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.125rem, 1rem + 1vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.45;
  animation: fadeInUp 0.8s ease forwards 0.2s both;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

header.header--scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Ausblenden ohne Slide-Animation (kein „Runterwischen“ beim Hochscrollen) */
header.header--hidden {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    transition: none;
  }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: var(--header-height);
  transition: var(--transition);
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--accent-color);
}

/* ===== CART ICON ===== */
.cart-icon {
  position: relative;
}

.cart-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 8px;
  border-radius: var(--radius);
}

.cart-icon a:hover {
  color: var(--accent-color);
  background-color: var(--light-gray);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-count.active {
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== NAVIGATION ===== */
nav.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

nav.nav-desktop a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Mobile Menu */
nav.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  z-index: 99;
  overflow-x: hidden;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

nav.nav-mobile.active {
  display: block;
  animation: slideDown 0.4s cubic-bezier(0.36, 0, 0.66, 1);
}

nav.nav-mobile ul {
  list-style: none;
  padding: 15px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

nav.nav-mobile li {
  padding: 0;
  width: 100%;
}

nav.nav-mobile a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
  display: block;
  padding: 14px 20px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

nav.nav-mobile a:hover {
  background-color: var(--light-gray);
  color: var(--accent-color);
  padding-left: 25px;
}

.mobile-dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  width: 100%;
  text-align: left;
  transition: var(--transition);
}

.dropdown-btn:hover {
  color: var(--accent-color);
}

.dropdown-content {
  display: none;
  list-style: none;
  padding: 10px 10px 0 10px;
  margin: 10px 0 0 0;
  flex-direction: column;
}

.mobile-dropdown.open .dropdown-content {
  display: flex !important;
  flex-direction: column;
}

.dropdown-content li a {
  font-size: 14px;
  color: var(--secondary-color);
}

/* Desktop nav styling */
nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--accent-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 9px;
  margin-left: 6px;
  transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(-180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 220px;
  list-style: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: 15px;
  overflow: hidden;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
  border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
  background-color: var(--accent-light);
  color: var(--accent-color);
  border-left-color: var(--accent-color);
  padding-left: 24px;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary-color);
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 101;
}

.mobile-menu-toggle:hover {
  background-color: var(--light-gray);
  color: var(--accent-color);
}

/* ===== MAIN CONTENT ===== */
main {
  min-height: calc(100vh - 160px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Startseite: Kacheln + Programm-CTA ohne Main-Rahmen als Extra-Segment */
#main-content {
  max-width: none;
  padding: 0;
  min-height: 0;
}

main.legal-page h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-color);
  opacity: 0;
  animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main.legal-page h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
  opacity: 0;
  animation: fadeInLeft 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

main.legal-page h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

main.legal-page p {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}

main.legal-page a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

main.legal-page a:hover {
  text-decoration: underline;
}

main.legal-page ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

main.legal-page ul li {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.8;
}

article {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

article:nth-child(2) {
  animation-delay: 0.1s;
}

article:nth-child(3) {
  animation-delay: 0.2s;
}

article:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

article:hover {
  transform: translateX(5px);
}

article h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

article small {
  color: #999;
  font-size: 13px;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---- Über-mich-Seite ---- */
.about-page__content {
  max-width: 920px;
}

.about-page__bio {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

/* ---- Rechtstext-Seiten (ohne Hero-Bild / ohne Cover-Gradient) ---- */
main.legal-page {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 160px);
  background: #fff;
}

main.legal-page h1,
main.legal-page h2,
main.legal-page h3 {
  opacity: 1;
  transform: none;
  animation: none;
}

.legal-page__header {
  background: linear-gradient(180deg, var(--light-gray) 0%, #fff 100%);
  border-bottom: 1px solid var(--border-color);
  padding: calc(70px + clamp(1rem, 2.5vw, 1.75rem)) clamp(16px, 4vw, 24px)
    clamp(1.25rem, 3vw, 2rem);
}

.legal-page__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-page__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: var(--text-page-hero);
  letter-spacing: -0.03em;
  color: var(--primary-color);
  margin: 0 0 0.5rem;
  line-height: 1.12;
}

.legal-page__lead {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.0625rem);
  color: var(--secondary-color);
  line-height: 1.55;
  max-width: 36rem;
}

.legal-page__body {
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(16px, 4vw, 24px)
    clamp(2.5rem, 6vw, 4rem);
  background: #fff;
}

.legal-page__prose {
  font-family: 'Lato', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--secondary-color);
}

.legal-page__prose > .legal-page__section:first-child > h2:first-child,
.legal-page__prose > h2:first-child {
  margin-top: 0;
}

.legal-page__section {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-top: 1px solid var(--border-color);
}

.legal-page__section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-page__prose h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--primary-color);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.legal-page__prose h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--primary-color);
  margin: 1.35rem 0 0.5rem;
  line-height: 1.25;
}

.legal-page__prose h3:first-child {
  margin-top: 0;
}

.legal-page__prose p {
  margin: 0 0 1rem;
  font-size: inherit;
  line-height: inherit;
}

.legal-page__prose p:last-child {
  margin-bottom: 0;
}

.legal-page__prose ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.legal-page__prose li {
  margin-bottom: 0.45rem;
}

.legal-page__callout {
  background: var(--light-gray);
  border-left: 4px solid var(--accent-color);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--secondary-color);
}

.legal-page__callout p {
  margin: 0;
}

.legal-page__callout--accent {
  background: var(--accent-light);
  border-left-color: var(--accent-color);
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.legal-page__prose a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__prose a:hover {
  color: #0052a3;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  margin-top: 80px;
  padding: 60px 20px 30px;
}

body.page-home footer {
  margin-top: 0;
  padding: 0 0 30px;
}

/* Newsletter im Footer: gleicher Hintergrund wie Footer */
footer .footer-newsletter.email-signup-section {
  width: 100%;
  margin-bottom: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
}

footer .footer-newsletter .email-signup__lead,
footer .footer-newsletter .email-signup__lead-title,
footer .footer-newsletter .email-signup__benefits {
  color: #fff;
}

footer .footer-newsletter .email-signup__note {
  color: rgba(255, 255, 255, 0.72);
}

footer .footer-newsletter [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent label {
  color: rgba(255, 255, 255, 0.72) !important;
}

footer .footer-newsletter + .footer-container {
  padding-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding: 0 20px;
}

body.page-home footer .footer-container {
  padding-top: clamp(48px, 6vw, 60px);
}

.footer-section h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #bbb;
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
  display: inline-block;
}

.footer-section a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #999;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.footer-bottom__legal {
  margin-top: 12px;
  font-size: 13px;
}

.footer-bottom__legal a {
  color: inherit;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding-right: 12px;
  margin-right: 12px;
}

.footer-bottom__legal a:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

/* ===== HERO SECTION ===== */
/* Mobile/Tablet: hero-bg.png · Desktop (≥769px): hero-bg-wide.jpg (4159×1918) */
.hero {
  min-height: calc(100lvh - var(--header-height));
  width: 100%;
  max-width: 100%;
  margin: 0;
  background-image: none;
  background-color: #0f1419;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 48px) 40px 80px;
  gap: 60px;
  box-sizing: border-box;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url('../images/hero-bg.png');
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(36px, 7vw, 72px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 58%,
    rgba(238, 242, 247, 0.07) 80%,
    rgba(238, 242, 247, 0.2) 94%,
    var(--newsletter-bg) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 600px;
  animation: fadeInUp 1s ease forwards;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.hero-buttons-container {
  position: absolute;
  bottom: 120px;
  right: 40px;
  z-index: 10;
  animation: fadeInUp 0.8s ease forwards 0.3s both;
  padding: 1rem 1.2rem;
  border-radius: var(--hero-highlight-radius);
  border: var(--hero-buttons-highlight-border);
  background: var(--hero-buttons-highlight-bg);
  backdrop-filter: var(--hero-highlight-blur);
  -webkit-backdrop-filter: var(--hero-highlight-blur);
  box-sizing: border-box;
}

.hero h1:not(.hero-main-title) {
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-hero);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-main-title,
.hero-main-title__line {
  color: #fff !important;
}

.hero h1.hero-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: var(--hero-title-size);
  font-weight: 800;
  line-height: var(--hero-title-leading);
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  position: relative;
  z-index: 5;
  animation: fadeInDown 0.8s ease forwards;
  text-wrap: balance;
  text-shadow: var(--hero-title-shadow);
  max-width: 18em;
  width: fit-content;
  padding: clamp(0.65rem, 0.38rem + 0.65vw, 1.35rem) clamp(0.85rem, 0.52rem + 0.85vw, 1.6rem);
  border-radius: var(--radius);
  border: var(--hero-highlight-border);
  background: var(--hero-highlight-bg);
  backdrop-filter: var(--hero-highlight-blur);
  -webkit-backdrop-filter: var(--hero-highlight-blur);
  box-sizing: border-box;
}

@media (prefers-reduced-transparency: reduce) {
  .hero h1.hero-main-title {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--hero-highlight-bg-fallback);
  }

  .hero-buttons-container {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--hero-buttons-highlight-bg-fallback);
  }
}

.hero-main-title__line {
  display: block;
}

.hero p:not(.hero-subtitle) {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease forwards 0.2s both;
  line-height: 1.8;
}

.hero-social-links {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 5;
  animation: fadeInUp 0.8s ease forwards 0.6s both;
}

.hero-social-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7),
    0 0 12px rgba(0, 0, 0, 0.45);
}

.hero-social-links i {
  font-size: 1.05rem;
  opacity: 0.92;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-social-links a:hover {
  color: #fff;
  transform: translateY(-2px);
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.75),
    0 0 16px rgba(0, 0, 0, 0.5);
}

.hero-social-links a:hover i {
  transform: scale(1.2);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease forwards 0.4s both;
  align-items: flex-start;
  width: fit-content;
}

/* Hero: Checkout — exakt .btn.btn-primary, nur Text geändert */
.hero-checkout-cta {
  align-self: stretch;
  width: 100%;
}

.hero-checkout-cta .program-checkout-shell--hero {
  position: relative;
  display: block;
  width: 100%;
}

.hero-checkout-cta .program-checkout-shell--hero .program-checkout-shell__link {
  width: 100%;
  display: block;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 102, 204, 0.25);
}

.hero-checkout-cta .program-checkout-shell--hero .program-checkout-shell__widget {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  border-radius: var(--radius);
  text-indent: -9999px;
  color: transparent;
  cursor: pointer;
}

.hero-checkout-cta .program-checkout-shell--hero .program-checkout-shell__widget .shop-buy-button-root {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  overflow: hidden;
}

.hero-checkout-cta .program-checkout-shell--hero .program-checkout-shell__widget .shop-buy-button-root iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  border: none !important;
  border-radius: var(--radius) !important;
  opacity: 0.01;
  cursor: pointer;
}

.btn {
  padding: 16px 42px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: fit-content;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  background-color: #0052a3;
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.5);
  transform: translateY(-4px) scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #1a1a1a;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 60px 20px;
  background-color: var(--light-gray);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease forwards;
}

.section-header h2 {
  font-size: var(--text-display-section);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 15px;
  animation: fadeInDown 0.8s ease forwards;
}

.section-header p {
  font-size: 16px;
  color: var(--secondary-color);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards 0.2s both;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  cursor: pointer;
  border-top: 4px solid transparent;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent-color);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  transition: var(--transition);
  display: inline-block;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--accent-color);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.service-card p {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.service-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.service-link:hover {
  transform: translateX(5px);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 80px 20px;
  background-color: #fff;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-color);
  opacity: 0;
  animation: slideInLeft 0.6s ease forwards;
  transition: var(--transition);
}

.testimonial-card:nth-child(1) { animation-delay: 0s; }
.testimonial-card:nth-child(2) { animation-delay: 0.1s; }
.testimonial-card:nth-child(3) { animation-delay: 0.2s; }

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

.stars {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.testimonial-text {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}

.testimonial-role {
  color: #999;
  font-size: 13px;
  margin-top: 5px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, #0052a3 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin: 80px 0 0 0;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease forwards;
}

.cta-section p {
  font-size: 16px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 0.8s ease forwards 0.2s both;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== PARALLAX EFFECT ===== */
[data-parallax] {
  will-change: transform;
}

/* Extra small phones (max-width: 541px) */
/* Small phones (max-width: 600px) */
@media (max-width: 600px) {
  .hero::before {
    background-position: 72% 38%;
  }

  .hero {
    height: calc(100lvh - var(--header-height));
    margin: 0;
    padding: 0;
    background-image: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr;
    align-items: start;
    justify-content: start;
    gap: 0;
    position: relative;
  }

  .hero-content {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: min(86vw, 340px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 5;
    grid-row: 1;
    align-self: start;
    justify-self: start;
  }

  .hero-main-title {
    font-size: clamp(1.3rem, 0.5rem + 4.4vw, 1.8rem);
    line-height: 1.12;
    max-width: 13em;
    margin-bottom: 0;
  }

  .hero-content p:not(.hero-subtitle) {
    font-size: 14px !important;
  }

  .hero-buttons-container {
    position: absolute;
    bottom: 104px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeInUp 0.8s ease forwards 0.5s both;
    max-width: 94%;
    width: 94%;
    padding: 0.9rem 1.05rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .scroll-indicator {
    display: none !important;
  }

  .hero-social-links {
    bottom: 20px;
    gap: 20px;
  }

  .hero-social-links a {
    font-size: 13px;
    gap: 6px;
  }

  .hero-social-links i {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .section-header h2 {
    font-size: 24px;
  }

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

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

  .cta-section h2 {
    font-size: 22px;
  }

  .header-container {
    height: 55px;
    padding: 0 15px;
  }

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

  nav.nav-desktop {
    display: none !important;
  }

  nav.nav-desktop ul {
    display: none;
  }

  nav.nav-mobile.active {
    display: block;
  }

  nav.nav-mobile a {
    padding: 14px 20px;
    display: block;
    border-bottom: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  nav.nav-mobile a:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
    padding-left: 25px;
  }

  nav.nav-mobile a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 20px;
    padding: 8px 10px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: #f9f9f9;
    margin-top: 0;
    margin-left: 0;
    border-radius: 0;
    animation: none;
    max-width: 100%;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    padding: 0;
  }

  .dropdown-content li a {
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  main {
    padding: 0 15px 30px 15px;
  }

  main.legal-page h1 {
    font-size: 28px;
  }

  main.legal-page h2 {
    font-size: 20px;
  }

  main.legal-page p {
    font-size: 14px;
  }

  .philosophy-section:not(.philosophy-section--after-hero) .philosophy-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-container {
    gap: 20px;
    grid-template-columns: 1fr;
    font-size: 13px;
  }

  .services-section {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .testimonials-section {
    padding: 30px 15px;
  }

  .cta-section {
    padding: 25px 15px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 15px;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  
  .cookie-buttons button {
    font-size: 12px;
    padding: 8px 12px !important;
  }
  
  .cookie-text p {
    font-size: 12px;
  }
}

/* Tablets / Large phones (601px to 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  .hero::before {
    background-position: center center;
  }

  .hero {
    min-height: 70vh;
    padding: 0;
    background-image: none;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content p:not(.hero-subtitle) {
    font-size: 18px !important;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

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

  .cta-section h2 {
    font-size: 28px;
  }

  .header-container {
    height: 60px;
  }

  nav.nav-desktop {
    display: none;
  }

  nav.nav-desktop ul {
    display: none;
  }

  nav.nav-mobile {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    padding: 0;
    gap: 0;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
  }

  nav.nav-mobile.active {
    display: block;
  }

  nav.nav-mobile a {
    padding: 12px 20px;
    display: block;
    border-bottom: none;
  }

  nav.nav-mobile a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  main {
    padding: 40px 20px;
    font-size: 15px;
  }

  main.legal-page h1 {
    font-size: 36px;
  }

  main.legal-page h2 {
    font-size: 24px;
  }

  main.legal-page p {
    font-size: 15px;
  }

  .philosophy-intro {
    font-size: 1.05rem;
    padding: 0 4px;
  }

  .philosophy-section:not(.philosophy-section--after-hero) .philosophy-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer-container {
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    font-size: 14px;
  }

  .services-section {
    padding: 50px 20px;
  }

  .testimonials-section {
    padding: 50px 20px;
  }

  .cta-section {
    padding: 35px 20px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  
  .cookie-text p {
    font-size: 13px;
  }
}

/* Small desktops (768px to 1024px) — Hero-Buttons: siehe konsolidierter Block am Dateiende */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content p:not(.hero-subtitle) {
    font-size: clamp(1rem, 0.92rem + 0.35vw, 1.375rem) !important;
  }

  .btn {
    font-size: 15px;
  }

  nav.nav-desktop ul {
    gap: 25px;
  }

  nav.nav-desktop a {
    font-size: 14px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h2 {
    font-size: 32px;
  }

  main {
    padding: 50px 30px;
    font-size: 15px;
  }

  main.legal-page h1 {
    font-size: 40px;
  }

  main.legal-page h2 {
    font-size: 28px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    font-size: 14px;
  }

  .services-section {
    padding: 55px 30px;
  }

  .testimonials-section {
    padding: 55px 30px;
  }
}

/* Large desktops (1024px+) */
@media (min-width: 1025px) {
  .hero-content p:not(.hero-subtitle) {
    font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.5rem) !important;
  }

  .btn {
    font-size: 16px;
  }

  nav.nav-desktop ul {
    gap: 35px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  main {
    padding: 60px 40px;
    font-size: 16px;
  }

  main.legal-page h1 {
    font-size: 56px;
  }

  main.legal-page h2 {
    font-size: 32px;
  }

  .footer-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    font-size: 15px;
  }

  .services-section {
    padding: 80px 40px;
  }

  .testimonials-section {
    padding: 80px 40px;
  }
}


/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 98;
  display: none;
  animation: slideUp 0.3s ease;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  color: var(--secondary-color);
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-buttons button {
  white-space: nowrap;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ===== SOCIAL MEDIA LINKS (HERO) ===== */
.hero-content a[href*="instagram.com"],
.hero-content a[href*="youtube.com"],
.hero-content a[href*="tiktok.com"] {
  transition: var(--transition);
  border-radius: var(--radius);
  padding: 8px 12px;
}

.hero-content a[href*="instagram.com"]:hover,
.hero-content a[href*="youtube.com"]:hover,
.hero-content a[href*="tiktok.com"]:hover {
  color: var(--accent-color) !important;
  background-color: rgba(0, 102, 204, 0.1);
  transform: translateY(-2px);
}

/* ===== NEWSLETTER / E-MAIL SIGNUP (Seitenende) ===== */
.email-signup-section {
  background: #fff;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 4vw, 28px);
  text-align: center;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.email-signup-section__inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-signup__lead {
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.1875rem);
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 38rem;
}

.email-signup__lead-title {
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.email-signup__benefits {
  list-style: disc;
  text-align: left;
  display: inline-block;
  margin: 0;
  padding-left: 1.25rem;
}

.email-signup__benefits li + li {
  margin-top: 0.35rem;
}

.email-signup__note {
  font-size: 0.8125rem;
  color: var(--secondary-color);
  margin: 0;
  line-height: 1.5;
}

/* EmailOctopus — zentrierte Spalte (überschreibt EO flex-end / Bootstrap) */
.email-signup-embed {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"].inline-container {
  width: 100% !important;
  max-width: 26rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .form-container,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-wrapper,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .text-center {
  width: 100% !important;
  max-width: 26rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  text-align: center !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-default {
  --field-colour: #ffffff;
  --field-border-colour: #e0e0e0;
  --button-colour: #0066cc;
  --button-text-colour: #ffffff;
  --base-font-size: 1rem;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 26rem !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form [eo-form-fields-container],
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form .emailoctopus-form-row,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form .btn,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form input[type="submit"] {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
  flex-grow: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form .form-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: center !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"]) {
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px 16px !important;
  border-radius: var(--radius) !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form input[type="submit"],
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form .btn-primary {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px 22px !important;
  border-radius: var(--radius) !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  box-sizing: border-box !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form input[type="submit"]:hover,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form .btn-primary:hover {
  background-color: #0052a3 !important;
  border-color: #0052a3 !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.35rem auto 0 !important;
  text-align: center !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent label {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
  color: var(--secondary-color) !important;
  text-align: center !important;
  display: inline !important;
  flex: 1 1 auto !important;
  max-width: 100%;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-success-message,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-success,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .alert-success,
.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .text-success {
  font-family: 'Lato', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  margin: 0.75rem auto 0 !important;
  width: 100% !important;
  color: #7ec8ff !important;
}

footer .footer-newsletter [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-success-message,
footer .footer-newsletter [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-success,
footer .footer-newsletter [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .alert-success,
footer .footer-newsletter [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .text-success {
  color: #9ad4ff !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-error-message {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.875rem !important;
  text-align: center !important;
  margin: 0.75rem auto 0 !important;
  width: 100% !important;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .mastfoot {
  margin: 1rem auto 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  text-align: center !important;
  opacity: 0.55;
  transform: scale(0.92);
  transform-origin: center top;
}

.email-signup-section [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .mastfoot .inner {
  text-align: center !important;
}

/* Marketing-Einwilligung fehlt (nach Klick auf Subscribe) */
@keyframes email-signup-consent-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent {
  padding: 0.5rem 0.65rem !important;
  border-radius: var(--radius) !important;
  background: rgba(220, 53, 69, 0.1) !important;
  box-shadow: 0 0 0 2px #dc3545 !important;
}

.email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent label {
  color: #b02a37 !important;
  font-weight: 600 !important;
}

.email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent input[type="checkbox"] {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
  accent-color: #dc3545;
}

.email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form input[type="submit"],
.email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .main-form .btn-primary {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  animation: email-signup-consent-shake 0.45s ease;
}

.email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-error-message {
  color: #b02a37 !important;
  font-weight: 600 !important;
}

/* Handy: Consent-Hinweis etwas schmaler (box-shadow ragt sonst über Button-Breite) */
@media (max-width: 768px) {
  .email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent {
    width: calc(100% - 6px) !important;
    max-width: calc(100% - 6px) !important;
    box-sizing: border-box !important;
    padding: 0.42rem 0.5rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .email-signup-section.is-consent-missing [data-form="9dcbe9b4-5519-11f1-9883-8fb5526d8dfb"] .emailoctopus-form-row-consent label {
    font-size: 0.76rem !important;
    line-height: 1.42 !important;
    max-width: 100% !important;
  }
}

/* ===== IMAGE RESPONSIVE ===== */
img[alt*="Medea"],
img[alt*="Powerlifting"] {
  max-width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVE: EMAIL FORM & IMAGES */
@media (max-width: 768px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content > div:last-child {
    width: 100%;
  }

  .hero-subtitle {
    font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.25rem) !important;
  }

  /* Bio & Authority Sections: Stack on mobile */
  section > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ===== CCM19 COOKIE BANNER STYLING ===== */
/* Customize ccm19 widgets to match design */
[data-ccm19-widget],
.ccm19-widget,
.ccm19-banner,
.c19-banner-wrapper {
  font-family: 'Poppins', sans-serif !important;
}

/* CCM19 Banner Container */
.c19-widget-box,
.ccm19-box,
.c19-bar,
[class*="ccm19"],
[class*="c19-banner"] {
  background: #fff !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid #e0e0e0 !important;
}

/* CCM19 Buttons */
.c19-btn,
.ccm19-btn,
.ccm19-button,
[class*="c19-button"],
[class*="ccm19-button"] {
  background-color: #0066cc !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  font-family: 'Poppins', sans-serif !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: 0.3px !important;
}

.c19-btn:hover,
.ccm19-btn:hover,
.ccm19-button:hover,
[class*="c19-button"]:hover,
[class*="ccm19-button"]:hover {
  background-color: #0052a3 !important;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* CCM19 Secondary/Reject Button */
.c19-btn-secondary,
.ccm19-btn-secondary,
.c19-btn-reject,
.ccm19-btn-reject,
[class*="c19-button-secondary"],
[class*="ccm19-button-secondary"] {
  background-color: #f5f5f5 !important;
  color: #1a1a1a !important;
  border: 1px solid #e0e0e0 !important;
}

.c19-btn-secondary:hover,
.ccm19-btn-secondary:hover,
.c19-btn-reject:hover,
.ccm19-btn-reject:hover,
[class*="c19-button-secondary"]:hover,
[class*="ccm19-button-secondary"]:hover {
  background-color: #fff !important;
  border-color: #0066cc !important;
  color: #0066cc !important;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2) !important;
}

/* CCM19 Text/Description */
.c19-text,
.ccm19-text,
.c19-description,
.ccm19-description,
[class*="c19-text"],
[class*="ccm19-text"] {
  color: #555 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* CCM19 Heading/Title */
.c19-title,
.ccm19-title,
.c19-heading,
.ccm19-heading,
[class*="c19-title"],
[class*="ccm19-title"] {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
}

/* CCM19 Links */
.c19-link,
.ccm19-link,
[class*="c19-link"],
[class*="ccm19-link"],
a[class*="ccm19"],
a[class*="c19"] {
  color: #0066cc !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.c19-link:hover,
.ccm19-link:hover,
[class*="c19-link"]:hover,
[class*="ccm19-link"]:hover,
a[class*="ccm19"]:hover,
a[class*="c19"]:hover {
  color: #0052a3 !important;
  text-decoration: underline !important;
}

/* Mobile CCM19 */
@media (max-width: 600px) {
  .c19-widget-box,
  .ccm19-box,
  .c19-bar,
  [class*="ccm19"],
  [class*="c19-banner"] {
    border-radius: var(--radius) !important;
    padding: 12px !important;
  }

  .c19-btn,
  .ccm19-btn,
  .ccm19-button,
  [class*="c19-button"],
  [class*="ccm19-button"] {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }

  .c19-text,
  .ccm19-text,
  .c19-description,
  .ccm19-description,
  [class*="c19-text"],
  [class*="ccm19-text"] {
    font-size: 12px !important;
  }
}

/* ============================================================
   RESPONSIVE-FIX-BLOCK (V1) — überschreibt absolut positionierte
   Hero-Buttons und definiert die neuen Shop-Sektionen.
   Stand am Dateiende, damit alle vorigen Regeln überschrieben werden.
   ============================================================ */

/* ---- Header / Sticky: Inhalt darf darunter scrollen, kein Overlap ---- */
header {
  z-index: 100;
}

/* ============================================================
   HERO LAYOUT — KONSOLIDIERT
   Single Source of Truth fuer Hero-Positionierung an allen Breakpoints.
   Ueberschreibt alle vorherigen Hero-Media-Queries der CSS.

   Breakpoints:
     ≤600px  Mobile          → vertikal gestapelt, Buttons unten zentriert
     601–768 Tablet portrait → wie Mobile, mehr Luft
     ≥769px  Desktop         → 2-Spalten, Text mittig links, Buttons rechts mittig-unten
     ≥1025px Large Desktop   → mehr Padding, Buttons groesser
   ============================================================ */

/* === Hero: Mobile (≤600px) === */
@media (max-width: 600px) {
  .hero::before {
    background-image: url('../images/Medea_Shop_Bench.jpg');
    background-position: center 38%;
  }

  .hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: min-content 1fr !important;
    gap: 0 !important;
    background-image: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    height: calc(100lvh - var(--header-height)) !important;
    min-height: calc(100lvh - var(--header-height)) !important;
    align-items: start !important;
  }

  .hero-content {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    align-self: start !important;
    justify-self: start !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: min(86vw, 340px) !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    z-index: 5 !important;
    grid-row: 1;
  }

  .hero h1.hero-main-title {
    max-width: 13em !important;
    font-size: clamp(1.15rem, 0.38rem + 4.2vw, 1.6rem) !important;
    line-height: 1.12 !important;
    padding: clamp(0.48rem, 0.26rem + 1vw, 0.72rem) clamp(0.62rem, 0.34rem + 1.2vw, 0.88rem) !important;
    margin-bottom: 0 !important;
    border-radius: var(--radius) !important;
  }

  .hero-subtitle {
    font-size: clamp(0.86rem, 3.5vw, 1.02rem) !important;
    line-height: 1.28 !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }

  .hero-buttons-container {
    position: absolute !important;
    bottom: 108px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 88% !important;
    max-width: 400px !important;
    padding: 0.75rem 0.9rem !important;
  }

  .hero-buttons-container .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 11px !important;
    width: 100% !important;
  }

  .hero-buttons-container .btn {
    padding: 14px 22px !important;
    font-size: 15px !important;
  }

  .hero-social-links {
    bottom: 32px !important;
    gap: 22px !important;
  }
}

/* === Hero: Tablet portrait (601–768px) === */
@media (min-width: 601px) and (max-width: 768px) {
  .hero::before {
    background-position: 68% 40% !important;
  }

  .hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: min-content 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-image: none !important;
    background-color: #0f1419 !important;
    height: calc(100lvh - var(--header-height)) !important;
    min-height: calc(100lvh - var(--header-height)) !important;
    padding: 0 !important;
    align-items: start !important;
  }

  .hero h1.hero-main-title {
    max-width: 14em !important;
    font-size: clamp(1.2rem, 0.42rem + 2.8vw, 1.85rem) !important;
    line-height: 1.12 !important;
    padding: clamp(0.5rem, 0.28rem + 0.8vw, 0.75rem) clamp(0.68rem, 0.36rem + 0.95vw, 0.95rem) !important;
    border-radius: var(--radius) !important;
  }

  .hero-content {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    align-self: start !important;
    justify-self: start !important;
    text-align: left !important;
    max-width: min(58%, 400px) !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 5 !important;
    grid-row: 1;
  }

  .hero-buttons-container {
    position: absolute !important;
    bottom: 92px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 88% !important;
    max-width: 540px !important;
    padding: 0.95rem 1.15rem !important;
  }

  .hero-buttons-container .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .hero-buttons-container .btn {
    padding: 17px 30px !important;
    font-size: 16px !important;
  }

  .hero-social-links {
    bottom: 30px !important;
    gap: 28px !important;
  }
}

/* === Hero: Desktop (≥769px) === */
@media (min-width: 769px) {
  /* Volles Bildformat 4159×1918: contain im Viewport, keine Höhe über 100svh (Buttons + KPIs nicht verwirren) */
  .hero::before {
    background-image: url('../images/hero-bg-wide.jpg');
    background-position: center center;
    inset: -24px;
  }

  .hero {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: calc(100lvh - var(--header-height));
    min-height: calc(100lvh - var(--header-height));
    max-height: none;
    overflow: hidden;
    background-color: #0f1419;
    background-image: none;
    padding: 0;
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    position: absolute;
    z-index: 5;
    top: clamp(10px, 1.2vh, 16px);
    left: clamp(20px, 3vw, 48px);
    right: auto;
    margin-left: 0;
    padding-top: 0;
    text-align: left;
    max-width: min(62%, clamp(440px, 40vw, 900px));
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero h1.hero-main-title {
    max-width: 18em;
    font-size: clamp(1.75rem, 0.95rem + 2.5vw, 4.1rem);
    line-height: 1.08;
    padding: clamp(0.75rem, 0.4rem + 0.7vw, 1.45rem) clamp(0.95rem, 0.55rem + 0.9vw, 1.65rem);
    border-radius: var(--radius);
    background: rgba(0, 102, 204, 0.24);
  }

  .hero-buttons-container {
    padding: 1rem 1.2rem;
    position: absolute !important;
    bottom: clamp(56px, 8vh, 92px) !important;
    top: auto !important;
    right: clamp(16px, 2.5vw, 48px) !important;
    left: auto !important;
    transform: none !important;
    z-index: 10;
    width: auto !important;
    max-width: min(460px, calc(100% - 32px)) !important;
  }

  .hero-buttons-container .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .hero-buttons-container .btn {
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    padding: 18px 38px !important;
    font-size: clamp(15px, 0.5rem + 0.7vw, 19px) !important;
    text-align: center;
    box-sizing: border-box;
  }

  .hero-social-links {
    bottom: clamp(12px, 1.8vh, 22px) !important;
    gap: 32px !important;
    z-index: 12 !important;
  }
}

/* === Hero: Small Desktop (769–1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
    top: clamp(12px, 1.5vh, 20px);
    left: clamp(24px, 3.2vw, 52px);
    max-width: min(58%, 580px);
  }

  .hero h1.hero-main-title {
    font-size: clamp(1.55rem, 0.85rem + 2.2vw, 3.4rem);
    padding: clamp(0.65rem, 0.35rem + 0.65vw, 1.25rem) clamp(0.85rem, 0.5rem + 0.8vw, 1.45rem);
  }

  .hero-buttons-container {
    bottom: clamp(60px, 8.5vh, 96px) !important;
    right: clamp(20px, 3vw, 48px) !important;
    max-width: min(440px, calc(100% - 32px)) !important;
    padding: 0.95rem 1.1rem !important;
  }

  .hero-buttons-container .btn {
    min-width: 260px;
    padding: 17px 34px !important;
    font-size: 16px !important;
  }
}

/* === Hero: Large Desktop (≥1025px) === */
@media (min-width: 1025px) {
  .hero-content {
    top: clamp(14px, 1.8vh, 26px);
    left: clamp(36px, 4.2vw, 84px);
    max-width: min(62%, clamp(480px, 42vw, 920px));
  }

  .hero h1.hero-main-title {
    font-size: clamp(1.85rem, 1rem + 2.6vw, 4.1rem);
    padding: clamp(0.8rem, 0.42rem + 0.75vw, 1.5rem) clamp(1rem, 0.58rem + 0.95vw, 1.7rem);
  }

  .hero-buttons-container {
    bottom: clamp(68px, 9.5vh, 108px) !important;
    right: clamp(20px, 3vw, 56px) !important;
    max-width: min(480px, calc(100% - 40px)) !important;
    padding: 1.1rem 1.3rem !important;
  }

  .hero-buttons-container .cta-buttons {
    gap: 17px !important;
  }

  .hero-buttons-container .btn {
    padding: 19px 42px !important;
    font-size: clamp(16px, 0.5rem + 0.6vw, 19px) !important;
  }

  .hero-social-links {
    bottom: clamp(14px, 2vh, 26px) !important;
    gap: 40px !important;
  }
}

/* === Hero: Extra Large Desktop (≥1440px) === */
@media (min-width: 1440px) {
  .hero-content {
    top: clamp(16px, 2vh, 30px);
    left: clamp(48px, 5vw, 108px);
    max-width: min(64%, clamp(520px, 44vw, 960px));
  }

  .hero h1.hero-main-title {
    font-size: clamp(2rem, 1.1rem + 2.4vw, 4.1rem);
    padding: clamp(0.85rem, 0.45rem + 0.8vw, 1.55rem) clamp(1.05rem, 0.62rem + 1vw, 1.75rem);
  }

  .hero-buttons-container {
    bottom: clamp(76px, 10vh, 116px) !important;
    right: clamp(24px, 3.5vw, 64px) !important;
    max-width: min(500px, calc(100% - 48px)) !important;
    padding: 1.15rem 1.35rem !important;
  }

  .hero-buttons-container .btn {
    padding: 20px 44px !important;
    font-size: clamp(17px, 0.55rem + 0.5vw, 20px) !important;
  }

  .hero-social-links {
    bottom: clamp(16px, 2.2vh, 28px) !important;
  }
}

main,
.hero-stats-section,
.philosophy-section,
.program-product-section,
.email-signup-section,
footer {
  position: relative;
  z-index: 1;
}

/* ---- Checkout-Karte (Startseite) ---- */
.shop-hero__buy {
  background: #fff;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-hero__buy-label {
  font-size: 0.85rem;
  color: var(--secondary-color);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.shop-hero__price {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  color: var(--accent-color);
  line-height: 1;
  letter-spacing: -0.04em;
}

.shop-hero__buy-format {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 1rem;
}

.shop-hero__checkout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
}

.shop-hero__checkout .program-product-cta-block:not(.is-docked),
.shop-hero__checkout .program-checkout-shell,
.shop-hero__checkout .shop-buy-button-frame {
  position: relative;
  z-index: 1;
}

/* Rahmen um das Shopify-Widget — gleiche Sprache wie Karten / Inputs */
.shop-buy-button-frame {
  width: 100%;
  padding: 12px 12px 10px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.shop-hero__trust {
  position: relative;
  z-index: 3;
  font-size: 0.78rem;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

/* Shopify Buy Button — eingebettete Produkt-Widgets */
.shop-buy-button-root {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Shopify rendert ein iframe — volle Breite der Kaufkarte */
.shop-buy-button-root iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px;
  border: none !important;
  border-radius: var(--radius);
  vertical-align: top;
}

.email-signup-embed input {
  min-width: 0;
}

/* ---- Globaler Schutz vor horizontalem Overflow auf Mobil ---- */
html, body {
  overflow-x: hidden;
}

/* ---- Mobile-Nav: Top-Position folgt Header-Höhe ---- */
@media (max-width: 600px) {
  nav.nav-mobile {
    top: 55px !important;
  }
}

@media (min-width: 601px) and (max-width: 768px) {
  nav.nav-mobile {
    top: 60px !important;
  }
}

/* ---- Newsletter-Section: nicht ueber Container hinausragen ---- */
.email-signup-section {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.email-signup-section__inner {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

/* ---- CCM19 Floating-Widget verstecken (ersetzt durch Footer-Link) ---- */
/* Alles was wie ein dauerhaftes CCM19/Cookie-Floating-Icon aussieht ausblenden,
   aber das Erstaufruf-Modal/Banner explizit NICHT verstecken */
.ccm-widget,
.ccm19-widget,
.c19-widget,
.ccm-floating,
.ccm19-floating,
.c19-floating,
[id="ccm-widget"],
[id*="ccm-widget"],
[id*="ccm19-widget"],
[class*="ccm-widget"]:not([class*="modal"]):not([class*="banner"]):not([class*="content"]),
[class*="ccm19-widget"]:not([class*="modal"]):not([class*="banner"]):not([class*="content"]),
[class*="c19-widget"]:not([class*="modal"]):not([class*="banner"]):not([class*="content"]),
[class*="ccm"][class*="floating"],
[class*="ccm19"][class*="floating"],
[class*="c19"][class*="floating"],
[class*="ccm"][class*="trigger"]:not([class*="banner"]):not([class*="modal"]),
[class*="ccm"][class*="reopen"],
[class*="ccm19"][class*="reopen"],
[class*="cookie-widget"],
[class*="cookie-floating"],
[id*="cookie-widget"],
[id*="cookie-floating"] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ---- Cookie-Einstellungen-Link im Footer (auto-injected via JS) ---- */
.cookie-settings-line {
  margin-top: 10px !important;
  font-size: 12.5px;
  color: #999;
  letter-spacing: 0.2px;
}

.cookie-settings-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  outline: none;
}

/* Wenn der Link inline neben Impressum/Datenschutz/AGB sitzt: gleicher Stil */
.footer-bottom p:last-of-type .cookie-settings-link {
  color: inherit;
  border: none;
  padding: 0;
}

.footer-bottom p:last-of-type .cookie-settings-link:hover {
  color: #fff;
}

/* ============================================================
   STARTSEITE — Full-Bleed Hero (kein weißer Rand rechts/unten)
   ============================================================ */
body.page-home header {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

body.page-home .hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  border: none;
  box-sizing: border-box;
}

body.page-home .hero::after {
  display: none;
}

body.page-home .hero::before {
  inset: -24px;
}

body.page-home .credentials-section {
  margin-top: 0;
}

@media (max-width: 768px) {
  body.page-home .hero {
    height: calc(100lvh - var(--header-height)) !important;
    min-height: calc(100lvh - var(--header-height)) !important;
    max-height: none !important;
    padding-bottom: 0 !important;
  }

  body.page-home .hero::before {
    inset: -48px;
    background-size: cover;
  }
}

@media (min-width: 769px) {
  body.page-home .hero {
    height: calc(100lvh - var(--header-height));
    min-height: calc(100lvh - var(--header-height));
    padding: 0;
  }

  body.page-home .hero::before {
    inset: -28px;
  }
}

/* === Hero: Sehr kleine Phones (iPhone SE, ≤390px) — Gesicht frei halten === */
@media (max-width: 390px) {
  .hero::before {
    background-position: 62% 54% !important;
  }

  .hero {
    padding-top: 0 !important;
  }

  .hero-content {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: min(88vw, 272px) !important;
    z-index: 5 !important;
    grid-row: auto !important;
  }

  .hero h1.hero-main-title {
    font-size: clamp(0.98rem, 0.3rem + 3.5vw, 1.28rem) !important;
    max-width: 11.5em !important;
    line-height: 1.1 !important;
    padding: clamp(0.38rem, 0.18rem + 0.85vw, 0.52rem) clamp(0.48rem, 0.24rem + 0.95vw, 0.65rem) !important;
  }

  .hero-buttons-container {
    bottom: 94px !important;
    width: 84% !important;
    max-width: 310px !important;
    padding: 0.6rem 0.75rem !important;
  }

  .hero-buttons-container .cta-buttons {
    gap: 9px !important;
  }

  .hero-buttons-container .btn {
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
}

/* iPhone SE 1. Gen. & sehr kurze Viewports (320×568) */
@media (max-width: 360px), (max-width: 600px) and (max-height: 580px) {
  .hero::before {
    background-position: 60% 58% !important;
  }

  .hero-content {
    top: 10px !important;
    left: 10px !important;
    max-width: min(90vw, 255px) !important;
  }

  .hero h1.hero-main-title {
    font-size: clamp(0.92rem, 0.28rem + 3.2vw, 1.18rem) !important;
    max-width: 11em !important;
  }

  .hero-buttons-container {
    bottom: 84px !important;
    width: 82% !important;
    max-width: 290px !important;
  }
}

@media (max-width: 768px) {
  #bench-program .program-product-cta-block {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  main.legal-page h1,
  main.legal-page h2 {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* Checkout-CTA: Button-Look immer (auch body-Dock auf Handy, ohne #bench-program) */
.program-checkout-shell > .btn.btn-primary,
.program-checkout-shell > .program-checkout-shell__link,
#program-cta-dock .program-checkout-shell > .btn.btn-primary,
#program-cta-dock .program-checkout-shell > .program-checkout-shell__link,
body > #program-cta-dock .program-checkout-shell > .btn.btn-primary,
body > #program-cta-dock .program-checkout-shell > .program-checkout-shell__link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px;
  padding: 16px 22px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%) !important;
  border: none;
  border-radius: var(--radius) !important;
  box-shadow: 0 18px 38px rgba(0, 102, 204, 0.4);
  box-sizing: border-box;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 102, 204, 0.25);
}

.program-checkout-shell > .btn.btn-primary:link,
.program-checkout-shell > .btn.btn-primary:visited,
.program-checkout-shell > .program-checkout-shell__link:link,
.program-checkout-shell > .program-checkout-shell__link:visited,
#program-cta-dock .program-checkout-shell > .program-checkout-shell__link:link,
#program-cta-dock .program-checkout-shell > .program-checkout-shell__link:visited,
body > #program-cta-dock .program-checkout-shell > .program-checkout-shell__link:link,
body > #program-cta-dock .program-checkout-shell > .program-checkout-shell__link:visited {
  color: #fff !important;
  text-decoration: none !important;
}

@media (min-width: 601px) {
  .program-checkout-shell > .btn.btn-primary,
  .program-checkout-shell > .program-checkout-shell__link,
  body > #program-cta-dock .program-checkout-shell > .program-checkout-shell__link {
    min-height: 60px;
    font-size: 1.18rem !important;
    padding: 20px 44px !important;
  }
}

@media (max-width: 768px) {
  body > #program-cta-dock.is-docked .program-checkout-shell {
    width: 100%;
  }

  body > #program-cta-dock.is-docked .program-checkout-shell > .program-checkout-shell__link {
    animation: none !important;
  }
}

