/* ChrisView Datenschutz-/Consent-Banner */
.privacy-consent[hidden],
.privacy-consent [hidden] {
    display: none !important;
}

.privacy-consent {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}

.privacy-consent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    pointer-events: auto;
}

.privacy-consent__card {
    position: relative;
    width: min(100%, 52rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.55rem 1.7rem;
    background: rgba(27, 31, 34, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.45);
    pointer-events: auto;
}

.privacy-consent__card h2 {
    margin: 0 2.5rem 0.65rem 0;
    font-size: 1.15rem;
    letter-spacing: 0.17rem;
}

.privacy-consent__card p {
    margin: 0 0 1rem;
    line-height: 1.6;
}

.privacy-consent__eyebrow {
    margin-bottom: 0.45rem !important;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}

.privacy-consent__close {
    position: absolute;
    top: 0.8rem;
    right: 0.95rem;
    width: 2.2rem;
    height: 2.2rem;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    font-size: 1.65rem;
    line-height: 2.2rem;
    letter-spacing: 0;
    text-transform: none;
}

.privacy-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 1.25rem;
}

.privacy-consent__button {
    min-width: 12rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: #fff !important;
}

.privacy-consent__button:hover,
.privacy-consent__button:focus {
    background: rgba(255, 255, 255, 0.16);
}

.privacy-consent__textbutton {
    height: auto;
    min-width: 0;
    padding: 0.65rem 0.35rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.3;
    letter-spacing: 0.09rem;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    text-transform: none;
}

.privacy-consent__links {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

.privacy-consent__links a {
    border-bottom: dotted 1px rgba(255, 255, 255, 0.45);
}

.privacy-consent__option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.privacy-consent__option strong {
    display: block;
    margin-bottom: 0.2rem;
}

.privacy-consent__option p {
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.82rem;
}

.privacy-consent__option--locked {
    cursor: default;
}

.privacy-consent__status {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    white-space: nowrap;
}

.privacy-consent__option input[type="checkbox"] {
    position: static;
    display: block;
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0.15rem 0 0;
    opacity: 1;
    z-index: auto;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.privacy-consent__hint {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.75rem;
}

@media screen and (max-width: 736px) {
    .privacy-consent {
        padding: 0.65rem;
    }

    .privacy-consent__card {
        padding: 1.35rem 1.15rem;
        border-radius: 6px;
    }

    .privacy-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .privacy-consent__button,
    .privacy-consent__textbutton {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .privacy-consent__option {
        gap: 0.75rem;
    }

    .privacy-consent__status {
        white-space: normal;
        text-align: right;
    }
}
