
  /* Hide slogan as in original */
  #header h2.slogan {
    display: none;
  }

  /* ---------- Base Navbar ---------- */
  .navbar {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .navbar>ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 12px;
  }

  .navbar>ul>li {
    position: relative;
  }

  .navbar a {
    text-decoration: none;
  }

  /* ---------- Mega Menu (Desktop) ---------- */
  .mega-menu-parent {
    position: static;
  }

  .mega-menu {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background-color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s ease;
    z-index: 99999;
    border-top: 3px solid #2487ce;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    pointer-events: none;
    margin-top: 25px;
  }

  .navbar ul>li.mega-menu-parent:hover>.mega-menu,
  .mega-menu.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mega-menu-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 15px;
  }

  .mega-menu-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
  }

  .mega-menu-column {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
  }

  .mega-menu-section {
    margin-bottom: 20px;
  }

  .mega-menu-section h3 {
    font-size: 18px;
    color: #2487ce !important;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
  }

  .mega-menu-section h3 i {
    margin-right: 8px;
  }

  .mega-menu-section ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mega-menu-section ul li {
    margin-bottom: 15px;
    padding: 0;
  }

  .mega-menu-section ul li:before {
    display: none;
  }

  .mega-link {
    color: #444;
    font-weight: 600;
    display: block;
    transition: all .3s ease;
    text-decoration: none;
  }

  .mega-link:hover {
    color: #2487ce;
    padding-left: 5px;
  }

  .mega-link i {
    color: #2487ce;
    margin-right: 5px;
  }

  .mega-menu-section ul li p {
    margin: 5px 0 0 25px;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
  }

  /* ---------- Desktop only visibility for main UL (mobile gets drawer) ---------- */
  @media (max-width: 1200px) {
    .navbar>ul {
      display: none;
    }

    /* hide desktop menu on small screens */
    .mega-menu {
      display: none !important;
    }

    /* no desktop hover menu on mobile */
  }

  /* ---------- Specificity fixes kept from original ---------- */
  body header .container .navbar .mega-menu-parent .mega-menu .mega-menu-container .mega-menu-row .mega-menu-column .mega-menu-section ul {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    transform: none !important;
  }

  body header .container .navbar .mega-menu-parent .mega-menu .mega-menu-container .mega-menu-row .mega-menu-column .mega-menu-section ul li {
    display: block !important;
    width: auto !important;
    min-width: auto !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
  }

  body header .container .navbar .mega-menu-parent .mega-menu .mega-menu-container .mega-menu-row .mega-menu-column .mega-menu-section ul li a {
    display: block !important;
    padding: 0 !important;
  }

  body header .container .navbar .mega-menu-parent .mega-menu .mega-menu-container .mega-menu-row .mega-menu-column .mega-menu-section ul li p {
    display: block !important;
    margin: 5px 0 0 25px !important;
    padding: 0 !important;
  }

  /* ============================================================
     NEW MOBILE NAV CONCEPT: "Focus Drawer" (accessible off-canvas)
     - Large, tappable items
     - Built-in accordion for mega sections
     - Sticky action row for quick contact
     ============================================================ */

  /* Toggle button (replaces old .mobile-nav-toggle) */
  .mobile-menu-button {
    display: none;
    background: #333333;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    line-height: 0;
    cursor: pointer;
  }

  .mobile-menu-button:focus {
    outline: 2px solid #444444;
    outline-offset: 2px;
  }

  @media (max-width: 1200px) {
    .mobile-menu-button {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
  }

  /* Drawer + overlay */
  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
    z-index: 100000;
  }

  .drawer {
    position: fixed;
    inset: 0 0 0 auto;
    /* right side */
    width: 88vw;
    max-width: 420px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 100001;
    display: flex;
    flex-direction: column;
  }

  .drawer.open {
    transform: translateX(0);
  }

  .drawer-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
  }

  .drawer-title {
    font-size: 18px;
    font-weight: 700;
  }

  .drawer-close {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
  }

  .drawer-content {
    padding: 8px 12px 90px;
    /* leave space for sticky action row */
    overflow-y: auto;
  }

  .drawer-nav a,
  .drawer-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    border-radius: 10px;
  }

  .drawer-nav a:hover,
  .drawer-accordion-summary:hover {
    background: #f6f9fe;
  }

  .chevron {
    transition: transform .2s ease;
    margin-left: 12px;
    font-size: 16px;
  }

  .accordion.open .chevron {
    transform: rotate(180deg);
  }

  .drawer-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding-left: 8px;
  }

  .accordion.open .drawer-accordion-panel {
    max-height: 1200px;
    /* enough to show content */
  }

  .drawer-accordion-panel ul {
    list-style: none;
    padding: 6px 6px 10px 6px;
    margin: 0;
  }

  .drawer-accordion-panel li {
    margin: 8px 0;
  }

  .drawer-accordion-panel a {
    display: block;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px;
  }

  .drawer-accordion-panel a:hover {
    background: #f2f6ff;
    color: #2487ce;
  }

  .drawer-accordion-panel p {
    margin: 4px 0 0 12px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
  }

  /* Sticky action row (quick actions) */
  .drawer-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 88vw;
    max-width: 420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 100002;
  }

  .drawer-actions a {
    text-align: center;
    padding: 12px 10px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
  }

  .btn-primary {
    background: #2487ce;
    color: #fff;
  }

  .btn-ghost {
    background: #f6f9fe;
    color: #2487ce;
  }

  /* Utility */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }


/* Shared layout independent of the legacy page stylesheet. */
#topbar {height:36px;font-size:14px;overflow:visible}
.site-topbar {display:flex;align-items:center;justify-content:flex-end;gap:24px}
.site-topbar a {color:#fff;text-decoration:none}
.site-contact-links {display:flex;gap:18px}
#header {height:76px;top:36px}
#header.header-scrolled {top:0}
.site-header-inner {display:flex;align-items:center;justify-content:space-between;gap:24px}
#header .logo {flex-shrink:0;display:block;margin:0;padding:0}
#header .logo img {max-height:58px;width:auto}
#header #navbar {margin-left:auto}
#header .navbar>ul {gap:12px;align-items:center}
.navbar .mega-menu {top:var(--menu-top,112px);margin-top:0;max-height:calc(100dvh - var(--menu-top,112px));border-top:3px solid #2487ce;overscroll-behavior:contain}
.mega-menu-section h3>a {color:#2487ce;font-size:18px;padding:0;display:inline}
.mega-menu-section .mega-link {color:#9e2525;font-size:16px}
.mega-menu-section .mega-link:hover {color:#c93126}
.mega-menu-section ul li p {font-size:14px;line-height:1.55}
.drawer {text-align:left}
.drawer[aria-hidden="true"] {visibility:hidden}
.drawer.open {visibility:visible}
.drawer-accordion-summary {width:100%;border:0;background:transparent;text-align:left}
.drawer-actions a {font-size:14px}
#kontakt {scroll-margin-top:125px;padding:60px 0;background-color:#fff}
#kontakt .footer-container {display:grid;grid-template-columns:repeat(6,minmax(190px,1fr));gap:16px;max-width:1320px;margin:0 auto;text-align:left}
#kontakt .contact-row--legal {grid-template-columns:repeat(4,minmax(190px,1fr))}
#kontakt .contact-row--academy {grid-template-columns:minmax(190px,300px);justify-content:center}
#kontakt .office-info {font-size:14px;line-height:1.65;color:#333;min-width:0}
#kontakt .office-title {font-weight:700;white-space:nowrap;margin-bottom:10px;color:#000}
#kontakt .address-line,#kontakt .phone {margin-bottom:4px}
#kontakt a {color:#0066cc;text-decoration:underline}
#kontakt .phone a {color:#333}
#footer .footer-top {background:#484b4e;padding:60px 0}
#footer .footer-top>.container>.footer-layout {display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(180px,.7fr) minmax(300px,2fr);gap:40px;align-items:end;position:relative;margin:0}
#footer .footer-layout>.footer-info,#footer .footer-layout>.footer-links {width:auto;max-width:none;padding:0;margin:0;align-self:start}
#footer .footer-info h2 {white-space:nowrap;font-size:28px;line-height:1.3}
#footer .footer-info p {line-height:1.5;margin:10px 0 24px}
#footer .footer-info>a:last-child {display:block;line-height:0}
#footer .footer-info>a>img {width:303px;max-width:100%;height:auto}
#footer .footer-top .footer-skyline {position:static!important;inset:auto!important;width:100%!important;max-width:640px;margin:0 0 12px!important;padding:0;align-self:end;justify-self:end}
#footer .footer-skyline img {display:block;width:100%;height:auto}
#footer .copyright {text-align:center;padding-top:30px}
.back-to-top.active {background:#000}
[data-aos] {opacity:1!important;transform:none!important}
#hero.subpage .carousel-item {display:block}
html {scroll-behavior:smooth;scroll-padding-top:125px}
@media(max-width:1399px) {
 #kontakt .footer-container {grid-template-columns:repeat(3,minmax(190px,1fr));gap:30px}
 #kontakt .contact-row--legal {grid-template-columns:repeat(2,minmax(190px,1fr))}
 #kontakt .contact-row--academy {grid-template-columns:minmax(190px,300px)}
 #footer .footer-top>.container>.footer-layout {gap:24px;grid-template-columns:minmax(240px,1fr) minmax(160px,.7fr) minmax(260px,1.5fr)}
}
@media(max-width:991px) {
 #footer .footer-top>.container>.footer-layout {grid-template-columns:minmax(230px,1fr) minmax(160px,.8fr);gap:36px}
 #footer .footer-top .footer-skyline {grid-column:1/-1;max-width:560px;margin:0!important}
}
@media(max-width:767px) {
 .site-contact-links {display:none}
 #kontakt .footer-container,#kontakt .contact-row--legal {grid-template-columns:repeat(2,minmax(190px,1fr));gap:28px}
 #kontakt .contact-row--academy {grid-template-columns:minmax(190px,300px)}
}
@media(max-width:575px) {
 #kontakt .footer-container,#kontakt .contact-row--legal,#kontakt .contact-row--academy {grid-template-columns:minmax(190px,1fr)}
 #footer .footer-top>.container>.footer-layout {grid-template-columns:minmax(0,1fr)}
 #footer .footer-top .footer-skyline {grid-column:auto}
 #footer .footer-info h2 {font-size:26px}
}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
