/* Interior Gallery */
/* Horizontal scrolling for Interior page */
.timeline-wrapper-interior {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden !important;
    height: 100vh;
    scroll-behavior: smooth;
    white-space: nowrap;
    margin-top: -5.8vh;
    transform: scale(0.89) translateX(-9.5vw);
    min-width: 120vw;
  }
  
  /* Text and Image Containers */
  .timeline-container-interior,
  .timeline-image-interior-first,
  .timeline-container-interior-right-text,
  .timeline-image-interior-second,
  .timeline-container-interior-third-text,
  .timeline-image-interior-third,
  .timeline-container-interior-fourth-text,
  .timeline-image-interior-fourth,
  .timeline-container-interior-fifth-text,
  .timeline-container-interior-sixth-text,
  .timeline-image-interior-sixth,
  .timeline-image-interior-fifth,
  .timeline-container-interior-seventh-text,
  .timeline-image-interior-seventh {
    flex: 0 0 auto;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  
/* Parent Container */
.timeline-container-interior {
  width: auto;
  min-width: 80vw;
  background-color: #958F80;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  padding: 3vw;
  flex-grow: 1;
}

#first-blur-container-interior {
  position: absolute;
  left: 0;
  top: 0;
  width: 20vw;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.timeline-container-interior h2 {
  text-align: right;
  margin-right: 10vw !important;
  padding: 0;
  max-width: 100%;
}

.mouse_scroll {
  margin-right: 12vw !important;
  padding-right: 0;
  align-self: flex-end;
}



  
  /* Responsive text styling */
  .timeline-content-interior {
    color: #FFFFFF;
    max-width: 100vw;
    font-size: calc(1.5vw + 1.5vh);
    line-height: 1.4;
    word-wrap: break-word;
    font-weight: lighter;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
  }

  
  /* Image 1 */
  .timeline-image-interior-first {
    background: url('../assets/Interior/coach_tisch.jpg') no-repeat center center;
    background-size: contain;
    background-color: #958F80;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
  }
  @media (max-width: 520px) {
    .timeline-image-interior-first {
      background: url('../assets/Interior/coach_tisch_cut.jpg') no-repeat center center;
      background-size: cover;
      min-width: 100vw;
      max-height: 100vh;
      max-width: 100vw;
    }

    #first-blur-container-interior{
      display: none;
    }
  }
  @media (min-width: 521px) {
    .timeline-image-interior-first {
      background-size: cover;
      min-width: 60vw;
      max-height: 100vh;
      max-width: 100vw;
    }
  }
  @media (min-width: 823px) {
    .timeline-image-interior-first {
      background-size: cover;
      min-width: 35vw;
      max-height: 100vh;
      max-width: 100vw;
      overflow: hidden;
    }
  }


  
  /* Image 2 */
  .timeline-image-interior-second {
    min-width: 100vw;
    background: url('../assets/Interior/kitchen_retusche_02_web_small.jpg') no-repeat center center;
    background-size: contain;
    background-color: #958F80;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
  }
  @media (max-width: 520px) {
    .timeline-image-interior-second {
      background: url('../assets/Interior/kitchen_retusche_02_web_small.jpg') no-repeat center center;
      background-size: cover;
      min-width: 250vw;
    }
  }

  @media (min-width: 521px) and (max-width: 786px) {
    .timeline-image-interior-second {
      background: url('../assets/Interior/kitchen_retusche_02_web_small.jpg') no-repeat center center;
      background-size: cover;
      min-width: 200vw;
    }
  }

  @media (min-width: 787px) {
    .timeline-image-interior-second {
      background-size: cover;
      min-width: 100vw;
      overflow: hidden;
    }
  }
  


  
  .timeline-container-interior-first-text {
    position: relative;
    height: 100vh;
    width: 70vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2vw;
    background-color: #958F80;
    text-align: center;
  }
  
  @media (max-width: 370px) {
    .timeline-container-interior-first-text {
      display: none;
    }
  }
  
  h3.abnes {
    margin: 0;
    padding: 0;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
  }
  
  
  /* New Text Container */
  .timeline-container-interior-right-text {
    min-width: 40vw;
    background-color: #827262;
    color: #ffffff;
    padding: 9vw;
  }

  
  .timeline-content-interior-right h3.abnes {
    color: #fff;
    text-align: right;
    line-height: 1.5;
    padding: 5vw;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: transform 1s ease;
  }

  .timeline-content-interior-right .block-text {
    text-align: justify; /* Justify text for equal line lengths */
    line-height: 1.5;
    font-size: calc(1vw + 0.5vh);
    transition: transform 1s ease;
    max-width: 30vw;
    padding-top: 2vw;
    color: #fff;
}
  
  /* Third Container */
  .timeline-container-interior-third-text {
    width: 80vw;
    max-width: 1000px;
    min-width: 300px;
    background-color: #ed9929;
    color: #FFFFFF;
    font-size: calc(0.5vw + 0.5vh);
    line-height: 1.8;
    padding: 2vw 5vw;
    word-wrap: break-word;
    text-align: center;
    margin: auto;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
  



/* Basis-Styles für Container */
.timeline-image-interior-third {
  position: relative;
  background-color: #958F80;
  display: flex;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  transition: background-image 1s ease-in-out;
}

/* Bildlayer 1 (Offene Türen) */
.timeline-image-interior-third::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/Interior/Kitchen_02_Doors_Opened_web_small.jpg') no-repeat center center;
  background-size: cover;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  animation: fadeOpen 3s infinite;
}

/* Bildlayer 2 (Geschlossene Türen) */
.timeline-image-interior-third::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/Interior/Kitchen_02_Doors_Closed_web_small.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: fadeClose 3s infinite;
}

/* Animation für offene Türen */
@keyframes fadeOpen {
  0%, 50% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Animation für geschlossene Türen */
@keyframes fadeClose {
  0%, 50% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

/* Mobile Version */
@media (max-width: 520px) {
  .timeline-image-interior-third::before {
    background: url('../assets/Interior/Kitchen_02_Doors_Opened_web_small_cut.jpg') no-repeat center center;
    background-size: cover;
  }
  .timeline-image-interior-third::after {
    background: url('../assets/Interior/Kitchen_02_Doors_Closed_web_small_cut.jpg') no-repeat center center;
    background-size: cover;
  }
}

@media (max-width: 520px) {
  .timeline-image-interior-third {
    min-width: 80vw;
  }
}

@media (min-width: 521px) and (max-width: 822px) {
  .timeline-image-interior-third {
    min-width: 60vw;
  }
}

@media (min-width: 823px) {
  .timeline-image-interior-third {
    min-width: 28vw;
    overflow: hidden;
  }
}



  /* Fourth Text Container */
  .timeline-container-interior-fourth-text {
    min-width: 90vw;
    background-color: #827262;
    color: #ffffff;
    font-size: calc(0.5vw + 0.5vh);
    word-wrap: break-word;
    text-align: center;
    margin: auto;
    overflow-wrap: break-word;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .timeline-content-interior-right p {
    margin: auto;
    white-space: normal;
    text-align: right;
    padding-right: 4vw;
    font-size: calc(1vw + 0.8vh);
    line-height: 1.6;
  }




  
  /* Fourth Image */
  .timeline-image-interior-fourth {
    min-width: 120vw;
    background: url('../assets/Interior/20220426_170346_IMG_0091_web_small.jpg') no-repeat center center;
    background-size: contain;
    background-color: #958F80;
    display: flex;
    height: 100%;
    overflow: hidden;
  }
  @media (max-width: 520px) {
    .timeline-image-interior-fourth {
      background: url('../assets/Interior/20220426_170346_IMG_0091_web_small.jpg') no-repeat center center;
      background-size: cover;
      max-height: 100vh;
      min-width: 190vw;
    }
  }
  @media (min-width: 520px) and (max-width: 786px) {
    .timeline-image-interior-fourth {
      background: url('../assets/Interior/20220426_170346_IMG_0091_web_small.jpg') no-repeat center center;
      background-size: cover;
      max-height: 100vh;
      min-width: 145vw;
    }
  }
  @media (min-width: 769px) {
    .timeline-image-interior-fourth {
      background: url('../assets/Interior/20220426_170346_IMG_0091_web_small.jpg') no-repeat center center;
      background-size: cover;
      max-height: 100vh;
      min-width: 80vw;
    }
  }

  @media (min-width: 1200px) {
    .timeline-image-interior-fourth {
      background: url('../assets/Interior/20220426_170346_IMG_0091_web_small.jpg') no-repeat center center;
      background-size: cover;
      max-height: 100vh;
      min-width: 70vw;
    }
  }
  
  /* Fifth Text Container */
  .timeline-container-interior-fifth-text {
    min-width: 90vw;
    background-color: #ffffff;
    color: #fff;
    font-size: calc(0.5vw + 0.5vh);
    word-wrap: break-word;
    text-align: center;
    margin: auto;
    overflow-wrap: break-word;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .timeline-content-interior-right p {
    margin: 0;
    white-space: normal;
  }


    /* Image 5 */
    .timeline-image-interior-fifth {
      min-width: auto;
      background: url('../assets/Interior/Anette_Kutscheit_065_web_small.jpg') no-repeat bottom center;
      background-size: cover;
      background-color: #958F80;
      display: flex;
      margin: 0;
      padding: 0;
      height: 100%;
      overflow: hidden;
    }
    @media (max-width: 520px) {
      .timeline-image-interior-fifth {
        background: url('../assets/Interior/Anette_Kutscheit_065_web_small.jpg') no-repeat center center;
        background-size: cover;
        min-width: 250vw;
      }
    }
  
    @media (min-width: 521px) and (max-width: 786px) {
      .timeline-image-interior-fifth {
        background: url('../assets/Interior/Anette_Kutscheit_065_web_small.jpg') no-repeat center center;
        background-size: cover;
        min-width: 200vw;
      }
    }
  
    @media (min-width: 787px) {
      .timeline-image-interior-fifth {
        background-size: cover;
        min-width: 92vw;
        overflow: hidden;
      }
    }


      /* Fifth Text Container */
  .timeline-container-interior-sixth-text {
    min-width: 90vw;
    background-color: #bab6b3;
    color: #ffffff;
    font-size: calc(0.5vw + 0.5vh);
    word-wrap: break-word;
    text-align: center;
    margin: auto;
    overflow-wrap: break-word;
    box-sizing: border-box;
    overflow: hidden;
  }
    
      /* Image 6 */
    .timeline-image-interior-sixth {
      min-width: 75vw;
      background: url('../assets/Stov/Stov\ 7.jpg') no-repeat center center;
      background-size: cover;
      background-color: #958F80;
      display: flex;
      margin: 0;
      padding: 0;
      height: 100%; 
    }
    @media (max-width: 520px) {
      .timeline-image-interior-sixth {
        background: url('../assets/Stov/Stov\ 7.jpg') no-repeat center center;
        background-size: cover;
        min-width: 250vw;
      }
    }
  
    @media (min-width: 521px) and (max-width: 786px) {
      .timeline-image-interior-sixth {
        background: url('../assets/Stov/Stov\ 7.jpg') no-repeat center center;
        background-size: cover;
        min-width: 170vw;
      }
    }
  
    @media (min-width: 787px) {
      .timeline-image-interior-sixth {
        background-size: cover;
        min-width: 75vw;
        overflow: hidden;
      }
    }


          /* Fifth Text Container */
  .timeline-container-interior-seventh-text {
    min-width: 90vw;
    background-color: #bab6b3;
    color: #ffffff;
    font-size: calc(0.5vw + 0.5vh);
    word-wrap: break-word;
    text-align: center;
    margin: auto;
    overflow-wrap: break-word;
    box-sizing: border-box;
    overflow: hidden;
  }
    
      /* Image 7 */
.timeline-image-interior-seventh {
  background: url('../assets/Stov/Stov 8.jpg') no-repeat center center;
  background-size: cover;
  background-color: #958F80;
  display: flex;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  aspect-ratio: 1200 / 800;
  overflow: hidden;
  flex: 0 0 auto;
}
    @media (max-width: 520px) {
      .timeline-image-interior-seventh {
        background: url('../assets/Stov/Stov\ 8.jpg') no-repeat center center;
        background-size: cover;
        min-width: 250vw;
      }
    }
  
    @media (min-width: 521px) and (max-width: 786px) {
      .timeline-image-interior-seventh {
        background: url('../assets/Stov/Stov\ 8.jpg') no-repeat center center;
        background-size: cover;
        min-width: 170vw;
      }
    }
  
    @media (min-width: 787px) {
      .timeline-image-interior-seventh {
        background-size: cover;
        min-width: 100vw;
        overflow: hidden;
      }
    }



  /*RESPONSIVE LAYOUT SETTINGS*/
/* Base widths */
.timeline-container-interior {
  min-width: 80vw !important;
}

.timeline-container-interior-right-text {
  min-width: 40vw !important;
}

.timeline-container-interior-third-text {
  min-width: 60vw !important;
}

.timeline-container-interior-fourth-text {
  min-width: 90vw !important;
}

.timeline-container-interior-fifth-text {
  min-width: 90vw !important;
}

.timeline-container-interior-sixth-text {
  min-width: 90vw !important;
}

/* Medium screens */
@media (max-width: 1024px) {
  .timeline-container-interior {
      min-width: 90vw !important;
  }

  .timeline-container-interior-right-text {
      min-width: 50vw !important;
  }

  .timeline-container-interior-third-text {
      min-width: 70vw !important;
  }

  .timeline-container-interior-fourth-text {
      min-width: 95vw !important;
  }

  .timeline-container-interior-fifth-text {
      min-width: 95vw !important;
  }

  .timeline-container-interior-sixth-text {
    min-width: 95vw !important;
}
}

/* Tablet screens */
@media (max-width: 768px) {
  .timeline-container-interior {
      min-width: 110vw !important;
  }

  .timeline-container-interior-right-text {
      min-width: 100vw !important;
  }
  .timeline-container-interior-right-text .block-text {
    text-align: justify;
    line-height: 1.6;
    font-size: calc(1.5vw + 0.5vh);
    transition: transform 1s ease;
    max-width: 40vw;
    padding-top: 2vw;
    color: #fff;
}

  .timeline-container-interior-third-text {
      min-width: 85vw !important;
  }

  .timeline-container-interior-fourth-text {
      min-width: 100vw !important;
  }

  .timeline-container-interior-fifth-text {
      min-width: 100vw !important;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .timeline-container-interior {
      min-width: 120vw !important;
      padding: 4vw;
  }

  .timeline-container-interior-right-text {
      min-width: 120vw !important;
      padding: 4vw;
  }
  .timeline-container-interior-right-text .block-text {
    text-align: justify;
    line-height: 1.6;
    font-size: calc(1.5vw + 0.5vh);
    transition: transform 1s ease;
    max-width: 50vw;
    padding-top: 2vw;
    color: #fff;
}

  .timeline-container-interior-third-text {
      min-width: 120vw !important;
      padding: 4vw;
  }

  .timeline-container-interior-fourth-text {
      min-width: 120vw !important;
      padding: 4vw;
  }

  .timeline-container-interior-fifth-text {
      min-width: 120vw !important;
      padding: 4vw;
  }

  .timeline-container-interior-sixth-text {
    min-width: 120vw !important;
    padding: 4vw;
}
}
