::-webkit-scrollbar {
  display: none;
}
/* A Big Thanks to Gregory Lalle and CodeGrid for the Inspiration */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1 {
  font-family: "Circular Std";
  font-weight: 500;
  font-size: 58px;
}
p,
a {
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Circular Std";
  font-size: 14px;
  font-weight: 500;
  color: #000;
  transition: color 0.3s;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  z-index: 99;
}

.nav-items {
  position: fixed;
  top: 2em;
  left: 40%;
  display: flex;
  gap: 0.25em;
  z-index: 10;
}
nav a,
.nav-items a {
  text-transform: none;
}
.logo-img{
  z-index: 0;
}
.whitespace.w-1 {
  width: 100vw;
  height: 50vh;
}
.whitespace.w-2 {
  width: 100vw;
  height: 45vh;
}
.whitespace w-3 {
  width: 100vw;
  height: 45vh;
}
.gallery-main {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20em;
}
.project-main {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
}
.index {
  flex: 1;
  padding-left: 2em;
  height: 0;
}
.images {
  flex: 6;
  display: flex;
  flex-direction: column;
  gap: 1em;
  height: 100vh;
}
.img {
  flex: 1;
  width: 200px;
  background-color: lightgray;
  overflow: hidden;
}
.img img {
  opacity: 0.9;
}
.index .mask {
  position: absolute;
  top: 0;
  left: 2em;
  height: 70px;
  overflow: hidden;
  will-change: transform;
}
.index .mask h1 {
  position: relative;
  will-change: transform;
}
.index .mask h1 span {
  position: relative;
  display: inline-block;
  will-change: transform;
}
.digit-wrapper,
.digit-wrapper span {
  display: inline-block;
  position: relative;
  will-change: transform;
}
.project-names {
  position: fixed;
  width: 200px;
  top: 50vh;
  left: 40%;
  transform: translateX(0%);
}
.indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
}
.symbol {
  width: 12px;
  height: 12px;
  background-color: #000;
  clip-path: polygon(0 50%, 100% 100%, 100% 0);
}
.name {
  height: 18px;
}
.name p {
  color: gray;
}
.name.active p {
  color: #000;
}
.preview-img {
  position: fixed;
  bottom: 2em;
  right: 2em;
  max-width: 40vw;
  height: calc(50vh - 2em);
  opacity: 0.9;
}
.progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  width: 8px;
  height: 100vh;
  background-color: #000;
  transform-origin: top;
  transform: scaleY(0);
}
.footer p {
  position: fixed;
  bottom: 2em;
  left: 40%;
  text-transform: none;
}

/* Stempel-Effekt  */
.stamp {
  position: absolute;
  width: 150px; /* Größe des gestempelten Bildes */
  height: 150px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease-out, opacity 0.6s ease-out;
}
.stamp.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Cookie Banner Styling */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(62, 0, 116, 0.697); 
  color: white; 
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  z-index: 9999;
  font-size: 14px;
}
.cookie-banner p {
  color: #f2f2f2; /
}
.cookie-banner strong {
  color: #a65dff; /
}
.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}
.cookie-banner a:hover {
  color: #a65dff;
}
.cookie-banner.hidden {
  display: none;
}
.cookie-buttons {
  display: flex;
  gap: 1em;
}

/* Buttons */
.cookie-buttons button {
  background: white;
  color: rgb(69, 4, 125); /* Textfarbe der Buttons */
  border: none;
  padding: 0.5em 1.2em;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

/* Hover-Effekt */
.cookie-buttons button:hover {
  background: #9363da;
  color: white;
}

/*  Work Page Styles  */
.work-section {
  width: 60%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2em;
  z-index: 110;
}
.work-section h1 {
  font-size: 3em;
  font-weight: 500;
}
.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 120;
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.work-item:hover img {
        transform: scale(1.05);
        opacity: 0.85;
}
.work-info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1em;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
        color: white;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
        z-index: 110;
}
.work-item:hover .work-info {
        opacity: 1;
        transform: translateY(0);
}
.work-info h2 {
        font-size: 1.2em;
        font-weight: 500;
        margin: 0;
}
.work-info p {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 0.3em;
}

/* About */
.about-section {
        width: 60%;
        margin: 0 auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2em;
}
.about-section h1 {
        font-size: 3em;
        font-weight: 500;
}
.about-section p {
        font-size: 1.1em;
        line-height: 1.6em;
        max-width: 700px;
}
.about-img {
        width: 100%;
        max-width: 500px;
        margin-top: 2em;
}


/*contact*/

      .contact-section {
        width: 60%;
        margin: 0 auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2em;
      }

      .contact-section h1 {
        font-size: 3em;
        font-weight: 500;
      }

      .contact-info {
        display: flex;
        flex-direction: column;
        gap: 0.8em;
      }

      .contact-info a {
        font-size: 1.2em;
        color: black;
        text-decoration: none;
        transition: opacity 0.3s;
      }

      .contact-info a:hover {
        opacity: 0.6;
      }

      .social-links {
        margin-top: 2em;
        display: flex;
        gap: 1.5em;
      }

      .social-links a {
        color: black;
        font-weight: 500;
      }

/* --- Hero Section --- */
      .hero {
        position: relative;
        top:0vh;
        width: 100%;
        height: 80vh;
        overflow: hidden;
      }

      .hero img {
        width: 100%;
        height: 80%;
        object-fit: cover;
        filter: grayscale(100%);

      }

      .hero:hover img {
        filter: none;
        opacity: 1;
      }

      .hero-title {
        position: absolute;
        bottom: 3em;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        background: rgba(0, 0, 0, 0.5);
        padding: 0.6em 1.2em;
        border-radius: 8px;
        font-size: 2rem;
        font-weight: 500;
        letter-spacing: 1px;
      }


      /* --- Content --- */
.project-content {
        width: 60%;
        margin: 0 auto;
        min-height: 100vh;
        padding: 0 2em;
        line-height: 1.6;
        gap: 2em;
}
.project-content h2 {
        font-size: 3em;
        font-weight: 500;
}
.project-content p {
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Circular Std";
  font-size: 1.1em;
  font-weight: 500;
  max-width: 700px;
  color: #000;
  transition: color 0.3s;
}

      /* --- Visual Section (Work-style gallery) --- */
      .gallery {
        top:-30vh;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin: 6em auto;
        max-width: 1100px;
        padding: 0 2em;
      }

      .gallery img {
        width: 100%;
        filter: grayscale(10%);
        opacity: 0.9;
        transition: all 0.5s ease;
      }

      .gallery img:hover {
        filter: none;
        opacity: 1;
        transform: scale(1.02);
      }

      /* --- Footer --- */
      .footer {
        text-align: center;
        margin: 5em 0 2em;
        font-size: 14px;
      }

      /* --- Smooth Fade Animation beim Scrollen --- */
      .fade-in {
        opacity: 0;
        transform: translateY(40px);
        transition: all 1s ease;
      }

      .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
      }