/*Cookies*/
#overlay {
    display: none; /* Startet ausgeblendet, JS aktiviert es */
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.295);
    backdrop-filter: blur(5px) brightness(0.7);
    z-index: 4;
}

.cookie-banner-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* Modernes, dunkles Blau-Grau statt hartem Schwarz */
    background-color: #222f3e; 
    color: #ecf0f1;
    /* Flexbox für einfaches Layout */
    display: none; /* Startet ausgeblendet, JS aktiviert es */
    flex-direction: column; /* Mobile First: Untereinander stapeln */
    gap: 20px; /* Abstand zwischen Text und Buttons */
    padding: 24px;
    /* Schatten nach oben für Tiefe */
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    z-index: 9999;
    /* Verwendet schnelle System-Schriftarten */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Text Bereich --- */
.cookie-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    text-align: center; /* Zentrierter Text auf Handys sieht oft besser aus */
}

.cookie-link {
    color: #54a0ff; /* Helles Blau für den Link */
    text-decoration: underline;
}

/* --- Button Bereich --- */
.cookie-actions {
    display: flex;
    flex-direction: column; /* Mobile First: Buttons untereinander */
    gap: 12px;
    width: 100%;
}

/* --- Button Basis-Styles --- */
.cookie-btn {
    padding: 15px 20px; /* Große Touch-Fläche */
    border: none;
    border-radius: 5px; /* Moderne abgerundete Ecken */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%; /* Buttons nutzen die volle Breite auf Handys */
}

.cookie-btn:active {
    transform: scale(0.98); /* Leichter Klick-Effekt */
}

/* Primärer Button (Akzeptieren) - Grün */
.btn-primary {
    background-color: #007acc;
    color: white;
}

.btn-primary:hover {
    background-color: #007acc;
}

/* Sekundärer Button (Ablehnen) - Transparent/Outline */
.btn-secondary {
    background-color: transparent;
    color: #c8d6e5;
    border: 2px solid #576574;
}

.btn-secondary:hover {
    background-color: #576574;
    color: white;
}


/* --- Media Query für Tablets & Desktops (ab 768px) --- */
@media (min-width: 768px) {
    .cookie-banner-container {
        /* Nebeneinander anordnen auf großen Screens */
        flex-direction: row; 
        align-items: center;
        justify-content: space-between;
        padding: 16px 30px; /* Etwas weniger Padding vertikal */
    }

    .cookie-text {
        text-align: left; /* Text linksbündig auf Desktop */
        padding-right: 20px;
    }

    .cookie-actions {
        flex-direction: row; /* Buttons nebeneinander */
        width: auto; /* Buttons nehmen nur den nötigen Platz ein */
    }

    .cookie-btn {
        width: auto; /* Buttons nicht mehr volle Breite */
        padding: 5px 20px;
    }
}