.ContainerHome {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Startet oben, damit Header-Abstand kontrolliert wird */
  padding: 40px 2% 20px;
  box-sizing: border-box;
  gap: 30px;
}

/* Das Grid nutzt die volle Breite und den Großteil der Höhe */
.Home-MainGrid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Logo und Bilder nebeneinander */
  gap: 20px;
  width: 100%;
  flex: 1; /* Nimmt den verfügbaren Platz ein */
  min-height: 0; /* Wichtig für Chrome/Safari bei Flex-Grids */
}

.ContainerHomeLogo,
.ContainerHomeImage {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 40px;
}

/* Logo-Bild */
.ContainerHomeLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Logo wird nicht beschnitten */
}

/* Slider-Bilder */
.ContainerHomeImage {
  position: relative;
}

.ContainerHomeImageSlider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.ContainerHomeImageSlider img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover; /* Bilder füllen den Bereich komplett */
  border-radius: 40px;
}

/* Textbereich unter den Bildern */
.Home-SimpleText {
  display: flex;
  width: 100%;
  padding: 10px 2%;
  text-align: center;
  justify-content: end;
}

.Home-SimpleText p {
  width: 50%;
  font-size: clamp(
    0.8rem,
    1.3vw,
    1.05rem
  ); /* Skaliert mit der Bildschirmgröße */
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.Home-SimpleText strong {
  color: #008060;
}

/* Mobile: Untereinander stapeln */
@media (max-width: 900px) {
  .ContainerHome {
    height: auto;
    padding-top: 80px;
  }

  .Home-MainGrid {
    grid-template-columns: 1fr;
    height: auto;
    flex: none;
  }

  .ContainerHomeImage {
    height: 50vh;
  }

  .Home-SimpleText {
    display: flex;
    width: 100%;
    padding: 10px 2%;
    text-align: center;
  }

  .Home-SimpleText p {
    width: 100%;
    font-size: clamp(
      0.8rem,
      1.3vw,
      1.05rem
    ); /* Skaliert mit der Bildschirmgröße */
    line-height: 1.6;
    color: #333;
    margin: 0;
  }
}
