/* Uses the same visual language as the home template */

:root{
  --bcgh-navy: #0b2f5b;
  --bcgh-navy-2: #072446;
  --bcgh-bg: #ffffff;
  --bcgh-soft: #f3f7fb;
  --bcgh-border: rgba(15, 23, 42, 0.10);
}

.bcgh-page{
  background: var(--bcgh-bg);
}

/* HERO */
.bcgh-hero{
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-bottom: 1px solid var(--bcgh-border);
}

.bcgh-hero-media{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.bcgh-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.45) 55%, rgba(255,255,255,0.10) 100%);
}

.bcgh-hero-overlay{
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
}

.bcgh-kicker{
  margin: 0 0 .6rem;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.60);
}

.bcgh-title{
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.12;
  color: #0b1a26;
}

/* SECTIONS */
.bcgh-section{
  padding: 4rem 0;
}

.bcgh-section--tight{
  padding: 3rem 0;
}

.bcgh-section--alt{
  background: var(--bcgh-soft);
  border-top: 1px solid var(--bcgh-border);
  border-bottom: 1px solid var(--bcgh-border);
}

.bcgh-section-header{
  margin-bottom: 1.6rem;
}

.bcgh-h2{
  margin: 0 0 .75rem;
  font-size: 1.9rem;
  color: #0b1a26;
}

.bcgh-h2--center{
  text-align:center;
}

.bcgh-sub{
  margin: 0;
  color: rgba(15, 23, 42, 0.65);
  font-size: 1rem;
}

.bcgh-sub--center{
  text-align:center;
}

.bcgh-text{
  margin: 0;
  color: rgba(15, 23, 42, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* VIDEO */
.bcgh-video{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 40px rgba(2, 10, 25, 0.12);
  border: 1px solid var(--bcgh-border);
}

.bcgh-video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.bcgh-muted-center{
  margin: 1rem 0 0;
  text-align:center;
  color: rgba(15, 23, 42, 0.55);
  font-size: .95rem;
}

/* TIMELINE (stacked cards) */
.bcgh-timeline{
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.bcgh-tl-card{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--bcgh-border);
  box-shadow: 0 10px 24px rgba(2, 10, 25, 0.06);
}

.bcgh-tl-year{
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bcgh-navy);
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}

.bcgh-h3{
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #0b1a26;
}

.bcgh-tl-body .bcgh-text{
  font-size: 1rem;
}

/* PARTNER LOGOS GRID */
.bcgh-logos{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items:center;
  justify-items:center;
  max-width: 980px;
  margin: 0 auto;
}

.bcgh-logos img{
  max-width: 120px;
  width: 100%;
  height: auto;
  filter: saturate(1.02);
  opacity: .95;
  transition: transform .15s ease, opacity .15s ease;
}

.bcgh-logos img:hover{
  transform: translateY(-2px);
  opacity: 1;
}

/* DISCLAIMER */
/* .bcgh-disclaimer{
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(15, 23, 42, 0.18);
}

.bcgh-disclaimer-text{
  margin:0;
  font-size: .92rem;
  color: rgba(15, 23, 42, 0.60);
  line-height: 1.65;
} */

/* RESPONSIVE */
@media (max-width: 991.98px){
  .bcgh-title{ font-size: 2.2rem; }
  .bcgh-hero-overlay{ padding: 4.6rem 0 3.6rem; }
  .bcgh-logos{ grid-template-columns: repeat(3, 1fr); }
  .bcgh-tl-card{ grid-template-columns: 90px 1fr; }
}

@media (max-width: 575.98px){
  .bcgh-title{ font-size: 1.95rem; }
  .bcgh-section{ padding: 3.2rem 0; }
  .bcgh-logos{ grid-template-columns: repeat(2, 1fr); }
  .bcgh-tl-card{ grid-template-columns: 1fr; }
  .bcgh-tl-year{ font-size: 1rem; }
}
/* End of bc-rinnetal-geschichte.css */


/* ===============================
   TIMELINE (make it look like a real timeline)
   - NO HTML changes needed
   =============================== */

.bcgh-timeline{
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0;
}

/* Center vertical line */
.bcgh-timeline::before{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(11, 47, 91, 0.14);
}

/* Cards become 2-column alternating layout */
.bcgh-tl-card{
  position: relative;
  width: calc(50% - 36px);
  margin: 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--bcgh-border);
  box-shadow: 0 14px 30px rgba(2, 10, 25, 0.08);

  /* keep your internal grid */
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
}

/* Alternate left/right */
.bcgh-tl-card:nth-child(odd){
  margin-right: auto;
}

.bcgh-tl-card:nth-child(even){
  margin-left: auto;
}

/* The dot on the center line for each item */
.bcgh-tl-card::before{
  content:"";
  position:absolute;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--bcgh-navy);
  box-shadow: 0 0 0 5px rgba(11, 47, 91, 0.14);
}

/* little connector from card to center line */
.bcgh-tl-card::after{
  content:"";
  position:absolute;
  top: 32px;
  width: 26px;
  height: 2px;
  background: rgba(11, 47, 91, 0.22);
}

/* Place dot + connector correctly for left/right cards */
.bcgh-tl-card:nth-child(odd)::before{
  right: -43px;
}

.bcgh-tl-card:nth-child(odd)::after{
  right: -29px;
}

.bcgh-tl-card:nth-child(even)::before{
  left: -43px;
}

.bcgh-tl-card:nth-child(even)::after{
  left: -29px;
}

/* Make year look like a badge */
.bcgh-tl-year{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 47, 91, 0.08);
  color: var(--bcgh-navy);
  font-weight: 800;
  font-size: 1rem;
}

/* Titles slightly stronger */
.bcgh-h3{
  margin: 0 0 6px;
  font-size: 1.18rem;
}

/* ========== MOBILE: single column timeline ========== */
@media (max-width: 991.98px){
  .bcgh-timeline{
    padding-left: 26px;
  }

  /* Line moves to the left */
  .bcgh-timeline::before{
    left: 10px;
    transform: none;
  }

  .bcgh-tl-card{
    width: 100%;
    grid-template-columns: 90px 1fr;
  }

  /* All items align same */
  .bcgh-tl-card:nth-child(odd),
  .bcgh-tl-card:nth-child(even){
    margin: 0;
  }

  .bcgh-tl-card::before{
    left: -26px;
    right: auto;
    top: 26px;
  }

  .bcgh-tl-card::after{
    left: -12px;
    right: auto;
    width: 18px;
  }
}

@media (max-width: 575.98px){
  .bcgh-tl-card{
    grid-template-columns: 1fr;
  }

  .bcgh-tl-year{
    justify-content: flex-start;
    width: fit-content;
  }
}


.bcgh-disclaimer-text{
  margin: 0 0 12px;
  line-height: 1.85;
}
.bcgh-disclaimer-text:last-child{
  margin-bottom: 0;
}


/* ===========================
   Shared Disclaimer (Rinnetal)
   Match Stellenangebote style
   =========================== */

.bcsr-section.bcsr-section--tight{
  padding: 2.6rem 0;
}

.bcsr-disclaimer{
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(15, 23, 42, 0.18);
}

.bcsr-disclaimer-text{
  margin: 0 0 12px;
  font-size: .92rem;
  color: rgba(15, 23, 42, 0.60);
  line-height: 1.85;
}

.bcsr-disclaimer-text:last-child{
  margin-bottom: 0;
}


/* Make disclaimer match the page container width */
.bcsr-disclaimer{
  max-width: none;
  width: 100%;
}

