/* Keep the localized homepage navigation in the text column. Its type, color,
   spacing and responsive grid come from theme-navigation.css. */
.section-topic-host {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 100%;
  margin-block-end: clamp(1rem, 2vw, 1.65rem);
  text-align: start;
}
.section-topic-host .mhb-topic { min-width: 0; }
.section-topic-host .mhb-topic-trigger span { white-space: nowrap; }
.bav-page .hero-grid:has(.section-topic-host) {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 4rem);
  width: var(--mhb-header-width);
  padding: clamp(1.6rem, 4vw, 4rem) 0;
}
.bav-page .hero-grid:has(.section-topic-host) .hero-copy { width: 100%; padding: 0; }
.bav-page .hero-grid:has(.section-topic-host) .hero-art {
  position: static;
  justify-self: end;
  width: min(78%, 420px);
  height: auto;
  max-height: 42svh;
  opacity: 1;
  filter: none;
  transform: none !important;
}
.bav-page .hero-art path{fill:#b5a8c4}.bav-page .hero-art path:nth-child(2){fill:#a496b2}.bav-page .hero-art path:nth-child(3){fill:#c4b8ce}
body.bav-page[data-mhb-transparent-top] .hero[data-mhb-first]::before{background:linear-gradient(108deg,#faf9f4 8%,#f2eef4 53%,#e6e1ef);inset-block-start:calc(-1 * var(--mi-layout-height,120px))}
.bav-page[data-mhb-transparent-top] :is(.mi-header-placeholder,#mhb-header:not(.mi-ready)){background:linear-gradient(108deg,#faf9f4 8%,#f2eef4 53%,#e6e1ef)}
.bav-page .hero-copy .line-2{font-family:Georgia,serif;font-style:italic;font-weight:400;color:#675777}
.bav-page .hero-copy .hero-kicker a,.bav-page .bv-title .bv-kicker a{text-decoration:underline;text-underline-offset:.2em;color:inherit}
.bav-page .hero-copy .btn-dark{background:#534660;color:#fff}
.bav-page .hero-copy .hero-kicker,.bav-page .hero-copy .hero-lead{color:#514e56}
.bav-page .hero-copy h1{color:#323138}
.bav-page .bv-title .bav-path{font-size:.92rem;margin:0 0 .65rem}
.bav-page .bav-path a{text-decoration:underline;text-underline-offset:.25em;color:inherit}
.bav-page .bav-nav-questions{margin-top:1.75rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:4%}
.bav-page .bav-nav-questions a{border-top:1px solid #b8b2bc;display:grid;align-content:center;gap:.25rem;padding:.85rem 0;text-decoration:none;color:#37343d;line-height:1.3}
.bav-page .bav-nav-questions a:hover strong{text-decoration:underline;text-underline-offset:.23em}
.bav-nav-questions strong{font-size:clamp(1.02rem,1.38vw,1.38rem)}.bav-nav-questions small{color:#5d5862;font-size:.95rem}
.bav-page .funding-examples{background:#f2eff5;color:#38313e;margin:1.4rem 0;padding:clamp(1rem,3vw,2.4rem);scroll-margin-top:calc(var(--mi-layout-height,120px) + 12px)}
.funding-examples .graphic-kicker{font-size:.85rem;font-weight:650;letter-spacing:.08em;text-transform:uppercase}.funding-examples h3{margin:.5rem 0 1rem}
.funding-examples .pension-slips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:1rem 0;border-block:1px solid #c4b9cf;padding:1rem 0}
.funding-examples .pension-slip{display:flex;flex-direction:column;align-items:start}.funding-examples h4{margin:0}.funding-examples .slip-rule{font:400 clamp(2.4rem,4vw,4rem)/1.2 Georgia,serif;color:#58446c}
.funding-examples .slip-total{margin-top:auto;display:grid;font-size:.94rem}.funding-examples summary,.bav-variants summary{cursor:pointer;font-weight:600;min-height:44px;padding-block:.65rem}
.bav-page .funding-examples .graphic-detail{margin-top:.7rem}.funding-examples a,.pension-return,.model-entry a{text-decoration:underline;text-underline-offset:.25em}
.model-entry{padding-block:.8rem}.feature-tile .benefit-crosslinks{display:grid;justify-items:start;gap:.55rem;margin-top:auto}.feature-tile .benefit-crosslinks a{margin:0}.benefit-crosslinks a+a{font-size:.95rem}
@media (max-width: 760px) {
  .bav-page .hero-grid:has(.section-topic-host) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0 3.8rem;
  }
  .bav-page .hero-grid:has(.section-topic-host) .hero-art {
    width: min(28%, 8rem);
    max-height: 8rem;
  }
  .bav-page .bav-nav-questions, .funding-examples .pension-slips { grid-template-columns: 1fr; }
}
@media (max-height: 650px) {
  .section-topic-host .mhb-topic-nav[data-direct-topics] { margin-top: 20px; }
  .section-topic-host [data-direct-topics] .mhb-topic-trigger { min-height: 44px; padding-block: 8px; }
}
@media print{.section-topic-host{display:none}}
/* Let a direct link land on the model graphic inside its chapter. */
html:has(#zuschussmodelle:target){scroll-snap-type:none!important;scroll-behavior:auto!important}
.bav-page #zuschussmodelle{scroll-margin-block-start:12px}
.pkv-page .pkv-hero:has(.section-topic-host){overflow-x:clip;overflow-y:visible}
