/* Case Study Suprima auf /resultate — Mos Web-Layout vom 23.09.2026,
   Figma 374:298 (Desktop 1440 px). Der Block steht auf derselben Flucht wie
   die Kopfzeile (.header-inner), nicht auf dem schmaleren .container.
   Masse in Prozent sind Figma-Masse geteilt durch die 1270 px der Flucht. */

.case-feature {
  background: #fff;
  color: #320e67;
  padding: 0 0 128px;
  overflow-x: clip;
}

.case-feature-flucht {
  position: relative;
  width: calc(100% - 170px);
  max-width: 1270px;
  margin-inline: auto;
}

.case-feature figure {
  margin: 0;
}

.case-feature img {
  display: block;
}

/* Bildband mit Logo-Kachel oben rechts */
.case-feature-band {
  position: relative;
  height: 368px;
}

.case-feature-band-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20.8%;
}

.case-feature-band > .case-feature-flucht {
  height: 100%;
}

.case-feature-logo {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 252px;
  height: 119px;
  background: #fff;
}

.case-feature-logo img {
  width: 183px;
  height: auto;
}

/* Smartphone ragt ins Band, rechts daneben der Einstieg */
.case-feature-intro {
  padding-top: 68px;
}

.case-feature-phone {
  position: absolute;
  top: 0;
  left: -11.89%;
  width: 62.05%;
  pointer-events: none;
}

.case-feature-phone img {
  width: 100%;
  height: auto;
  transform: translateY(-58.75%);
}

.case-feature-text {
  position: relative;
  z-index: 1;
  margin-left: 31.34%;
}

.case-feature-kicker {
  margin: 0 0 40px;
  font: 400 32px/1.2 var(--body);
  letter-spacing: -1.28px;
  color: #6c6c6c;
}

.case-feature h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: 'wdth' 200, 'wght' 500;
  color: #7f26ff;
  text-transform: none;
}

.case-feature-copy h2 {
  margin-bottom: 41px;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1.44px;
}

.case-feature-copy p,
.case-feature-summary p {
  margin: 0;
  font: 500 18px/26px var(--body);
  color: #320e67;
}

/* Drei App-Ansichten */
.case-feature-screens {
  margin-top: 67px !important;
  aspect-ratio: 1270 / 658;
  overflow: hidden;
}

/* Buehne im Seitenverhaeltnis des Figma-Bilds (2458 × 1634), um 125 px nach
   oben versetzt wie der Bildausschnitt im Entwurf. Die Screens stehen in
   Prozent der Buehne an ihrer Stelle im Originalbild. */
.case-feature-screens-stage {
  position: relative;
  aspect-ratio: 2458 / 1634;
  margin-top: -9.866%;
}

.case-feature-screens-bg {
  width: 100%;
  height: 100%;
}

.case-feature-screen {
  position: absolute;
  height: auto;
}

.case-feature-screen-1 { left: 9.0724%; top: 17.9315%; width: 27.2986%; }
.case-feature-screen-2 { left: 36.4931%; top: 18.0539%; width: 27.2986%; }
.case-feature-screen-3 { left: 63.9544%; top: 18.2987%; width: 26.9731%; }

/* Ergebnis: links grau hinterlegt, rechts vier Kennzahlen */
.case-feature-results > .case-feature-flucht {
  display: grid;
  grid-template-columns: 40.47% 1fr;
  min-height: 650px;
}

.case-feature-summary {
  position: relative;
  padding: 153px 40px 60px 0;
}

.case-feature-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 0 -100vw;
  z-index: -1;
  background: #f6f8fb;
}

.case-feature-summary h2 {
  max-width: 443px;
  margin-bottom: 43px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.96px;
  color: #7f27ff;
}

.case-feature-summary p {
  max-width: 419px;
}

.case-feature-results {
  position: relative;
  isolation: isolate;
}

.case-feature-metrics {
  display: grid;
  grid-template-columns: 55.9% 1fr;
  align-content: start;
  row-gap: 88px;
  padding: 112px 0 90px 80px;
}

.case-feature-metrics strong {
  display: block;
  width: fit-content;
  font: 200 80px/1 var(--display);
  font-variation-settings: 'wdth' 200, 'wght' 200;
  letter-spacing: -4px;
  white-space: nowrap;
  background: linear-gradient(180deg, #f2490c, #7f26ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-feature-metrics p {
  max-width: 250px;
  margin: 22px 0 0;
  font: 400 22px/1.2 var(--body);
  color: #000;
}

/* Kundenzitat mit Portrait und Punktraster */
.case-feature-quote {
  display: grid;
  grid-template-columns: 33.62% 1fr;
  margin-top: 101px;
}

.case-feature-portrait {
  margin: 11px 0 0 5px !important;
  width: 267px;
  max-width: calc(100% - 24px);
  aspect-ratio: 267 / 426;
  border-radius: 10px;
  overflow: hidden;
}

.case-feature-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-feature-quote-text {
  position: relative;
  z-index: 1;
  margin: 11px 0 0;
  padding: 0;
}

.case-feature-chevrons {
  width: 103px;
  height: 68px;
}

.case-feature-quote-text > p {
  max-width: 838px;
  margin: 68px 0 0;
  font: 500 40px/1.1 var(--display);
  font-variation-settings: 'wdth' 200, 'wght' 500;
  color: #7f26ff;
}

.case-feature-quote-text footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 76px;
}

.case-feature-quote-text footer strong {
  font: 500 28px/1.2 var(--display);
  font-variation-settings: 'wdth' 200, 'wght' 500;
  letter-spacing: -0.56px;
  color: #000;
}

.case-feature-quote-text footer span {
  font: 400 26px/1.2 var(--body);
  color: #6c6c6c;
}

.case-feature-raster {
  position: absolute;
  top: 0;
  right: -7px;
  width: 261px;
  height: 271px;
  background: url('/assets/media/resultate/zitat-raster.svg') 0 0 / 261px 271px no-repeat;
}

/* Schmale Desktops: wie .header-inner 40 px Rand, Kennzahlen und Zitat skalieren */
@media (min-width: 900px) and (max-width: 1250px) {
  .case-feature-flucht {
    width: calc(100% - 80px);
  }
  .case-feature-metrics {
    padding-left: 48px;
  }
  .case-feature-metrics strong {
    font-size: clamp(56px, 6.4vw, 80px);
    letter-spacing: -0.05em;
  }
  .case-feature-metrics p {
    font-size: 18px;
  }
  .case-feature-quote-text > p {
    font-size: clamp(30px, 3.2vw, 40px);
  }
}

/* Unter 900 px: alles untereinander */
@media (max-width: 899px) {
  .case-feature {
    padding-bottom: 72px;
  }
  .case-feature-flucht {
    width: calc(100% - 48px);
    margin-inline: 24px;
  }
  .case-feature-band {
    height: 220px;
  }
  .case-feature-logo {
    width: 150px;
    height: 71px;
  }
  .case-feature-logo img {
    width: 109px;
  }
  .case-feature-intro {
    padding-top: 0;
  }
  .case-feature-phone {
    position: relative;
    left: -12%;
    width: 112%;
    max-width: none;
    margin-top: -64px;
  }
  .case-feature-phone img {
    transform: none;
  }
  .case-feature-text {
    margin: 8px 0 0;
  }
  .case-feature-kicker {
    margin-bottom: 16px;
    font-size: 20px;
    letter-spacing: -0.6px;
  }
  .case-feature-copy h2 {
    margin-bottom: 24px;
    font-size: 28px;
    letter-spacing: -0.84px;
    hyphens: manual;
  }
  .case-feature-copy p,
  .case-feature-summary p {
    font-size: 16px;
    line-height: 24px;
  }
  .case-feature-copy p + p {
    margin-top: 12px;
  }
  .case-feature-screens {
    margin-top: 40px !important;
    aspect-ratio: auto;
  }
  .case-feature-screens-stage {
    margin-top: 0;
  }
  .case-feature-results {
    margin-top: 48px;
  }
  .case-feature-results > .case-feature-flucht {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .case-feature-summary {
    padding: 48px 0;
  }
  .case-feature-summary::before {
    inset: 0 -100vw;
  }
  .case-feature-summary h2 {
    margin-bottom: 20px;
    font-size: 26px;
  }
  .case-feature-metrics {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 40px;
    padding: 48px 0 0;
  }
  .case-feature-metrics strong {
    font-size: 52px;
    letter-spacing: -2.6px;
  }
  .case-feature-metrics p {
    margin-top: 12px;
    font-size: 16px;
  }
  .case-feature-quote {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }
  .case-feature-portrait {
    width: 160px;
    margin: 0 !important;
  }
  .case-feature-quote-text {
    margin-top: 32px;
  }
  .case-feature-chevrons {
    width: 62px;
    height: 41px;
  }
  .case-feature-quote-text > p {
    margin-top: 24px;
    font-size: 26px;
  }
  .case-feature-quote-text footer {
    gap: 6px;
    margin-top: 32px;
  }
  .case-feature-quote-text footer strong {
    font-size: 20px;
  }
  .case-feature-quote-text footer span {
    font-size: 18px;
  }
  .case-feature-raster {
    width: 130px;
    height: 135px;
    right: -24px;
    background-size: 261px 271px;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .case-feature-flucht {
    width: calc(100% - 96px);
    margin-inline: 48px;
  }
  .case-feature-phone {
    left: -8%;
    width: 90%;
  }
}

