.services {
  background-color: white;
}

.article {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.card-head {
  margin-top: 44px;
  margin-bottom: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.card h3 {
  margin-bottom: 16px;
}

.card-head p {
  margin-top: 44px;
  width: 500px;
}

.card-grid {
  width: 100%;
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, 20rem);
  justify-content: center; /* horizontal */
  align-items: stretch; /* Kartenhöhe ausrichten */
}

.card {
  margin-bottom: 32px;
}

.card-content {
  display: flex;
  gap: 16px;
}

.card-content img {
  height: 54px;
}

.services-cta {
  margin-top: 44px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.services-cta img {
  height: 36px;
}

.services-cta:hover P {
  cursor: pointer;
  color: var(--color-accent);
}

/* ===========================
   Responsives Design (Breakpoints)
   Range: 320px – 1920px
=========================== */

/* Extra Large Devices (1200px – 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Devices (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Devices (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Devices (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .card-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .card-head p {
    margin-top: 44px;
    width: 320px;
  }
}

/* Extra Small Smartphones (320px – 575px) */
@media (max-width: 575px) {
  .card-head {
    margin-bottom: 32px;
  }
  .card-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .card-head p {
    margin-top: 28px;
    width: 280px;
  }

  .services-cta{
    margin-top: 16px;
  }
}
