body{
  padding: 0;
  margin: 0;
}

header{
margin-top: 24px;
margin-bottom: 24px;

}

.mitte{
  display: flex;
  justify-content: center;
  align-items: center;
}

#teaser{
  width:100%;
  height: 300px;
}

#teaser img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 800px){
  #teaser {
    height: 600px;
  }
}

nav {
 position: sticky;
 top: 0px;
 backdrop-filter: blur(8px); /* Verfolgende Navigationsleiste mit Milchglaseffekt*/
}

#services li{
  font-size: 14pt;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 500;
}

footer ul, nav ul{
  list-style: none; 
  margin: 0;
  padding: 0;
  padding-top: 24px;
  padding-bottom: 24px;
}

nav ul li a {
  padding: 16px ;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: black;
  font-weight: 600;
}

section{
  max-width: 1200px;
  margin-left: auto;
  margin-right:auto;
  padding-left: 16px;
  padding-right: 16px;
  
}

footer ul li a{
  padding: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  color: black;
}

#kontakt ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#kontakt ul li a {
  color: black;

}

#teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.8s ease; /* Füge transform für die Animation hinzu */
}

#login ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#login ul li a {
  color: black;
}



body.scrolling #teaser img {
  opacity: 0;
  transform: translateY(-100%); /* Füge diese Zeile hinzu, um das Bild nach oben zu verschieben */
}
