/* ========== Über-uns-Seite ========== */

.about-page {
  min-height: 100vh;

  color: var(--foreground);
  background-color: var(--background);
}


/* ========== Geschichte ========== */

.about-story-section {
  padding-top: clamp(11rem, 15vw, 14rem);
  padding-bottom: clamp(7rem, 11vw, 10rem);
}


/* ---------- Zweispaltiges Layout ---------- */

.about-story-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(24rem, 0.9fr);
  align-items: center;
  gap: clamp(4rem, 9vw, 8rem);
}


/* ---------- Überschrift ---------- */

.about-page-title {
  max-width: 10ch;

  margin: 0;

  color: var(--text-cream);

  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.about-page-title span {
  display: block;

  color: var(--amber-500);
}


/* ---------- Geschichte ---------- */

.about-story-text {
  max-width: 38rem;

  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.about-story-text p {
  margin: 0;

  color: var(--foreground);

  font-size: 0.96rem;
  line-height: 1.8;

  opacity: 0.9;
}

.about-story-text p + p {
  margin-top: 1.5rem;
}


/* ---------- Kennzahlen ---------- */

.about-stats {
  max-width: 36rem;

  margin-top: 2.5rem;
  margin-bottom: 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-stat {
  padding-top: 1.3rem;

  border-top: 1px solid rgba(180, 83, 9, 0.3);
}

.about-stat dt {
  color: var(--amber-500);

  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}

.about-stat dd {
  margin: 0.65rem 0 0;

  color: var(--text-cream);

  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}


/* ---------- Gründerbild ---------- */

.founder-figure {
  position: relative;

  margin: 0;
}

.founder-image-wrapper {
  position: relative;

  aspect-ratio: 0.8;

  overflow: hidden;

  background-color: var(--bg-image);
}

.founder-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.founder-caption {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;

  min-width: 17rem;
  padding: 1.35rem 1.6rem;

  color: var(--primary-foreground);
  background-color: var(--amber-600);
}

.founder-caption strong {
  display: block;

  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}

.founder-caption span {
  display: block;

  margin-top: 0.5rem;

  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}


/* ========== Werte ========== */

.values-section {
  padding-block: clamp(6rem, 10vw, 9rem);

  background-color: var(--bg-section);

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.values-eyebrow {
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}


/* ---------- Werte-Raster ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}


/* ---------- Wertkarte ---------- */

.value-card {
  padding-top: 2rem;

  border-top: 1px solid rgba(180, 83, 9, 0.3);
}

.value-title {
  margin: 0;

  color: var(--text-cream);

  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.value-description {
  margin-top: 1.1rem;
  margin-bottom: 0;

  color: var(--foreground);

  font-size: 0.88rem;
  line-height: 1.75;

  opacity: 0.88;
}


/* ========== Team ========== */

.team-section {
  padding-block: clamp(7rem, 11vw, 10rem);

  background-color: var(--background);
}

.team-eyebrow {
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}


/* ---------- Team-Raster ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}


/* ---------- Teamkarte ---------- */

.team-card {
  min-width: 0;
}

.team-image-wrapper {
  aspect-ratio: 0.78;

  overflow: hidden;

  background-color: var(--bg-image);
}

.team-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 600ms ease,
    filter 400ms ease;
}

/* ---------- Team-Bilder zunächst schwarz-weiß ---------- */

.team-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  filter: grayscale(1);

  transition:
    transform 600ms ease,
    filter 400ms ease;
}

/* ---------- Beim Hover erscheint die Farbe ---------- */

.team-card:hover .team-image {
  filter: grayscale(0);
  transform: scale(1.035);
}


.team-card:hover .team-image {
  filter: grayscale(0);
  transform: scale(1.035);
}


/* ---------- Team-Inhalt ---------- */

.team-content {
  padding-top: 1.5rem;
}

.team-name {
  margin: 0;

  color: var(--text-cream);

  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.team-position {
  margin-top: 0.65rem;
  margin-bottom: 0;

  color: var(--amber-700);

  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  line-height: 1.6;
  text-transform: uppercase;
}


/* ========== Über uns Tablet ========== */

@media (max-width: 64rem) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .about-story-content {
    max-width: 46rem;
  }

  .founder-figure {
    width: min(100%, 38rem);
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 3rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card:last-child {
    width: calc(50% - 0.75rem);

    grid-column: 1 / -1;
  }
}


/* ========== Über uns Smartphone ========== */

@media (max-width: 40rem) {
  .about-story-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .about-page-title {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  .about-story-grid {
    gap: 4rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .founder-caption {
    position: relative;
    bottom: auto;
    left: auto;

    min-width: 0;
  }

  .values-section {
    padding-block: 5rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-section {
    padding-block: 5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .team-card:last-child {
    width: 100%;

    grid-column: auto;
  }

  .team-image-wrapper {
    aspect-ratio: 0.85;
  }
}