.page--ueber-uns {
  --about-green: #2e4f20;
  --about-ink: #1f2b20;
  --about-muted: #536254;
  --about-line: #dbe6da;
  --about-soft: #f3f7f1;
  padding: 50px 0 60px;
}

.about-us,
.company-intro,
.company-story {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.about-us {
  padding-block: clamp(1.6rem, 3.8vw, 2.8rem);
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
  color: var(--about-green);
  margin: 0 0 0.45rem;
  font-weight: 700;
}

.about-us h1 {
  margin: 0 0 1.35rem;
  line-height: 1.16;
  font-size: clamp(1.72rem, 2.15vw + 0.95rem, 2.7rem);
  color: var(--about-ink);
}

.about-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-card {
  background: linear-gradient(180deg, #fff, #f9fcf8);
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 1px 0 var(--about-line);
}

.about-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  color: var(--about-green);
  line-height: 1.3;
}

.about-card p {
  margin: 0;
  line-height: 1.72;
  color: var(--about-ink);
}

.company-story {
  margin-top: 8px;
  padding: clamp(12px, 3vw, 18px) 0 0;
  border-top: 1px solid var(--about-line);
  color: var(--about-ink);
}

.story-header {
  max-width: 78ch;
  margin: 0 auto clamp(16px, 2.5vw, 24px);
}

.story-kicker {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--about-green);
  font-size: 0.8rem;
}

.story-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--about-green), rgba(46, 79, 32, 0.25));
}

.story-title {
  margin: 0 0 10px;
  font-size: clamp(1.48rem, 2.15vw, 2.08rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--about-ink);
}

.story-subtitle {
  margin: 0;
  color: var(--about-muted);
  line-height: 1.67;
  max-width: 72ch;
}

.story-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  position: static;
}

.story-item {
  position: relative;
  padding-left: 0;
}

.story-card {
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  padding: 14px 0;
  border-bottom: 1px solid #e6eee4;
}

.story-item:last-child .story-card {
  border-bottom: 0;
}

.story-dot {
  display: none;
}

.story-content {
  padding: 10px 0 0;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--about-green);
  background: var(--about-soft);
}

.story-heading {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--about-green);
}

.story-text {
  margin: 0;
  color: var(--about-ink);
  line-height: 1.73;
}

.story-media {
  display: grid;
  gap: 10px;
  padding: 0;
  max-width: 520px;
}

.story-media-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-figure {
  margin: 0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.story-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: contain;
  display: block;
  background: #fff;
  max-height: 320px;
}

.story-figure figcaption {
  padding: 6px 2px 0;
  font-size: 0.84rem;
  color: var(--about-muted);
  line-height: 1.33;
}

.story-gallery {
  margin-top: clamp(16px, 2.2vw, 24px);
  padding-top: clamp(12px, 2vw, 16px);
  border-top: 1px solid var(--about-line);
}

.gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gallery-title {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--about-green);
}

.gallery-subtitle {
  margin: 0;
  color: var(--about-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, 1fr);
}

.gallery-item {
  grid-column: span 12;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  display: block;
  background: #fff;
  max-height: 315px;
}

.gallery-item figcaption {
  padding: 8px 2px 0;
  color: var(--about-muted);
  font-size: 0.88rem;
  line-height: 1.33;
}

.company-intro {
  padding-block: clamp(1.5rem, 4vw, 2.8rem);
}

.company-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.company-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.55rem;
}

.company-text h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 2.3vw + 0.8rem, 2.35rem);
  color: var(--about-green);
  line-height: 1.2;
}

.company-text p {
  margin: 0 0 0.95rem;
  color: var(--about-ink);
  line-height: 1.72;
}

@media (min-width: 720px) {
  .gallery-item {
    grid-column: span 6;
  }
}

@media (min-width: 980px) {
  .story-card {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .story-content {
    padding-top: 0;
  }

  .story-card {
    width: 100%;
  }

  .gallery-item {
    grid-column: span 4;
  }
}

@media (max-width: 768px) {
  .page--ueber-uns {
    padding: 50px 0 50px;
  }

  .about-us,
  .company-intro,
  .company-story {
    width: min(1200px, calc(100% - 24px));
  }

  .about-us {
    padding-block: 1.1rem 1.4rem;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .story-media {
    max-width: 100%;
  }

  .story-figure img {
    max-height: 315px;
  }

  .gallery-item img {
    max-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-card,
  .gallery-item {
    transition: none !important;
  }
}
