:root {
  --bg: #fff;
  --text: #000;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 
html,
body {
  width: 100%;
  height: 800vh;
  font-family: "PP Neue Montreal";
} */



.pre-loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 2;
}

.loader-wrapper {
  position: relative;
  width: 5px;
  height: 100px;
  background: rgb(240, 240, 240, 0.25);
  overflow: hidden;
  transform: rotate(40deg);
}

.loader {
  position: absolute;
  top: 0;
  width: 120%;
  height: 120%;
  background: var(--bg);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  text-transform: uppercase;
  font-family: "FK Screamer";
  font-weight: lighter;
  font-size: 64px;
  line-height: 1;
}

h1 span {
  animation: colorLoop 6s infinite;
  transition: color 1s ease-in-out;
}

@keyframes colorLoop{
  0% {color:#000}
  50% {color: #FF0000;}
  100% {color:#000}

}

p {
  font-size: 14px;
  font-weight: 500;
}

.arrow-button {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  color: var(--text);
  /* margin-top: 10rem; */
}

.arrow-icon {
  transition: transform 0.3s ease, stroke 0.3s ease;
  stroke: var(--text);
}

.arrow-button:hover .arrow-icon {
  transform: translateY(4px);
  stroke: #FF0000; /* or any hover color */
}

section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #000;
}



.bubbles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  /* background: url(./shanghai_reversed.png) no-repeat 50% 50%;
  background-size: contain; */
  mix-blend-mode: difference;
  pointer-events: none;
  transform-origin: center;
}

.bubbles::before {
  content: "";
  position: absolute;
  top: 0%;
  left: 0; /* No more negative left values */
  width: 100vw; /* Keep it at viewport width */
  height: 100vh;
  /* background: url(assets/skyline_inverted_transparent.png) no-repeat; */
  background-size: 100%;
  /* background-position: center; */
  z-index: -1;
  pointer-events: none; Ensures no unwanted interactions
}

.ui-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  pointer-events: none; /* makes sure it doesn't block scroll */
}

.logo, .contact {
  pointer-events: auto; /* re-enable pointer events for links */
}

.logo a, .contact a {
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.logo img{
  width: 50px;
  height: 50px;
}

.hero img{
  width: 300px;
  height: 300px;
  margin-right: 2.4em;
}
.hero h1{
  text-align: center;
  font-size: 160px;
  font-weight: bold;
}

.hero h2{
  font-size: 50px;
  text-align: center;
  text-transform: uppercase;
}
.hero p{
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
}
.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sticky {
  position: relative;
  width: 100vw;       /* lock it to the viewport width */
  overflow: hidden;
}


.sticky-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;   /* allow clicking through */
  object-fit: cover;

}

.video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 150% !important;
  height: 150% !important;
}

canvas.outline-layer {
  z-index: 1;
}

canvas.fill-layer {
  z-index: 3;
}

.cards {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 100vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  will-change: transform;
  z-index: 2;
}

/* .sticky-info{
  position: relative;
  width: 20%;
  height: 75%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1.5em;
  background-color: #000;
} */
.card {
  position: relative;
  width: 10%;
  height: 75%;
  background-color: #f4f4ff;
  display: flex;
  flex-direction: column;
  gap: 1em;
  background: #fafafa;                  /* very light grey */
  border-radius: 10px;                  /* gentle rounding */
  padding: 1.5rem;                      /* nice inner space */
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.05),      /* small, sharp shadow */
    0 4px 8px rgba(0, 0, 0, 0.08);     /* larger, diffused shadow */
  transition: transform 0.3s ease,      /* for hover “lift” */
              box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.12);
}

.card p, .sticky-info p{
  font-size: 24px;
  margin-top: 1em;
  text-shadow:   1px 1px 2px rgba(0,0,0,0.3),   /* subtle drop shadow */
  -1px -1px 0   rgba(255,255,255,0.8); /* light highlight on top-left */
}
.card h1{
  text-shadow:   1px 1px 2px rgba(0,0,0,0.3),   /* subtle drop shadow */
  -1px -1px 0   rgba(255,255,255,0.8); /* light highlight on top-left */

}
.card-img,
.card-title {
  flex: 1;
  overflow: hidden;
}

.card-title {
  color: #333333;
  font-family: "Onest", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



/* #card_1{
  background: url('assets/card1.jpeg') center/cover no-repeat;
}
#card_2{
  background: url('assets/card2.jpeg') center/cover no-repeat;
}
#card_3{
  background: url('assets/card3.jpeg') center/cover no-repeat;
} */

.sticky-info{
  position: relative;
  width: 10%;
  height: 75%;
  background: transparent;               
  display: grid;
  grid-template-columns: 1fr;
  /* gap: 1em; */
  padding: 1.5em;
}

.sticky-info-title{
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  h1{
    font-family: "Onest", sans-serif;
    font-size: 60px;
    color: #fff;
  }
  p{
    font-family: "Onest", sans-serif;
    font-size: 24px;
    color: #fff;
  }
}

/* .cards .sticky-info:last-of-type{
  width: 7%;
  grid-template-columns: 1fr;
  background: transparent;
  .sticky-info-title{
    justify-content:center;
    align-items: center;
    h1{
      padding-bottom: 1em;
      color: #fff;
    }
  }
  .animated-link{
    margin-top: 1em;
  }
} */
.animated-link {
  display: inline-block;
  overflow: hidden;
  height: 1.5em;           /* exactly the line‑height of your text */
  line-height: 1.5em;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  font-family: "Onest", sans-serif;
  font-size: 24px;
  color: #fff;
}

.inner-text {
  display: inline-block;
  transform: translateY(0%);
  text-decoration: underline;
}


/* Let everything “through” these decorative layers */
.bubbles,
.bubbles::before,
.bg-img,
canvas,
.hero .bg-img,
canvas.outline-layer,
canvas.fill-layer {
  pointer-events: none;
}

.outro{
  display: grid;
  grid-template-columns: 2fr 1fr;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 3rem;
  height: 100vh;
  .word{
    font-family: "Onest", sans-serif;
    font-size: 90px;
  }
  p{
    font-family: "Onest", sans-serif;
    font-size: 24px;
  }
}

.outro a{
  color: #fff;
  margin-top: 2em;
}

.bg-gradient-vertical {
  background: linear-gradient(
    to bottom,      /* top → bottom */
    #6D0100 0%,     /* red at top */
    #000000 100%    /* black at bottom */
  );
}

.alpha {
  animation: colorLoop2 6s infinite;
  transition: color 1s ease-in-out;
}

@keyframes colorLoop2{
  0% {color:#fff}
  50% {color: #FF0000;}
  100% {color:#fff}

}
#qr-container{
  width: 200px;
  height: 200px;
}

/* hide these initially: */
#outro .alpha,
#outro .wohnen,
#outro .gmbh,
#outro .wohnen-img,
#outro .outro-text {
  opacity: 0;
  transform: translateY(500px);
}





.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}


/* Objekte */

.obj-hero{
  height: 70vh;
}

/* container */
.objects {
  max-width: 1400px;
  margin: 5% auto;
  padding: 0 1rem;
}

.objects .obj-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

/* card */
.obj-card {
  border-radius: 12px;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.08),
    0 2px 4px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* .obj-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 24px rgba(0,0,0,0.12),
    0 4px 8px rgba(0,0,0,0.08);
} */

/* inner wrapper (if you need it for parallax later) */
.obj-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* image */
.obj-card-img {
  width: 100%;
  /* margin: 1rem auto; */
  height: 500px;            /* adjust to taste */
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 12px;
}
.obj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text content */
.obj-card-title {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.obj-card-title h1 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.2;
}
.obj-card-title p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* responsive: single-column on small screens */
@media (max-width: 768px) {
  .objects .obj-cards {
    grid-template-columns: 1fr;
  }
}




@media (max-width: 900px) {
  .card {
    width: 25%;
  }
  .hero{
    flex-direction: column;
  }
  .hero h1{
    font-size: 4.5rem;
    margin-bottom: 4rem;
  }

  .hero h2{
    font-size: 2rem;
    font-weight: 500;
  }
  .hero img{
    width: 150px;
    height: 150px;
    margin-right: 0;
    margin-bottom: 25px;
  }
  .card{
    gap: 0.5em;
  }
  .card h1{
    font-size: 1.3em;
  }
  .card p{
    font-size: 1em;
  }
  .sticky-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
  }
  .sticky-info-title{
    line-height: 30px;
    h1{
      font-size: 24px;
      padding-bottom: 24px;
    }
    p{
      font-size: 14px;
      padding-bottom: 24px;
    }
    a{
      font-size: 14px;
    }
  }
  .sticky-info-img{
    display: none;
   }

  .cards {
    display: flex;
    gap: 2em;
  }
  

  .sticky-video {
    position: absolute;
    top: 50%;
    left: 50%;
    /* let the video size itself by its own aspect ratio */
    width: auto;
    height: auto;
    /* but guarantee it never leaves blank space */
    min-width: 100%;
    min-height: 100%;
    /* center it in the container */
    transform: translate(-50%, -50%);
    object-fit: cover;       /* ensure fill, crop if needed */
    object-position: center; /* center the crop */
  }

  .cards .sticky-info:last-of-type{
    width: 20%;
  }
  
  .h1-revealer,
  .p-revealer,
  .logo-revealer,
  .contact-revealer {
    display: none;
  }
  .bubbles::before {
    background-size: 70%; /* Smaller extra width on mobile */
    background-position: center;
  }
  .outro{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .word{
      font-size: 60px;
    }
  }

  .outro-contact{
    margin-bottom: 2em;
  }
  .outro a{
    margin-top: 2em;
  }

 
}

