/* ===========================
   Menü rechts neben dem Seitennamen
   =========================== */
.head-right .mod-menu li,
.head-right ul.menu li {
    display: inline-block !important;
    margin: 0;
    padding: 0;
}
.willkommen-modul {
    margin-top: -40px !important;
    padding-top: 0 !important;
}

.willkommen-modul h1,
.willkommen-modul h2,
.willkommen-modul h3 {
    margin-top: 0 !important;
}
.t3-mast-top,
.content-mast-top,
.t3-content-mast-top {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.willkommen-modul {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.t3-mainbody {
  padding-top: 0 !important;
}
.t3-masthead,
.masthead,
.t3-mainbody,
#t3-mainbody,
.mainbody,
.component,
#component {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* T3-Logo im Footer ausblenden */
.t3-footer .poweredby,
.t3-footer .t3-logo,
.t3-footer .t3-logo-small {
  display: none !important;
}

/* Footer-Menü waagerecht */
.t3-footer ul,
.t3-footer .nav {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}

.t3-footer li {
  display: inline-block !important;
}
.t3-footer img[src*="t3"],
.t3-footer a[href*="t3-framework"] {
  display: none !important;
}
.t3-footer .t3-logo {
  display: none !important;
}
.t3-footer .nav.menu li {
  display: inline-block !important;
  margin-right: 18px !important;
}

.t3-footer .nav.menu {
  display: block !important;
}
/* T3-Logo und Copyright ausblenden */
.t3-copyright,
.poweredby,
.t3-footer {
    display: none !important;
}

/* Footer-Menü zentrieren */
.footer .nav,
.t3-footer .nav {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 20px;
}

.footer .nav li,
.t3-footer .nav li {
    display: inline-block !important;
}

.footer .nav li a,
.t3-footer .nav li a {
    display: inline-block;
}