/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ================= CONTAINER ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


.nav-links a:hover,
.nav-links a.active {
  color: #f8b240;
}

/* ================= HERO ================= */
.hero {
  height: 80vh;
  background: url("img/ml2.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  position: relative;
}

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

.hero-content {
  position: relative;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.hero-btn {
  display: block;
  width: fit-content;

  background: #f8b240;
  padding: 14px 28px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
  font-weight: bold;

  margin: 20px auto;
}

.hero-btn:hover {
  background: #f8b240;
}

/* ================= SERVICES ================= */
.services-page {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.service-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 30%;
}

.service-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.service-card p {
  padding: 0 20px 20px;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

.service-btn {
  margin: 0 20px 20px;
  padding: 12px;
  text-align: center;
  background: #f8b240;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.service-btn:hover {
  background: #c38821;
}

.service-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.service-card.active .service-extra {
  max-height: 500px; /* groß genug für Inhalt */
  margin-top: 20px;
}

.extra-images {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.extra-images img {
  width: 50%;
  border-radius: 8px;
  object-fit: cover;
}

.extra-text {
  padding-bottom: 20px;
  color: #555;
}

.appear-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

.appear-anim.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
