/* Raum-Detailseite */
.rf-room-page{
  background:#FFFBF5;
}

.rf-room{
  color:#111;
  padding:0 0 64px;
}

.rf-room-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:24px 20px 0;
}

.rf-room-header{
  margin-bottom:24px;
}

.rf-room-back{
  display:inline-flex;
  align-items:center;
  margin-bottom:16px;
  font-size:.9rem;
  font-weight:600;
  color:#475569 !important;
  text-decoration:none;
}

.rf-room-back:hover{
  color:#111 !important;
}

.rf-room-heading{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px 24px;
}

.rf-room-title{
  margin:0 0 8px;
  font-size:clamp(1.75rem, 3vw, 2.35rem);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.02em;
  color:#111 !important;
}

.rf-room-location{
  margin:0;
  font-size:1rem;
  line-height:1.45;
  color:#64748b;
}

.rf-room-location a{
  color:#c2410c !important;
  font-weight:600;
  text-decoration:none;
}

.rf-room-location a:hover{
  text-decoration:underline;
}

.rf-room-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.rf-room-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 12px;
  border:1px solid #cbd5e1;
  border-radius:4px;
  background:#fff;
  font-size:.82rem;
  font-weight:700;
  color:#334155;
}

.rf-room-badge-accent{
  border-color:#111;
  background:linear-gradient(90deg,#ffc83d 0%,#ff9f1a 100%);
  color:#111;
}

.rf-room-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
}

.rf-room-primary{
  display:grid;
  gap:20px;
  min-width:0;
}

.rf-room-aside{
  display:grid;
  gap:16px;
  position:sticky;
  top:88px;
}

.rf-room-panel{
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:6px;
  box-shadow:0 1px 3px rgba(15,23,42,.05);
  padding:18px 20px;
}

.rf-room-panel-title{
  margin:0 0 14px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#64748b;
}

/* Galerie */
.rf-room-gallery{
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:6px;
  box-shadow:0 1px 3px rgba(15,23,42,.05);
  overflow:hidden;
}

.rf-room-gallery-main{
  aspect-ratio:16/10;
  background:#f1f5f9;
}

.rf-room-gallery-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rf-room-gallery-empty{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#94a3b8;
  font-weight:600;
}

.rf-room-gallery-thumbs{
  display:flex;
  gap:8px;
  padding:12px;
  overflow-x:auto;
  border-top:1px solid #e2e8f0;
  background:#fffaf2;
}

.rf-room-gallery-thumb{
  flex:0 0 88px;
  width:88px;
  height:64px;
  padding:0;
  border:2px solid transparent;
  border-radius:4px;
  overflow:hidden;
  background:#e2e8f0;
  cursor:pointer;
}

.rf-room-gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rf-room-gallery-thumb.is-active,
.rf-room-gallery-thumb:hover{
  border-color:#ff9f1a;
}

/* Beschreibung & Details */
.rf-room-prose{
  font-size:1rem;
  line-height:1.65;
  color:#1e293b;
}

.rf-room-spec-grid{
  display:grid;
  gap:14px;
}

.rf-room-spec-card{
  padding:16px 18px;
  border:1px solid #e2e8f0;
  border-radius:4px;
  background:#fffaf2;
}

.rf-room-spec-title{
  margin:0 0 12px;
  font-size:1rem;
  font-weight:800;
  color:#111;
}

.rf-room-spec-list{
  margin:0;
}

.rf-room-spec-row{
  display:grid;
  grid-template-columns:minmax(140px,38%) minmax(0,1fr);
  gap:12px 20px;
  padding:9px 0;
  border-top:1px solid #e8dfd0;
  font-size:.95rem;
  line-height:1.45;
}

.rf-room-spec-row:first-child{
  border-top:0;
  padding-top:0;
}

.rf-room-spec-row dt{
  margin:0;
  font-weight:700;
  color:#475569;
}

.rf-room-spec-row dd{
  margin:0;
  color:#111;
  word-break:break-word;
}

.rf-room-spec-row a{
  color:#c2410c !important;
  font-weight:600;
  text-decoration:none;
}

.rf-room-spec-row a:hover{
  text-decoration:underline;
}

/* Fakten */
.rf-room-facts{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.rf-room-fact{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid #e2e8f0;
  border-radius:4px;
  background:#fffaf2;
}

.rf-room-fact-label{
  font-size:.85rem;
  font-weight:600;
  color:#64748b;
}

.rf-room-fact-value{
  font-size:1rem;
  font-weight:800;
  color:#111;
  text-align:right;
}

/* Kontakt */
.rf-room-contact-name{
  font-size:1.05rem;
  font-weight:800;
  margin-bottom:12px;
}

.rf-room-contact-actions{
  display:grid;
  gap:8px;
}

.rf-room-action{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 14px;
  border:1px solid #cbd5e1;
  border-radius:4px;
  background:#fff;
  color:#111 !important;
  font-size:.92rem;
  font-weight:700;
  text-decoration:none;
  text-align:center;
}

.rf-room-action:hover{
  border-color:#8f8f8f;
  background:#fffaf2;
}

.rf-room-action-primary{
  border-color:#111;
  background:linear-gradient(90deg,#ffcb1f,#ffb11c,#ff9c01);
}

.rf-room-action-primary:hover{
  background:linear-gradient(90deg,#ffc83d 0%,#ff9f1a 100%);
}

/* Karte */
.rf-room-map{
  width:100%;
  height:240px;
  border:1px solid #cbd5e1;
  border-radius:4px;
  overflow:hidden;
}

#roomDetailMap .leaflet-marker-icon.rf-map-dot-icon,
#roomMap .leaflet-marker-icon.rf-map-dot-icon{
  background:transparent !important;
  border:0 !important;
  filter:none !important;
}

#roomDetailMap .rf-map-dot,
#roomMap .rf-map-dot{
  width:36px;
  height:36px;
  display:block;
  border-radius:50%;
  background:linear-gradient(135deg,#ffcb1f 0%,#ff9c01 58%,#ff5a1f 100%);
  border:5px solid #fff;
  box-shadow:0 6px 16px rgba(0,0,0,.30);
  position:relative;
  box-sizing:border-box;
}

#roomDetailMap .rf-map-dot::after,
#roomMap .rf-map-dot::after{
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  width:11px;
  height:11px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:#fff;
}

/* Empfehlungen */
.rf-room-recommendations{
  margin-top:40px;
  padding-top:32px;
  border-top:1px solid #cbd5e1;
}

.rf-room-rec-block{
  margin-bottom:32px;
}

.rf-room-rec-block:last-child{
  margin-bottom:0;
}

.rf-room-rec-title{
  margin:0 0 16px;
  font-size:1.25rem;
  font-weight:800;
  color:#111 !important;
}

.rf-room-rec-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:16px;
}

.rf-room-rec-item{
  display:flex;
  flex-direction:column;
  height:100%;
  border:1px solid #cbd5e1;
  border-radius:6px;
  overflow:hidden;
  background:#fff;
  color:#111 !important;
  text-decoration:none;
  box-shadow:0 1px 3px rgba(15,23,42,.05);
  transition:border-color .15s ease,box-shadow .15s ease;
}

.rf-room-rec-item:hover{
  border-color:#8f8f8f;
  box-shadow:0 4px 12px rgba(15,23,42,.08);
}

.rf-room-rec-media{
  aspect-ratio:4/3;
  background:#f1f5f9;
}

.rf-room-rec-media img,
.rf-room-rec-empty{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rf-room-rec-empty{
  background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%);
}

.rf-room-rec-content{
  padding:12px 14px 14px;
  flex:1;
}

.rf-room-rec-name{
  font-size:.95rem;
  font-weight:800;
  line-height:1.3;
}

.rf-room-rec-meta{
  margin-top:6px;
  font-size:.84rem;
  line-height:1.35;
  color:#64748b;
}

@media (max-width:992px){
  .rf-room-layout{
    grid-template-columns:1fr;
  }

  .rf-room-aside{
    position:static;
  }

  .rf-room-spec-row{
    grid-template-columns:1fr;
    gap:4px;
  }
}

@media (max-width:575.98px){
  .rf-room-wrap{
    padding:16px 14px 0;
  }

  .rf-room-gallery-thumbs{
    padding:10px;
  }

  .rf-room-gallery-thumb{
    flex-basis:72px;
    width:72px;
    height:54px;
  }

  .rf-room-rec-grid{
    grid-template-columns:1fr;
  }
}
