/* Für Unternehmen page — scoped page styles only */
.company-page {
  background: var(--white);
}

.company-page .nav__link--active {
  color: var(--main) !important;
  opacity: 1 !important;
}

.company-page .hero__bg img {
  /* Exact Figma Hero node export (2189:4725), 1512×932 ratio. */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.company-page .hero__bg::after {
  display: none;
}

.company-page .hero__inner {
  justify-content: center;
}

.company-page .hero__content {
  display: none !important;
}

.company-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #cecece;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  white-space: pre-line;
  margin-top: 2px;
}

.company-proof__avatars {
  display: flex;
  align-items: center;
}

.company-proof__avatars img {
  width: 34px;
  height: 34px;
  border: 2px solid #111313;
  border-radius: 999px;
  object-fit: cover;
  margin-left: -9px;
  background: var(--soft);
}

.company-proof__avatars img:first-child {
  margin-left: 0;
}

.company-section {
  padding: 0 0 160px;
}

@media (min-width: 1025px) {
  .company-page .stats {
    padding: 160px 0;
  }

  .company-page .stats .container,
  .company-page .company-section .container,
  .company-page .company-process .container,
  .company-page .work .container,
  .company-page .testimonials .container {
    max-width: 1189px;
  }

  .company-page .stats__row {
    gap: 24px;
  }

  .company-page .stats__item {
    flex: 0 0 auto;
    padding: 0;
  }

  .company-page .stats__item:nth-of-type(2) { width: 355px; }
  .company-page .stats__item:nth-of-type(4) { width: 349px; }
  .company-page .stats__item:nth-of-type(6) { width: 365px; }
}

.company-heading {
  margin-bottom: 34px;
}

.company-heading__eyebrow {
  color: var(--main);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.company-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  margin-bottom: 60px;
}

.company-heading--split p {
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  line-height: 1.408;
  letter-spacing: -0.02em;
}

.company-levers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.company-lever {
  height: 404px;
  min-height: 404px;
  border-radius: var(--radius);
  background: var(--color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company-lever__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-lever__kicker {
  color: var(--main);
  font-size: 16px;
  line-height: 25px;
  font-weight: 700;
}

.company-lever h3 {
  font-size: 24px;
  line-height: 33.8px;
  letter-spacing: -0.02em;
  white-space: pre-line;
}

.company-lever p:not(.company-lever__kicker) {
  color: var(--black);
  font-size: 16px;
  line-height: 25px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.company-lever .btn--link {
  color: var(--black);
  border-bottom-color: var(--black);
  font-size: 16px;
  line-height: 25px;
  font-weight: 700;
  align-self: flex-start;
  height: 48px;
}

.company-practices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 404px);
  gap: 20px;
}

.company-practice-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111313;
  color: var(--color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company-practice-card h3 {
  font-size: 24px;
  line-height: 1.408;
  letter-spacing: -0.02em;
  white-space: pre-line;
}

.company-practice-card p {
  font-size: 16px;
  line-height: 25px;
  letter-spacing: -0.01em;
  color: var(--color);
}

.company-practice-card--wide {
  grid-column: span 2;
}

.company-practice-card--photo {
  color: var(--color);
  background: var(--black);
}

.company-practice-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.company-practice-card--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(207deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.88) 87%);
}

.company-practice-card--photo > *:not(img) {
  position: relative;
  z-index: 1;
}

.company-practice-card--muted {
  background: var(--soft);
  color: var(--black);
}

.company-practice-card--muted p {
  color: var(--black);
}

.company-process {
  padding: 0 0 160px;
}

@media (min-width: 1025px) {
  .company-page .company-process {
    padding-bottom: 160px;
  }

  .company-page .company-heading--split {
    grid-template-columns: 697px 435px;
    gap: 40px;
    align-items: end;
    margin-bottom: 60px;
  }

  .company-page .company-heading--split .headline-l {
    max-width: 697px;
  }

  .company-page .company-heading--split p {
    width: 435px;
    font-size: 24px;
    line-height: 33.8px;
    letter-spacing: -0.02em;
    font-weight: 700;
  }

  .company-page .company-process__list {
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .company-page .company-process__step {
    grid-template-columns: 121px 330px minmax(0, 1fr);
    gap: 40px;
    padding: 0 0 40px;
    border-bottom: 1px solid #cacaca;
  }

  .company-page .company-process__step strong,
  .company-page .company-process__step h3 {
    font-size: 32px;
    line-height: 1;
  }

  .company-page .work {
    padding-bottom: 160px;
    overflow: hidden;
  }

  .company-page .work__heading {
    margin-bottom: 60px;
  }

  .company-page .work__heading-top {
    align-items: flex-start;
  }

  .company-page .work__nav {
    display: none !important;
  }

  .company-page .work__slider-wrapper {
    width: min(100%, 1189px);
    margin-left: max(0px, calc((100vw - 1189px) / 2));
    overflow: visible;
  }

  .company-page .work__slider {
    width: max-content !important;
    max-width: none !important;
    padding-left: 0 !important;
    gap: 20px !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    cursor: default !important;
  }

  .company-page .work__card {
    flex: 0 0 380px;
    width: 380px;
    height: 486px;
    padding: 30px;
  }

  .company-page .work__card:nth-child(4) {
    opacity: .3;
  }

  .company-page .work__footer {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .company-page .work__footer-text {
    width: 686px;
    max-width: 686px;
    font-size: 24px;
    line-height: 33.8px;
    letter-spacing: -0.02em;
    font-weight: 700;
  }
}

.company-process__list {
  border-top: 1px solid var(--black);
}

.company-process__step {
  display: grid;
  grid-template-columns: 110px 330px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--black);
  align-items: start;
}

.company-process__step strong,
.company-process__step h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: pre-line;
}

.company-process__step strong {
  color: var(--main);
}

.company-process__step p {
  font-size: 16px;
  line-height: 25px;
  letter-spacing: -0.01em;
  white-space: pre-line;
}

.company-page .work__slider {
  padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
}

.company-page .work__card {
  flex-basis: 380px;
}

.company-page .testimonials__heading {
  margin-bottom: 40px;
}

.company-page .company-trust-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: stretch;
}

.company-page .company-trust-stats__item {
  min-height: 171px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.company-page .company-trust-stats__item:first-child {
  padding-left: 0;
}

.company-page .company-trust-stats__item:last-child {
  padding-right: 0;
}

.company-page .company-trust-stats__divider {
  width: 1px;
  background: var(--color-2);
}

.company-page .company-trust-stats__number {
  font-size: 68px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 18px;
}

.company-page .company-trust-stats__label {
  max-width: 260px;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .company-page .hero__bg img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
  }

  .company-heading--split,
  .company-levers__grid {
    grid-template-columns: 1fr;
  }

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

  .company-practice-card {
    min-height: 320px;
  }

  .company-practice-card--wide {
    grid-column: span 2;
  }

  .company-process__step {
    grid-template-columns: 78px minmax(190px, 280px) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .company-section,
  .company-process {
    padding-bottom: 88px;
  }

  .company-proof {
    align-items: flex-start;
  }

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

  .company-practice-card,
  .company-practice-card--wide {
    grid-column: auto;
    min-height: 280px;
  }

  .company-process__step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 0;
  }

  .company-page .company-trust-stats {
    margin-top: 56px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-page .company-trust-stats__divider {
    width: 100%;
    height: 1px;
  }

  .company-page .company-trust-stats__item {
    min-height: 0;
    padding: 0;
  }

  .company-page .company-trust-stats__number {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 12px;
  }

  .company-page .company-trust-stats__label {
    max-width: 280px;
  }
}
