/* Cookie Banner Reset & Layout */
*, *::before, *::after { box-sizing: border-box; }

#cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px;
    z-index: 999999;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
    line-height: 1.5;
    border: 1px solid #e2e8f0;
}

@media(min-width: 576px) {
    #cookie-consent-banner {
        left: auto;
        right: 20px;
    }
}

#cookie-consent-banner h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
}

#cookie-consent-banner p {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 20px;
}

#cookie-consent-banner p a {
    color: #3182ce;
    text-decoration: none;
}

#cookie-consent-banner p a:hover {
    text-decoration: underline;
}

.cookie-category-item {
    background: #f7fafc;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #edf2f7;
}

.cookie-category-item label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #2d3748;
}

.cookie-category-item input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.cookie-category-desc {
    display: block;
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
    font-weight: normal;
    padding-left: 26px;
}

.cookie-buttons {
    display: table;
    width: 100%;
    margin-top: 20px;
}

.cookie-btn-cell {
    display: table-cell;
    width: 50%;
}

.cookie-btn-cell:first-child {
    padding-right: 8px;
}

.cookie-btn-cell:last-child {
    padding-left: 8px;
}

.cookie-btn {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

#btn-cookie-accept-all {
    background: #2f855a;
    color: #ffffff;
}

#btn-cookie-accept-all:hover {
    background: #22543d;
}

#btn-cookie-save {
    background: #edf2f7;
    color: #4a5568;
}

#btn-cookie-save:hover {
    background: #e2e8f0;
}

/* Cookie-Widerruf Button unten links */
#cookie-settings-trigger {
    position: fixed;
    bottom: 15px;
    left: 15px;
    background: #2d3748;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
#cookie-settings-trigger:hover {
    opacity: 1;
}
