/* Ausschließlich Seiten mit neuem HTML-Layout (.jes-landing), nicht die bisherige Website. */
body.jes-html-page #main-header,
body.jes-html-page #top-header,
body.jes-html-page .et-l--header,
body.jes-html-page #main-footer,
body.jes-html-page #footer-bottom,
body.jes-html-page #et-footer-nav,
body.jes-html-page .et-l--footer,
body:has(.jes-landing) #main-header,
body:has(.jes-landing) #top-header,
body:has(.jes-landing) .et-l--header,
body:has(.jes-landing) #main-footer,
body:has(.jes-landing) #footer-bottom,
body:has(.jes-landing) #et-footer-nav,
body:has(.jes-landing) .et-l--footer {display:none!important;}
body.jes-html-page #page-container {padding-top:0!important;}
/* Neue gemeinsame Fußzeile: warmes Waldgrün und vertrautes Markencreme. */
.jes-landing .jes-site-footer {background:#1d2a23!important;color:#F6E6B8!important;}
.jes-landing .jes-site-footer .jes-footer-brand p,
.jes-landing .jes-site-footer .jes-footer-disclaimer {color:#F6E6B8!important;}
.jes-landing .jes-site-footer a,
.jes-landing .jes-site-footer .jes-legal-unlinked {color:#F6E6B8!important;}
.jes-landing .jes-site-footer a:hover,
.jes-landing .jes-site-footer a:focus-visible {color:#D9A63C!important;}
.jes-landing .jes-site-footer .jes-legal-unlinked {opacity:.70;cursor:default;}

/* Legacy footer strips can be ordinary Divi sections (not #main-footer). */
body:has(.jes-landing) .et_pb_section:has(a[href*="impressum"]):has(a[href*="datenschutz"]):not(:has(.jes-landing)),
body:has(.jes-landing) footer:has(a[href*="impressum"]):has(a[href*="datenschutz"]):not(.jes-site-footer):not(:has(.jes-landing)) {
  display: none !important;
}
