body.consent-open {
    overflow: hidden;
}


/* =========================================
   CONSENT OVERLAY
========================================= */

.falkner-consent {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

.falkner-consent__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top left,
            rgba(162, 79, 42, 0.22),
            transparent 32rem
        ),
        rgba(47, 36, 28, 0.5);
    backdrop-filter: blur(8px);
}


/* =========================================
   CONSENT DIALOG
========================================= */

.falkner-consent__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 40rem);
    padding: 2rem;
    color: #fffaf2;
    background: rgba(47, 36, 28, 0.94);
    border: 1px solid rgba(255, 250, 242, 0.14);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(47, 36, 28, 0.28);
}

.falkner-consent__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 250, 242, 0.72);
}

.falkner-consent__title {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    line-height: 1.15;
    color: #fffaf2;
}

.falkner-consent__text {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.falkner-consent__text--small {
    color: rgba(255, 250, 242, 0.82);
}

.falkner-consent__link,
.falkner-consent__link:hover {
    color: #fffaf2;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}


/* =========================================
   CONSENT BUTTONS
========================================= */

.falkner-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.falkner-consent__button {
    min-width: 12rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.falkner-consent__button:hover {
    transform: translateY(-1px);
}

.falkner-consent__button--accept {
    color: #fff;
    background: var(--color-accent);
}

.falkner-consent__button--accept:hover {
    background: var(--color-accent-strong);
}

.falkner-consent__button--decline {
    color: #fffaf2;
    background: transparent;
    border-color: rgba(255, 250, 242, 0.36);
}

.falkner-consent__button--decline:hover {
    background: rgba(255, 250, 242, 0.08);
}


/* =========================================
   CONSENT TRIGGER
   Permanenter runder Button unten links
========================================= */
.falkner-consent-trigger {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1990;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
	height: 3rem;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
    color: #fff;
    background: rgba(0, 0, 0, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;   
    cursor: pointer;

    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}

.falkner-consent-trigger:hover {
    width: 7.2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.35);
    border-radius: 0.65rem;
    transform: translateY(-1px);   
}

.falkner-consent-trigger:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}


/* =========================================
   TRIGGER ICON
========================================= */

.falkner-consent-trigger__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2rem;
    height: 2rem;

    border-radius: 50%;
    background: rgba(255, 250, 242, 0.08);

    transition: transform 160ms ease;
}

.falkner-consent-trigger:hover .falkner-consent-trigger__icon {
    transform: scale(1.08);
}

.falkner-consent-trigger__icon svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}


/* =========================================
   TRIGGER TEXT
   Visuell ausgeblendet, für Screenreader
   weiterhin vorhanden
========================================= */
.falkner-consent-trigger__label {
    width: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    transition:
        max-width 220ms ease,
        opacity 160ms ease,
        margin-left 220ms ease;
}

.falkner-consent-trigger:hover .falkner-consent-trigger__label,
.falkner-consent-trigger:focus-visible .falkner-consent-trigger__label {
    width: auto;
    max-width: 5rem;
    margin-left: 0.5rem;
    opacity: 1;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .falkner-consent {
        padding: 1rem;
    }

    .falkner-consent__dialog {
        padding: 1.4rem;
        border-radius: 1.2rem;
    }

    .falkner-consent__button {
        width: 100%;
        min-width: 0;
    }

    .falkner-consent-trigger {
        left: 0.75rem;
        bottom: 0.75rem;
    }
}