/* ==========================================================================
   LEISTUNGEN – Manger Transporte GmbH & Co. KG
   Ruhiges Abschnittsdesign ohne Accordion
   ========================================================================== */

.page--leistungen main.services-page {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 42px 0 0;
}

/* ===== EINLEITUNG ===== */
.services-intro {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.services-intro h1 {
  margin: 0;
  color: var(--clr-accent);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.15;
}

.services-intro p {
  margin: 14px auto 0;
  color: var(--clr-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

/* ===== LEISTUNGSLISTE ===== */
.services-list {
  margin-top: 18px;
}

.service-row {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);

  padding: 40px 0;
  border-top: 1px solid var(--clr-border);
}

.service-row:last-child {
  border-bottom: 1px solid var(--clr-border);
}

/* Wechselnde Anordnung am Desktop */
.service-row--reverse .service-copy {
  order: 2;
}

.service-row--reverse .service-image {
  order: 1;
}

/* ===== TEXT ===== */
.service-copy {
  position: relative;
}

.service-number {
  display: block;
  margin-bottom: 10px;

  color: var(--clr-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-copy h2 {
  margin: 0 0 18px;
  color: var(--clr-accent-dark);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.service-copy p {
  margin: 0 0 13px;
  color: var(--clr-text);
  font-size: 1rem;
  line-height: 1.75;
}

.service-copy p:last-of-type {
  margin-bottom: 0;
}

/* ===== BILDER ===== */
.service-image {
  min-width: 0;
}

.service-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  object-fit: cover;

  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(18, 37, 58, 0.12);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.service-image img:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(18, 37, 58, 0.16);
}

/* Materiallager-Bild ist etwas breiter */
.service-row--material .service-image img {
  aspect-ratio: 25 / 18;
}

/* ===== LINK ===== */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: 22px;

  color: var(--clr-accent);
  font-weight: 700;
  text-decoration: none;

  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.service-link:hover {
  color: var(--clr-accent-light);
  gap: 13px;
  text-decoration: none;
}

/* ===== ABSCHLUSS-CTA ===== */
.services-cta {
  margin: 48px 0 60px;
  padding: 34px 38px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  background: var(--clr-surface-subtle);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
}

.services-cta h2 {
  margin: 0 0 7px;
  color: var(--clr-heading);
  font-size: 1.4rem;
}

.services-cta p {
  margin: 0;
  color: var(--clr-muted);
  line-height: 1.6;
}

.services-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  min-height: 52px;
  padding: 0 24px;

  background: var(--clr-accent);
  color: #fff !important;
  border-radius: 4px;

  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.services-cta__button:hover {
  background: var(--clr-accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .page--leistungen main.services-page {
    width: min(calc(100% - 32px), 760px);
    padding-top: 34px;
  }

  .services-intro {
    margin-bottom: 16px;
  }

  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  /* Mobil immer Text vor Bild */
  .service-row .service-copy,
  .service-row--reverse .service-copy {
    order: 1;
  }

  .service-row .service-image,
  .service-row--reverse .service-image {
    order: 2;
  }

  .service-copy h2 {
    margin-bottom: 14px;
  }

  .services-cta {
    margin: 38px 0 48px;
    padding: 28px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .page--leistungen main.services-page {
    width: calc(100% - 28px);
    padding-top: 28px;
  }

  .services-intro p {
    font-size: 0.95rem;
  }

  .service-row,
  .service-row--reverse {
    padding: 28px 0;
    gap: 18px;
  }

  .service-copy h2 {
    font-size: 1.45rem;
  }

  .service-copy p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .service-image img,
  .service-row--material .service-image img {
    aspect-ratio: 4 / 3;
    max-height: none;
    border-radius: 8px;
  }

  .services-cta {
    padding: 24px;
  }

  .services-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-image img,
  .service-link,
  .services-cta__button {
    transition: none !important;
  }
}
