/* 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; }}

/* Keep the existing privacy-settings control in document flow, not over text. */
body .cmplz-manage-consent.cmplz-show {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: max-content !important;
  max-width: calc(100% - 40px) !important;
  height: auto !important;
  min-height: 44px;
  margin: 16px auto !important;
}

/* Legal-page titles fit the narrow viewport without breaking a word. */
@media(max-width:767px){
  body.page-id-184 .entry-header h1, body.page-id-185 .entry-header h1 {
    font-size: clamp(27px, 7vw, 32px);
    line-height: 1.2;
  }
}
