.services-section {
  width: 100%;
  padding: 80px 40px;
  background: linear-gradient(rgba(30, 30, 40, 0.8), rgba(30, 30, 40, 0.8)),
              url("assets/code-1839406_1280.jpg") no-repeat center center fixed;
  background-size: cover;
  text-align: center;
}

.services-title {
  font-size: 40px;
  color: white;
  margin-bottom: 10px;
  margin-top: 40px;
}

.services-subtitle {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 60px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-card {
  background: rgba(30, 30, 40, 0.8);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.service-card img {
  width: 60px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #ddd;
  font-size: 1rem;
}


/* Mobile Anpassungen */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 20px;
    background-attachment: scroll; /* Fixiertes Hintergrundbild deaktivieren auf Mobile */
  }

  .services-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    margin-top: 8px;
  }

  .services-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .service-card {
    width: 90%;
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .service-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .services-title {
    font-size: 24px;
  }

  .services-subtitle {
    font-size: 14px;
  }

  .service-card {
    width: 100%;
    padding: 15px;
  }

  .service-card img {
    width: 50px;
    margin-bottom: 15px;
  }
}
