/* ============================================================
   VILLA EMMILIO — Stylesheet
   Editorial / Architekturmonografie · Bad Oeynhausen
   Farbwelt: Bordeaux · Dunkel-Bordeaux · Anthrazit · Creme · Kupfer
   ============================================================ */

/* ---------- Selbstgehostete Schriften (DSGVO-konform, kein CDN) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}

/* ---------- Design-Tokens ---------- */
:root {
  --bordeaux:       #721422;
  --bordeaux-deep:  #3B0C12;
  --anthrazit:      #171719;
  --creme:          #F2EDE3;
  --creme-2:        #E8E1D3;   /* etwas tiefere Creme für Flächen */
  --kupfer:         #B68A55;
  --kupfer-hell:    #C9A06B;

  --text-dark:      #241017;   /* Fließtext auf Creme */
  --text-muted:     #6b5a52;   /* gedämpft auf Creme */
  --text-on-dark:   #EDE4D6;   /* Fließtext auf dunklem Grund */
  --text-on-dark-muted: #b9a794;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 68px;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text-dark);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--bordeaux); color: var(--creme); }

/* ---------- Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

/* Dezente Duotone-Lifestyle-Hintergründe (Markenfarben, nur Stimmung) */
.section-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.einheiten > .container, .lage > .container, .kontakt > .container { position: relative; z-index: 1; }
.einheiten .section-bg { opacity: 0.11; mix-blend-mode: screen; object-position: 70% center; }
.lage .section-bg { opacity: 0.12; mix-blend-mode: screen; object-position: center; }
.kontakt .section-bg { opacity: 0.16; mix-blend-mode: screen; object-position: 78% center; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--kupfer);
  margin: 0 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--kupfer);
  opacity: 0.7;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
}

/* Textlink mit Pfeil */
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  padding: 0.4rem 0;
  transition: gap 0.35s var(--ease), color 0.3s var(--ease);
}
.textlink .arrow { transition: transform 0.35s var(--ease); }
.textlink:hover { gap: 1.1rem; }
.textlink:hover .arrow { transform: translateX(4px); }
.textlink:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 6px; }
.on-dark .textlink, .textlink.on-dark { color: var(--kupfer-hell); }

/* Knopf */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border: 1px solid var(--kupfer);
  color: var(--kupfer-hell);
  background: transparent;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { background: var(--kupfer); color: var(--anthrazit); border-color: var(--kupfer); }
.btn:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 4px; }
.btn--solid { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--creme); }
.btn--solid:hover { background: var(--bordeaux-deep); border-color: var(--kupfer); color: var(--creme); }

.diamond { color: var(--kupfer); font-size: 0.7em; vertical-align: middle; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  color: var(--creme);
  overflow: hidden;
  background: var(--bordeaux-deep);
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide picture, .hero__slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
/* Bordeaux-Verlauf: links tief, nach rechts transparent + unten Abdunklung */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(59,12,18,0.92) 0%,
      rgba(59,12,18,0.72) 26%,
      rgba(59,12,18,0.34) 50%,
      rgba(59,12,18,0.10) 74%,
      rgba(59,12,18,0.02) 100%),
    linear-gradient(0deg, rgba(23,23,25,0.42) 0%, rgba(23,23,25,0) 38%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(2rem, 5vh, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.5rem;
}

/* Slider-Punkte (Linienstil) */
.hero__dots {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem);
  display: flex; align-items: center; gap: 0.5rem;
}
.hero__dot {
  width: 22px; height: 2px; padding: 0; border: none; cursor: pointer;
  background: rgba(242,237,227,0.30); border-radius: 2px;
  transition: width 0.5s var(--ease), background 0.5s var(--ease);
}
.hero__dot.is-active { width: 46px; background: var(--kupfer-hell); }
.hero__dot:hover:not(.is-active) { background: rgba(242,237,227,0.62); }
.hero__dot:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 5px; }

.hero__body { max-width: 46rem; }
.hero__kicker {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--creme);
  margin: 0 0 0.4rem;
  font-weight: 500;
}
.hero__addr {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--kupfer-hell);
  margin: 0 0 2.2rem;
}
.hero__title {
  font-size: clamp(2.9rem, 1.6rem + 5vw, 5.6rem);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
  text-wrap: balance;
}
.hero__sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  font-style: italic;
  color: var(--text-on-dark);
  margin: 0 0 2.6rem;
  max-width: 32rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--creme);
  padding: 0.5rem 0;
}
.hero__cta .ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--kupfer);
  display: grid; place-items: center;
  flex: none;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero__cta .ring svg { width: 15px; height: 15px; stroke: var(--kupfer-hell); }
.hero__cta:hover .ring { background: rgba(182,138,85,0.16); transform: translateY(3px); }
.hero__cta:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 6px; }

/* ============================================================
   STICKY NAV — erscheint erst nach dem ersten Scrollen
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(23,23,25,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(182,138,85,0.22);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  color: var(--creme);
}
.nav.is-visible { transform: translateY(0); }
.nav__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__brand svg { width: 34px; height: 34px; }
.nav__brand .wordmark {
  font-family: var(--serif); font-size: 1.05rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--creme);
}
.nav__links { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-muted);
  padding: 0.4rem 0; position: relative; transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--kupfer); transition: width 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--creme); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { width: 100%; }
.nav__cta {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--anthrazit); background: var(--kupfer);
  padding: 0.6rem 1.1rem; transition: background 0.3s var(--ease);
}
.nav__cta:hover { background: var(--kupfer-hell); }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 9px; color: var(--creme);
}
.nav__toggle span { display: block; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   DAS HAUS  +  VIER EBENEN (Strichzeichnung)
   ============================================================ */
.haus { background: var(--creme); }
.haus__intro { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.haus__intro h2 {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  margin-bottom: 1.4rem;
}
.haus__intro p { color: var(--text-muted); max-width: 40rem; }

/* ---- Duplex: Text · Strichzeichnung · Ebenen mit Leader-Lines ---- */
.haus-duplex {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr) minmax(0, 0.96fr);
  gap: clamp(1.4rem, 3.2vw, 3.2rem);
  align-items: stretch;
}
.haus-duplex__intro { align-self: center; max-width: 30rem; }
.haus-duplex__intro h2 {
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.3rem);
  line-height: 1.04;
  margin: 0.4rem 0 1.3rem;
}
.haus-duplex__intro p { color: var(--text-muted); }
.haus-duplex__intro .textlink { margin-top: 1.6rem; }

.haus-duplex__art {
  align-self: center;
  margin: 0 auto;
  padding: clamp(0.4rem, 1.8vw, 1.4rem);
  max-width: 560px;
}
.haus-duplex__art img { width: 100%; height: auto; display: block; }

.levels {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(0.7rem, 1.6vw, 1.2rem);
}
.level {
  display: grid;
  grid-template-columns: clamp(20px, 3vw, 40px) 1fr auto;
  align-items: center;
  gap: 0.9rem;
}
.level__lead {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(182,138,85,0.15), var(--kupfer));
}
.level__lead::after {
  content: ""; position: absolute; right: -3px; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bordeaux); transform: translateY(-50%);
}
.level__label { display: flex; flex-direction: column; }
.level__lvl { font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kupfer); }
.level__use { font-family: var(--serif); font-style: italic; font-size: 1.28rem; color: var(--text-dark); margin-top: 0.1rem; line-height: 1.1; }
.level__meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.28rem; }
.level__price { font-family: var(--serif); font-size: 1.35rem; color: var(--bordeaux); margin-top: 0.42rem; line-height: 1; }
.level__courtage { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kupfer); margin-top: 0.32rem; }
.level__note { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.25rem; line-height: 1.3; }

.level__media {
  width: 132px; height: 88px; flex: none; display: block; overflow: hidden;
  border: 1px solid rgba(182,138,85,0.32);
}
.level__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.level__media--ph {
  display: grid; place-items: center; color: var(--kupfer);
  background-color: #ece4d5;
  background-image: repeating-linear-gradient(45deg, rgba(182,138,85,0.10) 0 6px, transparent 6px 12px);
}
.level__media--ph svg { width: 22px; height: 22px; opacity: 0.85; }

/* ---- Piktogramm-/Feature-Leiste unter der Strichzeichnung ---- */
.features {
  list-style: none;
  margin: clamp(2.6rem, 6vw, 4.8rem) 0 0;
  padding: clamp(2.2rem, 4vw, 3.2rem) 0 0;
  border-top: 1px solid rgba(182,138,85,0.35);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.feature {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.15rem;
  padding: 0.3rem clamp(0.6rem, 1.6vw, 1.5rem);
}
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 6%; bottom: 20%;
  width: 1px; background: rgba(182,138,85,0.30);
}
.feature__icon { height: 74px; display: flex; align-items: flex-end; justify-content: center; }
.feature__icon img { max-height: 74px; width: auto; max-width: 100%; display: block; }
.feature__label {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.1rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dark); line-height: 1.24;
}

/* ============================================================
   SANIERUNG 2015–2017  (dunkel)
   ============================================================ */
.sanierung { background: var(--anthrazit); color: var(--text-on-dark); position: relative; }
.sanierung .eyebrow { color: var(--kupfer-hell); }
.sanierung__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.sanierung__lead h2 {
  font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem);
  color: var(--creme);
  margin-bottom: 1.8rem;
}
.sanierung__lead h2 .accent { color: var(--kupfer-hell); }
.sanierung__lead p { color: var(--text-on-dark-muted); max-width: 34rem; margin-bottom: 1.2rem; }
.sanierung__note {
  margin-top: 2rem; padding: 1.1rem 1.3rem;
  border-left: 2px solid var(--kupfer);
  background: rgba(182,138,85,0.06);
  font-size: 0.9rem; color: var(--text-on-dark-muted);
}
.chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.chapters li {
  list-style: none;
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(237,228,214,0.1);
  font-size: 0.98rem;
  color: var(--text-on-dark);
}
.chapters li .idx { font-family: var(--serif); font-size: 0.95rem; color: var(--kupfer); min-width: 1.9rem; }
.sanierung__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.sanierung__figs figure { margin: 0; }
.sanierung__figs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.sanierung__figs figure.wide { grid-column: 1 / -1; }
.sanierung__figs figure.wide img { aspect-ratio: 100 / 54; height: auto; }
.sanierung__figs figure.wide.hwr img { aspect-ratio: 2717 / 1258; }
.sanierung__figs figcaption {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-on-dark-muted); margin-top: 0.6rem;
}
.sanierung__baustelle { margin: 0 0 clamp(1.6rem, 3vw, 2.4rem); }
.sanierung__baustelle img { width: 100%; height: auto; display: block; }
.sanierung__baustelle figcaption {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--kupfer-hell); margin-top: 0.6rem;
}
.sanierung__hwr { max-width: 22rem; margin: clamp(1.8rem, 3vw, 2.4rem) 0 0; }
.sanierung__hwr img { width: 100%; height: auto; display: block; border-radius: 2px; }
.sanierung__hwr figcaption {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-on-dark-muted); margin-top: 0.6rem;
}

/* ============================================================
   ARCHITEKTUR & DETAILS
   ============================================================ */
.details { background: var(--creme); }
.details__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.details__head h2 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); margin-bottom: 1.2rem; }
.details__head p { color: var(--text-muted); }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.detail {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fbf8f2;
  border: 1px solid rgba(182,138,85,0.28); border-radius: 4px;
}
.detail picture { display: block; overflow: hidden; width: 100%; aspect-ratio: 3 / 2; }
.detail img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.detail:hover img { transform: scale(1.04); }
.detail__cap {
  flex: 1 1 auto;
  padding: 1.1rem 1.25rem 1.35rem; background: #fbf8f2;
  border-top: 1px solid rgba(182,138,85,0.22); color: var(--text-dark);
}
.detail__cap .k { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--kupfer); display: block; margin-bottom: 0.35rem; }
.detail__cap .t { font-family: var(--serif); font-size: 1.32rem; line-height: 1.12; color: var(--text-dark); display: block; }
.detail__desc { font-size: 0.85rem; line-height: 1.45; color: var(--text-muted); margin: 0.55rem 0 0; }

/* Text-Detailkachel (ohne Foto, ehrliche Darstellung) */
.detail--note {
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: auto;
  min-height: clamp(240px, 25vw, 300px);
  overflow: visible;
  padding: 1.7rem 1.5rem;
  background: linear-gradient(160deg, #f7f2e8, #ece3d3);
}
.detail--note .icon { width: 40px; height: 40px; margin-bottom: auto; }
.detail--note .icon svg { width: 40px; height: 40px; stroke: var(--kupfer); }
.detail--note .k { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--kupfer); display: block; margin-bottom: 0.5rem; }
.detail--note .t { font-family: var(--serif); font-size: 1.5rem; line-height: 1.08; color: var(--text-dark); margin-bottom: 0.6rem; }
.detail--note p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   VIER EINHEITEN  (Bordeaux)
   ============================================================ */
.einheiten { background: var(--bordeaux-deep); color: var(--text-on-dark); }
.einheiten__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.einheiten__head h2 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); color: var(--creme); max-width: 20ch; }
.einheiten__head .eyebrow { color: var(--kupfer-hell); }
.einheiten__head p { color: var(--text-on-dark-muted); max-width: 30rem; }

.units { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); }
.unit {
  display: flex; flex-direction: column;
  background: rgba(242,237,227,0.03);
  border: 1px solid rgba(182,138,85,0.26);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.unit:hover { border-color: var(--kupfer); transform: translateY(-4px); background: rgba(242,237,227,0.05); }
.unit__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #2a0f14; }
.unit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.unit:hover .unit__media img { transform: scale(1.05); }
.unit__badge {
  position: absolute; top: 0.85rem; left: 0.85rem;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.6rem; color: var(--creme);
  background: rgba(23,23,25,0.6); border: 1px solid rgba(182,138,85,0.4);
}
.unit__badge--gewerbe { background: rgba(114,20,34,0.75); }
/* Platzhalter-Kachel für fehlende Fotos */
.unit__ph {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(182,138,85,0.05) 0 14px, rgba(182,138,85,0.09) 14px 28px),
    #2a0f14;
  color: var(--text-on-dark-muted); padding: 1rem;
}
.unit__ph svg { width: 44px; height: 44px; stroke: var(--kupfer); opacity: 0.85; margin: 0 auto 0.7rem; }
.unit__ph span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
.unit__body { padding: 1.4rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.unit__row { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 0.5rem; }
.unit__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 0.8; color: var(--kupfer); }
.unit__name { }
.unit__name .lvl { font-family: var(--serif); font-size: 1.35rem; color: var(--creme); display: block; line-height: 1.05; }
.unit__name .use { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kupfer-hell); }
.unit__desc { font-size: 0.9rem; color: var(--text-on-dark-muted); margin: 0.4rem 0 1.1rem; flex: 1; }
.unit__facts { font-size: 0.78rem; color: var(--text-on-dark); letter-spacing: 0.04em; margin-bottom: 0.9rem; }
.unit__facts span { color: var(--kupfer-hell); }
.unit__price { font-family: var(--serif); font-size: 1.7rem; color: var(--creme); letter-spacing: 0.01em; }
.unit__price small { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.02em; color: var(--text-on-dark-muted); margin-top: 0.35rem; line-height: 1.4; text-transform: none; }
.unit__foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(182,138,85,0.2); }
.unit__foot .textlink { color: var(--kupfer-hell); }

/* Interesse-Karte */
.unit--cta {
  justify-content: center; text-align: left; padding: 1.8rem 1.5rem;
  background: linear-gradient(165deg, rgba(114,20,34,0.4), rgba(59,12,18,0.2));
  border-style: dashed;
}
.unit--cta .ico { width: 54px; height: 44px; margin-bottom: 1.2rem; }
.unit--cta .ico svg { width: 54px; height: 44px; stroke: var(--kupfer); }
.unit--cta h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--creme); margin-bottom: 0.7rem; }
.unit--cta p { font-size: 0.9rem; color: var(--text-on-dark-muted); margin-bottom: 1.4rem; }

/* ============================================================
   GRUNDRISSE / 3D  (Platzhalter)
   ============================================================ */
.plaene { background: var(--creme); }
.plaene__head { max-width: 42rem; margin-bottom: 2.6rem; }
.plaene__head h2 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); margin-bottom: 1rem; }
.plaene__head p { color: var(--text-muted); }
.plaene__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.plan-ph {
  aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 1.5rem; gap: 0.8rem;
  border: 1px dashed rgba(114,20,34,0.35);
  background:
    repeating-linear-gradient(45deg, rgba(182,138,85,0.04) 0 12px, transparent 12px 24px),
    #f5efe4;
  color: var(--text-muted);
}
.plan-ph svg { width: 40px; height: 40px; stroke: var(--kupfer); }
.plan-ph .lvl { font-family: var(--serif); font-size: 1.3rem; color: var(--bordeaux); }
.plan-ph .st { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kupfer); }

/* Echte Grundriss-Kachel */
.plan-real { margin: 0; position: relative; aspect-ratio: 4/5; border: 1px solid rgba(182,138,85,0.45); background: #fff; overflow: hidden; }
.plan-real picture { position: absolute; inset: 0; }
.plan-real img { width: 100%; height: 100%; object-fit: contain; padding: 0.6rem; }
.plan-real figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0.9rem; background: linear-gradient(to top, rgba(242,237,227,0.97), rgba(242,237,227,0.72) 60%, transparent); }
.plan-real .lvl { font-family: var(--serif); font-size: 1.25rem; color: var(--bordeaux); }
.plan-real .st { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kupfer); }

/* ---- ATELIER Deep-Dive ---- */
.atelier__head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.atelier__head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.05; margin: 0.4rem 0 1.2rem; }
.atelier__head p { color: var(--text-muted); }
.atelier__gallery { margin-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.atelier__label { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); color: var(--bordeaux); margin: 0 0 1.4rem; display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.atelier__label .num { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; color: var(--kupfer); border: 1px solid rgba(182,138,85,0.5); padding: 0.22rem 0.5rem; }
.atelier__label em { font-style: italic; font-size: 0.95rem; color: var(--text-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.7rem, 1.5vw, 1.1rem); }
.gtile { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.gtile picture { display: block; width: 100%; height: 100%; }
.gtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.gtile:hover img { transform: scale(1.045); }
.gtile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.95rem 0.75rem; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--creme); background: linear-gradient(to top, rgba(23,23,25,0.74), transparent); }

/* --- Deep-Dive-Galerien als platzsparendes Karussell (wischbar) --- */
.atelier__gallery { position: relative; }
.atelier__gallery .gallery-grid {
  display: flex;
  grid-template-columns: none;
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: var(--kupfer) rgba(182,138,85,0.16);
  -webkit-overflow-scrolling: touch;
}
.atelier__gallery .gallery-grid > .gtile {
  flex: 0 0 clamp(258px, 38%, 440px);
  scroll-snap-align: start;
}
.atelier__gallery .gallery-grid::-webkit-scrollbar { height: 6px; }
.atelier__gallery .gallery-grid::-webkit-scrollbar-thumb { background: var(--kupfer); border-radius: 3px; }
.atelier__gallery .gallery-grid::-webkit-scrollbar-track { background: rgba(182,138,85,0.16); border-radius: 3px; }
.gallery-carousel { position: relative; }
.gal-arrow {
  position: absolute; top: calc(50% - 8px); transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(242,237,227,0.94); color: var(--bordeaux);
  font-family: var(--serif); font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding-bottom: 3px;
  box-shadow: 0 2px 12px rgba(23,23,25,0.22); z-index: 3; transition: background 0.2s, transform 0.2s;
}
.gal-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-arrow--prev { left: 10px; }
.gal-arrow--next { right: 10px; }
@media (hover: none) { .gal-arrow { display: none !important; } }

/* --- Wohnungen als Reiter (Tabs + Ausklappmenü) --- */
.wtabs { background: var(--creme); }
.wtabs__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.wtabs__tablist { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.wtab {
  appearance: none; border: none; cursor: pointer;
  padding: 1.05rem 1.8rem; font-family: var(--sans); font-size: 1.02rem; font-weight: 500;
  letter-spacing: 0.03em; color: rgba(255,255,255,0.82);
  background: var(--bordeaux);
  border-radius: 16px 5px 5px 16px;
  box-shadow: 0 7px 18px rgba(59,12,18,0.30);
  transition: background 0.25s var(--ease), color 0.2s, transform 0.2s, box-shadow 0.25s;
}
.wtab__n { font-family: var(--serif); font-style: italic; color: var(--kupfer-hell); margin-right: 0.5rem; font-size: 1.12em; }
.wtab:hover { background: #5e1019; color: #fff; transform: translateY(-1px); }
.wtab.is-active { background: var(--bordeaux-deep); color: #fff; box-shadow: 0 10px 24px rgba(59,12,18,0.44); transform: translateY(-1px); }
.wtab.is-active .wtab__n { color: var(--kupfer-hell); }
.wpanel { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 3.5vw, 3.2rem); align-items: start; }
.js .wpanel:not(.is-active) { display: none; }
.wpanel:not(.is-active) { margin-top: clamp(2.5rem, 5vw, 4rem); }
.wpanel__media { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.wpanel__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; display: block; border-radius: 2px; }
.wpanel__lvl { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kupfer); }
.wpanel__desc { margin: 0.75rem 0 1.1rem; color: var(--text-dark); }
.wpanel__price { font-family: var(--serif); font-size: 1.55rem; color: var(--bordeaux); line-height: 1; }
.wpanel__note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }
.wacc { margin: 1.4rem 0 1.2rem; border-top: 1px solid rgba(182,138,85,0.28); border-bottom: 1px solid rgba(182,138,85,0.28); }
.wacc summary { cursor: pointer; list-style: none; padding: 0.9rem 0; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bordeaux); display: flex; justify-content: space-between; align-items: center; }
.wacc summary::-webkit-details-marker { display: none; }
.wacc__ic { position: relative; width: 13px; height: 13px; flex: none; }
.wacc__ic::before, .wacc__ic::after { content: ""; position: absolute; background: var(--kupfer); transition: opacity 0.2s; }
.wacc__ic::before { left: 5.5px; top: 0; width: 2px; height: 13px; }
.wacc__ic::after { top: 5.5px; left: 0; width: 13px; height: 2px; }
.wacc[open] .wacc__ic::before { opacity: 0; }
.wacc ul { list-style: none; padding: 0 0 1.1rem; margin: 0; columns: 2; column-gap: 1.6rem; }
.wacc li { position: relative; padding: 0.3rem 0 0.3rem 1.1rem; font-size: 0.92rem; color: var(--text-dark); break-inside: avoid; }
.wacc li::before { content: "·"; position: absolute; left: 0.25rem; color: var(--kupfer); }
@media (max-width: 760px) {
  .wpanel { grid-template-columns: 1fr; gap: 1.4rem; }
  .wtab { flex: 1 1 auto; text-align: center; padding: 0.85rem 0.7rem; font-size: 0.92rem; border-radius: 12px 4px 4px 12px; }
  .wtab__n { display: block; margin: 0 0 0.1rem; }
  .wacc ul { columns: 1; }
}
.atelier__3d { margin: 0; max-width: 920px; }
.atelier__3d img { width: 100%; height: auto; display: block; border: 1px solid rgba(182,138,85,0.35); background: #fff; }
.atelier__3d figcaption { margin-top: 0.75rem; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kupfer); }

/* ============================================================
   LAGE
   ============================================================ */
.lage { background: var(--bordeaux-deep); color: var(--text-on-dark); }
.lage__grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.lage__text .eyebrow { color: var(--kupfer-hell); }
.lage__text h2 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); color: var(--creme); margin-bottom: 1.6rem; }
.lage__text p { color: var(--text-on-dark-muted); margin-bottom: 1.1rem; max-width: 34rem; }
.lage__claim { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--kupfer-hell) !important; margin: 1.6rem 0 2rem !important; }

/* Lage – In unmittelbarer Umgebung + Abschluss */
.lage__around { margin-top: clamp(3rem, 6vw, 4.6rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(182,138,85,0.30); }
.lage__around .eyebrow { color: var(--kupfer-hell); margin-bottom: 1.9rem; }
.lage__strip { margin-top: clamp(3rem, 6vw, 4.6rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(182,138,85,0.30); }
.lage__strip .eyebrow { color: var(--kupfer-hell); margin-bottom: 1.6rem; }
.lage__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.8rem); }
.around-card { border-left: 1px solid rgba(182,138,85,0.28); padding-left: clamp(1rem, 1.6vw, 1.5rem); }
.around-card__tag { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kupfer-hell); }
.around-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); color: var(--creme); margin: 0.55rem 0 0.6rem; line-height: 1.05; }
.around-card p { color: var(--text-on-dark); font-size: 0.92rem; line-height: 1.62; margin: 0; }
.lage__walk { margin: clamp(1.9rem, 3vw, 2.6rem) 0 0; color: var(--text-on-dark); font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); max-width: 48rem; line-height: 1.5; }

.lage__closing { margin-top: clamp(3rem, 6vw, 4.6rem); padding-top: clamp(2.2rem, 4vw, 3.2rem); border-top: 1px solid rgba(182,138,85,0.30); max-width: 62rem; }
.lage__closing h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); color: var(--creme); line-height: 1.03; margin: 0 0 1.2rem; letter-spacing: -0.01em; }
.lage__closing p { color: var(--text-on-dark); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.7; margin: 0; max-width: 46rem; }
.lage__map {
  border: 1px solid rgba(182,138,85,0.3);
  background: linear-gradient(180deg, #f6f1e7, #ece3d2);
  padding: clamp(1rem, 2.5vw, 2rem);
}
.lage__map svg, .lage__map img { width: 100%; height: auto; display: block; border-radius: 3px; }
.owl-logo {
  display: block; width: -moz-fit-content; width: fit-content; margin: 1.6rem auto 0;
  background: rgba(244,239,230,0.96); border: 1px solid rgba(182,138,85,0.28);
  border-radius: 10px; padding: 0.75rem 1.15rem;
}
.owl-logo img { width: 300px; max-width: 72vw; height: auto; display: block; }
.owl-logo--impressum { background: none; border: none; padding: 0; margin: 0 0 2rem; }
.owl-logo--impressum img { width: 240px; max-width: 62%; }
.lage__legend { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; }
.lage__legend li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.82rem; color: var(--text-dark); padding: 0.35rem 0; }
.lage__legend svg { width: 22px; height: 22px; stroke: var(--bordeaux); flex: none; }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt { background: var(--anthrazit); color: var(--text-on-dark); }
.kontakt__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.kontakt__lead .eyebrow { color: var(--kupfer-hell); }
.kontakt__lead h2 { font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem); color: var(--creme); margin-bottom: 1.4rem; }
.kontakt__lead p { color: var(--text-on-dark-muted); max-width: 30rem; margin-bottom: 1rem; }
.kontakt__lead .sig { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--kupfer-hell); margin-top: 1.8rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kupfer-hell); }
.field label .req { color: var(--bordeaux); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--creme);
  background: rgba(242,237,227,0.04);
  border: 1px solid rgba(182,138,85,0.3);
  padding: 0.85rem 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--kupfer); background: rgba(242,237,227,0.07);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B68A55' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field select option { color: #171719; }
.consent { grid-column: 1 / -1; display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.82rem; color: var(--text-on-dark-muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bordeaux); flex: none; }
.consent a { color: var(--kupfer-hell); text-decoration: underline; text-underline-offset: 3px; }
.form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.form__msg { font-size: 0.85rem; color: var(--kupfer-hell); }
.form__msg[data-state="error"] { color: #e39aa4; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--anthrazit); color: var(--text-on-dark-muted); border-top: 1px solid rgba(182,138,85,0.16); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__brand svg { width: 150px; height: auto; margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.88rem; max-width: 24rem; }
.footer h4 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kupfer-hell); margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer a { font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--creme); }
.footer__bottom { border-top: 1px solid rgba(237,228,214,0.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.78rem; }
.footer__call { text-align: center; border-top: 1px solid rgba(182,138,85,0.22); padding: 2.2rem 0 1.8rem; }
.footer__call-label { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--creme); margin: 0 0 0.55rem; }
.footer__call-nums { font-family: var(--sans); font-weight: 600; font-size: clamp(1.65rem, 4.4vw, 2.2rem); letter-spacing: 0.02em; margin: 0; }
.footer__call-nums a { color: var(--kupfer-hell); text-decoration: none; transition: color 0.3s var(--ease); }
.footer__call-nums a:hover { color: var(--creme); }
.footer__call-sep { color: rgba(182,138,85,0.5); margin: 0 0.6rem; }
.footer__bottom a { text-decoration: none; }

/* ============================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal { background: var(--creme); min-height: 60vh; padding-block: clamp(6rem, 12vw, 9rem) var(--section-y); }
.legal__wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 3.6rem); margin-bottom: 0.6rem; }
.legal .lead { color: var(--text-muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.6rem; margin: 2.4rem 0 0.8rem; color: var(--bordeaux); }
.legal h3 { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; margin: 1.6rem 0 0.4rem; }
.legal p, .legal li { color: var(--text-dark); }
.legal .ph {
  display: inline-block; background: rgba(114,20,34,0.08); color: var(--bordeaux);
  border: 1px dashed rgba(114,20,34,0.4); padding: 0.1em 0.5em; border-radius: 2px;
  font-size: 0.92em; font-weight: 500;
}
.legal__back { margin-top: 3rem; }
.legal-note {
  margin-bottom: 2.5rem; padding: 1rem 1.2rem; border-left: 3px solid var(--kupfer);
  background: rgba(182,138,85,0.1); font-size: 0.9rem; color: var(--text-muted);
}

/* ============================================================
   Scroll-Reveal
   ============================================================ */
/* Nur wenn JS aktiv ist, werden Elemente zunächst ausgeblendet.
   Ohne JS (oder bei Fehlern) bleiben alle Inhalte sichtbar. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nav { transition: none; }
  .hero__slide { transition: none; }
  * { scroll-behavior: auto !important; }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--bordeaux); color: var(--creme); padding: 0.8rem 1.2rem;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .haus-duplex { grid-template-columns: 0.9fr 1.1fr; column-gap: clamp(1.4rem, 3vw, 2.6rem); }
  .haus-duplex__intro { grid-column: 1 / -1; max-width: 46rem; margin-bottom: 0.5rem; }
  .levels { justify-content: flex-start; gap: 1rem; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 2.4rem 0; }
  .feature + .feature::before { display: none; }
  .sanierung__grid, .lage__grid, .kontakt__grid { grid-template-columns: 1fr; }
  .lage__cards { grid-template-columns: 1fr; gap: 0; }
  .around-card { border-left: none; border-top: 1px solid rgba(182,138,85,0.24); padding: 1.3rem 0 0; }
  .around-card:first-child { border-top: none; padding-top: 0; }
  .units { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .detail--feature { grid-column: span 2; }
  .plaene__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { height: auto; align-items: flex-start; }
  .nav.is-open .nav__inner { flex-wrap: wrap; padding-bottom: 1.5rem; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
    width: 100%; order: 3; margin-top: 1rem;
  }
  .nav.is-open .nav__links a { padding: 0.7rem 0; width: 100%; font-size: 0.8rem; }
  .nav.is-open .nav__cta { display: inline-flex; order: 4; margin-top: 0.8rem; }
}

@media (max-width: 620px) {
  :root { --section-y: clamp(3.5rem, 12vw, 5rem); }
  .haus-duplex { grid-template-columns: 1fr; }
  .haus-duplex__art { max-width: 440px; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 0; }
  .feature:last-child { grid-column: 1 / -1; }
  .level { grid-template-columns: clamp(16px, 6vw, 30px) 1fr auto; }
  .level__media { width: 104px; height: 70px; }
  .units { grid-template-columns: 1fr; }
  .chapters, .lage__legend, .plaene__grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail--feature { grid-column: span 1; aspect-ratio: 16 / 9; }
  .detail picture { aspect-ratio: 3 / 2; }
  .form { grid-template-columns: 1fr; }
  .sanierung__figs { grid-template-columns: 1fr; }
  .hero__dot { width: 16px; }
  .hero__dot.is-active { width: 32px; }
}

.legal__stand { margin-top: 2.2rem; font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* ===== Wohnungs-Sektionen als einklappbare Accordions (weniger Scrollhöhe) ===== */
#atelier, #beletage, #office, #souterrain { padding-block: 0.55rem; }
#atelier { padding-top: clamp(1.8rem, 4vw, 3rem); }
#souterrain { padding-bottom: clamp(1.8rem, 4vw, 3rem); }
.unit-acc { border: 1px solid rgba(182,138,85,0.32); border-radius: 6px; overflow: hidden; box-shadow: 0 5px 16px rgba(59,12,18,0.07); }
.unit-acc__summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.9rem;
  padding: 1.15rem clamp(1.1rem, 3vw, 1.9rem); background: var(--bordeaux); color: #fff; transition: background 0.25s var(--ease); }
.unit-acc__summary::-webkit-details-marker { display: none; }
.unit-acc__summary:hover { background: #5e1019; }
.unit-acc[open] .unit-acc__summary { background: var(--bordeaux-deep); }
.unit-acc__lvl { font-family: var(--serif); font-style: italic; font-size: 1.55rem; color: var(--kupfer-hell); line-height: 1; }
.unit-acc__name { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.62rem); }
.unit-acc__hint { margin-left: auto; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.unit-acc__ic { position: relative; width: 18px; height: 18px; flex: none; margin-left: 0.6rem; }
.unit-acc__ic::before, .unit-acc__ic::after { content: ""; position: absolute; background: var(--kupfer-hell); border-radius: 2px; }
.unit-acc__ic::before { left: 0; right: 0; top: 8px; height: 2px; }
.unit-acc__ic::after { top: 0; bottom: 0; left: 8px; width: 2px; transition: transform 0.3s var(--ease); }
.unit-acc[open] .unit-acc__ic::after { transform: scaleY(0); }
.unit-acc__body { padding: clamp(1.8rem, 3.5vw, 2.8rem) clamp(1.1rem, 3vw, 1.9rem) clamp(1.3rem, 3vw, 2rem); }
@media (max-width: 620px) {
  .unit-acc__hint { display: none; }
  .unit-acc__lvl { font-size: 1.3rem; }
  .unit-acc__body { padding-left: 0.9rem; padding-right: 0.9rem; }
}

/* ===== Danke-/Bestätigungsseite ===== */
.danke-wrap { padding: clamp(4rem, 10vw, 7.5rem) 0; background: var(--creme); }
.danke { max-width: 40rem; margin: 0 auto; text-align: center; }
.danke__badge { display: inline-flex; width: 72px; height: 72px; margin-bottom: 1.3rem; }
.danke__badge svg { width: 72px; height: 72px; }
.danke h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.4rem); margin: 0.2rem 0 1rem; }
.danke__lead { font-size: 1.12rem; line-height: 1.6; color: var(--text-dark); margin: 0 auto 1.3rem; max-width: 34rem; }
.danke__note { color: var(--text-muted); margin: 0 0 0.5rem; }
.danke__phone { font-family: var(--sans); font-weight: 600; font-size: clamp(1.5rem, 4.5vw, 2rem); margin: 0 0 2rem; letter-spacing: 0.02em; }
.danke__phone a { color: var(--bordeaux); text-decoration: none; }
.danke__phone a:hover { color: var(--kupfer); }
.danke__phone span { color: rgba(182,138,85,0.55); margin: 0 0.55rem; }
.danke__back { margin-bottom: 2.5rem; }
.owl-logo--danke { background: none; border: none; padding: 0; margin: 2rem auto 0; }
.owl-logo--danke img { width: 220px; max-width: 60%; }

/* Honeypot (Spam-Schutz) – für Menschen unsichtbar */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Verkaufszweck-Hinweis im Footer */
.footer__purpose { margin-top: 0.9rem; font-size: 0.82rem; line-height: 1.55; color: var(--text-on-dark-muted); }
.footer__purpose a { color: var(--kupfer-hell); text-decoration: none; border-bottom: 1px solid rgba(182,138,85,0.4); }
.footer__purpose a:hover { color: var(--creme); }
