/* ============================================
   MONTEURZIMMER SUNDERN & AMECKE
   Modern, warm, professional stylesheet
   ============================================ */

:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f0ea;
  --surface: #ffffff;
  --ink: #1a1d1a;
  --ink-soft: #4a4f48;
  --ink-mute: #7a7f77;
  --line: #e5e2da;
  --brand: #2d5a3d;          /* Sauerland forest green */
  --brand-dark: #1f3f2a;
  --brand-light: #e8efe9;
  --accent: #c8a96a;          /* warm brass */
  --accent-dark: #9c8148;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(20,30,20,.06), 0 1px 2px rgba(20,30,20,.04);
  --shadow: 0 10px 30px -10px rgba(20,40,25,.15), 0 4px 12px -4px rgba(20,40,25,.08);
  --shadow-lg: 0 30px 60px -20px rgba(20,40,25,.25), 0 15px 30px -10px rgba(20,40,25,.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.35rem; font-family: var(--font-sans); font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  position: relative;
  padding-left: 34px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px; background: var(--brand);
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ============= NAVIGATION ============= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: all .3s var(--ease);
}
.nav.scrolled {
  background: rgba(251,250,247,.92);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; line-height: 1.1; color: var(--ink); }
.nav.scrolled .brand { color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand small { font-weight: 400; font-size: .75rem; color: var(--ink-mute); letter-spacing: .08em; text-transform: uppercase; }
.nav:not(.scrolled) .brand { color: #fff; }
.nav:not(.scrolled) .brand small { color: rgba(255,255,255,.75); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: .92rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.9); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { font-size: .88rem; padding: 10px 20px; }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor;
  transition: all .25s var(--ease);
}
.nav:not(.scrolled) .menu-toggle { color: #fff; }

/* ============= NAV OVERLAY (real element, clickable) ============= */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 98;
  cursor: pointer;
  transition: opacity .3s var(--ease);
}
body.nav-open .nav-overlay { display: block; }

/* Close button inside slide-in nav panel */
.nav-close {
  display: none;
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--line);
  cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--ink);
  align-items: center; justify-content: center;
  transition: all .2s var(--ease); flex-shrink: 0;
}
.nav-close:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }

/* ============= HERO ============= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,30,20,.85) 0%, rgba(18,30,20,.55) 50%, rgba(18,30,20,.35) 100%),
    linear-gradient(180deg, rgba(18,30,20,.3) 0%, rgba(18,30,20,.7) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-content .eyebrow { color: var(--accent); }
.hero-content .eyebrow::before { background: var(--accent); }
.hero h1 em { font-style: italic; color: var(--accent); font-family: var(--font-serif); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 620px; margin: 24px 0 36px;
  color: rgba(255,255,255,.9); font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.18);
  max-width: 720px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-serif); font-size: 1.9rem; color: var(--accent); font-weight: 600; }
.hero-stats span { font-size: .8rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 12px; z-index: 3;
}
.scroll-hint span {
  display: block; width: 2px; height: 8px; background: #fff;
  margin: 6px auto; animation: scroll 2s infinite;
}
@keyframes scroll {
  0%,100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .3; }
}

/* ============= USP ============= */
.usp { padding: 80px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp-item {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
  transition: all .4s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.usp-item.in-view { opacity: 1; transform: translateY(0); }
.usp-item:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); }
.usp-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; margin-bottom: 18px;
}
.usp-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.usp-item p { color: var(--ink-soft); font-size: .93rem; }

/* ============= INTRO ============= */
.intro { padding: 120px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.intro-text p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; }
.intro-text p:last-child { margin-bottom: 0; }

/* ============= PROPERTY SECTIONS ============= */
.property { padding: 110px 0; background: var(--surface); }
.property-alt { background: var(--bg-alt); }
.property-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.property-grid.reverse .property-media { order: 2; }

.property-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.property-media img { width: 100%; height: 620px; object-fit: cover; transition: transform .8s var(--ease); }
.property-media:hover img { transform: scale(1.04); }
.property-badge {
  position: absolute; top: 24px; left: 24px;
  background: rgba(255,255,255,.95); color: var(--brand);
  padding: 8px 18px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(10px);
}

.property-info h2 { margin-bottom: 10px; }
.property-tag { color: var(--accent-dark); font-size: 1rem; font-weight: 500; margin-bottom: 20px; letter-spacing: .01em; }
.property-info p { color: var(--ink-soft); margin-bottom: 24px; font-size: 1.02rem; }

.feature-list { margin: 0 0 30px; }
.feature-list li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  position: relative; color: var(--ink-soft);
  font-size: .95rem;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 16px; height: 10px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.property-meta {
  display: flex; gap: 36px; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.property-meta div { display: flex; flex-direction: column; }
.property-meta span { font-size: .78rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.property-meta strong { font-family: var(--font-serif); font-size: 1.8rem; color: var(--ink); margin: 4px 0; }

/* ============= FEATURES ============= */
.features { padding: 120px 0; background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 70px; }
.section-head .eyebrow { padding-left: 0; padding-right: 0; }
.section-head .eyebrow::before { display: none; }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.feature-card {
  padding: 32px 28px; background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: all .4s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.feature-card.in-view { opacity: 1; transform: translateY(0); }
.feature-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow);
  border-color: var(--brand-light);
}
.feature-ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-light), #fff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
  border: 1px solid var(--line);
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: .92rem; }

/* ============= GALLERY ============= */
.gallery { padding: 120px 0; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 16px;
}
.g-item {
  overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: scale(.96);
  transition: all .6s var(--ease);
}
.g-item.in-view { opacity: 1; transform: scale(1); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-large { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ============= PRICING ============= */
.pricing { padding: 120px 0; background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.price-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 40px 34px; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: all .4s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.price-card.in-view { opacity: 1; transform: translateY(0); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
  transform: translateY(-10px);
}
.price-card.featured.in-view { transform: translateY(-10px); }
.price-card.featured:hover { transform: translateY(-16px); }
.price-card header { margin-bottom: 24px; }
.badge {
  display: inline-block; padding: 5px 12px;
  background: var(--brand-light); color: var(--brand);
  border-radius: 999px; font-size: .72rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.price-card.featured .badge { background: rgba(255,255,255,.18); color: #fff; }
.price-card h3 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; }

.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.price-card.featured .price { border-color: rgba(255,255,255,.2); }
.price span { font-size: .85rem; color: var(--ink-mute); }
.price-card.featured .price span { color: rgba(255,255,255,.7); }
.price strong { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--ink); }
.price-card.featured .price strong { color: var(--accent); }
.price small { font-size: .9rem; color: var(--ink-mute); }
.price-card.featured .price small { color: rgba(255,255,255,.7); }

.price-card ul { flex: 1; margin-bottom: 26px; }
.price-card li {
  padding: 10px 0 10px 28px; position: relative;
  font-size: .93rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.price-card.featured li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.12); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  color: var(--brand); font-weight: 700;
}
.price-card.featured li::before { color: var(--accent); }
.price-card.featured .btn-primary { background: var(--accent); color: var(--ink); }
.price-card.featured .btn-primary:hover { background: #fff; color: var(--brand); }

/* ============= FAQ ============= */
.faq { padding: 120px 0; background: var(--surface); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 22px 0;
  transition: all .3s var(--ease);
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding-right: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.6rem; color: var(--brand);
  transition: transform .3s var(--ease); font-weight: 300;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 14px; color: var(--ink-soft);
  line-height: 1.7; font-size: .98rem;
}

/* ============= CONTACT ============= */
.contact { padding: 120px 0; background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 36px; }

.contact-list li {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.c-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-list small {
  display: block; font-size: .75rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px;
}
.contact-list a { font-weight: 500; font-size: 1.02rem; }
.contact-list a:hover { color: var(--brand); }

.contact-form {
  background: var(--surface); padding: 40px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 20px; }
.field-row .field { margin-bottom: 0; }
.field label {
  display: block; font-size: .82rem; font-weight: 600;
  margin-bottom: 8px; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem;
  background: var(--bg); color: var(--ink);
  transition: all .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px var(--brand-light);
}
.field textarea { resize: vertical; }
.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--ink-soft); margin-bottom: 20px;
}
.checkbox input { margin-top: 3px; accent-color: var(--brand); }
.checkbox a { color: var(--brand); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: 14px; text-align: center; }

/* ============= MAP ============= */
.map { height: 440px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ============= FOOTER ============= */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px; padding-bottom: 60px;
}
.footer-brand img { width: 52px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: .95rem; line-height: 1.7; }
.footer h4 {
  color: #fff; font-size: .88rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 20px; font-family: var(--font-sans);
}
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: .92rem; color: rgba(255,255,255,.65); }
.footer ul a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; }
.footer-bottom .container {
  display: flex; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.5);
  flex-wrap: wrap; gap: 12px;
}

/* ============= SECTION REVEAL ============= */
section { opacity: 1; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .usp-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .property-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .property-grid.reverse .property-media { order: 0; }
  .property-media img { height: 480px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .price-card.featured { transform: translateY(0); }
  .price-card.featured.in-view { transform: translateY(0); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-large, .g-wide { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .location-grid { grid-template-columns: 1fr; }
  .build-phases { grid-template-columns: repeat(2, 1fr); }
  .alert-box { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .alert-icon { margin: 0 auto; }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .calc-form { padding: 26px 22px; }
  .build-card { padding: 32px 24px; }
  .build-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .build-percent { font-size: 3rem; }
  .build-phases { grid-template-columns: 1fr; }
  .stepper-value strong { font-size: 2rem; }
  .price-display strong { font-size: 2.6rem; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
    height: 100vh; background: var(--surface);
    flex-direction: column; justify-content: center; gap: 24px;
    padding: 40px 28px; transition: right .4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,.1);
    z-index: 99; overflow-y: auto;
  }
  .nav-links a { color: var(--ink) !important; font-size: 1.15rem; }
  .nav:not(.scrolled) .nav-links a { color: var(--ink); }
  body.nav-open .nav-links { right: 0; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-close { display: flex; }

  .hero { padding: 100px 0 60px; min-height: 90vh; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .usp-grid, .features-grid { grid-template-columns: 1fr; }
  .intro, .property, .features, .gallery, .pricing, .faq, .contact { padding: 70px 0; }
  .property-media img { height: 360px; }
  .property-meta { flex-direction: column; gap: 16px; }
  .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer { padding-top: 60px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-large, .g-wide { grid-column: span 1; grid-row: span 1; }
}

/* ============= CALCULATOR ============= */
.calc { padding: 120px 0; background: var(--surface); }
.calc-wrap {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px;
  max-width: 1100px; margin: 0 auto;
  align-items: start;
}
/* Prevent grid children from overflowing on narrow screens */
.calc-wrap > * { min-width: 0; }
.calc-form {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--line);
}
.calc-step { padding: 28px 0; border-bottom: 1px solid var(--line); }
.calc-step:first-child { padding-top: 0; }
.calc-step:last-child { padding-bottom: 0; border-bottom: 0; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.step-head h3 { font-size: 1.15rem; font-weight: 600; margin: 0; }
.step-hint {
  font-size: .9rem; color: var(--ink-soft);
  margin-bottom: 18px;
  padding: 12px 16px; background: var(--brand-light);
  border-left: 3px solid var(--brand); border-radius: 6px;
}
.step-hint-sub {
  margin-top: 14px; font-size: .85rem;
  color: var(--ink-mute); line-height: 1.6;
  padding: 10px 14px; background: #fef8ec;
  border-radius: 8px; border-left: 2px solid var(--accent);
}
.step-hint-sub strong { color: var(--accent-dark); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice {
  position: relative; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line);
  border-radius: 14px; padding: 20px 18px;
  transition: all .25s var(--ease);
  display: block;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover:not(.disabled) { border-color: var(--brand); transform: translateY(-2px); }
.choice input:checked + .choice-body {
  color: var(--brand);
}
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-light); }
.choice.disabled { cursor: not-allowed; opacity: .7; }
.choice-body strong { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.choice-body span { display: block; font-size: .85rem; color: var(--ink-mute); margin-bottom: 10px; }
.tag {
  display: inline-block; font-style: normal;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.tag-ok { background: #e3f2e6; color: #2d5a3d; }
.tag-warn { background: #fef3e0; color: #8a5a1a; }

.stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 18px;
  background: var(--surface); border-radius: 14px;
  padding: 18px; border: 1px solid var(--line);
}
.step-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff;
  border: 0; font-size: 1.4rem; font-weight: 600;
  cursor: pointer; transition: all .2s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.step-btn:hover { background: var(--brand-dark); transform: scale(1.08); }
.step-btn:active { transform: scale(.95); }
.stepper-value { text-align: center; min-width: 110px; }
.stepper-value strong {
  font-family: var(--font-serif); font-size: 2.4rem;
  font-weight: 600; display: block; line-height: 1; color: var(--ink);
}
.stepper-value small {
  font-size: .82rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .1em;
  margin-top: 4px; display: block;
}
.quick-beds { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-beds button {
  padding: 8px 14px; border-radius: 999px;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line); cursor: pointer;
  font-size: .85rem; font-weight: 500;
  transition: all .2s var(--ease); font-family: inherit;
}
.quick-beds button:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }

.calc-summary {
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 40px 34px; position: sticky; top: 100px;
  box-shadow: var(--shadow-lg);
}
.calc-summary .eyebrow { color: var(--accent); }
.calc-summary .eyebrow::before { background: var(--accent); }
.price-display {
  margin: 16px 0 28px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.price-display strong {
  font-family: var(--font-serif); font-size: 3.5rem;
  font-weight: 600; color: var(--accent); display: block;
  line-height: 1; letter-spacing: -0.02em;
}
.price-display small {
  display: block; margin-top: 10px;
  color: rgba(255,255,255,.7); font-size: .9rem;
}
.breakdown { margin-bottom: 24px; }
.breakdown li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px;
  padding: 11px 0; font-size: .92rem;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.breakdown li > span {
  flex: 1 1 0; min-width: 0;
  overflow-wrap: break-word; word-break: break-word;
}
.breakdown li strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; flex-shrink: 0; white-space: nowrap; }
.breakdown-total {
  padding-top: 16px !important; margin-top: 6px;
  border-top: 2px solid rgba(255,255,255,.2) !important;
  border-bottom: 0 !important;
}
.breakdown-total span { font-size: 1.05rem; font-weight: 600; color: #fff !important; }
.breakdown-total strong { font-size: 1.3rem; color: var(--accent) !important; }
.breakdown-sub { border-bottom: 0 !important; color: rgba(255,255,255,.6) !important; font-size: .85rem !important; }
.breakdown-sub strong { color: rgba(255,255,255,.8) !important; font-weight: 500 !important; font-size: .9rem !important; }

.summary-note {
  background: rgba(255,255,255,.08); padding: 16px 18px;
  border-radius: 10px; margin-bottom: 22px;
  font-size: .88rem; color: rgba(255,255,255,.85);
  line-height: 1.8;
}
.calc-summary .btn-primary {
  width: 100%; background: var(--accent); color: var(--ink);
  font-weight: 700;
}
.calc-summary .btn-primary:hover { background: #fff; color: var(--brand); }

/* ============= LOCATIONS ============= */
.locations { padding: 120px 0; background: var(--bg-alt); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.location-card {
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
  transition: all .4s var(--ease);
  opacity: 0; transform: translateY(20px);
  display: flex; flex-direction: column;
}
.location-card.in-view { opacity: 1; transform: translateY(0); }
.location-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.location-media { position: relative; overflow: hidden; }
.location-media img {
  width: 100%; height: 320px; object-fit: cover;
  transition: transform .6s var(--ease);
}
.location-card:hover .location-media img { transform: scale(1.05); }
.location-status {
  position: absolute; top: 18px; left: 18px;
  padding: 8px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(10px);
}
.status-ok { background: rgba(45,90,61,.92); color: #fff; }
.status-build { background: rgba(200,169,106,.95); color: #1a1d1a; }

.location-body { padding: 36px 32px; flex: 1; display: flex; flex-direction: column; }
.location-body h3 { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; margin-bottom: 6px; }
.location-tag { color: var(--accent-dark); font-size: .95rem; font-weight: 500; margin-bottom: 16px; }
.location-body > p { color: var(--ink-soft); margin-bottom: 20px; font-size: .97rem; }
.feature-list.small li { font-size: .9rem; padding: 8px 0 8px 28px; }
.feature-list.small li::before { top: 14px; }
.location-meta {
  margin: 20px 0 22px; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; gap: 24px;
}
.location-meta div { display: flex; flex-direction: column; }
.location-meta span { font-size: .76rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.location-meta strong { font-family: var(--font-serif); font-size: 1.7rem; color: var(--ink); }

.sundern-card { background: linear-gradient(180deg, #fffbf2 0%, var(--surface) 60%); }

/* ============= PROGRESS BARS ============= */
.progress-block {
  margin: 20px 0 22px; padding: 20px;
  background: #fef8ec; border-radius: 12px;
  border: 1px solid #f0dfb8;
}
.progress-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.progress-head span { font-size: .85rem; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.progress-head strong { font-family: var(--font-serif); font-size: 1.3rem; color: var(--accent-dark); }
.progress-bar {
  width: 100%; height: 10px;
  background: rgba(200,169,106,.18);
  border-radius: 999px; overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px;
}
.progress-note {
  display: block; margin-top: 10px;
  font-size: .82rem; color: var(--ink-soft);
}

.progress-bar-xl { height: 26px; }
.progress-bar-xl .progress-fill span {
  color: #fff; font-size: .8rem; font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}

/* ============= SUB HERO (for subpages) ============= */
.hero-sub { min-height: 62vh; padding: 160px 0 80px; }
.hero-sub h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero-build .hero-overlay {
  background:
    linear-gradient(110deg, rgba(60,40,10,.82) 0%, rgba(45,30,15,.55) 50%, rgba(45,30,15,.4) 100%),
    linear-gradient(180deg, rgba(30,20,10,.3) 0%, rgba(30,20,10,.75) 100%);
}

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  backdrop-filter: blur(10px);
  margin-top: 20px;
}
.status-ok-large { background: rgba(45,90,61,.9); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.status-build-large {
  background: rgba(200,169,106,.95); color: #1a1d1a;
  border: 1px solid rgba(255,255,255,.3);
}

/* ============= ALERT SECTION ============= */
.alert-section { padding: 60px 0 0; background: var(--bg); }
.alert-box {
  background: linear-gradient(135deg, #fef8ec 0%, #fdf1d5 100%);
  border: 1px solid #e8d4a5;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  box-shadow: var(--shadow);
}
.alert-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.alert-body h3 { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.alert-body p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ============= BUILD PROGRESS SECTION ============= */
.build-progress { padding: 100px 0; background: var(--bg); }
.build-card {
  max-width: 900px; margin: 0 auto;
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 48px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.build-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 22px;
}
.build-head small { font-size: .82rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 6px; }
.build-percent {
  font-family: var(--font-serif); font-size: 4rem;
  font-weight: 600; color: var(--accent-dark);
  line-height: 1; letter-spacing: -0.02em;
}
.build-percent span { font-size: 2rem; color: var(--ink-mute); font-weight: 500; }
.build-status-chip {
  background: var(--accent); color: var(--ink);
  padding: 8px 18px; border-radius: 999px;
  font-size: .85rem; font-weight: 600;
}

.build-phases {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-top: 40px;
}
.phase {
  padding: 20px 18px; border-radius: 12px;
  background: var(--bg-alt); border: 1px solid var(--line);
  text-align: center; transition: all .3s var(--ease);
}
.phase.done { background: var(--brand-light); border-color: var(--brand); }
.phase.active {
  background: linear-gradient(135deg, #fef8ec, #fdf1d5);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,169,106,.15);
}
.phase-dot {
  width: 32px; height: 32px; border-radius: 50%;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--line); color: var(--ink-mute);
  font-weight: 700;
}
.phase.done .phase-dot { background: var(--brand); color: #fff; }
.phase.active .phase-dot {
  background: var(--accent); color: #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,169,106,.5); }
  50% { box-shadow: 0 0 0 8px rgba(200,169,106,0); }
}
.phase strong { font-size: .92rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 3px; }
.phase small { font-size: .78rem; color: var(--ink-mute); }
.phase.done small { color: var(--brand); }
.phase.active small { color: var(--accent-dark); font-weight: 600; }

/* ============= NOTICE BLOCK ============= */
.notice-block {
  margin-top: 28px; padding: 20px 22px;
  background: var(--brand-light); border-radius: 12px;
  border-left: 3px solid var(--brand);
}
.notice-block strong { display: block; color: var(--brand-dark); margin-bottom: 4px; font-size: .98rem; }
.notice-block p { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.notice-block a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ============= HAMBURGER → X ANIMATION ============= */
body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============= ACTIVE NAV ============= */
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after { width: 100%; }
.nav:not(.scrolled) .nav-links a.active { color: var(--accent); }

/* ============= LEGAL PAGES ============= */
.legal-page { padding: 140px 0 80px; min-height: 100vh; background: var(--bg); }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 2.5rem; margin-bottom: 30px; color: var(--brand-dark); }
.legal-page h2 { font-size: 1.4rem; margin: 40px 0 14px; font-family: var(--font-sans); font-weight: 600; }
.legal-page h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-soft); margin-bottom: 14px; font-size: .98rem; }
.legal-page ul { padding-left: 24px; margin-bottom: 20px; }
.legal-page ul li { list-style: disc; }
.legal-page a { color: var(--brand); text-decoration: underline; }

/* ============================================
   GALLERY AMECKE (Masonry + Lightbox)
   ============================================ */
.gallery-amecke { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.m-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  background: var(--bg-alt);
  transition: all .4s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.m-item.in-view { opacity: 1; transform: translateY(0); }
.m-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.m-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.m-item:hover img { transform: scale(1.06); }
.m-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(20,30,20,.85) 100%);
  color: #fff; font-size: .92rem; font-weight: 500;
  letter-spacing: .01em;
  opacity: 0; transform: translateY(8px);
  transition: all .4s var(--ease);
}
.m-item:hover figcaption { opacity: 1; transform: translateY(0); }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,20,15,.94);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: zoomIn .35s var(--ease);
}
@keyframes zoomIn { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-caption {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: .92rem; font-weight: 500;
  background: rgba(0,0,0,.4);
  padding: 8px 18px; border-radius: 999px;
  backdrop-filter: blur(10px);
}
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
  backdrop-filter: blur(10px);
}
.lightbox-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }

@media (max-width: 1024px) {
  .masonry-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 720px) {
  .masonry-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
  .m-tall { grid-row: span 2; }
  .m-wide { grid-column: span 2; grid-row: span 1; }
  .m-item figcaption { opacity: 1; transform: translateY(0); padding: 24px 14px 12px; font-size: .82rem; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox-caption { font-size: .82rem; bottom: 16px; }
}

/* ============================================
   MOBILE OPTIMIZATION (≤ 720px)
   ============================================ */
@media (max-width: 720px) {
  /* Typography */
  body { font-size: 15px; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.1; }
  h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  h3 { font-size: 1.1rem; }
  .container { padding: 0 18px; }
  .eyebrow { font-size: .7rem; padding-left: 26px; margin-bottom: 10px; }
  .eyebrow::before { width: 18px; }

  /* Section spacing */
  section { padding: 60px 0; }
  .intro, .features, .gallery, .faq, .contact, .calc, .locations, .property, .usp, .build-progress { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: .95rem; }

  /* Navigation */
  .nav { padding: 12px 0; }
  .nav.scrolled { padding: 10px 0; }
  .brand { gap: 10px; font-size: .95rem; }
  .brand img, .brand-mark { width: 40px !important; height: 40px !important; }
  .brand small { font-size: .7rem; }

  /* Hero */
  .hero { padding: 90px 0 50px; min-height: auto; }
  .hero-sub { min-height: auto !important; padding: 90px 0 50px !important; }
  .hero-content { max-width: 100%; }
  .lead { font-size: 1rem; margin: 18px 0 28px; line-height: 1.6; }
  .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 40px; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 14px 22px; font-size: .92rem; }
  .btn-lg { padding: 15px 26px; font-size: .96rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; padding-top: 24px; }
  .hero-stats strong { font-size: 1.45rem; }
  .hero-stats span { font-size: .7rem; }
  .scroll-hint { display: none; }

  /* USP */
  .usp { padding: 50px 0; }
  .usp-grid { grid-template-columns: 1fr; gap: 14px; }
  .usp-item { padding: 22px 20px; }
  .usp-ico { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 14px; }
  .usp-item h3 { font-size: 1.02rem; }
  .usp-item p { font-size: .9rem; }

  /* Intro */
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-text p { font-size: .98rem; }

  /* Calculator — mobile critical */
  .calc-wrap { grid-template-columns: 1fr !important; gap: 16px; width: 100%; }
  .calc-form { padding: 22px 16px; border-radius: 16px; width: 100%; box-sizing: border-box; overflow: hidden; }
  .calc-step { padding: 20px 0; }
  .step-head { gap: 10px; margin-bottom: 12px; }
  .step-num { width: 28px; height: 28px; font-size: .82rem; }
  .step-head h3 { font-size: 1rem; }
  .step-hint, .step-hint-sub { font-size: .82rem; padding: 10px 12px; }
  .choice-grid { grid-template-columns: 1fr; gap: 10px; }
  .choice { padding: 16px; }
  .choice-body strong { font-size: .98rem; }
  .choice-body span { font-size: .8rem; margin-bottom: 8px; }
  .stepper { padding: 12px 10px; gap: 12px; border-radius: 12px; }
  .step-btn { width: 44px; height: 44px; font-size: 1.3rem; flex-shrink: 0; }
  .stepper-value { min-width: 70px; flex: 1; }
  .stepper-value strong { font-size: 1.8rem; }
  .stepper-value small { font-size: .7rem; }
  .quick-beds { gap: 6px; }
  .quick-beds button { padding: 7px 10px; font-size: .78rem; white-space: nowrap; }

  .calc-summary { padding: 24px 18px; border-radius: 16px; position: static; width: 100%; box-sizing: border-box; overflow: hidden; }
  .price-display { margin: 12px 0 18px; padding-bottom: 16px; }
  .price-display strong { font-size: 2.2rem; }
  .price-display small { font-size: .82rem; margin-top: 6px; }
  .breakdown li { font-size: .83rem; padding: 8px 0; gap: 8px; }
  .breakdown-total span { font-size: .95rem !important; }
  .breakdown-total strong { font-size: 1.1rem !important; }
  .summary-note { font-size: .8rem; padding: 12px 13px; line-height: 1.7; word-break: break-word; }

  /* Locations */
  .location-grid { grid-template-columns: 1fr; gap: 20px; }
  .location-media img { height: 220px; }
  .location-body { padding: 26px 22px; }
  .location-body h3 { font-size: 1.7rem; }
  .location-tag { font-size: .88rem; margin-bottom: 12px; }
  .location-meta { gap: 18px; padding: 14px 0; margin: 16px 0; }
  .location-meta strong { font-size: 1.4rem; }
  .location-meta span { font-size: .7rem; }
  .location-status { font-size: .75rem; padding: 6px 12px; top: 14px; left: 14px; }

  /* Property sections */
  .property-grid { grid-template-columns: 1fr; gap: 32px; }
  .property-grid.reverse .property-media { order: 0; }
  .property-media img { height: 280px; }
  .property-meta { flex-direction: column; gap: 14px; padding: 16px 0; }
  .property-meta strong { font-size: 1.5rem; }
  .feature-list li { font-size: .9rem; padding: 8px 0 8px 26px; }
  .feature-list li::before { top: 14px; width: 14px; height: 8px; }

  /* Progress */
  .progress-block { padding: 16px; }
  .progress-head strong { font-size: 1.15rem; }
  .progress-bar-xl { height: 22px; }
  .progress-bar-xl .progress-fill span { font-size: .72rem; }

  /* Build progress */
  .build-card { padding: 26px 20px; border-radius: 16px; }
  .build-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .build-percent { font-size: 2.8rem; }
  .build-percent span { font-size: 1.5rem; }
  .build-phases { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .phase { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; }
  .phase-dot { margin: 0; flex-shrink: 0; width: 28px; height: 28px; }
  .phase strong { font-size: .9rem; margin-bottom: 1px; }
  .phase small { font-size: .75rem; }

  /* Alert box */
  .alert-box { grid-template-columns: 1fr; text-align: center; gap: 16px; padding: 22px 20px; }
  .alert-icon { margin: 0 auto; width: 50px; height: 50px; font-size: 1.4rem; }
  .alert-body h3 { font-size: 1.05rem; }
  .alert-body p { font-size: .9rem; }
  .alert-box .btn { width: 100%; }

  /* Status pills */
  .status-pill { font-size: .82rem; padding: 8px 16px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 22px 20px; }
  .feature-ico { width: 46px; height: 46px; font-size: 1.3rem; margin-bottom: 14px; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: .88rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 12px; }
  .g-large, .g-wide { grid-column: span 1; grid-row: span 1; }

  /* FAQ */
  .faq-list { padding: 0; }
  .faq details { padding: 16px 0; }
  .faq summary { font-size: .96rem; gap: 12px; }
  .faq summary::after { font-size: 1.4rem; }
  .faq details p { font-size: .9rem; margin-top: 10px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-info > p { font-size: .94rem; margin-bottom: 24px; }
  .contact-list li { padding: 14px 0; gap: 12px; }
  .c-ico { width: 38px; height: 38px; font-size: 1rem; }
  .contact-list a { font-size: .96rem; }
  .contact-form { padding: 24px 20px; border-radius: 16px; }
  .field { margin-bottom: 16px; }
  .field-row { gap: 12px; margin-bottom: 16px; grid-template-columns: 1fr 1fr; }
  .field-row .field:last-child:nth-child(odd) { grid-column: 1 / -1; } /* 3-item rows: last goes full width */
  .field input, .field select, .field textarea { padding: 12px 14px; font-size: 16px; /* prevents zoom on iOS */ }
  .field label { font-size: .8rem; }
  .checkbox { font-size: .82rem; }

  /* Map */
  .map { height: 320px; }

  /* Footer */
  .footer { padding-top: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer h4 { font-size: .82rem; margin-bottom: 14px; }
  .footer ul a { font-size: .9rem; }
  .footer-brand p { font-size: .9rem; }
  .footer-bottom { padding: 18px 0; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; font-size: .76rem; }

  /* Notice block */
  .notice-block { padding: 16px 18px; }
  .notice-block strong { font-size: .92rem; }
  .notice-block p { font-size: .85rem; }

  /* Mobile menu */
  .nav-links a { font-size: 1.1rem; padding: 10px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links a::after { display: none; }
  /* Legal pages */
  .legal-page { padding: 100px 0 60px; }
  .legal-page h1 { font-size: 1.9rem; }
  .legal-page h2 { font-size: 1.2rem; margin: 30px 0 12px; }
  .legal-page h3 { font-size: 1rem; }
  .legal-page p, .legal-page li { font-size: .92rem; }
}

/* ============================================
   EXTRA SMALL (≤ 380px)
   ============================================ */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  h1 { font-size: 1.85rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .hero-stats strong { font-size: 1.3rem; }
  .quick-beds button { padding: 6px 8px; font-size: .74rem; }
  .stepper-value strong { font-size: 1.6rem; }
  .stepper { gap: 8px; padding: 10px 8px; }
  .step-btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .price-display strong { font-size: 1.9rem; }
  .calc-form { padding: 18px 12px; }
  .calc-summary { padding: 20px 14px; }
  .breakdown li { font-size: .78rem; }
  .brand small { display: none; }
}

/* ============================================
   LANDSCAPE TOUCH FIXES
   ============================================ */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 100px 0 60px; }
}

/* ============================================
   IOS / TOUCH SAFEGUARDS
   ============================================ */
@media (hover: none) {
  .btn:hover, .feature-card:hover, .usp-item:hover, .location-card:hover { transform: none; }
  .quick-beds button:active { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }
  .step-btn:active { transform: scale(.94); }
}

/* ============================================
   MOBILE STICKY CTA BAR
   ============================================ */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 89;
  display: none;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(251,250,247,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(0,0,0,.09);
  gap: 10px;
  align-items: center;
}

.mobile-cta-call {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; border-radius: 999px;
  background: var(--bg-alt); border: 1.5px solid var(--line);
  color: var(--brand); font-weight: 600; font-size: .88rem;
  white-space: nowrap; flex-shrink: 0;
  transition: all .2s var(--ease);
}
.mobile-cta-call:hover,
.mobile-cta-call:active { border-color: var(--brand); background: var(--brand-light); }

.mobile-cta-contact {
  flex: 1; text-align: center; justify-content: center;
  padding: 13px 16px;
}

@media (max-width: 720px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 380px) {
  .mobile-cta-call { padding: 13px 14px; font-size: .82rem; }
  .mobile-cta-contact { font-size: .88rem; }
}
