/* ========== GLOBAL ========== */

:root {
  --bc-primary: #007ac3;
  --bc-primary-dark: #005f96;
  --bc-bg-light: #f5f5f7;
  --bc-bg-grey: #f0f2f5;
  --bc-text-main: #222;
  --bc-text-muted: #666;
  --bc-radius-card: 12px;
  --bc-shadow-card: 0 18px 40px rgba(0,0,0,0.15);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--bc-text-main);
  background: #ffffff;
}

/* allow sticky to work */
.bc-page { overflow-x: visible; }

/* keep horizontal overflow protection here instead */
html, body { overflow-x: hidden; }


.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;   /* or 0.75rem */
  padding-right: 1rem;  /* or 0.75rem */
}

/* Utility */

.bc-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--bc-text-muted);
  margin-bottom: 0.35rem;
}

.bc-section-header h2,
.bc-section-header h3 {
  margin-bottom: 0.5rem;
}

.bc-section-header p {
  color: var(--bc-text-muted);
}

/* Buttons override for stronger feel */
.btn-primary {
  background: var(--bc-primary);
  border-color: var(--bc-primary);
  border-radius: 999px;
  padding-inline: 1.75rem;
}
.btn-primary:hover {
  background: var(--bc-primary-dark);
  border-color: var(--bc-primary-dark);
}

/* ========== HEADER ========== */

.bc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.bc-header .container {
  padding-block: 0.75rem;
}

.bc-logo img {
  height: 46px;
}

.bc-nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-nav-list a {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--bc-text-main);
}

.bc-nav-list a:hover {
  color: var(--bc-primary);
}

.bc-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}
.bc-nav-toggle span {
  width: 18px;
  height: 2px;
  background: #333;
}

/* ========== HERO ========== */

.bc-hero {
  position: relative;
  min-height: 70vh;
  color: #fff;
}

.bc-hero-media img,
.bc-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bc-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.bc-hero-card {
  max-width: 420px;
  background: rgba(35,35,35,0.88);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: var(--bc-shadow-card);
}

.bc-hero-card h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: .5rem;
  color: #eee;
}

.bc-hero-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.bc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bc-hero-actions .btn-outline-light {
  border-radius: 999px;
}

/* ========== INTRO ========== */

.bc-intro {
  padding: 3rem 0 3rem;
  background: #fff;
}

.bc-intro h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.bc-intro p {
  font-size: 0.98rem;
  color: var(--bc-text-muted);
}

.bc-intro-box {
  background: var(--bc-bg-grey);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.bc-intro-box h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.bc-intro-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bc-intro-box li {
  padding-block: 0.35rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.95rem;
}

/* ========== SLIDERS (Benefits / Software / Industries / Customers) ========== */

.bc-slider-section {
  padding: 3.5rem 0;
  background: var(--bc-bg-grey);
}

.bc-slider-section:nth-of-type(even) {
  background: var(--bc-bg-light);
}

.bc-slider {
  position: relative;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bc-slider-track {
  overflow: hidden;
  flex: 1;
}

/* inner track that really moves */
.bc-slider-track-inner {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s ease-in-out; /* smooth ease-in-out */
}

/* three cards visible */
.bc-slider-item {
  flex: 0 0 calc((100% - 2 * 1.5rem) / 3);  /* 3 cards + 2 gaps */
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.bc-slider-item h4 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.bc-slider-item p {
  font-size: 0.95rem;
  color: var(--bc-text-muted);
}

.bc-slider-arrow {
  border: none;
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


/* ==== Software slider card layout + icons ==== */

.bc-software-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.bc-software-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bc-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* support img inside icon if you swap to real icons later */
.bc-software-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.bc-software-text h4 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.bc-software-text p {
  margin: 0;
}

/* ========== SERVICES GRID ========== */

.bc-services {
  padding: 4rem 0;
  background: #fff;
}

.bc-services-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.bc-service-card {
  background: #fff;
  border-radius: 16px;
  cursor:pointer;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.bc-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.bc-service-card--highlight {
  background: var(--bc-primary);
  color: #fff;
}

/* ==== Branchen slider cards with images ==== */

.bc-industry-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bc-industry-image {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f0f2f5;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-industry-image img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.bc-industry-text h4 {
  margin: 0;
}

.bc-industry-text p {
  margin: 0.3rem 0 0;
  color: var(--bc-text-muted);
  font-size: 0.95rem;
}

.bc-industry-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f5fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bc-industry-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* ==== Customer slider cards with avatars ==== */

.bc-customer-item {
  display: flex;
  flex-direction: column;      /* stack avatar above text */
  align-items: flex-start;     /* keep left-aligned */
  gap: 0.75rem;
}

/* bigger, square avatar */
.bc-customer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;         /* square with slight rounding */
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.bc-customer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bc-customer-text {
  margin-top: 0.25rem;
}

.bc-customer-text h4 {
  margin: 0 0 0.25rem;
}

.bc-customer-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--bc-text-muted);
  margin-bottom: 0.25rem;
}

.bc-customer-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--bc-text-muted);
}


/* ========== INDIVIDUAL SPACE ========== */

.bc-individual-space {
  padding: 3rem 0;
  background: var(--bc-bg-light);
}

.bc-individual-space p {
  margin-inline: auto;
  color: var(--bc-text-muted);
  margin-bottom: 1.5rem;
}

/* Center content inside service cards */
.bc-service-card {
  background: #fbfcff;                 /* very light blue/grey */
  border: 1px solid #e4e7f0;           /* subtle border */
  border-radius: 16px;
  padding: 1rem 1rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.04); /* a bit softer */
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bc-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #d0d6e5;               /* slightly stronger on hover */
}

.bc-service-card--highlight {
  background: var(--bc-primary);
  color: #fff;
  border: none;
}

.bc-service-card img {
  display: block;
  margin: 0 auto 1rem;  /* center icon and add space below */
}

.bc-service-card h4 {
  margin-bottom: 0.5rem;
}

.bc-service-card p {
  margin: 0;
}

/* ========== CONTACT ========== */

.bc-contact {
  padding: 4rem 0;
  background: var(--bc-bg-grey);
}

.bc-contact-form {
  background: #fff;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.bc-contact-note {
  font-size: 0.8rem;
  color: var(--bc-text-muted);
  margin: 1rem 0 1.25rem;
}

.bc-contact-info {
  margin-top: 2rem;
}
@media (min-width: 992px) {
  .bc-contact-info {
    margin-top: 0;
  }
}
.bc-contact-badge {
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* ========== FAQ ========== */

.bc-faq {
  padding: 3.5rem 0 4rem;
  background: #fff;
}

.bc-faq-list {
  margin-top: 1.5rem;
}

.bc-faq-item {
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
}

.bc-faq-question {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: none;
  background: #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.bc-faq-icon {
  font-weight: bold;
}

.bc-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  background: #f9f9f9;
  transition: max-height .25s ease, padding-bottom .25s ease;
}

.bc-faq-answer p {
  font-size: 0.9rem;
  color: var(--bc-text-muted);
}

.bc-faq-item.is-open .bc-faq-answer {
  padding-bottom: 0.75rem;
  max-height: 200px;
}


/* ===== PRIMARY FOOTER (above dark bc-footer) ===== */

.bc-primary-footer {
  background: #565656;              /* lighter than #3b3b3b, with a bluish tint */
  color: #f5f5f7;
  padding: 3rem 0 2.5rem;
}

.bc-primary-footer a {
  color: #e4ecf7;
  text-decoration: none;
}

.bc-primary-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.bc-primary-footer-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
}

/* column titles */
.bc-footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 1.1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.bc-footer-col h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
}

/* link lists */
.bc-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-footer-col li {
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

/* contact column tweaks */
.bc-footer-contact .bc-footer-phone a {
  font-weight: 600;
  font-size: 1rem;
}

.bc-footer-address {
  margin: 0.4rem 0 0.6rem;
  font-size: 0.9rem;
}

/* simple circle “icons” for socials – you can replace with real SVGs or Font Awesome */
.bc-footer-social {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.bc-footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

/* responsive columns */
@media (max-width: 991.98px) {
  .bc-primary-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bc-primary-footer-inner {
    grid-template-columns: 1fr;
  }
}


/* ========== FOOTER ========== */

.bc-footer {
  background: #3b3b3b;
  color: #eee;
  padding: 1.2rem 0;
  font-size: 0.85rem;
}

.bc-footer-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.bc-footer-links a {
  color: #eee;
  text-decoration: none;
}

.bc-footer-links a:hover {
  text-decoration: underline;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 991.98px) {
  .bc-nav-toggle {
    display: flex;
  }
  .bc-main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: none;
  }
  .bc-main-nav.is-open {
    display: block;
  }
  .bc-nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1.25rem;
  }

  .bc-hero-card {
    margin-top: 3rem;
    max-width: 100%;
  }

  .bc-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bc-services-grid {
    grid-template-columns: 1fr;
  }
}


.footer-widgets.footer.footer-1 {
    display: none;
}

.absolute-footer.dark.medium-text-center.text-center {
    background-color: #3b3b3b;
}

aside.bc-contact-info h3 {
    margin-top:5px;
}

/* =========================
   HERO – MOBILE & TABLET
========================= */

@media (max-width: 991px) {

  .bc-hero {
    min-height: auto;
  }

  .bc-hero-media {
    height: 60vh;
    min-height: 420px;
  }

  .bc-hero-overlay {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    align-items: flex-end;
  }

  .bc-hero-overlay .container {
    max-width: 100%;
    padding: 0;
  }

  .bc-hero-card {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem;
    border-radius: 16px;
  }

  .bc-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .bc-hero-actions a {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   BENEFITS – MOBILE
========================= */

@media (max-width: 768px) {

  .bc-slider-benefits .swiper-slide {
    width: 85%;
  }

  .bc-slider-benefits .bc-card {
    padding: 1.25rem;
  }

  .bc-slider-benefits .swiper-button-prev,
  .bc-slider-benefits .swiper-button-next {
    top: auto;
    bottom: -40px;
  }
}

/* =========================
   SOFTWARE – MOBILE
========================= */

@media (max-width: 768px) {

  .bc-slider-software .bc-card {
    text-align: center;
    padding: 1.25rem;
  }

  .bc-slider-software .bc-icon {
    margin: 0 auto 0.75rem;
  }

  .bc-slider-software p {
    font-size: 0.9rem;
  }
}


/* =========================
   BRANCHEN – MOBILE
========================= */

@media (max-width: 768px) {

  .bc-slider-industries .swiper-slide {
    width: 90%;
  }

  .bc-slider-industries .bc-card {
    padding: 1.25rem;
  }
}

/* =========================
   USERS / CLIENTS – MOBILE
========================= */

@media (max-width: 768px) {

  .bc-slider-customers .bc-card {
    padding: 1.25rem;
  }

  .bc-slider-customers img {
    width: 64px;
    height: 64px;
  }

  .bc-slider-customers p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}


/* =========================
   TABLET TUNING
========================= */

@media (min-width: 769px) and (max-width: 1024px) {

  .bc-hero-card {
    max-width: 420px;
  }

  .bc-slider-section .swiper-slide {
    width: 60%;
  }
}

/* =========================
   FORCE SINGLE CARD ON MOBILE
========================= */

@media (max-width: 768px) {

  .bc-slider-track {
    overflow: hidden;
  }

  .bc-slider-track-inner {
    gap: 0; /* remove desktop gap */
  }

  .bc-slider-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}


/* =========================
   HERO VIDEO
========================= */

.bc-hero-media {
  position: relative;
  overflow: hidden;
}

.bc-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   HERO VIDEO SOUND BUTTON
========================= */

.bc-video-sound-toggle {
  position: absolute;
  right: 98px;
  top:42px;
  z-index: 20;

  width: 48px;
  height: 48px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);

  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9em;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.bc-video-sound-toggle:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
}

/* icon handling (IMAGES instead of emoji spans) */
.bc-video-sound-toggle img{
  width: 28px;
  height: 28px;
  display: none;
  object-fit: contain;
  pointer-events: none; /* click still goes to the button */
}

/* states */
.bc-video-sound-toggle.is-muted .icon-muted { display: block; }
.bc-video-sound-toggle:not(.is-muted) .icon-unmuted { display: block; }

/* mobile */
@media (max-width: 768px){
  .bc-video-sound-toggle img{ width: 24px; height: 24px; }
}


/* states */
.bc-video-sound-toggle.is-muted .icon-muted {
  display: block;
}

.bc-video-sound-toggle:not(.is-muted) .icon-unmuted {
  display: block;
}

/* mobile */
@media (max-width: 768px) {
  .bc-video-sound-toggle {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 14px;
  }

  .bc-video-sound-toggle span {
    font-size: 18px;
  }
}


/* =========================
   HERO – MOBILE & TABLET FIX
========================= */

@media (max-width: 991px) {

  /* create vertical breathing room */
  .bc-hero-overlay {
    padding-bottom: 4.5rem; /* ⬅ space for sound button */
  }

  /* move card slightly upward */
  .bc-hero-card {
    margin-bottom: 2.5rem;
  }

  /* typography tuning */
  .bc-hero-card h5 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .bc-hero-card h2 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .bc-hero-actions .btn {
    font-size: 0.9rem;
    padding: 0.55rem 1.2rem;
  }

  /* move sound button higher */
  .bc-video-sound-toggle {
     /* ⬅ key fix */
  }
}

@media (max-width: 575px) {
  .bc-hero-card h2 {
    font-size: 1.25rem;
  }

  .bc-video-sound-toggle {
    bottom: 30px;
  }
}

/* Scrollable right aside (KI-Anwendungen) */
.bc-intro-box{
  display: flex;
  flex-direction: column;
  max-height: clamp(280px, 45vh, 380px); /* adjust if you want taller/shorter */
  overflow: hidden; /* keeps scrollbar inside the card */
}

.bc-intro-box ul{
  flex: 1;
  min-height: 0;            /* IMPORTANT for flex scroll */
  overflow-y: auto;
  padding: 0.25rem 0.25rem 0 0;
  margin: 0;
}

/* Make list items look like “tabs/buttons” like the example */
.bc-intro-box li{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;

  /* override your current borders */
  border-bottom: 0;
}

.bc-intro-box li:last-child{
  margin-bottom: 0;
}

/* Nice scrollbar (Chrome/Edge/Safari) */
.bc-intro-box ul::-webkit-scrollbar{
  width: 10px;
}
.bc-intro-box ul::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
}
.bc-intro-box ul::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.22);
  border-radius: 999px;
}

/* Firefox */
.bc-intro-box ul{
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.22) rgba(0,0,0,0.06);
}





/* ========== SLIDER REWORK (cards + swipe + read-more modal) ========== */

/* Let vertical page scroll work while enabling horizontal swipes inside sliders */
.bc-slider-track {
  touch-action: pan-y;
}

/* Responsive: 2 cards on tablet, 1 card on mobile */
@media (max-width: 1024px) {
  .bc-slider-item {
    flex: 0 0 calc((100% - 1 * 1.5rem) / 2);
  }
}
@media (max-width: 768px) {
  .bc-slider-arrow {
    display: none !important; /* requested: no arrows on mobile */
  }
  .bc-slider-item {
    flex: 0 0 100%;
  }
}

/* New card layout: image on top, text under */
.bc-slider-item.bc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 2.75rem; /* extra space for the dots button */
}

.bc-card-media {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bc-bg-grey);
}

.bc-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bc-card-body {
  padding-top: 1rem;
  flex: 1;
}

.bc-card-title {
  margin: 0 0 0.5rem;
}

.bc-card-excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: var(--bc-text-muted);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* three dots */
.bc-card-more {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: var(--bc-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.bc-card-more:hover {
  background: rgba(0,0,0,0.10);
}

.bc-card-more:focus-visible {
  outline: 2px solid var(--bc-primary);
  outline-offset: 2px;
}

/* software badge inside media */
.bc-card-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,122,195,0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Branchen / industries overlay style */
.bc-slider-item.bc-card--overlay {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.bc-card--overlay .bc-card-media {
  height: 230px;
  border-radius: 16px;
}

.bc-card--overlay .bc-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.95rem 1rem;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.90), rgba(0,0,0,0));
}

.bc-card--overlay .bc-card-title {
  color: #fff;
  margin: 0;
}

.bc-card-excerpt--hidden {
  display: none;
}

/* Customers: keep existing layout, but position dots nicely */
.bc-customer-item.bc-card-has-more {
  position: relative;
  padding-right: 3rem; /* room so dots don't overlap text */
}

/* Modal */
body.bc-modal-open {
  overflow: hidden;
}

.bc-modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
}

.bc-modal-backdrop.is-open {
  display: flex;
}

.bc-modal {
  width: min(720px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  overflow: hidden;
}

.bc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.bc-modal-title {
  margin: 0;
  font-size: 1.1rem;
}

.bc-modal-meta {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--bc-text-muted);
}

.bc-modal-close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--bc-text-main);
}

.bc-modal-body {
  padding: 1rem 1.25rem 1.25rem;
}

.bc-modal-text {
  margin: 0;
  color: var(--bc-text-main);
  line-height: 1.6;
}

section#customers .container .bc-slider .bc-slider-track .bc-slider-track-inner button.bc-card-more {
    bottom: -11px;
}

.bc-service-card--bafa .bc-service-icon--logo img{
  max-width: 220px;
  max-height: 70px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== Services: make icons smaller + consistent ===== */
.bc-services .bc-service-icon{
  height: 110px;              /* controls the icon area height */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.bc-services .bc-service-icon img{
  max-height: 90px;           /* actual icon size */
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0;                  /* override any global img margin */
}

/* BAFA logo: wide, so allow more width but keep it small */
.bc-services .bc-service-card--bafa .bc-service-icon img{
  max-height: 60px;
  max-width: 180px;
}

/* Mobile: even smaller */
@media (max-width: 768px){
  .bc-services .bc-service-icon{ height: 95px; }
  .bc-services .bc-service-icon img{ max-height: 75px; max-width: 110px; }
  .bc-services .bc-service-card--bafa .bc-service-icon img{ max-height: 55px; max-width: 170px; }
}

/* ===== Slider cards: image top + text bottom, edge-to-edge ===== */
.bc-slider-item .bc-card{
  padding: 0;
  overflow: hidden;         /* important: makes the rounded corners work */
}

.bc-slider-item .bc-card-media-top{
  height: 150px;            /* adjust if you want taller images */
  overflow: hidden;
}

.bc-slider-item .bc-card-media-top img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* makes images look “real” like the PDF */
  display: block;
}

.bc-slider-item .bc-card-body{
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(0,0,0,.06); /* clean divider like mock */
}

.bc-card-more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}


/* Make all slider cards equal height */
.bc-slider-track-inner{
  align-items: stretch;
}

/* Card: image on top flush to borders, text below */
.bc-slider-item.bc-card{
  position: relative;
  display: flex;
  flex-direction: column;

  padding: 0;              /* IMPORTANT: remove inner padding */
  overflow: hidden;        /* IMPORTANT: rounded corners clip image */
  border-radius: 16px;     /* match card rounding */
}

/* Top image area */
.bc-card-media{
  width: 100%;
  height: 160px;           /* adjust if you want taller */
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--bc-bg-grey);
}

.bc-card-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Bottom text area */
.bc-card-body{
  flex: 1;
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Dots button (perfect center) */
.bc-card-more{
  position: absolute;
  right: 16px;
  bottom: 16px;

  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: #eee;
  cursor: pointer;

  display: grid;
  place-items: center;
}

.bc-card-more .bc-more-icon{
  display: block;
  line-height: 1;
  font-size: 22px;
  transform: translateY(-1px);
}



/* =============================
   Slider "..." button – smaller, flat, no overlap (ALL sliders)
   ============================= */

/* 1) Reserve space under text so the button never sits on top of content */
.bc-slider-section .bc-slider-item.bc-card .bc-card-body{
  padding-bottom: 56px; /* creates a safe zone for the dots button */
}

/* Customers slider uses a different structure (button sits inside .bc-customer-item) */
#customers .bc-customer-item.bc-card-has-more{
  padding-bottom: 44px; /* safe zone so it won’t overlap the quote */
}

/* 2) Make the dots button smaller + flat + perfectly centered */
.bc-slider-section .bc-card-more{
  position: absolute;
  right: 14px;
  bottom: 14px;

  width: 28px;
  height: 28px;
  border-radius: 999px;

  background: transparent;                /* flat */
  border: 1px solid rgba(0,0,0,0.14);     /* subtle outline */
  box-shadow: none;

  display: grid;
  place-items: center;                    /* center the dots */
  padding: 0;
  line-height: 1;
  font-size: 18px;
  color: var(--bc-text-muted);
}

.bc-slider-section .bc-card-more:hover{
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.20);
}

/* If you use <span class="bc-more-icon">⋯</span> (Benefits), keep it centered too */
.bc-slider-section .bc-card-more .bc-more-icon{
  font-size: 18px;
  line-height: 1;
  transform: none;
}

/* 3) IMPORTANT: kill the customers negative bottom that pushes the button into content */
section#customers .container .bc-slider .bc-slider-track .bc-slider-track-inner button.bc-card-more{
  bottom: 14px !important;
}


/* =========================================================
   Slider "..." button – smaller, flatter, pill-shape, centered
   Works for ALL slider sections (benefits/software/industries/customers)
========================================================= */

.bc-slider .bc-card {
  position: relative; /* anchor for absolute button */
}

.bc-slider .bc-card-more{
  position: absolute;
  right: 16px;
  bottom: 16px;              /* fixes the old negative bottom that hides/overlaps */
  width: 44px;               /* wider */
  height: 37px;              /* shorter */
  border-radius: 999px;      /* more round (pill) */
  padding: 0;

  display: inline-flex;      /* centers the dots perfectly */
  align-items: center;
  justify-content: center;

  line-height: 1;
  font-size: 18px;

  border: 0;
  box-shadow: none;          /* flat */
  background: rgba(0,0,0,.07);
  color: rgba(0,0,0,.75);
  cursor: pointer;
}

.bc-slider .bc-card-more:hover{
  background: rgba(0,0,0,.12);
}

.bc-slider .bc-card-more:focus-visible{
  outline: 2px solid var(--primary, #007ac3);
  outline-offset: 2px;
}

/* Prevent overlap on the text-cards (Benefits/Software/Customers) */
.bc-slider .bc-card--media-top .bc-card-body{
  padding-bottom: 56px; /* reserves space so the button never sits on the text */
}

/* Industries/Branchen overlay cards: make the button visible on images */
.bc-slider .bc-card--overlay .bc-card-more{
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,.88);
  color: rgba(0,0,0,.8);
}

.bc-slider .bc-card--overlay .bc-card-more:hover{
  background: rgba(255,255,255,.97);
}

/* Mobile tweaks */
@media (max-width: 575px){
  .bc-slider .bc-card-more{
    width: 38px;
    height: 20px;
    right: 12px;
    bottom: 12px;
    font-size: 16px;
  }
  .bc-slider .bc-card--media-top .bc-card-body{
    padding-bottom: 48px;
  }
}

/* ===== Services icons: reduce ~25% ===== */
.bc-services .bc-service-icon{
  height: 90px !important;
}

.bc-services .bc-service-icon img{
  max-height: 68px !important;  /* was ~90 */
  max-width: 90px !important;   /* was ~120 */
}

/* BAFA logo */
.bc-services .bc-service-card--bafa .bc-service-icon img{
  max-height: 45px !important;  /* was ~60 */
  max-width: 135px !important;  /* was ~180 */
}

@media (max-width: 768px){
  .bc-services .bc-service-icon{ height: 78px !important; }
  .bc-services .bc-service-icon img{ max-height: 56px !important; max-width: 80px !important; }
  .bc-services .bc-service-card--bafa .bc-service-icon img{ max-height: 42px !important; max-width: 125px !important; }
}


/* === Sound button: make icon clearly visible === */
.bc-video-sound-toggle{
  width: 64px;
  height: 64px;
}

.bc-video-sound-toggle img{
  width: 40px;
  height: 40px;
}

@media (max-width: 768px){
  .bc-video-sound-toggle{
    width: 56px;
    height: 56px;
  }
  .bc-video-sound-toggle img{
    width: 40px;
    height: 40px;
  }
}



.bc-video-fullscreen-toggle{
  position: absolute;
  right: 20px;
  top: 40px;          /* keeps it away from the header menu */
  z-index: 20;

  width: 48px;
  height: 48px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 20px;
}

.bc-video-fullscreen-toggle:hover{
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
}

@media (max-width: 768px){
  .bc-video-fullscreen-toggle{
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}


/* ===== HERO ICON BUTTONS: bigger on 2K+ only (no position change) ===== */
@media (min-width: 2000px){

  /* speaker button */
  .bc-video-sound-toggle{
    width: 76px;
    height: 76px;
  }
  .bc-video-sound-toggle img{
    width: 54px;
    height: 54px;
  }

  /* fullscreen button */
  .bc-video-fullscreen-toggle{
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .bc-hero-media img, .bc-hero-media video {
       max-height: 953px;
   }

}


/* Call strip between Intro and Benefits */
.bc-call-strip{
  background: #f3f4f6;            /* light grey band */
  padding: 15px 0;
}

.bc-call-strip .container{
  display: flex;
  justify-content: center;
}

.bc-call-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 45px;
  border-radius: 999px;           /* pill */
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  background: #1f5fbf;            /* adjust to your theme blue */
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.bc-call-btn:hover{
  filter: brightness(0.95);
}

.bc-call-btn:focus-visible{
  outline: 3px solid rgba(31,95,191,.35);
  outline-offset: 3px;
}

.bc-call-btn__icon{
  font-size: 18px;
}

@media (max-width: 576px){
  .bc-call-strip .container{
    padding: 0 14px;
  }

  .bc-call-btn{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

a:hover, a.remove:hover, a.icon-circle:hover {
    color:white!important;
}


.bc-call-icon{
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1); /* forces white even if icon isn't white */
}


/* =========================
   BENEFITS: top border + squares + arrows outside
   ========================= */

/* Keep slider relative for absolute topline + arrows */
.bc-slider-benefits .bc-slider{
  position: relative;
  overflow: visible;            /* allow arrows to sit outside */
}

/* Top border line */
.bc-slider-benefits .bc-benefits-topline{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(31,95,191,0.35); /* adapt if you use a theme var */
}

/* Two squares on the border ends */
.bc-slider-benefits .bc-benefits-topline::before,
.bc-slider-benefits .bc-benefits-topline::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid rgba(31,95,191,0.55);
  border-radius: 3px;
}

.bc-slider-benefits .bc-benefits-topline::before{ left: 0; }
.bc-slider-benefits .bc-benefits-topline::after{ right: 0; }

/* Put arrow buttons OUTSIDE the border line */
.bc-slider-benefits .bc-slider-arrow{
  position: absolute;
  top: 0;                       /* align with topline */
  transform: translateY(-50%);   /* center on the line */
  z-index: 5;
}

.bc-slider-benefits .bc-slider-prev{
  left: -52px;                  /* outside the border */
}

.bc-slider-benefits .bc-slider-next{
  right: -52px;                 /* outside the border */
}

/* Mobile: your CSS already hides arrows <=768px :contentReference[oaicite:4]{index=4} */


/* =========================
   MODAL: align headline when clicking "..."
   (your current modal header uses align-items:flex-start :contentReference[oaicite:5]{index=5})
   ========================= */
.bc-modal-header{
  align-items: center;
}

.bc-modal-title{
  line-height: 1.25;
}


/* BENEFITS: arrows on left/right side (no top line) */
.bc-slider-benefits .bc-slider{
  position: relative;
}

/* Put arrows in the middle vertically */
.bc-slider-benefits .bc-slider-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* left arrow */
.bc-slider-benefits .bc-slider-prev{
  left: -56px/* adjust: -10px / 0 / -30px based on design */
}

/* right arrow */
.bc-slider-benefits .bc-slider-next{
  right: -56px
}


/* =========================
   ALL SLIDERS: arrows on left/right middle (same style everywhere)
========================= */

.bc-slider{
  position: relative;
  overflow: visible; /* allow arrows outside */
}

.bc-slider-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.bc-slider-prev{ left: -56px; }
.bc-slider-next{ right: -56px; }

/* keep arrows hidden on mobile (you already do this, but safe override) */
@media (max-width: 768px){
  .bc-slider-arrow{ display:none !important; }
}



/* === Modal header redesign (match PDF) === */
.bc-modal{
  border-radius: 14px;
  overflow: hidden; /* so header corners are clean */
}

/* Header row */
.bc-modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 18px;
  background: #fff !important;

  /* remove any diagonal / pattern background if it exists */
  background-image: none !important;

  border-bottom: 1px solid rgba(20, 40, 90, 0.12);
  gap: 14px;
}

/* Title: left aligned + vertical accent line */
.bc-modal-title{
  margin: 0;
  flex: 1;
  text-align: left;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;

  position: relative;
  padding-left: 14px;
}

.bc-modal-title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 2px;
  background: #4a67d6; /* same blue vibe as your template */
}

/* Close button */
.bc-modal-close,
.bc-modal-header button[aria-label="Close"],
.bc-modal-header .bc-modal-close-btn{
  appearance: none;
  border: 0;
  background: transparent !important;
  cursor: pointer;

  width: 42px;
  height: 42px;
  border-radius: 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 19px;
  line-height: 1;
  color: #111 !important;
}

.bc-modal-close:hover,
.bc-modal-header button[aria-label="Close"]:hover,
.bc-modal-header .bc-modal-close-btn:hover{
  background: rgba(0,0,0,0.06) !important;
}

/* Body spacing */
.bc-modal-body{
  padding: 18px;
}

/* Optional: smoother on mobile */
@media (max-width: 576px){
  .bc-modal-header{ padding: 14px 14px; }
  .bc-modal-title{ font-size: 16px; }
}

/* Individual section (with phone + email pills) */
.bc-individual-space{
  background:#f3f4f6;
  padding: 60px 0;
}

.bc-individual-inner h3{
  margin: 0 0 8px;
}

.bc-individual-inner p{
  margin: 0 0 18px;
}

.bc-individual-actions{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 12px;
}

.bc-pill-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background:#1f5fbf;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  line-height:1;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.bc-pill-btn:hover{
  filter: brightness(0.95);
  color:#fff;
}

.bc-pill-btn:focus-visible{
  outline: 3px solid rgba(31,95,191,.35);
  outline-offset: 3px;
}

.bc-pill-btn__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.bc-pill-icon{
  width:18px;
  height:18px;
  display:block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.bc-pill-svg{
  display:block;
  fill:#fff;
}

@media (min-width: 768px){
  .bc-individual-actions{
    flex-direction: column; /* keep stacked like PDF */
  }
}


/* CONTACT – right column layout (logo right, address down) */
.bc-contact-info-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.bc-contact-company{
  flex:1 1 auto;
  min-width:0;
}

.bc-contact-lines{
  margin: 10px 0 12px;
}

.bc-contact-bafa{
  flex:0 0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
}

.bc-contact-bafa img{
  max-width: 260px;
  width: 93%
  height: auto;
  display:block;
}

.bc-contact-address{
  margin-top: 18px;
  font-size: 0.98rem;
  opacity: 0.95;
  margin-bottom: 3rem;
}

/* Mobile stacking */
@media (max-width: 991px){
  .bc-contact-info-top{
    flex-direction:column;
    align-items:flex-start;
  }
  .bc-contact-bafa{
    justify-content:flex-start;
  }
  .bc-contact-bafa img{
    max-width: 320px;
  }
}


/* Make right column a vertical stack so we can push address to bottom */
.bc-contact-info{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* This row is now BELOW the H3 (logo on the right, details on the left) */
.bc-contact-info-top{
  margin-top: 10px;
}

/* Badge stays above the address */
.bc-contact-badge{
  margin-top: 12px;
}

/* Push address to the bottom of the aside */
.bc-contact-address{
  margin-top: auto;     /* key line */
  padding-top: 18px;
  opacity: 0.95;
}


/* Header layout */
.bc-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.bc-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding: 14px 0;
}

.bc-logo img{
  max-height: 46px;
  width:auto;
  display:block;
}

/* Nav */
.bc-nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:28px;
}

.bc-nav-list a{
  color:#1a1a1a !important; /* FIX: prevent turning white */
  text-decoration:none;
  font-weight:500;
}

.bc-nav-list a:hover,
.bc-nav-list a:focus{
  color:#1a1a1a !important; /* FIX: keep same color on hover */
  opacity:.85;
}

/* Dropdown */
.bc-has-dropdown{ position:relative; }

.bc-caret{
  font-size:.85em;
  margin-left:6px;
  opacity:.7;
}

.bc-dropdown{
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  min-width: 280px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:10px;
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  list-style:none;
  margin:0;

  opacity:0;
  visibility:hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}

.bc-dropdown li a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:#1a1a1a !important;
}

.bc-dropdown li a:hover{
  background: rgba(0,0,0,.04);
}

/* Desktop hover open */
@media (min-width: 992px){
  .bc-has-dropdown:hover > .bc-dropdown{
    opacity:1;
    visibility:visible;
    transform: translateY(0);
  }
}

/* JS-open state (mobile + click open) */
.bc-has-dropdown.is-open > .bc-dropdown{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}

/* Mobile menu (keep your existing structure) */
@media (max-width: 991px){
  .bc-main-nav{
    position: fixed;
    top: 64px;
    right: 16px;
    left: 16px;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:16px;
    padding:14px;
    box-shadow:0 18px 50px rgba(0,0,0,.12);
    display:none;
  }

  body.bc-nav-open .bc-main-nav{ display:block; }

  .bc-nav-list{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .bc-dropdown{
    position: static;
    box-shadow:none;
    border:none;
    padding:6px 0 0;
    min-width: unset;
  }
}


/* Use Flatsome dropdown arrow */
.bc-dropdown-trigger .icon-angle-down.bc-caret{
  font-size: 16px;
  margin-left: .2em;
  opacity: .6;
  vertical-align: middle;
  display: inline-block;
}


/* HERO: make video taller on desktop so bottom text isn't cropped */
@media (min-width: 992px){
  .bc-hero{ min-height: 82vh; }

  .bc-hero-media{
    height: 100vh;
    min-height: 680px;
  }

  .bc-hero-media video,
  .bc-hero-media img{
    max-height: none;              /* override old max-height */
    object-position: 50% 80%;      /* show more bottom area */
  }
}


/* --- Dropdown caret: use PNG (no FontAwesome dependency) --- */

/* kill any icon-font caret content (prevents the □ boxes) */
.icon-angle-down::before,
.icon-angle-down.bc-caret::before{
  content: none !important;
}

/* show your PNG as the caret */
.bc-caret{
  display:inline-block;
  width:18px;
  height:16px;
  margin-left:8px;
  vertical-align:middle;
  font-size:0;       /* hides any text like "▾" if present */
  line-height:0;
  opacity:.65;
  background: url("https://breadcrumb.de/wp-content/uploads/2026/01/down-arrow-10-48.png") center/contain no-repeat;
  transform: translateY(-1px);
}

.bc-nav-list a:hover .bc-caret,
.bc-has-dropdown:hover .bc-caret{
  opacity:1;
}

.bc-dropdown-trigger[aria-expanded="true"] .bc-caret{
  transform: translateY(-1px) rotate(180deg);
}


/* 1) Allow dropdown to overflow outside the header/container */
.bc-header,
.bc-header .container,
.bc-header-inner {
  overflow: visible !important;
}

/* 2) Keep dropdown inside the viewport (especially on the right) */
.bc-has-dropdown { position: relative; }

.bc-dropdown{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;          /* align to right edge of menu item */
  left: auto;
  max-width: min(320px, calc(100vw - 24px));
  z-index: 9999;     /* above hero/video */
}

/* 3) If it still clips on very small screens, force it to stay inside */
@media (max-width: 768px){
  .bc-dropdown{
    right: 12px;
  }
}

.bc-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
}

.bc-page{
  padding-top: 76px; /* adjust to your header height */
}

/* remove any bottom line/shadow under header */
.bc-header{
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding: 4px 0px;
  background-color: rgba(255,255,255,.80) !important;
}

/* =========================
   HERO MOBILE: card BELOW video + centered buttons
========================= */
@media (max-width: 991px){

  /* make the hero stack: video first, then card */
  .bc-hero-overlay{
    position: static !important;   /* was absolute */
    inset: auto !important;
    padding: 1rem 1rem 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .bc-hero-card{
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
  }

  /* center the buttons block */
  .bc-hero-actions{
    width: 100%;
    align-items: center !important;
  }

  .bc-hero-actions a{
    width: 100% !important;
    max-width: 320px !important; /* keeps them centered, not edge-to-edge ugly */
    text-align: center !important;
  }

  /* keep sound button INSIDE video (override your 479px hack) */
  .bc-video-sound-toggle{
    right: 14px !important;
    bottom: 14px !important;
  }
}


/* =========================================================
   MOBILE READABILITY + 1-CARD SLIDERS + 1-COL FORM + 1-COL FOOTER
   (append at END of main.css)
   ========================================================= */

/* 1) Make overall text bigger / more readable on mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.55;
  }

  /* section titles + paragraphs */
  .bc-section-header h2,
  .bc-section-title,
  h2 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .bc-section-header p,
  .bc-section-subtitle,
  p {
    font-size: 1rem;
  }

  /* cards text */
  .bc-card p,
  .bc-slider-item p,
  .bc-service-card p,
  .bc-intro-box li {
    font-size: 1rem;
  }

  /* FAQ text a bit larger */
  .bc-faq-question {
    font-size: 1rem;
  }
  .bc-faq-answer p {
    font-size: 1rem;
  }
}

/* 2) Sliders: force ONE item on mobile (including Swiper ones) */
@media (max-width: 768px) {
  /* Your custom slider items */
  .bc-slider-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Swiper sliders (Benefits / etc.) */
  .swiper-slide {
    width: 100% !important;
  }

  /* If you want NO “peek” of next slide on Benefits */
  .bc-slider-benefits .swiper-slide {
    width: 100% !important; /* overrides the current 85% rule */
  }
}

/* 3) Contact form: make fields 1 column on mobile */
@media (max-width: 768px) {
  /* Works for Bootstrap-ish grid OR CF7 layouts */
  .bc-contact-form .row,
  .bc-contact form .row,
  .wpcf7 form .row {
    display: block !important;
  }

  .bc-contact-form .row > * ,
  .bc-contact form .row > *,
  .wpcf7 form .row > * {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Make inputs easier to read/tap */
  .bc-contact-form input,
  .bc-contact-form select,
  .bc-contact-form textarea,
  .wpcf7 input,
  .wpcf7 select,
  .wpcf7 textarea {
    font-size: 16px;
    line-height: 1.3;
  }
}

/* 4) Primary footer: force ONE column on mobile (strong override) */
@media (max-width: 768px) {
  .bc-primary-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .bc-footer-col h5 {
    font-size: 0.95rem;
  }

  .bc-footer-col li,
  .bc-footer-address {
    font-size: 0.95rem;
  }
}

/* ===== FIX: MOBILE sliders must be 1-card even if children are .bc-card (not .bc-slider-item) ===== */
@media (max-width: 768px){

  /* 1) Bigger text (optional small bump) */
  body{ font-size:17px; line-height:1.6; }
  .bc-section-header h2, .bc-section-title, h2{ font-size:1.45rem; }

  /* 2) FORCE 1 card per view for your custom sliders (benefits/software/industries/customers) */
  .bc-slider-track-inner{
    display:flex !important;
    gap: 1rem !important;
  }

  /* ✅ this is the important part: apply to ANY direct child (bc-card, article, div, etc.) */
  .bc-slider-track-inner > *{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* fallback (in case a slider has no track-inner and items sit directly inside track) */
  .bc-slider-track > *{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 3) If any swiper slider exists, kill “peek” */
  .bc-slider-benefits .swiper-slide,
  .bc-slider-industries .swiper-slide{
    width: 100% !important;
  }

  /* 4) Contact form: force 1 column even if it's grid-based (not .row-based) */
  .bc-contact-form .form-grid,
  .bc-contact-form .bc-form-grid,
  .wpcf7 .form-grid,
  .wpcf7 .bc-form-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  /* 5) Footer: force 1 column */
  .bc-primary-footer-inner{ grid-template-columns: 1fr !important; }
}


/* Desktop: push menu to the right */
.bc-header-inner{
  display:flex;
  align-items:center;
}
.bc-main-nav{
  margin-left:auto;
}
.bc-nav-list{
  justify-content:flex-end;
}

/* Backdrop for mobile drawer */
.bc-nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:9998;
}
body.bc-nav-open .bc-nav-backdrop{
  opacity:1;
  pointer-events:auto;
}
body.bc-nav-open{
  overflow:hidden;
}


@media (max-width: 991px){

  /* hamburger on LEFT */
  .bc-header-inner{
    display:flex;
    align-items:center;
  }
  .bc-nav-toggle{
    order:-1;
    margin-right:12px;
  }
  .bc-logo{
    order:0;
  }

  /* LEFT drawer */
  .bc-main-nav{
    position:fixed;
    top:0;
    left:0;
    right:auto;

    height:100vh;
    width:min(340px, 86vw);

    background:#fff;
    border-right:1px solid rgba(0,0,0,.08);
    box-shadow:0 12px 30px rgba(0,0,0,.18);

    padding:84px 18px 18px;   /* top space for header */
    overflow-y:auto;

    transform:translateX(-105%);
    transition:transform .25s ease;

    display:block;            /* don't use display:none for drawers */
    z-index:9999;
  }

  body.bc-nav-open .bc-main-nav{
    transform:translateX(0);
  }

  /* drawer menu layout */
  .bc-nav-list{
    flex-direction:column;
    align-items:stretch;
    gap:.25rem;
    margin:0;
    padding:0;
  }
  .bc-nav-list a{
    width:100%;
  }

  /* dropdowns inside drawer */
  .bc-main-nav .bc-dropdown{
    position:static;
    width:100%;
    box-shadow:none;
    border:0;
    padding:8px 0 0 14px;
    display:none;
  }
  .bc-main-nav .bc-has-dropdown.is-open > .bc-dropdown{
    display:block;
  }
  .bc-main-nav .bc-dropdown-trigger{
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .bc-main-nav .bc-has-dropdown.is-open .bc-caret{
    transform:rotate(180deg);
  }
}


/* =========================================================
   NAV FIXES: mobile hamburger left + left drawer + close X
   + desktop menu pushed to the right
   ========================================================= */

/* Hide close button on desktop */
.bc-drawer-close{ display:none; }

@media (min-width: 992px){
  /* Push menu more to the right */
  .bc-main-nav{
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
  }
  .bc-nav-list{
    margin-left: auto;
    justify-content: flex-end;
  }
}

/* Mobile / Tablet drawer */
@media (max-width: 991.98px){

  /* Make hamburger appear on LEFT */
  .bc-header-inner{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:30px;
  }

  .bc-nav-toggle{
    order:0;
    margin-left:0 !important;
    margin-right:8px;
  }

  .bc-logo{ order:1; }

  /* Drawer nav (left) */
  .bc-main-nav{
    position: fixed !important;
    top: 0;
    left: 0;

    height: 100vh;
    width: min(86vw, 340px);

    background: #fff;
    overflow-y: auto;

    transform: translateX(-105%);
    transition: transform .28s ease;

    z-index: 9999;
    display: block !important;

    box-shadow: 0 20px 50px rgba(0,0,0,.20);
    padding: 58px 18px 18px; /* top padding leaves space for X */
  }

  .bc-main-nav.is-open{
    transform: translateX(0);
  }

  /* Backdrop */
  body.bc-nav-open{
    overflow:hidden;
  }
  body.bc-nav-open::before{
    content:"";
    position:fixed;
    inset:0;
    background: rgba(0,0,0,.35);
    z-index: 9998;
  }

  /* Close X button */
  .bc-drawer-close{
    display:block;
    position:absolute;
    top: 10px;
    right: 10px;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    font-size: 28px;
    line-height: 44px;
    color:#111;
    cursor:pointer;
  }

  /* Keep menu list stacked nicely */
  .bc-nav-list{
    display:flex;
    flex-direction:column;
    gap:14px;
  }

  /* Dropdowns should behave inside drawer */
  .bc-dropdown{
    position: static !important;
    box-shadow: none !important;
  }
}


.bc-hero-actions a.btn.btn-outline-light:hover {
 color:black!important;
}



@media (max-width: 500px) {
button.bc-video-fullscreen-toggle {
    display: none;
}
}


/* Drawer CTA button (mobile only) */
.bc-drawer-cta { display: none; }

@media (max-width: 991.98px){
  .bc-drawer-cta{
    display: block;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.08);
  }
  .bc-drawer-btn{
  width: 100%;
  max-width: 220px;
  margin-left: auto;   /* right aligned */
  margin-right: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none; /* because it's an <a> now */
}

}


/* Contact form client change:
   BAFA logo left aligned + address/details below BAFA on desktop too */
.bc-contact-info-top{
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
}

.bc-contact-bafa{
  justify-content: flex-start;
  order: -1; /* puts BAFA logo ABOVE the address/details */
}

.bc-contact-bafa img{
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}

/* Mobile hero video: force full cover (remove black side bars) */
@media (max-width: 500px) {
  .bc-hero-media {
    position: relative;
    overflow: hidden;
  }

  .bc-hero-media > video.bc-hero-video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    transform: scale(1.10);
  }
}



/* ==========================================
   HERO VIDEO SOUND BUTTON (CLEAN + OBVIOUS)
   Works with existing HTML:
   .bc-video-sound-toggle + .icon-muted/.icon-unmuted + .is-muted
   Paste at END of main.css and REMOVE older conflicting blocks
========================================== */

.bc-video-sound-toggle{
  position: absolute; /* keep your current positioning */
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;

  /* readable on bright + dark video frames */
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  color: #fff;
  overflow: visible;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.bc-video-sound-toggle:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.66);
  border-color: rgba(255,255,255,.48);
}

.bc-video-sound-toggle:active{
  transform: translateY(0);
}

/* icon images */
.bc-video-sound-toggle img{
  width: 22px;
  height: 22px;
  display: block;
  /* keep icon visible on any background */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}

/* state switching (IMPORTANT) */
.bc-video-sound-toggle.is-muted .icon-unmuted{ display:none; }
.bc-video-sound-toggle.is-muted .icon-muted{ display:block; }

.bc-video-sound-toggle:not(.is-muted) .icon-muted{ display:none; }
.bc-video-sound-toggle:not(.is-muted) .icon-unmuted{ display:block; }

/* ------------------------------
   UNMUTED (sound ON): pulse rings
------------------------------ */
.bc-video-sound-toggle::before,
.bc-video-sound-toggle::after{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:999px;
  pointer-events:none;
  opacity:0;
  transform: scale(1);
  border: 2px solid rgba(255,255,255,.30);
}

.bc-video-sound-toggle:not(.is-muted)::before{
  animation: bcSoundPulse 1.5s ease-out infinite;
}

.bc-video-sound-toggle:not(.is-muted)::after{
  animation: bcSoundPulse 1.5s ease-out infinite;
  animation-delay: .75s;
}

/* give the ON icon a tiny life */
.bc-video-sound-toggle:not(.is-muted) .icon-unmuted{
  animation: bcSoundBob 1.1s ease-in-out infinite;
}

@keyframes bcSoundPulse{
  0%   { opacity:.55; transform: scale(1); }
  70%  { opacity:0;   transform: scale(1.65); }
  100% { opacity:0;   transform: scale(1.65); }
}

@keyframes bcSoundBob{
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.06); }
}

/* ------------------------------
   MUTED (sound OFF): obvious animated "mute band" + slash
   Uses ONE moving masked stripe band + ONE crisp slash line.
------------------------------ */
.bc-video-sound-toggle.is-muted{
  background: rgba(0,0,0,.72);
  border-color: rgba(255,255,255,.46);
}

/* Moving stripe band (behind slash) */
.bc-video-sound-toggle.is-muted::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:999px;
  pointer-events:none;
  z-index: 2;

  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0) 0 10px,
    rgba(255,255,255,0.22) 10px 13px
  );
  background-size: 150% 150%;
  animation: bcMuteStripes 1.05s linear infinite;

  /* show the stripes ONLY as a diagonal band */
  -webkit-mask: linear-gradient(
    135deg,
    transparent 0 42%,
    #000 42% 58%,
    transparent 58% 100%
  );
  mask: linear-gradient(
    135deg,
    transparent 0 42%,
    #000 42% 58%,
    transparent 58% 100%
  );
}

/* Crisp slash line on top */
.bc-video-sound-toggle.is-muted::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%) rotate(-35deg);
  border-radius: 2px;
  background: rgba(255,255,255,0.96);
  pointer-events:none;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.28);
}

/* soften the muted icon a bit so slash reads stronger */
.bc-video-sound-toggle.is-muted img{
  opacity: .85;
}

@keyframes bcMuteStripes{
  0%   { background-position: 0% 0%; }
  100% { background-position: 120% 120%; }
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .bc-video-sound-toggle::before,
  .bc-video-sound-toggle::after,
  .bc-video-sound-toggle img{
    animation: none !important;
  }
}

/* =========================================================
   HERO VIDEO SOUND BUTTON — ANIMATED ON BOTH STATES
   HTML used:
   <button class="bc-video-sound-toggle is-muted|...">
     <span class="bc-audio-icon">
       <span class="bc-audio-bar"></span> x3
       <span class="bc-audio-slash"></span>
     </span>
   </button>
   Paste at END of main.css and REMOVE older conflicting blocks.
========================================================= */

.bc-video-sound-toggle{
  position: absolute; /* keep your current positioning */
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;

  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  color: #fff;
  cursor: pointer;
  overflow: visible;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.bc-video-sound-toggle:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.68);
  border-color: rgba(255,255,255,.52);
}

.bc-video-sound-toggle:active{ transform: translateY(0); }

/* ---------- icon layout ---------- */
.bc-audio-icon{
  position: relative;
  width: 26px;
  height: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  z-index: 2; /* above rings */
}

.bc-audio-bar{
  width: 3px;
  height: 16px;
  border-radius: 3px;
  background: currentColor;
  transform-origin: bottom;
  opacity: .95;
}

/* base animation timing (used by both states) */
.bc-audio-bar:nth-child(1){ animation-delay: 0s; }
.bc-audio-bar:nth-child(2){ animation-delay: .12s; }
.bc-audio-bar:nth-child(3){ animation-delay: .24s; }

/* ---------- OUTER RINGS (button pseudo elements) ---------- */
.bc-video-sound-toggle::before,
.bc-video-sound-toggle::after{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:999px;
  pointer-events:none;
  opacity:0;
  transform: scale(1);
  border: 2px solid rgba(255,255,255,.26);
  z-index: 1;
}

/* UNMUTED ring pulse */
.bc-video-sound-toggle:not(.is-muted)::before{
  opacity: .55;
  animation: bcRingPulse 1.6s ease-out infinite;
}
.bc-video-sound-toggle:not(.is-muted)::after{
  opacity: .40;
  animation: bcRingPulse 1.6s ease-out infinite;
  animation-delay: .8s;
}

/* MUTED ring pulse (slower + lighter) */
.bc-video-sound-toggle.is-muted::before{
  opacity: .28;
  animation: bcRingPulseMuted 2.2s ease-out infinite;
}
.bc-video-sound-toggle.is-muted::after{
  opacity: .18;
  animation: bcRingPulseMuted 2.2s ease-out infinite;
  animation-delay: 1.1s;
}

/* ---------- UNMUTED: lively bouncing bars ---------- */
.bc-video-sound-toggle:not(.is-muted) .bc-audio-bar{
  animation: bcBarsOn .9s ease-in-out infinite;
}

/* ---------- MUTED: subtle idle bars (still “audio”) ---------- */
.bc-video-sound-toggle.is-muted .bc-audio-bar{
  opacity: .65;
  animation: bcBarsOff 1.15s ease-in-out infinite;
}

/* ---------- MUTED: pulsing slash + moving wave arcs ---------- */
.bc-audio-slash{
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%) rotate(-35deg);
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
  z-index: 3;
}

.bc-video-sound-toggle.is-muted .bc-audio-slash{
  opacity: .95;
  animation: bcSlashPulse 1.1s ease-in-out infinite;
}

/* wave arcs (only show in muted to scream “sound control”) 
.bc-video-sound-toggle.is-muted .bc-audio-icon::before,
.bc-video-sound-toggle.is-muted .bc-audio-icon::after{
  content:"";
  position:absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  pointer-events:none;
  opacity: .9;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
*/

/* inner wave */
.bc-video-sound-toggle.is-muted .bc-audio-icon::before{
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.9);
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: bcWave 1.0s ease-in-out infinite;
}

/* outer wave 
.bc-video-sound-toggle.is-muted .bc-audio-icon::after{
  width: 18px;
  height: 18px;
  right: -14px;
  border: 2px solid rgba(255,255,255,.65);
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: bcWave 1.0s ease-in-out infinite;
  animation-delay: .18s;
  opacity: .65;
}

*/

/* ---------- keyframes ---------- */
@keyframes bcBarsOn{
  0%   { transform: scaleY(.45); opacity: .70; }
  50%  { transform: scaleY(1.05); opacity: 1; }
  100% { transform: scaleY(.55); opacity: .80; }
}

@keyframes bcBarsOff{
  0%   { transform: scaleY(.35); }
  50%  { transform: scaleY(.65); }
  100% { transform: scaleY(.40); }
}

@keyframes bcSlashPulse{
  0%,100% { opacity: .85; transform: translateY(-50%) rotate(-35deg) scaleX(1); }
  50%     { opacity: 1;   transform: translateY(-50%) rotate(-35deg) scaleX(1.06); }
}

@keyframes bcWave{
  0%,100% { transform: translateY(-50%) scale(.92); opacity: .65; }
  50%     { transform: translateY(-50%) scale(1.06); opacity: 1; }
}

@keyframes bcRingPulse{
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

@keyframes bcRingPulseMuted{
  0%   { transform: scale(1);    opacity: .28; }
  75%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .bc-video-sound-toggle::before,
  .bc-video-sound-toggle::after,
  .bc-audio-bar,
  .bc-audio-slash,
  .bc-video-sound-toggle.is-muted .bc-audio-icon::before,
  .bc-video-sound-toggle.is-muted .bc-audio-icon::after{
    animation: none !important;
  }
}


/* ===========================
   AI GALLERY (Aligned with Benefits + 3 equal items)
=========================== */

.bc-ai-gallery{
  padding: 56px 0;
  background: #fff;
}

/* IMPORTANT: align with Benefits slider container */
.bc-ai-gallery .container{
  max-width: 1200px; /* Bootstrap container width feeling (matches your Benefits area) */
}

/* ===== Header: Title left, dropdown centered ===== */
.bc-ai-gallery-head{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.bc-ai-gallery-title{
  grid-column: 1;
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
}

.bc-ai-gallery-filter{
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-ai-gallery-label{
  font-size: 14px;
  opacity: .75;
}

.bc-ai-gallery-select{
  min-width: 180px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 5px 16px;
  background: #fff;
  outline: none;
  appearance: none;
}

/* ===== Slider layout (aligned like Benefits) ===== */
/* ===== Slider layout: match Benefits behavior ===== */
.bc-ai-gallery-slider{
  position: relative;
  overflow: visible; /* allow arrows outside */
  display: block;    /* IMPORTANT: stop grid layout */
}

/* keep viewport normal */
.bc-ai-viewport{
  overflow: hidden;
  border-radius: 18px;
}

/* ===== Arrows: same look + same vertical alignment as Benefits ===== */
.bc-ai-gallery-slider .bc-ai-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  border: none;
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;
}

/* same offsets as Benefits */
.bc-ai-gallery-slider .bc-ai-prev{
  left: -56px;
}
.bc-ai-gallery-slider .bc-ai-next{
  right: -56px;
}



.bc-ai-nav:active{
  box-shadow: none;
}

.bc-ai-viewport{
  overflow: hidden;
  border-radius: 18px;
}

/* key: width 100% so card calc is based on visible area */
.bc-ai-track{
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 0;
  will-change: transform;
  transition: transform 420ms ease;
}

/* ===== 3 items visible, equal size (like Benefits cards) ===== */
.bc-ai-item{
  flex: 0 0 calc((100% - 36px) / 3); /* 3 cards, 2 gaps (18px+18px=36px) */
  height: 220px;                    /* match Benefits card feel */
  border-radius: 18px;
  background: #cfcfcf;
  position: relative;

  /* remove center-big behavior */
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* make sure active/adjacent don’t change size */
.bc-ai-item.is-active,
.bc-ai-item.is-adjacent{
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* image */
.bc-ai-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.bc-ai-item video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

/* optional badges */
.bc-ai-item.is-video::after{
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 44px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.bc-ai-item.is-banner::after{
  content: "Banner";
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px){
  .bc-ai-gallery-head{
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .bc-ai-gallery-filter{
    grid-column: 1;
    justify-self: start;
  }

  .bc-ai-gallery-title{
    font-size: 26px;
  }

  .bc-ai-gallery-slider{
    grid-template-columns: 40px 1fr 40px;
  }

  .bc-ai-nav{
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* on mobile show 1 card */
  .bc-ai-track{
    gap: 14px;
  }

  .bc-ai-item{
    flex: 0 0 100%;
    height: 200px;
  }
}


@media (max-width: 768px){
  .bc-ai-gallery-slider .bc-ai-nav{
    display: none !important;
  }
}


.bc-ai-viewport{
  touch-action: pan-y;              /* allow vertical scroll, keep horizontal swipe */
  -webkit-user-select: none;
  user-select: none;
}

.bc-ai-viewport img{
  -webkit-user-drag: none;
  user-drag: none;
}


/* AI-Gallery: make the middle visible item a bit bigger (desktop only) */
@media (min-width: 992px){
  .bc-ai-track .bc-ai-item.is-active{
    transform: scale(1.08) !important;
    z-index: 2;
  }

  /* optional: a tiny lift + soft shadow for the “big” feel */
  .bc-ai-track .bc-ai-item.is-active img{
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
  }
}

select#bcAIGalleryType {
    cursor: pointer;
}

label.bc-ai-gallery-label {
    margin: 0px;
}


/* === AI Gallery: card separation (border + shadow) === */
.bc-ai-item{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  overflow:hidden; /* keeps rounded corners clean */
}

.bc-ai-item:hover{
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

/* videos inside cards */
.bc-ai-item video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* === AI Gallery: lightbox popup (FIXED: scroll, close centering, video sizing, mobile) === */
.bc-ai-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 24px;
  overscroll-behavior: contain;
}

.bc-ai-lightbox.is-open{ display: flex; }

.bc-ai-lightbox__inner{
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  position: relative;
  border-radius: 18px;
  background: #0b0b0b;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  overflow: hidden; /* keeps rounded corners clean */
}

/* Make media area scrollable when needed */
.bc-ai-lightbox__media{
  width: 100%;
  max-height: calc(100vh - 48px);
  min-height: 56vh;              /* prevents the “only controls bar” look */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;                /* ✅ scroll if image is tall */
  -webkit-overflow-scrolling: touch;
  background: #000;
}

/* Image: no forced height:100% (this caused cropping/half image) */
.bc-ai-lightbox__media img{
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Video: give it real height, keep controls visible */
.bc-ai-lightbox__media video{
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  background: #000;
}

/* Close button: centered X */
.bc-ai-lightbox__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 22px;
}

/* Loading spinner (nice instead of ugly blank/half render) */
.bc-ai-lightbox.is-loading .bc-ai-lightbox__inner::after{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: bcAiSpin .8s linear infinite;
  pointer-events: none;
}

@keyframes bcAiSpin{
  to { transform: rotate(360deg); }
}

/* Mobile */
@media (max-width: 768px){
  .bc-ai-lightbox{ padding: 12px; }

  .bc-ai-lightbox__inner{
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  .bc-ai-lightbox__media{
    min-height: 240px;
    max-height: calc(100vh - 24px);
  }

  .bc-ai-lightbox__close{
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }
}

/* ================================
   AI Gallery Lightbox fixes
================================ */
.bc-ai-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 999999;
}

.bc-ai-lightbox.is-open{ display:flex; }

.bc-ai-lightbox__inner{
  position: relative;
  width: min(1200px, 96vw);
  max-height: 92vh;
  background: #0b0b0b;
  border-radius: 16px;
  overflow: hidden; /* keep rounded corners */
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* IMPORTANT: scroll happens here so tall banners show from top */
.bc-ai-lightbox__media{
  width: 100%;
  height: 100%;
  max-height: 92vh;
  overflow: auto;
  background: #000;
}

/* images/banners: fully visible + scrollable */
.bc-ai-lightbox__media img{
  width: 100%;
  height: auto;
  display: block;
}

/* video: proper size + controls visible */
.bc-ai-lightbox__media video{
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

/* Close button must sit ABOVE video and be perfectly centered */
.bc-ai-lightbox__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 22px;
  z-index: 50;          /* critical */
  pointer-events: auto; /* critical */
}

.bc-ai-lightbox__close:hover{
  background: rgba(255,255,255,1);
}

/* Mobile tweaks */
@media (max-width: 768px){
  .bc-ai-lightbox{ padding: 10px; }
  .bc-ai-lightbox__inner{
    width: 100%;
    max-height: 90vh;
    border-radius: 14px;
  }
  .bc-ai-lightbox__media{ max-height: 90vh; }
  .bc-ai-lightbox__close{
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}


/* Lightbox: make close icon centered */
.bc-ai-lightbox__close{
  display:grid;
  place-items:center;
  line-height:1;
  font-size:20px;
  z-index:2;
}

/* Lightbox: allow scrolling for tall images/banners */
.bc-ai-lightbox__media{
  overflow:auto;              /* instead of hidden */
  -webkit-overflow-scrolling: touch;
  background:#000;
}

/* Images should not be forced to height:100% */
.bc-ai-lightbox__media img{
  width:100%;
  height:auto;
  display:block;
}

/* Video responsive */
.bc-ai-lightbox__media video{
  width:100%;
  height:auto;
  max-height:88vh;
  display:block;
}

/* Banners: show top part in cards (avoid cutting the headline) */
.bc-ai-item.is-banner img{
  object-position: top center;
}

/* Mobile */
@media (max-width: 768px){
  .bc-ai-lightbox{ padding:12px; }
  .bc-ai-lightbox__inner{ width:96vw; max-height:92vh; }
  .bc-ai-lightbox__close{ top:-10px; right:-10px; width:44px; height:44px; }
}


.bc-ai-item {
    cursor: pointer;
}













