:root {
  color-scheme: light;
  --canvas: #f7f6f0;
  --paper: #fffefa;
  --ink: #20352d;
  --green: #214f39;
  --dark: #173c2e;
  --muted: #4a6054;
  --rule: #d3dacd;
  --tint: #e9eee2;
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 78px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.58 var(--sans); }
[hidden] { display: none !important; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h2 { font-size: clamp(2.25rem, 4vw, 4.1rem); letter-spacing: -.042em; }
:focus-visible { outline: 3px solid #975228; outline-offset: 4px; }

.shell { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 10px; left: 10px; padding: 10px 16px; background: var(--paper); z-index: 4; }
.masthead-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { display: inline-flex; flex: 0 0 auto; flex-direction: column; width: max-content; align-items: center; color: #20342c; text-decoration: none; -webkit-font-smoothing: antialiased; }
.wordmark > span { position: relative; font: 400 22px/1 var(--sans); letter-spacing: .22em; padding-left: .22em; }
.wordmark sup { position: absolute; font-size: 7px; top: 0; right: -5px; letter-spacing: 0; }
.wordmark small { margin-top: 5px; font-size: 8px; line-height: 1; letter-spacing: .235em; }
.masthead nav { display: flex; align-items: center; gap: clamp(12px, 3.2vw, 44px); }
.masthead nav a { text-decoration: none; font-size: .875rem; font-weight: 550; white-space: nowrap; }
.masthead nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .26em; }
.nav-contact { padding: .5rem .85rem; border: 1px solid #768e7e; border-radius: 30px; }

.hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); min-height: 480px; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--tint); }
.hero-copy { padding: clamp(36px, 4.5vw, 72px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero h1 { font-size: clamp(3.1rem, 5.25vw, 5.25rem); letter-spacing: -.057em; }
.hero h1 em { font-weight: 400; display: block; color: var(--green); }
.hero-copy p { margin-top: 22px; max-width: 39ch; color: var(--muted); font-size: clamp(1rem, 1.24vw, 1.15rem); }
.hero-link { margin-top: 24px; }
.hero-photo { position: relative; min-height: 100%; background: #d6cec0; }
.hero-photo img { height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 51% 56%; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .62rem 1.05rem; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-weight: 650; font-size: .95rem; line-height: 1.3; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--dark); }
.button-secondary { border-color: var(--green); color: var(--dark); background: transparent; }
.button-secondary:hover { background: var(--tint); }
.button-inverse { color: var(--dark); background: var(--paper); }
.button-inverse:hover { background: var(--tint); }
.text-link, .quiet-button { font-weight: 600; text-decoration: underline; text-underline-offset: .23em; }
.quiet-button { background: none; border: 0; padding: .38rem .2rem; }
.text-link:hover, .quiet-button:hover { text-decoration-thickness: 2px; }

.offers { padding-block: clamp(18px, 2.5vw, 36px) clamp(44px, 6vw, 87px); }
.section-intro { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.section-intro p { margin-top: 9px; color: var(--muted); }
.section-intro > a { margin-bottom: 3px; }
.filters { margin-bottom: clamp(34px, 4.4vw, 63px); padding: clamp(14px, 2vw, 24px); display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.25fr auto; gap: 14px; align-items: end; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; }
.filters label { display: grid; min-width: 0; gap: 6px; font-size: .9rem; font-weight: 650; }
.filters input, .filters select { min-width: 0; width: 100%; padding: 0 10px; min-height: 46px; background: var(--canvas); border: 1px solid #aebdae; border-radius: 4px; font-weight: 400; }
.filters select { appearance: none; padding-right: 1.8rem; background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23214f39' stroke-width='1.5'/%3E%3C/svg%3E") right .55rem center / .95rem no-repeat; }
.filters :disabled { opacity: .6; cursor: default; }
.filter-actions { display: flex; gap: 9px; align-items: center; }
.quiet-button { min-height: 44px; font-size: .88rem; }

.listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.listing { min-width: 0; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--paper); }
.listing:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.listing-photo { position: relative; min-height: 240px; background: var(--tint); color: var(--muted); display: grid; place-items: center; }
.listing-photo img { aspect-ratio: 1.9; object-fit: cover; height: 100%; }
.listing-photo span { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; }
.listing:only-child .listing-photo img { aspect-ratio: auto; position: absolute; inset: 0; }
.listing-copy { padding: clamp(20px, 3.1vw, 42px); min-width: 0; }
.listing-location { color: var(--muted); font-weight: 600; font-size: .91rem; margin-bottom: 5px; }
.listing-copy h3 { font-size: clamp(1.95rem, 3.6vw, 3rem); letter-spacing: -.031em; overflow-wrap: anywhere; }
.listing-price { font-size: 1.25rem; font-weight: 700; margin-top: 8px; }
.listing-facts, .listing-features { display: flex; flex-wrap: wrap; padding: 0; margin: 14px 0 0; list-style: none; gap: 8px; }
.listing-facts { column-gap: 22px; }
.listing-features li { padding: 4px 9px; background: var(--tint); color: var(--dark); border-radius: 4px; font-size: .875rem; }
.listing-actions { display: flex; gap: 13px 20px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.listing-reference { color: var(--muted); font-size: .9rem; }

.notice { margin-top: 8px; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.notice h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.notice p { color: var(--muted); margin-top: 8px; }
.notice-actions { margin-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.guide { background: var(--tint); padding-block: clamp(42px, 6vw, 88px); }
.guide-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 110px); }
.guide-lead { color: var(--muted); margin-top: 15px; }
.guide-list > div { border-top: 1px solid #b7c5b5; padding: 15px 0; }
.guide-list > div:last-child { padding-bottom: 0; }
.guide-list dt { font-weight: 650; }
.guide-list dd { color: var(--muted); margin-top: 4px; max-width: 59ch; }
.inquiry { margin-block: clamp(40px, 6vw, 84px); border-radius: 8px; padding: clamp(28px, 5vw, 72px); background: var(--dark); color: #fff; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: end; gap: 24px; }
.inquiry p { color: #e8eee1; margin-top: 13px; max-width: 61ch; }
.inquiry-actions { display: flex; flex-flow: column; gap: 12px; align-items: flex-start; }
.inquiry :focus-visible { outline-color: #f5d399; }
.footer { border-top: 1px solid var(--rule); }
.footer-inner, .footer nav { display: flex; gap: 15px 24px; flex-wrap: wrap; }
.footer-inner { justify-content: space-between; align-items: center; padding-block: 22px; font-size: .875rem; color: var(--muted); }
.footer a { text-decoration: none; }

@media (max-width: 1000px) {
  .hero { min-height: 420px; }
  .hero-copy { padding: clamp(32px, 4vw, 56px); }
  .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filter-actions { grid-column: 1 / -1; }
}

@media (max-width: 740px) {
  .wordmark > span { font-size: 18px; }
  .wordmark small { font-size: 6.7px; }
}

@media (max-width: 710px) {
  .masthead-inner { min-height: 63px; gap: 10px; }
  .masthead nav { gap: 10px; }
  .masthead nav a { font-size: .82rem; }
  .masthead nav .nav-guide { display: none; }
  .nav-contact { display: inline-flex; align-items: center; min-height: 44px; padding: .42rem .58rem; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 30px clamp(21px, 6vw, 40px); }
  .hero h1 { font-size: clamp(2.7rem, 8.5vw, 4.4rem); }
  .hero-copy p { margin-top: 14px; }
  .hero-link { margin-top: 18px; }
  .hero-photo { min-height: clamp(170px, 49vw, 315px); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listings, .listing:only-child, .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .listing-photo { min-height: clamp(180px, 57vw, 310px); }
  .listing:only-child .listing-photo img { position: absolute; }
}

@media (max-width: 370px) {
  :root { --gutter: 14px; }
  .masthead nav a[href="#angebote"] { display: none; }
}

@media (max-width: 369px) {
  .wordmark > span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
