/* About — vertikaler Stapel aus Bild/Text-Rows, ab Desktop abwechselnd links/rechts */

.about {
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
  padding-block: 0;
}

/* Row übernimmt das frühere .about-Flexverhalten (full-bleed Split): die
   content-width-Regel aus sections/00-base.css (.about > *) für die Row aufheben,
   damit das Bild bis zur Section-Kante reicht. */
.about > .about-row {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.about-row {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
}

.about-text {
  flex: 1;
  margin-block-start: var(--space-3);
  padding-inline: var(--padding-page);
}

.about-text span {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  margin-block-end: var(--space-3);
}

.about-text h2 {
  margin-block-end: var(--gap-block);
}

.about-text .btn {
  margin-block-start: var(--gap-block);
}

/* Bild flush bis zur Section-Kante (kein Negativmargin → kein Ghost-Scroll). */
.about-row figure {
  flex: 1;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.about-row figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Mehrere Bilder: gestapelt in derselben Grid-Zelle, Crossfade via .active
   (about-slideshow.js). Gleiche Bildmaße empfohlen → kein Höhensprung. */
.about-slideshow {
  display: grid;
}

.about-slideshow img {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1s ease;
}

.about-slideshow img.active {
  opacity: 1;
}

@media (min-width: 79.5rem) {
  .about-row {
    flex-direction: row;
    align-items: center;
    gap: var(--gap-section);
  }

  /* Alternieren: gerade Rows spiegeln (Mobile bleibt feste Lese-Reihenfolge). */
  .about-row:nth-child(even) {
    flex-direction: row-reverse;
  }
}
