/* Eigener Cookie-Banner (ersetzt Cookiebot) */

.cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    background: #1a1a1a;
    color: #ededed;
    border-top: 3px solid #e00000;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .5);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    padding: 22px 18px;
    transform: translateY(110%);
    transition: transform .35s ease;
}

.cc-banner.cc-visible {
    transform: translateY(0);
}

.cc-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cc-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.cc-text {
    margin: 0 0 16px;
    color: #cfcfcf;
}

.cc-text a,
.cc-details a {
    color: #ff6f60;
    text-decoration: underline;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cc-btn {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    color: inherit;
    line-height: 1.2;
}

.cc-btn[hidden] {
    display: none;
}

.cc-btn-accept {
    background: #e00000;
    color: #fff;
}

.cc-btn-accept:hover {
    background: #b80000;
}

.cc-btn-reject {
    border-color: #6a6a6a;
    color: #ededed;
}

.cc-btn-reject:hover {
    border-color: #ededed;
}

.cc-btn-link {
    color: #b5b5b5;
    text-decoration: underline;
    padding: 11px 6px;
}

.cc-btn-link:hover {
    color: #fff;
}

.cc-details {
    display: none;
    margin: 18px 0 4px;
    border-top: 1px solid #3a3a3a;
    padding-top: 16px;
}

.cc-details.cc-open {
    display: block;
}

.cc-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
}

.cc-option input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #e00000;
}

.cc-option label {
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: block;
}

.cc-option small {
    display: block;
    font-weight: 400;
    color: #b5b5b5;
}

/* Platzhalter für blockierte externe Inhalte (Karte, PDF-Viewer) */
.cc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
    background: #2b2b2b;
    border: 1px dashed #5a5a5a;
    border-radius: 5px;
    color: #d6d6d6;
    min-height: 200px;
    height: 100%;
}

.cc-placeholder p {
    margin: 0;
    max-width: 460px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .cc-banner {
        max-height: 85vh;
        overflow-y: auto;
        padding: 18px 14px;
    }

    .cc-btn {
        flex: 1 1 100%;
        text-align: center;
    }
}
