:root {
  --ink: #21302c;
  --muted: #62736c;
  --paper: #fbfaf6;
  --soft: #eef3ea;
  --sage: #526f5b;
  --moss: #284438;
  --clay: #b76442;
  --sky: #cddcdf;
  --warm: #efe1d0;
  --section-sage: #dbe8d2;
  --section-sky: #d7e8ea;
  --section-stone: #e7e2d8;
  --line: #dbe3d7;
  --shadow: 0 22px 70px rgba(31, 48, 41, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 246, .92);
  border-bottom: 1px solid rgba(219, 227, 215, .8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--moss);
  background: linear-gradient(145deg, #fff 0%, var(--soft) 100%);
  border: 1px solid rgba(82, 111, 91, .34);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 48, 41, .10);
}

.brand-mark svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .mark-soft {
  stroke: var(--soft);
  stroke-width: 2.3;
}

.brand-mark .mark-accent {
  stroke: var(--clay);
}

.brand-mark .mark-stone {
  stroke: #8b7a68;
  stroke-width: 2.4;
}

.brand-mark .mark-sun {
  fill: #dca447;
  stroke: none;
}

.brand-mark .mark-trunk {
  stroke: #7a573d;
  stroke-width: 4.6;
}

.brand-mark .mark-leaf {
  fill: var(--sage);
  stroke: none;
}


.brand-mark .mark-fill {
  fill: var(--moss);
  stroke: none;
}

.brand-mark .mark-accent-fill {
  fill: var(--clay);
  stroke: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: .94rem;
  font-weight: 700;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--clay);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(14, 30, 25, .82) 0%, rgba(14, 30, 25, .58) 42%, rgba(14, 30, 25, .18) 100%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(46px, 8vw, 92px) clamp(18px, 7vw, 96px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c4a8;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--clay);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0;
}

.intro,
.split,
.gallery-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

#zimmer,
#hof,
#wellness {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 4vw, 54px);
  padding-left: clamp(18px, 4vw, 54px);
  grid-template-columns: minmax(0, 520px) minmax(0, 584px);
  justify-content: center;
}

#zimmer {
  background: var(--warm);
}

#hof {
  background: var(--section-sky);
}

#wellness {
  background: var(--section-stone);
}

.section-copy > p:not(.eyebrow),
.intro-text p,
.price-band p,
.legal-content p {
  color: var(--muted);
  font-size: 1.04rem;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-open img,
.media-grid img,
.cards img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
}

.media-grid .image-open,
.media-grid img {
  min-height: 410px;
}

.media-grid .image-open:nth-child(2),
.media-grid img:nth-child(2) {
  margin-top: 46px;
}

.room-table {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.room-table [role="row"] {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr 1.6fr;
  gap: 1px;
}

.room-table span,
.room-table strong {
  padding: 12px;
  background: #fff;
  font-size: .94rem;
}

.room-table strong {
  color: #fff;
  background: var(--moss);
}

.apartments {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 4vw, 54px);
  background: var(--section-sage);
}

.centered {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.cards article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cards img {
  width: 100%;
  height: 280px;
  border-radius: 0;
  box-shadow: none;
}

.cards h3,
.cards p {
  margin: 20px 22px;
}

.cards p {
  color: var(--muted);
}

.gallery {
  position: relative;
  min-height: 520px;
}

.gallery-open {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(33, 48, 44, .66);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-button.previous {
  left: 14px;
}

.gallery-button.next {
  right: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(16, 25, 22, .86);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1180px, 96vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .38);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
  background: rgba(33, 48, 44, .7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
  background: rgba(33, 48, 44, .7);
  font-size: 2.3rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.lightbox-nav.previous {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.check-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--sage), var(--sage)) 0 21px / 12px 2px no-repeat;
  font-weight: 700;
}

.price-band {
  display: grid;
  grid-template-columns: .8fr 1fr auto;
  gap: 26px;
  align-items: center;
  padding: clamp(34px, 5vw, 54px);
  color: #fff;
  background: var(--moss);
  border-radius: 8px;
}

.price-band .eyebrow,
.price-band p {
  color: #f2c4a8;
}

.contact {
  align-items: stretch;
}

.contact-panel,
.contact-actions a {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

address {
  margin-top: 26px;
  font-style: normal;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-actions {
  flex-direction: column;
  margin: 0;
}

.contact-actions a {
  display: block;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-actions a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-actions span,
.contact-actions strong {
  display: block;
}

.contact-actions span {
  color: var(--muted);
  font-size: .88rem;
}

.contact-actions strong {
  margin-top: 4px;
  color: var(--moss);
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.legal-page {
  background: var(--paper);
}

.legal-content {
  max-width: 850px;
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.legal-content h2 {
  margin-top: 36px;
  font-size: 1.55rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 75px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open,
  .main-nav.visible {
    display: flex;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(14, 30, 25, .35) 0%, rgba(14, 30, 25, .88) 100%);
  }

  .hero-content {
    margin-inline: 18px;
  }

  .intro,
  .split,
  .reverse,
  .gallery-section,
  .contact,
  .price-band {
    grid-template-columns: 1fr;
  }

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

  .price-band {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

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

  .media-grid .image-open,
  .media-grid img,
  .gallery {
    min-height: 300px;
  }

  .media-grid .image-open:nth-child(2),
  .media-grid img:nth-child(2) {
    margin-top: 0;
  }

  .room-table {
    overflow-x: auto;
  }

  .room-table [role="row"] {
    min-width: 560px;
  }

  .site-footer {
    flex-direction: column;
  }
}
