:root{
  --bvbm-green:#008080;
  --bvbm-orange:#EF7D00;
  --bvbm-grey:#C4C4C4;
  --content-max:1240px;
}

nav.breadcrumb{padding-bottom:10px;}

/* --- Überschriften-Hierarchie --- */

/* H2: klar, grün, unter H1 (24px), mit feiner Unterstreichung */
main h2{
  position: relative;
  display: inline-block;
  color: var(--bvbm-green);
  font-size: clamp(1.17rem, 1.7vw, 1.3rem);
  /* ~18.7px–20.8px → immer kleiner als H1 (24px) */
  line-height: 1.25;
  margin: 1.1rem 0 0.4rem 0;
  padding-bottom: .20rem;
  border-bottom: 2px solid var(--bvbm-green); /* etwas dünner */
}

/* Kein Scribble mehr */
main h2::after{
  content:none !important;
}

/* H3: deutlich unter H2, aber klar über Fließtext */
main h3{
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  /* grob 16.3–19px */
  line-height: 1.25;
  margin: 1.4rem 0 0.6rem;
}

/* H4 optional leicht kleiner als H3 */
main h4{
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.25;
  margin: 1.25rem 0 0.6rem;
}

/* Wenn direkt nach H2 ein H3/H4 kommt, nicht noch extra Luft oben */
main h2 + h3,
main h2 + h4{
  margin-top: 1.0rem;
}

/* Anker für Sprungmarken */
.bvbm-anker{
  display:block;
  height:0;
  line-height:0;
  scroll-margin-top: 114px;
}