/* ========================================================================
   Jongen MainMenu Premium
   Modernisierte Ersatzdatei fuer assets/css/mainmenu.css
   Desktop-Mega-Menue, Downloadcenter-Look, sichere Header-Dropdowns
   ======================================================================== */

:root {
    --jm-blue: #0878bd;
    --jm-blue-deep: #05689f;
    --jm-dark: #03233a;
    --jm-navy: #032a46;
    --jm-orange: #063f69;
    --jm-red: #062f52;
    --jm-ink: #12283a;
    --jm-muted: #698095;
    --jm-line: #d9e5ed;
    --jm-line-strong: #c9d9e4;
    --jm-soft: #f4f8fa;
    --jm-white: #ffffff;
    --jm-radius-sm: 10px;
    --jm-radius: 16px;
    --jm-shadow-soft: 0 10px 30px rgba(3, 35, 58, .07);
    --jm-shadow: 0 28px 72px rgba(3, 35, 58, .22);
}

/* ------------------------------------------------------------------------
   Hauptmenueband
   Der bewusst niedrige z-index verhindert, dass Sprache und Login verdeckt
   werden. Das Mega-Menue bleibt innerhalb dieses Stacking-Kontexts sichtbar.
   ------------------------------------------------------------------------ */
.jm-shell {
    position: relative;
    z-index: 20;
    isolation: isolate;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid rgba(217, 229, 237, .78);
    border-bottom: 1px solid var(--jm-line);
    box-shadow: 0 5px 18px rgba(3, 35, 58, .045);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.jm-nav {
    position: static;
}

.jm-root {
    display: flex;
    align-items: stretch;
    gap: 2px;
    min-height: 62px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jm-item {
    display: flex;
    min-width: 0;
}

.jm-item--mega {
    position: static;
}

.jm-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: .58rem;
    min-width: 0;
    padding: 0 .9rem;
    color: var(--jm-blue);
    background: transparent;
    border: 0;
    border-radius: 8px 8px 0 0;
    font: inherit;
    font-size: .95rem;
    font-weight: 680;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.jm-link::after {
    position: absolute;
    right: .9rem;
    bottom: -1px;
    left: .9rem;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--jm-orange), var(--jm-red));
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.jm-link:hover,
.jm-link:focus-visible,
.jm-link.is-active,
.jm-item.is-open > .jm-link {
    color: var(--jm-orange);
    background: linear-gradient(180deg, #fff, #f2f6f8);
    outline: none;
}

.jm-link:hover::after,
.jm-link:focus-visible::after,
.jm-link.is-active::after,
.jm-item.is-open > .jm-link::after {
    transform: scaleX(1);
}

.jm-link:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(8, 120, 189, .22);
}

.jm-products-icon {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, 4px);
    gap: 2px;
}

.jm-products-icon span {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 1px;
}

.jm-chevron {
    width: .48rem;
    height: .48rem;
    margin-top: -.2rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease, margin .2s ease;
}

.jm-item.is-open .jm-chevron {
    margin-top: .2rem;
    transform: rotate(225deg);
}

/* ------------------------------------------------------------------------
   Mega-Menue-Flaeche
   ------------------------------------------------------------------------ */
.jm-mega {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    color: var(--jm-ink);
    background:
        linear-gradient(rgba(8, 120, 189, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 120, 189, .022) 1px, transparent 1px),
        rgba(255, 255, 255, .995);
    background-size: 42px 42px;
    border-top: 1px solid var(--jm-line);
    box-shadow: var(--jm-shadow);
}

.jm-mega[hidden] {
    display: none !important;
}

.jm-mega__inner {
    width: min(1440px, calc(100% - 32px));
    max-height: calc(100vh - 150px);
    margin: 0 auto;
    padding: 1.7rem 0 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgba(8, 120, 189, .35) transparent;
    scrollbar-width: thin;
}

.jm-mega__inner::-webkit-scrollbar {
    width: 8px;
}

.jm-mega__inner::-webkit-scrollbar-thumb {
    background: rgba(8, 120, 189, .3);
    border-radius: 999px;
}

/* Kopfbereich */
.jm-mega__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.3rem;
    padding: 0 .3rem 1.2rem;
    border-bottom: 1px solid var(--jm-line);
}

.jm-mega__heading {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 660px;
}

.jm-kicker {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--jm-orange);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.jm-kicker i {
    display: block;
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--jm-orange), var(--jm-red));
}

.jm-mega__header h2 {
    margin: .24rem 0 .14rem;
    color: var(--jm-dark);
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: clamp(1.65rem, 2.3vw, 2.35rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: .005em;
}

.jm-mega__header p {
    margin: 0;
    color: var(--jm-muted);
    font-size: .94rem;
    line-height: 1.45;
}

/* Aktionsbuttons: Tool Finder und Alle Produkte */
.jm-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    gap: .72rem;
}

.jm-action {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 190px;
    min-height: 62px;
    padding: .72rem .9rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.jm-action small,
.jm-action strong {
    display: block;
}

.jm-action small {
    margin-bottom: .12rem;
    font-size: .66rem;
    font-weight: 650;
    line-height: 1.2;
    opacity: .82;
}

.jm-action strong {
    font-size: .94rem;
    line-height: 1.2;
}

.jm-action__arrow {
    margin-left: auto;
    font-size: 1.1rem;
    transition: transform .18s ease;
}

.jm-action:hover .jm-action__arrow {
    transform: translateX(3px);
}

.jm-action__icon {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    background: rgba(255, 255, 255, .17);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 9px;
}

.jm-action__icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.jm-action--tool {
    color: #fff;
    background: linear-gradient(135deg, var(--jm-orange), #0c527f);
    box-shadow: 0 11px 25px rgba(6, 63, 105, .24);
}

.jm-action--all {
    color: #fff;
    background: linear-gradient(135deg, var(--jm-blue), var(--jm-blue-deep));
    box-shadow: 0 11px 25px rgba(8, 120, 189, .22);
}

.jm-action:hover,
.jm-action:focus-visible {
    color: #fff;
    filter: saturate(1.08);
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(3, 35, 58, .2);
}

/* ------------------------------------------------------------------------
   Kategorienraster
   ------------------------------------------------------------------------ */
.jm-mega__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 1.6rem;
    align-items: stretch;
}

.jm-mega__body--full {
    grid-template-columns: 1fr;
}

/* ==========================================
   PREMIUM CATEGORY CARDS
   OHNE PROBLEMATISCHE UMBRUCHREGELN
   ========================================== */

.jm-categories{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
}

/* Card */

.jm-category{

    position:relative;

    display:block;

    padding:1.4rem;

    background:#fff;

    border:none;

    border-radius:18px;

    box-shadow:
        0 10px 24px rgba(3,35,58,.06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

/* Orange Accent */

.jm-category::before{

    content:"";

    display:block;

    width:42px;

    height:4px;

    margin-bottom:18px;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,
            var(--jm-orange),
            var(--jm-red)
        );
}

/* Hover */

.jm-category:hover{

    transform:translateY(-6px);

    box-shadow:
        0 20px 40px rgba(3,35,58,.12);
}

/* Content */

.jm-category__content{
    min-width:0;
}

/* Titel */

.jm-category__title{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:10px;

    margin-bottom:14px;

    padding-bottom:12px;

    min-height:70px;

    color:var(--jm-dark);

    text-decoration:none;

    font-size:1.1rem;

    font-weight:800;

    line-height:1.25;

    border-bottom:
        2px solid rgba(6,63,105,.20);

    /* WICHTIG */
    white-space:normal;
    word-break:normal;
    overflow-wrap:normal;
    hyphens:auto;
}

.jm-category__title:hover{
    color:var(--jm-orange);
}

/* Pfeil */

.jm-category__title span{
    flex-shrink:0;
}

/* Level 2 */

.jm-sublist{

    margin:0;
    padding:0;

    list-style:none;
}

.jm-subitem{

    margin:.22rem 0;
}

/* Links */

.jm-sublink{

    display:block;

    padding:.45rem .55rem;

    color:var(--jm-ink);

    border-radius:10px;

    text-decoration:none;

    font-size:.95rem;

    font-weight:650;

    transition:all .15s ease;
}

.jm-sublink::before{

    content:"›";

    color:var(--jm-orange);

    margin-right:10px;
}

.jm-sublink:hover{

    padding-left:14px;

    color:var(--jm-orange);

    background:#f4f8fa;
}

/* Level 3 */

.jm-level3{

    margin:6px 0 12px 22px;

    padding-left:14px;

    border-left:1px solid #e4ebf1;
}

.jm-level3 a{

    display:block;

    padding:3px 0;

    color:var(--jm-muted);

    text-decoration:none;

    font-size:.82rem;
}

.jm-level3 a:hover{
    color:var(--jm-orange);
}

/* ------------------------------------------------------------------------
   Service-Teaser im Downloadcenter-Look
   ------------------------------------------------------------------------ */
.jm-teaser {
    position: relative;
    min-width: 0;
    min-height: 300px;
    padding: 1.55rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(120deg, var(--jm-dark), #08486f 56%, #0e709f);
    border-radius: var(--jm-radius);
    box-shadow: 0 18px 38px rgba(3, 35, 58, .22);
}

.jm-teaser__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 38px 38px;
}

.jm-teaser__flare {
    position: absolute;
    top: -90px;
    right: -72px;
    width: 245px;
    height: 245px;
    background: radial-gradient(circle, rgba(6, 63, 105, .96), rgba(6, 63, 105, .13) 38%, transparent 70%);
}

.jm-teaser__label {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: .32rem .62rem;
    color: #fff;
    background: linear-gradient(90deg, var(--jm-orange), var(--jm-red));
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jm-teaser__content,
.jm-teaser__fallback {
    position: relative;
    z-index: 1;
}

.jm-teaser__content:empty {
    display: none;
}

.jm-teaser__content:not(:empty) + .jm-teaser__fallback {
    display: none;
}

.jm-teaser__fallback {
    margin-top: 3.6rem;
}

.jm-teaser__eyebrow {
    display: block;
    margin-bottom: .5rem;
    color: #aeddf4;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.jm-teaser h3 {
    max-width: 260px;
    margin: 0 0 .7rem;
    color: #fff;
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.06;
}

.jm-teaser p {
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.58;
}

.jm-teaser a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #fff;
    font-weight: 760;
    text-decoration: none;
}

.jm-teaser a:hover {
    color: #dbe8f0;
}

/* Footer */
.jm-mega__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.15rem;
    padding: .9rem .35rem 0;
    color: var(--jm-muted);
    border-top: 1px solid var(--jm-line);
    font-size: .84rem;
}

.jm-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.35rem;
}

.jm-benefits b {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: .35rem;
    place-items: center;
    color: #fff;
    background: rgba(8, 120, 189, .76);
    border-radius: 50%;
    font-size: .66rem;
}

.jm-mega__footer > a {
    color: var(--jm-blue);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.jm-mega__footer > a:hover {
    color: var(--jm-orange);
}

/* ------------------------------------------------------------------------
   Responsive Desktop-Stufen
   ------------------------------------------------------------------------ */
@media (max-width: 1399.98px) {
    .jm-link {
        padding-inline: .62rem;
        font-size: .89rem;
    }

    .jm-actions {
        gap: .55rem;
    }

    .jm-action {
        min-width: 170px;
        padding-inline: .75rem;
    }

    .jm-mega__body {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 1.2rem;
    }

    .jm-categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .78rem;
    }

    .jm-category {
        grid-template-columns: 28px minmax(0, 1fr);
        padding-inline: .7rem;
    }
}

@media (max-width: 1199.98px) {
    .jm-link {
        padding-inline: .47rem;
        font-size: .83rem;
    }

    .jm-mega__header {
        align-items: flex-start;
    }

    .jm-actions {
        flex-direction: column;
    }

    .jm-action {
        min-width: 210px;
        min-height: 54px;
    }

    .jm-mega__body {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .jm-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jm-teaser {
        padding: 1.25rem;
    }
}

/* Die Navigation ist im Twig unterhalb lg ausgeblendet. Sicherheitsnetz: */
@media (max-width: 991.98px) {
    .jm-shell {
        display: none !important;
    }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    .jm-shell *,
    .jm-shell *::before,
    .jm-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ========================================================================
   Mobile Offcanvas Navigation
   ======================================================================== */
@media (max-width: 991.98px) {
    .jm-mobile-menu {
        --jm-mobile-blue: #062c4d;
        --jm-mobile-blue-light: #0b527f;
        --jm-mobile-red: #063f69;
        --jm-mobile-line: #dbe6ed;
        width: min(92vw, 430px);
        color: #12283a;
        background: #f4f8fa;
        border: 0;
        box-shadow: 22px 0 60px rgba(0, 28, 52, .28);
        z-index: 1070;
    }
    .offcanvas-backdrop { z-index: 1060; background: #001b30; }
    .offcanvas-backdrop.show { opacity: .66; }
    .jm-mobile-menu__header {
        position: relative; display: flex; align-items: center; justify-content: space-between;
        gap: 1rem; min-height: 118px; padding: 25px 22px 22px; overflow: hidden;
        color: #fff; background: linear-gradient(135deg, #032a46, #075c8a);
    }
    .jm-mobile-menu__header::after {
        content: ""; position: absolute; top: -70px; right: -58px; width: 190px; height: 190px;
        background: radial-gradient(circle, rgba(6,63,105,.72), rgba(6,63,105,.08) 42%, transparent 70%);
    }
    .jm-mobile-menu__header > * { position: relative; z-index: 1; }
    .jm-mobile-menu__kicker { display: block; margin-bottom: 5px; color: #9ed8f5; font-size: .67rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
    .jm-mobile-menu__header h2 { margin: 0; color: #fff; font-size: 1.65rem; font-weight: 800; line-height: 1.1; }
    .jm-mobile-menu__close { position: relative; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; }
    .jm-mobile-menu__close span::before, .jm-mobile-menu__close span::after { content: ""; position: absolute; top: 21px; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
    .jm-mobile-menu__close span::before { transform: rotate(45deg); }
    .jm-mobile-menu__close span::after { transform: rotate(-45deg); }
    .jm-mobile-menu__body { height: calc(100vh - 118px); height: calc(100dvh - 118px); padding: 18px 16px calc(116px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
    .jm-mobile-quicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
    .jm-mobile-quicklink { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 58px; padding: 10px 12px; color: #06314f; background: #fff; border: 1px solid var(--jm-mobile-line); border-radius: 14px; box-shadow: 0 8px 22px rgba(3,35,58,.06); font-size: .82rem; font-weight: 800; text-decoration: none; }
    .jm-mobile-quicklink--accent { color: #fff; background: linear-gradient(135deg, #063f69, #031d33); border-color: transparent; }
    .jm-mobile-quicklink__icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; background: rgba(8,120,189,.09); border-radius: 10px; font-size: 1.25rem; }
    .jm-mobile-quicklink--accent .jm-mobile-quicklink__icon { background: rgba(255,255,255,.16); }
    .jm-mobile-section { margin-bottom: 20px; }
    .jm-mobile-section__label { margin: 0 4px 9px; color: #6e8190; font-size: .66rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
    .jm-mobile-accordion { overflow: hidden; background: #fff; border: 1px solid var(--jm-mobile-line); border-radius: 16px; box-shadow: 0 10px 28px rgba(3,35,58,.07); }
    .jm-mobile-category + .jm-mobile-category { border-top: 1px solid #e4edf2; }
    .jm-mobile-category.is-current { box-shadow: inset 4px 0 0 var(--jm-mobile-red); }
    .jm-mobile-category__row, .jm-mobile-subitem__row { display: grid; grid-template-columns: minmax(0,1fr) 48px; align-items: stretch; }
    .jm-mobile-category__link { display: flex; align-items: center; min-width: 0; min-height: 58px; padding: 13px 8px 13px 16px; color: #092f4b; font-size: .94rem; font-weight: 800; line-height: 1.25; text-decoration: none; }
    .jm-mobile-category__link.is-active, .jm-mobile-sublink.is-active, .jm-mobile-level3 a.is-active { color: var(--jm-mobile-red); }
    .jm-mobile-category__toggle, .jm-mobile-subtoggle { position: relative; width: 48px; padding: 0; color: #0878bd; background: transparent; border: 0; }
    .jm-mobile-category__toggle span, .jm-mobile-subtoggle span { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-50%,-66%) rotate(45deg); transition: transform .2s ease; }
    .jm-mobile-category__toggle[aria-expanded="true"] span, .jm-mobile-subtoggle[aria-expanded="true"] span { transform: translate(-50%,-30%) rotate(225deg); }
    .jm-mobile-category__panel { padding: 0 12px 14px; background: #f8fbfc; border-top: 1px solid #e6eef3; }
    .jm-mobile-category__panel[hidden], .jm-mobile-level3[hidden] { display: none !important; }
    .jm-mobile-sublist, .jm-mobile-level3 { margin: 0; padding: 0; list-style: none; }
    .jm-mobile-subitem { border-bottom: 1px solid #e7eef3; }
    .jm-mobile-subitem:last-child { border-bottom: 0; }
    .jm-mobile-sublink { display: flex; align-items: center; min-height: 48px; padding: 9px 8px 9px 6px; color: #193e57; font-size: .86rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
    .jm-mobile-subtoggle { width: 42px; }
    .jm-mobile-level3 { margin: 0 0 10px 12px; padding: 4px 0 4px 14px; border-left: 2px solid #cfe0ea; }
    .jm-mobile-level3 a { display: block; padding: 7px 5px; color: #667c8d; font-size: .79rem; line-height: 1.35; text-decoration: none; }
    .jm-mobile-category__all { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 11px 12px; color: #0878bd; background: #fff; border: 1px solid #d7e5ed; border-radius: 11px; font-size: .8rem; font-weight: 800; text-decoration: none; }
    .jm-mobile-service-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
    .jm-mobile-service-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 12px; color: #12364f; background: #fff; border: 1px solid var(--jm-mobile-line); border-radius: 12px; font-size: .8rem; font-weight: 750; text-decoration: none; }
    .jm-mobile-service-links a span:last-child { color: #063f69; }
    .jm-mobile-help { position: relative; padding: 18px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #032a46, #0878bd); border-radius: 16px; box-shadow: 0 14px 28px rgba(3,35,58,.18); }
    .jm-mobile-help > span, .jm-mobile-help strong { display: block; }
    .jm-mobile-help > span { margin-bottom: 4px; color: #a9dff7; font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
    .jm-mobile-help strong { margin-bottom: 13px; font-size: 1.05rem; line-height: 1.35; }
    .jm-mobile-help a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; }
    body.jm-offcanvas-open .mobile-nav { z-index: 1080; }
}
@media (max-width: 359.98px) {
    .jm-mobile-service-links { grid-template-columns: 1fr; }
    .jm-mobile-quicklink { padding-inline: 9px; font-size: .75rem; }
}

/* FINAL: EINHEITLICHE JONGEN-NAVIGATION */
:root {
    --jm-blue: #063f69;
    --jm-blue-deep: #062f52;
    --jm-dark: #031d33;
    --jm-navy: #063f69;
    --jm-orange: #063f69;
    --jm-red: #063f69;
}

.jm-link::after,
.jm-kicker i,
.jm-category::before {
    background: #063f69;
    background-image: none;
}

.jm-link:hover,
.jm-link:focus-visible,
.jm-link.is-active,
.jm-item.is-open > .jm-link,
.jm-kicker,
.jm-category__title:hover,
.jm-sublink::before,
.jm-sublink:hover,
.jm-level3 a:hover,
.jm-mega__footer > a:hover {
    color: #063f69;
}

.jm-link:hover,
.jm-link:focus-visible,
.jm-link.is-active,
.jm-item.is-open > .jm-link {
    background: #f2f6f8;
    background-image: none;
}

.jm-action--tool,
.jm-action--all {
    color: #fff;
    background: #063f69;
    background-image: none;
    box-shadow: 0 11px 25px rgba(6, 63, 105, .18);
}
.jm-action--tool:hover,
.jm-action--all:hover,
.jm-action--tool:focus-visible,
.jm-action--all:focus-visible {
    background: #062f52;
}

.jm-category__title {
    border-bottom-color: rgba(6, 63, 105, .16);
}

.jm-teaser__flare { background: radial-gradient(circle, rgba(6,63,105,.8), rgba(6,63,105,.12) 38%, transparent 70%); }
.jm-teaser__label { background: #063f69; background-image: none; }

@media (max-width: 991.98px) {
    .jm-mobile-menu {
        --jm-mobile-blue: #063f69;
        --jm-mobile-blue-light: #0c527f;
        --jm-mobile-red: #063f69;
    }
    .jm-mobile-menu__header {
        background: linear-gradient(135deg, #031d33, #063f69);
    }
    .jm-mobile-menu__header::after {
        background: radial-gradient(circle, rgba(6,63,105,.72), rgba(6,63,105,.08) 42%, transparent 70%);
    }
    .jm-mobile-quicklink--accent {
        background: #063f69;
        background-image: none;
    }
    .jm-mobile-category.is-current { box-shadow: inset 4px 0 0 #063f69; }
    .jm-mobile-category__link.is-active,
    .jm-mobile-sublink.is-active,
    .jm-mobile-level3 a.is-active,
    .jm-mobile-service-links a span:last-child { color: #063f69; }
    .jm-mobile-help {
        background: linear-gradient(135deg, #031d33, #063f69);
    }
}

