:root {
  color-scheme: light;
  --paper: #f9f6ed;
  --white: #fffcf5;
  --ink: #1e3029;
  --muted: #45554b;
  --line: #cecbb9;
  --soft: #eeede0;
  --deep: #1d3b32;
  --light: #f5f2df;
  --serif: "Instrument Serif", "Baskervville", Georgia, serif;
  --sans: "Instrument Sans", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.58; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, button:focus-visible { outline: 3px solid #9c4f25; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.masthead { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; text-decoration: none; }
nav { display: flex; gap: 24px; align-items: center; font-size: .87rem; font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.nav-contact { border: 1px solid var(--line); padding: 7px 14px; border-radius: 4px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 6vw, 100px); align-items: center; padding-block: 42px 52px; }
.location { color: var(--muted); font-size: .78rem; letter-spacing: .105em; text-transform: uppercase; font-weight: 650; margin-bottom: 24px; }
h1, h2, .price { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.8rem, 5.2vw, 5.5rem); line-height: 1.02; letter-spacing: -.055em; margin: 0; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.45rem); line-height: 1.08; letter-spacing: -.04em; margin-block: 0 22px; }
h3 { margin-block: 0 10px; font-size: 1.06rem; }
.intro { max-width: 41ch; font-size: clamp(1rem, 1.45vw, 1.19rem); color: var(--muted); margin-block: 24px; }
.price { margin-block: 24px; font-size: 2.05rem; line-height: 1.2; }
.price span { margin-left: 8px; font: .82rem var(--sans); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 9px 16px; border: 1px solid var(--deep); border-radius: 4px; font-size: .88rem; font-weight: 600; text-decoration: none; line-height: 1.3; }
.primary { color: var(--white); background: var(--deep); }
.secondary { color: var(--ink); background: transparent; }
.button:hover { filter: brightness(.92); box-shadow: 0 0 0 1px currentColor; }
figure { margin: 0; position: relative; }
figure img { border-radius: 6px; height: auto; }
figure figcaption { position: absolute; bottom: 9px; right: 9px; background: var(--white); padding: 5px 10px; border-radius: 3px; color: var(--muted); font-size: .75rem; }
.hero-images { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(6px, 1vw, 12px); align-items: start; }
.hero-images figcaption { position: static; background: transparent; padding: 7px 0 0; line-height: 1.3; }
.facts-section { background: var(--soft); padding-block: 55px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 25px 0 35px; }
.facts > div { display: flex; flex-direction: column-reverse; padding: 18px 16px; }
.facts > div:first-child { padding-left: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
dt { color: var(--muted); font-size: .84rem; }
dd { margin: 0; }
.facts dd { font: 2rem var(--serif); margin-bottom: 6px; }
.energy { margin: 0; }
.energy > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); align-items: baseline; padding: 5px 0; }
.energy dd { font-size: .86rem; font-weight: 600; text-align: right; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.gallery img { aspect-ratio: 3 / 4; }
.garden-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.garden-gallery img { aspect-ratio: 4 / 3; }
.photo-section .gallery + h2 { margin-top: clamp(32px, 5vw, 60px); }
.contact p { margin-block: 0 12px; }
.contact { background: var(--deep); color: var(--light); padding-block: 48px; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.contact .primary { color: var(--deep); background: var(--light); border-color: var(--light); }
.contact .secondary { color: var(--light); border-color: var(--light); }
.address { background: transparent; color: var(--light); border: 0; padding: 5px 0; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; font: .9rem var(--sans); }
.copy-status { min-height: 1.1em; align-self: center; font-size: .8rem; }
.footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 65px; font-size: .8rem; color: var(--muted); }
@media (max-width: 840px) {
  .shell { width: calc(100% - 44px); }
  .hero { gap: 24px; }
}
@media (max-width: 610px) {
  .shell { width: calc(100% - 32px); }
  .masthead { min-height: 64px; }
  .wordmark { font-size: 1.17rem; }
  nav { gap: 12px; font-size: .76rem; }
  nav a:first-child { display: none; }
  .nav-contact { padding-inline: 8px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 23px 34px; }
  .location { margin-bottom: 13px; }
  .intro, .price { margin-block: 16px; }
  .facts-section { padding-block: 36px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts dd { font-size: 1.8rem; }
  .contact { padding-block: 35px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.status-line {
  padding-block: 10px;
  border-block: 1px solid var(--line);
  color: var(--deep);
  font-size: .84rem;
  font-weight: 650;
}
.section { padding-block: 54px 18px; }
.section-intro, .quiet { max-width: 72ch; }
.quiet { color: var(--muted); font-size: .88rem; }
.building-list article {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) minmax(0, 1fr);
  gap: 8px 32px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.building-list article > p { grid-column: 2; margin: 0; max-width: 72ch; }
.building-list h3 { margin: 0; }
.tag { color: var(--deep); font-size: .85rem; margin: 3px 0 0; }
.plots { width: min(100%, 740px); border-collapse: collapse; margin-block: 22px 13px; }
.plots caption { text-align: left; color: var(--muted); font-size: .85rem; padding-bottom: 7px; }
.plots th, .plots td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.plots th:last-child, .plots td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.plots tfoot { font-weight: 650; }
.plots tfoot th:first-child { text-align: left; }
.condition { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 73px); }
.condition p { margin-top: 8px; }
.faq { max-width: 870px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 13px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 9px 0 0; padding-left: 17px; color: var(--muted); }
.contact-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; gap: clamp(25px, 6vw, 75px); }
.contact-note { font-size: .88rem; }
.direct-email { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 14px; }
.direct-email a { overflow-wrap: anywhere; }
.buyer-form { display: grid; gap: 14px; }
.buyer-form label { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; }
.buyer-form label span { font-size: .8rem; font-weight: 400; display: inline; }
.buyer-form input, .buyer-form select, .buyer-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  font: 1rem var(--sans);
}
.buyer-form button { cursor: pointer; justify-self: start; }
@media (max-width: 740px) {
  .contact-inner, .condition { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 610px) {
  .section { padding-top: 32px; }
  .building-list article { grid-template-columns: 1fr; gap: 7px; }
  .building-list article > p { grid-column: 1; }
  .plots th, .plots td { font-size: .88rem; }
  nav a:nth-child(2) { display: none; }
}

.plans { padding-bottom: 50px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan-card { padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.plan-card img { height: clamp(220px, 36vw, 405px); object-fit: contain; }
.plan-card figcaption, .aerial figcaption {
  position: static;
  background: transparent;
  padding: 7px 0 0;
  border-radius: 0;
  font-size: .79rem;
}
.location-grid { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1fr); align-items: center; gap: clamp(24px, 5vw, 68px); }
.map-image { position: relative; }
.map-image img { aspect-ratio: 536 / 426; height: auto; }
.map-pin, .map-legend span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  font-size: .85rem;
  line-height: 1;
  font-weight: 750;
  color: var(--white);
  background: var(--deep);
  border: 2px solid var(--white);
  border-radius: 50%;
}
.map-pin { position: absolute; transform: translate(-50%, -50%); }
.home-pin { left: 58%; top: 51%; }
.business-pin { left: 37%; top: 35%; }
.map-legend { padding: 0; list-style: none; }
.map-legend li { display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; }
.map-legend span { flex: 0 0 auto; }
.gallery figcaption { position: static; background: transparent; padding: 7px 0 0; }

.documents { padding-bottom: 52px; }
.document-list { max-width: 900px; }
.document-list div { display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr); gap: 7px 20px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.document-list dt { color: var(--ink); font-weight: 650; font-size: .95rem; }
.document-list dd { font-size: .94rem; }
@media (max-width: 740px) {
  .location-grid { grid-template-columns: 1fr; gap: 14px; }
  nav a[href="#unterlagen"] { display: none; }
}
@media (max-width: 610px) {
  .plan-grid, .document-list div { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  :root { --paper: white; --soft: white; --white: white; }
  .shell { width: 100%; }
  .masthead, .actions, #print-sheet, #buyer-form, #copy-address, .contact-note { display: none !important; }
  .hero, .condition, .plans, .section, .facts-section, .contact { padding-block: 10px; }
  .contact { color: var(--ink); background: white; }
  .plan-grid, .location-grid, .plots, .building-list article, .gallery figure { break-inside: avoid; }
}

.map-area {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: .32em .63em;
  background: #ffda61;
  color: #1e3029;
  border: 1px solid #1e3029;
  border-radius: 4px;
  font-size: clamp(.74rem, 1.2vw, .92rem);
  font-weight: 750;
}
