/* Zionskirchstraße 5 · Verkaufsseite */
:root {
  --ink: #1f2933;
  --muted: #5a6570;
  --accent: #8a6d3b;
  --accent-soft: #f4efe6;
  --bg: #fdfcfa;
  --card: #ffffff;
  --line: #e6e1d8;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--serif); color: var(--ink); background: var(--bg); line-height: 1.65; }
a { color: var(--accent); }
.sans { font-family: var(--sans); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Hero */
header.hero {
  position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff;
  background: url('img/hero.jpg') center/cover no-repeat, linear-gradient(160deg, #2c3a47 0%, #4b5d6b 100%);
}
header.hero .overlay { width: 100%; background: linear-gradient(transparent, rgba(20,26,32,.84)); padding: 96px 0 44px; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: normal; letter-spacing: .01em; }
.hero p.sub { font-size: clamp(1rem, 2vw, 1.2rem); opacity: .93; margin-top: 8px; max-width: 42em; }
.hero .price { margin-top: 18px; font-family: var(--sans); font-size: 1.05rem; }
.hero .price strong { font-size: 1.35rem; font-weight: 600; }
.badges { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); padding: 5px 12px; border-radius: 999px;
}

/* Navigation */
nav.jump { position: sticky; top: 0; z-index: 10; background: rgba(253,252,250,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
nav.jump .wrap { display: flex; gap: 22px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; font-family: var(--sans); font-size: .9rem; white-space: nowrap; }
nav.jump a { color: var(--muted); text-decoration: none; }
nav.jump a:hover { color: var(--ink); }
nav.jump a.cta { color: var(--accent); font-weight: 600; margin-left: auto; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.5rem; font-weight: normal; margin-bottom: 22px; }
h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin-top: 10px; }
h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 22px 0 8px; }
p.lead { font-size: 1.08rem; max-width: 46em; }
p + p { margin-top: 12px; }

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 26px; font-family: var(--sans); }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.fact.hl { border-color: var(--accent); background: var(--accent-soft); }
.fact .k { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact .v { font-size: 1.12rem; margin-top: 4px; }

/* Bilder */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
figure { margin: 0; }
.gallery img, .strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
figcaption { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-top: 6px; }
figcaption .credit { font-size: .72rem; opacity: .8; }
.ph {
  aspect-ratio: 4/3; border-radius: 10px; border: 1px dashed var(--line); background: var(--accent-soft); color: var(--muted);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-family: var(--sans); font-size: .9rem;
}

/* 3D-Rundgang */
.tour { position: relative; aspect-ratio: 16/9; width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #2c3a47; }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour .consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center; color: #fff; font-family: var(--sans);
  background: linear-gradient(rgba(20,26,32,.55), rgba(20,26,32,.75)), url('img/hero.jpg') center/cover;
}
.tour .consent p { max-width: 34em; font-size: .85rem; opacity: .9; }
.tour .consent a { color: #fff; }

/* Grundriss + Energie */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
table.data { width: 100%; border-collapse: collapse; margin-top: 6px; font-family: var(--sans); }
table.data td { padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
table.data td:first-child { color: var(--muted); width: 50%; }

/* Ablauf */
ol.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 8px; }
ol.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; font-family: var(--sans); font-size: .93rem; }
ol.steps li::before { content: counter(step); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 10px; }
ol.steps li strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.note { margin-top: 18px; font-family: var(--sans); font-size: .85rem; color: var(--muted); max-width: 52em; }

/* Kontakt */
.contact-box { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 12px; padding: 32px; text-align: center; }
.contact-box h2 { display: inline-block; }
.contact-box h2::after { margin-left: auto; margin-right: auto; }
.btn {
  display: inline-block; margin-top: 16px; padding: 12px 28px; background: var(--accent); color: #fff; text-decoration: none;
  border: 0; border-radius: 8px; font-family: var(--sans); font-size: 1rem; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn.light { background: #fff; color: var(--ink); }

/* Dokumente */
ul.docs { list-style: none; margin-top: 8px; font-family: var(--sans); }
ul.docs li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
ul.docs li span.meta { color: var(--muted); font-size: .85rem; white-space: nowrap; }
ul.docs li.pending a { pointer-events: none; color: var(--muted); }
ol.terms { margin: 8px 0 0 20px; font-family: var(--sans); font-size: .95rem; }
ol.terms li { margin-bottom: 8px; }
.alert { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 6px; font-family: var(--sans); font-size: .92rem; margin-top: 18px; }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }
.legal h1 { font-size: 1.9rem; font-weight: normal; margin-bottom: 18px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal h2::after { display: none; }
.legal p, .legal li { font-family: var(--sans); font-size: .95rem; }
.legal ul { margin: 6px 0 0 20px; }
.legal a.back { font-family: var(--sans); font-size: .9rem; text-decoration: none; }

footer { padding: 28px 0 40px; font-family: var(--sans); font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--muted); margin-right: 14px; }
