/* Nerdschmie.de Desktop Design Phase 8 – global short-page footer contract. */
html { min-height: 100%; }
body.nsd {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.nsd > #page-wrapper {
  width: 100%;
  flex: 1 0 auto;
}
body.nsd > #footer {
  width: 100%;
  margin-top: auto;
  flex: 0 0 auto;
}

/* Nerdschmie.de Desktop Design Phase 8b – Header-to-Hero Live Gap Fix.
   Live finding: Quark's generic #start / #body-wrapper section spacing still
   created a black strip on landing/directory pages. /partys already removes
   the body-wrapper top spacing and remains the visual reference. */
@media (min-width: 701px) {
  body.page-home-v2 #start,
  body.page-csv-directory #start,
  body.page-djs-overview #start,
  body.page-cities #start,
  body.page-club-overview #start {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.page-csv-directory #body-wrapper.section,
  body.page-djs-overview #body-wrapper.section,
  body.page-cities #body-wrapper.section,
  body.page-club-overview #body-wrapper.section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
