/* Cookie Consent Banner - DSGVO-konform */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1e2e1e;
    color: #fefdfb;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
#cookie-consent-banner.visible {
    transform: translateY(0);
}
.cc-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.cc-text {
    flex: 1 1 400px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e5dacb;
}
.cc-text a {
    color: #fefdfb;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cc-text a:hover {
    color: #d4c3a8;
}
.cc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cc-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.cc-btn-accept {
    background-color: #3f5d3f;
    color: #fefdfb;
}
.cc-btn-accept:hover {
    background-color: #344b34;
}
.cc-btn-reject {
    background-color: transparent;
    color: #fefdfb;
    border: 1px solid #3f5d3f;
}
.cc-btn-reject:hover {
    background-color: rgba(63, 93, 63, 0.2);
}
.cc-btn-settings {
    background-color: transparent;
    color: #d4c3a8;
    border: none;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
}
.cc-btn-settings:hover {
    color: #fefdfb;
}

/* Settings Panel */
#cookie-settings-panel {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background-color: #1e2e1e;
    color: #fefdfb;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
#cookie-settings-panel.visible {
    display: block;
}
.cs-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
}
.cs-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.cs-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(63, 93, 63, 0.4);
}
.cs-option label {
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}
.cs-option label strong {
    display: block;
    color: #fefdfb;
    margin-bottom: 0.15rem;
}
.cs-option label span {
    color: #d4c3a8;
    font-size: 0.8rem;
}
.cs-option input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: #3f5d3f;
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}
.cs-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .cc-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    .cc-buttons {
        flex-direction: column;
    }
    .cc-btn {
        text-align: center;
    }
}
