/* Lösungen-Mega-Menü v3 (src-build/mm_loes.py) */
[id^="lo-"]{scroll-margin-top:120px}
/* Tastatur: Mega-Menü öffnet, sobald ein Element darin per Tastatur fokussiert ist */
.mainmenu-nav .mainmenu li.with-megamenu:has(:focus-visible) .rainbow-megamenu{opacity:1;visibility:visible;top:85%}
.mainmenu-nav .mainmenu li.with-megamenu.nm-esc .rainbow-megamenu{opacity:0!important;visibility:hidden!important}
.mainmenu-nav .mainmenu li.with-megamenu .bdt-mm.mm-loes{width:min(1100px,calc(100vw - 32px))!important;max-width:none!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;padding:0!important}
.mm-loes .wrapper{padding:0!important}
.mm-loes ul{list-style:none;margin:0;padding:0}
.mm-loes ul li{margin:0!important;padding:0}
.mm-loes a,.mm-loes a:hover,.mm-loes-m a,.mm-loes-m a:hover{text-decoration:none!important}
.mm-loes .nm-row{display:flex;min-height:580px;text-align:left}
.mm-loes .nm-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 20px 15px 24px;padding:15px 0;border-bottom:1px solid rgba(217,204,251,.16);min-height:49px}
.mm-loes .nm-lbl{position:relative;font-family:var(--bl-head);font-size:12px;font-weight:600;line-height:18px;text-transform:uppercase;color:#fff;white-space:nowrap}
.mm-loes .nm-lbl::after{content:"";position:absolute;left:0;right:0;bottom:-16px;height:2px;background:var(--bl-nav-underline,linear-gradient(90deg,#5F2DEE,#B44CFF))}
.mm-loes .nm-more,.mm-loes-m .nm-more{display:inline-flex!important;align-items:center;gap:6px;font-size:13px;font-weight:600;line-height:1.67;color:#A385F5!important;white-space:nowrap;padding:0!important;background:none!important;transition:color .2s}
.mm-loes .nm-more:hover,.mm-loes .nm-more:focus-visible{color:#D9CCFB!important}
.mm-loes .nm-t{display:block;font-family:var(--bl-head);font-size:15px;font-weight:600;line-height:19.5px;color:inherit}
.mm-loes .nm-s{display:block;margin-top:3px;font-size:12px;font-weight:500;line-height:15.6px;color:inherit;opacity:.65}
.mm-loes .nm-ic,.mm-loes-m .nm-ic{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:6px;background:#1B1430;border:1px solid rgba(95,45,238,.4);color:#A385F5}
.mm-loes .nm-ic svg,.mm-loes-m .nm-ic svg{width:16px;height:16px;display:block}
/* Spalte 1: Kategorien */
.mm-loes .nm-rail{width:clamp(282px,26%,300px);flex:none;border-right:1px solid rgba(217,204,251,.16);padding:0 0 16px;display:flex;flex-direction:column}
.mm-loes .nm-cats{display:flex;flex-direction:column;gap:2px}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat{position:relative;display:flex;align-items:center;gap:12px;width:calc(100% - 20px);margin:0 10px;padding:8px 30px 8px 10px;border-radius:6px;color:#D9CCFB!important;background:none;transition:background .2s,color .2s}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat:hover,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat.is-on{background:rgba(163,133,245,.1)!important;color:#F7F5FC!important}
.mm-loes .nm-cx{min-width:0}
.mm-loes .nm-cat .nm-t{white-space:nowrap}
.mm-loes .nm-go{position:absolute;right:12px;top:50%;width:14px;height:14px;margin-top:-7px;opacity:0;color:#A385F5;transition:opacity .2s}
.mm-loes .nm-go svg{width:14px;height:14px;display:block}
.mm-loes .nm-cat.is-on .nm-go{opacity:1}
.mm-loes .nm-all{margin:auto 24px 0;padding-top:14px!important}
/* Panel: Lösungen + Kachel */
.mm-loes .nm-panel{display:none;flex:1;min-width:0}
.mm-loes .nm-panel.is-on{display:flex}
.mm-loes .nm-main{flex:1;min-width:0;padding:0 0 16px;display:flex;flex-direction:column}
.mm-loes .nm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(auto,1fr));gap:12px;margin:0 20px 14px 24px;flex:1 1 auto}  /* 2 feste Reihen bis zum Banner */
.mm-loes .nm-grid>li{position:relative;display:flex;flex-direction:column;height:100%;box-sizing:border-box;padding:4px 0 6px!important;border:1px solid rgba(217,204,251,.14);border-radius:6px;background:rgba(255,255,255,.02);transition:background .2s}
.mm-loes .nm-grid>li:hover,.mm-loes .nm-grid>li:focus-within{background:rgba(163,133,245,.05)}
.mm-loes .nm-grid .nm-subs{margin:2px 14px 4px}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-sa.has-ic{display:flex;align-items:center;gap:10px;padding-left:12px!important;padding-right:10px!important}
.mm-loes .nm-sa .nm-sx{min-width:0}
/* Untertitel der Lösungen einheitlich: ab 1200 px einzeilig, darunter immer 2 Zeilen reserviert */
.mm-loes .nm-sa .nm-s{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1199px){.mm-loes .nm-sa .nm-s{white-space:normal;height:31.2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.mm-loes .nm-row{min-height:624px}}
.mm-loes .nm-sa.has-ic .nm-ic{width:28px;height:28px}
.mm-loes .nm-sa.has-ic .nm-ic svg{width:15px;height:15px}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-sa{display:block;padding:8px 14px;border-radius:6px;color:#D9CCFB!important;background:none;transition:background .2s,color .2s}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-sa:hover,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-sa:focus-visible{background:none!important;color:#F7F5FC!important}
/* Rahmen-Animation wie Menü-Unterstrich (Verlauf, 0,4 s, links nach rechts) für Lösungskarten und Banner */
.mm-loes .nm-grid>li::after,.mm-loes .nm-own::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat::after{content:"";position:absolute;inset:-1px;border-radius:6px;padding:1.5px;background:var(--bl-nav-underline,linear-gradient(90deg,#5F2DEE,#B44CFF));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;clip-path:inset(0 100% 0 0 round 6px);transition:clip-path .4s ease-in-out;pointer-events:none;z-index:1;top:-1px!important;right:-1px!important;bottom:-1px!important;left:-1px!important;width:auto!important;height:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;margin:0!important;box-sizing:border-box}
.mm-loes .nm-grid>li:hover::after,.mm-loes .nm-grid>li:focus-within::after,.mm-loes .nm-own:hover::after,.mm-loes .nm-own:focus-within::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat:hover::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat.is-on::after{clip-path:inset(0 0 0 0 round 6px)}
.mm-loes .nm-subs{display:flex;flex-direction:column;gap:1px;margin:4px 14px 10px;padding-left:12px;border-left:1px solid rgba(217,204,251,.16);min-width:0;overflow:hidden}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-subs a{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:400;line-height:20px;padding:2px 0;white-space:nowrap;color:#B9B3CC!important;background:none!important;transition:color .2s}
.mm-loes .nm-subs a::before{content:"";width:4px;height:4px;border-radius:50%;flex:none;background:rgba(163,133,245,.55);transition:background .2s,box-shadow .2s}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-subs a:hover{color:#F7F5FC!important}
.mm-loes .nm-subs a:hover::before{background:#A385F5;box-shadow:0 0 6px 1px rgba(163,133,245,.6)}
/* Eigenentwicklung */
.mm-loes .nm-owns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:auto 10px 0}  /* Banner immer fest unten */
.mm-loes .nm-owns.n1{grid-template-columns:1fr;margin:auto 20px 0 24px}
.mm-loes .nm-owns.n1 .nm-own .nm-subs{margin:8px 0 0 52px}
.mm-loes .nm-owns.n1 .nm-own-ft{position:absolute;right:14px;bottom:10px;margin:0}
.mm-loes .nm-own-hd{display:flex;align-items:flex-start;gap:12px}
.mm-loes .nm-own{position:relative;display:block;margin:0;padding:12px 14px;border-radius:6px;border:1px solid rgba(95,45,238,.45);background:linear-gradient(160deg,#17122A,#0E0B18);box-shadow:0 0 34px -12px rgba(95,45,238,.6)}
.mm-loes .nm-own .nm-ic{width:36px;height:36px}
.mm-loes .nm-tx{min-width:0;flex:1}
.mm-loes .nm-own-ft{display:flex;justify-content:flex-end;margin-top:2px}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ot{display:block;padding:0;font-family:var(--bl-head);font-size:15px;font-weight:600;line-height:19.5px;color:#fff!important;background:none!important}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ot:hover{color:#D9CCFB!important}
.mm-loes .nm-own .nm-s{color:#B9B3CC;opacity:1;font-weight:400;font-size:12.5px;line-height:18.75px}
.mm-loes .nm-own .nm-subs{margin:10px 0 0 4px}
/* Kachel im Hochformat (Optik wie .bdt-pv) */
.mm-loes .nm-tilecol{width:clamp(220px,24%,292px);flex:none;display:flex}
.mm-loes .nm-pv{flex:1;display:flex;flex-direction:column;gap:12px;padding:12px;color:#E8E4F5;background:linear-gradient(160deg,#17122A,#0E0B18);border:1px solid rgba(95,45,238,.45);border-radius:0 6px 6px 0;box-shadow:0 0 34px -12px rgba(95,45,238,.6)}
/* Bild-Link mit eingeblendeter Überschrift (Kachel im Lösungen-Menü, Branchenbild im Branchen-Menü) */
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ovimg{position:relative;display:block;padding:0;border-radius:6px;overflow:hidden;background:#0E0B18!important;color:#fff!important;isolation:isolate}
.mm-loes .nm-ovimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none;transition:transform .6s ease}
.mm-loes .nm-ovimg:hover img,.mm-loes .nm-ovimg:focus-visible img{transform:scale(1.05)}
.mm-loes .nm-ovimg::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(14,11,24,0) 30%,rgba(14,11,24,.55) 58%,rgba(14,11,24,.94) 100%),linear-gradient(0deg,rgba(95,45,238,.32),rgba(95,45,238,0) 55%);transition:opacity .3s}
.mm-loes .nm-ov{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px 18px 16px;text-shadow:0 1px 14px rgba(0,0,0,.5)}
.mm-loes .nm-ov-k{font:600 10.5px/1 var(--bl-mono);letter-spacing:.14em;text-transform:uppercase;color:#D9CCFB}
.mm-loes .nm-ov-t{display:block;max-width:100%;font-family:var(--bl-head);font-weight:700;font-size:19px;line-height:1.2;color:#fff;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
.mm-loes .nm-ov-go{display:inline-flex;align-items:center;gap:6px;margin-top:2px;padding:6px 10px;border-radius:6px;font-size:13px;font-weight:600;line-height:1;color:#fff;background:rgba(95,45,238,.55);border:1px solid rgba(217,204,251,.35);text-shadow:none;transition:background .2s}
.mm-loes .nm-ov-go svg{width:12px;height:12px;transition:transform .2s}
.mm-loes .nm-ovimg:hover .nm-ov-go{background:#5F2DEE}
.mm-loes .nm-ovimg:hover .nm-ov-go svg{transform:translateX(3px)}
/* Lösungskarten mit Bild: Bild füllt die Karte, Icon + Titel + Untertitel darüber */
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-grid>li.nm-card{padding:0!important;overflow:hidden;background:#0E0B18}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ck{height:100%;min-height:128px;border-radius:6px}
.mm-loes .nm-ck::after{background:linear-gradient(180deg,rgba(14,11,24,.05) 0%,rgba(14,11,24,.35) 40%,rgba(14,11,24,.92) 100%),linear-gradient(0deg,rgba(95,45,238,.28),rgba(95,45,238,0) 60%)}
.mm-loes .nm-ck .nm-ov{padding:12px 14px}
.mm-loes .nm-ck-hd{display:flex;align-items:center;gap:10px;width:100%;min-width:0}
.mm-loes .nm-ck .nm-ic{flex:none;width:32px;height:32px;background:rgba(27,20,48,.8);border-color:rgba(163,133,245,.5);color:#D9CCFB}
.mm-loes .nm-ck .nm-ic svg{width:16px;height:16px}
.mm-loes .nm-ck .nm-ov-t{font-size:16px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;-webkit-hyphens:manual;hyphens:manual}
.mm-loes .nm-ck-s{display:block;margin-top:2px;font-size:12.5px;line-height:1.35;color:#D9D3EA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}  /* Untertitel immer einzeilig */
.mm-loes .nm-ck .nm-sx{min-width:0}
body.active-light-mode .mm-loes .nm-ck .nm-ic,body.active-light-mode .mm-loes .nm-pv-ic{background:rgba(27,20,48,.8)!important;border-color:rgba(163,133,245,.5)!important;color:#D9CCFB!important}  /* Icon liegt immer auf dunklem Bildverlauf */
.mm-loes .nm-pv-img{flex:1 1 auto;min-height:300px}
.mm-loes .nm-pv-img{container-type:inline-size}
.mm-loes .nm-pv-img .nm-ov{padding:16px 14px 14px}
.mm-loes .nm-pv-img .nm-ov-t{font-size:17px;font-size:clamp(15px,calc(9.4cqi - 1px),21px);overflow-wrap:normal;-webkit-hyphens:manual;hyphens:manual}  /* Kachel-Titel: Größe passt sich der Kachelbreite an, Umbruch nur zwischen Wörtern */
.mm-loes .nm-pv-ic{width:36px;height:36px;display:grid;place-items:center;border-radius:6px;background:rgba(27,20,48,.85);border:1px solid rgba(163,133,245,.5);color:#D9CCFB}
.mm-loes .nm-pv-ic svg{width:18px;height:18px}
.mm-loes .nm-pv-in{flex:none;display:flex;flex-direction:column;gap:10px;padding:0 6px 4px}
.mm-loes .nm-pv-d{margin:0;font-size:12.5px;line-height:18.75px;color:#B9B3CC;height:56.25px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}  /* max. 3 Zeilen, feste Höhe -> Bild immer gleich hoch */
.mm-loes .nm-own.is-red{border-color:rgba(255,77,94,.55);background:linear-gradient(160deg,#2A1220,#170B14);box-shadow:0 0 34px -12px rgba(255,77,94,.55)}
.mm-loes .nm-own.is-red .nm-ic{background:#FF4D5E;border-color:#FF4D5E;color:#fff}
.mm-loes .nm-own.is-red::after{background:linear-gradient(90deg,#FF4D5E,#FF8A5B)!important}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-own.is-red .nm-own-ft a.nm-more{color:#fff!important;background:#E5394B!important;padding:4px 12px!important;border-radius:6px}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-own.is-red .nm-own-ft a.nm-more:hover{background:#FF4D5E!important}
.mm-loes .nm-own.is-red .nm-subs a::before{background:rgba(255,77,94,.7)}
body.active-light-mode .mm-loes .nm-own.is-red{background:rgba(229,57,75,.06);border-color:rgba(229,57,75,.4)}
.mm-loes .nm-grid>li.is-alert .nm-t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:19px;white-space:normal}
.mm-loes .nm-grid>li.is-alert .nm-s{font-family:var(--bl-mono);letter-spacing:.02em}
.mm-loes .nm-grid>li.is-alert .nm-ic{color:#FF8A5B}
.nm-live{display:inline-block;width:7px;height:7px;border-radius:50%;background:#FF4D5E;box-shadow:0 0 0 0 rgba(255,77,94,.6);margin:0 2px 2px 6px;vertical-align:middle;animation:nmLive 1.8s infinite}
@keyframes nmLive{0%{box-shadow:0 0 0 0 rgba(255,77,94,.6)}70%{box-shadow:0 0 0 7px rgba(255,77,94,0)}100%{box-shadow:0 0 0 0 rgba(255,77,94,0)}}
@media (prefers-reduced-motion:reduce){.nm-live{animation:none}}
.mm-loes .nm-trust{display:flex;flex-wrap:nowrap;gap:6px;margin-top:2px;overflow:hidden}
.mm-loes .nm-trust span{font-size:11px;line-height:18px;padding:2px 8px;border-radius:6px;color:#E8E4F5;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);white-space:nowrap}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cta{display:flex;align-items:center;justify-content:center;height:40px;margin-top:6px;padding:0 8px;border-radius:6px;background:#5F2DEE;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;color:#fff!important;font-size:14px;font-weight:600;white-space:nowrap;transition:background .2s}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cta:hover,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cta:focus-visible{background:#7A52F2!important;color:#fff!important}
body.active-light-mode .mm-loes .nm-trust span{color:#E8E4F5}
/* Gleicher Hover-Rahmen in den anderen Mega-Menüs (Branchen, Unternehmen, Wissen, Security) */
.mainmenu-nav .mainmenu li.with-megamenu .bdt-mm:not(.mm-loes) ul li>a:not(.mm-tab),.mainmenu-nav .mainmenu li.with-megamenu .mm-sec .ms-list a,.mainmenu-nav .mainmenu li.with-megamenu .mm-sec .ms-alerts a{position:relative}
.mainmenu-nav .mainmenu li.with-megamenu .bdt-mm:not(.mm-loes) ul li>a:not(.mm-tab)::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-sec .ms-list a::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-sec .ms-alerts a::after{content:"";position:absolute;top:-1px!important;right:-1px!important;bottom:-1px!important;left:-1px!important;width:auto!important;height:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;margin:0!important;box-sizing:border-box;border-radius:6px;padding:1.5px;background:var(--bl-nav-underline,linear-gradient(90deg,#5F2DEE,#B44CFF));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;clip-path:inset(0 100% 0 0 round 6px);transition:clip-path .4s ease-in-out;pointer-events:none;z-index:1}
.mainmenu-nav .mainmenu li.with-megamenu .bdt-mm:not(.mm-loes) ul li>a:not(.mm-tab):hover::after,.mainmenu-nav .mainmenu li.with-megamenu .bdt-mm:not(.mm-loes) ul li>a:not(.mm-tab):focus-visible::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-sec .ms-list a:hover::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-sec .ms-alerts a:hover::after{clip-path:inset(0 0 0 0 round 6px)}
.mm-loes :focus-visible{outline:2px solid #A385F5;outline-offset:2px}
/* Hell-Modus */
body.active-light-mode .mm-loes .nm-hd,body.active-light-mode .mm-loes .nm-rail{border-color:rgba(29,23,41,.14)}
body.active-light-mode .mm-loes .nm-lbl{color:#1F1F25}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat,body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-sa{color:#1D1729!important}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat:hover,body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat.is-on{background:rgba(95,45,238,.08)!important;color:#5F2DEE!important}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-sa:hover{color:#5F2DEE!important}
body.active-light-mode .mm-loes .nm-grid>li{border-color:rgba(29,23,41,.14);background:rgba(95,45,238,.02)}
body.active-light-mode .mm-loes .nm-grid>li:hover{background:rgba(95,45,238,.05)}
body.active-light-mode .mm-loes .nm-ic{background:rgba(95,45,238,.08);border-color:rgba(95,45,238,.25);color:#5F2DEE}
body.active-light-mode .mm-loes .nm-subs{border-color:rgba(29,23,41,.14)}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-subs a{color:#57536A!important}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-subs a:hover{color:#5F2DEE!important}
body.active-light-mode .mm-loes .nm-main .nm-more,body.active-light-mode .mm-loes .nm-rail .nm-more{color:#5F2DEE!important}
body.active-light-mode .mm-loes .nm-own{background:linear-gradient(160deg,rgba(95,45,238,.07),rgba(95,45,238,.02));border-color:rgba(95,45,238,.3);box-shadow:none}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ot{color:#1D1729!important}
body.active-light-mode .mm-loes .nm-own .nm-s{color:#57536A}
/* Mobil: Akkordeon je Kategorie */
.mm-loes-m .wrapper{padding:4px 0 8px!important}
.mm-loes-m .lm-list,.mm-loes-m .lm-sols{list-style:none;margin:0!important;padding:0!important}
.popup-mobile-menu .mm-loes-m li{margin:0!important;border:0!important;padding:0!important}
.mm-loes-m .lm-cat summary{display:flex;align-items:center;gap:12px;padding:10px 4px;cursor:pointer;list-style:none;color:var(--color-heading,#fff)}
.mm-loes-m .lm-cat summary::-webkit-details-marker{display:none}
.mm-loes-m .nm-cx{flex:1;min-width:0;display:flex;flex-direction:column}
.mm-loes-m .nm-t{font-family:var(--bl-head);font-size:15px;font-weight:600;line-height:1.3}
.mm-loes-m .nm-s{font-size:12px;line-height:1.35;opacity:.65;margin-top:2px}
.mm-loes-m .lm-chev{width:10px;height:10px;flex:none;border-right:2px solid #A385F5;border-bottom:2px solid #A385F5;transform:rotate(45deg);margin:-4px 6px 0 0;transition:transform .2s}
.mm-loes-m .lm-cat[open] .lm-chev{transform:rotate(-135deg);margin-top:4px}
.mm-loes-m .lm-sols{margin:0 0 8px 20px!important;padding-left:12px!important;border-left:1px solid rgba(217,204,251,.16)}
.popup-mobile-menu .mainmenu .mm-loes-m .lm-sols li:not(.lm-all) a{display:flex;flex-direction:column;padding:7px 4px!important;color:var(--color-heading,#fff)!important;text-decoration:none!important}
.popup-mobile-menu .mainmenu .mm-loes-m .lm-sols a .nm-t{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.popup-mobile-menu .mainmenu .mm-loes-m .lm-all a,.popup-mobile-menu .mainmenu .mm-loes-m .lm-themen a{display:inline-flex!important;flex-direction:row;align-items:center;gap:6px;white-space:nowrap;font-size:14px!important;font-weight:600;line-height:1.4!important;padding:8px 4px!important;color:#A385F5!important}
body.active-light-mode .mm-loes-m .lm-sols{border-color:rgba(29,23,41,.14)}
body.active-light-mode .mm-loes-m .nm-ic{background:rgba(95,45,238,.08);border-color:rgba(95,45,238,.25);color:#5F2DEE}
body.active-light-mode .popup-mobile-menu .mainmenu .mm-loes-m .lm-all a,body.active-light-mode .popup-mobile-menu .mainmenu .mm-loes-m .lm-themen a{color:#5F2DEE!important}
/* Branchen-Menü (mm_bra.py): je Branche eine Branchenlösung */
.mm-bra .nm-panel.bb.is-on{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:28px;padding:22px 22px 22px 28px}
.mm-bra .bb-img{order:2;min-height:100%}
.mm-bra .bb-img img{object-position:50% 30%}
.mm-bra .bb-img .nm-ov{padding:22px 22px 20px;gap:10px}
.mm-bra .bb-img .nm-ov-t{font-size:26px;-webkit-hyphens:manual;hyphens:manual}
.mm-bra .bb-tx{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:6px 8px 6px 0}
.mm-bra .bb-k{font:600 11.5px/1 var(--bl-mono);letter-spacing:.12em;text-transform:uppercase;color:#A385F5}
.mm-bra .bb-ov-t span{display:block}
.mm-bra .bb-d{margin:12px 0 20px;font-size:17px;line-height:1.55;color:#E8E4F5;max-width:520px}
.mm-bra .bb-pts{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:10px}
.mm-bra .bb-pts li{display:flex;align-items:center;gap:10px;margin:0;font-size:15px;line-height:1.4;color:#F7F5FC}
.mm-bra .bb-ok{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(47,208,122,.14)}
.mm-bra .bb-ok svg{width:13px;height:13px;fill:none;stroke:#2FD07A;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.mm-bra .bb-refs{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));align-items:center;gap:12px 16px;margin:0 0 22px;padding:12px 16px 16px;border-radius:6px;background:rgba(255,255,255,.03);border:1px solid rgba(217,204,251,.12)}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra .bb-refs > a.nm-more{grid-column:1/-1;justify-content:flex-start;height:auto;margin:0;padding:2px 0!important;font-size:14px}
.mm-bra .bb-rl{grid-column:1/-1;font:600 10.5px/1 var(--bl-mono);letter-spacing:.12em;text-transform:uppercase;color:#8E86A8}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra .bb-refs a{display:flex;align-items:center;justify-content:center;min-width:0;height:44px;padding:0;background:none!important}
.mm-bra .bb-refs img{display:block;height:auto;max-height:40px;width:auto;max-width:100%;object-fit:contain;filter:brightness(0) invert(1);opacity:.72;transition:opacity .2s}
.mm-bra .bb-refs a:hover img{opacity:1}
.mm-bra .bb-acts{margin-top:6px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 18px;border-radius:6px;background:#5F2DEE!important;color:#fff!important;font-weight:600;font-size:14.5px;white-space:nowrap}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta:hover{background:#7A52F2!important}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 18px;white-space:nowrap;border-radius:6px;background:rgba(163,133,245,.14)!important;border:1px solid rgba(163,133,245,.55);color:#F7F5FC!important;font-weight:600;font-size:14.5px;transition:background .2s,border-color .2s}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2:hover{background:rgba(163,133,245,.26)!important;border-color:#A385F5}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2{background:#EEE8FD!important;border-color:rgba(95,45,238,.35);color:#4B21C9!important}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2:hover{background:#E2D8FD!important}
.mm-bra .bb-extra{display:flex;flex-direction:column;gap:2px;margin:14px 10px 0;padding-top:12px;border-top:1px solid rgba(217,204,251,.12)}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra .bb-extra a.nm-more{display:block;padding:7px 10px;font-size:14px}
body.active-light-mode .mm-bra .bb-d{color:#3A3450}
body.active-light-mode .mm-bra .bb-pts li{color:#1D1729}
body.active-light-mode .mm-bra .bb-refs{background:#F7F5FC;border-color:rgba(29,23,41,.1)}
body.active-light-mode .mm-bra .bb-refs img{filter:brightness(0);opacity:.55}
.mm-bra-m .bb-list a.bb-m{display:flex!important;align-items:center;gap:12px;padding:10px 8px!important}
.mm-bra-m .bb-list a.bb-m img{flex:none;width:56px;height:56px;border-radius:6px;object-fit:cover;object-position:50% 30%}
.mm-bra-m .bb-list .nm-cx{flex:1;min-width:0;display:flex;flex-direction:column}
.mm-bra-m .bb-m-go{color:#A385F5;font-size:18px}
/* === Blured-Design „Signet-Schnitt + Duoton“ (freigegeben: Entwurf B) – gilt für alle vier Mega-Menüs ===
   Schräge Ecke im Winkel des Logo-Signets (Steigung 1,23), Bilder farbig unter dunkler Schablone (beim Hover heller),
   keine Glows/Glas-Rahmen, Icons ohne Kästchen, aktive Kategorie mit Verlaufsbalken. Buttons wie im Template-Original
   (rainbow-gradient-btn: schräg abgeschnittene Ecke oben rechts), aber in CD-Farben. */
.mm-loes{--sg-cut:26px;--sg-cut-h:32px;--sg-bcut:12px;--sg-bcut-h:15px;--sg-balken:linear-gradient(90deg,#5F2DEE,#7C3AFF,#A98BFA,#D9CCFB)}
.mm-loes .nm-pv,.mm-loes .nm-own{box-shadow:none!important}
.mm-loes .nm-grid>li::after,.mm-loes .nm-own::after,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat::after{display:none!important}
/* Bildflächen: Schnitt + Duoton */
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ovimg{border-radius:4px;clip-path:polygon(0 0,calc(100% - var(--sg-cut)) 0,100% var(--sg-cut-h),100% 100%,0 100%)}
.mm-loes .nm-ovimg img{filter:saturate(.8);transition:filter .4s,transform .6s ease}
.mm-loes .nm-ovimg::after{background:#0E0C15!important;opacity:.45!important;transition:opacity .4s}  /* farbig, mit dunkler Schablone gedämpft */
.mm-loes .nm-ovimg:hover img,.mm-loes .nm-ovimg:focus-visible img{filter:none}
.mm-loes .nm-ovimg:hover::after,.mm-loes .nm-ovimg:focus-visible::after{opacity:.2!important}
.mm-loes .nm-ov{text-shadow:none;background:linear-gradient(180deg,rgba(14,12,21,0),rgba(14,12,21,.82) 45%)}
.mm-loes .nm-ovimg::before{content:"";position:absolute;z-index:3;top:0;right:0;width:var(--sg-cut);height:var(--sg-cut-h);background:linear-gradient(141deg,transparent 50%,#A385F5 50%);opacity:0;transition:opacity .3s}
.mm-loes .nm-ovimg:hover::before,.mm-loes .nm-ovimg:focus-visible::before{opacity:1}
/* Hochformat-Bilder (Kachel rechts, Branchenbild): ohne Schnitt, alle Ecken gleich */
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ovimg.nm-pv-img,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-ovimg.bb-img{clip-path:none}
.mm-loes .nm-pv-img::before,.mm-loes .bb-img::before{display:none}
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-grid>li.nm-card{border:0!important;background:none!important;border-radius:4px}
.mm-loes .nm-ck .nm-ic,.mm-loes .nm-pv-ic,body.active-light-mode .mm-loes .nm-ck .nm-ic,body.active-light-mode .mm-loes .nm-pv-ic{width:auto!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important;color:#D9CCFB!important}
.mm-loes .nm-ck .nm-ic svg,.mm-loes .nm-pv-ic svg{width:20px;height:20px}
.mm-loes .nm-ov-go{background:none!important;border:0!important;border-bottom:2px solid #A385F5!important;border-radius:0!important;padding:0 0 3px!important;font-size:13.5px}
.mm-loes .nm-ovimg:hover .nm-ov-go{background:none!important;border-bottom-color:#D9CCFB!important}
/* Flächen ruhig: Nacht statt Verlauf, feine Linie */
.mm-loes .nm-pv,.mm-loes .nm-own{background:#0E0C15!important;border:1px solid rgba(217,204,251,.12)!important;border-radius:4px!important}
.mm-loes .nm-own .nm-ic,.mm-loes .nm-cat .nm-ic{background:none!important;border:0!important;color:#A385F5}
.mm-loes .nm-own.is-red{background:linear-gradient(160deg,#2A1220,#170B14)!important;border-color:rgba(255,77,94,.55)!important}
.mm-loes .nm-own.is-red .nm-ic{color:#FF4D5E!important}
.mm-loes .nm-trust span{border-radius:2px}
/* Kategorien: aktive mit Verlaufsbalken statt Kasten */
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat:hover,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat.is-on{background:none!important;color:#fff!important}
.mm-loes .nm-cat .nm-t{position:relative}
.mm-loes .nm-cat .nm-s{margin-top:4px}
.mm-loes .nm-cat .nm-t::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:2px;background:var(--sg-balken);transform:scaleX(0);transform-origin:left;transition:transform .3s}
.mm-loes .nm-cat:hover .nm-t::after,.mm-loes .nm-cat.is-on .nm-t::after{transform:scaleX(1)}
/* Buttons im Signet-Schnitt */
.mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cta,.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta,.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2,.mainmenu-nav .mainmenu li.with-megamenu .mm-loes .nm-own.is-red .nm-own-ft a.nm-more{border-radius:2px!important;clip-path:polygon(0 0,calc(100% - var(--sg-bcut)) 0,100% var(--sg-bcut-h),100% 100%,0 100%)}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2{background:#D9CCFB!important;border:0!important;color:#0E0C15!important}
.mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2:hover{background:#F7F5FC!important}
/* Hell-Modus */
body.active-light-mode .mm-loes .nm-own{background:#F7F5FC!important;border-color:rgba(29,23,41,.12)!important}  /* Kachel rechts bleibt auch hell dunkel (wie bisher) */
body.active-light-mode .mm-loes .nm-own.is-red{background:rgba(229,57,75,.06)!important;border-color:rgba(229,57,75,.4)!important}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat:hover,body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-loes a.nm-cat.is-on{background:none!important;color:#1D1729!important}
body.active-light-mode .mm-loes .nm-own .nm-ic,body.active-light-mode .mm-loes .nm-cat .nm-ic{color:#5F2DEE}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2{background:#1D1729!important;color:#F7F5FC!important}
body.active-light-mode .mainmenu-nav .mainmenu li.with-megamenu .mm-bra a.bb-cta2:hover{background:#2A1A66!important}
@media (prefers-reduced-motion:reduce){.mm-loes .nm-ovimg img{transition:none!important}.mm-loes *,.mm-loes-m *,.mm-loes .nm-grid>li::after,.mm-loes .nm-own::after,.mm-loes a.nm-cat::after{transition:none!important}}
