.youtube-placeholder {
  position: relative;
  display: block;
  max-width: 100%;
  cursor: pointer;
  background: #f5f5f5;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9; /* Safari 15+ unterstützt aspect-ratio */
  min-height: 200px; /* Fallback für ältere Browser */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

/* Fallback für ältere Safari-Versionen ohne aspect-ratio Support */
@supports not (aspect-ratio: 16 / 9) {
.youtube-placeholder::before {
content: '';
display: block;
padding-top: 56.25%; /* 16:9 ratio */
}
.youtube-placeholder > * {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}

.youtube-placeholder:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.youtube-placeholder-default {
   max-width: 560px;
  margin-left: auto;
   margin-right: auto;
 }

.youtube-placeholder img.youtube-thumb {
  display: block;
  width: 100%;
  height: auto;
object-fit: cover; /* Safari-Fix: Bild passt sich Container an */
position: absolute; /* Positionierung für Overlay */
top: 0;
left: 0;
height: 100%;
  opacity: 0.9;
  transition: opacity 0.3s ease;
-webkit-user-select: none; /* Safari: Bild nicht auswählbar */
user-select: none;
}

.youtube-placeholder:hover img.youtube-thumb {
  opacity: 1;
}

/* Play-Button im YouTube-Stil */
.youtube-placeholder .youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin-left: -34px;
  margin-top: -24px;
  background: #ff0000;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 2;
-webkit-transform: translateZ(0); /* Safari Hardware-Beschleunigung */
transform: translateZ(0);
}

.youtube-placeholder:hover .youtube-play {
  background: #cc0000;
-webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.youtube-play::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -6px;
  margin-top: -10px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

/* DSGVO-Hinweis mit Icon */
.youtube-privacy-notice {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  text-align: center;
  z-index: 1;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.youtube-placeholder:hover .youtube-privacy-notice {
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.8));
}

/* Fokus für Barrierefreiheit */
.youtube-placeholder:focus {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

.youtube-placeholder:focus .youtube-privacy-notice {
  outline: 2px solid #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
  .youtube-privacy-notice {
    font-size: 11px;
    padding: 8px 12px;
  }
  
  .youtube-placeholder .youtube-play {
    width: 56px;
    height: 40px;
    margin-left: -28px;
    margin-top: -20px;
  }
  
  .youtube-play::after {
    border-width: 8px 0 8px 14px;
    margin-left: -5px;
    margin-top: -8px;
  }
}


.social-quote blockquote {
    border-left: 4px solid #1da1f2;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    font-style: italic;
    margin: 2rem 0;
}

.social-quote footer {
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.9em;
    color: #666;
}

.social-quote a {
    color: #1da1f2;
    text-decoration: none;
}

.social-quote a:hover {
    text-decoration: underline;
}

.social-quote {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    background: #f8f9fa;
    max-width: 540px;
}

.social-quote.instagram-quote {
    border-left: 4px solid #E4405F;
}

.social-quote.twitter-quote {
    border-left: 4px solid #1DA1F2;
}

.social-header {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.avatar.placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.social-header strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.social-header .handle {
    color: #657786;
    font-size: 0.9em;
}

.timestamp {
    color: #657786;
    font-size: 0.85em;
    margin-top: 0.25rem;
}

.social-content {
    margin: 1rem 0;
    line-height: 1.5;
}

.social-content p {
    margin: 0;
}

.social-footer {
    padding-top: 0.75rem;
    border-top: 1px solid #e1e8ed;
}

.social-footer a {
    color: #1DA1F2;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
}

.social-footer a:hover {
    text-decoration: underline;
}

