/* Lokal eingebundene Schriften (kein Abruf von Google-Servern) */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 450 650; font-display: swap; src: url('schriften/Fraunces-normal-450_650.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 450 650; font-display: swap; src: url('schriften/Fraunces-italic-450_650.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('schriften/Inter-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('schriften/Inter-normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('schriften/Inter-normal-600.woff2') format('woff2'); }

/* ==========================================================================
   Hausverwaltung Hoppe: Basis-Stylesheet (Entwurf)
   Palette: Nachtblau / Papier / Messing: klassisch, seriös, lebendig
   ========================================================================== */

:root {
  --ink: #16283e;          /* Nachtblau: Primärfarbe */
  --ink-deep: #101d2e;     /* dunkleres Blau für Verläufe */
  --ink-soft: #24405f;     /* aufgehelltes Blau für Flächen auf dunkel */
  --paper: #f8f6f1;        /* warmes Papierweiß: Seitenhintergrund */
  --paper-card: #fffdf9;   /* Kartenhintergrund */
  --text: #1d2735;         /* Fließtext */
  --text-muted: #5b6472;   /* Nebentext */
  --text-on-dark: #eef2f7; /* Text auf Nachtblau */
  --muted-on-dark: #a8b4c4;
  --brass: #a67c34;        /* Messing-Akzent */
  --brass-deep: #8c6626;   /* Messing für Links/Hover */
  --brass-soft: rgba(166, 124, 52, 0.14);
  --line: #e4dfd4;         /* feine Linien auf hell */
  --line-on-dark: rgba(238, 242, 247, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1160px;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(22, 40, 62, 0.05), 0 12px 32px rgba(22, 40, 62, 0.08);
  --shadow-lift: 0 2px 4px rgba(22, 40, 62, 0.06), 0 22px 48px rgba(22, 40, 62, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Grundlagen ---------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.12;
  margin: 0;
  color: inherit;
}

p { margin: 0; }

a { color: var(--brass-deep); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.01em; }

.section-head .lead { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-brass {
  background: var(--brass);
  color: #14202f;
}
.btn-brass:hover { background: #b5893c; box-shadow: 0 10px 26px rgba(166, 124, 52, 0.35); }

.btn-ink {
  background: var(--ink);
  color: var(--text-on-dark);
}
.btn-ink:hover { background: var(--ink-soft); box-shadow: 0 10px 26px rgba(22, 40, 62, 0.28); }

.btn-ghost-light {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(238, 242, 247, 0.35);
}
.btn-ghost-light:hover { border-color: var(--brass); color: #f6e9d4; }

.btn .arrow { transition: transform 0.22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* --- Header / Navigation -------------------------------------------------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
  background: transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--brass);
  border-radius: 8px;
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}

.main-nav a:not(.btn) {
  color: var(--muted-on-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.22s var(--ease);
}

.main-nav a:not(.btn):hover { color: var(--text-on-dark); }

.main-nav .btn { padding: 0.6rem 1.25rem; font-size: 0.88rem; }

/* Header nach dem Scrollen: heller, fester Balken */
.site-header.scrolled {
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .main-nav a:not(.btn) { color: var(--text-muted); }
.site-header.scrolled .main-nav a:not(.btn):hover { color: var(--ink); }

/* Header-Variante für helle Unterseiten (Impressum etc.) */
.site-header.solid {
  position: sticky;
  background: var(--paper);
  border-bottom-color: var(--line);
}
.site-header.solid .brand { color: var(--ink); }
.site-header.solid .main-nav a:not(.btn) { color: var(--text-muted); }
.site-header.solid .main-nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: inherit;
}

.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  content: "";
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(166, 124, 52, 0.16), transparent 60%),
    linear-gradient(168deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero::after {
  /* feine vertikale Linien: ruhige Struktur im Hintergrund */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(238, 242, 247, 0.035) 0 1px,
    transparent 1px 140px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(7rem, 15vh, 10rem) clamp(4rem, 9vh, 6.5rem);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  letter-spacing: -0.015em;
  max-width: 15ch;
}

.hero h1 em {
  font-style: italic;
  color: #d9b976;
}

.hero .sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  color: var(--muted-on-dark);
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* Einblend-Sequenz beim Laden */
.hero .eyebrow, .hero h1, .hero .sub, .hero-cta {
  animation: rise-in 0.9s var(--ease) both;
}
.hero h1 { animation-delay: 0.12s; }
.hero .sub { animation-delay: 0.24s; }
.hero-cta { animation-delay: 0.36s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Fassaden-Zeichnung (Signatur-Element) -------------------------------- */

.facade { width: min(420px, 100%); margin-inline: auto; }

.facade .stroke {
  fill: none;
  stroke: rgba(238, 242, 247, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.6s var(--ease) forwards;
}

.facade .stroke.brass { stroke: var(--brass); }

.facade .s1 { animation-delay: 0.2s; }
.facade .s2 { animation-delay: 0.55s; }
.facade .s3 { animation-delay: 0.9s; }
.facade .s4 { animation-delay: 1.25s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* Zwei Fenster leuchten warm auf, nachdem die Fassade gezeichnet ist */
.facade .glow {
  fill: #d9b976;
  opacity: 0;
  animation: window-light 5s ease-in-out 2.8s infinite;
}
.facade .glow.late { animation-delay: 3.4s; }

@keyframes window-light {
  0% { opacity: 0; }
  18% { opacity: 0.85; }
  55% { opacity: 0.55; }
  100% { opacity: 0.8; }
}

/* --- Leistungs-Band ------------------------------------------------------- */

.strip {
  border-top: 1px solid var(--line-on-dark);
  background: var(--ink-deep);
  color: var(--muted-on-dark);
}

.strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 2.75rem;
  padding-block: 1.15rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.strip .dot { color: var(--brass); }

/* --- Vorgehen: das Zuständigkeiten-Register ------------------------------- */

.ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ledger-step {
  border-top: 2px solid var(--line);
  padding-top: 1.4rem;
  position: relative;
}

.ledger-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--brass);
}

.ledger-step .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 550;
  color: var(--brass);
}

.ledger-step h3 { font-size: 1.22rem; margin-top: 0.5rem; }

.ledger-step p {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* --- Über uns ------------------------------------------------------------- */

.about { background: #f1eee6; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-facts {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.6rem;
}

.fact .fact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.fact .fact-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-top: 0.25rem;
}

.about .body-copy {
  color: var(--text-muted);
  display: grid;
  gap: 1.1rem;
  margin-top: 1.2rem;
}

/* --- Mietangebote --------------------------------------------------------- */

.listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2rem);
}

.listing-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.listing-photo {
  position: relative;
  aspect-ratio: 4 / 2.7;
  background:
    repeating-linear-gradient(45deg, rgba(22, 40, 62, 0.045) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #e9e4d8, #dcd5c4);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}

.listing-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--ink);
  color: var(--text-on-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.listing-badge.free { background: #2e6b46; }
.listing-badge.reserved { background: var(--brass-deep); }

.listing-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.listing-body .listing-meta { margin-top: auto; }
/* Karten ohne Link: Platz der Link-Zeile freihalten, damit die Flächen-Zeile bündig sitzt */
.listing-body:not(:has(.listing-link)) .listing-meta { margin-bottom: 2.4rem; }

.listing-body h3 { font-size: 1.18rem; min-height: 2.24em; }

.listing-place {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  font-size: 0.92rem;
}

.listing-meta span strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 550;
  color: var(--ink);
  text-transform: none;
}

.listing-meta span {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.listings-note {
  margin-top: 2.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 60ch;
}

/* --- Kontakt -------------------------------------------------------------- */

.contact {
  background:
    radial-gradient(900px 420px at 12% 115%, rgba(166, 124, 52, 0.18), transparent 60%),
    linear-gradient(200deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--text-on-dark);
}

.contact .eyebrow { color: #d9b976; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

.contact .contact-copy { margin-top: 1.1rem; color: var(--muted-on-dark); max-width: 44ch; }

.contact-channels { margin-top: 2.2rem; display: grid; gap: 1.3rem; }

.channel { display: flex; align-items: center; gap: 1rem; }

.channel .icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-on-dark);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--brass);
  flex-shrink: 0;
}

.channel a, .channel span.value {
  color: var(--text-on-dark);
  font-size: 1.02rem;
  font-weight: 500;
}
.channel a:hover { color: #d9b976; }

.channel small {
  display: block;
  color: var(--muted-on-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  background: rgba(255, 253, 249, 0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.1rem;
}

.field { display: grid; gap: 0.45rem; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(16, 29, 46, 0.55);
  border: 1px solid var(--line-on-dark);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.22s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
}

.field textarea { resize: vertical; min-height: 130px; }

.form-note { color: var(--muted-on-dark); font-size: 0.82rem; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink-deep);
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line-on-dark);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.8rem;
  font-size: 0.9rem;
}

.footer-links { display: flex; gap: 1.6rem; }

.footer-links a { color: var(--muted-on-dark); }
.footer-links a:hover { color: var(--text-on-dark); }

/* --- Unterseiten (Impressum, Datenschutz, B-Seiten) ----------------------- */

.page-hero {
  background: linear-gradient(168deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--text-on-dark);
  padding-block: clamp(7rem, 14vh, 9rem) clamp(2.8rem, 6vh, 4rem);
}

.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -0.01em; }

.page-hero .sub { margin-top: 1rem; color: var(--muted-on-dark); max-width: 56ch; }

.prose { max-width: 720px; display: grid; gap: 1.1rem; color: var(--text-muted); }
.prose h2 { color: var(--text); font-size: 1.4rem; margin-top: 1rem; }

.placeholder-hint {
  border: 1px dashed var(--brass);
  background: var(--brass-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

/* --- Scroll-Reveal -------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* --- Responsiv ------------------------------------------------------------ */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .facade { width: min(320px, 80%); margin-inline: 0; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-facts {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 1.6rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .listings { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; color: var(--text-on-dark); }
  .site-header.scrolled .nav-toggle,
  .site-header.solid .nav-toggle { color: var(--ink); }

  .main-nav {
    position: absolute;
    top: 100%;
    right: clamp(1.25rem, 4vw, 2.5rem);
    left: clamp(1.25rem, 4vw, 2.5rem);
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-lift);
    padding: 1rem;
    gap: 0.4rem;
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav a:not(.btn) {
    color: var(--text) !important;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
  }
  .main-nav a:not(.btn):hover { background: var(--brass-soft); }
  .main-nav .btn { justify-content: center; margin-top: 0.5rem; }

  .listings { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
}

/* --- Reduzierte Bewegung -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .eyebrow, .hero h1, .hero .sub, .hero-cta { animation: none; }
  .facade .stroke { animation: none; stroke-dashoffset: 0; }
  .facade .glow { animation: none; opacity: 0.7; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .listing-card { transition: none; }
}

/* ==========================================================================
   Ergänzungen für Variante B (Unterseiten)
   ========================================================================== */

.main-nav a.active:not(.btn) {
  color: var(--text-on-dark);
  box-shadow: inset 0 -2px 0 var(--brass);
  padding-bottom: 3px;
}
.site-header.scrolled .main-nav a.active:not(.btn),
.site-header.solid .main-nav a.active:not(.btn) { color: var(--ink); }

/* Kontaktseite: dunkler Bereich übernimmt die Hero-Rolle */
.contact.page-top { padding-top: clamp(8rem, 16vh, 11rem); }

/* Angebots-Teaser auf der Startseite */
.listings.two { grid-template-columns: repeat(2, 1fr); }
.teaser-actions { margin-top: 2.6rem; }

/* Abschluss-Band mit Kontakt-Aufforderung */
.cta-band {
  background:
    radial-gradient(900px 420px at 85% 120%, rgba(166, 124, 52, 0.18), transparent 60%),
    linear-gradient(200deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--text-on-dark);
  text-align: center;
}
.cta-band .eyebrow { color: #d9b976; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-band p { color: var(--muted-on-dark); max-width: 52ch; margin: 1rem auto 0; }
.cta-band .btn { margin-top: 2.2rem; }

@media (max-width: 720px) {
  .listings.two { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Ergänzungen finale Seite: Objektfotos, Stadt-Abschnitte, Exposé-Links
   ========================================================================== */

.listing-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.listing-card:hover .listing-photo img { transform: scale(1.04); }

.city-section + .city-section { margin-top: clamp(3.5rem, 7vw, 5.5rem); }

.city-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.city-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.city-head .count { color: var(--text-muted); font-size: 0.92rem; }

.listing-desc { color: var(--text-muted); font-size: 0.95rem; }

.listing-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--brass-deep);
  transition: color 0.22s var(--ease);
}
.listing-link:hover { color: var(--ink); }
.listing-link svg { flex-shrink: 0; }

/* ==========================================================================
   Version B der Startseite: Foto-Hero, Logo, Foto-Band, mehr Bewegung
   ========================================================================== */

.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(10, 18, 30, 0.45));
}
.site-header.scrolled .brand-logo,
.site-header.solid .brand-logo { filter: invert(0.85); }

/* Foto-Hero mit Ken-Burns-Zoom und Parallax */
.hero-b {
  position: relative;
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-b .bg {
  position: absolute;
  inset: -12% -2%;
  z-index: 0;
  will-change: transform;
}

.hero-b .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% 30%;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.14); }
}

.hero-b .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(166, 124, 52, 0.2), transparent 60%),
    linear-gradient(100deg, rgba(13, 24, 38, 0.96) 30%, rgba(13, 24, 38, 0.84) 68%, rgba(13, 24, 38, 0.72));
}

.hero-b .hero-inner-b {
  position: relative;
  z-index: 1;
  padding-block: clamp(8rem, 18vh, 12rem) clamp(5rem, 11vh, 8rem);
  max-width: 720px;
}

.hero-b h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  letter-spacing: -0.015em;
}

.hero-b h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  animation: rise-in 0.75s var(--ease) forwards;
}
.hero-b h1 .w:nth-child(1) { animation-delay: 0.1s; }
.hero-b h1 .w:nth-child(2) { animation-delay: 0.2s; }
.hero-b h1 .w:nth-child(3) { animation-delay: 0.3s; }
.hero-b h1 .w:nth-child(4) { animation-delay: 0.42s; }
.hero-b h1 .w em { font-style: italic; color: #d9b976; }

.hero-b .eyebrow { animation: rise-in 0.7s var(--ease) both; }
.hero-b .sub { animation: rise-in 0.8s var(--ease) 0.55s both; margin-top: 1.4rem; max-width: 46ch; color: #c2cddb; font-size: 1.1rem; }
.hero-b .hero-cta { animation: rise-in 0.8s var(--ease) 0.7s both; }

/* Laufendes Foto-Band */
.photo-band {
  background: var(--ink-deep);
  border-block: 1px solid var(--line-on-dark);
  overflow: hidden;
}

.photo-band .track {
  display: flex;
  width: max-content;
  animation: band-scroll 48s linear infinite;
}

.photo-band:hover .track { animation-play-state: paused; }

.photo-band img {
  height: clamp(160px, 24vw, 250px);
  width: auto;
  display: block;
  border-right: 1px solid var(--line-on-dark);
}

@keyframes band-scroll {
  to { transform: translateX(-50%); }
}

/* Messing-Linien im Vorgehen wachsen beim Einblenden */
.grow .ledger-step::before { width: 0; transition: width 1s var(--ease) 0.25s; }
.grow .ledger-step.in::before { width: 100%; }

@media (max-width: 720px) {
  .brand-logo { height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-b .bg img { animation: none; }
  .hero-b h1 .w, .hero-b .eyebrow, .hero-b .sub, .hero-b .hero-cta { animation: none; opacity: 1; transform: none; }
  .photo-band .track { animation: none; }
  .grow .ledger-step::before { width: 44px; transition: none; }
}

/* ==========================================================================
   Version C: heller, einladender Auftritt
   ========================================================================== */

.hero-c { background: var(--paper); }

.hero-c .hero-inner-c {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 9vh, 6.5rem) clamp(4.5rem, 9vh, 6.5rem);
}

.hero-c h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); color: var(--ink); letter-spacing: -0.015em; }
.hero-c h1 em { font-style: italic; color: var(--brass-deep); }
.hero-c .sub { margin-top: 1.4rem; color: var(--text-muted); font-size: 1.1rem; max-width: 46ch; }

.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(22, 40, 62, 0.3); }
.btn-ghost-dark:hover { border-color: var(--brass); color: var(--brass-deep); }

.photo-frame { position: relative; margin-right: 1.4rem; }
.photo-frame img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(22, 40, 62, 0.72), rgba(22, 40, 62, 0.42));
  z-index: 1;
  pointer-events: none;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-c .eyebrow { animation: rise-in 0.7s var(--ease) both; }
.hero-c h1 { animation: rise-in 0.8s var(--ease) 0.12s both; }
.hero-c .sub { animation: rise-in 0.8s var(--ease) 0.24s both; }
.hero-c .hero-cta { animation: rise-in 0.8s var(--ease) 0.36s both; }
.hero-c .photo-frame { animation: rise-in 0.9s var(--ease) 0.3s both; }

@media (max-width: 960px) {
  .hero-c .hero-inner-c { grid-template-columns: 1fr; }
  .photo-frame { margin-right: 1.4rem; max-width: 480px; }
}

/* ==========================================================================
   Version D: mutige, plakative Typografie
   ========================================================================== */

.hero-d {
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(166, 124, 52, 0.18), transparent 60%),
    linear-gradient(168deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-d .hero-inner-d { padding-block: clamp(8rem, 17vh, 11rem) clamp(3.5rem, 8vh, 5.5rem); }

.hero-d h1 {
  font-size: clamp(3rem, 9.5vw, 7.6rem);
  line-height: 0.99;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 12ch;
}

.hero-d h1 .outline { color: transparent; -webkit-text-stroke: 1.5px #d9b976; }

.hero-d .sub { margin-top: 2rem; color: var(--muted-on-dark); max-width: 52ch; font-size: 1.12rem; }

.hero-d .eyebrow { animation: rise-in 0.7s var(--ease) both; }
.hero-d h1 { animation: rise-in 0.85s var(--ease) 0.12s both; }
.hero-d .sub { animation: rise-in 0.85s var(--ease) 0.3s both; }
.hero-d .hero-cta { animation: rise-in 0.85s var(--ease) 0.45s both; }

.marquee {
  background: var(--ink-deep);
  border-block: 1px solid var(--line-on-dark);
  overflow: hidden;
  padding-block: 1rem;
}

.marquee .mtrack {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: band-scroll 32s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 247, 0.45);
}

.marquee .mtrack .solid-w { color: var(--brass); -webkit-text-stroke: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-c .eyebrow, .hero-c h1, .hero-c .sub, .hero-c .hero-cta, .hero-c .photo-frame,
  .hero-d .eyebrow, .hero-d h1, .hero-d .sub, .hero-d .hero-cta { animation: none; }
  .marquee .mtrack { animation: none; }
}

/* ==========================================================================
   Version E: Bühnen-Startseite mit Spezialeffekten
   ========================================================================== */

/* Lade-Vorhang mit Logo */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink-deep);
  display: grid;
  place-items: center;
  animation: loader-away 0.7s var(--ease) 2.6s forwards; /* Fallback ohne JS */
}
.loader img { height: 76px; animation: loader-pulse 1.5s ease-in-out infinite; }
.loader.done { animation: loader-away 0.7s var(--ease) forwards; }
@keyframes loader-away { to { transform: translateY(-101%); visibility: hidden; } }
@keyframes loader-pulse { 50% { opacity: 0.5; transform: scale(0.95); } }

/* Lese-Fortschritt oben */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brass), #d9b976);
  transform-origin: left;
  transform: scaleX(0);
}

/* Vollbild-Hero mit Maus-Parallax */
.hero-e {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero-e .bg { position: absolute; inset: -7%; will-change: transform; }
.hero-e .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 15% 30%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-e .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 85% 0%, rgba(166, 124, 52, 0.2), transparent 60%),
    linear-gradient(100deg, rgba(13, 24, 38, 0.96) 30%, rgba(13, 24, 38, 0.82) 68%, rgba(13, 24, 38, 0.7)),
    linear-gradient(to top, rgba(13, 24, 38, 0.85), transparent 30%);
}
.hero-e .inner { position: relative; z-index: 1; padding-top: 90px; }
.hero-e h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  letter-spacing: -0.02em;
  max-width: 14ch;
  perspective: 600px;
}
.hero-e h1 .wd {
  display: inline-block;
  opacity: 0;
  transform: translateY(46px) rotateX(50deg);
  transform-origin: center bottom;
  animation: flip-up 0.85s var(--ease) forwards;
}
.hero-e h1 .wd:nth-child(1) { animation-delay: 0.15s; }
.hero-e h1 .wd:nth-child(2) { animation-delay: 0.27s; }
.hero-e h1 .wd:nth-child(3) { animation-delay: 0.39s; }
.hero-e h1 .wd:nth-child(4) { animation-delay: 0.54s; }
.hero-e h1 .wd em { font-style: italic; color: #d9b976; }
@keyframes flip-up { to { opacity: 1; transform: none; } }

.hero-e .sub {
  margin-top: 1.5rem;
  max-width: 46ch;
  color: #c2cddb;
  font-size: 1.1rem;
  animation: rise-in 0.8s var(--ease) 0.8s both;
}
.hero-e .hero-cta { animation: rise-in 0.8s var(--ease) 0.95s both; }
.hero-e .eyebrow { animation: rise-in 0.7s var(--ease) 0.05s both; }

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: var(--muted-on-dark);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--brass), transparent);
  animation: cue-bob 1.8s ease-in-out infinite;
}
@keyframes cue-bob { 50% { transform: translateY(7px); opacity: 0.45; } }

/* Statement: Text schaltet sich Wort für Wort an */
.statement {
  background: linear-gradient(200deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--text-on-dark);
}
.statement .statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.4;
  max-width: 26ch;
  font-weight: 550;
}
.statement .sw { color: rgba(238, 242, 247, 0.14); transition: color 0.3s linear; }
.statement .sw.lit { color: var(--text-on-dark); }
.statement .sw.gold.lit { color: #d9b976; }

/* Zählende Zahlen */
.counters { background: var(--paper); }
.counters .counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.counter strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 550;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.counter strong .suffix { color: var(--brass); }
.counter small {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Doppeltes, gegenläufiges Foto-Band */
.photo-band .track.rev { animation-direction: reverse; animation-duration: 58s; }
.photo-band + .photo-band { border-top: 0; }

/* 3D-Kipp-Karten und magnetische Knöpfe */
.tilt { transform-style: preserve-3d; will-change: transform; }
.btn-magnet { will-change: transform; }

@media (max-width: 720px) {
  .counters .counter-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .hero-e .bg img { animation: none; }
  .hero-e h1 .wd, .hero-e .eyebrow, .hero-e .sub, .hero-e .hero-cta { animation: none; opacity: 1; transform: none; }
  .scroll-cue::after { animation: none; }
  .statement .sw { color: inherit; }
  .statement .sw.gold { color: #d9b976; }
}

/* ==========================================================================
   Straßen-Zoom: beim Scrollen in das Foto hineinfahren
   ========================================================================== */

.strasse {
  position: relative;
  height: 260vh;
  background: var(--ink-deep);
}

.strasse .haft {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.strasse .haft img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 62% 52%; /* Fluchtpunkt der Straße: dorthin zoomt die Kamera */
  will-change: transform;
}

.strasse .haft::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(13, 24, 38, 0.6));
  pointer-events: none;
}

.strasse .strasse-text {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(3rem, 12vh, 7rem);
  z-index: 1;
  text-align: center;
  padding-inline: 1.5rem;
  color: var(--text-on-dark);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.strasse .strasse-text.zeigen { opacity: 1; transform: none; }

.strasse .strasse-text h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  text-shadow: 0 2px 18px rgba(13, 24, 38, 0.7);
}

.strasse .strasse-text p {
  margin-top: 0.8rem;
  color: #dbe4ef;
  font-size: 1.06rem;
  text-shadow: 0 1px 12px rgba(13, 24, 38, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .strasse { height: auto; }
  .strasse .haft { position: static; height: 62vh; }
  .strasse .haft img { transform: none !important; }
  .strasse .strasse-text { opacity: 1; transform: none; }
}

/* Startseiten-Hero: rechte Seite heller, damit das Gebäude sichtbar bleibt */
.hero-b.gebaeude-zeigen .bg::after {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(166, 124, 52, 0.16), transparent 60%),
    linear-gradient(100deg, rgba(13, 24, 38, 0.95) 30%, rgba(13, 24, 38, 0.62) 62%, rgba(13, 24, 38, 0.34) 100%);
}

/* Startseiten-Hero: weniger Zoom, mehr vom Foto sichtbar */
.hero-b.gebaeude-zeigen .bg { inset: -3% -2%; }
.hero-b.gebaeude-zeigen .bg img { animation: kenburns-sanft 26s ease-in-out infinite alternate; }
@keyframes kenburns-sanft {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* Zusatzzeile bei Kontaktwegen, z.B. Erreichbarkeitszeiten */
.channel .hinweis {
  display: block;
  color: var(--muted-on-dark);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Stadt-Filter auf der Angebotsseite */
.stadt-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}
.stadt-filter .chip {
  border: 1px solid var(--line);
  background: var(--paper-card);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.stadt-filter .chip:hover { border-color: var(--brass); color: var(--brass-deep); }
.stadt-filter .chip.aktiv { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.city-section.versteckt { display: none; }
.city-section + .city-section.versteckt { margin-top: 0; }

/* Mini-Galerie in Angebots-Karten: Pfeile, Punkte, Überblendung */
.listing-photo.galerie img { opacity: 0; transition: opacity 0.35s var(--ease); }
.listing-photo.galerie img.aktiv { opacity: 1; }
.gal-pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(16, 29, 46, 0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s var(--ease), background-color 0.2s var(--ease);
}
.gal-pfeil.zurueck { left: 0.6rem; }
.gal-pfeil.vor { right: 0.6rem; }
.listing-photo.galerie:hover .gal-pfeil { opacity: 1; }
.gal-pfeil:hover { background: rgba(166, 124, 52, 0.9); }
@media (hover: none) { .gal-pfeil { opacity: 1; } }
.gal-punkte {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.gal-punkte span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.gal-punkte span.aktiv { background: #fff; }

/* Handy-Feinschliff für den Start-Hero: eigener Ausschnitt und gleichmäßige Abdunklung */
@media (max-width: 720px) {
  .hero-b.gebaeude-zeigen .bg img { object-position: 42% 12% !important; }
  .hero-b.gebaeude-zeigen .bg::after {
    background:
      radial-gradient(500px 300px at 85% 0%, rgba(166, 124, 52, 0.15), transparent 60%),
      linear-gradient(180deg, rgba(13, 24, 38, 0.92) 0%, rgba(13, 24, 38, 0.78) 55%, rgba(13, 24, 38, 0.62) 100%);
  }
}
