/* ============================================================
   GDPR Consent Banner & Embed Placeholder – nataliamerkel.de
   ============================================================ */

/* ---------- Cookie Banner ---------- */
#gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(30, 30, 30, 0.97);
    color: #f0f0f0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.35);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

#gdpr-banner.gdpr-visible {
    transform: translateY(0);
}

.gdpr-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.gdpr-text {
    flex: 1;
    line-height: 1.5;
    min-width: 200px;
}

.gdpr-text strong {
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
}

.gdpr-text a {
    color: #7ec8e3;
    text-decoration: underline;
}

.gdpr-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#gdpr-decline {
    background: transparent;
    border: 1px solid #888;
    color: #ccc;
    padding: 9px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

#gdpr-decline:hover {
    border-color: #bbb;
    color: #fff;
}

#gdpr-accept {
    background: #2e7d32;
    border: none;
    color: #fff;
    padding: 9px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
}

#gdpr-accept:hover {
    background: #388e3c;
}

/* ---------- Consent Embed Wrapper ---------- */
.consent-embed {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 300px;
    position: relative;
}

.consent-embed.loaded {
    background: transparent;
    border: none;
    display: block;
}

.consent-embed.loaded iframe {
    display: block;
    width: 100%;
}

/* ---------- Placeholder ---------- */
.consent-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
}

.consent-placeholder-content {
    text-align: center;
    padding: 30px;
    max-width: 500px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 20px;
    transition: all 0.3s ease;
}

.consent-placeholder.has-thumbnail .consent-placeholder-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.consent-placeholder.has-thumbnail .consent-placeholder-icon {
    opacity: 1;
    color: #2e7d32;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.consent-placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.consent-placeholder p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.consent-placeholder p strong {
    color: #333;
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.consent-placeholder-btn {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
}

.consent-placeholder-btn:hover {
    background: #388e3c;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .gdpr-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .gdpr-btns {
        width: 100%;
    }
    #gdpr-decline, #gdpr-accept {
        flex: 1;
        text-align: center;
    }
}
