/* --- COOKIE BANNER CARD (Transparenter Glas-Effekt & Dynamisch) --- */
#cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 100px);

    /* 🔥 Dynamische Breite: Abstand wächst/schrumpft stufenlos mit dem Bildschirm */
    width: calc(100% - 70px);
    max-width: 450px;

    background: rgb(255 255 255 / 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;

    /* 🔥 Dynamisches Padding: Innenabstand der Box */
    padding: clamp(16px, 4vw, 24px);

    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s ease;
    display: none;
}

#cookie-banner.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-content h3 {
    /* 🔥 Dynamische Schriftgröße: Überschrift */
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: clamp(8px, 2vw, 12px);
    color: #111;
    font-weight: 700;
}

.cookie-content p {
    /* 🔥 Dynamische Schriftgröße: Fließtext */
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: #333;
    line-height: 1.5;
    margin-bottom: clamp(15px, 3vw, 20px);
}

.cookie-content a {
    color: #3D94E2;
    text-decoration: none;
    font-weight: 700;
}

/* 🔥 RECHTSKONFORME BUTTONS */
.cookie-btns {
    display: flex;
    /* Dynamischer Abstand zwischen den Buttons */
    gap: clamp(8px, 2vw, 12px);
    width: 100%;
}

.btn-cookie-decline, .btn-cookie-accept {
    flex: 1;
    /* 🔥 Dynamisches Padding und Schriftgröße für Buttons */
    padding: clamp(10px, 2.5vw, 12px);
    border-radius: 14px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    border: none;
}

.btn-cookie-accept {
    background: #3D94E2;
    color: white;
}

.btn-cookie-decline {
    background: rgba(255, 255, 255, 0.6);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-cookie-accept:hover { background: #2a7fc9; transform: scale(1.02); }
.btn-cookie-decline:hover { background: rgba(255, 255, 255, 0.9); transform: scale(1.02); }

/* 🔥 Für sehr schmale Handys die Buttons untereinander anzeigen */
@media (max-width: 350px) {
    .cookie-btns {
        flex-direction: column;
    }
}