/* ═══════════════════════════════════════════════════════════════
   Hofheim – apartment detail page styles
   Depends on hofheim.css (variables + shared components)
   ═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumbs ────────────────────────────────────────────── */
.hf-crumbs {
  background: var(--hf-brown);
  padding: 14px 0;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.hf-crumbs a {
  color: var(--hf-copper-3);
  text-decoration: none;
  transition: color .2s;
}
.hf-crumbs a:hover { color: #fff; }
.hf-crumb-sep { margin: 0 10px; color: rgba(255,255,255,0.3); }
.hf-crumb-cur { color: #fff; }

/* ── Apartment hero ─────────────────────────────────────────── */
.hf-d-hero {
  background: var(--hf-cream);
  padding: 72px 0 80px;
}
.hf-d-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  /* Vertically center the right-hand facts box with the left content
     block — keeps the metrics grid visually anchored next to the
     price card regardless of how tall the left side is. */
  align-items: center;
}
.hf-d-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hf-d-code {
  font-family: var(--hf-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--hf-copper);
  letter-spacing: 0.04em;
  text-transform: none;
}
.hf-d-sep {
  width: 1px;
  height: 22px;
  background: var(--hf-line);
}
.hf-d-house { color: var(--hf-muted); font-weight: 600; }

.hf-d-status {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.hf-st-ok   { background: #e8f0e3; color: #4a6b3a; }
.hf-st-res  { background: #fdf0dc; color: #a16420; }
.hf-st-sold { background: #f0e2dd; color: #853b2a; }
.hf-st-ask  { background: var(--hf-stone); color: var(--hf-brown); }

.hf-d-title {
  font-family: var(--hf-serif);
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  color: var(--hf-brown);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.hf-d-tagline {
  font-size: 17px;
  color: var(--hf-muted);
  margin-bottom: 36px;
  line-height: 1.5;
}

.hf-d-price-row {
  padding: 24px 28px;
  background: #fff;
  border-left: 3px solid var(--hf-copper);
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hf-d-price-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hf-muted);
}
.hf-d-price-value {
  font-family: var(--hf-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: var(--hf-brown);
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  letter-spacing: 0.005em;
}
.hf-d-price-value sup {
  font-family: var(--hf-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--hf-copper);
  vertical-align: super;
}
.hf-d-price-sold {
  color: #853b2a;
  text-transform: uppercase;
  font-size: 28px;
  font-style: normal;
  letter-spacing: 0.04em;
}
.hf-d-reserved-tag {
  font-family: var(--hf-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  background: #fdf0dc;
  color: #a16420;
  border-radius: 100px;
}

.hf-d-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hf-btn-ghost-dark {
  background: transparent;
  color: var(--hf-brown);
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid var(--hf-line);
  display: inline-block;
  transition: all .25s;
  font-family: var(--hf-sans);
}
.hf-btn-ghost-dark:hover { border-color: var(--hf-copper); color: var(--hf-copper); }

/* ── Key facts panel ───────────────────────────────────────── */
.hf-d-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hf-line);
  border: 1px solid var(--hf-line);
}
.hf-d-fact {
  background: #fff;
  padding: 28px 24px;
  text-align: center;
}
.hf-d-fact-highlight { background: var(--hf-stone); }
.hf-d-fact-n {
  font-family: var(--hf-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  color: var(--hf-brown);
  line-height: 1;
  white-space: nowrap;
}
.hf-d-fact-highlight .hf-d-fact-n { color: var(--hf-copper); }
.hf-d-fact-l {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hf-muted);
  margin-top: 10px;
  line-height: 1.3;
}

/* ── Address strip ─────────────────────────────────────────────
   Replaces the old highlights strip. Same dark band; address centered. */
.hf-d-address-strip {
  background: var(--hf-brown);
  padding: 22px 0;
  color: #fff;
}
.hf-d-addr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.2px;
}
.hf-d-addr-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hf-copper-3);
}
.hf-d-addr-eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hf-copper-3);
  font-weight: 700;
}
.hf-d-addr-line {
  font-family: var(--hf-serif);
  font-size: 18px;
  color: #fff;
}
.hf-d-addr-sep {
  color: rgba(255,255,255,0.4);
}
.hf-d-addr-city {
  color: rgba(255,255,255,0.85);
}
@media (max-width: 720px) {
  .hf-d-addr {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .hf-d-addr-sep { display: none; }
  .hf-d-addr-line { font-size: 16px; }
  .hf-d-addr-eyebrow { margin-top: 4px; }
}

/* ── Description block ─────────────────────────────────────── */
.hf-d-desc {
  background: var(--hf-cream);
  padding: 64px 0 80px;
}
.hf-d-desc-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
/* Push the description column down so its first line aligns roughly with
   the title's baseline on the left. Mirrors the Bad Soden tr-d-desc-grid
   rule. Mobile (≤960px) resets this when the grid collapses. */
.hf-d-desc-grid > div:nth-child(2) {
  padding-top: 58px;
}
.hf-d-desc p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--hf-muted);
}

/* ── Floor plan viewer ─────────────────────────────────────── */
.hf-d-plan {
  background: var(--hf-stone);
  padding: 100px 0;
  position: relative;
}
.hf-d-plan::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(31,45,29,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}
.hf-d-plan .hf-sec-head { text-align: center; margin-bottom: 48px; position: relative; }
.hf-d-plan-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: var(--hf-shadow);
  background: #fff;
  padding: 8px;
}
/* The frame is now the lightbox click target (Vollbild button removed).
   Skip the cursor on the empty-state variant which has no data-unit. */
.hf-d-plan-frame[data-unit] { cursor: zoom-in; }
.hf-d-plan-frame[data-unit]:focus-visible {
  outline: 2px solid var(--hf-copper);
  outline-offset: 4px;
}
.hf-d-plan-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.hf-d-plan-zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: var(--hf-brown);
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-family: var(--hf-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}
.hf-d-plan-zoom:hover { background: var(--hf-copper); }
.hf-d-plan-note {
  text-align: center;
  font-size: 12px;
  color: var(--hf-muted);
  font-style: italic;
  margin-top: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ── Rooms breakdown ───────────────────────────────────────── */
.hf-d-rooms {
  background: var(--hf-cream);
  padding: 120px 0;
}
.hf-d-rooms .hf-sec-head { text-align: center; margin-bottom: 56px; }
.hf-d-rooms .hf-sec-head .hf-eyebrow { display: inline-flex; }
.hf-d-rooms-table {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 48px;
  box-shadow: var(--hf-shadow-sm);
  border-left: 3px solid var(--hf-copper);
}
.hf-d-rooms-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(31,45,29,0.08);
}
.hf-d-rooms-row:last-child { border-bottom: none; }
.hf-d-rooms-name {
  font-size: 15px;
  color: var(--hf-ink);
}
.hf-d-rooms-dots {
  border-bottom: 1px dotted var(--hf-line);
  transform: translateY(-4px);
}
.hf-d-rooms-size {
  font-family: var(--hf-serif);
  font-size: 16px;
  color: var(--hf-brown);
  font-weight: 500;
  white-space: nowrap;
}
.hf-d-rooms-total {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 2px solid var(--hf-brown);
}
.hf-d-rooms-total .hf-d-rooms-name {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
}
.hf-d-rooms-total .hf-d-rooms-size {
  font-size: 22px;
  color: var(--hf-copper);
}

/* ── Location mini ─────────────────────────────────────────── */
.hf-d-loc {
  background: var(--hf-cream);
  padding: 0 0 120px;
}
.hf-d-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hf-d-loc p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hf-muted);
  margin-top: 18px;
  margin-bottom: 24px;
}
.hf-d-loc-addr {
  padding: 20px;
  background: var(--hf-brown);
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
  border-left: 3px solid var(--hf-copper);
}
.hf-d-loc-addr strong {
  font-family: var(--hf-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--hf-copper-3);
}

/* ── Prev / Next / All ─────────────────────────────────────── */
.hf-d-other {
  background: var(--hf-stone);
  padding: 56px 0;
}
.hf-d-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.hf-d-nav-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s;
}
.hf-d-nav-prev { text-align: left; }
.hf-d-nav-next { text-align: right; }
.hf-d-nav-prev:hover { transform: translateX(-6px); }
.hf-d-nav-next:hover { transform: translateX(6px); }
.hf-d-nav-dir {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hf-copper);
  font-weight: 700;
}
.hf-d-nav-name {
  font-family: var(--hf-serif);
  font-size: 22px;
  color: var(--hf-brown);
}
.hf-d-nav-all {
  padding: 14px 28px;
  border: 1.5px solid var(--hf-brown);
  color: var(--hf-brown);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.hf-d-nav-all:hover { background: var(--hf-brown); color: #fff; }

/* ── Disclaimer text ───────────────────────────────────────── */
.hf-disclaimer {
  max-width: 900px;
  margin: 32px auto 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--hf-muted);
  text-align: center;
  font-style: italic;
}
.hf-disclaimer sup {
  color: var(--hf-copper);
  font-weight: 700;
  font-style: normal;
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 960px) {
  .hf-d-hero { padding: 48px 0 60px; }
  .hf-d-hero-grid,
  .hf-d-desc-grid,
  .hf-d-loc-grid { grid-template-columns: 1fr; gap: 40px; }
  .hf-d-desc-grid > div:nth-child(2) { padding-top: 0; }
  .hf-d-desc, .hf-d-rooms { padding: 72px 0; }
  .hf-d-plan { padding: 60px 0; }
  .hf-d-rooms-table { padding: 28px 24px; }
  .hf-d-nav { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .hf-d-nav-prev, .hf-d-nav-next { text-align: center; }
  .hf-d-nav-prev:hover, .hf-d-nav-next:hover { transform: none; }
}
@media (max-width: 560px) {
  .hf-d-facts { grid-template-columns: 1fr 1fr; }
  .hf-d-plan-zoom span { display: none; }
}

/* ── Detail page (added 2026-05-04): subtag, mietkosten, energieausweis ── */
.hf-d-subtag {
  font-size: 14px;
  color: var(--hf-muted);
  margin: -8px 0 18px;
  letter-spacing: 0.2px;
}
.hf-d-fact-note {
  font-size: 10px;
  color: var(--hf-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-left: 2px;
}
.hf-d-price-sub {
  display: inline-block;
  font-weight: 400;
  font-size: 11px;
  color: var(--hf-muted);
  text-transform: none;
  letter-spacing: 0.3px;
  margin-left: 4px;
}
.hf-d-price-unit {
  font-family: var(--hf-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--hf-muted);
  letter-spacing: 0.5px;
  margin-left: 4px;
}
.hf-d-price-meta {
  font-size: 13px;
  color: var(--hf-muted);
  margin-top: 6px;
  letter-spacing: 0.2px;
}
.hf-d-reserved-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--hf-copper);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  vertical-align: middle;
}

/* ── Mietkosten section ─────────────────────────────────────── */
.hf-d-cost {
  padding: 64px 0;
  background: var(--hf-cream);
}
.hf-d-cost-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 32px auto 0;
  gap: 24px;
}
@media (max-width: 720px) {
  .hf-d-cost-grid { max-width: none; }
}
.hf-d-cost-card {
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: 4px;
  padding: 24px 28px;
}
.hf-d-cost-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--hf-line);
}
.hf-d-cost-card-title {
  font-family: var(--hf-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--hf-copper);
  font-weight: 600;
}
.hf-d-cost-card-tag {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--hf-muted);
  background: var(--hf-stone);
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.hf-d-cost-tbl {
  width: 100%;
  border-collapse: collapse;
}
.hf-d-cost-tbl th,
.hf-d-cost-tbl td {
  padding: 10px 0;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--hf-line);
  font-weight: 400;
}
.hf-d-cost-tbl td {
  text-align: right;
  /* Numbers use a stack with confirmed tabular digits. The brand serif
     has no tabular variant, so tabular-nums on it leaves cents ragged.
     Source Serif Pro / Charter / Cambria preserve the editorial feel
     while keeping digits monospace. */
  font-family: 'Source Serif Pro', 'Charter', 'Cambria', 'Iowan Old Style',
               'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 17px;
  color: var(--hf-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hf-d-cost-tbl tr:last-child th,
.hf-d-cost-tbl tr:last-child td {
  border-bottom: none;
}
.hf-d-cost-total th,
.hf-d-cost-total td {
  font-weight: 600;
  color: var(--hf-brown);
  padding-top: 14px;
}
.hf-d-cost-total td {
  font-size: 22px;
  color: var(--hf-copper);
}
.hf-d-cost-note {
  font-size: 11px;
  color: var(--hf-muted);
  font-weight: 400;
  letter-spacing: 0.2px;
}
.hf-d-cost-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: 4px;
}
@media (max-width: 720px) {
  .hf-d-cost-extras { grid-template-columns: 1fr; gap: 12px; }
}
.hf-d-cost-extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hf-d-cost-extra-l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--hf-muted);
  font-weight: 600;
}
.hf-d-cost-extra-v {
  font-size: 14px;
  color: var(--hf-ink);
}
.hf-d-energy {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--hf-stone);
  border-left: 3px solid var(--hf-copper);
  font-size: 13px;
  color: var(--hf-brown);
  line-height: 1.6;
}
.hf-d-energy-l {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--hf-copper);
  margin-right: 8px;
}
.hf-d-energy-pending {
  font-style: italic;
  color: var(--hf-muted);
}

/* ── Photo gallery (added 2026-05-04) ─────────────────────────── */
.hf-d-gallery {
  padding: 64px 0 48px;
  background: #fff;
}
/* ─────────────────────────────────────────────────────────────
   Top section: photos (left) + room breakdown panel (right).
   On narrow screens the two stack: photos first, rooms below.
   ───────────────────────────────────────────────────────────── */
.hf-d-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}
@media (max-width: 720px) {
  .hf-d-top-grid { grid-template-columns: 1fr; }
}
/* Photos: 2x2 grid of 4 photos, equal sized */
.hf-d-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hf-d-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--hf-stone);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  transition: transform .25s ease;
}
.hf-d-gallery-item:hover { transform: scale(1.01); }
.hf-d-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.hf-d-gallery-item:hover img { transform: scale(1.04); }

/* Room-breakdown panel (right side of top section) */
.hf-d-rooms-panel {
  background: #fff;
  border: 1px solid var(--hf-line);
  padding: 28px 28px;
  border-radius: 4px;
}
.hf-d-rooms-panel-head {
  text-align: left;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hf-line);
  margin-bottom: 8px;
}
.hf-d-rooms-panel-head .hf-eyebrow {
  margin-bottom: 6px;
}
.hf-d-rooms-panel-title {
  font-family: var(--hf-serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--hf-ink);
}
.hf-d-rooms-panel .hf-d-rooms-table {
  padding: 0;
  background: transparent;
  border: 0;
  margin: 0;
}
.hf-d-rooms-panel .hf-d-rooms-row {
  padding: 8px 0;
  font-size: 14px;
}
@media (max-width: 900px) {
  .hf-d-rooms-panel { padding: 24px 20px; }
}

.hf-d-gallery-note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--hf-muted);
  letter-spacing: 0.3px;
  font-style: italic;
}

/* ── Photo lightbox ─────────────────────────────────────────── */
.hf-photolb {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.hf-photolb.is-open { display: flex; }
.hf-photolb-inner {
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hf-photolb-inner img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.hf-photolb-close,
.hf-photolb-prev,
.hf-photolb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--hf-sans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hf-photolb-close { top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; }
.hf-photolb-prev,
.hf-photolb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 32px; }
.hf-photolb-prev  { left: 24px; }
.hf-photolb-next  { right: 24px; }
.hf-photolb-close:hover,
.hf-photolb-prev:hover,
.hf-photolb-next:hover { background: rgba(255, 255, 255, 0.18); }
@media (max-width: 720px) {
  .hf-photolb-prev  { left: 8px; }
  .hf-photolb-next  { right: 8px; }
}
/* ════════════════════════════════════════════════════════════════
   AMENITIES SECTION (Ausstattung) — apartment-page feature list
   ════════════════════════════════════════════════════════════════ */
.hf-d-amenities {
  background: var(--hf-cream);
  padding: 80px 0;
  border-top: 1px solid var(--hf-line);
}
.hf-d-amenities-intro {
  color: var(--hf-muted);
  font-size: 15px;
  max-width: 620px;
  margin-top: 8px;
  line-height: 1.55;
}
.hf-d-amen-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  margin-top: 36px;
}
@media (max-width: 1000px) {
  .hf-d-amen-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .hf-d-amen-grid { grid-template-columns: 1fr; gap: 28px; }
  .hf-d-amenities { padding: 56px 0; }
}
.hf-d-amen-col {
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: 4px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.hf-d-amen-title {
  font-family: var(--hf-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hf-brown);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hf-line);
}
.hf-d-amen-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.hf-d-amen-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.hf-d-amen-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--hf-sage);
  margin-top: 2px;
}
.hf-d-amen-list li b {
  font-weight: 600;
  color: var(--hf-ink);
  display: block;
}
.hf-d-amen-list li small {
  display: block;
  font-size: 12px;
  color: var(--hf-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Per-apartment specifics — copper-tinted highlight box */
.hf-d-amen-specifics {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--hf-stone);
  border-radius: 3px;
  border-left: 3px solid var(--hf-copper);
}
.hf-d-amen-specifics-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hf-brown);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hf-d-amen-badge {
  display: inline-block;
  padding: 3px 9px;
  background: var(--hf-copper);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hf-d-amen-specifics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hf-d-amen-specifics-list li {
  font-size: 13.5px;
  color: var(--hf-ink);
  font-weight: 500;
  position: relative;
  padding-left: 18px;
}
.hf-d-amen-specifics-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--hf-copper);
  font-weight: 700;
}

/* Pets warning — bottom of column 3 */
.hf-d-pets-warn {
  margin-top: 22px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(198, 70, 70, 0.30);
  border-left: 4px solid #c64646;
  border-radius: 2px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hf-d-pets-warn svg {
  width: 22px;
  height: 22px;
  color: #c64646;
  flex-shrink: 0;
  margin-top: 1px;
}
.hf-d-pets-warn b {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #c64646;
  margin-bottom: 4px;
}
.hf-d-pets-warn span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hf-muted);
  display: block;
}
/* ── Share row (WhatsApp, Email, Copy link) ─────────────────────
   Sits directly under the hero CTA row. Compact, low-profile.
   Buttons are pill-shaped with subtle borders so they don't compete
   with the primary "Jetzt anfragen" button. */
.hf-d-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
}
.hf-d-share-l {
  color: var(--hf-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 4px;
}
.hf-d-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--hf-line);
  border-radius: 999px;
  background: transparent;
  color: var(--hf-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hf-d-share-btn:hover {
  border-color: var(--hf-copper);
  color: var(--hf-copper);
  background: rgba(0,0,0,0.02);
}
.hf-d-share-btn svg { flex-shrink: 0; }
.hf-d-share-btn.is-copied {
  border-color: var(--hf-copper);
  color: var(--hf-copper);
}

/* ── Empty-state for missing floor plan ─────────────────────── */
.hf-d-plan-frame--empty {
  background: rgba(0,0,0,.02);
  border: 1px dashed var(--hf-line);
  border-radius: 6px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hf-d-plan-empty {
  text-align: center;
  color: var(--hf-muted);
  padding: 40px 24px;
  max-width: 480px;
}
.hf-d-plan-empty svg {
  opacity: 0.4;
  margin-bottom: 16px;
}
.hf-d-plan-empty p {
  margin: 0 0 6px;
  font-family: var(--hf-serif);
  font-size: 18px;
  color: var(--hf-ink);
}
.hf-d-plan-empty-sub {
  font-size: 13px !important;
  font-family: inherit !important;
  color: var(--hf-muted) !important;
}
/* ══════════════ MOBILE FIXES — Impressions section ══════════════ */
@media (max-width: 720px) {
  /* Reduce vertical padding */
  .hf-d-gallery { padding: 64px 0; }
  .hf-d-gallery .hf-sec-head { margin-bottom: 24px; }

  /* Photos: tighter gap */
  .hf-d-gallery-grid { gap: 8px; }

  /* Apartment-breakdown panel: tighter padding */
  .hf-d-rooms-panel { padding: 22px 20px; }
  .hf-d-rooms-panel-title { font-size: 18px; }

  /* Breakdown rows: stop labels wrapping awkwardly */
  .hf-d-rooms-total .hf-d-rooms-name {
    font-size: 11px;
    letter-spacing: 0.8px;
    line-height: 1.35;
  }
  .hf-d-rooms-total .hf-d-rooms-size { font-size: 18px; }
  .hf-d-rooms-row { gap: 10px; padding: 10px 0; grid-template-columns: 1fr auto; }
  .hf-d-rooms-dots { display: none; }

  /* Renderings note: left-aligned under the gallery (was centered) */
  .hf-d-gallery-note {
    text-align: left;
    font-family: var(--hf-sans);
    font-size: 11px;
    line-height: 1.6;
    color: var(--hf-muted);
    font-style: italic;
    letter-spacing: 0.3px;
    margin: 18px 0 0;
    max-width: 900px;
  }
}

/* Renderings note: left-aligned under the gallery (was centered).
   Sits under the left column of imagery; centering on the page
   detached it from the photos it describes. */
.hf-d-gallery-note {
  text-align: left;
  font-family: var(--hf-sans);
  margin-left: 0;
  margin-right: 0;
  max-width: 900px;
}

/* Mobile: hero CTAs stack full-width so filled + outline buttons match */
@media (max-width: 720px) {
  .hf-d-hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hf-d-hero-cta .hf-btn-primary,
  .hf-d-hero-cta .hf-btn-ghost-dark {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
/* ═══════════════════════════════════════════════════════════════
   WOHNKOMFORT — INKLUSIVE  (ported from TRIO ROYAL .tr-d-incl,
   recoloured to the Hofheim copper/forest palette)
   Class prefix hf-d-incl-* to keep it isolated from other rules.
   ═══════════════════════════════════════════════════════════════ */
.hf-d-incl {
  padding: 80px 0;
  background: var(--hf-cream);
}
.hf-d-incl-title {
  font-family: var(--hf-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  color: var(--hf-ink);
  margin: 0 0 14px;
}
.hf-d-incl-title em {
  font-style: italic;
  color: var(--hf-copper);
}
.hf-d-incl-sub {
  font-size: 16px;
  color: var(--hf-muted);
  margin: 0;
  line-height: 1.5;
}
.hf-d-incl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 48px auto 0;
}
.hf-d-incl-h {
  font-family: var(--hf-serif);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hf-copper);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hf-line);
}
.hf-d-incl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hf-d-incl-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hf-d-incl-check {
  color: var(--hf-copper);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.4;
  font-size: 16px;
}
.hf-d-incl-list strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--hf-ink);
  line-height: 1.35;
}
.hf-d-incl-list span {
  display: block;
  color: var(--hf-muted);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 2px;
}
/* Tablet — 2 columns */
@media (max-width: 960px) {
  .hf-d-incl-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
/* Mobile — 1 column */
@media (max-width: 600px) {
  .hf-d-incl { padding: 56px 0; }
  .hf-d-incl-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
}