/* ========================================
   Levanty – Leistungs-Unterseiten
   ======================================== */

/* --- Hero --- */
.leistung-hero {
  padding: 130px 0 80px;
}

.leistung-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.leistung-hero__text .section-label {
  margin-bottom: 12px;
}

.leistung-hero__text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.leistung-hero__text p {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 32px;
}

.leistung-hero__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
}

@media (max-width: 900px) {
  .leistung-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .leistung-hero__image-wrap {
    order: -1;
  }
}

/* --- Features --- */
.leistung-features {
  padding: 80px 0;
  background: var(--gray-100);
}

.leistung-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.leistung-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.leistung-feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 0, 116, 0.08);
  border-radius: var(--radius);
  color: var(--magenta);
  margin-bottom: 20px;
}

.leistung-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.leistung-feature-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .leistung-features__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Framework Section --- */
.leistung-framework {
  padding: 80px 0;
}

.leistung-framework__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.leistung-framework__image {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.leistung-framework__text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.leistung-framework__text p {
  font-size: 0.975rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 16px;
}

.leistung-framework__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leistung-framework__list li {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.leistung-framework__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
}

@media (max-width: 900px) {
  .leistung-framework__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Events Section --- */
.leistung-events {
  padding: 80px 0;
  background: var(--gray-100);
}

.leistung-events__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.leistung-event-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.leistung-event-card__date {
  text-align: center;
  min-width: 60px;
}

.leistung-event-card__date strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--magenta);
}

.leistung-event-card__date span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.leistung-event-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.leistung-event-card__body p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.leistung-event-card__body .leistung-event-card__meta {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.leistung-event-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--magenta);
  white-space: nowrap;
  transition: var(--transition);
}

.leistung-event-card__link:hover {
  opacity: 0.75;
}

@media (max-width: 680px) {
  .leistung-event-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .leistung-event-card__date {
    display: flex;
    gap: 8px;
    align-items: baseline;
    text-align: left;
  }
}

/* --- Related Projects --- */
.leistung-related {
  padding: 80px 0 100px;
}

.leistung-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.leistung-related-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.leistung-related-card:hover {
  border-color: var(--magenta);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(226,0,116,0.1);
}

.leistung-related-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}

.leistung-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.leistung-related-card:hover .leistung-related-card__image img {
  transform: scale(1.04);
}

.leistung-related-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leistung-related-card__content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.leistung-related-card__content p {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .leistung-related__grid {
    grid-template-columns: 1fr;
  }
}
