/* ============ Vars ============ */
:root {
  --mint: #cfead9;
  --ink: #0f1012;
  --white: #ffffff;
  --topbar-h: 3.5rem;
  --hero-fill: #000000;
  /* Prozent-Wert 0–100 */
  --hero-darkness: 40;
}

* {
  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: var(--ink);
  background: var(--white);
}

/* ===== Juana einbinden ===== */
@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;
  left: 0;
  right: 0;
  z-index: 2000;
  transform: translateZ(0);
  isolation: isolate;
  background: var(--mint);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.uu-topbar__inner {
  height: var(--topbar-h);
  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;
  max-width: 90rem;
  margin: 0 auto;
  width: 100%;
  background: transparent;
}
.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;
  background: transparent; /* Desktop: kein Weiß */
}
.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: var(--ink);
  position: relative;
}
.uu-topbar__burger::before,
.uu-topbar__burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: var(--ink);
}
.uu-topbar__burger::before {
  top: -0.45rem;
}
.uu-topbar__burger::after {
  top: 0.45rem;
}
.uu-topbar__link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
}
.uu-topbar__link:hover,
.uu-topbar__link:focus {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

/* ============ Hero ============ */
.uu-hero {
  position: relative;
  isolation: isolate;
  z-index: 0;
  min-height: calc(100vh - var(--topbar-h));
  background: #0a0b0d;
  overflow: hidden;
  perspective: 75rem;
}
.uu-hero__bg {
  position: absolute;
  inset: 0;
  transform-origin: bottom center;
  transform: perspective(75rem) rotateX(0deg) scale(1);
  will-change: transform;
  z-index: -1;
}

.uu-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Alpha aus Prozent berechnen */
  background: rgba(0, 0, 0, calc(var(--hero-darkness, 40) / 100));
  pointer-events: none;
}

.uu-hero__bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive Video für kleinere Bildschirme */
@media (max-width: 768px) {
  .uu-hero__bg video {
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 480px) {
  .uu-hero__bg video {
    object-fit: contain;
    object-position: center;
    min-height: 100%;
    min-width: 100%;
  }
}

/* Für sehr kleine Bildschirme (Handys im Querformat) */
@media (max-width: 768px) and (orientation: landscape) {
  .uu-hero__bg video {
    object-fit: cover;
    object-position: center;
  }
}
/* Top-Hero: Effekt deaktivieren (Bild bleibt), Bottom-Hero unberührt */
.uu-hero:not(.uu-hero--bottom) .uu-hero__bg {
  transform: none !important;
  opacity: 1 !important;
}
.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: var(--white);
  transform: translateY(40vh);
}
.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__logo {
  display: block;
  width: max(12rem, min(38vw, 28rem));
  height: auto;
}
.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: 550;
}

/* Hero darkness is controlled via --hero-darkness (0–100%) */

/* ============ Lead Section ============ */
.uu-lead {
  background: var(--white);
  padding: clamp(60px, 10vw, 140px) 20px;
  text-align: center;
}
.uu-lead__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.uu-lead__text {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.uu-lead__text em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}

/* ===== Typing on scroll (word-by-word) ===== */
.type-on-scroll .word {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.type-on-scroll.started .word.visible {
  opacity: 1;
}

.uu-section {
  height: 80vh;
}

@media (prefers-reduced-motion: reduce) {
  .uu-hero__bg {
    transition: none;
  }
}
@media (max-width: 600px) {
  .uu-hero__overlay {
    transform: translateY(24vh);
  }
  .uu-hero__bg {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
      url("../../assets/assetss/img/haupt/hauptbild.webp") center/cover
        no-repeat !important;
  }
}

/* ============ About Section ============ */
.uu-about {
  background: var(--white);
  padding: max(2.5rem, min(6vw, 6.25rem)) 0;
}
.uu-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(1.5rem, min(4vw, 3.75rem));
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(5vw, 2.5rem));
  align-items: center;
}
.uu-about__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.15);
}
.uu-about__content {
  color: var(--ink);
}
.uu-about__title {
  font-size: max(2rem, min(4vw, 3.25rem));
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
}
.uu-about__title span:first-child {
  color: var(--mint);
}
.uu-about__text {
  font-size: max(1rem, min(1.3vw, 1.125rem));
  line-height: 1.6;
  margin: 0 0 1.125rem 0;
  color: #333;
}
@media (max-width: 900px) {
  .uu-about__inner {
    grid-template-columns: 1fr;
  }
  .uu-about__image {
    order: -1;
  }
}

/* ============ About Full-Width Section ============ */
.uu-about-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 80vh;
}
.uu-about-full__image {
  width: 100%;
  height: 100%;
}
.uu-about-full__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.uu-about-full__box {
  background: var(--mint);
  color: var(--ink);
  padding: max(2rem, min(6vw, 4rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: max(0.75rem, min(2.5vh, 1.75rem));
}
.uu-about-full__title {
  font-family: "Juana", serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-size: max(2.25rem, min(5vw, 3.75rem));
  margin: 0;
}
.uu-about-full__title .uu-title-sans {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: inherit;
  line-height: 1.2;
  display: inline-block;
}
.uu-about-full__title .uu-title-light {
  font-style: italic;
  font-weight: 500;
  font-size: inherit;
  line-height: 1.2;
  display: inline-block;
}
.uu-about-full__body {
  max-width: 62ch;
  line-height: 1.7;
  hyphens: auto;
  word-wrap: anywhere;
}
.uu-about-full__body p {
  font-size: max(0.875rem, min(1.2vw, 1rem));
  margin: 0;
  color: #1a1a1a;
}
.uu-about-full__body em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}
/* Override: plain Montserrat for selected emphasis words */
.uu-about-full__body em.uu-plain-sans,
.uu-benefits__lead em.uu-plain-sans,
.uu-sustain__lead em.uu-plain-sans {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 400;
}
.uu-about-full__body p + p {
  margin-top: max(0.625rem, min(1.2vw, 0.875rem));
}
@media (max-width: 900px) {
  .uu-about-full {
    grid-template-columns: 1fr;
  }
  .uu-about-full__image img {
    height: auto;
  }
  .uu-about-full__box {
    align-items: center;
    text-align: center;
  }
  .uu-about-full__body {
    max-width: 65ch;
  }
}

/* ============ Facts Section ============ */
.uu-facts {
  background: var(--white);
  padding: max(2.25rem, min(7vw, 5.5rem)) 0;
}
.uu-facts__inner {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(5vw, 2.5rem));
}
.uu-facts__title {
  margin: 0 0 max(1.25rem, min(4vw, 2.25rem)) 0;
  font-family: "Juana", serif;
  font-weight: 800;
  font-size: max(2.25rem, min(5vw, 3.75rem));
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--ink);
}
.uu-facts__title .uu-title-sans {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: inherit;
  line-height: 1.05;
  display: inline-block;
}
.uu-facts__title em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
  font-size: inherit;
  line-height: 1.05;
  display: inline-block;
}
.uu-facts__grid {
  display: grid;
  grid-auto-rows: minmax(3rem, auto);
  row-gap: 0.625rem;
}
.uu-facts__row {
  display: grid;
  grid-template-columns: 18.75rem 1fr;
  align-items: stretch;
  width: 100%;
  border-radius: 0.25rem;
  overflow: hidden;
}
.uu-facts__row .uu-facts__label,
.uu-facts__row .uu-facts__value {
  background: #efefef;
}
.uu-facts__row:nth-child(even) .uu-facts__label,
.uu-facts__row:nth-child(even) .uu-facts__value {
  background: #f5f5f5;
}
.uu-facts__label {
  font-weight: 800;
  padding: 0.75rem 0.875rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.uu-facts__value {
  padding: 0.75rem 1rem;
}
.uu-facts__row--features .uu-facts__value {
  padding-top: max(0.875rem, min(2vw, 1.25rem));
  padding-bottom: max(0.875rem, min(2vw, 1.25rem));
}
.uu-facts__features {
  --gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap) max(0.75rem, min(3vw, 1.75rem));
}
@media (max-width: 800px) {
  .uu-facts__features {
    grid-template-columns: 1fr;
  }
}
.uu-facts__features li {
  display: grid;
  grid-template-columns: 1.375rem 1fr;
  align-items: start;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

/* einfache Icon-Masken */
.i {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  background: #2b2b2b;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  margin-top: 0.125rem;
}
.i-bolt {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 2 3 14h6l-1 8 10-12h-6l1-8z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 2 3 14h6l-1 8 10-12h-6l1-8z"/></svg>');
}
.i-roof {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 12 12 4l9 8-1.5 1.8L12 7 4.5 13.8 3 12z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 12 12 4l9 8-1.5 1.8L12 7 4.5 13.8 3 12z"/></svg>');
}
.i-solar {
  -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 10h16l-2 8H6l-2-8zm3-6h10v2H7V4zm12 5H5l1 4h12l1-4z"/></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 10h16l-2 8H6l-2-8zm3-6h10v2H7V4zm12 5H5l1 4h12l1-4z"/></svg>');
}
.i-heat {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 3s5 4 5 9a6 6 0 1 1-12 0c0-2.5 1.5-5 4-7 0 0-1 3 1 5 2 2 4-1 2-3 0 0 0-2 0-4z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 3s5 4 5 9a6 6 0 1 1-12 0c0-2.5 1.5-5 4-7 0 0-1 3 1 5 2 2 4-1 2-3 0 0 0-2 0-4z"/></svg>');
}
.i-access {
  -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 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4zm-6 6h12v2h-5v8h-2v-8H6v-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="M12 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4zm-6 6h12v2h-5v8h-2v-8H6v-2z"/></svg>');
}
.i-wifi {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 8a16 16 0 0 1 20 0l-1.6 1.2a13.6 13.6 0 0 0-16.8 0L2 8zm3.5 4a10 10 0 0 1 13 0L17.9 13a8 8 0 0 0-11.8 0L5.5 12zm4 4a4 4 0 0 1 5 0l-1.5 1.2a2 2 0 0 0-2 0L9.5 16z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 8a16 16 0 0 1 20 0l-1.6 1.2a13.6 13.6 0 0 0-16.8 0L2 8zm3.5 4a10 10 0 0 1 13 0L17.9 13a8 8 0 0 0-11.8 0L5.5 12zm4 4a4 4 0 0 1 5 0l-1.5 1.2a2 2 0 0 0-2 0L9.5 16z"/></svg>');
}
/* Missing masks for index icons */
.i-park {
  -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 20v-2h5v-6H6V4h7a5 5 0 0 1 0 10h-2v6h6v2H4zm7-8h2a3 3 0 0 0 0-6h-2v6z"/></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 20v-2h5v-6H6V4h7a5 5 0 0 1 0 10h-2v6h6v2H4zm7-8h2a3 3 0 0 0 0-6h-2v6z"/></svg>');
}
.i-fitness {
  -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 10h2v4H4v-4zm14 0h2v4h-2v-4zM8 9h2v6H8V9zm6 0h2v6h-2V9zM6 11h12v2H6v-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 10h2v4H4v-4zm14 0h2v4h-2v-4zM8 9h2v6H8V9zm6 0h2v6h-2V9zM6 11h12v2H6v-2z"/></svg>');
}
.i-parcel {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 7l9-4 9 4v10l-9 4-9-4V7zm9-2.5L6.5 7.3 12 9.8l5.5-2.5L12 4.5zm-7 5L11 12v6l-7-3v-5.5zm9 11l7-3v-6l-7 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="M3 7l9-4 9 4v10l-9 4-9-4V7zm9-2.5L6.5 7.3 12 9.8l5.5-2.5L12 4.5zm-7 5L11 12v6l-7-3v-5.5zm9 11l7-3v-6l-7 3v6z"/></svg>');
}

@media (max-width: 900px) {
  .uu-facts__row {
    grid-template-columns: 1fr;
  }
  .uu-facts__label {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
}

/* ============ Featurebar ============ */
.uu-featurebar {
  background: var(--mint);
  padding: max(0.75rem, min(3vw, 1.5rem)) 0;
}
.uu-featurebar__inner {
  max-width: 139.5rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(5vw, 2.5rem));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.uu-featurebar__item {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 0.5rem;
  min-width: clamp(5rem, 12vw, 7.5rem);
  padding: 0.5rem 0.375rem;
}
.uu-featurebar__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 16, 18, 0.75);
  white-space: nowrap;
}
.uu-featurebar__icon {
  width: clamp(1.75rem, 5.5vw, 2.75rem);
  height: auto;
  display: block;
  object-fit: contain;
}

/* weitere Masken (gekürzt – deine vorhandenen sind okay) */
.uu-featurebar .i-energy {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="black"/><path d="M13 3L5 13h5l-1 8 8-10h-5l1-8z" fill="white"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="black"/><path d="M13 3L5 13h5l-1 8 8-10h-5l1-8z" fill="white"/></svg>');
}

@media (max-width: 900px) {
  .uu-featurebar__item {
    min-width: 6rem;
    gap: 0.5rem;
  }
  .uu-featurebar__icon {
    width: clamp(1.75rem, 6vw, 2.5rem);
  }
}
@media (max-width: 600px) {
  .uu-featurebar__inner {
    justify-content: flex-start;
  }
  .uu-featurebar__item {
    min-width: 5.5rem;
    gap: 0.375rem;
  }
  .uu-featurebar__icon {
    width: clamp(1.5rem, 7.5vw, 2.25rem);
  }
  .uu-featurebar__label {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }
}
@media (max-width: 420px) {
  .uu-featurebar__item {
    min-width: 5rem;
  }
  .uu-featurebar__icon {
    width: clamp(1.375rem, 8vw, 2rem);
  }
}

/* ============ Quartier – Benefits ============ */
.uu-benefits {
  background: var(--white);
  padding: max(2.5rem, min(8vw, 7.5rem)) 0;
}
.uu-benefits__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(5vw, 2.5rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(1.5rem, min(6vw, 6.25rem));
  align-items: center;
}
.uu-benefits__left {
  display: grid;
  justify-items: center;
  text-align: center;
}
.uu-benefits__title {
  margin: 0 0 max(1.125rem, min(2.8vw, 1.75rem)) 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: max(2.25rem, min(5vw, 3.75rem));
}
.uu-benefits__title span {
  display: inline-block;
  font-weight: 800;
  font-size: inherit;
  font-family: "Montserrat", sans-serif;
}
.uu-benefits__title em {
  display: inline-block;
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
  font-size: inherit;
}
.uu-benefits__lead {
  max-width: 48ch;
  color: #2b2b2b;
  font-size: max(0.875rem, min(1.2vw, 1rem));
  line-height: 1.7;
  margin: 0;
  hyphens: auto;
}
.uu-benefits__lead em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}
.uu-benefits__right {
  display: flex;
  justify-content: flex-start;
}
.uu-benefits__list {
  width: min(33.75rem, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}
.uu-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;
}
.uu-benefits__list li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
}
.uu-benefits__list::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
  margin-top: 0;
}
.uu-benefits__list li:hover {
  color: #000;
}
@media (max-width: 900px) {
  .uu-benefits__inner {
    grid-template-columns: 1fr;
    gap: max(1.25rem, min(6vw, 2.5rem));
  }
  .uu-benefits__left {
    order: -1;
  }
  .uu-benefits__right {
    justify-content: center;
  }
  .uu-benefits__title span {
    font-size: inherit;
  }
  .uu-benefits__title em {
    font-size: inherit;
  }
}

/* ===== Fullwidth Image Section ===== */
.fullwidth-image {
  width: 100%;
  overflow: hidden;
}
.fullwidth-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ Typo-Quote Section ============ */
.uu-hero-quote {
  background: var(--white);
  padding: max(1.25rem, min(8vw, 6rem)) 0;
}
.uu-hero-quote__inner {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(6vw, 2.5rem));
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  text-align: center;
}
.uu-hero-quote__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
  font-size: clamp(1rem, 3.6vw, 2.5rem);
  white-space: nowrap;
}
.uu-hero-quote__title em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}
@media (min-width: 1200px) {
  .uu-hero-quote__title {
    line-height: 1.08;
  }
}
@media (max-width: 520px) {
  .uu-hero-quote {
    padding: max(0.75rem, min(6vw, 2rem)) 0;
  }
  .uu-hero-quote__title {
    font-size: clamp(0.95rem, 4.6vw, 1.375rem);
  }
}
@media (max-width: 480px) {
  .uu-hero-quote {
    padding: max(0.75rem, min(5vw, 1.5rem)) 0;
  }
  .uu-hero-quote__inner {
    padding: 0 1rem;
  }
  .uu-hero-quote__title {
    font-size: clamp(0.95rem, 4.2vw, 1.5rem);
  }
}
@media (max-width: 400px) {
  .uu-hero-quote__title {
    font-size: clamp(0.875rem, 4vw, 1.25rem);
    letter-spacing: 0;
  }
}
@media (max-width: 360px) {
  .uu-hero-quote__title {
    white-space: normal;
    line-height: 1.15;
    font-size: clamp(0.8rem, 3.9vw, 1.125rem);
  }
}

/* ============ Nachhaltiges Bauen ============ */
.uu-sustain {
  background: var(--white);
}
.uu-sustain__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 68vh;
}
.uu-sustain__image {
  margin: 0;
  overflow: hidden;
}
.uu-sustain__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uu-sustain__panel {
  background: var(--mint);
  display: flex;
  align-items: stretch;
}
.uu-sustain__inner {
  width: 100%;
  max-width: 48.75rem;
  margin-left: max(1.5rem, min(6vw, 5rem));
  margin-right: max(1rem, min(5vw, 3rem));
  padding-top: max(2rem, min(7vw, 5.5rem));
  padding-bottom: max(2rem, min(7vw, 5.5rem));
}
.uu-sustain__title {
  margin: 0 0 max(0.625rem, min(2vw, 1rem)) 0;
  font-family: "Juana", serif;
  font-weight: 800;
  font-size: max(2.25rem, min(5vw, 3.75rem));
  letter-spacing: -0.01em;
  color: var(--ink);
}
.uu-sustain__lead {
  margin: 0 0 max(0.625rem, min(2vw, 1.125rem)) 0;
  color: #1a1a1a;
  line-height: 1.7;
  font-size: max(0.9375rem, min(1.2vw, 1rem));
}
.uu-sustain__lead em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}
.uu-sustain__features {
  margin-top: max(5rem, min(12vw, 8.75rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(1.5rem, min(3vw, 2.25rem)) max(2rem, min(4vw, 3rem));
}
.feat {
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: 1rem;
  row-gap: 0; /* konsistenter Abstand wird über feat__text gesteuert */
  align-items: start;
}
.feat__title {
  margin: 0;
  font-weight: 600;
  font-size: max(1.125rem, min(1.8vw, 1.375rem));
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feat__text {
  grid-column: 2 / -1;
  margin: 0.125rem 0 0 0; /* enger, absolut einheitlicher Abstand */
  color: #2a2a2a;
  font-size: max(0.875rem, min(1.1vw, 0.9375rem));
  line-height: 1.6;
}

/* Höhere Spezifität: erzwinge denselben Abstand direkt nach dem Titel */
.feat h3.feat__title + .feat__text {
  margin-top: 0.125rem;
}

/* Speziell nur für "Einfach nachhaltiger" Karte */
.feat--nachhaltiger .feat__text {
  margin-top: 0.0625rem; /* noch etwas enger nur für diese Karte */
}

/* Erhöhte Spezifität, um die obige Adjacent-Rule sicher zu überschreiben */
.feat.feat--nachhaltiger h3.feat__title + .feat__text {
  margin-top: 0.0625rem;
}

/* Hilfsklasse: harte Umbrüche verhindern */
.nowrap {
  white-space: nowrap;
}
.feat__icon {
  grid-row: 1 / span 2;
  width: 3rem;
  height: 3rem;
  border-radius: 62.4375rem;
  background: rgba(15, 16, 18, 0.08);
  position: relative;
}
.feat__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: 0.625rem;
  background: rgba(15, 16, 18, 0.55);
  -webkit-mask: var(--mask) center/contain no-repeat;
  mask: var(--mask) center/contain no-repeat;
}
.i-badge {
  --mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l2 2 3-1 1 3 3 1-1 3 2 2-2 2 1 3-3 1-1 3-3-1-2 2-2-2-3 1-1-3-3-1 1-3-2-2 2-2-1-3 3-1 1-3 3 1z"/></svg>');
}
.i-leaf {
  --mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 4C12 4 6 7 4 13c0 4 3 7 7 7 6-2 9-8 9-15 0-.4 0-.7 0-1zM9 12c2-2 5-3 8-3-1 3-3 6-6 7-2 0-3-1-2-4z"/></svg>');
}
.i-bolt {
  --mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 2L3 14h6l-1 8 10-12h-6l1-8z"/></svg>');
}
.i-home {
  --mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 12l9-8 9 8v8h-6v-5H9v5H3z"/></svg>');
}

@media (max-width: 1040px) {
  .uu-sustain__grid {
    grid-template-columns: 1fr;
  }
  .uu-sustain__image {
    height: 42vh;
  }
  .uu-sustain__inner {
    max-width: 55rem;
    margin-left: max(1.125rem, min(6vw, 2.5rem));
    margin-right: max(1.125rem, min(6vw, 2.5rem));
  }
}
@media (max-width: 640px) {
  .uu-sustain__features {
    grid-template-columns: 1fr;
  }
  .feat {
    grid-template-columns: 2.75rem 1fr;
  }
  .feat__icon {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* ============ Bottom-Hero (u_live) ============ */
/* ===== Bottom-Hero: Bild OHNE Overlay/Filter, 1:1 sichtbar ===== */
.uu-hero--bottom {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: var(--hero-fill, #c4dedf);
  overflow: hidden;
  perspective: 75rem;
}

/* ALLES killen, was abdunkelt (Filter/Mix/Pseudos/alte Layer) */
.uu-hero--bottom,
.uu-hero--bottom * {
  filter: none !important;
  mix-blend-mode: normal !important;
}

.uu-hero--bottom .uu-hero__bg,
.uu-hero__bg.uu-hero__bg--bottom {
  position: absolute;
  inset: 0;
  z-index: -1;

  /* 1) Sicher: alle alten Background-Layer komplett entfernen */
  background: none !important;

  /* 2) Nur das Bild + Hintergrundfarbe setzen */
  background-image: url("../../assets/assetss/img/u/live.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important; /* nimm 'cover', wenn du Vollfläche willst */
  background-color: #c4dedf !important;

  /* 3) keine Transparenz */
  opacity: 1 !important;

  /* 4) keine 3D-Transforms (falls irgendwo gesetzt) */
  transform: none !important;
  transform-origin: center center !important;
  will-change: auto !important;
}

/* Falls irgendwo Pseudo-Overlays existieren: hart entfernen */
.uu-hero--bottom .uu-hero__bg::before,
.uu-hero--bottom .uu-hero__bg::after,
.uu-hero__bg.uu-hero__bg--bottom::before,
.uu-hero__bg.uu-hero__bg--bottom::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}



/* Footer */
.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.9);
  text-decoration: none;
}
.uu-footer__link:hover,
.uu-footer__link:focus {
  text-decoration: underline;
}

/* ===== Hotspot Bild ===== */
.hotspot {
  position: relative;
  width: min(1200px, 100%);
  margin: clamp(1rem, 4vw, 3rem) auto 0;
  overflow: visible;
}
.hotspot__wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}
.hotspot__image {
  display: block;
  width: 100%;
  height: auto;
}
/* Marker Button */
.hotspot__marker {
  --hotspot-marker-size: max(1.75rem, min(3.8vw, 2.75rem));
  position: absolute;
  width: var(--hotspot-marker-size);
  height: var(--hotspot-marker-size);
  background: #000;
  color: #fffaaf;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.hotspot__marker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--hotspot-marker-size) * 0.5);
  height: calc(var(--hotspot-marker-size) * 0.5);
  transform: translate(-50%, -50%);
  background: transparent url("../../assets/assetss/img/haupt/u_yelllow.webp")
    center/contain no-repeat;
}
.hotspot__marker::after {
  content: attr(data-text);
  position: absolute;
  bottom: calc(-1 * (var(--hotspot-marker-size) + 0.75rem));
  left: 50%;
  transform: translateX(-50%) translateY(var(--tooltip-offset-y, 0px));
  background: #fffaaf;
  color: #000;
  font-size: max(0.75rem, min(1.6vw, 0.875rem));
  font-weight: 700;
  padding: max(0.25rem, min(0.8vw, 0.5rem)) max(0.5rem, min(1.6vw, 0.75rem));
  border-radius: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
  line-height: 1.35;
  word-wrap: normal;
  word-break: keep-all;
  z-index: 5;
}

/* Mess-Element für Tooltip-Größe (unsichtbar, für JS-Berechnung) */
.hotspot__measure {
  position: fixed;
  left: -9999px;
  top: -9999px;
  background: #fffaaf;
  color: #000;
  font-size: max(0.75rem, min(1.6vw, 0.875rem));
  font-weight: 700;
  padding: max(0.25rem, min(0.8vw, 0.5rem)) max(0.5rem, min(1.6vw, 0.75rem));
  border-radius: 0.25rem;
  white-space: nowrap;
  line-height: 1.35;
  visibility: hidden;
}
.hotspot__marker.active::after {
  opacity: 1;
}
.hotspot__marker.tooltip-left::after {
  right: 0;
  left: auto;
  transform: none;
}
.hotspot__marker.tooltip-right::after {
  left: 0;
  transform: none;
}

/* Kompakt auf kleinen Screens */
@media (max-width: 640px) {
  .hotspot__marker::after {
    font-size: 0.7rem; /* ~11.2px */
    line-height: 1.2;
    padding: 0.25rem 0.375rem;
    border-radius: 0.2rem;
  }
}

@media (max-width: 420px) {
  .hotspot__marker::after {
    font-size: 0.625rem; /* 10px */
    padding: 0.2rem 0.3rem;
  }
}

/* ====== Responsive Topbar (Mobile) ====== */
/* ===== Responsive Topbar (wie projekt.css) ===== */
@media (max-width: 860px) {
  :root {
    --topbar-h: 56px;
    --logo-vpad: 4px; /* vertikale Innenabstände fürs Logo */
    --logo-offsetY: -33px; /* vertikaler Versatz */
    --logo-scale: 1; /* Skalierung */
  }

  .uu-topbar__toggle {
    display: block;
  }
  .uu-topbar__inner {
    height: var(--topbar-h);
    padding-top: 0;
    padding-bottom: 0;
    flex-wrap: nowrap;
    row-gap: 0;
  }
  .uu-topbar__brand {
    height: var(--topbar-h);
  }
  .uu-topbar__brand img {
    height: 230%;
    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: #ffffff; /* falls du lieber Mint willst: background: var(--mint); */
    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;
  }
}

/* Button wie im Beispiel */
.btn-floorplans {
  display: inline-block;
  padding: 0.875rem 2.125rem;
  background: #0f1012;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-floorplans:hover {
  background: #333;
  transform: translateY(-0.125rem);
}

/* --- Global: horizontalen Scroll verhindern --- */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Featurebar Scrollbar Feinschliff */
.uu-featurebar__inner {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.uu-featurebar__inner::-webkit-scrollbar {
  height: 6px;
}
