/* =========================================================
   ABOUT PAGE HERO
   Styles the brand mark displayed beside the introductory hero content.
   ========================================================= */

.page-hero-mark {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  object-fit: contain;
}


/* =========================================================
   FOUNDER PROFILE CARD
   Styles the founder portrait, biography content, and card layout.
   ========================================================= */

.person-card {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  background: var(--white);
  box-shadow: var(--shadow);
}

.person-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: var(--cream);
}

.person-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.person-card-content {
  width: 100%;
  min-width: 0;
}

.person-card-content h2 {
  max-width: none;
  padding-bottom: 1rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.person-card-subtitle {
  margin-bottom: 1.25rem;
  color: var(--green-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

.person-card-content p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}


/* =========================================================
   RESPONSIVE LAYOUT
   Adapts the About page hero and founder card for smaller screens.
   ========================================================= */

@media (max-width: 760px) {
  body[data-page="ueber-uns"] .page-hero-mark {
    display: none;
  }

  body[data-page="ueber-uns"] .page-hero-grid {
    gap: 0;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .person-card-image {
    max-width: 420px;
    margin-inline: auto;
  }
}
