/**
 * @file
 * Sidebar / Hauptzeile: data-* und JS-Hook main-wrapper — CNS-Orchestrierung (PRIO C-23).
 * Vorher: assets/css/components/sidebar-collapse.css + layout/sidebar-first-legal-stack.css (Bundle).
 *
 * @version 2026-04-15 Europe/Berlin
 */

[data-cns-bc10948] > .sidebar_first {
  height: 100%;
  padding-right: 0;
  padding-top: 20px;
}

@media (max-width: 47.9em) {
  [data-cns-bc10948] {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }

  [data-cns-bc10948] [data-cns-1463239="1"] {
    left: -41.6%;
  }

  [data-cns-bc10948][data-cns-ae5aadc="1"] {
    left: 41.6%;
  }

  [data-cns-1463239="1"] {
    position: absolute;
    top: 0;
    width: 41.6%;
  }

  [data-cns-bc10948] > .sidebar_first {
    padding-top: 0;
  }
}

[data-cns-bc10948] > .sidebar_first [id*="copyright"],
aside[data-cns-7701f09] [id*="copyright"] {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cns-separator, rgba(128, 128, 128, 0.35));
}

#main-wrapper [data-cns-bc10948],
.js-cns-12027d9 [data-cns-bc10948] {
  align-items: stretch;
}

[data-cns-bc10948] > .sidebar_first,
aside[data-cns-7701f09] {
  display: flex;
  flex-direction: column;
}

[data-cns-bc10948] > .sidebar_first aside.section,
aside[data-cns-7701f09] aside.section {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

[data-cns-bc10948] > .sidebar_first .region-sidebar-first,
aside[data-cns-7701f09] .region-sidebar-first {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

[data-cns-bc10948] > .sidebar_first [id*="fusszeile"]:not([id*="footer5"]),
aside[data-cns-7701f09] [id*="fusszeile"]:not([id*="footer5"]) {
  margin-top: auto;
}
