/* =========================
   RAZOR PUNCH – MUSIK (Startseite)
   Zwei Videos, versetzt angeordnet. Vorschaubilder in Graustufen,
   Farbe kommt beim Hover (.rp-colorize, sections.css). Player lädt per Klick (music.js).
   ========================= */

/* Lichtschein, damit das Blau nicht flach wirkt. Der rote Spot unten links
   setzt sich in der Tour-Section darunter fort (dort oben links, tour.css). */
.rp-section--blue.rp-music {
  --rp-bg:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(225, 6, 0, .18), transparent 70%),
    radial-gradient(ellipse 60% 70% at 15% 110%, rgba(225, 6, 0, .22), transparent 70%),
    radial-gradient(ellipse 70% 60% at 45% 100%, rgba(80, 120, 255, .12), transparent 70%),
    var(--rp-blue);
}

.rp-music-head {
  text-align: center;
}

.rp-music-head .rp-section-headline {
  margin-bottom: 3rem;
}

/* Zwei Spalten, die zweite etwas tiefer -> lebendiger als ein starres Raster */
.rp-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.rp-video:nth-child(2) {
  margin-top: 4rem;
}

/* Mehr als zwei Videos: jedes zweite etwas tiefer (margin, weil rp-animate transform belegt) */
.rp-music--many .rp-video:nth-child(even) {
  margin-top: 3rem;
}

.rp-video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--rp-radius);
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
}

.rp-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

iframe.rp-video-frame {
  cursor: auto;
}

/* Play-Button: roter Kreis mit Dreieck, leuchtet beim Hover */
.rp-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: rgba(225, 6, 0, .9);
  box-shadow: 0 0 0 0 rgba(225, 6, 0, .5);
  transition: transform .35s ease, box-shadow .35s ease;
}

.rp-video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.rp-video-frame:hover .rp-video-play,
.rp-video-frame:focus-visible .rp-video-play {
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(225, 6, 0, .2), 0 0 40px rgba(225, 6, 0, .6);
}

/* Songtitel unter dem Video */
.rp-video-meta {
  margin-top: 1.25rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(245, 245, 245, .15);
}

.rp-video-title {
  margin: 0;
  font-family: var(--rp-font-headline);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1;
}

/* Kurzer Datenschutz-Hinweis zu den Videos, bewusst unauffällig */
.rp-video-consent {
  margin: 1.25rem 0 0;
  font-size: .7rem;
  line-height: 1.4;
  text-align: center;
  color: rgba(245, 245, 245, .45);
}

.rp-video-consent a {
  color: inherit;
}

.rp-music-foot {
  margin-top: 2.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .rp-video-grid {
    grid-template-columns: 1fr;
  }

  .rp-video:nth-child(2) {
    margin-top: 0;
  }

  .rp-music--many .rp-video:nth-child(even) {
    margin-top: 0;
  }

  .rp-video-play {
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
  }
}
