/* Riedmair Pop-ups – Grundgestaltung (Feinschliff folgt) */
html.rsm-popup-lock { overflow: hidden; }
.rsm-popup { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.rsm-popup.is-open { display: flex; }
.rsm-popup[hidden] { display: none !important; }
.rsm-popup__overlay { position: absolute; inset: 0; background: rgba(32, 24, 14, .62); }
.rsm-popup__box {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    color: #4a3a25;
    padding: 34px 34px 30px;
    box-sizing: border-box;
    text-align: center;
    font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
}
.rsm-popup__img { display: block; width: auto; max-width: 100%; max-height: 220px; height: auto; margin: 0 auto 18px; }
.rsm-popup__title { margin: 0 0 14px; font-family: inherit; font-weight: 400; font-size: 30px; line-height: 1.15; color: #5c462b; }
.rsm-popup__text { font-size: 18px; line-height: 1.5; margin: 0 0 24px; }
.rsm-popup__text p { margin: 0 0 12px; }
.rsm-popup__text p:last-child { margin-bottom: 0; }
.rsm-popup__ok {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: #5c462b;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 13px 34px;
    cursor: pointer;
}
.rsm-popup__ok:hover, .rsm-popup__ok:focus-visible { background: #46351f; }
.rsm-popup__x {
    position: absolute; top: 6px; right: 10px;
    appearance: none; background: none; border: 0; cursor: pointer;
    font-size: 32px; line-height: 1; color: #5c462b; padding: 4px 8px;
}
@media (max-width: 520px) {
    .rsm-popup__box { padding: 28px 20px 24px; }
    .rsm-popup__title { font-size: 25px; }
    .rsm-popup__text { font-size: 16.5px; }
}
