/* Riedmair Standorte – Einzelseite */
.rst-page {
    --rst-brown: #5C462B;
    --rst-yellow: #FAE99C;
    --rst-yellow-soft: #FDF6D3;
    --rst-gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    color: var(--rst-brown);
    box-sizing: border-box;
}
.rst-page *, .rst-page *::before, .rst-page *::after { box-sizing: border-box; }
.rst-page .rbh-map, .rst-page .rbh-map * { box-sizing: content-box; }

.rst-breadcrumb { font-size: 14px; margin-bottom: 18px; }
.rst-breadcrumb a { color: var(--rst-brown); text-decoration: underline; }
.rst-breadcrumb a:hover { text-decoration: none; }
.rst-breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .6; }

.rst-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 22px; }
.rst-title { margin: 0; color: var(--rst-brown); font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
.rst-status { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.rst-status.is-open { background: #e3f3df; color: #2b6a1f; }
.rst-status.is-closed { background: #f4e4e1; color: #8a3326; }

/* Galerie: ein großes Bild + zwei kleine */
.rst-gallery { display: grid; gap: 10px; margin-bottom: var(--rst-gap); }
.rst-gallery__item { margin: 0; overflow: hidden; background: var(--rst-yellow-soft); }
.rst-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rst-gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(260px, 38vw, 460px); }
.rst-gallery--3 .rst-gallery__item:first-child { grid-row: 1 / span 2; }
.rst-gallery--2 { grid-template-columns: 1fr 1fr; height: clamp(220px, 32vw, 400px); }
.rst-gallery--1 { grid-template-columns: 1fr; height: clamp(220px, 40vw, 460px); }

.rst-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rst-gap); margin-bottom: var(--rst-gap); }
.rst-card { background: var(--rst-yellow); padding: 28px 30px; }
.rst-card h2 { margin: 0 0 14px; font-size: 24px; color: var(--rst-brown); }
.rst-card address { font-style: normal; font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.rst-card p { margin: 0 0 10px; }
.rst-card a { color: var(--rst-brown); }

.rst-hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.rst-hours th, .rst-hours td { text-align: left; padding: 7px 0; border-bottom: 1px dotted rgba(92, 70, 43, .45); font-weight: 400; }
.rst-hours th { font-weight: 600; padding-right: 16px; }
.rst-hours tr:last-child th, .rst-hours tr:last-child td { border-bottom: 0; }

.rst-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.rst-btn { display: inline-block; padding: 10px 26px; background: var(--rst-brown); color: #fff !important; font-weight: 600; text-decoration: none !important; border: 2px solid var(--rst-brown); transition: transform .15s ease; }
.rst-btn:hover { transform: scale(1.04); }
.rst-btn--ghost { background: transparent; color: var(--rst-brown) !important; }

.rst-text, .rst-map, .rst-nearby { margin-top: 36px; }
.rst-text h2, .rst-map h2, .rst-nearby h2 { margin: 0 0 14px; font-size: 28px; color: var(--rst-brown); }
.rst-text p { font-size: 17px; line-height: 1.7; max-width: 820px; }
.rst-map a { color: var(--rst-brown); }

.rst-nearby ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.rst-nearby li { background: var(--rst-yellow-soft); padding: 12px 16px; display: flex; justify-content: space-between; gap: 10px; }
.rst-nearby a { color: var(--rst-brown); font-weight: 600; }
.rst-km { opacity: .7; font-size: 14px; white-space: nowrap; }
.rst-notice { background: var(--rst-yellow-soft); padding: 16px 20px; }

@media (max-width: 768px) {
    .rst-columns { grid-template-columns: 1fr; }
    .rst-card { padding: 22px 20px; }
    .rst-gallery--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: clamp(260px, 80vw, 420px); }
    .rst-gallery--3 .rst-gallery__item:first-child { grid-row: 1; grid-column: 1 / span 2; }
}

/* Überschriften wie im Rest der Seite */
.rst-page h1, .rst-page h2 { font-family: "Roboto Condensed", Roboto, sans-serif; font-weight: 700; letter-spacing: .2px; }
.rst-text a { color: var(--rst-brown); text-decoration: underline; font-weight: 600; }
.rst-text a:hover { text-decoration: none; }

.rst-order { margin: 16px 0 0; }
.rst-btn--order { background: var(--rst-yellow); color: var(--rst-brown) !important; border-color: var(--rst-brown); font-size: 18px; padding: 12px 30px; }
