
:root{
  --bac-accent:#e10600;
  --bac-bg:#0b0d10;
  --bac-panel:#12161b;
  --bac-text:#f7f8fa;
  --bac-muted:#aeb5bf;
  --bac-line:rgba(255,255,255,.10);
  --bac-radius:18px;
  --bac-shadow:0 24px 70px rgba(0,0,0,.30);
}

html{scroll-behavior:smooth}

body.bac-jugend-site{
  background:var(--bac-bg);
  color:var(--bac-text);
  font-family:Inter,"Segoe UI",Arial,sans-serif;
}

body.bac-jugend-site .site{background:var(--bac-bg)}
body.bac-jugend-site #masthead{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(9,11,14,.93);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--bac-line);
}

body.admin-bar.bac-jugend-site #masthead{top:32px}

body.bac-jugend-site #masthead .site-title,
body.bac-jugend-site #masthead .site-title a,
body.bac-jugend-site #masthead .site-branding a{
  color:#fff!important;
  font-weight:900;
  letter-spacing:-.03em;
}

body.bac-jugend-site #masthead .main-navigation a{
  color:#fff!important;
  font-weight:700;
  font-size:.92rem;
}

body.bac-jugend-site #masthead .main-navigation a:hover,
body.bac-jugend-site #masthead .current-menu-item>a{
  color:var(--bac-accent)!important;
}

body.bac-jugend-site .entry-header{display:none}
body.bac-jugend-site .content-area,
body.bac-jugend-site .site-main{margin:0;padding:0}
body.bac-jugend-site .content-container{max-width:none;padding:0}
body.bac-jugend-site .site-footer{display:none!important}
body.bac-jugend-site a{color:inherit}

.bac-page{width:100%}
.bac-shell{width:min(1180px,calc(100% - 48px));margin:0 auto}

.bac-hero,.bac-page-hero{
  position:relative;
  overflow:hidden;
  width:100%;
  background:#0b0d10;
}

.bac-hero{
  min-height:760px;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 72% 30%,rgba(225,6,0,.24),transparent 31%),
    linear-gradient(120deg,#090b0e 0%,#11161c 55%,#08090b 100%);
  background-size:cover;
  background-position:center;
}

.bac-hero:before,.bac-page-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(115deg,transparent 0 66%,rgba(255,255,255,.035) 66% 68%,transparent 68%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.022) 0 1px,transparent 1px 76px);
  pointer-events:none;
}

.bac-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(5,7,9,.94) 0%,rgba(5,7,9,.72) 48%,rgba(5,7,9,.18) 100%);
}

.bac-hero-inner{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:100px 0 80px;
}

.bac-hero-copy{max-width:780px}
.bac-hero-logo{max-width:220px;max-height:120px;object-fit:contain;margin-bottom:28px}

.bac-eyebrow,.bac-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--bac-accent);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.bac-eyebrow:before{
  content:"";
  width:34px;
  height:3px;
  background:var(--bac-accent);
}

.bac-hero h1,.bac-page-hero h1{
  margin:18px 0 20px;
  color:#fff;
  font-size:clamp(3.8rem,8vw,7.7rem);
  line-height:.88;
  letter-spacing:-.065em;
  font-weight:950;
  max-width:1000px;
  text-transform:uppercase;
}

.bac-hero p,.bac-page-hero p{
  max-width:720px;
  color:#d8dde4;
  font-size:clamp(1.05rem,1.8vw,1.35rem);
  line-height:1.65;
}

.bac-hero-number{
  font-size:15rem;
  line-height:.7;
  font-weight:950;
  color:rgba(255,255,255,.035);
  letter-spacing:-.08em;
}

.bac-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:32px;
}

.bac-btn{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 25px;
  border:1px solid var(--bac-line);
  border-radius:999px;
  text-decoration:none!important;
  font-size:.86rem;
  font-weight:900;
  letter-spacing:.065em;
  text-transform:uppercase;
  transition:.2s ease;
  cursor:pointer;
}

.bac-btn:hover{transform:translateY(-2px)}

.bac-btn-primary{
  background:var(--bac-accent);
  border-color:var(--bac-accent);
  color:#fff!important;
}

.bac-btn-ghost{
  background:rgba(255,255,255,.04);
  color:#fff!important;
}

.bac-btn-light{
  background:#fff;
  color:#0b0d10!important;
  border-color:#fff;
}

.bac-quickfacts{
  background:#0f1318;
  border-top:1px solid var(--bac-line);
  border-bottom:1px solid var(--bac-line);
}

.bac-facts-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.bac-facts-grid>div{
  padding:30px 28px;
  border-right:1px solid var(--bac-line);
}

.bac-facts-grid>div:first-child{border-left:1px solid var(--bac-line)}
.bac-facts-grid strong{display:block;color:#fff;font-size:1.5rem;font-weight:950}
.bac-facts-grid span{display:block;margin-top:5px;color:var(--bac-muted);font-size:.83rem}

.bac-section{padding:100px 0;background:var(--bac-bg)}
.bac-section-alt{background:#0e1216}

.bac-section-head{max-width:760px;margin-bottom:42px}

.bac-section-head h2,.bac-section h2{
  margin:14px 0 16px;
  color:#fff;
  font-size:clamp(2.35rem,5vw,4.2rem);
  line-height:.98;
  letter-spacing:-.055em;
  font-weight:950;
}

.bac-section-head p,.bac-section p{
  color:var(--bac-muted);
  font-size:1.04rem;
  line-height:1.75;
}

.bac-split{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:70px;
  align-items:center;
}

.bac-feature-box{
  padding:42px;
  border-radius:var(--bac-radius);
  background:linear-gradient(145deg,#171c22,#101419);
  border:1px solid var(--bac-line);
  box-shadow:var(--bac-shadow);
}

.bac-feature-num{
  display:block;
  color:var(--bac-accent);
  font-size:clamp(3.2rem,6vw,5.5rem);
  font-weight:950;
  letter-spacing:-.07em;
  line-height:.9;
  margin-bottom:18px;
}

.bac-feature-box strong{display:block;font-size:1.35rem;color:#fff}
.bac-more{color:#fff!important;text-decoration:none!important;font-weight:800}
.bac-more:hover{color:var(--bac-accent)!important}

.bac-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.bac-event-card{
  display:grid;
  grid-template-columns:82px 1fr;
  gap:20px;
  align-items:center;
  min-height:165px;
  padding:25px;
  border-radius:var(--bac-radius);
  border:1px solid var(--bac-line);
  background:var(--bac-panel);
  text-decoration:none!important;
  transition:.2s ease;
}

.bac-event-card:hover,.bac-news-card:hover,.bac-person-card:hover,.bac-content-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.22);
}

.bac-date{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  height:84px;
  border-radius:14px;
  background:var(--bac-accent);
  color:#fff;
}

.bac-date strong{font-size:2rem;line-height:1;font-weight:950}
.bac-date span{margin-top:4px;font-size:.72rem;font-weight:900;letter-spacing:.08em}

.bac-event-card h3,.bac-news-card h3,.bac-person-card h3,.bac-content-card h3{
  color:#fff;
  margin:7px 0 9px;
  font-size:1.25rem;
  line-height:1.2;
}

.bac-news-card,.bac-person-card,.bac-content-card{
  overflow:hidden;
  border-radius:var(--bac-radius);
  border:1px solid var(--bac-line);
  background:var(--bac-panel);
  transition:.2s ease;
}

.bac-news-image,.bac-person-image,.bac-content-image{
  display:block;
  aspect-ratio:16/10;
  background-size:cover;
  background-position:center;
}

.bac-image-placeholder,.bac-person-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 70% 20%,rgba(225,6,0,.35),transparent 28%),
    linear-gradient(135deg,#20262d,#0e1115);
}

.bac-image-placeholder span{
  font-size:3.5rem;
  font-weight:950;
  color:rgba(255,255,255,.17);
}

.bac-news-body,.bac-person-body,.bac-content-body{padding:24px}
.bac-news-body h3 a{text-decoration:none!important}
.bac-news-body p,.bac-content-body p{font-size:.94rem;line-height:1.65}

.bac-trial-band{background:var(--bac-accent);padding:70px 0}
.bac-trial-band .bac-eyebrow{color:#fff}
.bac-trial-band .bac-eyebrow:before{background:#fff}
.bac-trial-band h2{margin:10px 0 12px}
.bac-trial-band p{color:rgba(255,255,255,.83);margin:0;max-width:760px}

.bac-trial-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:40px;
  align-items:center;
}

.bac-person-image{aspect-ratio:4/3}
.bac-person-placeholder span{font-size:3.1rem;font-weight:950;color:rgba(255,255,255,.20)}

.bac-contact-strip{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  padding:44px;
  border:1px solid var(--bac-line);
  border-radius:var(--bac-radius);
  background:var(--bac-panel);
}

.bac-contact-strip h2{font-size:2.2rem;margin:7px 0}
.bac-contact-strip p{margin:0}

.bac-page-hero{
  padding:145px 0 85px;
  background:
    radial-gradient(circle at 82% 25%,rgba(225,6,0,.18),transparent 28%),
    linear-gradient(120deg,#080a0d,#131820);
}

.bac-page-hero>.bac-shell{position:relative;z-index:2}
.bac-page-hero h1{font-size:clamp(3rem,7vw,6.2rem)}

.bac-info-card{
  padding:32px;
  border:1px solid var(--bac-line);
  border-radius:var(--bac-radius);
  background:var(--bac-panel);
}

.bac-info-card>span{display:block;color:var(--bac-accent);font-size:2.5rem;font-weight:950}
.bac-info-card h3{color:#fff;font-size:1.35rem;margin:18px 0 10px}

.bac-info-lines{
  display:grid;
  gap:0;
  margin-top:30px;
  border-top:1px solid var(--bac-line);
}

.bac-info-lines>div{
  display:grid;
  grid-template-columns:135px 1fr;
  gap:20px;
  padding:17px 0;
  border-bottom:1px solid var(--bac-line);
}

.bac-info-lines span{color:var(--bac-muted)}
.bac-info-lines strong,.bac-info-lines a{color:#fff}

.bac-form{
  padding:34px;
  border-radius:var(--bac-radius);
  background:var(--bac-panel);
  border:1px solid var(--bac-line);
}

.bac-form label{
  display:block;
  margin:0 0 17px;
  color:#e9edf2;
  font-size:.9rem;
  font-weight:700;
}

.bac-form input:not([type=checkbox]),.bac-form textarea{
  display:block;
  width:100%;
  margin-top:8px;
  padding:14px 15px;
  background:#0b0e12;
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
}

.bac-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.bac-check{
  display:flex!important;
  align-items:flex-start;
  gap:10px;
  font-weight:500!important;
  line-height:1.5;
}

.bac-hp{position:absolute!important;left:-9999px!important}

.bac-form-msg{
  padding:15px 18px;
  margin-bottom:15px;
  border-radius:10px;
}

.bac-form-msg.success{background:#123922;color:#bdf3cd}
.bac-form-msg.error{background:#442020;color:#ffd0d0}

.bac-empty{
  padding:34px;
  border-radius:var(--bac-radius);
  border:1px dashed rgba(255,255,255,.18);
  background:rgba(255,255,255,.025);
  color:var(--bac-muted);
}

.bac-empty strong{display:block;color:#fff;font-size:1.15rem;margin-bottom:6px}

.bac-legal{max-width:900px}
.bac-legal h2{font-size:1.6rem;margin-top:38px}

.bac-legal-note{
  padding:20px 22px;
  margin:22px 0;
  border-left:4px solid var(--bac-accent);
  background:var(--bac-panel);
  color:#e5e9ef;
}

.bac-wa-float{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:1002;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 15px 9px 9px;
  background:#fff;
  color:#101318!important;
  border-radius:999px;
  text-decoration:none!important;
  box-shadow:0 10px 35px rgba(0,0,0,.35);
  font-weight:850;
}

.bac-wa-float span{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  font-size:.72rem;
  font-weight:950;
}

.bac-wa-float em{font-style:normal}

.bac-custom-footer{
  background:#07090b;
  border-top:1px solid var(--bac-line);
  padding:65px 0 24px;
  color:var(--bac-muted);
}

.bac-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1.3fr 1fr;
  gap:40px;
}

.bac-footer-grid>div{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.bac-footer-grid strong{color:#fff;margin-bottom:6px}
.bac-footer-brand{font-size:1.35rem}
.bac-footer-grid a{color:var(--bac-muted)!important;text-decoration:none!important}
.bac-footer-grid a:hover{color:#fff!important}

.bac-footer-bottom{
  margin-top:45px;
  padding-top:20px;
  border-top:1px solid var(--bac-line);
  font-size:.82rem;
}

@media (max-width:900px){
  body.admin-bar.bac-jugend-site #masthead{top:46px}
  .bac-shell{width:min(100% - 32px,1180px)}
  .bac-hero{min-height:650px}
  .bac-hero-inner{padding:80px 0 65px}
  .bac-hero-number{display:none}
  .bac-facts-grid{grid-template-columns:1fr 1fr}
  .bac-split{grid-template-columns:1fr;gap:36px}
  .bac-card-grid{grid-template-columns:1fr 1fr}
  .bac-trial-grid{grid-template-columns:1fr}
  .bac-contact-strip{align-items:flex-start;flex-direction:column}
  .bac-footer-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:600px){
  .bac-shell{width:calc(100% - 28px)}
  .bac-hero{min-height:610px;align-items:flex-end}
  .bac-hero-overlay{background:linear-gradient(0deg,rgba(5,7,9,.98) 8%,rgba(5,7,9,.68) 74%,rgba(5,7,9,.35) 100%)}
  .bac-hero-inner{padding:95px 0 48px}
  .bac-hero h1{font-size:clamp(3.25rem,17vw,5rem);line-height:.88}
  .bac-hero p{font-size:1rem;line-height:1.55}
  .bac-actions{display:grid;grid-template-columns:1fr;width:100%}
  .bac-actions .bac-btn{width:100%}
  .bac-facts-grid{grid-template-columns:1fr 1fr}
  .bac-facts-grid>div{padding:20px 16px}
  .bac-facts-grid strong{font-size:1.15rem}
  .bac-facts-grid span{font-size:.73rem}
  .bac-section{padding:70px 0}
  .bac-card-grid{grid-template-columns:1fr}
  .bac-event-card{grid-template-columns:70px 1fr}
  .bac-feature-box,.bac-form{padding:25px}
  .bac-page-hero{padding:105px 0 55px}
  .bac-page-hero h1{font-size:clamp(2.8rem,13vw,4.2rem)}
  .bac-form-row{grid-template-columns:1fr;gap:0}
  .bac-info-lines>div{grid-template-columns:1fr;gap:4px}
  .bac-footer-grid{grid-template-columns:1fr;gap:28px}
  .bac-wa-float{right:14px;bottom:14px;padding-right:9px}
  .bac-wa-float em{display:none}
}


/* ===== BAC v1.1 – Kadence layout fixes & refined first viewport ===== */
body.bac-jugend-site,
body.bac-jugend-site #page,
body.bac-jugend-site #inner-wrap,
body.bac-jugend-site .site-main,
body.bac-jugend-site .content-area,
body.bac-jugend-site .content-container,
body.bac-jugend-site .content-bg,
body.bac-jugend-site .entry-content-wrap,
body.bac-jugend-site article.page {
  background:var(--bac-bg)!important;
}

body.bac-jugend-site #primary,
body.bac-jugend-site .content-area,
body.bac-jugend-site .site-main,
body.bac-jugend-site .content-container,
body.bac-jugend-site .site-container,
body.bac-jugend-site .entry-content-wrap,
body.bac-jugend-site .entry-content,
body.bac-jugend-site article.page {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
}

body.bac-jugend-site .entry-content > * {
  max-width:none;
}

body.bac-jugend-site .entry-content:before,
body.bac-jugend-site .entry-content:after {
  display:none!important;
}

.bac-hero {
  min-height:680px;
}

.bac-hero-inner {
  min-height:680px;
  padding-top:72px;
  padding-bottom:60px;
}

.bac-hero-copy {
  max-width:900px;
}

.bac-hero h1 {
  max-width:880px;
  font-size:clamp(3.6rem,6.6vw,6.5rem);
  line-height:.91;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

.bac-hero p {
  max-width:760px;
}

@media (min-width:1200px) {
  .bac-hero-copy {
    padding-left:0;
  }
}

@media (max-width:900px) {
  .bac-hero,
  .bac-hero-inner {
    min-height:620px;
  }
}

@media (max-width:600px) {
  body.bac-jugend-site #masthead {
    min-height:64px;
  }

  .bac-hero,
  .bac-hero-inner {
    min-height:590px;
  }

  .bac-hero-inner {
    padding-top:82px;
    padding-bottom:42px;
  }

  .bac-hero h1 {
    font-size:clamp(3rem,16vw,4.5rem);
    line-height:.9;
  }
}


/* ===== BAC v1.2 – Mobile-first refinement ===== */

html, body {
  max-width:100%;
  overflow-x:hidden;
}

.bac-default-hero-title .bac-hero-line{
  display:block;
}

/* Kadence mobile drawer */
body.bac-jugend-site .popup-drawer .drawer-inner,
body.bac-jugend-site #mobile-drawer .drawer-inner{
  background:#080a0d!important;
  color:#fff!important;
}

body.bac-jugend-site .popup-drawer .drawer-header,
body.bac-jugend-site #mobile-drawer .drawer-header{
  border-bottom:1px solid var(--bac-line);
}

body.bac-jugend-site .popup-drawer .drawer-toggle,
body.bac-jugend-site #mobile-drawer .drawer-toggle{
  color:#fff!important;
}

body.bac-jugend-site .mobile-navigation a,
body.bac-jugend-site #mobile-drawer .mobile-navigation a{
  color:#fff!important;
  font-weight:850!important;
  text-transform:none;
}

body.bac-jugend-site .mobile-navigation .current-menu-item > a{
  color:var(--bac-accent)!important;
}

@media (max-width:767px){

  /* Header */
  body.bac-jugend-site #masthead{
    min-height:62px;
    background:#080a0d!important;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  body.bac-jugend-site .site-header-row-container-inner,
  body.bac-jugend-site .site-header-row{
    min-height:62px!important;
  }

  body.bac-jugend-site .site-branding{
    max-width:calc(100vw - 88px);
  }

  body.bac-jugend-site .site-branding .site-title,
  body.bac-jugend-site .site-branding .site-title a{
    font-size:18px!important;
    line-height:1.1!important;
    white-space:nowrap;
  }

  body.bac-jugend-site .mobile-toggle-open-container .menu-toggle-open,
  body.bac-jugend-site .menu-toggle-open{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.04)!important;
    color:#fff!important;
  }

  body.bac-jugend-site .popup-drawer .drawer-content{
    padding-top:18px!important;
  }

  body.bac-jugend-site .mobile-navigation ul li{
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }

  body.bac-jugend-site .mobile-navigation ul li a{
    padding:16px 22px!important;
    font-size:1.08rem!important;
  }

  /* Hero */
  .bac-hero{
    min-height:auto!important;
    align-items:stretch;
    background-position:62% center;
  }

  .bac-hero-inner{
    min-height:0!important;
    padding-top:70px!important;
    padding-bottom:44px!important;
    align-items:flex-start;
  }

  .bac-hero-copy{
    max-width:100%;
    width:100%;
  }

  .bac-hero-logo{
    max-width:150px;
    max-height:78px;
    margin-bottom:18px;
  }

  .bac-eyebrow{
    font-size:.67rem;
    letter-spacing:.11em;
    line-height:1.4;
  }

  .bac-eyebrow:before{
    width:24px;
  }

  .bac-hero h1,
  .bac-default-hero-title{
    margin:16px 0 18px!important;
    max-width:100%!important;
    font-size:clamp(2.85rem,14.7vw,4rem)!important;
    line-height:.88!important;
    letter-spacing:-.065em!important;
  }

  .bac-default-hero-title .bac-line-1{
    display:block;
  }

  .bac-default-hero-title .bac-line-2,
  .bac-default-hero-title .bac-line-3{
    display:inline;
  }

  .bac-default-hero-title .bac-line-2::after{
    content:" ";
  }

  .bac-hero p{
    max-width:100%;
    margin:0;
    font-size:.98rem!important;
    line-height:1.55!important;
  }

  .bac-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%;
    margin-top:26px!important;
  }

  .bac-btn{
    width:100%;
    min-height:50px;
    padding:0 18px;
    font-size:.79rem;
  }

  /* Facts: compact 2 x 2 dashboard */
  .bac-facts-grid{
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
  }

  .bac-facts-grid>div{
    min-width:0;
    padding:17px 14px!important;
    border-left:0!important;
    border-right:1px solid var(--bac-line)!important;
    border-bottom:1px solid var(--bac-line)!important;
  }

  .bac-facts-grid>div:nth-child(2n){
    border-right:0!important;
  }

  .bac-facts-grid>div:nth-last-child(-n+2){
    border-bottom:0!important;
  }

  .bac-facts-grid strong{
    font-size:1rem!important;
    line-height:1.15;
    word-break:normal;
  }

  .bac-facts-grid span{
    font-size:.68rem!important;
    line-height:1.35;
  }

  /* Sections */
  .bac-section{
    padding:56px 0!important;
  }

  .bac-section-head{
    max-width:100%;
    margin-bottom:25px!important;
  }

  .bac-section-head h2,
  .bac-section h2{
    font-size:clamp(2rem,10vw,2.75rem)!important;
    line-height:1!important;
    letter-spacing:-.045em!important;
  }

  .bac-section-head p,
  .bac-section p{
    font-size:.95rem!important;
    line-height:1.65!important;
  }

  .bac-split{
    gap:26px!important;
  }

  .bac-feature-box{
    padding:22px!important;
    border-radius:15px!important;
  }

  .bac-feature-num{
    font-size:3rem!important;
  }

  /* Cards */
  .bac-card-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .bac-event-card{
    min-height:0!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:15px!important;
    padding:17px!important;
    border-radius:15px!important;
  }

  .bac-date{
    width:64px;
    height:68px;
    border-radius:12px;
  }

  .bac-date strong{
    font-size:1.55rem;
  }

  .bac-event-card h3,
  .bac-news-card h3,
  .bac-person-card h3,
  .bac-content-card h3{
    font-size:1.08rem!important;
  }

  .bac-news-body,
  .bac-person-body,
  .bac-content-body{
    padding:18px!important;
  }

  .bac-news-image,
  .bac-person-image,
  .bac-content-image{
    aspect-ratio:16/9;
  }

  /* Red CTA band */
  .bac-trial-band{
    padding:48px 0!important;
  }

  .bac-trial-grid{
    gap:22px!important;
  }

  .bac-trial-band h2{
    font-size:2.2rem!important;
  }

  /* Contact box */
  .bac-contact-strip{
    padding:22px!important;
    border-radius:15px!important;
    gap:18px!important;
  }

  .bac-contact-strip h2{
    font-size:1.65rem!important;
  }

  /* Interior page hero */
  .bac-page-hero{
    padding:82px 0 44px!important;
  }

  .bac-page-hero h1{
    margin-top:14px;
    font-size:clamp(2.55rem,12vw,3.6rem)!important;
    line-height:.92!important;
  }

  .bac-page-hero p{
    font-size:.96rem!important;
    line-height:1.55!important;
  }

  /* Forms */
  .bac-form{
    padding:20px!important;
    border-radius:15px!important;
  }

  .bac-form input:not([type=checkbox]),
  .bac-form textarea{
    min-height:48px;
    font-size:16px; /* prevents iOS input zoom */
  }

  .bac-form textarea{
    min-height:130px;
  }

  /* WhatsApp: icon only on phone */
  .bac-wa-float{
    right:12px!important;
    bottom:12px!important;
    width:52px!important;
    height:52px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
  }

  .bac-wa-float span{
    width:40px!important;
    height:40px!important;
  }

  .bac-wa-float em{
    display:none!important;
  }

  /* Footer */
  .bac-custom-footer{
    padding:46px 0 20px!important;
  }

  .bac-footer-grid{
    grid-template-columns:1fr!important;
    gap:25px!important;
  }

  .bac-footer-grid>div{
    gap:7px!important;
  }

  .bac-footer-bottom{
    margin-top:30px!important;
    line-height:1.5;
    padding-right:55px;
  }
}

/* Very narrow phones */
@media (max-width:380px){
  .bac-shell{
    width:calc(100% - 22px)!important;
  }

  .bac-hero h1,
  .bac-default-hero-title{
    font-size:2.75rem!important;
  }

  .bac-facts-grid strong{
    font-size:.92rem!important;
  }

  body.bac-jugend-site .site-branding .site-title,
  body.bac-jugend-site .site-branding .site-title a{
    font-size:16px!important;
  }
}


/* ===== BAC v1.3 – Originalfotos ===== */
.bac-hero{
  background-position:center 55%;
}

.bac-photo-band{
  width:100%;
  min-height:460px;
  background-size:cover;
  background-position:center;
  border-top:1px solid var(--bac-line);
  border-bottom:1px solid var(--bac-line);
}

.bac-photo-kartslalom{
  background-image:
    linear-gradient(90deg,rgba(6,8,10,.10),rgba(6,8,10,.02)),
    url("../images/kartslalom-front.webp");
  background-position:center 53%;
}

.bac-photo-training{
  background-image:
    linear-gradient(90deg,rgba(6,8,10,.06),rgba(6,8,10,.02)),
    url("../images/training-kart.webp");
  background-position:center 52%;
}

@media (min-width:901px){
  .bac-hero{
    background-position:center 58%;
  }

  .bac-hero-overlay{
    background:
      linear-gradient(90deg,
        rgba(5,7,9,.98) 0%,
        rgba(5,7,9,.91) 23%,
        rgba(5,7,9,.66) 48%,
        rgba(5,7,9,.28) 68%,
        rgba(5,7,9,.12) 100%);
  }
}

@media (max-width:767px){
  .bac-hero{
    background-position:62% center!important;
  }

  .bac-hero-overlay{
    background:
      linear-gradient(0deg,
        rgba(5,7,9,.98) 0%,
        rgba(5,7,9,.91) 40%,
        rgba(5,7,9,.62) 73%,
        rgba(5,7,9,.38) 100%)!important;
  }

  .bac-photo-band{
    min-height:300px;
  }

  .bac-photo-kartslalom{
    background-position:center 55%;
  }

  .bac-photo-training{
    background-position:43% center;
  }
}


/* ===== BAC v1.4 – Smartphone-Finetuning nach Realtest ===== */
@media (max-width:767px){

  /* Header: kompakter und mit sauberem Seitenabstand */
  body.bac-jugend-site #masthead,
  body.bac-jugend-site .site-header-row-container-inner,
  body.bac-jugend-site .site-header-row{
    min-height:58px!important;
  }

  body.bac-jugend-site .site-header-row-container-inner .site-container{
    padding-left:18px!important;
    padding-right:14px!important;
  }

  body.bac-jugend-site .site-branding{
    max-width:calc(100vw - 86px)!important;
    margin-left:0!important;
  }

  body.bac-jugend-site .site-branding .site-title,
  body.bac-jugend-site .site-branding .site-title a{
    font-size:17px!important;
    line-height:1.05!important;
  }

  body.bac-jugend-site .mobile-toggle-open-container .menu-toggle-open,
  body.bac-jugend-site .menu-toggle-open{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:11px!important;
  }

  /* Hero insgesamt niedriger */
  .bac-hero{
    min-height:auto!important;
    background-position:70% 58%!important;
  }

  .bac-hero-inner{
    min-height:0!important;
    padding-top:54px!important;
    padding-bottom:30px!important;
  }

  /* Bild etwas sichtbarer, Text bleibt trotzdem gut lesbar */
  .bac-hero-overlay{
    background:
      linear-gradient(0deg,
        rgba(5,7,9,.98) 0%,
        rgba(5,7,9,.88) 36%,
        rgba(5,7,9,.56) 70%,
        rgba(5,7,9,.30) 100%)!important;
  }

  .bac-eyebrow{
    font-size:.64rem!important;
    letter-spacing:.105em!important;
  }

  /* ca. 10 % kleiner als v1.3 */
  .bac-hero h1,
  .bac-default-hero-title{
    margin:14px 0 15px!important;
    font-size:clamp(2.55rem,13.1vw,3.55rem)!important;
    line-height:.89!important;
    letter-spacing:-.06em!important;
  }

  /* Zeile 2 + 3 möglichst zusammenhalten */
  .bac-default-hero-title .bac-line-2,
  .bac-default-hero-title .bac-line-3{
    display:inline!important;
    white-space:nowrap;
  }

  .bac-default-hero-title .bac-line-2::after{
    content:" ";
  }

  .bac-hero p{
    font-size:.92rem!important;
    line-height:1.46!important;
    max-width:96%!important;
  }

  .bac-actions{
    margin-top:20px!important;
    gap:8px!important;
  }

  .bac-btn{
    min-height:46px!important;
    font-size:.75rem!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  /* Quickfacts etwas kompakter, damit Folgesektion schneller sichtbar wird */
  .bac-facts-grid>div{
    padding:14px 13px!important;
  }

  .bac-facts-grid strong{
    font-size:.96rem!important;
  }

  .bac-facts-grid span{
    margin-top:3px!important;
    font-size:.66rem!important;
  }

  /* WhatsApp kleiner und weiter aus dem Inhalt heraus */
  .bac-wa-float{
    right:9px!important;
    bottom:9px!important;
    width:46px!important;
    height:46px!important;
    box-shadow:0 7px 22px rgba(0,0,0,.32)!important;
  }

  .bac-wa-float span{
    width:35px!important;
    height:35px!important;
    font-size:.63rem!important;
  }
}

@media (max-width:380px){
  .bac-hero h1,
  .bac-default-hero-title{
    font-size:2.42rem!important;
  }

  .bac-hero p{
    font-size:.89rem!important;
  }
}


/* ===== BAC v1.5 – Vereinslogo ===== */

/* Logo neben dem Seitentitel im Kadence-Header */
body.bac-jugend-site .site-branding .site-title a{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}

body.bac-jugend-site .site-branding .site-title a::before{
  content:"";
  display:block;
  flex:0 0 48px;
  width:48px;
  height:48px;
  background-image:url("../images/bac-logo-white.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

/* Logo über dem Hero-Text */
.bac-hero-logo{
  display:block;
  width:112px!important;
  height:auto!important;
  max-width:112px!important;
  max-height:none!important;
  margin:0 0 22px!important;
  object-fit:contain;
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.28));
}

@media (max-width:767px){
  body.bac-jugend-site .site-branding .site-title a{
    gap:8px!important;
  }

  body.bac-jugend-site .site-branding .site-title a::before{
    flex-basis:36px;
    width:36px;
    height:36px;
  }

  body.bac-jugend-site .site-branding{
    max-width:calc(100vw - 82px)!important;
  }

  body.bac-jugend-site .site-branding .site-title,
  body.bac-jugend-site .site-branding .site-title a{
    font-size:15px!important;
  }

  .bac-hero-logo{
    width:82px!important;
    max-width:82px!important;
    margin-bottom:16px!important;
  }

  /* Mit Logo etwas weniger Luft bis zum Hero-Text */
  .bac-hero-inner{
    padding-top:38px!important;
  }
}

@media (max-width:380px){
  body.bac-jugend-site .site-branding .site-title a::before{
    flex-basis:32px;
    width:32px;
    height:32px;
  }

  body.bac-jugend-site .site-branding .site-title,
  body.bac-jugend-site .site-branding .site-title a{
    font-size:14px!important;
  }

  .bac-hero-logo{
    width:72px!important;
    max-width:72px!important;
  }
}


/* ===== BAC v1.6 – Fahrerprofile ===== */
.bac-home-driver-preview{
  margin-top:85px;
  padding-top:72px;
  border-top:1px solid var(--bac-line);
}

.bac-driver-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.bac-driver-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--bac-line);
  border-radius:var(--bac-radius);
  background:linear-gradient(160deg,#151a20,#0e1216);
  box-shadow:0 14px 38px rgba(0,0,0,.16);
  transition:transform .2s ease,border-color .2s ease;
}

.bac-driver-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.22);
}

.bac-driver-photo-wrap{
  position:relative;
  overflow:hidden;
  background:#0a0d10;
  aspect-ratio:4/5;
}

.bac-driver-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 35%;
  transition:transform .35s ease;
}

.bac-driver-card:hover .bac-driver-photo{
  transform:scale(1.025);
}

.bac-driver-photo-placeholder{
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 72% 25%,rgba(225,6,0,.32),transparent 29%),
    linear-gradient(145deg,#20262d,#0b0e12);
}

.bac-driver-photo-placeholder span{
  font-size:4rem;
  font-weight:950;
  color:rgba(255,255,255,.18);
}

.bac-driver-number{
  position:absolute;
  right:16px;
  bottom:16px;
  min-width:66px;
  height:66px;
  padding:0 13px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--bac-accent);
  color:#fff;
  font-size:1.65rem;
  line-height:1;
  font-weight:950;
  letter-spacing:-.05em;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.bac-driver-body{
  padding:25px;
}

.bac-driver-body h3{
  margin:8px 0 18px;
  color:#fff;
  font-size:1.6rem;
  line-height:1.05;
  letter-spacing:-.04em;
}

.bac-driver-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--bac-line);
  border-bottom:1px solid var(--bac-line);
}

.bac-driver-facts>div{
  padding:13px 10px 13px 0;
  min-width:0;
}

.bac-driver-facts span{
  display:block;
  color:var(--bac-muted);
  font-size:.68rem;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.bac-driver-facts strong{
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:.95rem;
  line-height:1.2;
  word-wrap:break-word;
}

.bac-driver-bio{
  margin:18px 0 0!important;
  font-size:.92rem!important;
  line-height:1.62!important;
}

.bac-driver-quote{
  position:relative;
  margin:18px 0 0;
  padding:16px 17px;
  border-left:3px solid var(--bac-accent);
  background:rgba(255,255,255,.035);
  color:#f2f4f7;
  font-size:.92rem;
  line-height:1.55;
  font-style:italic;
}

.bac-driver-success{
  margin-top:18px;
  padding-top:15px;
  border-top:1px solid var(--bac-line);
}

.bac-driver-success>span{
  color:var(--bac-accent);
  font-size:.7rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.1em;
}

.bac-driver-success p{
  margin:6px 0 0!important;
  color:#dfe3e8!important;
  font-size:.86rem!important;
  line-height:1.5!important;
}

@media(max-width:900px){
  .bac-driver-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .bac-home-driver-preview{
    margin-top:55px;
    padding-top:52px;
  }

  .bac-driver-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .bac-driver-card{
    border-radius:15px;
  }

  .bac-driver-photo-wrap{
    aspect-ratio:4/4.7;
  }

  .bac-driver-photo{
    object-position:center 32%;
  }

  .bac-driver-number{
    right:13px;
    bottom:13px;
    min-width:58px;
    height:58px;
    border-radius:12px;
    font-size:1.4rem;
  }

  .bac-driver-body{
    padding:20px;
  }

  .bac-driver-body h3{
    font-size:1.4rem;
    margin-bottom:15px;
  }

  .bac-driver-facts{
    grid-template-columns:repeat(3,1fr);
  }

  .bac-driver-facts>div{
    padding:11px 7px 11px 0;
  }

  .bac-driver-facts span{
    font-size:.61rem;
  }

  .bac-driver-facts strong{
    font-size:.86rem;
  }
}


/* ===== BAC v1.7 – Kartprofile ===== */

.bac-kart-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.bac-kart-card{
  overflow:hidden;
  border:1px solid var(--bac-line);
  border-radius:var(--bac-radius);
  background:linear-gradient(160deg,#151a20,#0e1216);
  box-shadow:0 14px 38px rgba(0,0,0,.16);
  transition:transform .2s ease,border-color .2s ease;
}

.bac-kart-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.22);
}

.bac-kart-photo-wrap{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/10;
  background:#0a0d10;
}

.bac-kart-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}

.bac-kart-card:hover .bac-kart-photo{
  transform:scale(1.025);
}

.bac-kart-photo-placeholder{
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 70% 20%,rgba(225,6,0,.34),transparent 30%),
    linear-gradient(145deg,#20262d,#0b0e12);
}

.bac-kart-photo-placeholder span{
  color:rgba(255,255,255,.18);
  font-size:4rem;
  font-weight:950;
}

.bac-kart-number{
  position:absolute;
  right:16px;
  bottom:16px;
  min-width:68px;
  height:58px;
  padding:0 14px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:var(--bac-accent);
  color:#fff;
  font-size:1.55rem;
  line-height:1;
  font-weight:950;
  letter-spacing:-.05em;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.bac-kart-body{
  padding:25px;
}

.bac-kart-body h3{
  margin:8px 0 5px;
  color:#fff;
  font-size:1.6rem;
  line-height:1.05;
  letter-spacing:-.04em;
}

.bac-kart-model{
  margin-bottom:18px;
  color:var(--bac-muted);
  font-size:.92rem;
  font-weight:700;
}

.bac-kart-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--bac-line);
  border-bottom:1px solid var(--bac-line);
}

.bac-kart-facts>div{
  min-width:0;
  padding:13px 10px 13px 0;
}

.bac-kart-facts span{
  display:block;
  color:var(--bac-muted);
  font-size:.66rem;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.bac-kart-facts strong{
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:.9rem;
  line-height:1.25;
  overflow-wrap:anywhere;
}

.bac-kart-description{
  margin:18px 0 0!important;
  font-size:.92rem!important;
  line-height:1.62!important;
}

.bac-kart-special{
  margin-top:18px;
  padding:16px 17px;
  border-left:3px solid var(--bac-accent);
  background:rgba(255,255,255,.035);
}

.bac-kart-special>span{
  display:block;
  margin-bottom:5px;
  color:var(--bac-accent);
  font-size:.7rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.1em;
}

.bac-kart-special p{
  margin:0!important;
  color:#e4e8ed!important;
  font-size:.86rem!important;
  line-height:1.5!important;
}

@media(max-width:900px){
  .bac-kart-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .bac-kart-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .bac-kart-card{
    border-radius:15px;
  }

  .bac-kart-photo-wrap{
    aspect-ratio:16/10;
  }

  .bac-kart-number{
    right:13px;
    bottom:13px;
    min-width:60px;
    height:52px;
    border-radius:11px;
    font-size:1.35rem;
  }

  .bac-kart-body{
    padding:20px;
  }

  .bac-kart-body h3{
    font-size:1.4rem;
  }

  .bac-kart-facts{
    grid-template-columns:repeat(3,1fr);
  }

  .bac-kart-facts>div{
    padding:11px 7px 11px 0;
  }

  .bac-kart-facts span{
    font-size:.59rem;
  }

  .bac-kart-facts strong{
    font-size:.82rem;
  }
}


/* ===== BAC v1.8 – Sponsoren ===== */

.bac-sponsor-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.bac-sponsor-card{
  overflow:hidden;
  border:1px solid var(--bac-line);
  border-radius:var(--bac-radius);
  background:linear-gradient(160deg,#151a20,#0e1216);
  transition:transform .2s ease,border-color .2s ease;
}

.bac-sponsor-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.22);
}

.bac-sponsor-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  height:180px;
  padding:26px;
  background:#f5f6f7;
  text-decoration:none!important;
}

.bac-sponsor-logo{
  display:block;
  width:100%;
  max-width:250px;
  max-height:118px;
  object-fit:contain;
}

.bac-sponsor-logo-placeholder{
  color:#15181c;
  font-size:1.35rem;
  line-height:1.2;
  text-align:center;
  font-weight:900;
}

.bac-sponsor-body{
  padding:24px;
}

.bac-sponsor-body h3{
  margin:8px 0 9px;
  color:#fff;
  font-size:1.35rem;
  line-height:1.1;
}

.bac-sponsor-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}

.bac-sponsor-meta span{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  color:var(--bac-muted);
  font-size:.72rem;
}

.bac-sponsor-body p{
  margin:0 0 15px!important;
  font-size:.9rem!important;
  line-height:1.58!important;
}

@media(max-width:900px){
  .bac-sponsor-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .bac-sponsor-grid{
    grid-template-columns:1fr;
    gap:15px;
  }

  .bac-sponsor-card{
    border-radius:15px;
  }

  .bac-sponsor-logo-wrap{
    height:145px;
    padding:22px;
  }

  .bac-sponsor-logo{
    max-height:95px;
  }

  .bac-sponsor-body{
    padding:19px;
  }

  .bac-sponsor-body h3{
    font-size:1.2rem;
  }
}

/* ===== BAC v1.9 – Galerie ===== */

.bac-gallery-albums{
  display:grid;
  gap:54px;
}

.bac-gallery-album{
  min-width:0;
}

.bac-gallery-album + .bac-gallery-album{
  padding-top:48px;
  border-top:1px solid var(--bac-line);
}

.bac-gallery-album-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.75fr);
  gap:32px;
  align-items:end;
  margin-bottom:22px;
}

.bac-gallery-album-head h2{
  margin:7px 0 10px;
  color:#fff;
  font-size:clamp(1.65rem,3vw,2.35rem);
  line-height:1.05;
}

.bac-gallery-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  color:var(--bac-muted);
  font-size:.84rem;
}

.bac-gallery-description p{
  margin:0!important;
  color:var(--bac-muted)!important;
  font-size:.93rem!important;
  line-height:1.65!important;
}

.bac-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.bac-gallery-photo{
  position:relative;
  display:block;
  min-width:0;
  padding:0;
  aspect-ratio:4/3;
  overflow:hidden;
  border:0;
  border-radius:13px;
  background:#11161b;
  cursor:zoom-in;
}

.bac-gallery-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .28s ease,filter .28s ease;
}

.bac-gallery-photo:hover img,
.bac-gallery-photo:focus-visible img{
  transform:scale(1.035);
  filter:brightness(.86);
}

.bac-gallery-photo:focus-visible{
  outline:2px solid var(--bac-accent);
  outline-offset:3px;
}

.bac-gallery-zoom{
  position:absolute;
  right:10px;
  bottom:10px;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(6,8,10,.74);
  color:#fff;
  font-size:1.25rem;
  line-height:1;
  opacity:0;
  transform:translateY(5px);
  transition:opacity .2s ease,transform .2s ease;
}

.bac-gallery-photo:hover .bac-gallery-zoom,
.bac-gallery-photo:focus-visible .bac-gallery-zoom{
  opacity:1;
  transform:none;
}

.bac-gallery-photo.is-extra{
  display:none;
}

.bac-gallery-more-wrap{
  display:flex;
  justify-content:center;
  margin-top:20px;
}

html.bac-lightbox-open,
html.bac-lightbox-open body{
  overflow:hidden;
}

.bac-gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:40px 70px;
  background:rgba(2,4,6,.95);
  backdrop-filter:blur(8px);
}

.bac-gallery-lightbox.is-open{
  display:flex;
}

.bac-gallery-lightbox-stage{
  max-width:min(1200px,88vw);
  max-height:90vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;
}

.bac-gallery-lightbox-stage img{
  display:block;
  max-width:100%;
  max-height:80vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 22px 70px rgba(0,0,0,.38);
}

.bac-gallery-lightbox-info{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:center;
  min-height:24px;
  color:#fff;
  font-size:.83rem;
  text-align:center;
}

.bac-gallery-lightbox-count{
  flex:none;
  color:rgba(255,255,255,.62);
}

.bac-gallery-lightbox-caption:empty{
  display:none;
}

.bac-gallery-lightbox-close,
.bac-gallery-lightbox-prev,
.bac-gallery-lightbox-next{
  position:absolute;
  z-index:2;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.17);
  background:rgba(18,22,27,.7);
  color:#fff;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease;
}

.bac-gallery-lightbox-close:hover,
.bac-gallery-lightbox-prev:hover,
.bac-gallery-lightbox-next:hover{
  background:#242a31;
  border-color:rgba(255,255,255,.35);
}

.bac-gallery-lightbox-close{
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border-radius:50%;
  font-size:1.8rem;
  line-height:1;
}

.bac-gallery-lightbox-prev,
.bac-gallery-lightbox-next{
  top:50%;
  width:50px;
  height:64px;
  margin-top:-32px;
  border-radius:12px;
  font-size:2.4rem;
  line-height:1;
}

.bac-gallery-lightbox-prev{left:16px}
.bac-gallery-lightbox-next{right:16px}

@media(max-width:900px){
  .bac-gallery-album-head{
    grid-template-columns:1fr;
    gap:12px;
    align-items:start;
  }

  .bac-gallery-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:650px){
  .bac-gallery-albums{
    gap:38px;
  }

  .bac-gallery-album + .bac-gallery-album{
    padding-top:34px;
  }

  .bac-gallery-album-head{
    margin-bottom:16px;
  }

  .bac-gallery-album-head h2{
    font-size:1.55rem;
  }

  .bac-gallery-meta{
    gap:6px 10px;
    font-size:.78rem;
  }

  .bac-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }

  .bac-gallery-photo{
    border-radius:9px;
    aspect-ratio:1/1;
  }

  .bac-gallery-zoom{
    width:29px;
    height:29px;
    right:7px;
    bottom:7px;
    opacity:.82;
    transform:none;
    font-size:1.05rem;
  }

  .bac-gallery-more-wrap{
    margin-top:15px;
  }

  .bac-gallery-lightbox{
    padding:58px 12px 74px;
  }

  .bac-gallery-lightbox-stage{
    max-width:100%;
    max-height:100%;
  }

  .bac-gallery-lightbox-stage img{
    max-height:74vh;
    border-radius:7px;
  }

  .bac-gallery-lightbox-info{
    max-width:92vw;
    flex-direction:column;
    gap:3px;
    font-size:.78rem;
  }

  .bac-gallery-lightbox-close{
    top:10px;
    right:10px;
    width:40px;
    height:40px;
  }

  .bac-gallery-lightbox-prev,
  .bac-gallery-lightbox-next{
    top:auto;
    bottom:12px;
    width:48px;
    height:48px;
    margin:0;
    border-radius:50%;
    font-size:2rem;
  }

  .bac-gallery-lightbox-prev{left:calc(50% - 58px)}
  .bac-gallery-lightbox-next{right:calc(50% - 58px)}
}

/* ===== BAC Mobile Redaktion v1.10 ===== */
.bac-editor-wrap{max-width:760px;margin:0 auto;padding:clamp(24px,5vw,54px) 18px 72px}
.bac-editor-hero{text-align:center;margin:0 auto 26px}
.bac-editor-hero h1{margin:8px 0 10px;font-size:clamp(32px,7vw,54px);line-height:1.02;letter-spacing:-.035em;color:#fff!important}
.bac-editor-hero p{margin:0 auto;max-width:620px;color:var(--bac-muted,#aeb4bd);font-size:17px}
.bac-editor-card{background:#12161b;border:1px solid rgba(255,255,255,.10);border-radius:22px;padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.22)}
.bac-editor-card h2{margin:5px 0 18px;font-size:clamp(24px,5vw,34px);color:#fff!important}
.bac-editor-userbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:14px 16px;background:#12161b;border:1px solid rgba(255,255,255,.10);border-radius:14px}
.bac-editor-userbar a,.bac-editor-help,.bac-editor-back{color:#fff;text-decoration:none;font-weight:700}
.bac-editor-userbar a{color:var(--bac-accent,#e10600)}
.bac-editor-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bac-editor-action{display:flex;min-height:190px;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:24px;border:1px solid rgba(255,255,255,.10);border-radius:22px;background:linear-gradient(145deg,#181d23,#0d1014);color:#fff;text-decoration:none;transition:transform .18s ease,border-color .18s ease}
.bac-editor-action:hover{transform:translateY(-2px);border-color:var(--bac-accent,#e10600);color:#fff}
.bac-editor-action-icon{font-size:42px;line-height:1;margin-bottom:auto}
.bac-editor-action strong{font-size:24px;line-height:1.1;margin-top:26px;color:#fff!important}
.bac-editor-action small{margin-top:7px;color:#aeb4bd;font-size:14px}
.bac-editor-tip{margin-top:16px;padding:16px 18px;border-radius:14px;background:rgba(255,255,255,.055);color:#c6cbd2;font-size:14px;line-height:1.5}
.bac-editor-back{display:inline-flex;margin-bottom:14px;font-size:15px}
.bac-editor-form{display:grid;gap:17px}
.bac-editor-form label{display:grid;gap:7px;margin:0}
.bac-editor-form label>span{font-weight:800;font-size:14px;color:#f1f3f5}
.bac-editor-form input[type="text"],.bac-editor-form input[type="date"],.bac-editor-form input[type="time"],.bac-editor-form select,.bac-editor-form textarea,.bac-editor-login input[type="text"],.bac-editor-login input[type="password"]{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#080b0e;color:#fff;padding:14px 15px;min-height:48px;font-size:16px;outline:none}
.bac-editor-form textarea{resize:vertical;line-height:1.5}
.bac-editor-form input:focus,.bac-editor-form select:focus,.bac-editor-form textarea:focus,.bac-editor-login input:focus{border-color:var(--bac-accent,#e10600);box-shadow:0 0 0 3px rgba(225,6,0,.15)}
.bac-editor-fields-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bac-editor-location-choice{display:grid;gap:12px}
.bac-editor-standard-location{display:grid;gap:3px;padding:14px 15px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.04)}
.bac-editor-standard-location strong{color:#fff;font-size:15px}
.bac-editor-standard-location span{color:#aeb6c0;font-size:13px;line-height:1.4}
.bac-editor-custom-location{display:grid;gap:14px;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.025)}
.bac-editor-standard-location[hidden],.bac-editor-custom-location[hidden]{display:none!important}

.bac-editor-check{padding:12px 0}.bac-editor-check-row{display:flex!important;align-items:center;gap:10px;min-height:48px;padding:0 14px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#080b0e;color:#fff!important;font-weight:700!important}.bac-editor-check-row input{width:20px;height:20px;accent-color:var(--bac-accent,#e10600)}.bac-editor-form label small{color:#949ca6;font-size:12px;line-height:1.35}.bac-editor-file{padding:15px;border:1px dashed rgba(255,255,255,.20);border-radius:14px;background:rgba(255,255,255,.025)}
.bac-editor-file input[type="file"]{width:100%;font-size:15px;color:#d5d9df}
.bac-editor-file input[type="file"]::file-selector-button{border:0;border-radius:10px;padding:11px 13px;margin-right:10px;background:#fff;color:#111;font-weight:800;cursor:pointer}
.bac-editor-file small,.bac-editor-upload-note{color:#949ca6;font-size:13px;line-height:1.45}
.bac-editor-file-big{padding:19px}
.bac-editor-submit{appearance:none;border:0;border-radius:12px;background:var(--bac-accent,#e10600);color:#fff;font-weight:900;font-size:17px;padding:16px 20px;min-height:54px;cursor:pointer}
.bac-editor-submit:hover{filter:brightness(1.08)}
.bac-editor-notice{margin:0 0 18px;padding:15px 17px;border-radius:13px;font-weight:800}
.bac-editor-notice-ok{background:#123b24;border:1px solid #2c8e55;color:#d9ffe7}
.bac-editor-notice-error{background:#421719;border:1px solid #a83b40;color:#ffe4e5}
.bac-editor-login{max-width:520px;margin:0 auto}
.bac-editor-login form{display:grid;gap:15px;margin-top:16px}
.bac-editor-login p{margin:0}
.bac-editor-login label{display:grid;gap:7px;font-weight:800;font-size:14px}
.bac-editor-login .login-remember label{display:flex;align-items:center;gap:8px;font-weight:600}
.bac-editor-login .login-submit input{width:100%;border:0;border-radius:12px;background:var(--bac-accent,#e10600);color:#fff;font-size:17px;font-weight:900;padding:15px;cursor:pointer}
.bac-editor-help{display:inline-block;margin-top:14px;font-size:14px;color:#bfc5cc}

@media(max-width:640px){
  .bac-editor-wrap{padding-left:14px;padding-right:14px;padding-bottom:52px}
  .bac-editor-hero{margin-bottom:20px;text-align:left}
  .bac-editor-hero h1{font-size:36px}
  .bac-editor-hero p{font-size:15px}
  .bac-editor-card{padding:18px;border-radius:18px}
  .bac-editor-actions{grid-template-columns:1fr;gap:12px}
  .bac-editor-action{min-height:150px;padding:20px;border-radius:18px}
  .bac-editor-action-icon{font-size:36px}
  .bac-editor-action strong{font-size:22px;margin-top:18px}
  .bac-editor-fields-2{grid-template-columns:1fr}
  .bac-editor-userbar{font-size:14px}
  .bac-editor-form input[type="text"],.bac-editor-form input[type="date"],.bac-editor-form input[type="time"],.bac-editor-form select,.bac-editor-form textarea,.bac-editor-login input[type="text"],.bac-editor-login input[type="password"]{font-size:16px}
}


/* ===== v1.11 News & Startseite ===== */
.bac-news-featured-wrap{display:grid;gap:30px}
.bac-news-featured-card{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
  min-height:430px;
  overflow:hidden;
  border:1px solid var(--bac-line);
  border-radius:var(--bac-radius);
  background:var(--bac-panel);
}
.bac-news-featured-media{
  display:block;
  min-height:430px;
  background-size:cover;
  background-position:center;
  text-decoration:none!important;
}
.bac-news-featured-media.bac-image-placeholder{min-height:430px}
.bac-news-featured-content{display:flex;flex-direction:column;justify-content:center;padding:42px}
.bac-news-featured-meta{display:flex;align-items:center;gap:14px;color:var(--bac-muted);font-size:.82rem;font-weight:800}
.bac-news-featured-content h2{margin:14px 0 14px;font-size:clamp(2rem,4vw,3.4rem);line-height:.98;color:#fff}
.bac-news-featured-content h2 a{color:inherit!important;text-decoration:none!important}
.bac-news-featured-content p{margin:0 0 26px;line-height:1.7;color:var(--bac-muted)}
.bac-news-featured-content .bac-btn{align-self:flex-start}
.bac-news-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.bac-news-compact-card{overflow:hidden;border:1px solid var(--bac-line);border-radius:var(--bac-radius);background:var(--bac-panel);transition:.2s ease}
.bac-news-compact-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.22)}
.bac-news-compact-image{display:block;aspect-ratio:16/9;background-size:cover;background-position:center;text-decoration:none!important}
.bac-news-compact-image.bac-image-placeholder span{font-size:2.4rem}
.bac-news-compact-body{padding:22px}
.bac-news-compact-body h3{margin:8px 0 9px;font-size:1.18rem;line-height:1.2;color:#fff}
.bac-news-compact-body h3 a{color:inherit!important;text-decoration:none!important}
.bac-news-compact-body p{margin:0 0 15px;font-size:.91rem;line-height:1.55;color:var(--bac-muted)}

.bac-gallery-teaser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.bac-gallery-teaser-card{overflow:hidden;border:1px solid var(--bac-line);border-radius:var(--bac-radius);background:var(--bac-panel);transition:.2s ease}
.bac-gallery-teaser-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.22)}
.bac-gallery-teaser-image{position:relative;display:block;aspect-ratio:4/3;background-size:cover;background-position:center;text-decoration:none!important}
.bac-gallery-teaser-image.bac-image-placeholder span{font-size:3rem}
.bac-gallery-teaser-count{position:absolute;right:12px;bottom:12px;padding:7px 10px;border-radius:999px;background:rgba(5,7,9,.78);backdrop-filter:blur(8px);color:#fff;font-size:.78rem;font-weight:900}
.bac-gallery-teaser-body{padding:22px}
.bac-gallery-teaser-body h3{margin:8px 0 10px;color:#fff;font-size:1.25rem;line-height:1.18}
.bac-gallery-teaser-body h3 a{color:inherit!important;text-decoration:none!important}
.bac-gallery-teaser-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;color:var(--bac-muted);font-size:.82rem}
.bac-gallery-teaser-meta .bac-dot{opacity:.45}

@media(max-width:980px){
  .bac-news-featured-card{grid-template-columns:1fr;min-height:0}
  .bac-news-featured-media,.bac-news-featured-media.bac-image-placeholder{min-height:360px}
  .bac-news-more-grid,.bac-gallery-teaser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .bac-news-featured-wrap{gap:18px}
  .bac-news-featured-card{border-radius:18px}
  .bac-news-featured-media,.bac-news-featured-media.bac-image-placeholder{min-height:0;aspect-ratio:4/3}
  .bac-news-featured-content{padding:24px 20px 26px}
  .bac-news-featured-content h2{font-size:clamp(1.75rem,9vw,2.45rem);line-height:1.02}
  .bac-news-featured-content p{font-size:.94rem;line-height:1.6}
  .bac-news-more-grid,.bac-gallery-teaser-grid{grid-template-columns:1fr;gap:16px}
  .bac-news-compact-card,.bac-gallery-teaser-card{border-radius:18px}
  .bac-news-compact-body,.bac-gallery-teaser-body{padding:19px}
  .bac-gallery-teaser-image{aspect-ratio:16/10}
}

/* ===== v1.13 Videos & Mobile Video-Upload ===== */
.bac-editor-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.bac-video-upload-state{padding:15px 16px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#0b0f13}
.bac-video-upload-state-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#fff}
.bac-video-upload-state-top strong{color:#fff!important;font-size:14px}
.bac-video-upload-state-top span{font-size:13px;font-weight:900;color:#fff}
.bac-video-upload-progress{height:9px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.09)}
.bac-video-upload-progress span{display:block;width:0;height:100%;border-radius:inherit;background:var(--bac-accent,#e10600);transition:width .2s ease}
.bac-video-upload-state small{display:block;margin-top:9px;color:#aeb4bd;line-height:1.45}
.bac-editor-submit:disabled{opacity:.65;cursor:wait}

.bac-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.bac-video-card{overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:20px;background:#11151a}
.bac-video-player{position:relative;background:#050607;aspect-ratio:16/9}
.bac-video-player video{display:block;width:100%;height:100%;object-fit:contain;background:#050607}
.bac-video-card-body{padding:18px 19px 20px}
.bac-video-card-body h2{margin:5px 0 8px;color:#fff!important;font-size:clamp(20px,2.5vw,27px);line-height:1.12}
.bac-video-meta{font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--bac-accent,#e10600)}
.bac-video-text{color:#b9c0c8;line-height:1.55}
.bac-video-text p{margin:8px 0 0}

@media (max-width:720px){
  .bac-editor-actions{grid-template-columns:1fr}
  .bac-video-grid{grid-template-columns:1fr;gap:16px}
  .bac-video-card{border-radius:16px}
  .bac-video-card-body{padding:15px 16px 17px}
  .bac-video-upload-state-top{align-items:flex-start}
}

/* ===== v1.13.1 The Events Calendar – Kontrast auf dunklem BAC-Design ===== */
body.bac-jugend-site.single-tribe_events,
body.bac-jugend-site.post-type-archive-tribe_events{
  background:var(--bac-bg,#0b0d10)!important;
  color:#f7f8fa!important;
}

/* Einzeltermin: Titel, Datum, Beschreibung und Meta-Daten */
body.bac-jugend-site.single-tribe_events .tribe-events-single,
body.bac-jugend-site.single-tribe_events .tribe-events-single-event-title,
body.bac-jugend-site.single-tribe_events .tribe-events-schedule,
body.bac-jugend-site.single-tribe_events .tribe-events-schedule h2,
body.bac-jugend-site.single-tribe_events .tribe-events-content,
body.bac-jugend-site.single-tribe_events .tribe-events-content p,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta dt,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta dd,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta span,
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group,
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group .tribe-events-single-section-title,
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group-details,
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group-venue,
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group-organizer{
  color:#f7f8fa!important;
}

body.bac-jugend-site.single-tribe_events .tribe-events-single-event-title{
  font-weight:950!important;
  letter-spacing:-.035em;
  line-height:1.05;
}
body.bac-jugend-site.single-tribe_events .tribe-events-schedule,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta dd,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta address,
body.bac-jugend-site.single-tribe_events .tribe-events-content{
  color:#d8dde4!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta dt,
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group .tribe-events-single-section-title{
  color:#fff!important;
  font-weight:900!important;
}

/* Links auf Terminseiten */
body.bac-jugend-site.single-tribe_events .tribe-events-single a,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta a,
body.bac-jugend-site.single-tribe_events .tribe-events-nav-pagination a{
  color:#fff!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-single a:hover,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta a:hover,
body.bac-jugend-site.single-tribe_events .tribe-events-nav-pagination a:hover{
  color:var(--bac-accent,#e10600)!important;
}

/* Meta-Bereich als dunkle Karten statt sehr dunkler Standardschrift */
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta{
  background:#11161b!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:18px;
  overflow:hidden;
}
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta:before,
body.bac-jugend-site.single-tribe_events .tribe-events-event-meta~div:not(.tribe-events-event-image){
  border-color:rgba(255,255,255,.12)!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group{
  padding:26px!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-meta-group:not(:last-child){
  border-color:rgba(255,255,255,.10)!important;
}

/* „Zum Kalender hinzufügen“: BAC-Stil mit gutem Kontrast */
body.bac-jugend-site.single-tribe_events .tribe-events-c-subscribe-dropdown__container,
body.bac-jugend-site.single-tribe_events .tribe-events-c-subscribe-dropdown,
body.bac-jugend-site.single-tribe_events .tribe-events-cal-links{
  color:#fff!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-c-subscribe-dropdown__button,
body.bac-jugend-site.single-tribe_events .tribe-events-c-subscribe-dropdown__button-text,
body.bac-jugend-site.single-tribe_events .tribe-events-button,
body.bac-jugend-site.single-tribe_events .tribe-events-ical,
body.bac-jugend-site.single-tribe_events .tribe-events-gcal{
  background:#161b21!important;
  border-color:rgba(255,255,255,.16)!important;
  color:#fff!important;
  font-weight:800!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-c-subscribe-dropdown__button:hover,
body.bac-jugend-site.single-tribe_events .tribe-events-button:hover,
body.bac-jugend-site.single-tribe_events .tribe-events-ical:hover,
body.bac-jugend-site.single-tribe_events .tribe-events-gcal:hover{
  background:var(--bac-accent,#e10600)!important;
  border-color:var(--bac-accent,#e10600)!important;
  color:#fff!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-c-subscribe-dropdown__list{
  background:#161b21!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-c-subscribe-dropdown__list-item a{
  color:#fff!important;
}

/* Vorheriger/nächster Termin */
body.bac-jugend-site.single-tribe_events .tribe-events-sub-nav,
body.bac-jugend-site.single-tribe_events .tribe-events-sub-nav li,
body.bac-jugend-site.single-tribe_events .tribe-events-nav-previous,
body.bac-jugend-site.single-tribe_events .tribe-events-nav-next{
  color:#cbd1d8!important;
}
body.bac-jugend-site.single-tribe_events .tribe-events-sub-nav a{
  color:#dfe4ea!important;
}

/* Auch für Kalender-/Listenansichten, falls TEC eigene dunkle Texte setzt */
body.bac-jugend-site.post-type-archive-tribe_events .tribe-events,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common h1,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common h2,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common h3,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common h4,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common p,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common span{
  color:#f7f8fa;
}
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common .tribe-common-b2,
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common .tribe-common-b3{
  color:#cbd1d8!important;
}
body.bac-jugend-site.post-type-archive-tribe_events .tribe-common a{
  color:#fff!important;
}

@media(max-width:680px){
  body.bac-jugend-site.single-tribe_events .tribe-events-single-event-title{
    font-size:clamp(2rem,10vw,3rem)!important;
  }
  body.bac-jugend-site.single-tribe_events .tribe-events-meta-group{
    padding:20px!important;
  }
}

/* v1.14 – Mobile Redaktion: eigene Inhalte verwalten */
.bac-editor-action-manage{grid-column:1/-1;min-height:140px}
.bac-editor-manage-intro{margin:-4px 0 20px;color:#b9c0c8;line-height:1.55}
.bac-editor-content-list{display:grid;gap:11px}
.bac-editor-content-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:15px;background:#0b0f13}
.bac-editor-content-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:rgba(255,255,255,.06);font-size:24px}
.bac-editor-content-main{display:grid;min-width:0;gap:3px}
.bac-editor-content-main strong{color:#fff!important;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.bac-editor-content-main small{color:#9fa7b1;font-size:12px;line-height:1.35}
.bac-editor-content-type{color:var(--bac-accent,#e10600);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.bac-editor-content-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.bac-editor-content-actions form{margin:0}
.bac-editor-mini-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:#171c22;color:#fff!important;text-decoration:none;font-size:12px;font-weight:800;cursor:pointer}
.bac-editor-mini-btn-danger{border-color:rgba(225,6,0,.40);background:rgba(225,6,0,.12)}
.bac-editor-empty{display:grid;gap:5px;padding:20px;border:1px dashed rgba(255,255,255,.18);border-radius:14px;color:#fff}
.bac-editor-empty span{color:#9fa7b1;font-size:13px;line-height:1.45}
@media(max-width:640px){
  .bac-editor-action-manage{grid-column:auto;min-height:150px}
  .bac-editor-content-item{grid-template-columns:42px minmax(0,1fr);align-items:start;padding:13px}
  .bac-editor-content-icon{width:42px;height:42px;font-size:21px}
  .bac-editor-content-actions{grid-column:1/-1;justify-content:flex-end;padding-top:2px}
  .bac-editor-mini-btn{min-height:42px;padding:9px 13px}
}


/* v1.15 – Mobile Redaktion: vorhandene Inhalte bearbeiten */
.bac-editor-mini-btn-edit{border-color:rgba(255,255,255,.22);background:#222932}
.bac-editor-current-media{display:grid;grid-template-columns:92px minmax(0,1fr);gap:13px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:#0b0f13;color:#fff}
.bac-editor-current-media img{display:block;width:92px;height:68px;object-fit:cover;border-radius:10px}
.bac-editor-current-media span{font-size:13px;font-weight:800;color:#cbd1d8}
.bac-editor-current-info{display:grid;gap:3px;padding:13px 14px;border:1px solid rgba(255,255,255,.10);border-radius:13px;background:#0b0f13}
.bac-editor-current-info strong{color:#fff!important;font-size:14px}
.bac-editor-current-info span{color:#9fa7b1;font-size:12px;line-height:1.45}
@media(max-width:640px){
  .bac-editor-current-media{grid-template-columns:76px minmax(0,1fr)}
  .bac-editor-current-media img{width:76px;height:58px}
}


/* ===== v1.17 Kartslalom: editierbare Inhalts- und Parcoursbereiche ===== */
.bac-kart-info-list{display:grid;gap:24px;margin-top:34px}
.bac-kart-info-item{display:grid;grid-template-columns:1fr;gap:0;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.11);border-radius:22px;overflow:hidden}
.bac-kart-info-item.has-image{grid-template-columns:minmax(240px,.72fr) 1.28fr}
.bac-kart-info-media{min-height:260px;background:#fff;display:flex;align-items:center;justify-content:center;padding:20px}
.bac-kart-info-media img{width:100%;height:100%;max-height:390px;object-fit:contain}
.bac-kart-info-copy{padding:28px 30px;color:#eef3fb}
.bac-kart-info-copy h2{margin:5px 0 14px!important;color:#fff!important;font-size:clamp(1.45rem,2.7vw,2.15rem)!important}
.bac-kart-info-copy p,.bac-kart-info-copy li{color:#d6deea!important;line-height:1.75}
.bac-kart-info-copy a{color:#fff!important;font-weight:800;text-decoration:underline;text-decoration-color:var(--bac-accent);text-underline-offset:4px}
.bac-parcours-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}
.bac-parcours-card{min-width:0;background:#11161d;border:1px solid rgba(255,255,255,.1);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.bac-parcours-media{height:220px;background:#fff;display:flex;align-items:center;justify-content:center;padding:18px}
.bac-parcours-media img{width:100%;height:100%;object-fit:contain}
.bac-parcours-placeholder{background:linear-gradient(135deg,#151b24,#0c1016);color:#fff;font-size:52px}
.bac-parcours-copy{padding:22px}
.bac-parcours-copy h3{margin:0 0 10px!important;color:#fff!important;font-size:1.2rem!important}
.bac-parcours-copy p,.bac-parcours-copy li{color:#d6deea!important;line-height:1.65;font-size:.96rem}
.bac-parcours-copy p:last-child{margin-bottom:0}
@media(max-width:980px){.bac-parcours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bac-kart-info-item.has-image{grid-template-columns:1fr}.bac-kart-info-media{min-height:220px}}
@media(max-width:620px){.bac-parcours-grid{grid-template-columns:1fr}.bac-parcours-media{height:200px}.bac-kart-info-copy{padding:22px 20px}.bac-kart-info-list{gap:16px}.bac-parcours-card{border-radius:16px}}


/* ===== v1.18 Team & Vorstand ===== */
.bac-team-grid{align-items:stretch}
.bac-team-grid .bac-person-card{display:flex;flex-direction:column;overflow:hidden}
.bac-team-grid .bac-person-body{display:flex;flex-direction:column;flex:1}
.bac-team-group{
  display:inline-flex;
  align-self:flex-start;
  margin:0 0 11px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:#cfd6de;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bac-person-bio{margin:10px 0 0;color:var(--bac-muted);line-height:1.62;font-size:.92rem}
.bac-team-contact{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
  padding-top:19px;
}
.bac-team-contact a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:#0b0e12;
  color:#fff!important;
  text-decoration:none!important;
  font-size:.82rem;
  font-weight:800;
}
.bac-team-contact a:hover{border-color:var(--bac-accent);background:rgba(225,6,0,.08)}
@media(max-width:620px){
  .bac-team-contact a{flex:1;justify-content:center}
}


/* v1.18.2 – Mobile Mitgliederverwaltung für Administratoren */
.bac-editor-action-admin{border-color:rgba(255,255,255,.18)!important;background:linear-gradient(145deg,#171d24,#101419)!important}
.bac-editor-members-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 18px}
.bac-editor-members-head p{margin:0;color:#cbd3dc!important;max-width:620px}
.bac-editor-add-member{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;white-space:nowrap;padding:12px 16px!important;min-height:46px!important;font-size:15px!important}
.bac-editor-member-list{display:grid;gap:11px}
.bac-editor-member-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:13px;align-items:center;padding:13px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.025)}
.bac-editor-member-photo{width:58px;height:58px;border-radius:13px;overflow:hidden;background:#202730;display:flex;align-items:center;justify-content:center;font-size:28px}
.bac-editor-member-photo img{width:100%;height:100%;object-fit:cover}
.bac-editor-member-main{min-width:0;display:flex;flex-direction:column;gap:2px}
.bac-editor-member-main strong{font-size:16px;color:#fff!important;line-height:1.2}
.bac-editor-member-main span{font-size:14px;color:#dbe2e9!important}
.bac-editor-member-main small{font-size:12px;color:#98a5b2!important}
.bac-editor-member-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.bac-editor-member-actions form{margin:0}
.bac-editor-member-checks{display:grid;gap:10px;padding:13px 14px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.025)}
.bac-editor-member-checks .bac-editor-check-row{color:#e9eef3!important}
.bac-editor-member-photo-current{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)}
.bac-editor-member-photo-current img{width:88px;height:88px;border-radius:13px;object-fit:cover}
.bac-editor-form select{width:100%;min-height:50px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#0e1216;color:#fff;padding:0 13px;font-size:16px}
@media(max-width:700px){
  .bac-editor-members-head{display:grid}
  .bac-editor-add-member{width:100%}
  .bac-editor-member-item{grid-template-columns:52px minmax(0,1fr)}
  .bac-editor-member-photo{width:52px;height:52px}
  .bac-editor-member-actions{grid-column:1/-1;justify-content:flex-start;padding-top:3px}
  .bac-editor-member-actions .bac-editor-mini-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
  .bac-editor-member-photo-current{align-items:flex-start;flex-direction:column}
}

/* ===== v1.19 Mitmachen & Probetraining ===== */
.bac-join-hero p{max-width:820px}
.bac-join-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.bac-join-facts-section{padding-top:28px;padding-bottom:28px}
.bac-join-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bac-join-facts article{display:grid;align-content:start;gap:5px;min-width:0;padding:20px;border:1px solid var(--bac-line);border-radius:18px;background:rgba(255,255,255,.035)}
.bac-join-facts article>span{font-size:11px;letter-spacing:.16em;font-weight:900;color:var(--bac-accent,#e10600)}
.bac-join-facts strong{font-size:clamp(20px,2.5vw,30px);line-height:1.08;color:#fff!important;overflow-wrap:anywhere}
.bac-join-facts small{font-size:13px;line-height:1.45;color:#aeb4bd;overflow-wrap:anywhere}
.bac-join-info-section{padding-top:20px}
.bac-join-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bac-join-info-card{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;padding:26px;border:1px solid var(--bac-line);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018))}
.bac-join-info-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:rgba(255,255,255,.06);font-size:25px}
.bac-join-info-card h2{margin:6px 0 9px;font-size:clamp(23px,3vw,31px);line-height:1.06;color:#fff!important}
.bac-join-info-card p{margin:0;color:#b7bec7;line-height:1.65}
.bac-join-trial{scroll-margin-top:100px}
.bac-join-contact-note{display:grid;gap:3px;margin-top:22px;padding:15px 17px;border-left:3px solid var(--bac-accent,#e10600);background:rgba(255,255,255,.035);border-radius:0 12px 12px 0}
.bac-join-contact-note strong{color:#fff!important}
.bac-join-contact-note span{color:#b7bec7;overflow-wrap:anywhere}

@media(max-width:820px){
  .bac-join-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bac-join-info-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .bac-join-hero-actions{display:grid;grid-template-columns:1fr}
  .bac-join-hero-actions .bac-btn{width:100%;justify-content:center;box-sizing:border-box}
  .bac-join-facts{grid-template-columns:1fr 1fr;gap:10px}
  .bac-join-facts article{padding:15px;border-radius:15px}
  .bac-join-facts strong{font-size:21px}
  .bac-join-info-card{grid-template-columns:1fr;gap:12px;padding:20px;border-radius:18px}
  .bac-join-info-icon{width:44px;height:44px;font-size:22px}
}

/* ===== BAC v1.20 – Kart-Technik ===== */
.bac-kart-tech{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--bac-line);
}
.bac-kart-tech-title{
  display:block;
  margin-bottom:10px;
  color:#fff;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.bac-kart-tech-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 14px;
}
.bac-kart-tech-grid>div{
  min-width:0;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:rgba(255,255,255,.025);
}
.bac-kart-tech-grid span{
  display:block;
  color:var(--bac-muted);
  font-size:.62rem;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.bac-kart-tech-grid strong{
  display:block;
  margin-top:4px;
  color:#f5f7fa;
  font-size:.84rem;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.bac-kart-safety{border-left-color:#f0b429}
.bac-kart-safety>span{color:#f0b429}
.bac-kart-usage{border-left-color:#7ec8ff}
.bac-kart-usage>span{color:#7ec8ff}
.bac-technik-hero p{max-width:820px!important}
.bac-technik-page .bac-kart-grid{margin-top:32px}

.bac-editor-kart-settings{
  margin-bottom:22px;
  padding:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}
.bac-editor-kart-settings .bac-editor-submit{margin-top:2px}
.bac-editor-karts-head{margin-top:20px}
.bac-editor-kart-thumb img{object-fit:cover}
.bac-editor-fields-2 .bac-editor-field-wide{grid-column:1/-1}

@media(max-width:600px){
  .bac-kart-tech-grid{grid-template-columns:1fr 1fr;gap:7px}
  .bac-kart-tech-grid>div{padding:9px}
  .bac-kart-tech-grid strong{font-size:.8rem}
  .bac-editor-fields-2 .bac-editor-field-wide{grid-column:auto}
}

/* ===== v1.21 Kontaktseite ===== */
.bac-contact-hero .bac-contact-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.bac-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bac-contact-card{min-width:0;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);border-radius:18px;padding:24px;display:flex;flex-direction:column;align-items:flex-start}
.bac-contact-card .bac-contact-icon{font-size:28px;line-height:1;margin-bottom:20px}
.bac-contact-card small,.bac-contact-place small{font-size:12px;letter-spacing:.14em;font-weight:800;color:var(--bac-accent,#e10600)}
.bac-contact-card h2{color:#fff!important;font-size:22px;margin:7px 0 10px}
.bac-contact-card p{color:rgba(255,255,255,.72);margin:0 0 18px}
.bac-contact-card a{margin-top:auto;color:#fff;font-weight:800;text-decoration:none;overflow-wrap:anywhere}
.bac-contact-card a:hover{text-decoration:underline}
.bac-contact-place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.bac-contact-place{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:24px;background:rgba(255,255,255,.035)}
.bac-contact-place>span{font-size:30px}
.bac-contact-place h3{color:#fff!important;margin:5px 0 6px;font-size:22px}
.bac-contact-place p{color:rgba(255,255,255,.72);margin:0 0 18px}
.bac-contact-person-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.bac-contact-person{border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:6px;background:rgba(255,255,255,.035)}
.bac-contact-person strong{color:#fff;font-size:18px}.bac-contact-person>span{color:rgba(255,255,255,.64);font-size:14px}.bac-contact-person>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.bac-contact-person a{color:#fff;font-weight:800;text-decoration:none}
.bac-contact-no-person{color:rgba(255,255,255,.7)}
.bac-editor-fieldset-title{font-size:13px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#fff;border-top:1px solid rgba(255,255,255,.12);padding-top:18px;margin-top:6px}
.bac-editor-form label small{display:block;margin-top:6px;color:rgba(255,255,255,.58);font-size:12px;line-height:1.4}
@media(max-width:900px){.bac-contact-grid,.bac-contact-person-grid{grid-template-columns:1fr 1fr}.bac-contact-place-grid{grid-template-columns:1fr}}
@media(max-width:640px){.bac-contact-grid,.bac-contact-person-grid{grid-template-columns:1fr}.bac-contact-card,.bac-contact-place{padding:20px}.bac-contact-hero .bac-contact-hero-actions .bac-btn{width:100%;justify-content:center;text-align:center}}


/* ===== v1.21.3 Mobile Galerie-Verwaltung ===== */
.bac-editor-gallery-admin-head{align-items:center}
.bac-editor-gallery-admin-list{display:grid;gap:11px}
.bac-editor-gallery-admin-item{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:13px;align-items:center;padding:13px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.025)}
.bac-editor-gallery-admin-thumb{width:74px;height:64px;overflow:hidden;border-radius:12px;background:#202730;display:flex;align-items:center;justify-content:center;font-size:28px}
.bac-editor-gallery-admin-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.bac-editor-gallery-admin-main{min-width:0;display:flex;flex-direction:column;gap:5px}
.bac-editor-gallery-admin-main strong{color:#fff!important;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.bac-editor-gallery-admin-main small{color:#aeb8c2!important;font-size:12px;line-height:1.4}
.bac-editor-gallery-admin-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.bac-editor-gallery-admin-actions form{margin:0}
.bac-editor-gallery-manage{display:grid;gap:13px;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:15px;background:rgba(255,255,255,.02)}
.bac-editor-gallery-manage-head{display:grid;gap:5px}
.bac-editor-gallery-manage-head>div{display:flex;gap:8px;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
.bac-editor-gallery-manage-head strong{color:#fff!important;font-size:15px}
.bac-editor-gallery-manage-head span,.bac-editor-gallery-manage-head small{color:#aeb8c2!important;font-size:12px;line-height:1.45}
.bac-editor-gallery-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.bac-editor-gallery-photo{position:relative;min-width:0;padding:7px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#10151b;transition:opacity .15s,border-color .15s}
.bac-editor-gallery-photo.is-remove{opacity:.45;border-color:rgba(225,6,0,.6)}
.bac-editor-gallery-photo img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;background:#222}
.bac-editor-gallery-cover{position:absolute;left:11px;top:11px;padding:4px 7px;border-radius:999px;background:rgba(0,0,0,.78);color:#fff!important;font-size:10px;font-weight:900;letter-spacing:.04em}
.bac-editor-gallery-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px}
.bac-editor-gallery-move{min-height:36px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#1d242c;color:#fff;font-size:17px;font-weight:900;cursor:pointer}
.bac-editor-gallery-remove{display:flex!important;align-items:center;gap:6px;margin-top:7px!important;padding:0!important;color:#f3c5c3!important;font-size:11px!important;font-weight:800!important;cursor:pointer}
.bac-editor-gallery-remove input{width:18px!important;height:18px!important;margin:0!important;flex:0 0 auto}
@media(max-width:680px){
  .bac-editor-gallery-admin-head{display:grid}
  .bac-editor-gallery-admin-head .bac-editor-mini-btn{width:100%;box-sizing:border-box}
  .bac-editor-gallery-admin-item{grid-template-columns:64px minmax(0,1fr)}
  .bac-editor-gallery-admin-thumb{width:64px;height:58px}
  .bac-editor-gallery-admin-actions{grid-column:1/-1;justify-content:flex-start}
  .bac-editor-gallery-admin-actions .bac-editor-mini-btn{min-height:42px}
  .bac-editor-gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ===== BAC v1.22 – Startseite final ===== */
.bac-home .bac-section-action{
  margin-top:30px;
  display:flex;
  justify-content:flex-start;
}

.bac-home-videos{
  background:
    radial-gradient(circle at 88% 16%,rgba(225,6,0,.10),transparent 28%),
    #0b0f13;
}

.bac-home-video-grid{
  margin-top:4px;
}

.bac-home-video-card{
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.bac-home .bac-news-featured-wrap{
  margin-top:4px;
}

.bac-home .bac-trial-band h2{
  max-width:760px;
}

@media(max-width:767px){
  .bac-home .bac-section-action{
    margin-top:22px;
  }

  .bac-home .bac-section-action .bac-btn{
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .bac-home-videos .bac-video-card-body h2{
    font-size:21px!important;
  }
}

/* ===== v1.22.1 Team-Fotofokus ===== */
.bac-team-focus-box{display:grid;gap:13px;padding:15px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(255,255,255,.025)}
.bac-team-focus-copy{display:grid;gap:4px}
.bac-team-focus-copy strong{font-size:17px;color:#fff!important}
.bac-team-focus-copy span{font-size:13px;line-height:1.5;color:#aeb8c2!important}
.bac-team-focus-stage{position:relative;overflow:hidden;width:min(100%,560px);aspect-ratio:4/3;border-radius:16px;border:1px solid rgba(255,255,255,.14);background-color:#080b0f;background-repeat:no-repeat;background-size:cover;background-position:var(--bac-focus-x,50%) var(--bac-focus-y,50%);touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.bac-team-focus-stage.is-dragging{cursor:grabbing}
.bac-team-focus-stage.is-empty{display:flex;align-items:center;justify-content:center;background-image:linear-gradient(135deg,#171d24,#0b0f13)!important;cursor:default;touch-action:auto}
.bac-team-focus-empty{display:none;max-width:260px;padding:22px;text-align:center;font-size:14px;line-height:1.5;color:#9aa6b2!important}
.bac-team-focus-stage.is-empty .bac-team-focus-empty{display:block}
.bac-team-focus-stage.is-empty .bac-team-focus-target,.bac-team-focus-stage.is-empty .bac-team-focus-grid{display:none}
.bac-team-focus-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent 33.2%,rgba(255,255,255,.25) 33.3%,rgba(255,255,255,.25) 33.6%,transparent 33.7%,transparent 66.2%,rgba(255,255,255,.25) 66.3%,rgba(255,255,255,.25) 66.6%,transparent 66.7%),linear-gradient(to bottom,transparent 33.2%,rgba(255,255,255,.25) 33.3%,rgba(255,255,255,.25) 33.6%,transparent 33.7%,transparent 66.2%,rgba(255,255,255,.25) 66.3%,rgba(255,255,255,.25) 66.6%,transparent 66.7%)}
.bac-team-focus-target{position:absolute;left:50%;top:50%;width:64px;height:64px;border:3px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 999px rgba(0,0,0,.14),0 0 0 2px rgba(0,0,0,.45),0 2px 14px rgba(0,0,0,.4);pointer-events:none}
.bac-team-focus-target:before,.bac-team-focus-target:after{content:"";position:absolute;background:#fff;left:50%;top:50%;transform:translate(-50%,-50%);opacity:.9}
.bac-team-focus-target:before{width:16px;height:2px}
.bac-team-focus-target:after{width:2px;height:16px}
.bac-team-focus-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bac-team-focus-actions>span{font-size:13px;color:#aeb8c2!important}
.bac-team-remove-photo{padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.02);color:#e9eef3!important}
@media(max-width:700px){.bac-team-focus-stage{width:100%}.bac-team-focus-target{width:42px;height:42px}}

/* v1.23 – Website-Check */
.bac-livecheck-summary{display:flex;flex-direction:column;gap:5px;margin:0 0 18px;padding:16px 17px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:#0b0f13;color:#fff}
.bac-livecheck-summary strong{font-size:18px}.bac-livecheck-summary span{color:#aeb6bf;font-size:14px;line-height:1.5}
.bac-livecheck-list{display:grid;gap:10px;margin:0 0 18px}.bac-livecheck-item{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:#0b0f13}.bac-livecheck-item>div{min-width:0;display:flex;flex-direction:column;gap:3px}.bac-livecheck-item strong{color:#fff;font-size:15px}.bac-livecheck-item small{color:#aeb6bf;line-height:1.45}.bac-livecheck-icon{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:900}.bac-livecheck-item.is-ok .bac-livecheck-icon{background:#163b27;color:#8ff0b0}.bac-livecheck-item.is-open .bac-livecheck-icon{background:#4a2e0e;color:#ffd18c}


/* v1.23.1 – Mobile Mitgliederverwaltung inklusive Fahrer */
.bac-editor-members-subhead{margin-top:28px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);align-items:flex-end}
.bac-editor-members-subhead:first-of-type{margin-top:10px}
.bac-editor-members-subhead h3{margin:4px 0 0;color:#fff;font-size:clamp(1.25rem,5vw,1.7rem)}
.bac-editor-drivers-subhead{margin-top:36px}
.bac-editor-driver-photo img{object-position:center}
.bac-editor-member-photo-current{display:grid;gap:10px;margin:8px 0 4px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.035)}
.bac-editor-member-photo-current img{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:12px;background:#111}
@media(max-width:620px){.bac-editor-members-subhead{align-items:stretch}.bac-editor-members-subhead .bac-editor-submit{width:100%;text-align:center}}


/* ===== BAC v1.23.4 – Startseiten-Herobild auf Smartphones ===== */
/* Desktop bleibt unverändert. Auf Smartphones bekommt das Hero-Foto eine
   eigene, ungestörte Bildfläche oberhalb des Textes, damit Kart und Fahrer
   nicht durch den Hochformat-Crop und die dunkle Textfläche verschwinden. */
.bac-hero-mobile-photo{
  display:none;
}

@media (max-width:767px){
  .bac-home .bac-hero{
    display:block!important;
    min-height:0!important;
    background-image:none!important;
    background-color:#080a0d!important;
  }

  .bac-home .bac-hero-mobile-photo{
    display:block;
    position:relative;
    z-index:1;
    width:100%;
    aspect-ratio:3 / 2;
    min-height:220px;
    max-height:320px;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:56% 60%;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  .bac-home .bac-hero-mobile-photo::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(5,7,9,0) 58%,rgba(5,7,9,.18) 78%,#080a0d 100%);
    pointer-events:none;
  }

  .bac-home .bac-hero-overlay{
    display:none!important;
  }

  .bac-home .bac-hero-inner{
    position:relative;
    z-index:2;
    min-height:0!important;
    padding-top:20px!important;
    padding-bottom:32px!important;
  }

  .bac-home .bac-hero-logo{
    margin-top:0!important;
  }
}

@media (max-width:390px){
  .bac-home .bac-hero-mobile-photo{
    min-height:205px;
  }
}

/* ===== BAC v1.23.6 – Mobiles Herobild intensiver & attraktiver ===== */
@media (max-width:767px){
  .bac-home .bac-hero{
    padding-top:10px;
    background:
      radial-gradient(circle at 78% 11%,rgba(225,6,0,.20),transparent 34%),
      linear-gradient(180deg,#090b0e 0%,#080a0d 100%)!important;
  }

  .bac-home .bac-hero-mobile-photo{
    position:relative;
    isolation:isolate;
    width:calc(100% - 28px);
    margin:0 auto;
    aspect-ratio:4 / 3;
    min-height:250px;
    max-height:380px;
    overflow:hidden;
    border-radius:24px;
    background-size:cover!important;
    background-position:58% 46%!important;
    box-shadow:
      0 24px 56px rgba(0,0,0,.38),
      0 0 0 1px rgba(255,255,255,.06);
  }

  .bac-home .bac-hero-mobile-photo::before{
    content:"";
    position:absolute;
    inset:-3%;
    background:inherit;
    background-size:cover!important;
    background-position:58% 46%!important;
    transform:scale(1.05);
    filter:saturate(1.14) contrast(1.08) brightness(1.03);
    z-index:-2;
  }

  .bac-home .bac-hero-mobile-photo::after{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(circle at 78% 18%,rgba(225,6,0,.30),transparent 32%),
      linear-gradient(180deg,rgba(6,8,10,0) 0%,rgba(6,8,10,.10) 40%,rgba(6,8,10,.44) 82%,#080a0d 100%),
      linear-gradient(135deg,rgba(255,255,255,.06),transparent 40%);
    pointer-events:none;
    z-index:-1;
  }

  .bac-home .bac-hero-inner{
    margin-top:-24px;
    padding-top:28px!important;
    padding-bottom:34px!important;
    border-radius:26px 26px 0 0;
    background:linear-gradient(180deg,rgba(8,10,13,.95) 0%,#080a0d 18%,#080a0d 100%);
    box-shadow:0 -16px 34px rgba(0,0,0,.16);
  }

  .bac-home .bac-hero-logo{
    filter:drop-shadow(0 10px 24px rgba(0,0,0,.34));
  }
}

@media (max-width:430px){
  .bac-home .bac-hero-mobile-photo{
    width:calc(100% - 22px);
    aspect-ratio:5 / 4;
    min-height:240px;
    border-radius:21px;
    background-position:59% 45%!important;
  }

  .bac-home .bac-hero-inner{
    margin-top:-18px;
    padding-top:24px!important;
  }
}

/* ===== BAC v1.23.8 – Smartphone-Hero wie Desktop ===== */
/* Auf dem Handy nutzt der Hero wieder das große Foto als vollflächigen
   Hintergrund mit Text darüber – wie am Desktop, nur kompakter skaliert. */
@media (max-width:767px){
  .bac-home .bac-hero{
    display:flex!important;
    align-items:center!important;
    min-height:570px!important;
    padding:0!important;
    background-image:var(--bac-hero-image)!important;
    background-repeat:no-repeat!important;
    background-size:cover!important;
    background-position:67% 52%!important;
    background-color:#080a0d!important;
  }

  .bac-home .bac-hero-mobile-photo{
    display:none!important;
  }

  .bac-home .bac-hero-overlay{
    display:block!important;
    background:
      linear-gradient(90deg,
        rgba(5,7,9,.96) 0%,
        rgba(5,7,9,.90) 29%,
        rgba(5,7,9,.69) 52%,
        rgba(5,7,9,.28) 76%,
        rgba(5,7,9,.12) 100%),
      linear-gradient(0deg,
        rgba(5,7,9,.88) 0%,
        rgba(5,7,9,.18) 38%,
        rgba(5,7,9,.08) 100%)!important;
  }

  .bac-home .bac-hero-inner{
    position:relative;
    z-index:2;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-height:570px!important;
    margin:0 auto!important;
    padding-top:46px!important;
    padding-bottom:44px!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .bac-home .bac-hero-copy{
    width:78%!important;
    max-width:330px!important;
  }

  .bac-home .bac-hero-logo{
    width:76px!important;
    max-width:76px!important;
    margin:0 0 15px!important;
    filter:drop-shadow(0 8px 22px rgba(0,0,0,.50));
  }

  .bac-home .bac-eyebrow{
    font-size:.61rem!important;
    letter-spacing:.10em!important;
    text-shadow:0 2px 12px rgba(0,0,0,.65);
  }

  .bac-home .bac-hero h1,
  .bac-home .bac-default-hero-title{
    margin:13px 0 15px!important;
    max-width:100%!important;
    font-size:clamp(2.45rem,12.7vw,3.45rem)!important;
    line-height:.89!important;
    letter-spacing:-.058em!important;
    text-shadow:0 4px 22px rgba(0,0,0,.55);
  }

  .bac-home .bac-default-hero-title .bac-line-1,
  .bac-home .bac-default-hero-title .bac-line-2,
  .bac-home .bac-default-hero-title .bac-line-3{
    display:block!important;
    white-space:normal!important;
  }

  .bac-home .bac-default-hero-title .bac-line-2::after{
    content:""!important;
  }

  .bac-home .bac-hero p{
    max-width:100%!important;
    margin:0!important;
    color:#eef1f5!important;
    font-size:.88rem!important;
    line-height:1.48!important;
    text-shadow:0 2px 14px rgba(0,0,0,.72);
  }

  .bac-home .bac-actions{
    width:100%!important;
    margin-top:21px!important;
    gap:8px!important;
  }

  .bac-home .bac-actions .bac-btn{
    min-height:44px!important;
    font-size:.70rem!important;
    box-shadow:0 8px 22px rgba(0,0,0,.25);
  }
}

@media (max-width:390px){
  .bac-home .bac-hero,
  .bac-home .bac-hero-inner{
    min-height:535px!important;
  }

  .bac-home .bac-hero{
    background-position:68% 50%!important;
  }

  .bac-home .bac-hero-copy{
    width:80%!important;
    max-width:285px!important;
  }

  .bac-home .bac-hero h1,
  .bac-home .bac-default-hero-title{
    font-size:2.32rem!important;
  }

  .bac-home .bac-hero p{
    font-size:.82rem!important;
  }
}


/* ===== BAC v1.23.9 – Hero-Verwaltung in /intern/ ===== */
.bac-home .bac-hero{
  background-position:var(--bac-hero-desktop-pos,50% 50%)!important;
}
.bac-home .bac-hero-mobile-photo{
  background-position:var(--bac-hero-mobile-pos,67% 52%)!important;
}
@media (max-width:767px){
  .bac-home .bac-hero{
    background-position:var(--bac-hero-mobile-pos,67% 52%)!important;
  }
}

.bac-hero-admin-previews{
  display:grid;
  grid-template-columns:1.3fr .78fr;
  gap:14px;
  margin:6px 0 16px;
}
.bac-hero-admin-preview-col strong{
  display:block;
  margin:0 0 8px;
  color:#fff;
  font-size:.9rem;
}
.bac-hero-admin-preview{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background-color:#0c0f13;
  background-repeat:no-repeat;
  background-size:cover;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}
.bac-hero-admin-preview::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(5,7,9,.82),rgba(5,7,9,.25) 58%,rgba(5,7,9,.12));
}
.bac-hero-admin-preview-desktop{ aspect-ratio:16 / 8.4; }
.bac-hero-admin-preview-mobile{ aspect-ratio:9 / 16; }
.bac-editor-form input[type=range]{ width:100%; }
@media (max-width:767px){
  .bac-hero-admin-previews{ grid-template-columns:1fr; }
  .bac-hero-admin-preview-mobile{ aspect-ratio:9 / 12.6; }
}


/* ===== BAC v1.23.10 – Hero-Regler klar sichtbar & direkt unter der Vorschau ===== */
.bac-hero-admin-help{margin:-4px 0 15px!important;color:#c3ccd5!important;font-size:14px!important;line-height:1.55!important}
.bac-hero-admin-preview-col{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:#0b0f13}
.bac-hero-admin-preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.bac-hero-admin-preview-head strong{margin:0!important;color:#fff!important;font-size:16px!important}
.bac-hero-admin-preview-head span{padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.08);color:#c3ccd5;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.bac-hero-admin-preview{box-shadow:0 14px 34px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.04)}
.bac-hero-focus-marker{position:absolute;left:50%;top:50%;z-index:3;width:34px;height:34px;border:3px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 3px rgba(225,6,0,.92),0 2px 14px rgba(0,0,0,.65);pointer-events:none}
.bac-hero-focus-marker::before,.bac-hero-focus-marker::after{content:"";position:absolute;left:50%;top:50%;background:#fff;transform:translate(-50%,-50%)}
.bac-hero-focus-marker::before{width:14px;height:2px}.bac-hero-focus-marker::after{width:2px;height:14px}
.bac-hero-focus-panel{display:grid;gap:14px;margin-top:13px;padding:14px;border:1px solid rgba(225,6,0,.36);border-radius:16px;background:linear-gradient(180deg,rgba(225,6,0,.10),rgba(255,255,255,.035))}
.bac-hero-range-label{display:grid!important;gap:8px!important;margin:0!important}
.bac-hero-range-label>span{display:flex!important;align-items:center;justify-content:space-between;gap:10px;color:#f7f9fb!important;font-size:13px!important;font-weight:850!important}
.bac-hero-range-label b{min-width:56px;padding:5px 10px;border-radius:999px;background:#e10600;color:#fff;text-align:center;font-size:12px;line-height:1.3;box-shadow:0 3px 10px rgba(225,6,0,.28)}
.bac-editor-form .bac-hero-range-label input[type=range]{--bac-range-progress:50%;-webkit-appearance:none!important;appearance:none!important;width:100%!important;height:32px!important;margin:0!important;padding:0!important;background:transparent!important;cursor:pointer;accent-color:#e10600}
.bac-editor-form .bac-hero-range-label input[type=range]::-webkit-slider-runnable-track{height:11px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:linear-gradient(90deg,#e10600 0 var(--bac-range-progress),#4b5561 var(--bac-range-progress) 100%);box-shadow:inset 0 1px 2px rgba(0,0,0,.5)}
.bac-editor-form .bac-hero-range-label input[type=range]::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:29px;height:29px;margin-top:-10px;border:4px solid #fff;border-radius:50%;background:#e10600;box-shadow:0 3px 10px rgba(0,0,0,.7),0 0 0 2px rgba(225,6,0,.38)}
.bac-editor-form .bac-hero-range-label input[type=range]::-moz-range-track{height:11px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:#4b5561}.bac-editor-form .bac-hero-range-label input[type=range]::-moz-range-progress{height:11px;border-radius:999px;background:#e10600}.bac-editor-form .bac-hero-range-label input[type=range]::-moz-range-thumb{width:22px;height:22px;border:4px solid #fff;border-radius:50%;background:#e10600;box-shadow:0 3px 10px rgba(0,0,0,.7)}
.bac-hero-center-btn{min-height:44px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-weight:850;cursor:pointer}.bac-hero-center-btn:hover{background:rgba(255,255,255,.12)}
@media(max-width:767px){.bac-hero-admin-preview-col{padding:11px;border-radius:17px}.bac-hero-focus-panel{padding:12px}.bac-hero-admin-preview-desktop{aspect-ratio:16/9}.bac-hero-admin-preview-mobile{aspect-ratio:9/13.2}}

/* ===== BAC v1.23.11 – Rollen & Berechtigungen ===== */
.bac-role-admin{display:grid;gap:20px}
.bac-role-create,.bac-role-card{border:1px solid rgba(255,255,255,.11);border-radius:16px;background:#0b0f13;overflow:hidden}
.bac-role-create>summary,.bac-role-card>summary{list-style:none;cursor:pointer;padding:16px 17px;color:#fff;font-weight:850;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px}
.bac-role-create>summary::-webkit-details-marker,.bac-role-card>summary::-webkit-details-marker{display:none}
.bac-role-card>summary span:first-child{display:grid;gap:3px}.bac-role-card>summary small{color:#9fa9b4;font-weight:500}.bac-role-card>summary span:last-child{color:#ff5b55;font-size:13px}
.bac-role-form{padding:0 16px 17px!important;border-top:1px solid rgba(255,255,255,.08)}
.bac-role-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 16px}
.bac-role-permission{display:flex!important;align-items:flex-start!important;gap:11px!important;padding:13px!important;border:1px solid rgba(255,255,255,.10);border-radius:13px;background:rgba(255,255,255,.025);cursor:pointer}
.bac-role-permission:has(input:checked){border-color:rgba(225,6,0,.65);background:rgba(225,6,0,.09)}
.bac-role-permission input{flex:0 0 20px;width:20px!important;height:20px!important;margin:2px 0 0!important;accent-color:#e10600}
.bac-role-permission>span{display:grid;gap:3px;min-width:0}.bac-role-permission strong{color:#fff;font-size:14px;line-height:1.3}.bac-role-permission small{color:#9fa9b4;font-size:12px;line-height:1.4}
.bac-role-delete-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 16px 17px}.bac-role-delete-form small{color:#9fa9b4}
.bac-editor-danger{min-height:42px;padding:0 15px;border:1px solid rgba(255,89,89,.35);border-radius:12px;background:rgba(185,36,36,.10);color:#ff9b9b;font-weight:800}.bac-editor-danger:disabled{opacity:.45}
.bac-user-role-list{display:grid;gap:10px}.bac-user-role-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);align-items:center;gap:14px;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:15px;background:#0b0f13}
.bac-user-role-person{display:flex;align-items:center;gap:12px;min-width:0}.bac-user-role-avatar img{display:block;width:52px;height:52px;border-radius:50%}.bac-user-role-person>span:last-child{display:grid;gap:2px;min-width:0}.bac-user-role-person strong{color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bac-user-role-person small{color:#9fa9b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bac-user-role-person em{color:#ff6762;font-size:12px;font-style:normal}
.bac-user-role-form{display:flex;gap:8px}.bac-user-role-form select{min-width:0;flex:1}.bac-editor-smallbtn{min-height:44px;padding:0 13px;border:0;border-radius:11px;background:#e10600;color:#fff;font-weight:850}.bac-user-role-fixed{padding:11px 13px;border-radius:11px;background:rgba(255,255,255,.05);color:#c5ccd4;font-size:13px}.bac-editor-action-security{border-color:rgba(225,6,0,.35)!important}
@media(max-width:760px){.bac-role-permission-grid{grid-template-columns:1fr}.bac-user-role-card{grid-template-columns:1fr}.bac-user-role-form{display:grid;grid-template-columns:1fr auto}.bac-user-role-form select{width:100%}}


/* ===== BAC v1.23.12 – Vereinsdaten Schnellzugriff & Kachelordnung ===== */
.bac-editor-action-quickdata{border-color:rgba(255,255,255,.24)!important;background:linear-gradient(145deg,#1a2027,#10151a)!important}
.bac-editor-action-layout{border-style:dashed!important}
.bac-club-quick-intro{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:15px 16px;border:1px solid rgba(225,6,0,.35);border-radius:15px;background:rgba(225,6,0,.08)}
.bac-club-quick-intro strong{flex:0 0 auto;color:#fff;font-size:14px}.bac-club-quick-intro span{color:#b7c0ca;font-size:13px;line-height:1.5}
.bac-tile-order-help{margin:0 0 15px!important;padding:14px 15px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.035);color:#bdc5ce!important;font-size:13px!important;line-height:1.55!important}
.bac-tile-order-list{display:grid;gap:9px}
.bac-tile-order-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;padding:10px 11px;border:1px solid rgba(255,255,255,.11);border-radius:15px;background:#0b0f13;transition:.2s ease}
.bac-tile-order-item.is-moved{border-color:rgba(225,6,0,.75);background:rgba(225,6,0,.08)}
.bac-tile-order-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.055);font-size:25px}
.bac-tile-order-text{display:grid;gap:3px;min-width:0}.bac-tile-order-text strong{color:#fff;font-size:14px}.bac-tile-order-text small{color:#8f99a4;font-size:11px}
.bac-tile-order-controls{display:flex;gap:7px}.bac-tile-move{width:45px;height:45px;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:#171d23;color:#fff;font-size:21px;font-weight:900;cursor:pointer}.bac-tile-move:hover{border-color:#e10600;background:rgba(225,6,0,.13)}
.bac-tile-order-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.bac-tile-order-actions .bac-editor-submit{flex:1 1 220px}.bac-editor-secondary{flex:0 1 auto;min-height:54px;padding:0 18px;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:rgba(255,255,255,.055);color:#fff;font-weight:850;cursor:pointer}
@media(max-width:600px){.bac-club-quick-intro{display:grid}.bac-tile-order-item{grid-template-columns:42px minmax(0,1fr) auto;padding:9px}.bac-tile-order-icon{width:42px;height:42px;font-size:22px}.bac-tile-order-controls{gap:5px}.bac-tile-move{width:40px;height:40px}.bac-tile-order-actions{display:grid;grid-template-columns:1fr}.bac-tile-order-actions .bac-editor-submit,.bac-editor-secondary{width:100%}}


/* ===== BAC v1.24 – Rechtliches in /intern/ ===== */
.bac-editor-action-legal{border-color:rgba(255,209,102,.20)!important}
.bac-legal-editor-warning{margin:0 0 20px!important;border-color:rgba(255,209,102,.28)!important;background:rgba(255,209,102,.07)!important}
.bac-legal-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 20px}
.bac-legal-service{display:flex!important;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:#0b0f13;cursor:pointer}
.bac-legal-service>input{flex:0 0 auto;margin-top:4px;accent-color:var(--bac-accent)}
.bac-legal-service>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.bac-legal-service strong{color:#fff;font-size:14px;line-height:1.35}
.bac-legal-service small{color:#9fa9b4;font-size:12px;line-height:1.45}
.bac-legal-review-check{margin:16px 0 24px!important;padding:14px!important;border:1px solid rgba(225,6,0,.28)!important;border-radius:14px!important;background:rgba(225,6,0,.06)!important}
.bac-legal-editor-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.bac-legal-list{color:var(--bac-muted);line-height:1.8}
@media(max-width:700px){.bac-legal-service-grid{grid-template-columns:1fr}.bac-legal-editor-links{display:grid}.bac-legal-editor-links .bac-btn{width:100%}}


/* ===== BAC v1.25 – Livegang & Performance ===== */
.bac-launch-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px}
.bac-launch-status{display:grid;gap:4px;padding:16px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:#0b0f13}
.bac-launch-status>span{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8d98a5!important}
.bac-launch-status strong{font-size:18px;color:#fff!important;overflow-wrap:anywhere}
.bac-launch-status small{font-size:13px;line-height:1.45;color:#aeb6bf!important}
.bac-launch-status.is-ok{border-color:rgba(74,222,128,.30);background:linear-gradient(145deg,rgba(22,59,39,.55),#0b0f13)}
.bac-launch-status.is-open{border-color:rgba(251,146,60,.35);background:linear-gradient(145deg,rgba(74,46,14,.58),#0b0f13)}
.bac-launch-status.is-info{border-color:rgba(96,165,250,.28);background:linear-gradient(145deg,rgba(18,42,72,.48),#0b0f13)}
.bac-launch-inline-form{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:16px!important;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:#0b0f13}
.bac-launch-inline-form>div{display:grid;gap:4px}.bac-launch-inline-form strong{color:#fff!important}.bac-launch-inline-form small{color:#aeb6bf!important;line-height:1.45}
.bac-launch-search-warning{display:grid;gap:5px;padding:15px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10)}
.bac-launch-search-warning.is-on{background:rgba(22,59,39,.42);border-color:rgba(74,222,128,.28)}
.bac-launch-search-warning strong{color:#fff!important}.bac-launch-search-warning span{color:#aeb6bf!important;line-height:1.5}
.bac-launch-danger{background:#5f1a1a!important;border-color:#8f2c2c!important}
.bac-launch-steps{display:grid;gap:10px;margin-bottom:18px}
.bac-launch-steps>div{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:#0b0f13}
.bac-launch-steps b{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--bac-accent);color:#fff;font-size:16px}
.bac-launch-steps span{display:grid;gap:3px}.bac-launch-steps strong{color:#fff!important}.bac-launch-steps small{color:#aeb6bf!important;line-height:1.45}
@media(max-width:700px){.bac-launch-status-grid{grid-template-columns:1fr}.bac-launch-inline-form{align-items:stretch;flex-direction:column}.bac-launch-inline-form .bac-editor-mini-btn{width:100%}}


/* ===== BAC v1.26 – Zentrale Abschlussprüfung ===== */
.bac-editor-action-finalcheck{border-color:rgba(74,222,128,.24)!important;background:linear-gradient(145deg,rgba(17,65,38,.40),rgba(12,16,20,.96))!important}
.bac-final-state{display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:center;margin:0 0 18px;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:#0b0f13}
.bac-final-state-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;font-size:24px;font-weight:950;background:#4a2e0e;color:#ffd18c}
.bac-final-state>div{display:grid;gap:4px}.bac-final-state strong{font-size:20px;color:#fff!important}.bac-final-state p{margin:0!important;color:#aeb6bf!important;font-size:14px!important;line-height:1.5!important}
.bac-final-state.is-ready{border-color:rgba(74,222,128,.32);background:linear-gradient(145deg,rgba(22,59,39,.56),#0b0f13)}
.bac-final-state.is-ready .bac-final-state-icon,.bac-final-state.is-live .bac-final-state-icon{background:#155d35;color:#a7f3c1}
.bac-final-state.is-live{border-color:rgba(74,222,128,.55);background:linear-gradient(145deg,rgba(18,83,48,.67),#0b0f13);box-shadow:0 16px 42px rgba(34,197,94,.08)}
.bac-final-progress-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 22px}
.bac-final-progress-grid>div{display:grid;gap:4px;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#0b0f13}
.bac-final-progress-grid span{font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#8f9aa6!important}.bac-final-progress-grid strong{font-size:18px;color:#fff!important}.bac-final-progress-grid small{font-size:12px;line-height:1.4;color:#9fa9b4!important}
.bac-final-auto-list,.bac-final-manual-list{display:grid;gap:9px;margin:0 0 18px}
.bac-final-auto-item{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start;padding:13px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#0b0f13}
.bac-final-auto-item>b{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#4a2e0e;color:#ffd18c}.bac-final-auto-item.is-ok>b{background:#163b27;color:#8ff0b0}
.bac-final-auto-item span{display:grid;gap:3px}.bac-final-auto-item strong{color:#fff!important;font-size:14px}.bac-final-auto-item small{color:#aeb6bf!important;font-size:12px;line-height:1.45}
.bac-final-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.bac-final-shortcuts a{padding:10px 12px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:rgba(255,255,255,.035);color:#eef2f6!important;text-decoration:none!important;font-size:13px;font-weight:800}
.bac-final-manual-item{display:grid!important;grid-template-columns:28px 38px 1fr!important;gap:10px!important;align-items:start!important;margin:0!important;padding:14px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:15px!important;background:#0b0f13!important;cursor:pointer}
.bac-final-manual-item>input{width:23px!important;height:23px!important;min-width:23px!important;margin:5px 0 0!important;accent-color:#22c55e}
.bac-final-manual-icon{font-size:25px;line-height:1.2}.bac-final-manual-item>span:last-child{display:grid;gap:4px}.bac-final-manual-item strong{color:#fff!important;font-size:15px}.bac-final-manual-item small{color:#aeb6bf!important;font-size:13px;line-height:1.5}
.bac-final-manual-item:has(input:checked){border-color:rgba(74,222,128,.30)!important;background:linear-gradient(145deg,rgba(22,59,39,.38),#0b0f13)!important}
.bac-final-last-save{margin:12px 0;color:#94a0ab!important;font-size:12px}.bac-final-last-save strong{color:#dce3ea!important}.bac-final-reset-form{margin-top:10px}
@media(max-width:760px){.bac-final-progress-grid{grid-template-columns:1fr 1fr}.bac-final-state{grid-template-columns:48px 1fr;padding:15px}.bac-final-state-icon{width:46px;height:46px;font-size:20px}.bac-final-state strong{font-size:17px}}
@media(max-width:430px){.bac-final-progress-grid{grid-template-columns:1fr}.bac-final-manual-item{grid-template-columns:26px 34px 1fr!important;padding:12px!important}.bac-final-shortcuts{display:grid}.bac-final-shortcuts a{text-align:center}}


/* ===== BAC v1.26.1 – Fahrer-Fotoupload ===== */
.bac-photo-prepare-status{display:block;margin-top:9px;padding:10px 12px;border-radius:11px;background:rgba(26,190,90,.12);border:1px solid rgba(80,220,130,.24);color:#9ff0b9!important;font-style:normal;font-size:12px;line-height:1.4}
.bac-photo-prepare-status[hidden]{display:none!important}.bac-photo-prepare-status.is-error{background:rgba(225,55,55,.12);border-color:rgba(255,90,90,.28);color:#ffb3b3!important}
.bac-editor-submit:disabled{opacity:.55;cursor:wait!important}


/* ===== BAC v1.26.2 – Position beim Bearbeiten behalten + Fotofokus mit Zoom ===== */
.bac-team-focus-stage{
  background-image:none!important;
}
.bac-team-focus-preview-image{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  transform:scale(1);
  transform-origin:center center;
  transition:transform .08s linear,object-position .08s linear;
  pointer-events:none;
}
.bac-team-focus-empty{position:relative;z-index:2}
.bac-team-focus-grid,.bac-team-focus-target{z-index:3}
.bac-team-focus-zoom{
  display:grid;
  gap:8px;
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:13px;
  background:rgba(255,255,255,.035);
}
.bac-team-focus-zoom-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bac-team-focus-zoom-head strong{color:#fff!important;font-size:14px}
.bac-team-focus-zoom-head span{display:inline-flex;min-width:58px;justify-content:center;padding:5px 9px;border-radius:999px;background:var(--bac-accent,#e10600);color:#fff!important;font-weight:900;font-size:13px}
.bac-team-focus-zoom small{color:#aeb8c2!important;font-size:12px;line-height:1.45}
.bac-team-focus-zoom input[type="range"]{
  width:100%;
  height:30px;
  margin:0;
  accent-color:var(--bac-accent,#e10600);
  cursor:pointer;
}
.bac-team-focus-zoom input[type="range"]::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:rgba(255,255,255,.22)}
.bac-team-focus-zoom input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-8px;border-radius:50%;border:3px solid #fff;background:var(--bac-accent,#e10600);box-shadow:0 3px 12px rgba(0,0,0,.45)}
.bac-team-focus-zoom input[type="range"]::-moz-range-track{height:8px;border-radius:999px;background:rgba(255,255,255,.22)}
.bac-team-focus-zoom input[type="range"]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;border:3px solid #fff;background:var(--bac-accent,#e10600);box-shadow:0 3px 12px rgba(0,0,0,.45)}

.bac-person-image-photo{position:relative;overflow:hidden;background:#0a0d10}
.bac-person-image-img{display:block;width:100%;height:100%;object-fit:cover;transform-origin:center center}
.bac-editor-member-photo img{transform-origin:center center}
.bac-editor-member-photo-current{overflow:hidden}
.bac-editor-member-photo-current img{transform-origin:center center}
.bac-driver-photo{transform-origin:center center}
/* Der gespeicherte Zoom hat Vorrang vor dem alten Hover-Zoom. */
.bac-driver-card:hover .bac-driver-photo{filter:brightness(1.035)}

/* ===== BAC v1.28 – Fotoformat Vorstand = Fahrer, 100% = komplettes Bild ===== */
.bac-team-grid .bac-person-image,
.bac-driver-photo-wrap{
  position:relative!important;
  overflow:hidden!important;
  aspect-ratio:4/5!important;
  background:#0a0d10;
}
.bac-person-image-img,
.bac-driver-photo[data-bac-photo-fit="1"]{
  position:absolute!important;
  display:block!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:fill!important;
  object-position:center!important;
  transform:none!important;
  transform-origin:0 0!important;
  transition:none!important;
}
.bac-driver-card:hover .bac-driver-photo[data-bac-photo-fit="1"]{
  transform:none!important;
}
.bac-team-focus-stage{
  aspect-ratio:4/5!important;
  background-image:none!important;
}
.bac-team-focus-preview-image{
  position:absolute!important;
  display:block!important;
  right:auto!important;
  bottom:auto!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:fill!important;
  object-position:center!important;
  transform:none!important;
  transform-origin:0 0!important;
  transition:none!important;
  pointer-events:none!important;
}
@media(max-width:700px){
  .bac-team-grid .bac-person-image,
  .bac-driver-photo-wrap,
  .bac-team-focus-stage{
    aspect-ratio:4/4.7!important;
  }
}

/* ===== BAC v1.30 – Seitenbilder & Desktop-Fotolayout ===== */
.bac-photo-kartslalom,
.bac-photo-training{
  background-position:var(--bac-photo-desktop-pos,center)!important;
}

@media(min-width:901px){
  .bac-kartslalom-page>.bac-photo-band,
  .bac-training-page>.bac-photo-band{
    width:min(1180px,calc(100% - 64px));
    min-height:0!important;
    aspect-ratio:16/6.7;
    margin:44px auto 0;
    border:1px solid rgba(255,255,255,.12);
    border-radius:24px;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
    background-size:cover!important;
  }
}

@media(max-width:900px){
  .bac-photo-kartslalom,
  .bac-photo-training{
    background-position:var(--bac-photo-mobile-pos,center)!important;
  }
}

.bac-page-images-form{gap:22px}
.bac-page-image-admin{display:grid;gap:16px;padding:18px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:rgba(255,255,255,.025)}
.bac-page-image-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.bac-page-image-admin-head h3{margin:5px 0 4px;color:#fff;font-size:1.35rem}
.bac-page-image-admin-head p{margin:0;color:#aeb8c2;font-size:13px;line-height:1.5}
.bac-page-image-previews{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(220px,.8fr);gap:16px}
.bac-page-image-preview-col{display:grid;gap:10px;padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:#0b0f13}
.bac-page-image-preview-col>strong{color:#fff}
.bac-page-image-preview-col label{display:grid;gap:5px}
.bac-page-image-preview-col label>span{display:flex;justify-content:space-between;gap:10px;color:#d9dfe6;font-size:12px}
.bac-page-image-preview-col input[type=range]{width:100%;accent-color:var(--bac-accent,#e10600)}
.bac-page-image-preview{width:100%;background-color:#080b0f;background-size:cover;background-repeat:no-repeat;border:1px solid rgba(255,255,255,.10);border-radius:13px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.bac-page-image-preview-desktop{aspect-ratio:16/6.7}
.bac-page-image-preview-mobile{aspect-ratio:4/3}
.bac-page-image-home-note{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:15px;border:1px solid rgba(225,6,0,.25);border-radius:15px;background:rgba(225,6,0,.06)}
.bac-page-image-home-note strong{color:#fff}.bac-page-image-home-note span{flex:1 1 340px;color:#aeb8c2;font-size:13px}

@media(max-width:760px){
  .bac-page-image-admin{padding:14px}
  .bac-page-image-admin-head{display:grid}
  .bac-page-image-previews{grid-template-columns:1fr}
  .bac-page-image-preview-mobile{aspect-ratio:4/3}
}


/* ===== BAC v1.30.1 – Probetraining Desktop-Formular ===== */
.bac-join-trial .bac-form,
.bac-join-trial .bac-form *{
  box-sizing:border-box;
}

.bac-join-trial .bac-check{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr);
  align-items:start;
  gap:10px;
  line-height:1.55;
}
.bac-join-trial .bac-check input[type="checkbox"]{
  width:16px;
  height:16px;
  margin:3px 0 0;
}
.bac-join-trial .bac-check>span{
  display:block;
  min-width:0;
  color:#e9edf2;
  font-weight:500;
}
.bac-join-trial .bac-check a{
  display:inline;
  color:#fff!important;
  font-weight:800;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

@media (min-width:1050px){
  .bac-join-trial .bac-shell.bac-split{
    grid-template-columns:minmax(0,1fr) minmax(520px,560px)!important;
    gap:60px!important;
    align-items:start!important;
  }
  .bac-join-trial .bac-form{
    width:100%;
    max-width:none;
    padding:32px!important;
    border-radius:20px;
  }
  .bac-join-trial .bac-form-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }
  .bac-join-trial .bac-form label{
    min-width:0;
    font-size:.88rem;
    line-height:1.38;
  }
  .bac-join-trial .bac-form input:not([type=checkbox]),
  .bac-join-trial .bac-form textarea{
    width:100%;
  }
  .bac-join-trial .bac-form textarea{
    min-height:150px;
    resize:vertical;
  }
  .bac-join-trial .bac-btn[type="submit"]{
    min-width:250px;
    justify-content:center;
  }
}

@media (min-width:701px) and (max-width:1049px){
  .bac-join-trial .bac-shell.bac-split{
    grid-template-columns:1fr!important;
    gap:34px!important;
  }
  .bac-join-trial .bac-form{
    width:100%;
    max-width:720px;
  }
}

/* ===== BAC v1.31 – Desktop-Finish & erweiterte Seitenbilder ===== */
.bac-photo-technik,
.bac-photo-join,
.bac-photo-contact,
.bac-managed-photo-band{
  background-position:var(--bac-photo-desktop-pos,center)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

@media(min-width:901px){
  .bac-technik-page>.bac-managed-photo-band,
  .bac-join-page>.bac-managed-photo-band,
  .bac-contact-page>.bac-managed-photo-band{
    width:min(1180px,calc(100% - 64px));
    min-height:0!important;
    aspect-ratio:16/6.7;
    margin:44px auto 0;
    border:1px solid rgba(255,255,255,.12);
    border-radius:24px;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
    background-size:cover!important;
  }

  /* Ruhigeres Desktop-Raster für bildstarke Karten */
  .bac-team-grid,
  .bac-driver-grid{
    gap:20px!important;
  }

  .bac-team-grid .bac-person-card,
  .bac-driver-grid .bac-driver-card{
    border-radius:18px;
    overflow:hidden;
  }

  .bac-team-grid .bac-person-body,
  .bac-driver-grid .bac-driver-body{
    padding:22px!important;
  }

  .bac-team-grid .bac-person-image,
  .bac-driver-grid .bac-driver-photo-wrap{
    aspect-ratio:4/5!important;
    background:#0a0d10;
  }

  /* Große Inhaltsbilder bleiben im selben Seitenraster wie die Texte */
  .bac-kart-info-list,
  .bac-parcours-grid,
  .bac-gallery-grid{
    max-width:1180px;
    margin-left:auto;
    margin-right:auto;
  }
}

@media(max-width:900px){
  .bac-photo-technik,
  .bac-photo-join,
  .bac-photo-contact,
  .bac-managed-photo-band{
    background-position:var(--bac-photo-mobile-pos,center)!important;
  }
}

@media(max-width:767px){
  .bac-technik-page>.bac-managed-photo-band,
  .bac-join-page>.bac-managed-photo-band,
  .bac-contact-page>.bac-managed-photo-band{
    min-height:300px;
    margin-top:0;
    border-radius:0;
  }
}


/* ===== BAC v1.32 – Hauptmenü-Verwaltung ===== */
.bac-main-menu-visible{display:inline-flex!important;align-items:center;gap:7px;margin-top:3px!important;color:#aeb6bf!important;font-size:12px!important;font-weight:700!important;cursor:pointer}
.bac-main-menu-visible input{width:18px!important;height:18px!important;margin:0!important;accent-color:var(--bac-accent,#e10600)}
.bac-main-menu-item .bac-tile-order-icon{font-size:20px;font-weight:900}
@media(max-width:600px){.bac-main-menu-item{grid-template-columns:42px minmax(0,1fr) auto!important}.bac-main-menu-visible{font-size:12px!important}}


/* ===== BAC v1.32.1 – Seitenbilder wie Startseite ===== */
.bac-photo-band,
.bac-managed-photo-band{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-color:#080a0d;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

.bac-photo-band::before,
.bac-managed-photo-band::before{
  content:"";
  position:absolute;
  inset:-2%;
  background:inherit;
  background-position:inherit;
  background-size:cover!important;
  transform:scale(1.02);
  filter:saturate(1.1) contrast(1.06) brightness(1.02);
  z-index:-2;
}

.bac-photo-band::after,
.bac-managed-photo-band::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 18%,rgba(225,6,0,.24),transparent 30%),
    linear-gradient(180deg,rgba(6,8,10,.02) 0%,rgba(6,8,10,.10) 46%,rgba(6,8,10,.34) 100%),
    linear-gradient(135deg,rgba(255,255,255,.06),transparent 40%);
  pointer-events:none;
  z-index:-1;
}

@media(min-width:901px){
  .bac-kartslalom-page>.bac-photo-band,
  .bac-training-page>.bac-photo-band,
  .bac-technik-page>.bac-managed-photo-band,
  .bac-join-page>.bac-managed-photo-band,
  .bac-contact-page>.bac-managed-photo-band{
    width:min(1240px,calc(100% - 56px));
    min-height:0!important;
    aspect-ratio:16/7.2;
    margin:34px auto 0;
    border:1px solid rgba(255,255,255,.10);
    border-radius:26px;
    box-shadow:
      0 24px 56px rgba(0,0,0,.38),
      0 0 0 1px rgba(255,255,255,.04);
    background-position:var(--bac-photo-desktop-pos,center)!important;
  }
}

@media(max-width:900px){
  .bac-kartslalom-page>.bac-photo-band,
  .bac-training-page>.bac-photo-band,
  .bac-technik-page>.bac-managed-photo-band,
  .bac-join-page>.bac-managed-photo-band,
  .bac-contact-page>.bac-managed-photo-band{
    width:calc(100% - 28px);
    min-height:250px;
    aspect-ratio:4/3;
    margin:8px auto 0;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    box-shadow:
      0 24px 56px rgba(0,0,0,.38),
      0 0 0 1px rgba(255,255,255,.06);
    background-position:var(--bac-photo-mobile-pos,center)!important;
  }
}

@media(max-width:390px){
  .bac-kartslalom-page>.bac-photo-band,
  .bac-training-page>.bac-photo-band,
  .bac-technik-page>.bac-managed-photo-band,
  .bac-join-page>.bac-managed-photo-band,
  .bac-contact-page>.bac-managed-photo-band{
    min-height:220px;
  }
}


/* ===== BAC v1.32.2 – /intern Desktop-Optimierung + Bildstil ===== */
@media (min-width: 1100px){
  .bac-editor-wrap{
    max-width: 1280px;
    padding: 34px 28px 86px;
  }

  .bac-editor-hero{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) auto;
    align-items:end;
    gap:24px;
    margin-bottom:32px;
    text-align:left;
  }

  .bac-editor-hero p{
    max-width: 780px;
    margin: 0;
  }

  .bac-editor-userbar{
    padding:16px 18px;
    border-radius:16px;
  }

  .bac-editor-card{
    padding:30px;
    border-radius:24px;
  }

  .bac-editor-actions{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }

  .bac-editor-action{
    min-height:210px;
    padding:26px;
  }

  .bac-editor-action strong{
    font-size:26px;
  }

  .bac-editor-tip{
    font-size:15px;
    padding:18px 20px;
  }

  .bac-editor-form{
    gap:18px;
  }

  .bac-editor-fields-2{
    gap:18px;
  }

  .bac-editor-current-media{
    grid-template-columns:120px minmax(0,1fr);
    gap:16px;
    padding:14px;
  }

  .bac-editor-current-media img{
    width:120px;
    height:84px;
  }

  .bac-editor-content-list,
  .bac-editor-gallery-admin-list,
  .bac-tile-order-list{
    gap:14px;
  }

  .bac-editor-gallery-admin-item,
  .bac-editor-content-item,
  .bac-tile-order-item{
    padding:16px;
    border-radius:18px;
  }

  .bac-editor-gallery-photo-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
  }

  .bac-page-images-form{
    gap:26px;
  }

  .bac-page-image-admin{
    padding:22px;
    border-radius:20px;
  }

  .bac-page-image-previews{
    grid-template-columns:minmax(0,1.4fr) minmax(280px,.92fr);
    gap:18px;
  }
}

/* Bildstil der Reiter-Bilder: stärkerer Verlauf von links nach rechts wie auf der Startseite */
.bac-photo-band,
.bac-managed-photo-band{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-color:#080a0d;
}

.bac-photo-band::before,
.bac-managed-photo-band::before{
  content:"";
  position:absolute;
  inset:-1.5%;
  background:inherit;
  background-position:inherit;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  transform:scale(1.018);
  filter:saturate(1.08) contrast(1.04) brightness(1.01);
  z-index:-2;
}

.bac-photo-band::after,
.bac-managed-photo-band::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(5,7,9,.84) 0%,
      rgba(5,7,9,.72) 18%,
      rgba(5,7,9,.48) 38%,
      rgba(5,7,9,.22) 62%,
      rgba(5,7,9,.08) 82%,
      rgba(5,7,9,.02) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,.05) 0%,
      rgba(255,255,255,0) 34%,
      rgba(6,8,10,.18) 100%);
  pointer-events:none;
  z-index:-1;
}

@media (max-width: 900px){
  .bac-photo-band::after,
  .bac-managed-photo-band::after{
    background:
      linear-gradient(180deg,
        rgba(5,7,9,.12) 0%,
        rgba(5,7,9,.08) 28%,
        rgba(5,7,9,.26) 72%,
        rgba(5,7,9,.42) 100%),
      linear-gradient(90deg,
        rgba(5,7,9,.48) 0%,
        rgba(5,7,9,.18) 42%,
        rgba(5,7,9,.04) 100%);
  }
}


/* ===== BAC v1.32.3 – Schrift in den Reiter-Bildern ===== */
.bac-photo-band,
.bac-managed-photo-band{
  display:flex;
  align-items:flex-end;
}

.bac-photo-band-inner{
  width:100%;
  position:relative;
  z-index:2;
  padding:34px 0 34px;
}

.bac-photo-band-copy{
  max-width:min(720px,78%);
  color:#fff;
}

.bac-photo-band-copy .bac-photo-band-eyebrow,
.bac-photo-band-copy .bac-eyebrow{
  display:inline-flex;
  margin-bottom:14px;
}

.bac-photo-band-copy h1{
  margin:0;
  color:#fff !important;
  font-size:clamp(2.35rem,4.6vw,4.7rem);
  line-height:.94;
  letter-spacing:-.04em;
  text-transform:uppercase;
  text-wrap:balance;
  text-shadow:0 10px 30px rgba(0,0,0,.35);
}

.bac-photo-band-copy p{
  margin:16px 0 0;
  max-width:58ch;
  color:rgba(255,255,255,.88);
  font-size:1.06rem;
  line-height:1.6;
  text-shadow:0 6px 18px rgba(0,0,0,.28);
}

@media (min-width: 901px){
  .bac-kartslalom-page > .bac-page-hero,
  .bac-training-page > .bac-page-hero,
  .bac-technik-page > .bac-page-hero,
  .bac-join-page > .bac-page-hero,
  .bac-contact-page > .bac-page-hero{
    display:none;
  }

  .bac-kartslalom-page > .bac-photo-band,
  .bac-training-page > .bac-photo-band,
  .bac-technik-page > .bac-managed-photo-band,
  .bac-join-page > .bac-managed-photo-band,
  .bac-contact-page > .bac-managed-photo-band{
    min-height:430px;
  }
}

@media (max-width: 900px){
  .bac-kartslalom-page > .bac-page-hero,
  .bac-training-page > .bac-page-hero,
  .bac-technik-page > .bac-page-hero,
  .bac-join-page > .bac-page-hero,
  .bac-contact-page > .bac-page-hero{
    display:none;
  }

  .bac-photo-band-inner{
    padding:22px 0 22px;
  }

  .bac-photo-band-copy{
    max-width:100%;
  }

  .bac-photo-band-copy h1{
    font-size:clamp(2rem,10.5vw,3.5rem);
    line-height:.92;
  }

  .bac-photo-band-copy p{
    margin-top:12px;
    font-size:.97rem;
    line-height:1.52;
    max-width:34ch;
  }
}


/* ===== BAC v1.32.4 – Einzelne Newsbeiträge sauber auf PC & Smartphone ===== */
body.bac-jugend-site.single-post{
  overflow-x:hidden;
}

body.bac-jugend-site.single-post .site-main,
body.bac-jugend-site.single-post .content-area,
body.bac-jugend-site.single-post .site-container,
body.bac-jugend-site.single-post .content-container{
  min-width:0;
}

body.bac-jugend-site.single-post article.entry,
body.bac-jugend-site.single-post .single-entry{
  max-width:1080px;
  margin-left:auto;
  margin-right:auto;
}

body.bac-jugend-site.single-post .entry-content-wrap,
body.bac-jugend-site.single-post .entry-content{
  min-width:0;
  overflow-wrap:anywhere;
}

/* Jedes Bild bleibt innerhalb des verfügbaren Inhaltsbereichs. */
body.bac-jugend-site.single-post .entry-content img,
body.bac-jugend-site.single-post .post-thumbnail img,
body.bac-jugend-site.single-post .post-thumbnail-inner img,
body.bac-jugend-site.single-post figure img,
body.bac-jugend-site.single-post .wp-block-image img{
  display:block;
  width:auto;
  max-width:100%!important;
  height:auto!important;
  margin-left:auto;
  margin-right:auto;
  object-fit:contain;
}

body.bac-jugend-site.single-post .entry-content figure,
body.bac-jugend-site.single-post .wp-block-image,
body.bac-jugend-site.single-post .wp-block-gallery{
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

body.bac-jugend-site.single-post .entry-content .alignwide,
body.bac-jugend-site.single-post .entry-content .alignfull{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Alte WordPress-Kommentare gehören nicht auf die BAC-Newsseiten. */
body.bac-jugend-site.single-post .comments-area,
body.bac-jugend-site.single-post #comments,
body.bac-jugend-site.single-post .comment-respond,
body.bac-jugend-site.single-post #respond{
  display:none!important;
}

@media (min-width:768px){
  body.bac-jugend-site.single-post .entry-content-wrap{
    padding:34px 40px 44px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    background:#0d1116;
    box-shadow:0 24px 70px rgba(0,0,0,.24);
  }

  body.bac-jugend-site.single-post .entry-content{
    font-size:1.05rem;
    line-height:1.75;
  }

  body.bac-jugend-site.single-post .entry-content img{
    border-radius:20px;
  }
}

@media (max-width:767px){
  body.bac-jugend-site.single-post .content-area,
  body.bac-jugend-site.single-post .site-main,
  body.bac-jugend-site.single-post article.entry,
  body.bac-jugend-site.single-post .single-entry{
    width:100%!important;
    max-width:100%!important;
  }

  body.bac-jugend-site.single-post .entry-content-wrap{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin:18px auto 36px!important;
    padding:18px!important;
    box-sizing:border-box!important;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    background:#0d1116;
  }

  body.bac-jugend-site.single-post .entry-content{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    font-size:1rem;
    line-height:1.65;
  }

  body.bac-jugend-site.single-post .entry-content p,
  body.bac-jugend-site.single-post .entry-content h1,
  body.bac-jugend-site.single-post .entry-content h2,
  body.bac-jugend-site.single-post .entry-content h3,
  body.bac-jugend-site.single-post .entry-content h4{
    max-width:100%;
  }

  body.bac-jugend-site.single-post .entry-content img,
  body.bac-jugend-site.single-post .post-thumbnail img,
  body.bac-jugend-site.single-post figure img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    border-radius:16px;
  }

  body.bac-jugend-site.single-post .entry-content > *:first-child{
    margin-top:0;
  }

  body.bac-jugend-site.single-post .entry-content > *:last-child{
    margin-bottom:0;
  }
}


/* ===== v1.32.5 – Newsbilder auf Startseite/News sauberer auf Desktop & Smartphone ===== */
.bac-news-featured-card.has-image{
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  min-height:360px;
}
.bac-news-featured-card.has-image .bac-news-featured-media{
  min-height:360px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center center;
  background-color:#090d12;
}
.bac-news-featured-card.has-image .bac-news-featured-content{
  padding:34px 36px;
}
.bac-news-featured-card.has-image .bac-news-featured-content h2{
  font-size:clamp(1.9rem,3.2vw,3rem);
}
.bac-news-featured-card.has-image .bac-news-featured-content p{
  max-width:42ch;
}

@media(max-width:980px){
  .bac-news-featured-card.has-image{
    grid-template-columns:1fr;
    min-height:0;
  }
  .bac-news-featured-card.has-image .bac-news-featured-media{
    min-height:0;
    aspect-ratio:16/10;
    background-size:contain;
    background-position:center center;
  }
}

@media(max-width:680px){
  .bac-news-featured-card.has-image .bac-news-featured-media{
    aspect-ratio:5/4;
    background-size:contain;
    background-position:center center;
  }
  .bac-news-featured-card.has-image .bac-news-featured-content{
    padding:22px 18px 24px;
  }
  .bac-news-featured-card.has-image .bac-news-featured-content h2{
    font-size:clamp(1.6rem,8vw,2.4rem);
    line-height:1.02;
  }
  .bac-news-featured-card.has-image .bac-news-featured-content p{
    font-size:.98rem;
    line-height:1.58;
  }
  .bac-news-featured-card.has-image .bac-btn{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}


/* ===== v1.32.6 – News-Detail & Newsbilder kompakter und besser lesbar ===== */
/* News-Karten / Startseite / News-Übersicht */
.bac-news-featured-card.has-image{
  align-items:stretch;
  grid-template-columns:minmax(0,1fr) minmax(340px,.92fr);
  min-height:clamp(320px,38vw,460px);
}

.bac-news-featured-card.has-image .bac-news-featured-media{
  min-height:clamp(320px,38vw,460px);
  aspect-ratio:auto;
  background-size:contain!important;
  background-repeat:no-repeat;
  background-position:center center;
  background-color:#090d12;
}

.bac-news-featured-card.has-image .bac-news-featured-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  padding:30px 32px;
}

.bac-news-featured-card.has-image .bac-news-featured-content h2{
  margin:0;
  line-height:.95;
  font-size:clamp(2rem,2.8vw,3.15rem);
}

.bac-news-featured-card.has-image .bac-news-featured-content p{
  margin:0;
  max-width:38ch;
  font-size:1.02rem;
  line-height:1.7;
}

/* Einzelner Newsbeitrag */
body.bac-jugend-site.single-post article.entry,
body.bac-jugend-site.single-post .single-entry{
  max-width:1000px;
}

body.bac-jugend-site.single-post .post-thumbnail,
body.bac-jugend-site.single-post .post-thumbnail-inner,
body.bac-jugend-site.single-post .entry-content > .wp-block-image:first-child,
body.bac-jugend-site.single-post .entry-content > figure:first-child{
  width:100%;
  max-width:900px;
  margin:0 auto 22px!important;
}

body.bac-jugend-site.single-post .post-thumbnail img,
body.bac-jugend-site.single-post .post-thumbnail-inner img,
body.bac-jugend-site.single-post .entry-content > .wp-block-image:first-child img,
body.bac-jugend-site.single-post .entry-content > figure:first-child img{
  width:100%!important;
  max-width:100%!important;
  max-height:clamp(260px,42vw,500px)!important;
  height:auto!important;
  object-fit:contain;
  object-position:center center;
  border-radius:22px;
  background:#090d12;
}

body.bac-jugend-site.single-post .entry-content > *:not(.wp-block-image):not(figure):not(.wp-block-gallery):not(.blocks-gallery-grid){
  max-width:72ch;
  margin-left:auto;
  margin-right:auto;
}

body.bac-jugend-site.single-post .entry-content p{
  font-size:1.06rem;
  line-height:1.8;
}

body.bac-jugend-site.single-post .entry-content h1,
body.bac-jugend-site.single-post .entry-content h2,
body.bac-jugend-site.single-post .entry-content h3{
  line-height:1.06;
}

@media (max-width:980px){
  .bac-news-featured-card.has-image{
    grid-template-columns:1fr;
    min-height:0;
  }

  .bac-news-featured-card.has-image .bac-news-featured-media{
    min-height:0;
    aspect-ratio:4/3;
    background-size:contain!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content{
    padding:22px 22px 26px;
  }

  body.bac-jugend-site.single-post .post-thumbnail img,
  body.bac-jugend-site.single-post .post-thumbnail-inner img,
  body.bac-jugend-site.single-post .entry-content > .wp-block-image:first-child img,
  body.bac-jugend-site.single-post .entry-content > figure:first-child img{
    max-height:360px!important;
  }
}

@media (max-width:680px){
  .bac-news-featured-card.has-image .bac-news-featured-media{
    aspect-ratio:5/4;
    background-size:contain!important;
    background-position:center center;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content{
    padding:18px 16px 22px;
    gap:14px;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content h2{
    font-size:clamp(1.7rem,8vw,2.55rem);
  }

  .bac-news-featured-card.has-image .bac-news-featured-content p{
    font-size:.98rem;
    line-height:1.62;
  }

  body.bac-jugend-site.single-post .post-thumbnail,
  body.bac-jugend-site.single-post .post-thumbnail-inner,
  body.bac-jugend-site.single-post .entry-content > .wp-block-image:first-child,
  body.bac-jugend-site.single-post .entry-content > figure:first-child{
    margin:0 auto 18px!important;
  }

  body.bac-jugend-site.single-post .post-thumbnail img,
  body.bac-jugend-site.single-post .post-thumbnail-inner img,
  body.bac-jugend-site.single-post .entry-content > .wp-block-image:first-child img,
  body.bac-jugend-site.single-post .entry-content > figure:first-child img{
    max-height:290px!important;
    border-radius:18px;
  }

  body.bac-jugend-site.single-post .entry-content p{
    font-size:1rem;
    line-height:1.68;
  }
}


/* ===== v1.32.7 – Sponsoren gesucht / Partner-CTA ===== */
.bac-sponsor-search-section{
  padding-top:18px;
}

.bac-sponsor-search-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
  gap:34px;
  align-items:center;
  padding:42px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:26px;
  background:
    radial-gradient(circle at 86% 12%,rgba(225,6,0,.23),transparent 31%),
    linear-gradient(145deg,#151a20 0%,#0b0f13 62%,#11161c 100%);
  box-shadow:0 28px 70px rgba(0,0,0,.26);
}

.bac-sponsor-search-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:var(--bac-accent,#e10600);
}

.bac-sponsor-search-copy{
  position:relative;
  z-index:1;
  max-width:720px;
}

.bac-sponsor-search-copy h2{
  margin:10px 0 16px;
  color:#fff!important;
  font-size:clamp(2rem,4vw,3.7rem);
  line-height:.98;
  letter-spacing:-.035em;
}

.bac-sponsor-search-copy p{
  margin:0 0 12px;
  color:#c0c8d1!important;
  font-size:1rem;
  line-height:1.72;
}

.bac-sponsor-search-copy .bac-sponsor-search-note{
  margin-top:18px;
  color:#939da8!important;
  font-size:.88rem;
}

.bac-sponsor-search-action{
  position:relative;
  z-index:1;
  display:grid;
  gap:11px;
  padding:26px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:rgba(5,8,11,.64);
}

.bac-sponsor-search-icon{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin-bottom:4px;
  border-radius:15px;
  background:var(--bac-accent,#e10600);
  color:#fff;
  font-size:25px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(225,6,0,.22);
}

.bac-sponsor-search-action strong{
  color:#fff!important;
  font-size:1.25rem;
  line-height:1.25;
}

.bac-sponsor-search-action small{
  color:#9da7b1!important;
  font-size:.86rem;
  line-height:1.55;
}

.bac-sponsor-mail-btn{
  margin-top:8px;
  width:100%;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
}

.bac-sponsor-mail-address{
  margin-top:2px;
  color:#fff!important;
  text-align:center;
  font-size:.86rem;
  font-weight:750;
  text-decoration:none!important;
  overflow-wrap:anywhere;
}

.bac-sponsor-mail-address:hover{
  color:var(--bac-accent,#e10600)!important;
}

@media(max-width:900px){
  .bac-sponsor-search-card{
    grid-template-columns:1fr;
    gap:22px;
    padding:30px;
  }
}

@media(max-width:600px){
  .bac-sponsor-search-section{
    padding-top:6px;
  }

  .bac-sponsor-search-card{
    gap:18px;
    padding:22px 18px;
    border-radius:20px;
  }

  .bac-sponsor-search-copy h2{
    font-size:clamp(1.85rem,10vw,2.7rem);
  }

  .bac-sponsor-search-copy p{
    font-size:.95rem;
    line-height:1.62;
  }

  .bac-sponsor-search-action{
    padding:20px 17px;
    border-radius:17px;
  }
}


/* ===== v1.32.8 – Newsfeed Desktop: Bild/Text ohne großen Leerraum ===== */
@media (min-width:981px){
  .bac-news-featured-card.has-image{
    grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr)!important;
    min-height:0!important;
    align-items:start!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-media{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:3 / 2!important;
    align-self:start!important;
    background-size:contain!important;
    background-repeat:no-repeat!important;
    background-position:center center!important;
    background-color:#090d12!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content{
    align-self:stretch!important;
    justify-content:center!important;
    min-height:0!important;
    padding:28px 32px!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content h2{
    margin:10px 0 12px!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content p{
    margin:0 0 22px!important;
  }
}


/* ===== BAC v1.32.9 – Newsfeed ohne Leerraum + eigene News-Detailseite ===== */
@media (min-width:981px){
  .bac-news-featured-wrap{
    max-width:980px;
    margin-left:auto;
    margin-right:auto;
  }

  .bac-news-featured-card.has-image{
    display:block!important;
    min-height:0!important;
    overflow:hidden;
  }

  .bac-news-featured-card.has-image .bac-news-featured-media{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/7.2!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content{
    display:block!important;
    min-height:0!important;
    padding:26px 30px 30px!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-meta{
    margin-bottom:10px!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content h2{
    margin:0 0 12px!important;
    font-size:clamp(2rem,3vw,3.1rem)!important;
  }

  .bac-news-featured-card.has-image .bac-news-featured-content p{
    max-width:66ch!important;
    margin:0 0 20px!important;
  }
}

/* Eigene News-Detailseite – unabhängig vom Theme-Layout */
.bac-news-single-page{
  padding:42px 0 78px;
  background:#080b0e;
}

.bac-news-single-shell{
  max-width:1040px;
}

.bac-news-single-card{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  background:#10151b;
  box-shadow:0 26px 70px rgba(0,0,0,.28);
}

.bac-news-single-media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-height:460px;
  padding:0;
  background:#090d12;
  overflow:hidden;
}

.bac-news-single-media img{
  display:block;
  width:100%;
  height:auto;
  max-height:460px;
  object-fit:contain;
  object-position:center;
}

.bac-news-single-header{
  padding:30px 38px 10px;
}

.bac-news-single-meta{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
  color:#aeb8c2;
  font-size:.86rem;
  font-weight:800;
}

.bac-news-single-header h1{
  margin:0;
  color:#fff!important;
  font-size:clamp(2.5rem,5vw,5rem);
  line-height:.94;
  letter-spacing:-.045em;
}

.bac-news-single-content{
  max-width:760px;
  padding:18px 38px 8px;
  color:#d3d9e0;
  font-size:1.08rem;
  line-height:1.8;
}

.bac-news-single-content p{
  margin:0 0 1.35em;
}

.bac-news-single-content img,
.bac-news-single-content figure,
.bac-news-single-content .wp-block-image{
  max-width:100%!important;
  height:auto!important;
}

.bac-news-single-back{
  padding:20px 38px 36px;
}

@media(max-width:767px){
  .bac-news-single-page{
    padding:18px 0 46px;
  }

  .bac-news-single-shell{
    width:calc(100% - 28px);
  }

  .bac-news-single-card{
    border-radius:20px;
  }

  .bac-news-single-media{
    max-height:300px;
  }

  .bac-news-single-media img{
    max-height:300px;
  }

  .bac-news-single-header{
    padding:22px 18px 8px;
  }

  .bac-news-single-header h1{
    font-size:clamp(2.2rem,12vw,3.6rem);
  }

  .bac-news-single-content{
    padding:14px 18px 4px;
    font-size:1rem;
    line-height:1.68;
  }

  .bac-news-single-back{
    padding:18px 18px 24px;
  }

  .bac-news-single-back .bac-btn{
    width:100%;
    justify-content:center;
  }
}

/* ===== BAC v1.33 – Hero-Bilder für alle Hauptreiter ===== */
.bac-team-page > .bac-managed-photo-band,
.bac-news-page > .bac-managed-photo-band,
.bac-gallery-page > .bac-managed-photo-band,
.bac-videos-page > .bac-managed-photo-band,
.bac-sponsors-page > .bac-managed-photo-band{
  background-position:var(--bac-photo-desktop-pos,center)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

@media(min-width:901px){
  .bac-team-page > .bac-managed-photo-band,
  .bac-news-page > .bac-managed-photo-band,
  .bac-gallery-page > .bac-managed-photo-band,
  .bac-videos-page > .bac-managed-photo-band,
  .bac-sponsors-page > .bac-managed-photo-band{
    width:min(1240px,calc(100% - 56px));
    min-height:430px!important;
    aspect-ratio:16/7.2;
    margin:34px auto 0;
    border:1px solid rgba(255,255,255,.10);
    border-radius:26px;
    box-shadow:0 24px 56px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.04);
  }
}

@media(max-width:900px){
  .bac-team-page > .bac-managed-photo-band,
  .bac-news-page > .bac-managed-photo-band,
  .bac-gallery-page > .bac-managed-photo-band,
  .bac-videos-page > .bac-managed-photo-band,
  .bac-sponsors-page > .bac-managed-photo-band{
    width:calc(100% - 28px);
    min-height:250px;
    aspect-ratio:4/3;
    margin:8px auto 0;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    box-shadow:0 24px 56px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.06);
    background-position:var(--bac-photo-mobile-pos,center)!important;
  }
}

@media(max-width:390px){
  .bac-team-page > .bac-managed-photo-band,
  .bac-news-page > .bac-managed-photo-band,
  .bac-gallery-page > .bac-managed-photo-band,
  .bac-videos-page > .bac-managed-photo-band,
  .bac-sponsors-page > .bac-managed-photo-band{
    min-height:220px;
  }
}


/* ===== BAC v1.33.1 – frei einstellbare Hero-Abdunkelung ===== */
.bac-photo-band::after,
.bac-managed-photo-band::after{
  background:var(--bac-photo-desktop-dark,linear-gradient(90deg,rgba(5,7,9,.84),rgba(5,7,9,0) 85%))!important;
}

.bac-page-image-preview{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.bac-page-image-preview::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:var(--bac-preview-dark,linear-gradient(90deg,rgba(5,7,9,.84),rgba(5,7,9,0) 85%));
}

.bac-page-image-control-group{
  display:grid;
  gap:10px;
  margin-top:4px;
  padding:12px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  background:rgba(255,255,255,.025);
}
.bac-page-image-control-title{
  color:#fff;
  font-size:11px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.bac-page-dark-controls{
  border-color:rgba(225,6,0,.22);
  background:linear-gradient(180deg,rgba(225,6,0,.055),rgba(255,255,255,.025));
}
.bac-page-dark-controls select{
  width:100%;
  min-height:42px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
  background:#080b0e;
  color:#fff;
}
.bac-page-dark-controls b,
.bac-page-image-control-group b{
  min-width:48px;
  text-align:right;
  color:#fff;
}

@media(max-width:900px){
  .bac-photo-band::after,
  .bac-managed-photo-band::after{
    background:var(--bac-photo-mobile-dark,linear-gradient(90deg,rgba(5,7,9,.64),rgba(5,7,9,0) 85%))!important;
  }
}

/* ===== BAC v1.34 – Startseitenbereiche frei anordnen ===== */
.bac-home{
  display:flex;
  flex-direction:column;
}
.bac-home>.bac-hero{order:0}
.bac-home>.bac-home-section{width:100%}
.bac-home-section-order-item .bac-main-menu-visible{margin-top:6px!important}
@media(min-width:1100px){
  .bac-home-section-order-item{grid-template-columns:54px minmax(0,1fr) auto}
}


/* ===== BAC v1.35 – Website-Vorschau in /intern ===== */
.bac-editor-action-preview{border-color:rgba(92,184,255,.28)!important;background:linear-gradient(145deg,rgba(20,52,73,.68),#101419)!important}
.bac-preview-admin-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;padding:18px;border:1px solid rgba(255,255,255,.10);border-radius:17px;background:rgba(255,255,255,.03)}
.bac-preview-admin-head strong{display:block;margin-bottom:5px;color:#fff!important;font-size:18px}
.bac-preview-admin-head p{margin:0;color:#aeb8c2;font-size:13px;line-height:1.5;max-width:680px}
.bac-preview-open-home{display:inline-flex;align-items:center;justify-content:center;min-width:180px;text-decoration:none!important;white-space:nowrap}
.bac-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bac-preview-card{display:grid;grid-template-columns:54px minmax(0,1fr) 30px;align-items:center;gap:14px;min-height:98px;padding:15px 16px;border:1px solid rgba(255,255,255,.10);border-radius:17px;background:#0b0f13;color:#fff!important;text-decoration:none!important;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.bac-preview-card:hover{transform:translateY(-2px);border-color:rgba(92,184,255,.65);background:#10161c}
.bac-preview-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:rgba(255,255,255,.06);font-size:27px}
.bac-preview-main{display:grid;gap:4px;min-width:0}
.bac-preview-main strong{color:#fff!important;font-size:16px;line-height:1.2}
.bac-preview-main small{color:#9fa8b2!important;font-size:12px;line-height:1.35}
.bac-preview-meta{display:flex;align-items:center;gap:7px;margin-top:3px;color:#c4ccd5!important;font-size:11px;font-weight:750}
.bac-preview-meta i{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.10)}
.bac-preview-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.06);color:#fff;font-size:17px;font-weight:900}
.bac-preview-tip{margin-top:18px}
@media(min-width:1180px){.bac-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bac-preview-admin-card{padding:32px!important}}
@media(max-width:700px){.bac-preview-admin-head{display:grid;padding:15px}.bac-preview-open-home{width:100%;box-sizing:border-box}.bac-preview-grid{grid-template-columns:1fr}.bac-preview-card{grid-template-columns:48px minmax(0,1fr) 28px;min-height:88px;padding:13px}.bac-preview-icon{width:48px;height:48px;font-size:24px}}


/* ===== BAC v1.36 – wichtiger UX-/Livegang-Feinschliff ===== */

/* Header / Navigation */
body.bac-jugend-site #masthead{
  box-shadow:0 8px 28px rgba(0,0,0,.18);
}

body.bac-jugend-site #masthead .main-navigation a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding-left:10px;
  padding-right:10px;
  border-radius:10px;
  transition:color .18s ease,background .18s ease,transform .18s ease;
}

body.bac-jugend-site #masthead .main-navigation a:hover{
  background:rgba(255,255,255,.055);
}

body.bac-jugend-site #masthead .current-menu-item>a,
body.bac-jugend-site #masthead .current-menu-ancestor>a,
body.bac-jugend-site #masthead a[aria-current="page"]{
  color:#fff!important;
  background:rgba(225,6,0,.12);
}

body.bac-jugend-site #masthead .current-menu-item>a::after,
body.bac-jugend-site #masthead .current-menu-ancestor>a::after,
body.bac-jugend-site #masthead a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:11px;
  right:11px;
  bottom:4px;
  height:2px;
  border-radius:999px;
  background:var(--bac-accent,#e10600);
}

/* bessere Ankerposition unter dem Sticky Header */
[id]{scroll-margin-top:105px}

/* Typografie / Lesbarkeit */
.bac-section-head h2,
.bac-section h2,
.bac-photo-band-copy h1,
.bac-news-featured-content h2,
.bac-contact-card h2,
.bac-join-info-card h2{
  text-wrap:balance;
}

.bac-section-head p,
.bac-photo-band-copy p,
.bac-news-featured-content p,
.bac-content-body p,
.bac-contact-card p,
.bac-join-info-card p{
  text-wrap:pretty;
}

.bac-section-head{
  margin-bottom:38px;
}

.bac-section-head p{
  max-width:68ch;
}

/* Buttons: konsistenter, klarer Fokus */
.bac-btn,
.bac-editor-submit,
.bac-editor-mini-btn,
.bac-editor-secondary{
  -webkit-tap-highlight-color:transparent;
}

.bac-btn:hover{
  box-shadow:0 10px 28px rgba(0,0,0,.20);
}

.bac-btn-primary:hover{
  filter:brightness(1.08);
  box-shadow:0 12px 32px rgba(225,6,0,.22);
}

body.bac-jugend-site a:focus-visible,
body.bac-jugend-site button:focus-visible,
body.bac-jugend-site input:focus-visible,
body.bac-jugend-site textarea:focus-visible,
body.bac-jugend-site select:focus-visible{
  outline:3px solid rgba(255,255,255,.92)!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 5px rgba(225,6,0,.38)!important;
}

/* Formulare */
.bac-form{
  box-shadow:0 18px 46px rgba(0,0,0,.16);
}

.bac-form input:not([type=checkbox]),
.bac-form textarea,
.bac-form select{
  box-sizing:border-box;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.bac-form input:not([type=checkbox]):hover,
.bac-form textarea:hover,
.bac-form select:hover{
  border-color:rgba(255,255,255,.24);
}

.bac-form input:not([type=checkbox]):focus,
.bac-form textarea:focus,
.bac-form select:focus{
  border-color:var(--bac-accent,#e10600);
  background:#0c1015;
  outline:none;
  box-shadow:0 0 0 3px rgba(225,6,0,.13);
}

.bac-form input::placeholder,
.bac-form textarea::placeholder{
  color:#7f8994;
  opacity:1;
}

.bac-form-msg{
  border:1px solid rgba(255,255,255,.10);
  line-height:1.5;
  font-weight:750;
}

/* Karten: gleiche visuelle Ruhe */
.bac-news-featured-card,
.bac-news-compact-card,
.bac-person-card,
.bac-driver-card,
.bac-content-card,
.bac-video-card,
.bac-gallery-teaser-card,
.bac-contact-card,
.bac-join-info-card{
  box-shadow:0 16px 42px rgba(0,0,0,.14);
}

.bac-news-compact-card:hover,
.bac-person-card:hover,
.bac-driver-card:hover,
.bac-content-card:hover,
.bac-video-card:hover,
.bac-gallery-teaser-card:hover,
.bac-contact-card:hover,
.bac-join-info-card:hover{
  border-color:rgba(255,255,255,.20);
}

/* Footer */
.bac-custom-footer{
  position:relative;
}

.bac-custom-footer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(225,6,0,.65),transparent);
  pointer-events:none;
}

.bac-footer-grid a{
  width:max-content;
  max-width:100%;
  line-height:1.45;
}

/* Desktop: etwas dichter, damit weniger unnötige Leerflächen entstehen */
@media (min-width:1100px){
  .bac-section{
    padding-top:88px;
    padding-bottom:88px;
  }

  .bac-section-head{
    margin-bottom:34px;
  }

  .bac-news-more-grid,
  .bac-gallery-teaser-grid,
  .bac-card-grid{
    gap:20px;
  }

  body.bac-jugend-site #masthead .main-navigation a{
    font-size:.86rem;
  }
}

/* Tablet: Navigation und Content nicht gequetscht */
@media (min-width:701px) and (max-width:1099px){
  .bac-section{
    padding-top:78px;
    padding-bottom:78px;
  }

  .bac-section-head{
    margin-bottom:30px;
  }
}

/* Smartphone: keine Änderung am Grundlayout, nur bessere Bedienbarkeit */
@media (max-width:700px){
  [id]{scroll-margin-top:78px}

  .bac-btn,
  .bac-editor-mini-btn{
    min-height:48px;
  }

  .bac-form label{
    line-height:1.4;
  }

  .bac-footer-grid a{
    min-height:30px;
    display:inline-flex;
    align-items:center;
  }
}

/* Nutzerwunsch „Bewegung reduzieren“ respektieren */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}


/* ===== BAC v1.37 – Besucherführung & Unterseiten-Finish ===== */
.bac-next-step-section{
  padding-top:0!important;
  background:transparent;
}
.bac-next-step-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
  padding:34px 38px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  background:linear-gradient(120deg,rgba(225,6,0,.13),rgba(255,255,255,.035) 46%,rgba(255,255,255,.02));
  box-shadow:0 20px 55px rgba(0,0,0,.17);
  overflow:hidden;
  position:relative;
}
.bac-next-step-card::after{
  content:"";
  position:absolute;
  right:-75px;
  top:-105px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(225,6,0,.09);
  filter:blur(4px);
  pointer-events:none;
}
.bac-next-step-copy{position:relative;z-index:1;max-width:720px}
.bac-next-step-copy h2{margin:7px 0 9px;color:#fff;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.02}
.bac-next-step-copy p{margin:0;max-width:62ch;color:var(--bac-muted);font-size:.98rem;line-height:1.65}
.bac-next-step-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:11px}

/* News-Einzelansicht: nach dem Beitrag sinnvoll weiterführen */
.bac-news-related{margin:44px 0 8px}
.bac-news-related-head{margin-bottom:20px}
.bac-news-related-head h2{margin:6px 0 0;color:#fff;font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.05}
.bac-news-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bac-news-related-card{overflow:hidden;border:1px solid var(--bac-line);border-radius:20px;background:var(--bac-panel);box-shadow:0 16px 40px rgba(0,0,0,.14)}
.bac-news-related-media{display:block;aspect-ratio:16/9;background-size:cover;background-position:center;background-color:#090d12;text-decoration:none!important}
.bac-news-related-media.is-empty{display:grid;place-items:center;background:linear-gradient(135deg,#171d24,#090d12);color:#fff;font-weight:950;font-size:2rem}
.bac-news-related-body{padding:18px}
.bac-news-related-body h3{margin:7px 0 8px;font-size:1.12rem;line-height:1.18}
.bac-news-related-body h3 a{color:#fff!important;text-decoration:none!important}
.bac-news-related-body p{margin:0 0 13px;color:var(--bac-muted);font-size:.9rem;line-height:1.55}
.bac-news-related-all{display:flex;justify-content:center;margin-top:22px}

@media(max-width:900px){
  .bac-next-step-card{grid-template-columns:1fr;gap:22px;padding:28px}
  .bac-next-step-actions{justify-content:flex-start}
  .bac-news-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .bac-next-step-section{padding-bottom:62px!important}
  .bac-next-step-card{padding:22px 18px;border-radius:20px;gap:18px}
  .bac-next-step-copy h2{font-size:1.75rem}
  .bac-next-step-actions{display:grid;grid-template-columns:1fr;width:100%}
  .bac-next-step-actions .bac-btn{width:100%;justify-content:center;text-align:center;box-sizing:border-box}
  .bac-news-related{margin-top:34px}
  .bac-news-related-grid{grid-template-columns:1fr;gap:14px}
  .bac-news-related-card{border-radius:18px}
  .bac-news-related-media{aspect-ratio:16/10}
  .bac-news-related-body{padding:17px}
  .bac-news-related-all .bac-btn{width:100%;justify-content:center;text-align:center}
}


/* ===== BAC v1.37.1 – Touch-Fokus Fahrer & Vorstand ===== */
.bac-team-focus-stage[data-bac-focus-editor]{
  touch-action:none!important;
  -ms-touch-action:none!important;
  overscroll-behavior:contain;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-preview-image{
  -webkit-user-drag:none!important;
  user-select:none!important;
  pointer-events:none!important;
}
@media(max-width:700px){
  .bac-team-focus-stage[data-bac-focus-editor]{
    cursor:grab;
  }
  .bac-team-focus-stage[data-bac-focus-editor].is-dragging{
    cursor:grabbing;
  }
}


/* ===== BAC v1.37.2 – Hero-Overlay Feinschliff ===== */
.bac-photo-band::after,
.bac-managed-photo-band::after{
  opacity:1;
  will-change:auto;
}

/* Das Foto bleibt außerhalb des Textbereichs klar und natürlich. */
.bac-photo-band::before,
.bac-managed-photo-band::before{
  filter:saturate(1.055) contrast(1.025) brightness(1.015);
}

.bac-photo-band-copy h1{
  text-shadow:0 3px 7px rgba(0,0,0,.34),0 14px 32px rgba(0,0,0,.18);
}

.bac-photo-band-copy p{
  color:rgba(255,255,255,.92);
  text-shadow:0 2px 6px rgba(0,0,0,.34);
}

.bac-page-image-preview::after{
  transition:background .12s ease;
}


/* ===== BAC v1.37.3 – Live-Vorschau Fokus zuverlässig synchronisieren ===== */
.bac-team-focus-live-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(150px,230px);
  align-items:center;
  gap:16px;
  margin-top:4px;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:15px;
  background:rgba(255,255,255,.025);
}
.bac-team-focus-live-copy{display:grid;gap:5px;min-width:0}
.bac-team-focus-live-copy strong{color:#fff!important;font-size:14px}
.bac-team-focus-live-copy span{color:#aeb8c2!important;font-size:12px;line-height:1.5}
.bac-team-focus-live-stage{
  position:relative;
  overflow:hidden;
  width:100%;
  aspect-ratio:4/5;
  border-radius:14px;
  background:#080b0f;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
}
.bac-team-focus-live-stage img{
  position:absolute!important;
  display:block!important;
  right:auto!important;
  bottom:auto!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:fill!important;
  object-position:center!important;
  transform:none!important;
  transform-origin:0 0!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.bac-team-focus-live-empty{display:none;position:absolute;inset:0;align-items:center;justify-content:center;color:#7f8a94;font-size:12px}
.bac-team-focus-live-stage.is-empty .bac-team-focus-live-empty{display:flex}

.bac-page-image-preview{
  touch-action:none!important;
  -ms-touch-action:none!important;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}
.bac-page-image-preview.is-dragging{cursor:grabbing}

@media(max-width:700px){
  .bac-team-focus-live-wrap{grid-template-columns:1fr;gap:10px}
  .bac-team-focus-live-stage{width:min(72vw,260px);margin:0 auto;aspect-ratio:4/4.7}
}


/* ===== BAC v1.37.4 – Fokus-Regler auf Smartphone sicher bedienbar ===== */
.bac-editor-form input[type="range"],
.bac-hero-range-label input[type="range"],
.bac-page-image-preview-col input[type="range"],
.bac-team-focus-zoom input[type="range"]{
  position:relative!important;
  z-index:8!important;
  display:block!important;
  width:100%!important;
  min-height:46px!important;
  touch-action:none!important;
  -ms-touch-action:none!important;
  pointer-events:auto!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-touch-callout:none!important;
  cursor:pointer!important;
  opacity:1!important;
}

/* Größerer Trefferbereich für Finger, sichtbarer Knopf bleibt kompakt. */
.bac-editor-form .bac-hero-range-label input[type="range"]{
  height:46px!important;
}
.bac-editor-form .bac-hero-range-label input[type="range"]::-webkit-slider-thumb{
  width:32px!important;
  height:32px!important;
  margin-top:-11px!important;
}
.bac-page-image-preview-col input[type="range"],
.bac-team-focus-zoom input[type="range"]{
  height:46px!important;
}
.bac-page-image-preview-col input[type="range"]::-webkit-slider-thumb,
.bac-team-focus-zoom input[type="range"]::-webkit-slider-thumb{
  min-width:30px;
  min-height:30px;
}

/* Auch das Startseiten-Vorschaubild kann jetzt selbst als Fokusfläche gezogen werden. */
.bac-hero-admin-preview[data-bac-hero-preview-desktop],
.bac-hero-admin-preview[data-bac-hero-preview-mobile]{
  touch-action:none!important;
  -ms-touch-action:none!important;
  cursor:grab!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-touch-callout:none!important;
}
.bac-hero-admin-preview.is-dragging{cursor:grabbing!important}

@media(max-width:767px){
  .bac-editor-form input[type="range"]{
    min-height:52px!important;
  }
  .bac-editor-form .bac-hero-range-label input[type="range"],
  .bac-page-image-preview-col input[type="range"],
  .bac-team-focus-zoom input[type="range"]{
    height:52px!important;
  }
}


/* ===== BAC v1.37.5 – Fokusring wirklich verschiebbar ===== */
.bac-team-focus-stage[data-bac-focus-editor]{
  position:relative!important;
  touch-action:none!important;
  cursor:crosshair!important;
}
.bac-team-focus-stage[data-bac-focus-editor].is-dragging{cursor:grabbing!important}
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-target{
  z-index:12!important;
  pointer-events:auto!important;
  cursor:grab!important;
  touch-action:none!important;
  -ms-touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  transition:left .035s linear,top .035s linear,transform .08s ease,box-shadow .08s ease!important;
}
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-target.is-dragging,
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-target:active{
  cursor:grabbing!important;
  transform:translate(-50%,-50%) scale(1.08)!important;
  box-shadow:0 0 0 4px rgba(225,6,0,.95),0 0 0 999px rgba(0,0,0,.10),0 5px 22px rgba(0,0,0,.55)!important;
}
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-target:focus-visible{
  outline:3px solid var(--bac-accent,#e10600)!important;
  outline-offset:5px!important;
}
@media(max-width:700px){
  .bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-target{
    width:54px!important;
    height:54px!important;
    border-width:3px!important;
  }
}

/* ===== BAC v1.37.6 – Fokuspunkt und Live-Vorschau exakt gekoppelt ===== */
.bac-team-focus-stage[data-bac-focus-editor]{
  background:#080b0f!important;
}
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-preview-image{
  object-fit:fill!important;
  max-width:none!important;
  max-height:none!important;
  transition:none!important;
}
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-target{
  transition:transform .08s ease,box-shadow .08s ease!important;
}
.bac-team-focus-live-stage img[data-bac-focus-live-image]{
  position:absolute!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  transform:none!important;
  transition:left .045s linear,top .045s linear,width .045s linear,height .045s linear!important;
}


/* ===== BAC v1.37.7 – Fokusbild CSS/JS Sync-Endfix ===== */
/* Wichtig: left/top werden live vom Fokus-Script gesetzt. Keine inset-Regel darf sie überschreiben. */
.bac-team-focus-stage[data-bac-focus-editor] .bac-team-focus-preview-image,
.bac-team-focus-live-stage img[data-bac-focus-live-image]{
  right:auto!important;
  bottom:auto!important;
}
.bac-team-focus-live-stage{
  min-height:0!important;
}

/* ===== BAC v1.37.8 – Foto-Feinschliff direkt im Hauptplugin ===== */
/* Öffentliche Karten: feste, überall identische Bildformate. */
.bac-team-grid .bac-person-image,
.bac-team-grid .bac-person-placeholder{
  position:relative!important;
  overflow:hidden!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:4/5!important;
  background:#0a0d10!important;
}
.bac-driver-photo-wrap{
  position:relative!important;
  overflow:hidden!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
  background:#0a0d10!important;
}

.bac-person-image-img[data-bac-photo-fit="1"],
.bac-driver-photo[data-bac-photo-fit="1"]{
  position:absolute!important;
  display:block!important;
  left:0;
  top:0;
  right:auto!important;
  bottom:auto!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
  transform-origin:0 0!important;
  transition:none!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  image-rendering:auto!important;
}
.bac-driver-card:hover .bac-driver-photo[data-bac-photo-fit="1"]{
  transform:none!important;
  filter:brightness(1.035)!important;
}

/* Ein Ausschnitt = echte Live-Vorschau. Keine zweite Preview-Karte mehr. */
.bac-focus-unified-box{
  gap:12px!important;
}
.bac-focus-unified-stage{
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  width:min(100%,560px)!important;
  min-height:0!important;
  background:#080b0f!important;
  background-image:none!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:16px!important;
  box-shadow:0 14px 34px rgba(0,0,0,.24)!important;
  touch-action:none!important;
  -ms-touch-action:none!important;
  overscroll-behavior:contain!important;
  cursor:grab!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-touch-callout:none!important;
}
.bac-focus-unified-stage.is-dragging{cursor:grabbing!important}
.bac-focus-member-stage{aspect-ratio:4/5!important}
.bac-focus-driver-stage{aspect-ratio:1/1!important}

.bac-focus-unified-stage .bac-team-focus-preview-image{
  position:absolute!important;
  display:block!important;
  left:0;
  top:0;
  right:auto!important;
  bottom:auto!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
  transform-origin:0 0!important;
  transition:none!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}

.bac-focus-unified-stage .bac-team-focus-grid{
  z-index:4!important;
  pointer-events:none!important;
}
.bac-focus-unified-stage .bac-team-focus-target{
  z-index:6!important;
  width:58px!important;
  height:58px!important;
  border:3px solid #fff!important;
  pointer-events:none!important;
}

.bac-focus-stage-title{
  position:absolute;
  z-index:20;
  top:12px;
  left:12px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(4,7,10,.76);
  color:#fff!important;
  font-size:12px;
  font-weight:900;
  line-height:1;
  pointer-events:none;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.bac-focus-stage-title::before{
  content:'✥';
  color:var(--bac-accent,#e10600);
  font-size:14px;
}

.bac-focus-stage-controls{
  position:absolute;
  z-index:25;
  left:12px;
  right:12px;
  bottom:12px;
  display:grid;
  gap:8px;
  padding:10px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(4,7,10,.84);
  box-shadow:0 8px 24px rgba(0,0,0,.30);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  touch-action:auto!important;
  -ms-touch-action:auto!important;
}
.bac-focus-stage-controls,
.bac-focus-stage-controls *{box-sizing:border-box}
.bac-focus-stage-topline{display:flex;align-items:center;gap:8px}
.bac-focus-stage-btn{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  font:inherit;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.15;
  cursor:pointer!important;
}
.bac-focus-stage-btn:hover,.bac-focus-stage-btn:focus-visible{background:rgba(255,255,255,.15)!important}
.bac-focus-stage-btn.is-primary{
  background:var(--bac-accent,#e10600)!important;
  border-color:var(--bac-accent,#e10600)!important;
}
.bac-focus-stage-zoom-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  min-height:38px;
  margin-left:auto;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#fff!important;
  font-size:12px;
  font-weight:900;
  line-height:1;
}
.bac-focus-stage-controls input[type="range"]{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  min-height:38px!important;
  height:38px!important;
  margin:0!important;
  accent-color:var(--bac-accent,#e10600)!important;
  touch-action:none!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
.bac-focus-stage-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#c5ced7!important;
  font-size:10px;
  line-height:1.35;
}
.bac-focus-stage-meta>span{white-space:nowrap;color:#dce3e9!important;font-weight:800}
.bac-focus-stage-meta>small{color:#aeb8c2!important;text-align:right;font-size:10px}

.bac-focus-source-file{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
}

.bac-focus-unified-stage.is-empty .bac-team-focus-empty{
  position:absolute!important;
  z-index:10!important;
  inset:64px 18px 145px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:none!important;
  padding:18px!important;
  text-align:center!important;
  color:#b5c0ca!important;
  font-size:13px!important;
  line-height:1.45!important;
  pointer-events:none!important;
}
.bac-focus-unified-stage.is-empty .bac-team-focus-grid,
.bac-focus-unified-stage.is-empty .bac-team-focus-target{display:none!important}

.bac-focus-stage-controls .bac-photo-prepare-status{
  margin:0!important;
  padding:7px 9px!important;
  border-radius:9px!important;
  font-size:10px!important;
}

/* Alte getrennte Fokus-Bausteine sind in v1.37.8 nicht mehr Bestandteil des Formulars. */
.bac-focus-unified-box .bac-team-focus-zoom,
.bac-focus-unified-box .bac-team-focus-actions,
.bac-focus-unified-box .bac-team-focus-live-wrap{display:none!important}

@media(max-width:700px){
  .bac-team-grid .bac-person-image,
  .bac-team-grid .bac-person-placeholder,
  .bac-focus-member-stage{aspect-ratio:4/5!important}
  .bac-driver-photo-wrap,
  .bac-focus-driver-stage{aspect-ratio:1/1!important}
  .bac-focus-stage-controls{left:8px;right:8px;bottom:8px;padding:8px;gap:6px}
  .bac-focus-stage-title{top:8px;left:8px}
  .bac-focus-stage-topline{flex-wrap:wrap}
  .bac-focus-stage-btn{flex:1 1 auto;min-height:42px}
  .bac-focus-stage-zoom-label{margin-left:0;min-height:42px}
  .bac-focus-stage-controls input[type="range"]{min-height:46px!important;height:46px!important}
  .bac-focus-stage-meta{display:grid;gap:2px;text-align:center}
  .bac-focus-stage-meta>span,.bac-focus-stage-meta>small{text-align:center;white-space:normal}
}

@media(max-width:420px){
  .bac-focus-stage-btn{font-size:11px!important;padding:8px 7px}
  .bac-focus-stage-meta{font-size:9px}
  .bac-focus-stage-meta>small{font-size:9px}
  .bac-focus-unified-stage .bac-team-focus-target{width:50px!important;height:50px!important}
}


/* ===== BAC v1.38 – Seiten-Feinschliff ===== */
/* Ruhigeres, konsistenteres Frontend ohne Änderung der Inhaltslogik. */

body.bac-jugend-site,
body.bac-jugend-site *{
  box-sizing:border-box;
}

body.bac-jugend-site{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

/* Seitenraster: etwas mehr nutzbare Breite auf großen Displays, saubere Gutter. */
.bac-shell{
  width:min(1220px,calc(100% - 56px));
}

/* Überschriften und Fließtext wirken ruhiger und brechen kontrollierter. */
.bac-section-head{
  max-width:800px;
}
.bac-section-head h2,
.bac-page-hero h1,
.bac-photo-band-copy h1{
  text-wrap:balance;
}
.bac-section-head p,
.bac-content-body p,
.bac-person-bio,
.bac-driver-bio{
  text-wrap:pretty;
}

/* Kartenraster: jede Reihe bekommt optisch gleich hohe Karten. */
.bac-card-grid,
.bac-team-grid,
.bac-driver-grid,
.bac-news-more-grid,
.bac-gallery-teaser-grid{
  align-items:stretch;
}

.bac-person-card,
.bac-driver-card,
.bac-news-card,
.bac-content-card,
.bac-news-compact-card,
.bac-gallery-teaser-card{
  height:100%;
  min-width:0;
  isolation:isolate;
  border-color:rgba(255,255,255,.105);
  box-shadow:0 14px 38px rgba(0,0,0,.14);
}

.bac-team-grid .bac-person-card,
.bac-driver-grid .bac-driver-card{
  display:flex;
  flex-direction:column;
}

.bac-team-grid .bac-person-body,
.bac-driver-grid .bac-driver-body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-width:0;
}

/* Bild und Textbereich klar voneinander trennen, ohne sichtbare harte Kante. */
.bac-team-grid .bac-person-image,
.bac-driver-grid .bac-driver-photo-wrap{
  border-bottom:1px solid rgba(255,255,255,.055);
  transform:translateZ(0);
}

.bac-team-grid .bac-person-image-img[data-bac-photo-fit="1"],
.bac-driver-grid .bac-driver-photo[data-bac-photo-fit="1"]{
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
}

/* Platzhalter sehen wie Teil des Designs aus und nicht wie fehlende Grafik. */
.bac-person-placeholder,
.bac-driver-photo-placeholder{
  background:
    radial-gradient(circle at 72% 24%,rgba(225,6,0,.20),transparent 30%),
    linear-gradient(145deg,#151a20,#090c10)!important;
}
.bac-person-placeholder span,
.bac-driver-photo-placeholder span{
  font-size:clamp(2.35rem,4vw,3.25rem)!important;
  letter-spacing:-.05em;
  color:rgba(255,255,255,.20)!important;
  text-shadow:0 8px 30px rgba(0,0,0,.28);
}

/* Teamkarten: Labels, Rolle und Name enger und klarer staffeln. */
.bac-team-grid .bac-person-body{
  padding:22px!important;
}
.bac-team-grid .bac-team-group{
  margin-bottom:10px;
  padding:5px 9px;
  font-size:.67rem;
  line-height:1.2;
  letter-spacing:.075em;
}
.bac-team-grid .bac-kicker{
  line-height:1.3;
}
.bac-team-grid .bac-person-body h3{
  margin:7px 0 8px;
  font-size:clamp(1.18rem,1.7vw,1.42rem);
  line-height:1.08;
  letter-spacing:-.035em;
  overflow-wrap:anywhere;
}
.bac-team-grid .bac-person-bio{
  margin-top:8px;
  font-size:.9rem;
  line-height:1.58;
}
.bac-team-grid .bac-team-contact{
  padding-top:17px;
}

/* Fahrerkarten: gleiche Innenabstände und stabile Faktenzeile. */
.bac-driver-grid .bac-driver-body{
  padding:22px!important;
}
.bac-driver-grid .bac-driver-body h3{
  margin:7px 0 15px;
  font-size:clamp(1.25rem,1.8vw,1.5rem);
  line-height:1.08;
  overflow-wrap:anywhere;
}
.bac-driver-grid .bac-driver-facts{
  width:100%;
  margin-top:auto;
}
.bac-driver-grid .bac-driver-facts>div{
  padding-top:12px;
  padding-bottom:12px;
}
.bac-driver-grid .bac-driver-facts span{
  line-height:1.25;
}
.bac-driver-grid .bac-driver-facts strong{
  line-height:1.25;
}

/* Buttons bleiben bei langen Texten sauber und laufen nicht aus Karten heraus. */
.bac-btn,
.bac-team-contact a{
  max-width:100%;
  white-space:normal;
  text-align:center;
}

/* Hover nur dort, wo wirklich eine Maus vorhanden ist. Auf Touch keine springenden Karten. */
@media (hover:hover) and (pointer:fine){
  .bac-person-card,
  .bac-driver-card,
  .bac-news-card,
  .bac-content-card,
  .bac-news-compact-card,
  .bac-gallery-teaser-card{
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  }
  .bac-person-card:hover,
  .bac-driver-card:hover,
  .bac-news-card:hover,
  .bac-content-card:hover,
  .bac-news-compact-card:hover,
  .bac-gallery-teaser-card:hover{
    transform:translateY(-3px);
    border-color:rgba(255,255,255,.20);
    box-shadow:0 20px 48px rgba(0,0,0,.20);
  }
}

@media (hover:none){
  .bac-person-card:hover,
  .bac-driver-card:hover,
  .bac-news-card:hover,
  .bac-content-card:hover,
  .bac-news-compact-card:hover,
  .bac-gallery-teaser-card:hover{
    transform:none!important;
  }
}

/* Desktop: etwas kompaktere vertikale Rhythmik, ohne gequetscht zu wirken. */
@media(min-width:1100px){
  .bac-section{
    padding-top:82px;
    padding-bottom:82px;
  }
  .bac-section-head{
    margin-bottom:32px;
  }
  .bac-team-grid,
  .bac-driver-grid,
  .bac-card-grid{
    gap:18px!important;
  }
}

/* Tablet: zwei stabile Spalten mit vernünftigen Abständen. */
@media(min-width:701px) and (max-width:1099px){
  .bac-shell{
    width:calc(100% - 40px);
  }
  .bac-team-grid,
  .bac-driver-grid,
  .bac-card-grid{
    gap:18px!important;
  }
}

/* Smartphone: weniger Randverlust, komfortable Karten und ruhige Abstände. */
@media(max-width:700px){
  .bac-shell{
    width:calc(100% - 24px);
  }
  .bac-section{
    padding-top:62px;
    padding-bottom:62px;
  }
  .bac-section-head{
    margin-bottom:26px;
  }
  .bac-team-grid,
  .bac-driver-grid,
  .bac-card-grid{
    gap:14px!important;
  }
  .bac-team-grid .bac-person-card,
  .bac-driver-grid .bac-driver-card,
  .bac-news-card,
  .bac-content-card{
    border-radius:16px!important;
  }
  .bac-team-grid .bac-person-body,
  .bac-driver-grid .bac-driver-body{
    padding:18px!important;
  }
  .bac-team-grid .bac-person-body h3,
  .bac-driver-grid .bac-driver-body h3{
    font-size:1.28rem;
  }
  .bac-team-grid .bac-team-contact{
    gap:7px;
  }
  .bac-team-grid .bac-team-contact a{
    min-height:44px;
  }
}

@media(max-width:380px){
  .bac-shell{
    width:calc(100% - 20px);
  }
  .bac-team-grid .bac-person-body,
  .bac-driver-grid .bac-driver-body{
    padding:16px!important;
  }
}

/* ===== BAC v1.38.1 – Responsive & Bedienungs-Feinschliff ===== */
/* Kleine, risikoarme Verbesserungen für Touch, Lesbarkeit und Layout-Stabilität. */

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body.bac-jugend-site{
  overflow-x:clip;
}

/* Lange Inhalte dürfen Karten und Footer nicht verbreitern. */
.bac-person-card,
.bac-driver-card,
.bac-event-card,
.bac-news-card,
.bac-news-compact-card,
.bac-news-related-card,
.bac-content-card,
.bac-contact-card,
.bac-join-info-card,
.bac-footer-grid>div{
  min-width:0;
}

.bac-person-card h3,
.bac-driver-card h3,
.bac-event-card h3,
.bac-news-card h3,
.bac-news-compact-card h3,
.bac-news-related-card h3,
.bac-content-card h3,
.bac-footer-grid a,
.bac-team-contact a{
  overflow-wrap:anywhere;
}

/* Kartenlinks und Buttons reagieren auf Maus, aber springen auf Touch nicht. */
@media (hover:none), (pointer:coarse){
  .bac-event-card:hover,
  .bac-news-card:hover,
  .bac-news-compact-card:hover,
  .bac-news-related-card:hover,
  .bac-person-card:hover,
  .bac-driver-card:hover,
  .bac-content-card:hover,
  .bac-video-card:hover,
  .bac-gallery-teaser-card:hover,
  .bac-contact-card:hover,
  .bac-join-info-card:hover,
  .bac-preview-card:hover{
    transform:none!important;
  }

  .bac-btn:hover{
    transform:none!important;
  }
}

/* Kontakt- und Footer-Links sind auch mit dem Finger komfortabel. */
@media(max-width:700px){
  .bac-team-contact a,
  .bac-footer-grid a{
    min-height:44px;
  }

  .bac-footer-grid a{
    width:100%;
    align-items:center;
  }

  .bac-footer-grid>div{
    gap:5px;
  }
}

/* Kleine Displays: Termine bleiben lesbar, ohne dass Text gequetscht wird. */
@media(max-width:430px){
  .bac-event-card{
    grid-template-columns:62px minmax(0,1fr);
    gap:14px;
    padding:17px 16px;
    min-height:138px;
  }

  .bac-event-card .bac-date{
    height:70px;
    border-radius:12px;
  }

  .bac-event-card .bac-date strong{
    font-size:1.65rem;
  }

  .bac-event-card h3{
    font-size:1.12rem;
  }
}

/* Floating WhatsApp respektiert Geräte mit Home-Indikator / Safe Area. */
.bac-wa-float{
  right:max(14px,env(safe-area-inset-right));
  bottom:max(14px,env(safe-area-inset-bottom));
}

.bac-custom-footer{
  padding-bottom:max(24px,calc(18px + env(safe-area-inset-bottom)));
}

/* Öffentliche Bilder erhalten schon vor dem JS-Feinschnitt eine stabile Fläche. */
.bac-person-image-img[data-bac-photo-fit="1"],
.bac-driver-photo[data-bac-photo-fit="1"]{
  background:#0a0d10;
  will-change:auto;
}

/* Formulare: lange Inhalte bleiben innerhalb der verfügbaren Breite. */
.bac-form input,
.bac-form textarea,
.bac-form select,
.bac-editor-form input,
.bac-editor-form textarea,
.bac-editor-form select{
  max-width:100%;
}

/* Sehr hohe Kontrast-Einstellung des Betriebssystems unterstützen. */
@media (prefers-contrast:more){
  .bac-person-card,
  .bac-driver-card,
  .bac-event-card,
  .bac-news-card,
  .bac-content-card,
  .bac-form{
    border-color:rgba(255,255,255,.28)!important;
  }

  .bac-kicker,
  .bac-section-head p,
  .bac-person-bio,
  .bac-driver-bio{
    color:#d6dce3!important;
  }
}


/* ===== BAC v1.38.2 – Bedienung, Formulare & Mikro-Feinschliff ===== */
/* Kleine Qualitätsverbesserungen ohne Änderung an Struktur oder Inhaltslogik. */

/* Auswahlfarbe passend zur BAC-Akzentfarbe. */
body.bac-jugend-site ::selection{
  background:var(--bac-accent,#e10600);
  color:#fff;
}

/* Alle echten Bedienelemente reagieren direkt auf Touch und bleiben klar lesbar. */
body.bac-jugend-site a,
body.bac-jugend-site button,
body.bac-jugend-site input,
body.bac-jugend-site select,
body.bac-jugend-site textarea{
  touch-action:manipulation;
}

.bac-btn,
.bac-editor-submit,
.bac-editor-secondary,
.bac-team-contact a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  line-height:1.2;
}

/* Ruhiger, konsistenter Druck-/Aktivzustand – nur bei echten Zeigegeräten. */
@media (hover:hover) and (pointer:fine){
  .bac-btn:active,
  .bac-editor-submit:active,
  .bac-editor-secondary:active,
  .bac-editor-mini-btn:active{
    transform:translateY(0) scale(.985);
  }
}

/* Deaktivierte Elemente sehen bewusst deaktiviert aus. */
.bac-btn:disabled,
.bac-editor-submit:disabled,
.bac-editor-secondary:disabled,
.bac-editor-mini-btn:disabled,
.bac-form input:disabled,
.bac-form textarea:disabled,
.bac-form select:disabled{
  opacity:.56;
  cursor:not-allowed!important;
  filter:saturate(.7);
}

/* Formulare: gleiche Feldhöhe, angenehmere Eingabe und klarere Checkboxen. */
.bac-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.bac-form select,
.bac-editor-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),
.bac-editor-form select{
  min-height:48px;
}

.bac-form textarea,
.bac-editor-form textarea{
  min-height:128px;
  resize:vertical;
  line-height:1.5;
}

.bac-form input[type=checkbox],
.bac-form input[type=radio],
.bac-editor-form input[type=checkbox],
.bac-editor-form input[type=radio]{
  width:20px;
  height:20px;
  flex:0 0 20px;
  accent-color:var(--bac-accent,#e10600);
}

/* Tastatur-Navigation hebt zusätzlich die ganze Karte dezent hervor. */
.bac-person-card:focus-within,
.bac-driver-card:focus-within,
.bac-news-card:focus-within,
.bac-news-compact-card:focus-within,
.bac-gallery-teaser-card:focus-within,
.bac-content-card:focus-within{
  border-color:rgba(225,6,0,.48)!important;
}

/* Lesefluss auf Inhalts- und Rechtstextseiten. */
.bac-content-body ul,
.bac-content-body ol,
.bac-legal-content ul,
.bac-legal-content ol{
  padding-left:1.25em;
}

.bac-content-body li,
.bac-legal-content li{
  margin:.4em 0;
  line-height:1.6;
}

.bac-content-body h2,
.bac-content-body h3,
.bac-legal-content h2,
.bac-legal-content h3{
  scroll-margin-top:105px;
}

/* Smartphone: 16px verhindert den automatischen Safari-Zoom bei Eingabefeldern. */
@media(max-width:700px){
  .bac-form input:not([type=checkbox]):not([type=radio]),
  .bac-form textarea,
  .bac-form select,
  .bac-editor-form input:not([type=checkbox]):not([type=radio]):not([type=range]),
  .bac-editor-form textarea,
  .bac-editor-form select{
    font-size:16px!important;
  }

  .bac-form .bac-btn[type=submit]{
    width:100%;
    min-height:50px;
    justify-content:center;
  }

  .bac-content-body h2,
  .bac-content-body h3,
  .bac-legal-content h2,
  .bac-legal-content h3{
    scroll-margin-top:78px;
  }
}

/* Touch-Geräte erhalten einen dezenten Press-Zustand statt Hover-Bewegung. */
@media (hover:none), (pointer:coarse){
  .bac-btn:active,
  .bac-editor-submit:active,
  .bac-editor-secondary:active,
  .bac-editor-mini-btn:active{
    filter:brightness(.94);
  }
}

/* ===== BAC v1.38.4 – Performance ===== */
.bac-news-compact-image,.bac-gallery-teaser-image{overflow:hidden}
.bac-news-compact-image img,.bac-gallery-teaser-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}

/* Lange Start- und Teamseiten erst rendern, wenn sie sich dem sichtbaren
   Bereich nähern. Ältere Browser ignorieren diese Optimierung einfach. */
@supports (content-visibility:auto){
  .bac-home .bac-home-section:not(.bac-home-section-first){content-visibility:auto;contain-intrinsic-size:auto 720px}
  .bac-team-page .bac-person-card,.bac-team-page .bac-driver-card{content-visibility:auto;contain-intrinsic-size:auto 520px}
}

/* ===== BAC v1.38.7 – Live-UX / Navigation ===== */

/* Team-Seite: direkte Sprungziele statt langem Suchen auf Mobilgeräten. */
.bac-team-jump{
  position:relative;
  z-index:8;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.09);
  background:#0d1116;
}
.bac-team-jump-inner{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:66px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.bac-team-jump-inner::-webkit-scrollbar{display:none}
.bac-team-jump a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:42px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#fff!important;
  text-decoration:none!important;
  font-size:.77rem;
  font-weight:850;
  letter-spacing:.035em;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.bac-team-jump a:hover{
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.08);
  transform:translateY(-1px);
}
.bac-team-jump a.is-accent{
  border-color:rgba(225,6,0,.56);
  background:rgba(225,6,0,.13);
}
#bac-team-organisation,#bac-team-fahrer,#bac-contact-form,#bac-mitmachen-anfrage{scroll-margin-top:96px}

/* Lange Seiten: dezenter, erst beim Scrollen sichtbarer Rücksprung. */
.bac-back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:850;
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  background:rgba(13,17,22,.92);
  color:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.30);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(10px) scale(.96);
  transition:opacity .18s ease,visibility .18s ease,transform .18s ease,background .18s ease,border-color .18s ease;
}
.bac-back-to-top span{font-size:1.35rem;font-weight:900;line-height:1;transform:translateY(-1px)}
.bac-back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
}
.bac-back-to-top:hover{
  background:var(--bac-accent,#e10600);
  border-color:var(--bac-accent,#e10600);
}

/* Kadence-Smartphone-Menü: klarere Trefferflächen und bessere Orientierung. */
@media(max-width:767px){
  body.bac-jugend-site .popup-drawer .drawer-inner,
  body.bac-jugend-site #mobile-drawer .drawer-inner{
    width:min(90vw,380px)!important;
    max-width:380px!important;
    box-shadow:-20px 0 60px rgba(0,0,0,.46)!important;
  }
  body.bac-jugend-site .popup-drawer .drawer-header,
  body.bac-jugend-site #mobile-drawer .drawer-header{
    min-height:64px!important;
    padding:10px 16px!important;
  }
  body.bac-jugend-site .popup-drawer .drawer-toggle,
  body.bac-jugend-site #mobile-drawer .drawer-toggle{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.05)!important;
  }
  body.bac-jugend-site .mobile-navigation ul li a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:58px!important;
    padding:15px 20px!important;
    touch-action:manipulation;
  }
  body.bac-jugend-site .mobile-navigation ul li>a::after{
    content:'›';
    margin-left:12px;
    color:rgba(255,255,255,.32);
    font-size:1.45rem;
    font-weight:500;
    line-height:1;
  }
  body.bac-jugend-site .mobile-navigation .current-menu-item>a,
  body.bac-jugend-site .mobile-navigation a[aria-current="page"]{
    background:rgba(225,6,0,.10)!important;
    box-shadow:inset 3px 0 0 var(--bac-accent,#e10600);
  }
  body.bac-jugend-site .mobile-navigation .current-menu-item>a::after,
  body.bac-jugend-site .mobile-navigation a[aria-current="page"]::after{
    color:var(--bac-accent,#e10600);
    opacity:1;
  }

  .bac-team-jump-inner{
    width:100%;
    padding-left:16px;
    padding-right:16px;
  }
  .bac-team-jump a{min-height:40px;padding:0 13px;font-size:.73rem}
  #bac-team-organisation,#bac-team-fahrer,#bac-contact-form,#bac-mitmachen-anfrage{scroll-margin-top:78px}
  .bac-back-to-top{
    right:14px;
    bottom:14px;
    width:46px;
    height:46px;
  }
}

@media(prefers-reduced-motion:reduce){
  .bac-back-to-top,.bac-team-jump a{transition:none!important}
}

/* ===== BAC v1.38.8 – Startseiten-Feinschliff ===== */
.bac-home>.bac-home-jump{order:1}
.bac-home-jump{
  position:relative;
  z-index:12;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,#0d1116 0%,#0b0f13 100%);
  box-shadow:0 14px 34px rgba(0,0,0,.16);
}
.bac-home-jump-inner{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:72px;
  padding-top:10px;
  padding-bottom:10px;
}
.bac-home-jump-label{
  flex:0 0 auto;
  color:#8f9aa6;
  font-size:.69rem;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.bac-home-jump-links{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}
.bac-home-jump-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#eef2f6!important;
  text-decoration:none!important;
  font-size:.76rem;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.bac-home-jump-links a::after{
  content:'↓';
  margin-left:7px;
  color:var(--bac-accent);
  font-size:.8rem;
  line-height:1;
}
.bac-home-jump-links a:hover,
.bac-home-jump-links a:focus-visible{
  border-color:rgba(225,6,0,.55);
  background:rgba(225,6,0,.09);
  transform:translateY(-1px);
}
.bac-home-section[id]{scroll-margin-top:112px}

/* Auf großen Bildschirmen etwas kompaktere Startseiten-Rhythmik, damit mehr
   Inhalt sichtbar wird, ohne den großzügigen Motorsport-Look zu verlieren. */
@media(min-width:901px){
  .bac-home .bac-section:not(.bac-trial-band){padding-top:88px;padding-bottom:88px}
  .bac-home .bac-section-head{margin-bottom:36px}
}

@media(max-width:767px){
  .bac-home-jump{box-shadow:0 10px 26px rgba(0,0,0,.14)}
  .bac-home-jump .bac-shell{width:100%}
  .bac-home-jump-inner{
    display:block;
    min-height:0;
    padding:11px 0 12px;
  }
  .bac-home-jump-label{
    display:block;
    padding:0 18px 8px;
    font-size:.62rem;
  }
  .bac-home-jump-links{
    flex-wrap:nowrap;
    gap:7px;
    overflow-x:auto;
    padding:0 18px 4px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }
  .bac-home-jump-links::-webkit-scrollbar{display:none}
  .bac-home-jump-links a{
    flex:0 0 auto;
    min-height:36px;
    padding:0 13px;
    font-size:.72rem;
    scroll-snap-align:start;
  }
  .bac-home-section[id]{scroll-margin-top:84px}
}

@media (prefers-reduced-motion:reduce){
  .bac-home-jump-links a{transition:none}
}
