/**
 * DSGVO-konforme YouTube-Einbindung
 * Styling für die Zwei-Klick-Lösung
 */
.gdpr-youtube-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.gdpr-youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.gdpr-youtube-container:hover .gdpr-youtube-thumbnail {
    opacity: 0.8;
}

.gdpr-youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: #f61c0d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gdpr-youtube-play-button:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
}

.gdpr-youtube-container:hover .gdpr-youtube-play-button {
    background-color: #cc0000;
}

.gdpr-youtube-notice {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

.gdpr-youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-loaded .gdpr-youtube-thumbnail,
.video-loaded .gdpr-youtube-play-button,
.video-loaded .gdpr-youtube-notice {
    display: none;
} 