/* FBBT 0.10.57 – persistent fixed header and bottom navigation in app mode only. */
html.fbbt-app-interface {--fbbt-ui-bg:#0c1630;--fbbt-ui-panel:#172a4a;--fbbt-ui-text:#f4f7ff;--fbbt-ui-accent:#e7ff27;scroll-padding-top:calc(86px + env(safe-area-inset-top,0px))}
html.fbbt-app-interface body{
 padding-top:calc(66px + env(safe-area-inset-top,0px) + var(--fbbt-site-padding-top,0px))!important;
 padding-bottom:calc(88px + env(safe-area-inset-bottom,0px) + var(--fbbt-site-padding-bottom,0px))!important;
}
html.fbbt-app-interface .container-header,html.fbbt-app-interface #topmenu,html.fbbt-app-interface header#header,html.fbbt-app-interface #header .navbar,html.fbbt-app-interface .site-header{display:none!important}
.fbbt-unified-app-top,.fbbt-unified-app-bottom,.fbbt-unified-app-panel{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box;color:#f4f7ff}
.fbbt-unified-app-top *,.fbbt-unified-app-bottom *,.fbbt-unified-app-panel *{box-sizing:border-box}
.fbbt-unified-app-top{position:fixed;top:0;left:0;right:0;z-index:1030;display:flex;align-items:center;gap:12px;padding:calc(9px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) 9px max(12px,env(safe-area-inset-left,0px));min-height:calc(62px + env(safe-area-inset-top,0px));background:#10234a;border-bottom:2px solid #e7ff27;box-shadow:0 3px 12px #07132a70}
.fbbt-unified-app-top a,.fbbt-unified-app-bottom a,.fbbt-unified-app-panel a{color:#f4f7ff!important;text-decoration:none!important}
.fbbt-unified-app-mark,.fbbt-unified-app-home{display:flex;align-items:center;justify-content:center;min-width:43px;min-height:43px;background:#213960;border-radius:11px;font-size:1.35rem}
.fbbt-unified-app-home{margin-left:auto;font-size:1.6rem}
.fbbt-unified-app-heading{display:flex;flex-direction:column;gap:1px;min-width:0}
.fbbt-unified-app-heading strong{color:#fff;font-size:1rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fbbt-unified-app-heading span{color:#bfd2f3;font-size:.73rem}
.fbbt-unified-app-bottom{position:fixed;z-index:1031;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:7px max(6px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px));background:#10234a;border-top:2px solid #e7ff27;box-shadow:0 -7px 22px #07132a66}
.fbbt-unified-app-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:50px;background:transparent!important;border:0;border-radius:12px;color:#f4f7ff!important;text-decoration:none!important;cursor:pointer;font-family:inherit;padding:4px!important}
.fbbt-unified-app-link[aria-current="page"],.fbbt-unified-app-link[aria-expanded="true"]{background:#294971!important}
.fbbt-unified-app-link span{font-size:1.3rem;line-height:1.2}.fbbt-unified-app-link small{font-size:.7rem;font-weight:700;line-height:1.2;color:inherit}
.fbbt-unified-app-panel{position:fixed;bottom:calc(74px + env(safe-area-inset-bottom,0px));right:10px;z-index:1032;display:grid;gap:5px;width:min(320px,calc(100vw - 20px));max-height:60dvh;overflow:auto;padding:10px;background:#142747;border:1px solid #48638e;border-radius:16px;box-shadow:0 10px 40px #0008}
.fbbt-unified-app-panel[hidden]{display:none!important}.fbbt-unified-app-panel a{display:block;padding:12px 14px;border-radius:10px;background:#263e62;font-size:.9rem;font-weight:700}
.fbbt-unified-app-top :focus-visible,.fbbt-unified-app-bottom :focus-visible,.fbbt-unified-app-panel :focus-visible{outline:3px solid #e7ff27;outline-offset:2px}
html.fbbt-app-interface .fbbt-app{padding-bottom:24px;border-radius:0;min-height:auto}
html.fbbt-app-interface .fbbt-app__bottom{display:none!important}
html.fbbt-app-interface .ab-ci-sticky{top:calc(67px + env(safe-area-inset-top,0px))}
html.fbbt-app-interface .com-auswaertsbuss:not(.fbbt-app){border-radius:16px;max-width:calc(100% - 16px);margin-inline:auto}
@media(min-width:900px){.fbbt-unified-app-top{padding-inline:max(24px,calc((100vw - 1100px)/2))}.fbbt-unified-app-bottom{width:min(600px,100%);left:50%;right:auto;transform:translateX(-50%);border:2px solid #e7ff27;border-bottom:0;border-radius:18px 18px 0 0}}

/* App-only diagnostic, shown if Joomla emits a www/non-www cross-origin link. */
.fbbt-app-host-warning{position:sticky;top:calc(62px + env(safe-area-inset-top,0px));z-index:1020;background:#fff3cd;color:#533900;padding:10px 14px;border:2px solid #db9a22;border-radius:8px;font:600 13px/1.45 system-ui,sans-serif;}

/* Accessibility, small screens and printing: navigation must never obscure actions. */
html.fbbt-app-interface .fbbt-unified-app-top,
html.fbbt-app-interface .fbbt-unified-app-bottom{visibility:visible!important;opacity:1!important}
.fbbt-unified-app-panel a[aria-current="page"]{background:#355887;border-left:3px solid #e7ff27}
.fbbt-unified-app-more[aria-current="page"]{background:#294971!important}
.fbbt-unified-app-heading{flex:1;min-width:0}
.fbbt-unified-app-home{margin-left:0}
@media(max-width:420px){
 .fbbt-unified-app-top{gap:8px}
 .fbbt-unified-app-mark,.fbbt-unified-app-home{min-width:40px;min-height:40px}
 .fbbt-unified-app-link small{font-size:.66rem}
 .fbbt-unified-app-link{min-height:54px}
}
@media print{
 .fbbt-unified-app-top,.fbbt-unified-app-bottom,.fbbt-unified-app-panel,.fbbt-app-host-warning{display:none!important}
 html.fbbt-app-interface body{padding-top:0!important;padding-bottom:0!important}
}

/* FBBT 0.10.60 – In der installierten App stets Stubbis-Zeichen statt Bus-Emoji. */
.fbbt-unified-app-mark .fbbt-unified-app-brand-icon{display:block;width:37px;height:37px;object-fit:contain}
.fbbt-unified-app-link .fbbt-unified-app-brand-nav-icon{display:block;width:26px;height:26px;object-fit:contain}
