/* BSB Style Manager – Startseite (nur auf der Startseite geladen) */
.bsbh{--bsbh-line:#e6e9ee;--bsbh-muted:#5b6470;--bsbh-radius:4px;color:#111}
.bsbh *,.bsbh *::before,.bsbh *::after{box-sizing:border-box}
.bsbh a{color:inherit;text-decoration:none}
.bsbh-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bsbh-w{max-width:1440px;margin:0 auto;padding:0 32px}

/* Hero */
.bsbh-hero{margin:0}
.bsbh-hero a,.bsbh-hero .bsbh-hero-link{display:block}
.bsbh-hero img{display:block;width:100%;height:auto}

/* Vorteile */
.bsbh-usp{border-bottom:1px solid var(--bsbh-line)}
.bsbh-usp ul{list-style:none;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.bsbh-usp li{display:flex;gap:12px;align-items:center;padding:18px 8px;font-size:16px;line-height:1.25}
.bsbh-usp strong{display:block;font-weight:600}
.bsbh-usp small{display:block;color:var(--bsbh-muted);font-size:14px}
.bsbh svg{flex:none;width:26px;height:26px;fill:none;stroke:var(--bsb-primary,#0065AE);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Abschnitte */
.bsbh-sec{padding-top:64px}
.bsbh-sec-last{padding-bottom:16px}
.bsbh-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
.bsbh-hd h2{font-size:34px;font-weight:700;letter-spacing:-.01em;line-height:1.1;margin:0}
.bsbh-lead{color:var(--bsbh-muted);font-size:17px;margin:6px 0 0}
.bsbh-kick{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--bsb-primary,#0065AE);margin:0 0 6px}

/* Bus-Kacheln */
.bsbh-bus{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.bsbh-bus-tile{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;border-radius:var(--bsbh-radius);background:var(--bsb-primary,#0065AE)}
.bsbh-bus-tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.bsbh-bus-tile span{position:absolute;inset:auto 0 0 0;padding:70px 22px 20px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff}
.bsbh-bus-tile b{display:block;font-size:30px;line-height:1}
.bsbh-bus-tile i{font-style:normal;font-size:15px;font-weight:600}
a.bsbh-bus-tile:hover img{transform:scale(1.05)}
a.bsbh-bus-tile:focus-visible,.bsbh a:focus-visible{outline:3px solid var(--bsb-primary,#0065AE);outline-offset:3px}

/* Themen-Kacheln */
.bsbh-duo{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}
.bsbh-card{position:relative;display:grid;grid-template-columns:1fr auto;min-height:380px;overflow:hidden;border-radius:var(--bsbh-radius);color:#fff}
.bsbh-card-blue{background:var(--bsb-primary,#0065AE)}
.bsbh-card-photo{background:#1b1f24;grid-template-columns:1fr}
.bsbh-card-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.bsbh-card-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.75),rgba(0,0,0,.15))}
a.bsbh-card-photo:hover .bsbh-card-bg{transform:scale(1.04)}
.bsbh-card-tx{position:relative;z-index:1;padding:44px;display:flex;flex-direction:column;justify-content:center;gap:14px;max-width:460px}
.bsbh-card .bsbh-kick{color:#fff;opacity:.8}
.bsbh .bsbh-card,.bsbh .bsbh-card p,.bsbh .bsbh-card h3{color:#fff}
.bsbh-card h3{font-size:36px;line-height:1.05;margin:0;color:#fff}
.bsbh-card p{font-size:17px;margin:0}
.bsbh-seats{display:flex;gap:10px;align-items:flex-end;padding:30px 30px 0 0}
.bsbh-seats img{height:230px;width:auto;border-radius:var(--bsbh-radius) var(--bsbh-radius) 0 0;background:#fff}
.bsbh-btn{display:inline-block;align-self:flex-start;background:#fff;color:var(--bsb-primary,#0065AE)!important;font-weight:700;padding:13px 26px;border-radius:999px;font-size:16px;transition:transform .2s ease}
a:hover>.bsbh-card-tx .bsbh-btn,a.bsbh-btn:hover{transform:translateX(3px)}
.bsbh-btn-blue{background:var(--bsb-primary,#0065AE);color:#fff!important}

/* Service */
.bsbh-svc{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bsbh-svc-card{display:flex;gap:18px;align-items:flex-start;padding:26px;border:1px solid var(--bsbh-line);border-radius:var(--bsbh-radius);transition:border-color .2s ease}
a.bsbh-svc-card:hover{border-color:var(--bsb-primary,#0065AE)}
.bsbh-svc-card svg{width:34px;height:34px;stroke-width:1.8}
.bsbh-svc-card b{display:block;font-size:20px;margin-bottom:4px}
.bsbh-svc-card p{color:var(--bsbh-muted);font-size:15px;line-height:1.45;margin:0}
.bsbh-svc-card em{display:block;font-style:normal;font-weight:700;color:var(--bsb-primary,#0065AE);margin-top:10px}
.bsbh .bsbh-bar,.bsbh .bsbh-bar a{color:#fff}
.bsbh-bar{margin-top:16px;background:#111;color:#fff;border-radius:var(--bsbh-radius);padding:22px 30px;display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.bsbh-bar b{font-size:20px;margin-right:auto}
.bsbh-bar a,.bsbh-bar span{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.bsbh-bar svg{width:20px;height:20px;stroke:#fff}

/* JTL-Artikelslider und Magazin an den Look angleichen */
.product-slider-wrapper .hr-sect,.index-news-wrapper .hr-sect{justify-content:flex-start;font-size:34px;font-weight:700;letter-spacing:-.01em;text-align:left}
.product-slider-wrapper .hr-sect::before,.product-slider-wrapper .hr-sect::after,
.index-news-wrapper .hr-sect::before,.index-news-wrapper .hr-sect::after{display:none}
.product-slider-wrapper .hr-sect a,.index-news-wrapper .hr-sect a{color:inherit;text-decoration:none}
.product-slider-wrapper{margin-top:64px}
.index-news-wrapper{margin-top:64px}

@media (prefers-reduced-motion:reduce){.bsbh *{transition:none!important}}

@media (max-width:991.98px){
  .bsbh-w{padding:0 16px}
  .bsbh-usp ul{grid-template-columns:1fr 1fr}
  .bsbh-usp li{font-size:14px;padding:14px 4px}
  .bsbh-sec,.product-slider-wrapper,.index-news-wrapper{padding-top:0;margin-top:44px}
  .bsbh-sec{padding-top:44px;margin-top:0}
  .bsbh-hd h2,.product-slider-wrapper .hr-sect,.index-news-wrapper .hr-sect{font-size:26px}
  .bsbh-lead{display:none}
  .bsbh-bus{grid-template-columns:1fr 1fr;gap:10px}
  .bsbh-bus-tile b{font-size:24px}
  .bsbh-bus-tile span{padding:50px 14px 14px}
  .bsbh-duo,.bsbh-svc{grid-template-columns:1fr}
  .bsbh-card{grid-template-columns:1fr;min-height:320px}
  .bsbh-card-tx{padding:28px}
  .bsbh-card h3{font-size:28px}
  .bsbh-seats{justify-content:flex-end;padding:0 20px}
  .bsbh-seats img{height:170px}
  .bsbh-bar{padding:20px;gap:14px}
  .bsbh-bar b{width:100%}
}

/* 1.1.1: NOVA-Abstand über dem Inhalt auf der Startseite entfernen, Hero direkt unter den Header */
#content-wrapper{padding-top:0!important}
#content-wrapper>.breadcrumb-container{display:none}
/* 1.1.2: Inhaltsfeld der Startseite (Eigene Seiten > Startseite) ausblenden, solange die Plugin-Startseite aktiv ist.
   Dort steht sonst oft ein leerer Absatz, der Platz über dem Banner erzeugt. */
#content>.link-content{display:none}
.bsbh:first-child,.bsbh-hero{margin-top:0}
