/* Cookie-Hinweis — alle Layouts */
#khCookieBanner.kh-cc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    padding: 18px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    pointer-events: none;
}
#khCookieBanner.kh-cc[hidden] {
    display: none !important;
}
.kh-cc-inner {
    pointer-events: auto;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(20, 27, 42, 0.97), rgba(12, 16, 26, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(63, 114, 255, 0.08) inset;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    animation: khCcIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes khCcIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.kh-cc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b93ff;
    background: linear-gradient(165deg, rgba(63, 114, 255, 0.2), rgba(63, 114, 255, 0.06));
    border: 1px solid rgba(63, 114, 255, 0.28);
}
.kh-cc-icon svg {
    width: 23px;
    height: 23px;
}
.kh-cc-text {
    flex: 1 1 320px;
    min-width: 0;
}
.kh-cc-title {
    margin: 0 0 5px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
}
.kh-cc-desc {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}
.kh-cc-desc a {
    color: #6b93ff;
    font-weight: 600;
    text-decoration: none;
}
.kh-cc-desc a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.kh-cc-desc strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}
.kh-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}
.kh-cc-btn {
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.kh-cc-btn:focus-visible {
    outline: 2px solid #6b93ff;
    outline-offset: 2px;
}
.kh-cc-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.kh-cc-btn--ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
}
.kh-cc-btn--primary {
    background: linear-gradient(135deg, #3f72ff, #2f62ea);
    color: #fff;
    box-shadow: 0 8px 22px rgba(47, 98, 234, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.kh-cc-btn--primary:hover {
    box-shadow: 0 10px 26px rgba(47, 98, 234, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .kh-cc-inner {
        align-items: flex-start;
    }
    .kh-cc-actions {
        width: 100%;
        margin-left: 0;
    }
    .kh-cc-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}
@media (max-width: 420px) {
    .kh-cc-icon {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .kh-cc-inner {
        animation: none;
    }
    .kh-cc-btn--primary:hover {
        transform: none;
    }
}

/* Panel-Sidebar: Banner erneut öffnen */
button.kh-sidebar-cookie.kh-cookie-settings-link {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    padding: 6px 8px;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.38);
    background: transparent;
    border: none;
    border-radius: 6px;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
button.kh-sidebar-cookie.kh-cookie-settings-link:hover {
    color: rgba(255, 255, 255, 0.58);
}
