#services {
    grid-row: 3/4;
    display: grid;
    grid-template-columns:  auto auto auto;
    grid-template-rows: auto auto;
    background-color: rgba(255, 194, 41, 0.2);
    padding: 20px;
    
  }
  
  #servicesdescription {
    margin-top: 40px;
    text-align: center;
    grid-row: 1/2;
    grid-column: 2/3;
  }
  
  #servicesdescription > h4 {
    color: rgb(255, 194, 41);
  }
  
  #services-container {
    grid-row: 2/3;
    grid-column: 2/3;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Zeilenumbruch bei kleineren Bildschirmen */
  }
  
  .servicescard {
    width: 25%;
    min-width: 250px; /* Minimale Breite */
    max-width: 300px; /* Maximale Breite */
    height: 80%;
    border: 1px solid rgb(255, 194, 41);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 4px 4px 5px rgba(255, 136, 0, 0.1);
    background-color: white;
  }
  
  .servicescardsvg {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
    margin-top: 10px;
  }
  
  .servicescard h3 {
    font-size: 1.2rem;
  }
  
  .servicescard p {
    color: grey;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .divider {
    width: 100%;
    height: 2px;
    background-color: orange;
    margin-top: 10px;
}

  @media (max-width: 768px) {
    #services {
      grid-template-columns:  auto ;
      grid-template-rows: auto auto;
      padding-bottom: 20%;
    }

    #servicesdescription{
        grid-row: 1/2;
        grid-column: 1/2;
    }
  
    #services-container {
      gap: 10px;
      grid-column: 1/2;
      grid-row: 2/3;
    }
  
    .servicescard {
      width: 80%; /* Karten auf volle Breite für kleine Bildschirme */
      height: 30%;
      min-width: unset; /* Minimale Breite entfernen */
    }
  }

  @media (max-width: 768px) and (orientation: landscape) {
    #services {
      grid-template-columns: 10% 80% 10%; /* Zentriert bleibt */
      grid-template-rows: auto auto;
      padding: 15px; /* Weniger Padding für schmalere Höhe */
    }
  
    #servicesdescription {
      grid-row: 1/2;
      grid-column: 2/3;
      margin-top: 20px; /* Weniger Abstand */
    }
  
    #services-container {
      gap: 15px; /* Weniger Lücken zwischen Karten */
      justify-content: space-around; /* Karten gleichmäßiger verteilen */
      flex-wrap: wrap;
      grid-row: 2/3;
      grid-column: 2/3;
    }
  
    .servicescard {
      width: 30%; /* Mehr Platz bei Breite */
      max-width: 280px; /* Breite leicht reduzieren */
      height: 50%; /* Automatische Höhe, um Platz zu sparen */
      min-width: unset; /* Keine Mindestbreite */
      padding: 15px; /* Weniger Padding für kompakteres Design */
    }
  
    .servicescardsvg {
      width: 40px; /* Kleinere Icons */
      margin-bottom: 20px;
    }
  
    .servicescard h3 {
      font-size: 1rem; /* Kleinere Schrift */
    }
  
    .servicescard p {
      font-size: 0.8rem; /* Kleinere Schrift für kompakteren Text */
      line-height: 1.3;
    }
  }