:root {
  --paper: #f3ece1;
  --paper-2: #efe4d4;
  --ink: #1c1510;
  --ink-soft: #4a3f36;
  --timber: #241910;
  --brick: #8f3a28;
  --brick-deep: #6e2c1e;
  --moss: #3d5340;
  --honey: #c4a06a;
  --line: rgba(28, 21, 16, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - 2.4rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick-deep); }
.skip {
  position: absolute;
  left: -999px;
}
.wrap { width: var(--wrap); margin: 0 auto; }
.narrow { max-width: 720px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 236, 225, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--timber);
  text-decoration: none;
  font-weight: 600;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
}
.site-nav > a.is-on:not(.nav-cta) {
  font-weight: 700;
  color: var(--timber);
}
.nav-cta {
  background: var(--brick);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.lang-switch a {
  padding: 0.15rem 0.35rem;
  text-decoration: none;
  color: var(--ink-soft);
}
.lang-switch .is-on { color: var(--ink); font-weight: 700; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  font: inherit;
}

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  color: #f7f1e8;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 21, 16, 0.15), rgba(28, 21, 16, 0.62) 55%, rgba(28, 21, 16, 0.82));
}
.hero-copy {
  position: relative;
  padding: 4.5rem 0 3.2rem;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  margin: 0 0 0.8rem;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 0 0 0.7rem;
  max-width: 14ch;
}
.hero-page { min-height: min(62vh, 640px); }
.hero-page h1 { max-width: 16ch; }
.hero-sub { font-size: 1.15rem; max-width: 38rem; }
.hero-lead { max-width: 38rem; color: #efe6d8; }
.hero-price { font-size: 1.2rem; }

.btn {
  display: inline-block;
  background: var(--brick);
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
.btn-light { background: #f7f1e8; color: var(--timber); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-small { padding: 0.4rem 0.8rem; font-size: 0.9rem; }

.facts {
  background: var(--timber);
  color: #f3ece1;
  padding: 1.1rem 0;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  font-size: 0.92rem;
}

.section { padding: 4.2rem 0; }
.lede { font-size: 1.25rem; max-width: 42rem; }
.prose p, .prose li { max-width: 42rem; }
.note { color: var(--ink-soft); font-size: 0.95rem; }
.price-block { font-size: 1.4rem; }

.gallery-public {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.7rem;
}
.gallery-public figure { margin: 0; }
.gallery-public img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.gallery-public .is-wide { grid-column: 1 / -1; }
.gallery-public .is-wide img { height: min(62vh, 560px); }
.gallery-public figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}
.heide-gallery {
  grid-template-columns: 1fr;
  margin-top: 2rem;
  max-width: 52rem;
}
.heide-gallery .is-wide img { height: min(58vh, 520px); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 520px;
}
.split-reverse { grid-template-columns: 1fr 1.1fr; }
.split-reverse .split-image { order: 2; }
.split-image {
  background-size: cover;
  background-position: center;
}
.split-copy {
  padding: 4rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper-2);
}

.map { height: 380px; margin-top: 1.4rem; border: 1px solid var(--line); }
.gate-band {
  background: var(--timber);
  color: #f3ece1;
  padding: 5rem 0;
}
.gate-band .btn { background: var(--honey); color: var(--timber); }
.gate-band .btn-light { background: #f7f1e8; color: var(--timber); }
.gate-band .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.form { display: grid; gap: 1rem; }
.form-follow { margin-top: 2.2rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form label { display: grid; gap: 0.35rem; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.hp { position: absolute; left: -9999px; }
.form-split { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0 1.5rem; }

.expose-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1rem 0 0;
}
.expose-link {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.86rem;
  background: #fff;
}
.expose-link.is-on { background: var(--timber); color: #fff; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.tile span {
  position: relative;
  display: block;
  padding: 1.2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.gallery-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.gallery-full a { display: block; }
.gallery-full img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 10, 0.92);
  padding: 1.2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1400px);
  max-height: calc(100vh - 5.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.lightbox-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lightbox-ui button {
  pointer-events: auto;
  position: absolute;
  border: 0;
  background: rgba(243, 236, 225, 0.92);
  color: var(--timber);
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.4rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.5rem;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  color: #f3ece1;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
body.lightbox-open { overflow: hidden; }
.wendland-photo { margin: 1.8rem 0 0; max-width: 48rem; }
.wendland-photo img {
  width: 100%;
  height: min(56vh, 480px);
  object-fit: cover;
}
.wendland-photo figcaption {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.45rem;
}
.doc-box {
  max-width: 42rem;
  margin: 2.2rem 0 0;
  padding: 1.3rem 1.4rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.doc-box h2 { margin-top: 0; font-size: 1.3rem; }
.doc-box .btn { margin: 0.15rem 0 0.55rem; }
.doc-box .note { margin-bottom: 0; }
.video {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.date-list { list-style: none; padding: 0; max-width: 42rem; }
.date-list li {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.date-list strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.date-list em {
  color: var(--moss);
  font-style: normal;
  font-weight: 600;
}
.oh-photo {
  margin: 2rem 0 0.4rem;
  max-width: 42rem;
}
.oh-photo img {
  width: 100%;
  height: min(52vh, 420px);
  object-fit: cover;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--ink-soft);
}
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner a { margin-right: 1rem; color: inherit; }

.flash { padding: 0.8rem 1.2rem; text-align: center; }
.flash-success, .flash-info { background: #dce8d8; }
.flash-error { background: #f3d6cf; }

.table-wrap { overflow: auto; }
.leads { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.leads th, .leads td { border-bottom: 1px solid var(--line); padding: 0.55rem; text-align: left; vertical-align: top; }
.comment { border-top: 1px solid var(--line); padding: 0.8rem 0; }
.lead-facts { padding-left: 1.1rem; }
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}
.inline-form { display: inline; margin: 0; }
.btn-danger {
  background: transparent;
  color: var(--brick-deep);
  border: 1px solid var(--brick);
}
.btn-danger:hover { background: #f3d6cf; }
.lead-delete {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .facts-grid, .gallery-public, .tiles, .gallery-full, .form-grid, .split, .split-reverse {
    grid-template-columns: 1fr;
  }
  .split-reverse .split-image { order: 0; }
  .split-image { min-height: 280px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 4.2rem;
    right: 0;
    left: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1rem 1.2rem 1.4rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .date-list li { grid-template-columns: 1fr; }
  .gallery-public img, .gallery-public .is-wide img, .gallery-full img { height: 200px; }
  .heide-gallery .is-wide img { height: min(48vh, 360px); }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}
