
/* Footer and navigation refinement, 2026-10-15. */
body #site-navigation a::before { content: none !important; display: none !important; }
body #site-navigation a { transition: color .18s ease, background-color .18s ease !important; text-decoration: none !important; }
body #site-navigation .main-menu > ul > li > a { border-radius: 22px !important; margin: 4px 2px !important; padding: 10px 18px !important; color: #183645 !important; background: transparent !important; }
body #site-navigation .main-menu > ul > li:hover > a,
body #site-navigation .main-menu > ul > li:focus-within > a,
body #site-navigation .main-menu > ul > li.current-menu-item > a,
body #site-navigation .main-menu > ul > li.current-menu-ancestor > a { background: #e5f4fb !important; color: #126488 !important; }
body #site-navigation a:focus-visible { outline: 2px solid #126488 !important; outline-offset: 2px; }
body #site-navigation ul.sub-menu { background: #fff !important; border: 1px solid #dcebf1 !important; border-radius: 12px; padding: 6px !important; box-shadow: 0 12px 32px #123e5626 !important; }
body #site-navigation ul.sub-menu > li { background: transparent !important; }
body #site-navigation ul.sub-menu > li > a,
body #site-navigation ul.sub-menu > li > a:hover,
body #site-navigation ul.sub-menu > li > a:focus { padding: 10px 14px !important; margin: 0 !important; border-radius: 7px !important; color: #183645 !important; white-space: normal; line-height: 1.5; }
body #site-navigation ul.sub-menu > li:hover > a,
body #site-navigation ul.sub-menu > li:focus-within > a { background: #e5f4fb !important; color: #126488 !important; }
body #site-navigation li:focus-within > ul { display: block; }
body footer #footer { background: #123747 !important; border-top: 4px solid #2f9ecd; padding: 38px 20px 30px !important; color: #dceaf0; }
body #footer > .container { max-width: 1140px; }
body #footer .row { display: flex !important; flex-direction: column; align-items: center; gap: 22px; margin: 0 !important; }
body #footer .footer-block { width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; padding: 0 !important; text-align: center !important; }
body #footer .footer-block:nth-child(2), body #footer .footer-block:nth-child(3) { display: none !important; }
body #footer .footer-block:first-child { order: 2; border-top: 1px solid #ffffff24; padding-top: 22px !important; font-size: 13px; color: #c4d6df !important; }
body #footer .footer-block:last-child { order: 1; }
body #footer .widget { padding: 0 !important; margin: 0 !important; }
body #footer #menu-footer-menu { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 8px 12px; padding: 0 !important; margin: 0 !important; }
body #footer #menu-footer-menu li { list-style: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
body #footer #menu-footer-menu li::before { display: none !important; content: none !important; }
body #footer #menu-footer-menu a { display: inline-block; padding: 9px 14px !important; border-radius: 8px; text-decoration: none !important; color: #f0f7fa !important; font-size: 14px; line-height: 1.5; transition: background-color .18s ease, color .18s ease; }
body #footer #menu-footer-menu a:hover, body #footer #menu-footer-menu a:focus-visible { background: #ffffff16 !important; color: #83d9ff !important; }
body #footer #menu-footer-menu .sub-menu { margin: 0 !important; padding: 0 !important; }
body #footer #menu-footer-menu .sub-menu a { padding: 2px 14px 7px !important; color: #bdd1dd !important; font-size: 12px; }
body footer > .footer:empty { display: none !important; }
@media (prefers-reduced-motion: reduce) { body #site-navigation a, body #footer a { transition: none !important; } }
@media (max-width: 991px) {
 body #site-navigation .main-menu > ul > li > a { margin: 2px 6px !important; padding: 10px 14px !important; border-radius: 7px !important; }
 body #site-navigation ul.sub-menu { border: 0 !important; box-shadow: none !important; padding-left: 12px !important; }
 body #site-navigation ul.sub-menu > li > a { color: #183645 !important; }
 body #footer #menu-footer-menu { gap: 5px; }
 body footer #footer { padding: 28px 14px 24px !important; }
}

body #footer .footer-block:first-child .widget { text-align: center !important; color: #c4d6df !important; }

/* Modern header paired with the navy footer. */
body > header { border-bottom: 3px solid #2f9ecd; box-shadow: 0 4px 22px #12374712; background: #123747; }
body header .home-page-header, body header .topbar { background: #123747 !important; }
body header .topbar { padding: 19px 0 !important; }
body header .topbar > .container { max-width: 1180px; padding-inline: 24px; }
body header .logo { text-align: left; }
body header .logo p.site-title { margin: 0 !important; line-height: 1.25; }
body header .logo p.site-title a, body header .logo p.site-title a:hover { color: #fff !important; font-size: 25px; font-weight: 700; letter-spacing: -.6px; text-decoration: none; }
body header .logo p.site-title a::after { content: 'PRÜF- & MISCHTECHNIK'; display: block; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #98ccdf; margin-top: 7px; }
@media (min-width: 992px) {
 body header .topbar > .container > .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 32px; }
 body header .topbar > .container > .row > :first-child { flex: 0 0 auto; width: auto; padding-bottom: 0 !important; }
 body header .topbar > .container > .row > :nth-child(2) { flex: 0 1 auto; width: auto; margin-left: auto; }
 body header .topbar > .container > .row > .myaccount-icon:empty { display: none; }
 body #site-navigation, body #site-navigation .main-menu, body #site-navigation ul#menu-hauptmenu { background: transparent !important; border: 0; box-shadow: none; }
 body #site-navigation ul#menu-hauptmenu { display: flex; align-items: center; gap: 4px; border-radius: 0; padding: 0 !important; }
 body #site-navigation .main-menu > ul > li > a { color: #e8f2f7 !important; border-radius: 8px !important; margin: 0 !important; padding: 11px 16px !important; }
 body #site-navigation .main-menu > ul > li:hover > a, body #site-navigation .main-menu > ul > li:focus-within > a,
 body #site-navigation .main-menu > ul > li.current-menu-item > a, body #site-navigation .main-menu > ul > li.current-menu-ancestor > a { background: #ffffff14 !important; color: #8edbfb !important; }
 body #site-navigation .main-menu > ul > li > a::after { color: currentColor !important; }
 body #site-navigation a:focus-visible { outline-color: #8edbfb !important; }
}
@media (max-width: 991px) {
 body header .topbar { padding: 16px 0 !important; }
 body header .topbar > .container > .row { display: flex; align-items: center; flex-wrap: nowrap; }
 body header .topbar > .container > .row > :first-child { width: auto !important; flex: 1; padding-bottom: 0 !important; }
 body header .topbar > .container > .row > :nth-child(2) { width: auto !important; flex: 0 0 44px; }
 body header .topbar > .container > .row > .myaccount-icon { display: none; }
 body header .logo p.site-title a { font-size: 22px; }
 body header .logo p.site-title a::after { font-size: 9px; letter-spacing: 1.5px; }
 body header .toggle-nav { margin: 0 !important; padding: 0 !important; }
 body header .toggle-nav button { background: #ffffff14 !important; color: #fff !important; border: 1px solid #ffffff30; border-radius: 9px; padding: 10px 12px !important; }
}

body header .menu-section { background: transparent !important; border-radius: 0; box-shadow: none; }

@media (min-width: 992px) {
 body #site-navigation .main-menu > ul > li.menu-item-has-children > a::after { content: '\2304' !important; position: static !important; display: inline-block; font-family: inherit !important; font-size: 14px; padding: 0 !important; margin: 0 0 0 7px !important; transform: none !important; width: auto; height: auto; }
}

body header .topbar .myaccount-icon { display: none !important; }

body header .menu-section { background: transparent !important; border-radius: 0; box-shadow: none; }
