.youtube-datenschutz, .youtube-video {
    position: relative;
    display: block;
    background: rgba(255, 255, 255, 0.5);

    border-radius: var(--border-radius-image, 5px);
    padding: 0 !important;
    overflow: hidden;
}

.youtube-datenschutz img {
    display: block;       /* entfernt Inline-Rand/Whitespace */
    width: 100%;          /* füllt den Container exakt aus */
    height: auto;         /* behält das Seitenverhältnis */
    object-fit: cover;    /* falls Höhe fix ist, füllt er Container ohne Verzerrung */
    transform: scaleX(1.002)
}

.youtube-datenschutz figure {
    margin: 0;
    padding: 0;
}

.youtube-datenschutz figure figcaption, .youtube-video > figcaption  {
    font-size: 0.85em;
    margin: 0;
    padding: 3px 5px 1px 5px ;
    overflow: hidden;
}

/* Einbinden von Videos in PHPWCMS */
#links .col-sm-6, #links .col-md-6{
  float: left;
}

#rechts .col-sm-6, #rechts .col-md-6 {
  float: right;
  }

video{
  border-radius: var(--border-radius, 4px);
  max-width: 100%;
  height: auto;
}

.youtube-player, .youtube-player-02 {
  position: relative;
  padding-bottom: 56.23%;  /* Use 75% for 4:3 videos */
  m/argin-bottom: 10px !important;
  overflow: hidden;
  background: #000;
  border-radius: var(--border-radius, 4px);
  width: 100% !important;
}

#links .youtube-player, #links .youtube-player-02{
  float: left !important;
  border-radius: var(--border-radius-images);
  margin-right: 15px !important;
  margin-left: 0;
}

#rechts .youtube-player, #rechts .youtube-player-02{
    margin-right: 0;
    margin-left: 35px;
}

.youtube-player a, .youtube-player-02 a{
  color: skyblue;
}

.youtube-player a , .youtube-player-02 a{
  /* added for broken/no JS */
  display: block;
  text-align: center;
  color: #fff;
}

.youtube-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: transparent;
}

.youtube-player img, .youtube-player-02 img {
  aspect-ratio: 1 / 0.78;
  bottom: 0;
  display: block;
  left: 0;
  max-width: 101%;
  width: 101%;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: 101%;
  cursor: pointer;
  -webkit-transition: .4s all;
  -moz-transition: .4s all;
  transition: .4s all;
}

.youtube-player img:hover , .youtube-player-02 img:hover {
  -webkit-filter: brightness(25%);
}

.youtube-player .play, .youtube-player-02 .play {
  position: absolute;
  height: 72px;
  width: 72px;
  left: 50%;
  top: 50%;
  margin-left: -36px;
  margin-top: -36px;
  background: url(../images/buttons/play_72x72.png) no-repeat;
  cursor: pointer;
  z-index: 2;
}

@media (orientation: portrait) {
  .youtube-player .play, .youtube-player-02 .play {
    height: 32px;
    width: 32px;
    left: 50%;
    top: 50%;
    margin-left: -16px;
    margin-top: -16px;
    background: url(../images/buttons/play_32x32.png) no-repeat;
  }
}

/* https://codepen.io/ashrafulsarkar/pen/GRQPaZQ --------------------------------------------------------------------- */
@keyframes shadowPulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(21, 219, 150, 0.4);
    box-shadow: 0 0 0 0 rgba(21, 219, 150, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 40px rgba(21, 219, 150, 0);
    box-shadow: 0 0 0 40px rgba(21, 219, 150, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(21, 219, 150, 0);
    box-shadow: 0 0 0 0 rgba(21, 219, 150, 0);
  }
}

.video-btn {
  position: absolute;
  text-align: center;
  height: 80px;
  width: 80px;
  line-height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  background: #6c5ce750;
  color: #fff !important;
  -webkit-animation: shadowPulse 2s linear infinite;
  animation: shadowPulse 2s linear infinite;
  -webkit-box-shadow: 0 0 0 10px rgba(108, 92, 231, 0.4);
  box-shadow: 0 0 0 10px rgb(108, 92, 231, 0.4);
}
