/* ==========================================================
   styling for leistungen.html
   ========================================================== */

/* Hero */
.leistungen-hero {
  max-width: 1200px;
  padding-block: 4rem 3rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leistungen-hero h1 {
  margin-bottom: 1rem;
  color: var(--tertiary);
  font-size: 3.7vw;
  line-height: 1.05;
}

.leistungen-hero p {
  max-width: 820px;
  color: rgba(15, 23, 42, 0.72);
  font-size: 1.15vw;
  line-height: 1.65;
}

/* Übersicht */
.leistungen-overview {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.leistung-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius);
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.06);
}

.leistung-card h2 {
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-size: 1.35vw;
  line-height: 1.2;
}

.leistung-card p {
  margin-bottom: 1.3rem;
  color: rgba(15, 23, 42, 0.72);
  font-size: 1vw;
  line-height: 1.6;
}

.leistung-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  list-style: none;
}

.leistung-card li {
  padding: 0.45rem 0.75rem;
  color: var(--tertiary);
  background: var(--background-color);
  border-radius: 999px;
  font-size: 0.9vw;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================
   Phone bis 480px
   ========================================================== */

@media (max-width: 480px) {
  .leistungen-hero {
    padding-block: 2.5rem 2rem;
  }

  .leistungen-hero h1 {
    font-size: 2.4rem;
  }

  .leistungen-hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 0.78rem;
  }

  .leistungen-overview {
    padding-block: 0 4rem;
  }

  .leistungen-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .leistung-card {
    padding: 1.4rem;
    border-radius: 1rem;
  }

  .leistung-card h2 {
    font-size: 1.35rem;
  }

  .leistung-card p {
    font-size: 1rem;
  }

  .leistung-card ul {
    gap: 0.5rem;
  }

  .leistung-card li {
    font-size: 0.88rem;
  }
}

/* ==========================================================
   Tablet (481px – 1024px)
   ========================================================== */
@media (min-width: 481px) and (max-width: 1024px) {
  .leistungen-hero h1 {
    font-size: 2.6rem;
  }

  .leistungen-hero p {
    font-size: 1.05rem;
  }

  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leistung-card h2 {
    font-size: 1.25rem;
  }

  .leistung-card p {
    font-size: 1rem;
  }

  .leistung-card li {
    font-size: 0.85rem;
  }
}
