.about-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  /* Kompakter Hero, damit das Titelbild nicht unnötig hoch wird. */
  min-height: clamp(32rem, 46vw, 48rem);
  overflow: hidden;
  align-items: end;
  background: var(--color-text);
}

.about-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.about-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(37 29 23 / 82%) 0%,
      rgb(37 29 23 / 62%) 30%,
      rgb(37 29 23 / 20%) 62%,
      rgb(37 29 23 / 7%) 100%
    ),
    linear-gradient(
      0deg,
      rgb(37 29 23 / 38%) 0%,
      transparent 52%
    );
  content: "";
}

.about-hero__inner {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
  padding-top: clamp(6rem, 10vw, 8.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.about-hero .eyebrow {
  color: var(--color-bg-base);
  text-shadow: 0 1px 1rem rgb(0 0 0 / 30%);
}

.about-hero .eyebrow::before {
  background: var(--color-brand-secondary);
}

.about-hero h1 {
  max-width: 8ch;
  margin: 0;
  color: #fff;
  text-shadow: 0 0.18rem 1.25rem rgb(0 0 0 / 34%);
}

@media (max-width: 47.99rem) {
  .about-hero {
    min-height: 31rem;
  }

  .about-hero__media img {
    object-position: center 60%;
  }

  .about-hero::after {
    background:
      linear-gradient(
        0deg,
        rgb(37 29 23 / 78%) 0%,
        rgb(37 29 23 / 25%) 58%,
        rgb(37 29 23 / 8%) 100%
      );
  }

  .about-hero__inner {
    padding-bottom: var(--space-2xl);
  }
}

.about-intro {
  padding: var(--space-2xl) 0 0;
  background: var(--color-bg-surface);
}

.about-intro .sec-head {
  max-width: 50rem;
  margin-bottom: 0;
}

.about-intro .sec-head h2 {
  font-size: var(--font-size-h3);
}

.about-intro .sec-head__sub {
  max-width: 44rem;
  line-height: var(--line-height-relaxed);
}

.about-team {
  padding: var(--space-2xl) 0 var(--section-space);
  background: var(--color-bg-surface);
}

.profile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.profile:last-child {
  margin-bottom: 0;
}

.profile::after {
  position: absolute;
  z-index: 0;
  top: 3%;
  left: 8%;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: var(--radius-pebble);
  background: var(--color-brand-wash);
  content: "";
}

.profile__image {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-pebble);
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.profile:not(.profile--james) .profile__image {
  width: min(78vw, 19rem);
  justify-self: center;
}

.profile__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.profile__content {
  position: relative;
  z-index: 1;
  padding: var(--space-lg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface-glass);
  box-shadow: var(--shadow-card);
}

.profile__content h2 {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-h2);
}

.profile__lead {
  margin: calc(-1 * var(--space-xs)) 0 var(--space-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* Zwischenüberschriften innerhalb der Profilkarte. Bewusst in der
   Fließtextschrift gehalten, damit die Überschriftenhierarchie der Seite
   (h1 → h2 Name) unverändert bleibt. */
.profile__focus-title,
.profile__facts-title {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-default);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile__facts-title {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
}

.profile__outro {
  margin: var(--space-lg) 0 0;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.profile__facts {
  margin: 0;
  padding-left: var(--space-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.profile__facts li + li {
  margin-top: var(--space-sm);
}

/* Ruhiger Hinweis, wer welches Angebot begleitet – bewusst als schlichter
   Fließtext und nicht als hervorgehobene Box. */
.about-note {
  max-width: var(--measure);
  margin: 0 0 var(--space-3xl);
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
  line-height: var(--line-height-relaxed);
}

.profile--james {
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-bg-soft);
}

.profile--james::after {
  display: none;
}

.profile--james .profile__image img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

@media (min-width: 48rem) {
  .profile:not(.profile--james) .profile__image {
    width: min(52vw, 22rem);
  }

  .profile__content,
  .profile--james {
    padding: var(--space-xl);
  }
}

@media (min-width: 64rem) {
  .about-intro {
    padding-top: var(--space-3xl);
  }

  .about-team {
    padding-top: var(--space-3xl);
  }

  .profile {
    grid-template-columns: minmax(18.75rem, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-3xl);
  }

  .profile:not(.profile--james) .profile__image {
    width: 100%;
  }

  .profile--reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(18.75rem, 0.8fr);
  }

  .profile--reverse .profile__image {
    order: 2;
  }

  .profile--reverse .profile__content {
    order: 1;
  }

  .profile--james {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  }
}
