/* ============================================================
   BUNTSPEICHER — new-stylesheet.css
   Aufgeräumte Version ohne Duplikate
   ============================================================ */

/* ── ALLGEMEINE KLASSEN ── */
.greenbg {
  position: relative;
  background: #99c011 !important;
  width: 449px;
  white-space: normal !important;
  text-align: right !important;
  padding: 0px 30px !important;
  z-index: 3000 !important;
}

.greenbglast {
  padding-bottom: 30px !important;
}

.greenbgfirst {
  padding-top: 30px !important;
  padding-bottom: 20px !important;
  font-weight: 700 !important;
  line-height: 28px !important;
}

.hauptbild_padding {
  margin: auto;
  max-width: 1920px;
  padding-bottom: 15px !important;
}

.mobilgreen {
  background: #99c011 !important;
  padding: 10px;
  font-size: 20px;
}

.mod_top_mail a {
  margin-right: 20px;
  line-height: 20px !important;
  padding: 5px 0px;
}

.ce_popup_start .ce_popup_content {
  position: fixed;
  top: 60% !important;
  left: 50%;
}

/* ── MOBILE ── */
@media only screen and (max-width: 768px) {
  .mod_top_mail a {
    margin-top: 5px;
    margin-right: 20px;
    display: block;
    line-height: 20px !important;
    padding: 5px 0px;
  }
  .logo {
    padding-top: 10px;
  }
  #slider {
    margin-top: 30px !important;
  }
  #wrapper {
    margin-top: 50px !important;
  }
  .stickyheader .header.cloned {
    height: 120px !important;
  }
}

/* ── LOGO ── */
div.logo a {
  background-image: url('https://test.buntspeicher.com/files/buntspeicher/img/Buntspeicher_Logo_Schrift_weis.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
}

div.logo a:hover {
  background-image: url('https://test.buntspeicher.com/files/buntspeicher/img/Buntspeicher_Logo_Schrift_weis.png') !important;
}

#header.header.original.bs-scrolled div.logo a {
  background-image: url('https://test.buntspeicher.com/files/buntspeicher/img/Buntspeicher_Logo_300dpi.png') !important;
}

/* ── WRAPPER & FOOTER — Abstand für Social-Sidebar ── */
#wrapper,
#footer {
  padding-left: 4rem !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

@media (max-width: 960px) {
  #wrapper,
  #footer {
    padding-left: 0 !important;
  }
}

/* ── HERO — Artikel aus Wrapper-Padding herausziehen ── */
#article-14072 {
  margin-left: -4rem !important;
  width: calc(100% + 4rem) !important;
  padding: 0 !important;
}

#article-14072 .container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ── HERO CONTAINER ── */
#hero-full-width {
  width: 100% !important;
  position: relative;
  z-index: 10;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

#hero-full-width .inside,
#hero-full-width > .inside {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* ── HERO HAUPTBEREICH ── */
.bs-hero {
  position: relative;
  width: 100%;
  height: 100vh !important;
  min-height: 600px;
  display: flex;
  align-items: center !important;
  justify-content: center;
  margin-top: -200px !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}

/* ── HERO HINTERGRUNDBILD ── */
.bs-hero-bg {
  position: absolute;
  inset: 0;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 100% !important;
  background-image: url('https://test.buntspeicher.com/files/buntspeicher/img/hero.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  z-index: 0;
  animation: bsKenBurns 20s ease-in-out infinite alternate !important;
}

@keyframes bsKenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

/* ── HERO CONTENT ── */
.bs-hero-content {
  position: relative;
  z-index: 2;
  color: white !important;
  text-align: center;
  max-width: 800px;
  padding-top: 100px;
  box-sizing: border-box;
}

.bs-hero-content h1 {
  font-weight: 700 !important;
  color: white !important;
  text-align: center !important;
  font-size: 4rem !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

/* ── HERO BUTTON ── */
.bs-hero-btn {
  display: inline-block;
  background-color: #99c011 !important;
  color: white !important;
  padding: 1rem 2.5rem !important;
  border-radius: 40px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-top: 1.5rem !important;
  transition: background 0.2s, transform 0.2s !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
  z-index: 10;
  position: relative;
}

.bs-hero-btn:hover {
  background-color: #7a9a0d !important;
  transform: translateY(-3px) !important;
}

/* ── HERO MOBILE ── */
@media (max-width: 960px) {
  .bs-hero {
    height: auto !important;
    min-height: 400px;
    margin-top: -120px !important;
  }
  .bs-hero-content {
    padding-left: 0 !important;
    padding-top: 150px;
  }
}
/* Hero vollflächig über fullwidth-boxed */
#article-14072.fullwidth-boxed {
  margin-left: -4rem !important;
  margin-right: 0 !important;
  width: calc(100% + 4rem) !important;
  padding: 0 !important;
}

#article-14072.fullwidth-boxed > .container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}