/* =============================================================
   unterkunft-v2.css  –  Redesign single-unterkunft
   Scope: u2-* prefix. Nur auf is_singular('unterkunft') geladen.
   Schriften: Montserrat (Headings), Lato (Body), Playfair Display (Akzente)
   ============================================================= */

/* ── Design Tokens (global :root, nur auf unterkunft-Singles geladen) ── */
/* --main-color + --accent-color kommen aus dem Theme-Customizer (style.css).
   Alle weiteren v2-Tokens werden hier global definiert. */
:root {
  --brand:        var(--main-color,   #5BC0EB);
  --brand-ink:    #2A9DCC;
  --brand-deep:   #1A6B8E;
  --brand-soft:   #D8EEF9;
  --brand-soft-2: #BEE0F2;
  --brand-tint:   #EEF7FC;
  --accent:       var(--accent-color, #F79256);
  --accent-ink:   #E07535;
  --accent-soft:  #FDE6D6;
  --accent-tint:  #FEF3EB;
  --ink:          #0F1F2B;
  --ink-2:        #2C3D4A;
  --muted:        #5A6B76;
  --line:         #DFE4EA;
  --line-strong:  #C7CDD4;
  --surface:      #FFFFFF;
  --soft:         #F3F6F9;
  --soft-2:       #E8EEF3;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --shadow-sm: 0 1px 2px rgba(14,26,36,.04), 0 1px 1px rgba(14,26,36,.03);
  --shadow-md: 0 6px 24px -10px rgba(14,26,36,.18), 0 2px 6px rgba(14,26,36,.06);
  --shadow-book: 0 18px 40px -20px rgba(26,107,142,.35), 0 4px 12px rgba(14,26,36,.06);
}

/* ── Outer Shell ───────────────────────────────────────────── */
.u2-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 80px;
  color: var(--ink-2);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.u2-wrap h1,
.u2-wrap h2,
.u2-wrap h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  margin: 0;
}

.u2-wrap h1 { font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; }
.u2-wrap h2 { font-size: 28px; line-height: 1.2;  font-weight: 600; }
.u2-wrap h3 { font-size: 20px; line-height: 1.3;  font-weight: 600; }

@media (max-width: 680px) {
  .u2-wrap h1 { font-size: 36px; }
}

/* ── Breadcrumbs ───────────────────────────────────────────── */
.u2-crumbs {
  font-size: 13.5px;
  color: var(--muted);
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.u2-crumbs a { text-decoration: none; color: var(--muted); }
.u2-crumbs a:hover { color: var(--ink); }
.u2-crumbs svg { opacity: .5; flex-shrink: 0; }

/* ── Title Row ─────────────────────────────────────────────── */
.u2-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.u2-title-row h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
}
@media (max-width: 680px) {
  .u2-title-row h1 { font-size: 36px; }
}
.u2-title-row .u2-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.u2-title-row .u2-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
  flex-shrink: 0;
}
.u2-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #053a55;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 10px -4px rgba(91,192,235,.5);
  white-space: nowrap;
}
.u2-pill svg { flex-shrink: 0; }
.u2-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.u2-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-family: 'Lato', sans-serif;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.u2-icon-btn:hover {
  background: var(--soft);
  text-decoration: none;
}
.u2-icon-btn svg { stroke: currentColor; }

/* ── Gallery ───────────────────────────────────────────────── */
.u2-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 8px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
}
.u2-gallery .u2-g {
  overflow: hidden;
  background: var(--soft);
  position: relative;
  cursor: pointer;
}
.u2-gallery .u2-g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
  cursor: pointer;
}
.u2-gallery .u2-g:hover img { transform: scale(1.03); }
.u2-gallery .u2-g-main { grid-row: 1 / span 2; }

/* Weniger als 5 Bilder: leere Slots ausblenden */
.u2-gallery .u2-g:empty { display: none; }

/* Blur-Frame-Wrapper füllt den Gallery-Slot vollständig */
.u2-gallery .prv-blurframe {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
  border-radius: 0 !important;
}
.u2-gallery .prv-blurframe__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  cursor: pointer !important;
}

.u2-show-all {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.u2-show-all:hover { background: var(--soft); }

@media (max-width: 680px) {
  .u2-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .u2-gallery .u2-g-main { grid-column: 1 / -1; grid-row: 1; }
}

/* ── Two-Column Layout ─────────────────────────────────────── */
.u2-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: start;
}
@media (max-width: 980px) {
  .u2-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Section Blocks (main column) ──────────────────────────── */
.u2-block {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.u2-block:last-of-type { border-bottom: 0; }

/* Bootstrap border-top colour override for section separators */
#main .tracked-section.border-top,
#main #free-slots-section.border-top {
  border-top-color: var(--line) !important;
}

.u2-eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.u2-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.u2-section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 6px 0 20px;
}
@media (max-width: 680px) {
  .u2-section-h2 { font-size: 24px; }
}

/* ── Overview ──────────────────────────────────────────────── */
.u2-overview-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 6px 0 0;
}
@media (max-width: 576px) {
  .u2-overview-h2 { font-size: 24px; }
}
.u2-host-by {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.u2-host-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}
.u2-host-by > div b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.u2-host-by > div span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Stats Strip */
.u2-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  gap: 0;
  background: linear-gradient(135deg, var(--brand) 0%, #7dcef0 100%);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: 0 10px 30px -16px rgba(91,192,235,.6);
  margin-bottom: 28px;
}
.u2-stat {
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.3);
  position: relative;
  overflow: hidden;
}
.u2-stat:last-child { border-right: 0; }

/* Großes Icon als Hintergrund der Zelle */
.u2-stat-ic {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 64px;
  height: 64px;
  opacity: 0.15;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.u2-stat-ic svg,
.u2-stat-ic img {
  width: 64px;
  height: 64px;
  filter: brightness(0) invert(1);
}
.u2-stat .u2-k {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: #fff;
  line-height: 1;
  letter-spacing: -.01em;
  display: block;
}
.u2-stat .u2-l {
  font-size: 12px;
  color: rgba(255,255,255,.92);
  margin-top: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
  display: block;
}
@media (max-width: 680px) {
  .u2-stats { grid-template-columns: repeat(2, 1fr); }
  .u2-stat:nth-child(2) { border-right: 0; }
}

/* Beschreibungs-Grid (2×2 headed paragraphs) */
.u2-desc-intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.u2-desc-intro p:last-child { margin-bottom: 0; }

.u2-desc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 680px) {
  .u2-desc-grid { grid-template-columns: 1fr; }
}

.u2-desc-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.u2-desc-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.u2-desc-card-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.u2-desc-card-body p:last-child { margin-bottom: 0; }

/* Lead / Description */
.u2-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 68ch;
  margin-bottom: 24px;
}
.u2-description { font-size: 15px; color: var(--ink-2); }
.u2-description p { margin-bottom: 1em; }
.u2-description p:last-child { margin-bottom: 0; }

/* ── Ausstattung Teaser: eigene Stats-Box ──────────────────── */
.u2-amen-stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  background: linear-gradient(135deg, var(--brand) 0%, #7dcef0 100%);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: 0 10px 30px -16px rgba(91,192,235,.6);
  margin-top: 20px;
  margin-bottom: 20px;
  overflow-x: auto;
}
@media (max-width: 680px) {
  .u2-amen-stats {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: unset;
  }
  .u2-amen-stats .u2-stat:nth-child(2n) { border-right: 0; }
  .u2-amen-stats .u2-stat { border-top: 1px solid rgba(255,255,255,.3); }
  .u2-amen-stats .u2-stat:nth-child(-n+2) { border-top: 0; }
}

/* ── Amenities ─────────────────────────────────────────────── */
.u2-amen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
  margin-top: 24px;
}
@media (max-width: 720px) { .u2-amen-grid { grid-template-columns: 1fr; } }

.u2-amen {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-2);
}
.u2-amen:last-child { border-bottom: 0; }
.u2-amen svg,
.u2-amen img { flex-shrink: 0; color: var(--brand); }

/* Room Cards */
.u2-rooms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 720px) { .u2-rooms { grid-template-columns: 1fr; } }

.u2-room {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .15s ease;
}
.u2-room::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
}
.u2-room:nth-child(even)::before { background: var(--accent); }
.u2-room:hover { box-shadow: var(--shadow-md); }

.u2-room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.u2-room-head h4 {
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.u2-room-tag {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  font-weight: 600;
  background: var(--brand-tint);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.u2-room:nth-child(even) .u2-room-tag {
  color: var(--accent-ink);
  background: var(--accent-tint);
}

.u2-room ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
@media (max-width: 560px) { .u2-room ul { grid-template-columns: 1fr; } }

.u2-room li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.u2-room li::before {
  content: "";
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* "Alle Ausstattungsmerkmale" – sekundärer Trigger */
.u2-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.u2-more-btn:hover {
  background: var(--ink);
  color: #fff;
}
.u2-more-btn svg { flex-shrink: 0; transition: transform .15s ease; }
.u2-more-btn:hover svg { transform: translateX(3px); }

/* Popup-Trigger Fallback */
.u2-popup-trigger {
  margin-top: 20px;
}

/* ── Map ───────────────────────────────────────────────────── */
.u2-map-container {
  margin-top: 24px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  height: 380px;
}
/* Leaflet map fills the container */
.u2-map-container #map,
.u2-map-container #map-single,
.u2-map-container .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  border-radius: var(--r-md);
}

/* Floating Info Card */
.u2-map-card {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  z-index: 500;
  pointer-events: none;
  border: 1px solid var(--line);
}
.u2-map-card .u2-mc-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
}
.u2-map-card .u2-mc-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  font-family: 'Lato', sans-serif;
}
.u2-map-card .u2-mc-dist {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.u2-map-card .u2-mc-dist-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding-right: 14px;
  margin-right: 14px;
  border-right: 1px solid var(--line);
}
.u2-map-card .u2-mc-dist-item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}
.u2-map-card .u2-mc-dist-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.u2-map-card .u2-mc-dist-item span {
  font-size: 11px;
  color: var(--muted);
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Distanz-Icons: custom SVGs auf 18px skalieren */
.prv-poi-icon { display: flex; flex-shrink: 0; color: var(--brand); }
.prv-poi-icon svg { width: 18px; height: 18px; }

/* Leaflet-Icon-Container: overflow sichtbar lassen für den Pulsring */
.leaflet-marker-icon.u2-map-pin-icon { overflow: visible !important; background: none !important; border: none !important; }

/* Pulsing Map Pin (Leaflet DivIcon) */
.u2-map-pin {
  position: relative;
  width: 46px;
  height: 46px;
}
.u2-map-pin .u2-pin-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(247,146,86,.55);
  position: relative;
}
.u2-map-pin .u2-pin-ring::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--accent);
}
.u2-map-pin .u2-pin-ring::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: .35;
  animation: u2-pulse 2.4s ease-out infinite;
}
@keyframes u2-pulse {
  0%   { transform: scale(.6); opacity: .5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── Calendar ──────────────────────────────────────────────── */
.u2-cal-wrap { margin-top: 8px; }

/* Range-Farbe auf Accent (orange) setzen – überschreibt globales --prv-range */
#cal { --prv-range: var(--accent); }

/* ── Tab-Navigation (Jahresauswahl) ── */
#cal .tab_container {
  width: 100% !important;
  margin: 0 0 20px !important;
  overflow: hidden;   /* clearfix für gefloatete Labels */
}
#cal label {
  float: left !important;
  display: inline-flex !important;
  align-items: center;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  font-family: 'Lato', sans-serif;
  padding: 7px 20px !important;
  margin-right: 8px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--muted) !important;
  background: var(--surface) !important;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  box-shadow: none !important;
  text-decoration: none;
}
#cal label:hover {
  border-color: var(--brand) !important;
  color: var(--brand-deep) !important;
}
#cal .tab_container [id^="tab"]:checked + label {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* ── Tabelle ── */
#cal table.full {
  font-size: 11px !important;
  font-weight: 500 !important;
  height: auto !important;
  border-collapse: separate !important;
  border-spacing: 2px !important;
  color: var(--ink-2) !important;   /* Baseline: dunkler Text, kein vererbtes Weiß */
}
#cal table.calendar-year thead th {
  font-size: 10px;
  color: var(--muted) !important;
  font-weight: 400;
  padding: 2px 1px;
  background: transparent;
}
#cal table.calendar-year tbody th {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: left;
  padding-right: 6px;
  white-space: nowrap;
  background: transparent;
}
#cal table td, #cal table th {
  border-radius: 4px;
}

/* ── Wochentag-Label ── */
#cal .calendar-year td .dow {
  font-size: 8px;
  position: relative;
  z-index: 3;
}

/* ── Zellzustände ── */
#cal .calendar-year td.free,
#cal .calendar-year td.frei {
  background: var(--brand) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer;
}
#cal .calendar-year td.free:hover,
#cal .calendar-year td.frei:hover {
  background: var(--brand-ink) !important;
}
#cal .calendar-year td.belegt,
#cal .calendar-year td.edge {
  background: var(--soft-2) !important;
  color: var(--ink-2) !important;
  border: 0 !important;
  cursor: not-allowed !important;
}
#cal .calendar-year td.prv-disabled {
  background: transparent !important;
  color: var(--muted) !important;
  border: 0 !important;
  cursor: default !important;
}
/* in-range */
#cal .calendar-year td.range {
  background: var(--brand-soft-2) !important;
  color: var(--brand-deep) !important;
}

/* ── Legende ── */
#cal .cal-desc {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  font-family: 'Lato', sans-serif;
  flex-wrap: wrap;
}
#cal .cal-desc span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--muted) !important;
}
#cal .cal-desc span::before {
  content: "";
  display: inline-block;
  width: 13px; height: 13px;
  border-radius: 3px;
  flex-shrink: 0;
}
#cal .cal-desc .free::before   { background: var(--brand); }
#cal .cal-desc .belegt::before { background: var(--soft-2); border: 1px solid var(--line); }
#cal .cal-desc .edge { display: none; }

/* ── Reviews ───────────────────────────────────────────────── */
.u2-review-empty {
  margin-top: 16px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.u2-review-empty .u2-re-ill {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px rgba(247,146,86,.55);
}
.u2-review-empty b   { display: block; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.u2-review-empty span { font-size: 13.5px; color: var(--muted); }

/* Review cards (when reviews exist) */
.u2-review-list { margin-top: 16px; display: grid; gap: 14px; }
.u2-review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}
.u2-review-card .u2-rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.u2-review-card .u2-rc-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.u2-review-card .u2-rc-date { font-size: 12.5px; color: var(--muted); }
.u2-review-card .u2-rc-stay { font-size: 13px; color: var(--muted); font-style: italic; margin-bottom: 10px; }
.u2-review-card .u2-rc-ratings { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.u2-review-card .u2-rc-rating { font-size: 13px; color: var(--ink-2); }
.u2-review-card .u2-rc-rating span { color: var(--muted); }
.u2-review-card .u2-rc-comment { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ── Sidebar / Booking Card ────────────────────────────────── */
.u2-sidebar { position: static; }

/* Avatar-Bild in Host-Cards */
.u2-host-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.u2-book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-book);
  position: relative;
  overflow: hidden;
}
.u2-book-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.u2-book-price {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 4px;
  margin-bottom: 4px;
}
.u2-book-price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Date + Guest Grid */
.u2-booking-grid {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}
.u2-bg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line-strong);
}
.u2-bg-row:last-child { border-bottom: 0; }
.u2-bg-row.u2-bg-full { grid-template-columns: 1fr; }

.u2-bg-cell {
  padding: 12px 14px;
}
.u2-bg-row:not(.u2-bg-full) .u2-bg-cell:first-child {
  border-right: 1px solid var(--line-strong);
}
.u2-bg-cell .u2-lbl {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  display: block;
  margin-bottom: 4px;
}
.u2-bg-cell input[type="text"] {
  border: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  background: transparent !important;
  width: 100% !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'Lato', sans-serif !important;
  cursor: pointer;
}
.u2-bg-cell input[type="text"]::placeholder { color: var(--muted) !important; }

/* Guest Steppers */
.u2-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 8px;
}
.u2-guest-row + .u2-guest-row { border-top: 1px dashed var(--line); }
.u2-guest-row .u2-gl b {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.u2-guest-row .u2-gl span { font-size: 12px; color: var(--muted); }

.u2-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.u2-stepper button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: border-color .12s ease;
  font-family: 'Lato', sans-serif;
}
.u2-stepper button:hover:not(:disabled) { border-color: var(--ink); }
.u2-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.u2-stepper .u2-sv {
  min-width: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Person-Dropdown hidden (eigene Stepper übernehmen) */
.u2-bg-cell .prv-person-filter { display: none !important; }

/* CTA Button */
.u2-book-cta {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(247,146,86,.55);
  transition: background .12s ease, transform .1s ease;
}
.u2-book-cta:hover { background: var(--accent-ink); }
.u2-book-cta:active { transform: scale(.98); }

.u2-book-foot {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* Trust List */
.u2-trust { margin-top: 18px; display: grid; gap: 10px; }
.u2-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.u2-trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Host Card */
.u2-host-card {
  margin-top: 18px;
  background: linear-gradient(135deg, var(--brand-tint) 0%, #fff 60%);
  border: 1px solid var(--brand-soft);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.u2-host-card .u2-ha {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e07535);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  flex-shrink: 0;
}
.u2-host-card .u2-hinfo b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.u2-host-card .u2-hinfo span { font-size: 12.5px; color: var(--muted); }

/* ── Mobile Sticky CTA ─────────────────────────────────────── */
.u2-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(14,26,36,.08);
}
@media (max-width: 980px) {
  .u2-mobile-cta { display: flex; }
}
.u2-mobile-cta .u2-mc-text { font-size: 14px; color: var(--ink-2); }
.u2-mobile-cta .u2-mc-text strong { color: var(--ink); font-weight: 700; }
.u2-mobile-cta .u2-book-cta {
  width: auto;
  padding: 12px 24px;
  white-space: nowrap;
}

/* ── Popup Kategorie-Abschnitte ────────────────────────────── */
.u2-popup-cat { margin-bottom: 32px; }
.u2-popup-cat:last-child { margin-bottom: 0; }
.u2-popup-cat-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* ── Popup Overlay (Ausstattung im Detail – bestehend) ─────── */
.prv-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,31,43,.55);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prv-popup-overlay.d-none { display: none; }
.prv-popup-content {
  background: var(--surface);
  border-radius: var(--r-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(14,26,36,.25);
}
.prv-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.prv-popup-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.prv-popup-close-btn {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.prv-popup-close-btn:hover { background: var(--soft); }
.prv-popup-body-scroll {
  overflow-y: auto;
  padding: 20px 24px;
  flex: 1;
}

/* ── Free Slots ────────────────────────────────────────────── */
.u2-slots-heading {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 10px;
}
.u2-slots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.free-slot-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  font-family: 'Lato', sans-serif;
}
.free-slot-btn:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 4px 12px -6px rgba(91,192,235,.4);
}
.free-slot-btn:hover .slot-dates { color: var(--brand-deep); }
.free-slot-btn:hover .slot-meta  { color: var(--brand-ink); }
.free-slot-btn.active { border-color: var(--accent); background: var(--accent-tint); }
.slot-dates { font-size: 14px; font-weight: 600; color: var(--ink); }
.slot-meta  { font-size: 12px; color: var(--muted); }

/* ── Map Popup ─────────────────────────────────────────────────── */

.prv-map-popup {
  min-width: 220px;
  border-radius: var(--r-md, 14px);
  overflow: hidden;
  font-family: 'Lato', sans-serif;
}
.prv-map-popup img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.prv-popup-body {
  padding: 12px 14px 14px;
}
.prv-popup-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink) !important;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  line-height: 1.25;
}
.prv-popup-title:hover { color: var(--brand-deep) !important; }
.prv-popup-city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.prv-popup-city svg { color: var(--muted); flex-shrink: 0; }
.prv-popup-icons {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.prv-popup-icons span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.prv-popup-price {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.prv-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  background: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background .15s ease;
}
.prv-popup-btn:hover { background: var(--accent-ink); color: #fff !important; }

/* ── Archive Card Redesign ─────────────────────────────────────── */

/* Kein Bootstrap-Card-Rahmen / Hintergrund mehr */
.prv-unterkunft-card {
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
}
.prv-unterkunft-card:hover {
  transform: none;
  box-shadow: none !important;
}

/* Bild: vollständig abgerundet, 4:3 */
.prv-card-img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg, 18px);
}
.prv-unterkunft-card:hover .prv-card-img {
  transform: scale(1.04);
}

/* Preis-Pill: --ink statt Bootstrap-Blau */
.prv-card-price-pill {
  background: var(--ink) !important;
}

/* Card Body */
.prv-card-body {
  padding: 14px 2px 0;
}

/* Ort-Zeile */
.prv-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
  font-family: 'Lato', sans-serif;
}
.prv-card-loc svg { color: var(--brand); flex-shrink: 0; }

/* Typ-Tag */
.prv-card-type {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-tint);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Titel */
.prv-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin: 6px 0 10px;
  letter-spacing: -0.01em;
}
.prv-card-title a { color: inherit; }
.prv-card-title a:hover { color: var(--brand-deep); }

/* Facts: immer einzeilig */
.prv-card-facts { flex-wrap: nowrap; overflow: hidden; }
.prv-card-fact { color: var(--muted); flex-shrink: 1; min-width: 0; }

/* Footer-Zeile: Preis links, CTA rechts */
.prv-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

/* Preis im Card-Footer */
.prv-card-price .price-box { margin: 0; }
.prv-card-price .fw-bold {
  font-family: 'Playfair Display', serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  line-height: 1.2;
}
.prv-card-price .fs-5 { font-size: 17px !important; }
.prv-card-price .text-muted {
  font-size: 11px !important;
  color: var(--muted) !important;
}
/* Nächte/Gäste-Zeile ist im Karten-Kontext redundant */
.prv-card-price .price-box div:last-child:not(:first-child):not(:nth-child(2)) {
  display: none;
}

/* CTA-Button */
.prv-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: var(--accent);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease;
}
.prv-card-cta:hover { background: var(--accent-ink); color: #fff !important; }
.prv-card-cta svg { transition: transform .12s ease; }
.prv-unterkunft-card:hover .prv-card-cta svg { transform: translateX(3px); }

/* ── "Nichts Passendes dabei?" Box ── */
.prv-host-cta {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--brand, #5BC0EB) 0%, #7dcef0 100%);
    border-radius: var(--r-md, 14px);
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 30px -16px rgba(91,192,235,.6);
}

.prv-host-cta__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex: none;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.5);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.prv-host-cta__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prv-host-cta b {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 3px;
}
.prv-host-cta span {
    font-size: 13px;
    color: rgba(255,255,255,.85);
}

.prv-host-cta__btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    background: #fff;
    border: none;
    color: var(--brand-deep, #1A6B8E);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .12s ease, transform .12s ease;
}
.prv-host-cta__btn:hover {
    background: rgba(255,255,255,.9);
    transform: translateY(-1px);
    color: var(--brand-deep, #1A6B8E);
}
