#inhalt section:has(.section-navigation) { padding-bottom: 32px; }

.section-navigation {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(142, 190, 205, .18);
}

.section-next {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  max-width: 100%;
  padding-block: 10px;
  border: 0;
  color: #b9d6df;
  font: 600 .8rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.section-next > span[aria-hidden] { flex: none; color: #a9e8de; font-size: 1.15rem; }
.section-next:hover { color: #e2fff6; }
.section-next:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.section-next:focus-visible { border-radius: 2px; outline: 2px solid #caff8e; outline-offset: 5px; }

/* Keep the section exit outside the illustration and its captions. */
#inhalt section.hero { padding-bottom: 0; }
.hero-stage { position: relative; padding-bottom: 64px; }
.hero-navigation { position: relative; z-index: 2; padding-bottom: 32px; background: #06121f; }
.hero-navigation .section-navigation { margin-top: 0; }
.hero-perspective-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-bottom: 27px; }
.hero-perspective-controls .perspective-switch { margin-bottom: 0; }
.guide-start {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: #bcecdf;
  text-align: left;
  cursor: pointer;
}
.guide-start[hidden] { display: none !important; }
.guide-start > span { font-size: .84rem; font-weight: 600; }
.guide-start > span > span { margin-left: 12px; }
.guide-start small { color: #9ab4c3; font-size: .72rem; font-weight: 400; }
.guide-start:hover > span { color: #e2fff6; text-decoration: underline; text-underline-offset: 4px; }
.guide-start:focus-visible { border-radius: 2px; outline: 2px solid #caff8e; outline-offset: 5px; }

@media (max-width: 600px) {
  #inhalt section:has(.section-navigation) { padding-bottom: 24px; }
  #inhalt section.hero { padding-bottom: 0; }
  .hero-navigation { padding-bottom: 24px; }
  .hero-perspective-controls { column-gap: 16px; margin-bottom: 23px; }
}
