/*
 * Durchgängige Startseitenvariante auf Basis des aktuellen Heros.
 * Das gelieferte dünne M bleibt als Bilddatei unverändert; nur Größe,
 * Position und Darstellungsintensität werden je nach Abschnitt gesteuert.
 */

.studio-direction--m-duenn {
  --page-rgb: 251, 248, 240;
  --gold-line: rgba(227, 151, 23, 0.38);
  --gold-line-strong: rgba(227, 151, 23, 0.72);
  --surface-glass: rgba(255, 253, 248, 0.9);
}

.studio-direction--m-duenn main {
  overflow: clip;
}

.studio-direction--m-duenn .section {
  position: relative;
}

.studio-direction--m-duenn .section > .container {
  position: relative;
  z-index: 2;
}

.studio-direction--m-duenn .section-heading h2,
.studio-direction--m-duenn .media-block__content h2,
.studio-direction--m-duenn .creative-copy h2 {
  text-wrap: balance;
}

.studio-direction--m-duenn .section-heading > p:last-child,
.studio-direction--m-duenn .media-block__content > p,
.studio-direction--m-duenn .creative-copy > p {
  text-wrap: pretty;
}

.studio-direction--m-duenn .section-heading .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-direction--m-duenn .section-heading .kicker::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(227, 151, 23, 0));
}

/* Hero: unveränderte PNG, ruhige Textzone und etwas Luft unter dem Bild. */
.studio-direction--m-duenn .logo-m-motif--hero {
  top: -42px;
  left: 29vw;
  width: min(64vw, 940px);
  background: url("../images/logo-m-neu.png?v=2") right center / auto 100% no-repeat;
  -webkit-mask: none;
  mask: none;
  opacity: 1;
}

.studio-direction--m-duenn .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24px -76px -28px -18px;
  border-radius: 36px;
  background: linear-gradient(
    90deg,
    rgba(var(--page-rgb), 1) 0%,
    rgba(var(--page-rgb), 1) 76%,
    rgba(var(--page-rgb), 0.96) 86%,
    rgba(var(--page-rgb), 0) 100%
  );
  pointer-events: none;
}

/* Einstieg: gleiche Leichtigkeit wie im Hero, mit sehr zurückhaltendem M. */
.studio-direction--m-duenn #unser-yoga {
  overflow: hidden;
  background: linear-gradient(135deg, #f1e8dd 0%, #f7f0e7 58%, #fbf8f0 100%);
}

.studio-direction--m-duenn #unser-yoga::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  top: -220px;
  right: -190px;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  background: url("../images/logo-m-neu.png?v=2") right center / auto 100% no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.studio-direction--m-duenn #unser-yoga .step-list::before {
  background: linear-gradient(
    90deg,
    rgba(227, 151, 23, 0.12),
    rgba(227, 151, 23, 0.82),
    rgba(227, 151, 23, 0.12)
  );
}

.studio-direction--m-duenn #unser-yoga .step,
.studio-direction--m-duenn #unser-yoga .step:nth-child(2),
.studio-direction--m-duenn #unser-yoga .step:nth-child(3) {
  overflow: hidden;
  background: var(--surface-glass);
  border-color: var(--gold-line);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(65, 46, 35, 0.055);
}

.studio-direction--m-duenn #unser-yoga .step:nth-child(2) {
  background: rgba(253, 247, 231, 0.94);
}

.studio-direction--m-duenn #unser-yoga .step:nth-child(3) {
  background: rgba(252, 246, 249, 0.94);
}

.studio-direction--m-duenn #unser-yoga .step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--brand));
}

/* Ankommen: weniger bunte Flächen, dafür eine gemeinsame feine Signatur. */
.studio-direction--m-duenn .newcomer-section {
  background: var(--page);
}

.studio-direction--m-duenn .newcomer-section .card,
.studio-direction--m-duenn .newcomer-section .card:nth-child(1),
.studio-direction--m-duenn .newcomer-section .card:nth-child(2),
.studio-direction--m-duenn .newcomer-section .card:nth-child(3) {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--gold-line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(65, 46, 35, 0.045);
}

.studio-direction--m-duenn .newcomer-section .card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--brand), rgba(182, 30, 130, 0));
}

/* Angebote: der bislang dunkle Block wird zur hellen, luftigen Markenfläche. */
.studio-direction--m-duenn .offers-section {
  overflow: hidden;
  background: linear-gradient(145deg, #efe4d8 0%, #f6eee5 54%, #fbf8f0 100%);
}

.studio-direction--m-duenn .offers-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -330px;
  left: -250px;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  background: url("../images/logo-m-neu.png?v=2") right center / auto 100% no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.studio-direction--m-duenn .offers-section h2,
.studio-direction--m-duenn .offers-section .section-heading > p {
  color: var(--text);
}

.studio-direction--m-duenn .offers-section .kicker,
.studio-direction--m-duenn .offers-section .card__meta {
  color: var(--brand);
}

.studio-direction--m-duenn .offers-section .card,
.studio-direction--m-duenn .offers-section .card:nth-child(1),
.studio-direction--m-duenn .offers-section .card:nth-child(2),
.studio-direction--m-duenn .offers-section .card:nth-child(3),
.studio-direction--m-duenn .offers-section .card:nth-child(4),
.studio-direction--m-duenn .offers-section .card:nth-child(5),
.studio-direction--m-duenn .offers-section .card:nth-child(6) {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.92);
  border-color: var(--gold-line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(65, 46, 35, 0.045);
}

.studio-direction--m-duenn .offers-section .card:nth-child(1) {
  background: rgba(253, 247, 231, 0.96);
}

.studio-direction--m-duenn .offers-section .card:nth-child(2) {
  background: rgba(252, 243, 248, 0.96);
}

.studio-direction--m-duenn .offers-section .card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 0;
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, rgba(227, 151, 23, 0), var(--gold));
}

.studio-direction--m-duenn .offers-section .status--neutral {
  color: var(--brand-active);
  background: rgba(182, 30, 130, 0.08);
  border-color: rgba(182, 30, 130, 0.22);
}

/* Kreativer Bereich: dieselbe M-Vorlage statt der früheren Konturgrafik. */
.studio-direction--m-duenn .creative-section {
  overflow: hidden;
  background: linear-gradient(140deg, #fbf6eb 0%, #f4e8d8 100%);
}

.studio-direction--m-duenn .logo-m-motif--creative {
  right: -210px;
  bottom: -250px;
  width: min(72vw, 920px);
  aspect-ratio: 1;
  background: url("../images/logo-m-neu.png?v=2") right center / auto 100% no-repeat;
  -webkit-mask: none;
  mask: none;
  opacity: 0.2;
}

.studio-direction--m-duenn .creative-copy {
  background: rgba(255, 253, 248, 0.93);
  border-color: var(--gold-line);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(65, 46, 35, 0.075);
}

.studio-direction--m-duenn .creative-photo--main::before,
.studio-direction--m-duenn .media-block__image::before {
  border-color: var(--gold-line-strong);
}

/* Bild-Text-Abschnitte greifen die offene Komposition des Heros auf. */
.studio-direction--m-duenn .studio-section {
  background: var(--page);
}

.studio-direction--m-duenn .studio-section .media-block,
.studio-direction--m-duenn #weitere-angebote .media-block {
  gap: 72px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.studio-direction--m-duenn .studio-section .media-block__content,
.studio-direction--m-duenn #weitere-angebote .media-block__content {
  padding-block: 24px;
}

/* Team: warme Fläche, echte Porträts und dieselbe Gold-Magenta-Hierarchie. */
.studio-direction--m-duenn #team {
  overflow: hidden;
  background: linear-gradient(135deg, #f1e8e2 0%, #f7f0e9 62%, #fbf8f0 100%);
}

.studio-direction--m-duenn #team::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -310px;
  bottom: -340px;
  width: min(66vw, 820px);
  aspect-ratio: 1;
  background: url("../images/logo-m-neu.png?v=2") right center / auto 100% no-repeat;
  opacity: 0.09;
  pointer-events: none;
}

.studio-direction--m-duenn #team .teacher-card {
  position: relative;
  background: rgba(255, 253, 248, 0.9);
  border-color: var(--gold-line);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(65, 46, 35, 0.05);
}

.studio-direction--m-duenn #team .teacher-card__content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

.studio-direction--m-duenn #team .teacher-card--portrait img {
  border-color: var(--gold-line-strong);
  box-shadow: 0 12px 28px rgba(65, 46, 35, 0.08);
}

/* Orientierung und Vertrauen bleiben sachlich, erhalten aber die Markenlinie. */
.studio-direction--m-duenn .orientation-section {
  background: var(--page);
}

.studio-direction--m-duenn .orientation-section .card,
.studio-direction--m-duenn .locations-section .card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.8);
  border-color: var(--gold-line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(65, 46, 35, 0.04);
}

.studio-direction--m-duenn .orientation-section .card::before,
.studio-direction--m-duenn .locations-section .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--brand));
}

.studio-direction--m-duenn #weitere-angebote {
  background: linear-gradient(135deg, #f4eadf 0%, #fbf8f0 100%);
}

.studio-direction--m-duenn .faq-section {
  background: #fffdf8;
}

.studio-direction--m-duenn .faq-list {
  border-top-color: var(--gold-line);
}

.studio-direction--m-duenn .faq-list details {
  border-bottom-color: var(--gold-line);
}

.studio-direction--m-duenn .faq-list summary {
  font-size: 1.08rem;
}

/* Abschluss: die kräftige CTA-Fläche bleibt der zweite visuelle Höhepunkt. */
.studio-direction--m-duenn .conversion-section {
  background: linear-gradient(135deg, #f0e5da 0%, #f8f1e8 100%);
}

.studio-direction--m-duenn .conversion-section::after {
  right: -270px;
  bottom: -360px;
  width: min(72vw, 860px);
  aspect-ratio: 1;
  background: url("../images/logo-m-neu.png?v=2") right center / auto 100% no-repeat;
  -webkit-mask: none;
  mask: none;
  opacity: 0.18;
}

.studio-direction--m-duenn main > .conversion-section > .container.narrow {
  overflow: hidden;
  border-color: var(--gold-line-strong);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(98, 17, 69, 0.17);
}

.studio-direction--m-duenn .locations-section {
  background: #f8f2e9;
}

@media (min-width: 1200px) {
  .studio-direction--m-duenn .hero-note {
    bottom: -8px;
  }
}

@media (max-width: 1023px) {
  .studio-direction--m-duenn .studio-section .media-block,
  .studio-direction--m-duenn #weitere-angebote .media-block {
    gap: 44px;
  }

  .studio-direction--m-duenn #unser-yoga::after,
  .studio-direction--m-duenn .offers-section::before,
  .studio-direction--m-duenn #team::after {
    opacity: 0.08;
  }
}

@media (max-width: 767px) {
  .studio-direction--m-duenn .logo-m-motif--hero {
    top: 40%;
    right: -68%;
    left: auto;
    width: 174%;
    background: url("../images/logo-m-neu.png?v=2") right center / auto 100% no-repeat;
  }

  .studio-direction--m-duenn .hero-copy::before {
    inset: -16px -28px -22px -12px;
    background: linear-gradient(
      90deg,
      rgba(var(--page-rgb), 1) 0%,
      rgba(var(--page-rgb), 1) 84%,
      rgba(var(--page-rgb), 0) 100%
    );
  }

  .studio-direction--m-duenn .section-heading .kicker::after {
    width: 32px;
  }

  .studio-direction--m-duenn #unser-yoga::after {
    top: -120px;
    right: -270px;
    width: 560px;
  }

  .studio-direction--m-duenn #unser-yoga .step,
  .studio-direction--m-duenn #unser-yoga .step:nth-child(2),
  .studio-direction--m-duenn #unser-yoga .step:nth-child(3) {
    transform: none;
  }

  .studio-direction--m-duenn .offers-section::before {
    bottom: -180px;
    left: -250px;
    width: 560px;
  }

  .studio-direction--m-duenn .creative-copy {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .studio-direction--m-duenn .logo-m-motif--creative {
    right: -260px;
    bottom: -150px;
    width: 600px;
    opacity: 0.12;
  }

  .studio-direction--m-duenn .studio-section .media-block,
  .studio-direction--m-duenn #weitere-angebote .media-block {
    gap: 34px;
    padding: 0;
  }

  .studio-direction--m-duenn .studio-section .media-block__content,
  .studio-direction--m-duenn #weitere-angebote .media-block__content {
    padding-block: 0;
  }

  .studio-direction--m-duenn #team::after {
    right: -290px;
    bottom: -230px;
    width: 560px;
  }

  .studio-direction--m-duenn main > .conversion-section > .container.narrow {
    border-radius: 22px;
  }
}

@media print {
  .studio-direction--m-duenn #unser-yoga::after,
  .studio-direction--m-duenn .offers-section::before,
  .studio-direction--m-duenn #team::after,
  .studio-direction--m-duenn .conversion-section::after {
    display: none !important;
  }
}
