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

html {
	background: url(../images/bg2.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    scroll-behavior: smooth; /* Sanfte Scrollbewegung */
}

header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 60px;
    background-color: transparent; /* Hintergrund der Navigation transparent */
    z-index: 1000; /* Sicherstellen, dass die Navigation immer oben bleibt */
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionaler Schatten für besseren Kontrast */
    backdrop-filter: blur(10px); /* Optionaler Blur-Effekt, um den Hintergrund leicht verschwommen darzustellen */
}

a {
    color: #6699ccd9;
}

.flex-container {
    display: flex;
    justify-content: center;   /* Zentriert horizontal */
    align-items: center;       /* Zentriert vertikal */
    min-height: 50vh;          /* Setzt die Höhe des Containers auf 100% der Bildschirmhöhe */
    margin: 0;
}

/* Der iFrame Container */
.div-iframe {
    width: 500px;
    height: 100%;
    flex-shrink: 0;
}

/* iFrame selbst */
.div-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Der Textbereich */
.div-right-section4 {
    width: 300px;
    flex: 0 0 auto;
    margin-top: -40px;  /* Keine negative Verschiebung mehr notwendig */
}

.logo {
    position: absolute;
    text-align: left;
    margin-top: -7px;
}

.logo-li {
    text-align: right;
    margin-top: -2px;
    padding: 0;
}

.button {
  background-color: #04AA6D; /* Green */
  border: none;
  color: white;
  padding: 5px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 12px;
  cursor: pointer;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: transparent; 
  color: #77a0c8; 
  border: 2px solid rgba(102, 153, 204, 0.6);
  border-radius: 25px;
}

.button1:hover {
    background: linear-gradient(to right, #6699ccd9 20%, white 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all .5s ease-out;
    color: #595959;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }
  
  .positionVorzeiger,
  .positionVorzeiger2,
  .positionVorzeiger3 {
    width: 80%;
    max-width: 900px;
    background-color: rgba(102, 153, 204, 0.3);
    color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-top: 100px;
  }
  
  /* Optional: Etwas mehr Abstand & leicht versetzt */
  .positionVorzeiger2 {
    margin-top: 20px;
    transform: translateX(10px);
  }
  
  .positionVorzeiger3 {
    margin-top: 20px;
    transform: translateX(50px);
  }

  .positionVorzeiger4 {
    margin: auto;
    width: 80%;
    max-width: 1200px;
    margin-top: 20px;
    transform: translateX(10px);
    text-align: left;
  }
  
  /* Für kleinere Geräte (Responsivität) */
  @media (max-width: 768px) {
    .positionVorzeiger,
    .positionVorzeiger2,
    .positionVorzeiger3 {
      width: 95%;
      transform: none;
    }
  }
  
.block {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fefefe;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    font-family: sans-serif;
}

.section2 {
    background-color: rgba(255, 255, 255, 0.3);
	top: 100%; /* Jede Section startet unterhalb des Bildschirms */
    padding: 100px 20px 50px 20px; /* Mehr Abstand oben für fixierte Navigation */
    text-align: center;
    transition: all 0.5s ease-in-out; /* Übergangseffekt für den Slide */
}

.section3 {
	background-color: rgba(102, 153, 204, 0.3);
	top: 100%; /* Jede Section startet unterhalb des Bildschirms */
    padding: 100px 20px 50px 20px; /* Mehr Abstand oben für fixierte Navigation */
    text-align: center;
    transition: all 0.5s ease-in-out; /* Übergangseffekt für den Slide */
}

#section4 {
    height: 800px;
    display: flex; /* Verwende flexbox, um die Kinder nebeneinander anzuordnen */
    align-items: center; /* Optional: Vertikale Ausrichtung in der Mitte */
}

.section5 {
	background-color: rgba(102, 153, 204, 0.3);
	top: 100%; /* Jede Section startet unterhalb des Bildschirms */
    padding: 100px 20px 50px 20px; /* Mehr Abstand oben für fixierte Navigation */
    transition: all 0.5s ease-in-out; /* Übergangseffekt für den Slide */
}

.footbar {
    position: absolute;
    display: inline-block;
    text-align: left;
    font-size: 14px;
    width: 50%;
    margin-top: 10px;
    margin-left: 50px;
    letter-spacing: 0.1em;
    word-spacing: 0.5em;
    
}

.footbar-li {
    position: absolute;
    display: inline-block;
    text-align: left;
    font-size: 12px;
    width: 50%;
    margin-top: 40px;
    margin-left: 50px;
    letter-spacing: 0.1em;
    word-spacing: 1.9em;
}

.footbar-li-3 {
    position: absolute;
    display: inline-block;
    text-align: left;
    font-size: 12px;
    width: 50%;
    margin-top: 40px;
    margin-left: 125px;
    letter-spacing: 0.1em;
    word-spacing: 1.9em;
}

.footbar-li-4 {
    position: absolute;
    display: grid;
    text-align: left;
    font-size: 12px;
    width: 50%;
    margin-top: 40px;
    margin-left: 210px;
    letter-spacing: 0.1em;
    word-spacing: 1.9em;
}

.copy {
    position: absolute;
    display: inline-block;
    text-align: left;
    font-size: 12px;
    width: 50%;
    margin-top: 130px;
    margin-left: 50px;
    letter-spacing: 0.1em;
    word-spacing: 0.3em;
}

.social {
    position: absolute;
    display: inline-block;
    text-align: left;
    width: 10%;
    margin-top: 0px;
    margin-left: 90%;
}

.section:nth-child(even) {
    background-color: rgba(102, 153, 204, 0.3);
}

.section.active {
    top: 0; /* Wenn die Section aktiv ist, wird sie an die obere Position verschoben */
}

/* Responsives Design */
@media (max-width: 768px) {
    header {
        padding: 10px 10px; /* Weniger Abstand oben bei kleinen Bildschirmen */
    }

    nav ul {
        flex-direction: column; /* Navigationselemente untereinander auf mobilen Geräten */
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    section {
        padding: 120px 15px 50px 15px; /* Mehr Abstand oben auf mobilen Geräten */
    }
}

#contact
{
    display: none;
    background: grey;
    color: #FFF;
    padding: 10px;
}

.positionVorzeiger5 {
    align-items: center;
    margin-bottom: 30px;
    padding-left: 50px;
    padding-right: 50px;
    width: 100%;
    height: 10%;
    border-radius: 5px;
}

.flex-container1,
.flex-container2,
.flex-container3,
.flex-container4,
.flex-container5,
.flex-container6 {
    display: flex;
    flex-flow: wrap;
    gap: 1rem;
    padding: 10px;
    margin-top: -80px;
}

.item {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .05);
    border: solid 1px lightgray;
    padding: 10px;
    text-align: left;
    font-size: 14px;
    margin: 10px;
}
