/* ================================================================
   bb-pages.css — BBULL Design System · Page-Specific Layouts
   Load order: 3 of 3 (after bb-global.css and bb-components.css)
   Source sections from bb-style.css: hero slope, product, inspection,
   about, single-post, forms, footer, solutions, latest-posts
   ================================================================ */

/* ════════════════════════════════════════════════════════════════
   1. HOME: HERO SLOPE LAYOUT
   The angular video/image hero on the homepage.
   ════════════════════════════════════════════════════════════════ */
.bb-hero-slope {
  --bb-hero-min: clamp(380px, 70vh, 760px);
  padding: 3.5rem 0 3rem;
}
.wp-block-search__input, .search-input{
    background: var(--bb-bg);
    color: var(--bb-text);
}

.bb-hero-slope--inner {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)      /* left gutter */
    auto                /* copy column */
    minmax(0, 1024px)   /* media/slope, capped at 1024 */
    minmax(0, 1fr);     /* right gutter */
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--bb-hero-min);
}

.bb-hero-slope--copy {
  grid-column: 2;
  max-width: 32rem;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.bb-hero-slope--copy h1 {
  max-width: 20ch;
  line-height: 1.05;
}

.bb-hero-slope--media {
  grid-column: 3;
  --bb-slope: 180px;
  position: relative;
  height: clamp(320px, 62vh, 760px);
  clip-path: polygon(var(--bb-slope) 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  isolation: isolate;
  background: var(--bb-surface-muted, #f3f4f6);
  width: 100%;
  max-width: 1024px;
  filter: drop-shadow(-2px 0 0 var(--bb-red));
  height: 57%;
}

.bb-hero-slope--video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.6) brightness(0.95) contrast(0.9);
}

.bb-hero-slope--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    var(--bb-image-overlay-angle, 90deg),
    var(--bb-image-overlay-strong, rgba(239,242,247,1))  0%,
    var(--bb-image-overlay-mid,    rgba(239,242,247,0.8)) 22%,
    var(--bb-image-overlay-soft,   rgba(239,242,247,0.2)) 45%,
    var(--bb-image-overlay-clear,  transparent)           70%
  );
  pointer-events: none;
}

/* ── Generic hero (full-width wrapper) ───────────────────── */
.bb-hero { position: initial; width: 100vw; left: 0; right: 0; }

/* ════════════════════════════════════════════════════════════════
   2. PRODUCT: HERO SECTION
   ════════════════════════════════════════════════════════════════ */
.bb-product-hero {
  margin-block: 0;
  padding-block: clamp(48px, 3.6vw, 86px) clamp(8px, 1.2vw, 18px);
  background:
    radial-gradient(circle at 12% 55%, rgba(208,25,32,.06), transparent 38%),
    linear-gradient(180deg, var(--bb-surface), var(--bb-surface-muted));
}

.bb-product-hero__inner {
  width: min(1400px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--padding-xl);
  align-items: center;
}

.bb-product-hero--no-image .bb-product-hero__inner {
  grid-template-columns: 1fr;
}

.bb-product-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-product-hero__image {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.bb-product-hero__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.2vw, 1rem);
}

.bb-product-hero .bb-product-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--bb-text);
}

.bb-product-hero .bb-product-hero__title::after {
  content: "";
  display: block;
  width: clamp(56px, 7vw, 100px);
  height: 4px;
  margin-top: clamp(16px, 2vw, 24px);
  background: var(--bb-red);
  border-radius: 999px;
}

.bb-product-hero__subline {
  font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  color: var(--bb-muted);
  max-width: 60ch;
}

.bb-product-hero__teaser {
  font-size: var(--fs-m);
  line-height: 1.65;
  margin: 0;
  color: var(--bb-muted);
  max-width: 65ch;
}

.bb-product-hero__chips {
  display: grid;
  gap: 0.55rem;
}

.bb-product-hero__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.bb-product-hero__chip-row--secondary {
  gap: 0.45rem;
}

.bb-product-hero__chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  color: var(--bb-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.bb-product-hero__chips span::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: var(--bb-red);
  flex-shrink: 0;
}

.bb-product-hero__chips .bb-product-hero__chip--main-task {
  background: var(--bb-neutral-100);
  border-color: var(--bb-neutral-300);
  color: var(--bb-text);
}

.bb-product-hero__chips .bb-product-hero__chip--speed {
  background: rgba(227, 6, 19, 0.08);
  border-color: rgba(227, 6, 19, 0.24);
  color: var(--bb-text);
}

.bb-product-hero__chip-row--secondary span {
  font-size: 0.82rem;
  font-weight: 650;
  opacity: 0.92;
}

.bb-product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.8rem;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--bb-border);
}

.bb-product-hero__meta-item {
  display: grid;
  gap: 0.15rem;
  min-width: min(100%, 9rem);
  position: relative;
}

.bb-product-hero__meta-item + .bb-product-hero__meta-item::before {
  content: "";
  position: absolute;
  top: 0.52rem;
  left: -0.9rem;
  width: 1px;
  height: 1.35rem;
  background: var(--bb-border-strong);
}

.entry-content > p:empty {
  display: none;
}

@supports selector(p:has(> br:only-child)) {
  .entry-content > p:has(> br:only-child) {
    display: none;
  }
}

.bb-product-hero__meta dt,
.bb-product-hero__meta dd {
  margin: 0;
}

.bb-product-hero__meta dt {
  color: var(--bb-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bb-product-hero__meta dd {
  color: var(--bb-text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.bb-product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--padding-s);
  margin-top: clamp(0.4rem, 0.8vw, 0.75rem);
}

@media (max-width: 768px) {
  .bb-product-hero__inner { grid-template-columns: 1fr; }
  .bb-product-hero__image { max-height: 280px; }

  .bb-product-hero__meta {
    gap: 0.75rem 1rem;
  }

  .bb-product-hero__meta-item + .bb-product-hero__meta-item::before {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   3. PRODUCT: PURPOSE + METHOD SECTIONS
   Two-column image/copy layouts on product detail pages.
   ════════════════════════════════════════════════════════════════ */
.purpose-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 480px);
  gap: clamp(1.15rem, 2.8vw, 2rem);
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  align-items: center;
}

.purpose-copy { align-self: center; }
.purpose-copy p { max-width: 50ch; text-align: start; }
.purpose-copy h2 { text-align: start; }
.purpose-wrap img { width: 100%; height: auto; display: block; }

.method-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.8vw, 2rem);
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  align-items: center;
}

.bb-product-info-card__grid {
  margin-inline: auto;
}

.purpose-wrap:has(.bb-product-info-copy--no-image),
.method-wrap:has(.bb-product-info-copy--no-image) {
  grid-template-columns: 1fr;
}

.method-copy { align-self: center; }
.method-copy p { max-width: 50ch; text-align: start; }
.method-copy h2 { text-align: start; }
.method-wrap img { width: 100%; height: auto; display: block; }

.bb-product-info-copy {
  display: grid;
  gap: clamp(0.55rem, 1vw, 0.8rem);
  width: 100%;
}

.bb-product-info-copy .bb-section-eyebrow {
  margin: 0 0 -0.25rem;
}

.bb-product-info-copy h2 {
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.bb-product-info-copy__body {
  color: var(--bb-muted);
  line-height: 1.58;
}

.bb-product-info-copy__body p {
  margin: 0;
}

.bb-product-info-copy__body p + p {
  margin-top: 0.75rem;
}

.bb-product-info-copy__points {
  display: grid;
  gap: 0.35rem;
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
}

.bb-product-info-copy__points li {
  display: grid;
  grid-template-columns: minmax(8.75rem, 12rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.52rem 0;
  border-top: 1px solid var(--bb-border);
}

.bb-product-info-copy__points span {
  color: var(--bb-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.bb-product-info-copy__points strong {
  color: var(--bb-text);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.bb-product-info-image {
  margin: 0;
  align-self: center;
  justify-self: center;
  width: min(100%, 480px);
  background: transparent;
}

.bb-product-info-image__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.bb-product-info-card,
.bb-product-list-card,
.bb-product-specs-card {
  margin-block: clamp(10px, 1.4vw, 18px);
}

.bb-product-hero + .bb-product-info-card {
  margin-top: clamp(4px, 0.8vw, 10px);
}

.bb-product-list-card {
  overflow: hidden;
}

.bb-product-list-card__inner {
  display: grid;
  gap: clamp(0.8rem, 1.5vw, 1.1rem);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.bb-product-list-card__image {
  justify-self: center;
  width: min(100%, 330px);
}

.bb-product-list-card__image .bb-product-info-image__img {
  max-height: 180px;
}

.bb-product-list-card__title {
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
  text-transform: none;
}

.bb-product-list-card__list {
  gap: 0.42rem;
  margin: 0;
  width: 100%;
}

.bb-product-list-card__list > li {
  background: color-mix(in srgb, var(--bg-dark, #e9eff6) 68%, var(--bb-surface, #fff) 32%);
  border-left-width: 3px;
  border-left-color: var(--secondary, #4E6584);
  border-radius: 3px;
  color: var(--bb-text);
  font-size: 0.95rem;
  font-weight: 560;
  line-height: 1.5;
  padding: 0.62rem 0.9rem;
}

.bb-product-list-card__list > li:hover {
  background: color-mix(in srgb, var(--bg-dark, #e9eff6) 78%, var(--bb-surface, #fff) 22%);
}

.bb-product-specs-card {
  overflow: hidden;
}

.bb-product-specs-card__inner {
  display: grid;
  gap: clamp(0.8rem, 1.5vw, 1.1rem);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.bb-product-specs-card__title {
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
  text-transform: none;
}

.bb-product-specs-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.bb-product-specs-table th,
.bb-product-specs-table td {
  border: 0;
  border-bottom: 1px solid var(--bb-border);
  background: transparent;
  padding: 0.78rem 1rem;
  text-align: left;
  vertical-align: top;
}

.bb-product-specs-table tr:first-child th,
.bb-product-specs-table tr:first-child td {
  border-top: 1px solid var(--bb-border);
}

.bb-product-specs-table th {
  width: 30%;
  border-left: 3px solid var(--secondary, #4E6584);
  color: var(--bb-muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bb-product-specs-table td {
  color: var(--bb-text);
  font-size: 0.97rem;
  font-weight: 560;
  line-height: 1.5;
}

.bb-section-integration .bb-card--neo > .wp-block-columns {
  width: 100%;
}

.bb-section-integration .bb-center-group:has(.bb-product-info-copy),
.bb-section-integration .bb-center-group:has(.bb-product-info-image) {
  display: block;
  width: 100%;
}

.bb-section-integration p:has(.bb-product-info-copy),
.bb-section-integration p:has(.bb-product-info-image) {
  margin: 0;
  max-width: none;
  text-align: start;
}

.bb-section-integration .bb-product-info-copy {
  max-width: 62ch;
}

.bb-section-integration .bb-product-info-copy .bb-section-eyebrow {
  max-width: none;
}

.bb-section-integration .bb-product-info-copy h2 {
  font-size: clamp(1.65rem, 2.2vw + 0.75rem, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 14ch;
}

.bb-section-integration .bb-product-info-copy__body {
  max-width: 58ch;
}

.bb-section-integration .bb-product-info-image {
  max-width: min(100%, 420px);
  margin-inline: auto;
}

.bb-section-integration .wp-block-columns:has(.bb-product-info-copy--no-image) {
  display: block;
}

.bb-section-integration .wp-block-columns:has(.bb-product-info-copy--no-image) > .wp-block-column:last-child {
  display: none;
}

@media (max-width: 640px) {
  .purpose-wrap,
  .method-wrap {
    grid-template-columns: 1fr;
    padding: clamp(1rem, 5vw, 1.3rem);
  }

  .bb-product-info-copy__points li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .bb-product-specs-card__title {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .bb-product-specs-table {
    border-collapse: separate;
    border-spacing: 0 0.55rem;
  }

  .bb-product-specs-table th,
  .bb-product-specs-table td {
    display: block;
    width: 100%;
  }

  .bb-product-specs-table th {
    border-top: 1px solid var(--bb-border);
    border-right: 1px solid var(--bb-border);
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    padding-bottom: 0.35rem;
  }

  .bb-product-specs-table td {
    border-left: 4px solid var(--secondary, #4E6584);
    border-radius: 0 0 3px 3px;
    padding-top: 0.35rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   4. PRODUCT: GALLERY
   ════════════════════════════════════════════════════════════════ */
.bb-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--padding-s);
}

.bb-gallery__image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-1);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .bb-gallery__image { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   5. PRODUCT: INSPECTION FINDER / FILTER
   Overview page with filterable product cards.
   ════════════════════════════════════════════════════════════════ */
.inspection-filter { max-width: 1400px; margin: var(--padding-m) auto; }
.product-filter-section { margin-bottom: var(--padding-l); }

.product-filter fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--r-2);
  justify-content: space-between;
}

.product-filter legend {
  margin: 0;
  padding: 0 0 var(--r-1);
  font-weight: bold;
  font-size: var(--fs-m);
}

.product-filter button,
.reset-button {
  padding: 6px 12px;
  font-size: var(--fs-m);
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  background: var(--bb-form-bg, var(--bb-surface));
  transition: background 0.2s, border-color 0.2s;
  box-shadow: var(--bb-filter-shadow);
  color: var(--bb-text);
}

.product-filter button:hover { border-color: var(--bb-neutral-500); background: var(--bb-neutral-200); }

.product-filter button.active {
  background: var(--bb-red);
  color: var(--text-light);
  font-weight: bold;
  border-color: var(--bb-red);
}

.product-filter button:focus,
.filter-controls select:focus,
.filter-controls .search-input:focus,
.reset-button:focus {
  outline: 2px solid var(--bb-red);
  outline-offset: 1px;
}

.filter-controls {
  display: flex;
  flex-direction: column;
  gap: var(--padding-m);
  margin-bottom: var(--padding-l);
  padding: var(--r-1);
}

.filter-controls > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--r-1);
  padding: var(--padding-xs);
}

.filter-controls label { font-weight: bold; font-size: var(--fs-m); margin-right: var(--r-2); }

.filter-controls select,
.filter-controls .search-input {
  padding: 6px 10px;
  font-size: var(--fs-m);
  border: 1px solid var(--border);
  border-radius: var(--r-1);
}

.filter-controls .search-input { flex-grow: 1; }

.reset-button-container { text-align: right; margin-top: var(--r-1); }
.reset-button { color: var(--text-light); background-color: var(--bb-red); }
.reset-button:hover { background: var(--bb-btn-bg-hover); color: var(--bb-text); }

.results-feedback { margin: var(--r-1) 0; font-weight: bold; color: var(--secondary); min-height: 1.2em; }

/* ── Inspection list grid ─────────────────────────────────── */
#inspection-list {
  display: grid;
  gap: var(--padding-m);
  grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
  align-items: stretch;
}

#inspection-list .inspection-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "image headline"
    "body  body";
  gap: var(--bb-space-4, 1rem);
  text-decoration: none;
  color: inherit;
  border-radius: var(--bb-radius-md);
  align-items: start;
  font-family: var(--font-stack);
}

#inspection-list .inspection-item .item-media   { grid-area: image; }
#inspection-list .inspection-item .system-title { grid-area: headline; }
#inspection-list .inspection-item .item-body    { grid-area: body; }

#inspection-list .inspection-item .item-thumbnail {
  max-width: 150px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#inspection-list .inspection-item .system-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

#inspection-list .inspection-item .item-body p {
  margin: 0.25rem 0 0.5rem;
}

#inspection-list .inspection-item .item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.1rem;
}

#inspection-list .inspection-item:hover {
  transform: translateY(-1px);
  transition: transform 0.15s ease;
  cursor: pointer;
}

/* Thumbnail size in list context */
#inspection-list .item-thumbnail {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (max-width: 640px) {
  #inspection-list .inspection-item {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "headline" "body";
  }
}

/* ── Inspection card internal elements ───────────────────── */
.item-content-area { flex: 1; display: flex; flex-direction: column; }

.system-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: var(--fs-l);
  margin-bottom: 4px;
  gap: var(--r-2);
}

/* Category tag: red pill anchored to left edge of headline area */
#inspection-list .inspection-item .category-tag {
  display: inline-block;
  background: var(--bb-red);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--bb-radius-md) 0 0 var(--bb-radius-md);
  text-align: left;
  line-height: 1.3;
  margin-right: calc(-1 * var(--padding-m));
  align-self: stretch;
  margin-left: -2px;
}

.category-tag {
  background: var(--bb-red);
  color: var(--text-light);
  font-size: var(--fs-s);
  padding: 2px 6px;
  border-radius: 3px;
}

.system-desc { font-size: var(--fs-s); color: var(--secondary); margin-bottom: var(--padding-m); line-height: 1.4; }
.item-key-benefit { font-size: var(--fs-s); margin-bottom: auto; }

.item-badges { margin: var(--r-1); }
.item-badge {
  display: inline-block;
  font-size: var(--fs-s);
  font-weight: bold;
  background: var(--bg-dark);
  color: var(--bb-muted);
  border-radius: 32px;
  padding: 2px 12px;
  margin: 2px;
}

.item-badge-speed { background: var(--accent); color: var(--text-light); }

/* Tags */
.product-tags { border-top: 1px solid var(--bb-border); margin-bottom: var(--r-2); padding-top: var(--r-2); }
.tag {
  background: var(--bb-tag-bg, #ddd);
  border-radius: 3px;
  font-size: var(--fs-s);
  display: inline-block;
  margin: 4px 2px;
  padding: 2px 6px;
}

.tag-more,
.badge-more { cursor: pointer; color: var(--bb-red); font-size: var(--fs-s); margin-left: 4px; }

/* CTA buttons inside inspection cards */
.item-ctas { display: flex; gap: var(--r-2); margin-top: var(--r-2); }
.cta-button {
  flex: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-size: var(--fs-s);
  padding: 6px 10px;
  border-radius: var(--r-1);
  border: 1px solid transparent;
  transition: background 0.2s, box-shadow 0.2s;
}

.cta-button.cta-details { background: var(--bb-red); color: var(--text-light); }
.cta-button.cta-details:hover { background: var(--bb-cta-hover); box-shadow: var(--bb-small-shadow); }
.cta-button.cta-quote { background: var(--bg-dark); color: var(--secondary); }
.cta-button.cta-quote:hover { background: var(--bb-cta-neutral-hover); box-shadow: var(--bb-small-shadow); }

.product-button-group { display: flex; flex-wrap: wrap; gap: var(--r-1); }
.product-button-group .reset-button { margin-left: auto; }

/* ════════════════════════════════════════════════════════════════
   6. PRODUCT PAGE TYPOGRAPHY  (prod-txt-- prefix)
   ════════════════════════════════════════════════════════════════ */
.prod-txt--body {
  font-size: clamp(1rem, 0.3vw + 1rem, 1.1rem);
  line-height: 1.65;
  color: var(--bb-text);
}

.prod-txt--light {
  font-size: clamp(1rem, 0.3vw + 1rem, 1.1rem);
  color: var(--text-light);
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  line-height: 1.6;
}

.prod-txt--small {
  font-size: 0.9rem;
  color: var(--bb-muted);
  line-height: 1.45;
}

.prod-txt--note {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--text-light) 80%, transparent);
  font-style: italic;
  line-height: 1.4;
}

.prod-txt--accent {
  color: var(--bb-red);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Product misc */
.product-select { height: 100px; width: 100px; }
.bb-job-card { height: 52vh; box-shadow: var(--bb-card-shadow-job); }

/* ════════════════════════════════════════════════════════════════
   7. ABOUT: VALUES GRID  (.bb-values-grid)
   ════════════════════════════════════════════════════════════════ */
.bb-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.2rem;
}

.bb-value { padding: 1rem 2rem; }

.bb-value > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--bb-text);
  outline: none;
}

.bb-value > summary::after {
  content: "▾";
  float: right;
  transition: transform 0.2s ease;
}

.bb-value[open] > summary::after { transform: rotate(180deg); }

.bb-value > p {
  margin: 0.75rem 0 0;
  line-height: 1.5;
  color: var(--bb-muted);
}

.bb-value[open] {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-left: 2px solid var(--accent);
}

/* ════════════════════════════════════════════════════════════════
   8. SOLUTIONS SECTION  (from cobisction.css / homepage)
   ════════════════════════════════════════════════════════════════ */
.bb-solutions {
  padding: 4rem 1.5rem 4.5rem;
}

.bb-solutions__inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.bb-solutions__headline {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--bb-text);
}

.bb-solutions__subline {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--bb-muted);
}

/* Row 1 — Audience shortcuts */
.bb-solutions__audiences {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.bb-solutions__audience {
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: var(--bb-surface);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.bb-solutions__audience-label { display: block; font-weight: 600; font-size: 0.9rem; }
.bb-solutions__audience-desc  { display: block; font-size: 0.8rem; color: var(--bb-muted); }

/* Row 2 — Use-case tiles */
.bb-solutions__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.bb-solutions__tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.1rem;
  border-radius: 1.25rem;
  background: var(--bb-surface);
  text-align: left;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bb-solutions__tile:hover,
.bb-solutions__tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  background: var(--bb-surface);
}

.bb-solutions__tile-title { font-weight: 600; font-size: 0.98rem; margin-bottom: 0.4rem; }
.bb-solutions__tile-text  { font-size: 0.85rem; color: var(--bb-muted); }

/* Row 3 — Proof points */
.bb-solutions__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.bb-solutions__proof { min-width: 220px; }
.bb-solutions__proof-key   { display: block; font-weight: 700; font-size: 1.1rem; }
.bb-solutions__proof-label { display: block; font-size: 0.85rem; color: var(--bb-muted); margin-top: 0.1rem; }

@media (max-width: 1024px) {
  .bb-solutions__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .bb-solutions { padding: 3rem 1.25rem 3.5rem; }
  .bb-solutions__audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .bb-solutions__audiences,
  .bb-solutions__grid { grid-template-columns: 1fr; }
  .bb-solutions__headline { font-size: 1.6rem; }
}

/* ════════════════════════════════════════════════════════════════
   9. SINGLE POST: CONTENT RHYTHM
   ════════════════════════════════════════════════════════════════ */
.single-post .entry-content > p,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote {
  width: min(100%, 860px);
  margin-inline: auto;
}

.single-post .entry-content > p {
  margin-block: 1.05rem;
  font-size: clamp(1rem, 0.25vw + 0.98rem, 1.12rem);
  line-height: 1.75;
}

.single-post .entry-content > h2 {
  margin-block: clamp(38px, 5vw, 64px) 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.2vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.single-post .entry-content > h3 {
  margin-block: 2rem 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.3vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.single-post .entry-content > blockquote {
  margin-block: clamp(32px, 5vw, 56px);
  padding: clamp(22px, 3vw, 34px);
  border-left: 5px solid var(--bb-red);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.single-post .entry-content > blockquote p {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.5vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

/* ════════════════════════════════════════════════════════════════
   10. BLOG: LATEST POSTS LAYOUT (image | text grid)
   ════════════════════════════════════════════════════════════════ */
.wp-block-latest-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-block-latest-posts__list > li.wp-block-latest-posts__post {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  margin-bottom: 2rem;
}

.wp-block-latest-posts__featured-image {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
  display: flex;
}

.wp-block-latest-posts__featured-image.alignleft { float: none !important; margin: 0 !important; }

.wp-block-latest-posts__featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.wp-block-latest-posts :where(.wp-block-latest-posts__post-title) {
  grid-column: 2;
  grid-row: 1;
}

.wp-block-latest-posts :where(.wp-block-latest-posts__post-date) {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
}

.wp-block-latest-posts :where(.wp-block-latest-posts__post-author) {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin-left: auto;
}

.wp-block-latest-posts :where(.wp-block-latest-posts__post-excerpt) {
  grid-column: 2;
  grid-row: 3;
}

@media (max-width: 700px) {
  .wp-block-latest-posts__list > li.wp-block-latest-posts__post {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .wp-block-latest-posts__featured-image { grid-column: 1; grid-row: 1 / 2; }

  .wp-block-latest-posts :where(.wp-block-latest-posts__post-title) { grid-row: 2; }
  .wp-block-latest-posts :where(.wp-block-latest-posts__post-date,
                                .wp-block-latest-posts__post-author) { grid-row: 3; justify-self: start; }
  .wp-block-latest-posts :where(.wp-block-latest-posts__post-excerpt) { grid-row: 4; }
}

/* Read-time meta bar */
.read-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.35rem;
  row-gap: 0.35rem;
}

.read-meta .wp-block-group.read-time {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  background: none;
}

.read-meta .wp-block-group.read-time p.read-time.emoji {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.read-meta .wp-block-group.read-time img.emoji {
  width: 1em;
  height: 1em;
  display: block;
}

.read-meta .wp-block-group.read-time .wp-block-post-time-to-read {
  margin: 0;
  text-align: right;
}

/* ════════════════════════════════════════════════════════════════
   11. FORMS (Contact Form 7 tweaks)
   ════════════════════════════════════════════════════════════════ */
.formbox-wrapper {
  max-width: 100%;
  margin-top: 50px;
  margin-inline: auto;
  font-family: var(--font-stack);
  text-align: center;
}

#formbox-form *,
#formbox-form *::before,
#formbox-form *::after { box-sizing: border-box; }

.wpcf7-form br { display: block; margin: 0; }
.wpcf7-form p  { margin: 0; padding-bottom: 10px;}

/* CF7 legacy field sizing — kept as-is to avoid layout breaks */
.wpcf7-text     { height: 25px; width: 202px !important; }
.wpcf7-select   { height: 47px; width: 230px !important; }
.wpcf7-textarea { height: 75px; width: 444px !important; }

.formbox-form { margin-top: 24px; transition: max-height 0.4s ease, opacity 0.4s ease; }
.formbox-hidden  { opacity: 0; max-height: 0; overflow: hidden; }
.formbox-visible { opacity: 1; max-height: 2000px; }

.formbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  justify-content: center;
}

.formbox-grid label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bb-form-label);
  margin-bottom: 4px;
  display: block;
}

.formbox-grid input,
.formbox-grid select,
.formbox-grid textarea {
  width: 92%;
  padding: 10px 12px;
  border: 1px solid var(--bb-form-border);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--bb-form-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--bb-text);
}

.formbox-grid input:focus,
.formbox-grid select:focus,
.formbox-grid textarea:focus {
  border-color: var(--bb-red);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bb-red) 25%, transparent);
  outline: none;
}

.formbox-grid .full { grid-column: 1 / -1; display: flex; justify-content: center; }
.formbox-grid .consent { display: flex; align-items: flex-start; font-size: 0.8rem; gap: 8px; }
.formbox-grid .wpcf7-list-item { display: flex; align-items: center; gap: 6px; }
.formbox-grid .wpcf7-list-item input { transform: scale(1.1); width: 20px; }

.formbox-grid input.wpcf7-submit {
  background: var(--bb-red);
  color: var(--text-light);
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  justify-self: end;
  transition: background 0.2s;
}

.formbox-grid input.wpcf7-submit:hover { background: var(--bb-primary-hover); }

@media (max-width: 960px) { .formbox-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .formbox-grid { grid-template-columns: 1fr; }
  .formbox-grid input.wpcf7-submit { justify-self: stretch; }
}

/* ════════════════════════════════════════════════════════════════
   12. FOOTER
   ════════════════════════════════════════════════════════════════ */
footer {
  box-sizing: border-box;
  width: 100%;
  background: var(--bb-surface2);
  color: var(--secondary);
  padding: 40px 20px;
  font-size: 0.9rem;
  margin: 0 !important;
  border-top: 2px solid var(--bb-border);
}

footer p,
footer li,
footer a {
  color: var(--bb-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Footer nav: two-column, editorial look */
footer .footer-nav .wp-block-navigation__container {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

footer .footer-nav li { break-inside: avoid; margin: 0 0 0.35rem; }
footer .footer-nav a  { text-decoration: none; color: inherit; font-weight: 400; }

footer nav[aria-label="Editorial-Menü DE"],
footer nav[aria-label="Editorial-Menü EN"] { margin: 0; }

.editorial { margin: 0; }

footer nav[aria-label="Editorial-Menü DE"] li,
footer nav[aria-label="Editorial-Menü EN"] li {
  font-size: clamp(1.02rem, 0.2vw + 1rem, 1.08rem);
  line-height: 1.65;
  color: var(--bb-muted);
  font-weight: 400;
  text-transform: none;
  margin: 0;
}

footer nav[aria-label="Editorial-Menü DE"] a,
footer nav[aria-label="Editorial-Menü EN"] a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer nav[aria-label="Editorial-Menü DE"] a:hover,
footer nav[aria-label="Editorial-Menü EN"] a:hover { color: var(--bb-text); }

footer nav[aria-label="Editorial-Menü DE"] a:focus-visible,
footer nav[aria-label="Editorial-Menü EN"] a:focus-visible {
  outline: 2px solid var(--bb-red);
  outline-offset: 2px;
  text-decoration: none;
}

@media (max-width: 640px) {
  footer .wp-block-columns.alignwide {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    flex-direction: column;
  }

  footer .wp-block-column,
  footer .footer-header,
  footer .wp-block-site-title,
  footer .wp-block-site-tagline,
  footer .wp-block-search,
  footer .wp-block-search__inside-wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* Social icon row in footer */
.bb-social { display: flex; gap: 12px; margin-top: 10px; }
.bb-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s;
}

/* Homepage: custom video hero */

.bb-home-hero {
  position: relative;
  padding: clamp(4rem, 4vw, 8rem) 1.5rem;
  margin: 0;
}

.bb-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bb-surface-ghost), transparent 60%),
    repeating-linear-gradient(
      90deg,
      var(--bb-grid-line) 0,
      var(--bb-grid-line) 1px,
      transparent 1px,
      transparent 80px
    );
  pointer-events: none;
}

.bb-home-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.bb-home-hero__content {
  max-width: 680px;
}

.bb-home-hero__lead {
  max-width: 58ch;
}

.bb-home-hero__proof {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.bb-home-hero__proof li {
  background: var(--bb-card-overlay);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-sm);
  padding: 0.95rem 1rem;
  box-shadow: var(--bb-shadow-soft);
  position: relative;
}

.bb-home-hero__proof li::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--bb-radius-sm);
  background: linear-gradient(135deg, var(--bb-bg-sheen), transparent 50%), radial-gradient(circle at 100% 0%, var(--bb-bg-glow), transparent 36%);
  pointer-events: none;
  z-index: 0;
}

.bb-home-hero__proof li > strong,
.bb-home-hero__proof li > span {
  position: relative;
  z-index: 1;
}

.bb-home-hero__proof strong {
  display: block;
  color: var(--bb-text);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1;
  font-weight: 900;
}

.bb-home-hero__proof span {
  display: block;
  margin-top: 0.35rem;
  color: var(--bb-muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.bb-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Portrait technical media frame */

.bb-home-hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  overflow: visible;
  background: transparent;
  border-radius: var(--bb-radius-md);
  box-shadow: none;
  isolation: isolate;
}

.bb-home-hero__media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-md);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-grid-line) 0,
      var(--bb-grid-line) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--bb-radius-md);
  background:
    linear-gradient(90deg, var(--bb-grid-line), transparent 42%),
    linear-gradient(0deg, var(--bb-card-border), transparent 42%);
  pointer-events: none;
}

.bb-home-hero__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--bb-radius-md);
  overflow: hidden;
  box-shadow:
    var(--bb-shadow-card),
    0 0 0 1px var(--bb-card-border) inset;
  filter: grayscale(0.02) contrast(1.03) saturate(1);
}

.bb-home-hero__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(8, 17, 28, 0.88);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.bb-home-hero__play:hover {
  background: rgba(8, 17, 28, 0.98);
}

.bb-home-hero__play:visited {
  color: #fff;
}

.bb-home-hero__play:focus-visible {
  outline: 3px solid var(--bb-red);
  outline-offset: 3px;
}

.bb-home-hero__play[hidden] {
  display: none;
}

@media (max-width: 920px) {
  .bb-home-hero {
    padding: 4rem 1.25rem;
  }

  .bb-home-hero__inner {
    grid-template-columns: 1fr;
  }

  .bb-home-hero__content {
    max-width: none;
  }

  .bb-home-hero__media {
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 5 / 4;
    margin-inline: auto;
  }

  .bb-home-hero__media::before {
    inset: 10px -10px -10px 10px;
  }
}

@media (max-width: 640px) {
  .bb-home-hero__proof {
    grid-template-columns: 1fr;
  }

  .bb-home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bb-home-hero__media {
    aspect-ratio: 4 / 5;
    border-radius: var(--bb-radius-sm);
  }

  .bb-home-hero__media::before,
  .bb-home-hero__media::after,
  .bb-home-hero__video {
    border-radius: var(--bb-radius-sm);
  }
}

/* Homepage: proof band / logo slider */

.bb-proof-band {
  padding: clamp(3.25rem, 5vw, 5.5rem) 1.5rem;
  margin: 0;
}

.bb-proof-band > .bb-proof-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 1300px;
  min-width: 0;
  margin-inline: auto;
}

.bb-proof-band__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-proof-band__content {
  max-width: 820px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bb-proof-band__content h2 {
  max-width: 17ch;
}

.bb-proof-band__text {
  max-width: 68ch;
}

/* Soft logo proof row — no card, low emphasis */

.bb-proof-band__logo-wrap {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.bb-logo-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding-block: 0.25rem;
}



.bb-logo-swiper {
  width: 100%;
  padding: 0.75rem 0;
  overflow: hidden;
}

.bb-logo-swiper .swiper-wrapper {
  align-items: center;
}

.bb-logo-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.bb-logo-swiper .swiper-slide img {
  display: block;
  max-width: 104px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.38;
  transition:
    opacity 160ms ease,
    filter 160ms ease,
    transform 160ms ease;
}

.bb-logo-swiper .swiper-slide img:hover {
  opacity: 0.72;
  filter: grayscale(1);
  transform: translateY(-1px);
}

html.bb-dark-mode .bb-logo-swiper .swiper-slide img,
html.wp-dark-mode-active .bb-logo-swiper .swiper-slide img {
  opacity: 0.46;
  filter: grayscale(1) brightness(1.25);
}

html.bb-dark-mode .bb-logo-swiper .swiper-slide img:hover,
html.wp-dark-mode-active .bb-logo-swiper .swiper-slide img:hover {
  opacity: 0.78;
}

@media (max-width: 920px) {
  .bb-logo-swiper .swiper-slide {
    height: 48px;
  }

  .bb-logo-swiper .swiper-slide img {
    max-width: 92px;
    max-height: 28px;
  }
}

@media (max-width: 640px) {
  .bb-logo-swiper {
    padding: 0.5rem 0;
  }

  .bb-logo-swiper .swiper-slide {
    height: 44px;
  }

  .bb-logo-swiper .swiper-slide img {
    max-width: 82px;
    max-height: 26px;
    opacity: 0.34;
  }
}

/* Homepage: benefits section */

.bb-benefits {
  padding: clamp(4rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-benefits__inner {
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-benefits__header {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.bb-benefits__header h2 {
  max-width: 15ch;
}

.bb-benefits__intro {
  max-width: 66ch;
}

.bb-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bb-benefit-card {
  position: relative;
  min-height: 260px;
  padding: 1.5rem;
  border-radius: var(--bb-radius-md);
  background:var(--bb-card-overlay);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-benefit-card__number {
  display: inline-flex;
  margin-bottom: 3.25rem;
  color: var(--bb-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.bb-benefit-card h3 {
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.bb-benefit-card p {
  margin: 0.85rem 0 0;
  color: var(--bb-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .bb-benefits__grid {
    grid-template-columns: 1fr;
  }

  .bb-benefit-card {
    min-height: auto;
  }

  .bb-benefit-card__number {
    margin-bottom: 2rem;
  }
}

/* Homepage: process section */

.bb-process {
  padding: clamp(4rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-process__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-process__header {
  max-width: 800px;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.bb-process__header h2 {
  max-width: 16ch;
}

.bb-process__intro {
  max-width: 72ch;
}

.bb-process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bb-process__steps::after {
  content: "";
  position: absolute;
  top: 2.8rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
  pointer-events: none;
}

.bb-process-step {
  position: relative;
  min-height: 260px;
  padding: 1.4rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-overlay);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--bb-bg-sheen), transparent 50%),
    radial-gradient(circle at 100% 0%, var(--bb-bg-glow), transparent 36%);
  pointer-events: none;
}

.bb-process-step__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 4rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-text);
  color: var(--bb-surface);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(18, 25, 38, 0.18);
}

.bb-process-step:first-child .bb-process-step__number {
  background: var(--bb-red);
  color: #fff;
}

.bb-process-step h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 1.45vw, 1.38rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.bb-process-step p {
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  color: var(--bb-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

html.bb-dark-mode .bb-process-step__number,
html.wp-dark-mode-active .bb-process-step__number {
  color: var(--bb-text);
  background: var(--bb-surface);
}

html.bb-dark-mode .bb-process-step:first-child .bb-process-step__number,
html.wp-dark-mode-active .bb-process-step:first-child .bb-process-step__number {
  color: #fff;
  background: var(--bb-red);
}

@media (max-width: 920px) {
  .bb-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-process__steps::after {
    display: none;
  }

  .bb-process-step {
    min-height: 230px;
  }

  .bb-process-step__number {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 640px) {
  .bb-process__steps {
    grid-template-columns: 1fr;
  }

  .bb-process-step {
    min-height: auto;
    border-radius: var(--bb-radius-sm);
  }

  .bb-process-step__number {
    margin-bottom: 2rem;
  }
}

/* Homepage: use cases section */

.bb-usecases {
  padding: clamp(4rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-usecases__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-usecases__header {
  max-width: 820px;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.bb-usecases__header h2 {
  max-width: 15ch;
}

.bb-usecases__intro {
  max-width: 72ch;
}

.bb-usecases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bb-usecase-card {
  position: relative;
  min-height: 220px;
  padding: 1.45rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-overlay);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.bb-usecase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, var(--bb-bg-glow), transparent 34%),
    linear-gradient(135deg, var(--bb-bg-sheen), transparent 48%);
  pointer-events: none;
}

.bb-usecase-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  max-width: 24ch;
}

.bb-usecase-card p {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--bb-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.bb-usecase-card:hover {
  transform: translateY(-2px);
  border-color: var(--bb-blue-soft);
  border-left: 4px solid var(--bb-red);
  box-shadow: var(--bb-shadow-hover);
}

@media (max-width: 920px) {
  .bb-usecases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-usecase-card {
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .bb-usecases__grid {
    grid-template-columns: 1fr;
  }

  .bb-usecase-card {
    min-height: auto;
    border-radius: var(--bb-radius-sm);
  }

  .bb-usecase-card h3 {
    max-width: none;
  }
}

/* Homepage: video overview section */

.bb-video-section {
  padding: clamp(4rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-video-section__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.bb-video-section__content {
  max-width: 460px;
}

.bb-video-section__content h2 {
  max-width: 13ch;
}

.bb-video-section__intro {
  max-width: 52ch;
}

.bb-video-section__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--bb-radius-md);
  background: var(--bb-text);
  box-shadow:
    0 28px 70px rgba(18, 25, 38, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  overflow: hidden;
  isolation: isolate;
}

.bb-video-section__frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-md);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-video-section__frame::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  width: 88px;
  height: 3px;
  background: var(--bb-red);
  z-index: 2;
  pointer-events: none;
}

.bb-video-section__frame iframe,
.bb-video-section__frame video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

html.bb-dark-mode .bb-video-section__frame,
html.wp-dark-mode-active .bb-video-section__frame {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px var(--bb-card-border) inset;
}

@media (max-width: 920px) {
  .bb-video-section__inner {
    grid-template-columns: 1fr;
  }

  .bb-video-section__content {
    max-width: 720px;
  }

  .bb-video-section__content h2 {
    max-width: 16ch;
  }
}

@media (max-width: 640px) {
  .bb-video-section__frame {
    border-radius: var(--bb-radius-sm);
  }

  .bb-video-section__frame::before {
    inset: 10px -10px -10px 10px;
    border-radius: var(--bb-radius-sm);
  }
}

/* Homepage: FAQ section */

.bb-faq {
  padding: clamp(4rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-faq__inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
}

.bb-faq__header {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.bb-faq__header h2 {
  max-width: 16ch;
}

.bb-faq__intro {
  max-width: 68ch;
}

.bb-faq__list {
  display: grid;
  gap: 0.75rem;
}

.bb-faq-item {
  position: relative;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-overlay);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-soft);
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
  backdrop-filter: blur(4px);
}

.bb-faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, var(--bb-bg-glow), transparent 34%),
    linear-gradient(135deg, var(--bb-bg-sheen), transparent 48%);
  pointer-events: none;
}

.bb-faq-item.is-open {
  border-color: var(--bb-card-border);
  border-left: 4px solid var(--bb-red);
  box-shadow: var(--bb-shadow-card);
  backdrop-filter: blur(4px);
}

.bb-faq-item__heading {
  position: relative;
  z-index: 1;
  margin: 0;
}

.bb-faq-item__button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border: 0;
  background: transparent;
  color: var(--bb-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bb-faq-item__button span:first-child {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.bb-faq-item__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bb-red) 28%, transparent);
  outline-offset: -3px;
}

.bb-faq-item__icon {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-bg);
  border: 1px solid var(--bb-card-border);
  flex: 0 0 auto;
}

.bb-faq-item__icon::before,
.bb-faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.72rem;
  height: 2px;
  background: var(--bb-text);
  transform: translate(-50%, -50%);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.bb-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.bb-faq-item.is-open .bb-faq-item__icon {
  background: color-mix(in srgb, var(--bb-red) 8%, transparent);
  border-color: color-mix(in srgb, var(--bb-red) 18%, transparent);
}

.bb-faq-item.is-open .bb-faq-item__icon::before,
.bb-faq-item.is-open .bb-faq-item__icon::after {
  background: var(--bb-red);
}

.bb-faq-item.is-open .bb-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.bb-faq-item__panel {
  position: relative;
  z-index: 1;
  padding: 0 1.35rem 1.35rem;
}

.bb-faq-item__panel p {
  margin: 0;
  color: var(--bb-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 76ch;
}

@media (max-width: 640px) {
  .bb-faq-item {
    border-radius: var(--bb-radius-sm);
  }

  .bb-faq-item__button {
    padding: 1.1rem;
  }

  .bb-faq-item__panel {
    padding: 0 1.1rem 1.2rem;
  }
}

/* Homepage typography (DE / EN): use the copy column before wrapping words.
   Keep the scale local while other page layouts retain their own typography. */
:is(.page-id-2, .page-id-2402) .bb-home-hero .bb-hero-heading {
  max-width: 100%;
  min-width: 0;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  line-height: 1.12;
  /* Only editorial soft hyphens may split hero words. In the DE page content,
     use Inspektions&shy;systeme to offer that break without forcing a new line. */
  -webkit-hyphens: manual;
  hyphens: manual;
  overflow-wrap: anywhere;
}

:is(.page-id-2, .page-id-2402) :is(
  .bb-proof-band__content,
  .bb-benefits__header,
  .bb-process__header,
  .bb-usecases__header,
  .bb-video-section__content,
  .bb-faq__header
) h2 {
  max-width: 100%;
  min-width: 0;
  font-size: clamp(1.625rem, 1.375rem + 1vw, 2.5rem);
  line-height: 1.18;
  hyphens: manual;
  overflow-wrap: anywhere;
}

:is(.page-id-2, .page-id-2402) :is(
  .bb-benefit-card,
  .bb-process-step,
  .bb-usecase-card
) h3 {
  max-width: 100%;
  font-size: clamp(1.25rem, 1.125rem + 0.5vw, 1.5rem);
  line-height: 1.25;
  hyphens: manual;
  overflow-wrap: anywhere;
}

:is(.page-id-2, .page-id-2402) .bb-home-hero__inner > * {
  min-width: 0;
}

@media (max-width: 920px) {
  :is(.page-id-2, .page-id-2402) .bb-home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Insights: hero */

.bb-insights-hero {
  padding-block: clamp(72px, 8vw, 128px) clamp(48px, 6vw, 88px);
  margin: 0;
}

.bb-insights-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--container-max), 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

.bb-insights-hero__copy {
  max-width: 760px;
  min-width: 0;
}

.bb-insights-hero__title {
  max-width: 25ch;
}

.bb-insights-hero__title::after {
  content: "";
  display: block;
  width: clamp(72px, 9vw, 136px);
  height: 5px;
  margin-top: clamp(22px, 2.4vw, 34px);
  background: var(--bb-red);
  border-radius: var(--bb-radius-pill);
}

.bb-insights-hero__text {
  max-width: 62ch;
}

.bb-insights-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(26px, 3vw, 42px);
}

.bb-insights-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0.55rem 0.9rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-soft);
  color: var(--bb-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.bb-insights-hero__chips span::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.55rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-red);
}

.bb-insights-hero__panel {
  position: relative;
  min-height: clamp(280px, 34vw, 420px);
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--bb-radius-lg);
  background:
    linear-gradient(145deg, var(--bb-surface), var(--bb-bg));
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-insights-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bb-red) 0 6px, transparent 6px),
    radial-gradient(circle at 100% 0%, var(--bb-bg-glow), transparent 34%),
    linear-gradient(135deg, var(--bb-bg-sheen), transparent 52%);
  pointer-events: none;
}

.bb-insights-hero__panel::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--bb-card-border);
  box-shadow:
    inset 0 0 0 24px color-mix(in srgb, var(--bb-surface) 28%, transparent),
    inset 0 0 0 48px color-mix(in srgb, var(--bb-muted) 5%, transparent);
  pointer-events: none;
}

.bb-insights-hero__panel-mark {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(32px, 4vw, 54px);
  border-radius: 50%;
  background: var(--bb-red);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.95rem;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--bb-red) 22%, transparent);
}

.bb-insights-hero__panel-eyebrow {
  position: relative;
  z-index: 1;
}

.bb-insights-hero__panel-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.7vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--bb-text);
}

.bb-insights-hero__panel-text {
  position: relative;
  z-index: 1;
  max-width: 42ch;
  margin-top: 1.2rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--bb-muted);
}

@media (max-width: 920px) {
  .bb-insights-hero__inner {
    grid-template-columns: 1fr;
  }

  .bb-insights-hero__title {
    max-width: 25ch;
  }

  .bb-insights-hero__panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .bb-insights-hero {
    padding-block: 56px 44px;
  }

  .bb-insights-hero__inner {
    width: min(100% - 32px, var(--container-max));
  }

  .bb-insights-hero__title {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .bb-insights-hero__chips {
    gap: 0.55rem;
  }

  .bb-insights-hero__chips span {
    font-size: 0.82rem;
    padding: 0.48rem 0.72rem;
  }

  .bb-insights-hero__panel {
    padding: 26px;
  }
}

/* About: hero */

.bb-about-hero {
  padding: clamp(4rem, 4vw, 8rem) 1.5rem;
  margin: 0;
}

.bb-about-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.bb-about-hero__content {
  max-width: 680px;
}

.bb-about-hero__lead {
  max-width: 58ch;
}

.bb-about-hero__proof {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.bb-about-hero__proof li {
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-sm);
  padding: 0.95rem 1rem;
  box-shadow: var(--bb-shadow-soft);
}

.bb-about-hero__proof strong {
  display: block;
  color: var(--bb-text);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1;
  font-weight: 900;
}

.bb-about-hero__proof span {
  display: block;
  margin-top: 0.35rem;
  color: var(--bb-muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.bb-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* About: hero group/location cards */

.bb-about-hero__group {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  min-height: 520px;
  isolation: isolate;
}

.bb-about-hero__group::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-md);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-about-hero__group::after {
  content: "";
  position: absolute;
  inset: 36px 22px 22px 36px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--bb-red) 20%, transparent);
  border-radius: var(--bb-radius-md);
  transform: rotate(-3deg);
  pointer-events: none;
}

.bb-about-hero__group-card {
  position: relative;
  padding: 0;
  min-height: 145px;
  border-radius: var(--bb-radius-sm);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  overflow: hidden;
}

.bb-about-hero__group-card--main {
  min-height: 210px;
  margin-bottom: 0.85rem;
}

.bb-about-hero__group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.bb-about-hero__group-grid .bb-about-hero__group-card:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 145px;
}

.bb-about-hero__group-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.bb-about-hero__group-card--main .bb-about-hero__group-image {
  height: 124px;
}

.bb-about-hero__group-grid .bb-about-hero__group-card:last-child .bb-about-hero__group-image {
  height: 100%;
  min-height: 145px;
}

.bb-about-hero__group-body {
  position: relative;
  z-index: 2;
  min-height: 112px;
  padding: 1.1rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, var(--bb-surface), var(--bb-bg)),
    var(--bb-card-bg-soft);
}

.bb-about-hero__group-card--main .bb-about-hero__group-body {
  min-height: 108px;
}

.bb-about-hero__group-grid .bb-about-hero__group-card:last-child .bb-about-hero__group-body {
  min-height: 145px;
}

.bb-about-hero__group-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 60%);
  pointer-events: none;
}

.bb-about-hero__group-body span {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.55rem;
  border-radius: var(--bb-radius-pill);
  color: var(--bb-red);
  background: color-mix(in srgb, var(--bb-red) 8%, transparent);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bb-about-hero__group-body strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--bb-text);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.bb-about-hero__group-body small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.45rem;
  color: var(--bb-muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

@media (max-width: 920px) {
  .bb-about-hero {
    padding: 4rem 1.25rem;
  }

  .bb-about-hero__inner {
    grid-template-columns: 1fr;
  }

  .bb-about-hero__content {
    max-width: none;
  }

  .bb-about-hero__group {
    justify-self: stretch;
    width: 100%;
    max-width: 620px;
    min-height: auto;
    margin-inline: auto;
  }

  .bb-about-hero__group::before {
    inset: 10px -10px -10px 10px;
  }
}

@media (max-width: 640px) {
  .bb-about-hero__proof {
    grid-template-columns: 1fr;
  }

  .bb-about-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bb-about-hero__group-grid {
    grid-template-columns: 1fr;
  }

  .bb-about-hero__group-grid .bb-about-hero__group-card:last-child {
    grid-column: auto;
    display: block;
  }

  .bb-about-hero__group-grid .bb-about-hero__group-card:last-child .bb-about-hero__group-image {
    height: 92px;
    min-height: 0;
  }

  .bb-about-hero__group-grid .bb-about-hero__group-card:last-child .bb-about-hero__group-body {
    min-height: 112px;
  }

  .bb-about-hero__group,
  .bb-about-hero__group::before,
  .bb-about-hero__group::after,
  .bb-about-hero__group-card {
    border-radius: var(--bb-radius-sm);
  }
}

/* About: proof / experience section */

.bb-about-proof {
  padding: clamp(4.5rem, 6vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-about-proof__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-about-proof__head {
  max-width: 820px;
}

.bb-about-proof__lead {
  max-width: 78ch;
}

.bb-about-proof__grid {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.bb-about-proof__card {
  position: relative;
  min-height: 80px;
  padding: 1.5rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-about-proof__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.5rem;
  right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
  z-index: 3;
}

.bb-about-proof__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, var(--bb-bg-glow), transparent 34%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-about-proof__card--large {
  grid-row: span 2;
  min-height: 350px;
}

.bb-about-proof__number {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--bb-text);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.bb-about-proof__card h3 {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--bb-text);
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.bb-about-proof__card p {
  position: relative;
  z-index: 1;
  margin: 0.8rem 0 0;
  color: var(--bb-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 34ch;
}

.bb-about-proof__card--large p {
  max-width: 42ch;
  font-size: 1rem;
}

@media (max-width: 920px) {
  .bb-about-proof {
    padding: 4rem 1.25rem;
  }

  .bb-about-proof__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bb-about-proof__card--large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .bb-about-proof__grid {
    grid-template-columns: 1fr;
  }

  .bb-about-proof__card,
  .bb-about-proof__card--large {
    min-height: auto;
  }

  .bb-about-proof__number {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }
}

/* About: purpose / vision / people section */

.bb-about-purpose {
  padding: clamp(4.5rem, 6vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-about-purpose__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 420px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.bb-about-purpose__content {
  max-width: 760px;
}

.bb-about-purpose__lead {
  max-width: 72ch;
}

.bb-about-purpose__statements {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bb-about-purpose__statement {
  position: relative;
  min-height: 250px;
  padding: 1.5rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-about-purpose__statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
  z-index: 3;
}

.bb-about-purpose__statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-about-purpose__statement span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--bb-radius-pill);
  background: color-mix(in srgb, var(--bb-red) 8%, transparent);
  color: var(--bb-red);
  font-size: 0.76rem;
  font-weight: 900;
}

.bb-about-purpose__statement h3 {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0;
  color: var(--bb-text);
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.bb-about-purpose__statement p {
  position: relative;
  z-index: 1;
  margin: 0.8rem 0 0;
  color: var(--bb-muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.bb-about-purpose__people {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  display: grid;
  gap: 1rem;
  isolation: isolate;
}

.bb-about-purpose__people::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-md);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-about-purpose__person {
  position: relative;
  min-height: 138px;
  padding: 1rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.bb-about-purpose__person::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-about-purpose__person:hover {
  transform: translateY(-2px);
  border-color: var(--bb-card-border);
  box-shadow: var(--bb-shadow-hover);
}

.bb-about-purpose__person--large {
  min-height: 220px;
  grid-template-columns: 140px 1fr;
}

.bb-about-purpose__person img {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: var(--bb-radius-pill);
  object-fit: cover;
  object-position: center top;
  transition:
    transform 220ms ease,
    filter 220ms ease;
  transform-origin: center;
  will-change: transform;
}

.bb-about-purpose__person:hover img {
  transform: scale(1.06);
  filter: contrast(1.03) saturate(1.03);
}

.bb-about-purpose__person--large img {
  width: 140px;
  height: 140px;
}

.bb-about-purpose__person div {
  position: relative;
  z-index: 1;
}

.bb-about-purpose__person strong {
  display: block;
  color: var(--bb-text);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.bb-about-purpose__person span {
  display: block;
  margin-top: 0.35rem;
  color: var(--bb-muted);
  font-size: 0.84rem;
  line-height: 1.3;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .bb-about-purpose__person,
  .bb-about-purpose__person img {
    transition: none;
  }

  .bb-about-purpose__person:hover,
  .bb-about-purpose__person:hover img {
    transform: none;
  }
}

@media (max-width: 920px) {
  .bb-about-purpose {
    padding: 4rem 1.25rem;
  }

  .bb-about-purpose__inner {
    grid-template-columns: 1fr;
  }

  .bb-about-purpose__content {
    max-width: none;
  }

  .bb-about-purpose__people {
    justify-self: stretch;
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .bb-about-purpose__statements {
    grid-template-columns: 1fr;
  }

  .bb-about-purpose__person,
  .bb-about-purpose__person--large {
    grid-template-columns: 82px 1fr;
    min-height: auto;
  }

  .bb-about-purpose__person img,
  .bb-about-purpose__person--large img {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 460px) {
  .bb-about-purpose__person,
  .bb-about-purpose__person--large {
    grid-template-columns: 1fr;
  }

  .bb-about-purpose__person img,
  .bb-about-purpose__person--large img {
    width: 96px;
    height: 96px;
  }
}

/* Track & Trace: hero */

.bb-tt-hero {
  padding: clamp(4rem, 6vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-tt-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-tt-hero__content {
  max-width: 680px;
}

.bb-tt-hero__lead {
  max-width: 60ch;
}

.bb-tt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.bb-tt-hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 620px);
  isolation: isolate;
}

.bb-tt-hero__visual::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-lg);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-tt-hero__media {
  position: relative;
  min-height: clamp(280px, 34vw, 420px);
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: var(--bb-radius-lg);
  background:
    linear-gradient(135deg, var(--bb-surface), var(--bb-bg)),
    var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-tt-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 10%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-tt-hero__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.02) saturate(0.96);
}

.bb-tt-hero__proof {
  position: relative;
  z-index: 3;
  margin-top: -2.25rem;
  margin-inline: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 0.75rem;
}

.bb-tt-hero__proof-card {
  position: relative;
  min-height: 92px;
  padding: 1rem;
  border-radius: var(--bb-radius-sm);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-soft);
  overflow: hidden;
}

.bb-tt-hero__proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-tt-hero__proof-card--large::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-tt-hero__proof-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.bb-tt-hero__proof-card--large strong {
  color: var(--bb-red);
}

.bb-tt-hero__proof-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.45rem;
  color: var(--bb-muted);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 700;
}

@media (max-width: 920px) {
  .bb-tt-hero {
    padding: 4rem 1.25rem;
  }

  .bb-tt-hero__inner {
    grid-template-columns: 1fr;
  }

  .bb-tt-hero__content {
    max-width: none;
  }

  .bb-tt-hero__visual {
    justify-self: stretch;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .bb-tt-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bb-tt-hero__proof {
    margin-top: 1rem;
    margin-inline: 0;
    grid-template-columns: 1fr;
  }

  .bb-tt-hero__media,
  .bb-tt-hero__visual::before,
  .bb-tt-hero__proof-card {
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-hero__media {
    min-height: auto;
  }
}

/* Track & Trace: capabilities / proof section */

.bb-tt-capabilities {
  padding: clamp(4rem, 6vw, 6.5rem) 1.5rem;
  margin: 0;
}

.bb-tt-capabilities__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-tt-capabilities__head {
  max-width: 820px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.bb-tt-capabilities__head h2 {
  max-width: 17ch;
}

.bb-tt-capabilities__lead {
  max-width: 72ch;
}

.bb-tt-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bb-tt-capability-card {
  position: relative;
  min-height: 240px;
  padding: 1.45rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.bb-tt-capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-tt-capability-card::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 1.45rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-tt-capability-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bb-shadow-hover);
}

.bb-tt-capability-card__icon {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bb-radius-sm);
  background: color-mix(in srgb, var(--bb-red) 9%, transparent);
  color: var(--bb-red);
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.bb-tt-capability-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.bb-tt-capability-card p {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  color: var(--bb-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .bb-tt-capabilities {
    padding: 4rem 1.25rem;
  }

  .bb-tt-capabilities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-tt-capability-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .bb-tt-capabilities__grid {
    grid-template-columns: 1fr;
  }

  .bb-tt-capability-card {
    min-height: auto;
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-capability-card__icon {
    margin-bottom: 1.6rem;
  }
}

/* Track & Trace: transparency section */

.bb-tt-transparency {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-tt-transparency__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-tt-transparency__media {
  position: relative;
  min-height: clamp(420px, 46vw, 620px);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  isolation: isolate;
}

.bb-tt-transparency__media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-lg);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-tt-transparency__media::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  width: 96px;
  height: 3px;
  background: var(--bb-red);
  z-index: 2;
  pointer-events: none;
}

.bb-tt-transparency__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(0.96);
}

.bb-tt-transparency__content {
  max-width: 760px;
}

.bb-tt-transparency__content h2 {
  max-width: 16ch;
}

.bb-tt-transparency__lead {
  max-width: 70ch;
}

.bb-tt-transparency__grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bb-tt-info-card {
  position: relative;
  min-height: 190px;
  padding: 1.35rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-soft);
  overflow: hidden;
}

.bb-tt-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-tt-info-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 1.35rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-tt-info-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.bb-tt-info-card p {
  position: relative;
  z-index: 1;
  margin: 0.8rem 0 0;
  color: var(--bb-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .bb-tt-transparency {
    padding: 4rem 1.25rem;
  }

  .bb-tt-transparency__inner {
    grid-template-columns: 1fr;
  }

  .bb-tt-transparency__media {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
    min-height: 520px;
  }

  .bb-tt-transparency__content {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .bb-tt-transparency__media {
    min-height: 420px;
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-transparency__media::before {
    inset: 10px -10px -10px 10px;
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-transparency__grid {
    grid-template-columns: 1fr;
  }

  .bb-tt-info-card {
    min-height: auto;
    border-radius: var(--bb-radius-sm);
  }
}

/* Track & Trace: inline quality integration */

.bb-tt-inline {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-tt-inline__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-tt-inline__content {
  max-width: 760px;
}

.bb-tt-inline__content h2 {
  max-width: 17ch;
}

.bb-tt-inline__lead {
  max-width: 70ch;
}

.bb-tt-inline__points {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1rem;
}

.bb-tt-inline-point {
  position: relative;
  min-height: 150px;
  padding: 1.25rem 1.35rem 1.25rem 5rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-soft);
  overflow: hidden;
}

.bb-tt-inline-point::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-tt-inline-point span {
  position: absolute;
  left: 1.35rem;
  top: 1.25rem;
  z-index: 1;
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bb-radius-pill);
  background: color-mix(in srgb, var(--bb-red) 9%, transparent);
  color: var(--bb-red);
  font-size: 0.82rem;
  font-weight: 900;
}

.bb-tt-inline-point h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.bb-tt-inline-point p {
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  color: var(--bb-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.bb-tt-inline__media {
  position: relative;
  min-height: clamp(440px, 48vw, 640px);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  isolation: isolate;
}

.bb-tt-inline__media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-lg);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-tt-inline__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(0.96);
}

@media (max-width: 920px) {
  .bb-tt-inline {
    padding: 4rem 1.25rem;
  }

  .bb-tt-inline__inner {
    grid-template-columns: 1fr;
  }

  .bb-tt-inline__media {
    order: -1;
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
    min-height: 520px;
  }

  .bb-tt-inline__content {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .bb-tt-inline__media {
    min-height: 420px;
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-inline__media::before {
    inset: 10px -10px -10px 10px;
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-inline-point {
    min-height: auto;
    padding: 1.25rem;
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-inline-point span {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 1.2rem;
  }
}

/* Track & Trace: process section */

.bb-tt-process {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-tt-process__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-tt-process__head {
  max-width: 860px;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.bb-tt-process__head h2 {
  max-width: 18ch;
}

.bb-tt-process__lead {
  max-width: 76ch;
}

.bb-tt-process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bb-tt-process-step {
  position: relative;
  min-height: 250px;
  padding: 1.45rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.bb-tt-process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-tt-process-step::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 1.45rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-tt-process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--bb-shadow-hover);
}

.bb-tt-process-step__number {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bb-radius-pill);
  background: color-mix(in srgb, var(--bb-red) 9%, transparent);
  color: var(--bb-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.bb-tt-process-step h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.bb-tt-process-step p {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  color: var(--bb-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.bb-anchor-offset {
  display: block;
  position: relative;
  top: -90px;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 920px) {
  .bb-tt-process {
    padding: 4rem 1.25rem;
  }

  .bb-tt-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-tt-process-step {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .bb-tt-process__steps {
    grid-template-columns: 1fr;
  }

  .bb-tt-process-step {
    min-height: auto;
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-process-step__number {
    margin-bottom: 1.75rem;
  }
}

/* Track & Trace: CTA section */

.bb-tt-cta {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-tt-cta__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-tt-cta__content {
  max-width: 760px;
}

.bb-tt-cta__content h2 {
  max-width: 17ch;
}

.bb-tt-cta__lead {
  max-width: 70ch;
}

.bb-tt-cta__panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-tt-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-tt-cta__panel::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 1.5rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-tt-cta__panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.bb-tt-cta__panel ul {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.bb-tt-cta__panel li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--bb-muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.bb-tt-cta__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-red);
}

.bb-tt-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (max-width: 920px) {
  .bb-tt-cta {
    padding: 4rem 1.25rem;
  }

  .bb-tt-cta__inner {
    grid-template-columns: 1fr;
  }

  .bb-tt-cta__content {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .bb-tt-cta__panel {
    border-radius: var(--bb-radius-sm);
  }

  .bb-tt-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Track & Trace: FAQ section */

.bb-tt-faq {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-tt-faq__inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
}

.bb-tt-faq__head {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.bb-tt-faq__head h2 {
  max-width: 15ch;
}

.bb-tt-faq__lead {
  max-width: 70ch;
}

.bb-tt-faq__list {
  display: grid;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .bb-tt-faq {
    padding: 4rem 1.25rem;
  }
}

/* Service: hero */

.bb-service-hero {
  padding: clamp(4rem, 6vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-service-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-service-hero__content {
  max-width: 700px;
}

.bb-service-hero__lead {
  max-width: 62ch;
}

.bb-service-hero__availability {
  position: relative;
  width: min(100%, 420px);
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-soft);
  overflow: hidden;
}

.bb-service-hero__availability::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-service-hero__availability::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 1.35rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-service-hero__availability span,
.bb-service-hero__availability strong,
.bb-service-hero__availability small {
  position: relative;
  z-index: 1;
  display: block;
}

.bb-service-hero__availability span {
  color: var(--bb-muted);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
}

.bb-service-hero__availability strong {
  margin-top: 0.35rem;
  color: var(--bb-text);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.bb-service-hero__availability small {
  margin-top: 0.45rem;
  color: var(--bb-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.bb-service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.bb-service-hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  min-height: clamp(320px, 38vw, 480px);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  isolation: isolate;
}

.bb-service-hero__media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-lg);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-service-hero__media::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  width: 96px;
  height: 3px;
  background: var(--bb-red);
  z-index: 2;
  pointer-events: none;
}

.bb-service-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(0.96);
}

@media (max-width: 920px) {
  .bb-service-hero {
    padding: 4rem 1.25rem;
  }

  .bb-service-hero__inner {
    grid-template-columns: 1fr;
  }

  .bb-service-hero__content {
    max-width: none;
  }

  .bb-service-hero__media {
    justify-self: stretch;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .bb-service-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bb-service-hero__media,
  .bb-service-hero__media::before,
  .bb-service-hero__availability {
    border-radius: var(--bb-radius-sm);
  }

  .bb-service-hero__media {
    min-height: 320px;
  }
}

/* Service: topics / service cases */

.bb-service-topics {
  padding: clamp(4rem, 6vw, 6.5rem) 1.5rem;
  margin: 0;
}

.bb-service-topics__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-service-topics__head {
  max-width: 820px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.bb-service-topics__head h2 {
  max-width: 17ch;
}

.bb-service-topics__lead {
  max-width: 72ch;
}

.bb-service-topics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.bb-service-topic-card {
  position: relative;
  min-height: 240px;
  padding: 1.45rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.bb-service-topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-service-topic-card::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 1.45rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-service-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bb-shadow-hover);
}

.bb-service-topic-card__number {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bb-radius-pill);
  background: color-mix(in srgb, var(--bb-red) 9%, transparent);
  color: var(--bb-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.bb-service-topic-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.bb-service-topic-card p {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  color: var(--bb-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .bb-service-topics {
    padding: 4rem 1.25rem;
  }

  .bb-service-topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-service-topic-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .bb-service-topics__grid {
    grid-template-columns: 1fr;
  }

  .bb-service-topic-card {
    min-height: auto;
    border-radius: var(--bb-radius-sm);
  }

  .bb-service-topic-card__number {
    margin-bottom: 1.75rem;
  }
}

/* Service: helpful information section */

.bb-service-info {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-service-info__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-service-info__content {
  max-width: 760px;
}

.bb-service-info__content h2 {
  max-width: 17ch;
}

.bb-service-info__lead {
  max-width: 70ch;
}

.bb-service-info__panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-service-info__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-service-info__panel::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 1.5rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-service-info__panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.bb-service-info__panel ul {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.bb-service-info__panel li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--bb-muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.bb-service-info__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-red);
}

@media (max-width: 920px) {
  .bb-service-info {
    padding: 4rem 1.25rem;
  }

  .bb-service-info__inner {
    grid-template-columns: 1fr;
  }

  .bb-service-info__content {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .bb-service-info__panel {
    border-radius: var(--bb-radius-sm);
  }
}

/* Service: request / future form section */

.bb-service-request {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-service-request__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-service-request__content {
  max-width: 760px;
}

.bb-service-request__content h2 {
  max-width: 15ch;
}

.bb-service-request__lead {
  max-width: 68ch;
}

.bb-service-request__panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-service-request__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-service-request__panel::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 1.5rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-service-request__panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.bb-service-request__panel p {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--bb-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.bb-service-request__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (max-width: 920px) {
  .bb-service-request {
    padding: 4rem 1.25rem;
  }

  .bb-service-request__inner {
    grid-template-columns: 1fr;
  }

  .bb-service-request__content {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .bb-service-request__panel {
    border-radius: var(--bb-radius-sm);
  }

  .bb-service-request__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Return form: hero */

.bb-return-hero {
  padding: clamp(4rem, 6vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-return-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-return-hero__content {
  max-width: 700px;
}

.bb-return-hero__lead {
  max-width: 62ch;
}

.bb-return-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.bb-return-hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 640px);
  aspect-ratio: 16 / 9;
  min-height: unset;
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
  isolation: isolate;
}

.bb-return-hero__media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border-radius: var(--bb-radius-lg);
  background:
    var(--bb-media-frame-bg),
    repeating-linear-gradient(
      90deg,
      var(--bb-card-border) 0,
      var(--bb-card-border) 1px,
      transparent 1px,
      transparent 28px
    );
  border: 1px solid var(--bb-card-border);
}

.bb-return-hero__media::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  width: 96px;
  height: 3px;
  background: var(--bb-red);
  z-index: 2;
  pointer-events: none;
}

.bb-return-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  padding: 0;
  filter: contrast(1.02) saturate(0.96);
}

/* Return form: steps */

.bb-return-steps {
  padding: clamp(4rem, 6vw, 6.5rem) 1.5rem;
  margin: 0;
}

.bb-return-steps__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
}

.bb-return-steps__head {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.bb-return-steps__head h2 {
  max-width: 16ch;
}

.bb-return-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bb-return-step {
  position: relative;
  min-height: 220px;
  padding: 1.45rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-return-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-return-step::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 1.45rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-return-step span {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bb-radius-pill);
  background: color-mix(in srgb, var(--bb-red) 9%, transparent);
  color: var(--bb-red);
  font-size: 0.82rem;
  font-weight: 900;
}

.bb-return-step h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.bb-return-step p {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  color: var(--bb-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.bb-return-note {
  position: relative;
  margin-top: 1rem;
  padding: 1.45rem;
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-soft);
  overflow: hidden;
}

.bb-return-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-return-note h3,
.bb-return-note p {
  position: relative;
  z-index: 1;
}

.bb-return-note h3 {
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.bb-return-note p {
  margin: 0.75rem 0 0;
  color: var(--bb-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 82ch;
}

@media (max-width: 920px) {
  .bb-return-hero__inner {
    grid-template-columns: 1fr;
  }

  .bb-return-hero__media {
    justify-self: stretch;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .bb-return-hero__media {
    aspect-ratio: 4 / 3;
    min-height: auto;
  }
}

@media (max-width: 920px) {
  .bb-return-hero,
  .bb-return-steps {
    padding: 4rem 1.25rem;
  }

  .bb-return-hero__inner {
    grid-template-columns: 1fr;
  }

  .bb-return-hero__content {
    max-width: none;
  }

  .bb-return-hero__media {
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .bb-return-steps__grid {
    grid-template-columns: 1fr;
  }

  .bb-return-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .bb-return-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bb-return-hero__media,
  .bb-return-hero__media::before,
  .bb-return-step,
  .bb-return-note {
    border-radius: var(--bb-radius-sm);
  }

  .bb-return-hero__media {
    min-height: 280px;
  }
}

/* Return form: contact CTA */

.bb-return-contact {
  padding: clamp(4.5rem, 7vw, 7rem) 1.5rem;
  margin: 0;
}

.bb-return-contact__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bb-content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.bb-return-contact__content {
  max-width: 760px;
}

.bb-return-contact__content h2 {
  max-width: 17ch;
}

.bb-return-contact__lead {
  max-width: 70ch;
}

.bb-return-contact__panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-card-bg-soft);
  border: 1px solid var(--bb-card-border);
  box-shadow: var(--bb-shadow-card);
  overflow: hidden;
}

.bb-return-contact__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, var(--bb-bg-glow), transparent 36%),
    linear-gradient(120deg, var(--bb-bg-sheen), transparent 58%);
  pointer-events: none;
}

.bb-return-contact__panel::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-red), transparent);
}

.bb-return-contact__panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bb-text);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.bb-return-contact__panel p {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--bb-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.bb-return-contact__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (max-width: 920px) {
  .bb-return-contact {
    padding: 4rem 1.25rem;
  }

  .bb-return-contact__inner {
    grid-template-columns: 1fr;
  }

  .bb-return-contact__content {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .bb-return-contact__panel {
    border-radius: var(--bb-radius-sm);
  }

  .bb-return-contact__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Jobs page: hero */

.bb-jobs-hero {
  padding-block: clamp(64px, 8vw, 112px);
}

.bb-jobs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.bb-jobs-hero__copy {
  max-width: 720px;
}

.bb-jobs-hero__proofs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--padding-s);
  margin-top: var(--padding-l);
}

.bb-jobs-hero__proof {
  padding: var(--padding-s);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-soft);
}

.bb-jobs-hero__proof strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.2;
}

.bb-jobs-hero__proof span {
  display: block;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.45;
}

.bb-jobs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--padding-s);
  align-items: center;
  margin-top: var(--padding-l);
}

.bb-jobs-hero__visual {
  position: relative;
  min-height: 420px;
}

.bb-jobs-hero__image-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1.18 / 1;
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-lg);
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-card);
}

.bb-jobs-hero__image-card img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.bb-jobs-hero__floating-card {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 2;
  width: min(260px, calc(100% - 32px));
  padding: var(--padding-m);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-md);
  background: var(--bb-wash);
  box-shadow: var(--bb-shadow-card);
  backdrop-filter: blur(4px);
}

.bb-jobs-hero__floating-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--bb-red);
  font-size: 0.72rem;
  font-weight: var(--weight-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bb-jobs-hero__floating-card strong {
  display: block;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.15;
}

@media (max-width: 920px) {
  .bb-jobs-hero__grid {
    grid-template-columns: 1fr;
  }

  .bb-jobs-hero__grid > * {
    min-width: 0;
  }

  .bb-jobs-hero__copy {
    max-width: 760px;
  }

  .bb-jobs-hero__visual {
    position: relative;
    width: 100%;
    min-width: 0;
  }

  .bb-jobs-hero__image-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .bb-jobs-hero__image-card img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
  }

  .bb-jobs-hero__proofs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bb-jobs-hero {
    padding-block: 48px;
  }

  .bb-jobs-hero__actions,
  .bb-jobs-hero__actions .bb-btn,
  .bb-jobs-hero__actions .bb-btn a {
    width: 100%;
  }

  .bb-jobs-hero__floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: calc(var(--padding-m) * -1) var(--padding-m) 0;
  }

    .bb-jobs-hero__image-card {
    aspect-ratio: 1 / 1;
    padding: var(--padding-m) var(--padding-m) 0;
  }
}
.bb-jobs-hero .bb-hero-heading {
  max-width: 720px;
}

/* Jobs page: why BBULL */

.bb-jobs-why {
  padding-block: clamp(72px, 8vw, 120px);
}

.bb-jobs-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.bb-jobs-why__copy {
  max-width: 620px;
}

.bb-jobs-why__copy h2 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  line-height: 1.1;
}

.bb-jobs-why__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--padding-m);
}

.bb-jobs-why__card {
  min-height: 220px;
}

.bb-jobs-why__card .bb-card__body {
  display: grid;
  align-content: start;
  gap: var(--padding-xs);
  height: 100%;
}

.bb-jobs-why__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: var(--padding-s);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-pill);
  background: var(--bb-blue-soft);
  color: var(--bb-red);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--weight-heading);
  line-height: 1;
}

.bb-jobs-why__card h3 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.3vw, 1.65rem);
  line-height: 1.1;
}

.bb-jobs-why__card p {
  margin: 0;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.55;
}

@media (max-width: 920px) {
  .bb-jobs-why__grid {
    grid-template-columns: 1fr;
  }

  .bb-jobs-why__copy {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .bb-jobs-why {
    padding-block: 56px;
  }

  .bb-jobs-why__cards {
    grid-template-columns: 1fr;
  }

  .bb-jobs-why__card {
    min-height: 0;
  }
}

/* Jobs page: openings */

.bb-jobs-openings {
  padding-block: clamp(72px, 8vw, 120px);
}

.bb-jobs-openings__head {
  max-width: 760px;
}

.bb-jobs-openings__head h2 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  line-height: 1.1;
}

.bb-jobs-openings__list {
  display: grid;
  gap: var(--padding-l);
  margin-top: var(--padding-xl);
}

.bb-jobs-offer {
  padding: clamp(24px, 4vw, 40px);
}

.bb-jobs-offer__header {
  display: flex;
  justify-content: space-between;
  gap: var(--padding-l);
  align-items: flex-start;
  margin-bottom: var(--padding-l);
}

.bb-jobs-offer__header h3 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 1.02;
}

.bb-jobs-offer__meta {
  margin: var(--padding-s) 0 0;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.5;
}

.bb-jobs-offer__status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-pill);
  background: var(--bb-blue-soft);
  color: var(--bb-text);
  font-size: var(--fs-s);
  font-weight: var(--weight-strong);
  white-space: nowrap;
}

.bb-jobs-offer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--padding-m);
}

.bb-jobs-offer__box {
  padding: var(--padding-m);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-md);
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-soft);
}

.bb-jobs-offer__box h4 {
  margin: 0 0 var(--padding-s);
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.2;
}

.bb-jobs-offer__box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.55;
}

.bb-jobs-offer__box li + li {
  margin-top: 0.35rem;
}

.bb-jobs-offer__footer {
  display: flex;
  justify-content: space-between;
  gap: var(--padding-l);
  align-items: center;
  margin-top: var(--padding-l);
}

.bb-jobs-offer__footer p {
  max-width: 560px;
  margin: 0;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.55;
}

.bb-jobs-offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--padding-s);
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .bb-jobs-offer__header,
  .bb-jobs-offer__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .bb-jobs-offer__grid {
    grid-template-columns: 1fr;
  }

  .bb-jobs-offer__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .bb-jobs-openings {
    padding-block: 56px;
  }

  .bb-jobs-offer {
    padding: var(--padding-m);
  }

  .bb-jobs-offer__header h3 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .bb-jobs-offer__actions,
  .bb-jobs-offer__actions .bb-btn,
  .bb-jobs-offer__actions .bb-btn a {
    width: 100%;
  }
}

/* Jobs page: application process */

.bb-jobs-process {
  padding-block: clamp(72px, 8vw, 120px);
}

.bb-jobs-process__head {
  max-width: 780px;
}

.bb-jobs-process__head h2 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  line-height: 1.1;
}

.bb-jobs-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--padding-m);
  margin-top: var(--padding-xl);
}

.bb-jobs-process__step {
  position: relative;
  min-height: 240px;
}

.bb-jobs-process__step .bb-card__body {
  display: grid;
  align-content: start;
  gap: var(--padding-xs);
  height: 100%;
}

.bb-jobs-process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: var(--padding-s);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-pill);
  background: var(--bb-blue-soft);
  color: var(--bb-red);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--weight-heading);
  line-height: 1;
}

.bb-jobs-process__step h3 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.15vw, 1.45rem);
  line-height: 1.1;
}

.bb-jobs-process__step p {
  margin: 0;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.55;
}

@media (max-width: 920px) {
  .bb-jobs-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-jobs-process__step {
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  .bb-jobs-process {
    padding-block: 56px;
  }

  .bb-jobs-process__steps {
    grid-template-columns: 1fr;
  }

  .bb-jobs-process__step {
    min-height: 0;
  }
}

.bb-jobs-process__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--padding-m);
  margin-top: var(--padding-l);
  padding: var(--padding-m) var(--padding-l);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-md);
  background: var(--bb-card-bg-soft);
  box-shadow: var(--bb-shadow-soft);
}

.bb-jobs-process__cta p {
  margin: 0;
  color: var(--bb-muted);
  font-size: var(--fs-s);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .bb-jobs-process__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--padding-m);
  }

  .bb-jobs-process__cta .bb-btn,
  .bb-jobs-process__cta .bb-btn a {
    width: 100%;
  }
}

/* Contact page: compact hero form */

.bb-contact-hero {
  padding-block: clamp(48px, 6vw, 80px);
}

.bb-contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.bb-contact-hero__copy {
  max-width: 560px;
}

.bb-contact-hero .bb-hero-lead {
  max-width: 540px;
}

.bb-contact-hero__details {
  display: grid;
  gap: var(--padding-xs);
  margin-top: var(--padding-l);
}

.bb-contact-hero__details div {
  padding: 0.75rem 1rem;
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-surface);
  box-shadow: var(--bb-shadow-soft);
}

.bb-contact-hero__details strong,
.bb-contact-hero__details span {
  display: block;
}

.bb-contact-hero__details strong {
  margin-bottom: 0.15rem;
  color: var(--bb-text);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  line-height: 1.2;
}

.bb-contact-hero__details span {
  color: var(--bb-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.bb-contact-hero__form-card {
  padding: clamp(20px, 3vw, 32px);
}

.bb-contact-hero__form-head h2{
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.bb-contact-hero__form {
  color: var(--bb-text);
}

.bb-contact-hero__form p {
  margin: 0 0 var(--padding-s);
}

.bb-contact-hero__form label {
  display: grid;
  gap: 0.3rem;
  color: var(--bb-text);
  font-size: var(--fs-s);
  font-weight: var(--weight-strong);
}

.bb-contact-hero__form input,
.bb-contact-hero__form textarea,
.bb-contact-hero__form select {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-surface);
  color: var(--bb-text);
  font: inherit;
  box-shadow: var(--bb-shadow-soft);
}

.bb-contact-hero__form textarea {
  resize: vertical;
}

.bb-contact-hero__form input:focus,
.bb-contact-hero__form textarea:focus,
.bb-contact-hero__form select:focus {
  outline: 2px solid var(--bb-red);
  outline-offset: 2px;
}

.bb-contact-hero__form input[type="submit"] {
  width: auto;
  min-height: 0;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-red);
  color: var(--bb-surface);
  font-family: var(--font-heading);
  font-weight: var(--weight-strong);
  cursor: pointer;
  box-shadow: var(--bb-shadow-soft);
}

.bb-contact-hero__form .wpcf7-not-valid-tip {
  margin-top: 0.3rem;
  color: var(--bb-red);
  font-size: var(--fs-s);
}

.bb-contact-hero__form .wpcf7-response-output {
  margin: var(--padding-s) 0 0;
  padding: var(--padding-s) var(--padding-m);
  border-radius: var(--bb-radius-sm);
  color: var(--bb-muted);
  font-size: var(--fs-s);
}

@media (max-width: 920px) {
  .bb-contact-hero__grid {
    grid-template-columns: 1fr;
  }

  .bb-contact-hero__copy {
    max-width: 760px;
  }

  .bb-contact-hero .bb-hero-heading,
  .bb-contact-hero .bb-hero-lead {
    max-width: 760px;
  }

  .bb-contact-hero__details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bb-contact-hero {
    padding-block: 48px;
  }

  .bb-contact-hero__details {
    grid-template-columns: 1fr;
  }

  .bb-contact-hero__form-card {
    padding: var(--padding-m);
  }

  .bb-contact-hero__form input[type="submit"] {
    width: 100%;
  }
}
/* Contact page: refinements */


.bb-contact-hero__form .wpcf7,
.bb-contact-hero__form form,
.bb-contact-hero__form p,
.bb-contact-hero__form label,
.bb-contact-hero__form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
}

.bb-contact-hero__form input:not([type="submit"]),
.bb-contact-hero__form textarea,
.bb-contact-hero__form select {
  width: min(100%, 520px);
  max-width: 100%;
}

.bb-contact-hero__form textarea {
  width: min(100%, 680px);
}

.bb-contact-hero__form input[type="submit"] {
  margin-top: 0.15rem;
}
.bb-contact-hero__form input:not([type="submit"]),
.bb-contact-hero__form textarea,
.bb-contact-hero__form select {
  width: min(100%, 680px);
  max-width: 100%;
}

/* Simple legal pages: Impressum, Datenschutz */
.bb-legal {
  width: min(100% - 2rem, 900px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
  color: var(--bb-text);
  font-family: var(--font-body);
}

.bb-legal__intro {
  margin-bottom: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--bb-border);
}

.bb-legal__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--bb-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bb-legal h1,
.bb-legal h2,
.bb-legal h3,
.bb-legal h4 {
  margin: 0;
  color: var(--bb-text);
  font-family: var(--font-heading);
  line-height: 1.2;
  padding-top: 2rem;;
}

.bb-legal h1 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  padding: 0;
}

.bb-legal h2 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);  
}

.bb-legal h3 {
  font-size: 1.05rem;
}

.bb-legal h3 {
  font-size: 1rem;
}

.bb-legal p,
.bb-legal li,
.bb-legal address {
  color: var(--bb-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.bb-legal p {
  margin: 0.8rem 0 0;
}

.bb-legal a {
  color: var(--bb-red);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.bb-legal a:hover,
.bb-legal a:focus-visible {
  text-decoration: underline;
}

.bb-legal__section {
  padding: clamp(22px, 4vw, 36px) 0;
  border-bottom: 1px solid var(--bb-border);
}

.bb-legal__section:last-child {
  border-bottom: 0;
}

.bb-legal__section > * + * {
  margin-top: 0.8rem;
}

.bb-legal__address {
  margin: 0.8rem 0 0;
  font-style: normal;
}

.bb-legal__muted {
  color: var(--bb-text-muted);
  font-size: var(--fs-s);
}

.bb-legal ul,
.bb-legal ol {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

@media (max-width: 640px) {
  .bb-legal {
    width: min(100% - 1.25rem, 900px);
  }
}

.bb-article-header-section {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 7vw, 7rem) 1.5rem;
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 11, 16, 0.92) 0%,
      rgba(8, 11, 16, 0.78) 42%,
      rgba(8, 11, 16, 0.35) 100%
    ),
    var(--bb-article-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  overflow: hidden;
}

.bb-article-header-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 110, 191, 0.08), transparent 45%),
    rgba(8, 11, 16, 0.35);
  pointer-events: none;
}
