:root {
  --paper: #f4f1e9;
  --paper-deep: #e7eadf;
  --surface: #fffdf8;
  --ink: #252923;
  --muted: #666b60;
  --olive: #b9c4ae;
  --olive-deep: #465b4d;
  --bronze: #b86f4a;
  --clay: #d8b28d;
  --line: rgba(37, 41, 35, .14);
  --shadow: 0 22px 70px rgba(52, 56, 44, .13);
  --header-height: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Century Gothic", "CenturyGothic", "Apple Gothic", Arial, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--header-height);
  background: rgba(244, 241, 233, .95);
  border-bottom: 1px solid rgba(70, 91, 77, .12);
  backdrop-filter: blur(18px);
}

.brand-title {
  display: block;
  width: min(560px, calc(100% - 320px));
  margin: 18px auto 14px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 4px;
  font-size: 15px;
}

.brand-logo {
  position: absolute;
  top: 5px;
  right: 18px;
  width: 190px;
  background: #edf1e8;
}

.brand-logo img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 13px 24px 14px;
  background: var(--paper-deep);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 760px);
  overflow: hidden;
  background: #dfe8d8;
}

.hero-media {
  width: 100%;
  height: clamp(560px, 82vh, 760px);
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(1.06) contrast(1.02) brightness(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 74%, rgba(31, 38, 30, .54), rgba(31, 38, 30, .22) 28%, rgba(31, 38, 30, 0) 54%),
    linear-gradient(90deg, rgba(31, 38, 30, .34), rgba(31, 38, 30, .06) 48%, rgba(255, 255, 255, .04));
}

.hero-copy {
  position: absolute;
  left: clamp(24px, 6vw, 88px);
  bottom: clamp(62px, 10vw, 128px);
  width: min(620px, calc(100% - 48px));
  color: white;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .34);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, .86);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  max-width: 620px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.07;
  font-weight: 300;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 300;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 40px));
  margin: -50px auto 68px;
  position: relative;
  z-index: 2;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro-strip div {
  min-height: 126px;
  padding: 26px 22px;
  background: var(--surface);
}

.intro-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--olive-deep);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.intro-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 96px;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  min-height: 610px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-frame {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #dedbd0;
}

.media-frame figure,
.image-grid figure {
  margin: 0;
}

.media-frame img {
  width: 100%;
  height: 610px;
  object-fit: cover;
}

.media-frame figcaption {
  position: absolute;
  left: 28px;
  bottom: 26px;
  max-width: 70%;
  padding: 10px 14px;
  color: white;
  background: rgba(37, 41, 35, .7);
  font-size: 13px;
  letter-spacing: 1px;
}

.gallery-control {
  position: absolute;
  top: 28px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 50%;
  color: white;
  background: rgba(37, 41, 35, .35);
  cursor: pointer;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: rgba(70, 91, 77, .78);
}

.gallery-control.prev {
  right: 84px;
}

.gallery-control.next {
  right: 28px;
}

.gallery-count {
  position: absolute;
  top: 38px;
  left: 28px;
  color: white;
  font-size: 13px;
  letter-spacing: 2px;
}

.copy-panel {
  padding: clamp(34px, 5vw, 66px);
  align-self: center;
}

.copy-panel p,
.section-copy p,
.section-heading p {
  color: var(--muted);
}

.fact-row {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.fact-row span {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--olive-deep);
  letter-spacing: 1px;
}

.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.narrow {
  max-width: 520px;
}

address {
  padding-left: 18px;
  border-left: 3px solid var(--bronze);
  color: var(--ink);
  font-style: normal;
}

.contact-person {
  display: grid;
  gap: 4px;
  margin: 18px 0 10px;
}

.contact-person strong {
  font-weight: 700;
}

.contact-person a {
  width: fit-content;
  color: var(--olive-deep);
  text-decoration: none;
  font-weight: 700;
}

.contact-person a:hover,
.contact-person a:focus-visible {
  color: var(--bronze);
}

.location-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.location-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  background: var(--surface);
}

.location-list span {
  color: var(--bronze);
  font-size: 28px;
  line-height: 1;
}

.location-list p {
  margin: 0;
  color: var(--muted);
}

.location-map {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.location-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 680;
  border: 0;
  background: var(--paper-deep);
}

.location-map figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 20px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 1px;
}

.location-map figcaption a {
  color: var(--olive-deep);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.location-map figcaption a::after {
  content: " →";
}

.muted-band {
  width: 100%;
  max-width: none;
  padding: 90px max(20px, calc((100% - 1120px) / 2));
  background: #e6eadf;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 30px;
  background: rgba(70, 91, 77, .14);
}

.feature-grid article,
.apartment-card {
  background: var(--surface);
}

.feature-grid article {
  min-height: 214px;
  padding: 28px;
}

.feature-grid h3 {
  margin-bottom: 14px;
}

.feature-grid p,
.apartment-card p {
  color: var(--muted);
}

.text-link,
.apartment-card a,
.plan-actions a,
.plan-detail a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--olive-deep);
  text-decoration: none;
  font-weight: 700;
}

.text-link::after,
.apartment-card a::after,
.plan-actions a::after,
.plan-detail a::after {
  content: "→";
}

.plan-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 34px;
}

.plan-detail {
  scroll-margin-top: calc(var(--header-height) + 20px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan-detail:target {
  border-color: var(--bronze);
  box-shadow: 0 24px 78px rgba(184, 111, 74, .16);
}

.plan-detail h3 {
  margin-bottom: 12px;
  font-size: 34px;
  font-weight: 300;
}

.plan-detail p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.pdf-status {
  margin: 16px 0 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.pdf-pages {
  display: grid;
  gap: 28px;
  margin-bottom: 12px;
}

.pdf-pages figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.pdf-pages figcaption {
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.pdf-pages canvas {
  width: 100%;
  height: auto;
  background: white;
  box-shadow: 0 10px 32px rgba(70, 91, 77, .16);
}

.plan-preview {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan-preview[hidden] {
  display: none;
}

.plan-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.plan-preview-head h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 300;
}

.plan-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.plan-actions button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.plan-actions button:hover,
.plan-actions button:focus-visible {
  color: white;
  background: var(--olive-deep);
}

.plan-preview iframe {
  display: block;
  width: 100%;
  height: min(78vh, 820px);
  min-height: 560px;
  border: 0;
  background: #f8f8f8;
}

.plan-fallback {
  margin: 0;
  padding: 14px 28px 24px;
  color: var(--muted);
  font-size: 13px;
}

.eco-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.eco-image {
  min-height: 470px;
  overflow: hidden;
}

.eco-image img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bronze);
  background: rgba(184, 111, 74, .08);
  content: "";
}

.apartments-section {
  margin-bottom: 86px;
}

.section-heading .sold-note {
  display: inline-flex;
  width: fit-content;
  margin: 10px 0 0;
  padding: 11px 16px;
  color: #fff;
  background: var(--bronze);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .7px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.filter-bar button.active {
  color: white;
  border-color: var(--olive-deep);
  background: var(--olive-deep);
}

.apartment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.apartment-card {
  display: flex;
  min-height: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  flex-direction: column;
}

.apartment-card[hidden] {
  display: none;
}

.status {
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 10px;
  color: var(--surface);
  background: var(--bronze);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.apartment-card h3 {
  margin-bottom: 20px;
  font-size: 34px;
  font-weight: 300;
}

.apartment-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.apartment-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.apartment-card dl div.price-row {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--bronze);
}

.apartment-card dl div.price-row dt,
.apartment-card dl div.price-row dd {
  color: var(--ink);
}

.apartment-card dt {
  color: var(--muted);
}

.apartment-card dd {
  margin: 0;
  font-weight: 700;
}

.apartment-card a {
  margin-top: auto;
}

.price-list {
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-list-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-end;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.price-list-head .eyebrow {
  margin-bottom: 8px;
}

.price-list-head h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 300;
}

.price-list-head a {
  color: var(--olive-deep);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.price-list-head a::after {
  content: " →";
}

.price-table-wrap {
  overflow-x: auto;
}

.price-list table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.price-list th,
.price-list td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-list th {
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
}

.price-list td {
  color: var(--muted);
  font-size: 14px;
}

.price-list td:first-child,
.price-list td:nth-child(4),
.price-list td:nth-child(6) {
  color: var(--ink);
  font-weight: 700;
}

.price-list .sold-row td {
  color: var(--bronze);
  background: rgba(184, 111, 74, .08);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.price-list tbody tr:last-child td {
  border-bottom: 0;
}

.gallery-section {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100% - 1120px) / 2));
  background: var(--surface);
}

.image-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 270px;
  gap: 14px;
}

.image-grid figure {
  position: relative;
  overflow: hidden;
  background: #dedbd0;
}

.image-grid figure.large {
  grid-row: span 2;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.image-grid figure:hover img {
  transform: scale(1.035);
}

.image-grid figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 7px 10px;
  color: white;
  background: rgba(37, 41, 35, .7);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.contact-copy {
  padding-top: 22px;
}

.fineprint,
.form-note {
  color: var(--muted);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(70, 91, 77, .28);
  border-radius: 0;
  padding: 11px 0;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--bronze);
}

.contact-form button {
  justify-self: start;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 24px;
  border: 0;
  color: white;
  background: var(--olive-deep);
  cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--bronze);
}

.imprint-section {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.imprint-section h2 {
  margin-bottom: 28px;
}

.imprint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(70, 91, 77, .16);
}

.imprint-grid article {
  min-height: 190px;
  padding: 26px;
  background: var(--surface);
}

.imprint-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.imprint-grid p {
  margin: 0;
  color: var(--muted);
}

.imprint-grid a,
.site-footer a {
  color: inherit;
  text-decoration-color: rgba(70, 91, 77, .35);
  text-underline-offset: 4px;
}

.imprint-grid a:hover,
.imprint-grid a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--olive-deep);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 32px max(20px, calc((100% - 1120px) / 2));
  color: var(--muted);
  background: #dedbd0;
}

.site-footer img {
  width: 340px;
  background: #edf1e8;
  mix-blend-mode: multiply;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  :root {
    --header-height: 118px;
  }

  .brand-title {
    width: calc(100% - 280px);
    margin-left: 18px;
    text-align: left;
    font-size: 13px;
    letter-spacing: 2.2px;
  }

  .brand-logo {
    width: 170px;
    right: 14px;
    top: 7px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .intro-strip,
  .feature-grid,
  .apartment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-panel,
  .split-section,
  .eco-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .media-frame,
  .media-frame img {
    min-height: 440px;
    height: 440px;
  }

  .image-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 124px;
  }

  .brand-title {
    width: calc(100% - 190px);
    margin-top: 15px;
    font-size: 12px;
    letter-spacing: 1.4px;
  }

  .brand-logo {
    width: 138px;
    top: 8px;
  }

  .main-nav {
    gap: 18px;
    padding-inline: 16px;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero,
  .hero-media {
    min-height: 560px;
    height: 560px;
  }

  .hero-copy {
    left: 20px;
    bottom: 42px;
    width: min(430px, calc(100% - 40px));
  }

  h1 {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .intro-strip {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .section {
    width: min(100% - 28px, 1120px);
    margin-bottom: 72px;
  }

  .copy-panel,
  .feature-grid article,
  .apartment-card,
  .contact-form {
    padding: 24px;
  }

  .media-frame,
  .media-frame img,
  .eco-image,
  .eco-image img {
    min-height: 330px;
    height: 330px;
  }

  .media-frame figcaption {
    max-width: calc(100% - 40px);
    left: 20px;
    bottom: 20px;
  }

  .gallery-count {
    left: 20px;
  }

  .gallery-control.next {
    right: 20px;
  }

  .gallery-control.prev {
    right: 72px;
  }

  .feature-grid,
  .apartment-grid,
  .imprint-grid,
  .plan-details,
  .image-grid,
  .location-list div {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-auto-rows: 240px;
  }

  .image-grid figure.large {
    grid-row: span 1;
  }

  .plan-preview-head,
  .plan-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-preview iframe {
    min-height: 460px;
  }

  .price-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
