/* ===============================
   Headerimage Shortcode + Template
================================== */

.headerimage {
  display: flex;
  align-items: center;
  justify-content: center; /* Zentriert .headerimage-inner – wie bei Slide */
  padding: 5em 2.5em;
  height: 450px;
  position: relative;
  overflow: hidden;
}

.headerimage-inner {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.headerimage-content {
  max-width: 100%; /* oder 100% für volle Breite */
  text-align: left;
}

.headerimage-content h1 {
  font-size: 65px;
  color: #fff;
  margin: 0;
  font-weight: 800;
 letter-spacing: -0.5px;

}


/* Hintergrundbild via CSS-Variable */
.headerimage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--headerimage-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
  transform: scale(1.05);
  z-index: 0;
}

/* Vordergrundbild (z. B. Badge) */
.vordergrund-featured {
  max-width: 350px;
  max-height: 350px;
  margin-top: 1em;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 3;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  .headerimage {
    height: 300px;
    padding: 3em 1.5em;
  }
  .headerimage h1 {
    font-size: 40px;
    line-height: 1
  }
  .vordergrund-featured {
    max-width: 200px;
    max-height: 200px;
  }
}
.astra-advanced-hook-9629 p {
  margin-bottom: 0 !important;
}