/* Leistungen — visuelle Dramaturgie (3 Hauptwelten) */

.page-leistungen {
  background: #141f1a;
}

.page-leistungen main {
  position: relative;
  isolation: isolate;
}

.page-leistungen main .section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* —— Kompakter Hero —— */
.page-hero--leistungen-compact {
  min-height: auto;
  padding: calc(82px + 1.25rem) 0 clamp(1.5rem, 3vw, 2rem);
  display: flex;
  align-items: flex-end;
}

.page-hero__card--compact {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(16, 26, 20, 0.72) 0%, rgba(20, 32, 26, 0.9) 100%);
  border: 1px solid rgba(214, 195, 163, 0.14);
  box-shadow: var(--shadow-soft);
}

.page-hero__card--compact h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  margin-bottom: 0.65rem;
}

.page-hero__card--compact .lead {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.65;
}

/* —— Icon-Leiste —— */
.leistungen-strip {
  padding-top: 0.5rem !important;
  padding-bottom: clamp(1.5rem, 3vw, 2rem) !important;
}

.leistungen-icon-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leistungen-icon-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(214, 195, 163, 0.09) 0%, rgba(214, 195, 163, 0) 60%),
    rgba(18, 30, 24, 0.58);
  border: 1px solid rgba(214, 195, 163, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.leistungen-icon-strip__icon {
  color: var(--gold-accent);
  font-size: 0.65rem;
  opacity: 0.9;
}

/* —— Welt 1: Gestaltung & Entwicklung —— */
.leistungen-world--design {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
}

.leistungen-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(214, 195, 163, 0.09) 0%, rgba(214, 195, 163, 0) 55%),
    linear-gradient(165deg, rgba(28, 44, 36, 0.76) 0%, rgba(18, 30, 24, 0.88) 100%);
  border: 1px solid rgba(214, 195, 163, 0.18);
  box-shadow: 0 24px 48px rgba(5, 8, 7, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.leistungen-showcase__visual {
  max-width: 15rem;
}

.device-stack {
  position: relative;
  min-height: clamp(7.25rem, 16vw, 10.5rem);
}

.device-stack__desktop {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(214, 195, 163, 0.15);
}

.device-stack__desktop img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.device-stack__phone {
  position: absolute;
  right: -8%;
  bottom: -4%;
  width: clamp(10.8rem, 32%, 15.45rem);
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(20, 32, 26, 0.95);
  transform: rotate(4deg);
  z-index: 2;
}

.device-stack__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.leistungen-showcase__copy h2 {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: var(--text-light);
  line-height: 1.25;
}

.leistungen-showcase__points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.leistungen-showcase__points li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  border-bottom: 1px solid rgba(214, 195, 163, 0.08);
}

.leistungen-showcase__points li:last-child {
  border-bottom: 0;
}

.leistungen-showcase__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-accent);
}

/* —— Welt 2: Fotografie —— */
.leistungen-world--photo {
  padding-top: clamp(3rem, 6vw, 5rem) !important;
}

.leistungen-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.leistungen-photo__collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  min-height: clamp(18rem, 36vw, 26rem);
  margin: 0;
}

.leistungen-photo__tile {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 195, 163, 0.14);
}

.leistungen-photo__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leistungen-photo__tile--a {
  grid-row: 1 / span 2;
}

.leistungen-photo__tile--b {
  grid-column: 2;
}

.leistungen-photo__tile--c {
  grid-column: 2;
}

.leistungen-photo__copy h2 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: var(--text-light);
}

.leistungen-photo__copy p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.leistungen-photo__note {
  font-size: 0.88rem !important;
  color: var(--brown-text-soft) !important;
}

.tag-optional {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-accent);
  background: rgba(199, 155, 95, 0.15);
  border: 1px solid rgba(214, 195, 163, 0.2);
}

/* —— Welt 3: Betrieb (dunkler Technikbereich) —— */
.leistungen-world--ops {
  padding-top: clamp(3rem, 6vw, 5rem) !important;
}

.leistungen-ops {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(109, 156, 86, 0.14) 0%, rgba(109, 156, 86, 0) 60%),
    linear-gradient(165deg, rgba(12, 20, 16, 0.96) 0%, rgba(16, 28, 22, 0.93) 100%);
  border: 1px solid rgba(109, 156, 86, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.leistungen-ops__intro {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.leistungen-ops__intro h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--text-light);
}

.leistungen-ops__intro p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.leistungen-ops__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.leistungen-ops__card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(214, 195, 163, 0.08) 0%, rgba(214, 195, 163, 0) 65%),
    rgba(24, 38, 32, 0.56);
  border: 1px solid rgba(214, 195, 163, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.leistungen-ops__card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.leistungen-ops__card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--brown-text-soft);
}

/* —— Formular-Mockups —— */
.leistungen-forms__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(214, 195, 163, 0.09) 0%, rgba(214, 195, 163, 0) 55%),
    rgba(28, 44, 36, 0.6);
  border: 1px solid rgba(214, 195, 163, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.leistungen-forms__copy h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--text-light);
}

.leistungen-forms__copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.leistungen-forms__mock {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.leistungen-forms__mock img {
  display: block;
  width: 100%;
  height: auto;
}

/* —— Branchen-Streifen —— */
.leistungen-branches {
  padding-top: 1rem !important;
  padding-bottom: 1.5rem !important;
}

.leistungen-branches__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(18, 30, 24, 0.5);
  border: 1px solid rgba(214, 195, 163, 0.1);
}

.leistungen-branches__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.leistungen-branches__strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leistungen-branches__strip li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.leistungen-branches__strip li + li::before {
  content: "·";
  margin-right: 1rem;
  color: rgba(214, 195, 163, 0.35);
}

/* —— CTA —— */
.cta-block--abo .cta-block-inner {
  text-align: center;
}

.cta-block--abo .cta-block-actions {
  justify-content: center;
}

@media (max-width: 960px) {
  .leistungen-showcase,
  .leistungen-photo,
  .leistungen-forms__inner {
    grid-template-columns: 1fr;
  }

  .device-stack {
    max-width: 28rem;
    margin-inline: auto;
  }

  .leistungen-photo__collage {
    min-height: 16rem;
  }

  .leistungen-ops__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .leistungen-icon-strip li {
    font-size: 0.72rem;
    padding: 0.4rem 0.6rem;
  }

  .leistungen-ops__grid {
    grid-template-columns: 1fr;
  }

  .leistungen-branches__strip li + li::before {
    content: none;
    margin: 0;
  }

  .leistungen-branches__strip ul {
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* ── Premium UX sync (Homepage-Niveau) ── */
.page-leistungen main .section.page-sec {
  padding-top: var(--page-sec-pad-y, clamp(4.5rem, 9vw, 7.5rem));
  padding-bottom: var(--page-sec-pad-y, clamp(4.5rem, 9vw, 7.5rem));
}

.page-leistungen main .section.page-sec--showcase {
  padding-top: var(--page-sec-pad-y-lg, clamp(5.5rem, 11vw, 9rem));
  padding-bottom: var(--page-sec-pad-y-lg, clamp(5.5rem, 11vw, 9rem));
}

.page-leistungen .leistungen-showcase,
.page-leistungen .leistungen-photo,
.page-leistungen .leistungen-forms__inner {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

.page-leistungen .leistungen-showcase__points {
  display: none;
}

.page-leistungen .cta-block.page-sec--finale .cta-block-inner,
.page-leistungen .page-finale {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.page-leistungen main .section.page-sec--glass {
  background: linear-gradient(165deg, rgba(22, 36, 28, 0.92) 0%, rgba(18, 30, 24, 0.94) 100%);
}
.page-leistungen main .section.page-sec--showcase {
  background: linear-gradient(180deg, rgba(12, 18, 15, 0.93) 0%, rgba(16, 24, 20, 0.94) 100%);
}
.page-leistungen main .section.page-sec--people {
  background: linear-gradient(165deg, rgba(32, 50, 40, 0.94) 0%, rgba(24, 40, 32, 0.95) 100%);
}
.page-leistungen main .section.page-sec--open {
  background: rgba(14, 22, 18, 0.9);
}
.page-leistungen main .section.page-sec--quiet {
  background: rgba(14, 22, 18, 0.9);
}
.page-leistungen main .section.page-sec--finale,
.page-leistungen .cta-block.page-sec--finale {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(199, 155, 95, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(30, 44, 34, 0.94) 0%, rgba(40, 54, 38, 0.96) 45%, rgba(28, 42, 32, 0.97) 100%);
}

.page-leistungen main,
.page-ueber-uns main {
  background: transparent !important;
}
