@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Regular.woff2') format('woff2'),
        url('fonts/NotoSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Thin.woff2') format('woff2'),
        url('fonts/NotoSans-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
  --slide-duration: 2s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', Arial, sans-serif;
    background-color: black;
    color: red;
    height: 100vh;
    overflow: hidden;
}
a{ color: red; text-decoration: none;}
a:hover{ color: white; text-decoration: none;}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    cursor: pointer;
}

.slider-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity var(--slide-duration, 2s) ease-in-out; /* Langsame Überblendung */
}

.slider-container img.active {
    opacity: 1;
   
}


.text {
    position: fixed;
    bottom: 10px; /* Anfangs teilweise außerhalb des Bildschirms sichtbar */
    right: 10px;
    width: 80%;
    max-width: 500px;
    height: auto; /* Höhe des Textbereichs */
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparent */
    color: red;
    padding: 10px;
    box-sizing: border-box;
    transition: bottom 0.3s ease; /* Sanfte Bewegung */
    z-index: 1000; /* Text bleibt über anderen Elementen */
    border-radius: 10px;
    text-align: right;
    font-size: 1em;
    font-family: 'Noto', sans-serif;
    display: block;
    overflow: hidden; /* Verhindert, dass der Text über die Box hinausgeht */
}




/* Standardfarbe der Vektoren */
.st0 {
    stroke: #ff0000; /* Ursprüngliche Farbe */
    transition: transform 0.3s ease-in-out;
}

/* Hover-Effekt für das SVG */
#logo-svg:hover .st0 {
    stroke: #ffffff; /* Neue Farbe beim Hover */
}


.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    width: 80%; /* Normale Größe des Logos */
    transition: top 2s ease, transform 2s ease, width 2s ease;
}

#logo-svg .st0 {
    opacity: 0; /* Am Anfang unsichtbar */
    transform: scale(0) translate(50px, 50px); /* Unsichtbar, skaliert und leicht verschoben am Anfang */
    transition: opacity 1s ease, transform 1s ease; /* Weicher Übergang */
}

.logo-container.shrink {
    top: 1%; /* Obere Mitte des Bildschirms */
    transform: translate(-50%, 0); /* Bewegt das Logo nach oben */
    width: 300px; /* Verkleinert das Logo */
}

.slider-container {
    opacity: 0; /* Startet unsichtbar */
    transition: opacity 2s ease-in-out; /* Sanftes Einblenden */
    visibility: hidden; /* Verhindert, dass der Slider unsichtbar bleibt, aber blockiert */
}

.slider-container.visible {
    opacity: 1; /* Sichtbar machen */
    visibility: visible; /* Sichtbarkeit freigeben */
}








/* Ken Burns In Effekt */
.kenburns-in {
    animation: kenburns-in 40s ease-in-out infinite; /* Langsames Reinzoomen über 30 Sekunden */
}

@keyframes kenburns-in {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Ken Burns Out Effekt */
.kenburns-out {
    animation: kenburns-out 40s ease-in-out infinite; /* Langsames Herauszoomen über 30 Sekunden */
}

@keyframes kenburns-out {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile Anpassungen für object-fit */
@media only screen and (max-width: 768px) {
    .slider-container img {
        object-fit: contain; /* Standardmäßig für mobile Geräte auf contain */
    }
 

    

}






/* Modal Vollbildfenster */
.modal {
    display: none; /* Versteckt das Modal standardmäßig */
    position: fixed; /* Vollbildanzeige */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black; /* Roter Hintergrund */
    z-index: 1000; /* Über alles legen */
    overflow: hidden; /* Verhindert das Scrollen außerhalb des Modals */
}

/* Modal-Inhalt */
.modal-content {
    position: relative;
    width: 100%;
   
    height: 100%; /* Beschränkt die Höhe des Inhalts */
    margin: auto;
    top: 10%;
    background-color: black; /* Roter Hintergrund */
    color: red; /* Schwarzer Text */
    padding: 5%;
    border-radius: 10px;
    overflow-y: auto; /* Macht den Inhalt scrollbar */
}
.modal-content h2{
    font-weight: normal;
    font-size: 30px;

}
.modal-content p{
    font-weight: 100;
    font-size: 20px;
    margin: 1em 0 2em 0;

}



/* Schließen-Button (X) */
.close-btn {
    position: fixed;
    top: 10px;
    right: 20px;
    font-size: 54px;
    font-weight: 100;
    cursor: pointer;
    z-index: 1001; /* Über dem Modal-Inhalt */
    transition: transform 0.3s ease; /* Sanfter Übergang beim Drehen */
}


/* Hover-Effekt: X drehen */
.close-btn:hover {
    transform: rotate(180deg); /* Dreht das X um 180 Grad */
    color: white; /* Optional: Ändert die Farbe bei Hover */
}


.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Höhe des Verlaufsbereichs (anpassbar) */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.9),  /* Starke Verdunkelung oben */
        rgba(0, 0, 0, 0)     /* Transparenz unten */
    );
    z-index: 2; /* Sicherstellen, dass die Überlagerung unter dem Logo liegt */pointer-events: none;
}

#autoplay-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ff3300; /* Knopf-Farbe */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    z-index: 3;
}

#autoplay-btn:hover {
    background-color: #ff6600; /* Leichter Hover-Effekt */
}



/* Slider-Container */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Vollbildhöhe, falls nötig */
}

/* Container für Button und Text */
.info-container {
    position: fixed;
    bottom: 10px;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    z-index: 999; /* Sehr hoher z-index, um Überlagerung zu vermeiden */
}

/* Button */
.info-btn {
    width: 38px;
    height: 38px;
    background-color: #000000; /* Helle Farbe zum Testen */
    border: 1px solid red;
    color: #ff0000;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.5s ease;
    margin: 13px;
    z-index: 10000; /* Noch höherer z-index für den Button */
}

/* Zustand, wenn Modal geöffnet ist */
.info-btn.active {
    transform: rotate(225deg);
    border: 0px;
}

/* Textfenster */
.text-content {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    color: #ff0000;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 9998;
    pointer-events: none;
}

.text-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.99) 0%,
        rgba(0, 0, 0, 0.85) 30%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.2) 85%,
        transparent 100%);
    z-index: -1;
}

.text-content.active {
    opacity: 1;
    pointer-events: auto;
    padding: 10% 12% 5% 5%;
}

/* Standard: mobil = zentriert */
.portrait-wrapper {
  text-align: center;
}

.portrait-responsive {
  max-width: 70%;
  height: auto;
  display: inline-block;
  margin: 2rem auto;
  float: none;
}

/* Ab 768px: float rechts */
@media (min-width: 550px) {
  .portrait-wrapper {
    float: right;
    max-width: 40%;
  }

  .portrait-responsive {
      max-width: 100%;
  height: auto;
  display: inline-block;
  margin: 0 auto;
  }
}

