/* Ergänzende Seiten verwenden Farben und Komponenten der Startseite. */
.detail-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.detail-page main { flex: 1; }

.detail-hero {
  --focus: var(--yellow);
  background: var(--night);
  color: var(--white);
  border-bottom: 4px solid var(--yellow);
  padding-block: clamp(44px, 7vw, 96px);
}

.detail-hero .section-title {
  font-size: clamp(2rem, 1.25rem + 4.6vw, 4.75rem);
  overflow-wrap: anywhere;
  line-height: .98;
}

.detail-hero .section-title span { color: var(--yellow); }
.detail-hero .section-lead { color: rgba(255, 255, 255, .85); }
.detail-hero .hero-actions { margin-top: 24px; }

.detail-content {
  padding-block: clamp(48px, 7vw, 88px);
}

.detail-content h2 {
  font-family: var(--f-head);
  font-size: clamp(1.2rem, 1.04rem + .6vw, 1.65rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.detail-content h2 + p,
.detail-content p + p { margin-top: .65em; }

.detail-content a:not(.btn) {
  color: var(--blue);
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.detail-content a:not(.btn):hover { color: var(--mid); }
.detail-prose { max-width: 74ch; }
.detail-prose section + section { margin-top: 32px; }

.detail-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
}

.detail-quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: .24em;
}
.detail-quicklinks a:hover { color: var(--yellow); }

.detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.detail-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 4px;
  background: var(--white);
  padding: clamp(18px, 3vw, 30px);
}

.detail-card ul {
  margin-block: 12px;
  padding-left: 1.15em;
  list-style: square;
}

.detail-card li + li { margin-top: 6px; }
.detail-card p { color: var(--ink-soft); }

.detail-page .main-nav a[aria-current="page"],
.detail-page .footer-nav a[aria-current="page"] { color: var(--yellow); }

.detail-page .main-nav a[aria-current="page"]::after {
  transform: scaleX(1) skewX(calc(var(--spur) * -1));
}
