/* ============================================================
   URBAN FAMILY LOFT — Design System
   ============================================================ */

:root {
  /* Palette: Industrial Loft Premium */
  --bg:           #FAF7F2;        /* warm off-white */
  --bg-alt:      #F2EDE6;         /* slightly deeper sand */
  --surface:     #FFFFFF;
  --surface-2:   #F7F3EC;
  --ink:         #1A1816;         /* warm black */
  --ink-2:       #3A3530;
  --muted:       #6B635C;
  --muted-2:     #A39C94;
  --line:        rgba(26, 24, 22, 0.08);
  --line-strong: rgba(26, 24, 22, 0.16);

  /* Accent: Industrial brass / warm bronze */
  --accent:       #B8804A;
  --accent-dark:  #8C5E33;
  --accent-soft:  rgba(184, 128, 74, 0.10);

  /* Type */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Container */
  --container: 1280px;
  --container-wide: 1440px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-2: 0 4px 12px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.06);
  --shadow-3: 0 8px 24px rgba(0,0,0,0.10), 0 24px 64px rgba(0,0,0,0.08);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med:  320ms;
  --t-slow: 600ms;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageIn 700ms var(--ease) both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; font-family: var(--font-body); letter-spacing: -0.01em; }
p  { margin: 0 0 var(--s-4); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-4);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

section { padding-block: clamp(var(--s-8), 10vw, var(--s-10)); }
section.tight { padding-block: var(--s-7); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: var(--s-4);
  transition: background var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              padding var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
  padding-block: var(--s-3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.nav-brand {
  display: flex; align-items: baseline; gap: var(--s-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color var(--t-med) var(--ease);
}
.nav-brand span:last-child { color: var(--accent); }
.site-header:not(.is-scrolled) .nav-brand { color: #fff; }
.site-header:not(.is-scrolled) .nav-brand span:last-child { color: var(--bg); }

.nav-links {
  display: flex; align-items: center; gap: var(--s-6);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink);
  opacity: 0.85;
  transition: opacity var(--t-fast), color var(--t-fast);
  position: relative;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.site-header:not(.is-scrolled) .nav-links a { color: #fff; opacity: 0.9; }
.site-header:not(.is-scrolled) .nav-links a:hover { color: var(--bg); opacity: 1; }

.nav-right { display: flex; align-items: center; gap: var(--s-4); }

.lang-switch {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255,255,255,0.6);
}
.site-header:not(.is-scrolled) .lang-switch {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.lang-switch button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
  letter-spacing: 0.05em;
}
.site-header:not(.is-scrolled) .lang-switch button { color: #fff; }
.lang-switch button.is-active {
  background: var(--ink);
  color: var(--bg);
}
.site-header:not(.is-scrolled) .lang-switch button.is-active {
  background: var(--bg); color: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-light:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface); }
.btn .arr {
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn:hover .arr { transform: translateX(3px); }

/* mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  align-items: center; justify-content: center;
  color: #fff;
}
.site-header.is-scrolled .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 52%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0) 75%),
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.8) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding-block: var(--s-9) var(--s-8);
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-weight: 400;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: var(--s-5);
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #F0C892;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 620px;
  color: #fff;
  margin-bottom: var(--s-6);
  margin-inline: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.5);
}
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }
.hero-eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
  display: flex; align-items: center; gap: var(--s-3);
  justify-content: center;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; flex: 0 0 32px; height: 1px; background: var(--accent);
}
.hero-eyebrow::after { display: none; }

.hero-scroll {
  position: absolute; bottom: var(--s-5); left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.7; transform-origin: top; }
  50%      { transform: scaleY(0.4); opacity: 1; }
}

/* ============================================================
   Highlights bar
   ============================================================ */
.highlights {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding-block: var(--s-7);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.highlight {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: var(--s-3) 0;
  animation: riseIn 700ms var(--ease) both;
}
.highlight:nth-child(2) { animation-delay: 70ms; }
.highlight:nth-child(3) { animation-delay: 140ms; }
.highlight:nth-child(4) { animation-delay: 210ms; }
.highlight:nth-child(5) { animation-delay: 280ms; }
.highlight:nth-child(6) { animation-delay: 350ms; }
.highlight:nth-child(7) { animation-delay: 420ms; }
.highlight:nth-child(8) { animation-delay: 490ms; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.highlight-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.highlight-icon svg { width: 22px; height: 22px; }
.highlight-text { padding-top: 8px; }
.highlight-text h4 { font-size: 0.98rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.highlight-text p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ============================================================
   Airbnb Review showcase
   ============================================================ */
.review-showcase {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--s-7), 8vw, var(--s-10)) var(--s-8);
  background:
    linear-gradient(90deg, rgba(250,247,242,0), rgba(255,255,255,0.78) 22%, rgba(255,255,255,0.78) 78%, rgba(250,247,242,0)),
    radial-gradient(circle at 50% 0%, rgba(184,128,74,0.12), transparent 42%),
    #faf7f2;
  color: var(--ink);
  border-block: 1px solid rgba(26,24,22,0.08);
}
.review-summary {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto var(--s-6);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
  gap: var(--s-6);
}
.review-summary-copy .eyebrow {
  color: var(--accent);
}
.review-summary-copy h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.96;
}
.review-metrics {
  display: flex;
  gap: var(--s-4);
  align-items: stretch;
}
.review-metric {
  min-width: 184px;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(184,128,74,0.22);
  box-shadow: 0 22px 60px rgba(26,24,22,0.10);
}
.review-metric strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.review-metric span {
  display: block;
  margin-top: var(--s-3);
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}
.review-marquee {
  width: 100%;
  overflow: hidden;
  padding-block: var(--s-2) var(--s-5);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.review-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--s-5);
  width: max-content;
  animation: reviewsMove 62s linear infinite;
  will-change: transform;
}
.review-card {
  flex: 0 0 clamp(360px, 30vw, 560px);
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(var(--s-5), 2.4vw, var(--s-7));
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(184,128,74,0.18);
  box-shadow: 0 24px 70px rgba(26,24,22,0.10);
}
.review-card span {
  color: #e89b12;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}
.review-card p {
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.35vw, 1.55rem);
  line-height: 1.42;
  font-weight: 800;
  margin: var(--s-5) 0;
}
.review-card small {
  color: var(--muted-2);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
}
@keyframes reviewsMove {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ============================================================
   Intro
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
}
.intro-text h2 { margin-bottom: var(--s-5); }
.intro-text p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.intro-text p + p { margin-top: var(--s-4); }
.intro-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat {
  text-align: center;
  padding: var(--s-3);
  border-radius: var(--r-md);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   Room sections
   ============================================================ */
.room {
  padding-block: clamp(var(--s-8), 9vw, var(--s-10));
}
.room-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-8);
  align-items: center;
  margin-bottom: var(--s-7);
}
.room-head.reversed .room-feature { order: 2; }
.room-head .room-text { padding: var(--s-4) 0; }
.room-text h2 { margin-bottom: var(--s-4); }
.room-text .room-meta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-4);
}
.room-text p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; }
.room-feature {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-2);
  aspect-ratio: 4/3;
}
.room-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.16) 38%, transparent 58%);
  transform: translateX(-120%);
  animation: imageSheen 8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes imageSheen {
  0%, 55% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}
.room-feature img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room-feature:hover img { transform: scale(1.03); }
.room-feature[data-clickable] { cursor: zoom-in; }

.room-list {
  display: flex; flex-direction: column; gap: var(--s-2);
  margin-top: var(--s-4);
}
.room-list li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  color: var(--ink-2);
  font-size: 0.96rem;
}
.room-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  cursor: zoom-in;
  transition: transform var(--t-fast);
}
.gallery-item:hover { transform: translateY(-2px); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-med) var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.25));
  opacity: 0;
  transition: opacity var(--t-fast);
}
.gallery-item:hover::after { opacity: 1; }

/* ============================================================
   Floor plan
   ============================================================ */
.floorplan {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(184,128,74,0.16), transparent 34%),
    linear-gradient(135deg, #171411 0%, #25211d 100%);
  color: #fff;
}
.floorplan-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(var(--s-5), 5vw, var(--s-9));
  align-items: stretch;
}
.floorplan-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: clamp(var(--s-5), 4vw, var(--s-8));
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
}
.floorplan .eyebrow { color: var(--accent); }
.floorplan h2 {
  color: #fff;
  max-width: 560px;
  margin-bottom: var(--s-4);
}
.floorplan p {
  color: rgba(255,255,255,0.74);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
}
.floorplan-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.floorplan-facts span {
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.floorplan-notes {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.floorplan-notes div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s-3);
  align-items: baseline;
}
.floorplan-notes strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
}
.floorplan-notes p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}
.floorplan-hint {
  margin: var(--s-5) 0 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.floorplan-image {
  position: relative;
  display: block;
  width: min(100%, 520px);
  justify-self: end;
  max-height: 1180px;
  overflow: hidden;
  padding: clamp(10px, 1.4vw, 18px);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.055));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 90px rgba(0,0,0,0.42);
  cursor: zoom-in;
}
.floorplan-image::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--r-lg) - 6px);
  box-shadow: inset 0 0 0 1px rgba(26,24,22,0.08);
  pointer-events: none;
  z-index: 1;
}
.floorplan-image img {
  width: 100%;
  height: auto;
  max-height: calc(1180px - 36px);
  object-fit: contain;
  border-radius: calc(var(--r-lg) - 10px);
  background: #f7f4ee;
  transition: transform 1.2s var(--ease);
}
.floorplan-image:hover img {
  transform: scale(1.012);
}

/* ============================================================
   Amenities (Ausstattung)
   ============================================================ */
.amenities {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.amenities-header {
  text-align: center;
  margin-bottom: var(--s-8);
}
.amenities-header h2 { margin-bottom: var(--s-3); }
.amenities-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.amenity-group h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.amenity-list li {
  padding: var(--s-2) 0;
  font-size: 0.97rem;
  color: var(--ink-2);
  display: flex; align-items: flex-start; gap: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.amenity-list li:last-child { border-bottom: none; }
.amenity-list svg {
  flex-shrink: 0; width: 18px; height: 18px;
  color: var(--accent);
  margin-top: 3px;
}

/* ============================================================
   Access section
   ============================================================ */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.access-step {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.access-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.access-step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: var(--s-4);
}
.access-step h4 { margin-bottom: var(--s-2); }
.access-step p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ============================================================
   Notes
   ============================================================ */
.notes {
  background: var(--bg-alt);
}
.notes-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: var(--s-8); align-items: start;
}
.note-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin-bottom: var(--s-3);
  border-left: 3px solid var(--accent);
  font-size: 0.96rem;
}
.note-card strong { color: var(--ink); display: block; margin-bottom: 4px; }
.note-card p { margin: 0; color: var(--muted); }
.notes-extras h3 { margin-bottom: var(--s-4); }
.notes-extras ul li {
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* ============================================================
   Booking
   ============================================================ */
.booking {
  background: var(--ink);
  color: #fff;
}
.booking .eyebrow { color: var(--accent); }
.booking h2 { color: #fff; margin-bottom: var(--s-3); }
.booking-lead {
  text-align: center;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto var(--s-7);
  font-size: 1.05rem;
}
.booking-header { text-align: center; }
.booking-frame {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  min-height: 600px;
  color: var(--ink-2);
  box-shadow: var(--shadow-3);
}
#apartmentIframe1467826 { min-height: 580px; }
#apartmentIframe1467826 iframe {
  width: 100% !important;
  min-height: 580px;
  border: 0;
}
.booking-fallback {
  text-align: center; padding: var(--s-6);
}
.booking-direct-link {
  padding: var(--s-3) 0 0;
  margin: 0;
  font-size: 0.9rem;
}
.booking-direct-link a {
  color: var(--accent-dark);
  font-weight: 700;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0F0E0D;
  color: rgba(255,255,255,0.6);
  padding-block: var(--s-8) var(--s-6);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: var(--s-3);
  font-weight: 400;
}
.footer-brand span { color: var(--accent); }
.footer-tag { color: rgba(255,255,255,0.5); }
.footer h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 var(--s-3);
}
.footer ul li { padding: 4px 0; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(15, 14, 13, 0.96);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  animation: fadeIn 220ms var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  transition: background var(--t-fast), transform var(--t-fast);
  z-index: 2;
}
.lightbox-close { top: var(--s-5); right: var(--s-5); }
.lightbox-prev  { left:   var(--s-5); top: 50%; transform: translateY(-50%); }
.lightbox-next  { right:  var(--s-5); top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover  { background: rgba(255,255,255,0.18); }
.lightbox-prev:hover  { transform: translateY(-50%) translateX(-2px); }
.lightbox-next:hover  { transform: translateY(-50%) translateX(2px); }
.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg { width: 22px; height: 22px; }
.lightbox-counter {
  position: absolute;
  bottom: var(--s-5); left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid  { grid-template-columns: repeat(2, 1fr); }
  .access-grid     { grid-template-columns: 1fr; }
  .room-head       { grid-template-columns: 1fr; gap: var(--s-6); }
  .room-head.reversed .room-feature { order: 0; }
  .floorplan-grid  { grid-template-columns: 1fr; }
  .floorplan-copy  { position: static; order: 1; text-align: center; }
  .floorplan-copy p { margin-inline: auto; }
  .floorplan-facts { justify-content: center; }
  .floorplan-notes div { grid-template-columns: 1fr; gap: 0.25rem; }
  .floorplan-image { order: 2; justify-self: center; max-height: 860px; }
  .floorplan-image img { max-height: 830px; }
  .intro-grid      { grid-template-columns: 1fr; gap: var(--s-6); }
  .notes-grid      { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .gallery         { grid-template-columns: repeat(3, 1fr); }
  .review-summary  { grid-template-columns: 1fr; text-align: center; }
  .review-summary-copy h2 { margin-inline: auto; }
  .review-metrics  { justify-content: center; flex-wrap: wrap; }
  .review-card     { flex-basis: 440px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn-primary { display: none; }
  .nav-toggle.is-open + .nav-links,
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 4px);
    right: var(--s-5);
    background: var(--surface);
    padding: var(--s-5);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-3);
    gap: var(--s-4);
    align-items: flex-start;
    min-width: 200px;
  }
  .nav.is-open .nav-links a { color: var(--ink); }
  .highlights-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .amenities-grid  { grid-template-columns: 1fr; gap: var(--s-5); }
  .gallery         { grid-template-columns: repeat(2, 1fr); }
  .review-summary  { width: min(100% - 32px, 1360px); gap: var(--s-5); }
  .review-metrics  { display: grid; grid-template-columns: 1fr; width: 100%; }
  .review-metric   { min-width: 0; padding: var(--s-4); }
  .review-card     { flex-basis: min(82vw, 360px); min-height: 230px; }
  .floorplan-image { width: min(100%, 360px); max-height: 720px; }
  .floorplan-image img { max-height: 690px; }
  .intro-stats     { grid-template-columns: 1fr 1fr; gap: var(--s-3); padding: var(--s-4); }
  .footer-grid     { grid-template-columns: 1fr; }
  .lightbox-prev   { left: var(--s-3); }
  .lightbox-next   { right: var(--s-3); }
  .hero-eyebrow::before { display: none; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

/* Print fallback */
@media print {
  .site-header, .booking, .lightbox, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Award badges (Booking.com + Airbnb Gäste-Favorit)
   ============================================================ */
.awards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.award {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5) var(--s-3) var(--s-3);
  border-radius: var(--r-lg);
  text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  flex: 1 1 240px;
  min-width: 0;
}
.award:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }

/* Booking.com — brand blue */
.award-booking { background: #003580; color: #fff; }
.award-score {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: #006ce4;
  font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; color: #fff;
}

/* Airbnb Gäste-Favorit — light card */
.award-airbnb { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.award-laurel {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 2px;
  color: var(--ink);
  min-width: 60px;
}
.award-laurel .laurel { width: 18px; height: 36px; }
.award-laurel .laurel-r { transform: scaleX(-1); }
.award-laurel-num { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }

.award-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; min-width: 0; }
.award-text strong { font-weight: 700; font-size: 0.9rem; letter-spacing: -0.005em; }
.award-booking .award-text strong { color: #fff; }
.award-booking .award-text span { font-size: 0.8rem; color: rgba(255,255,255,0.78); }
.award-airbnb .award-text strong { color: var(--ink); }
.award-airbnb .award-text span { font-size: 0.8rem; color: var(--muted); }

@media (max-width: 480px) {
  .awards { flex-direction: column; }
  .award { flex: 1 1 auto; }
}

/* ============================================================
   Location / Map section
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
  align-items: center;
}
.location-text h2 { margin-bottom: var(--s-4); }
.location-text p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; }
.location-address {
  font-style: normal;
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: var(--r-sm);
  line-height: 1.7;
  color: var(--ink-2);
}
.location-address strong { color: var(--ink); }
.location-map {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--bg-alt);
}
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(26,24,22,0.04), rgba(26,24,22,0.04)),
    repeating-linear-gradient(45deg, var(--bg-alt) 0 18px, var(--surface-2) 18px 36px);
  padding: var(--s-5);
}
.map-consent-inner { max-width: 340px; }
.map-pin { width: 40px; height: 40px; color: var(--accent); margin: 0 auto var(--s-4); }
.map-consent p { font-size: 0.88rem; color: var(--muted); margin-bottom: var(--s-4); line-height: 1.6; }

@media (max-width: 1024px) {
  .location-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================
   Brand logo (Header + Footer)
   ============================================================ */
.nav-brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 72px;
  width: auto;
  display: block;
  transition: opacity var(--t-med) var(--ease), height var(--t-med) var(--ease);
}
/* Über dem Hero (Header transparent): helles Logo zeigen */
.site-header:not(.is-scrolled) .brand-logo-dark { display: none; }
.site-header.is-scrolled .brand-logo-light { display: none; }
.site-header.is-scrolled .brand-logo { height: 60px; }

.footer-logo {
  height: 76px;
  width: auto;
  margin-bottom: var(--s-3);
}
@media (max-width: 720px) {
  .brand-logo { height: 54px; }
  .site-header.is-scrolled .brand-logo { height: 48px; }
}

/* ============================================================
   Floorplan callout (Erwartungssteuerung Durchgangs-Loft)
   ============================================================ */
.floorplan-callout {
  margin: var(--s-5) 0 var(--s-4);
  padding: var(--s-4) var(--s-5);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
.floorplan-callout strong {
  display: block;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.floorplan-callout p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-2);
}
