/* BV-2611e s3: Paketdatei, nur das zuständige Paket ändert sie. */

/* EV1: Der Hero trägt die neue, zentrierte Seitenüberschrift direkt über den drei Event-Karten.
   Das Stadthallen-Foto entfällt, weil es nur zu den Days gehört; Schriftgröße der Überschrift setzt P-SYS. */
html body .events-video-hero.bv2611e-events-hero > .wrap {
  padding-block: clamp(120px, 12.5vw, 184px) clamp(56px, 7vw, 112px);
}

html body .bv2611e-events-head {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
}

html body .bv2611e-events-head > .context-note {
  margin: 0 0 clamp(14px, 1.4vw, 20px);
}

html body .bv2611e-events-head > h1 {
  max-width: none;
  margin: 0 auto;
  text-wrap: balance;
}

html body .bv2611e-events-head > p:not(.context-note, .events-hero-note) {
  max-width: 40rem;
  margin: clamp(18px, 1.8vw, 26px) auto 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.6;
  text-wrap: pretty;
}

html body .bv2611e-events-head > .actions {
  justify-content: center;
  margin-top: clamp(28px, 2.6vw, 38px);
}

html body .bv2611e-events-head > .events-hero-note {
  margin-inline: auto;
}

html body .bv2611e-events-list {
  padding-top: clamp(40px, 4.5vw, 64px);
}

@media (min-width: 1200px) {
  html body .bv2611e-events-list .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

/* DA14: Days „Was dich vor Ort erwartet“ ohne Foto. Sechs Karten in zwei Reihen à drei über die volle Breite,
   Überschrift mittig darüber; mobil eine Spalte. Mission Mastery bleibt unberührt. */
html body .bv2511-event-page--bestversiondays .event-copy.r4ev-benefits.event-copy--without-photo {
  display: block;
  max-width: none;
}

html body .bv2511-event-page--bestversiondays .event-copy.r4ev-benefits.event-copy--without-photo .event-benefits-head {
  margin: 0 auto 2rem;
  text-align: center;
}

/* N1 DA14: Kopf und Unterzeile mittig über dem Vollbreiten-Raster wie DA12, DA13 und DA15 auf derselben Seite. */
html body .bv2511-event-page--bestversiondays .event-copy.r4ev-benefits.event-copy--without-photo .event-benefits-head > :is(h2, .lead) {
  margin-inline: auto;
  text-align: center;
}

html body .bv2511-event-page--bestversiondays .event-copy.r4ev-benefits.event-copy--without-photo .event-benefit-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  html body .bv2511-event-page--bestversiondays .event-copy.r4ev-benefits.event-copy--without-photo .event-benefit-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  html body .bv2511-event-page--bestversiondays .event-copy.r4ev-benefits.event-copy--without-photo .event-benefit-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* DA15: „So bist du dabei“. Die Nummer sitzt als Badge oben in der Kachel, die Linie mit den Kreisen entfällt.
   Nummer und Kachel teilen sich eine Rasterzelle, so bleiben alle Kacheln gleich hoch und die Nummer hebt sich beim Hover mit. */
html body .bv2511-event-page--bestversiondays .r5ev-flow::before,
html body .bv2511-event-page--bestversiondays .r5ev-flow::after {
  display: none;
}

html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-step {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
}

html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-step > :is(.r5-flow-node, .r5-flow-card) {
  grid-area: 1 / 1;
}

html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-node {
  z-index: 2;
  align-self: start;
  justify-self: start;
  width: 40px;
  height: 40px;
  margin: 20px 0 0 20px;
  font-size: 14px;
  box-shadow: 0 0 0 5px rgba(0, 183, 244, .12);
  transition: background-color var(--r5-dur) var(--r5-ease), color var(--r5-dur) var(--r5-ease), box-shadow var(--r5-dur) var(--r5-ease), transform var(--r5-dur) var(--r5-ease);
}

html body .bv2511-event-page--bestversiondays .r5ev-flow.is-run .r5-flow-node {
  box-shadow: 0 0 0 5px rgba(0, 183, 244, .16);
}

html body .bv2511-event-page--bestversiondays .r5ev-flow.is-armed .r5-flow-node {
  --s3e-at: calc(.25s + var(--i) * .45s);
  transition-delay: var(--s3e-at), var(--s3e-at), var(--s3e-at), 0s;
}

@media (hover: hover) and (pointer: fine) {
  html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-step:hover .r5-flow-node {
    transform: translateY(-4px);
  }
}

@media (max-width: 760px) {
  html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-node {
    justify-self: end;
    margin: 18px 18px 0 0;
  }
}

/* N1 DA15: Am Desktop ist die Kachel mittig gesetzt, die Nummer in der Ecke wirkte dort wie ein Rest der alten Linie.
   Sie steht jetzt mittig oben in der Kachel über dem Icon, etwas größer als mobil, die Kachel macht ihr oben Platz. */
@media (min-width: 761px) {
  html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-node {
    justify-self: center;
    width: 48px;
    height: 48px;
    margin: clamp(20px, 2.2vw, 28px) 0 0;
    font-size: 16px;
  }

  html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-card {
    padding-top: calc(clamp(20px, 2.2vw, 28px) + 48px + 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .bv2511-event-page--bestversiondays .r5ev-flow .r5-flow-node {
    transition: none !important;
  }
}

/* N1 MA11: Mastermind-Zitatband. Zentriert lag der Block im Poster und im Video auf Saschas Kinn und Bart.
   Ab 768 px steht er linksbündig an der Seitenachse in der linken Bildhälfte (dort nur die dunkle Pflanze); Größe und Unterstrich bleiben.
   Er sitzt im unteren Teil des Bands, weil im Video zwei Szenen Gesichter auch links in Kopfhöhe zeigen (ffmpeg-Einzelbilder, Bericht N1-S3).
   Der vorhandene Abdunklungs-Verlauf wandert mit dem Text, gleiche Stärke. Mission Mastery (Sternenhimmel) und mobil bleiben zentriert. */
@media (min-width: 768px) {
  html body .bv2511-event-page--mastermind .event-quote.event-quote--mastermind {
    align-items: end;
    padding-bottom: clamp(56px, 6.6vw, 96px);
  }

  html body .bv2511-event-page--mastermind .event-quote.event-quote--mastermind > .wrap {
    margin-block: auto 0;
  }

  html body .bv2511-event-page--mastermind .event-quote.event-quote--mastermind::after {
    background: radial-gradient(ellipse 62% 58% at 28% 66%, rgba(5, 14, 20, .62), rgba(5, 14, 20, .22) 72%), linear-gradient(180deg, rgba(5, 14, 20, .28), rgba(5, 14, 20, .38));
  }

  html body .event-quote--mastermind .r4ev-quote-figure {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  html body #main .event-quote.r4ev-quote.event-quote--mastermind blockquote {
    margin-inline: 0;
    text-align: left;
  }

  html body #main .event-quote.r4ev-quote.event-quote--mastermind blockquote p {
    max-width: 14em;
    margin-inline: 0;
    text-align: left;
  }

  html body .event-quote--mastermind figcaption {
    justify-content: flex-start;
  }

  html body .event-quote--mastermind figcaption::after {
    display: none;
  }
}

/* N2 MA11 mobil: unter 768 px lag der zentrierte Block im Poster auf Saschas Kinn und in den Videobildern 3 s und 11 s auf Gesichtern.
   Wie am Desktop sitzt er jetzt im unteren Teil des Bands, bleibt aber zentriert; Größe, Umbruch und Unterstrich unverändert.
   Der Abdunklungs-Verlauf wandert mit dem Text nach unten, gleiche Stärke. */
@media (max-width: 767px) {
  html body .bv2511-event-page--mastermind .event-quote.event-quote--mastermind {
    align-items: end;
    padding-bottom: 40px;
  }

  html body .bv2511-event-page--mastermind .event-quote.event-quote--mastermind > .wrap {
    margin-block: auto 0;
  }

  html body .bv2511-event-page--mastermind .event-quote.event-quote--mastermind::after {
    background: radial-gradient(ellipse 62% 58% at 50% 72%, rgba(5, 14, 20, .62), rgba(5, 14, 20, .22) 72%), linear-gradient(180deg, rgba(5, 14, 20, .28), rgba(5, 14, 20, .38));
  }
}
