/* === Bauerschmidt Hero ===
   Hero verhält sich wie alle anderen Widget-Wrapper: max-width 1140 mit
   Padding aus widget-content-width.css. Kein Full-Bleed-Trick — die Hero
   fluchtet bündig mit Section-Heading, Sticky-Cards, Post-Loop usw. */
.bs-hero {
  font-family: "Funnel Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}
.bs-hero__container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}
.bs-hero--align-center .bs-hero__container { align-items: center; text-align: center; }
.bs-hero--align-right  .bs-hero__container { align-items: flex-end;  text-align: right;  }

.bs-hero__eyebrow {
  display: block;
  font-family: "Funnel Sans", sans-serif;
  font-size: 13px;
  color: #0077C8;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.bs-hero__title {
  margin: 0;
  font-family: "Funnel Sans", sans-serif;
  font-size: clamp(30px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #0077C8;
  max-width: 1100px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.bs-hero__description {
  margin: 18px 0 0;
  font-family: "Funnel Sans", sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  color: #3A4A5E;
  max-width: 760px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.bs-hero__buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Bild-Slot — sitzt unterhalb des Inhalts im Hero-Container, volle Breite. */
.bs-hero__image {
  margin-top: 48px;
  width: 100%;
}
.bs-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.bs-hero--align-center .bs-hero__container .bs-hero__buttons { justify-content: center; }
.bs-hero--align-right  .bs-hero__container .bs-hero__buttons { justify-content: flex-end; }

.bs-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: "Funnel Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.bs-hero__btn:hover {
  transform: translateY(-1px);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Blau (gefüllt) */
.bs-hero__btn--primary {
  background: #0077C8;
  border-color: #0077C8;
  color: #FFFFFF;
}
.bs-hero__btn--primary:hover {
  background: #00497C;
  border-color: #00497C;
  color: #FFFFFF;
}

/* Grün (gefüllt) */
.bs-hero__btn--accent {
  background: #4DAD39;
  border-color: #4DAD39;
  color: #FFFFFF;
}
.bs-hero__btn--accent:hover {
  background: #39812A;
  border-color: #39812A;
  color: #FFFFFF;
}

/* Outline — weiß mit blauem Rand und Text, Hover: blau gefüllt mit weißem Text */
.bs-hero__btn--outline {
  background: #FFFFFF;
  border-color: #0077C8;
  color: #0077C8;
}
a.bs-hero__btn--outline:hover,
a.bs-hero__btn--outline:focus {
  background: #0077C8 !important;
  border-color: #0077C8 !important;
  color: #FFFFFF !important;
}

/* Sicherheit: Text bei Hover IMMER weiß auf allen Hero-Buttons */
a.bs-hero__btn--primary:hover,
a.bs-hero__btn--accent:hover {
  color: #FFFFFF !important;
}

.bs-hero__btn-arrow {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Mobile — Vertikales Padding bleibt hier; Horizontales Padding kommt
   aus widget-content-width.css (auf .bs-hero), nicht auf .bs-hero__container. */
@media (max-width: 767px) {
  .bs-hero { padding-top: clamp(32px, 8vw, 64px); padding-bottom: clamp(32px, 8vw, 64px); }
  .bs-hero__title { font-size: clamp(28px, 8vw, 40px); line-height: 1.15; }
  .bs-hero__description { font-size: 16px; line-height: 1.55; margin-top: 14px; }
  .bs-hero__buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
  .bs-hero__btn {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    min-height: 48px;
  }
}
@media (max-width: 480px) {
  .bs-hero__eyebrow { font-size: 12px; margin-bottom: 10px; }
  .bs-hero__title { font-size: 26px; }
}
