/* DSGVO-Cookie-Consent-Banner */
.ds-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: #191922;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
    padding: 18px 20px;
}

.ds-consent[hidden] { display: none; }

.ds-consent__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.ds-consent__text {
    flex: 1 1 420px;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
}

.ds-consent__text strong { color: #fff; }
.ds-consent__text a { color: #fff; text-decoration: underline; }

.ds-consent__actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.ds-consent__btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}

.ds-consent__btn:hover { border-color: #fff; }

.ds-consent__btn--primary {
    background: #CE0F69;
    border-color: #CE0F69;
}

.ds-consent__btn--primary:hover { background: #B00D59; border-color: #B00D59; }

.ds-consent__btn--link {
    border-color: transparent;
    text-decoration: underline;
    padding-left: 6px;
    padding-right: 6px;
}

.ds-consent__btn--link:hover { border-color: transparent; color: rgba(255, 255, 255, .8); }

/* Einstellungen / Kategorien */
.ds-consent__details {
    max-width: 1120px;
    margin: 14px auto 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
}

.ds-consent__details[hidden] { display: none; }

.ds-consent__cat label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.ds-consent__cat p {
    margin: 4px 0 0 26px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}

.ds-consent__details .ds-consent__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .ds-consent__details { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    /* Text oben, Buttons darunter über die volle Breite (sonst ragen sie raus) */
    .ds-consent__inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .ds-consent__actions { flex: 1 1 100%; flex-wrap: wrap; gap: 8px; }
    .ds-consent__btn { flex: 1 1 auto; text-align: center; justify-content: center; min-height: 44px; }
}

/* Consent-Platzhalter (Elfsight ohne Zustimmung) */
.ds-consent-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 32px 20px;
    background: var(--paper-2, #f4f4f0);
    border: 1px dashed var(--ink-15, #d9d9d6);
    border-radius: 14px;
    color: var(--ink-60, #55555f);
    font-size: 14px;
}

.ds-consent-ph button {
    appearance: none;
    border: 0;
    background: #CE0F69;
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
}

.ds-consent-ph button:hover { background: #B00D59; }
