/* Shared public page shell; loaded after the legacy page styles. */
.si-site-header { background: #fff; border-bottom: 1px solid #cbd8cf; }
.si-site-header-inner { max-width: 1120px; margin: 0 auto; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.si-site-brand { display: flex; flex: 0 0 auto; align-items: center; min-height: 50px; border: 0; }
.si-site-brand img { display: block; width: 220px; height: 50px; max-width: 100%; }
body .si-site-header #nav { position: static; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: stretch; gap: 6px; width: auto; margin: 0; padding: 0; font-size: 15px; text-shadow: none; }
body .si-site-header #nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 10px; border: 1px solid transparent; border-radius: 6px; background: #fff; color: #164e36; font: 700 15px/1.35 Arial, Helvetica, sans-serif; text-align: center; text-decoration: none; }
body .si-site-header #nav a:hover { background: #f0f6f2; border-color: #8aa79a; }
body .si-site-header #nav a[aria-current] { background: #e7f1eb; border-color: #83a492; text-decoration: underline; text-underline-offset: 4px; }
.si-site-skip { position: absolute; top: 8px; left: 12px; z-index: 2000; padding: 12px 16px; min-height: 44px; background: #fff; color: #164e36; border: 2px solid #164e36; font-size: 16px; font-weight: 700; transform: translateY(-160%); }
.si-site-skip:focus { transform: translateY(0); }
body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #175ac6 !important; outline-offset: 3px; }
body :is(#content, #hauptinhalt):focus { outline: 3px solid #175ac6 !important; outline-offset: 3px; }
body :is(#content, #hauptinhalt) { scroll-margin-top: 12px; }
body:not(.si-home) div#wrapper { min-height: 0; }
body:not(.si-home) div#content { margin-top: 0; }
footer.sk-site-footer .sk-site-footer-brand p { max-width: 65ch; font-size: 15px; line-height: 1.6; }
footer.sk-site-footer .sk-site-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
footer.sk-site-footer .sk-site-footer-links h2 { margin: 0 0 4px; font-size: 16px; line-height: 1.5; text-decoration: none; color: #17251d; }
footer.sk-site-footer .sk-site-footer-links a { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; padding: 8px 0; border-bottom: 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
footer.sk-site-footer .sk-site-footer-links a:hover { text-decoration: underline; }
footer.sk-site-footer .sk-site-footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
footer.sk-site-footer .sk-site-footer-bottom { font-size: 14px; line-height: 1.5; }
.si-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body #dialog.si-image-dialog { position: fixed; inset: 0 !important; width: fit-content; max-width: calc(100% - 24px); max-height: calc(100% - 24px); margin: auto; padding: 68px 12px 12px; overflow: auto; background: #fff; color: #17251d; border: 1px solid #8aa79a; border-radius: 8px; }
body #dialog.si-image-dialog::backdrop { background: rgb(15 23 42 / 65%); }
body #dialog.si-image-dialog #dialogcontent img { display: block; max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
body .sk-cookie-notice { position: static; width: min(1120px, calc(100% - 28px)); margin: 16px auto; font-size: 14px; line-height: 1.5; }
body .sk-cookie-notice button { min-height: 44px; min-width: 44px; flex-shrink: 0; font-size: 14px; }
@media (max-width: 1150px) { .si-site-header-inner { margin: 0 14px; } }
@media (max-width: 1000px) {
    .si-site-header-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    body .si-site-header #nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 4px; }
    body .si-site-header #nav a { padding: 8px 4px; font-size: 14px; }
}
@media (max-width: 540px) {
    footer.sk-site-footer .sk-site-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    body .sk-cookie-notice { align-items: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .si-site-header, .si-site-skip, .sk-cookie-notice { display: none !important; } }
