:root {
  --bg: #faf8f4;
  --bg-alt: #f1ede4;
  --surface: #ffffff;
  --text: #1f2421;
  --muted: #5f665f;
  --line: #e2ddd2;
  --accent: #2f5240;
  --accent-dark: #213b2e;
  --accent-soft: #e4ece6;
  --error: #a3261b;
  --error-soft: #fbeae8;
  --success-soft: #e4f1e7;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Kopfzeile */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 244, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .75em 1.5em; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: .45em 1.1em; font-size: .9rem; }
.btn-large { padding: .95em 2em; font-size: 1.05rem; }
.btn-ghost { background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .8); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); }

/* Hero */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; background: var(--hero) center 40% / cover no-repeat; color: #fff; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(10, 20, 14, .72) 100%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16em; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; opacity: .92; margin-bottom: .8em; }
.hero-address { font-size: 1.15rem; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Eckdaten */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 26px 12px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact-value { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--accent); }
.fact-label { display: block; font-size: .88rem; color: var(--muted); line-height: 1.4; margin-top: 4px; }

/* Abschnitte */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.prose { max-width: 62ch; }
.table-title { margin-bottom: .8em; }
.spec { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top: 0; }
.spec dt { color: var(--muted); font-size: .93rem; }
.spec dd { margin: 0; font-weight: 500; }
.footnote { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 9px; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }

/* Unterlagen */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card p { margin: 0; }

/* Formular */
.notice { border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.notice h3 { margin-bottom: .3em; }
.notice p { margin: 0 0 .7em; }
.notice p:last-child { margin-bottom: 0; }
.notice-success { background: var(--success-soft); border: 1px solid #b9d8c0; }
.notice-error { background: var(--error-soft); border: 1px solid #e9b9b3; color: var(--error); }
.notice-info { background: var(--accent-soft); border: 1px solid #bcd0c2; border-left: 4px solid var(--accent); }
.field-note { display: block; font-size: .86rem; color: var(--muted); margin-top: 6px; }
input[type=file] { width: 100%; padding: .7em; font: inherit; font-size: .95rem; background: #fff; border: 1.5px dashed #cfc9bc; border-radius: 8px; cursor: pointer; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: .45em 1em; border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); cursor: pointer; }
.upload-link { word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
.offer-form { margin-top: 28px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px 24px 8px; margin: 0 0 22px; }
legend { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; padding: 0 8px; }
.field { margin-bottom: 18px; }
.field > label:not(.checkbox), .field > .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-zip { grid-template-columns: 9em 1fr; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; padding: .7em .85em; font: inherit; color: inherit; background: #fff;
  border: 1px solid #cfc9bc; border-radius: 8px; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
[aria-invalid=true] { border-color: var(--error) !important; }
.field-error { display: block; color: var(--error); font-size: .88rem; margin-top: 5px; }
.amount-input { position: relative; max-width: 320px; }
.amount-input input { font-size: 1.35rem; font-weight: 600; padding-right: 2.2em; }
.amount-input span { position: absolute; right: .9em; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--muted); }
.radios { display: grid; gap: 8px; }
.radio, .checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.radio { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio input, .checkbox input { margin-top: .3em; accent-color: var(--accent); flex: none; width: 18px; height: 18px; }
.checkbox { font-size: .93rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: #1d2b23; color: #c9d1cb; padding: 40px 0; font-size: .92rem; }
.footer p { margin: 0 0 .5em; }
.footer a { color: #fff; }
.footer .small { color: #9aa79f; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 16, 14, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #ddd; margin-top: 12px; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Unterseiten */
.page { padding: 56px 0 80px; }
.page h2 { font-size: 1.35rem; margin-top: 1.6em; }

@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(4) { border-left: 0; }
  .fact { border-top: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(odd) { border-left: 0; }
  .fact:nth-child(4) { border-left: 1px solid var(--line); }
  .fact:last-child { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item span { display: none; }
  .cards, .row, .row-zip { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  fieldset { padding: 18px 16px 4px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
