/* ===== DESKTOP STYLES (Deine Originale) ===== */
main {
  background-color: #B0BF9B;
  padding-bottom: 50px;
}

.splitBox {
  padding-top: 50px;
  display: flex;
  width: 100%;
  min-height: 800px; 
}

.textSide {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  padding-left: 170px;
  padding-right: 170px;
}

p {
  margin-left: 30px;
  margin-bottom: 15px;
  font-size: 35px;
}

p img {
  margin-right: 10px;
  height: 25px;
  width: 25px;
}

.bla {
  margin-left: 55px;
  font-style: italic;
}

.top {
  margin: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

h2 {
  margin: 40px;
  color: #AF1A23;
  font-size: 40px;
  text-align: center;
}

.imageRow {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.imageRow img {
  flex: 1;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 25%; /* 4 Bilder nebeneinander */
}

/* ===== MEDIA QUERY FÜR HANDYS (max-width: 768px) ===== */
@media (max-width: 768px) {
  .splitBox {
    flex-direction: column; /* Spalten untereinander */
    height: auto;
    padding-top: 20px;
  }

  .textSide {
    width: 100%;
    padding: 20px; /* Große Paddings weg */
    text-align: left;
  }

  p {
    font-size: 18px; /* Schrift deutlich kleiner */
    margin-left: 10px;
    margin-bottom: 10px;
  }

  p img {
    height: 16px;
    width: 16px;
  }

  .bla {
    margin-left: 10px;
    font-size: 16px;
    margin-top: 10px;
  }

  h2 {
    font-size: 28px;
    margin: 30px 0 20px 0;
  }

  /* Bilder-Grid für Handy: 2x2 statt 4 nebeneinander */
  .imageRow {
    flex-wrap: wrap;
  }

  .imageRow img {
    width: 50%; /* Zwei Bilder pro Zeile */
    flex: none;
  }
}