/* ============ Ausstattung – Benefits Section (wie Projekt) ============ */
.obj-benefits {
  background: #ffffff;
  background: var(--white);
  padding: max(2.5rem, min(8vw, 7.5rem)) 0;
}
.obj-benefits__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(5vw, 2.5rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: max(1.5rem, min(6vw, 6.25rem));
  gap: max(1.5rem, min(6vw, 6.25rem));
  align-items: center;
}

/* Linke Spalte */
.obj-benefits__left {
  display: grid;
  justify-items: center;
  text-align: center;
}
.obj-benefits__title {
  margin: 0 0 max(1.125rem, min(2.8vw, 1.75rem)) 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-family: "Juana", serif;
  font-weight: 800;
}
.obj-benefits__title span {
  display: inline-block;
  font-weight: 800;
  font-size: max(2.25rem, min(5vw, 3.75rem));
}
.obj-benefits__title em {
  display: inline-block;
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
  font-size: max(2.125rem, min(6vw, 4.875rem));
}
.obj-benefits__lead {
  max-width: 48ch;
  color: #2b2b2b;
  font-size: max(0.875rem, min(1.2vw, 1rem));
  line-height: 1.7;
  margin: 0;
  hyphens: auto;
}

/* Rechte Spalte: gelinierte Liste */
.obj-benefits__right {
  display: flex;
  justify-content: flex-start;
}
.obj-benefits__list {
  width: min(33.75rem, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}
.obj-benefits__list li {
  position: relative;
  padding: max(0.625rem, min(1.4vw, 0.875rem)) 0;
  font-size: max(0.875rem, min(1.2vw, 1rem));
  color: #222;
}
.obj-benefits__list li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
}
.obj-benefits__list::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
  margin-top: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .obj-benefits__inner {
    grid-template-columns: 1fr;
    gap: max(1.25rem, min(6vw, 2.5rem));
  }
  .obj-benefits__left {
    order: -1;
  }
  .obj-benefits__right {
    justify-content: center;
  }
  .obj-benefits__title span {
    font-size: max(2.125rem, min(9vw, 3.875rem));
  }
  .obj-benefits__title em {
    font-size: max(1.875rem, min(8.5vw, 3.625rem));
  }
}
/* ============ Vars ============ */
:root {
  --mint: #cfead9;
  --ink: #0f1012;
  --white: #ffffff;
  --topbar-h: 64px;
  --logo-vpad: 2px;
  --logo-scale: 3;
  --logo-offsetY: 0px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, sans-serif, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  color: #0f1012;
  color: var(--ink);
  background: #ffffff;
  background: var(--white);
}

/* ===== Juana einbinden (wie projekt.css) ===== */
@font-face {
  font-family: "Juana";
  src: url("../../assets/fonts/Juana-MediumIt.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ============ Topbar ============ */
.uu-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mint);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.uu-topbar__inner {
  height: var(--topbar-h);
  max-width: 90rem;
  margin: 0 auto;
  width: 100%;
  padding-left: max(0.375rem, min(2vw, 1rem));
  padding-right: max(1.5rem, min(6vw, 4.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.uu-topbar__brand {
  display: flex;
  align-items: center;
  height: var(--topbar-h);
}
.uu-topbar__brand img {
  height: max(8.75rem, min(4vw, 2.5rem));
  display: block;
  transform: translateY(9px);
}
.uu-topbar__nav {
  display: flex;
  align-items: center;
  gap: max(1.375rem, min(5vw, 3.5rem));
  margin-left: auto;
}
.uu-topbar__link {
  -webkit-text-decoration: none;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  height: var(--topbar-h);
  line-height: 1;
}
.uu-topbar__link:hover,
.uu-topbar__link:focus {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

/* Burger-Button wie auf Index (schwarze Balken) */
.uu-topbar__toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  margin-left: auto;
  cursor: pointer;
}
.uu-topbar__burger {
  display: block;
  width: 1.75rem;
  height: 0.125rem;
  background: #0f1012;
  position: relative;
}
.uu-topbar__burger::before,
.uu-topbar__burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: #0f1012;
}
.uu-topbar__burger::before {
  top: -0.45rem;
}
.uu-topbar__burger::after {
  top: 0.45rem;
}

/* ============ Hero (oben) – Grundlayout ============ */
.uu-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 3.5rem);
  min-height: calc(100vh - var(--topbar-h));
  background: #0a0b0d;
  overflow: hidden;
  perspective: 75rem; /* Tiefe für 3D */
}
.uu-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Standard: mit Gradient (falls woanders benötigt) */
  background:
    url("../../assets/assetss/img/haupt/23.1.webp") center center / cover
      no-repeat;
  transform-origin: bottom center; /* klappt von unten auf */
  transform: perspective(75rem) rotateX(0deg) scale(1);
  will-change: transform, opacity;
  z-index: -1;
}
.uu-hero__overlay {
  height: 100%;
  max-width: 82.5rem;
  margin: 0 auto;
  padding: max(1.5rem, min(4vw, 3rem));
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  text-align: center;
  color: #fff;
  transform: translateY(28vh);
}
@media (max-width: 600px) {
  .uu-hero__overlay {
    transform: translateY(20vh);
  }
}

/* ============ Heller Hero (ohne Abdunkelung) ============ */
.uu-hero--bright .uu-hero__bg {
  /* Nur das Bild, KEIN Gradient */
  background-image: url("../../assets/assetss/img/haupt/23.1.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important; /* volle Helligkeit */
}
/* Lesbarkeit der Texte optional verbessern, ohne Bild zu verdunkeln */
.uu-hero--bright .uu-hero__overlay {
  text-shadow: 0 0.125rem 1.125rem rgba(0, 0, 0, 0.35);
}

/* Optional: Typo, falls du später Headlines einfügst */
.uu-hero__title {
  margin: 0 0 0.625rem 0;
  line-height: 1;
  letter-spacing: -0.02em;
}
.uu-hero__title-sans {
  font-weight: 800;
  font-size: max(2.625rem, min(9vw, 6.875rem));
}
.uu-hero__title-serif {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: max(2.625rem, min(9vw, 6.875rem));
  margin-left: 0.08em;
}
.uu-hero__kicker {
  margin: 0.5rem 0 0 0;
  font-size: max(0.625rem, min(1.6vw, 0.75rem));
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 800;
}

/* ============ Bottom-Hero (u_live) ============ */
:root {
  --hero-fill: #000000; /* Rand-/Füllfarbe */
}

.uu-hero--bottom {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: #000000;
  background: var(--hero-fill);
  overflow: hidden;
  perspective: 75rem;
}

/* WICHTIG: diese Regel NACH der generischen .uu-hero__bg-Regel platzieren! */
.uu-hero--bottom .uu-hero__bg,
.uu-hero__bg.uu-hero__bg--bottom {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* generisches Overlay sicher außer Kraft setzen */
  background-image: url("../../assets/assetss/img/u/stay.webp") !important;
  background-size: contain !important; /* nichts beschneiden */
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #c8e4ce !important;
  opacity: 1 !important;

  transform-origin: top center;
  transform: perspective(75rem) rotateX(0deg) scale(1);
  will-change: transform;
  z-index: -1;
}

/* Footer (unverändert) */
.uu-footer {
  position: relative;
  background: #000;
  color: #fff;
  margin-top: -3.75rem;
  padding: 2.5rem 1.25rem;
  z-index: 2;
  text-align: center;
}
.uu-footer__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.uu-footer__link {
  color: rgba(255, 255, 255, 0.98);
  text-decoration: none;
}
.uu-footer__link:hover,
.uu-footer__link:focus {
  text-decoration: underline;
}
.uu-footer__link:visited {
  color: rgba(255, 255, 255, 0.98);
}

/* ========================
   Objekt: Lead / Slogan
======================== */
.obj-lead {
  background: #fff; /* Hintergrund Weiß */
  padding: max(2rem, min(7vw, 4.5rem)) 0; /* großzügiges Padding */
}

.obj-lead__text {
  margin: 0;
  text-align: center; /* Zentrierter Block */
  color: #000; /* Schwarzer Text */
  font-family: "Montserrat", sans-serif; /* Basis: Montserrat */
  font-weight: 800; /* fett als Standard */
  font-size: clamp(22px, 3.6vw, 38px); /* gleiche Dynamik wie Lead */
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 32ch; /* angenehme Zeilenbreite */
  margin-left: auto;
  margin-right: auto; /* in der Mitte */
}

/* Kursiv (leichter) */
.obj-lead__text em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}

/* Typing Effekt (wie in projekt.css) */
.type-on-scroll .word {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.type-on-scroll.started .word.visible {
  opacity: 1;
}

/* Optional: stark betonte Wörter (falls <strong>) */
.obj-lead__text strong {
  font-weight: 800;
}

/* =========================
   Objekt About Section
========================= */
.obj-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  width: 100%;
  margin-top: 0;
}

.obj-about__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.obj-about__content {
  background: #f9f4ba; /* deine Farbe */
  color: #0f1012;
  padding: max(2rem, min(6vw, 4rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.obj-about__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: max(2.25rem, min(5vw, 3.75rem));
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
}

.obj-about__title span {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
  font-size: inherit;
}

.obj-about__text {
  font-size: max(0.9375rem, min(1.2vw, 1.0625rem));
  line-height: 1.7;
  max-width: 62ch;
}

.obj-about__text p {
  margin: 0 0 1rem 0;
}

/* Einheitliche Kursivdarstellung im Fließtext */
.obj-about__text em,
.obj-benefits__lead em {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 900px) {
  .obj-about {
    grid-template-columns: 1fr;
  }
  .obj-about__image img {
    height: auto;
  }
  .obj-about__content {
    align-items: center;
    text-align: center;
  }
}

/* =========================
   Objekt Gallery – 4 Bilder nebeneinander
========================= */
.obj-gallery {
  background: #fff;
  padding: max(1.5rem, min(5vw, 3.75rem)) 0;
}

.obj-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(4vw, 2.5rem));
}

.obj-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.obj-gallery__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.obj-gallery__item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .obj-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .obj-gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Objekt: Auto-Slider (3 Bilder)
========================= */
.obj-slider {
  position: relative;
  width: 100vw; /* volle Seitenbreite */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  overflow: hidden; /* kein horizontales Scrollen */
}
.obj-slider__viewport {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  max-height: 90vh;
  overflow: hidden;
}
.obj-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.obj-slider__slide.is-active {
  opacity: 1;
}
.obj-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* nie beschneiden; ggf. Letterboxing */
  object-position: center;
  display: block;
}

/* Slider Controls */
.obj-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
}
.obj-slider__btn--prev { left: 0.5rem; }
.obj-slider__btn--next { right: 0.5rem; }
.obj-slider__btn:focus { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 740px) {
  .obj-slider__viewport {
    aspect-ratio: 16 / 9; /* Mobile: kein Cropping bei 16:9-Motiven */
  }
  .obj-slider__slide img {
    object-fit: contain; /* redundant, für Klarheit belassen */
  }
}

/* =========================
   Objekt Featurebar (7 Items)
========================= */
.obj-featurebar {
  margin: max(1.5rem, min(5vw, 3.75rem)) 0; /* Abstand oben & unten */
}
.obj-featurebar--cream {
  background: #f9f4ba;
  padding: max(1.125rem, min(4vw, 2.25rem)) 0;
}
.obj-featurebar__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(5vw, 2.5rem));

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: max(1.125rem, min(4vw, 3.25rem));
}
.obj-featurebar__item {
  display: grid;
  justify-items: center;
  align-items: center;
  grid-gap: 0.625rem;
  gap: 0.625rem;
  min-width: 7.5rem;
  text-align: center;
}
.obj-featurebar__icon {
  width: max(2.5rem, min(7vw, 3.75rem));
  height: max(2.5rem, min(7vw, 3.75rem));
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
}
.obj-featurebar__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 16, 18, 0.78);
  white-space: nowrap;
}

/* Icon-Grundstil (CSS-Masken) */
.obj-featurebar .i {
  width: max(2.125rem, min(5vw, 3.375rem));
  height: max(2.125rem, min(5vw, 3.375rem));
  background: rgba(15, 16, 18, 0.65);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* =========================
     Einfache, leichte SVG-Icons
     (Data-URI Masken)
  ========================= */

/* Sofa (Möblierung) */
.i-sofa {
  -webkit-mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M4 10a3 3 0 0 1 6 0h4a3 3 0 0 1 6 0v5H4v-5zm0 7h16v2H4v-2z"/>\
    </svg>');
  mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M4 10a3 3 0 0 1 6 0h4a3 3 0 0 1 6 0v5H4v-5zm0 7h16v2H4v-2z"/>\
    </svg>');
}

/* Thermometer (Komfort) */
.i-thermo {
  -webkit-mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M11 5a2 2 0 1 1 2 0v7.1a4 4 0 1 1-2 0V5z"/>\
    </svg>');
  mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M11 5a2 2 0 1 1 2 0v7.1a4 4 0 1 1-2 0V5z"/>\
    </svg>');
}

/* Smartphone + Schloss (Smart) */
.i-smartlock {
  -webkit-mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm5 3h1v2h-1V5zm-2 8h6v4H10v-4zm1-1v-1a2 2 0 1 1 4 0v1h-1v-1a1 1 0 1 0-2 0v1h-1z"/>\
    </svg>');
  mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm5 3h1v2h-1V5zm-2 8h6v4H10v-4zm1-1v-1a2 2 0 1 1 4 0v1h-1v-1a1 1 0 1 0-2 0v1h-1z"/>\
    </svg>');
}

/* Aufzug / Barrierearm */
.i-elevator {
  -webkit-mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M5 3h14v18H5V3zm3 3h3v12H8V6zm5 0h3v12h-3V6z"/>\
    </svg>');
  mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M5 3h14v18H5V3zm3 3h3v12H8V6zm5 0h3v12h-3V6z"/>\
    </svg>');
}

/* Baum (Freiraum) */
.i-outdoor {
  -webkit-mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M12 2l5 7h-3l4 6h-4l2 3H8l2-3H6l4-6H7l5-7z"/>\
    </svg>');
  mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M12 2l5 7h-3l4 6h-4l2 3H8l2-3H6l4-6H7l5-7z"/>\
    </svg>');
}

/* Sonne + Blatt (Nachhaltig) */
.i-solarleaf {
  -webkit-mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M12 4l1.5 2.5L16 8l-2.5 1.5L12 12l-1.5-2.5L8 8l2.5-1.5L12 4zM17 12c-3 0-5 2-5 5 3 0 5-2 5-5z"/>\
    </svg>');
  mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M12 4l1.5 2.5L16 8l-2.5 1.5L12 12l-1.5-2.5L8 8l2.5-1.5L12 4zM17 12c-3 0-5 2-5 5 3 0 5-2 5-5z"/>\
    </svg>');
}

/* Stecker (Infrastruktur: Glasfaser/E-Mobility vorbereitet) */
.i-plug {
  -webkit-mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M7 2h2v5H7V2zm8 0h2v5h-2V2zM6 9h12v3a6 6 0 1 1-12 0V9z"/>\
    </svg>');
  mask-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
      <path d="M7 2h2v5H7V2zm8 0h2v5h-2V2zM6 9h12v3a6 6 0 1 1-12 0V9z"/>\
    </svg>');
}

/* Responsive: etwas enger zusammenrücken */
@media (max-width: 900px) {
  .obj-featurebar__item {
    min-width: 6.875rem;
  }
  .obj-featurebar__label {
    letter-spacing: 0.12em;
    font-size: 0.6875rem;
  }
}
@media (max-width: 600px) {
  .obj-featurebar__inner {
    justify-content: center;
  }
}

/* ============ Objekt-Spruch / Quote ============ */
.obj-quote {
  background: #ffffff;
  background: var(--white);
  padding: max(2.25rem, min(10vw, 7.5rem)) 0;
}

.obj-quote__title {
  max-width: 56.25rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(6vw, 2.5rem));
  font-family: "Juana", serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: #0f1012;
  color: var(--ink);
  text-align: center;
  font-size: max(1.375rem, min(3.8vw, 2.5rem));
  white-space: nowrap; /* genau 3 Zeilen, nur an <br> */
}

.obj-quote__title em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}

.obj-quote__title strong {
  font-weight: 900;
}

/* Responsive Feinschliff */
@media (min-width: 1200px) {
  .obj-quote__title {
    line-height: 1.1;
  }
}
@media (max-width: 520px) {
  .obj-quote__title {
    font-size: max(1.5rem, min(8vw, 2.375rem));
  }
}

/* ===== Base Layout für alle Splits ===== */
.uu-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0;
  gap: 0;
  width: 100%;
  min-height: 26.25rem;
}

.uu-split__item {
  margin: 0; /* entfernt Default-Margins des figure-Elements */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.uu-split__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover; /* füllt den Bereich ohne Lücken */
  display: block; /* entfernt Inline-Gap */
}

/* ===== Hintergrund-Farben je Section ===== */
.uu-split--mint .uu-split__item {
  background: #c3dcdf; /* Mintgrün */
}

.uu-split--beige .uu-split__item {
  background: #f7f4b9; /* Beige */
}

.uu-split--gray .uu-split__item {
  background: #c8e3ce; /* Beispiel Grau */
}

/* Abstand zwischen Sektionen */
.uu-split + .uu-split {
  margin-top: 0;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .uu-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .uu-split__item img {
    height: auto;
    max-height: 30rem;
  }
}

/* ===== Grundriss-CTA ===== */
.obj-floorplans {
  background: #ffffff;
  background: var(--white);
  padding: max(2rem, min(6vw, 4.5rem)) 1.25rem;
}

.obj-floorplans__inner {
  max-width: 50rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.04);
  padding: max(1.5rem, min(4vw, 2rem));
  text-align: center;
}

.obj-floorplans__title {
  font-family: "Juana", serif;
  font-size: max(2.25rem, min(5vw, 3.75rem));
  font-weight: 800;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

.obj-floorplans__text {
  font-size: max(0.9375rem, min(1.2vw, 1.0625rem));
  margin: 0 0 1.25rem 0;
  color: #2b2b2b;
}

/* ===== Responsive Topbar (wie projekt.css) ===== */
@media (max-width: 860px) {
  :root {
    --topbar-h: 56px;
    --logo-offsetY: 8px;
  }
  .uu-topbar__toggle {
    display: block;
  }
  .uu-topbar__inner {
    height: auto;
    padding-bottom: 0;
    flex-wrap: nowrap;
    row-gap: 0;
  }
  .uu-topbar__brand {
    height: var(--topbar-h);
  }
  .uu-topbar__brand img {
    height: calc(var(--topbar-h) - 2 * var(--logo-vpad));
    transform: translateY(var(--logo-offsetY)) scale(var(--logo-scale));
    transform-origin: left center;
  }
  .uu-topbar__nav {
    position: absolute;
    top: var(--topbar-h);
    right: 0;
    left: 0;
    background: #fff;
    padding: 0.75rem 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    z-index: 49;
  }
  .uu-topbar__nav.is-open {
    display: flex;
  }
  .uu-topbar__link {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
  }
}

.btn-floorplans {
  display: inline-block;
  padding: 0.875rem 2.125rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.5rem;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #0f1012;
  background: #cfead9;
  color: #0f1012;
  font-weight: 800;
}
.btn-floorplans:hover {
  background: #333;
  transform: translateY(-0.125rem);
  
}

/* ===== HERO Z-INDEX FIX (oben & unten) ===== */
.uu-hero {
  position: relative;
  isolation: isolate;
  z-index: 0;
}
.uu-hero__bg {
  z-index: 0;
} /* nicht negativ */
.uu-hero__overlay {
  position: relative;
  z-index: 1;
}

.uu-hero--bottom {
  position: relative;
  isolation: isolate;
  z-index: 1;
}
.uu-hero__bg--bottom {
  z-index: 0;
} /* nicht negativ */

/* ===== Ausstattung / Auf einen Blick ===== */
.obj-specs {
  position: relative; /* eigener Stapelkontext */
  z-index: 2; /* über dem Bottom-Hero */
  background: #fff;
  color: #0f1012;
  overflow: visible;
}
.obj-specs.is-hidden {
  display: none;
}

.obj-specs__inner {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: max(1.75rem, min(6vw, 5rem)) max(1rem, min(6vw, 2.5rem));
}

/* Zweispaltiges Layout wie im Projekt */
.obj-amenities {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: max(1.25rem, min(4vw, 2.5rem));
  align-items: start;
}

.obj-amenities__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: max(0.9375rem, min(1.2vw, 1.0625rem));
  line-height: 1.7;
}
.obj-amenities__list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 0.5rem 0;
}
.obj-amenities__list li::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  opacity: 0.85;
  flex: 0 0 1.25rem;
}

@media (max-width: 900px) {
  .obj-amenities {
    grid-template-columns: 1fr;
  }
}

.obj-specs__title {
  margin: 0 0 0.35em 0;
  font-family: "Juana", serif;
  font-weight: 800;
  font-size: max(1.625rem, min(4.4vw, 3rem));
}
.obj-specs__intro {
  margin: 0;
  line-height: 1.75;
  font-size: max(0.9375rem, min(1.15vw, 1rem));
  color: #1d1d1d;
  max-width: 72ch;
}
.obj-specs__sub {
  margin: max(1.5rem, min(3vw, 2.25rem)) 0 0.75rem 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: max(1.5rem, min(3.8vw, 2.5rem));
}
.obj-specs__sub em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}

/* Tabelle */
.obj-specs__table {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.obj-specs__table .row {
  display: grid;
  grid-template-columns: 17.5rem 1fr;
}
.obj-specs__table .row:nth-child(odd) .cell {
  background: #f3f3f3;
}
.obj-specs__table .row:nth-child(even) .cell {
  background: #fafafa;
}
.obj-specs__table .cell {
  padding: 0.75rem 0.875rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.obj-specs__table .cell--label {
  font-weight: 800;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

/* Besonderheiten als Grid */
.row--features .cell {
  background: #fff !important;
}
.obj-specs__features {
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.5rem 1.25rem;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 860px) {
  .obj-specs__table .row {
    grid-template-columns: 1fr;
  }
  .obj-specs__table .cell--label {
    border-right: none;
  }
  .obj-specs__features {
    grid-template-columns: 1fr;
  }
}

/* Abschlussbild – Full-bleed ohne Überlappung */
.obj-specs__image {
  margin: max(1.75rem, min(6vw, 3.5rem)) 0 max(3.75rem, min(12vw, 7.5rem)) 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.obj-specs__image img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

/* Abschlussbild: Bildunterschrift mit sanfter Horizontalbewegung */
.obj-specs__image figcaption {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
  animation: caption-sway 3.6s ease-in-out infinite;
  will-change: transform;
}

@keyframes caption-sway {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(6px);
  }
  50% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(-6px);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .obj-specs__image figcaption {
    animation: none;
  }
}
