/* Gelber Kreis unten rechts */
#cookie-settings-button {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 46px;
    height: 46px;
    background: #4CA106; /* Farbe */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000; /* Über allen anderen Inhalten */
    display: none; /* Standardmäßig ausgeblendet */
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#cookie-settings-button svg {
    transform: scale(1.8);
}

#cookie-settings-button svg path {
    fill: white;
}

#cookie-settings-button:hover {
    background: #002900;
    color: grey;
}

/* Styling für das Cookie-Banner */
#cookie-banner-content {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: white; /* Weißer Hintergrund */
    color: #333; /* Dunkelgrauer Text */
    padding: 15px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    border-radius: 15px; /* Abgerundete Ecken */
}

#cookie-banner-content a {
    color: #333; /* Dunkelgrauer Text */
    text-decoration: underline;
}

#cookie-banner-content button {
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 40px;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Weicher Übergang */
}

/* Styling für die Buttons "Alle Cookies" und "Nur Notwendige" */
#cookie-banner-content #accept-all,
#cookie-banner-content #accept-necessary {
    background: #4CA106; /* Roter Hintergrund */
    color: white; /* Weißer Text */
    border: none; /* Keine Umrandung */
    padding: 10px 20px;
    border-radius: 40px; /* Abgerundete Ecken */
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s; /* Weicher Übergang */
}

#cookie-banner-content #accept-all:hover,
#cookie-banner-content #accept-necessary:hover {
    background: #002900; /* Dunklerer Rotton bei Hover */
}

/* Styling für den Platzhalter */
#optional-cookies-placeholder {
    text-align: center;
    padding: 20px;
    background: none; /* Kein Hintergrund */
    color: #333; /* Textfarbe */
    border: none; /* Keine Umrandung */
    margin: 20px;
}

#optional-cookies-placeholder p {
    margin-bottom: 10px;
}

#optional-cookies-placeholder button {
    padding: 10px 20px;
    background: #4CA106; /* Primärfarbe */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 40px;
    font-size: 14px;
    transition: background-color 0.3s; /* Weicher Übergang bei Hover */
}

#optional-cookies-placeholder button:hover {
    background: #002900; /* Etwas dunklerer Rotton */
}

/* Mobile Ansicht: Abstand zwischen Text und Buttons erhöhen */
@media (max-width: 768px) {
    #cookie-banner-content {
        padding: 20px; /* Mehr Padding für kleinere Geräte */
        text-align: center;
    }

    #cookie-banner-content p {
        margin-bottom: 15px; /* Abstand zwischen Text und Buttons */
    }

    #cookie-banner-content button {
        margin-top: 10px; /* Abstand zwischen Buttons */
        margin-left: 0; /* Entfernt linken Abstand */
        width: 100%; /* Buttons nehmen die volle Breite ein */
    }
}

/* Tablet Portrait Ansicht: Optimierung */
@media (max-width: 1024px) and (orientation: portrait) {
    #cookie-banner-content {
        padding: 20px;
        text-align: center;
    }

    #cookie-banner-content p {
        margin-bottom: 20px; /* Mehr Abstand zwischen Text und Buttons */
    }

    #cookie-banner-content button {
        margin-top: 10px;
        margin-left: 0;
        width: 80%; /* Buttons nehmen 80% der Breite ein */
        max-width: 300px; /* Maximale Breite der Buttons */
    }
}

/* Styling für den Platzhalter */
#optional-cookies-placeholder {
    text-align: center;
    padding: 20px;
    background: none; /* Kein Hintergrund */
    color: #333; /* Textfarbe */
    border: none; /* Keine Umrandung */
    margin: 20px;
}

#optional-cookies-placeholder p {
    margin-bottom: 10px;
}

#optional-cookies-placeholder button {
    padding: 10px 20px;
    background: #4CA106; /* Primärfarbe */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 40px;
    font-size: 14px;
    transition: background-color 0.3s; /* Weicher Übergang bei Hover */
}

#optional-cookies-placeholder button:hover {
    background: #002900; /* Etwas dunklerer Rotton */
}