/**
 * Roark Expose — mobile sticky action bar (docs/plans/audit-2026-09/design.md §4/§8).
 *
 * Fixed bottom bar with "Anfrage" (scroll to inquiry form) and "Anrufen"
 * (agent phone). Desktop is untouched — the bar only exists ≤767px.
 */

.roark-expose-mobile-bar {
    display: none;
}

.roark-expose-mobile-bar[hidden] {
    display: none;
}

@media (max-width: 767px) {
    body:has(.roark-expose-mobile-bar:not([hidden])) {
        padding-bottom: 76px;
    }

    .roark-expose-mobile-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 500;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.12);
    }

    .roark-expose-mobile-bar__btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 16px;
        border: 1px solid transparent;
        border-radius: var(--roark-radius-btn, 10px);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
        white-space: nowrap;
    }

    .roark-expose-mobile-bar__btn--inquiry {
        /* Primary CTA — shared theme-aware chain (roark-tokens.css). The
           "Anrufen" button below stays neutral grey on purpose; it is a
           secondary action, not a CTA. */
        background: var(--roark-btn-bg, #2563eb);
        color: var(--roark-btn-fg, #fff);
    }

    .roark-expose-mobile-bar__btn--inquiry:hover,
    .roark-expose-mobile-bar__btn--inquiry:focus-visible {
        background: var(--roark-btn-bg-hover, #1d4ed8);
        color: var(--roark-btn-fg, #fff);
    }

    .roark-expose-mobile-bar__btn--call {
        background: #f3f4f6;
        border-color: #e5e7eb;
        color: #111827;
    }
}
