/* ============================================================
   LEISTUNGSSPEKTRUM – leistungsspektrum.css
   Ergänzendes CSS zur style.css – nicht überschreibend
   ============================================================ */

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.ls-hero {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  display: block;
}

.ls-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.ls-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 17, 17, 0.72) 0%,
    rgba(17, 17, 17, 0.35) 60%,
    rgba(17, 17, 17, 0.1)  100%
  );
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-lg);
}

.ls-hero__overlay h1 {
  color: var(--color-white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.3em;
}

.ls-hero__sub {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
  margin: 0;
}

/* ──────────────────────────────────────────
   ANCHOR NAVIGATION
────────────────────────────────────────── */
.ls-anchornav {
  background-color: var(--color-black);
  border-bottom: 3px solid var(--color-yellow);
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
}

.ls-anchornav__list {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.ls-anchornav__list li a {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sand);
  padding: 0.9em 1.2em;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.ls-anchornav__list li a:hover {
  color: var(--color-yellow);
  border-color: var(--color-yellow);
}

/* ──────────────────────────────────────────
   SECTION BASE
────────────────────────────────────────── */
.ls-section {
  padding-block: var(--space-xl);
}

.ls-section--white { background-color: var(--color-white); }
.ls-section--sand  { background-color: var(--color-sand-bg); }
.ls-section--dark  {
  background-color: var(--color-black);
  color: var(--color-text-light);
}

/* ──────────────────────────────────────────
   SECTION INNER – Bild + Text nebeneinander
────────────────────────────────────────── */
.ls-section__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.ls-section__image {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ls-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ls-section:hover .ls-section__image img {
  transform: scale(1.03);
}

.ls-section__content {
  flex: 1;
}

/* ──────────────────────────────────────────
   SECTION HEADER
────────────────────────────────────────── */
.ls-section__header {
  margin-bottom: var(--space-md);
}

.ls-section__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: inherit;
}

.ls-section--dark .ls-section__header h2 {
  color: var(--color-white);
}

.ls-section--dark .ls-section__header h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background-color: var(--color-yellow);
  margin-top: 0.4em;
}

.ls-section__sub {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-sand);
  margin-top: 0.4em;
  margin-bottom: 0;
}

.ls-section__header--centered {
  text-align: center;
}

.ls-section__header--centered h2::after {
  margin-inline: auto;
}

/* ──────────────────────────────────────────
   PROSE VARIANTS
────────────────────────────────────────── */
.prose--light p,
.prose--light li {
  color: #b0a89f;
}

.prose--light ul {
  list-style: none;
  padding-left: 0;
  margin-top: var(--space-sm);
}

.prose--light ul li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.5em;
}

.prose--light ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6em;
  height: 2px;
  background-color: var(--color-yellow);
}

.prose--centered {
  text-align: center;
}

.prose--centered p {
  margin-inline: auto;
}

/* ──────────────────────────────────────────
   FEATURE GRID (Rohbau+)
────────────────────────────────────────── */
.ls-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.ls-feature-item {
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-yellow);
  background-color: var(--color-white);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.ls-feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ls-feature-item__label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-black);
}

.ls-feature-item__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ──────────────────────────────────────────
   CHECKLIST (Renovierung / Sanierung)
────────────────────────────────────────── */
.ls-checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  max-width: var(--max-width-narrow);
}

.ls-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  padding-block: 0.7em;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.ls-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15em;
  background-color: var(--color-yellow);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.ls-checklist li:last-child {
  border-bottom: none;
}

.ls-checklist--centered {
  margin-inline: auto;
}

/* Feature Grid dark variant (inside ls-section--dark) */
.ls-feature-grid--dark {
  margin-top: var(--space-md);
}

.ls-feature-item--dark {
  background-color: #6b6b6b;
  border-color: rgba(255, 255, 255, 0.1);
}

.ls-feature-item--dark .ls-feature-item__label {
  color: var(--color-white);
}

.ls-feature-item--dark .ls-feature-item__desc {
  color: var(--color-sand);
}

/* Checklist light variant (on dark background) */
.ls-checklist--light li {
  color: #b0a89f;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ls-checklist--light li:last-child {
  border-bottom: none;
}
@media (min-width: 640px) {
  .ls-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ──────────────────────────────────────────
   RESPONSIVE – DESKTOP (≥ 1024px)
────────────────────────────────────────── */
@media (min-width: 1024px) {

  .ls-section__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }

  .ls-section--reversed .ls-section__inner {
    flex-direction: row-reverse;
  }

  .ls-section__image {
    flex: 0 0 48%;
    aspect-ratio: 4 / 3;
  }

  .ls-section__content {
    flex: 1 1 52%;
  }

  .ls-anchornav__list li a {
    padding: 1em 1.5em;
    font-size: 0.85rem;
  }

  .ls-hero {
    max-height: 520px;
  }
}
