/* ==========================================================================
   BKG YouTube DSGVO 2-Klick-Lösung – Styles
   Einmal global im Theme einbinden (z.B. via XML-Layout oder requirejs-config).
   ========================================================================== */

.bkg-yt-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #1a1a2e;
}

.bkg-yt-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Platzhalter-Overlay */
.bkg-yt-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

/* Play-Button (YouTube-Logo als SVG) */
.bkg-yt-placeholder .bkg-yt-play {
  width: 68px;
  height: 48px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.bkg-yt-placeholder .bkg-yt-play:hover {
  opacity: 0.85;
}
.bkg-yt-placeholder .bkg-yt-play svg {
  width: 100%;
  height: 100%;
}

/* Datenschutz-Hinweistext */
.bkg-yt-placeholder .bkg-yt-notice {
  color: #ccc;
  font-size: 13px;
  line-height: 1.5;
  max-width: 460px;
  margin-bottom: 16px;
}

/* "Video laden"-Button */
.bkg-yt-placeholder .bkg-yt-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #003366;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.bkg-yt-placeholder .bkg-yt-btn:hover {
  background: #1b3155;
  transform: translateY(-1px);
}
.bkg-yt-placeholder .bkg-yt-btn:focus-visible {
  outline: 3px solid rgba(51, 85, 159, 0.4);
  outline-offset: 3px;
}
.bkg-yt-placeholder .bkg-yt-btn:active {
  transform: translateY(0);
}
