/* LEISTUNGEN STYLES: wirkt nur auf "leistungen.ejs"! */
.leistungen-section {
  padding: 5rem 0 3rem 0;
  width: 100%;
}

.leistungen-title {
  text-align: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 32px #22336BCC, 0 1px 0 #0004;
}

.leistungen-subtitle {
  text-align: center;
  color: #eaf8fa;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.98;
  text-shadow: 0 2px 16px #22336B55, 0 1px 0 #0003;
}


/* Grid Cards */
.leistungen-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.leistungen-card {
  background: rgba(255,255,255,0.99);
  border-radius: 1.6rem;
  border: 1px solid #eef2fa;
  border-top: 5px solid var(--accent, #00FFD0);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12), 0 2px 10px #00FFD044;
  min-width: 320px;
  max-width: 380px;
  flex: 1 1 330px;
  display: flex;
  flex-direction: column;
  padding: 0 0 1.8rem 0;
  transition: box-shadow 0.22s, transform 0.18s, background 0.13s;
  position: relative;
  overflow: hidden;
}

.leistungen-card:hover {
  box-shadow: 0 22px 70px #00FFD044, 0 6px 30px #22336B15;
  transform: translateY(-9px) scale(1.038);
  background: #fafdff;
}

/* ICON OBEN */
.leistungen-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.7rem;
  margin-bottom: 1.3rem;
}
.leistungen-card-icon svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 14px #00ffd066);
}

/* CARD CONTENT */
.leistungen-card-content {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.leistungen-card-content h3 {
  color: #22336B;
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.2px;
}

.leistungen-card-content p {
  color: #22336B;
  font-size: 1.07rem;
  line-height: 1.6;
  margin: 0;
}
.leistungen-card-content p strong {
  color: #00FFD0;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .leistungen-cards { gap: 1.3rem; }
  .leistungen-card { min-width: 240px; max-width: 98vw; }
}
@media (max-width: 700px) {
  .leistungen-cards { flex-direction: column; gap: 1.7rem; align-items: center; }
  .leistungen-card { width: 98vw; min-width: 0; }
}
