/* About page — industrial B2B redesign (loaded after styles.css) */

.about-page .page-hero--compact {
  margin-bottom: 0;
}

.about-page [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.about-page [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .about-page [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.about-kicker {
  display: none;
}

.about-story {
  position: relative;
  padding: 3.25rem 0 3rem;
  background: var(--white);
  overflow: clip;
}

.about-story__parallax {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 88% 20%, rgba(232, 185, 35, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 50% at 8% 80%, rgba(20, 58, 102, 0.05), transparent 65%),
    linear-gradient(180deg, var(--white), var(--steel-100));
  will-change: transform;
}

.about-story > .container {
  width: min(100% - 2rem, 1320px);
  position: relative;
  z-index: 1;
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 2.5rem 3rem !important;
  align-items: center;
  position: relative;
}

.about-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 0;
  background: transparent;
  box-shadow: none;
  height: 100%;
}

.about-story__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.12;
}

.about-story__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.85rem;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.about-story__body {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.about-story__body p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.about-story__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
}

.about-story__media {
  margin: 0 !important;
  display: block;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  min-height: 0 !important;
  grid-template-rows: none;
}

.about-story__media::before {
  display: none;
}

.about-story__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

.about-story__media figcaption {
  display: none;
}

.about-story__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.45rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold-400);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.2);
}

.about-seam {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem max(1rem, calc((100% - 420px) / 2));
  box-sizing: border-box;
}

.about-seam--steel {
  background: var(--steel-100);
}

.about-seam--white {
  background: var(--white);
}

.about-seam__line {
  flex: 1;
  height: 1px;
  background: var(--steel-300);
}

.about-seam__mark {
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  background: var(--gold-400);
  transform: rotate(45deg);
}

.about-team {
  position: relative;
  padding: 2.5rem 0 3rem;
  background: var(--steel-100);
  overflow: clip;
}

.about-team__parallax {
  position: absolute;
  inset: -14% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 15% 30%, rgba(232, 185, 35, 0.08), transparent 70%),
    linear-gradient(180deg, var(--steel-100), var(--steel-200));
  will-change: transform;
  opacity: 0.85;
}

.about-team > .container {
  width: min(100% - 2rem, 1320px);
  position: relative;
  z-index: 1;
}

.about-team__head {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 38rem;
}

.about-team__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.about-team__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.about-team__head-note {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.about-team__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-team__list li,
.about-team__list .about-team__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s,
    opacity 0.55s var(--ease);
  min-height: 0;
  grid-template-columns: none;
  overflow: visible;
  opacity: 0;
  transform: translateY(18px);
  transition-delay: calc(var(--stagger, 0) * 0.1s);
}

.about-team.is-revealed .about-team__list li,
.about-team.is-revealed .about-team__list .about-team__card {
  opacity: 1;
  transform: none;
}

.about-team__list li:hover,
.about-team__list .about-team__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--steel-300);
}

.about-team.is-revealed .about-team__list li:hover,
.about-team.is-revealed .about-team__list .about-team__card:hover {
  transform: translateY(-5px);
}

.about-team__avatar {
  position: relative;
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 0 1.15rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--steel-300);
  border: 3px solid var(--steel-200);
  box-shadow: inset 0 0 0 1px var(--white);
  flex-shrink: 0;
}

.about-team__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--steel-400);
}

.about-team__avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: none;
  will-change: auto;
  transition: none;
}

.about-team__avatar img.is-broken {
  display: none;
}

.about-team__card h3,
.about-team__list h3 {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.25;
}

.about-team__role {
  margin: 0.4rem 0 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy-700);
  line-height: 1.35;
}

.about-team__quote {
  position: relative;
  margin: 1rem 0 0;
  padding: 0.15rem 0 0 1.55rem;
  border: none;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-muted);
  background: transparent;
}

.about-team__quote::before {
  content: "„";
  position: absolute;
  left: 0;
  top: -0.1em;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-700);
  margin-right: 0;
  vertical-align: baseline;
}

.about-team__photo,
.about-team__meta {
  display: none;
}

.about-reviews {
  position: relative;
  padding: 2.5rem 0 2.75rem;
  background: var(--white);
  overflow: clip;
}

.about-reviews > .container {
  width: min(100% - 2rem, 1320px);
}

.about-reviews__head {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}

.about-reviews__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.about-reviews__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.about-reviews__head-note {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.about-reviews__carousel {
  position: relative;
  padding: 0 3.25rem;
}

.about-reviews__stage {
  position: relative;
  height: 22rem;
  min-height: 20rem;
  perspective: none;
  touch-action: pan-y;
  transition: height 0.35s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-reviews__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 38rem);
  height: 20rem;
  min-height: 280px;
  margin: 0;
  padding: 1.35rem 1.4rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform-origin: center center;
  transform-style: flat;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.35s var(--ease);
  will-change: transform, opacity;
  backface-visibility: hidden;
  filter: none;
  box-sizing: border-box;
}

.about-reviews__slide.is-expanded {
  height: auto;
  min-height: 280px;
}

.about-reviews__slide.is-active {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-300);
}

.about-reviews__slide[aria-hidden="true"] {
  pointer-events: none;
}

.about-reviews__emoji {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0.9;
}

.about-reviews__top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
}

.about-reviews__who {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.2rem;
}

.about-reviews__avatar {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--navy-800);
  border: 2px solid var(--steel-200);
  box-shadow: none;
}

.about-reviews__author {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.25;
}

.about-reviews__role {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ink-muted);
  max-width: none;
}

.about-reviews__stars {
  display: flex;
  gap: 0.15rem;
  margin-top: 0.25rem;
  color: var(--gold-400);
}

.about-reviews__star {
  width: 0.95rem;
  height: 0.95rem;
}

.about-reviews__body {
  flex: 1 1 auto;
  min-height: 6.5rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.about-reviews__slide:not(.is-expanded) .about-reviews__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white) 85%);
  pointer-events: none;
}

.about-reviews__slide.is-expanded .about-reviews__body {
  overflow: visible;
}

.about-reviews__quote {
  margin: 0;
  padding: 0;
  border: none;
  width: 100% !important;
  max-width: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-muted);
  display: block;
  text-align: left;
}

.about-reviews__quote p {
  margin: 0 0 0.65rem;
  max-width: none !important;
  width: 100%;
}

.about-reviews__quote p:last-child {
  margin-bottom: 0;
}

.about-reviews__quote p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 1.3em;
  font-weight: 700;
  color: var(--navy-800);
}

.about-reviews__quote::before,
.about-reviews__quote::after {
  content: none;
}

.about-reviews__more {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.2rem 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--navy-700);
  transition: color 0.2s var(--ease);
}

.about-reviews__more svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease);
}

.about-reviews__more:hover {
  color: var(--navy-900);
}

.about-reviews__more:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
}

.about-reviews__slide.is-expanded .about-reviews__more svg {
  transform: rotate(180deg);
}

.about-reviews__arrow {
  position: absolute;
  top: 42%;
  z-index: 6;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-400);
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.12);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s;
}

.about-reviews__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.about-reviews__arrow:hover {
  background: var(--gold-300);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 26px rgba(212, 160, 23, 0.3);
}

.about-reviews__arrow:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
}

.about-reviews__arrow--prev {
  left: 0;
}

.about-reviews__arrow--next {
  right: 0;
}

.about-reviews__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.about-reviews__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--steel-300);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.about-reviews__dot:hover {
  background: var(--steel-400);
}

.about-reviews__dot.is-active {
  background: var(--gold-400);
  transform: scale(1.25);
}

.about-reviews__dot:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
}

.about-close {
  padding: 0.75rem 0 2.75rem;
  background: var(--white);
}

.about-close__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(100% - 2rem, 720px);
  margin-inline: auto;
}

.about-close__line {
  flex: 1;
  height: 1px;
  background: var(--steel-300);
}

.about-close__mark {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-800);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .about-team__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .about-story {
    padding: 2.5rem 0 2.25rem;
  }

  .about-story__grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .about-story__media {
    order: -1;
    margin: 0 !important;
    max-height: 360px;
  }

  .about-team {
    padding: 2.5rem 0 2.25rem;
  }

  .about-reviews {
    padding: 2.5rem 0 2.25rem;
  }

  .about-reviews__carousel {
    padding: 0 2.75rem;
  }

  .about-reviews__stage {
    height: auto;
    min-height: 300px;
  }

  .about-reviews__slide {
    width: min(100%, 28rem);
    height: 18.5rem;
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-team__list li,
  .about-team__list .about-team__card {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.28s var(--ease), border-color 0.28s;
  }

  .about-story__parallax,
  .about-team__parallax {
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .about-team__list {
    grid-template-columns: 1fr;
  }

  .about-team__card {
    padding: 1.5rem 1.15rem 1.35rem;
  }

  .about-reviews__carousel {
    padding: 0 2.4rem;
  }

  .about-reviews__stage {
    height: auto;
    min-height: 300px;
  }

  .about-reviews__slide {
    width: min(100%, 100%);
    height: 18rem;
    min-height: 280px;
    padding: 1.25rem 1.15rem 1.1rem;
  }

  .about-reviews__arrow {
    width: 2.4rem;
    height: 2.4rem;
    top: 50%;
  }

  .about-close__mark {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .about-story__badge {
    left: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.62rem;
  }

  .about-reviews__carousel {
    padding: 0 2.1rem;
  }

  .about-reviews__arrow {
    width: 2.2rem;
    height: 2.2rem;
  }

  .about-close__inner {
    gap: 0.75rem;
  }
}
