/* Haase Altersverifizierung — schlankes Overlay-Popup (Ja/Nein-Selbstauskunft).
   Optik bewusst neutral: weiße Box, zentriert, Buttons im warmen Goldton.
   Über die CSS-Variablen unten an das jeweilige Theme anpassbar. */

:root {
    --haase-av-accent: #b8924f;
    --haase-av-accent-hover: #a37e3f;
}

html.haase-av-locked {
    overflow: hidden;
}

.haase-av-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(40, 36, 30, 0.55);
    box-sizing: border-box;
}

.haase-av-overlay.is-visible {
    display: flex;
}

.haase-av-box {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    box-sizing: border-box;
    font-family: inherit;
}

.haase-av-logo {
    margin-bottom: 16px;
}

.haase-av-logo img {
    display: inline-block;
    height: auto;
}

.haase-av-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.haase-av-subtitle {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.4;
    color: #555555;
}

.haase-av-subtitle.haase-av-not-old {
    color: #b02a2a;
}

.haase-av-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.haase-av-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    cursor: pointer;
    min-width: 120px;
    padding: 12px 24px;
    font-size: 16px;
    font-family: inherit;
    color: #ffffff;
    background: var(--haase-av-accent);
    border-radius: 3px;
    transition: background-color 0.15s ease;
}

.haase-av-btn:hover,
.haase-av-btn:focus {
    background: var(--haase-av-accent-hover);
    outline: none;
}

.haase-av-btn:focus-visible {
    outline: 2px solid #6b5326;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .haase-av-box {
        padding: 24px 18px;
    }

    .haase-av-btn {
        min-width: 100px;
        flex: 1 1 auto;
    }
}
