/* ========================================================================
   EDWIN — Demo A: Editorial Black / Dark Luxury
   konzept[immo] Hintner GmbH · 2026
======================================================================== */

:root {
  /* — Colors — */
  --bg-primary: #0A0A0B;
  --bg-surface: #131316;
  --bg-elevated: #1A1A1F;
  --bg-card: #1F1F24;
  --bg-input: #16161A;

  --text-primary: #F2F0EB;
  --text-secondary: #C8C5BE;
  --text-muted: #8A8780;
  --text-faint: #5C5A55;
  --text-very-faint: #3F3D3A;

  --accent-gold: #C8A658;
  --accent-gold-bright: #E8C97B;
  --accent-gold-dim: #8A7340;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(200, 166, 88, 0.35);

  --status-available: #82B07F;
  --status-reserved:  #D4A14E;
  --status-sold:      #B5564B;

  /* — Typography — */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* — Spacing — */
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 80px);
  --section-y: clamp(80px, 11vw, 160px);

  /* — Motion — */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.5, 0, 1, 1);
}

/* ====================== RESET ====================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
::selection { background: var(--accent-gold); color: var(--bg-primary); }

/* ====================== LAYOUT ====================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; position: relative; }

/* ====================== BRAND MARK / LOGO ====================== */
.logo-mark {
  display: block;
  height: 38px;
  width: auto;
  transition: opacity 0.3s var(--ease-out);
}
.logo-mark:hover { opacity: 0.8; }
.logo-mark-gold { height: 80px; }
.nav-logo { display: inline-flex; align-items: center; }

/* ====================== TYPOGRAPHY ====================== */
.display-xl, .display-lg {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.display-xl {
  font-size: clamp(38px, 5.8vw, 78px);
  line-height: 1.04;
}
.display-lg {
  font-size: clamp(32px, 4.8vw, 60px);
  line-height: 1.06;
}
.display-xl em, .display-lg em {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 300;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 28px;
}
.lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-top: 32px;
  max-width: 540px;
}

/* ====================== SECTION HEADER ====================== */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(50px, 7vw, 90px);
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-num { color: var(--accent-gold); }
.section-label { color: var(--text-primary); }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
}
.btn-primary:hover {
  background: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
  gap: 18px;
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  transition: all 0.3s var(--ease-out);
}
.btn-ghost-sm:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ====================== NAV ====================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  transition: all 0.4s var(--ease-out);
  background: linear-gradient(to bottom, rgba(10,10,11,0.6), transparent);
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.nav.scrolled .logo-mark { height: 32px; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s;
}
.lang-toggle:hover { border-color: var(--border-strong); }
.lang-toggle .active { color: var(--text-primary); }
.lang-toggle .sep { color: var(--text-faint); }
.nav-burger {
  display: none;
  width: 36px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: flex-end;
  position: relative;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.35s var(--ease-out);
}
.nav-burger span:nth-child(2) { width: 18px; }
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); width: 24px; }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 24px; }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 110px var(--gutter) 40px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.85) contrast(1.08);
  animation: heroKenBurns 22s linear infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to { transform: scale(1.14) translate(-1%, -1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(10,10,11,0.55), transparent 65%),
    linear-gradient(to bottom,
      rgba(10,10,11,0.75) 0%,
      rgba(10,10,11,0.3) 30%,
      rgba(10,10,11,0.4) 70%,
      rgba(10,10,11,0.96) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-top, .hero-content, .hero-bottom {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 70px;
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-dot {
  width: 6px; height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200, 166, 88, 0.15);
  animation: pulse 2.6s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 166, 88, 0.18); }
  50% { box-shadow: 0 0 0 10px rgba(200, 166, 88, 0); }
}
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-badge-line { color: var(--accent-gold); }
.hero-badge-line.muted { color: var(--text-muted); margin-top: 3px; }

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto 0;
  max-width: 900px;
}
.hero-overline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.35;
  color: var(--accent-gold);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(54px, 10vw, 150px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin-bottom: 40px;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroLine 1.2s var(--ease-out) forwards;
}
.hero-line:nth-child(1) > span { animation-delay: 0.55s; }
.hero-line:nth-child(2) > span { animation-delay: 0.75s; }
@keyframes heroLine {
  to { transform: translateY(0); opacity: 1; }
}
.hero-title em { font-style: italic; color: var(--accent-gold); }
.hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 460px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.95s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.15s forwards;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.35s forwards;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-gold) 0%, transparent 100%);
  transform-origin: top;
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-meta {
  display: flex;
  gap: clamp(20px, 4vw, 60px);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid var(--border-subtle);
  padding-left: 16px;
}
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero-meta-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* ====================== OVERVIEW ====================== */
.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.stat {
  background: var(--bg-primary);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 300;
  line-height: 1;
  color: var(--accent-gold);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ====================== ARCHITECTURE ====================== */
.arch-intro {
  max-width: 880px;
  margin-bottom: clamp(60px, 8vw, 120px);
}
.arch-intro p {
  font-size: clamp(14px, 1.1vw, 17px);
  color: var(--text-secondary);
  margin-top: 28px;
  max-width: 600px;
  line-height: 1.65;
}
.arch-vignettes {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 10vw, 140px);
}
.arch-vignette {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.arch-vignette.reverse {
  grid-template-columns: 1fr 1.2fr;
}
.arch-vignette.reverse .arch-img-wrap { order: 2; }
.arch-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
}
.arch-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05) saturate(0.9);
  transition: transform 1.4s var(--ease-out), filter 1.4s var(--ease-out);
}
.arch-vignette:hover .arch-img-wrap img {
  transform: scale(1.04);
  filter: brightness(0.95) contrast(1.05) saturate(0.95);
}
.arch-num-tag {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  padding: 6px 10px;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
}
.arch-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.arch-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.arch-text h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.arch-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 4px;
}

/* ====================== MASTERPLAN ====================== */
.masterplan { background: var(--bg-surface); }
.masterplan-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 70px);
}
.masterplan-intro p {
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}
.legend {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.available { background: var(--status-available); box-shadow: 0 0 12px rgba(130,176,127,0.4); }
.legend-dot.reserved  { background: var(--status-reserved);  box-shadow: 0 0 12px rgba(212,161,78,0.4); }
.legend-dot.sold      { background: var(--status-sold);      box-shadow: 0 0 12px rgba(181,86,75,0.4); }

.siteplan-wrap,
.lageplan-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.lageplan-frame {
  position: relative;
  border: 1px solid var(--border-subtle);
  background: #F8F6F1;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.lageplan-img {
  display: block;
  width: 100%;
  height: auto;
  /* New greyscale Lageplan — minimal filter so it stays clean and crisp */
  filter: contrast(1.02);
}

/* SVG polygon overlay layer — sits between image and label badges */
.lageplan-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* allow image clicks to pass through */
  z-index: 2;
}
.lp-poly {
  pointer-events: auto;
  cursor: pointer;
  fill-opacity: 0.55;
  stroke-width: 0.25;
  stroke-opacity: 0.95;
  transition: fill-opacity 0.3s var(--ease-out), stroke-width 0.3s var(--ease-out);
  outline: none;
}
.lp-poly.status-available { fill: #82B07F; stroke: #4D7A4A; }
.lp-poly.status-reserved  { fill: #D4A14E; stroke: #8C6420; }
.lp-poly.status-sold      { fill: #B5564B; stroke: #6E2C24; }

.lp-poly:hover, .lp-poly:focus {
  fill-opacity: 0.78;
  stroke-width: 0.45;
}

/* Letter badge positioned at polygon centroid via inline style */
.lageplan-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.lp-poly-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(255,255,255,0.92);
  color: #1a1a1a;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  user-select: none;
}
.lp-poly-label.status-available { color: #1A3D1A; }
.lp-poly-label.status-reserved  { color: #4A2E0A; }
.lp-poly-label.status-sold      { color: #4A1A14; }

.lageplan-caption {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-cap-label { color: var(--accent-gold); }
.lp-cap-meta { color: var(--text-muted); }

.house-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(10,10,11,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  padding: 14px 18px;
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  z-index: 10;
  transform: translate(-50%, -100%) translateY(-12px);
}
.house-tooltip.show { display: flex; }
.tt-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.tt-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-gold);
}
.tt-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
}
.tt-status.available { color: var(--status-available); }
.tt-status.reserved  { color: var(--status-reserved); }
.tt-status.sold      { color: var(--status-sold); }
.tt-spec {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.plan-meta {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.plan-meta-item {
  background: var(--bg-surface);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.plan-meta-value {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ====================== FEATURES ====================== */
.features-intro {
  max-width: 800px;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.feature {
  background: var(--bg-primary);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.4s var(--ease-out);
}
.feature:hover { background: var(--bg-surface); }
.feature svg {
  width: 36px; height: 36px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}
.feature h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ====================== LOCATION ====================== */
.location { background: var(--bg-surface); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.location-text p {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}
.amenities {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.amenities li {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.4s var(--ease-out);
}
.amenities li:hover {
  padding-left: 12px;
}
.amenities li:first-child { border-top: 1px solid var(--border-subtle); }
.amen-time {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--accent-gold);
  min-width: 80px;
  letter-spacing: -0.02em;
}
.amen-time small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-left: 4px;
  text-transform: uppercase;
}
.amen-name {
  font-size: 15px;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.location-map {
  position: sticky;
  top: 100px;
}
.map-frame {
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-elevated);
}
.map-img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(0.85) contrast(1.05);
}
.map-svg {
  display: block;
  width: 100%;
  height: auto;
}
.map-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.map-caption .muted { color: var(--text-muted); }

/* Animated map marker — concentric pulse rings */
.map-marker-main .mm-ring {
  transform-origin: center;
  transform-box: fill-box;
}
.mm-ring-1 { opacity: 1; }
.mm-ring-2 { opacity: 0.22; animation: mmPulse 2.4s var(--ease-in-out) infinite; }
.mm-ring-3 { opacity: 0.10; animation: mmPulse 2.4s var(--ease-in-out) infinite 0.4s; }

@keyframes mmPulse {
  0%   { opacity: 0;    transform: scale(0.55); }
  40%  { opacity: 0.30; }
  100% { opacity: 0;    transform: scale(1.25); }
}

/* Marker text gentle fade-in */
.map-marker-main text { animation: mmTextFade 4s var(--ease-in-out) infinite; }
@keyframes mmTextFade {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* ====================== GALLERY ====================== */
.gallery-intro {
  margin-bottom: clamp(50px, 7vw, 90px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
}
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.88) contrast(1.06);
  transition: all 0.7s var(--ease-out);
}
.gal-item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1) contrast(1.06);
}
.gal-label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out);
}
.gal-item:hover .gal-label {
  opacity: 1;
  transform: translateY(0);
}

/* ====================== CONTACT ====================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact-text p {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  max-width: 480px;
}
.contact-info {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}
.ci-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}
.ci-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ci-value {
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-surface);
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color 0.3s, background 0.3s;
  font-family: var(--font-body);
  resize: vertical;
}
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C8A658' stroke-width='1' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.contact-form select option { background: var(--bg-input); color: var(--text-primary); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-gold);
  background: rgba(200,166,88,0.04);
}
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.form-note {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-align: center;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ====================== FOOTER ====================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: clamp(60px, 8vw, 100px) 0 30px;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand .logo-mark { margin-bottom: 8px; }
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--accent-gold);
  margin-top: 24px;
}
.footer-tagline em { color: var(--accent-gold); }
.footer-subbrand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 14px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 16px;
}

/* ====================== MODAL ====================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.show { display: flex; animation: modalIn 0.4s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal-panel {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  animation: panelIn 0.5s var(--ease-out);
}
.modal-panel.wide { max-width: 1280px; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  z-index: 10;
  transition: all 0.3s;
}
.modal-close:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: rotate(90deg);
}

/* House Modal content */
.modal-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
}
.modal-hero {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  overflow: hidden;
}
.modal-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.modal-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(10,10,11,0.92), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.modal-house-num {
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 84px);
  font-weight: 300;
  line-height: 0.9;
  color: var(--accent-gold);
  letter-spacing: -0.03em;
}
.modal-status-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid currentColor;
  background: rgba(10,10,11,0.4);
  backdrop-filter: blur(8px);
}
.modal-status-badge.available { color: var(--status-available); }
.modal-status-badge.reserved  { color: var(--status-reserved); }
.modal-status-badge.sold      { color: var(--status-sold); }

.modal-info {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.modal-title em { color: var(--accent-gold); font-style: italic; }
.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  margin-top: 4px;
}
.modal-spec {
  background: var(--bg-elevated);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-spec-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.modal-spec-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.modal-actions .btn { justify-content: space-between; }

/* Floorplan Modal */
.floorplan-modal .modal-panel { padding: 0; }
.floorplan-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 600px;
}
.floorplan-stage {
  background: #F8F6F1;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.floorplan-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2A2A2D;
}
.fp-num { color: var(--accent-gold-dim); font-weight: 600; }
.floorplan-image-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.floorplan-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.fp-hotspot {
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid var(--bg-primary);
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(200,166,88,0.5);
  animation: hotspotPulse 2.2s var(--ease-in-out) infinite;
  transition: transform 0.3s var(--ease-out);
  z-index: 5;
}
.fp-hotspot:hover, .fp-hotspot.active {
  transform: translate(-50%, -50%) scale(1.3);
  animation: none;
  background: var(--accent-gold-bright);
}
@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(200,166,88,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(200,166,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,166,88,0); }
}
.floorplan-toggle {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}
.fp-toggle-btn {
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5C5A55;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.fp-toggle-btn:hover { color: var(--accent-gold-dim); border-color: var(--accent-gold-dim); }
.fp-toggle-btn.active {
  background: #2A2A2D;
  color: #F2F0EB;
  border-color: #2A2A2D;
}

.floorplan-detail {
  padding: 30px 28px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fp-detail-pre {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.fp-detail-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.fp-detail-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.fp-detail-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.fp-stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
}
.fp-stat {
  background: var(--bg-elevated);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.fp-stat-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent-gold);
}
.fp-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ====================== LIGHTBOX ====================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.show { display: flex; animation: modalIn 0.4s var(--ease-out); }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.94);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.lightbox img {
  position: relative;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  z-index: 1;
  animation: panelIn 0.5s var(--ease-out);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,11,0.6);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  z-index: 2;
  transition: all 0.3s;
}
.lightbox-close:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: rotate(90deg);
}
.lightbox-caption {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

/* ====================== TOAST ====================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 150%);
  background: var(--accent-gold);
  color: var(--bg-primary);
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  z-index: 400;
  transition: transform 0.5s var(--ease-out);
}
.toast.show { transform: translate(-50%, 0); }

/* ====================== REVEAL ANIMATIONS ====================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .overview-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .arch-vignette, .arch-vignette.reverse { grid-template-columns: 1fr; }
  .arch-vignette.reverse .arch-img-wrap { order: 0; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-hero { aspect-ratio: 16/10; }
  .floorplan-wrap { grid-template-columns: 1fr; }
  .floorplan-detail { padding: 22px; }
  .location-map { position: static; }
  .plan-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,11,0.97);
    backdrop-filter: blur(20px);
    padding: 24px var(--gutter);
    gap: 18px;
    border-top: 1px solid var(--border-subtle);
  }
  .nav-burger { display: flex; }
  .nav-right .btn-ghost-sm { display: none; }
  .hero { padding: 90px 20px 30px; }
  .hero-top { margin-top: 30px; flex-direction: column; gap: 16px; }
  .hero-badge { align-items: flex-start; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .hero-meta-item { padding-left: 12px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stats-grid, .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gal-item.wide { grid-column: span 1; }
  .footer-cols { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .legend { gap: 18px; }
  .modal-hero-overlay { padding: 18px; }
  .modal-house-num { font-size: 42px; }
  .ci-row { grid-template-columns: 1fr; gap: 4px; }
  .plan-meta { grid-template-columns: 1fr; }
}

/* Safari fix for backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .nav.scrolled { background: rgba(10,10,11,0.95); }
  .modal-backdrop { background: rgba(5, 5, 6, 0.92); }
}

/* === FIX 4 (2026-05-18): force readable hero headline over dark render bg === */
.hero-title {
  color: #F2F0EB !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.hero-title em {
  color: var(--accent-gold) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero-line > span { color: inherit; }

/* === FIX 1 (2026-05-18): floor plan hotspots responsive — shrink + reduce pulse ring === */
@media (max-width: 1024px) {
  .fp-hotspot {
    width: 20px; height: 20px;
    font-size: 10px;
    border-width: 1.5px;
  }
}
@media (max-width: 768px) {
  .fp-hotspot {
    width: 18px; height: 18px;
    font-size: 9px;
    border-width: 1.5px;
    animation: none;
  }
  .fp-hotspot:hover, .fp-hotspot.active {
    animation: none;
    transform: translate(-50%, -50%) scale(1.4);
  }
  .floorplan-stage { padding: 12px; }
  .floorplan-header { font-size: 9px; margin-bottom: 10px; }
}
@media (max-width: 480px) {
  .fp-hotspot {
    width: 16px; height: 16px;
    font-size: 8px;
  }
  .floorplan-stage { padding: 8px; }
}

/* ============================================================================
   EDWIN CUSTOM FIXES (DO NOT TRUNCATE THIS SECTION WHEN ITERATING)
   ============================================================================
   When iterating a specific fix, USE sed PATTERN REPLACE (not head truncate)
   so other fixes survive. Example:
     sed -i '/FIX 3 v4/,/^}/{...}'   ← replace just one block
   Avoid:
     head -n N file > tmp; mv tmp file   ← wipes everything after line N
   ============================================================================ */

/* === FIX 3 v4 (2026-05-19): lageplan mobile zoom — Option A (scale 1.3 + +5% Y) === */
@media (max-width: 768px) {
  .lageplan-frame { overflow: hidden; }
  .lageplan-frame > .lageplan-img,
  .lageplan-frame > .lageplan-svg,
  .lageplan-frame > .lageplan-hotspots {
    transform: scale(1.3) translate(-8%, 5%);
    transform-origin: center center;
    transition: transform 0.3s ease;
  }
}
@media (max-width: 480px) {
  .lageplan-frame > .lageplan-img,
  .lageplan-frame > .lageplan-svg,
  .lageplan-frame > .lageplan-hotspots {
    transform: scale(1.4) translate(-8%, 5%);
    transform-origin: center center;
  }
}

/* === FIX 5 (2026-05-19): defensive contact-form mobile sizing === */
@media (max-width: 1024px) {
  .contact-form,
  .contact-form * {
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-form select,
  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }
}

/* === FIX 4: DE/EN hide — DO NOT REMOVE === */
/* Site is German-only. Toggle markup preserved in template for future re-enable. */
/* This rule was previously deleted by Fix 6 v3 truncation — keep at END of file. */
.lang-toggle { display: none !important; }

/* === FIX 7 (2026-05-19): footer mobile center-align — DO NOT REMOVE === */
@media (max-width: 768px) {
  .footer { text-align: center; }
  .footer-top { text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-brand .logo-mark,
  .footer-brand .logo-mark-gold { margin: 0 auto; }
  .footer-tagline,
  .footer-subbrand { text-align: center; }
  .footer-cols { text-align: center; }
  .footer-col { text-align: center; align-items: center; }
  .footer-col-title { text-align: center; }
  .footer-col a { text-align: center; display: block; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}
