 /* leistungen.css */
#leistungen * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#leistungen {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
}

#leistungen .container {
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

#leistungen .section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

#leistungen .section-head h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

#leistungen .benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 700px) {
  #leistungen .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  #leistungen .benefits-grid {
    grid-template-columns: 1fr;
  }
}

#leistungen .benefit-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
  cursor: default;
}

#leistungen .benefit-card:hover {
  border-color: #005da4;
  transform: translateY(-3px);
}

#leistungen .benefit-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0ede8;
}

#leistungen .benefit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

#leistungen .benefit-card:hover .benefit-photo img {
  transform: scale(1.04);
}

#leistungen .benefit-photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #005da4;
}

#leistungen .benefit-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: #005da4;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.6;
}

#leistungen .benefit-body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#leistungen .benefit-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

#leistungen .benefit-body p {
  font-size: 13px;
  font-weight: 400;
  color: #555555;
  line-height: 1.5;
}