@font-face {
  font-family: 'MeineFont';
  src: url("../fonts/comfortaa-regular.ttf") format('truetype');
}
@font-face {
  font-family: 'POORICH';
  src: url("../fonts/poorich.woff2") format('woff2'),
       url("../fonts/poorich.woff") format('woff'),
       url("../fonts/poorich.ttf") format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat-Bold';
  src: url("../../fonts/montserrat-extrabold.ttf");
}
*{
  box-sizing: border-box;
}

:root{
    --links-abstand: 2vw;
    --title: 15px;
    --rechts-abstand: 5vw;
}
:root{
    --vertikal-test-size: 5vw;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  overflow-x: hidden;
}



body{
    font-size: 2vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  background-image: url("../elemente/große-hintergrund-raster2.png");
    background-size: 310%;    
  background-position: center; 
  background-repeat: repeat;
    font-family: 'POORICH', sans-serif
}

.container-title {
    display: flex;
    height: 100vh; 
    padding-left: var(--links-abstand);
    
}

.container-title-img {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  position: relative;
  cursor: pointer;
  
}

.bild-box {
  position: relative;
  width: 100%;
  height: 50%;
  transition: transform 0.3s ease;
}

.bild-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;  
  -webkit-user-drag: none; 
  pointer-events: auto;  
}

.bild-box img.oben {
  z-index: 2;
  user-select: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bild-box img.hintergrund {
  z-index: 1;
}

.bild-box:hover{
    transform: scale(1.01);
}

.bild-box img.oben:hover {
    opacity: 0;
    transform: scale(1.01);
    user-select: none;     
  -webkit-user-drag: none; 
  pointer-events: auto;    
}


.navigation{
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 23%;
    height: auto;
    padding-right: 5%;
    cursor: pointer;
}

.navigation img{
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    max-height: 15vh;
    transition: transform 0.3s ease;
    user-select: none;  
  -webkit-user-drag: none; 
  pointer-events: auto;    
}

.arrow{

    display: flex;
    padding-top: 1vh;
}

.arrow img{
    width: 10vw;
    height: 10vh;
    transition: none;
    justify-content: center;
    display: flex;
}

#arrow{
   transition: left 21s;
}

.arrow-head{
  width: 100%;
  height: 85vh;
  display: flex;  
  justify-content: end;
  align-items: end;
  position: fixed;
  z-index: 4;
  pointer-events: none;
}


.arrow img:hover{
    transform: none !important;
    pointer-events: auto;
}

.navigation img:hover{
    transform: scale(1.07);
}

.news{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    background-color: #E8FFE990;
}

.news img{
    width: 15vw;
    height: auto;
    
}
.news-image{
  width: 30vw;
  height: auto;
  padding-top: 10vh;
  user-select: none;  
  -webkit-user-drag: none; 
  pointer-events: auto;  
}

.news-image img{
    user-select: none;  
  -webkit-user-drag: none; 
    pointer-events: auto; 
    padding-left: var(--links-abstand);
}




.news-text{
  width: 70vw;
  height: auto;
  padding-top: 10vh;
  padding-right: var(--rechts-abstand);
}

.news p{
  background-color: white;
  padding: 15px;
  border: solid gray;
}

.news-text-image{
  width: 100%;
  height: auto;
}

.news-text img{
  width: 31.5vw;
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.news-text img:active{
  transform: scale(1.05);
}

.news-text img:hover{
  transform: scale(1.03);
}

.talents-over{
  background-color: #FFE70020;
  width: 100%;
  height: auto;

}



.full{
  width: 100%;
  height: auto;
}
.full img{
  width: 100%;
  height: auto;
      user-select: none;  
  -webkit-user-drag: none; 
    pointer-events: auto; 
    padding-bottom: 10vh;
}

.talents {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 30vh;
  margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.talents p{
  display: flex;
  justify-content: end;
  align-items: center;
  height: 50vh;
  z-index: 1;
  padding-right: 3vw;
  font-size: 5vw;
}

.talents img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  user-select: none;    
  -webkit-user-drag: none; 
  pointer-events: auto; 
}

.changes img{
  object-position: center 20%;
}
.changes2 img{
  object-position: center 30%;
}
.changes3 img{
  object-position: center 50%;
}


.talents img.oben {
  z-index: 2;
  user-select: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.talents img.hintergrund {
  z-index: 1;
}

.talents:hover{
    transform: scale(1.01);
}

.talents img.oben:hover {
    opacity: 0;
    transform: scale(1.01);
    user-select: none;     
  -webkit-user-drag: none; 
  pointer-events: auto;    
}

.episodes-block{
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 3rem;
}

.episodes{
  width: 100%;
  height: auto;
}

.episode-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  opacity: 50%;
  padding-left: var(--links-abstand);
}

.vertical-text{
  font-size: var(--vertikal-test-size);
  letter-spacing: -14px;
  writing-mode: vertical-lr;
  text-orientation: upright;
    margin: 0;
  padding: 0;
}

.number{
  display: flex;
  align-items: center;
  font-size: 30vw;
  padding-left: 10vw;
  margin: 0;
}

.episode-video img{
  display: flex;
  align-items: center;
  justify-content: end;
  width: auto;
  height: auto;
  max-width: 40vw;
  max-height: 53vh;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.episode-video a{
  display: inline-flex;
  align-items: center;
}

.episode-video img:hover{
transform: scale(1.02);
}

.episode-video{
  display: flex;
  align-items: center;
  justify-content: end;
  width: 100%;
  height: 53vh;
  padding-right: var(--rechts-abstand);
}

/* Gesperrte Episoden (2–4) – leicht ausgegraut */
.episode-locked{
  opacity: 0.5;
  filter: grayscale(0.85);
}

.episode-title img{
  width: 40vw;
  height: auto;
  padding-left: var(--links-abstand);
  user-select: none;  
  -webkit-user-drag: none; 
  pointer-events: auto; 
  padding-bottom: 5vh;
}

.info{
  display: flex;
  justify-content: center;
  padding-top: 10vh;
  width: 100%;
  height: auto;
  background-color: #003cff10;
  padding-bottom: 10vh;
}

.info-title{
    display: flex;
    justify-content: center;
  flex-direction: column;
  width: 45vw;
  height: auto;
}

.info-image{
  display: flex;
  justify-content: center;
  padding-bottom: 5vh;
}

.info-title img{
    display: flex;
    justify-content: center;
  width: 12vw;
  height: auto;
}

.info-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  border: solid black;
}

.button{
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
}

.button-text{
  display: flex;
  justify-content: center;
  width: 15vw;
  height: auto;
  text-align: center;
  background-color: white;
  transition: 0.3s ease;
  border-radius: 8px;
  border: solid black;
}

.button-text:hover{
  transform: scale(1.03);
}

footer{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  height: 40vh;
}

.information-text{
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

.information-text p{
  display: flex;
  justify-content: start;
  gap: 1rem
  ;
}

.information{
  width: 27vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

/* ============================================================
   Footer-Logo (Fabioo 2.0 – wie auf der Portfolio-Startseite)
   ============================================================ */
.logo-footer {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  margin: 0 2rem;
  opacity: 0.85;
  color: #111;
  font-size: 2.25rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.5rem 11rem;
  transition: transform 0.3s ease;
}
.logo-footer:hover { transform: scale(1.04); }

.version-footer {
  font-size: 5rem;
}


/* ============================================================
   Home-Link im Header (zur Portfolio-Startseite)
   ============================================================ */
.home-link {
  display: inline-block;
  margin-bottom: 1vh;
  padding: 6px 16px;
  width: 10vw;
  height: 10vh;
  font-size: 19vw;
  background: #ffffff;
  border: solid black;
  border-radius: 10px;

  color: black;
  text-decoration: none;
  font-family: 'POORICH', sans-serif;
  font-size: 16px;
  white-space: nowrap;

  transition: transform 0.3s ease;
}
.home-link:hover { transform: scale(1.06); }

.arrow a{
  font-size: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;  
}


/* ============================================================
   News-Bereich – sauberes Bildraster
   ============================================================ */
.news-text-image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2vw;
  margin: 2.5vh 0;
}

.news-text-image img {
  width: 100%;
  height: auto;
}


/* ============================================================
   Footer – funktionierende Links
   ============================================================ */
.footer-logo-link { display: inline-flex; }

.information a { display: inline-flex; }

.information a img {
  transition: transform 0.3s ease;
  cursor: pointer;
}
.information a:hover img { transform: scale(1.12); }

.footer-links { line-height: 1.8; }
.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer-links a:hover { text-decoration: underline; }


/* ============================================================
   MOBILE / RESPONSIVE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  body { font-size: 4.2vw; }

  /* ---- Hero / Navigation ---- */
  .container-title {
    flex-direction: column;
    height: auto;
    padding-left: 0;
  }

  .navigation {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem 0.5rem 0.5rem;
    gap: 0.6rem;
  }

  header { width: 100%; }
  .navigation header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .navigation header nav img { max-height: 9vh; width: auto; }
  .home-link { align-self: center; }

  .navigation > a { display: inline-flex; }
  .navigation > a img { width: auto; max-height: 6.5vh; }

  .arrow,
  .arrow-head { display: none; }

  .container-title-img { width: 100%; height: auto; }
  .bild-box { height: 32vh; margin-bottom: 8px; }

  /* ---- News ---- */
  .news { flex-direction: column; }
  .news-image {
    width: 100%;
    padding-top: 4vh;
    text-align: center;
  }
  .news-image img { width: 40vw; padding-left: 0; }
  .news-text {
    width: 100%;
    padding: 4vh 5vw;
  }
  .news-text-image { grid-template-columns: 1fr; gap: 2vh; }
  .news-text img { width: 100%; }

  /* ---- Talents ---- */
  .full img { padding-bottom: 4vh; }
  .talents { height: 26vh; }
  .talents p { font-size: 9vw; height: auto; padding-right: 4vw; }

  /* ---- Episodes ---- */
  .episodes-block { padding-top: 0; flex-wrap: wrap; justify-content: center; }

  /* "Episode 1" waagerecht statt vertikal – sieht auf Mobil sauberer aus */
  .episode-text {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 2vw;
    width: 100%;
    padding-left: 0;
    opacity: 0.7;
  }
  .vertical-text {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 9vw;
    letter-spacing: normal;
  }
  .number { font-size: 14vw; padding-left: 0; }

  .episode-video { height: auto; padding-right: 0; align-items: center; justify-content: center; }
  .episode-video img { max-width: 60vw; max-height: none; height: auto; }
  .episode-title img { width: 70vw; }

  /* ---- Info ---- */
  .info { padding: 6vh 4vw; }
  .info-title { width: 92vw; }
  .info-title img { width: 28vw; }
  .info-image { padding-bottom: 3vh; }
  .button-text { width: 60vw; padding: 8px; }

  /* ---- Footer ---- */
  footer {
    flex-direction: column;
    height: auto;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }
  .footer-logo-link,
  .footer-logo-link img { width: 50vw; height: auto; }
  .information-text { width: 100%; align-items: center; }
  .information {
    width: auto;
    justify-content: center;
    gap: 0.4rem;
  }
}
  .information{
    gap: 1rem;
  }


