


body.bz-subpage-standard{
  --bz-page-max:1180px;
  --bz-page-gutter:24px;
  --bz-header-h:82px;
  --bz-subhero-h:440px;
  --bz-subhero-text-h:300px;
}

/* ===== Einheitlicher Header-Maßstab ===== */
body.bz-subpage-standard .bzv7-header,
body.bz-subpage-standard.bz-legal-clean > header{
  position:sticky !important;
  top:0 !important;
  z-index:110 !important;
  width:100% !important;
  background:#041221 !important;
  border-bottom:1px solid rgba(56,204,229,.16) !important;
  box-shadow:none !important;
}

body.bz-subpage-standard .bzv7-header-inner,
body.bz-subpage-standard .akt-header-inner,
body.bz-subpage-standard.bz-legal-clean > header > .head{
  width:min(var(--bz-page-max),calc(100% - 48px)) !important;
  max-width:var(--bz-page-max) !important;
  min-height:var(--bz-header-h) !important;
  height:var(--bz-header-h) !important;
  margin-inline:auto !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:28px !important;
}

body.bz-subpage-standard .bzv7-brand,
body.bz-subpage-standard.bz-legal-clean .brand{
  width:270px !important;
  max-width:270px !important;
  flex:0 0 270px !important;
  display:flex !important;
  align-items:center !important;
  filter:brightness(0) invert(1) !important;
}

body.bz-subpage-standard .bzv7-brand img,
body.bz-subpage-standard.bz-legal-clean .brand img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
}

body.bz-subpage-standard .bzv7-nav,
body.bz-subpage-standard.bz-legal-clean .desktop-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:25px !important;
  margin-left:auto !important;
  color:rgba(255,255,255,.78) !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:12px !important;
  font-weight:800 !important;
}

body.bz-subpage-standard .bzv7-nav > a,
body.bz-subpage-standard .bzv7-nav-more > summary,
body.bz-subpage-standard.bz-legal-clean .desktop-nav > a,
body.bz-subpage-standard.bz-legal-clean .desktop-nav > .bz-nav-more > summary{
  min-height:0 !important;
  height:auto !important;
  padding:8px 0 6px !important;
  border-bottom:2px solid transparent !important;
  color:inherit !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

body.bz-subpage-standard .bzv7-nav > a:hover,
body.bz-subpage-standard .bzv7-nav > a.active,
body.bz-subpage-standard .bzv7-nav > a[aria-current="page"],
body.bz-subpage-standard .bzv7-nav-more > summary.active,
body.bz-subpage-standard.bz-legal-clean .desktop-nav > a:hover,
body.bz-subpage-standard.bz-legal-clean .desktop-nav > a.active,
body.bz-subpage-standard.bz-legal-clean .desktop-nav > a[aria-current="page"],
body.bz-subpage-standard.bz-legal-clean .desktop-nav > .bz-nav-more > summary.active{
  color:#fff !important;
  border-bottom-color:#a9162b !important;
}

body.bz-subpage-standard.bz-legal-clean .menu{
  display:none !important;
}

/* ===== Gemeinsame Seitenbreite ===== */
body.bz-subpage-standard .akt-main .bzv7-shell,
body.bz-subpage-standard.bza-page--live .bzv7-shell,
body.bz-subpage-standard .archive-shell,
body.bz-subpage-standard.bz-election-page .election-hero > .bzv7-shell,
body.bz-subpage-standard.bz-election-page .election-content-shell,
body.bz-subpage-standard.bz-legal-clean .legal-hero > .wrap,
body.bz-subpage-standard.bz-legal-clean .legal-layout.wrap{
  width:min(var(--bz-page-max),calc(100% - 48px)) !important;
  max-width:var(--bz-page-max) !important;
  margin-inline:auto !important;
}

/* ===== Aktuelles: Aufmacher auf Startseitenmaß ===== */
body.bz-subpage-standard .akt-main{
  padding-top:28px !important;
}

body.bz-subpage-standard .akt-focus-grid{
  width:100% !important;
  max-width:none !important;
}

body.bz-subpage-standard .akt-hero{
  width:100% !important;
  height:var(--bz-subhero-h) !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  border-radius:16px !important;
}

body.bz-subpage-standard .akt-hero > a{
  height:100% !important;
}

body.bz-subpage-standard .akt-hero-image{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}

body.bz-subpage-standard .akt-hero-copy{
  max-width:720px !important;
}

body.bz-subpage-standard .akt-hero-copy h2{
  font-size:clamp(2.5rem,4vw,4rem) !important;
  line-height:.96 !important;
}

/* ===== Alltag: Slider und drei Deck-Kacheln ===== */
body.bz-subpage-standard.bza-page--live{
  --shell:var(--bz-page-max) !important;
}

body.bz-subpage-standard.bza-page--live .bza-hero{
  padding-top:28px !important;
}

@media (min-width:1000px){
  body.bz-subpage-standard.bza-page--live .bza-slider-track,
  body.bz-subpage-standard.bza-page--live .bza-slider-slide{
    height:var(--bz-subhero-h) !important;
    min-height:var(--bz-subhero-h) !important;
    max-height:var(--bz-subhero-h) !important;
  }

  body.bz-subpage-standard.bza-page--live .bza-home-hero-grid > .bzv7-week-deck{
    width:calc(100% - 64px) !important;
    max-width:1080px !important;
    margin:-18px auto 0 !important;
  }

  body.bz-subpage-standard.bza-page--live .bza-slider-copy strong{
    font-size:clamp(2.5rem,4vw,4rem) !important;
    line-height:.95 !important;
  }
}

/* ===== Archiv: gleiche Außenbreite, kompakter Text-Hero ===== */
body.bz-subpage-standard .archive-shell{
  width:min(var(--bz-page-max),calc(100% - 48px)) !important;
}

body.bz-subpage-standard .archive-hero{
  min-height:var(--bz-subhero-text-h) !important;
  max-height:none !important;
  padding:42px 48px !important;
  align-content:center !important;
  border-radius:16px !important;
}

body.bz-subpage-standard .archive-hero h1{
  font-size:clamp(2.7rem,4.5vw,4rem) !important;
}

body.bz-subpage-standard .archive-content-layout{
  grid-template-columns:minmax(0,1fr) 290px !important;
  gap:20px !important;
}

/* ===== Kommunalwahl: Hero exakt im gemeinsamen Raster ===== */
body.bz-subpage-standard.bz-election-page .election-hero{
  padding-top:28px !important;
}

body.bz-subpage-standard.bz-election-page .election-hero-card--image{
  width:100% !important;
  min-height:0 !important;
  border-radius:16px 16px 0 0 !important;
}

body.bz-subpage-standard.bz-election-page .election-hero-image{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:var(--bz-subhero-h) !important;
  object-fit:contain !important;
}

body.bz-subpage-standard.bz-election-page .election-content-shell{
  grid-template-columns:minmax(0,1fr) 290px !important;
  gap:28px !important;
}

/* ===== Impressum / Datenschutz / Transparenz / Kontakt ===== */
body.bz-subpage-standard.bz-legal-clean .legal-page{
  background:#f6f0e5 !important;
}

body.bz-subpage-standard.bz-legal-clean .legal-hero{
  min-height:var(--bz-subhero-text-h) !important;
  background:#f6f0e5 !important;
  color:#06223f !important;
  border-bottom:1px solid #d8cdbb !important;
  display:flex !important;
  align-items:center !important;
}

body.bz-subpage-standard.bz-legal-clean .legal-hero > .wrap{
  min-height:var(--bz-subhero-text-h) !important;
  padding:44px 0 !important;
  align-content:center !important;
}

body.bz-subpage-standard.bz-legal-clean .legal-hero h1{
  max-width:14ch !important;
  font-size:clamp(3rem,5vw,4.6rem) !important;
  line-height:.94 !important;
  color:#06223f !important;
}

body.bz-subpage-standard.bz-legal-clean .legal-hero p{
  max-width:720px !important;
  color:#425367 !important;
  font-size:clamp(1rem,1.35vw,1.18rem) !important;
}

body.bz-subpage-standard.bz-legal-clean .legal-layout{
  grid-template-columns:240px minmax(0,1fr) !important;
  gap:28px !important;
  padding:34px 0 64px !important;
}

/* ===== Tablet / Mobile ===== */
@media (max-width:999px){
  body.bz-subpage-standard{
    --bz-page-gutter:16px;
    --bz-subhero-h:360px;
    --bz-subhero-text-h:240px;
  }

  body.bz-subpage-standard .bzv7-header-inner,
  body.bz-subpage-standard .akt-header-inner,
  body.bz-subpage-standard.bz-legal-clean > header > .head{
    width:calc(100% - 32px) !important;
    min-height:68px !important;
    height:68px !important;
  }

  body.bz-subpage-standard .bzv7-brand,
  body.bz-subpage-standard.bz-legal-clean .brand{
    width:210px !important;
    max-width:210px !important;
    flex-basis:210px !important;
  }

  body.bz-subpage-standard .bzv7-nav,
  body.bz-subpage-standard.bz-legal-clean .desktop-nav{
    display:none !important;
  }

  body.bz-subpage-standard .bzv7-menu-btn,
  body.bz-subpage-standard.bz-legal-clean .menu{
    display:inline-flex !important;
    margin-left:auto !important;
  }

  body.bz-subpage-standard .akt-main .bzv7-shell,
  body.bz-subpage-standard.bza-page--live .bzv7-shell,
  body.bz-subpage-standard .archive-shell,
  body.bz-subpage-standard.bz-election-page .election-hero > .bzv7-shell,
  body.bz-subpage-standard.bz-election-page .election-content-shell,
  body.bz-subpage-standard.bz-legal-clean .legal-hero > .wrap,
  body.bz-subpage-standard.bz-legal-clean .legal-layout.wrap{
    width:calc(100% - 32px) !important;
  }

  body.bz-subpage-standard .archive-content-layout,
  body.bz-subpage-standard.bz-election-page .election-content-shell,
  body.bz-subpage-standard.bz-legal-clean .legal-layout{
    grid-template-columns:1fr !important;
  }

  body.bz-subpage-standard .archive-sidebar,
  body.bz-subpage-standard.bz-election-page .election-sidebar,
  body.bz-subpage-standard.bz-legal-clean .legal-aside{
    position:static !important;
  }
}

@media (max-width:640px){
  body.bz-subpage-standard{
    --bz-subhero-h:260px;
    --bz-subhero-text-h:210px;
  }

  body.bz-subpage-standard .bzv7-header-inner,
  body.bz-subpage-standard .akt-header-inner,
  body.bz-subpage-standard.bz-legal-clean > header > .head{
    width:calc(100% - 24px) !important;
    min-height:60px !important;
    height:60px !important;
    gap:12px !important;
  }

  body.bz-subpage-standard .bzv7-brand,
  body.bz-subpage-standard.bz-legal-clean .brand{
    width:170px !important;
    max-width:170px !important;
    flex-basis:170px !important;
  }

  body.bz-subpage-standard .akt-main .bzv7-shell,
  body.bz-subpage-standard.bza-page--live .bzv7-shell,
  body.bz-subpage-standard .archive-shell,
  body.bz-subpage-standard.bz-election-page .election-hero > .bzv7-shell,
  body.bz-subpage-standard.bz-election-page .election-content-shell,
  body.bz-subpage-standard.bz-legal-clean .legal-hero > .wrap,
  body.bz-subpage-standard.bz-legal-clean .legal-layout.wrap{
    width:calc(100% - 24px) !important;
  }

  body.bz-subpage-standard .akt-hero{
    height:var(--bz-subhero-h) !important;
    border-radius:12px !important;
  }

  body.bz-subpage-standard .archive-hero{
    min-height:var(--bz-subhero-text-h) !important;
    padding:28px 22px !important;
    border-radius:12px !important;
  }

  body.bz-subpage-standard .archive-hero h1{
    font-size:clamp(2.2rem,10vw,3rem) !important;
  }

  body.bz-subpage-standard.bz-legal-clean .legal-hero > .wrap{
    padding:30px 0 !important;
  }

  body.bz-subpage-standard.bz-legal-clean .legal-hero h1{
    font-size:clamp(2.6rem,12vw,3.5rem) !important;
  }

  body.bz-subpage-standard.bz-legal-clean .legal-layout{
    padding-top:24px !important;
  }

  body.bz-subpage-standard.bz-election-page .election-hero{
    padding-top:16px !important;
  }

  body.bz-subpage-standard.bz-election-page .election-hero-image{
    max-height:260px !important;
  }
}
