/* Aufbau wie in der Vorlage */
.trust {
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(8rem, 12vw, 12rem);
  background: var(--oscar-dark, #263133);
  color: var(--oscar-white, #fff);
}

.trust__top {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.8fr);
  align-items: stretch;
  gap: clamp(3rem, 7vw, 8rem);
}

.trust__content {
  min-width: 0;
}

/* Kleine Überschrift */
.trust__content .trust__eyebrow {
  margin: 0 0 1rem;
  color: var(--oscar-cyan);
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hauptüberschrift */
.trust h2 {
  margin: 0;
  color: var(--oscar-white, #fff);
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.05;
  text-transform: none;
}

/* Einführung */
.trust__content .trust__lead {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: rgb(255 255 255 / 85%);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.75;
}

.trust__actions {
  margin-top: 2.5rem;
}

.trust .trust__app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.9rem 1.5rem;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--oscar-cyan, #08c9d8);
  color: var(--oscar-dark, #263133);
  font-family: var(--font-headline, Arial, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.trust .trust__app-button:hover {
  background: #35d3df;
}

/* Fakten rechts mit durchgehender gelber Linie */
.trust__facts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 clamp(1.25rem, 2.5vw, 2.5rem);
  border: 0;
  border-left: 4px solid var(--oscar-yellow, #f9af07);
}

.trust__fact dt {
  margin: 0;
  color: var(--oscar-yellow, #f9af07);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.trust__fact dd {
  max-width: 25ch;
  margin: 0.8rem 0 0;
  color: rgb(255 255 255 / 85%);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
}

/* Kundenbanner */

.trust__clients {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-top: clamp(2rem, 4vw, 3rem);
}

.trust__clients-title {
  margin: 0 0 2.25rem;
  color: rgb(255 255 255 / 92%);
  font-family: var(--font-headline);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.trust__clients-set img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: clamp(2rem, 3vw, 3.2rem);
  max-width: 11rem;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(1) brightness(0) invert(1);
}

.trust__clients-window {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.trust__clients-track {
  display: flex;
  width: max-content;
  animation: trust-client-scroll 60s linear infinite;
}

.trust__clients-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;

  --logo-gap: clamp(4rem, 8vw, 9rem);

  gap: var(--logo-gap);
  padding-right: var(--logo-gap);
}

@keyframes trust-client-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust__clients-track {
    width: 100%;
    animation: none;
  }

  .trust__clients-set[aria-hidden="true"] {
    display: none;
  }

  .trust__clients-set {
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    gap: 2rem 3rem;
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  .trust__top,
  .trust__facts {
    grid-template-columns: 1fr;
  }

  .trust__top {
    gap: 2rem;
  }

  .trust__facts {
    gap: 2rem;
  }

  .trust__brand {
    gap: 2rem;
    padding-left: 1.25rem;
    margin-left: 0;
  }

  .trust__actions {
    margin-top: 0;
  }
}

@media (max-width: 500px) {
  .trust__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trust__actions .button {
    width: 100%;
  }
}


/* Mobil: Fakten unter dem Text */
@media (max-width: 800px) {
  .trust__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .trust__facts {
    gap: 1.75rem;
    padding: 1.75rem 0 0;
    border-left: 0;
    border-top: 3px solid var(--oscar-yellow, #f9af07);
  }

  .trust__fact dd {
    max-width: 42ch;
  }
}

@media (max-width: 500px) {
  .trust__content .trust__eyebrow {
    font-size: 0.8rem;
  }

  .trust h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .trust__actions {
    align-items: flex-start;
  }

  .trust__actions .trust__app-button {
    width: auto;
  }
}