/* BV-2611c P-academy: Paketdatei (Ownership siehe REGELN-2611c.md). */

/* AC8 / GL8: Die einzeilige Rhythmus-H2 ist ab etwa 1500 px breiter als ihr Kopfblock und lief bisher nach rechts aus der Mitte (1920: 102 px). Als Flex-Spalte zentriert, auch wenn sie über den Block hinausragt. */
main .s4-ac-rhythm .r13-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1101px) {
  html body main .s4-ac-rhythm .r13-section-heading > h2 {
    width: max-content;
    margin-inline: 0;
  }
}

/* AC10: Ab 1400 px ist die linke Spalte fest 37,5rem breit, die einzeilige H2 wächst aber mit der Fensterbreite und lief ab etwa 1530 px in die Kachel „Muster erkennen“. Die Spalte wächst jetzt mit der H2-Größe (Textbreite 12,21 em), Abstand zur Kachel bleibt mindestens 28 px. */
@media (min-width: 1400px) {
  html body main .s4-ac-fields .wrap.s3-ac-fields {
    grid-template-columns: max(37.5rem, calc(var(--bv-2511-h2) * 12.4)) minmax(0, 1fr);
  }
}

/* AC11: kleiner und leichter als die übrigen H2 (80 %, 700 statt 800), dadurch einzeilig ab 1024 px ohne Überstand über die Inhaltsbreite. */
html body main .s4-ac-included .r13-section-heading {
  margin-inline: 0;
}

html body main .s4-ac-included .r13-section-heading > h2 {
  font-size: min(calc(var(--bv-2511-h2) * .8), 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

/* AC12: Der Block war 800 px schmal, die einzeilige H2 ragte ab etwa 1500 px rechts heraus (1920: 96 px aus der Mitte), Text und Signet saßen dadurch links davon. Volle Breite als zentrierte Spalte, Einleitung behält ihre 800 px Zeilenlänge. */
html body main .s4-ac-scope .academy-audience {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
}

html body main .s4-ac-scope .academy-audience > .lead {
  max-width: 50rem;
}

/* AC12 Signet: ruhig statt Dauerschwenk (der wechselnde Winkel zeigte die Seitenflächen schwer und dunkel), ohne weißen Lichthof, flacher geneigt. Bewegung nur beim Hover über den Abschnitt: das Signet neigt sich langsam auf die andere Seite, der Lichtreflex läuft einmal darüber. */
html body main .s4-ac-scope .s3-sig {
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: 2rem;
  background: none;
  perspective: 48rem;
}

html body main .s4-ac-scope .s3-sig-turn {
  inset: .25rem .25rem .75rem;
  animation: none;
  transform: rotateX(6deg) rotateY(-14deg);
  transition: transform 1.6s cubic-bezier(.3, .7, .25, 1);
}

html body main .s4-ac-scope .s3-sig-glint {
  animation: none;
  transform: translateX(0);
}

html body main .s4-ac-scope .s3-sig-floor {
  right: 20%;
  bottom: -.35rem;
  left: 20%;
  height: .7rem;
  background: radial-gradient(closest-side, rgba(0, 84, 124, .22), rgba(0, 84, 124, 0));
  transition: transform 1.6s cubic-bezier(.3, .7, .25, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html body main .s4-ac-scope:hover .s3-sig-turn {
    transform: rotateX(10deg) rotateY(20deg);
  }

  html body main .s4-ac-scope:hover .s3-sig-glint {
    transform: translateX(320px);
    transition: transform 1.8s ease-in-out .15s;
  }

  html body main .s4-ac-scope:hover .s3-sig-floor {
    transform: scaleX(.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body main .s4-ac-scope :is(.s3-sig-turn, .s3-sig-glint, .s3-sig-floor) {
    transition: none;
  }
}

/* AC13: Schritt-Icons 54 px auf 72 px (+33 %). Die Box (System 64 px) wächst auf 96 px mit, damit das Icon ganz in ihr liegt;
   Icon zu Titel dadurch 24 px wie auf den Days (86 in 112 plus 12 px). */
html body main .s4-ac-process .r5se-flow .r5-flow-media {
  width: 96px;
  min-width: 96px;
  height: 96px;
  margin-bottom: 12px;
}

html body main .s4-ac-process .r5se-flow .r5-flow-media lord-icon {
  width: 72px !important;
  height: 72px !important;
}
