/*
 * extra.css — opdrachtgevers-balk en klantverhalen-slider op de homepage.
 * Gebouwd met de lettertypes en kleuren van het originele ontwerp.
 */

/* ---------- Opdrachtgevers-balk ---------- */
.clients {
  padding: 3.5rem 0 1rem;
}
.clients__container {
  margin: 0 auto;
  max-width: 1225px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.clients__title {
  flex: none;
  max-width: 170px;
  margin: 0;
  font-family: Mulish, sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #80262a;
}
.clients__track {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients__list {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: clients-scroll 48s linear infinite;
}
.clients__track:hover .clients__list {
  animation-play-state: paused;
}
.clients__list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: Mulish, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #80262a;
}
.clients__list li::before {
  /* de originele site geeft alle lijstjes een opsommingsteken */
  content: none !important;
  display: none !important;
}
.clients__list li {
  padding-left: 0 !important;
}
.clients__list li::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: 0 2.25rem;
  border-radius: 50%;
  background: #e6592e;
  opacity: 0.85;
}
@keyframes clients-scroll {
  to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .clients { padding-top: 2.5rem; }
  .clients__container { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 0 1rem; }
  .clients__title { max-width: none; }
  .clients__track { width: 100%; }
  .clients__list li { font-size: 1.05rem; }
  .clients__list li::after { margin: 0 1.5rem; }
}

/* ---------- Klantverhalen-slider ---------- */
.quotes {
  padding: 2rem 0 5rem;
}
.quotes__container {
  margin: 0 auto;
  max-width: 1225px;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 3rem;
  align-items: center;
}
.quotes__intro h2 {
  margin: 0 0 1rem;
  font-family: Mulish, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.25;
  color: #80262a;
}
.quotes__intro p {
  margin: 0 0 1.75rem;
  color: #4d4d4d;
}
.quotes__card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f5f4f3;
  padding: 3rem 3.25rem 2.25rem;
}
.quotes__card::before {
  /* groot aanhalingsteken als accent */
  content: '\201C';
  position: absolute;
  top: -0.35em;
  right: 0.12em;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12rem;
  line-height: 1;
  color: #e6592e;
  opacity: 0.14;
  pointer-events: none;
}
.quotes__slides {
  display: grid;
}
.quote {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), translate 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}
.quote.is-active {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  margin: 0;
  font-family: Mulish, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #2b1a1b;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.quote__initials {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e6592e;
  color: #fff;
  font-family: Mulish, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.quote__name {
  display: block;
  font-family: Mulish, sans-serif;
  font-weight: 700;
  color: #80262a;
}
.quote__role {
  display: block;
  font-size: 0.9rem;
  color: #6b6b6b;
}
.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}
.quotes__dots {
  display: flex;
  gap: 0.5rem;
}
.quotes__dots {
  gap: 0;
}
.quotes__dots button {
  /* grote tikzone (32px), klein zichtbaar bolletje */
  position: relative;
  width: 24px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.quotes__dots button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 7px;
  right: 7px;
  height: 10px;
  margin-top: -5px;
  border-radius: 999px;
  background: #d9cfcb;
  transition: background-color 0.3s;
}
.quotes__dots button[aria-current='true'] {
  width: 42px;
}
.quotes__dots button[aria-current='true']::after {
  background: #e6592e;
}
.quotes__arrows {
  display: flex;
  gap: 0.5rem;
}
.quotes__arrows button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid #e6592e;
  border-radius: 50%;
  background: transparent;
  color: #e6592e;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.quotes__arrows button:hover {
  background: #e6592e;
  color: #fff;
}
.quotes__arrows svg {
  width: 18px;
  height: 18px;
}
.quotes button:focus-visible {
  outline: 2px solid #80262a;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .quotes__container { grid-template-columns: 1fr; gap: 1.5rem; }
  .quotes__card { padding: 2.25rem 1.5rem 1.75rem; }
  .quote blockquote p { font-size: 1.1rem; }
}
@media (max-width: 768px) {
  .quotes__container { padding: 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .clients__list { animation: none; flex-wrap: wrap; width: auto; row-gap: 0.5rem; }
  .clients__list li[aria-hidden='true'] { display: none; }
  .quote { transition: none; translate: none; }
}

/* ---------- Pauzeknoppen (slider en namenbalk) ---------- */
.quotes__toggle,
.clients__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid #d9cfcb;
  border-radius: 50%;
  background: transparent;
  color: #80262a;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
}
.quotes__toggle svg,
.clients__toggle svg {
  width: 14px;
  height: 14px;
}
.quotes__toggle .icon-play,
.clients__toggle .icon-play,
.quotes__toggle.is-paused .icon-pause,
.clients.is-paused .clients__toggle .icon-pause {
  display: none;
}
.quotes__toggle.is-paused .icon-play,
.clients.is-paused .clients__toggle .icon-play {
  display: block;
}
.clients__toggle {
  width: 36px;
  height: 36px;
  border-color: transparent;
  opacity: 0.6;
}
.clients__toggle:hover,
.clients__toggle:focus-visible {
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  .quotes__toggle:hover { border-color: #80262a; }
}
.clients.is-paused .clients__list,
.clients__track:focus-within .clients__list {
  animation-play-state: paused;
}
.quotes__dots button::after {
  background: #b3a7a2;
}
.quotes__dots button[aria-current='true']::after {
  background: #e6592e;
}
@media (max-width: 768px) {
  .clients__container { position: relative; }
  .clients__toggle { position: absolute; top: -8px; right: 0.5rem; }
}
/* hover-kleur van de pijlen alleen met muis */
@media (hover: none) {
  .quotes__arrows button:hover { background: transparent; color: #e6592e; }
}
/* Smalle schermen: bolletjes en knoppen mogen over twee regels */
.quotes__nav {
  flex-wrap: wrap;
  row-gap: 0.75rem;
}
.quotes__arrows {
  margin-left: auto;
}
