/* ── Cookie consent banner (full-width bottom bar) ─────────────────────── */
.sm-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #fff;
    border-top: 1px solid rgba(17, 19, 88, 0.08);
    box-shadow: 0 -8px 32px rgba(17, 19, 88, 0.12);
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

.sm-cookie-bar *,
.sm-cookie-bar *::before,
.sm-cookie-bar *::after {
    box-sizing: border-box;
}

.sm-cookie-bar__inner {
    display: block;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.sm-cookie-bar__panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.sm-cookie-bar__panel--customize {
    flex-direction: column;
    gap: 1.5rem;
}

.sm-cookie-bar__panel--customize .sm-cookie-bar__actions--customize {
    width: min(100%, 220px);
    padding-top: 0;
}

.sm-cookie-bar__content {
    flex: 1;
    min-width: 0;
    max-width: 920px;
}

.sm-cookie-bar__title {
    margin: 0 0 0.85rem;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
}

.sm-cookie-bar__text {
    margin: 0 0 0.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #000000;
}

.sm-cookie-bar__text:last-child {
    margin-bottom: 0;
}

.sm-cookie-bar__link {
    color: #2035f5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sm-cookie-bar__link:hover {
    color: #1826e1;
}

.sm-cookie-bar__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    flex-shrink: 0;
    width: min(100%, 220px);
    padding-top: 0.15rem;
}

.sm-cookie-bar__btn {
    width: 100%;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.75rem;
}

.sm-cookie-bar .btn-primary {
    box-shadow: 0px 3px 5px -3px rgba(0, 0, 0, 0.75);
}

.sm-cookie-bar .btn-ghost {
    color: #000000;
    border: 1px solid #000000;
    background: #fff;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    box-shadow: 0px 3px 5px -3px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 3px 5px -3px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 3px 5px -3px rgba(0, 0, 0, 0.75);
}

.sm-cookie-bar .btn-ghost:hover {
    color: #000000;
    background: #fff;
    border-color: #000000;
}

.sm-cookie-bar__customize {
    display: block;
    margin-top: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111358;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sm-cookie-bar__customize:hover {
    color: #2035f5;
}

/* ── Customize preferences panel ───────────────────────────────────────── */
.sm-cookie-bar__customize-content {
    width: 100%;
}

.sm-cookie-bar__customize-title {
    margin: 0 0 1.25rem;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.sm-cookie-pref {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(17, 19, 88, 0.1);
}

.sm-cookie-pref__info {
    flex: 1;
    min-width: 0;
}

.sm-cookie-pref__name {
    margin: 0 0 0.35rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.sm-cookie-pref__desc {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.72);
}

.sm-cookie-pref__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #f1f3f5;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
}

.sm-cookie-bar__customize-note {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 19, 88, 0.1);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.72);
}

.sm-cookie-hidden {
    display: none !important;
}

/* ── Cookie policy page ────────────────────────────────────────────────── */
.cookies-page.privacy-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cookies-page .privacy-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/imprint.jpg');
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.cookies-page .privacy-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.cookies-page .privacy-hero__content {
    position: relative;
    z-index: 2;
}

.cookies-page .privacy-hero__title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 5.5vw, 5rem) !important;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    max-width: 860px;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}

.cookies-page .hero-sub {
    font-family: 'Open Sans', sans-serif;
}

.cookies-page.privacy-content {
    background: #fff;
    padding: var(--section-py) 0;
    font-family: 'Open Sans', sans-serif;
}

.cookies-page .privacy-body__title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
    font-weight: 600;
    color: #000 !important;
    margin-bottom: 2rem;
    background: none !important;
    -webkit-text-fill-color: #000 !important;
}

.cookies-page__updated {
    margin-bottom: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #000;
}

.cookies-page .privacy-block {
    margin-bottom: 1.75rem;
}

.cookies-page .privacy-block__heading {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem !important;
    font-weight: 600;
    color: #000 !important;
    margin-bottom: 0.75rem;
}

.cookies-page .privacy-block p,
.cookies-page .cookies-consent-box p,
.cookies-page .cookies-consent-box__hint {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #000;
    margin-bottom: 0.75rem;
}

.cookies-page .privacy-block a {
    color: #2035f5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookies-page .privacy-block a:hover {
    color: #1826e1;
}

.cookies-page .cookies-consent-box__hint {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.cookies-consent-box {
    background: #f1f3f5;
    border-left: 4px solid #2035f5;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

.cookies-consent-box h3 {
    margin: 0 0 0.75rem;
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #000;
}

.cookies-consent-box__btn {
    margin-top: 0.85rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.875rem;
}

.cookies-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cookies-status-badge--accepted {
    background: #d4edda;
    color: #155724;
}

.cookies-status-badge--declined {
    background: #f8d7da;
    color: #721c24;
}

.cookies-status-badge--not_set {
    background: #fff3cd;
    color: #856404;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.cookies-table th,
.cookies-table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #000;
}

.cookies-table th {
    background: #f8f9fa;
    color: #000;
    font-weight: 700;
}

@media (max-width: 768px) {
    .cookies-page .privacy-hero__title {
        font-size: clamp(2rem, 7vw, 2.8rem) !important;
    }
}

@media (max-width: 900px) {
    .sm-cookie-bar__inner {
        padding-top: 1.35rem;
        padding-bottom: 1.35rem;
    }

    .sm-cookie-bar__panel {
        flex-direction: column;
        gap: 1.25rem;
    }

    .sm-cookie-bar__actions,
    .sm-cookie-bar__actions--customize {
        width: 100%;
        max-width: 320px;
    }

    .sm-cookie-pref {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sm-cookie-pref__badge {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .sm-cookie-bar__inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .sm-cookie-bar__actions {
        max-width: none;
    }

    .cookies-page .privacy-hero__title {
        font-size: clamp(1.7rem, 8vw, 2.2rem) !important;
    }

    .cookies-page .privacy-block p,
    .cookies-page .privacy-block__heading {
        font-size: 1rem !important;
    }

    .cookies-table {
        display: block;
        overflow-x: auto;
    }
}
