/* ============================================
   BauDenkPlan — Cookie-Consent-Banner
   ============================================ */

#bdp-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    color: #1a1a2e;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    border-top: 3px solid #b8860b;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    flex-wrap: wrap;
}

#bdp-cookie-banner p {
    flex: 1;
    min-width: 240px;
    margin: 0;
    color: #3a3a4a;
}

#bdp-cookie-banner a {
    color: #1b64c6;
    text-decoration: underline;
}

#bdp-cookie-banner a:hover {
    color: #0f4a9a;
}

.bdp-cookie-banner__actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

#bdp-cookie-accept {
    background: #b8860b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

#bdp-cookie-accept:hover { background: #9a7009; }

#bdp-cookie-decline {
    background: transparent;
    color: #5a5a6a;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

#bdp-cookie-decline:hover {
    color: #1a1a2e;
    border-color: #999;
}

@media (max-width: 600px) {
    #bdp-cookie-banner { flex-direction: column; align-items: flex-start; }
    .bdp-cookie-banner__actions { width: 100%; }
    #bdp-cookie-accept, #bdp-cookie-decline { flex: 1; text-align: center; }
}

@media print {
    #bdp-cookie-banner { display: none !important; }
}
