@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
/* Makler-Demo: hell, ruhig, Architektur-Stil. Kalkputz-Weiß, Tinte, ein tiefes Grün. */
:root {
  --paper: #f2efe9; --paper2: #e8e4db; --ink: #1c1b18; --muted: #6c675d; --line: rgba(28,27,24,.16);
  --accent: #2c4637; --accent-ink: #f2efe9;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.loadbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 50; transition: opacity .6s; }
.loadbar.done { opacity: 0; }
#loader { height: 100%; width: 0; background: rgba(255,255,255,.85); transition: width .2s; }

/* Navigation: über der Animation hell auf Bild, danach Papier */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; color: #fff; transition: background .3s, color .3s; }
.nav.solid { background: rgba(242,239,233,.92); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: .005em; text-decoration: none; }
.nav .links { display: flex; gap: 28px; font-size: 13px; }
.nav .links a { text-decoration: none; opacity: .85; }
.nav .links a:hover { opacity: 1; }
.nav .cta { font-size: 13px; text-decoration: none; padding: 10px 18px; border: 1px solid currentColor; }
.nav .cta:hover { background: #fff; color: var(--ink); }
.nav.solid .cta:hover { background: var(--ink); color: var(--paper); }

/* Scroll-Bühne */
#track { position: relative; height: 720vh; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: #1c1b18; color: #fff; }
.stagec { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: opacity; }
#stage2 { opacity: 0; }
.scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  linear-gradient(180deg, rgba(18,17,14,.5) 0, rgba(18,17,14,0) 20%),
  linear-gradient(0deg, rgba(18,17,14,.78) 0, rgba(18,17,14,.4) 28%, rgba(18,17,14,0) 56%); }
.layer { position: absolute; z-index: 4; left: 6vw; bottom: 11vh; max-width: 580px; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.layer.on { opacity: 1; transform: none; }
.layer .num { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.layer h1, .layer h2 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 12px 0 14px; font-size: clamp(48px, 6.4vw, 96px); }
.layer p { color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.55; max-width: 44ch; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.9); }
.facts span { padding-right: 16px; margin-right: 16px; border-right: 1px solid rgba(255,255,255,.35); }
.facts span:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.dots { position: absolute; z-index: 4; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); transition: all .3s; }
.dots i.on { background: #fff; height: 22px; border-radius: 99px; }
.scrollhint { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* Inhalte */
section.block { padding: 96px 22px; }
#rundgang { padding-top: 88px; }
.wrap { max-width: 1160px; margin: 0 auto; }
.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.block h3, .hire h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -.01em; margin: 16px 0 18px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 54ch; }
.btn { display: inline-block; padding: 16px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); margin-top: 18px; padding: 13px 24px; }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.light { background: var(--paper); border-color: var(--paper); color: var(--ink); margin-top: 28px; }
.btn.light:hover { background: transparent; color: var(--paper); }

.haltung .statement { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 70px); line-height: 1.08; letter-spacing: -.01em; margin-top: 22px; max-width: 18em; }

/* Objekte als große Bildreihen */
.objs { margin-top: 56px; display: grid; gap: 88px; }
.obj { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.obj.flip { grid-template-columns: 5fr 7fr; }
.obj.flip .pic { order: 2; }
.obj .pic { overflow: hidden; background: var(--paper2); }
.obj .pic img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.obj:hover .pic img { transform: scale(1.035); }
.obj .idx { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.obj .idx span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.obj h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 58px); line-height: 1; margin: 18px 0 8px; }
.obj .ort { color: var(--muted); }
.obj dl { margin: 26px 0 0; border-top: 1px solid var(--line); }
.obj dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.obj dt { color: var(--muted); }
.obj .price { font-family: var(--serif); font-size: 34px; margin-top: 22px; }

/* Galerie */
.gal { margin-top: 44px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.gal figure { margin: 0; }
.gal .a { grid-column: span 7; } .gal .b { grid-column: span 5; }
.gal .pic { overflow: hidden; background: var(--paper2); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.gal .a .pic { aspect-ratio: 7 / 5; } .gal .b .pic { aspect-ratio: 5 / 5; }
.gal figure:hover img { transform: scale(1.03); }
.gal figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Zahlen und Stimme */
.zahlen { background: var(--paper2); }
.nums { margin-top: 38px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.nums div { padding: 28px 22px 28px 0; border-bottom: 1px solid var(--line); }
.nums div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.nums b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.nums span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
blockquote { margin: 56px 0 0; }
blockquote p { max-width: 19em; font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); line-height: 1.12; }
blockquote cite { display: block; margin-top: 20px; font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.beispiel { margin-top: 44px; font-size: 12px; color: var(--muted); }

/* Zweispaltig: Überschrift links, Inhalt rechts */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.list { list-style: none; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.list b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--accent); }
.list h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.list p { color: var(--muted); max-width: 46ch; }

.wert { background: var(--paper2); }
form { display: grid; gap: 14px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(28,27,24,.35); border-radius: 0; background: transparent; color: var(--ink); font: 400 16px var(--sans); -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus { outline: 0; border-bottom-color: var(--accent); }
input::placeholder { color: var(--muted); }
form .btn { justify-self: start; margin-top: 10px; }
.hinweis { font-size: 14px; color: var(--ink); border-left: 2px solid var(--accent); padding: 8px 0 8px 14px; }
.small { font-size: 12px; color: var(--muted); }

.contact .name { font-family: var(--serif); font-size: 40px; line-height: 1.1; }
.contact p { font-size: 17px; margin-top: 6px; color: var(--muted); }
.contact p.name { color: var(--ink); margin-top: 0; }
.contact .btn { margin-top: 28px; }

.hire { background: var(--accent); color: var(--accent-ink); padding: 112px 22px; }
.hire .kicker { color: rgba(242,239,233,.7); }
.hire .lead { color: rgba(242,239,233,.85); }
.who { margin-top: 22px; font-size: 14px; color: rgba(242,239,233,.75); }

footer { padding: 30px 22px 44px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { text-decoration: none; margin-left: 20px; }
footer .draft { max-width: 1160px; margin: 16px auto 0; font-size: 11px; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Rundgang: Übersicht + Rundumblick */
.rg { position: relative; margin-top: 40px; overflow: hidden; background: var(--paper2); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.rg-over { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.6,0,.2,1), opacity .7s ease; }
.rg-over img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg.zoom .rg-over { transform: scale(1.9); opacity: 0; }
.rg.open:not(.zoom) .rg-over { opacity: 0; }
.rg-pin { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); font: 500 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.rg-pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; animation: rgpulse 2.4s ease-out infinite; }
.rg-pin span { background: var(--paper); padding: 6px 11px; box-shadow: 0 1px 10px rgba(0,0,0,.18); transition: background .25s, color .25s; }
.rg-pin:hover span, .rg-pin:focus-visible span { background: var(--accent); color: #fff; }
@keyframes rgpulse { 0% { box-shadow: 0 0 0 0 rgba(44,70,55,.5); } 70% { box-shadow: 0 0 0 16px rgba(44,70,55,0); } 100% { box-shadow: 0 0 0 0 rgba(44,70,55,0); } }
.rg-tip { position: absolute; right: 14px; bottom: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--paper); padding: 6px 11px; }
.rg-view { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease .15s; outline: none; background: #1c1b18; }
.rg.open .rg-view { opacity: 1; }
.rg-view canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.rg-view canvas:active { cursor: grabbing; }
.rg-top { position: absolute; left: 14px; top: 14px; display: flex; gap: 14px; align-items: center; color: #fff; }
.rg-back { background: var(--paper); color: var(--ink); border: 0; padding: 9px 14px; font: 500 12px var(--sans); letter-spacing: .08em; cursor: pointer; }
.rg-back:hover { background: var(--accent); color: #fff; }
.rg-title { font-family: var(--serif); font-size: 26px; line-height: 1; padding: 6px 12px 7px; background: rgba(28,27,24,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rg-drag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(28,27,24,.7); color: #fff; padding: 10px 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; transition: opacity .6s; }
.rg-drag.gone { opacity: 0; }
.rg-tabs { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; background: var(--paper); }
.rg-tabs button { background: none; border: 0; color: var(--muted); font: 500 13px var(--sans); padding: 10px 16px; cursor: pointer; }
.rg-tabs button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.rg-spin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 2px solid rgba(44,70,55,.2); border-top-color: var(--accent); opacity: 0; pointer-events: none; animation: rgspin 1s linear infinite; transition: opacity .3s; }
.rg.loading .rg-spin { opacity: 1; }
@keyframes rgspin { to { transform: rotate(360deg); } }
.rg-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.rg.no-gl .rg-pin { display: none; }

@media (max-width: 860px) {
  .nav .links { display: none; }
  section.block, .hire { padding: 64px 20px; }
  #rundgang { padding-top: 40px; }
  .obj, .obj.flip { grid-template-columns: 1fr; gap: 22px; }
  .obj.flip .pic { order: 0; }
  .objs { gap: 64px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .gal .a, .gal .b { grid-column: span 12; }
  .gal .a .pic, .gal .b .pic { aspect-ratio: 3 / 2; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums div:nth-child(3) { padding-left: 0; border-left: 0; }
  form .row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .layer { left: 22px; right: 46px; bottom: 13vh; }
  .layer p { font-size: 15px; }
  .dots { right: 14px; }
  .rg { transition: aspect-ratio .6s ease; }
  .rg.open { aspect-ratio: 4 / 5; }
  .rg-pin span { font-size: 9px; padding: 4px 8px; }
  .rg-pin { gap: 5px; }
  .rg-pin i { width: 10px; height: 10px; }
  .rg-tip { display: none; }
  .rg-tabs button { padding: 9px 11px; font-size: 12px; }
  .rg-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .layer, .reveal, .rg-over, .rg-view { transition: none; } .rg-pin i { animation: none; } html { scroll-behavior: auto; } }

/* Handy hochkant: Bild oben, Text auf hellem Grund darunter */
@media (max-width: 760px) and (orientation: portrait) {
  .sticky { background: var(--paper); color: var(--ink); }
  .stagec { height: 66%; }
  .scrim { background:
    linear-gradient(180deg, rgba(18,17,14,.5) 0, rgba(18,17,14,0) 14%),
    linear-gradient(180deg, rgba(242,239,233,0) 54%, var(--paper) 66%); }
  .layer { top: 63%; bottom: auto; }
  .layer p { font-size: 14px; line-height: 1.5; }
  .facts { margin-top: 12px; font-size: 12px; }
  .layer .num { color: var(--muted); }
  .layer p { color: var(--muted); }
  .layer h1, .layer h2 { font-size: clamp(36px, 9.6vw, 48px); margin: 8px 0 10px; }
  .facts { color: var(--ink); }
  .facts span { border-right-color: var(--line); }
  .dots i { background: rgba(28,27,24,.28); }
  .dots i.on { background: var(--accent); }
  .scrollhint { display: none; }
}

/* Demo-Leiste: macht klar, dass hier eine Website gezeigt wird */
.demo { position: fixed; z-index: 45; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; background: var(--ink); color: var(--paper); padding: 10px 10px 10px 18px; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.25); max-width: calc(100% - 24px); }
.demo b { font-weight: 600; }
.demo a { background: var(--paper); color: var(--ink); text-decoration: none; padding: 8px 14px; font-weight: 500; white-space: nowrap; }
.demo a:hover { background: #fff; }
.demo button { background: none; border: 0; color: rgba(242,239,233,.7); font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; }
.demo[hidden] { display: none; }

/* Hinweise für Makler: welche Funktion sie bekommen */
.feat { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 22px; padding: 7px 12px; border: 1px solid rgba(44,70,55,.35); color: var(--accent); font-size: 13px; line-height: 1.45; }
.feat span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.zahlen .feat, .wert .feat { background: rgba(255,255,255,.35); }

@media (max-width: 700px) {
  .demo { left: 10px; right: 10px; bottom: 10px; transform: none; max-width: none; gap: 10px; padding: 8px 6px 8px 12px; font-size: 12px; }
  .demo span { flex: 1; min-width: 0; line-height: 1.3; }
  .demo a { padding: 8px 10px; font-size: 12px; }
}

/* Rundgang: Raumwechsel im Bild und Mini-Grundriss */
.rg-hots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rg-hot { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: opacity .25s; }
.rg-hot i { display: block; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 0 0 5px rgba(255,255,255,.28); }
.rg-hot span { background: rgba(28,27,24,.62); padding: 6px 10px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rg-hot:hover span { background: var(--accent); }
.rg-map { position: absolute; right: 14px; top: 14px; width: 170px; border: 2px solid var(--paper); box-shadow: 0 4px 18px rgba(0,0,0,.3); background: var(--paper2); }
.rg-map img { display: block; width: 100%; height: auto; }
.rg-map button { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #fff; background: rgba(28,27,24,.45); cursor: pointer; padding: 0; }
.rg-map button.on { background: var(--accent); box-shadow: 0 0 0 4px rgba(44,70,55,.35); }
@media (max-width: 700px) {
  .rg-map { width: 112px; right: 10px; top: 10px; }
  .rg-map button { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
  .rg-hot { font-size: 10px; }
  .rg-hot span { padding: 5px 8px; }
}
