/* Standard-Ränder auf 0 setzen */
*{
  padding: 0;
  margin: 0;

}
.container {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.header {
  background-color: #ff0202;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo {
width: 50%;
height: auto;
border-radius: 10px;
}
.logo-text {
  font-size: 18px;
  margin-top: 10px;
  text-align: left;
}
.scrolling-text-container {
  background-color: black;
  color: white;
  font-family: 'Courier New', Courier, monospace;
  position: relative;
  overflow: hidden;
  z-index: 2; /* Stellt sicher, dass der Text immer oben bleibt */
}

/* Der Text innerhalb des Containers */
.scrolling-text {
  white-space: nowrap;      /* Verhindert Umbrüche */
  font-size: 30px;          /* Größere Schriftgröße */
  line-height: 50px;        /* Zeilenhöhe so einstellen, dass der Text vollständig sichtbar ist */
  font-weight: bold;
  animation: scroll-text 20s linear infinite; /* Animation auf 20 Sekunden verkürzt */
}

/* Animation für den laufenden Text */
@keyframes scroll-text {
  0% {
    transform: translateX(100%);  /* Startet rechts außerhalb des Containers */
  }
  100% {
    transform: translateX(-100%); /* Bewegt den Text bis weit nach links außerhalb */
  }
}
/* Hauptcontainer für Text und Bilder nebeneinander */
.main-container {
  display: flex;
  justify-content: space-between; /* Verteilte Anordnung */
  align-items: flex-start; /* Vertikale Ausrichtung oben */
  width: 100%;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto; /* Zentriert den Container */
  flex-grow: 1; /* Damit der Hauptinhalt den Platz zwischen Header und Footer ausfüllt */
}
.opening-text-container {
  width: 45%; /* 45% der Gesamtbreite für den Text */
  padding-right: 20px; /* Etwas Abstand zur Bildseite */
}

.opening-text-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.opening-text-container ul {
  list-style: none; /* Entfernt Aufzählungszeichen */
  padding: 0;
}

.openning-text-container li {
  font-size: 16px;
  margin-bottom: 20px; /* Abstand zwischen den Listenelementen */
}

/* Container für die Bilder */
.image-container {
  width: 45%; /* Bildercontainer nimmt 45% der Breite ein */
  height: 250px; /* Höhe des Containers anpassen */
  position: relative;
  overflow: hidden;
  border-radius: 10px; /* Abgerundete Ecken für den Container */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Leichter Schatten für den Container */
}

/* Alle Bilder nebeneinander anzeigen */
.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bilder an den Container anpassen */
  border-radius: 10px; /* Abgerundete Ecken für die Bilder */
  opacity: 0; /* Bilder beginnen unsichtbar */
  animation: fade 15s infinite; /* Langsame Animation ohne Bewegung */
  display: block; /* Sicherstellen, dass Bilder blocklevel-Elemente sind */
}

/* Keyframes für den Fade-Effekt */
@keyframes fade {
  0%, 100% {
    opacity: 0; /* Das Bild ist zu Beginn und am Ende transparent */
  }
  16.66%, 33.33% {
    opacity: 1; /* Bild wird sichtbar */
  }
  50%, 66.66% {
    opacity: 0; /* Bild wird wieder unsichtbar */
  }
  83.33%, 100% {
    opacity: 1; /* Nächstes Bild wird sichtbar */
  }
}

/* Animation-Delay für jedes Bild */
.image-container img:nth-child(1) {
  animation-delay: 0s; /* Bild 1 zeigt sofort */
}

.image-container img:nth-child(2) {
  animation-delay: 2.5s; /* Bild 2 erscheint nach 2,5 Sekunden */
}

.image-container img:nth-child(3) {
  animation-delay: 5s; /* Bild 3 erscheint nach 5 Sekunden */
}

.image-container img:nth-child(4) {
  animation-delay: 7.5s; /* Bild 4 erscheint nach 7,5 Sekunden */
}

.image-container img:nth-child(5) {
  animation-delay: 10s; /* Bild 5 erscheint nach 10 Sekunden */
}

.image-container img:nth-child(6) {
  animation-delay: 12.5s; /* Bild 6 erscheint nach 12,5 Sekunden */
}



.address-container {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.address-container h4 {
  margin-left: 30px;
}
.address-container h3 {
  margin-left: 30px;
}
.address-container p {
  margin-left: 30px;
}

/* footer-style */
.footer {
  background-color: #222;
  padding: 20px 0;
  text-align: center;
  color: white;
  margin-top: auto; /* Stellt sicher, dass der Footer immer unten ist */
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  display: inline;
  margin: 0 15px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}
.main-container-agb{
  width: 60%;
  padding: 50px;
  background-color: #fff;
  border: solid;
  margin: 2%;
}