

html, body {
    background-color: #ffffff;
    color: #141414; /* Textfarbe weiß */
    scroll-behavior: smooth;  /* Sanftes Scrollen bei internen Links */
    padding:0px;
    margin:0px;
}

p{
    /*font-size: clamp(0.5rem, 2.5vw, 2rem); 2rem (ca. 32px).1rem (ca. 16px) */
    font-family: "Futura-PT", sans-serif;
    font-weight: 400;
    color: #141414;
    font-style: normal;
    font-size: clamp(8px,0.72vw, 17px);
    letter-spacing: 0.03em;
    line-height: 1.2;
    display: block;
    text-decoration: none;  
}
a:hover{    
    color:#000;
    text-decoration: none;
}
a{
    /*font-size: clamp(0.5rem, 2.5vw, 2rem); 2rem (ca. 32px).1rem (ca. 16px) */
    color:#2ab9ce;
    text-decoration: none;
    font-family: "Futura-PT", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:16px;
    font-size: clamp(8px,1vw, 15px);
    letter-spacing: 0.03em;
    line-height: 1.2;
    display: block;
    text-decoration: none;  
}

/* Styling für die Blöcke */
.block {
    width: 100%;  /* Volle Breite des Viewports */
    height: auto;  /* Höhe wird durch aspect-ratio bestimmt */
    aspect-ratio: 16 / 9; /* Passt sich an ein 16:9 Verhältnis an */
    min-height: 400px; /* Mindesthöhe */
    max-height: 100vh; /* Maximale Höhe nicht größer als der Viewport */

    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;  /* Horizontale Zentrierung */
    align-items: center;  /* Vertikale Zentrierung */
}
.block iframe{
    height:100%;
    width:auto;
    aspect-ratio: 16 / 9;  /* Zum Beispiel 16:9. Passe das Verhältnis an */
    object-fit: cover;
    z-index:2;
}
.grau{
    background-color: #c8cdcf;
}

.deck{
    position:absolute;
    width:100%;
    height:100%;
    
}

#image-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.background-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}
#background-image {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#background-image-iim {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------     Fade fx                   */
.fade {
  opacity: 0;
  animation: fadeinout 4s infinite;
  
}

@keyframes fadeinout {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ------------------------------------------     Weiter-Button                    */

/*.next-button {
    color: white;
    text-decoration: none;
    background-image: url("../img/pfeil_page.png");
    background-size: 100% 100%; /* Stellt sicher, dass das Bild immer die gesamte Fläche ausfüllt */
  /*  background-repeat: no-repeat;
    width: 100%; /* Passt die Breite an das übergeordnete Element an */
    /*height: 100%; /* Passt die Höhe an das übergeordnete Element an */
   /* display: block;
   /* text-align: center;
} */
.next-button {
    width:100%;
    height:100%;
    cursor: pointer;
    position: relative;
    transition: border-color 200ms ease;
                            text-decoration: none; /* Entfernt die Unterstreichung */
            color: inherit; /* Nimmt die Textfarbe des Elternelements */
            font-weight: Bolder; /* Optional: normale Schrift */
            color:#fff;
            font-size: 28px;
}

.next-button:hover {
    border-color: rgba(255, 255, 255, 0.9); /* Hellerer Pfeil beim Hover */
    filter: drop-shadow(0px 0px 7px rgba(0, 0, 0, 1));
}
.button{

    position: absolute; /* Fixed, damit der Button immer sichtbar bleibt */
    bottom: 15%;
    right:10%;
    width:70px;
    height:70px;
    z-index:999;
}
.button-background {

    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    transition: transform 250ms ease, background-color 200ms ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    display: flex;
    justify-content: center; /* Zentriert horizontal */
    align-items: center; /* Zentriert vertikal */

}

.button-background:hover {
    transform: translateY(-10px);
    background-color: rgba(50, 50, 50, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* ------------------------------------------     x                   */




/* ------------------------------------ immer sichtbaren Navigationsbereich RECHTS */
.navigation {
    position: fixed;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0px; /* Abstand zwischen den Quadraten */
    z-index: 900; /* Sicherstellen, dass die Navigation über allem liegt */
    max-height: 80vh; /* Maximale Höhe der Navigation */
    width: 250px; /* Breite der Navigation */
    overflow-y: auto; /* Vertikales Scrollen */
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 5px; /* Rundungen an den Ecken */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Schatten */
    transition: right 0.3s ease; /* Animation beim Ein-/Ausblenden */
    overflow: visible;
}

/* Styling für den Toggle-Button */
.nav-toggle {
    position: fixed;
    top: 6px;
    right: 290px;
    width: 60px; /* Kleinere Breite des Buttons */
    height: 60px; /* Kleinere Höhe des Buttons */
    background-color: #5B5F62;
    color: white;
    border: none;
    border-radius: 50%; /* Kreisförmiger Button */
    cursor: pointer;
    z-index: 1001; /* Sicherstellen, dass der Button über der Navigation liegt */
    box-shadow: 0 0 5px rgba(255, 255, 255, 1); /* Schatten für Sichtbarkeit */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kreis mit Linien */
label.hamburg {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px; /* Breite des Hamburger-Icons verkleinert */
    height: 24px; /* Höhe reduziert, um die Linien enger zusammenzusetzen */
    pointer-events: none;
    position: relative;
    background: none;
}

.line {
    background: #fff;
    height: 3px; /* Dünnere Linien */
    border-radius: 2px;
    transition: 0.3s;
}

/* Neue Position der Linien */
.line:nth-child(1) {
    top: 4px; /* Enger zusammen */
}

.line:nth-child(2) {
    top: 10px; /* Enger zusammen */
}

.line:nth-child(3) {
    top: 16px; /* Enger zusammen */
}

/* Animation für Menü öffnen */
.rotated .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* Animation angepasst */
}

.rotated .line:nth-child(2) {
    opacity: 0; /* Mittlere Linie verschwindet */
}

.rotated .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* Animation angepasst */
}






/* Die Navigation sichtbar machen, wenn die Klasse .open hinzugefügt wird */
.navigation.open {
    right: 0; /* Navigation rutscht in den sichtbaren Bereich */
    z-index:999;
    overflow:visible;
}
.navigation:hover {
    
}

 /* --------------------------------------------------*/
 
/* Styling für die Navigationsquadrate */
.nav-square {
    width: auto; /* Größe der Navigationsquadrate */
    height: 50px;
    background-color: #5B5F62; /* Standardfarbe */
	/* background-color: #294293;  */
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Text linksbündig ausrichten */
    color: white; /* Schriftfarbe */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Schatten hinzugefügt für bessere Sichtbarkeit */
    transition: background-color 0.3s;
    cursor: pointer; /* Zeigt an, dass es klickbar ist */
    padding-left: 10px;
    padding-right: 10px;
}

.nav-square:hover {
    background-color: #2ab9ce; /* Hover-Farbe */
}

.nav-square.active {
    background-color: #2ab9ce; /* Farbe bei aktivem Zustand */
}


 /* --------------------------------------------------*/
 
/* Verwende den :target Pseudo-Selektor, um die entsprechende Navigation hervorzuheben */
#block1:target ~ .navigation a[href="#block1"],
#block2:target ~ .navigation a[href="#block2"],
#block3:target ~ .navigation a[href="#block3"],
#block4:target ~ .navigation a[href="#block4"],
#block5:target ~ .navigation a[href="#block5"] {
    background-color: orange; /* Dies ändert die Farbe des aktiven Navigations-Quadrats */
}

/* Styling für den Seitenzähler */
.page-counter {
    min-width:200px;
    position:absolute;
    text-align: center;
    top: 0px; /* Abstand vom oberen Rand */
    right:290px; /* Abstand vom rechten Rand */
    background-color: #2ab9ce;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.5rem; /* Schriftgröße für den Zähler */
    z-index: 1000; /* Sicherstellen, dass der Zähler über allem liegt */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Schatten hinzugefügt für bessere Sichtbarkeit */
    display:none;
}
#devOrientation {
    position: fixed;
    top:0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
    background: rgba(45, 45, 45, 0.7);
    backdrop-filter: blur(5px);

/* Zentrieren mit Flexbox */
    display: flex;
    justify-content: center; /* Horizontal */
    align-items: center; /* Vertikal */
    text-align: center; /* Falls mehrere Zeilen */


    text-transform: uppercase;
    color:#fff;

    /* Scrollen verhindern */
    touch-action: none;
    overflow: hidden;

    /* Klicks blockieren */
    pointer-events: auto; /* Falls `none` versehentlich gesetzt wurde */

    z-index:950;

}
#devOrientation h3{
    font-size: clamp(20px, 5vw, 50px);
	 font-family: "Futura-PT", sans-serif; font-family: "Futura-PT", sans-serif;
}

/* meine EXTRAS */

.full-block {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width:1920px;
    display: block;
}
.spec{
	max-width:100%;
}
.fullblock_special {
	position: absolute;
  width:100px;
  height: 70px;
	bottom: 20px;
  border-radius: 10px;
}

/* repositionierung von block special */

@media (max-width: 767.98px) { 
 

    .nav-toggle{
        width:40px;
        height:40px;
    }
    .button{
        width:50px;
        height:50px;
        bottom:50%;
    }
    .next-button{
        font-size: 18px;
    }
    #cookienotice {
        height: 35%;
    }
}


/* cookie notice banner */

#Cookiebanner {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(9, 105, 172, 0.5);
}
#cookienotice {
    padding: 10px;
    height: auto;
    width: 100%;
    position: absolute;
    bottom: 0px;
    margin: 0px auto;
    background-color: #fff;
}
.center {
    position: relative;
    display: block;
    width: 80%;
    margin: 0px auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}
input[type="submit"] {
    padding: 20px;
    background-color: #5B5F62;
    color: #fff;
    border: 5px;
    border-color: #000;
    cursor: pointer;
    font-size: 20px;
}
#cookienotice p {
    color: #000;
    font-size: 20px;
    font-size:clamp(14px, 5vw, 17px);
	text-align: center;
}
#cookienotice a {
    color: #2854e2;
    font-size:20px;
    font-size:clamp(14px, 5vw, 17px);
	text-align: center;
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Deckt die Breite des Containers */
    height: auto; /* Beibehaltung des Seitenverhältnisses */
    min-height: 100%; /* Deckt die gesamte Höhe des Containers */
    z-index:1;
    transform: translateY(0); /* Startposition */
    will-change: transform; /* Für optimierte Animationen */
    touch-action: auto;
  }
.pageslogo {
    position: absolute;
    top: 5%; /* Positioniert das Logo von oben */
    left: 5%; /* Positioniert das Logo von links */
    transform: translate(0, 0);
    width: 15%;
    max-width: 350px;
    height: auto;
    z-index: 999;
}

@media (max-width: 767.98px) { 
    .pageslogo {
        top: 10%; /* Etwas weiter unten für kleinere Screens */
        left: 5%;
        width: 25%; /* Vergrößert das Logo auf Mobilgeräten */
    }
}

.pageslogo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.language-switch {
    margin-top: 40px; /* Ursprünglicher Abstand + 30px */
    display: flex;
    gap: 10px; /* Abstand zwischen den Flaggen */
    justify-content: left;
}

.language-switch img {
    width: 50px; /* Flaggen ebenfalls verkleinern */
    height: auto;
    cursor: pointer;
}
.hovered{
    transform: scale(1.2); /* Vergrößert die Flagge beim Hover */
    transition: transform 0.2s; /* Sanfter Übergang */
}
.langitem{
    border: 2px solid #ffffff; /* Rahmenfarbe für die ausgewählte Flagge */
    padding: 5px; /* Abstand zwischen Flagge und Rahmen */
}
.langSelected{
    border: 2px solid #2ab9ce; /* Rahmenfarbe für die ausgewählte Flagge */
    padding: 5px; /* Abstand zwischen Flagge und Rahmen */
}

@media (max-width: 767.98px) { 
    .language-switch {
        margin-top: 20px; /* Noch etwas mehr Abstand für kleine Bildschirme */
    }
}
.pdf-icon {
    width: 40px; /* Größe des PDF-Symbols */
    height: auto;
    margin-top: 5px; /* Abstand zur Flagge */
    cursor: pointer;
    transition: transform 0.2s;
}