/* ### cai Seite ### */
a{
	font-weight:700;
}
.cai-main-logo{
	width:90%;
	margin-top:20px;
}
h1{
	font-size: 3.3rem !important;
}
/* cAi Video Animation und Logik */
#video-section, #video-section-mobil{
	  height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#video-section h2,  #video-section-mobil h2  {
      position: sticky;
      top: 50%;
      text-align: center;
      z-index: 10;
      transition: opacity 0.5s ease;
      pointer-events: none;
    }
.video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  overflow: hidden;
  opacity: 0;
  z-index: 5;
  transform: translate(-50%, -50%) skewX(10deg);
  transform-origin: center center;
}

video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: pointer;
    }
.poster {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: 2;
      pointer-events: none;
    }


/* Animierte Kacheln */

.tiles__wrap {
    position: relative;
    width: 150vw;
    padding: 50px 0;
    transform: rotate(-11deg);
    margin-top: -35vh;
    margin-left: -15vw;
}
.tiles__line {
      display: flex;
      gap: 40px;
      margin-bottom: 40px;
    }
@media (max-width: 2100px) {
.tiles__wrap {
    margin-left: -35vw;
}
}
@media (max-width: 1150px) {
.tiles__wrap {
     margin-top: -15vh;
}
.tiles__line-img {
    width: 400px;
    height: 200px;
}
}
.tiles__outer-wrap {
      overflow: hidden;
      width: 100%;
      height: 60vh; /* Höhe anpassen */
    }
.tiles__line-img {
      width: 500px;
      height: 250px;
      background-size: cover;
      background-position: center;
      border-radius: 0px;
      flex-shrink: 0;
}
/* animierter Text */
  .text-reveal {
    overflow-wrap: normal;
		word-break:normal;
		font-size:3.8rem !important;
		line-height:4.2rem !important;
  }
.text-reveal .word {
  display: inline-block;     
  white-space: nowrap;      
}
.text-reveal .char {
  display: inline-block;
  opacity: 1;  
}


/* FAKTEN HORIZIONTAL SCROLL */
.fakten-horiz{
	position:relative;
	z-index:10;
	display:flex;
	flex-direction: row;
	justify-content: center;
	width:90vw;
	margin:0 auto 0  auto;
	  /* Start rechts außerhalb des Bildschirms */
  margin-left: 30vw; 
}
@media (max-width: 2100px) {
.fakten-horiz {
    justify-content: space-evenly;
}
}

.fakten-item{
	width:20%;
}
.fakten-item h2 {
    font-size: 2.3rem !important;
    line-height: normal !important;
	margin-bottom:6px;
}
.fakten-item img{
		width:70px;
	margin-bottom:-30px;
}	
	
/* BRAIN VIDEO */
.cai-brain-video{
 margin-top: 23px;
}
.cai-brain-video div{
 margin-left: -10px;
}



@media only screen and (max-width:1000px) {

.video-wrapper-mobil{
  position: relative;
  width: 100%;
}
.video-wrapper-mobil video{
  width: 100%;
  display: block;
}
.video-section-headline-mobil{
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:95%;
  text-align: center;
  color: white;
  z-index: 2;
  pointer-events: none;
	transition: opacity 0.4s ease;
}	
	

.fakten-horiz {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
.fakten-item{
	width:40%;
}	
	
/* ###  cAi ### */
	h1{
		font-size:2.3rem !important;
	}
	.cai-main-logo {
    width: 35%;
    margin-top:-25px;
}
.text-reveal {
  font-size: 2.3rem !important;
  line-height: 2.7rem !important;
}
	.video-wrapper{
		max-width:95% !important;
	}
	.cai-made-in{
		padding: 0px 1.5rem !important;
	}
	.cai-brain-video {
    margin-top: -50px !important;
}

}
@media only screen and (max-width:780px) {
	.tiles__outer-wrap{
		height:42vh !important;
	}
	.tiles__line {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.tiles__line-img {
    width: 264px;
    height: 132px;
	}
	    .tiles__wrap {
        margin-top: -9vh;
    }
	.tiles__outer-wrap {
    height: 50vh;
}
	.tiles__wrap {
        margin-left: -75vw;
    }

}