/* Parent GeneratePress 3.6.1: OpenDesign-HTML in normalen WP-Seiten, ohne Child-Theme. */
body #masthead,
body #site-navigation,
body #colophon,
body footer.site-info,
body .widget-area { display: none !important; }
body.page:not(.page-id-184):not(.page-id-185) .entry-header { display: none !important; }
body.page #page,
body.page #content,
body.page #primary,
body.page #main,
body.page .inside-article,
body.page .entry-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
body.page #content { display: block; }
body.page #primary { float: none; }
body.page .site-main { margin: 0; }
body.page .entry-content { margin-top: 0; }
/* Rechtstexte bleiben unveränderte WP-Seiteninhalte, mit eigenem H1. */
body.page-id-184 #main, body.page-id-185 #main { padding: 140px var(--gutter) 88px; }
body.page-id-184 .inside-article, body.page-id-185 .inside-article { max-width: 1140px; margin-inline: auto; }
body.page-id-184 .entry-header, body.page-id-185 .entry-header,
body.page-id-184 .entry-content, body.page-id-185 .entry-content { max-width: 820px; }
body.page-id-184 .entry-header h1, body.page-id-185 .entry-header h1 { margin: 0 0 32px; }
body.page-id-184 .entry-content h2, body.page-id-185 .entry-content h2 { margin: 40px 0 16px; }
body.page-id-184 .entry-content p, body.page-id-185 .entry-content p { margin: 0 0 20px; }
@media(max-width:767px){body.page-id-184 #main, body.page-id-185 #main { padding-top: 112px; padding-bottom: 52px; }}

/* Schwaz prelaunch 2026-10-04: existing Complianz control in normal footer flow.
   Does not alter display/show state, consent categories, blocker, or handlers. */
#cmplz-manage-consent {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--surface-inverse, #181818);
}
#cmplz-manage-consent .cmplz-manage-consent {
  position: static !important;
  top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
  transform: none !important;
  float: none !important;
  margin: 0 auto !important;
  max-width: calc(100% - 32px);
  min-height: 44px;
  border-radius: 3px;
}
#cmplz-manage-consent .cmplz-manage-consent:focus-visible {
  outline: 3px solid var(--link-inverse, #7dbbff);
  outline-offset: -3px;
}

/* Legal headings: keep the long German title readable on 320px+ screens. */
@media (max-width: 767px) {
  body.page-id-184 .entry-header h1, body.page-id-185 .entry-header h1 {
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.2;
  }
  body.page-id-184 .entry-content h2, body.page-id-185 .entry-content h2 {
    font-size: clamp(23px, 6.5vw, 28px);
    line-height: 1.25;
  }
}
