/* ===== Quote Section (wie Objekt) ===== */
.obj-quote {
  background: #ffffff;
  background: var(--white);
  padding: max(2.25rem, min(10vw, 7.5rem)) 0;
}
.obj-quote__title {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 max(1rem, min(6vw, 2.5rem));
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0f1012;
  color: var(--ink);
  text-align: center;
  font-size: max(1.375rem, min(3.8vw, 2.5rem));
  text-wrap: balance;
}
.type-on-scroll .word {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.type-on-scroll.started .word.visible {
  opacity: 1;
}
.obj-quote__title em {
  font-family: "Juana", serif;
  font-style: italic;
  font-weight: 500;
}
.obj-quote__title strong {
  font-weight: 800;
}
@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));
  }
}
/* ===== Fullwidth Image Section (wie Objekt/Projekt full-bleed) ===== */
.fullwidth-image {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  margin: 0;
}
.fullwidth-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* ============ Vars ============ */
:root {
  --mint: #cfead9;
  --ink: #0f1012;
  --white: #ffffff;
  --topbar-h: 3.5rem;
}

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

* {
  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);
}

/* ============ Topbar ============ */
.uu-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #cfead9;
  background: var(--mint);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.uu-topbar__inner {
  height: 3.5rem;
  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%;
}
.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__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;
}
.uu-topbar__link {
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #0f1012;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
}
.uu-topbar__link:hover,
.uu-topbar__link:focus {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.uu-topbar__link.is-active {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

/* Responsive Topbar (Burger-Menü wie auf Objekt/Projekt) */
@media (max-width: 860px) {
  .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:calc(var(--topbar-h) - 2*var(--logo-vpad, 0px)); transform: translateY(var(--logo-offsetY, 9px)) scale(var(--logo-scale, 1)); 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;
  }
}
/* @media (max-width: 420px){
    .uu-topbar__brand img{ height: 1.625rem; }
    .uu-topbar__nav{ gap: 0.5rem; }
    .uu-topbar__link{ font-size: 0.6875rem; letter-spacing: .08em; }
  } */

/* ============ Hero (oben) – Grundlayout ============ */
/* ============ 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;
  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/investementhaupt.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;
}

/* ===== Modern Hero Typo ===== */
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  font-size: max(0.625rem, min(1.6vw, 0.75rem));
}
.inv-hero__title {
  margin: 0.5rem 0 0 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  font-family: "Juana", serif;
  font-weight: 800;
  font-size: max(2.5rem, min(7vw, 5.25rem));
}
.inv-hero__title em {
  font-style: italic;
  font-weight: 500;
}

/* ============ 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/Invest.webp") !important;
  background-size: contain !important; /* nichts beschneiden */
  background-position: center center !important;
    background-repeat: no-repeat !important;
  background-color: #f6f4bb !important;
  background-color: #f6f4bb !important; /* füllt Ränder */
  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);
}

/* ===== Investment Section ===== */
.investment {
  background: #fff;
  color: #0f1012;
  padding: max(4.375rem, min(9vw, 10rem)) max(1rem, min(6vw, 2.5rem));
}

.investment__inner {
  max-width: 77.5rem;
  margin: 0 auto;
}

.investment__title {
  margin: 0 0 1em 0;
  font-size: max(2.25rem, min(5vw, 3.75rem));
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  font-family: "Juana", serif;
}

.investment__intro {
  margin: 0 auto 2.5em auto;
  max-width: 72ch;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  text-align: center;
  color: #1a1a1a;
}
.investment__intro em {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 400;
}

/* Grid */
.investment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  grid-gap: max(1.5rem, min(3vw, 2.5rem));
  gap: max(1.5rem, min(3vw, 2.5rem));
  margin-bottom: max(3.125rem, min(6vw, 5.625rem));
}

/* Cards */
.inv-card {
  background: #fdfdfd;
  border-radius: 1rem;
  padding: max(1.125rem, min(2vw, 1.75rem));
  box-shadow: 0 0.375rem 0.875rem rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.inv-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 0.875rem 2rem rgba(0, 0, 0, 0.12);
}

/* Fade-in Stagger */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* KPI Bar */
.kpi {
  list-style: none;
  margin: 0 0 max(2.5rem, min(6vw, 4rem)) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: max(0.75rem, min(3vw, 2rem));
}
.kpi__item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: max(0.875rem, min(2vw, 1.25rem));
  display: grid;
  justify-items: center;
  align-items: center;
  text-align: center;
}
.kpi__num {
  font-family: "Juana", serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 3.6vw, 2.25rem);
}
.kpi__cap {
  font-size: 0.875rem;
  color: #222;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kpi {
    grid-template-columns: 1fr;
  }
}

.inv-card__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  letter-spacing: -0.01em;
}

.inv-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #2a2a2a;
}

/* Icon-Badge */
.inv-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 62.4375rem;
  background: rgba(15, 16, 18, 0.08);
  position: relative;
  flex-shrink: 0;
}
.inv-card__icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0.75rem;
  background: rgba(15, 16, 18, 0.85);
  -webkit-mask: var(--mask) center/contain no-repeat;
  mask: var(--mask) center/contain no-repeat;
}

/* Icons (SVG as mask) */
.i-tax {
  --mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 4h18v4H3V4zm0 6h18v10H3V10zm4 2v6h10v-6H7zM8 3h2v2H8V3zm6 0h2v2h-2V3z'/></svg>");
}
.i-kfw {
  --mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12a8 8 0 1116 0h-2a6 6 0 10-6 6v2A8 8 0 014 12zm7-1h7v2h-7v-2z'/></svg>");
}
.i-pin {
  --mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 017 7c0 5-7 13-7 13S5 14 5 9a7 7 0 017-7zm0 9a2 2 0 110-4 2 2 0 010 4z'/></svg>");
}
.i-demand {
  --mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 20V4h2v14h14v2H4zm4-3l3-4 2 2 4-6 1.5 1-5.5 8-2-2-2.5 3H8z'/></svg>");
}

/* Closing */
.investment__closing {
  text-align: center;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.6;
  max-width: 72ch;
  margin: 0 auto;
  color: #111;
  font-weight: 500;
}
.investment__closing em {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 400;
}
