/* Maskottchen Zenni & Werki — Figuren stehen starr, nur die Sprechblasen erscheinen. Gilt für Website und Karriere-Portal. */
.mx-wrap { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.mx { position: relative; display: block; margin: 0; padding: 0; border: 0; background: none; line-height: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mx img { display: block; width: auto; height: 100%; filter: drop-shadow(0 14px 18px rgba(7, 47, 87, .18)); }
.mx:focus-visible { outline: 3px solid rgba(53, 120, 43, .5); outline-offset: 6px; border-radius: 14px; }
/* Sprechblase */
.mx-b { position: absolute; z-index: 4; width: max-content; max-width: 210px; padding: 10px 14px; border-radius: 16px; background: #fff; color: #072F57; font: 700 13.5px/1.38 Inter, system-ui, sans-serif; text-align: left; box-shadow: 0 12px 30px rgba(7, 47, 87, .22); opacity: 0; transform: translateY(8px) scale(.92); transform-origin: 85% 100%; transition: opacity .22s, transform .3s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.mx-b::after { content: ""; position: absolute; bottom: -6px; right: 30px; width: 13px; height: 13px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.mx-b.show { opacity: 1; transform: none; }
/* Kopf der Seite: Figur(en) stehen rechts auf der Unterkante */
.mx-has { min-height: calc(clamp(220px, 24vw, 310px) + 118px); }
.mx-hero { position: absolute; right: max(20px, calc(50% - 650px)); bottom: -2px; z-index: 3; display: flex; align-items: flex-end; gap: 6px; }
.mx-hero .mx { height: clamp(220px, 24vw, 310px); }
.mx-hero .mx-b { left: auto; right: 0; bottom: calc(100% + 6px); }
.mx-hero.mx-small .mx { height: clamp(190px, 19vw, 250px); }
.mx-note { position: absolute; right: 20px; top: 14px; z-index: 5; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); color: #fff; font: 600 12px/1.3 Inter, system-ui, sans-serif; }
/* Tipp-Karte */
.mx-tipsec { padding: 40px 0 8px; }
.mx-tip { display: flex; align-items: flex-start; gap: 16px; max-width: 880px; margin: 0 auto; padding: 18px 22px; border: 1.5px solid #cfe2d1; border-radius: 18px; background: linear-gradient(135deg, #F3F9F4, #fff 70%); }
.mx-tip.w { border-color: #c9dbef; background: linear-gradient(135deg, #EDF3FA, #fff 70%); }
.mx-tip img { flex: none; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(7, 47, 87, .16); }
.mx-tip b { display: block; margin: 2px 0 3px; color: #072F57; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mx-tip p { margin: 0; color: #3b4452; font-size: 15.5px; line-height: 1.6; }
.mx-tip a { color: #0A4E93; font-weight: 700; }
/* Schlussband (cta-band) */
.cta-band.mx-cta-on { position: relative; overflow: hidden; padding-top: 104px; min-height: 340px; }
.cta-band.mx-cta-on .wrap { position: relative; z-index: 2; }
.mx-cta { position: absolute; bottom: 0; z-index: 1; }
.mx-cta .mx { height: 200px; }
.mx-cta.mx-l { left: max(2%, calc(50% - 600px)); } .mx-cta.mx-r { right: max(2%, calc(50% - 600px)); }
.mx-cta .mx-b { left: 50%; right: auto; top: -62px; bottom: auto; transform-origin: 20% 100%; transform: translate(-30%, 8px) scale(.92); } .mx-cta .mx-b.show { transform: translate(-30%, 0); }
.mx-cta.mx-r .mx-b { transform-origin: 80% 100%; transform: translate(-70%, 8px) scale(.92); } .mx-cta.mx-r .mx-b.show { transform: translate(-70%, 0); }
.mx-cta .mx-b::after { right: auto; left: 40%; } .mx-cta.mx-r .mx-b::after { left: auto; right: 40%; }
@media (max-width: 900px) { .mx-hero { display: none; } .mx-has { min-height: 0; } }
@media (max-width: 820px) { .cta-band.mx-cta-on { padding-top: 56px; padding-bottom: 150px; min-height: 0; } .mx-cta .mx { height: 130px; } .mx-cta.mx-l { left: 6%; } .mx-cta.mx-r { right: 6%; } .mx-b { max-width: 170px; font-size: 12.5px; } .mx-tip { padding: 14px 16px; } .mx-tip img { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .mx-b { transition: none; } }
