html,body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: rgb(19, 18, 18);
  width: 100%;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: black; /*363636*/
  padding: 20px;
  box-sizing: content-box;
  height: 20px; /* Beispielhöhe für die Navbar */
  position: relative; /* Position für den Hover-Hintergrund */
  z-index: 0;
}

.navbar a {
  color: #868585;
  
  display: inline-block;
  height: 100%; /* Buttons nehmen die volle Höhe der Navbar ein */
  text-align: center;
  padding: 17px 30px ; /* Anpassung der horizontalen Polsterung */
  text-decoration: none;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: bold;
}



.navbar a:hover {
  background-color: #7c77774f; /* Hintergrundfarbe bei Hover */
}


.navbar img {
  height: 50px;
}



.mitte {
  text-align: center;
  color: #0f0f0f;
  padding-top: 100px;
  display: flexbox;
}

.hr2 {
  border: 2px solid #616060;
  width: 80%;
  margin: 10px auto;
  background-image: linear-gradient(to right, to left,  #e98f29, #b8b4b2);
}



.hr3 {
  
  position: relative; /* Position relativ zum normalen Fluss beibehalten */
  width: 900px; /* Beispielbreite des Streifens */
  height: 80px; /* Hälfte der ursprünglichen Höhe */
  z-index: 1;
  margin: -25px 0 0 10px; /* Negative margin-top zur Hälfte der Höhe des Streifens */
  margin-bottom: 60px;
  float: right;
  animation: slide-in 1s forwards;
  border: 0;
  background-image: linear-gradient(to right, #e98f29, #ff6700);
  transition: transform 0.4s, opacity 0.4s;
  box-shadow: -10px 0 10px -10px rgba(0, 0, 0, 0.5), 10px 0 10px -10px rgba(0, 0, 0, 0.5);
}

.hr3_2 {
  
  position: relative; /* Position relativ zum normalen Fluss beibehalten */
  width: 900px; /* Beispielbreite des Streifens */
  height: 80px; /* Hälfte der ursprünglichen Höhe */
  z-index: 1;
  margin: -25px 0 0 10px; /* Negative margin-top zur Hälfte der Höhe des Streifens */
  margin-bottom: 0px;
  float: right;
  animation: slide-in 1s forwards;
  border: 0;
  background-image: linear-gradient(to right, #e98f29, #ff6700);
  transition: transform 0.4s, opacity 0.4s;
}

.hr3 p
{
  font-size:x-large;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: white;
  font-weight: bold;
  padding: auto;
 
 
  text-align: center;
}

.hr3_contact
{
  position: relative; /* Position relativ zum normalen Fluss beibehalten */
  width: 500px; /* Beispielbreite des Streifens */
  height: 80px; /* Hälfte der ursprünglichen Höhe */
  z-index: 1;
  margin: -25px 180px 0 0px; /* Negative margin-top zur Hälfte der Höhe des Streifens */
  margin-bottom: 60px;
  float: right;
  animation: slide-in 1s forwards;
  border: 0;
  background-image: linear-gradient(to right, #e98f29, #ff6700);
  transition: transform 0.4s, opacity 0.4s;
}

.hr3_contact p
{
  font-size:x-large;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: white;
  font-weight: bold;
  padding: auto;
 
 
  text-align: center;
}



@keyframes slide-in {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}
.hr4
{
  border: 5px solid #ff6700;
  width: 100%;
  margin:  auto 0 0 10px;
  margin-bottom: 60px;
  float: left;
}

.teaser-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 80px; /* Abstand zwischen Navbar und Teaser */
  margin-bottom: 80px;
}




.teaser {
  width: 30%; /* Breite der Teaser anpassen */
  height: 600px; /* Festlegen der Höhe für alle Teaser */
  margin: 20px 0;
  border: 1px solid #ddd;
  
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0; /* Start hidden */
  text-align: center;
  
  
}

.teaser.left {
  background-color: #e7e1e1;
  color: rgb(2, 2, 2);
 
}



.teaser.right {
  background-color: #c0bcb9;
  color: rgb(0, 0, 0);
}

.teaser img {
  width: 100%;
  height: 50%; /* Anpassen der Höhe der Bilder */
  object-fit: cover; /* Stellt sicher, dass die Bilder in den Teasern vollständig sichtbar sind */
  transition: transform 0.2s;
}

.teaser-text {
  padding: 10px 10px 10px 20px; /* Added padding */
  padding-top:20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-align: left;
    box-sizing: border-box;
    display: flexbox;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    height: auto; /* Ensure it takes full height */
}

.teacher-text h3
{
    text-align: center;
}




.teaser.visible {
  transform: translateX(0);
  
  opacity: 1;
}
@keyframes fly-in {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.teaser.visible {
  animation: fly-in 1.5s forwards;
}

.contact-info {
  padding: 20px;
    background-color: #f0f0f0;
    text-align: left;
    margin-left: 10%;
    width: 80%;
    margin-bottom: 40px;
}

.contact-info h2 {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-bottom: 20px;
}

.contact-info p {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  text-align: left;
}
ul {
  list-style-type: none;
  padding: 20;
}

ul li {
  margin: 10px 0;
}

footer {
  background-color: #000000;
  height: fit-content;
  color: #f7f0eb;
  padding: 10px 0;
  text-align: center;
  box-sizing: content-box;
  
}

footer ul {
  list-style-type: none;
  padding: 0;
  
}

footer ul li {
  display: inline;
  margin: 0 0px;
}

footer ul li a {
  color: #868585;
  
  display: inline-block;
  
  text-align: center;
  padding: 40px;
  text-decoration: none;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: bold;
  box-sizing: content-box;
}

footer a:hover {
  background-color: #7c77774f; 
}



/* Restlicher CSS-Code bleibt unverändert */

.impress {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.impress ul {
  flex: 1;
  padding: 0 10px;
  list-style: none;
}

.impress p {
  margin: 0;
  line-height: 1.6;
  text-align: center; /* Text linksbündig ausrichten */
}


/*Galerie*/

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 5px;
  background-color: #f0f0f0;
  width: 100%;
  height: auto;
  padding: 20px;
}

.gallery-item {
  flex: 1 1 200px; /* Flexibles Wachstum, minimale Größe 200px */
  margin: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #ffffff00;
  
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s, opacity 0.4s;
}


.gallery-item img:hover {
  transform: scale(1.2);
 
}





.galleriebox
{
  padding: 20px;
    background-color: #f0f0f000;
   height: auto;
    
    width: 100%;
    margin-bottom: 40px;
}

.hrgal
{
  position: relative; /* Position relativ zum normalen Fluss beibehalten */
  width: 900px; /* Beispielbreite des Streifens */
  height: 80px; /* Hälfte der ursprünglichen Höhe */
  margin-top: 10px; /* Negative margin-top zur Hälfte der Höhe des Streifens */
  margin-bottom: 60px;
  float: right;
  animation: slide-in 1s forwards;
  border: 0;
  background-image: linear-gradient(to right, #e98f29, #ff6700);
  transition: transform 0.4s, opacity 0.4s;
  box-shadow: -10px 0 10px -10px rgba(0, 0, 0, 0.5), 10px 0 10px -10px rgba(0, 0, 0, 0.5);
}

.hrgal.visible {
  transform: translateX(0);
  opacity: 1;
}
@keyframes fly-in {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hrgal.visible {
  animation: fly-in 1.5s forwards;
}

.hrgal p
{
  font-size:x-large;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: white;
  font-weight: bold;
  padding: auto;
 
 
  text-align: center;
}

