/* ─────────────────────────────────────────────────────────────
   LEISTUNGEN SUBPAGE
   ───────────────────────────────────────────────────────────── */

/* Seiten-Akzent: nutzt das globale --blue, passend zum Screenshot */

/* ─── PAGE HEADER (dynamischer Hero-Block, Optik s. css/style.css) ── */
body.subpage .pb-hero { --subpage-hero-bg: var(--blue); }

/* ─── LEISTUNGEN GRID ──────────────────────────────────────── */
.leist-grid-section {
  background: var(--white);
  padding: 88px 0;
}

.leist-grid-header {
  max-width: 640px;
  margin-bottom: 52px;
}

.leist-grid-sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.leist-grid-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 20px;
}

.leist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leist-card {
  background: #F9F9F9;
  border: 8px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 40px 32px 36px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.leist-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}

.leist-card-num {
  font-family: 'Roboto', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 18px;
}

.leist-card-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 14px;
}

.leist-card-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ─── ABLAUF / PROZESS ─────────────────────────────────────── */
.leist-steps-section {
  background: #F4F1EC;
  padding: 88px 0;
}

.leist-steps-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.leist-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}

.leist-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(97, 123, 145, 0.35);
  z-index: 0;
}

.leist-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.leist-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 700;
}

.leist-step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.leist-step-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── ZITAT ─────────────────────────────────────────────────── */
.leist-quote-wrap {
  background: var(--white);
  text-align: center;
  padding: 72px 0;
}

/* ─── KONTAKT CTA ──────────────────────────────────────────── */
.leist-cta {
  background: var(--blue);
  padding: 64px 0;
}

.leist-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.leist-cta-heading {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
}

.leist-cta-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leist-cta-contact .contact-row a {
  font-size: 0.9rem;
  color: var(--white);
}

.leist-cta-contact .contact-icon {
  filter: brightness(0) invert(1);
}

.leist-cta-btn-wrap {
  display: flex;
  justify-content: center;
}

.leist-cta-btn {
  border-color: var(--white);
  color: var(--white);
  white-space: nowrap;
}

.leist-cta-btn:hover {
  background: var(--white);
  color: var(--ink);
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .leist-grid { grid-template-columns: repeat(2, 1fr); }
  .leist-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .leist-steps::before { display: none; }
  .leist-cta-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .leist-cta-contact { align-items: center; }
}

@media (max-width: 600px) {
  .leist-grid-section, .leist-steps-section { padding: 56px 0; }
  .leist-grid { grid-template-columns: 1fr; }
  .leist-steps { grid-template-columns: 1fr; row-gap: 32px; }
}
