/* ========== Hero Leistungen ========== */

.services-hero {
  min-height: 30rem;

  position: relative;

  display: flex;
  align-items: center;

  color: var(--color-white);
  background-color: var(--color-dark-blue);

  overflow: hidden;
}


/* ---------- Container ---------- */

.services-hero-container {
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;
  padding-block: clamp(5rem, 9vw, 8rem) clamp(7rem, 11vw, 10rem);
}


/* ---------- Inhalt ---------- */

.services-hero-content {
  max-width: 42rem;
}


/* ---------- Eyebrow ---------- */

.services-hero-eyebrow {
  margin: 0 0 1.5rem;

  display: flex;
  align-items: center;
  gap: 0.75rem;

  color: var(--color-light-blue);

  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.services-hero-eyebrow::before {
  content: "";

  width: 1.5rem;
  height: 1px;

  flex-shrink: 0;

  background-color: currentColor;
}


/* ---------- Überschrift ---------- */

.services-hero-title {
  margin: 0;

  color: var(--color-white);

  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.services-hero-title span {
  color: var(--color-light-blue);
}


/* ---------- Beschreibung ---------- */

.services-hero-description {
  max-width: 38rem;
  margin: 1.5rem 0 0;

  color: rgba(255, 255, 255, 0.68);

  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
}


/* ---------- Welle ---------- */

.services-hero-wave {
  width: 100%;
  height: clamp(3rem, 6vw, 5rem);

  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;

  display: block;
}

.services-hero-wave path {
  fill: var(--color-bg);
}


/* ========== Hero Leistungen – Tablet ========== */

@media (max-width: 62rem) {
  .services-hero {
    min-height: 28rem;
  }

  .services-hero-container {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
}


/* ========== Hero Leistungen – Smartphone ========== */

@media (max-width: 42rem) {
  .services-hero {
    min-height: auto;
  }

  .services-hero-container {
    width: min(calc(100% - 2rem), 80rem);
    padding-block: 4.5rem 7rem;
  }

  .services-hero-title {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  .services-hero-title br {
    display: none;
  }

  .services-hero-description {
    font-size: 0.95rem;
  }

  .services-hero-wave {
    height: 3.5rem;
  }
}

/* ========== Leistungsübersicht ========== */

.services-list {
  padding-block: clamp(4.5rem, 7vw, 7rem);

  background-color: var(--color-bg);
}


/* ---------- Container ---------- */

.services-list-container {
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* ========== Einzelner Leistungsblock ========== */

.service-detail {
  display: grid;
  grid-template-columns:
    minmax(22rem, 0.85fr)
    minmax(0, 1.15fr);

  overflow: hidden;

  background-color: var(--color-white);

  border: 1px solid var(--color-border);
  border-radius: 0.9rem;

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-detail:hover {
  border-color: rgba(0, 81, 138, 0.22);

  box-shadow: 0 0.75rem 1.75rem rgba(21, 51, 73, 0.07);

  transform: translateY(-2px);
}


/* ========== Linke Leistungsbeschreibung ========== */

.service-detail-intro {
  padding: clamp(2rem, 4vw, 3rem);

  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;

  background-color: var(--color-surface);
}


/* ---------- Nummer ---------- */

.service-detail-number {
  color: rgba(0, 81, 138, 0.14);

  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
}


/* ---------- Textgruppe ---------- */

.service-detail-copy {
  min-width: 0;
}


/* ---------- Leistungstitel ---------- */

.service-detail-title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
}


/* ---------- Beschreibung ---------- */

.service-detail-description {
  max-width: 32rem;
  margin: 1rem 0 0;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* ========== Rechter Leistungsinhalt ========== */

.service-detail-content {
  padding: clamp(2rem, 4vw, 3rem);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;

  background-color: var(--color-white);
}


/* ---------- Merkmalliste ---------- */

.service-detail-features {
  padding: 0;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;

  list-style: none;
}


/* ---------- Einzelnes Merkmal ---------- */

.service-detail-features li {
  min-width: 0;

  position: relative;

  padding-left: 2rem;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.55;
}


/* ---------- Kreis mit Pfeil ---------- */

.service-detail-features li::before {
  content: "›";

  width: 1.25rem;
  height: 1.25rem;

  position: absolute;
  top: 0.05rem;
  left: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--color-dark-blue);
  background-color: rgba(120, 154, 196, 0.14);

  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;

  border-radius: 50%;
}


/* ---------- Anfrage-Link ---------- */

.service-detail-link {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  color: var(--color-blue);

  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;

  transition: color 180ms ease;
}

.service-detail-link span {
  transition: transform 180ms ease;
}

.service-detail-link:hover,
.service-detail-link:focus-visible {
  color: var(--color-dark-blue);
}

.service-detail-link:hover span,
.service-detail-link:focus-visible span {
  transform: translateX(0.25rem);
}


/* ========== Leistungsübersicht – Tablet ========== */

@media (max-width: 64rem) {
  .service-detail {
    grid-template-columns:
      minmax(18rem, 0.8fr)
      minmax(0, 1.2fr);
  }

  .service-detail-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* ========== Leistungsübersicht – Smartphone ========== */

@media (max-width: 46rem) {
  .services-list-container {
    width: min(calc(100% - 2rem), 80rem);

    gap: 1.25rem;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail-intro,
  .service-detail-content {
    padding: 1.5rem;
  }

  .service-detail-intro {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-detail-number {
    font-size: 2rem;
  }

  .service-detail-description {
    max-width: none;
  }

  .service-detail-content {
    gap: 1.75rem;
  }

  .service-detail-features {
    grid-template-columns: 1fr;
  }
}


/* ========== Sehr kleines Smartphone ========== */

@media (max-width: 28rem) {
  .service-detail-intro,
  .service-detail-content {
    padding: 1.25rem;
  }
}


/* ========== Reduzierte Animationen ========== */

@media (prefers-reduced-motion: reduce) {
  .service-detail,
  .service-detail-link,
  .service-detail-link span {
    transition: none;
  }
}

/* ========== Ablauf der Zusammenarbeit ========== */

.services-process {
  padding-block: clamp(5rem, 8vw, 7rem);

  background-color: var(--color-white);
}


/* ---------- Container ---------- */

.services-process-container {
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;
}


/* ========== Überschriftenbereich ========== */

.services-process-header {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);

  text-align: center;
}


/* ---------- Eyebrow ---------- */

.services-process-eyebrow {
  margin: 0 0 0.75rem;

  color: var(--color-blue);

  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}


/* ---------- Überschrift ---------- */

.services-process-title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}


/* ========== Ablaufschritte ========== */

.services-process-list {
  padding: 0;
  margin: 0;

  position: relative;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);

  list-style: none;
}


/* ---------- Verbindungslinie ---------- */

.services-process-list::before {
  content: "";

  height: 1px;

  position: absolute;
  top: 1.7rem;
  right: 12.5%;
  left: 12.5%;

  background-color: var(--color-border);
}


/* ---------- Einzelner Schritt ---------- */

.services-process-item {
  min-width: 0;

  position: relative;
  z-index: 1;

  text-align: center;
}


/* ---------- Nummer ---------- */

.services-process-number {
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-white);
  background-color: var(--color-dark-blue);

  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;

  border-radius: 50%;

  box-shadow: 0 0.35rem 0.75rem rgba(21, 51, 73, 0.15);
}


/* ---------- Titel des Schrittes ---------- */

.services-process-step-title {
  margin: 1.25rem 0 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}


/* ---------- Beschreibung ---------- */

.services-process-description {
  max-width: 18rem;
  margin: 0.65rem auto 0;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
}


/* ========== Ablauf – Tablet ========== */

@media (max-width: 62rem) {
  .services-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 2rem;
  }

  .services-process-list::before {
    display: none;
  }
}


/* ========== Ablauf – Smartphone ========== */

@media (max-width: 42rem) {
  .services-process-container {
    width: min(calc(100% - 2rem), 80rem);
  }

  .services-process-header {
    margin-bottom: 2.75rem;

    text-align: left;
  }

  .services-process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-process-item {
    min-height: 7.5rem;
    padding: 0 0 2.5rem 4.75rem;

    text-align: left;
  }

  .services-process-item:last-child {
    min-height: 0;
    padding-bottom: 0;
  }


  /* ---------- Vertikale Verbindungslinie ---------- */

  .services-process-item::before {
    content: "";

    width: 1px;

    position: absolute;
    top: 3.5rem;
    bottom: 0;
    left: 1.72rem;

    background-color: var(--color-border);
  }

  .services-process-item:last-child::before {
    display: none;
  }


  /* ---------- Nummer auf Smartphone ---------- */

  .services-process-number {
    position: absolute;
    top: 0;
    left: 0;

    margin: 0;
  }


  /* ---------- Texte auf Smartphone ---------- */

  .services-process-step-title {
    margin-top: 0;
    padding-top: 0.25rem;
  }

  .services-process-description {
    max-width: 30rem;
    margin-inline: 0;
  }
}

/* ========== Abschluss-CTA Leistungen ========== */

.services-cta {
  padding-block: clamp(5rem, 8vw, 7rem);

  color: var(--color-white);
  background-color: var(--color-dark-blue);

  text-align: center;
}


/* ---------- Container ---------- */

.services-cta-container {
  width: min(calc(100% - 3rem), 52rem);
  margin-inline: auto;
}


/* ---------- Überschrift ---------- */

.services-cta-title {
  margin: 0;

  color: var(--color-white);

  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}


/* ---------- Beschreibung ---------- */

.services-cta-description {
  max-width: 40rem;
  margin: 1.5rem auto 0;

  color: rgba(255, 255, 255, 0.65);

  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}


/* ---------- Button ---------- */

.services-cta-button {
  min-height: 3.5rem;
  margin-top: 2rem;
  padding-inline: 1.75rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  color: var(--color-dark-blue);
  background-color: var(--color-white);

  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  border: 1px solid var(--color-white);
  border-radius: 0.55rem;

  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.services-cta-button span {
  transition: transform 180ms ease;
}


/* ---------- Button Hover ---------- */

.services-cta-button:hover,
.services-cta-button:focus-visible {
  color: var(--color-white);
  background-color: transparent;

  transform: translateY(-2px);
}

.services-cta-button:hover span,
.services-cta-button:focus-visible span {
  transform: translateX(0.25rem);
}


/* ========== Abschluss-CTA – Smartphone ========== */

@media (max-width: 42rem) {
  .services-cta {
    padding-block: 4.5rem;
  }

  .services-cta-container {
    width: min(calc(100% - 2rem), 52rem);
  }

  .services-cta-title br {
    display: none;
  }

  .services-cta-description {
    font-size: 0.95rem;
  }

  .services-cta-button {
    width: 100%;
  }
}


/* ========== Reduzierte Animationen ========== */

@media (prefers-reduced-motion: reduce) {
  .services-cta-button,
  .services-cta-button span {
    transition: none;
  }
}