/* ============================================================
   LEISTUNGEN PAGE
   ============================================================ */

body {
  background: var(--bg);
  max-width: var(--max-w);
  margin: 0 auto;
  overflow-x: hidden;
}

/* ── Video Hero (Scroll-Driven) ──────────────────────────── */
/* Gesamthöhe = Scrollraum: Video bleibt sticky, Brand scrollt rein */
.ls-hero-scroll {
  height: 200vh;
}

.ls-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.ls-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Gradient unten: weicher Übergang zur Seite */
.ls-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

/* "make it matter" — vertikal zentriert, JS steuert translateY */
.ls-brand-scroll {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Startzustand: transform kommt via JS (startet bei +70vh) */
  transform: translate(-50%, calc(-50% + 70vh));
  z-index: 3;
  mix-blend-mode: difference;
  pointer-events: none;
  will-change: transform;
}

.ls-brand-img {
  width: 252px;
  height: auto;
  display: block;
}

/* ── Intro Text ──────────────────────────────────────────── */
.ls-intro {
  padding: 32px 29px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ls-intro p {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
  color: #262626;
  margin: 0;
}

.ls-intro__bold {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: #262626;
}

/* ── Service Sections ────────────────────────────────────── */
.ls-service {
  padding: 56px 29px 0;
}

.ls-service__intro {
  margin-bottom: 32px;
}

.ls-service__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--dark);
  margin: 0 0 12px;
  line-height: 1.2;
}

.ls-service__desc {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
  color: #262626;
  margin: 0;
}

/* ── Accordion ───────────────────────────────────────────── */
.ls-accordion {
  display: flex;
  flex-direction: column;
}

.ls-item {
  border-top: 1px solid rgba(21,21,21,0.15);
}

.ls-item:last-child {
  border-bottom: 1px solid rgba(21,21,21,0.15);
}

.ls-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.ls-item__summary::-webkit-details-marker { display: none; }

.ls-item__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  color: var(--dark);
  line-height: 1.1;
}

/* "+" Icon → "×" bei open */
.ls-item__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: 16px;
}

.ls-item__icon::before,
.ls-item__icon::after {
  content: '';
  position: absolute;
  background: var(--dark);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  border-radius: 1px;
}

.ls-item__icon::before {
  width: 1.5px;
  height: 14px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.ls-item__icon::after {
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

details[open] .ls-item__icon::before {
  transform: translateX(-50%) rotate(45deg);
}
details[open] .ls-item__icon::after {
  transform: translateY(-50%) rotate(45deg);
}

.ls-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16,1,0.3,1);
}

details[open] .ls-item__body {
  grid-template-rows: 1fr;
}

.ls-item__body-inner {
  overflow: hidden;
  padding: 0;
  transition: padding 0.4s cubic-bezier(0.16,1,0.3,1);
}

details[open] .ls-item__body-inner {
  padding: 0 0 18px;
}

.ls-item__body-inner p {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 12px;
}

.ls-item__body-inner p:last-child {
  margin-bottom: 0;
}

.ls-item__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 4px;
}

/* ── Foto-Karussell ──────────────────────────────────────── */
.ls-carousel-wrap {
  margin-top: 48px;
  overflow: hidden;
}

.ls-carousel {
  display: flex;
  gap: 24px;
  padding-left: 29px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ls-carousel::-webkit-scrollbar { display: none; }

.ls-carousel__item {
  flex-shrink: 0;
  width: 253px;
  height: 328px;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
}

.ls-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Projekt-Showcase (Corporate Design) ─────────────────── */
.ls-projects-wrap {
  overflow: hidden;
  margin-top: 8px;
}

.ls-projects {
  display: flex;
  gap: 24px;
  padding-left: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ls-projects::-webkit-scrollbar { display: none; }

.ls-project-card {
  flex-shrink: 0;
  width: 249px;
  display: block;
  text-decoration: none;
  color: var(--dark);
  scroll-snap-align: start;
}

.ls-project-card__img-wrap {
  width: 249px;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.ls-project-card__img-wrap--placeholder {
  background: #c9c9c9;
}

.ls-project-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}

.ls-project-card:hover .ls-project-card__img-wrap img {
  transform: scale(1.04);
}

.ls-project-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 3px;
  line-height: 1.2;
}

.ls-project-card__type {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--grey);
  margin: 0;
}

.ls-project-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ── Seiteninhalt nach Hero ──────────────────────────────────
   Überlappt den Hero von unten: Inhalt erscheint wenn Brand
   zentriert ist, bevor der Hero nach oben wegscrollt.      */
.ls-page-content {
  position: relative;
  z-index: 2;
  background: var(--bg);
  margin-top: -30vh;
  padding-top: 40px;
  border-radius: 20px 20px 0 0;
}
