/* Gemeinsame Navigation, unabhängig von den alten Bootstrap-Menüstilen. */
#fh5co-header.wb-header {
    color: #20382c;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #e3ebe5;
    box-shadow: 0 4px 24px rgba(23, 53, 35, .06);
    font-family: Lato, Arial, sans-serif;
}
.wb-header *, .wb-header *::before, .wb-header *::after { box-sizing: border-box; }
.wb-header-container { width: min(1200px, 100%); margin: 0 auto; padding: 0 28px; }
.wb-header-contact { background: #f3f7f3; border-bottom: 1px solid #e8eee8; }
.wb-header-contact .wb-header-container { display: flex; justify-content: flex-end; align-items: center; gap: 24px; height: 32px; }
.wb-header-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #52665a; text-decoration: none; }
.wb-header-contact i { color: #218421; }
.wb-header-contact a:hover { color: #196d27; }
.wb-header-main { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
/* Das Logo liegt über dem Seiteninhalt und beeinflusst die Zeilenhöhe nicht. */
.wb-header-brand { position: absolute; z-index: 2; top: 4px; left: 28px; display: inline-flex; align-items: center; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(32, 32, 32, .12), 0 2px 3px rgba(32, 32, 32, .10), 0 8px 16px rgba(32, 32, 32, .16), 0 18px 32px rgba(32, 32, 32, .18); }
/* Eine feine Innenkante verleiht der unveränderten Grafik eine App-Icon-Fassung. */
.wb-header-brand::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 1px solid rgba(32, 32, 32, .08); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .95), inset 0 -3px 5px rgba(32, 32, 32, .08); }
.wb-header-brand img { display: block; width: 96px; height: 96px; border-radius: inherit; }
.wb-header-nav { margin-left: auto; }
.wb-header ul { list-style: none; padding: 0; margin: 0; }
.wb-header-links { display: flex; align-items: center; gap: 8px; }
.wb-header-dropdown { position: relative; }
.wb-header-dropdown summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 700; line-height: 20px; list-style: none; transition: background .15s, color .15s; }
.wb-header-dropdown summary::-webkit-details-marker { display: none; }
.wb-header-dropdown summary:hover, .wb-header-dropdown[open] summary { background: #edf5ed; color: #196d27; }
.wb-header-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.wb-header-dropdown[open] .wb-header-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.wb-header ul.wb-header-panel { position: absolute; top: calc(100% + 12px); left: 0; min-width: 248px; padding: 8px; border: 1px solid #e1e9e2; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(23, 53, 35, .12); }
.wb-header-panel a { display: block; padding: 11px 14px; border-radius: 6px; color: #30483a; font-size: 14px; line-height: 20px; text-decoration: none; transition: background .15s, color .15s; }
.wb-header-panel a:hover, .wb-header-panel a[aria-current="page"] { background: #edf5ed; color: #196d27; }
.wb-header-dropdown.wb-header-current > summary { color: #196d27; }
.wb-header-login-item { margin-left: 14px; }
.wb-header-login { display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 20px; border-radius: 8px; background: #218421; color: #fff; font-size: 14px; font-weight: 700; line-height: 20px; text-decoration: none; box-shadow: 0 3px 10px #21842118; transition: background .15s; }
.wb-header-login:hover, .wb-header-login:focus { background: #196d19; color: #fff; text-decoration: none; }
.wb-header a:focus-visible, .wb-header summary:focus-visible, .wb-header button:focus-visible { outline: 3px solid #218421; outline-offset: 3px; }
.wb-header-toggle { display: none; }
@media (max-width: 850px) {
    .wb-header-container { padding: 0 20px; }
    .wb-header-contact .wb-header-container { justify-content: center; gap: 12px; padding: 0 12px; }
    .wb-header-contact a { font-size: 13px; gap: 6px; }
    .wb-header-main { flex-wrap: wrap; gap: 0; }
    .wb-header-brand { left: 20px; border-radius: 20px; }
    .wb-header-brand img { width: 80px; height: 80px; }
    .wb-header.is-enhanced .wb-header-toggle { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; padding: 12px 14px; border: 1px solid #dce6dd; border-radius: 8px; background: #fff; color: #20382c; font: 700 14px/20px Lato, Arial, sans-serif; cursor: pointer; }
    .wb-header-toggle-icon { position: relative; width: 18px; height: 2px; background: currentColor; }
    .wb-header-toggle-icon::before, .wb-header-toggle-icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
    .wb-header-toggle-icon::before { top: -6px; }
    .wb-header-toggle-icon::after { top: 6px; }
    .wb-header-toggle[aria-expanded="true"] .wb-header-toggle-icon { background: transparent; }
    .wb-header-toggle[aria-expanded="true"] .wb-header-toggle-icon::before { top: 0; transform: rotate(45deg); }
    .wb-header-toggle[aria-expanded="true"] .wb-header-toggle-icon::after { top: 0; transform: rotate(-45deg); }
    .wb-header-nav { width: 100%; max-height: calc(100dvh - 100px); overflow-y: auto; border-top: 1px solid #e8eee8; }
    .wb-header.is-enhanced .wb-header-nav { display: none; position: absolute; left: 0; top: 100%; padding: 8px 20px 20px; background: #fff; box-shadow: 0 16px 24px #17352312; }
    .wb-header.is-enhanced .wb-header-nav.is-open { display: block; }
    .wb-header-links { display: block; padding: 8px 0 !important; }
    .wb-header-links > li + li { margin-top: 4px; }
    .wb-header-dropdown summary { padding: 14px 12px; }
    .wb-header ul.wb-header-panel { position: static; min-width: 0; margin: 4px 0 10px; padding: 4px 8px; border: 0; border-left: 2px solid #d9e9da; border-radius: 0; box-shadow: none; }
    .wb-header-login-item { margin-left: 0; padding-top: 12px; }
    .wb-header-login { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .wb-header * { transition: none !important; }
}
