:root {
    --brechel-blue: rgb(0, 51, 102);
    --brechel-light-blue: rgb(220, 230, 245);
    --terminal-gray: rgb(245, 245, 245);
}

/* General */
body {
    color: #333;
}

/* Header / navbar */
.navbar-affixed-top,
.navbar-default,
.yamm .navbar-collapse,
.navbar {
    background-color: var(--brechel-blue) !important;
    border-color: var(--brechel-blue) !important;
}

/* Brand */
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
    color: #ffffff !important;
}

/* Menu links */
.navbar-nav > li > a {
    color: #ffffff !important;
}

/* Hover */
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background-color: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
}

/* Active item */
.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    background-color: #ffffff !important;
    color: var(--brechel-blue) !important;
}

/* Dropdown */
.dropdown-menu > li > a {
    color: var(--brechel-blue) !important;
}

/* Headings */
h1, h2, h3, h4 {
    color: var(--brechel-blue);
}

/* Optional section background */
.section-gray,
.bar.background-gray,
.background-gray {
    background-color: var(--terminal-gray) !important;
}

.section-light,
.bar.background-white,
.background-white {
    background-color: var(--brechel-light-blue) !important;
}

/* Product images */
.product-image {
    max-width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .product-image {
        max-width: 320px;
    }
}

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    color: white;
}

.status-green {
    background-color: #5cb85c;
}

.status-yellow {
    background-color: #f0ad4e;
}

.status-red {
    background-color: #d9534f;
}

.btn-sm {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Product list */
.products-list-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.products-list-title {
    margin-bottom: 30px;
}

.product-list-item {
    margin-bottom: 35px;
    padding-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.product-list-image-col {
    padding-top: 8px;
}

.product-list-image {
    max-width: 220px;
}

.product-list-text-col {
    padding-top: 4px;
}

.product-list-heading {
    margin-top: 0;
    margin-bottom: 10px;
}

.product-list-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Force affixed navbar to behave consistently */
.navbar-affixed-top,
.navbar-affixed-top.affix,
.navbar-affixed-top.affix-top,
.navbar-affixed-top.affix-bottom {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

/* Push page content below fixed nav */
body {
    padding-top: 90px !important;
}

#content {
    position: relative;
    z-index: 1;
}



/* Container als Referenz für Center */
#navbar .container {
    position: relative;
}

/* BE-IIS links */
.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 18px;
}

/* Menü rechts */
.navbar-nav > li > a,
.navbar-nav > li > a:visited,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #ffffff !important;
    background: transparent !important;
}

/* Active NICHT weiß hinterlegen (Theme macht das sonst) */
.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    background: transparent !important;
    color: #ffffff !important;
}

/* Titel mittig */
.navbar-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}

/* Mobile: Titel ausblenden */
@media (max-width: 767px) {
    .navbar-title {
        display: none;
    }
}




.contact-box {
  margin-top: 30px;
  padding: 20px;
  background: #f5f5f5;
  border-left: 4px solid #003366;
}

.contact-box h3 {
  margin-top: 0;
}



.footer-links a {
  color: #888;
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #003366;
}

.footer-meta {
  font-size: 9px;
  color: #bbb;
}




{{ partial "headers.html" . }}

<!-- Direktes CSS Laden -->
<link rel="stylesheet" href="/css/why-beiis.css">

{{ partial "headers.html" . }}

<link rel="stylesheet" href="/css/why-beiis.css">

{{ partial "nav.html" . }}

<div class="why-hero">
  <div class="why-hero__list">
    {{ range site.Data.why_beiis.items }}
      <div class="why-hero__row">
        <div class="why-hero__lead">
          {{ .lead }}
        </div>
        <div class="why-hero__emphasis">
          {{ .emphasis }}
        </div>
      </div>
    {{ end }}
  </div>
</div>

{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}



.docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
}

.docs-sidebar-box {
  border: 1px solid #d9e1ea;
  border-radius: 12px;
  background: #f7f9fc;
  padding: 20px;
}

.docs-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #003366;
}

.docs-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-sidebar-list li + li {
  margin-top: 8px;
}

.docs-sidebar-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1f2d3d;
  transition: background 0.2s ease, color 0.2s ease;
}

.docs-sidebar-link:hover {
  background: #e8eef7;
  color: #003366;
}

.docs-sidebar-link.active {
  background: #003366;
  color: #ffffff;
  font-weight: 600;
}

.docs-content {
  min-width: 0;
}

.docs-article {
  max-width: 900px;
}

.docs-article h1 {
  margin-top: 0;
  margin-bottom: 24px;
}

.docs-article p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.docs-overview-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.docs-overview-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid #d9e1ea;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
}

.docs-overview-card:hover {
  border-color: #003366;
}

.docs-overview-card h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #003366;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
  }
}

.beiis-chapter-page {
  max-width: 1240px;
  margin: 40px 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 80px);
  overflow: visible;
  align-items: start;
}


/* LEFT BLUE COLUMN */
.beiis-chapter-sidebar {
  width: 280px;
  min-width: 280px;
  flex: 0 0 280px;
  background: rgb(0, 51, 102);
  min-height: calc(100vh - 160px);
  margin-bottom: 320px;
  align-self: flex-start;

  position: sticky;
  top: 24px;
}

/* sticky only for the inner navigation, not for the blue column itself */
.beiis-chapter-sidebar nav {
  position: sticky;
  top: 100px;
  padding: 24px 0;
}

#beiis-chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.beiis-chapter-item {
  margin: 0;
  padding: 0;
}

.beiis-chapter-link {
  width: 100%;
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  text-align: left;
  padding: 16px 22px;
  font-size: 16px;
  line-height: 1.35;
  cursor: pointer;
}

.beiis-chapter-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.beiis-chapter-link.active {
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

/* RIGHT CONTENT */
.beiis-chapter-content {
  min-width: 0;
  padding: 0 0 0 40px;
}

.beiis-article-title {
  margin: 0 0 28px 0;
  font-size: 40px;
  line-height: 1.15;
}

#beiis-chapter-source {
  display: none;
}

#beiis-chapter-view h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1.2;
}

#beiis-chapter-view h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.3;
}

#beiis-chapter-view p,
#beiis-chapter-view ul,
#beiis-chapter-view ol {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}

#beiis-chapter-view ul,
#beiis-chapter-view ol {
  padding-left: 22px;
}

#beiis-chapter-view pre {
  background: var(--terminal-gray, #f5f5f5);
  color: #111111;
  padding: 16px 18px;
  border-radius: 0;
  overflow-x: auto;
  border-left: 4px solid var(--brechel-blue, #003366);
  border-top: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  margin: 20px 0;
}

#beiis-chapter-view code {
  font-family: "Fira Code", "JetBrains Mono", "Consolas", monospace;
}

#beiis-chapter-view pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

@media (max-width: 900px) {
  .beiis-chapter-page {
    grid-template-columns: 1fr;
  }

  .beiis-chapter-sidebar nav {
    position: static;
  }

  .beiis-chapter-content {
    padding: 24px 0 0 0;
  }
}



/* --- Code Blocks --- */
pre {
  background: #111827;
  color: #e5e7eb;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid #374151;
  line-height: 1.5;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-family: "Fira Code", "JetBrains Mono", "Consolas", monospace;
  font-size: 0.95rem;
}

/* Prompt styling */
pre code::before {
  content: "";
}

/* Optional: Bash prompt */
.code-bash .prompt {
  color: #22c55e;
  font-weight: bold;
}
