/* Font Awesome 6 — service / USP icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* Futura LT (Linotype) — files/Website_BOS/font/ */
@font-face {
  font-family: "Futura LT";
  src:
    url("/files/Website_BOS/font/FuturaLT-Light.woff2") format("woff2"),
    url("/files/Website_BOS/font/FuturaLT-Light.woff") format("woff"),
    url("/files/Website_BOS/font/FuturaLT-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura LT";
  src:
    url("/files/Website_BOS/font/FuturaLT-Book.woff2") format("woff2"),
    url("/files/Website_BOS/font/FuturaLT-Book.woff") format("woff"),
    url("/files/Website_BOS/font/FuturaLT-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura LT";
  src:
    url("/files/Website_BOS/font/FuturaLT.woff2") format("woff2"),
    url("/files/Website_BOS/font/FuturaLT.woff") format("woff"),
    url("/files/Website_BOS/font/FuturaLT.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura LT";
  src:
    url("/files/Website_BOS/font/FuturaLT-Bold.woff2") format("woff2"),
    url("/files/Website_BOS/font/FuturaLT-Bold.woff") format("woff"),
    url("/files/Website_BOS/font/FuturaLT-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura LT";
  src:
    url("/files/Website_BOS/font/FuturaLT-Heavy.woff2") format("woff2"),
    url("/files/Website_BOS/font/FuturaLT-Heavy.woff") format("woff"),
    url("/files/Website_BOS/font/FuturaLT-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura LT";
  src:
    url("/files/Website_BOS/font/FuturaLT-BookOblique.woff2") format("woff2"),
    url("/files/Website_BOS/font/FuturaLT-BookOblique.woff") format("woff"),
    url("/files/Website_BOS/font/FuturaLT-BookOblique.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Futura LT";
  src:
    url("/files/Website_BOS/font/FuturaLT-Oblique.woff2") format("woff2"),
    url("/files/Website_BOS/font/FuturaLT-Oblique.woff") format("woff"),
    url("/files/Website_BOS/font/FuturaLT-Oblique.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Futura PT — body / UI text */
@font-face {
  font-family: "Futura PT";
  src: url("/files/Website_BOS/futura-pt/FuturaCyrillicLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/files/Website_BOS/futura-pt/FuturaCyrillicBook.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/files/Website_BOS/futura-pt/FuturaCyrillicMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/files/Website_BOS/futura-pt/FuturaCyrillicDemi.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/files/Website_BOS/futura-pt/FuturaCyrillicBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/files/Website_BOS/futura-pt/FuturaCyrillicHeavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/files/Website_BOS/futura-pt/FuturaCyrillicExtraBold.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* LT for everything German-facing — PT Cyrillic Demi had broken ö/ä/ü */
  --font-sans: "Futura LT", system-ui, sans-serif;
  --font-heading: "Futura LT", system-ui, sans-serif;

  /* Type scale */
  --text-tag: 0.6875rem;   /* 11px — tags only */
  --text-kicker: 0.75rem;  /* 12px — kickers / badges */
  --text-body: 1rem;            /* 16px — body + UI floor */
  --text-lead: 1.125rem;   /* 18px — intro / lead */
  --text-title-sm: 1.25rem; /* 20px — card titles */
  --text-title: 1.5rem;     /* 24px — subsection titles */
  --text-section: clamp(1.75rem, 2.4vw, 1.875rem); /* ~28–30px */
  --text-hero: clamp(1.875rem, 2.8vw, 2.25rem);    /* ~30–36px */
  --text-stat: clamp(2rem, 3vw, 2.25rem);          /* stat numbers */

  --weight-regular: 400;  /* Book */
  --weight-medium: 500;   /* Medium + optical demi stroke */
  --weight-heading: 500;
  --weight-display: 500;
  --text-stroke-demi: 0.45px; /* faux Demi without bad Cyrillic glyphs */

  --color-brand: #cc0000;
  --color-text: #101828;
  --color-text-muted: #6a7282;
  --color-heading: #1e2939;
  --color-surface: #ffffff;
  --color-surface-muted: #f9fafb;
  --color-surface-red: #fef2f2;
  --color-border: #f3f4f6;
  --color-dark: #000000;
  --content: 1480px;
  /* Horizontal inset for content only — section backgrounds stay full-bleed */
  --page-gutter: clamp(2rem, 8vw, 6rem);
  /* One vertical rhythm for landing sections / panels / hero copy */
  --bos-landing-pad-y: 48px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --radius: 12px;
  --header-h: 70px;
  --bos-stats-h: 150px;
}
@media (min-width: 1100px) {
  :root { --bos-landing-pad-y: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-weight: var(--weight-regular); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: 0.01em;
  /* Optical Demi: LT has no Demi cut; stroke keeps proper ö/ä/ü */
  -webkit-text-stroke: var(--text-stroke-demi) currentColor;
  paint-order: stroke fill;
}
h1, h2 {
  font-weight: var(--weight-display);
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-title-sm); font-weight: var(--weight-heading); }
h4, h5, h6 { font-size: var(--text-lead); font-weight: var(--weight-heading); }
p, li { font-size: var(--text-body); font-weight: var(--weight-regular); }
strong, b {
  font-weight: var(--weight-medium);
  -webkit-text-stroke: var(--text-stroke-demi) currentColor;
  paint-order: stroke fill;
}
ul { padding-left: 0; }
.invisible { display: none; }
ul li::marker { content: ""; }
ul li { position: relative; padding-left: 1.7rem; }
ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-brand);
  font-weight: var(--weight-medium);
}
.bos-nav li,
.bos-header li,
.bos-footer li,
.content-gallery > ul > li,
.content-gallery .pagination li,
.pagination li,
.bos-slider__track > ul > li {
  padding-left: 0;
}
.bos-nav li::before,
.bos-header li::before,
.bos-footer li::before,
.content-gallery > ul > li::before,
.content-gallery .pagination li::before,
.pagination li::before,
.bos-slider__track > ul > li::before {
  content: none;
}
.bos-wrap { width: min(calc(100% - (2 * var(--page-gutter))), var(--content)); margin-inline: auto; }
.bos-badge,
.bos-badge.content-text {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--color-surface-red);
  color: var(--color-brand);
  font-family: "Futura PT", system-ui, sans-serif;
  font-size: var(--text-kicker);
  font-weight: 500; /* PT Medium */
  letter-spacing: 0.01em;
  text-transform: uppercase;
  -webkit-text-stroke: 0;
}
.bos-badge p,
.bos-badge .rte,
.bos-badge .rte p,
.bos-badge span {
  color: var(--color-brand);
  margin: 0;
}
.bos-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0 1.15rem; border-radius: 8px; border: 1px solid transparent; font-weight: var(--weight-medium); font-size: var(--text-body); letter-spacing: normal; -webkit-text-stroke: 0; cursor: pointer; background: var(--color-brand); color: #fff; }
.bos-btn:hover { opacity: 0.9; }
.bos-btn--ghost { background: #fff; color: var(--color-heading); border-color: #e5e7eb; }
.bos-btn > a,
.content-hyperlink.bos-btn > a,
a.bos-btn {
  letter-spacing: normal;
  -webkit-text-stroke: 0;
}
.bos-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.bos-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.bos-logo img { height: 40px; width: auto; }
.bos-nav { display: none; gap: 1.4rem; align-items: center; font-weight: var(--weight-regular); font-size: var(--text-body); }
.bos-nav > a:hover,
.bos-nav__trigger:hover,
.bos-nav__dropdown a:hover { color: var(--color-brand); }
.bos-nav__item { position: relative; }
.bos-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.bos-nav__trigger::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.bos-nav__dropdown {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 14rem;
  padding: 0.55rem 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}
.bos-nav__dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}
.bos-nav__item.is-open > .bos-nav__dropdown { display: flex; }
.bos-header__tools { display: flex; align-items: center; gap: 0.9rem; }
.bos-langs { display: flex; gap: 0.4rem; }
.bos-langs img { width: 18px; height: 11px; object-fit: cover; }
.bos-menu-toggle { display: inline-flex; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; }
.bos-nav--open { display: flex; flex-direction: column; align-items: stretch; position: absolute; inset: var(--header-h) 0 auto 0; background: #fff; padding: 1rem 1.25rem 1.25rem; border-bottom: 1px solid var(--color-border); z-index: 50; }
.bos-nav--open .bos-nav__item { width: 100%; }
.bos-nav--open .bos-nav__trigger {
  width: 100%;
  justify-content: space-between;
  padding: 0.55rem 0;
}
.bos-nav--open .bos-nav__dropdown {
  position: static;
  min-width: 0;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0 0.35rem 0.75rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.bos-nav--open .bos-nav__dropdown a { padding: 0.45rem 0; }
@media (min-width: 1100px) {
  .bos-nav { display: flex; }
  .bos-menu-toggle { display: none; }
  .bos-nav--open { position: static; flex-direction: row; align-items: center; padding: 0; border: 0; background: transparent; }
  .bos-nav__dropdown {
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 0;
    z-index: 60;
  }
  /* Invisible hover bridge so the menu does not close while moving down. */
  .bos-nav__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.5rem;
  }
  .bos-nav__item--has-children:hover > .bos-nav__dropdown,
  .bos-nav__item--has-children:focus-within > .bos-nav__dropdown {
    display: flex;
  }
}
.bos-hero { position: relative; min-height: 620px; display: grid; place-items: end stretch; color: #fff; overflow: visible; background: #111; }
.bos-hero__media { position: absolute; inset: 0; height: auto; }
.bos-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bos-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.2) 100%); }
.bos-hero__inner { position: relative; z-index: 1; display: grid; gap: 1.5rem; padding: 5rem 0 4rem; max-width: 640px; }
.bos-hero h1 { margin: 0; font-size: var(--text-hero); line-height: 1.2; font-weight: var(--weight-display); white-space: normal; }
.bos-hero p { margin: 0; max-width: 28rem; font-size: var(--text-body); line-height: 1.6; }
.bos-hero__actions { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0.75rem; }
@media (max-width: 767px) {
  .bos-hero { min-height: 0; display: block; color: var(--color-text); background: var(--color-surface); }
  .bos-hero::after { display: none; }
  .bos-hero__media { position: relative; display: block; height: auto; }
  .bos-hero__inner { padding: 1.5rem 0 2.5rem; max-width: none; }
}
.bos-stats { background: var(--color-surface-muted); padding: var(--space-xl) 0; }
.bos-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 490px) { .bos-stats__grid { grid-template-columns: repeat(1, 1fr); } }
.bos-stats strong { display: block; font-size: var(--text-stat); color: var(--color-brand); line-height: 1.1; font-weight: var(--weight-medium); }
.bos-stats span { display: block; font-weight: var(--weight-medium); margin-top: 0.45rem; }
.bos-stats small { color: var(--color-text-muted); }
@media (max-width: 1099px) { .bos-stat h2 { font-size: var(--text-title); } }
@media (min-width: 1100px) { .bos-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.bos-about { padding: var(--space-xl) 0; }
.bos-about__grid { display: grid; gap: 2.5rem; align-items: start; }
.bos-about h2 { font-size: var(--text-section); margin: 0.8rem 0 1rem; white-space: pre-line; font-weight: var(--weight-display); }
.bos-about p { color: var(--color-text-muted); }
.bos-checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.bos-checklist ul { padding: 0; margin: 0; }
.bos-checklist li { position: relative; padding-left: 1.7rem; margin: 0.55rem 0; }
.bos-checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-brand); font-weight: var(--weight-medium); }
.bos-about__more {
  margin: 1.1rem 0 0;
}
.bos-about__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  list-style: none;
  color: var(--color-brand);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  line-height: 1.4;
}
.bos-about__more > summary::-webkit-details-marker { display: none; }
.bos-about__more > summary::after {
  content: "+";
  font-size: 1.1em;
  line-height: 1;
}
.bos-about__more[open] > summary::after { content: "–"; }
.bos-about__more:not([open]) .bos-about__more-close { display: none; }
.bos-about__more[open] .bos-about__more-open { display: none; }
.bos-about__more-body {
  margin-top: 0.85rem;
}
.bos-about__more-body h3 {
  margin: 0 0 0.65rem;
  color: var(--color-heading);
  font-size: var(--text-title-sm);
  font-weight: var(--weight-medium);
  line-height: 1.35;
}
.bos-about__more-body h3 em { color: var(--color-brand); font-style: normal; }
.bos-about__more-body p {
  margin: 0 0 0.75rem;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.55;
}
.bos-about__more-body p:last-child { margin-bottom: 0; }
.bos-about__media { position: relative; }
.bos-about__media > img,
.bos-about__media figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  max-height: 441px;
}
.bos-about__card {
  /* tweak size/placement/circle here (rem/% of the card — no magic background %) */
  --bos-about-card-w: 18.5rem;
  --bos-about-card-inset: 1.25rem;
  --bos-about-circle-size: 7.25rem;
  --bos-about-circle-right: -1.35rem;
  --bos-about-circle-top: -0.65rem;
  position: absolute;
  left: var(--bos-about-card-inset);
  bottom: var(--bos-about-card-inset);
  top: auto;
  right: auto;
  z-index: 1;
  box-sizing: border-box;
  overflow: hidden;
  width: min(var(--bos-about-card-w), calc(100% - (var(--bos-about-card-inset) * 2)));
  max-width: min(var(--bos-about-card-w), calc(100% - (var(--bos-about-card-inset) * 2)));
  min-height: 6.5rem;
  background: var(--color-brand);
  color: #fff;
  padding: 1.25rem 4.75rem 1.25rem 1.35rem;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18);
}
.bos-about__card > * { position: relative; z-index: 1; }
.bos-about__card::before {
  content: "";
  position: absolute;
  top: var(--bos-about-circle-top);
  right: var(--bos-about-circle-right);
  width: var(--bos-about-circle-size);
  height: var(--bos-about-circle-size);
  background: url("/files/theme/bos/img/circle.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.bos-about__card strong,
.bos-about__card h3,
.bos-about__card .content-headline { font-size: var(--text-title); line-height: 1.2; font-weight: var(--weight-medium); }
.bos-about__card div,
.bos-about__card p { font-size: var(--text-body); line-height: 1.55; }
.bos-about__card,
.bos-about__card h3,
.bos-about__card .content-headline,
.bos-about__card .content-text,
.bos-about__card .rte,
.bos-about__card .rte p,
.bos-about__card p,
.bos-about__card span {
  color: #fff;
}
@media (min-width: 1100px) {
  .bos-about__grid { grid-template-columns: 1fr 1.15fr; }
  .bos-about__card {
    --bos-about-card-w: 21rem;
    --bos-about-circle-size: 8.5rem;
    --bos-about-circle-right: -1.75rem;
    --bos-about-circle-top: -0.85rem;
    padding: 1.35rem 5.5rem 1.35rem 1.5rem;
  }
}
.bos-section { padding: var(--space-xl) 0; }
.bos-section__intro { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.bos-section__intro h2 { font-size: var(--text-section); margin: 0.7rem 0 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: var(--weight-display); }
.bos-products { display: grid; gap: 1.25rem; }
.bos-products--single { grid-template-columns: minmax(0, 26.25rem); }
.content-bos_product { min-width: 0; }
.bos-product {
  --bos-card-red: #CC0000;
  --bos-card-red-hover: #991B1B;
  position: relative;
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  padding: 1em;
  box-shadow: 0 0 0 0 transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}
.bos-product:hover {
  border-color: #E5E7EB;
  box-shadow: 6px 8px 14px rgba(16, 24, 40, 0.09);
  transform: translateY(-2px);
}

.bos-product__img {
  margin: 0 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #F9FAFB;
}
.bos-product__img figure,
.bos-product__img picture {
  display: block;
  width: 100%;
  height: 13.25rem;
  margin: 0;
  padding: 0;
  background: transparent;
}
.bos-product__img img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 13.25rem;
  max-width: none;
  margin: 0;
  padding: 1.25rem;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 12px;
}
/* DESKTOP cutout sits smaller in frame — less padding so it matches the other series. */
.bos-product--desktop .bos-product__img img,
.bos-product__img img[src*="desktop-overview-nobg"] {
  padding: 0.35rem;
}
.bos-product__body { padding: 0; display: flex; flex-direction: column; flex: 1; }
.bos-product h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.em;
  text-transform: uppercase;
  color: var(--bos-card-red);
  -webkit-text-stroke: 0;
}
.bos-product__teaser,
.bos-product__teaser p {
  margin: 0;
  font-family: "Futura PT", var(--font-sans), sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #4B5563;
  -webkit-text-stroke: 0;
}
.bos-product__teaser { margin: 0.375rem 0 1rem; }
.bos-product .bos-specs {
  margin: auto 0 0;
  padding: 1rem;
  border-radius: 12px;
  background: #F9FAFB;
}
.bos-product .bos-specs small {
  margin-bottom: 0.75rem;
  font-family: "Futura PT", var(--font-sans), sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
  -webkit-text-stroke: 0;
}
.bos-product .bos-specs div {
  align-items: center;
  gap: 1rem;
  padding: 0;
  font-family: "Futura PT", var(--font-sans), sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
}
.bos-product .bos-specs div + div { margin-top: 0.625rem; }
.bos-product .bos-specs span {
  font-weight: 400;
  color: #4B5563;
  -webkit-text-stroke: 0;
}
.bos-product .bos-specs strong {
  font-weight: 600;
  color: #111827;
  text-align: right;
  -webkit-text-stroke: 0;
}
.bos-specs { background: var(--color-surface-muted); border-radius: 8px; padding: 0.9rem 1rem; font-size: 1rem; margin-top: auto; }
.bos-specs small { display: block; color: var(--color-text-muted); margin-bottom: 0.4rem; font-weight: var(--weight-medium); text-transform: uppercase; }
.bos-specs div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; }
/* Card CTAs are stretch-hit areas (see .bos-card-hit). */
.bos-video-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.bos-video-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.bos-video-card h2, .bos-video-card h3 { margin: 0; padding: 1rem 1.25rem; font-size: 1rem;  }
.bos-video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.bos-lazy-video { position: relative; background: #000; }
.bos-lazy-video button { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; color: #fff; }
.bos-lazy-video button img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.82; }
.bos-lazy-video button span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: max-content; padding: 0.7rem 1rem; border-radius: 999px; background: rgba(0,0,0,.78); font-weight: var(--weight-medium); }
.bos-lazy-video button span::before { content: "▶"; margin-right: 0.45rem; }
.bos-video-grid--technology { margin-top: 2.5rem; }
.bos-product-detail__image { width: 100%; max-height: 22rem; object-fit: contain; border-radius: var(--radius); background: #fff; }
.bos-product-detail__video { margin-top: 0; }
.bos-product-detail__bullets { margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
@media (min-width: 768px) { .bos-products { grid-template-columns: repeat(2, 1fr); } .bos-video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bos-products { grid-template-columns: repeat(4, 1fr); } }
.bos-filters { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; justify-content: center; align-items: flex-end; margin-bottom: 1.75rem; }
.bos-filters__actions { display: flex; align-items: flex-end; }
.bos-filters__reset {
  min-height: 40px;
  padding: 0 1rem;
  white-space: nowrap;
}
.bos-filters--demo > button {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 1rem;
  font-weight: var(--weight-medium);
}
.bos-filters--demo > button.is-active,
.bos-filters .is-active { background: var(--color-brand); color: #fff; border-color: var(--color-brand); }
.bos-filters__field { display: grid; gap: 0.35rem; min-width: min(100%, 14rem); text-align: left; }
.bos-filters__label { font-size: var(--text-body); font-weight: var(--weight-regular); color: var(--color-text-muted); }
.bos-filters__dropdown { position: relative; }
.bos-filters__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 40px;
  padding: 0.45rem 2.25rem 0.45rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236a7282' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  background-size: 12px 8px;
  font: inherit;
  font-size: 1rem;
  font-weight: var(--weight-medium);
  color: var(--color-heading);
  text-align: left;
  cursor: pointer;
}
.bos-filters__dropdown.is-open .bos-filters__trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23cc0000' d='M10.6 7.4L6 2.8 1.4 7.4 0 6l6-6 6 6z'/%3E%3C/svg%3E");
}
.bos-filters__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
  max-height: min(18rem, 60vh);
  overflow: auto;
}
.bos-filters__menu[hidden] { display: none; }
.bos-filters__menu [role="option"] {
  display: block;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: var(--weight-medium);
  color: var(--color-heading);
  cursor: pointer;
}
.bos-filters__menu [role="option"]::before { content: none; display: none; }
.bos-filters__menu [role="option"]:hover,
.bos-filters__menu [role="option"]:focus {
  background: var(--color-surface-muted);
  outline: none;
}
.bos-filters__menu [role="option"].is-selected {
  background: var(--color-surface-red);
  color: var(--color-brand);
}
.bos-modules__empty {
  margin: 0.5rem 0 0;
  text-align: center;
  color: var(--color-text-muted);
}
.bos-module.is-filtered-out,
.bos-module[hidden] { display: none !important; }
.bos-modules { display: grid; gap: 1rem; }
.bos-module {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
  display: grid;
  gap: 0.6rem;
  box-shadow: 0 0 0 0 transparent;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}
.bos-module:hover {
  border-color: #E5E7EB;
  box-shadow: 6px 8px 14px rgba(16, 24, 40, 0.09);
  transform: translateY(-2px);
}
.bos-tag { display: inline-block; font-size: var(--text-tag); font-weight: var(--weight-medium); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-brand); }
.bos-module h3 { margin: 0; font-size: var(--text-title-sm); font-weight: var(--weight-medium); }
.bos-module p { margin: 0; color: var(--color-text-muted); font-size: var(--text-body); line-height: 1.55; }
@media (min-width: 768px) { .bos-modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bos-modules { grid-template-columns: repeat(4, 1fr); } }
.bos-slider { padding: var(--space-lg) 0 var(--space-xl); }
.bos-slider__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.bos-slider__track img { flex: 0 0 min(80%, 720px); height: 360px; object-fit: cover; border-radius: var(--radius); scroll-snap-align: center; }
@media (max-width: 767px) { .bos-slider__track img { height: 220px; flex-basis: 88%; } }
.bos-cta { position: relative; overflow: hidden; color: #fff; background: #111 center / cover no-repeat; min-height: 420px; }
.bos-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.35)); }
.bos-cta figure { margin-left: 0; }
.bos-cta__inner { position: relative; z-index: 1; padding: var(--space-xl) 0; max-width: 36rem; }
.bos-cta h2 { font-size: var(--text-section); margin: 0 0 0.8rem; font-weight: var(--weight-display); color:var(--color-surface); }
.bos-cta ul { list-style: none; padding: 0; }
.bos-cta li { margin: 0.45rem 0; }
.bos-cta .bos-btn { margin-top: 1rem; }
.bos-services { padding: var(--bos-landing-pad-y) 0 0; }
.bos-service-grid { display: grid; gap: 1rem; }
.bos-service { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.bos-service img { width: 100%; height: 210px; object-fit: cover; }
.bos-service__icon img { width: 40px; height: 40px; object-fit: contain; }
.bos-service h3 { margin: 1.2rem 1.4rem 0.5rem; }
.bos-service p { margin: 0 1.4rem 1.4rem; color: var(--color-text-muted); }
@media (min-width: 768px) { .bos-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bos-service-grid { grid-template-columns: repeat(3, 1fr); } }
.bos-footer { background: #0b0b0b; color: #d1d5dc; padding: 2.5rem 0 1.25rem; font-size: 1rem; }
.bos-footer .bos-logo img { width: 140px; height: 80px; }
.bos-footer a:hover { color: #fff; }
.bos-footer__grid { display: grid; gap: 1.5rem; }
.bos-footer h4 { color: #fff; margin: 0 0 0.8rem; }
.bos-footer ul { list-style: none; padding: 0; margin: 0; }
.bos-footer li { margin: 0.4rem 0; }
.bos-footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #222; font-size: 1rem; }
.bos-form { display: grid; gap: 0.7rem; max-width: 32rem; }
.bos-form input, .bos-form textarea { width: 100%; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0.7rem 0.8rem; }
@media (min-width: 1100px) { .bos-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
#bos-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #111; color: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
#bos-cookie[hidden] { display: none !important; }
.bos-legal { padding: var(--space-xl) 0; max-width: 48rem; }
.bos-legal > .bos-section { padding: 0; }
.bos-legal h1 { margin-top: 0; }
.mod_article { margin: 0; }
.mod_article.bos-wrap { margin-inline: auto; }
#wrapper, #container, #main { padding: 0; width: auto; max-width: none; }
#header, #footer { padding: 0; background: transparent; }
#header .inside, #footer .inside, #main .inside, #container .inside { max-width: none; width: auto; padding: 0; }
.content-player {
  width: min(100% - 2.5rem, var(--content));
  margin-inline: auto;
}
.content-player video {
  display: block;
  width: 100%;
  max-width: fill-available;
  max-width: stretch;
  max-width: -webkit-fill-available;
  max-width: -moz-available;
}
.content-gallery { margin: 2rem 0 0; }
.content-gallery > ul { margin: 0; padding: 0; list-style: none; }
.content-gallery > ul > li figure { margin: 0; }
.content-gallery > ul > li img { width: 100%; height: auto; max-height: 36rem; object-fit: contain; border-radius: var(--radius); background: var(--color-surface-muted); }
.content-gallery .pagination { display: flex; justify-content: center; margin: 1.25rem 0 0; }
.content-gallery .pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.content-gallery .pagination li { margin: 0; padding: 0; }
.content-gallery .pagination a,
.content-gallery .pagination strong { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: var(--color-heading); font-size: 1rem; font-weight: var(--weight-medium); }
.content-gallery .pagination a:hover { border-color: var(--color-brand); color: var(--color-brand); }
.content-gallery .pagination .active { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }

/* Final Figma alignment for desktop 172:323 and mobile 199:1139. */
body {
  color: #101828;
  font-size: 16px;
}

.bos-wrap { width: min(calc(100% - (2 * var(--page-gutter))), var(--content)); }
.bos-kicker { color: var(--color-brand); font-size: var(--text-kicker); font-weight: var(--weight-medium); letter-spacing: .08em; text-transform: uppercase; }

.bos-header {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
}
.bos-header__bar { min-height: 56px; }
.bos-logo img { width: 60px; height: 32px; object-fit: contain; }
.bos-menu-toggle { color: var(--color-brand); line-height: 1; }

.bos-hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  place-items: initial;
  color: var(--color-heading);
  background: var(--color-surface);
}
.bos-hero::after { display: none; }
.bos-hero__media {
  position: relative;
  inset: auto;
  order: 0;
  height: auto;
  max-height: min(38vh, 280px);
  overflow: hidden;
}
.bos-hero__media img {
  width: 100%;
  height: 100%;
  max-height: min(38vh, 280px);
  object-fit: cover;
  object-position: center;
}
.bos-hero__inner {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: none;
  padding: 2px 0 24px;
}
.bos-hero h1 {
  margin: 0;
  color: #4c4c4c;
  font-size: var(--text-hero);
  font-weight: var(--weight-display);
  line-height: 1.2;
  white-space: normal;
  -webkit-text-stroke: 0;
}
.bos-hero h1 em,
.bos-hero h1 span {
  color: var(--color-brand);
  font-style: normal;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
}
.bos-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.bos-hero p { max-width: none; color: #4a5565; font-size: var(--text-body); line-height: 1.6; }
.bos-hero__actions,
.bos-hero__actions.content-element-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
}
.bos-hero__actions > .bos-btn,
.bos-hero__actions > .content-hyperlink {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
}
.bos-hero__actions .bos-btn > a,
.bos-hero__actions .content-hyperlink.bos-btn > a,
.bos-hero__actions a.bos-btn {
  width: auto;
  max-width: none;
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
  letter-spacing: normal;
  -webkit-text-stroke: 0;
}
/* Note: filenames are inverted vs pixel color — gray.png is light, white.png is dark. */
.bos-download { --bos-download-icon: url("/files/theme/bos/img/icons/download_gray.png"); }
.bos-btn--ghost.bos-download { --bos-download-icon: url("/files/theme/bos/img/icons/download_white.png"); }
.content-hyperlink.bos-download > a::before,
a.bos-download::before {
  width: 18px;
  height: 18px;
  content: "";
  background: var(--bos-download-icon) center / contain no-repeat;
  flex: 0 0 18px;
}
.content-hyperlink.bos-download > a,
a.bos-download { gap: 10px; white-space: nowrap; }

.bos-stats { padding: 28px 0; background: var(--color-brand); color: #fff; }
.bos-stats__grid { gap: 32px 18px; }
.bos-stats strong,
.bos-stat h2,
.bos-stat h3 { color: #fff; font-size: var(--text-stat); line-height: 1.15; font-weight: var(--weight-display); }
.bos-stats span,
.bos-stat p { min-height: 44px; margin-top: 4px; font-size: var(--text-lead); font-weight: var(--weight-regular); line-height: 1.35; }
.bos-stats small:empty { display: none; }

.bos-about { padding: 48px 0; background: var(--color-surface-muted); }
.bos-about__grid { gap: 20px; }
.bos-about h2,
.bos-section__intro h2,
.bos-services .bos-section__intro h2 {
  color: #4c4c4c;
  font-size: var(--text-section);
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: var(--weight-display);
}
.bos-about p { color: #4a5565; }
.bos-checklist { padding: 0; }
.bos-checklist ul { padding: 0; margin: 0; }
.bos-checklist li { margin: 12px 0; padding-left: 32px; font-size: var(--text-body); line-height: 1.5; }
.bos-about__media > img,
.bos-about__media figure img { height: auto; max-height: none; object-fit: contain; }

.bos-section { padding: 48px 0; }
.bos-services,
.bos-services.content-element-group { padding: var(--bos-landing-pad-y) 0 0; }
.bos-section__intro { margin-bottom: 20px; }
.bos-section__intro h2 { margin: 12px 0; text-transform: uppercase; }
.bos-section__intro p { margin: 0; color: #4a5565; }

.bos-products { gap: 20px; }
.bos-specs { padding: 12px 16px; }
.bos-specs div { font-size: var(--text-body); line-height: 1.45; font-weight: var(--weight-regular); }

.bos-filters { gap: 12px; margin: 0 0 20px; }
.bos-filters--demo > button { min-height: 40px; padding: 8px 16px; }
.bos-filters__trigger { min-height: 40px; }
.bos-modules { gap: 20px; align-items: stretch; }
.bos-module {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  align-self: stretch;
}
.bos-module__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  flex: 0 0 160px;
  overflow: hidden;
  background: #fff;
}
.bos-module__image > .bos-module__image-tag,
.bos-module__image-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: auto;
  top: auto;
  z-index: 2;
  margin: 0;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
}
.bos-module__image img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 12px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.bos-module__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1 1 auto;
  min-height: 0;
}
.bos-module__title {
  display: block;
  min-width: 0;
  flex-shrink: 0;
}
.bos-module h3 {
  margin: 0;
  font-size: var(--text-title-sm);
  line-height: 1.3;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bos-tag { padding: 4px 8px; border-radius: 999px; background: var(--color-surface-red); font-size: var(--text-tag); font-weight: var(--weight-medium); }
.bos-module__compatible {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: auto 0 0;
  overflow: visible;
  flex-shrink: 0;
  min-height: 0;
}
.bos-module__compatible-label {
  flex: 0 0 auto;
  width: auto;
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
  white-space: nowrap;
}
.bos-module__compatible .bos-tag { flex: 0 0 auto; white-space: nowrap; }
.bos-module__incomplete-note {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--weight-medium);
  color: var(--color-brand);
  min-height: 1.2em;
  flex-shrink: 0;
}
.bos-module__body > p:not(.bos-module__compatible):not(.bos-module__incomplete-note) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.45em * 3);
  flex-shrink: 0;
}
/* L and below: pills under "Kompatibel mit" so they are not clipped. */
@media (max-width: 1099px) {
  .bos-module__compatible {
    align-items: flex-start;
    row-gap: 8px;
  }
  .bos-module__compatible-label {
    flex: 0 0 100%;
    width: 100%;
  }
}
.bos-modules__more { display: none; }
.bos-modules__more-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100%;
  padding: 2rem 1.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  color: var(--color-heading);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 0 transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}
.bos-modules__more-card[hidden] { display: none !important; }
.bos-modules__more-card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-brand);
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
  font-size: 1.55rem;
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: 0;
}
.bos-modules__more-card-label {
  display: block;
  max-width: 11ch;
  font-family: var(--font-heading);
  font-size: var(--text-title-sm);
  font-weight: var(--weight-medium);
  line-height: 1.25;
  letter-spacing: 0.01em;
  -webkit-text-stroke: var(--text-stroke-demi) currentColor;
  paint-order: stroke fill;
}
.bos-modules__more-card-hint {
  display: block;
  font-size: var(--text-tag);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.bos-modules__more-card:hover {
  background: linear-gradient(180deg, #f3f4f6 0%, #ebecef 100%);
  border-color: #d1d5db;
  box-shadow: 6px 8px 14px rgba(16, 24, 40, 0.09);
  transform: translateY(-2px);
  color: var(--color-brand);
}
.bos-modules__more-card:hover .bos-modules__more-card-icon {
  color: var(--color-brand);
}
.bos-modules__more-card:hover .bos-modules__more-card-hint {
  color: var(--color-brand);
}
.bos-module--compact .bos-module__image {
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  flex: 0 0 140px;
}
.bos-module--compact .bos-module__image img { padding: 10px; }
.bos-module--compact .bos-module__body { gap: 8px; padding: 14px; }
.bos-module--compact h3 { font-size: var(--text-body); line-height: 1.3; font-weight: var(--weight-medium); }
.bos-module--compact .bos-module__body > p:not(.bos-module__compatible):not(.bos-module__incomplete-note) {
  font-size: 1rem;
  min-height: calc(1.4em * 3);
}
.bos-module--compact .bos-module__incomplete-note { display: none; }
.bos-related-modules { margin-top: 1rem; padding-top: 0; border-top: 0; }
.bos-related-modules__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.bos-related-modules__title { margin: 0; font-size: var(--text-title); color: var(--color-brand); font-weight: var(--weight-display); }
.bos-related-modules__stage {
  position: relative;
  display: block;
  overflow: visible;
}
.bos-related-modules__nav-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 0 0.14em;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: none;
}
.bos-related-modules__nav-btn--prev { left: calc(-44px - 0.5rem); }
.bos-related-modules__nav-btn--next { right: calc(-44px - 0.5rem); }
.bos-related-modules__nav-btn:hover {
  background: #b00000;
  border-color: #b00000;
  color: #fff;
}
.bos-related-modules__viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.bos-related-modules__viewport.is-dragging { cursor: grabbing; }
.bos-related-modules__viewport.is-dragging a { pointer-events: none; }
.bos-related-modules__track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}
.bos-related-modules__track > .bos-module {
  flex: 0 0 calc((100% - 3rem) / 4);
  width: calc((100% - 3rem) / 4);
  min-width: 0;
  max-width: calc((100% - 3rem) / 4);
  overflow: hidden;
  align-self: stretch;
  height: auto;
}
.bos-related-modules__track .bos-module__image {
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  flex: 0 0 140px;
}
@media (max-width: 1099px) {
  .bos-related-modules__track > .bos-module {
    flex-basis: calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }
  .bos-related-modules__nav-btn--prev { left: -0.35rem; }
  .bos-related-modules__nav-btn--next { right: -0.35rem; }
}
@media (max-width: 767px) {
  .bos-related-modules__track > .bos-module {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
  .bos-related-modules__nav-btn--prev { left: 0.25rem; }
  .bos-related-modules__nav-btn--next { right: 0.25rem; }
}
.bos-module-detail__compatible { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.bos-module-detail__compatible-label { width: 100%; font-size: var(--text-body); font-weight: var(--weight-regular); color: var(--color-text-muted); }
.bos-module-detail {
  --bos-detail-content-gap: 2rem;
  padding: 1rem 0 3rem;
  background: #fff;
}
.bos-module-detail__media-col {
  display: grid;
  gap: var(--bos-detail-content-gap);
  min-width: 0;
  align-content: start;
}
/* Back stays below the sticky nav; only media/title get the extra air */
.bos-module-detail__back {
  margin: 0;
}
.bos-module-detail__back-btn {
  min-height: 48px;
  padding: 0 1.25rem;
  font-size: 1rem;
  font-weight: var(--weight-medium);
}
.bos-module-detail__layout { display: grid; gap: 2rem; }
.bos-module-detail__media {
  background: #fff;
  border-radius: var(--radius);
}
.bos-module-detail__media img {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
}
.bos-module-detail__body { display: grid; gap: 0.9rem; align-content: start; justify-items: start; }
.bos-module-detail__body > .bos-tag {
  width: auto;
  max-width: max-content;
  justify-self: start;
}
.bos-module-detail__body > h1,
.bos-module-detail__body > .bos-module-detail__teaser,
.bos-module-detail__body > .bos-module-detail__description,
.bos-module-detail__body > .bos-module-detail__compatible,
.bos-module-detail__body > .bos-specs,
.bos-module-detail__body > .bos-module__incomplete-note {
  width: 100%;
  max-width: 100%;
}
.bos-module-detail h1 {
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--color-brand);
  font-size: var(--text-section);
  line-height: 1.2;
  font-weight: var(--weight-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.bos-module-detail__teaser { color: var(--color-text-muted); }
.bos-module-detail__teaser p { margin: 0; }
.bos-module-detail__description { color: var(--color-text); }
.bos-module-detail__description p { margin: 0 0 0.8rem; }
.bos-module-detail__description p:last-child { margin-bottom: 0; }
.mod_master.bos-section { padding-top: 0.5rem; padding-bottom: 0; }
.mod_master.bos-wrap { width: min(calc(100% - (2 * var(--page-gutter))), var(--content)); margin-inline: auto; }
@media (min-width: 768px) {
  .bos-module-detail__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
  /* Align title with media (below the back button row + gap) */
  .bos-module-detail__body {
    padding-top: calc(48px + var(--bos-detail-content-gap));
  }
}

/* Product detail media slider (image + video) */
.bos-media-slider {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  --bos-media-h: 22rem;
}
.bos-media-slider__viewport {
  position: relative;
  height: var(--bos-media-h);
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
}
.bos-media-slider__track { position: relative; height: 100%; }
.bos-media-slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.bos-media-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.bos-product-detail__image,
.bos-media-slider__slide img.bos-product-detail__image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}
.bos-media-slider__video,
.bos-media-slider__video.bos-lazy-video,
.bos-product-detail .bos-lazy-video {
  width: 100%;
  height: 100%;
}
.bos-product-detail .bos-lazy-video button,
.bos-product-detail .bos-lazy-video video {
  width: 100%;
  height: 100%;
}
.bos-product-detail .bos-lazy-video button img,
.bos-product-detail .bos-lazy-video video {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #111;
}
.bos-media-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 44px;
}
.bos-media-slider__nav {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 0 0.14em;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}
.bos-media-slider__nav:hover {
  background: #b00000;
  border-color: #b00000;
  color: #fff;
}
.bos-media-slider__dots { display: flex; gap: 0.5rem; }
.bos-media-slider__dots button {
  min-height: 36px;
  padding: 0 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: var(--weight-medium);
  cursor: pointer;
}
.bos-media-slider__dots button.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}
.bos-product-detail__bullets { margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.bos-product-detail__video { margin-top: 0; }

.bos-product-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  width: 100%;
  margin-top: 2.25rem;
  padding: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  box-sizing: border-box;
}
.bos-product-downloads__copy { min-width: min(100%, 16rem); flex: 1 1 16rem; }
.bos-product-downloads h2 {
  margin: 0;
  color: var(--color-brand);
  font-size: var(--text-title);
  font-weight: var(--weight-display);
  line-height: 1.25;
}
.bos-product-downloads p {
  margin: 0.4rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.55;
}
.bos-product-downloads__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}
.bos-product-downloads .bos-btn {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}
.bos-product-downloads .bos-btn:hover {
  background: #a50000;
  border-color: #a50000;
}
.bos-product-downloads .bos-btn.bos-download {
  --bos-download-icon: url("/files/theme/bos/img/icons/download_gray.png");
}

@media (min-width: 1100px) {
  .bos-module-detail { padding: 0.75rem 0 3.5rem; }
  .mod_master.bos-section { padding-top: 0.75rem; }
  .bos-media-slider { --bos-media-h: 26rem; }
}
.content-bos-module-listing .bos-modules__more { display: none; }

.bos-slider { padding: 48px 0; background: #111; }
.bos-slider__track { gap: 20px; }
.bos-slider__track img { height: 500px; border-radius: 8px; }

.bos-cta {
  display: flex;
  min-height: 0;
  flex-direction: column;
  color: #fff;
  background: var(--color-brand);
}
.bos-cta::after { display: none; }
.bos-cta__media { position: relative; width: 100%; height: 218px; object-fit: cover; }
.bos-cta__inner {
  width: min(calc(100% - (2 * var(--page-gutter))), 1300px);
  max-width: none;
  padding: 32px 0 48px;
  box-sizing: border-box;
}
/* Keep CTA copy on a readable line length (was stretching across the whole red half). */
.bos-cta__inner > .content-headline,
.bos-cta__inner > .ce_headline,
.bos-cta__inner > .content-text,
.bos-cta__inner > .ce_text,
.bos-cta__inner > .content-list,
.bos-cta__inner > .ce_list,
.bos-cta__inner > .content-image,
.bos-cta__inner > .ce_image,
.bos-cta__inner > .content-hyperlink,
.bos-cta__inner > .bos-cta__actions {
  max-width: 34rem;
}
.bos-cta__inner > .content-text,
.bos-cta__inner > .ce_text {
  margin-top: 0.75rem;
}
.bos-cta h2 { font-size: var(--text-section); line-height: 1.25; font-weight: var(--weight-display); }
.bos-cta li { position: relative; padding-left: 28px; }
.bos-cta li::before { content: "\2713"; position: absolute; left: 0; color: #fff; font-weight: var(--weight-medium); }
.bos-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}
.bos-cta__actions .bos-btn { margin-top: 0; }
.bos-cta__inner > .content-hyperlink { margin-top: 1.25rem; }

/* Prozess zuerst + Unser Ansatz — separate full-width sections */
.bos-approach,
.bos-principle {
  padding: 48px 0;
}
.bos-section.bos-approach,
.bos-approach {
  padding-bottom: 0;
  background: #fff;
}
.bos-principle { background: var(--color-surface-muted); }
.bos-approach__inner,
.bos-principle__inner { max-width: none; }
.bos-section__intro--start,
.bos-process .bos-section__intro--start,
.bos-faq .bos-section__intro--start,
.bos-landing .bos-section__intro--start,
.bos-solutions .bos-section__intro--start {
  text-align: left;
  margin-inline: 0;
  max-width: none;
  margin-bottom: 9px;
}
.bos-section__intro--start h2,
.bos-section__intro--start .content-headline {
  text-transform: none;
  letter-spacing: 0.01em;
  color: #4c4c4c;
}
.bos-approach h2 em,
.bos-principle h2 em {
  color: var(--color-brand);
  font-style: normal;
}
.bos-approach .bos-badge p,
.bos-approach .bos-badge span,
.bos-principle .bos-badge p,
.bos-principle .bos-badge span {
  color: var(--color-brand);
  margin: 0;
}
.bos-approach__head {
  display: grid;
  gap: 16px;
  margin: 0 0 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid #e5e7eb;
  align-items: end;
}
.bos-approach__lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.bos-approach__title h2 {
  margin: 12px 0 0;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #4c4c4c;
  font-size: var(--text-section);
  line-height: 1.25;
  font-weight: var(--weight-display);
}
.bos-approach__intro {
  margin: 0;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.55;
  max-width: 36rem;
}
.bos-approach__label,
.bos-approach__label p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.bos-approach__outro,
.bos-approach__outro p {
  position: relative;
  margin: 28px 0 0;
  padding-left: 32px;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.55;
}
.bos-approach__outro::before,
.bos-approach__outro p::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-brand);
  font-weight: var(--weight-medium);
}
.bos-principle .bos-section__intro {
  max-width: 52rem;
}
.bos-principle .bos-section__intro p + p,
.bos-principle .bos-section__intro .content-text + .content-text {
  margin-top: 12px;
}

/* Task list — 2-col grid with row rules (matches preferred mockup) */
.bos-task-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.bos-task-path__item {
  display: grid;
  grid-template-columns: clamp(4.5rem, 12vw, 5.75rem) minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}
.bos-task-path__item:first-child { padding-top: 4px; }
.bos-task-path__item:last-child { border-bottom: 0; }
.bos-task-path__step {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand);
  flex: none;
  box-sizing: border-box;
}
.bos-task-path__step > span {
  display: block;
  font-size: clamp(2.35rem, 6vw, 3.15rem);
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
  transform: none;
}
.bos-task-path__body { min-width: 0; padding-top: 0; }
.bos-task-path__item h3,
.bos-task-path__body h3 {
  margin: 0 0 4px;
  font-size: var(--text-title-sm);
  line-height: 1.3;
  font-weight: var(--weight-medium);
  color: var(--color-heading);
}
.bos-task-path__item p,
.bos-task-path__body p {
  margin: 0;
  color: #6b7280;
  font-size: var(--text-body);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .bos-approach__head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: end;
  }
  .bos-approach__intro {
    max-width: none;
    align-self: end;
  }
  .bos-task-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Equal row tracks: shorter cells get extra space below (content stays top) */
    grid-template-rows: repeat(4, 1fr);
    grid-auto-flow: column;
    align-items: stretch;
    column-gap: 28px;
  }
  /* Shared row rules across both columns (column-major: 1–4 left, 5–8 right) */
  .bos-task-path__item {
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    border-bottom: 0;
    padding: 16px 0 22px;
    box-shadow: inset 0 -1px 0 #e5e7eb;
    /* number + copy vertically centered in the equal-height cell */
    align-items: center;
  }
  .bos-task-path__item:nth-child(4n+1) {
    padding-top: 4px;
  }
  .bos-task-path__item:nth-child(4n) {
    box-shadow: none;
  }
}

@media (min-width: 1100px) {
  .bos-approach,
  .bos-principle { padding: 72px 0; }
  .bos-section.bos-approach,
  .bos-approach { padding-bottom: 0; }
  .bos-approach__head { gap: 64px; margin-bottom: 8px; }
  .bos-task-path { column-gap: 36px; }
}
.bos-author {
  margin: 28px 0 0;
  text-align: center;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.5;
}
.bos-author a {
  color: #4a5565;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bos-author a:hover { color: var(--color-brand); }

.bos-services { background: #fff; }
.bos-services .bos-section__intro { margin-bottom: 12px; }
.bos-services .bos-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.bos-services .bos-service {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
  padding: 20px;
  border: 0;
  border-radius: 8px;
  margin-top: 0;
  background: var(--color-surface-muted);
}
/* Icon sits left of the title only */
.bos-services .bos-service > .bos-service__icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}
.bos-services .bos-service > .content-headline,
.bos-services .bos-service > h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: center;
}
/* Body text starts under the symbol (full width) */
.bos-services .bos-service > .content-text,
.bos-services .bos-service > p {
  grid-column: 1 / -1;
  grid-row: 2;
}
.bos-service__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.bos-service__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand);
}
.bos-service__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.bos-service__icon i,
.bos-service__icon .fa-solid {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-brand);
}
.bos-service h3 { margin: 0; font-size: var(--text-title-sm); line-height: 1.3; font-weight: var(--weight-medium); }
.bos-service p { margin: 0; color: #4a5565; font-size: var(--text-body); line-height: 1.55; }

/* Process steps — open numbered timeline (not cards) */
.bos-process { background: #fff; }
.bos-process .bos-section__intro { margin-bottom: 9px; }
.bos-process .bos-section__intro h2,
.bos-process .bos-section__intro .content-headline {
  white-space: pre-line;
}
.bos-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.bos-process__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem; /* number → title → text */
  margin: 0;
  padding: 1.75rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bos-process__item:last-child { border-bottom: 1px solid var(--color-border); }
.bos-process__item > .bos-process__step,
.bos-process__item > .ce_html,
.bos-process__item > .content-html {
  margin: 0;
  padding: 0;
}
.bos-process__item > .content-headline,
.bos-process__item > h3 {
  margin: 0;
  padding: 0;
  font-size: var(--text-title-sm);
  line-height: 1.3;
  font-weight: var(--weight-medium);
}
.bos-process__item > .content-text,
.bos-process__item > p {
  margin: 0;
  padding: 0;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.55;
}
.bos-process__item > .content-text .rte,
.bos-process__item > .content-text p,
.bos-process__item > .content-text .rte p {
  margin: 0;
}
.bos-process__step {
  display: block;
  min-width: 1.75rem;
  color: var(--color-brand);
  font-size: clamp(2rem, 7vw, 2.85rem);
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: 0.04em;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}
.bos-process__item .ce_html,
.bos-process__item .content-html { margin: 0; }
.bos-process__item .ce_html .bos-process__step,
.bos-process__item .content-html .bos-process__step { display: block; }
@media (max-width: 767px) {
  .bos-process__item {
    gap: 1.1rem;
    padding: 2rem 0;
  }
}

/* Solution teasers */
.bos-solutions { background: var(--color-surface-muted); }
.bos-solutions .bos-section__intro { margin-bottom: 20px; }
.bos-solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.bos-solutions-grid + .content-text,
.bos-solutions-grid + .ce_text {
  margin-top: 21px;
}
.bos-solution {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 0 transparent;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}
.bos-solution:hover {
  border-color: #E5E7EB;
  box-shadow: 6px 8px 14px rgba(16, 24, 40, 0.09);
  transform: translateY(-2px);
}
.bos-solution h3,
.bos-solution .content-headline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: var(--text-title-sm);
  line-height: 1.3;
  font-weight: var(--weight-medium);
}
.bos-solution h3::before,
.bos-solution .content-headline::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 999px;
  background: var(--color-brand);
}
.bos-solution p,
.bos-solution .content-text {
  margin: 0;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.55;
}
.bos-solution__points,
.bos-solution .bos-solution__points,
.ce_list.bos-solution__points > ul {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.bos-solution__points > li,
.bos-solution .bos-solution__points li,
.ce_list.bos-solution__points li {
  position: relative;
  margin: 0;
  padding-left: 1.15rem;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.45;
}
.bos-solution__points > li::before,
.bos-solution .bos-solution__points li::before,
.ce_list.bos-solution__points li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-brand);
  color: transparent;
  font-weight: inherit;
}

/* Invisible full-card hit target (products, modules, solutions, Contao links). */
.bos-card-hit,
.bos-product .bos-btn,
.bos-product .content-hyperlink,
.bos-module .bos-btn,
.bos-module .content-hyperlink,
.bos-solution__link,
.bos-solution .content-hyperlink {
  position: absolute !important;
  inset: 0;
  z-index: 2;
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  text-decoration: none !important;
  transform: none !important;
  opacity: 0;
  cursor: pointer;
  -webkit-text-stroke: 0;
}
.bos-product .content-hyperlink > a,
.bos-module .content-hyperlink > a,
.bos-solution .content-hyperlink > a {
  position: absolute;
  inset: 0;
  display: block;
  color: transparent !important;
  font-size: 0;
  text-decoration: none !important;
}
/* Keep product teaser/title/specs above the hit overlay so text can be selected & copied. */
.bos-product__body {
  position: relative;
  z-index: 3;
  user-select: text;
  -webkit-user-select: text;
}
.bos-product__teaser,
.bos-product__teaser p,
.bos-product h3,
.bos-product .bos-specs {
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
}
.bos-product:has(.bos-card-hit:focus-visible),
.bos-product:has(.content-hyperlink a:focus-visible),
.bos-module:has(.bos-card-hit:focus-visible),
.bos-module:has(.content-hyperlink a:focus-visible),
.bos-solution:has(.bos-card-hit:focus-visible),
.bos-solution:has(.bos-solution__link:focus-visible),
.bos-solution:has(.content-hyperlink a:focus-visible) {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .bos-product,
  .bos-module,
  .bos-solution {
    transition: none;
  }
  .bos-product:hover,
  .bos-module:hover,
  .bos-solution:hover {
    transform: none;
  }
}

/* FAQ */
.bos-faq { background: #fff; }
.bos-faq .bos-section__intro { margin-bottom: 20px; }
.bos-faq-list {
  display: grid;
  gap: 16px;
  max-width: none;
  margin-inline: 0;
}
.bos-faq-list > .ce_html,
.bos-faq-list > .content-html { margin: 0; }
.bos-faq__item {
  padding: 0;
  border-radius: 8px;
  background: var(--color-surface-muted);
  overflow: hidden;
  transition: background-color 0.25s ease;
}
.bos-faq__item[open],
.bos-faq__item.is-closing {
  background: #f3f4f6;
}
.bos-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--color-heading);
  font-size: var(--text-title-sm);
  font-weight: var(--weight-medium);
  line-height: 1.35;
  user-select: none;
}
.bos-faq__question::-webkit-details-marker { display: none; }
.bos-faq__question::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 1px;
  border-right: 2px solid var(--color-brand);
  border-bottom: 2px solid var(--color-brand);
  transform: rotate(45deg) translateY(-2px);
  transform-origin: 60% 60%;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.bos-faq__item[open] > .bos-faq__question::after,
.bos-faq__item.is-closing > .bos-faq__question::after {
  transform: rotate(225deg) translateY(-2px);
}
.bos-faq__answer {
  /* No vertical padding here — it was snapping off after height hit 0 on close.
     Bottom spacing lives on the last child so overflow:hidden clips it smoothly. */
  padding: 0 20px;
  overflow: hidden;
  opacity: 1;
  transition:
    height 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}
@media (prefers-reduced-motion: reduce) {
  .bos-faq__item,
  .bos-faq__question::after,
  .bos-faq__answer {
    transition: none;
  }
}
.bos-faq__answer > :last-child {
  padding-bottom: 20px;
}
.bos-faq__answer p {
  margin: 0;
  padding-top: 2px;
  color: #4a5565;
  font-size: var(--text-body);
  line-height: 1.55;
}
.bos-faq__answer p + p { margin-top: 8px; }
.bos-faq__answer .bos-faq__label {
  margin-top: 14px;
  color: var(--color-heading);
}
.bos-faq__answer .bos-tags {
  margin: 12px 0 0;
  gap: 8px 10px;
}
.bos-faq__answer .bos-tags > .bos-tag {
  padding: 4px 12px 4px 1.85rem;
  font-size: var(--text-tag);
}
.bos-faq__answer .bos-checklist {
  margin: 10px 0 0;
}
.bos-faq__answer .bos-checklist li {
  margin: 8px 0;
  color: #4a5565;
  font-size: var(--text-body);
}

.bos-contact { display: grid; gap: 32px; align-items: start; }
.bos-form { max-width: none; gap: 16px; }
.bos-form label,
.bos-demo-field { display: grid; gap: 6px; font-size: 16px; font-weight: var(--weight-medium); }
.bos-form label { display: flex; }
.bos-form input,
.bos-form textarea,
.bos-demo-field input,
.bos-demo-field textarea { padding: 12px 14px; background: #fff; }
.bos-contact__details {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  background: transparent;
}
.bos-contact__details .rte {
  display: grid;
  gap: 20px;
}
.bos-contact__details p { margin: 0; }
.bos-contact__details strong {
  display: block;
  color: var(--color-heading);
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  line-height: 1.25;
}
.bos-contact__details .rte > p:nth-child(n + 2),
.bos-contact__details > p {
  color: #4a5565;
  font-size: var(--text-lead);
  line-height: 1.55;
}
.bos-contact__details .rte > p:nth-child(3),
.bos-contact__details > p:nth-of-type(2) { color: var(--color-heading); }
.bos-contact__details a {
  color: var(--color-brand);
  font-weight: var(--weight-medium);
}
.bos-contact__details a:hover { text-decoration: underline; }

.bos-footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--color-border);
  color: #4a5565;
  background: #fff;
}
.bos-footer h4 { color: var(--color-heading); }
.bos-footer a:hover { color: var(--color-brand); }
.bos-footer__legal { border-top-color: var(--color-border); }

.bos-styleguide { padding: 64px 0 96px; background: var(--color-surface-muted); }
.bos-styleguide__header { max-width: 760px; margin-bottom: 48px; }
.bos-styleguide__header h1 { margin: 8px 0; font-size: clamp(36px, 5vw, 64px); }
.bos-styleguide__group { margin-top: 24px; padding: 32px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
.bos-styleguide__group h2 { margin-top: 0; }
.bos-styleguide__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.bos-styleguide__columns,
.bos-styleguide__cards { display: grid; gap: 24px; }
.bos-swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bos-swatches > div { display: grid; gap: 6px; }
.bos-swatch { display: block; height: 72px; border: 1px solid var(--color-border); border-radius: 8px; }
.bos-swatch--brand { background: var(--color-brand); }
.bos-swatch--heading { background: var(--color-heading); }
.bos-swatch--text { background: var(--color-text); }
.bos-swatch--muted { background: var(--color-text-muted); }
.bos-swatch--surface { background: var(--color-surface); }
.bos-swatch--surface-muted { background: var(--color-surface-muted); }
.bos-swatch--surface-red { background: var(--color-surface-red); }
.bos-swatch--dark { background: var(--color-dark); }
.bos-type-samples { margin-top: 32px; }
.bos-type-samples > * { margin-block: 8px; }
.bos-filters--demo { justify-content: flex-start; margin-top: 20px; }
.bos-demo-field { margin-bottom: 16px; }
.bos-notice { padding: 12px 16px; border-radius: 8px; }
.bos-notice--success { color: #166534; background: #dcfce7; }

/* Native Contao content elements inside nested element groups. */
.bos-badge p,
.bos-stat h3,
.bos-stat p,
.bos-about__card h3,
.bos-about__card p,
.bos-service .content-headline h3,
.bos-service .content-text p { margin: 0; }
.bos-stat h2,
.bos-stat h3 {
  color: #fff !important;
  font-size: var(--text-stat);
  line-height: 1.15;
  font-weight: var(--weight-display);
  }
.bos-stat .content-headline,
.bos-stat h2.content-headline {
  margin: 10px 0 10px 0;
}
.bos-stat p { min-height: 44px; margin-top: 4px; font-size: 20px; line-height: 1.3; }
.bos-about__card h3 { font-size: clamp(1.35rem, 3.5vw, 1.7rem); color: #fff !important; margin: 4px 0 10px 0 !important; }
.content-hyperlink.bos-btn { padding: 0; }
.content-hyperlink.bos-btn > a {
  display: inline-flex;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding: 0 1.15rem;
  letter-spacing: normal;
  -webkit-text-stroke: 0;
}
.bos-cta__inner .content-hyperlink.bos-btn > a { color: var(--color-brand); }
.bos-hero__actions .content-hyperlink.bos-btn > a { width: auto; }
.bos-product .content-hyperlink.bos-btn > a { width: 100%; }
.bos-cta figure { margin-left: 0; }
.bos-cta__media figure,
.bos-cta__media picture,
.bos-cta__media img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}
.bos-service__icon figure { margin: 0; }
.bos-slider__track { display: block; }
.bos-slider__track > ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
}
.bos-slider__track > ul > li { flex: 0 0 min(80%, 720px); scroll-snap-align: center; }
.bos-slider__track > ul figure { margin: 0; }
.bos-slider__track > ul img { width: 100%; height: 500px; object-fit: cover; }
.bos-form form { display: grid; gap: 16px; }
.bos-form .widget { display: grid; gap: 6px; padding-bottom: 20px; }
.bos-form .submit {
  min-height: 44px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--color-brand);
  color: #fff;
  font-weight: var(--weight-medium);
  cursor: pointer;
}
.bos-swatch-item .content-text p { margin: 0; font-family: monospace; }

@media (max-width: 490px) {
  .bos-stats__grid { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 767px) {
  .bos-wrap { width: min(calc(100% - (2 * var(--page-gutter))), var(--content)); }
  .bos-header__tools .bos-langs,
  .bos-header__tools > .bos-btn { display: none; }
  /* S: machine at bottom, cut by red bar */
  .bos-hero:not(.bos-landing-hero) {
    overflow: visible;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner {
    order: 0;
    padding: 20px 0 12px;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media {
    order: 1;
    z-index: 1;
    width: min(calc(100% - (2 * var(--page-gutter))), var(--content));
    max-height: none;
    margin: 0 auto -96px;
    overflow: visible;
    display: flex;
    justify-content: center;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media img {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: 420px !important;
    object-fit: contain !important;
    object-position: center bottom;
  }
  .bos-stats { position: relative; z-index: 2; }
  .bos-landing-hero .bos-landing-hero__grid {
    gap: 0;
    padding: 0;
  }
  /* Image first so it reaches the top of the section */
  .bos-landing-hero .bos-hero__media { order: -1; }
  .bos-landing-hero .bos-hero__inner { order: 0; }
  .bos-landing-hero .bos-hero__media img {
    height: auto;
    aspect-ratio: 2 / 3;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
  .bos-hero__actions,
  .bos-hero__actions.content-element-group { flex-direction: row; flex-wrap: nowrap; }
  .bos-hero__actions > .bos-btn,
  .bos-hero__actions > .content-hyperlink { width: auto; flex: 0 1 auto; min-width: 0; }
  .bos-slider__track img { height: 420px; flex-basis: 92%; }
  .bos-slider__track > ul > li { flex-basis: 92%; }
  .bos-slider__track > ul img { height: 420px; }
  .bos-styleguide__group { padding: 24px 20px; }
}

@media (min-width: 768px) {
  .bos-styleguide__columns { grid-template-columns: 1.35fr .65fr; }
  .bos-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 48px; align-items: start; }
  .bos-styleguide__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bos-swatches { grid-template-columns: repeat(4, 1fr); }
  .bos-services .bos-service-grid { grid-template-columns: repeat(2, 1fr); }
  .bos-solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* M: copy first, machine on bottom cut by red bar */
  .bos-hero:not(.bos-landing-hero) {
    overflow: visible;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner {
    order: 0;
    z-index: 2;
    padding: 32px 0 16px;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media {
    order: 1;
    z-index: 1;
    width: min(calc(100% - (2 * var(--page-gutter))), var(--content));
    max-height: none;
    margin: 0 auto -110px;
    overflow: visible;
    display: flex;
    justify-content: center;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media img {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: 420px !important;
    object-fit: contain !important;
    object-position: center bottom;
  }
  .bos-stats { position: relative; z-index: 2; }
  .bos-landing-hero .bos-landing-hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    padding: 0;
    align-items: stretch;
    min-height: 0;
  }
  /* Text drives row height; image fills that box (no intrinsic portrait blow-up) */
  .bos-landing-hero .bos-hero__media {
    position: relative;
    align-self: stretch;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
  }
  .bos-landing-hero .bos-hero__inner {
    padding: var(--bos-landing-pad-y) var(--page-gutter);
  }
  .bos-landing-hero .bos-hero__media figure,
  .bos-landing-hero .bos-hero__media picture,
  .bos-landing-hero .bos-hero__media > .content-image,
  .bos-landing-hero .bos-hero__media > .ce_image,
  .bos-landing-hero .bos-hero__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100% !important;
    margin: 0;
    aspect-ratio: auto;
    min-height: 0;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 1099px) {
  .bos-stat h2 { font-size: var(--text-title); }
  .bos-hero:not(.bos-landing-hero) h1 {
    white-space: normal;
    max-width: 28rem;
  }
}

@media (max-width: 767px) {
  .bos-hero:not(.bos-landing-hero) h1 {
    max-width: none;
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
  }
  .bos-hero__actions,
  .bos-hero__actions.content-element-group {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .bos-hero__actions > .bos-btn,
  .bos-hero__actions > .content-hyperlink {
    flex: 1 1 0;
    min-width: 0;
  }
  .bos-hero__actions .content-hyperlink.bos-btn > a,
  .bos-hero__actions a.bos-btn {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.2;
  }
}

@media (min-width: 1100px) {
  :root {
    --header-h: 106px;
    --bos-stats-h: 220px;
  }
  .bos-header__bar {
    height: var(--header-h);
    min-height: var(--header-h);
    max-height: var(--header-h);
  }
  .bos-header {
    height: var(--header-h);
  }
  .bos-logo img { width: 117px; height: 64px; }
  /*
   * Startpage hero: text above, machine at the bottom cut by the red stats bar.
   */
  .bos-hero:not(.bos-landing-hero) {
    position: relative;
    display: block;
    height: calc(100svh - var(--header-h) - var(--bos-stats-h));
    height: calc(100dvh - var(--header-h) - var(--bos-stats-h));
    max-height: calc(100svh - var(--header-h) - var(--bos-stats-h));
    max-height: calc(100dvh - var(--header-h) - var(--bos-stats-h));
    min-height: 0;
    margin: 0;
    overflow: visible;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: start;
    gap: clamp(24px, 3vw, 64px);
    width: min(calc(100% - (2 * var(--page-gutter))), var(--content));
    margin-inline: auto;
    padding-top: clamp(32px, 5vh, 64px);
    padding-bottom: 0;
    /* Keep copy above the machine on shorter laptop screens */
    isolation: isolate;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner > .content-text:first-child,
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner > .ce_text:first-child {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    margin: 0;
    padding-left: clamp(0px, 8vw, 250px);
    max-width: 55ch;
    text-align: left;
  }
  .bos-hero:not(.bos-landing-hero) h1 {
    position: relative;
    z-index: 2;
    max-width: 35ch;
    margin: 0;
    font-size: clamp(1.85rem, 2.4vw + 0.6rem, var(--text-hero));
    line-height: 1.2;
    text-align: left;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__copy {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    align-items: flex-start;
    margin: 0;
    max-width: none;
    text-align: left;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__copy p {
    text-align: left;
    font-size: var(--text-lead);
    line-height: 1.6;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__actions,
  .bos-hero:not(.bos-landing-hero) .bos-hero__actions.content-element-group {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__actions > .bos-btn,
  .bos-hero:not(.bos-landing-hero) .bos-hero__actions > .content-hyperlink {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
  }
  /* XL: machine sits under the text band and is cut by the red bar. */
  .bos-hero:not(.bos-landing-hero) .bos-hero__media {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: auto;
    bottom: calc(-1 * var(--bos-stats-h) * 0.5);
    right: auto;
    order: 0;
    width: min(calc(100% - (2 * var(--page-gutter))), 1360px);
    height: auto;
    /* Leave a clear band for the headline/copy above the machine */
    max-height: calc(100% - 6rem);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    pointer-events: none;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media > *,
  .bos-hero:not(.bos-landing-hero) .bos-hero__media picture,
  .bos-hero:not(.bos-landing-hero) .bos-hero__media figure {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    max-height: 100%;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(
      80vh,
      calc(100dvh - var(--header-h) - var(--bos-stats-h) - 6rem),
      960px
    ) !important;
    object-fit: contain !important;
    object-position: center bottom;
  }
  /* Lock red band height so vertical padding is INSIDE the reserved space */
  .bos-stats {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    margin: 0;
    height: var(--bos-stats-h);
    min-height: var(--bos-stats-h);
    max-height: var(--bos-stats-h);
    padding: 48px 0; /* vertical only — horizontal comes from .bos-wrap */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .bos-stats__grid {
    gap: 32px 18px;
  }
  .bos-stats strong,
  .bos-stat h2,
  .bos-stat h3 { font-size: var(--text-stat); line-height: 1.15; font-weight: var(--weight-display); }
  .bos-stats span,
  .bos-stat p {
    min-height: 0;
    margin-top: 4px;
    font-size: var(--text-lead);
    font-weight: var(--weight-regular);
    line-height: 1.35;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  .bos-about { padding: 88px 0; }
  .bos-section,
  .bos-process,
  .bos-solutions,
  .bos-faq { padding: 72px 0; }
  .bos-section.bos-approach,
  .bos-approach { padding-bottom: 0; }
  .bos-services,
  .bos-services.content-element-group { padding: var(--bos-landing-pad-y) 0 0; }
  .bos-section.bos-landing:not(.bos-cta-band):not(.bos-landing-panel),
  .bos-landing:not(.bos-hero):not(.bos-cta-band):not(.bos-landing-panel) {
    padding: var(--bos-landing-pad-y) 0;
  }
  /* Same-color neighbors only (white↔white / band↔band / solutions↔solutions).
     Gray solutions must not collapse into a following white section. */
  .bos-landing:not(.bos-landing-band):not(.bos-solutions):not(.bos-hero):not(.bos-cta-band):not(.bos-landing-panel) + .bos-landing:not(.bos-landing-band):not(.bos-solutions):not(.bos-hero):not(.bos-cta-band):not(.bos-landing-panel),
  .bos-landing-band + .bos-landing-band,
  .bos-solutions + .bos-solutions {
    padding-top: 0;
  }
  .bos-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bos-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bos-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 480px;
  }
  /* Image sits further right so text can align with the page container */
  .bos-cta__media {
    position: absolute;
    inset: 0 0 0 55%;
    width: 45%;
    height: 100%;
  }
  .bos-cta__media img {
    object-fit: cover;
    object-position: center;
  }
  .bos-cta .bos-wrap,
  .bos-cta .bos-cta__inner {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--content));
    max-width: none;
    margin-inline: auto;
    box-sizing: border-box;
    /* Same left edge as other sections; leave room for the image at ~55% */
    padding: 32px 28% 32px 0;
  }
  .bos-services .bos-service-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .bos-services .bos-service {
    grid-column: span 2;
  }
  /* Center the incomplete last row when there are 5 cards */
  .bos-services .bos-service:nth-child(4) { grid-column: 2 / span 2; }
  .bos-services .bos-service:nth-child(5) { grid-column: 4 / span 2; }
  .bos-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 0;
    padding: 8px 0 4px;
    border: 0;
  }
  .bos-process-grid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 2.65rem;
    height: 2px;
    background: #e5e7eb;
    pointer-events: none;
  }
  .bos-process__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem; /* number → title → text */
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .bos-process__item:last-child {
    border: 0;
    padding-right: 0;
  }
  .bos-process__step {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--color-brand);
    font-size: clamp(2.35rem, 3vw, 3.15rem);
    font-weight: var(--weight-medium);
    line-height: 1;
    letter-spacing: 0.04em;
    background: #fff;
    -webkit-text-stroke: 0.75px currentColor;
  }
  .bos-process__item > .ce_html,
  .bos-process__item > .content-html {
    margin: 0;
    background: #fff;
  }
  .bos-process__item > .content-headline,
  .bos-process__item > h3 {
    align-self: flex-start;
    max-width: 16ch;
    margin: 0;
    padding: 0;
    font-size: var(--text-lead);
    line-height: 1.25;
  }
  .bos-process__item > .content-text,
  .bos-process__item > p {
    max-width: 24ch;
    margin: 0;
    padding: 0;
    line-height: 1.5;
  }
  .bos-process__item > .content-text p {
    margin: 0;
  }
  .bos-solutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Laptop / MacBook Air: shorter viewports — keep big-screen composition but stop text/image collision */
@media (min-width: 1100px) and (max-height: 920px) {
  :root {
    --header-h: 88px;
    --bos-stats-h: 168px;
  }
  .bos-logo img { width: 96px; height: 52px; }
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner {
    padding-top: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    gap: 20px;
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner > .content-text:first-child,
  .bos-hero:not(.bos-landing-hero) .bos-hero__inner > .ce_text:first-child {
    padding-left: clamp(0px, 4vw, 120px);
  }
  .bos-hero:not(.bos-landing-hero) h1 {
    font-size: clamp(1.7rem, 2vw + 0.55rem, 2.4rem);
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media {
    max-height: calc(100% - 5.5rem);
    bottom: calc(-1 * var(--bos-stats-h) * 0.42);
  }
  .bos-hero:not(.bos-landing-hero) .bos-hero__media img {
    max-height: min(
      64vh,
      calc(100dvh - var(--header-h) - var(--bos-stats-h) - 5.5rem),
      760px
    ) !important;
  }
  .bos-stats {
    padding: 28px 0;
  }
}

.bos-footer .bos-logo img { width: 140px; height: 80px; }

.content-player {
  width: min(calc(100% - (2 * var(--page-gutter))), 1300px);
  margin-inline: auto;
}
.content-player video {
  display: block;
  width: 100%;
  max-width: fill-available;
  max-width: stretch;
  max-width: -webkit-fill-available;
  max-width: -moz-available;
}

.content-gallery {
  margin: 2rem 0 0;
}
.content-gallery > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.content-gallery > ul > li figure { margin: 0; }
.content-gallery > ul > li img {
  width: 100%;
  height: auto;
  max-height: 36rem;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--color-surface-muted);
}
.content-gallery .pagination {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 0;
}
.content-gallery .pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.content-gallery .pagination li { margin: 0; padding: 0; }
.content-gallery .pagination a,
.content-gallery .pagination strong {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: var(--color-heading);
  font-size: 1rem;
  font-weight: var(--weight-medium);
}
.content-gallery .pagination a:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}
.content-gallery .pagination .active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

/* Feature block: badge + title + lead (same hierarchy as section intros) */
.bos-feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 28px;
  align-items: start;
}
.bos-feature-split > .content-text:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}
.bos-feature-split > .content-text:first-child .bos-badge,
.bos-feature-split > .content-text:first-child .bos-badge.content-text {
  margin: 0 auto;
}
.bos-feature-split > .content-text:first-child h2 {
  margin: 0;
  color: var(--color-heading);
  font-size: var(--text-section);
  font-weight: var(--weight-heading);
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0.02em;
}
.bos-feature-split > .content-text:first-child h2 span,
.bos-feature-split > .content-text:first-child p {
  margin: 0;
  max-width: 40rem;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: 1.6;
  -webkit-text-stroke: 0;
}
/* ARENA lead: break after the dash; keep the second sentence on one line. */
#article-26 .bos-feature-split > .content-text:first-child {
  container-type: inline-size;
}
#article-26 .bos-feature-split > .content-text:first-child .rte > p {
  max-width: 23.75em;
}
@container (max-width: 24em) {
  #article-26 .bos-feature-split > .content-text:first-child .rte > p {
    font-size: calc(100cqi / 24);
  }
}
.bos-feature-split > .content-text:first-child,
.bos-feature-split > .content-image {
  grid-column: 1 / -1;
  width: min(100%, calc(60% + 40px));
  max-width: none;
  margin: 0;
  justify-self: center;
}
.bos-feature-split > .content-image figure {
  margin: 0;
}
.bos-feature-split > .content-image img {
  display: block;
  width: 100%;
  height: auto;
}
.bos-feature-split > .content-text:nth-child(3),
.bos-feature-split > .content-text:nth-child(4) {
  width: max-content;
  max-width: 100%;
}
.bos-feature-split > .content-text:nth-child(3) {
  grid-column: 1;
  justify-self: end;
}
.bos-feature-split > .content-text:nth-child(4) {
  grid-column: 2;
  justify-self: start;
}
@media (max-width: 767px) {
  .bos-feature-split {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }
  .bos-feature-split > .content-text:first-child,
  .bos-feature-split > .content-image,
  .bos-feature-split > .content-text:nth-child(3),
  .bos-feature-split > .content-text:nth-child(4) {
    grid-column: 1;
    width: 100%;
    justify-self: stretch;
  }
}

/* Landing pages: soft red pills (wrap), tight checklist columns */
.bos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 1.25rem 0 0.75rem;
  padding: 0;
  list-style: none;
}
.bos-tags--line {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.bos-tags > .bos-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #f0c7c7;
  background: #fdeeee;
  color: var(--color-brand);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.bos-tags > .bos-tag::before {
  content: none;
}
.bos-landing-band { background: var(--color-surface-muted); }
/* Thin red mid-page CTA — full container width */
.bos-cta-band,
.bos-landing.bos-cta-band,
.bos-section.bos-landing.bos-cta-band {
  position: relative;
  overflow: hidden;
  background: var(--color-brand);
  color: #fff;
  padding: 1.5rem 0;
}
.bos-cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.bos-cta-band__copy {
  flex: 1 1 18rem;
  min-width: 0;
  max-width: 40rem;
}
.bos-cta-band h2,
.bos-cta-band .content-headline,
.bos-cta-band .ce_headline {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  font-weight: var(--weight-display);
}
.bos-cta-band p,
.bos-cta-band .content-text,
.bos-cta-band .ce_text,
.bos-cta-band .content-text p,
.bos-cta-band .ce_text p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--text-body);
  line-height: 1.45;
}
.bos-cta-band .bos-btn--on-brand,
.bos-cta-band .content-hyperlink.bos-btn--on-brand {
  flex: 0 0 auto;
  margin-right: 50px;
  background: #fff;
  color: var(--color-brand);
  border-color: #fff;
}
.bos-cta-band .content-hyperlink.bos-btn--on-brand > a {
  color: var(--color-brand);
}
/* Split panels with side image (portrait, fills column) */
.bos-landing-panel,
.bos-landing.bos-landing-panel,
.bos-section.bos-landing.bos-landing-panel {
  padding: 0;
  overflow: hidden;
}
.bos-landing-panel__grid {
  display: grid;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
}
.bos-landing-panel__media {
  min-height: 0;
  overflow: hidden;
}
.bos-landing-panel__media figure,
.bos-landing-panel__media picture,
.bos-landing-panel__media > .content-image,
.bos-landing-panel__media > .ce_image {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}
.bos-landing-panel__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.bos-landing-panel__copy {
  padding: var(--bos-landing-pad-y) var(--page-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
}
.bos-landing-panel .bos-checklist--cols ul {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}
@media (min-width: 900px) {
  .bos-landing-panel__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 0;
    align-items: stretch;
  }
  .bos-landing-panel--media-right .bos-landing-panel__media { order: 2; }
  .bos-landing-panel--media-right .bos-landing-panel__copy { order: 1; }
  /* Copy sets the height; media fills it edge-to-edge without expanding the row */
  .bos-landing-panel__media {
    position: relative;
    align-self: stretch;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
  }
  .bos-landing-panel__media figure,
  .bos-landing-panel__media picture,
  .bos-landing-panel__media > .content-image,
  .bos-landing-panel__media > .ce_image,
  .bos-landing-panel__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
  .bos-landing-panel__copy {
    padding: var(--bos-landing-pad-y) var(--page-gutter);
  }
}
.bos-section.bos-landing:not(.bos-cta-band):not(.bos-landing-panel),
.bos-landing:not(.bos-hero):not(.bos-cta-band):not(.bos-landing-panel) {
  padding: var(--bos-landing-pad-y) 0;
}
/* Same background back-to-back → drop the second top padding (one gap only).
   Gray solutions ↔ white must keep both paddings. */
.bos-landing:not(.bos-landing-band):not(.bos-solutions):not(.bos-hero):not(.bos-cta-band):not(.bos-landing-panel) + .bos-landing:not(.bos-landing-band):not(.bos-solutions):not(.bos-hero):not(.bos-cta-band):not(.bos-landing-panel),
.bos-landing-band + .bos-landing-band,
.bos-solutions + .bos-solutions {
  padding-top: 0;
}
.bos-landing .bos-section__intro,
.bos-landing .bos-section__intro p {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}
.bos-landing-hero.bos-hero {
  min-height: 0;
  height: auto;
  max-height: none;
  display: block;
  color: var(--color-text);
  background: #fff;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.bos-landing-hero::after { display: none; }
/* Break out of .bos-wrap so the image can fill the section edge-to-edge */
.bos-landing-hero .bos-landing-hero__grid {
  display: grid;
  gap: 0;
  padding: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
}
.bos-landing-hero .bos-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: none;
  padding: 28px var(--page-gutter) 40px;
  margin: 0;
  justify-content: center;
}
.bos-landing-hero .bos-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: none;
}
.bos-landing-hero .bos-hero__copy .content-text p + p,
.bos-landing-hero .bos-hero__copy .ce_text p + p {
  margin-top: 15px;
}
.bos-landing-hero .bos-hero__copy p,
.bos-landing-hero .bos-hero__copy .content-text p,
.bos-landing-hero .bos-hero__copy .ce_text p {
  font-size: var(--text-body);
  line-height: 1.6;
}
.bos-landing-hero .bos-hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  background: transparent;
  overflow: hidden;
  align-self: stretch;
}
.bos-landing-hero .bos-hero__media figure,
.bos-landing-hero .bos-hero__media picture,
.bos-landing-hero .bos-hero__media > .content-image,
.bos-landing-hero .bos-hero__media > .ce_image {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}
.bos-landing-hero .bos-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
.bos-about__card--note h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  line-height: 1.45;
}
.bos-checklist--cols {
  display: flex;
  justify-content: center;
}
.bos-checklist--cols ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  column-gap: 28px;
  row-gap: 0;
  width: min(100%, 53rem);
  margin: 0;
}
.bos-checklist--cols li {
  max-width: none;
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  padding: 12px 8px 12px 32px;
  text-align: left;
}
.bos-checklist--cols li::before {
  position: absolute;
  left: 0;
  top: 0.85em;
}
/* Full-width 2-col feature cards (title + text, red ring marker) */
.bos-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 3.5rem);
  row-gap: 0;
  width: 100%;
  max-width: none;
  margin: 1.75rem 0 0.5rem;
  padding: 0;
  list-style: none;
}
.bos-feature-list > .bos-feature-list__item {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 1.35rem 0 1.35rem 1.85rem;
  border-bottom: 1px solid #e8eaed;
  text-align: left;
}
.bos-feature-list > .bos-feature-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.6rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid var(--color-brand);
  border-radius: 50%;
  background: transparent;
  color: transparent;
}
.bos-feature-list__title {
  display: block;
  margin: 0 0 0.4rem;
  color: #4a5565;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: var(--weight-medium);
  line-height: 1.3;
  -webkit-text-stroke: 0;
  paint-order: normal;
}
.bos-feature-list__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: 1.55;
}
@media (max-width: 720px) {
  .bos-checklist--cols ul {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .bos-feature-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .bos-tags--line {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
.bos-section__intro .bos-badge,
.bos-section__intro .bos-badge p,
.bos-landing .bos-badge,
.bos-landing .bos-badge p {
  color: var(--color-brand);
}
@media (min-width: 1100px) {
  .bos-landing-hero .bos-landing-hero__grid {
    gap: 0;
    padding: 0;
    min-height: 0;
  }
  .bos-landing-hero .bos-hero h1 { max-width: 28rem; }
  .bos-landing-hero .bos-hero__inner {
    padding: var(--bos-landing-pad-y) var(--page-gutter);
  }
  .bos-products--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bos-services--six .bos-service:nth-child(n) { grid-column: span 2; }
}

/* Landing process: 2 columns like startpage task-path (1–3 left, 4–6 right) */
@media (min-width: 768px) {
  .bos-process--stack .bos-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
    align-items: stretch;
    column-gap: 36px;
    padding: 0;
  }
  .bos-process--stack .bos-process-grid::before { display: none; }
  .bos-process--stack .bos-process__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    padding: 1.5rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: inset 0 -1px 0 #e5e7eb;
  }
  .bos-process--stack .bos-process__item:nth-child(3n) {
    box-shadow: none;
  }
  .bos-process--stack .bos-process__item:last-child { border-bottom: 0; }
  .bos-process--stack .bos-process__item > .content-headline,
  .bos-process--stack .bos-process__item > h3,
  .bos-process--stack .bos-process__item > .content-text,
  .bos-process--stack .bos-process__item > p {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .bos-process--stack .bos-process-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .bos-process--stack .bos-process__item {
    box-shadow: none;
    border-top: 1px solid var(--color-border);
    gap: 1.1rem;
    padding: 2rem 0;
  }
  .bos-process--stack .bos-process__item:last-child {
    border-bottom: 1px solid var(--color-border);
  }
}

