/**
 * Kombination: klassischer Site-Header (style.css) + Showcase-Body (hmi-showcase.css).
 * hmi-showcase.css stylt alle `nav` wie die feste Showcase-Leiste — hier zurücksetzen.
 */
body.domainik-classic-nav header.header {
  position: sticky;
  top: 0;
  z-index: 200;
}

body.domainik-classic-nav header.header nav.nav {
  position: static;
  inset: auto;
  height: auto;
  padding: var(--space-md) 0;
  gap: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.domainik-classic-nav header.header nav.nav::before {
  display: none;
  content: none;
}

/* Showcase-Hero: exakt ein Viewport unter dem Site-Header (wie KI-Seite), kein Mitscrollen des Folgeinhalts */
body.domainik-classic-nav .hero {
  padding-top: 0;
  /* style.css: .hero ist Flex mit justify-content — mit Showcase-Grid explizit volle Breite */
  width: 100%;
  max-width: none;
  margin-inline: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-content: normal;
  align-content: stretch;
  min-height: calc(100svh - var(--site-header-sticky-height, 4.25rem));
  height: calc(100svh - var(--site-header-sticky-height, 4.25rem));
  max-height: calc(100svh - var(--site-header-sticky-height, 4.25rem));
  box-sizing: border-box;
}

body.domainik-classic-nav .hero-body {
  width: 100%;
  min-width: 0;
  min-height: 0;
}

/* Langes Terminal / Canvas-Hälfte: innerhalb des Hero-Viewports scrollen */
body.domainik-classic-nav .hero-r {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.domainik-classic-nav .hero-l {
  min-height: 0;
}

/* Rechte Spalte aus — nur linke Spalte: gesamte Hero-Body-Höhe darf scrollen */
@media (max-width: 1024px) {
  body.domainik-classic-nav .hero-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

body.domainik-classic-nav .hero-stats {
  width: 100%;
  box-sizing: border-box;
}
