/* css/leistungen.css — Service-Katalog-Seite */

body[data-page="leistungen"] {
  background: var(--bg, #0a0d1f);
  color: var(--on-surface, #e8ecf7);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.leistungen-header {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(9,9,11,0.96) 0%, rgba(9,9,11,0.82) 100%);
}
.leistungen-header .brand {
  position: relative !important;
  left: auto !important;
  top: auto !important;
}
.leistungen-header { padding: 14px 28px; justify-content: space-between; }

.leistungen-main {
  flex: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 32px 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.leistungen-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding-top: 20px;
}
.leistungen-hero .eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,195,93,0.85);
  margin: 0;
}
.leistungen-hero h1 {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}
.leistungen-hero .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

.leistungen-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.leistung-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(180deg, rgba(20, 22, 38, 0.7), rgba(13, 14, 26, 0.7));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  scroll-margin-top: 100px;
  transition: border-color 600ms ease, box-shadow 600ms ease, transform 320ms ease;
}
.leistung-card[data-orient="image-right"] {
  grid-template-columns: 1.4fr 1fr;
}
.leistung-card[data-orient="image-right"] .leistung-media { order: 2; }

.leistung-card.is-highlighted {
  border-color: rgba(244,195,93,0.7);
  box-shadow: 0 0 0 2px rgba(244,195,93,0.18), 0 22px 60px -16px rgba(244,195,93,0.35);
  transform: translateY(-2px);
}

.leistung-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(74,124,255,0.18), rgba(244,195,93,0.18));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.leistung-img {
  max-height: 110px;
  max-width: 50%;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.4));
  opacity: 0.95;
}
.leistung-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244,195,93,0.95), rgba(245,158,11,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  box-shadow: 0 12px 24px -8px rgba(244,182,67,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.leistung-icon svg { width: 30px; height: 30px; }

.leistung-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.leistung-body .eyebrow {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(244,195,93,0.85);
  font-family: "Oxanium", sans-serif;
}
.leistung-body h2 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.leistung-short {
  margin: 0;
  color: rgba(244,195,93,0.9);
  font-size: 0.98rem;
  font-weight: 500;
}
.leistung-desc {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  line-height: 1.65;
}
.leistung-seasons {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
}
.leistung-seasons span {
  color: rgba(244,195,93,0.85);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 6px;
}

.leistung-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.leistungen-cta {
  text-align: center;
  padding: 60px 32px;
  background: radial-gradient(ellipse at top, rgba(244,195,93,0.10) 0%, transparent 60%),
              linear-gradient(180deg, rgba(20, 22, 38, 0.6), rgba(13, 14, 26, 0.6));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.leistungen-cta h2 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #ffffff;
}
.leistungen-cta p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
}
.leistungen-cta .contact-line {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
}
.leistungen-cta .contact-line a {
  color: rgba(244,195,93,0.9);
  text-decoration: none;
}
.leistungen-cta .contact-line a:hover { color: #f4c35d; }

/* Reuse btn-mega from landing.css if present, else fallback */
.leistungen-cta .btn-mega {
  display: inline-flex;
  padding: 16px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 16px 36px -10px rgba(244,182,67,0.5);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.leistungen-cta .btn-mega:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -10px rgba(244,182,67,0.65);
}

@media (max-width: 820px) {
  .leistungen-main { padding: 40px 18px 60px; gap: 40px; }
  .leistung-card {
    grid-template-columns: 1fr !important;
    gap: 22px;
    padding: 22px;
  }
  .leistung-card[data-orient="image-right"] .leistung-media { order: 0; }
  .leistung-media { aspect-ratio: 16 / 10; }
  .leistung-body h2 { font-size: 1.35rem; }
  .leistungen-header nav { display: none; }
  .leistungen-header { padding: 12px 18px; }
  .leistungen-cta { padding: 40px 22px; }
}
