/* Cookie-Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none; /* Wird durch JavaScript auf 'block' gesetzt */
    font-family: 'Montserrat', sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue';
    border-top: 3px solid var(--primary-color, #8B4513);
    -webkit-transform: translateZ(0); /* Verhindert Rendering-Probleme auf manchen Browsern */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#cookie-banner p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

#cookie-banner a {
    color: var(--primary-color, #8B4513);
    text-decoration: underline;
}

#cookie-banner button {
    background: var(--primary-color, #8B4513);
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

#cookie-banner button:hover {
    opacity: 0.9;
}

#cookie-banner #cookie-accept-necessary {
    background: #aaa;
}

#cookie-banner #cookie-settings-btn {
    background: var(--secondary-color, #CD853F);
}

/* Cookie Settings Overlay */
#cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

#cookie-settings > div {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#cookie-settings h2 {
    margin-top: 0;
    color: var(--primary-color, #8B4513);
    font-size: 1.5rem;
}

#cookie-settings p {
    margin-bottom: 20px;
}

#cookie-settings label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

#cookie-settings input[type="checkbox"] {
    margin-right: 8px;
}

#cookie-settings button {
    margin-top: 15px;
}

/* Responsive Anpassungen */
@media (max-width: 576px) {
    #cookie-banner button {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}
