/* A.G. Dienstleistungen 2.0.4: mobiles Menue und klare Rechtslinks.
   Nur auf den importierten Relaunch-Seiten aktiv. */
body.ag-relaunch-site .header .mobile-toggle {
  color:#0c4569 !important;background:#e8f5fd !important;
  border:1px solid #94c9e4 !important; box-shadow:none !important;
  border-radius:12px !important;min-width:76px !important;width:76px !important;
  height:48px !important;min-height:48px !important; padding:8px 9px !important;
  align-items:center !important;justify-content:center !important;gap:6px !important;
  font-family:Inter,"Segoe UI",system-ui,sans-serif!important;
  cursor:pointer;flex:0 0 auto;
}
body.ag-relaunch-site .header .ag-hamburger {
  display:flex !important;width:21px !important;height:17px !important;
  flex:0 0 21px; flex-direction:column !important;justify-content:space-between !important;
  opacity:1 !important;visibility:visible !important;position:static !important;
}
body.ag-relaunch-site .header .ag-hamburger>span {
  display:block !important;position:static !important;
  width:21px!important;height:2.5px!important;min-height:2.5px!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:3px !important;background:#0c4569 !important;
  opacity:1 !important;visibility:visible !important;transform:none !important;
}
body.ag-relaunch-site .header .ag-mobile-menu-text {
  font-size:12px!important;font-weight:800!important;line-height:1!important;
  color:#0c4569!important;letter-spacing:0!important;text-transform:none!important;
  display:inline-block!important;opacity:1!important;visibility:visible!important;
}
body.ag-relaunch-site .header .mobile-toggle:focus-visible {
  outline:3px solid #edb64a!important;outline-offset:2px!important;
}
body.ag-relaunch-site .header .mobile-menu {
  background:#fff!important;box-shadow:0 16px 35px rgba(9,43,66,.14);
  z-index:101;
}
body.ag-relaunch-site .header .mobile-menu a {
  color:#123651!important; font-size:1rem!important;
  padding:12px 8px!important;min-height:45px;display:flex;align-items:center;
  text-decoration:none!important;
}
body.ag-relaunch-site .header .mobile-menu a:last-child,
body.ag-relaunch-site .header .mobile-menu a:nth-last-child(2){
  font-size:.92rem!important;color:#176e9d!important;
}
body.ag-relaunch-site .foot-bottom .ag-legal-links {
  display:inline-flex!important;align-items:center;gap:10px;flex-wrap:wrap;
}
body.ag-relaunch-site .foot-bottom .ag-legal-links a {
  color:#e1edf5!important;font-size:.91rem!important;
  font-weight:650!important;text-decoration:underline!important;text-underline-offset:3px;
}
body.ag-relaunch-site .foot-bottom .ag-legal-links a:hover,
body.ag-relaunch-site .foot-bottom .ag-legal-links a:focus-visible{color:#fff!important}
@media(min-width:961px){body.ag-relaunch-site .header .mobile-toggle {display:none!important}}
@media(max-width:960px){
  body.ag-relaunch-site .header .mobile-toggle {display:inline-flex!important}
  body.ag-relaunch-site .header .mobile-menu{display:none!important}
  body.ag-relaunch-site .header .mobile-menu.open{display:grid!important;max-height:calc(100dvh - 160px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:620px){
  body.ag-relaunch-site .header .header-bar{gap:8px!important}
  body.ag-relaunch-site .header .logo-real {width:min(190px,55vw)!important;max-width:55vw!important}
  body.ag-relaunch-site .header .logo-real img.ag-uploaded-logo {max-width:100%!important;height:auto!important}
  body.ag-relaunch-site #CookiebotWidget {bottom:calc(87px + env(safe-area-inset-bottom))!important}
  body.ag-relaunch-site .foot-bottom{gap:14px;align-items:flex-start}
  body.ag-relaunch-site .foot-bottom .ag-legal-links{gap:7px}
}
@media(max-width:350px){
  body.ag-relaunch-site .header .logo-real{width:165px!important;max-width:53vw!important}
  body.ag-relaunch-site .header .mobile-toggle{width:70px!important;min-width:70px!important;gap:4px!important}
}

/* Schmale Smartphones: Vorteile untereinander statt 2 Spalten mit Überlauf. */
@media(max-width:380px){
  body.ag-relaunch-site .ag-page .strip-grid{grid-template-columns:minmax(0,1fr)!important}
  body.ag-relaunch-site .ag-page .strip-item{min-width:0!important;
    padding:12px 20px!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.18)}
  body.ag-relaunch-site .ag-page .strip-item>div{min-width:0!important}
  body.ag-relaunch-site .ag-page .strip-item b,body.ag-relaunch-site .ag-page .strip-item span{overflow-wrap:anywhere}
}
