/* Preview-only visual direction. The main landing page does not load this file. */
:root { --section-pad: 88px; }
html { scroll-padding-top: 96px; }
section[id], #case-studies { scroll-margin-top: 0; }
:focus-visible { outline: 3px solid #5269ff; outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.section-header { margin-bottom: 44px; }
.section-header h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.18; }
.section-header p { max-width: 690px; margin-right: auto; margin-left: auto; }
.section-dark::before { opacity: .12; }
#prozess::before { background-image: url('images/bg-abstract.webp'); opacity: .12; }
#testimonials .btn-cta { border-radius: 5px; text-transform: none; letter-spacing: 0; }
#testimonials .btn-cta { font-size: .88rem; padding: 17px 26px; gap: 18px; }
#testimonials .btn-cta:hover { transform: translateY(-2px); }
#testimonials .btn-cta::after { display: none; }
#testimonials .btn-cta > span[aria-hidden] { font-size: 1.2rem; line-height: 1; }
.nav-links { gap: 26px; }
.nav-links .nav-cta { font-size: .8rem; font-weight: 700; }

.fade-up { opacity: 1; transform: none; }

/* Customer stories follow the supplied reference: alternating, overhanging video panels. */
#testimonials.proof-section {
  position: relative;
  isolation: isolate;
  padding: 88px 0 78px;
  background: #101113;
  color: #fff;
}
#testimonials.proof-section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 1100px);
  z-index: -1;
  /* One subdued image at the top, fading completely before the section ends. */
  background: linear-gradient(180deg, #101113d9 0%, #101113f2 65%, #101113 100%), url('images/hero-bg.webp') center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}
#case-studies { padding: 0; }
.proof-heading { text-align: center; max-width: 790px; margin: 0 auto 66px; }
.proof-eyebrow { margin-bottom: 16px; color: #9eaefe; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.proof-heading h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.17; letter-spacing: -.035em; font-weight: 800; }
.proof-intro { margin-top: 22px; color: #b6b9c1; font-size: .95rem; line-height: 1.7; }
.cs-rows { display: grid; gap: 60px; }
.cs-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 34px; padding: 30px 34px 26px 0; margin-left: 32px; background: linear-gradient(115deg, #1d2432, #181d27 57%, #222b3c); border: 1px solid #7184ab33; box-shadow: 0 16px 45px #0003, inset 0 1px 0 #a9b6d10d; }
.cs-row--reverse { margin-left: 0; margin-right: 32px; padding: 30px 0 26px 34px; }
.cs-row-media { min-width: 0; margin-left: -33px; display: flex; flex-direction: column; }
.cs-row--reverse .cs-row-media { grid-column: 2; grid-row: 1; margin-left: 0; margin-right: -33px; }
.cs-row-body { min-width: 0; display: flex; flex-direction: column; }
.cs-row-body .cs-outcomes { margin-top: auto; padding-top: 26px; }
.cs-row--reverse .cs-row-body { grid-column: 1; grid-row: 1; }
.cs-person { display: block; margin-bottom: 19px; }
.cs-name { color: #fff; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.025em; font-weight: 800; margin-bottom: 5px; }
.cs-company { color: #9aa4bb; font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; line-height: 1.45; }
.cs-quote { color: #f2f3f6; font-size: .95rem; line-height: 1.7; font-weight: 450; margin: 0; }
.cs-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; text-align: center; }
.cs-outcomes > div { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 13px; min-height: 68px; }
.cs-outcomes > div:first-child { padding-left: 0; }
.cs-outcomes > div:last-child { border-left: 1px solid #85858a; padding-right: 0; }
.cs-outcomes strong { font-size: clamp(1.2rem, 2.1vw, 1.8rem); color: #b9babd; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.cs-outcome-label { color: #efeff1; font-size: .69rem; line-height: 1.4; font-weight: 650; }
.cs-outcomes .cs-outcome-after strong { color: #65db47; }
.cs-outcome-arrow { font-size: 1.05em; }
.cs-placeholder-note { margin-top: 13px; text-align: center; color: #b6b8be; font-size: .58rem; line-height: 1.5; }
.cs-video { position: relative; aspect-ratio: 4 / 3; background: #141923; overflow: hidden; box-shadow: 0 10px 32px #0005; }
.cs-video-trigger { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; color: #fff; text-align: left; }
.cs-video-trigger[hidden] { display: none; }
.cs-video-trigger:focus-visible { outline-offset: -5px; outline-color: #fff; }
.cs-poster { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; transition: transform .35s ease; }
.cs-video-trigger:hover .cs-poster { transform: scale(1.02); }
.cs-center-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 78px; height: 57px; padding-right: 3px; background: #08090bf2; color: #fff; z-index: 3; transition: background .2s; }
.cs-video-trigger:hover .cs-center-play { background: #0321f5; }
.cs-video video { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 48% center; background: #000; }
.cs-video-error { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; padding: 10px; border-radius: 4px; background: #fff; color: #242831; font-size: .72rem; line-height: 1.5; }
.cs-video-error[hidden] { display: none; }
.cs-fallback { display: block; padding: 12px; font-size: .8rem; text-decoration: underline; }
.cs-details { margin-top: 17px; border-top: 1px solid #ffffff20; }
.cs-details summary, .proof-more-reviews summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0 0; min-height: 38px; list-style: none; cursor: pointer; color: #c0caff; font-size: .7rem; font-weight: 600; }
.cs-details summary::-webkit-details-marker, .proof-more-reviews summary::-webkit-details-marker { display: none; }
.cs-details summary:hover, .proof-more-reviews summary:hover { color: #fff; }
.cs-expand { display: inline-block; font-size: 1.25rem; font-weight: 400; line-height: 1; transition: transform .2s; }
details[open] > summary .cs-expand { transform: rotate(45deg); }
.cs-blocks { display: grid; gap: 18px; padding: 20px 0 0; }
.cs-label { font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: #c0caff; margin-bottom: 7px; line-height: 1.45; }
.cs-block p { font-size: .86rem; line-height: 1.7; color: #ced3de; }

/* Written reviews keep the same quiet, dark visual language. */
.proof-reviews-section { margin-top: 78px; padding-top: 42px; border-top: 1px solid #ffffff26; }
.proof-reviews-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.proof-reviews-heading .proof-eyebrow { margin-bottom: 9px; }
.proof-reviews-heading h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.proof-rating { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.proof-rating > strong { font-size: 2.4rem; font-weight: 750; letter-spacing: -.06em; line-height: 1; }
.proof-rating > div { display: flex; flex-direction: column; gap: 3px; }
.proof-rating > div > span:last-child { font-size: .68rem; color: #bbbfc8; }
.proof-stars { color: #f4c56a; font-size: .8rem; letter-spacing: 3px; line-height: 1.3; }
.proof-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.proof-review { margin: 0; display: flex; flex-direction: column; padding-right: 28px; border-right: 1px solid #ffffff26; }
.proof-review:last-child { padding-right: 0; border-right: 0; }
.proof-review blockquote { margin: 17px 0 24px; color: #c9ccd4; font-size: .83rem; line-height: 1.8; flex: 1; }
.proof-review figcaption { display: flex; align-items: center; gap: 10px; font-size: .73rem; }
.proof-initials { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; background: #2a2e37; color: #c5cbd8; font-size: .63rem; font-weight: 700; border-radius: 50%; }
.proof-source { display: block; margin-top: 2px; color: #9299a7; font-size: .63rem; }
.proof-more-reviews { margin-top: 22px; }
.proof-more-reviews > summary { justify-content: center; width: fit-content; margin: 0 auto; padding-bottom: 12px; }
.proof-more-reviews .proof-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 30px; margin-top: 22px; }
.proof-more-reviews .proof-review:nth-child(even) { border-right: 0; padding-right: 0; }
.proof-next-step { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 38px; padding-top: 30px; border-top: 1px solid #ffffff26; }
.proof-next-step h3 { font-size: 1.08rem; line-height: 1.4; }
.proof-next-step p { font-size: .8rem; color: #b2b8c4; margin-top: 5px; }
.proof-next-step .btn-cta { flex-shrink: 0; font-size: .76rem; }

@media (min-width: 901px) {
  .section-collab { padding-top: 88px; padding-bottom: 88px; }
  .collab-row { gap: 64px; padding: 34px 0; }
}
@media (max-width: 1000px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .78rem; }
  .cs-row { gap: 26px; margin-left: 20px; padding-right: 26px; }
  .cs-row--reverse { margin-left: 0; margin-right: 20px; padding-left: 26px; padding-right: 0; }
  .cs-row-media { margin-left: -21px; }
  .cs-row--reverse .cs-row-media { margin-right: -21px; }
  .cs-quote { font-size: .85rem; }
  .cs-name { font-size: 1.35rem; }
  .cs-company { font-size: .72rem; }
  .cs-outcomes strong { font-size: 1.16rem; }
  .cs-outcome-label { font-size: .63rem; }
  .proof-next-step { align-items: start; }
}
@media (max-width: 760px) {
  :root { --section-pad: 64px; }
  #testimonials.proof-section { padding: 58px 0; }
  .proof-heading { margin-bottom: 44px; }
  .proof-heading h2 { font-size: clamp(1.8rem, 5.2vw, 2.4rem); }
  .proof-intro { font-size: .86rem; margin-top: 18px; }
  .proof-intro br { display: none; }
  .cs-rows { gap: 36px; }
  .cs-row, .cs-row--reverse { grid-template-columns: 1fr; gap: 0; padding: 0; margin: 0; }
  .cs-row-media, .cs-row--reverse .cs-row-media { grid-column: 1; grid-row: 1; margin: -1px; }
  .cs-video { aspect-ratio: 16 / 9; }
  .cs-poster, .cs-video video { object-position: center; }
  .cs-row-body, .cs-row--reverse .cs-row-body { grid-column: 1; grid-row: 2; padding: 24px; }
  .cs-name { font-size: 1.4rem; }
  .cs-company { font-size: .75rem; }
  .cs-quote { font-size: .88rem; line-height: 1.75; }
  .cs-outcomes { margin-top: 25px; }
  .cs-outcomes strong { font-size: clamp(1.1rem, 4.4vw, 1.5rem); }
  .cs-outcome-label { font-size: .64rem; }
  .cs-outcomes > div { padding: 0 10px; }
  .cs-placeholder-note { font-size: .57rem; }
  .cs-details summary { font-size: .76rem; min-height: 44px; }
  .cs-block p { font-size: .85rem; }
  .proof-reviews-section { margin-top: 48px; padding-top: 32px; }
  .proof-reviews-heading { align-items: start; }
  .proof-reviews-heading h3 { font-size: 1.25rem; max-width: 230px; }
  .proof-rating { gap: 9px; }
  .proof-rating > strong { font-size: 2rem; }
  .proof-stars { font-size: .7rem; letter-spacing: 2px; }
  .proof-review-grid, .proof-more-reviews .proof-review-grid { grid-template-columns: 1fr; gap: 24px; }
  .proof-review, .proof-more-reviews .proof-review { border-right: 0; border-bottom: 1px solid #ffffff26; padding: 0 0 24px; }
  .proof-review:last-child { border-bottom: 0; padding-bottom: 0; }
  .proof-review blockquote { font-size: .86rem; margin: 14px 0 18px; }
  .proof-review figcaption { font-size: .76rem; }
  .proof-next-step { flex-direction: column; gap: 20px; margin-top: 24px; }
  .proof-next-step .btn-cta { width: 100%; }
}
@media (max-width: 390px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .cs-row-body, .cs-row--reverse .cs-row-body { padding: 22px 20px; }
  .proof-reviews-heading { flex-direction: column; gap: 18px; }
  .proof-reviews-heading h3 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Name, Firma und Sterne liegen auf dem Video - Verlauf traegt die Lesbarkeit. */
.cs-person-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 150px 24px 22px;
  background: linear-gradient(180deg, rgba(2,4,9,0) 0%, rgba(2,4,9,.30) 26%, rgba(2,4,9,.66) 52%, rgba(2,4,9,.88) 74%, rgba(2,4,9,.98) 100%);
  pointer-events: none;
}
.cs-person-overlay .cs-name { color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; margin-bottom: 4px; }
.cs-person-overlay .cs-company { color: #d8dde8; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.cs-stars { display: block; margin-top: 9px; color: #fff; font-size: .95rem; letter-spacing: 3px; }
/* Beim Abspielen verschwinden Overlay und Verlauf. */
.cs-video-trigger[hidden] ~ .cs-person-overlay { display: none; }

/* Problem / Ziel / Loesung als Akzentmarker. */
.cs-row-body .cs-label {
  display: inline-block; padding: 4px 54px 4px 11px; margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(37,99,235,.95) 0%, rgba(37,99,235,.92) 38%, rgba(37,99,235,.45) 72%, rgba(37,99,235,0) 100%);
  color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .08em; line-height: 1.6;
}
/* Der Name ist aus der Spalte raus - die Trennlinie oben entfaellt. */
.cs-row-body .cs-details { margin-top: 0; border-top: 0; }
.cs-row-body .cs-blocks { padding-top: 0; gap: 22px; }

/* Mobil: Beschriftungen der Zahlenleiste und Firmenzeile waren ~10px. */
@media (max-width: 760px) {
  .cs-outcome-label { font-size: 0.74rem; }
  .cs-person-overlay .cs-company { font-size: 0.72rem; }
  .proof-eyebrow { font-size: 0.74rem; }
}
