/* Solutions page: a navigable service index and four focused chapters. */
.solutions-page #main-content {
  overflow: clip;
}

#main-content > .solutions-hero {
  overflow: hidden;
  background-color: var(--ogency-black);
  background-image:
    linear-gradient(90deg, rgba(12, 12, 14, .88), rgba(12, 12, 14, .65) 55%, rgba(12, 12, 14, .76)),
    url("../images/resources/strategie-bausteine-1400.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.solutions-hero .solutions-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  min-height: 680px;
  /* Pfadnavigation auf derselben Höhe wie bei „Über uns“ (138px). */
  padding-top: 135px;
  padding-bottom: 110px;
}

.solutions-hero .page-header__breadcrumb {
  margin: 0 0 32px;
}

.solutions-hero .page-header__breadcrumb li {
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

.solutions-hero .page-header__breadcrumb li:not(:last-of-type)::after {
  content: "›";
  right: -12px;
}

.solutions-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ogency-white);
  font-size: clamp(48px, 5.1vw, 73px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.solutions-hero h1 .solutions-hero__line {
  display: block;
  color: inherit;
}

.solutions-hero h1 .solutions-hero__line--accent {
  color: var(--ogency-base);
}

.solutions-hero__lead {
  max-width: 620px;
  margin: 28px 0 32px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.solutions-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
}

.solutions-text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ogency-base);
  color: var(--ogency-white);
  font-weight: 700;
  transition: color .2s ease;
}

.solutions-text-link:hover {
  color: var(--ogency-base);
}

.solutions-text-link span {
  color: var(--ogency-base);
}

.solutions-hero__index {
  padding-top: 26px;
}

.solutions-hero__index > p {
  margin: 0 0 14px;
  color: var(--ogency-base);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.solutions-hero__index ol {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .23);
}

.solutions-hero__index li {
  border-bottom: 1px solid rgba(255, 255, 255, .23);
}

.solutions-hero__index a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  color: var(--ogency-white);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.25;
  transition: padding-left .25s ease, color .25s ease;
}

.solutions-hero__index a:hover,
.solutions-hero__index a:focus-visible {
  color: var(--ogency-base);
  padding-left: 8px;
}

.solutions-hero__index a span:first-child {
  color: var(--ogency-base);
  font-size: 13px;
  letter-spacing: .08em;
}

.solutions-hero__index a span:last-child {
  color: var(--ogency-base);
  font-size: 18px;
  justify-self: end;
}

#main-content > .solutions-catalog {
  background: var(--ogency-black2);
}

.solutions-catalog__intro {
  padding-top: clamp(78px, 8vw, 116px);
  padding-bottom: clamp(68px, 7vw, 104px);
}

.solutions-catalog__intro .section-title__title {
  max-width: 700px;
  font-size: clamp(34px, 4vw, 54px);
}

.solutions-catalog__intro > p:last-child {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 18px;
  line-height: 1.7;
}

.solutions-chapter {
  scroll-margin-top: 88px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  background: var(--ogency-black2);
}

.solutions-chapter:nth-of-type(even) {
  background: var(--ogency-black3);
}

.solutions-chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(55px, 7vw, 110px);
  min-height: 610px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.solutions-chapter--reverse .solutions-chapter__copy {
  order: 2;
}

.solutions-chapter--reverse .solutions-chapter__media {
  order: 1;
}

.solutions-chapter__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.solutions-chapter__eyebrow span {
  color: var(--ogency-base);
}

.solutions-chapter h3 {
  margin: 0 0 20px;
  color: var(--ogency-white);
  font-size: clamp(40px, 4vw, 58px);
  letter-spacing: -.055em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.solutions-chapter__lead {
  max-width: 520px;
  margin: 0 0 15px;
  color: var(--ogency-base);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.solutions-chapter__copy > p:not(.solutions-chapter__eyebrow):not(.solutions-chapter__lead) {
  max-width: 540px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.75;
}

.solutions-chapter__examples {
  max-width: 540px;
  margin: 0 0 27px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .17);
}

.solutions-chapter__examples > span {
  display: block;
  margin-bottom: 11px;
  color: var(--ogency-base);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.solutions-chapter__examples ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solutions-chapter__examples li {
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  line-height: 1.5;
}

.solutions-chapter__examples li + li::before {
  content: "/";
  margin-right: 18px;
  color: var(--ogency-base);
}

.solutions-chapter__media {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 360px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: 54px 0 0 36px;
  isolation: isolate;
}

.solutions-chapter--reverse .solutions-chapter__media {
  justify-self: start;
}

.solutions-chapter__media::before {
  content: attr(data-number);
  position: absolute;
  top: -30px;
  right: 0;
  z-index: -1;
  color: rgba(255, 255, 255, .065);
  font-size: clamp(150px, 16vw, 230px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.1em;
}

.solutions-chapter__media img {
  display: block;
  width: 91%;
  height: auto;
  aspect-ratio: 1.45;
  object-fit: cover;
  box-shadow: 0 26px 54px rgba(0, 0, 0, .23);
}

.solutions-chapter__media figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 91%;
  padding: 15px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  line-height: 1.4;
}

.solutions-chapter__media figcaption span {
  color: var(--ogency-base);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

#websites .solutions-chapter__media {
  background: linear-gradient(135deg, rgba(217, 165, 88, .11), transparent 53%);
}

#webapps .solutions-chapter__media {
  padding-left: 0;
  padding-right: 36px;
  background: linear-gradient(220deg, rgba(120, 144, 163, .16), transparent 58%);
}

#webapps .solutions-chapter__media img,
#webapps .solutions-chapter__media figcaption {
  width: 100%;
}

#webapps .solutions-chapter__media img {
  height: auto; /* the HTML height attribute would otherwise win over aspect-ratio */
  aspect-ratio: 1.55;
  object-position: center;
}

#individualentwicklung .solutions-chapter__media {
  background: linear-gradient(155deg, rgba(107, 130, 156, .15), transparent 57%);
}

#individualentwicklung .solutions-chapter__media img {
  aspect-ratio: 1.45;
  object-position: 45% center;
}

#automationen-ki .solutions-chapter__media {
  padding-left: 0;
  padding-right: 36px;
  background: linear-gradient(220deg, rgba(217, 165, 88, .12), transparent 57%);
}

#automationen-ki .solutions-chapter__media img,
#automationen-ki .solutions-chapter__media figcaption {
  width: 91%;
  margin-left: auto;
}

#automationen-ki .solutions-chapter__media img {
  aspect-ratio: 1.45;
  object-position: 44% center;
}

#main-content > .solutions-contact {
  background: #25282d;
  padding: clamp(78px, 8vw, 112px) 0;
}

.solutions-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.solutions-contact h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.16;
  letter-spacing: -.045em;
}

.solutions-contact p:last-child {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .solutions-hero .solutions-hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 150px;
    padding-bottom: 80px;
  }

  .solutions-hero__index {
    max-width: 700px;
    padding-top: 0;
  }

  .solutions-chapter__grid {
    gap: 38px;
  }

  .solutions-chapter h3 {
    font-size: clamp(36px, 4vw, 48px);
  }
}

@media (max-width: 767px) {
  .solutions-hero .solutions-hero__grid {
    min-height: 0;
    gap: 56px;
    padding-top: 137px;
    padding-bottom: 68px;
  }

  .solutions-hero .page-header__breadcrumb {
    margin-bottom: 26px;
  }

  .solutions-hero h1 {
    font-size: clamp(40px, 10vw, 54px);
    letter-spacing: -.045em;
  }

  .solutions-hero__lead {
    margin: 22px 0 27px;
    font-size: 16px;
  }

  .solutions-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }

  .solutions-hero__index a {
    min-height: 65px;
    font-size: 21px;
  }

  .solutions-catalog__intro > p:last-child {
    font-size: 16px;
  }

  .solutions-chapter__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding-top: 67px;
    padding-bottom: 72px;
  }

  .solutions-chapter--reverse .solutions-chapter__copy,
  .solutions-chapter--reverse .solutions-chapter__media {
    order: initial;
  }

  .solutions-chapter h3 {
    font-size: clamp(37px, 9vw, 48px);
  }

  .solutions-chapter__media {
    max-width: none;
    min-height: 0;
    padding-top: 36px;
    padding-left: 20px;
  }

  #webapps .solutions-chapter__media,
  #automationen-ki .solutions-chapter__media {
    padding-right: 20px;
  }

  .solutions-chapter__media::before {
    top: -10px;
    font-size: clamp(120px, 38vw, 190px);
  }

  .solutions-chapter__media figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .solutions-chapter__examples li {
    font-size: 13px;
  }

  .solutions-contact__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .solutions-contact p:last-child {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solutions-text-link,
  .solutions-hero__index a {
    transition: none;
  }
}

@media (max-width: 359px) {
  .solutions-hero h1 {
    font-size: 35px;
  }
}

/* Staggered entrances: text first, then details and image captions. */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready .solutions-page [data-reveal] {
    transform: translate3d(0, 32px, 0);
    transition-duration: 820ms;
    transition-timing-function: cubic-bezier(.22, 1, .36, 1);
  }

  html.reveal-ready .solutions-page [data-reveal="from-left"] {
    transform: translate3d(-32px, 16px, 0);
  }

  html.reveal-ready .solutions-page [data-reveal="from-right"] {
    transform: translate3d(32px, 16px, 0);
  }

  html.reveal-ready .solutions-page [data-reveal].is-visible {
    transform: none;
  }

  html.reveal-ready .solutions-page [data-reveal]:focus-within {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
    transition: none;
  }

  html.reveal-ready .solutions-hero__line[data-reveal] {
    clip-path: inset(0 0 100% 0);
    transition-property: opacity, transform, clip-path;
    transition-duration: 950ms;
  }

  html.reveal-ready .solutions-hero__line[data-reveal].is-visible {
    clip-path: inset(0);
  }

  html.reveal-ready .solutions-hero__index li {
    position: relative;
  }

  html.reveal-ready .solutions-hero__index li::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(var(--ogency-base-rgb), .5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--reveal-delay, 0ms) + 180ms);
    pointer-events: none;
  }

  html.reveal-ready .solutions-hero__index li.is-visible::after {
    transform: scaleX(1);
  }

  html.reveal-ready .solutions-chapter__examples li {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--reveal-delay, 0ms) + 120ms);
  }

  html.reveal-ready .solutions-chapter__examples li:nth-child(2) {
    transition-delay: calc(var(--reveal-delay, 0ms) + 220ms);
  }

  html.reveal-ready .solutions-chapter__examples li:nth-child(3) {
    transition-delay: calc(var(--reveal-delay, 0ms) + 320ms);
  }

  html.reveal-ready .solutions-chapter__examples.is-visible li {
    opacity: 1;
    transform: none;
  }

  html.reveal-ready .solutions-chapter__media img {
    clip-path: inset(6% 0 6% 0);
    transform: scale(1.035);
    transition: clip-path 1100ms cubic-bezier(.22, 1, .36, 1), transform 1200ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.reveal-ready .solutions-chapter__media.is-visible img {
    clip-path: inset(0);
    transform: none;
  }

  html.reveal-ready .solutions-chapter__media figcaption {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--reveal-delay, 0ms) + 300ms);
  }

  html.reveal-ready .solutions-chapter__media.is-visible figcaption {
    opacity: 1;
    transform: none;
  }

  /* Set the hidden state immediately; animate only when entering the viewport. */
  html.reveal-ready .solutions-page [data-reveal]:not(.is-visible),
  html.reveal-ready .solutions-hero__index li:not(.is-visible)::after,
  html.reveal-ready .solutions-chapter__examples:not(.is-visible) li,
  html.reveal-ready .solutions-chapter__media:not(.is-visible) img,
  html.reveal-ready .solutions-chapter__media:not(.is-visible) figcaption {
    transition: none;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html.reveal-ready .solutions-page [data-reveal]:not(.is-visible) {
    transform: translate3d(0, 20px, 0);
  }
}

/* Service showcase: a pinned stage that walks through the four services.
   Scroll-scrubbed via --q (0..4) and --idx from assets/js/solutions.js. Without
   JS (or with reduced motion) it shows the first service; the chapters below
   carry the full content either way. */
.svc-show {
  --q: 0;
  --idx: 0;
  --open: clamp(0, calc(var(--q) * 2.4), 1);
  position: relative;
  background: var(--ogency-black2);
}
.svc-show__sticky { position: relative; }
.svc-show__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding-top: 40px;
  padding-bottom: 80px;
}
.svc-show__meta {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--ogency-base);
  font-weight: 800;
  line-height: 1;
}
.svc-show__counter {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  font-size: clamp(64px, 7vw, 104px);
  letter-spacing: -.06em;
}
.svc-show__digits {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--idx) * -1em));
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}
.svc-show__digits span { display: block; height: 1em; }
.svc-show__total {
  padding-bottom: .5em;
  color: rgba(var(--ogency-white-rgb), .45);
  font-size: 15px;
  letter-spacing: .12em;
}
.svc-show__panels { display: grid; margin: 0; }
.svc-show__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 36px, 0);
  transition: opacity 520ms ease, transform 760ms cubic-bezier(.22, 1, .36, 1), visibility 0s 760ms;
}
.svc-show__panel.is-past { transform: translate3d(0, -36px, 0); }
.svc-show__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 120ms, 120ms, 0s;
}
.svc-show__eyebrow {
  margin: 0 0 12px;
  color: rgba(var(--ogency-white-rgb), .6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.svc-show__title {
  margin: 0 0 18px;
  color: var(--ogency-white);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.05em;
}
.svc-show__lead {
  max-width: 440px;
  margin: 0 0 28px;
  color: rgba(var(--ogency-white-rgb), .74);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
}
.svc-show__link {
  display: inline-flex;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ogency-base);
  color: var(--ogency-white);
  font-weight: 700;
}
.svc-show__link span { color: var(--ogency-base); }
.svc-show__link:hover { color: var(--ogency-base); }
.svc-show__progress {
  display: flex;
  gap: 8px;
  max-width: 320px;
  margin-top: 40px;
}
.svc-show__progress span {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  background: rgba(var(--ogency-white-rgb), .16);
}
.svc-show__progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ogency-base);
  transform-origin: left;
  transform: scaleX(var(--fill, 0));
}
.svc-show__progress span:nth-child(1) { --fill: clamp(0, var(--q), 1); }
.svc-show__progress span:nth-child(2) { --fill: clamp(0, calc(var(--q) - 1), 1); }
.svc-show__progress span:nth-child(3) { --fill: clamp(0, calc(var(--q) - 2), 1); }
.svc-show__progress span:nth-child(4) { --fill: clamp(0, calc(var(--q) - 3), 1); }

.svc-show__media {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 72vh;
  width: 100%;
  overflow: hidden;
  background: var(--ogency-black);
  clip-path: inset(calc((1 - var(--open)) * 12%) calc((1 - var(--open)) * 9%));
}
.svc-show__img {
  --w: clamp(0, calc((var(--q) - var(--i) + .35) * 2.2), 1);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 0 calc((1 - var(--w)) * 100%));
  transform: scale(calc(1.14 - var(--w) * .14));
  will-change: clip-path, transform;
}
.svc-show__img:first-of-type { --w: 1; clip-path: none; transform: scale(calc(1.14 - var(--open) * .14)); }
.svc-show__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0) 55%, rgba(5, 5, 6, .45));
  pointer-events: none;
}
.svc-show__corner {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0 solid var(--ogency-base);
  pointer-events: none;
}
.svc-show__corner--tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; }
.svc-show__corner--br { right: 16px; bottom: 16px; border-right-width: 2px; border-bottom-width: 2px; }

/* Static fallback: all four services listed, first image shown. */
.svc-show:not(.svc-show--live) { --open: 1; }
.svc-show:not(.svc-show--live) .svc-show__panel {
  grid-area: auto;
  padding-bottom: 32px;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.svc-show:not(.svc-show--live) :is(.svc-show__meta, .svc-show__progress) { display: none; }

/* Live, pinned version. */
.page-wrapper:has(.svc-show--live) { overflow: clip; }
.svc-show--live { height: 380vh; }
.svc-show--live .svc-show__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.svc-show--live .svc-show__grid { width: 100%; padding-top: 90px; padding-bottom: 40px; }

/* Chapters: wipe-in images, scroll parallax on the big numbers, chip lists. */
.solutions-chapter { --par: 0; }
.solutions-chapter__media::before { transform: translate3d(0, calc(var(--par) * -46px), 0); }
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready .solutions-chapter__media img {
    clip-path: inset(0 100% 0 0);
    transform: scale(1.08);
    transition: clip-path 1300ms cubic-bezier(.77, 0, .18, 1), transform 1600ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  html.reveal-ready .solutions-chapter__media.is-visible img { clip-path: inset(0); transform: none; }
}

@media (max-width: 991px) {
  .svc-show__grid { grid-template-columns: 1fr; gap: 26px; }
  .svc-show__media { order: -1; aspect-ratio: auto; height: 44svh; max-height: none; }
  .svc-show--live .svc-show__grid { padding-top: 84px; padding-bottom: 24px; }
  .svc-show__meta { margin-bottom: 14px; }
  .svc-show__progress { margin-top: 26px; max-width: none; }
}
@media (max-width: 767px) {
  .svc-show--live { height: 400svh; }
  .svc-show__media { height: 40svh; }
  .svc-show__counter { font-size: 54px; }
  .svc-show__title { font-size: clamp(34px, 9.6vw, 44px); margin-bottom: 12px; }
  .svc-show__lead { font-size: 16px; margin-bottom: 18px; }
  .svc-show__eyebrow { font-size: 11px; margin-bottom: 8px; }
  .svc-show__corner { width: 24px; height: 24px; }
  .svc-show__corner--tl { top: 12px; left: 12px; }
  .svc-show__corner--br { right: 12px; bottom: 12px; }

  .solutions-hero__actions .ogency-btn,
  .solutions-contact .ogency-btn { width: 100%; text-align: center; }
  .solutions-chapter__examples ul { gap: 8px; }
  .solutions-chapter__examples li {
    padding: 7px 13px;
    border: 1px solid rgba(var(--ogency-base-rgb), .35);
    color: rgba(var(--ogency-white-rgb), .9);
  }
  .solutions-chapter__examples li + li::before { content: none; }
  .solutions-chapter__media::before { transform: translate3d(0, calc(var(--par) * -30px), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .svc-show__digits,
  .svc-show__panel { transition: none; }
  .solutions-chapter__media::before { transform: none; }
}

/* Chapters on phones: image first in one consistent 16:10 frame, no duplicate
   caption (number, name and claim are already in the copy) and no half-hidden
   background numeral. */
@media (max-width: 767px) {
  .solutions-chapter__grid { gap: 26px; padding-top: 52px; padding-bottom: 60px; }
  .solutions-chapter .solutions-chapter__media,
  #webapps .solutions-chapter__media,
  #automationen-ki .solutions-chapter__media {
    order: -1;
    padding: 0;
    background: none;
  }
  .solutions-chapter__media::before,
  .solutions-chapter__media figcaption { display: none; }
  :is(#websites, #webapps, #individualentwicklung, #automationen-ki) .solutions-chapter__media img {
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .7);
  }
  .solutions-chapter__media::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 64px;
    height: 2px;
    background: var(--ogency-base);
  }
  .solutions-chapter__eyebrow { margin-bottom: 12px; }
  .solutions-chapter h3 { margin-bottom: 14px; }
}
