.aufholen-page {
  background: var(--paper);
}

.aufholen-page h1,
.aufholen-page h2,
.aufholen-page h3 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
}

.subhero {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, var(--paper), var(--cool));
}

.subhero-back {
  display: inline-block;
  margin-bottom: clamp(34px, 5vw, 58px);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: .04em;
  text-decoration: none;
}

.subhero-back:hover {
  color: var(--accent);
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.subhero-copy h1 {
  max-width: 18ch;
  margin: 20px 0 24px;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.subhero-copy > p:not(.eyebrow):not(.hero-subheadline) {
  max-width: 54ch;
  margin: 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.subhero-copy > p:not(.eyebrow):not(.hero-subheadline) + p:not(.eyebrow):not(.hero-subheadline) {
  margin-top: 14px;
}

.subhero-media,
.editorial-media,
.evidence-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: var(--card);
  box-shadow:
    0 2px 5px rgb(15 23 42 / 5%),
    0 18px 38px rgb(15 23 42 / 10%),
    0 42px 95px rgb(15 23 42 / 13%);
  transition:
    transform 320ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 320ms ease;
}

.subhero-media:hover,
.editorial-media:hover,
.evidence-media:hover {
  box-shadow:
    0 4px 8px rgb(15 23 42 / 6%),
    0 24px 48px rgb(15 23 42 / 13%),
    0 54px 115px rgb(15 23 42 / 16%);
}

.subhero-zoom-trigger {
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  transform: none;
  transition: transform 220ms ease;
}

.subhero-zoom-trigger:hover {
  box-shadow: none;
  transform: scale(1.012);
}

.subhero-zoom-trigger:focus-visible {
  outline: 3px solid rgb(49 92 255 / 28%);
  outline-offset: -5px;
}

.subhero-media img,
.editorial-media img,
.evidence-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subpage-zoom-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.subpage-zoom-trigger:focus-visible {
  outline: 3px solid rgb(49 92 255 / 28%);
  outline-offset: -5px;
}

.subhero-media img {
  object-position: 58% 48%;
}

.scanservice-page .subhero-media {
  aspect-ratio: auto;
}

.scanservice-page .subhero-media .subhero-zoom-trigger {
  position: relative;
  inset: auto;
  height: auto;
}

.scanservice-page .subhero-media img {
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

.scanservice-page .editorial-media-tall {
  aspect-ratio: auto;
}

.scanservice-page .editorial-media-tall .subpage-zoom-trigger {
  position: relative;
  inset: auto;
  height: auto;
}

.scanservice-page .editorial-media-tall img {
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

/* Ablauf auf scanservice.html: Einleitung steht (abweichend von den übrigen Seiten)
   direkt im selben Absatz-Wrapper wie Eyebrow/Headline; die gemeinsame Grid-Platzierung
   (Intro/Liste links, Bild rechts über die volle Höhe zentriert) kommt bereits aus den
   generischen .process-Regeln. Hier nur die seitenspezifischen Abweichungen. */
.scanservice-page #ablauf .subsection-intro > div > p:last-child {
  max-width: 68ch;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.scanservice-page #ablauf .process-list li {
  padding: 16px 0;
}

.scanservice-page #ablauf .editorial-media-wide {
  aspect-ratio: auto;
}

.scanservice-page #ablauf .editorial-media-wide img {
  height: auto;
}

.aufholen-detail-page .subhero-media,
.aufholen-detail-page .editorial-media-tall,
.aufholen-detail-page .editorial-media-wide,
.aufholen-detail-page .evidence-media {
  aspect-ratio: auto;
}

.aufholen-detail-page .subhero-media .subhero-zoom-trigger,
.aufholen-detail-page .editorial-media-tall .subpage-zoom-trigger {
  position: relative;
  inset: auto;
  height: auto;
}

.aufholen-detail-page .subhero-media img,
.aufholen-detail-page .editorial-media-tall img,
.aufholen-detail-page .editorial-media-wide img,
.aufholen-detail-page .evidence-media img {
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

.ma-page .subhero-media {
  aspect-ratio: auto;
}

.ma-page .subhero-media .subhero-zoom-trigger {
  position: relative;
  inset: auto;
  height: auto;
}

.ma-page .subhero-media img {
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

.ma-page .editorial-media-tall,
.ma-page .editorial-media-wide {
  aspect-ratio: auto;
}

.ma-page .editorial-media-tall .subpage-zoom-trigger,
.ma-page .editorial-media-wide .subpage-zoom-trigger {
  position: relative;
  inset: auto;
  height: auto;
}

.ma-page .editorial-media-tall img,
.ma-page .editorial-media-wide img {
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

.ma-page #ablauf .process-list li {
  padding: 16px 0;
}

.ma-evidence-media {
  aspect-ratio: auto;
  border-color: var(--hair);
  background: var(--card);
}

.ma-evidence-media .subpage-zoom-trigger {
  height: auto;
  border-radius: inherit;
}

.ma-evidence-media img {
  height: auto;
  border-radius: inherit;
  object-fit: contain;
  object-position: 50% 50%;
}

.scan-evidence-media {
  aspect-ratio: auto;
  border-color: var(--hair);
  background: var(--card);
}

.scan-evidence-media .subpage-zoom-trigger {
  height: auto;
  border-radius: inherit;
}

.scan-evidence-media img {
  height: auto;
  border-radius: inherit;
  object-fit: contain;
  object-position: 50% 50%;
}

.vortraege-page .evidence-grid {
  display: block;
}

.vortraege-page .evidence-copy {
  max-width: 76ch;
  margin-inline: auto;
}

.vortraege-page .subhero-copy > p + .hero-subheadline {
  margin-top: 12px;
}

.vortraege-page .subhero-media {
  aspect-ratio: auto;
}

.vortraege-page .subhero-media .subhero-zoom-trigger {
  position: relative;
  inset: auto;
  height: auto;
}

.vortraege-page .subhero-media img {
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

.vortraege-page .evidence h2,
.vortraege-page .evidence-copy > p:not(.eyebrow) {
  max-width: 100%;
}

.vortraege-page .contact-head > p:not(.eyebrow) {
  max-width: 52ch;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.subsection {
  padding-block: var(--section-space);
}

.subsection-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
  margin-bottom: clamp(36px, 5vw, 58px);
}

.subsection-intro h2,
.insight-copy h2,
.evidence h2 {
  margin: 0;
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.subsection-intro > p {
  max-width: 48ch;
  margin: 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.situation .subsection-intro {
  display: block;
}

.situation .subsection-intro > div > p:last-child {
  max-width: 68ch;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-grid li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 26px rgb(18 21 28 / 4%);
}

.signal-grid li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -20px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 24px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--fs-body);
  font-weight: 700;
  transform: translateY(-50%);
}

.signal-grid span,
.process-list span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 700;
}

.signal-grid p {
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.55;
}

.insight {
  border-block: 1px solid var(--hair);
  background: var(--cool);
}

.insight-grid {
  display: grid;
  grid-template-columns: minmax(340px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.editorial-media-tall img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.editorial-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgb(250 251 253 / 90%);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  line-height: 1.4;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.insight-copy > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.7;
}

.insight-copy h2 + p:not(.eyebrow) {
  margin-top: 24px;
}

.insight-copy blockquote {
  margin: clamp(34px, 5vw, 54px) 0 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--accent);
}

.insight-copy blockquote p {
  max-width: 34ch;
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

/* Ablauf: Der vollständige Textblock und das Bild sind die beiden direkten
   Grid-Kinder und werden anhand ihrer realen Höhen zueinander zentriert. */
.process .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.process .subsection-intro {
  display: block;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.process-intro > p {
  width: 100%;
  max-width: none;
  margin-top: 24px;
}

.process .editorial-media-wide {
  justify-self: end;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 34px 0;
  border-bottom: 1px solid var(--hair);
}

.process-list h3 {
  margin: 0 0 5px;
  font-size: var(--fs-h3);
  line-height: 1.35;
  letter-spacing: -.015em;
}

.process-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.editorial-media-wide {
  width: min(100%, 460px);
  min-height: 0;
  aspect-ratio: 4 / 5;
  justify-self: end;
}

.editorial-media-wide img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.evidence {
  padding-block: var(--section-space);
  background: var(--panel);
  color: #fff;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
}

.evidence .eyebrow {
  background: rgb(47 91 255 / 14%);
  color: #87a1ff;
}

.evidence h2 {
  max-width: 20ch;
  color: #fff;
}

.evidence-copy > p:not(.eyebrow) {
  max-width: 60ch;
  color: rgb(255 255 255 / 74%);
  font-size: var(--fs-body);
  line-height: 1.68;
}

.evidence-copy h2 + p {
  margin-top: 24px;
}

.evidence-copy p a {
  color: #87a1ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.evidence-copy p a:hover,
.evidence-copy p a:focus-visible {
  color: #aebfff;
  text-decoration-thickness: 2px;
}

.evidence-copy .evidence-lede {
  margin: 32px 0 14px;
  color: #87a1ff;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.evidence-copy .evidence-note {
  margin-top: 18px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: var(--fs-mono);
}

.evidence-copy > *:last-child {
  margin-bottom: 0;
}

.evidence-media {
  aspect-ratio: 7 / 5;
  border-color: rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 4%);
}

.evidence-media img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

@media (min-width: 901px) {
  .subhero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr);
    column-gap: clamp(44px, 5vw, 68px);
  }

  .subhero-copy {
    max-width: 590px;
  }

  .subhero-copy h1 {
    margin-top: 0;
  }

  .subhero-media {
    justify-self: end;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 560 / 460;
  }

  .subhero-media .subhero-zoom-trigger {
    position: absolute;
    inset: 0;
  }

  .insight-grid {
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    column-gap: clamp(52px, 6vw, 84px);
  }

  .insight-copy {
    max-width: 650px;
  }

  .insight-copy blockquote {
    margin-top: 28px;
  }

  .editorial-media-tall {
    justify-self: start;
    width: min(100%, 390px);
    aspect-ratio: 4 / 5;
  }

  .editorial-media-tall .subpage-zoom-trigger {
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 768px) {
  .subhero-back {
    padding: 12px 0;
    margin-bottom: clamp(22px, 4vw, 40px);
  }
}

@media (max-width: 900px) {
  .subhero-grid,
  .insight-grid,
  .process .shell,
  .evidence-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .subhero-grid {
    gap: 42px;
  }

  .subhero-media {
    max-width: 680px;
    aspect-ratio: 7 / 5;
  }

  .insight-grid {
    gap: 42px;
  }

  .editorial-media-tall {
    width: min(100%, 560px);
    aspect-ratio: 4 / 5;
  }

  .process-intro > p {
    max-width: 68ch;
    margin-top: 24px;
  }

  .process-list li {
    padding: 22px 0;
  }

  .editorial-media-wide {
    width: min(100%, 560px);
    min-height: 0;
    justify-self: center;
  }

  .evidence-media {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .subhero-grid,
  .subsection-intro {
    grid-template-columns: 1fr;
  }

  .subsection-intro {
    align-items: start;
    gap: 18px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .signal-grid li {
    min-height: 0;
  }

  .signal-grid li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -24px;
    transform: translateX(50%);
  }

  .editorial-media-wide {
    width: 100%;
  }

}

@media (max-width: 480px) {
  .subhero-media,
  .evidence-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .insight-copy blockquote {
    padding-left: 18px;
  }

  .process-list li {
    grid-template-columns: 28px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subhero-media,
  .editorial-media,
  .evidence-media {
    transition: none;
  }

  .subhero-media:hover,
  .editorial-media:hover,
  .evidence-media:hover {
    transform: none;
  }

  .subhero-zoom-trigger,
  .subhero-zoom-trigger:hover {
    transform: none;
    transition: none;
  }
}

/* Krisenseite: Inhaltsillustrationen im natuerlichen Bildformat (Seitenverhältnis
   der jeweiligen Illustration, statt der generischen 4:5- bzw. 7:5-Box). Positionierung
   und Zentrierung übernimmt die gemeinsame Grid-Logik von insight-grid/evidence-grid. */
.krise-page .subhero-media,
.krise-page .editorial-media-tall,
.krise-page .editorial-media-wide,
.krise-page .evidence-media {
  aspect-ratio: auto;
}

.krise-page .subhero-media .subhero-zoom-trigger,
.krise-page .editorial-media-tall .subpage-zoom-trigger,
.krise-page .editorial-media-wide .subpage-zoom-trigger,
.krise-page .evidence-media .subpage-zoom-trigger {
  position: relative;
  inset: auto;
  height: auto;
}

.krise-page .subhero-media img,
.krise-page .editorial-media-tall img,
.krise-page .editorial-media-wide img,
.krise-page .evidence-media img {
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
}

/* Ablauf-Liste an dieselbe kompakte Zeilendichte wie auf scanservice.html angleichen. */
.krise-page #ablauf .process-list li {
  padding: 16px 0;
}

/* Ablauf-Liste an dieselbe kompakte Zeilendichte wie auf krise.html angleichen. */
.aufholen-detail-page #ablauf .process-list li {
  padding: 16px 0;
}
