/*
 * Styles for landing-neu.html only — loaded AFTER globals.css.
 * Reuses the Stella tokens/components; everything new is prefixed .ld- .
 */

/* ===== Header: transparent over hero → solid on scroll ===== */

.ld-header {
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base);
}

.site-header.ld-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.ld-header-brand {
  display: inline-flex;
  align-items: center;
}

.ld-header-logo {
  display: block;
  height: 38px;
  width: auto;
  filter: none;
  transition: filter var(--transition-base);
}

.ld-header.is-scrolled .ld-header-logo {
  filter: brightness(0);
}

/* Icon buttons while the header floats over the image */
.site-header.ld-header:not(.is-scrolled) .ld-icon-btn--wa {
  background: rgb(255, 255, 255);
  color: var(--color-text);
}

.site-header.ld-header:not(.is-scrolled) .site-header__menu.ld-icon-btn {
  background: rgba(255, 255, 255, 0.16);
  color: rgb(255, 255, 255);
  backdrop-filter: blur(8px);
}

/* Keep the burger readable when the menu overlay is open at the top of the page */
body.is-menu-open .site-header.ld-header:not(.is-scrolled) {
  background: transparent;
}

/* ===== Hero: full-bleed under the transparent header ===== */

.hero {
  padding-top: 0;
}

.hero .mobile-frame {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hero__media-frame {
  border-radius: 0;
  min-height: 100svh;
}

/* ===== Header: icon buttons (WhatsApp + Burger, Negele-style) ===== */

.ld-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.ld-icon-btn--wa {
  background: var(--color-text);
  color: rgb(255, 255, 255);
}

.site-header__menu.ld-icon-btn {
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  background: rgba(228, 226, 220, 0.9);
  color: var(--color-text);
}

.ld-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.ld-burger i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--transition-base);
}

.site-header__menu.is-open .ld-burger i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header__menu.is-open .ld-burger i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ===== Hero: readability scrim (stronger than globals — content block is taller) ===== */

.hero .hero__media-scrim {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, transparent 18%);
}

/* ===== Hero: CTA stack + payments + phone + trust stats ===== */

.ld-hero-panel {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.ld-hero-panel .hero__description {
  max-width: 470px;
}

.ld-hero-ctas {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.ld-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

.ld-btn--primary {
  background: rgb(255, 255, 255);
  color: var(--color-text);
}

.ld-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: rgb(255, 255, 255);
  backdrop-filter: blur(6px);
}

.ld-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

.ld-btn__arrow {
  font-size: 1rem;
  line-height: 1;
}

.ld-pay {
  display: grid;
  gap: 4px;
}

.ld-pay__marks {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.ld-pay__mark {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ld-pay__mark--paypal {
  font-style: italic;
}

.ld-pay__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 500;
}

.ld-pay__badge svg {
  flex-shrink: 0;
}

/* ===== Menu overlay: Auvelle structure + Bonante course list ===== */

.menu-overlay {
  overflow-y: auto;
  touch-action: pan-y;
  /* fully opaque on the landing page — no page content or sticky bar bleeding through */
  background: rgb(7, 7, 7);
}

body.is-menu-open {
  touch-action: auto;
}

.menu-overlay__panel {
  min-height: 100svh;
  height: auto;
  justify-content: flex-start;
  gap: 26px;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 22px;
}

.menu-overlay__link {
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
  line-height: 0.95;
}

.menu-overlay__links {
  gap: 8px;
}

.ld-menu-footer {
  display: grid;
  gap: 24px;
  align-items: start;
  justify-content: stretch;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-direction: column;
}

.ld-menu-group {
  display: grid;
  gap: 12px;
}

.ld-menu-label {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ld-menu-contacts {
  display: grid;
  gap: 10px;
}

.ld-menu-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: rgb(255, 255, 255);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ld-menu-contact__icon {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.75);
}

.ld-menu-courses {
  display: grid;
  gap: 4px;
}

.ld-menu-course {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ld-menu-course:last-child {
  border-bottom: none;
}

.ld-menu-course__thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.ld-menu-course__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-menu-course__meta {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.ld-menu-course__title {
  color: rgb(255, 255, 255);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ld-menu-course__price {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.ld-menu-course__old {
  text-decoration: line-through;
  text-decoration-color: rgb(229, 72, 77);
  text-decoration-thickness: 2px;
}

.ld-menu-course__free {
  color: rgb(94, 210, 130);
  font-style: normal;
  font-weight: 600;
}

.ld-menu-course__arrow {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.ld-menu-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 16px 22px;
  border-radius: 22px;
  background: rgb(255, 255, 255);
  color: var(--color-text);
}

.ld-menu-cta__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ld-menu-cta__eyebrow {
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ld-menu-cta__label {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.ld-menu-cta__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--color-text);
  color: rgb(255, 255, 255);
  font-size: 1.15rem;
}

@media (min-width: 820px) {
  .ld-menu-footer {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(28px, 5vw, 64px);
  }

  .ld-menu-footer .ld-menu-cta {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

.ld-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.ld-stat b {
  display: block;
  color: rgb(255, 255, 255);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ld-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

/* ===== Dein Weg: Kurskarten + Schritte ===== */

.ld-weg-lede p {
  max-width: 34rem;
}

/* Two bands: overview on white, detail on surface — visual break between map and detail */
.ld-weg-intro {
  background: rgb(255, 255, 255);
  padding-bottom: clamp(44px, 6vw, 84px);
}

.ld-weg-detail {
  padding-top: clamp(44px, 6vw, 84px);
}

/* Compact 1-2-3 overview (Negele-style) before the big steps */
.ld-overview {
  display: grid;
  gap: 22px;
}

/* Variante A: freigestellte Illustrationen, größer, ohne Panel */
.ld-overview__item {
  display: grid;
  grid-template-columns: clamp(110px, 28vw, 140px) minmax(0, 1fr);
  grid-template-areas:
    'illus num'
    'illus title'
    'illus text';
  grid-template-rows: auto auto 1fr;
  align-content: start;
  column-gap: 18px;
  row-gap: 10px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-border);
}

.ld-overview__illus {
  grid-area: illus;
  align-self: center;
  width: clamp(110px, 28vw, 140px);
}

.ld-overview__illus img {
  display: block;
  width: 100%;
  height: auto;
}

.ld-overview__num {
  grid-area: num;
}

.ld-overview__title {
  grid-area: title;
}

.ld-overview__text {
  grid-area: text;
}

.ld-overview__num {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--color-text);
  color: rgb(255, 255, 255);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ld-overview__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ld-overview__text {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 820px) {
  .ld-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(24px, 3.5vw, 46px);
  }

}

/* Bonus step: chip instead of the big numeral */
.ld-bonus-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--color-text);
  color: rgb(255, 255, 255);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ld-step--course {
  border-top: 1px solid var(--color-border);
}

.ld-course-grid {
  display: grid;
  gap: 18px;
}

.ld-course-card {
  position: relative;
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 18px;
  background: rgb(255, 255, 255);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.ld-course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(10, 10, 10, 0.12);
  opacity: 1;
}

.ld-course-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-panel);
}

.ld-course-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ld-course-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--color-text);
  color: rgb(255, 255, 255);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ld-course-card__body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px 20px;
}

.ld-course-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ld-course-card__desc {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ld-course-card__pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.ld-course-card__pricing b {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ld-course-card__pricing span {
  color: var(--color-soft);
  font-size: 0.78rem;
}

.ld-course-card__cta {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ld-note {
  color: var(--color-soft);
  font-size: 0.76rem;
}

.ld-ctarow {
  display: grid;
}

.ld-ctarow__inner {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.ld-ctarow__note {
  color: var(--color-muted);
  font-size: 0.8rem;
}

/* Primary button on light sections: dark instead of white */
.ld-hero-ctas--onlight .ld-btn--primary {
  background: var(--color-text);
  color: rgb(255, 255, 255);
}

@media (min-width: 820px) {
  .ld-course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== Section tones ===== */

.section--dark {
  background: rgb(10, 10, 10);
  color: rgb(255, 255, 255);
}

.section--dark .section-title {
  color: rgb(255, 255, 255);
}

.section--dark .section-tag {
  color: rgba(255, 255, 255, 0.82);
}

.section--dark .section-copy p {
  color: rgba(255, 255, 255, 0.68);
}

/* ===== Passt das zu dir? — ehrlicher Zwei-Spalten-Check ===== */

.ld-lede p {
  max-width: 34rem;
}

.ld-check-grid {
  display: grid;
  gap: 16px;
}

.ld-check-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 20px;
  background: rgb(255, 255, 255);
}

.ld-check-card--no {
  background: var(--color-panel);
  border-color: transparent;
}

.ld-check-label {
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ld-check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ld-check-item {
  display: flex;
  gap: 12px;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ld-check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--color-text);
  color: rgb(255, 255, 255);
  font-size: 0.66rem;
}

.ld-check-mark--no {
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.4);
  color: var(--color-text);
}

@media (min-width: 820px) {
  .ld-check-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

/* ===== Warum Stella — dunkle Manifest-Sektion ===== */

.ld-warum .studio__manifesto-lead,
.ld-warum .studio__manifesto-line {
  color: rgb(255, 255, 255);
}

.ld-warum-grid {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
}

.ld-warum-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.ld-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ld-fact b {
  display: block;
  color: rgb(255, 255, 255);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ld-fact span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

@media (min-width: 820px) {
  .ld-warum-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    column-gap: clamp(28px, 5vw, 64px);
  }
}

/* ===== Ergebnisse — redaktionelles Raster ===== */

.ld-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ld-result {
  display: grid;
  gap: 10px;
  align-content: start;
}

.ld-result__media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-panel);
}

.ld-result__asset {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ld-result__caption {
  color: var(--color-soft);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

@media (min-width: 820px) {
  .ld-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ===== FAQ — Accordion auf Schwarz (Kontrast am Seitenende) ===== */

.ld-faq .service-item__title {
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  letter-spacing: -0.045em;
}

.ld-faq .services-accordion {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.ld-faq .service-item {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.ld-faq .service-item__summary {
  color: rgb(255, 255, 255);
}

.ld-faq .service-item__number {
  color: rgba(255, 255, 255, 0.5);
}

.ld-faq .service-item__description {
  color: rgba(255, 255, 255, 0.7);
}

/* Contact block: tag removed on landing — keep the content anchored at the bottom */
.contact-cta__overlay {
  align-content: end;
}

/* ===== Sticky bottom CTA ===== */

.ld-sticky {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.ld-sticky.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.ld-sticky__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, 100%);
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 999px;
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(10, 10, 10, 0.16);
}

.ld-sticky__ava {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-panel);
}

.ld-sticky__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-sticky__text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ld-sticky__title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-sticky__sub {
  color: var(--color-muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-sticky__btn {
  min-height: 44px;
  padding: 0 18px;
  flex-shrink: 0;
}

/* ===== Kontakt-Band: randlos über die volle Breite, Luft oben und unten =====
   Vorher steckte es in .mobile-frame (max 1420px + Gutter) und wirkte als
   schmale Karte zwischen zwei schwarzen Flächen eingeklemmt. */

/* Randlos UND ohne Abstand: das Band schließt direkt an FAQ und Footer an
   (Userentscheid 2026-08-03, nachdem der Abstand testweise drin war) */
.contact-cta {
  padding-block: 0;
}

.contact-cta .mobile-frame {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.contact-cta__media {
  border-radius: 0;
  /* etwas höher als globals, sonst schneidet der 340px-Streifen die Illustration an */
  min-height: clamp(430px, 55vw, 660px);
}

/* Das neue Bild ist hell — kräftigerer Verlauf, sonst steht Weiß auf Rosé */
.contact-cta__media::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 58%);
}

/* Text folgt trotz Vollbreite dem Seitenraster (wie im Hero) */
.contact-cta__overlay {
  inset: 0;
  box-sizing: border-box;
  align-content: end;
  padding: clamp(26px, 4vw, 54px) max(var(--page-gutter), (100% - var(--content-max)) / 2);
}

.contact-cta .ld-hero-ctas {
  max-width: 420px;
}

@media (min-width: 1024px) {
  .contact-cta .ld-hero-ctas {
    max-width: none;
    justify-items: start;
  }

  .contact-cta .ld-btn {
    width: auto;
    padding-inline: clamp(28px, 2.4vw, 40px);
  }
}

/* ===== Hero on desktop =====
   Mobile stacks everything in one narrow column; from 1024px up the hero uses the
   page container, puts the CTAs side by side and (from 1200px) moves the trust
   stats into their own right-hand column so the block stops hugging the edges. */

@media (min-width: 1024px) {
  .hero__content {
    inset: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    row-gap: 16px;
    column-gap: clamp(40px, 5vw, 88px);
    /* same left/right edge as every other section */
    padding: calc(var(--header-height) + 24px)
      max(var(--page-gutter), (100% - var(--content-max)) / 2)
      clamp(34px, 3.6vw, 54px);
  }

  .hero .hero__title-wrap {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: none;
    margin-bottom: clamp(4px, 1vw, 14px);
  }

  .hero .ld-hero-panel {
    grid-column: 1;
    grid-row: 2;
    gap: 16px;
    max-width: none;
  }

  .hero .hero__description {
    max-width: 46ch;
    font-size: clamp(1.04rem, 1.05vw, 1.14rem);
  }

  /* buttons next to each other, sized to their label instead of full-width */
  .hero .ld-hero-ctas {
    grid-auto-flow: column;
    justify-content: start;
    width: auto;
    max-width: none;
    gap: 12px;
    margin-top: 2px;
  }

  .hero .ld-hero-ctas .ld-btn {
    width: auto;
    padding-inline: clamp(26px, 2.2vw, 36px);
  }

  /* payment marks and the trust badge share one line */
  .hero .ld-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
  }

  .hero .ld-hero-stats {
    grid-column: 1;
    grid-row: 3;
    max-width: 620px;
    margin-top: 6px;
  }
}

@media (min-width: 1200px) {
  .hero__content {
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  }

  .hero .ld-hero-stats {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    max-width: none;
    margin-top: 0;
    gap: 0;
    padding-top: 0;
    border-top: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    text-align: right;
  }

  .hero .ld-stat + .ld-stat {
    margin-left: clamp(26px, 2.6vw, 46px);
    padding-left: clamp(26px, 2.6vw, 46px);
    border-left: 1px solid rgba(255, 255, 255, 0.24);
  }
}

/* Short laptop screens: keep the whole hero block inside the viewport */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero .hero__title {
    font-size: clamp(3.2rem, 6.6vw, 5.8rem);
  }

  .hero .hero__description {
    font-size: 1rem;
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: clamp(24px, 2.6vw, 38px);
  }
}

/* ===== Small screens ===== */

@media (max-width: 1023px) {
  .ld-hero-panel {
    gap: 16px;
  }

  /* stats sit outside the panel now — match the panel's own 16px rhythm */
  .hero__content > .ld-hero-stats {
    margin-top: -8px;
  }

  .ld-hero-ctas {
    max-width: none;
  }

  .ld-hero-stats {
    gap: 18px;
    padding-top: 14px;
  }

  .ld-stat span {
    font-size: 0.7rem;
  }

  .ld-icon-btn,
  .site-header__menu.ld-icon-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .ld-header-logo {
    height: 28px;
  }

  /* globals sets a white header bg at ≤1023px — keep the floating state transparent there too */
  .site-header.ld-header:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
  }
}

/* ===== Feedback-Masonry (Bewertungen: Screenshots aus Stellas DMs) =====
   Auf der Landing (Sektion unter dem Bonus) UND der Kursseite. Bewusst
   NICHT klickbar (Userentscheid 2026-08-04): reine Beweiswand ohne
   Zoom-Icons; das Video läuft stumm in seiner Kachel. */

.rw-masonry {
  columns: 2;
  column-gap: 14px;
}

.rw-masonry .rw-tile {
  margin: 0 0 14px;
  break-inside: avoid;
}

.rw-tile {
  background: rgb(11, 11, 12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.12);
}

.rw-tile img,
.rw-tile video {
  width: 100%;
}

@media (min-width: 768px) {
  .rw-masonry {
    columns: 3;
    column-gap: 20px;
  }

  .rw-masonry .rw-tile {
    margin-bottom: 20px;
  }
}

/* ===== Menü-Fußzeile: dezenter Login + Rechtsseiten unter der CTA-Karte ===== */

.ld-menu-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-bottom: 4px;
}

.ld-menu-meta a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  text-decoration: none;
}

.ld-menu-meta a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Login minimal absetzen, ohne zum zweiten CTA zu werden */
.ld-menu-meta__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.ld-menu-meta__legal {
  display: flex;
  gap: 14px;
}
