:root {
  --paper: #f7f4ee;
  --paper-deep: #eee9df;
  --ink: #18211d;
  --green: #123d31;
  --green-deep: #0c2e25;
  --green-soft: #dfe8e2;
  --accent: #c75a35;
  --accent-dark: #a94427;
  --line: rgba(18, 61, 49, 0.22);
  --muted: #647069;
  --white: #fff;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1240px;
  --side: max(24px, calc((100vw - var(--content)) / 2));
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--green); transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(18, 61, 49, .14);
  background: rgba(247, 244, 238, .94);
}

/* Blur auf Pseudo-Element: backdrop-filter am Header würde
   position:fixed des Mobile-Menüs auf die Header-Box einschränken. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 244, 238, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}

.wordmark { text-decoration: none; letter-spacing: .035em; font: 700 28px/1 var(--serif); color: var(--green); }
.wordmark em { color: var(--accent); font-style: normal; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; padding: 10px 0; text-decoration: none; font-size: 14px; font-weight: 650; }
.main-nav a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--green); content: ""; transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav .nav-cta { padding: 12px 19px; color: var(--white); background: var(--green); }
.menu-button { display: none; width: 48px; height: 48px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 100%; height: 2px; margin: 6px 0; background: var(--green); transition: transform .2s, opacity .2s; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { min-height: calc(100vh - var(--header-height)); padding: 64px var(--side) 0; display: grid; grid-template-columns: minmax(350px, .9fr) minmax(560px, 1.25fr); grid-template-rows: 1fr auto; column-gap: clamp(48px, 6vw, 104px); }
.hero-copy { align-self: center; padding-bottom: 50px; }
.hero-location { margin: 0 0 24px; color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 660px; margin: 0; color: var(--green); font: 500 clamp(52px, 5.45vw, 84px)/.98 var(--serif); letter-spacing: -.042em; }
.hero h1::after, .section-heading h2::after, .inquiry h2::after, .legal-hero h1::after { display: block; width: 54px; height: 3px; margin-top: 24px; background: var(--accent); content: ""; }
.hero-intro { max-width: 550px; margin: 26px 0 30px; color: #414b46; font-size: 18px; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 13px 19px; border: 1px solid transparent; border-radius: 0; text-decoration: none; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { min-width: 240px; color: var(--white); background: var(--green); }
.button-primary:hover { background: var(--green-deep); }
.button-outline { color: var(--accent-dark); border-color: var(--accent); background: rgba(247, 244, 238, .94); }
.button-outline:hover { color: var(--white); background: var(--accent); }
.button-accent { min-width: 245px; color: var(--white); background: var(--accent); }
.button-accent:hover { background: var(--accent-dark); }

.hero-media { position: relative; min-height: 600px; align-self: stretch; }
.hero-media figure { position: absolute; margin: 0; overflow: hidden; background: var(--paper-deep); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-primary { z-index: 2; top: 0; right: 0; width: 83%; height: 64%; }
.hero-primary figcaption { position: absolute; right: 0; bottom: 0; padding: 10px 13px; color: var(--white); background: rgba(12, 46, 37, .88); font-size: 12px; }
.hero-secondary { bottom: 9%; left: 0; width: 42%; height: 36%; }
.hero-building { z-index: 3; right: 0; bottom: 0; width: 35%; height: 45%; border: 10px solid var(--paper); }
.fact-rail { grid-column: 1 / -1; min-height: 114px; margin: 0 calc(-1 * var(--side)); padding: 0 var(--side); display: grid; grid-template-columns: repeat(4, 1fr); color: var(--white); background: var(--green); }
.fact-rail div { min-width: 0; padding: 23px clamp(18px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.2); }
.fact-rail div:last-child { border: 0; }
.fact-rail dt { font: 500 clamp(23px, 2.4vw, 34px)/1.1 var(--serif); }
.fact-rail dd { margin: 5px 0 0; color: rgba(255,255,255,.68); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 112px var(--side); }
.section-heading { margin-bottom: 60px; display: grid; grid-template-columns: 64px minmax(0, 810px); gap: 28px; }
.section-heading.compact { margin-bottom: 45px; }
.section-number { margin: 8px 0 0; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.section-heading h2, .inquiry h2 { margin: 0; color: var(--green); font: 500 clamp(42px, 4vw, 64px)/1.04 var(--serif); letter-spacing: -.034em; }
.section-heading h2::after { margin-top: 18px; }
.section-heading p:not(.section-number) { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }

.apartment { background: #fbfaf7; }
.apartment-grid { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(480px, 1.25fr); gap: clamp(52px, 7vw, 110px); align-items: center; }
.feature-list article { padding: 25px 0; display: grid; grid-template-columns: 42px 1fr; gap: 20px; border-top: 1px solid var(--line); }
.feature-list article:last-child { border-bottom: 1px solid var(--line); }
.feature-list article > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.feature-list h3 { margin: 0 0 7px; color: var(--green); font: 600 24px/1.2 var(--serif); }
.feature-list p { margin: 0; color: var(--muted); }
.apartment-image { position: relative; min-height: 520px; margin: 0; overflow: hidden; }
.apartment-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.apartment-image figcaption { position: absolute; right: 18px; bottom: 16px; padding: 8px 12px; color: var(--white); background: var(--green); font-size: 12px; }
.details-strip { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.details-strip div { padding: 23px 25px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.details-strip div:last-child { border: 0; }
.details-strip strong { color: var(--green); font: 600 20px/1.2 var(--serif); }
.details-strip span { margin-top: 5px; color: var(--muted); font-size: 13px; }

.gallery-section { color: var(--white); background: var(--green); }
.gallery-section .section-heading h2, .gallery-section .section-heading p:not(.section-number) { color: var(--white); }
.gallery-section .section-heading p:not(.section-number) { color: rgba(255,255,255,.66); }
.gallery-stage { position: relative; max-width: 1100px; margin: 0 auto; }
.gallery-main { position: relative; width: 100%; min-height: 0; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; background: #0b2a22; cursor: zoom-in; }
.gallery-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-main:hover > img { transform: scale(1.015); }
.gallery-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 15px 17px; display: flex; justify-content: space-between; align-items: end; color: var(--white); background: rgba(8,27,22,.86); text-align: left; }
.gallery-caption strong { font: 500 30px/1.1 var(--serif); }
.gallery-caption small { font-size: 12px; letter-spacing: .12em; }
.gallery-controls { position: absolute; z-index: 2; top: 18px; right: 18px; display: flex; gap: 8px; }
.gallery-controls button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); color: var(--white); background: transparent; cursor: pointer; }
.gallery-controls button:hover { color: var(--green); background: var(--white); }
.thumbnail-rail { max-width: 1100px; margin: 18px auto 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbnail-rail::-webkit-scrollbar { display: none; }
.thumbnail-rail button { flex: 0 0 96px; height: 68px; padding: 0; border: 2px solid transparent; background: transparent; opacity: .5; cursor: pointer; }
.thumbnail-rail button:hover, .thumbnail-rail button.is-active { border-color: var(--accent); opacity: 1; }
.thumbnail-rail img { width: 100%; height: 100%; object-fit: cover; }

.location-section { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: minmax(360px, .75fr) minmax(500px, 1.25fr); gap: clamp(44px, 6vw, 90px); align-items: stretch; }
.filter-row { margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 42px; padding: 8px 13px; border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.filter-button:hover, .filter-button.is-active { color: var(--white); border-color: var(--green); background: var(--green); }
.distance-list { max-height: 410px; margin: 0; padding: 0 8px 0 0; overflow-y: auto; list-style: none; scrollbar-color: var(--accent) var(--paper-deep); scrollbar-width: thin; }
.distance-list li { border-top: 1px solid var(--line); }
.distance-list li:last-child { border-bottom: 1px solid var(--line); }
.place-button { width: 100%; min-height: 66px; padding: 12px 6px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 20px; gap: 12px; align-items: center; border: 0; background: transparent; text-align: left; cursor: pointer; transition: background-color .2s, padding .2s; }
.place-button:hover, .place-button:focus-visible, .place-button.is-selected { padding-right: 10px; padding-left: 10px; background: var(--green-soft); }
.place-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--white); background: var(--green); font-size: 12px; font-weight: 800; }
.place-copy { min-width: 0; display: flex; flex-direction: column; }
.distance-list strong { color: var(--green); font-size: 15px; }
.distance-list small { color: var(--muted); }
.distance-list em { color: var(--green); font-size: 13px; font-style: normal; font-weight: 750; white-space: nowrap; }
.place-arrow { color: var(--accent); font-size: 18px; }
.filter-status { min-height: 20px; margin: 10px 0 0; color: var(--green); font-size: 12px; font-weight: 700; }
.distance-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

.map-shell { min-height: 540px; position: relative; overflow: hidden; border: 1px solid var(--line); background: #e5e9e3; }
.map, .map-preview { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-preview { overflow: hidden; background: #e5e9e3; }
.map-preview-grid { position: absolute; inset: -10%; opacity: .78; transform: rotate(-5deg); }
.map-preview-grid span { position: absolute; display: block; background: #fff; box-shadow: 0 0 0 1px #d5ddd6; }
.map-preview-grid span:nth-child(1) { top: 22%; left: 0; width: 110%; height: 19px; transform: rotate(12deg); }
.map-preview-grid span:nth-child(2) { top: 0; left: 33%; width: 15px; height: 110%; transform: rotate(-15deg); }
.map-preview-grid span:nth-child(3) { top: 55%; left: 0; width: 110%; height: 11px; transform: rotate(-8deg); }
.map-preview-grid span:nth-child(4) { top: 0; left: 70%; width: 12px; height: 110%; transform: rotate(20deg); }
.map-preview-grid span:nth-child(5) { top: 73%; left: 10%; width: 90%; height: 10px; transform: rotate(17deg); }
.map-pin { position: absolute; top: 38%; left: 55%; width: 34px; height: 34px; border: 9px solid var(--accent); border-radius: 50% 50% 50% 0; background: var(--paper); transform: rotate(-45deg); box-shadow: 0 5px 20px rgba(0,0,0,.18); }
.map-consent-card { position: absolute; right: 24px; bottom: 24px; left: 24px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: rgba(247, 244, 238, .96); box-shadow: 0 12px 35px rgba(18,61,49,.12); }
.map-consent-card p { margin: 0; }
.map-consent-card strong { color: var(--green); font: 600 21px/1.2 var(--serif); }
.map-consent-card span { color: var(--muted); font-size: 13px; }
.leaflet-control-attribution { font-size: 10px !important; }
.map-marker-wrap { background: transparent; border: 0; }
.map-marker { min-width: 34px; height: 34px; padding: 0 5px; display: grid; place-items: center; border: 3px solid var(--paper); border-radius: 18px; color: var(--white); background: var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,.25); font-size: 10px; font-weight: 850; letter-spacing: -.02em; white-space: nowrap; }
.map-marker.is-home { width: 42px; height: 42px; background: var(--green); font: 700 13px/1 var(--sans); }
.highlights-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.highlights-grid article { padding: 30px clamp(18px, 2.6vw, 34px); border-right: 1px solid var(--line); }
.highlights-grid article:first-child { padding-left: 0; }
.highlights-grid article:last-child { padding-right: 0; border: 0; }
.highlights-grid span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.highlights-grid h3 { margin: 10px 0; color: var(--green); font: 600 23px/1.15 var(--serif); }
.highlights-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.costs-section { background: #fbfaf7; }
.cost-energy-grid { display: grid; grid-template-columns: minmax(500px, 1.15fr) minmax(360px, .85fr); gap: clamp(45px, 8vw, 120px); align-items: stretch; }
.cost-table { padding-top: 8px; }
.cost-table > div { min-height: 84px; display: grid; grid-template-columns: 180px 1fr; align-items: center; border-top: 1px solid var(--line); }
.cost-table > div:first-child { border-top: 2px solid var(--green); }
.cost-table strong { color: var(--green); font: 500 39px/1 var(--serif); }
.cost-table span { color: var(--muted); }
.cost-table .cost-total { border-bottom: 1px solid var(--line); }
.cost-table .cost-total strong { color: var(--accent); font-size: 48px; }
.cost-table .cost-total span { color: var(--ink); font-weight: 750; }
.cost-table .deposit-row { min-height: 72px; border-bottom: 1px solid var(--line); }
.cost-table .deposit-row strong { font-size: 30px; }
.cost-table > p { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.energy-card { padding: 34px; color: var(--white); background: var(--green); }
.energy-heading { padding-bottom: 25px; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid rgba(255,255,255,.24); }
.energy-heading span { font: 500 34px/1 var(--serif); }
.energy-heading strong { width: 56px; height: 56px; display: grid; place-items: center; color: var(--green); background: #e7c83e; font-size: 28px; }
.energy-card dl { margin: 15px 0 0; }
.energy-card dl div { padding: 13px 0; display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid rgba(255,255,255,.17); }
.energy-card dt { color: rgba(255,255,255,.65); }
.energy-card dd { margin: 0; text-align: right; font-weight: 700; }

.inquiry { padding: 105px var(--side); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 150px); color: var(--white); background: var(--green); }
.inquiry .section-number { color: #ef8a67; }
.inquiry h2 { color: var(--white); }
.inquiry h2::after { margin-top: 22px; }
.inquiry-intro > p:not(.section-number) { max-width: 460px; color: rgba(255,255,255,.75); font-size: 18px; }
.inquiry-facts { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 8px; }
.inquiry-facts span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.32); font-size: 12px; }
.inquiry-form { align-self: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.inquiry-form label { margin-bottom: 22px; display: flex; flex-direction: column; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; letter-spacing: .025em; }
.inquiry-form input, .inquiry-form textarea { width: 100%; margin-top: 7px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); border-radius: 0; color: var(--white); background: transparent; outline: none; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: #ef8a67; box-shadow: 0 1px 0 #ef8a67; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form ::placeholder { color: rgba(255,255,255,.38); }
.inquiry-form .privacy-check { margin: 0 0 22px; display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.privacy-check input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.privacy-check a { text-underline-offset: 3px; }
.form-action { display: flex; align-items: center; gap: 22px; }
.form-action p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.form-action p.is-error { color: #ffd0c2; }

.site-footer { min-height: 150px; padding: 42px var(--side); display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; color: #d6ddd9; background: var(--green-deep); }
.footer-mark { color: var(--white); }
.site-footer > p { margin: 0; font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a, .site-footer > a:not(.wordmark) { color: #d6ddd9; font-size: 13px; text-underline-offset: 4px; }
.site-footer .copyright { grid-column: 3; color: rgba(255,255,255,.45); }

.lightbox { width: min(1100px, calc(100vw - 32px)); max-width: none; height: min(800px, calc(100vh - 32px)); max-height: none; padding: 0; border: 0; color: var(--white); background: #081b16; overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.86); }
.lightbox figure { width: 100%; height: 100%; margin: 0; display: grid; place-items: center; }
.lightbox figure img { max-width: 100%; max-height: calc(100% - 70px); object-fit: contain; }
.lightbox figcaption { position: absolute; bottom: 18px; left: 24px; font-size: 13px; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 3; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.5); color: var(--white); background: rgba(8,27,22,.75); cursor: pointer; }
.lightbox-close { top: 16px; right: 16px; font-size: 30px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 24px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.legal-page { background: #fbfaf7; }
.back-link { font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.legal-main { max-width: 900px; margin: 0 auto; padding: 90px 28px 120px; }
.legal-hero { margin-bottom: 75px; }
.legal-hero h1 { margin: 0; color: var(--green); font: 500 clamp(48px, 7vw, 78px)/1 var(--serif); letter-spacing: -.04em; }
.legal-hero p { color: var(--muted); font-size: 18px; }
.legal-main section { padding: 42px 0; border-top: 1px solid var(--line); }
.legal-main h2 { margin: 0 0 22px; color: var(--green); font: 600 38px/1.15 var(--serif); }
.legal-main h3 { margin: 28px 0 8px; color: var(--green); font: 600 22px/1.2 var(--serif); }
.legal-main p, .legal-main li { color: #48534d; }
.legal-main a { color: var(--green); text-underline-offset: 3px; }
.draft-note { margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid var(--accent); background: #f4e4dc; }
.placeholder { color: var(--accent-dark); font-weight: 700; }
.source-list { padding-left: 22px; }
.source-list li { margin-bottom: 9px; }
.legal-footer { min-height: 100px; grid-template-columns: 1fr auto; }
.legal-footer p { text-align: right; }

@media (max-width: 1020px) {
  :root { --header-height: 72px; }
  .main-nav { gap: 20px; }
  .hero { grid-template-columns: .85fr 1.15fr; column-gap: 36px; }
  .hero-media { min-height: 510px; }
  .hero-primary { width: 90%; }
  .hero-secondary { width: 45%; }
  .apartment-grid, .location-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .gallery-main { min-height: 470px; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .highlights-grid article { border-bottom: 1px solid var(--line); }
  .highlights-grid article:nth-child(2) { border-right: 0; }
  .highlights-grid article:nth-child(3) { padding-left: 0; }
  .cost-energy-grid { grid-template-columns: 1fr 420px; gap: 45px; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer nav { grid-column: 1 / -1; }
  .site-footer .copyright { grid-column: 2; grid-row: 1; text-align: right; }
}

@media (max-width: 780px) {
  :root { --side: 20px; }
  .site-header { padding-right: 12px; }
  body.menu-open .site-header { z-index: 2000; }
  .main-nav {
    position: fixed;
    z-index: 2001;
    inset: var(--header-height) 0 0;
    padding: 35px var(--side);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 55px; padding: 15px 0; border-bottom: 1px solid var(--line); font: 500 28px/1 var(--serif); }
  .main-nav .nav-cta { margin-top: 22px; padding: 17px; color: var(--white); text-align: center; }
  .menu-button { display: block; position: relative; z-index: 2002; }

  .hero { min-height: auto; padding-top: 38px; display: block; }
  .hero-copy { padding-bottom: 32px; }
  .hero-location { margin-bottom: 18px; font-size: 11px; }
  .hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-intro { margin: 22px 0 25px; font-size: 16px; }
  .button-primary { width: 100%; }
  .hero-media { min-height: 0; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 260px 130px; gap: 8px; }
  .hero-media figure { position: relative; inset: auto; width: auto; height: auto; }
  .hero-primary { grid-column: 1 / -1; border: 0; }
  .hero-primary figcaption { display: none; }
  .hero-secondary { grid-column: 1; }
  .hero-building { grid-column: 2; border: 0; }
  .fact-rail { margin: 0 calc(-1 * var(--side)); padding: 0 var(--side); grid-template-columns: 1fr 1fr; }
  .fact-rail div { min-height: 92px; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.2); }
  .fact-rail div:nth-child(2) { border-right: 0; }
  .fact-rail dt { font-size: 24px; }

  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-heading { margin-bottom: 40px; display: block; }
  .section-number { margin-bottom: 12px; }
  .section-heading h2, .inquiry h2 { font-size: clamp(40px, 11vw, 55px); }
  .section-heading p:not(.section-number) { margin-top: 20px; font-size: 16px; }
  .apartment-grid { display: flex; flex-direction: column-reverse; gap: 35px; }
  .apartment-image { width: 100%; min-height: 310px; }
  .feature-list article { grid-template-columns: 32px 1fr; gap: 12px; }
  .details-strip { margin-top: 45px; grid-template-columns: 1fr 1fr; }
  .details-strip div { border-bottom: 1px solid var(--line); }
  .details-strip div:nth-child(2) { border-right: 0; }

  .gallery-stage { display: block; }
  .gallery-main { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .gallery-controls { top: 12px; right: 12px; }
  .thumbnail-rail { margin-top: 18px; padding-right: 0; }

  .location-grid { display: block; }
  .nearby-list { margin-bottom: 40px; }
  .filter-row { flex-wrap: nowrap; margin-right: calc(-1 * var(--side)); padding-right: var(--side); overflow-x: auto; }
  .filter-button { flex: 0 0 auto; }
  .map-shell { min-height: 470px; }
  .map-consent-card { right: 14px; bottom: 14px; left: 14px; display: block; }
  .map-consent-card .button { width: 100%; margin-top: 14px; }
  .highlights-grid { margin-top: 50px; display: block; }
  .highlights-grid article, .highlights-grid article:first-child, .highlights-grid article:nth-child(3) { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }

  .cost-energy-grid { display: block; }
  .cost-table > div { min-height: 78px; grid-template-columns: 120px 1fr; gap: 13px; }
  .cost-table strong { font-size: 32px; }
  .cost-table .cost-total strong { font-size: 39px; }
  .energy-card { margin-top: 44px; padding: 27px 23px; }

  .inquiry { padding-top: 75px; padding-bottom: 75px; display: block; }
  .inquiry-form { margin-top: 45px; }
  .form-row { display: block; }
  .form-action { display: block; }
  .form-action .button { width: 100%; }
  .form-action p { margin-top: 13px; }

  .site-footer { padding-top: 45px; padding-bottom: 45px; display: block; }
  .site-footer > p, .site-footer nav { margin-top: 22px; }
  .site-footer nav { display: flex; flex-wrap: wrap; }
  .site-footer .copyright { text-align: left; }
  .legal-footer { display: flex; justify-content: space-between; }
  .lightbox-nav { top: auto; bottom: 11px; transform: none; }
  .lightbox figure img { max-height: calc(100% - 92px); }
}

@media (max-width: 420px) {
  .wordmark { font-size: 25px; }
  .hero-media { grid-template-rows: 215px 105px; }
  .fact-rail dd { font-size: 10px; }
  .gallery-main { min-height: 270px; }
  .gallery-caption { padding: 32px 17px 16px; }
  .gallery-caption strong { font-size: 24px; }
  .place-button { grid-template-columns: 34px minmax(0, 1fr) auto 18px; gap: 10px; }
  .distance-list strong { font-size: 14px; }
  .distance-list em { font-size: 11px; }
  .map-shell { min-height: 430px; }
  .cost-table > div { grid-template-columns: 105px 1fr; }
  .cost-table span { font-size: 13px; }
  .energy-card dl div { display: block; }
  .energy-card dd { margin-top: 3px; text-align: left; }
}

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