/* ═══════════════════════════════════════
   KARMA Website — Über uns page v4
   Page-local styles only. Depends on styles-v4.css.
   ═══════════════════════════════════════ */

.page-ueber-uns {
  background: var(--white);
}

.page-ueber-uns .container {
  max-width: 1180px;
}

.about-page-hero {
  position: relative;
  min-height: 932px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.about-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.72) 52%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, rgba(0,0,0,0.42), rgba(0,0,0,0) 32%);
  pointer-events: none;
}

.about-page-hero__image {
  position: absolute;
  inset: 0 0 0 41%;
  overflow: hidden;
}

.about-page-hero__image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.about-page-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 932px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 131px;
}

.about-page-hero__copy {
  width: 592px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.about-page-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-page-hero__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.about-page-hero__description {
  max-width: 492px;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.01em;
  color: var(--color);
}

.about-history,
.about-video,
.about-principles,
.about-team,
.about-timeline,
.about-gallery,
.about-referral {
  padding-bottom: 160px;
}

.about-history {
  padding-top: 160px;
}

.about-history__inner,
.about-timeline__inner {
  display: grid;
  grid-template-columns: 486px minmax(0, 1fr);
  gap: 28px;
}

.about-section-title {
  white-space: pre-line;
}

.about-history__text {
  max-width: 694px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.408;
  letter-spacing: -0.02em;
}

.about-history__text strong {
  color: var(--black);
}

.about-video__media {
  position: relative;
  height: 664px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color);
}

.about-video__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.about-video__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}

.about-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  background: rgba(0,0,0,0.38);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-video__play span {
  position: absolute;
  left: 42px;
  top: 34px;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 27px solid currentColor;
}

.about-video__caption {
  width: 774px;
  max-width: 100%;
  margin-top: 30px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.408;
  letter-spacing: -0.02em;
}

.about-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-principle {
  min-height: 486px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.about-principle__line {
  height: 1px;
  background: var(--black);
  margin-bottom: 30px;
}

.about-principle__body {
  min-height: 455px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-principle h3 {
  min-height: 102px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.408;
  letter-spacing: -0.02em;
}

.about-principle p {
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.about-principle strong {
  display: flex;
  align-items: flex-end;
  min-height: 122px;
  margin-top: auto;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--color);
  color: var(--soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.about-team__title {
  margin-bottom: 60px;
  white-space: pre-line;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.about-team-card {
  grid-column: span 2;
  min-width: 0;
}

.about-team-card--large {
  grid-column: span 3;
}

.about-team-card__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color);
}

.about-team-card:not(.about-team-card--large) .about-team-card__image {
  height: 342px;
}

.about-team-card__copy {
  padding-top: 20px;
}

.about-team-card__role {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color);
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.about-team-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-team-card h3 span {
  color: var(--soft);
}

.about-team-card p {
  max-width: 508px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.about-timeline__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.about-timeline__items {
  border-top: 1px solid var(--black);
}

.about-timeline__item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--black);
}

.about-timeline__item strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-timeline__item p {
  max-width: 500px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.about-stats {
  padding-bottom: 160px;
}

.about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.about-gallery img {
  width: 100%;
  height: 392px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color);
}

.about-referral {
  padding-top: 0;
}

.about-referral h2 {
  max-width: 1180px;
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.about-referral h2 span {
  color: var(--black);
}

.about-referral p {
  margin-top: 30px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.01em;
}

@media (max-width: 1228px) {
  .page-ueber-uns .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-page-hero__inner {
    padding-bottom: 104px;
  }

  .about-history__inner,
  .about-timeline__inner {
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .about-video__media {
    height: 56vw;
    max-height: 664px;
  }
}

@media (max-width: 1024px) {
  .about-page-hero {
    min-height: 840px;
  }

  .about-page-hero::after {
    background:
      linear-gradient(90deg, #000 0%, rgba(0,0,0,0.86) 52%, rgba(0,0,0,0.28) 100%),
      linear-gradient(0deg, rgba(0,0,0,0.56), rgba(0,0,0,0) 45%);
  }

  .about-page-hero__image {
    left: 28%;
  }

  .about-page-hero__inner {
    min-height: 840px;
    padding-bottom: 88px;
  }

  .about-history,
  .about-video,
  .about-principles,
  .about-team,
  .about-timeline,
  .about-gallery,
  .about-referral,
  .about-stats {
    padding-bottom: 112px;
  }

  .about-history {
    padding-top: 112px;
  }

  .about-history__inner,
  .about-timeline__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-history__text,
  .about-video__caption {
    font-size: 21px;
  }

  .about-principles__grid {
    grid-template-columns: 1fr;
  }

  .about-principle,
  .about-principle__body {
    min-height: auto;
  }

  .about-principle h3 {
    min-height: auto;
  }

  .about-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-team-card,
  .about-team-card--large {
    grid-column: span 1;
  }

  .about-team-card__image,
  .about-team-card:not(.about-team-card--large) .about-team-card__image {
    height: 400px;
  }

  .about-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-ueber-uns .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-page-hero {
    min-height: 760px;
  }

  .about-page-hero__image {
    inset: 0;
    opacity: 0.64;
  }

  .about-page-hero::after {
    background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.92) 36%, rgba(0,0,0,0.42) 100%);
  }

  .about-page-hero__inner {
    min-height: 760px;
    align-items: flex-end;
    padding-bottom: 58px;
  }

  .about-page-hero__title {
    font-size: 42px;
  }

  .about-page-hero__buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about-history,
  .about-video,
  .about-principles,
  .about-team,
  .about-timeline,
  .about-gallery,
  .about-referral,
  .about-stats {
    padding-bottom: 80px;
  }

  .about-history {
    padding-top: 80px;
  }

  .about-history__text,
  .about-video__caption {
    font-size: 18px;
    line-height: 1.45;
  }

  .about-video__media {
    height: 62vw;
    min-height: 280px;
  }

  .about-video__play {
    width: 76px;
    height: 76px;
  }

  .about-video__play span {
    left: 31px;
    top: 25px;
    border-top-width: 13px;
    border-bottom-width: 13px;
    border-left-width: 20px;
  }

  .about-team__grid,
  .about-gallery__grid {
    grid-template-columns: 1fr;
  }

  .about-team-card__image,
  .about-team-card:not(.about-team-card--large) .about-team-card__image,
  .about-gallery img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .about-timeline__item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
  }

  .about-referral h2 {
    font-size: 42px;
  }
}
