/* === HERO3 SECTION === */
.hero3 {
  background-image: url('images/bg-uebermich.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 20px 100px; /* oben: Abstand zum Header */
  position: relative;
  z-index: 1;
}

/* Dunkler Overlay über das Hintergrundbild */
.hero3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Sanfter Verlauf unter dem Header */
.hero3::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
  z-index: 2;
  pointer-events: none;
}

.hero3-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  color: #fff;
  position: relative;
}

.hero3-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.hero3-text {
  flex: 1;
}

.hero3-text h2,
.hero3-text h3 {
  color: #00b386;
}

.hero3-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero3-text h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.hero3-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .hero3-content {
    flex-direction: column;
    text-align: center;
  }
  

  .hero3-image img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero3-text h2 {
    font-size: 2rem;
  }

  .hero3-text h3 {
    font-size: 1.3rem;
  }

  .hero3-text p {
    font-size: 1rem;
  }
}