/* Startseitenkorrektur: keine Auswirkungen auf Unterseiten. */
.awz-layout-korrektur .hero h1 { max-width: 100%; overflow-wrap: anywhere; }
.awz-layout-korrektur .hero h1 .word-lock,
.awz-layout-korrektur .hero h1 span { white-space: normal; }
.awz-layout-korrektur .hero-copy { min-width: 0; }
.awz-layout-korrektur .hero-copy > .button { max-width: 100%; white-space: normal; }
.awz-layout-korrektur .hero .secondary-routes { flex-wrap: wrap; }
.awz-layout-korrektur .image-frame.hero-media figcaption {
  right: 12px; bottom: 12px; max-width: calc(100% - 24px); white-space: normal;
}

/* Der Container übernimmt die Außenränder; kein zweiter Viewport-Abstand im Text. */
@media (min-width: 821px) {
  .awz-layout-korrektur .hero-grid {
    width: min(1180px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
    min-height: 0;
    align-items: center;
  }
  .awz-layout-korrektur .hero-copy { padding: 0; }
  .awz-layout-korrektur .hero-copy::before,
  .awz-layout-korrektur .hero-copy::after { display: none; }
  .awz-layout-korrektur .image-frame.hero-media { align-self: center; }
}

body.awz-layout-korrektur { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 18px; line-height: 1.62; }

/* AWZ: H1 wie scheidungshaeuser.de */
h1{font-family:Arial,Helvetica,sans-serif !important;font-weight:700 !important;letter-spacing:-0.034em;line-height:1.12;font-size:clamp(38px,3.7vw,53px) !important}
