/* Farben und Schriften – nur Systemschriften, damit keine externen Server (z. B. Google Fonts) geladen werden (DSGVO) */
:root {
  --bg: #F2F3F0;
  --paper: #FFFFFF;
  --ink: #1D2420;
  --muted: #5B655F;
  --line: #D3D8D2;
  --green: #2C4639;
  --green-dark: #1F3329;
  --sage: #C9D5C8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", 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: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
:focus-visible { outline: 3px solid #E0A82E; outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-wide { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.25rem;
  background: rgba(242, 243, 240, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.topbar nav { display: flex; gap: 1.25rem; align-items: center; }
.topbar nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.topbar nav a:hover { color: var(--green); text-decoration: underline; }
.topbar nav a.nav-cta { background: var(--green); color: #fff; padding: .4rem .9rem; border-radius: 2rem; }
.topbar nav a.nav-cta:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
@media (max-width: 720px) {
  .topbar nav a:not(.nav-cta) { display: none; }
}

/* Einstieg */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  background: var(--green);
  color: #fff;
}
.hero-img { margin: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.hero-text { padding: clamp(1.5rem, 4vw, 3.5rem); align-self: center; }
.hero .place { color: var(--sage); font-size: .95rem; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 1.5rem; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 0 0 2rem; }
.hero-facts div { border-top: 1px solid rgba(255,255,255,.25); padding-top: .5rem; }
.hero-facts dt { font-size: .85rem; color: var(--sage); }
.hero-facts dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
}

/* Schaltflächen */
.button {
  display: inline-block;
  background: #fff; color: var(--green-dark);
  padding: .8rem 1.5rem; border-radius: 2rem;
  font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--sage); }
.button.light { background: #fff; }
.button.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.button.outline:hover { background: rgba(255,255,255,.12); }

/* Einleitung */
.intro { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 1rem; }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.55; }
.note {
  background: var(--paper);
  border-left: 4px solid var(--green);
  padding: 1rem 1.25rem;
  font-size: .98rem;
  color: var(--muted);
  margin-top: 2rem;
}
.note strong { color: var(--ink); }

/* Bilder – groß und vollständig sichtbar */
.section-head { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 1.25rem; }
.section-head p { color: var(--muted); }

.shot, .plan { margin: 0 0 1.5rem; }
.shot img, .plan img {
  width: 100%;
  cursor: zoom-in;
  background: #e4e6e2;
}
.shot figcaption, .plan figcaption {
  padding: .6rem 0 0;
  font-size: .95rem;
  color: var(--muted);
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.pair .shot { margin-bottom: 1.5rem; }
.pair-text {
  align-self: center;
  padding: 1rem clamp(0rem, 3vw, 2.5rem);
  max-width: 28rem;
}
.pair-text p { color: var(--muted); }
@media (max-width: 700px) {
  .pair { grid-template-columns: 1fr; gap: 0; }
  .pair-text { padding: 0 0 2rem; }
  .wrap-wide { padding: 0 .75rem; }
}

/* Grundrisse */
.plans .plan img { background: #fff; border: 1px solid var(--line); }

/* Fakten */
.facts { padding-top: clamp(3rem, 6vw, 5rem); }
table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; background: var(--paper); }
th, td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; width: 38%; }
tr:first-child th, tr:first-child td { font-family: var(--serif); font-size: 1.3rem; }
@media (max-width: 560px) {
  th, td { display: block; width: 100%; }
  th { border-bottom: 0; padding-bottom: 0; }
  td { padding-top: .2rem; }
}
.small { font-size: .9rem; color: var(--muted); }

/* Modernisierung */
.renovation, .location { padding-top: clamp(3rem, 6vw, 5rem); }
.renovation ul { padding-left: 1.2rem; margin: 0 0 2rem; }
.renovation li { margin-bottom: .4rem; }
.costs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 1.25rem; }
.costs > div { background: var(--paper); padding: 1.25rem; }
.costs h3 { font-size: 1.05rem; font-family: var(--sans); margin-bottom: .3rem; }
.costs .amount { font-family: var(--serif); font-size: 1.9rem; margin: 0; color: var(--green); }
.costs p { margin-bottom: .3rem; color: var(--muted); }
.costs .extra { font-size: .92rem; }
@media (max-width: 560px) { .costs { grid-template-columns: 1fr; } }

/* Kontakt */
.contact {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--green);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.contact p { color: #E6ECE5; }
.contact .name { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin: 1.5rem 0 1rem; }
.contact-lines .button { margin: 0 .5rem .75rem 0; }

/* Fußzeile */
.footer { padding-top: 2rem; padding-bottom: 3rem; font-size: .9rem; color: var(--muted); }
.footer a { margin-right: 1.25rem; }

/* Vollbild-Ansicht */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 20, 17, .96);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 96vw; max-height: 100vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 96vw; max-height: calc(100vh - 4rem); width: auto; height: auto; background: #fff; }
.lightbox figcaption { color: #dfe5de; padding: .6rem 1rem; font-size: .95rem; text-align: center; }
.lightbox button {
  position: absolute; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff;
  width: 3rem; height: 3rem; border-radius: 50%;
  font-size: 2rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}
.contact .address { color: #fff; margin: -.5rem 0 1.5rem; line-height: 1.5; }
