/* Allgemeine Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
p {
  margin-bottom: 1rem;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

header .logo img {
  height: 60px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
}

header nav ul li {
  margin-left: 2rem;
}

header nav ul li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #5cb85c;
}

/* Hero Section mit Video-Hintergrund */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  z-index: 1;
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  z-index: 1;
  max-width: 80%;
  padding: 0 20px;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: #5cb85c;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #4cae4c;
}

/* Andere Abschnitte */
section {
  padding: 3rem 5%;
  text-align: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 1rem 5%;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1000px) {
  header .logo img {
    height: 60px;
  }

  header nav ul {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    display: none;
  }

  header nav ul.show {
    display: flex;
  }

  header nav ul li {
    margin: 1rem 0;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .btn-primary {
    padding: 0.5rem 1rem;
  }
}
/* Flexbox-Layout für Text und Bild */
.image-text-container {
  display: flex; /* Aktiviert das Flexbox-Layout */
  align-items: center; /* Vertikale Zentrierung */
  justify-content: space-between; /* Platz zwischen Text und Bild */
  gap: 20px; /* Abstand zwischen Text und Bild */
  margin: 2rem 0; /* Optional: Abstand oben und unten */
}

.image-text-container img {
  max-width: 50%; /* Bildgröße auf max. 50% der Breite beschränken */
  height: auto; /* Automatische Höhe beibehalten */
  border-radius: 10px; /* Optionale Abrundung der Ecken */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Schatten um das Bild */
}

.image-text-container .text-content {
  max-width: 50%; /* Textbreite auf max. 50% beschränken */
  text-align: center; /* Text linksbündig ausrichten */
  line-height: 1.6; /* Lesbarkeit erhöhen */
}

.image-text-container .text-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem; /* Schriftgröße anpassen */
  text-align: center;
}

.image-text-container .text-content p {
  margin-bottom: 1rem;
  font-size: 1rem; /* Schriftgröße für Absätze */
}
@media (max-width: 768px) {
  .image-text-container {
    flex-direction: column; /* Stapelt Text und Bild übereinander */
    align-items: center; /* Zentriert die Inhalte horizontal */
  }

  .image-text-container img,
  .image-text-container .text-content {
    max-width: 100%; /* Text und Bild füllen die gesamte Breite */
  }

  .image-text-container img {
    margin-top: 1rem; /* Abstand oberhalb des Bildes */
  }
}

.social-media-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Abstand zwischen den Icons */
}

.social-icon {
  width: 50px; /* Größe anpassen */
  height: auto; /* Seitenverhältnis beibehalten */
}
