.static-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 14, 12, .96);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.static-lightbox[hidden] { display: none; }
.static-lightbox figure {
  width: min(90vw, 1400px);
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.static-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .55);
  will-change: transform, opacity, filter;
}
.static-lightbox figcaption { font-size: .8rem; letter-spacing: .08em; opacity: .75; }
.static-lightbox button {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  padding: 1rem;
}
.static-lightbox-close { top: 0; right: .5rem; }
.static-lightbox-prev { left: .5rem; top: 45%; }
.static-lightbox-next { right: .5rem; top: 45%; }
button[hidden] { display: none !important; }

#objekt .grid.grid-cols-2 > button:not(.col-span-2) img {
  filter: grayscale(1) contrast(1.08) brightness(.94);
  transition: filter .85s cubic-bezier(.22,1,.36,1),
              transform .85s cubic-bezier(.22,1,.36,1) !important;
}
#objekt .grid.grid-cols-2 > button:not(.col-span-2):hover img,
#objekt .grid.grid-cols-2 > button:not(.col-span-2):focus-visible img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.055);
}

.header-brand-lockup {
  display: inline-flex !important;
  min-width: 0;
  align-items: center;
  gap: .85rem !important;
}
.header-brand-mark {
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(28,27,24,.12);
  border-radius: .55rem;
  background: rgba(255,255,255,.48);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 1px 3px rgba(30,28,23,.06);
}
.header-brand-mark img {
  width: 2.75rem;
  height: auto;
}
.header-brand-wordmark {
  width: clamp(13.5rem, 20vw, 18rem);
  height: auto;
  max-width: none;
}
.header-brand-lockup:hover .header-brand-mark img {
  transform: scale(1.035);
}
.header-brand-mark img,
.header-brand-wordmark {
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.header-brand-lockup:hover .header-brand-wordmark { opacity: .88; }
@media (max-width: 640px) {
  .header-brand-lockup { gap: .65rem !important; }
  .header-brand-mark { width: 3rem; height: 3rem; border-radius: .48rem; }
  .header-brand-mark img { width: 2.5rem; }
  .header-brand-wordmark { width: min(13rem, calc(100vw - 5.5rem)); }
}
@media (min-width: 768px) and (max-width: 1120px) {
  header nav, header .header-brand-lockup ~ button { display: none !important; }
}

.mobile-action-bar {
  left: .75rem !important;
  right: .75rem !important;
  bottom: max(.75rem, env(safe-area-inset-bottom)) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 1rem;
  padding: .3rem;
  color: rgba(255,255,255,.82);
  background: rgba(24,24,22,.94) !important;
  box-shadow: 0 16px 45px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.18);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
.mobile-action-item {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .22rem;
  min-height: 3.45rem;
  border-radius: .72rem;
  transition: color .25s ease, background .25s ease, transform .2s ease;
}
.mobile-action-item + .mobile-action-item::before {
  content: "";
  position: absolute;
  left: -.15rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.1);
}
.mobile-action-item:active { transform: scale(.96); }
.mobile-action-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.mobile-action-primary {
  color: #171614;
  background: var(--brand) !important;
  box-shadow: 0 7px 20px rgba(202,105,38,.25);
}
.mobile-action-primary:hover { color: #171614; background: var(--brand-soft) !important; }
.mobile-action-primary::before,
.mobile-action-primary + .mobile-action-item::before { display: none; }
.mobile-action-icon {
  display: grid;
  width: 1.22rem;
  height: 1.22rem;
  place-items: center;
}
.mobile-action-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-action-primary .mobile-action-icon svg { fill: currentColor; stroke: none; }
.mobile-action-label {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .mobile-floating-whatsapp { display: none !important; }
  body { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

.investment-key-figure {
  position: relative;
  display: flex;
  min-height: 9.5rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.35rem;
  box-shadow: 0 18px 45px -28px rgba(24, 24, 22, .55);
}
.investment-key-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  pointer-events: none;
}
.investment-key-figure > p:first-child {
  position: relative;
  color: inherit !important;
  font-size: clamp(2.55rem, 4vw, 4.5rem) !important;
  line-height: .88 !important;
}
.investment-key-figure > p:last-child {
  position: relative;
  margin-top: .8rem !important;
  color: inherit !important;
  opacity: .72;
}
.investment-key-figure--dark {
  color: var(--paper);
  background: var(--ink);
}
.investment-key-figure--brand {
  color: var(--ink);
  background: var(--brand);
}
.investment-key-figure--brand::after {
  content: "monatlich";
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .22em;
  opacity: .58;
  text-transform: uppercase;
}
.hero-parking-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 1rem;
  padding: .5rem .72rem;
  border: 1px solid rgba(255, 255, 255, .34);
  color: var(--ink);
  background: var(--brand);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-shadow: none;
}
.investment-parking-figure {
  position: relative;
  display: flex;
  min-height: 9.5rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.35rem;
  color: var(--ink);
  background: var(--brand-soft);
  box-shadow: 0 18px 45px -28px rgba(24, 24, 22, .55);
}
.investment-parking-figure::before {
  content: "Stellplätze";
  position: absolute;
  left: 1.35rem;
  top: 1.1rem;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.investment-parking-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in oklab, var(--brand) 55%, var(--ink));
  pointer-events: none;
}
.investment-parking-figure > p {
  position: relative;
  z-index: 1;
}
.investment-parking-figure > p:first-child {
  color: var(--ink) !important;
  font-size: clamp(3.25rem, 4vw, 4.5rem) !important;
  line-height: .78 !important;
}
.investment-parking-figure > p:last-child {
  margin-top: .85rem !important;
  color: var(--ink) !important;
  font-weight: 700;
}
.parking-highlight {
  display: inline-block;
  margin: .12em 0;
  padding: .05em .2em .1em;
  color: var(--ink);
  background: var(--brand);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.parking-sales-note {
  max-width: 31rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--brand);
  color: var(--ink);
  background: color-mix(in oklab, var(--brand) 12%, white);
  font-size: .9rem;
  line-height: 1.6;
}
.location-parking-benefit {
  margin: .3rem 0;
  padding: .7rem .75rem;
  color: var(--ink);
  background: color-mix(in oklab, var(--brand) 15%, white);
}
.gallery-parking-benefit {
  display: grid;
  width: fit-content;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: .65rem;
  margin-top: 1.4rem;
  padding: .8rem 1rem;
  border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent);
  background: var(--paper-soft);
}
.gallery-parking-benefit span {
  grid-row: span 2;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: .8;
}
.gallery-parking-benefit strong {
  font-size: .8rem;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
}
.gallery-parking-benefit small {
  color: var(--ink-soft);
  font-size: .7rem;
}
.contact-parking-benefit {
  width: fit-content;
  max-width: 44rem;
  margin-top: 1.25rem;
  padding: .85rem 1.1rem;
  border: 1px solid color-mix(in oklab, var(--brand) 65%, var(--ink));
  color: var(--ink);
  background: color-mix(in oklab, var(--brand) 15%, white);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.55;
}
@media (min-width: 1024px) {
  #investment .investment-key-figures-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
  #investment .investment-key-figure {
    grid-column: span 2;
  }
  #investment .investment-parking-figure {
    grid-column: span 2;
  }
}
@media (max-width: 639px) {
  #top .container-x {
    padding-top: 2rem !important;
  }
  #top .max-w-5xl > p:first-child {
    max-width: 22rem;
    font-size: .82rem !important;
    letter-spacing: .21em !important;
    line-height: 1.55;
  }
  #top h1 {
    margin-top: 1.35rem !important;
    max-width: 100%;
    font-size: clamp(3.65rem, 16vw, 4.5rem) !important;
    line-height: .88 !important;
  }
  #top h1 + p {
    max-width: 22rem;
    margin-top: 1.65rem !important;
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
  }
  .investment-key-figure {
    min-height: 8.5rem;
    padding: 1rem;
  }
  .investment-key-figure > p:first-child {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }
  .hero-parking-badge {
    display: flex;
    width: fit-content;
    margin: .75rem 0 0;
    padding: .6rem .78rem;
    font-size: .72rem;
    letter-spacing: .14em;
  }
  .investment-parking-figure {
    grid-column: span 2;
    min-height: 8.5rem;
    padding: 1rem;
  }
  .investment-parking-figure::before {
    left: 1rem;
    top: .85rem;
  }
  .investment-parking-figure > p:first-child {
    font-size: 3.2rem !important;
  }
}

.static-gallery {
  perspective: 1200px;
}
.static-gallery.is-filtering {
  pointer-events: none;
}
.static-gallery button[data-idx] {
  transform-origin: center;
  backface-visibility: hidden;
}
.static-gallery button[data-idx] > span.right-2.top-2 {
  display: none !important;
}

.static-gallery button[data-idx] {
  transition: filter .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1),
              opacity .7s cubic-bezier(.22,1,.36,1),
              box-shadow .7s cubic-bezier(.22,1,.36,1) !important;
  will-change: transform, filter, opacity;
}
.static-gallery button[data-idx] > img {
  transition: transform 1.2s cubic-bezier(.22,1,.36,1),
              filter .7s ease !important;
  will-change: transform, filter;
}
.static-gallery.has-hover button[data-idx]:not(.is-hovered) {
  filter: brightness(.62) saturate(.75) blur(.35px) !important;
  opacity: .5 !important;
  transform: scale(.992) !important;
}
.static-gallery button[data-idx].is-hovered {
  filter: brightness(1.15) saturate(1.08) contrast(1.04) !important;
  opacity: 1 !important;
  transform: scale(1.02) translateY(-2px) !important;
  z-index: 10 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.48),
              0 0 40px -10px rgba(255,255,255,.35),
              0 22px 52px -22px rgba(0,0,0,.32) !important;
}
.static-gallery button[data-idx].is-hovered > img {
  transform: scale(1.1) !important;
}
.static-gallery button[data-idx] > span:last-child {
  transition: opacity .5s ease, transform .55s cubic-bezier(.22,1,.36,1) !important;
}
.static-gallery button[data-idx].is-hovered > span:last-child {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.static-gallery button[data-idx].is-hovered > span.bg-gradient-to-t {
  opacity: 1 !important;
}
.static-added-lift {
  opacity: .62;
  background: linear-gradient(to bottom, rgba(255,255,255,.14), rgba(255,255,255,.04) 40%, transparent);
  mix-blend-mode: overlay;
  transition: opacity .7s ease, background .7s ease;
}
.static-added-border {
  color: rgba(0,0,0,.05);
  transition: color .7s ease;
}
.static-added-gradient {
  opacity: 0;
  transition: opacity .5s ease;
}
.static-gallery button[data-idx].is-hovered > .static-added-lift {
  opacity: 1;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.22), rgba(255,255,255,.06) 45%, transparent 70%);
}
.static-gallery button[data-idx].is-hovered > .static-added-border {
  color: rgba(255,255,255,.5);
}
.static-gallery button[data-idx].is-hovered > .static-added-gradient {
  opacity: 1;
}

.static-lightbox.is-opening {
  animation: static-backdrop-in .45s ease both;
}
.static-lightbox.is-closing {
  animation: static-backdrop-out .36s ease both;
}
.static-lightbox img.slide-forward {
  animation: static-image-forward .82s cubic-bezier(.22,1,.36,1) both;
}
.static-lightbox img.slide-backward {
  animation: static-image-backward .82s cubic-bezier(.22,1,.36,1) both;
}
.static-lightbox figcaption {
  animation: static-caption-in .65s ease .12s both;
}
@keyframes static-backdrop-in {
  from { opacity: 0; backdrop-filter: blur(0); }
  to { opacity: 1; backdrop-filter: blur(10px); }
}
@keyframes static-backdrop-out {
  from { opacity: 1; backdrop-filter: blur(10px); }
  to { opacity: 0; backdrop-filter: blur(0); }
}
@keyframes static-image-forward {
  0% { opacity: 0; filter: blur(13px); transform: translate3d(7%,0,0) scale(1.065); }
  55% { opacity: 1; filter: blur(1px); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
}
@keyframes static-image-backward {
  0% { opacity: 0; filter: blur(13px); transform: translate3d(-7%,0,0) scale(.95); }
  55% { opacity: 1; filter: blur(1px); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
}
@keyframes static-caption-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: .75; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .static-gallery button[data-idx],
  .static-gallery button[data-idx] > img,
  .static-lightbox,
  .static-lightbox img,
  .static-lightbox figcaption { animation: none !important; transition-duration: .01ms !important; }
}
