/* Nur die rechtlichen Fusszeilen; keine globalen Layout-/Farbregeln ueberschreiben. */
.justiz-legal-footer{clear:both;position:relative;z-index:1;box-sizing:border-box;text-align:center;padding:12px 16px 20px;margin-top:22px;color:#889bb1;font:400 11px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}
.justiz-legal-footer nav{display:flex;justify-content:center;align-items:center;gap:12px;font-size:12px;margin-bottom:7px}
.justiz-legal-footer a{color:#95c8ec;text-decoration:none}
.justiz-legal-footer a:hover{text-decoration:underline}
.justiz-legal-footer small{display:block;font-size:10px;opacity:.85}
.justiz-legal-footer a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
body:has(.app-shell) > .justiz-legal-footer{margin-left:250px}
.justiz-legal-footer--portal{margin-top:48px;padding:10px 16px 25px;border-top:1px solid #263c54}
body[data-theme=light] > .justiz-legal-footer{color:#475569}
body[data-theme=light] > .justiz-legal-footer a{color:#1d4d73}
@media(max-width:850px){body:has(.app-shell) > .justiz-legal-footer{margin-left:0}}
@media(max-width:480px){.justiz-legal-footer small{font-size:11px}}
@media print{.justiz-legal-footer{display:none!important}}

/* 30.10.2026: Login-Fix: genau eine Fusszeile, keine zweite Bildschirmhoehe.
   Statt min-height:100dvh plus zusaetzlichem Footer wachsen Main und Footer
   gemeinsam auf mindestens eine Bildschirmhoehe. Kein Scrollen bei normalem Platz,
   natuerliches Scrollen nur bei sehr kleinen Fenstern/Zoom. */
body.justiz-login-page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body.justiz-login-page > .auth-main{flex:1 0 auto;min-height:0;padding:18px 16px 0}
body.justiz-login-page > .justiz-legal-footer{flex:0 0 auto;margin:0;padding:5px 16px 11px}
body.justiz-login-page > .justiz-legal-footer nav{margin-bottom:4px}
body.justiz-login-page > .justiz-legal-footer small{font-size:10px}
