:root {
  --bg: #f8f7f4;
  --paper: #fdfcf9;
  --text: #1e2422;
  --muted: #66706c;
  --line: #dde3df;
  --forest: #2f4a43;
  --stone: #e9ece8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(248, 247, 244, 0.96);
  border-bottom: 1px solid rgba(47, 74, 67, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.nav-shell {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  color: white;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  letter-spacing: .02em;
}
.site-header.scrolled .brand { color: var(--text); }
.brand span { color: #cad7d1; }
.site-header.scrolled .brand span { color: var(--forest); }

.nav-links { display: none; gap: 1.2rem; align-items: center; }
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: .95rem;
}
.site-header.scrolled .nav-links a { color: #2e3734; }
.menu-btn {
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.3rem;
}
.site-header.scrolled .menu-btn { color: var(--text); }
.nav-open .nav-links {
  display: flex;
  position: absolute;
  right: 4%;
  top: 60px;
  flex-direction: column;
  background: rgba(248, 247, 244, 0.98);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 10px;
}
.nav-open .nav-links a { color: #2e3734; }

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/landscape/eibsee-zugspitze-sommer.jpg') center/cover no-repeat;
  transform: scale(1.08);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 25, 24, .62), rgba(20, 25, 24, .26));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92%);
  margin: 0 auto;
  color: #fff;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  margin: 0 0 .8rem;
  color: rgba(255, 255, 255, .84);
}
h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 8vw, 5rem); margin: 0 0 1rem; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 1.1rem; }
.hero-sub { max-width: 700px; font-size: clamp(1rem, 2.5vw, 1.25rem); margin-bottom: 2rem; }
.lead { font-size: 1.08rem; color: #36403d; max-width: 840px; }

.section { padding: 5rem 0; }
.section-narrow { width: min(1100px, 92%); margin: 0 auto; }
.section-wide { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-wide .eyebrow { color: #53615d; }

.facts {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}
.facts article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}
.facts h3 { margin: 0 0 .4rem; font-size: 1.4rem; }
.facts p { margin: 0; color: var(--muted); }

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .6s ease, filter .6s ease;
}
.gallery img:hover { transform: scale(1.03); filter: saturate(1.07); }
.apartment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}
.apartment-grid img { border-radius: 8px; aspect-ratio: 4 / 3; }

.landscape-grid {
  width: min(1240px, 94%);
  margin: 2rem auto 0;
  display: grid;
  gap: .8rem;
  grid-template-columns: 1fr;
}
.landscape-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; }
.landscape-grid img { aspect-ratio: 16/11; }
.landscape-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .8rem .9rem;
  color: #fff;
  font-size: .85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .56), transparent);
}

.reviews-card {
  margin: 1.6rem 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.2rem;
  display: grid;
  gap: .8rem;
}
.rating { font-size: 3rem; color: var(--forest); font-family: "Cormorant Garamond", serif; }
.muted { color: var(--muted); }
.quotes { display: grid; gap: .7rem; }
blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid #9eb1aa;
  padding: .95rem 1rem;
  color: #404946;
}
.book { text-align: center; }
.book .eyebrow { color: #53615d; }
.book-actions { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.contact-link { color: var(--forest); text-decoration: none; }

.calendar-container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  display: grid;
  gap: 1.2rem;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.calendar-status {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.calendar-nav { display: flex; gap: .5rem; }
.calendar-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}
.calendar-months { display: grid; gap: 1.2rem; }
.calendar-month {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.calendar-month-title {
  margin: 0 0 .6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--forest);
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .35rem;
}
.calendar-weekdays span { text-align: center; padding: .2rem 0; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .25rem;
}
.calendar-day {
  text-align: center;
  padding: .4rem 0;
  border-radius: 8px;
  font-size: .9rem;
  border: 1px solid transparent;
  background: #fff;
}
.calendar-day.is-available {
  background: #e3efe9;
  color: #1f3d34;
  border-color: #c6dad0;
  cursor: pointer;
}
.calendar-day.is-in-range {
  background: var(--stone);
  background: color-mix(in srgb, var(--stone) 60%, #b9d7ee 40%);
  border-color: var(--line);
  border-color: color-mix(in srgb, var(--stone) 40%, #7fb5de 60%);
  color: #1b2d3b;
}
.calendar-day.is-selected-start,
.calendar-day.is-selected-end {
  background: var(--stone);
  background: color-mix(in srgb, var(--stone) 45%, #6aa8d6 55%);
  border-color: var(--line);
  border-color: color-mix(in srgb, var(--stone) 30%, #4b8cc1 70%);
  color: #132633;
  font-weight: 600;
}
.calendar-day.is-booked {
  background: #f6dedd;
  color: #8b2e27;
  border-color: #efc2be;
}
.calendar-day.is-past {
  background: #f0f1ef;
  color: #9aa3a0;
  border-color: #e2e6e3;
}
.calendar-day.is-today { outline: 2px solid var(--forest); outline-offset: -2px; }
.calendar-day.is-empty {
  background: transparent;
  border-color: transparent;
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
}
.calendar-chip {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  margin-right: .4rem;
  vertical-align: middle;
}
.calendar-chip.available { background: #3f675c; }
.calendar-chip.booked { background: #b6534a; }
.calendar-chip.past { background: #c9cfc9; }
.calendar-chip.selected {
  background: var(--stone);
  background: color-mix(in srgb, var(--stone) 50%, #6aa8d6 50%);
}
.calendar-cta { text-align: center; }
.calendar-selection {
  display: grid;
  gap: .6rem;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: .9rem 1rem;
}
.calendar-selection div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .9rem;
}
.calendar-selection strong { color: var(--text); font-weight: 600; }
.calendar-pricing {
  display: grid;
  gap: .7rem;
}
.calendar-field {
  display: grid;
  gap: .4rem;
  color: var(--muted);
  font-size: .9rem;
}
.calendar-field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .55rem .7rem;
  font-size: .95rem;
  background: #fff;
  color: var(--text);
}
.calendar-price {
  margin: 0;
  font-size: 1rem;
  color: #203430;
}
.calendar-note {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: .78rem 1.2rem;
  transition: transform .24s ease, opacity .24s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #f4f1ec; color: #18201e; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-nav { border: 1px solid rgba(255, 255, 255, .7); }
.site-header.scrolled .btn-nav { border-color: rgba(47, 74, 67, .5); }

.site-footer {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 1.4rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  color: #55625e;
  font-size: .92rem;
}
.site-footer a { color: #3d5550; text-decoration: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: .6rem;
  right: .9rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 860px) {
  .menu-btn { display: none; }
  .nav-links { display: flex; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .apartment-grid { grid-template-columns: repeat(4, 1fr); gap: .8rem; }
  .landscape-grid { grid-template-columns: repeat(2, 1fr); }
  .landscape-grid figure:nth-child(1) { grid-column: span 2; }
  .landscape-grid figure:nth-child(4) { grid-column: span 2; }
  .reviews-card { grid-template-columns: 140px 1fr; align-items: center; }
}

@media (min-width: 720px) {
  .calendar-months { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1020px) {
  .calendar-months { grid-template-columns: repeat(3, 1fr); }
}
