body {
  background: #000;
}

.leistungen-section {
  --ls-sec-bg-0: lch(3.19% 6.66 295.22);
  --ls-sec-bg-1: #181d33;
  --ls-sec-text: #ffffff;
  --ls-sec-muted: rgba(255, 255, 255, 0.9);
  --ls-sec-accent: #fbddaf;
  position: relative;
  height: 2500px;
  color: var(--ls-sec-text);
  font-family: var(--font-primary, "Inter Tight", sans-serif);
  background: var(--ls-sec-bg-0);
}

.leistungen-section,
.leistungen-section * {
  box-sizing: border-box;
}

.ls-sec-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.ls-sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(640px 640px at -10% -10%, rgba(77, 104, 124, 0.35), transparent 60%),
    radial-gradient(380px 420px at 95% 70%, rgba(50, 51, 80, 0.45), transparent 64%),
    radial-gradient(70% 80% at 50% 0%, var(--ls-sec-bg-1) 0%, var(--ls-sec-bg-0) 58%, #0d0914 100%);
}

.ls-sec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

.ls-sec-header {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  pointer-events: none;
}

.ls-sec-header h1 {
  margin: 0;
  width: min(92vw);
  font-size: clamp(3.1rem, 7vw, 5.6875rem);
  font-family: var(--font-primary, "Inter Tight", sans-serif);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: capitalize;
}

.ls-sec-header h1 span {
  font-weight: 800;
}

.leistungen-section .ls-sec-plus-pill {
  pointer-events: none;
}

.leistungen-section .ls-sec-plus-pill .lg-pill-track {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.leistungen-section .ls-sec-plus-pill .lg-plus {
  font-size: 1.5rem;
  line-height: 1;
}

.ls-sec-cards-viewport {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ls-sec-cards-track {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate3d(4000px, -50%, 0);
  display: flex;
  gap: 40px;
  will-change: transform;
}

.ls-sec-card-shell {
  width: 1000px;
  height: 625px;
  border-radius: 32px;
  position: relative;
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  background-color: var(--card-bg);
  box-shadow:
    inset 0 0 0 1px #ffffff08,
    inset 1.8px 3px 1px -2.5px #ffffff40,
    inset -2px -2px 2px -2px #fff3,
    inset -3px -8px 1px -7px #ffffff26,
    inset -0.3px -1px 4px #0000001f,
    inset -1.5px 2.5px 3px -2px #0000002e,
    inset 0 3px 6px -2px #0000002e,
    inset 2px -6.5px 3px -4px #00000017,
    0 1px 6px #00000014,
    0 6px 18px #0000000f,
    inset 0 4px 31.2px -3px #2841597a;
}

.ls-sec-card-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background-image:
    linear-gradient(
      90deg,
      rgba(164, 164, 164, 0.1) 0%,
      rgba(255, 216, 162, 0) 50%,
      rgba(164, 164, 164, 0.1) 100%
    ),
    linear-gradient(
      90deg,
      rgba(255, 216, 162, 0) 0%,
      rgba(190, 190, 190, 0.9) 50.9009%,
      rgba(255, 216, 162, 0) 100%
    );
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, 720px 100%;
  background-position: 0 0, calc(var(--ls-sec-spot-x, 50%) - 360px) 0;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ls-sec-media-wrap {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 478px;
  height: 589px;
  border-radius: 32px;
  overflow: hidden;
}

.ls-sec-media-wrap video {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  display: block;
  opacity: 0.95;
}

.ls-sec-media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 40px rgba(0, 0, 0, 0.5),
    inset 0 -30px 48px rgba(0, 0, 0, 0.45);
}

.ls-sec-card-content {
  position: absolute;
  top: 94px;
  left: 60px;
  width: 359px;
}

.ls-sec-card-content h2 {
  margin: 0 0 22px;
  font-family: var(--font-primary, "Inter Tight", sans-serif);
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.ls-sec-card-content p {
  margin: 0 0 12px;
  color: var(--ls-sec-muted);
  font-family: var(--font-primary, "Inter Tight", sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.ls-sec-card-content ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.ls-sec-card-content li {
  color: #ffffff;
  font-family: var(--font-primary, "Inter Tight", sans-serif);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  padding-left: 20px;
}

.ls-sec-card-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 1199.98px) {
  .leistungen-section {
    height: auto;
  }

  .ls-sec-stage {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 120px 0 80px;
  }

  .ls-sec-header {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 40px;
  }

  .ls-sec-cards-viewport {
    overflow: visible;
  }

  .ls-sec-cards-track {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: grid;
    gap: 24px;
    width: min(100%, 1000px);
    margin: 0 auto;
    padding: 0 16px;
  }

  .ls-sec-card {
    width: 100%;
    height: auto;
  }

  .ls-sec-card-shell {
    width: 100%;
    height: auto;
    min-height: 625px;
  }

  .ls-sec-media-wrap {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    padding: 16px 16px 0;
  }

  .ls-sec-card-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 22px 24px;
  }
}

@media (max-width: 809.98px) {
  .ls-sec-header h1 {
    width: min(92vw, 350px);
    font-size: clamp(2.3rem, 10vw, 4rem);
  }

  .ls-sec-card-shell {
    min-height: 0;
  }
}
