.w38-clients * {
  box-sizing: border-box;
}

.w38-clients button {
  font: inherit;
}

.w38-clients {
  padding: 76px 5vw 64px;
  background: var(--black);
}
.w38-clients .w38-clients-intro {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: end;
  gap: 64px;
  max-width: 1600px;
  margin: 0px auto 56px;
}
.w38-clients .w38-clients-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0px 0px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: rgb(204, 204, 204);
}
.w38-clients .w38-clients-eyebrow span {
  width: 24px;
  height: 3px;
  background: var(--yellow);
}
.w38-clients h2 {
  margin: 0px;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.w38-clients h2 span {
  color: var(--yellow);
}
.w38-clients .w38-clients-lead {
  margin: 0px 0px 4px;
  max-width: 370px;
  justify-self: end;
  font-size: 21px;
  line-height: 1.5;
  color: rgb(196, 196, 196);
}
.w38-clients .w38-clients-viewport {
  max-width: 1600px;
  margin: auto;
  touch-action: pan-y;
}
.w38-clients .w38-clients-logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0px, 1fr));
  gap: 16px;
  padding: 0px;
  margin: 0px;
}
.w38-clients .w38-clients-logo {
  min-width: 0px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(25, 25, 25);
  border: 1px solid rgb(52, 52, 52);
  position: relative;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.w38-clients .w38-clients-logo:hover {
  border-color: rgb(127, 127, 127);
  background: rgb(32, 32, 32);
}
.w38-clients .w38-clients-logo img {
  width: auto;
  max-width: 76%;
  height: auto;
  max-height: 86px;
  object-fit: contain;
}
.w38-clients .w38-clients-footer {
  max-width: 1600px;
  margin: 26px auto 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.w38-clients .w38-clients-hint {
  font-size: 16px;
  color: rgb(183, 183, 183);
  margin: 0px;
}
.w38-clients .w38-clients-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.w38-clients .w38-clients-count {
  display: flex;
  gap: 12px;
  font-size: 15px;
  margin: 0px 20px 0px 0px;
  font-variant-numeric: tabular-nums;
  color: rgb(170, 170, 170);
}
.w38-clients .w38-clients-count #w38-clients-current {
  color: var(--yellow);
  font-weight: 500;
}
.w38-clients .w38-clients-divider {
  color: rgb(119, 119, 119);
}
.w38-clients .w38-clients-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid rgb(101, 101, 101);
  background: transparent;
  color: rgb(255, 255, 255);
  font-size: 25px;
  cursor: pointer;
}
.w38-clients .w38-clients-controls button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: rgb(0, 0, 0);
}
.w38-clients :focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}
.w38-clients .w38-clients-progress {
  max-width: 1600px;
  margin: auto;
  height: 2px;
  background: rgb(52, 52, 52);
}
.w38-clients .w38-clients-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--yellow);
  transition: transform 0.25s;
}

@media (min-width: 1800px) {
  .w38-clients {
    padding-top: 96px;
    padding-bottom: 80px;
  }
  .w38-clients .w38-clients-logo {
    height: 210px;
  }
}
@media (max-width: 1000px) {
  .w38-clients .w38-clients-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }
  .w38-clients .w38-clients-lead {
    justify-self: start;
    max-width: 520px;
  }
  .w38-clients .w38-clients-logos {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }
  .w38-clients .w38-clients-logo {
    height: 170px;
  }
  .w38-clients {
    padding-top: 56px;
  }
}
@media (max-width: 600px) {
  .w38-clients {
    padding: 40px 24px 36px;
  }

  .w38-clients .w38-clients-eyebrow {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .w38-clients .w38-clients-intro {
    gap: 20px;
    margin-bottom: 30px;
  }
  .w38-clients h2 {
    font-size: clamp(30px, 8vw, 46px);
  }
  .w38-clients .w38-clients-lead {
    font-size: 18px;
  }
  .w38-clients .w38-clients-logos {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 12px;
  }
  .w38-clients .w38-clients-logo {
    height: 142px;
  }
  .w38-clients .w38-clients-logo img {
    max-height: 70px;
    max-width: 78%;
  }
  .w38-clients .w38-clients-hint {
    font-size: 14px;
    max-width: 130px;
    line-height: 1.45;
  }
  .w38-clients .w38-clients-count {
    margin-right: 4px;
    gap: 8px;
    font-size: 13px;
  }
  .w38-clients .w38-clients-controls {
    gap: 8px;
  }
  .w38-clients .w38-clients-controls button {
    width: 44px;
    height: 44px;
  }
  .w38-clients .w38-clients-footer {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .w38-clients * {
    transition: none !important;
  }
}

.w38-clients {
  position: relative;
  background: url("/templates/werk38/images/bg-mauer.jpg") center center / cover
    no-repeat rgb(16, 16, 16);
  color: rgb(255, 255, 255);
}
.w38-clients::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(138, 100, 0) 18%,
    rgb(251, 185, 0) 45%,
    rgb(255, 230, 154) 55%,
    rgb(251, 185, 0) 68%,
    transparent 100%
  );
}
.w38-clients .w38-clients-eyebrow {
  color: rgb(251, 185, 0);
}
.w38-clients h2 span {
  color: rgb(251, 185, 0);
  background: none;
}
.w38-clients .w38-clients-lead {
  color: rgb(224, 224, 224);
}
.w38-clients .w38-clients-logo {
  height: 206px;
  flex-direction: column;
  gap: 24px;
  padding: 30px 18px 24px;
  background: rgba(18, 18, 18, 0.76);
  border: 1px solid rgb(85, 85, 85);
  border-radius: 4px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.w38-clients .w38-clients-logo:hover {
  background: rgba(28, 28, 28, 0.94);
  border-color: rgb(251, 185, 0);
}
.w38-clients .w38-clients-logo img {
  filter: none;
  width: 100%;
  height: 86px;
  max-height: 86px;
  max-width: 88%;
  object-fit: contain;
}
.w38-clients .w38-clients-company-name {
  display: block;
  color: rgb(221, 221, 221);
  font-size: 15px;
  font-weight: 300;
  text-align: center;
  line-height: 1.3;
}
.w38-clients .w38-clients-hint {
  color: rgb(204, 204, 204);
}
.w38-clients .w38-clients-count {
  color: rgb(187, 187, 187);
}
.w38-clients .w38-clients-count #w38-clients-current {
  color: rgb(251, 185, 0);
}
.w38-clients .w38-clients-divider {
  color: rgb(170, 170, 170);
}
.w38-clients .w38-clients-controls button {
  color: rgb(255, 255, 255);
  border-color: rgb(136, 136, 136);
}
.w38-clients .w38-clients-controls button:hover {
  color: rgb(0, 0, 0);
}
.w38-clients .w38-clients-progress {
  background: rgb(85, 85, 85);
}
.w38-clients .w38-clients-viewport:focus-visible,
.w38-clients .w38-clients-controls button:focus-visible {
  outline-color: rgb(251, 185, 0);
}
@media (max-width: 1000px) {
  .w38-clients .w38-clients-logo {
    height: 196px;
  }
}
@media (max-width: 600px) {
  .w38-clients .w38-clients-logo {
    height: 170px;
    padding: 22px 12px 18px;
    gap: 18px;
  }
  .w38-clients .w38-clients-logo img {
    height: 68px;
    max-height: 68px;
    max-width: 94%;
  }
  .w38-clients .w38-clients-company-name {
    font-size: 13px;
  }
}
.w38-clients {
  --yellow: #fbb900;
  --black: #101010;
  font-family: effralight, Arial, sans-serif;
  font-weight: normal;
  box-sizing: border-box;
}
.w38-clients h2 {
  font-family: efframedium, Arial, sans-serif;
  text-transform: none;
  color: #fff;
}
.w38-clients h2 span {
  color: #fbb900;
}
.w38-clients .w38-clients-eyebrow,
.w38-clients .w38-clients-count #w38-clients-current {
  font-family: efframedium, Arial, sans-serif;
}
.w38-clients .w38-clients-logo img {
  margin: 0;
  display: block;
}
.w38-clients .w38-clients-logos {
  list-style: none;
}
.w38-clients .w38-clients-company-name {
  margin: 0;
}
.w38-clients .w38-clients-controls button {
  font-family: Arial, sans-serif;
}
.w38-clients .w38-clients-controls[hidden] {
  display: none;
}
.w38-clients-link {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: #ddd;
  text-decoration: none;
}
.w38-clients-link:hover {
  color: #fff;
  text-decoration: none;
}
.w38-clients .w38-clients-viewport {
  overflow: visible;
}
@media (max-width: 600px) {
  .w38-clients-link {
    gap: 18px;
  }
}
