/* ============================================================================
   Rheingold Apartments - Modulares Native CSS3 (Zero-Build, DSGVO-konform)
   ============================================================================ */

/* 1. Lokale Schriftarten & Icon-Font (100 % DSGVO - keine externen CDNs) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Material Symbols Rounded";
  src: url("../fonts/material-symbols-rounded.woff2?v=20261122-3") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
}

/* Lokale Material Symbols Rounded Utility-Klassen */
.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  width: 1em;
  height: 1em;
  overflow: hidden;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.material-symbols-rounded--sm {
  font-size: 16px;
}

.material-symbols-rounded--md {
  font-size: 20px;
}

.material-symbols-rounded--lg {
  font-size: 24px;
}

.material-symbols-rounded--filled {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* 2. Design-Tokens (einfach anpassbar fuer Kundenprojekte) */
:root {
  --rg-ink: #17243a;
  --rg-navy: #132238;
  --rg-navy-hover: #1d3454;
  --rg-muted: #4e5968;
  --rg-gold: #a4783c;
  --rg-gold-dark: #77562d;
  --rg-gold-bright: #d6ad5c;
  --rg-line: #d8e2ee;
  --rg-line-soft: #e3ebf4;
  --rg-line-strong: #c4d2e3;
  --rg-paper: #f4f7fb;
  --rg-cream: #edf3fa;
  --rg-beige: #e8eff8;
  --rg-sand: #ebf1f8;
  --rg-white: #ffffff;
  --rg-success-bg: #ebf8ef;
  --rg-success-text: #166534;
  --rg-error-bg: #faeeed;
  --rg-error-text: #8b2926;
  --rg-radius: 12px;
  --rg-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --rg-display: "Manrope", "Inter", Arial, sans-serif;
  color-scheme: light;
}

/* 3. Basis-Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--rg-paper);
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--rg-paper);
  color: var(--rg-ink);
  font-family: var(--rg-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: opacity 0.14s ease-out;
}

html.rg-i18n-pending body {
  opacity: 0;
}

button,
a,
input,
select,
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

button:disabled {
  opacity: 0.45;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
select,
summary {
  touch-action: manipulation;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2.5px solid #916a36;
  outline-offset: 3px;
}

img,
video {
  display: block;
  max-width: 100%;
}

svg {
  flex-shrink: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--rg-ink);
  font-family: var(--rg-display);
}

p {
  color: var(--rg-muted);
  line-height: 1.65;
}

summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1400;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--rg-navy);
  color: var(--rg-white);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.16s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* 4. Layout-Container */
.rg-site {
  background: var(--rg-paper);
  color: var(--rg-ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.rg-site main {
  flex: 1 0 auto;
}

.rg-site :where(section[id], #rg-main, #kontakt, #apartment-booking) {
  scroll-margin-top: 84px;
}

#bewertungen {
  scroll-margin-top: 94px;
}

.rg-anchor-target {
  position: relative;
  top: -84px;
  display: block;
  height: 0;
  pointer-events: none;
}

.rg-shell {
  width: min(calc(100% - 32px), 1260px);
  margin-inline: auto;
}

.rg-section {
  padding-block: 44px;
}

@media (min-width: 768px) {
  .rg-shell,
  .rg-header > .rg-shell,
  .rg-hero > .rg-shell {
    width: min(calc(100% - 64px), 1260px);
  }
  .rg-section {
    padding-block: 76px;
  }
}

/* 5. Buttons & Links */
.rg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--rg-navy);
  color: var(--rg-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.rg-button:hover:not(:disabled) {
  background: var(--rg-navy-hover);
}

.rg-button-pill {
  border-radius: 9999px;
}

.rg-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid var(--rg-line);
  background: #f4f7fb;
  color: var(--rg-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.rg-button-secondary:hover:not(:disabled) {
  background: #e6eef7;
  border-color: var(--rg-line-strong);
  color: #111a2a;
}

.rg-button-compact {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  gap: 6px;
  white-space: nowrap;
}

.rg-button-sm {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12.5px;
  gap: 6px;
  border-radius: 8px;
}

.rg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  color: var(--rg-ink);
  font-size: 15px;
  font-weight: 600;
  text-underline-offset: 5px;
}
.rg-text-link:hover {
  text-decoration: underline;
}

.rg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rg-gold-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rg-section-heading {
  margin-bottom: 24px;
}
.rg-section-heading h2 {
  font-size: clamp(28px, 5.8vw, 44px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.rg-section-heading p {
  margin-top: 10px;
  max-width: 56ch;
}

/* ============================================================================
   6. HEADER (oben fixiert, Boutique-Stil)
   ============================================================================ */
.rg-header {
  position: sticky;
  top: 0;
  inset-block-start: 0;
  z-index: 1200;
  background: rgba(244, 247, 251, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rg-line);
}

.rg-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 66px;
  gap: 6px;
}

.rg-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding-block: 4px;
  color: var(--rg-navy);
  text-decoration: none;
  white-space: nowrap;
}

.rg-brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(176px, 46vw);
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .rg-brand-logo {
    height: 40px;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .rg-brand-logo {
    height: 44px;
  }
}

.rg-footer .rg-brand {
  text-decoration: none;
}

.rg-footer .rg-brand-logo {
  height: 38px;
  max-width: 190px;
}

.rg-header-actions,
.rg-language {
  display: flex;
  align-items: center;
}
.rg-header-actions {
  gap: 2px;
  flex-shrink: 0;
}

.rg-header-contact-group {
  display: none;
  align-items: center;
  gap: 2px;
}

.rg-header-contact {
  display: none;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding-inline: 6px;
  color: var(--rg-muted);
  font-size: 12.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.rg-header-contact svg,
.rg-header-contact .material-symbols-rounded,
.rg-nav-mobile-mail .material-symbols-rounded {
  color: var(--rg-gold);
}
.rg-header-contact:hover {
  color: var(--rg-navy);
}

.rg-language {
  gap: 0;
  padding: 0;
  border-radius: 9999px;
}

.rg-language button,
.rg-contact-toggle,
.rg-menu-button {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 40px;
  color: var(--rg-muted);
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  transition: background 0.16s ease, color 0.16s ease;
}

.rg-language button[aria-pressed="true"] {
  color: var(--rg-navy);
  background: #e2ebf6;
}

.rg-contact-toggle,
.rg-menu-button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex-shrink: 0;
  color: var(--rg-navy);
}

.rg-contact-toggle-icon {
  font-size: 21px;
}

.rg-contact-toggle:hover,
.rg-menu-button:hover,
.rg-language button:hover {
  background: var(--rg-sand);
}

.rg-contact-toggle[aria-expanded="true"] {
  background: #e2ebf6;
  color: var(--rg-navy);
}

@media (min-width: 420px) {
  .rg-header-inner {
    gap: 10px;
  }
  .rg-header-actions {
    gap: 4px;
  }
  .rg-language {
    gap: 2px;
    padding: 2px;
  }
  .rg-language button {
    min-width: 40px;
    min-height: 40px;
    font-size: 12px;
  }
}

/* Mobiles Direktkontakt-Popover (schwebend direkt unter dem Header) */
.rg-contact-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  z-index: 1260;
  width: min(calc(100vw - 24px), 290px);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(19, 34, 56, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.rg-contact-popover[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.rg-contact-popover-head {
  padding: 5px 12px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(19, 34, 56, 0.56);
}

.rg-contact-popover-list {
  display: grid;
}

.rg-contact-popover-divider {
  height: 1px;
  margin: 2px 10px;
  background: rgba(19, 34, 56, 0.08);
}

.rg-contact-popover-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--rg-navy);
  text-decoration: none;
  transition: background 0.14s ease;
}

.rg-contact-popover-item:hover,
.rg-contact-popover-item:active,
.rg-contact-popover-item:focus-visible {
  background: rgba(19, 34, 56, 0.05);
}

.rg-contact-popover-badge {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #ebf2fb;
  color: var(--rg-navy);
}

.rg-contact-popover-icon {
  font-size: 19px;
}

.rg-contact-popover-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rg-contact-popover-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: rgba(19, 34, 56, 0.58);
}

.rg-contact-popover-value {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rg-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .rg-contact-popover {
    transition: none;
    transform: none;
  }
}

.rg-navigation {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  inset: 100% 0 auto;
  z-index: 1250;
  max-height: calc(100dvh - 66px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 20px 20px;
  background: var(--rg-paper);
  border-bottom: 1px solid var(--rg-line);
  box-shadow: 0 18px 32px rgba(19, 34, 56, 0.09);
}

.rg-navigation[data-open="true"] {
  display: grid;
}

.rg-navigation > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 6px;
  color: var(--rg-navy);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.rg-navigation > a + a {
  border-top: 1px solid var(--rg-line-soft);
}
.rg-navigation > a:hover,
.rg-navigation > a[aria-current="page"] {
  color: var(--rg-gold-dark);
}

.rg-nav-mobile-extras {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--rg-line);
}

.rg-nav-mobile-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 6px;
  color: var(--rg-muted);
  font-size: 14px;
  font-weight: 550;
}
.rg-nav-mobile-mail svg {
  color: var(--rg-gold);
}

.rg-nav-mobile-cta {
  width: 100%;
  min-height: 48px;
  border-radius: 9999px;
  font-size: 14.5px;
}

.rg-header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .rg-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 76px;
    gap: 16px;
  }
  .rg-header-inner > .rg-brand {
    justify-self: start;
  }
  .rg-header-actions {
    justify-self: end;
    gap: 10px;
  }
  .rg-navigation,
  .rg-navigation[data-open="true"] {
    position: static;
    z-index: auto;
    max-height: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.8vw, 24px);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .rg-navigation > a {
    min-height: 44px;
    padding-inline: 2px;
    font-size: 14px;
    font-weight: 550;
  }
  .rg-navigation > a + a {
    border: 0;
  }
  .rg-nav-mobile-extras {
    display: none;
  }
  .rg-menu-button,
  .rg-contact-toggle,
  .rg-contact-popover {
    display: none;
  }
  .rg-header-cta {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 20px;
    border-radius: 9999px;
    background: var(--rg-navy);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
  }
}

@media (min-width: 1160px) {
  .rg-header-contact-group {
    display: inline-flex;
  }
  .rg-header-contact-group .rg-header-contact-phone {
    display: inline-flex;
  }
}

@media (min-width: 1200px) {
  .rg-header-contact:not(.rg-header-contact-mail) {
    display: inline-flex;
  }
}

@media (min-width: 1360px) {
  .rg-header-contact-group .rg-header-contact-mail {
    display: inline-flex;
  }
}

/* ============================================================================
   7. BOUTIQUE HERO CARD (Unverdunkeltes Vollbild + kompakte rauchige Glasbox)
   ============================================================================ */
.rg-hero {
  padding-block: 8px 0;
  background: var(--rg-paper);
}

.rg-hero-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: clamp(520px, 70svh, 600px);
  min-height: 520px;
  max-height: 600px;
  padding: 10px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--rg-cream);
  box-shadow: 0 18px 44px rgba(19, 34, 56, 0.12);
}

.rg-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  pointer-events: none;
  filter: none;
  opacity: 1;
}

.rg-hero-content {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: auto;
  max-width: none;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(16, 22, 34, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}

.rg-hero-rating,
.hero-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(16, 22, 34, 0.22);
  box-shadow: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: 0 1px 6px rgba(15, 23, 42, 0.34);
  white-space: nowrap;
  max-width: 100%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rg-hero-rating-star {
  color: var(--rg-gold-bright);
  flex-shrink: 0;
}

.rg-hero-rating-text {
  line-height: 1.2;
  text-decoration: none;
}

.rg-hero-rating-chevron {
  font-size: 16px;
  line-height: 1;
  opacity: 0.85;
  margin-left: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-rating-link:hover,
.hero-rating-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-rating-link:hover .rg-hero-rating-chevron,
.hero-rating-link:focus-visible .rg-hero-rating-chevron {
  opacity: 1;
  transform: translateX(2px);
}

.hero-rating-link:focus-visible {
  outline: 2px solid var(--rg-gold-bright);
  outline-offset: 3px;
}

.hero-rating-link:active {
  opacity: 0.9;
}

.rg-hero-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--rg-display);
  font-size: clamp(1.35rem, 5.6vw, 1.6rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.42);
  max-width: none;
}

.rg-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  background: #ffffff;
  color: #0f1b2d;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rg-hero-cta-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.rg-hero-cta:hover {
  background: #f5f8fc;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
}

.rg-hero-cta:hover .rg-hero-cta-arrow,
.rg-hero-cta:focus-visible .rg-hero-cta-arrow {
  transform: translateX(2px);
}

.rg-hero-cta:focus-visible {
  outline: 2px solid var(--rg-gold-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .rg-hero-rating,
  .hero-rating-link,
  .rg-hero-rating-chevron,
  .rg-hero-cta,
  .rg-hero-cta-arrow {
    transition: none;
    transform: none !important;
  }
}

@media (min-width: 768px) {
  .rg-hero {
    padding-block: 16px 12px;
  }
  .rg-hero-card {
    min-height: 520px;
    height: clamp(520px, 66svh, 640px);
    max-height: 660px;
    padding: 28px 32px;
    border-radius: 24px;
  }
  .rg-hero-img {
    object-position: center 40%;
  }
  .rg-hero-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: inline-flex;
    width: fit-content;
    max-width: min(100%, 400px);
    padding: 22px 26px 24px 26px;
    gap: 14px;
    border-radius: 22px;
  }
  .rg-hero-rating,
  .hero-rating-link {
    min-height: 28px;
    padding: 6px 12px;
    font-size: 13px;
  }
  .rg-hero-title {
    max-width: 12.2ch;
    font-size: clamp(1.62rem, 2.3vw, 2.05rem);
    letter-spacing: -0.025em;
    line-height: 1.08;
  }
  .rg-hero-cta {
    width: auto;
    padding: 13px 22px;
    font-size: 0.94rem;
  }
}

@media (min-width: 1200px) {
  .rg-hero {
    padding-block: 18px 12px;
  }
  .rg-hero-card {
    min-height: 560px;
    height: clamp(560px, 68svh, 660px);
    max-height: 680px;
    padding: 34px 38px;
    border-radius: 28px;
  }
  .rg-hero-content {
    max-width: min(100%, 400px);
    padding: 22px 26px 24px 26px;
    gap: 14px;
    border-radius: 22px;
  }
  .rg-hero-rating,
  .hero-rating-link {
    font-size: 13px;
  }
  .rg-hero-title {
    max-width: 12.2ch;
    font-size: clamp(1.7rem, 2.25vw, 2.12rem);
    line-height: 1.08;
  }
  .rg-hero-cta {
    padding: 13px 22px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1280px) {
  .rg-hero > .rg-shell {
    width: min(calc(100% - 48px), 1380px);
  }
}

/* ============================================================================
   8. ENDLOS-LAUFSCHRIFT / MARQUEE (unter der Hero-Karte)
   ============================================================================ */
.rg-marquee-band {
  width: 100%;
  margin-top: 10px;
  background: var(--rg-paper);
  padding: 10px 0;
  overflow: hidden;
}

.rg-marquee {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.rg-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: rg-marquee 30s linear infinite;
}

.rg-marquee:hover .rg-marquee-track,
.rg-marquee:active .rg-marquee-track,
.rg-marquee:focus-within .rg-marquee-track {
  animation-play-state: paused;
}

.rg-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0 32px 0 0;
  gap: 32px;
  white-space: nowrap;
}

.rg-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rg-navy);
  letter-spacing: 0.005em;
  line-height: 1.2;
}

.rg-marquee-icon {
  color: var(--rg-gold);
}

@keyframes rg-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .rg-marquee-band {
    margin-top: 0;
    padding: 4px 0 14px;
  }
  .rg-marquee {
    width: min(calc(100% - 64px), 1260px);
    height: 50px;
  }
  .rg-marquee-track {
    animation-duration: 36s;
  }
  .rg-marquee-group {
    gap: 44px;
    padding-right: 44px;
  }
  .rg-marquee-item {
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rg-marquee {
    height: auto;
    padding: 8px 16px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .rg-marquee-track {
    animation: none;
    width: 100%;
    justify-content: center;
  }
  .rg-marquee-duplicate {
    display: none;
  }
  .rg-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 10px 20px;
    white-space: normal;
  }
}

/* ============================================================================
   9. BUCHUNGS-SUCHSEKTION ("Wann moechtest Du uns besuchen?")
   ============================================================================ */
.rg-search-section {
  background: var(--rg-beige);
  border-top: 1px solid rgba(19, 34, 56, 0.08);
  border-bottom: 1px solid rgba(19, 34, 56, 0.08);
  padding: 18px 16px 24px;
}

.rg-search-shell {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
}

.rg-search-heading {
  margin: 0 0 11px;
  text-align: center;
  color: var(--rg-navy);
  font-family: var(--rg-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.rg-date-filter-wrap {
  position: relative;
  z-index: 40;
}

.rg-date-filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 16px;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: var(--rg-white);
  box-shadow: 0 4px 18px rgba(19, 34, 56, 0.05);
  overflow: hidden;
}

.rg-date-filter-control {
  display: flex;
  min-width: 0;
}

.rg-filter-checkin {
  border-right: 1px solid rgba(19, 34, 56, 0.10);
  border-bottom: 1px solid rgba(19, 34, 56, 0.10);
}

.rg-filter-checkout {
  border-bottom: 1px solid rgba(19, 34, 56, 0.10);
}

.rg-filter-guests {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(19, 34, 56, 0.10);
}

.rg-quick-date-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  background: transparent;
  color: var(--rg-navy);
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.rg-filter-checkin .rg-quick-date-btn {
  border-top-left-radius: 15px;
}

.rg-filter-checkout .rg-quick-date-btn {
  border-top-right-radius: 15px;
}

.rg-quick-date-btn:hover {
  background: rgba(232, 239, 248, 0.45);
}

.rg-quick-date-btn[aria-expanded="true"] {
  background: #eff5fc;
  box-shadow: inset 0 0 0 1.5px rgba(19, 34, 56, 0.34);
}

.rg-quick-date-btn:focus-visible {
  outline: none;
  background: #eff5fc;
  box-shadow: inset 0 0 0 1.5px rgba(19, 34, 56, 0.48);
}

.rg-quick-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(19, 34, 56, 0.58);
  white-space: nowrap;
}

.rg-quick-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.rg-quick-value {
  min-width: 0;
  color: var(--rg-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-quick-date-btn.has-dates .rg-quick-value {
  color: var(--rg-navy);
  font-weight: 600;
}

.rg-quick-date-btn .rg-quick-icon {
  font-size: 18px;
  color: rgba(19, 34, 56, 0.55);
  transition: color 0.16s ease;
}

.rg-quick-date-btn[aria-expanded="true"] .rg-quick-icon,
.rg-quick-date-btn:hover .rg-quick-icon {
  color: var(--rg-navy);
}

.rg-date-filter-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding: 10px 12px 12px;
  background: var(--rg-white);
}

.rg-date-choose-btn {
  width: 100%;
  min-height: 45px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--rg-navy);
  color: var(--rg-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  gap: 7px;
  white-space: nowrap;
  box-shadow: none;
}

.rg-date-choose-btn .rg-search-cta-icon {
  font-size: 18px;
}

.rg-date-choose-btn:hover {
  background: var(--rg-navy-hover);
}

.rg-date-filter-active-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 0 2px;
}

.rg-date-filter-status {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rg-muted);
}

.rg-date-reset-btn {
  min-height: 30px;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 9999px;
}

@media (min-width: 900px) {
  .rg-search-section {
    padding: 30px 0 38px;
  }
  .rg-search-shell {
    width: min(calc(100% - 64px), 1260px);
  }
  .rg-search-heading {
    margin-bottom: 15px;
    font-size: clamp(22px, 1.8vw, 27px);
  }
  .rg-date-filter-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: stretch;
    border-radius: 18px;
  }
  .rg-filter-checkin,
  .rg-filter-checkout {
    border-right: 1px solid rgba(19, 34, 56, 0.10);
    border-bottom: 0;
  }
  .rg-filter-guests {
    grid-column: auto;
    border-right: 0;
    border-bottom: 0;
  }
  .rg-filter-checkin .rg-quick-date-btn {
    border-radius: 17px 0 0 17px;
  }
  .rg-filter-checkout .rg-quick-date-btn {
    border-radius: 0;
  }
  .rg-quick-date-btn {
    padding: 14px 20px;
    gap: 4px;
  }
  .rg-quick-label {
    font-size: 11px;
  }
  .rg-quick-value {
    font-size: 15px;
  }
  .rg-date-filter-cta {
    grid-column: auto;
    padding: 9px 10px 9px 12px;
  }
  .rg-date-choose-btn {
    width: auto;
    min-height: 50px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
  }
}

/* Popover (Kalender & Gaeste) */
.rg-search-popover {
  position: relative;
  margin-top: 10px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--rg-white);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.16), 0 4px 16px rgba(15, 23, 42, 0.06);
}

@media (min-width: 720px) {
  .rg-search-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    margin-top: 0;
    z-index: 60;
    width: min(100%, 740px);
    padding: 24px 28px 20px;
    border-radius: 24px;
  }
  .rg-guests-popover {
    left: auto;
    right: 0;
    width: min(100%, 400px);
    padding: 20px 22px 18px;
  }
}

/* ============================================================================
   10. NATIVER VANILLA-JS KALENDER (.rg-cal-*)
   ============================================================================ */
.rg-cal-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
@media (min-width: 580px) {
  .rg-cal-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
  }
}

.rg-cal-summary {
  display: grid;
  gap: 3px;
}
.rg-cal-summary strong {
  font-family: var(--rg-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rg-ink);
}
.rg-cal-summary span {
  font-size: 13px;
  color: var(--rg-muted);
}

.rg-cal-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rg-line-strong);
  border-radius: 10px;
  background: var(--rg-white);
  overflow: hidden;
}
@media (min-width: 580px) {
  .rg-cal-split {
    min-width: 268px;
    flex-shrink: 0;
  }
}

.rg-cal-split-cell {
  padding: 7px 11px;
  display: grid;
  gap: 1px;
}
.rg-cal-split-cell + .rg-cal-split-cell {
  border-left: 1px solid var(--rg-line);
}
.rg-cal-split-cell.is-active {
  background: #edf3fa;
  box-shadow: inset 0 0 0 1.5px var(--rg-ink);
}
.rg-cal-split-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rg-gold-dark);
}
.rg-cal-split-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--rg-ink);
  white-space: nowrap;
}
.rg-cal-split-value.is-empty {
  color: var(--rg-muted);
  font-weight: 500;
}

.rg-cal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rg-cal-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  color: var(--rg-ink);
  transition: background 0.15s ease;
}
.rg-cal-nav-btn:hover:not(:disabled) {
  background: var(--rg-sand);
}

.rg-cal-months {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .rg-cal-months.is-dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

.rg-cal-month-title {
  text-align: center;
  font-family: var(--rg-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rg-ink);
  margin-bottom: 8px;
}

.rg-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 2px;
}

.rg-cal-weekday {
  text-align: center;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--rg-muted);
  padding: 4px 0 7px;
}

.rg-cal-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  height: 44px;
  position: relative;
}

.rg-cal-cell.is-in-range {
  background: rgba(200, 155, 60, 0.16);
}
.rg-cal-cell.is-range-start.has-end {
  background: linear-gradient(90deg, transparent 50%, rgba(200, 155, 60, 0.16) 50%);
}
.rg-cal-cell.is-range-end {
  background: linear-gradient(90deg, rgba(200, 155, 60, 0.16) 50%, transparent 50%);
}
.rg-cal-cell.is-hover-range {
  background: rgba(200, 155, 60, 0.10);
}
.rg-cal-cell.is-hover-start {
  background: linear-gradient(90deg, transparent 50%, rgba(200, 155, 60, 0.10) 50%);
}
.rg-cal-cell.is-hover-end {
  background: linear-gradient(90deg, rgba(200, 155, 60, 0.10) 50%, transparent 50%);
}
.rg-cal-cell.is-hover-end .rg-cal-day:not(.is-selected) {
  background: rgba(200, 155, 60, 0.2);
  color: #0f172a;
  box-shadow: inset 0 0 0 1.5px rgba(200, 155, 60, 0.72);
}

.rg-cal-day {
  width: 42px;
  height: 42px;
  min-height: 42px;
  max-width: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  transition: background 0.14s ease, box-shadow 0.14s ease, color 0.14s ease;
}

.rg-cal-day:hover:not(:disabled):not(.is-selected) {
  background: rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 0 0 1.5px rgba(15, 23, 42, 0.35);
}

.rg-cal-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px #c89b3c;
}

.rg-cal-day.is-selected {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
}

.rg-cal-day.is-blocked,
.rg-cal-day:disabled {
  color: #94a3b8;
  text-decoration: line-through;
  opacity: 0.48;
  cursor: not-allowed;
}
.rg-cal-day.is-checkout-only {
  text-decoration: none;
  opacity: 1;
  color: #0f172a;
  background: rgba(200, 155, 60, 0.14);
  box-shadow: inset 0 0 0 1px rgba(200, 155, 60, 0.45);
  cursor: pointer;
}

.rg-cal-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--rg-muted);
}
.rg-cal-note.is-error {
  color: var(--rg-error-text);
  font-weight: 600;
}

.rg-cal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rg-line);
}

.rg-cal-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--rg-muted);
  text-align: center;
}
.rg-cal-count.is-checkout-step {
  color: var(--rg-navy);
}

.rg-cal-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.rg-cal-clear-link {
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rg-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rg-cal-clear-link:hover {
  background: var(--rg-sand);
}

/* Gaeste-Stepper */
.rg-quick-guests-list {
  display: grid;
  gap: 8px;
}

.rg-guest-selectors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 520px) {
  .rg-guest-selectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rg-guest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--rg-line);
  border-radius: 10px;
  background: var(--rg-white);
}

.rg-guest-meta {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.rg-guest-meta strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rg-ink);
  line-height: 1.2;
}
.rg-guest-meta span {
  font-size: 11.5px;
  color: var(--rg-muted);
  line-height: 1.2;
}

.rg-stepper {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.rg-stepper-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rg-line-strong);
  background: var(--rg-paper);
  color: var(--rg-ink);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.14s ease, border-color 0.14s ease;
}
@media (min-width: 768px) {
  .rg-stepper-btn {
    width: 36px;
    height: 36px;
  }
}
.rg-stepper-btn:hover:not(:disabled) {
  background: var(--rg-sand);
  border-color: var(--rg-gold);
}
.rg-stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rg-stepper-value {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 750;
  color: var(--rg-ink);
}

/* ============================================================================
   11. APARTMENTS-SEKTION & FOTO-SLIDER
   ============================================================================ */
.rg-collection {
  background: var(--rg-sand);
}

.rg-collection .rg-shell {
  max-width: 1260px;
}

.rg-collection .rg-section-heading {
  margin-bottom: 24px;
}

.rg-collection .rg-section-heading .rg-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: var(--rg-gold-dark);
}

.rg-collection .rg-section-heading h2 {
  margin: 6px 0 8px;
  color: var(--rg-navy);
  font-size: clamp(28px, 5.4vw, 40px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.rg-collection .rg-section-heading p {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.55;
  color: var(--rg-muted);
}

/* Mobile 1-spaltig, ab Tablet/Desktop (>= 768px) symmetrisches 2×2-Raster */
.rg-apartment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 768px) {
  .rg-apartment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
}

@media (min-width: 1120px) {
  .rg-apartment-grid {
    gap: 28px;
  }
}

.rg-apartment {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: var(--rg-white);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(19, 34, 56, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

@media (hover: hover) {
  .rg-apartment:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(19, 34, 56, 0.09);
    border-color: rgba(19, 34, 56, 0.22);
  }
}

/* 1. Ganzes, unbeschnittenes Titelbild + Stadt oben links (ohne verdeckenden Textbalken unten) */
.rg-card-cover {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e6eef7;
  width: 100%;
}

@media (min-width: 768px) {
  .rg-card-cover {
    aspect-ratio: 16 / 10;
  }
}

.rg-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}
.rg-slider-track::-webkit-scrollbar {
  display: none;
}

.rg-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.rg-slider-slide-btn {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.rg-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform 0.5s ease;
}

.rg-card-city-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(19, 34, 56, 0.10);
  color: var(--rg-navy);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(19, 34, 56, 0.14);
  pointer-events: none;
}

.rg-card-city-icon {
  font-size: 15px;
  color: var(--rg-gold-dark);
}

.rg-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--rg-ink);
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 4px 14px rgba(23, 36, 58, 0.14);
  pointer-events: none;
}
.rg-card-badge svg,
.rg-card-badge .material-symbols-rounded {
  color: #886334;
}

.rg-card-available-badge {
  left: auto;
  right: 12px;
  background: rgba(235, 248, 239, 0.95);
  border-color: rgba(22, 101, 52, 0.22);
  color: var(--rg-success-text);
}
.rg-card-available-badge svg,
.rg-card-available-badge .material-symbols-rounded {
  color: #15803d;
}

.rg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--rg-ink);
  box-shadow: 0 3px 10px rgba(23, 36, 58, 0.18);
  transition: background 0.15s ease, opacity 0.18s ease, visibility 0.18s ease;
}
.rg-slider-arrow:hover {
  background: #ffffff;
}
.rg-slider-arrow.is-hidden,
.rg-slider-arrow:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.rg-slider-prev { left: 12px; }
.rg-slider-next { right: 12px; }

.rg-slider-dots {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 9999px;
  background: rgba(19, 34, 56, 0.48);
  backdrop-filter: blur(6px);
}

.rg-card-slider-dots {
  top: auto;
  bottom: 12px;
}

.rg-card-slider-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(19, 34, 56, 0.62);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.rg-card-slider-counter[hidden] {
  display: none;
}

/* 6. Abschluss-Slide der Startseiten-Apartment-Karten ("Verfuegbarkeit pruefen") */
.rg-slider-slide--cta {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.rg-card-cta-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 44px 54px 20px;
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.rg-card-cover img.rg-card-cta-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.45);
  transform: scale(1.1);
  transition: transform 0.35s ease, filter 0.35s ease;
  z-index: 0;
}

.rg-card-cta-slide:hover img.rg-card-cta-slide-bg,
.rg-card-cta-slide:focus-visible img.rg-card-cta-slide-bg {
  transform: scale(1.14);
  filter: blur(5px) brightness(0.5);
}

.rg-card-cta-slide-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.56) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.rg-card-cta-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-align: center;
  max-width: 100%;
}

.rg-card-cta-slide-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.rg-card-cta-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid rgba(200, 155, 60, 0.72);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.rg-card-cta-slide-icon {
  color: #b48324;
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.rg-card-cta-slide:hover .rg-card-cta-slide-btn,
.rg-card-cta-slide:focus-visible .rg-card-cta-slide-btn {
  background: #c89b3c;
  color: #ffffff;
  border-color: #c89b3c;
  transform: translateY(-1px);
}

.rg-card-cta-slide:hover .rg-card-cta-slide-icon,
.rg-card-cta-slide:focus-visible .rg-card-cta-slide-icon {
  color: #ffffff;
}

.rg-card-cta-slide:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: -3px;
}

.rg-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.2s ease, background 0.2s ease;
}
.rg-slider-dot.is-active {
  width: 16px;
  background: #ffffff;
}

/* 2-7. Karten-Inhalt unter dem Titelbild in klarer vertikaler Reihenfolge */
.rg-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 11px;
  padding: 16px 14px 16px;
}

@media (min-width: 600px) {
  .rg-card-body {
    gap: 12px;
    padding: 18px 18px 18px;
  }
}

@media (min-width: 1024px) {
  .rg-card-body {
    gap: 13px;
    padding: 22px 24px 22px;
  }
}

.rg-card-title {
  margin: 0;
  font-family: var(--rg-display);
  font-size: clamp(20px, 4.8vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--rg-navy);
}

@media (min-width: 768px) {
  .rg-card-title {
    font-size: clamp(19px, 2.2vw, 23px);
  }
}

.rg-card-title a {
  color: inherit;
  text-decoration: none;
}

.rg-card-title a:hover {
  color: var(--rg-gold-dark);
}

.rg-card-facts-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  font-size: 12.8px;
  font-weight: 550;
  line-height: 1.38;
  color: var(--rg-muted);
}

@media (min-width: 600px) {
  .rg-card-facts-row {
    gap: 6px 9px;
    font-size: 13.5px;
  }
}

.rg-card-fact-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.rg-card-fact-icon {
  font-size: 16px;
  color: var(--rg-gold-dark);
}

.rg-card-fact-dot {
  color: rgba(19, 34, 56, 0.30);
}

.rg-card-highlights-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.rg-card-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #edf3fa;
  border: 1px solid rgba(19, 34, 56, 0.10);
  color: var(--rg-navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .rg-card-highlight-pill {
    padding: 5px 12px;
    font-size: 12.5px;
  }
}

.rg-card-highlight-icon {
  font-size: 15px;
  color: var(--rg-gold-dark);
}

.rg-card-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-top: 4px;
  line-height: 1.25;
}

.rg-card-price-night {
  white-space: nowrap;
}

.rg-card-price-night strong {
  font-family: var(--rg-display);
  font-size: clamp(19px, 4.4vw, 22px);
  font-weight: 750;
  color: var(--rg-navy);
}

.rg-card-price-night span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rg-muted);
}

.rg-card-price-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(19, 34, 56, 0.58);
}

.rg-card-price-live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 3px;
}

.rg-card-total-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rg-success-text);
}

.rg-card-discount-pill {
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--rg-success-bg);
  color: var(--rg-success-text);
  font-size: 11px;
  font-weight: 700;
}

.rg-card-desc {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.54;
  color: var(--rg-muted);
  max-width: 72ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 7. Zwei Buttons bündig am unteren Kartenrand: LINKS Verfügbarkeit prüfen (primär), RECHTS Details ansehen */
.rg-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 34, 56, 0.08);
}

.rg-card-btn-primary,
.rg-card-btn-details {
  width: 100%;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  gap: 6px;
}

.rg-card-btn-primary {
  background: var(--rg-navy);
  color: var(--rg-white);
}

.rg-card-btn-primary .rg-card-btn-icon {
  font-size: 16px;
}

.rg-card-btn-details {
  background: var(--rg-white);
  border: 1px solid rgba(19, 34, 56, 0.22);
  color: var(--rg-navy);
}

.rg-card-btn-details:hover {
  background: #eff5fc;
  border-color: rgba(19, 34, 56, 0.36);
}

@media (min-width: 420px) {
  .rg-card-btn-primary,
  .rg-card-btn-details {
    padding: 10px 14px;
    font-size: 13.5px;
  }
}

/* Schmale Tablet-2er-Spalten (768-959 px): Buttons sauber vollbreit stapeln ohne Quetschen */
@media (min-width: 768px) and (max-width: 959px) {
  .rg-card-actions {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .rg-card-btn-primary,
  .rg-card-btn-details {
    width: 100%;
    padding: 10px 16px;
    font-size: 13.5px;
  }
}

/* Ab 960 px+ immer sauber nebeneinander (links Verfügbarkeit prüfen, rechts Details ansehen) */
@media (min-width: 960px) {
  .rg-card-actions {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    gap: 10px;
  }
  .rg-card-btn-primary,
  .rg-card-btn-details {
    width: 100%;
    min-height: 45px;
    padding: 11px 12px;
    font-size: 13.5px;
  }
}

@media (min-width: 1140px) {
  .rg-card-actions {
    gap: 12px;
  }
  .rg-card-btn-primary,
  .rg-card-btn-details {
    padding: 11px 18px;
    font-size: 14px;
  }
}

.rg-compact-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
  color: var(--rg-muted);
}

.rg-fact-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.rg-fact-item .material-symbols-rounded {
  color: var(--rg-gold);
  font-size: 16px;
}

.rg-empty-filter-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 36px 20px;
  border-radius: 16px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  text-align: center;
}
.rg-empty-filter-state p {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--rg-ink);
}

/* ============================================================================
   12. BEWERTUNGS-SLIDER (Boutique Zentriert, Endlosschleife & Pop-up)
   ============================================================================ */
.rg-reviews {
  background: var(--rg-paper);
  border-top: 1px solid var(--rg-line);
}

.rg-reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 32px;
}

.rg-reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2px;
}

.rg-reviews-eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(200, 155, 60, 0.55);
  flex-shrink: 0;
}

.rg-reviews-eyebrow-text {
  color: #b6892d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rg-reviews-header h2 {
  font-family: var(--rg-display);
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--rg-navy);
  margin: 0;
}

.rg-reviews-subtitle {
  margin: 0;
  max-width: none;
  font-size: clamp(14.5px, 2.4vw, 16px);
  line-height: 1.55;
  color: var(--rg-muted);
}

/* Helle 3-teilige Rating-Kapsel */
.rg-reviews-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  max-width: 100%;
}

.rg-reviews-score-row-top {
  display: contents;
}

.rg-reviews-hero-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #c89b3c;
  flex-shrink: 0;
}

.rg-reviews-score-sep {
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(15, 23, 42, 0.1);
  flex-shrink: 0;
}

.rg-reviews-score-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 0;
  font-family: var(--rg-display);
  font-size: 16px;
  line-height: 1.1;
  white-space: nowrap;
}

.rg-reviews-score-main {
  font-weight: 750;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.rg-reviews-score-max {
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
}

.rg-reviews-score-count {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .rg-reviews-header {
    margin-bottom: 20px;
  }
  .rg-reviews-score-pill {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    max-width: 100%;
    min-height: 0;
    margin-top: 12px;
    margin-inline: auto;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  }
  .rg-reviews-score-row-top {
    display: contents;
  }
  .rg-reviews-hero-stars {
    gap: 2px;
  }
  .rg-reviews-hero-stars svg {
    width: 13px;
    height: 13px;
  }
  .rg-reviews-score-row-top .rg-reviews-score-sep {
    display: none;
  }
  .rg-reviews-score-value {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 14.5px;
    line-height: 1.1;
  }
  .rg-reviews-score-main {
    font-size: 15px;
    line-height: 1.1;
  }
  .rg-reviews-score-max {
    font-size: 12.5px;
  }
  .rg-reviews-score-sep-2 {
    display: block;
    width: 1px;
    height: 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.14);
    margin: 0;
    flex-shrink: 0;
  }
  .rg-reviews-score-count {
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
  }
}

@media (max-width: 389.98px) {
  .rg-reviews-score-pill {
    gap: 7px;
    padding: 6px 11px;
  }
  .rg-reviews-hero-stars {
    gap: 1.5px;
  }
  .rg-reviews-hero-stars svg {
    width: 12px;
    height: 12px;
  }
  .rg-reviews-score-main {
    font-size: 14px;
  }
  .rg-reviews-score-max {
    font-size: 12px;
  }
  .rg-reviews-score-count {
    font-size: 12.5px;
  }
}

.rg-review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rg-review-card-top-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rg-review-card-top .rg-review-stars {
  margin-bottom: 0;
}

.rg-review-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 0.7;
  color: #c89b3c;
  opacity: 0.14;
  user-select: none;
  transform: translateY(-2px);
}

.rg-review-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.rg-review-airbnb-svg {
  display: block;
  flex-shrink: 0;
}

.rg-details-review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rg-line-soft);
}

/* Einheitlicher Bewertungs-Slider (Pfeile mittig unten + aktive Pill-Dots) */
.rg-review-slider {
  display: grid;
  gap: 0;
  min-width: 0;
}

.rg-reviews-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rg-reviews-track::-webkit-scrollbar {
  display: none;
}

.rg-reviews-track.is-jumping {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

/* Mobile-Peek (< 768px): 1 volle Karte + ca. 20 px Peek rechts (0 Seiten-Überlauf) */
.rg-review-card {
  flex: 0 0 calc(100% - 36px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .rg-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(200, 155, 60, 0.38);
  }
}

.rg-review-card.is-current,
.rg-details-review-card.is-current {
  border-color: rgba(15, 23, 42, 0.14);
}

@media (min-width: 768px) {
  .rg-reviews-track {
    gap: 20px;
  }
  .rg-review-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (min-width: 980px) {
  .rg-review-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

.rg-review-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.review-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.review-nav-btn:hover,
.review-nav-btn:focus-visible {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  outline: none;
}

.review-nav-btn:focus-visible {
  outline: 2px solid var(--rg-gold-dark);
  outline-offset: 2px;
}

.review-nav-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
  box-shadow: none;
}

.review-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.review-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.review-dot:focus-visible {
  outline: 2px solid var(--rg-gold-dark);
  outline-offset: 1px;
}

.review-dot-pip {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
  transition: width 0.22s ease, background 0.22s ease;
}

.review-dot:hover .review-dot-pip {
  background: rgba(15, 23, 42, 0.45);
}

.review-dot.is-active .review-dot-pip,
.review-dot[aria-current="true"] .review-dot-pip {
  width: 24px;
  height: 8px;
  background: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
  .rg-reviews-track,
  .rg-details-reviews-list {
    scroll-behavior: auto;
  }
  .rg-review-card,
  .rg-review-apt-link,
  .rg-review-apt-arrow,
  .review-nav-btn,
  .review-dot-pip {
    transition: none;
    transform: none !important;
  }
}

.rg-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #c89b3c;
  margin-bottom: 10px;
}

.rg-review-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 18px;
}

.rg-review-quote {
  margin: 16px 0 0;
  color: #1e293b;
  font-size: 15.5px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rg-review-more-btn {
  margin-top: 8px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(200, 155, 60, 0.65);
  cursor: pointer;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.rg-review-more-btn:hover,
.rg-review-more-btn:focus-visible {
  color: #916a36;
  text-decoration-color: #916a36;
}

.rg-review-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.rg-review-guest {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.rg-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.14);
  color: #0f172a;
  font-family: var(--rg-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-review-avatar--lg {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.rg-review-author {
  min-width: 0;
}

.rg-review-author strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

.rg-review-author span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.3;
  color: #64748b;
}

.rg-review-apt-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.rg-review-apt-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rg-review-apt-left span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rg-review-apt-icon {
  color: #b6892d;
  flex-shrink: 0;
}

.rg-review-apt-arrow {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

.rg-review-apt-link:hover,
.rg-review-apt-link:focus-visible {
  background: #f1f5f9;
  border-color: rgba(200, 155, 60, 0.42);
  color: #0f172a;
}

.rg-review-apt-link:hover .rg-review-apt-arrow,
.rg-review-apt-link:focus-visible .rg-review-apt-arrow {
  color: #0f172a;
  transform: translateX(3px);
}

/* Kompaktes Boutique-Pop-up für vollständige Bewertungen (#rg-review-dialog) */
dialog#rg-review-dialog.rg-review-dialog {
  width: min(calc(100vw - 24px), 560px);
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

dialog#rg-review-dialog.rg-review-dialog[open] {
  display: flex;
  flex-direction: column;
}

.rg-review-dialog-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100dvh - 32px);
}

.rg-review-dialog-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rg-review-dialog-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-width: 0;
}

.rg-review-dialog-stars {
  margin-bottom: 0;
}

dialog.rg-review-dialog .rg-review-dialog-close {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
  flex-shrink: 0;
}

.rg-review-dialog-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px 22px;
}

.rg-review-dialog-quote {
  margin: 0;
  max-width: 58ch;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.72;
}

.rg-review-dialog-foot {
  flex: 0 0 auto;
  padding: 16px 22px 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #fafbfd;
}

/* Boutique Kontakt-Pop-up (#rg-contact-dialog) */
dialog#rg-contact-dialog.rg-contact-dialog {
  width: min(calc(100vw - 24px), 540px);
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

dialog#rg-contact-dialog.rg-contact-dialog[open] {
  display: flex;
  flex-direction: column;
}

.rg-contact-dialog-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100dvh - 32px);
}

.rg-contact-dialog-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rg-contact-dialog-head-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rg-contact-dialog-kicker {
  color: #b6892d;
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.rg-contact-dialog-head-text h2 {
  margin: 0;
  font-size: clamp(20px, 4.4vw, 24px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0f172a;
}

dialog#rg-contact-dialog.rg-contact-dialog .rg-contact-dialog-close {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
  flex-shrink: 0;
}

.rg-contact-dialog-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 22px;
}

.rg-contact-modal-form {
  display: grid;
  gap: 14px;
}

.rg-contact-modal-form input:not([type="checkbox"]):not([type="radio"]),
.rg-contact-modal-form textarea {
  font-size: 16px;
}

.rg-contact-consent-wrap {
  display: grid;
  gap: 4px;
}

.rg-form label.rg-contact-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rg-form label.rg-contact-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  margin-top: 2px;
  border-radius: 4px;
  flex-shrink: 0;
  accent-color: #0f172a;
  cursor: pointer;
}

.rg-contact-consent-text {
  font-size: 13px;
  font-weight: 450;
  line-height: 1.5;
  color: #475569;
}

.rg-contact-consent-text a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200, 155, 60, 0.7);
}

.rg-contact-consent-text a:hover,
.rg-contact-consent-text a:focus-visible {
  color: #916a36;
}

.rg-contact-submit {
  width: 100%;
  min-height: 46px;
}

.rg-contact-dialog-foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 13px 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #fafbfd;
}

.rg-contact-dialog-direct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.16s ease;
}

.rg-contact-dialog-direct .material-symbols-rounded {
  color: #b6892d;
}

.rg-contact-dialog-direct:hover,
.rg-contact-dialog-direct:focus-visible {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rg-contact-dialog-sep {
  display: none;
  color: rgba(15, 23, 42, 0.25);
}

@media (min-width: 480px) {
  .rg-contact-dialog-sep {
    display: inline;
  }
}

/* ============================================================================
   13. INTERAKTIVE KARTE (OpenStreetMap / Leaflet + 1-Klick-Einwilligung)
   ============================================================================ */
.rg-location {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: var(--rg-sand);
  border-top: 1px solid var(--rg-line);
}

.rg-location-grid {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--rg-line);
  border-radius: 18px;
  background: var(--rg-white);
  box-shadow: 0 10px 30px rgba(23, 36, 58, 0.05);
}

@media (min-width: 960px) {
  .rg-location-grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    padding: 12px;
  }
}

.rg-map-column {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

/* Aufklappbares Boutique-Auswahlmenü direkt über der Karte (nur Mobile < 960px; auf PC reine Seitenleiste) */
.rg-map-mobile-controls {
  position: relative;
  z-index: 30;
  margin-bottom: 10px;
}

.rg-map-apt-selector {
  position: relative;
  z-index: 30;
  display: block;
  width: 100%;
}

.rg-map-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 10px 13px;
  border-radius: 15px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.rg-map-dropdown-trigger:hover {
  border-color: rgba(15, 23, 42, 0.28);
}

.rg-map-dropdown-trigger:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-map-dropdown-trigger.is-open {
  border-color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.rg-map-dropdown-trigger-lead {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1 1 auto;
}

.rg-map-dropdown-badge,
.rg-map-dropdown-opt-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-map-dropdown-badge.is-all,
.rg-map-dropdown-badge.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #c89b3c;
}

.rg-map-dropdown-badge.is-number {
  width: 26px;
  height: 26px;
  background: #c89b3c;
  border-color: #c89b3c;
  color: #0f172a;
  font-family: var(--rg-display);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px rgba(200, 155, 60, 0.32);
}

.rg-map-dropdown-trigger-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.rg-map-dropdown-trigger-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
}

.rg-map-dropdown-trigger-title {
  font-size: 13.8px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.rg-map-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  flex-shrink: 0;
}

.rg-map-count-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c89b3c;
  flex-shrink: 0;
}

.rg-map-count-badge.is-on-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

.rg-map-dropdown-trigger-sub {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-map-dropdown-chevron {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #475569;
  transition: transform 0.18s ease, color 0.16s ease;
}

.rg-map-dropdown-trigger.is-open .rg-map-dropdown-chevron {
  transform: rotate(180deg);
  color: #0f172a;
}

.rg-map-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.rg-map-dropdown-panel[hidden] {
  display: none !important;
}

.rg-map-dropdown-option {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 13px;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.rg-map-dropdown-option--all {
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  background: #f8fafc;
}

.rg-map-dropdown-opt-all-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  width: 100%;
  min-width: 0;
}

.rg-map-dropdown-option:hover {
  background: #fdfaf3;
  border-color: rgba(200, 155, 60, 0.45);
}

.rg-map-dropdown-option:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: -2px;
}

.rg-map-dropdown-option.is-selected {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.rg-map-dropdown-opt-copy,
.rg-map-opt-copy {
  display: grid;
  gap: 5px;
  width: 100%;
  min-width: 0;
}

.rg-map-opt-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.rg-map-opt-num-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0f172a;
  border: 1.5px solid rgba(200, 155, 60, 0.65);
  color: #ffffff;
  font-family: var(--rg-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.rg-map-dropdown-option.is-selected .rg-map-opt-num-badge,
.rg-map-dir-apt-btn.is-selected .rg-map-opt-num-badge {
  background: #c89b3c;
  border-color: #c89b3c;
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(200, 155, 60, 0.38);
}

.rg-map-dropdown-option:hover .rg-map-opt-num-badge,
.rg-map-dir-apt-btn:hover .rg-map-opt-num-badge {
  border-color: #c89b3c;
}

.rg-map-dropdown-opt-title {
  font-family: var(--rg-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: inherit;
}

.rg-map-dropdown-option--all .rg-map-dropdown-opt-title {
  font-size: 13.6px;
}

.rg-map-opt-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.2px;
  font-weight: 500;
  line-height: 1.25;
  color: #64748b;
  min-width: 0;
}

.rg-map-menu-pin-svg {
  flex-shrink: 0;
  color: #9a6f1d;
}

.rg-map-dropdown-option.is-selected .rg-map-opt-loc {
  color: rgba(255, 255, 255, 0.78);
}

.rg-map-dropdown-option.is-selected .rg-map-menu-pin-svg {
  color: #e5be67;
}

.rg-map-opt-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 1px 0;
  background: rgba(15, 23, 42, 0.08);
}

.rg-map-dropdown-option.is-selected .rg-map-opt-divider {
  background: rgba(255, 255, 255, 0.14);
}

.rg-map-menu-specs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 15px;
  min-width: 0;
  white-space: nowrap;
}

.rg-map-menu-spec {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1.2;
  color: #334155;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.rg-map-spec-svg {
  flex-shrink: 0;
  color: #8f6b29;
}

.rg-map-dropdown-option.is-selected .rg-map-menu-spec {
  color: rgba(255, 255, 255, 0.92);
}

.rg-map-dropdown-option.is-selected .rg-map-spec-svg {
  color: #e5be67;
}

@media (max-width: 374px) {
  .rg-map-dropdown-trigger-title {
    font-size: 13.2px;
  }
  .rg-map-menu-specs {
    gap: 12px;
  }
  .rg-map-menu-spec {
    gap: 4px;
    font-size: 12.2px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .rg-map-menu-spec[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    padding: 4px 8px;
    border-radius: 7px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  }
  .rg-map-menu-spec:first-child[data-tooltip]::after {
    left: 0;
    transform: translateY(3px);
  }
  .rg-map-menu-spec:last-child[data-tooltip]::after {
    left: auto;
    right: 0;
    transform: translateY(3px);
  }
  .rg-map-menu-spec[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .rg-map-menu-spec:first-child[data-tooltip]:hover::after,
  .rg-map-menu-spec:last-child[data-tooltip]:hover::after {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-map-menu-spec[data-tooltip]::after {
    transition: none;
  }
}

.rg-map-apt-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: 8px;
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.rg-map-apt-summary[hidden] {
  display: none;
}

.rg-map-apt-summary-facts {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #334155;
}

.rg-nowrap {
  white-space: nowrap;
}

.rg-map-apt-summary-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: -4px -6px -4px auto;
  padding: 4px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}

.rg-map-apt-summary-link:hover,
.rg-map-apt-summary-link:focus-visible {
  color: var(--rg-gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

@media (min-width: 960px) {
  .rg-map-mobile-controls,
  .rg-map-apt-selector,
  .rg-map-apt-summary {
    display: none !important;
  }
}

@media (max-width: 959.98px) {
  .rg-map-column {
    gap: 0;
  }
  .rg-map-directory {
    display: none !important;
  }
}

.rg-map-frame {
  position: relative;
  z-index: 1;
  isolation: isolate;
  height: clamp(470px, 108vw, 540px);
  overflow: hidden;
  border: 1px solid var(--rg-line);
  border-radius: 14px;
  background: #edf2f8;
}

@media (min-width: 768px) {
  .rg-map-frame {
    height: 540px;
  }
}

.rg-map-canvas {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  background: #edf2f8 !important;
}

.rg-map-canvas .leaflet-tile-pane {
  filter: saturate(0.65) contrast(0.95) brightness(1.03);
}

.rg-map-consent-gate {
  position: absolute;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #eef3f9;
  background-image: radial-gradient(#ccd8e8 1px, transparent 1px);
  background-size: 20px 20px;
}

.rg-consent-card {
  width: min(100%, 460px);
  padding: 26px 22px;
  border-radius: 16px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  text-align: center;
  box-shadow: 0 12px 36px rgba(23, 36, 58, 0.09);
}

.rg-consent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6eef8;
  color: var(--rg-gold);
  margin-bottom: 12px;
}

.rg-consent-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.rg-consent-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.rg-button-consent {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-size: 14.5px;
}

.rg-consent-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--rg-muted);
  cursor: pointer;
}
.rg-consent-remember input {
  accent-color: var(--rg-gold);
}

.rg-map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 600;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(23, 36, 58, 0.12);
}

.rg-map-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--rg-ink);
}
.rg-map-controls button + button {
  border-top: 1px solid var(--rg-line-soft);
}
.rg-map-controls button:hover {
  background: var(--rg-sand);
}

.rg-map-toast {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 68px);
  z-index: 620;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9999px;
  background: rgba(19, 34, 56, 0.9);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.rg-leaflet-marker-wrap {
  background: transparent;
  border: 0;
}

.rg-map-house-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rg-navy);
  border: 2.5px solid var(--rg-gold-bright);
  box-shadow: 0 6px 18px rgba(19, 34, 56, 0.34);
  display: grid;
  place-items: center;
  color: var(--rg-gold-bright);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.rg-map-house-marker:hover,
.rg-map-house-marker.is-selected {
  transform: scale(1.1);
  border-color: #ffffff;
  background: var(--rg-navy);
  color: var(--rg-gold-bright);
  box-shadow: 0 8px 22px rgba(19, 34, 56, 0.44);
}
.rg-map-house-marker.is-selected {
  width: 48px;
  height: 48px;
  border: 3px solid var(--rg-gold-bright);
}

/* Einheitliche Nummern-Marker (1 bis 4) auf der Übersichts-Karte */
.rg-map-number-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0f172a;
  border: 2.5px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 0 0 1.5px rgba(200, 155, 60, 0.72), 0 6px 16px rgba(15, 23, 42, 0.32);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.rg-map-pin-number {
  font-family: var(--rg-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.rg-map-number-marker:hover {
  transform: scale(1.1);
  background: #1e293b;
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 0 2px #c89b3c, 0 8px 22px rgba(15, 23, 42, 0.42);
}

.rg-map-number-marker.is-selected,
.rg-map-number-marker.is-selected:hover {
  width: 40px;
  height: 40px;
  transform: scale(1.06);
  background: #c89b3c;
  border: 2.5px solid #ffffff;
  color: #0f172a;
  box-shadow: 0 0 0 2.5px #0f172a, 0 10px 26px rgba(15, 23, 42, 0.42);
}

.rg-map-number-marker.is-selected .rg-map-pin-number {
  font-size: 16.5px;
}

@media (prefers-reduced-motion: reduce) {
  .rg-map-number-marker,
  .rg-map-opt-num-badge {
    transition: none;
  }
}

.rg-poi-pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rg-pin-color, #a4783c);
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 12px rgba(19, 34, 56, 0.28);
  display: grid;
  place-items: center;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.rg-poi-pin:hover,
.rg-poi-pin.is-active {
  transform: scale(1.18);
  box-shadow: 0 6px 16px rgba(19, 34, 56, 0.38);
}

/* Dauerhafte rote Icon-Marker für München HBf & Flughafen MUC (Name erst beim Klick, keine Route) */
.rg-permanent-hub-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c92a2a;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 5px 15px rgba(201, 42, 42, 0.36), 0 2px 6px rgba(19, 34, 56, 0.22);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.rg-permanent-hub-pin:hover {
  transform: scale(1.12);
  background: #b02222;
  box-shadow: 0 7px 20px rgba(201, 42, 42, 0.44), 0 3px 8px rgba(19, 34, 56, 0.28);
}

.rg-permanent-hub-pin .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
}

.rg-hub-name-leaflet-popup .leaflet-popup-content {
  min-width: 0 !important;
  width: auto !important;
  margin: 10px 28px 10px 13px !important;
}

.rg-hub-name-popup {
  font-family: var(--rg-sans);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--rg-navy);
  white-space: nowrap;
}

/* Eigener Boutique-Pin-Stil für Messe München & temporäre Suchergebnisse */
.rg-poi-pin.rg-hub-pin {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--rg-pin-color, #9f1239);
  border: 2.5px solid #ffffff;
  box-shadow: 0 6px 18px rgba(159, 18, 57, 0.34), 0 0 0 2px rgba(159, 18, 57, 0.22);
}

.rg-poi-pin.rg-search-pin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rg-pin-color, #a4783c);
  border: 2.5px solid #ffffff;
  box-shadow: 0 6px 18px rgba(19, 34, 56, 0.34), 0 0 0 2.5px rgba(164, 120, 60, 0.28);
}

/* Kompakte 2-stufige Kartensuche auf den 4 Apartment-Unterseiten */
.rg-apt-map-search-wrap {
  position: relative;
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.rg-apt-map-search-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.rg-apt-map-search-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 6px 0 11px;
  border-radius: 12px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.rg-apt-map-search-field:focus-within {
  border-color: var(--rg-navy);
  box-shadow: 0 0 0 3px rgba(19, 34, 56, 0.08);
}

.rg-apt-map-search-icon {
  color: var(--rg-muted);
  flex-shrink: 0;
}

.rg-apt-map-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 2px;
  font-family: var(--rg-sans);
  font-size: 16px;
  line-height: 1.3;
  color: var(--rg-ink);
  outline: none;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .rg-apt-map-search-input {
    font-size: 14.5px;
  }
}

.rg-apt-map-search-input::placeholder {
  color: var(--rg-muted);
  opacity: 0.9;
}

.rg-apt-map-search-clear {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--rg-paper);
  color: var(--rg-navy);
  border: 1px solid var(--rg-line);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rg-apt-map-search-clear:hover {
  background: var(--rg-sand);
  border-color: var(--rg-navy);
}

.rg-apt-map-search-clear[hidden] {
  display: none !important;
}

.rg-apt-map-search-submit {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .rg-apt-map-search-submit {
    padding: 0 18px;
    font-size: 14px;
  }
}

.rg-apt-map-suggestions {
  display: grid;
  border-radius: 14px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  box-shadow: 0 14px 32px rgba(19, 34, 56, 0.12);
  overflow: hidden;
}

.rg-apt-map-suggestions[hidden] {
  display: none !important;
}

.rg-apt-map-suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--rg-line);
  background: var(--rg-white);
  color: var(--rg-ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease;
}

.rg-apt-map-suggestion:last-child {
  border-bottom: 0;
}

.rg-apt-map-suggestion:hover,
.rg-apt-map-suggestion:focus-visible {
  background: var(--rg-paper);
  outline: none;
}

.rg-apt-map-sugg-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-apt-map-sugg-text {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rg-apt-map-sugg-text strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rg-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rg-apt-map-sugg-text small {
  font-size: 12px;
  color: var(--rg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rg-apt-map-sugg-dist {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--rg-muted);
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--rg-paper);
  border: 1px solid var(--rg-line);
}

.rg-apt-map-search-status {
  font-size: 12.5px;
  color: var(--rg-muted);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--rg-white);
  border: 1px solid var(--rg-line);
}

.rg-apt-map-search-status[hidden],
.rg-apt-map-search-preview[hidden] {
  display: none !important;
}

.rg-apt-map-search-preview {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
}

.rg-apt-map-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rg-apt-map-preview-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rg-navy);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-apt-map-preview-meta {
  flex: 1 1 160px;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rg-apt-map-preview-meta strong {
  font-size: 14px;
  color: var(--rg-navy);
}

.rg-apt-map-preview-meta span {
  font-size: 12.5px;
  color: var(--rg-muted);
}

.rg-apt-map-preview-hint {
  margin: 0;
  font-size: 12px;
  color: var(--rg-muted);
}

.rg-apt-map-filters {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.rg-map-cat-scroll-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.rg-map-cat-scroll-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  border: 1px solid rgba(19, 34, 56, 0.18);
  background: #ffffff;
  color: var(--rg-navy);
  box-shadow: 0 3px 10px rgba(19, 34, 56, 0.12);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.rg-map-cat-scroll-btn:hover,
.rg-map-cat-scroll-btn:focus-visible {
  background: var(--rg-sand);
  border-color: rgba(19, 34, 56, 0.36);
  box-shadow: 0 4px 14px rgba(19, 34, 56, 0.16);
}

.rg-map-cat-scroll-btn:active {
  transform: scale(0.95);
}

.rg-map-cat-scroll-btn[hidden] {
  display: none !important;
}

.rg-apt-map-pills {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 12px 4px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rg-apt-map-pills::-webkit-scrollbar {
  display: none;
}

/* Boutique-Stil für Leaflet Marker-Popups (Startseite & Apartment-Unterseiten) */
.rg-map-canvas .leaflet-popup-content-wrapper,
.rg-details-map-canvas .leaflet-popup-content-wrapper {
  border-radius: 14px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  color: var(--rg-ink);
  box-shadow: 0 12px 30px rgba(19, 34, 56, 0.18);
  padding: 0;
}
.rg-map-canvas .leaflet-popup-content,
.rg-details-map-canvas .leaflet-popup-content {
  margin: 13px 15px 14px;
  min-width: 205px;
  max-width: min(264px, calc(100vw - 116px));
  font-family: var(--rg-sans);
  line-height: 1.45;
}
@media (max-width: 379px) {
  .rg-map-canvas .rg-map-card-btn {
    padding: 8px 12px;
    font-size: 12.5px;
  }
}
@media (min-width: 768px) {
  .rg-map-canvas .leaflet-popup-content {
    max-width: 420px;
  }
}
.rg-map-canvas .leaflet-popup-tip,
.rg-details-map-canvas .leaflet-popup-tip {
  background: var(--rg-white);
}
.rg-map-canvas .leaflet-popup-close-button,
.rg-details-map-canvas .leaflet-popup-close-button {
  top: 8px;
  right: 8px;
  color: var(--rg-muted);
}
.rg-map-popup-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rg-gold-dark);
  margin-bottom: 2px;
}
.rg-map-popup-title {
  margin: 0 0 6px;
  font-family: var(--rg-display);
  font-size: 15px;
  font-weight: 750;
  color: var(--rg-ink);
  line-height: 1.25;
}
.rg-map-popup-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #edf2f8;
  color: var(--rg-ink);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.rg-map-popup-desc {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--rg-muted);
  line-height: 1.42;
}
.rg-map-popup-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9999px;
  background: var(--rg-navy);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.16s ease;
}
.rg-map-popup-route:hover {
  background: var(--rg-navy-hover);
}

/* Zwei klare Boutique-Aktionen im geöffneten Apartment-Karten-Popup (Desktop nebeneinander, Mobile vollbreit) */
.rg-map-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.rg-map-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--rg-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.rg-map-card-btn-primary {
  background: #0f172a;
  color: #ffffff !important;
  border: 1px solid #0f172a;
}

.rg-map-card-btn-primary:hover,
.rg-map-card-btn-primary:focus-visible {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff !important;
}

.rg-map-card-btn-primary:focus-visible,
.rg-map-card-btn-secondary:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-map-card-btn-arrow {
  flex-shrink: 0;
  transition: transform 0.16s ease;
}

.rg-map-card-btn-primary:hover .rg-map-card-btn-arrow,
.rg-map-card-btn-primary:focus-visible .rg-map-card-btn-arrow {
  transform: translateX(2px);
}

.rg-map-card-btn-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.16);
}

.rg-map-card-btn-pin {
  flex-shrink: 0;
  color: #9a6f1d;
}

.rg-map-card-btn-secondary:hover,
.rg-map-card-btn-secondary:focus-visible {
  background: #fdfaf3;
  border-color: rgba(200, 155, 60, 0.65);
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .rg-map-card-btn {
    width: auto;
    flex: 1 1 auto;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .rg-map-card-btn-primary {
    padding: 8px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-map-card-btn,
  .rg-map-card-btn-arrow {
    transition: none;
  }
}

.rg-map-floating-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 620;
  max-width: 660px;
  margin-inline: auto;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(216, 226, 238, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 9px;
}

.rg-floating-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-floating-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
.rg-floating-search-icon {
  position: absolute;
  left: 12px;
  color: #64748b;
  pointer-events: none;
}
.rg-floating-search-wrap input[type="search"],
.rg-floating-search-wrap input[type="text"] {
  width: 100%;
  min-height: 44px;
  padding: 9px 40px 9px 36px;
  border: 1px solid var(--rg-line);
  border-radius: 9999px;
  background: #f4f7fb;
  color: var(--rg-ink);
  font-family: var(--rg-sans);
  font-size: 16px;
  outline: none;
  text-overflow: ellipsis;
}
.rg-floating-search-wrap input:focus {
  border-color: var(--rg-navy);
  background: var(--rg-white);
}
.rg-home-map-search-clear {
  position: absolute;
  right: 4px;
  width: 34px;
  height: 34px;
}
.rg-floating-search-submit {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 9999px;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .rg-floating-search-wrap input[type="search"],
  .rg-floating-search-wrap input[type="text"] {
    min-height: 40px;
    padding: 7px 36px 7px 34px;
    font-size: 14px;
  }
  .rg-floating-search-submit {
    min-height: 40px;
    padding: 7px 14px;
  }
}
.rg-home-map-suggestions {
  max-height: 205px;
  overflow-y: auto;
  box-shadow: 0 10px 26px rgba(19, 34, 56, 0.14);
}
.rg-home-map-search-status {
  padding: 6px 10px;
  font-size: 12px;
}

.rg-filter-scroll {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 12px 2px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rg-filter-scroll::-webkit-scrollbar {
  display: none;
}

.rg-map-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border-radius: 9999px;
  border: 1px solid var(--rg-line);
  background: #ffffff;
  color: var(--rg-ink);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.14s ease, color 0.14s ease;
}
.rg-map-filter-pill.is-active {
  background: var(--rg-navy);
  color: #ffffff;
  border-color: var(--rg-navy);
}

.rg-pill-icon-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #ffffff;
}

.rg-desktop-popover {
  position: absolute;
  top: 52px;
  left: 14px;
  z-index: 660;
  width: min(calc(100% - 76px), 340px);
  max-height: calc(100% - 190px);
  overflow-y: auto;
  padding: 15px;
  border-radius: 18px;
  border: 1px solid var(--rg-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}
@media (max-width: 767px) {
  .rg-desktop-popover {
    display: none;
  }
}

.rg-popover-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--rg-ink);
}

.rg-popover-lead {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding-right: 26px;
}
.rg-popover-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.rg-popover-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--rg-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rg-popover-lead h4 {
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 700;
}

.rg-place-walk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #eff4fa;
  border: 1px solid #d7e2f0;
  color: var(--rg-ink);
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 8px;
}

.rg-place-meta-line {
  font-size: 12.5px;
  color: var(--rg-muted);
  margin-bottom: 6px;
}

.rg-popover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.rg-map-directory ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  background: var(--rg-white);
  overflow: hidden;
}
.rg-map-directory li + li {
  border-top: 1px solid var(--rg-line);
}
.rg-map-directory li button.rg-map-dir-head-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.rg-map-directory li button.rg-map-dir-head-btn:hover {
  background: #f1f5f9;
}
.rg-map-directory li button.rg-map-dir-head-btn.is-selected {
  background: #fdfaf3;
}
.rg-map-dir-head-title {
  font-family: var(--rg-display);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.rg-map-directory li button.rg-map-dir-apt-btn {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 12px 14px;
  min-height: 76px;
  text-align: left;
  border-left: 3px solid transparent;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rg-map-directory li button.rg-map-dir-apt-btn:hover {
  background: #fdfaf3;
}
.rg-map-directory li button.rg-map-dir-apt-btn.is-selected {
  background: #fdfaf3;
  border-left-color: #c89b3c;
}
.rg-map-directory strong {
  display: block;
  font-family: var(--rg-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--rg-ink);
}
.rg-map-directory .rg-map-menu-specs {
  gap: 14px;
}
.rg-map-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--rg-muted);
}

.rg-map-mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 1050;
}
.rg-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 34, 56, 0.45);
}
.rg-sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--rg-white);
  border-radius: 20px 20px 0 0;
  padding: 16px 18px max(22px, env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.16);
  max-height: 82vh;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .rg-map-mobile-sheet {
    display: none !important;
  }
}

/* ============================================================================
   14. FAQ-AKKORDEON
   ============================================================================ */
.rg-faq {
  background: var(--rg-white);
  border-top: 1px solid var(--rg-line);
}

.rg-faq-inner {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .rg-faq-inner {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 56px;
  }
}

.rg-accordion {
  border-top: 1px solid var(--rg-line);
}
.rg-accordion details {
  border-bottom: 1px solid var(--rg-line);
}
.rg-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding-block: 12px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--rg-ink);
}
.rg-accordion summary svg,
.rg-accordion summary .material-symbols-rounded {
  color: var(--rg-gold);
  transition: transform 0.18s ease;
}
.rg-accordion details[open] > summary svg,
.rg-accordion details[open] > summary .material-symbols-rounded {
  transform: rotate(180deg);
}
.rg-accordion summary:hover {
  color: var(--rg-gold-dark);
}
.rg-accordion details p {
  padding: 0 28px 16px 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.65;
}

.rg-faq-inline-link {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #c89b3c;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-skip-ink: auto;
  border-radius: 4px;
  padding: 1px 2px;
  margin-inline: -2px;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease, text-decoration-color 0.16s ease;
}

.rg-faq-inline-link:hover {
  color: #9a6f1d;
  background: rgba(200, 155, 60, 0.12);
  text-decoration-color: #9a6f1d;
}

.rg-faq-inline-link:focus-visible {
  color: #9a6f1d;
  background: rgba(200, 155, 60, 0.14);
  text-decoration-color: #9a6f1d;
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-faq-cta-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.rg-faq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(19, 34, 56, 0.22);
  background: var(--rg-paper);
  color: var(--rg-navy);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rg-faq-cta-arrow {
  transition: transform 0.18s ease;
}

.rg-faq-cta:hover,
.rg-faq-cta:focus-visible {
  background: var(--rg-navy);
  border-color: var(--rg-navy);
  color: #ffffff;
}

.rg-faq-cta:hover .rg-faq-cta-arrow,
.rg-faq-cta:focus-visible .rg-faq-cta-arrow {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .rg-faq-cta-wrap {
    justify-content: flex-start;
  }
}

/* ============================================================================
   15. FOOTER & MOBILER STICKY-BUTTON
   ============================================================================ */
.rg-footer {
  padding-block: 30px;
  border-top: 1px solid var(--rg-line);
  background: var(--rg-sand);
}

.rg-footer-main {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .rg-footer-main {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.rg-footer-main p {
  margin-top: 5px;
  font-size: 14.5px;
}

.rg-footer nav,
.rg-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 18px;
}

.rg-footer :is(nav, .rg-footer-links) :is(a, button.rg-footer-link) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rg-navy);
  font-family: var(--rg-sans);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}
.rg-footer a:hover,
.rg-footer button.rg-footer-link:hover {
  color: var(--rg-gold-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mobiler Sticky-Button ausschließlich auf der Startseite (nie auf Impressum/Datenschutz) */
.rg-mobile-sticky-cta,
body:not([data-page="home"]) .rg-mobile-sticky-cta {
  display: none !important;
}

@media (max-width: 767px) {
  body[data-page="home"] .rg-mobile-sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, visibility 0.28s ease;
  }
  body[data-page="home"] .rg-mobile-sticky-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  body[data-page="home"] .rg-sticky-cta-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 9999px;
    background: var(--rg-navy);
    color: var(--rg-white);
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(19, 34, 56, 0.24), 0 2px 6px rgba(19, 34, 56, 0.12);
  }
  body[data-page="home"] .rg-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .rg-mobile-sticky-cta {
    transition: opacity 0.12s ease, visibility 0.12s ease;
  }
}

/* ============================================================================
   16. MODALE & FORMULARE (<dialog>)
   ============================================================================ */
dialog.rg-dialog {
  width: min(calc(100% - 24px), 680px);
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 20px 18px;
  margin: auto;
  border: 1px solid var(--rg-line);
  border-radius: 18px;
  background: var(--rg-paper);
  color: var(--rg-ink);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: 0 24px 64px rgba(19, 34, 56, 0.26);
}

dialog.rg-dialog::backdrop {
  background: rgba(19, 34, 56, 0.56);
  backdrop-filter: blur(3px);
}

@media (max-width: 759px) {
  dialog.rg-dialog:not(.rg-lightbox-dialog):not(.rg-policy-dialog):not(.rg-review-dialog):not(.rg-contact-dialog):not(.rg-about-dialog) {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: 100vw;
    max-height: calc(100dvh - 16px);
    margin: 0;
    border-radius: 18px 18px 0 0;
    padding: 18px 16px max(18px, env(safe-area-inset-bottom));
  }
}

.rg-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  color: var(--rg-ink);
  z-index: 12;
  cursor: pointer;
}
dialog.rg-dialog:not(.rg-lightbox-dialog) > .rg-dialog-close {
  position: sticky;
  top: 0;
  right: auto;
  margin-left: auto;
  margin-bottom: -42px;
  box-shadow: 0 4px 12px rgba(19, 34, 56, 0.10);
}
.rg-dialog-close:hover {
  background: var(--rg-sand);
}

.rg-dialog-heading {
  padding-right: 52px;
  margin-bottom: 14px;
}
.rg-dialog-heading h2 {
  font-size: clamp(20px, 4vw, 26px);
  line-height: 1.18;
  margin-top: 4px;
}

/* Booking Modal */
.rg-booking-apt-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 44px 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  margin-bottom: 14px;
}
.rg-booking-apt-thumb {
  width: 68px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.rg-booking-apt-bar select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--rg-line);
  border-radius: 8px;
  background: var(--rg-paper);
  font-weight: 700;
  font-size: 16px;
  color: var(--rg-ink);
}

.rg-price-box {
  margin-top: 0;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1px solid var(--rg-line);
  background: var(--rg-paper);
  display: grid;
  gap: 0;
  transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.rg-price-box.is-discount-active {
  border-color: rgba(200, 155, 60, 0.48);
  background: linear-gradient(180deg, rgba(200, 155, 60, 0.06) 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(200, 155, 60, 0.1);
}

.rg-flow-apt-address {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0 0;
  font-size: 13.2px;
  font-weight: 500;
  line-height: 1.38;
  color: rgba(19, 34, 56, 0.72);
}

.rg-flow-address-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 1;
  flex-shrink: 0;
  color: rgba(19, 34, 56, 0.58);
}

.rg-co-summary-head {
  display: grid;
  gap: 3px;
}

.rg-co-summary-title {
  font-family: var(--rg-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--rg-navy);
}

.rg-co-summary-divider {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(19, 34, 56, 0.11);
  display: grid;
  gap: 12px;
}

.rg-summary-details {
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 34, 56, 0.11);
  display: grid;
  gap: 0;
}

.rg-summary-facts {
  display: grid;
  gap: 6px;
  font-size: 13.8px;
  line-height: 1.48;
  color: var(--rg-ink);
}

.rg-summary-fact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 6px;
}

.rg-summary-fact-row.has-edit {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 5px;
}

.rg-summary-fact-row.has-edit + .rg-summary-fact-row.has-edit {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 9px;
}

.rg-summary-fact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.rg-summary-edit-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.rg-summary-edit-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.rg-summary-edit-btn:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.rg-summary-edit-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.rg-summary-fact-label {
  font-weight: 650;
  color: var(--rg-navy);
}

.rg-summary-fact-value {
  color: var(--rg-ink);
}

.rg-price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px dashed rgba(19, 34, 56, 0.13);
  color: var(--rg-navy);
}

.rg-price-total.has-discount {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding-top: 13px;
  border-top-color: rgba(200, 155, 60, 0.28);
}

.rg-price-total-label {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rg-navy);
  min-width: 0;
}

.rg-price-total-amount {
  font-family: var(--rg-display);
  font-size: clamp(20px, 4.6vw, 24px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.rg-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
  animation: rgDiscountReveal 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.rg-price-original {
  display: inline-block;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(100, 116, 139, 0.75);
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.rg-price-discounted {
  font-family: var(--rg-display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #a87412;
  text-shadow: 0 0 18px rgba(200, 155, 60, 0.28);
  white-space: nowrap;
}

.rg-discount-offer-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

.rg-discount-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.2) 0%, rgba(235, 195, 95, 0.14) 100%);
  border: 1px solid rgba(200, 155, 60, 0.45);
  color: #855a0d;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 2px 12px rgba(200, 155, 60, 0.16);
  animation: rgDiscountReveal 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.rg-discount-offer-icon {
  flex-shrink: 0;
  color: #b47d14;
}

@media (min-width: 640px) {
  .rg-price-total.has-discount {
    gap: 7px 18px;
  }
  .rg-price-total.has-discount .rg-price-total-label {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  .rg-price-total.has-discount .rg-discount-offer-row {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  .rg-price-total.has-discount .rg-price-stack {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 379px) {
  .rg-discount-offer-badge {
    font-size: 12px;
    padding: 5px 10px;
  }
}

@keyframes rgDiscountReveal {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-price-box,
  .rg-price-stack,
  .rg-discount-offer-badge {
    transition: none;
    animation: none;
  }
}

.rg-booking-notice {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(19, 34, 56, 0.04);
  border: 1px solid #d4e0ee;
  font-size: 13px;
  color: var(--rg-ink);
}

.rg-booking-discount-hint {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--rg-muted);
}

/* ============================================================================
   16a. FOOTER-INFO-POP-UPS (Check-in & Check-out, Storno, Hausregeln)
   ============================================================================ */
dialog.rg-policy-dialog {
  width: min(calc(100% - 32px), 640px);
  max-width: 640px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(19, 34, 56, 0.14);
  border-radius: 18px;
  background: var(--rg-white);
  color: var(--rg-ink);
  box-shadow: 0 24px 64px rgba(19, 34, 56, 0.22);
  overflow: hidden;
}

dialog.rg-policy-dialog[open] {
  display: flex;
  flex-direction: column;
}

.rg-policy-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100dvh - 32px);
}

.rg-policy-head {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(19, 34, 56, 0.10);
  background: var(--rg-white);
}

.rg-policy-head-text {
  display: grid;
  gap: 4px;
  padding-right: 40px;
}

.rg-policy-head-text h2 {
  font-family: var(--rg-display);
  font-size: clamp(20px, 4.4vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--rg-navy);
}

.rg-policy-close {
  top: 16px;
  right: 16px;
}

.rg-policy-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 20px 24px;
  display: grid;
  gap: 16px;
}

.rg-policy-intro {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--rg-muted);
}

.rg-policy-list {
  display: grid;
  gap: 12px;
}

.rg-policy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(19, 34, 56, 0.10);
  background: var(--rg-paper);
}

.rg-policy-item-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #e6eef8;
  color: var(--rg-navy);
}

.rg-policy-item-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rg-policy-item-copy h3 {
  font-family: var(--rg-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rg-navy);
}

.rg-policy-item-copy p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.58;
  color: var(--rg-ink);
}

@media (min-width: 640px) {
  .rg-policy-head {
    padding: 24px 26px 18px;
  }
  .rg-policy-body {
    padding: 20px 26px 28px;
  }
  .rg-policy-close {
    top: 20px;
    right: 20px;
  }
}

.rg-stay-summary-box {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  display: grid;
  gap: 6px;
  font-size: 13.5px;
}

/* Formulare */
.rg-form {
  display: grid;
  gap: 12px;
}
.rg-form-row {
  display: grid;
  gap: 12px;
}
@media (min-width: 600px) {
  .rg-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rg-form label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 650;
  color: var(--rg-ink);
}

.rg-form :is(input, textarea, select) {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--rg-line);
  border-radius: 9px;
  background: var(--rg-white);
  color: var(--rg-ink);
  font-size: 16px;
}
.rg-form textarea {
  min-height: 92px;
  resize: vertical;
}
.rg-form [aria-invalid="true"] {
  border-color: var(--rg-error-text);
}
.rg-field-error {
  color: var(--rg-error-text);
  font-size: 12px;
  font-weight: 600;
}

.rg-form-status {
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 550;
  background: var(--rg-sand);
  color: var(--rg-ink);
}
.rg-form-status.is-success {
  background: var(--rg-success-bg);
  color: var(--rg-success-text);
}
.rg-form-status.is-error {
  background: var(--rg-error-bg);
  color: var(--rg-error-text);
}

.rg-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.rg-form-privacy {
  font-size: 12.5px;
  color: var(--rg-muted);
}
.rg-form-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================================
   16b. EIGENE APARTMENT-UNTERSEITEN (body[data-page="apartment"])
   ============================================================================ */
.rg-apt-backbar {
  background: #eaf1f9;
  border-bottom: 1px solid var(--rg-line);
}

.rg-apt-backbar-inner {
  width: min(calc(100% - 32px), 1260px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 768px) {
  .rg-apt-backbar-inner {
    width: min(calc(100% - 64px), 1260px);
    min-height: 48px;
  }
  body[data-page="checkout"] .rg-apt-backbar-inner,
  body[data-page="enquiry"] .rg-apt-backbar-inner {
    width: min(calc(100% - 64px), 1260px);
  }
}

.rg-apt-backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 2px;
  color: var(--rg-navy);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.rg-apt-backlink:hover {
  color: var(--rg-gold-dark);
}

.rg-apt-backlink .material-symbols-rounded {
  font-size: 18px;
}

/* Schwebende Boutique-Glas-Pill fuer "Zurueck zu ..."-Links auf allen Unterseiten beim Scrollen */
.rg-floating-back {
  position: fixed;
  top: calc(var(--rg-header-h, 72px) + 10px);
  left: 12px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  max-width: calc(100vw - 24px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.2s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

@media (min-width: 768px) {
  .rg-floating-back {
    left: max(16px, calc((100vw - 1260px) / 2 + 24px));
    max-width: min(calc(100vw - 32px), 440px);
  }
}

.rg-floating-back-icon {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.rg-floating-back-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rg-floating-back.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.rg-floating-back:hover,
.rg-floating-back:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.24);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  color: #0f172a;
  outline: none;
}

.rg-floating-back:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-floating-back:hover .rg-floating-back-icon,
.rg-floating-back:focus-visible .rg-floating-back-icon {
  transform: translateX(-3px);
}

body.rg-menu-open .rg-floating-back,
body.rg-popover-open .rg-floating-back {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .rg-floating-back,
  .rg-floating-back-icon {
    transition: opacity 0.12s ease, visibility 0.12s ease;
  }
  .rg-floating-back:hover .rg-floating-back-icon,
  .rg-floating-back:focus-visible .rg-floating-back-icon {
    transform: none;
  }
}

.rg-apt-main {
  padding-block: 20px 44px;
  background: var(--rg-paper);
}

.rg-apt-main > .rg-shell {
  width: min(calc(100% - 32px), 1260px);
}

@media (min-width: 768px) {
  .rg-apt-main {
    padding-block: 32px 72px;
  }
  .rg-apt-main > .rg-shell {
    width: min(calc(100% - 64px), 1260px);
  }
}

#rg-apt-page-root {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  #rg-apt-page-root {
    gap: 34px;
  }
}

.rg-apt-hero-head {
  display: grid;
  gap: 14px;
}

.rg-apt-head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
}

.rg-apt-head-titles {
  display: grid;
  gap: 6px;
}

.rg-apt-head-titles h1 {
  font-family: var(--rg-display);
  font-size: clamp(26px, 5.8vw, 42px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--rg-navy);
}

.rg-apt-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(19, 34, 56, 0.72);
}

.rg-apt-address-icon {
  font-size: 15px;
  width: 15px;
  height: 15px;
  line-height: 1;
  flex-shrink: 0;
  color: rgba(19, 34, 56, 0.62);
}

.rg-apt-head-price {
  display: grid;
  gap: 2px;
}

@media (min-width: 640px) {
  .rg-apt-head-price {
    text-align: right;
  }
}

.rg-apt-price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.rg-apt-price-line strong {
  font-family: var(--rg-display);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 750;
  color: var(--rg-navy);
}

.rg-apt-price-line span {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--rg-muted);
}

.rg-apt-gallery-section {
  display: grid;
}

/* Galerie auf Apartment-Unterseiten */
.rg-details-gallery-wrap {
  display: grid;
  gap: 10px;
}

.rg-details-gallery-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #132238;
  border: 1px solid rgba(19, 34, 56, 0.12);
}

.rg-apt-gallery-stage .rg-slider-arrow {
  top: 50%;
}

@media (min-width: 768px) {
  .rg-details-gallery-stage {
    aspect-ratio: 16 / 9;
    max-height: 540px;
    border-radius: 20px;
  }
}

@media (min-width: 1200px) {
  .rg-details-gallery-stage {
    max-height: 620px;
    border-radius: 22px;
  }
}

.rg-details-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rg-details-gallery-stage img.rg-gallery-img--portrait {
  object-fit: contain;
  background: #132238;
}

.rg-details-gallery-counter {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(19, 34, 56, 0.76);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.rg-details-lightbox-trigger {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(19, 34, 56, 0.72);
  color: #ffffff;
  cursor: pointer;
}

.rg-details-lightbox-trigger:hover {
  background: rgba(19, 34, 56, 0.92);
}

.rg-details-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.rg-details-thumbs::-webkit-scrollbar {
  display: none;
}

.rg-details-thumb {
  width: 78px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.62;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.16s ease, border-color 0.16s ease;
}

.rg-details-thumb.is-active,
.rg-details-thumb:hover {
  opacity: 1;
  border-color: var(--rg-navy);
}

.rg-details-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inhaltliche Abschnitte auf der Apartment-Seite */
.rg-apt-block {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(19, 34, 56, 0.10);
}

@media (min-width: 768px) {
  .rg-apt-block {
    gap: 16px;
    padding-top: 32px;
  }
}

.rg-apt-section-title,
.rg-details-section-title {
  font-family: var(--rg-display);
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--rg-navy);
}

.rg-details-section-sub {
  margin: -6px 0 0;
  font-size: 14px;
  color: var(--rg-muted);
}

/* Ruhige, rahmenlose Eckdaten + dezente Check-in/Check-out-Zeile */
.rg-details-facts {
  display: grid;
  gap: 8px;
}

.rg-details-facts-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.rg-details-fact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rg-navy);
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.4;
}

.rg-details-fact-item .material-symbols-rounded {
  font-size: 17px;
  color: var(--rg-gold-dark);
}

.rg-details-fact-sep {
  color: rgba(19, 34, 56, 0.30);
  font-weight: 600;
  user-select: none;
}

.rg-details-checkin-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--rg-muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.rg-details-checkin-row .material-symbols-rounded {
  font-size: 16px;
  color: var(--rg-gold-dark);
}

.rg-details-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .rg-details-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.rg-details-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid rgba(19, 34, 56, 0.12);
  background: var(--rg-white);
}

.rg-details-highlight-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #ebf2fb;
  color: var(--rg-navy);
}

.rg-details-highlight-card strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rg-navy);
  margin-bottom: 3px;
}

.rg-details-highlight-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: var(--rg-muted);
}

.rg-apt-about-wrap {
  display: grid;
  gap: 8px;
}

.rg-details-prose {
  display: grid;
  gap: 13px;
}

.rg-details-prose p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--rg-ink);
  max-width: 74ch;
}

.rg-about-subhead {
  margin: 6px 0 -4px;
  font-family: var(--rg-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rg-navy);
  max-width: 74ch;
}

.rg-about-list {
  margin: -2px 0 2px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  max-width: 74ch;
  color: var(--rg-ink);
  font-size: 15.2px;
  line-height: 1.62;
}

@media (max-width: 767.98px) {
  .rg-details-prose p {
    font-size: 15px;
    line-height: 1.66;
  }

  .rg-about-list {
    font-size: 14.8px;
    line-height: 1.58;
  }
}

/* Rahmenloser, klar klickbarer Text-Trigger unter "Über die Unterkunft" (Airbnb-Boutique-Stil) */
.rg-apt-about-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: fit-content;
  min-height: 44px;
  margin-top: 2px;
  padding: 10px 6px 10px 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #0f172a;
  font-family: var(--rg-sans);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.16s ease;
}

.rg-apt-about-toggle-label {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(15, 23, 42, 0.72);
  transition: text-decoration-color 0.16s ease;
}

.rg-apt-about-toggle:hover {
  color: #8f6516;
  background: transparent;
  border: none;
  box-shadow: none;
}

.rg-apt-about-toggle:hover .rg-apt-about-toggle-label {
  text-decoration-color: #c89b3c;
}

.rg-apt-about-toggle:active {
  color: #704f10;
  background: transparent;
  border: none;
  box-shadow: none;
}

.rg-apt-about-toggle:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 3px;
  border-radius: 6px;
}

.rg-apt-about-chevron {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: currentColor;
  transform: translateX(0);
  transition: transform 0.18s ease, color 0.16s ease;
}

.rg-apt-about-toggle:hover .rg-apt-about-chevron,
.rg-apt-about-toggle:focus-visible .rg-apt-about-chevron {
  transform: translateX(3px);
}

.rg-apt-about-toggle:active .rg-apt-about-chevron {
  transform: translateX(2px);
}

/* Ruhiges Boutique-Lese-Pop-up für die vollständige Apartment-Beschreibung (#rg-about-dialog) */
body.rg-about-modal-open {
  overflow: hidden;
}

dialog#rg-about-dialog.rg-about-dialog {
  width: min(calc(100vw - 24px), 680px);
  max-width: calc(100vw - 24px);
  max-height: 85vh;
  max-height: 85dvh;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

dialog#rg-about-dialog.rg-about-dialog[open] {
  display: flex;
  flex-direction: column;
}

.rg-about-dialog-shell {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 85vh;
  max-height: 85dvh;
  background: #ffffff;
}

.rg-about-dialog-head {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  background: #ffffff;
}

.rg-about-dialog-head-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rg-about-dialog-head-text h2 {
  margin: 0;
  font-family: var(--rg-display);
  font-size: clamp(20px, 4.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.rg-about-dialog-subtitle {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #64748b;
}

dialog#rg-about-dialog.rg-about-dialog .rg-about-dialog-close {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

dialog#rg-about-dialog.rg-about-dialog .rg-about-dialog-close:hover {
  background: #f8fafc;
  border-color: rgba(200, 155, 60, 0.55);
  color: #0f172a;
}

dialog#rg-about-dialog.rg-about-dialog .rg-about-dialog-close:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-about-dialog-close-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.rg-about-dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 22px 22px 28px;
  outline: none;
}

.rg-about-dialog-prose {
  display: grid;
  gap: 14px;
  max-width: 62ch;
}

.rg-about-dialog-prose p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: #1e293b;
  overflow-wrap: break-word;
}

.rg-about-dialog-prose .rg-about-subhead {
  margin: 10px 0 -2px;
  font-family: var(--rg-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  max-width: 62ch;
}

.rg-about-dialog-prose .rg-about-list {
  margin: -2px 0 4px;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  max-width: 62ch;
  color: #1e293b;
  font-size: 15.2px;
  line-height: 1.68;
}

@media (min-width: 640px) {
  .rg-about-dialog-head {
    padding: 24px 28px 18px;
  }

  .rg-about-dialog-body {
    padding: 24px 28px 32px;
  }
}

@media (max-width: 639.98px) {
  dialog#rg-about-dialog.rg-about-dialog {
    width: min(calc(100vw - 20px), 680px);
    max-width: calc(100vw - 20px);
    border-radius: 20px;
  }

  .rg-about-dialog-head {
    padding: 18px 18px 14px;
  }

  .rg-about-dialog-body {
    padding: 18px 18px 24px;
  }

  .rg-about-dialog-prose p {
    font-size: 15px;
    line-height: 1.68;
  }

  .rg-about-dialog-prose .rg-about-list {
    font-size: 14.8px;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-apt-about-toggle,
  .rg-apt-about-toggle-label,
  .rg-apt-about-chevron,
  dialog#rg-about-dialog.rg-about-dialog .rg-about-dialog-close {
    transition: none;
  }
}

/* Ruhiges Boutique-Modal für kategorisierte Ausstattungsmerkmale (Icons nur am Kategorie-Titel) */
dialog.rg-amenities-dialog {
  width: min(calc(100% - 28px), 680px);
  max-width: 680px;
}

.rg-amenities-cat-stack {
  display: grid;
  gap: 22px;
}

.rg-amenities-cat-group {
  display: grid;
  gap: 10px;
}

.rg-amenities-cat-group + .rg-amenities-cat-group {
  padding-top: 20px;
  border-top: 1px solid rgba(19, 34, 56, 0.10);
}

.rg-amenities-cat-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rg-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rg-navy);
}

.rg-amenities-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #edf3fa;
  color: var(--rg-navy);
}

.rg-amenities-cat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.rg-amenities-cat-list li {
  display: grid;
  gap: 2px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(19, 34, 56, 0.07);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--rg-ink);
}

.rg-amenity-item-title {
  font-weight: 500;
  color: var(--rg-ink);
}

.rg-amenity-item-sub {
  font-size: 13px;
  line-height: 1.45;
  color: var(--rg-muted);
}

.rg-amenities-cat-list li:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

/* Ruhige 2-Spalten-Ausstattungsliste ohne Kachel-Optik (Mobile 1-spaltig) */
.rg-details-amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 28px;
  max-width: 780px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .rg-details-amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
  }
}

.rg-details-amenities-grid li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--rg-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.rg-details-amenity-icon {
  font-size: 20px;
  color: var(--rg-gold-dark);
  flex-shrink: 0;
}

.rg-details-more-comforts {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.rg-details-more-comforts h3,
.rg-details-more-comforts h4 {
  font-family: var(--rg-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(19, 34, 56, 0.58);
}

.rg-details-comfort-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-details-comfort-pills li {
  padding: 5px 11px;
  border-radius: 999px;
  background: #ebf1f8;
  border: 1px solid rgba(19, 34, 56, 0.08);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--rg-ink);
}

/* 5 Bewertungen speziell zum Apartment (Mobil wischbarer Slider, Desktop Raster) */
.rg-details-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rg-details-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(19, 34, 56, 0.12);
  background: var(--rg-white);
  font-size: 13px;
  color: var(--rg-muted);
}

.rg-details-rating-pill .material-symbols-rounded {
  color: var(--rg-gold);
}

.rg-details-rating-pill strong {
  color: var(--rg-navy);
}

.rg-details-reviews-list {
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rg-details-reviews-list::-webkit-scrollbar {
  display: none;
}

.rg-details-review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(19, 34, 56, 0.12);
  background: var(--rg-white);
  box-shadow: 0 4px 16px rgba(19, 34, 56, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .rg-details-review-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

.rg-details-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rg-details-review-top .rg-review-stars {
  margin-bottom: 0;
}

.rg-details-review-type {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(19, 34, 56, 0.58);
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf3fa;
}

.rg-details-review-quote {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--rg-ink);
  flex: 1 1 auto;
}

.rg-details-review-author {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rg-navy);
}

/* Einzel-Standortkarte (100 % DSGVO 1-Klick-Leaflet) */
#apartment-location {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.rg-details-map-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: #eef3f9;
  min-height: 320px;
}

.rg-details-map-consent {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 22px 16px;
  background: #eef3f9;
  background-image: radial-gradient(#ccd8e8 1px, transparent 1px);
  background-size: 20px 20px;
}

.rg-map-consent-card {
  width: min(100%, 460px);
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  text-align: center;
  box-shadow: 0 12px 34px rgba(19, 34, 56, 0.08);
  display: grid;
  justify-items: center;
  gap: 10px;
}

.rg-map-consent-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rg-navy);
}

.rg-map-consent-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 4px;
}

.rg-details-map-canvas {
  width: 100%;
  height: 340px;
  z-index: 1;
  background: #edf2f8 !important;
}

.rg-details-map-canvas .leaflet-tile-pane {
  filter: saturate(0.65) contrast(0.95) brightness(1.03);
}

.rg-details-map-canvas .leaflet-popup-content-wrapper {
  border-radius: 14px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  color: var(--rg-ink);
  box-shadow: 0 12px 30px rgba(19, 34, 56, 0.18);
  padding: 0;
}

.rg-details-map-canvas .leaflet-popup-content {
  margin: 13px 15px 14px;
  min-width: 205px;
  max-width: 260px;
  font-family: var(--rg-sans);
  line-height: 1.45;
}

.rg-details-map-canvas .leaflet-popup-tip {
  background: var(--rg-white);
}

@media (min-width: 768px) {
  .rg-details-map-stage,
  .rg-details-map-consent {
    min-height: 380px;
  }
  .rg-details-map-canvas {
    height: 400px;
  }
}

/* Direkte Buchungssektion (#apartment-booking) */
.rg-details-booking-card {
  display: grid;
  gap: 18px;
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: var(--rg-white);
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.05);
}

@media (min-width: 768px) {
  .rg-details-booking-card {
    gap: 22px;
    padding: 28px;
    border-radius: 20px;
  }
}

.rg-details-booking-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
}

.rg-details-booking-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: var(--rg-muted);
}

.rg-details-booking-rate {
  white-space: nowrap;
}

.rg-details-booking-rate strong {
  font-size: 21px;
  font-weight: 750;
  color: var(--rg-navy);
}

.rg-details-booking-rate span {
  font-size: 13px;
  color: var(--rg-muted);
}

/* Einheitliche Boutique-Auswahlbox über dem Kalender (Checkout Schritt 1 & alle 4 Detailseiten) */
.rg-booking-selector-bar {
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.rg-apt-booking-summary-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rg-apt-booking-summary-pills > :nth-child(3) {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .rg-booking-selector-bar {
    padding: 10px;
  }
  .rg-apt-booking-summary-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .rg-apt-booking-summary-pills > :nth-child(3) {
    grid-column: auto;
  }
}

.rg-booking-cal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.rg-apt-inline-cta-wrap {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.rg-details-date-pill {
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(19, 34, 56, 0.12);
  background: var(--rg-paper);
  display: grid;
  gap: 2px;
}

.rg-details-date-pill span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(19, 34, 56, 0.58);
}

.rg-details-date-pill strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--rg-navy);
}

.rg-details-cal-wrap {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(19, 34, 56, 0.10);
  background: var(--rg-paper);
}

@media (min-width: 768px) {
  .rg-apt-cal-wrap {
    padding: 18px 20px;
  }
}

.rg-apt-booking-lower {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-top: 6px;
}

@media (min-width: 860px) {
  .rg-apt-booking-lower {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: 28px;
  }
}

.rg-apt-booking-pricing-col {
  display: grid;
  gap: 10px;
}

@media (min-width: 860px) {
  .rg-apt-booking-pricing-col .rg-guest-selectors {
    grid-template-columns: 1fr;
  }
}

.rg-apt-booking-form-col {
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(19, 34, 56, 0.10);
  background: var(--rg-paper);
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .rg-apt-booking-form-col {
    padding: 20px;
  }
}

.rg-apt-form-heading {
  font-family: var(--rg-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--rg-navy);
}

.rg-apt-guest-nudge {
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(19, 34, 56, 0.14);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--rg-gold-dark);
}

.rg-details-request-btn {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

/* Kompakter, rahmenloser Preis- & Eckdaten-Block auf Detailseite */
.rg-apt-price-facts {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.rg-apt-price-band {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 0 0 12px;
  border: none;
  border-bottom: 1px solid rgba(19, 34, 56, 0.10);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rg-apt-price-main {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.rg-apt-price-dot {
  color: rgba(19, 34, 56, 0.32);
  font-weight: 600;
}

/* Kompakte Rabatt-Kurzzeile ausschließlich direkt beim Kalender */
.rg-cal-discount-note {
  margin: 10px 0 0;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--rg-paper);
  border: 1px solid rgba(19, 34, 56, 0.08);
  color: var(--rg-muted);
  font-size: 11.8px;
  font-weight: 550;
  letter-spacing: -0.005em;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .rg-cal-discount-note {
    padding: 8px 14px;
    font-size: 12.5px;
    letter-spacing: 0;
  }
}

/* Boutique-Konditionen-Kacheln (4-teilige Info-Leiste unter dem Kalender) */
.rg-pricing-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

@media (min-width: 640px) {
  .rg-pricing-facts {
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .rg-pricing-facts:not(.rg-pricing-facts--compact) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

.rg-pricing-fact {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

@media (max-width: 419.98px) {
  .rg-pricing-fact {
    padding: 9px 10px;
    gap: 7px;
  }
}

.rg-pricing-fact.is-discount {
  background: rgba(200, 155, 60, 0.09);
  border-color: rgba(200, 155, 60, 0.28);
}

.rg-pricing-fact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #475569;
}

.rg-pricing-fact.is-discount .rg-pricing-fact-icon {
  color: #9a7220;
}

.rg-pricing-fact-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.rg-pricing-fact-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.rg-pricing-fact.is-discount .rg-pricing-fact-label {
  color: #7c5c17;
}

.rg-pricing-fact-value {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.rg-apt-amenities-extra {
  display: grid;
  gap: 14px;
}

.rg-apt-amenities-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(19, 34, 56, 0.20);
  background: var(--rg-white);
  color: var(--rg-navy);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.rg-apt-amenities-toggle:hover {
  background: #eaf1f9;
  border-color: rgba(19, 34, 56, 0.34);
}

.rg-apt-amenities-chevron {
  font-size: 19px;
  transition: transform 0.2s ease;
}

.rg-apt-amenities-toggle[aria-expanded="true"] .rg-apt-amenities-chevron {
  transform: rotate(180deg);
}

.rg-apt-nearby {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed rgba(19, 34, 56, 0.14);
}

.rg-apt-nearby h3 {
  font-family: var(--rg-display);
  font-size: clamp(17px, 3.6vw, 20px);
  font-weight: 700;
  color: var(--rg-navy);
}

.rg-apt-nearby-intro {
  margin: -4px 0 2px;
  font-size: 13.5px;
  color: var(--rg-muted);
}

.rg-apt-nearby-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .rg-apt-nearby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .rg-apt-nearby-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rg-apt-nearby-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid rgba(19, 34, 56, 0.10);
  background: var(--rg-white);
}

.rg-apt-nearby-card[hidden] {
  display: none !important;
}

.rg-apt-nearby-card.is-revealed {
  animation: rgNearbyFadeIn 0.22s ease;
}

@keyframes rgNearbyFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rg-apt-nearby-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 44px;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(19, 34, 56, 0.16);
  background: var(--rg-white);
  color: #132238;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.rg-apt-nearby-toggle:hover,
.rg-apt-nearby-toggle:focus-visible {
  background: #eaf1f9;
  border-color: rgba(19, 34, 56, 0.34);
  outline: none;
}

.rg-apt-nearby-toggle:focus-visible {
  outline: 2px solid var(--rg-gold-dark);
  outline-offset: 2px;
}

.rg-apt-nearby-chevron {
  font-size: 19px;
  transition: transform 0.2s ease;
}

.rg-apt-nearby-toggle[aria-expanded="true"] .rg-apt-nearby-chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .rg-apt-nearby-card.is-revealed {
    animation: none;
  }
  .rg-apt-nearby-toggle,
  .rg-apt-nearby-chevron {
    transition: none;
  }
}

.rg-apt-nearby-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #ebf2fb;
  color: var(--rg-navy);
}

.rg-apt-nearby-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rg-apt-nearby-meta strong {
  font-size: 13.8px;
  font-weight: 650;
  color: var(--rg-navy);
  line-height: 1.3;
}

.rg-apt-nearby-meta span {
  font-size: 12.2px;
  color: var(--rg-muted);
  line-height: 1.35;
}

/* Kalender-Buchungsbereich direkt über "Lage & Karte" + andockende Buchungsleiste */
.rg-apt-booking-section {
  scroll-margin-top: 84px;
}

.rg-apt-booking-card {
  display: grid;
  gap: 16px;
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px solid rgba(19, 34, 56, 0.12);
  background: var(--rg-white);
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.05);
}

/* Fester, nicht-umschaltbarer Apartment-Titel direkt oben im Verfügbarkeitsbereich der Detailseiten */
.rg-apt-booking-fixed-apt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rg-apt-booking-fixed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c89b3c;
  flex-shrink: 0;
}

.rg-apt-booking-fixed-name {
  font-family: var(--rg-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.rg-apt-booking-fixed-sep {
  color: #94a3b8;
  font-size: 13px;
}

.rg-apt-booking-fixed-district {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

@media (max-width: 519.98px) {
  .rg-apt-booking-fixed-sep {
    display: none;
  }

  .rg-apt-booking-fixed-district {
    flex-basis: 100%;
    padding-left: 16px;
  }
}

@media (min-width: 768px) {
  .rg-apt-booking-card {
    gap: 18px;
    padding: 24px 26px;
    border-radius: 20px;
  }

  .rg-apt-booking-fixed-name {
    font-size: 16px;
  }
}

.rg-apt-booking-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(19, 34, 56, 0.08);
}

.rg-apt-booking-dates-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 13.5px;
  color: var(--rg-muted);
}

.rg-apt-booking-dates-item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.rg-apt-booking-dates-item strong {
  color: var(--rg-navy);
  font-weight: 650;
}

.rg-apt-booking-clear {
  border: 0;
  padding: 2px 4px;
  background: transparent;
  color: var(--rg-muted);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.rg-apt-booking-clear:hover {
  color: var(--rg-navy);
}

.rg-apt-booking-guests {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.rg-apt-guest-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rg-apt-guest-inline-label {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.rg-apt-guest-inline-label strong {
  font-size: 13px;
  font-weight: 650;
  color: var(--rg-navy);
}

.rg-apt-guest-inline-label span {
  font-size: 11px;
  color: var(--rg-muted);
}

.rg-apt-cal-mount {
  width: 100%;
}

.rg-apt-booking-dock {
  width: 100%;
  min-height: 74px;
}

.rg-apt-location-section {
  margin-top: 10px;
  padding-top: 36px;
}

@media (min-width: 768px) {
  .rg-apt-location-section {
    margin-top: 16px;
    padding-top: 44px;
  }
}

/* Aufgewerteter Boutique-Gäste-Picker (Checkout Schritt 1 & alle 4 Detailseiten) */
.rg-guest-picker-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rg-guest-picker-box:focus,
.rg-guest-picker-box:focus-visible {
  outline: none;
}

.rg-guest-picker-box.is-guests-highlight {
  border-color: #c89b3c;
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.22);
  animation: rgCalHighlightPulse 1.2s ease-out forwards;
}

.rg-guest-picker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.rg-guest-picker-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rg-guest-picker-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #9a6f1d;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-guest-picker-titles {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rg-guest-picker-titles strong {
  font-family: var(--rg-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.rg-guest-picker-titles span {
  font-size: 12px;
  line-height: 1.3;
  color: #64748b;
}

.rg-guest-picker-cap {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.12);
  border: 1px solid rgba(200, 155, 60, 0.34);
  color: #7c5812;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

.rg-guest-picker-box .rg-guest-selectors {
  grid-template-columns: 1fr;
  gap: 10px;
}

.rg-guest-picker-box .rg-guest-card {
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.rg-guest-picker-box .rg-stepper {
  gap: 10px;
}

.rg-guest-picker-box .rg-stepper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.12s ease;
}

.rg-guest-picker-box .rg-stepper-btn:hover:not(:disabled) {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.rg-guest-picker-box .rg-stepper-btn:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-guest-picker-box .rg-stepper-btn:disabled {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #94a3b8;
  opacity: 0.55;
  box-shadow: none;
  cursor: not-allowed;
}

.rg-guest-picker-box .rg-stepper-value {
  min-width: 26px;
  font-size: 16px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

button.rg-checkout-guests-trigger strong.is-guest-hint {
  color: #9a6f1d;
  font-weight: 650;
}

button.rg-checkout-guests-trigger .rg-checkout-guests-arrow {
  color: #9a6f1d;
}

button.rg-checkout-guests-trigger:hover .rg-checkout-guests-arrow {
  transform: translateY(2px);
}

/* Fixe Buchungsleiste auf Detailseiten: immer position: fixed, animiert ausschließlich per transform/opacity (0 Layout-Sprung) */
.rg-apt-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--rg-line);
  box-shadow: 0 -8px 24px rgba(19, 34, 56, 0.09);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, visibility 0.24s ease;
  will-change: transform, opacity;
}

.rg-apt-sticky-bar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.rg-apt-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  width: min(calc(100% - 32px), 1260px);
  margin-inline: auto;
  padding: 11px 0 max(12px, env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .rg-apt-sticky-inner {
    width: min(calc(100% - 64px), 1260px);
    padding: 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-apt-sticky-bar,
  .rg-guest-picker-box.is-guests-highlight {
    transition: none;
    animation: none;
  }
}

.rg-apt-sticky-bar.is-discount-active {
  border-top-color: rgba(200, 155, 60, 0.44);
}

.rg-details-sticky-price {
  display: grid;
  gap: 2px;
  line-height: 1.25;
  min-width: 0;
}

.rg-details-sticky-price-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.rg-details-sticky-price-top.has-discount {
  align-items: center;
  gap: 4px 7px;
}

.rg-details-sticky-price strong {
  font-size: 17px;
  font-weight: 750;
  color: var(--rg-navy);
}

.rg-sticky-price-pair {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.rg-sticky-price-orig-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rg-sticky-price-original {
  font-size: 12px;
  line-height: 1.15;
}

.rg-details-sticky-price strong.rg-sticky-price-discounted {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #a87412;
  text-shadow: 0 0 16px rgba(200, 155, 60, 0.28);
}

.rg-sticky-discount-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.2) 0%, rgba(235, 195, 95, 0.14) 100%);
  border: 1px solid rgba(200, 155, 60, 0.45);
  color: #855a0d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.rg-sticky-cleaning-note {
  display: none;
}

@media (min-width: 600px) {
  .rg-sticky-price-pair {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
  .rg-sticky-price-orig-row {
    display: contents;
  }
  .rg-sticky-price-original {
    order: 1;
    font-size: 13px;
  }
  .rg-details-sticky-price strong.rg-sticky-price-discounted {
    order: 2;
    font-size: 20px;
  }
  .rg-sticky-discount-pill {
    order: 3;
    align-self: center;
    font-size: 11.5px;
    padding: 2px 7px;
  }
  .rg-sticky-cleaning-note {
    display: inline;
  }
}

.rg-details-sticky-price-note {
  font-size: 12px;
  font-weight: 500;
  color: var(--rg-muted);
}

.rg-details-sticky-price-meta {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rg-muted);
}

.rg-details-sticky-cta {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .rg-apt-sticky-inner {
    gap: 10px;
  }
  .rg-details-sticky-cta {
    padding: 9px 12px;
    font-size: 12.5px;
  }
  .rg-details-sticky-price-meta {
    font-size: 11.5px;
  }
}

.rg-apt-sticky-feedback {
  margin: 0;
  padding: 0 16px 12px;
  font-size: 13px;
  font-weight: 550;
  color: var(--rg-error-text);
  line-height: 1.4;
}

.rg-apt-sticky-bar.is-floating .rg-apt-sticky-feedback {
  width: min(calc(100% - 32px), 1260px);
  margin-inline: auto;
  padding: 0 0 10px;
}

@media (min-width: 768px) {
  .rg-apt-sticky-bar.is-docked .rg-apt-sticky-feedback {
    padding: 0 24px 14px;
  }
  .rg-apt-sticky-bar.is-floating .rg-apt-sticky-feedback {
    width: min(calc(100% - 64px), 1260px);
  }
}

/* ============================================================================
   16c. CHECKOUT (checkout.html) & KONTAKTDATEN (anfrage.html)
   ============================================================================ */
.rg-flow-main {
  padding-block: 20px 44px;
  background: var(--rg-paper);
}

.rg-flow-main > .rg-shell {
  width: min(calc(100% - 32px), 1260px);
}

@media (min-width: 768px) {
  .rg-flow-main {
    padding-block: 36px 76px;
  }
  .rg-flow-main > .rg-shell {
    width: min(calc(100% - 64px), 1260px);
  }
}

#rg-checkout-root,
#rg-enquiry-root {
  display: grid;
  gap: 20px;
}

/* Boutique-Apartment-Auswahl ganz oben auf checkout.html (nahtlos im bestehenden Rheingold-Stil) */
/* Apartment-Auswahl im Checkout: strikt nur auf Desktop (>= 768px);
   auf Mobile (<= 767px) komplett ausgeblendet, sodass nur das gewählte Apartment erscheint */
.rg-flow-apt-picker {
  display: none;
}

@media (min-width: 768px) {
  .rg-flow-apt-picker {
    display: grid;
    gap: 13px;
    padding: 16px 20px 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: var(--rg-white);
    box-shadow: 0 6px 20px rgba(19, 34, 56, 0.04);
  }
}

.rg-co-apt-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rg-co-apt-picker-label {
  font-family: var(--rg-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.rg-co-apt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 640px) {
  .rg-co-apt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 1100px) {
  .rg-co-apt-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

.rg-co-apt-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 64px;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: #0f172a;
  font-family: var(--rg-sans);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.rg-co-apt-option:hover {
  border-color: rgba(200, 155, 60, 0.62);
  background: #fdfaf3;
}

.rg-co-apt-option:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-co-apt-option.is-selected {
  border: 1.5px solid #0f172a;
  background: linear-gradient(180deg, rgba(200, 155, 60, 0.08) 0%, #ffffff 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.rg-co-apt-thumb {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #edf2f8;
}

.rg-co-apt-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.rg-co-apt-title {
  font-family: var(--rg-display);
  font-size: 13.8px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.rg-co-apt-meta {
  font-size: 11.8px;
  font-weight: 500;
  line-height: 1.32;
  color: #64748b;
}

.rg-co-apt-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #ffffff;
  flex-shrink: 0;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.rg-co-apt-option.is-selected .rg-co-apt-check {
  border-color: #c89b3c;
  background: #c89b3c;
  box-shadow: 0 2px 8px rgba(200, 155, 60, 0.34);
}

.rg-co-apt-switch-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 0;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(200, 155, 60, 0.42);
  background: rgba(200, 155, 60, 0.08);
  color: #6b4708;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

.rg-co-apt-notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #a87412;
}

@media (prefers-reduced-motion: reduce) {
  .rg-co-apt-option,
  .rg-co-apt-check {
    transition: none;
  }
}

.rg-flow-apt-banner {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: var(--rg-white);
  box-shadow: 0 6px 20px rgba(19, 34, 56, 0.04);
}

@media (min-width: 680px) {
  .rg-flow-apt-banner {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px 20px;
  }
}

.rg-flow-apt-thumb {
  width: 84px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 680px) {
  .rg-flow-apt-thumb {
    width: 112px;
    height: 82px;
  }
}

.rg-flow-apt-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rg-flow-apt-meta h1,
.rg-enquiry-summary-meta h3 {
  font-family: var(--rg-display);
  font-size: clamp(19px, 4.4vw, 25px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--rg-navy);
}

.rg-flow-apt-facts {
  margin: 0;
  font-size: 12.8px;
  color: var(--rg-muted);
}

.rg-flow-apt-rate {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(19, 34, 56, 0.08);
}

@media (min-width: 680px) {
  .rg-flow-apt-rate {
    grid-column: auto;
    display: grid;
    justify-items: end;
    text-align: right;
    padding-top: 0;
    border-top: 0;
  }
}

.rg-flow-card {
  display: grid;
  gap: 18px;
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: var(--rg-white);
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.05);
}

@media (min-width: 768px) {
  .rg-flow-card {
    gap: 22px;
    padding: 26px 28px;
    border-radius: 20px;
  }
}

.rg-flow-card-head {
  display: grid;
  gap: 5px;
}

.rg-flow-card-head h2,
.rg-enquiry-head h1 {
  font-family: var(--rg-display);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--rg-navy);
}

.rg-enquiry-head {
  display: grid;
  gap: 6px;
}

.rg-flow-subhead {
  font-family: var(--rg-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--rg-navy);
  margin: 0;
}

.rg-flow-subhint {
  margin: -4px 0 2px;
  font-size: 12.8px;
  color: var(--rg-muted);
}

.rg-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 880px) {
  .rg-checkout-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: start;
    gap: 28px;
  }
}

.rg-checkout-cal-col,
.rg-checkout-side-col {
  display: grid;
  gap: 10px;
  min-width: 0;
}

/* Klickbare Anreise-/Abreise-Kacheln auf checkout.html (Boutique-Stil, lokale Inline-SVG-Icons) */
button.rg-checkout-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(19, 34, 56, 0.16);
  background: #ffffff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.18s ease, transform 0.14s ease;
}

.rg-checkout-date-trigger-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  text-transform: none;
  letter-spacing: normal;
}

.rg-checkout-date-trigger-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(19, 34, 56, 0.58);
}

button.rg-checkout-date-trigger strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: normal;
  text-transform: none;
  color: var(--rg-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rg-checkout-date-trigger-icon {
  flex-shrink: 0;
  color: rgba(19, 34, 56, 0.48);
  transition: color 0.16s ease, transform 0.16s ease;
}

button.rg-checkout-date-trigger:hover {
  border-color: rgba(154, 114, 32, 0.58);
  background: #fdfaf3;
  box-shadow: 0 5px 14px rgba(19, 34, 56, 0.07);
}

button.rg-checkout-date-trigger:hover .rg-checkout-date-trigger-icon {
  color: var(--rg-gold-dark);
  transform: translateY(-1px);
}

button.rg-checkout-date-trigger:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
  border-color: #c89b3c;
  background: #fdfaf3;
}

button.rg-checkout-date-trigger.is-active {
  border-color: #c89b3c;
  background: #fbf6ea;
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.18);
}

button.rg-checkout-date-trigger.is-active .rg-checkout-date-trigger-icon {
  color: var(--rg-gold-dark);
}

.rg-checkout-cal-wrap {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rg-checkout-cal-wrap:focus,
.rg-checkout-cal-wrap:focus-visible {
  outline: none;
}

@keyframes rgCalHighlightPulse {
  0% {
    border-color: #c89b3c;
    box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.26), 0 10px 26px rgba(200, 155, 60, 0.14);
  }
  65% {
    border-color: rgba(200, 155, 60, 0.78);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15), 0 6px 18px rgba(200, 155, 60, 0.08);
  }
  100% {
    border-color: rgba(19, 34, 56, 0.1);
    box-shadow: 0 0 0 0 rgba(200, 155, 60, 0);
  }
}

.rg-checkout-cal-wrap.is-calendar-highlight {
  border-color: #c89b3c;
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.22);
  animation: rgCalHighlightPulse 1.2s ease-out forwards;
}

.rg-checkout-guests-section {
  display: grid;
  gap: 10px;
}

.rg-checkout-guests-wrap {
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rg-checkout-guests-wrap:focus,
.rg-checkout-guests-wrap:focus-visible {
  outline: none;
}

.rg-checkout-guests-wrap.is-guests-highlight {
  padding: 6px;
  margin: -6px;
  border-color: #c89b3c;
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.22);
  animation: rgCalHighlightPulse 1.2s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .rg-checkout-cal-wrap.is-calendar-highlight,
  .rg-checkout-guests-wrap.is-guests-highlight {
    animation: none;
  }
}

@media (min-width: 880px) {
  .rg-checkout-guests {
    grid-template-columns: 1fr;
  }
}

.rg-checkout-missing-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--rg-muted);
}

.rg-checkout-missing-hint .material-symbols-rounded {
  color: var(--rg-gold-dark);
  flex-shrink: 0;
}

.rg-checkout-submit-btn {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

.rg-checkout-submit-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.rg-enquiry-summary-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.rg-enquiry-summary-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 220px;
}

.rg-enquiry-summary-facts {
  display: grid;
  gap: 3px;
  font-size: 13.8px;
  color: var(--rg-ink);
}

.rg-consent-check-wrap {
  display: grid;
  gap: 5px;
}

.rg-form label.rg-consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--rg-ink);
  cursor: pointer;
}

.rg-form label.rg-consent-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--rg-navy);
}

.rg-form label.rg-consent-checkbox a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rg-enquiry-empty,
.rg-enquiry-success {
  justify-items: center;
  text-align: center;
  padding: 36px 20px;
}

.rg-enquiry-empty .material-symbols-rounded,
.rg-enquiry-success-badge {
  color: var(--rg-navy);
}

.rg-enquiry-success-badge {
  color: var(--rg-success-text);
}

.rg-enquiry-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--rg-success-bg);
  color: var(--rg-success-text);
  font-size: 14px;
}

/* Lightbox Dialog */
dialog.rg-lightbox-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: rgba(12, 18, 30, 0.96);
  color: #f4f7fb;
  overflow: hidden;
}
dialog.rg-lightbox-dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog.rg-lightbox-dialog .rg-dialog-close {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.14);
}

.rg-lightbox-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 48px;
  min-height: 36px;
}
.rg-lightbox-header strong {
  color: #ffffff;
  font-size: 15.5px;
}
.rg-lightbox-counter {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
}

.rg-lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 10px;
}
.rg-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.rg-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 38, 0.72);
  color: #ffffff;
}
.rg-lightbox-prev { left: 6px; }
.rg-lightbox-next { right: 6px; }

.rg-lightbox-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.rg-lightbox-caption {
  color: rgba(244, 247, 251, 0.86);
  font-size: 13.5px;
  text-align: center;
}
.rg-lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
}
.rg-lightbox-thumb {
  width: 56px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 7px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
}
.rg-lightbox-thumb.is-active {
  opacity: 1;
  border-color: #ffffff;
}
.rg-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================================
   17. UNTERSEITEN (Film & Foto, Impressum, Datenschutz)
   ============================================================================ */
.rg-subpage-hero {
  background: var(--rg-beige);
  border-bottom: 1px solid var(--rg-line);
  padding-block: 28px 32px;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .rg-subpage-hero {
    padding-block: 44px 48px;
  }
}
.rg-subpage-hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-top: 8px;
}
.rg-subpage-hero p {
  margin-top: 12px;
  max-width: 62ch;
  font-size: 16.5px;
}

.rg-feature-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 768px) {
  .rg-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.rg-feature-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  display: grid;
  gap: 8px;
  align-content: start;
}
.rg-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.rg-form-card {
  max-width: 740px;
  margin-inline: auto;
  padding: 26px 22px;
  border-radius: 18px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  box-shadow: 0 10px 30px rgba(19, 34, 56, 0.05);
}

/* ============================================================================
   17b. FILM & FOTO EDITORIAL (film-und-foto.html)
   ============================================================================ */
.rg-ff-hero {
  background: var(--rg-beige);
  border-bottom: 1px solid var(--rg-line);
  padding-block: 14px 24px;
}

.rg-ff-backlink {
  min-height: 32px;
  font-size: 13.5px;
}

.rg-ff-hero-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.rg-ff-hero-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.rg-ff-hero-title {
  font-size: clamp(26px, 6.4vw, 44px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--rg-navy);
  text-wrap: balance;
}

.rg-ff-hero-intro {
  max-width: 48ch;
  font-size: clamp(14.8px, 1.8vw, 16.8px);
  line-height: 1.55;
  color: var(--rg-muted);
}

.rg-ff-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.rg-ff-btn-primary {
  min-height: 46px;
  padding: 11px 22px;
}

.rg-ff-hero-media {
  min-width: 0;
}

.rg-ff-hero-photo {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.rg-ff-gallery-section,
.rg-ff-benefits-section,
.rg-ff-cta-section {
  padding-block: 32px;
}

.rg-ff-section-head {
  display: grid;
  gap: 6px;
  max-width: 68ch;
  margin-bottom: 18px;
}

.rg-ff-section-head h2 {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--rg-navy);
}

.rg-ff-section-head p {
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rg-muted);
}

/* 4er-Galerie (02-05): Mobile 2x2 Paar-Layout (< 768px) */
.rg-ff-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rg-ff-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--rg-cream);
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(19, 34, 56, 0.08);
}

.rg-ff-tile-02,
.rg-ff-tile-03 {
  aspect-ratio: 3 / 4;
}

.rg-ff-tile-04,
.rg-ff-tile-05 {
  aspect-ratio: 4 / 3;
}

.rg-ff-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.rg-ff-tile:hover img,
.rg-ff-tile:focus-visible img {
  transform: scale(1.02);
}

.rg-ff-tile-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: rgba(19, 34, 56, 0.62);
  color: #ffffff;
  opacity: 0.84;
  transition: opacity 0.18s ease, background 0.18s ease;
  pointer-events: none;
}

.rg-ff-tile:hover .rg-ff-tile-zoom,
.rg-ff-tile:focus-visible .rg-ff-tile-zoom {
  opacity: 1;
  background: rgba(19, 34, 56, 0.86);
}

@media (prefers-reduced-motion: reduce) {
  .rg-ff-tile img {
    transition: none;
  }
  .rg-ff-tile:hover img,
  .rg-ff-tile:focus-visible img {
    transform: none;
  }
}

/* Kompakte 4-Punkte-Übersicht (Vorteile am Set) */
.rg-ff-benefits-section {
  background: var(--rg-white);
  border-top: 1px solid var(--rg-line);
  border-bottom: 1px solid var(--rg-line);
}

.rg-ff-benefits-head {
  margin-bottom: 16px;
}

.rg-ff-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.rg-ff-benefit {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--rg-line-soft);
}

.rg-ff-benefit-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--rg-sand);
  color: var(--rg-gold-dark);
  display: grid;
  place-items: center;
}

.rg-ff-benefit-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rg-ff-benefit-copy h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rg-navy);
}

.rg-ff-benefit-copy p {
  font-size: 14.3px;
  line-height: 1.55;
  color: var(--rg-muted);
  max-width: 52ch;
}

/* Helle weiße Rheingold-Boutique-Anfrage-Card (2-Spalten-Split Desktop, 1-Spalten-Card Mobile) */
.rg-ff-cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 26px 18px;
  border-radius: 22px;
  background: radial-gradient(circle at 96% 4%, rgba(200, 155, 60, 0.1) 0%, rgba(200, 155, 60, 0) 44%), #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
}

.rg-ff-cta-editorial {
  min-width: 0;
}

.rg-ff-cta-copy {
  display: block;
}

.rg-ff-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9a6f1d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

.rg-ff-cta-kicker::before {
  content: "";
  width: 24px;
  height: 1.5px;
  border-radius: 999px;
  background: #c89b3c;
  flex-shrink: 0;
}

.rg-ff-cta-copy h2 {
  margin: 12px 0 12px;
  font-family: var(--rg-display);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.rg-ff-cta-copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  max-width: 52ch;
}

.rg-ff-cta-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.rg-ff-cta-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
}

.rg-ff-cta-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.14);
  color: #9a6f1d;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-ff-cta-panel {
  min-width: 0;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 18px 14px;
}

.rg-ff-cta-actions {
  display: grid;
  gap: 10px;
  width: 100%;
}

.rg-ff-cta-btn-primary {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.rg-ff-cta-btn-primary:hover,
.rg-ff-cta-btn-primary:focus-visible {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

.rg-ff-cta-btn-primary:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-ff-cta-btn-arrow {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.rg-ff-cta-btn-primary:hover .rg-ff-cta-btn-arrow,
.rg-ff-cta-btn-primary:focus-visible .rg-ff-cta-btn-arrow {
  transform: translateX(3px);
}

.rg-ff-cta-btn-secondary {
  width: 100%;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.16);
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.rg-ff-cta-btn-secondary:hover,
.rg-ff-cta-btn-secondary:focus-visible {
  background: #fdfaf3;
  border-color: rgba(200, 155, 60, 0.55);
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.rg-ff-cta-btn-secondary:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

.rg-ff-cta-direct {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 18px;
  padding-top: 16px;
}

.rg-ff-cta-direct-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}

.rg-ff-cta-contacts {
  display: grid;
  gap: 8px;
}

.rg-ff-cta-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.rg-ff-cta-contact-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.14);
  color: #9a6f1d;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-ff-cta-contact-val {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
}

.rg-ff-cta-contact:hover,
.rg-ff-cta-contact:focus-visible {
  border-color: rgba(200, 155, 60, 0.45);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.rg-ff-cta-contact:focus-visible {
  outline: 2px solid #c89b3c;
  outline-offset: 2px;
}

@media (max-width: 399.98px) {
  .rg-ff-cta-card {
    padding: 24px 16px;
  }
  .rg-ff-cta-panel {
    padding: 16px 12px;
  }
  .rg-ff-cta-contact {
    gap: 8px;
    padding: 7px 9px;
    font-size: 13px;
  }
  .rg-ff-cta-contact-badge {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 900px) {
  .rg-ff-cta-card {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 36px;
    align-items: center;
    padding: 40px 44px;
    border-radius: 26px;
  }
  .rg-ff-cta-copy h2 {
    margin: 12px 0 14px;
    font-size: clamp(26px, 2.7vw, 34px);
    line-height: 1.15;
  }
  .rg-ff-cta-copy p {
    font-size: 15.5px;
  }
  .rg-ff-cta-list {
    margin-top: 24px;
  }
  .rg-ff-cta-panel {
    border-radius: 20px;
    padding: 24px;
  }
  .rg-ff-cta-btn-primary {
    min-height: 50px;
  }
  .rg-ff-cta-contact {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-ff-cta-btn-primary,
  .rg-ff-cta-btn-arrow,
  .rg-ff-cta-btn-secondary,
  .rg-ff-cta-contact {
    transition: none;
  }
}

@media (max-width: 639.98px) {
  .rg-ff-hero-actions .rg-ff-btn-primary {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .rg-ff-gallery-section,
  .rg-ff-benefits-section,
  .rg-ff-cta-section {
    padding-block: 56px;
  }
  .rg-ff-section-head {
    margin-bottom: 26px;
  }
  /* Desktop 2-reihige 4er-Galerie (exakt 0.75 : 1.3333 ohne Abschneiden, gleiche Reihenhoehe) */
  .rg-ff-gallery {
    grid-template-columns: calc((100% - 16px) * 9 / 25) calc((100% - 16px) * 7 / 25 - 16px) calc((100% - 16px) * 9 / 25);
    gap: 16px;
    align-items: stretch;
  }
  .rg-ff-tile-02 {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  .rg-ff-tile-04 {
    grid-column: 2 / 4;
    grid-row: 1;
  }
  .rg-ff-tile-05 {
    grid-column: 1 / 3;
    grid-row: 2;
  }
  .rg-ff-tile-03 {
    grid-column: 3 / 4;
    grid-row: 2;
  }
  .rg-ff-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 44px;
  }
  .rg-ff-benefit {
    padding-top: 16px;
    gap: 15px;
  }
  .rg-ff-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

@media (min-width: 900px) {
  .rg-ff-hero {
    padding-block: 28px 46px;
  }
  .rg-ff-hero-grid {
    margin-top: 14px;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 40px;
  }
  .rg-ff-hero-copy {
    gap: 14px;
  }
  .rg-ff-hero-photo {
    border-radius: 18px;
  }
}

.rg-legal {
  max-width: 780px;
  overflow-wrap: anywhere;
}
.rg-legal :is(p, a, li, strong),
.rg-policy-dialog,
.rg-flow-card,
.rg-form-card {
  overflow-wrap: anywhere;
}
.rg-legal h1 {
  font-size: clamp(26px, 5vw, 42px);
  margin: 12px 0 18px;
}
.rg-legal h2 {
  font-size: 20px;
  margin: 26px 0 8px;
}
.rg-legal p + p {
  margin-top: 10px;
}
.rg-legal-notice {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--rg-line);
  background: var(--rg-cream);
  color: var(--rg-ink);
  font-size: 14.5px;
}

/* ============================================================================
   18. PROPORTIONALE SKALIERUNG FÜR GROSSE DESKTOP-MONITORE (>= 1440px)
   ============================================================================ */
@media (min-width: 1440px) {
  html {
    font-size: 17px;
  }

  body {
    font-size: 17px;
  }

  .rg-section {
    padding-block: 88px;
  }

  .rg-header-inner {
    min-height: 82px;
    gap: 18px;
  }

  .rg-brand-logo {
    height: 46px;
  }

  .rg-navigation {
    gap: 18px;
  }

  .rg-navigation > a {
    font-size: 14.5px;
  }

  .rg-header-cta {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .rg-marquee {
    height: 54px;
  }

  .rg-marquee-group {
    gap: 52px;
    padding-right: 52px;
  }

  .rg-marquee-item {
    font-size: 15px;
  }

  .rg-search-section {
    padding: 34px 0 44px;
  }

  .rg-quick-date-btn {
    padding: 15px 24px;
  }

  .rg-quick-value {
    font-size: 15.5px;
  }

  .rg-date-choose-btn {
    min-height: 52px;
    padding: 12px 30px;
    font-size: 15.5px;
  }

  .rg-collection .rg-section-heading h2 {
    font-size: 44px;
  }

  .rg-collection .rg-section-heading p {
    font-size: 17px;
  }

  .rg-apartment-grid {
    gap: 32px;
  }

  .rg-card-body {
    padding: 22px 24px 24px;
  }

  .rg-card-title {
    font-size: 22px;
  }

  .rg-card-desc {
    font-size: 15px;
  }

  .rg-reviews-header h2 {
    font-size: 42px;
  }

  .rg-reviews-subtitle {
    font-size: 17px;
  }

  .rg-review-card {
    padding: 26px;
  }

  .rg-review-quote {
    font-size: 15.5px;
  }

  .rg-location-grid {
    grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
  }

  .rg-map-frame {
    height: 600px;
  }

  .rg-faq-inner {
    gap: 72px;
  }

  .rg-accordion summary {
    min-height: 62px;
    font-size: 17px;
  }

  .rg-accordion details p {
    font-size: 16px;
    max-width: 72ch;
  }

  .rg-details-prose p {
    font-size: 16.5px;
    max-width: 72ch;
  }

  .rg-legal {
    max-width: 780px;
  }

  .rg-footer {
    padding-block: 42px;
  }
}

/* Mobile iOS-Zoom-Schutz für alle Formulareingaben & saubere Zeilenumbrüche */
@media (max-width: 767.98px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }
}
