.hero-services {
  background: url('../../img/services/appentwicklung/0.png') no-repeat center/cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: whitesmoke;
  position: relative;
}
.hero-services h1{
  color: whitesmoke;
}

.hero-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-services-content {
  position: relative;
  z-index: 1;
}


h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  color: #1B2021;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}

/* Additional Services */
#weitere-dienstelungen {
  padding: 16px 20px;
  background: whitesmoke;
}

#weitere-dienstelungen > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
#weitere-dienstelungen h3{
  text-align: center;
  margin-bottom: 24px;
}
#weitere-dienstelungen > div > div {
  background: whitesmoke;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s;
  text-align: left;
}

#weitere-dienstelungen > div > div:hover {
  transform: translateY(-5px);
}

#weitere-dienstelungen img {
  width: 70px;
  height: auto;
  margin-bottom: 0;
}



@media (min-width: 1000px) {
  .hero-services{
    height: 400px;
  }
  #weitere-dienstelungen > div {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 480px) {
  h3 {
    font-size: 1.8rem;
  }
  .hero-services h1{
    color: whitesmoke;
    font-size: 2.5rem;
  }
}

/* Layout Containers */
.core-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
}


/* General Styles */
.content{
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Text Content */
.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image Content */
.image-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 45%;
}

/* Ensure images stretch and keep aspect ratio */
.image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Text Box Styling */
.text-box {
  padding: 15px;
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .image-content {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
  }

  .image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .text-content {
    text-align: left;
  }
  .second{
    flex-direction: column-reverse;
  }

}
