/* ============================================================================
   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;
  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;
}

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: 400;
  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), 1220px);
  margin-inline: auto;
}

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

@media (min-width: 768px) {
  .rg-shell {
    width: min(calc(100% - 64px), 1220px);
  }
  .rg-section {
    padding-block: 74px;
  }
}

/* 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;
  inset-block-start: 0;
  z-index: 100;
  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;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 48px;
  color: var(--rg-navy);
  white-space: nowrap;
}

.rg-logo {
  position: relative;
  display: block;
  width: 46px;
  height: 39px;
  overflow: hidden;
  mix-blend-mode: multiply;
}

.rg-logo img {
  position: absolute;
  width: 91px;
  max-width: none;
  height: auto;
  top: -15px;
  left: 0;
}

.rg-wordmark {
  display: grid;
  gap: 4px;
  line-height: 1;
}
.rg-wordmark strong {
  font-family: var(--rg-display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.095em;
}
.rg-wordmark span {
  color: var(--rg-gold-dark);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.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: 30px;
  min-height: 36px;
  color: var(--rg-muted);
  font-size: 11.5px;
  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: 36px;
    min-height: 38px;
    font-size: 12px;
  }
}

/* Mobiles Direktkontakt-Popover (schwebend direkt unter dem Header) */
.rg-contact-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  z-index: 110;
  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;
  inset: 100% 0 auto;
  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;
    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: 1240px) {
  .rg-header-contact-group .rg-header-contact-mail {
    display: inline-flex;
  }
}

/* ============================================================================
   7. BOUTIQUE HERO CARD ("Grosses Bild + Text direkt darin")
   ============================================================================ */
.rg-hero {
  padding-block: 12px 10px;
  background: var(--rg-paper);
}

.rg-hero-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 500px;
  height: 65svh;
  max-height: 620px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--rg-navy);
  box-shadow: 0 20px 46px rgba(19, 34, 56, 0.14);
}

.rg-hero-card-img,
.hero-video {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  border-radius: inherit;
  object-fit: cover;
  object-position: center 45%;
  pointer-events: none;
  display: block;
}

.hero-video {
  background: var(--rg-navy);
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.rg-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #132238 0%,
    rgba(19, 34, 56, 0.92) 26%,
    rgba(19, 34, 56, 0.30) 56%,
    transparent 100%
  );
}

.rg-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 24px 20px 24px;
}

.rg-hero-rating,
.hero-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(244, 247, 251, 0.94);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

.rg-hero-rating-text {
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.hero-rating-link:hover,
.hero-rating-link:focus-visible {
  color: #ffffff;
}

.hero-rating-link:hover .rg-hero-rating-text,
.hero-rating-link:focus-visible .rg-hero-rating-text {
  text-decoration-color: rgba(255, 255, 255, 0.95);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .rg-hero-rating,
  .hero-rating-link,
  .rg-hero-rating-text {
    transition: none;
  }
}

.rg-hero-title {
  max-width: 13ch;
  color: #ffffff;
  font-family: var(--rg-display);
  font-size: clamp(30px, 7.9vw, 38px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.09;
  text-wrap: balance;
}

.rg-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 7px;
  padding: 13px 26px;
  border-radius: 9999px;
  background: var(--rg-cream);
  color: var(--rg-navy);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 8px 24px rgba(10, 18, 30, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rg-hero-cta:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(10, 18, 30, 0.28);
}

@media (min-width: 768px) {
  .rg-hero {
    padding-block: 18px 12px;
  }
  .rg-hero-card {
    min-height: 540px;
    height: clamp(540px, 68svh, 660px);
    max-height: 680px;
    border-radius: 24px;
  }
  .rg-hero-card-img {
    object-position: center 45%;
  }
  .rg-hero-gradient {
    background:
      linear-gradient(
        to top,
        rgba(19, 34, 56, 0.94) 0%,
        rgba(19, 34, 56, 0.68) 28%,
        rgba(19, 34, 56, 0.18) 56%,
        transparent 100%
      ),
      linear-gradient(
        105deg,
        rgba(19, 34, 56, 0.50) 0%,
        rgba(19, 34, 56, 0.18) 44%,
        transparent 70%
      );
  }
  .rg-hero-content {
    max-width: 580px;
    padding: 44px 48px 46px;
    gap: 14px;
  }
  .rg-hero-rating,
  .hero-rating-link {
    font-size: 14px;
    padding: 6px 0;
  }
  .rg-hero-title {
    font-size: clamp(42px, 4.4vw, 56px);
    max-width: 14ch;
  }
  .rg-hero-cta {
    width: auto;
    min-width: 224px;
    margin-top: 10px;
    padding: 14px 32px;
  }
}

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

.rg-marquee {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, 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 {
    padding: 4px 0 14px;
  }
  .rg-marquee-track {
    animation-duration: 36s;
  }
  .rg-marquee-group {
    gap: 44px;
    padding-right: 44px;
  }
  .rg-marquee-item {
    font-size: 14px;
  }
}

@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: 980px;
  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: 28px 24px 36px;
  }
  .rg-search-heading {
    margin-bottom: 12px;
    font-size: 23px;
  }
  .rg-date-filter-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: stretch;
  }
  .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: 15px 0 0 15px;
  }
  .rg-filter-checkout .rg-quick-date-btn {
    border-radius: 0;
  }
  .rg-quick-date-btn {
    padding: 11px 16px;
  }
  .rg-date-filter-cta {
    grid-column: auto;
    padding: 7px 8px 7px 10px;
  }
  .rg-date-choose-btn {
    width: auto;
    min-height: 44px;
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* 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;
  height: 38px;
  position: relative;
}

.rg-cal-cell.is-in-range {
  background: #e6eef8;
}
.rg-cal-cell.is-range-start.has-end {
  background: linear-gradient(90deg, transparent 50%, #e6eef8 50%);
}
.rg-cal-cell.is-range-end {
  background: linear-gradient(90deg, #e6eef8 50%, transparent 50%);
}
.rg-cal-cell.is-hover-range {
  background: #edf4fc;
}
.rg-cal-cell.is-hover-start {
  background: linear-gradient(90deg, transparent 50%, #edf4fc 50%);
}
.rg-cal-cell.is-hover-end {
  background: linear-gradient(90deg, #edf4fc 50%, transparent 50%);
}
.rg-cal-cell.is-hover-end .rg-cal-day:not(.is-selected) {
  background: rgba(19, 34, 56, 0.10);
  color: var(--rg-navy);
  box-shadow: inset 0 0 0 1.5px rgba(19, 34, 56, 0.42);
}

.rg-cal-day {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--rg-ink);
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.rg-cal-day:hover:not(:disabled):not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px var(--rg-ink);
}

.rg-cal-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px var(--rg-gold);
}

.rg-cal-day.is-selected {
  background: var(--rg-navy);
  color: var(--rg-white);
  font-weight: 700;
}

.rg-cal-day.is-blocked,
.rg-cal-day:disabled {
  color: #a3a9b3;
  text-decoration: line-through;
  opacity: 0.55;
  cursor: not-allowed;
}
.rg-cal-day.is-checkout-only {
  text-decoration: none;
  opacity: 1;
  color: var(--rg-ink);
  background: #e2ecf7;
  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: 36px;
  padding: 4px 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: 30px;
  height: 30px;
  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;
}
.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: 960px;
}

.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: smooth;
  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;
}
.rg-slider-arrow:hover {
  background: #ffffff;
}
.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-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 Details ansehen, RECHTS Verfügbarkeit prüfen */
.rg-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr);
  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 Details ansehen, rechts Verfügbarkeit prüfen) */
@media (min-width: 960px) {
  .rg-card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr);
    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 (horizontal wischbar)
   ============================================================================ */
.rg-reviews {
  background: var(--rg-paper);
  border-top: 1px solid var(--rg-line);
}

.rg-reviews-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.rg-reviews-top .rg-section-heading {
  margin-bottom: 0;
}

.rg-reviews-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rg-reviews-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: var(--rg-cream);
  border: 1px solid var(--rg-line);
  color: var(--rg-navy);
  font-size: 13.5px;
  font-weight: 650;
}
.rg-reviews-score-badge svg,
.rg-reviews-score-badge .material-symbols-rounded {
  color: var(--rg-gold);
}

/* Einheitlicher Bewertungs-Slider (Pfeile links/rechts + aktive Pagination-Dots) */
.rg-review-slider {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.rg-reviews-track {
  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-reviews-track::-webkit-scrollbar {
  display: none;
}

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

.rg-review-card.is-current,
.rg-details-review-card.is-current {
  border-color: rgba(19, 34, 56, 0.22);
}

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

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

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

.review-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(19, 34, 56, 0.16);
  background: var(--rg-white);
  color: #132238;
  box-shadow: 0 3px 12px rgba(19, 34, 56, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.review-nav-btn:hover,
.review-nav-btn:focus-visible {
  background: var(--rg-sand);
  border-color: rgba(19, 34, 56, 0.34);
  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: 28px;
  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(19, 34, 56, 0.24);
  transition: width 0.22s ease, background 0.22s ease;
}

.review-dot:hover .review-dot-pip {
  background: rgba(19, 34, 56, 0.45);
}

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

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

.rg-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--rg-gold);
  margin-bottom: 10px;
}

.rg-review-quote {
  color: var(--rg-ink);
  font-size: 14.5px;
  line-height: 1.62;
}

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

.rg-review-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--rg-ink);
}
.rg-review-author span {
  display: block;
  font-size: 12px;
  color: var(--rg-muted);
}

.rg-review-apt-tag {
  padding: 4px 9px;
  border-radius: 9999px;
  background: var(--rg-cream);
  border: 1px solid var(--rg-line);
  color: var(--rg-gold-dark);
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

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

.rg-location-grid {
  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;
}

/* Ausklappbare Apartment-Auswahl direkt über der Karte (index.html) */
.rg-map-apt-selector {
  position: relative;
  z-index: 650;
  display: grid;
  gap: 6px;
}

.rg-map-apt-trigger {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 54px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(19, 34, 56, 0.14);
  background: var(--rg-white);
  color: var(--rg-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.rg-map-apt-trigger:hover,
.rg-map-apt-trigger:focus-visible,
.rg-map-apt-selector[data-open="true"] .rg-map-apt-trigger {
  border-color: rgba(19, 34, 56, 0.34);
  box-shadow: 0 6px 18px rgba(19, 34, 56, 0.08);
  outline: none;
}

.rg-map-apt-trigger-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #edf2f8;
  color: var(--rg-navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.rg-map-apt-trigger-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rg-gold-dark);
  line-height: 1.2;
}

.rg-map-apt-trigger-value {
  font-size: 14px;
  font-weight: 650;
  color: var(--rg-navy);
  line-height: 1.28;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rg-map-apt-chevron {
  flex-shrink: 0;
  color: var(--rg-muted);
  transition: transform 0.2s ease, color 0.16s ease;
}

.rg-map-apt-selector[data-open="true"] .rg-map-apt-chevron {
  transform: rotate(180deg);
  color: var(--rg-navy);
}

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

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

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

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

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

.rg-map-apt-option.is-selected {
  background: #edf3fa;
}

.rg-map-apt-opt-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rg-paper);
  border: 1px solid rgba(19, 34, 56, 0.14);
  color: var(--rg-navy);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-map-apt-option.is-selected .rg-map-apt-opt-badge {
  background: var(--rg-navy);
  border-color: var(--rg-navy);
  color: #ffffff;
}

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

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

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

.rg-map-apt-opt-check {
  flex-shrink: 0;
  color: var(--rg-navy);
}

.rg-map-apt-option-all {
  background: #fafcff;
}

.rg-map-frame {
  position: relative;
  isolation: isolate;
  height: clamp(440px, 95vw, 510px);
  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);
}

.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 Boutique-Pins für München HBf & Flughafen MUC (Dunkelblau #132238 + weißes Icon + Label) */
.rg-permanent-hub-wrap {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}

.rg-permanent-hub-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  border-radius: 9999px;
  background: #132238;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(19, 34, 56, 0.34);
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.rg-permanent-hub-pin:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #1b3152;
  box-shadow: 0 8px 22px rgba(19, 34, 56, 0.44);
}

.rg-permanent-hub-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rg-permanent-hub-icon .material-symbols-rounded {
  font-size: 14px;
}

.rg-permanent-hub-label {
  font-family: var(--rg-sans);
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
}

/* 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%;
  border: 0;
  background: transparent;
  padding: 10px 2px;
  font-family: var(--rg-sans);
  font-size: 14px;
  line-height: 1.3;
  color: var(--rg-ink);
  outline: none;
  text-overflow: ellipsis;
}

.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-search-privacy {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--rg-muted);
}

.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-apt-map-filters-hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--rg-muted);
}

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

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

@media (min-width: 768px) {
  .rg-apt-map-pills {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }
}

/* 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: 260px;
  font-family: var(--rg-sans);
  line-height: 1.45;
}
.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);
}

.rg-map-floating-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18px;
  z-index: 620;
  max-width: 660px;
  margin-inline: auto;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 226, 238, 0.92);
  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: 38px;
  padding: 7px 36px 7px 34px;
  border: 1px solid var(--rg-line);
  border-radius: 9999px;
  background: #f4f7fb;
  color: var(--rg-ink);
  font-family: var(--rg-sans);
  font-size: 13.5px;
  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: 5px;
  width: 28px;
  height: 28px;
}
.rg-floating-search-submit {
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.rg-home-map-privacy {
  margin: -3px 2px 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--rg-muted);
}
.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 {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.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 {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  min-height: 58px;
  text-align: left;
  transition: background 0.15s ease;
}
.rg-map-directory li button:hover,
.rg-map-directory li button.is-selected {
  background: var(--rg-sand);
}
.rg-map-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid var(--rg-line);
  border-radius: 50%;
  background: var(--rg-paper);
  color: var(--rg-ink);
  font-size: 13px;
  font-weight: 750;
}
.rg-map-directory button.is-selected .rg-map-index {
  border-color: var(--rg-gold);
  background: var(--rg-gold);
  color: #ffffff;
}
.rg-map-directory strong,
.rg-map-directory small {
  display: block;
}
.rg-map-directory strong {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--rg-ink);
}
.rg-map-directory small {
  font-size: 12.5px;
  color: var(--rg-muted);
}
.rg-map-hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 3px solid var(--rg-gold);
  background: var(--rg-sand);
  color: var(--rg-ink);
  font-size: 13px;
  line-height: 1.45;
}
.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;
}

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

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

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

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

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

.rg-footer :is(nav, .rg-footer-bottom, .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;
}

.rg-footer-bottom {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rg-line);
  gap: 6px;
}
.rg-footer-bottom p {
  font-size: 13px;
}

/* 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: none;
  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;
  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) {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    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: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  color: var(--rg-ink);
  z-index: 10;
}
.rg-dialog-close:hover {
  background: var(--rg-sand);
}

.rg-dialog-heading {
  padding-right: 40px;
  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: 36px;
  padding: 4px 8px;
  border: 1px solid var(--rg-line);
  border-radius: 8px;
  background: var(--rg-paper);
  font-weight: 700;
  font-size: 14px;
  color: var(--rg-ink);
}

.rg-price-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--rg-line);
  background: var(--rg-white);
  display: grid;
  gap: 7px;
}
.rg-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--rg-muted);
}
.rg-price-line.is-discount {
  color: var(--rg-success-text);
  font-weight: 600;
}
.rg-price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--rg-line);
  font-size: 15.5px;
  font-weight: 750;
  color: var(--rg-ink);
}

.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: 9px 12px;
  border: 1px solid var(--rg-line);
  border-radius: 9px;
  background: var(--rg-white);
  color: var(--rg-ink);
  font-size: 15px;
}
.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), 1040px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 768px) {
  .rg-apt-backbar-inner {
    width: min(calc(100% - 64px), 1040px);
    min-height: 48px;
  }
}

.rg-apt-backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  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;
}

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

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

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

#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-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: 520px;
    border-radius: 20px;
  }
}

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

.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);
}

.rg-details-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.rg-details-fact-pill .material-symbols-rounded {
  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: 6px;
}

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

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

/* Mobile (< 768px): kompakte 4-Zeilen-Vorschau + schlichter „Mehr lesen“-Text-Button */
@media (max-width: 767.98px) {
  .rg-details-prose p {
    font-size: 15px;
    line-height: 1.64;
  }

  .rg-details-prose.is-collapsible:not(.is-expanded) p:first-child {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .rg-details-prose.is-collapsible:not(.is-expanded) p:not(:first-child) {
    display: none;
  }

  .rg-details-prose.is-collapsible.is-expanded p:not(:first-child) {
    animation: rgAboutFadeIn 0.2s ease;
  }
}

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

.rg-apt-about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  min-height: 40px;
  padding: 6px 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #132238;
  font-family: var(--rg-sans);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.rg-apt-about-toggle [data-about-toggle-label] {
  text-decoration: underline;
  text-decoration-color: rgba(19, 34, 56, 0.28);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.25px;
  transition: text-decoration-color 0.16s ease;
}

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

.rg-apt-about-toggle:hover [data-about-toggle-label] {
  text-decoration-color: var(--rg-gold-dark);
}

.rg-apt-about-toggle:focus-visible {
  outline: 2px solid var(--rg-gold-dark);
  outline-offset: 3px;
}

.rg-apt-about-chevron {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

@media (min-width: 768px) {
  .rg-apt-about-toggle {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-details-prose.is-collapsible.is-expanded p:not(:first-child) {
    animation: none;
  }
  .rg-apt-about-toggle,
  .rg-apt-about-toggle [data-about-toggle-label],
  .rg-apt-about-chevron {
    transition: none;
  }
}

/* Geordnete Ausstattung (1 bis 12) */
.rg-details-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 680px) {
  .rg-details-amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rg-details-amenities-grid li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(19, 34, 56, 0.10);
  background: var(--rg-white);
  color: var(--rg-navy);
  font-size: 13.5px;
  font-weight: 600;
}

.rg-details-amenity-icon {
  font-size: 19px;
  color: var(--rg-gold-dark);
}

.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) */
.rg-details-map-stage {
  position: relative;
  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);
}

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

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

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

.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;
}

/* Preis- & Eckdaten-Block + Aufklappbare Ausstattung + Orte in der Nähe auf Detailseite */
.rg-apt-price-facts {
  display: grid;
  gap: 14px;
}

.rg-apt-price-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(19, 34, 56, 0.12);
  background: var(--rg-white);
}

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

/* 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;
  }
}

.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;
}

/* Dauerhafte Sticky-Leiste unten auf den 4 Apartment-Detailseiten (Mobile & Desktop) */
.rg-apt-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  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: 1;
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, visibility 0.24s ease;
}

.rg-apt-sticky-bar.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(100% + 16px));
}

.rg-apt-sticky-inner {
  width: min(calc(100% - 32px), 1040px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0 max(12px, env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .rg-apt-sticky-inner {
    width: min(calc(100% - 64px), 1040px);
    padding: 12px 0;
  }
}

body[data-page="apartment"] .rg-footer {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

.rg-details-sticky-price {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.rg-details-sticky-price strong {
  font-size: 16px;
  font-weight: 750;
  color: var(--rg-navy);
}

.rg-details-sticky-price span {
  font-size: 12px;
  color: var(--rg-muted);
}

.rg-details-sticky-cta {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .rg-apt-sticky-bar {
    transition: opacity 0.12s ease, visibility 0.12s ease;
  }
}

/* ============================================================================
   16c. CHECKOUT (checkout.html) & KONTAKTDATEN (anfrage.html)
   ============================================================================ */
.rg-flow-main {
  padding-block: 22px 56px;
  background: var(--rg-paper);
}

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

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

#rg-checkout-root,
#rg-enquiry-root {
  display: grid;
  gap: 20px;
}

.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;
}

@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);
}

.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;
  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: 40px 44px;
}
.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);
}

.rg-legal {
  max-width: 780px;
}
.rg-legal h1 {
  font-size: clamp(28px, 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;
}
