/* Zuerst die bestehende CSS-Datei behalten */
.about-articles-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-articles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.about-article-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(50% - 20px);
  box-sizing: border-box;
}

.about-article-item img {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.about-img-1 {
  max-width: 150px;
}

.about-img-2 {
  max-width: 200px;
}

.about-img-3 {
  max-width: 350px;
}

.about-img-4 {
  max-width: 300px;
}

.about-img-5 {
  max-width: 300px; 
}
<!--/* Neue CSS-Regeln für die Navigation */
.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.nav li {
  position: relative;
}

.nav a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #ffffff;
}

.nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0a0a0a;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.nav .submenu li {
  width: 200px;
}

.nav li:hover > .submenu {
  display: block;
}
.photo-text-section .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.photo-flex-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.photo-box {
  flex: 1;
}

.photo-box img {
  width: 100%;
  height: auto;
  display: block;
}

.text-box {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
}
/* Allgemeine Stile bleiben bestehen */

/* Mobile Optimierung */
@media (max-width: 768px) {
  .about-articles-container {
    flex-direction: column; /* Elemente untereinander platzieren */
  }

  .about-article-item {
    width: 100%; /* Volle Breite für jedes Element */
    margin-bottom: 20px; /* Abstand zwischen den Artikeln */
  }

  .photo-text-section .container {
    flex-direction: column; /* Textbox und Fotos untereinander platzieren */
  }

  .photo-flex-container {
    flex-direction: column; /* Fotos untereinander platzieren */
  }

  .photo-box {
    width: 100%; /* Volle Breite für Fotos */
    margin-bottom: 20px; /* Abstand zwischen den Fotos */
  }

  .text-box {
    text-align: center; /* Zentrierter Text für bessere Lesbarkeit */
  }
}
