/* Farbe und Bewegung für team-track.de. Farben pro Seite über --mx-a, --mx-b, --mx-c am body. */
:root{--mx-a:#22d3ee;--mx-b:#7c3aed;--mx-c:#ec4899}
.mx-blob{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none;z-index:0}
.mx1{width:26rem;height:26rem;background:var(--mx-a);top:-9rem;right:-4rem;opacity:.35;animation:mxa 15s ease-in-out infinite}
.mx2{width:22rem;height:22rem;background:var(--mx-b);bottom:-10rem;left:-5rem;opacity:.3;animation:mxb 18s ease-in-out infinite}
.mx3{width:16rem;height:16rem;background:var(--mx-c);top:35%;left:45%;opacity:.22;animation:mxa 21s ease-in-out infinite reverse}
.mx-light .mx1{opacity:.22}.mx-light .mx2{opacity:.16}.mx-light .mx3{opacity:.14}
@keyframes mxa{50%{transform:translate(-7rem,5rem) scale(1.15)}}
@keyframes mxb{50%{transform:translate(8rem,-4rem) scale(.9)}}
.mx-above{position:relative;z-index:1}
.mx-grad{background:linear-gradient(90deg,var(--mx-a),var(--mx-b),var(--mx-c),var(--mx-a));background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:mxf 8s linear infinite}
@keyframes mxf{to{background-position:300% 0}}
.mx-lift{transition:transform .3s,box-shadow .3s}
.mx-lift:hover{transform:translateY(-5px);box-shadow:0 22px 40px -22px var(--mx-b)}
.mx-float{animation:mxfl 6s ease-in-out infinite}
@keyframes mxfl{50%{transform:translateY(-8px)}}
.mx-badge{background:linear-gradient(135deg,var(--mx-a),var(--mx-b))!important}
.mx-cta{background:linear-gradient(120deg,#0e7490,var(--mx-b),var(--mx-c))!important;background-size:200% 200%!important;animation:mxc 12s ease infinite}
@keyframes mxc{50%{background-position:100% 50%}}
.mx-band{overflow:hidden;padding-block:14px;border-block:1px solid #e2e8f0;background:#fff}
.mx-track{display:flex;gap:2.5rem;width:max-content;animation:mxr 30s linear infinite;font-weight:800;font-size:15px;color:#475569}
.mx-track span{display:flex;align-items:center;gap:.6rem;white-space:nowrap}
.mx-track span::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c,#0891b2)}
@keyframes mxr{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.mx-blob,.mx-grad,.mx-float,.mx-cta,.mx-track{animation:none!important}.mx-lift{transition:none}}

/* Kopfzeile am Handy: Logo und Name passen neben Menü und Sprachwahl */
@media (max-width:480px){
  .mx-logo{width:38px!important;height:38px!important;border-radius:10px!important}
  a:has(>.mx-logo){gap:8px!important}
  .mx-brand{font-size:16px!important}
  .mx-sub{display:none!important}
}

/* Startseite: Hero wie im Entwurf, Text links, Handy rechts */
.mx-hero{background:#f6fafc}
.mx-hero .mx1{opacity:.5}.mx-hero .mx2{opacity:.4}.mx-hero .mx3{opacity:.3}
.mx-hgrid{display:grid;gap:2rem;align-items:center;max-width:1180px;margin:0 auto 2.5rem}
@media (min-width:900px){.mx-hgrid{grid-template-columns:1.15fr .85fr;text-align:left}.mx-hgrid .mx-htext{text-align:left}.mx-hgrid .mx-htext>div{justify-content:flex-start}.mx-hgrid .mx-htext p{margin-left:0}}
.mx-kick{display:inline-flex;gap:8px;align-items:center;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0891b2;background:rgba(255,255,255,.7);border:1px solid #dbe7ee;padding:6px 12px;border-radius:999px;backdrop-filter:blur(8px);margin-bottom:14px}
.mx-dot{width:8px;height:8px;border-radius:50%;background:#10b981;animation:mxp 1.8s infinite}
@keyframes mxp{50%{box-shadow:0 0 0 6px rgba(16,185,129,.25)}}
.mx-btn{background:linear-gradient(135deg,#0891b2,#7c3aed)!important;box-shadow:0 12px 30px -10px #7c3aed!important}
.mx-stage{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px}
.mx-phone{width:220px;height:420px;border-radius:34px;border:8px solid #0b1220;background:#0b1220;overflow:hidden;position:relative;box-shadow:0 30px 60px -20px rgba(15,23,42,.5);animation:mxph 6s ease-in-out infinite}
@keyframes mxph{50%{transform:translateY(-10px) rotate(-1deg)}}
.mx-scr{position:absolute;inset:0;padding:22px 16px;display:flex;flex-direction:column;gap:10px;opacity:0;transform:translateY(16px);transition:opacity .6s,transform .6s;text-align:left}
.mx-scr.on{opacity:1;transform:none}
.mx-scr .t{font-weight:900;font-size:22px;line-height:1.05}
.mx-scr .l{height:8px;border-radius:4px;opacity:.5}
.mx-scr .c{margin-top:6px;align-self:flex-start;font-size:11px;font-weight:800;padding:8px 12px;border-radius:9px}
.mx-scr .g{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.mx-scr .g i{display:flex;flex-direction:column;justify-content:space-between;height:64px;border-radius:12px;padding:9px;font-style:normal;font-size:11px;font-weight:800;line-height:1.1}
.mx-scr .g i em{display:block;width:20px;height:20px;border-radius:7px;background:currentColor;opacity:.3}
.mx-scr>*{flex:none}
.mx-scr .r{display:flex;align-items:center;gap:10px;margin-top:4px}
.mx-scr .r b{flex:none;width:26px;height:26px;border-radius:50%;position:relative}
.mx-scr .r b::after{content:"";position:absolute;left:8px;top:8px;width:10px;height:10px;border-radius:50%;background:currentColor;opacity:.4}
.mx-scr .r span{flex:1;display:flex;flex-direction:column;gap:3px}
.mx-scr .r span u{display:block;text-decoration:none;font-size:11px;font-weight:800;line-height:1.1}
.mx-scr .r span u+u{font-size:9px;font-weight:500;opacity:.6}
.mx-scr .n{margin-top:auto;display:flex;justify-content:space-around;padding:8px 0 0;border-top:1px solid currentColor;border-top-color:rgba(127,127,127,.25)}
.mx-scr .n i{display:flex;flex-direction:column;align-items:center;gap:3px;font-style:normal;font-size:8px;font-weight:700;opacity:.55}
.mx-scr .n i s{display:block;width:16px;height:16px;border-radius:6px;background:currentColor;opacity:.5}
.mx-scr .n i:first-child{opacity:1}
.mx-chips{display:flex;flex-direction:column;gap:12px}
@media (max-width:620px){.mx-chips{flex-direction:row;flex-wrap:wrap;justify-content:center}}
.mx-chip{background:#fff;border:1px solid #dbe7ee;border-radius:14px;padding:10px 14px;font-size:13px;font-weight:700;color:#0f172a;box-shadow:0 14px 30px -16px rgba(15,23,42,.35);display:flex;gap:8px;align-items:center;white-space:nowrap;animation:mxfl 5s ease-in-out infinite}
.mx-chip:nth-child(2){animation-delay:-1.6s}.mx-chip:nth-child(3){animation-delay:-3.2s}
.mx-chip b{width:10px;height:10px;border-radius:3px;display:inline-block}
@media (prefers-reduced-motion:reduce){.mx-phone,.mx-chip,.mx-dot{animation:none!important}.mx-scr{transition:none}}

/* Startseite näher am Entwurf: kräftigere Farben, Text linksbündig, größere Überschrift */
.mx-hero .mx-blob{filter:blur(60px)}
.mx-hero .mx1{width:30rem;height:30rem;opacity:.55;top:-8rem;left:-6rem;right:auto;background:#22d3ee}
.mx-hero .mx2{width:26rem;height:26rem;opacity:.5;top:3rem;right:-7rem;left:auto;bottom:auto;background:#7c3aed}
.mx-hero .mx3{width:22rem;height:22rem;opacity:.35;top:auto;bottom:-8rem;left:30%;background:#ec4899}
.mx-htext{text-align:left!important}
.mx-htext h1{font-size:clamp(34px,6vw,62px)!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-.03em}
.mx-htext p{margin-left:0!important;text-align:left}
.mx-htext>div{justify-content:flex-start!important}
/* Modulkarten mit Farbkreis wie im Entwurf */
#module-detail a{position:relative;overflow:hidden}
#module-detail a::after{content:"";position:absolute;right:-40px;bottom:-50px;width:130px;height:130px;border-radius:50%;background:var(--mc,#0891b2);opacity:.16;transition:transform .4s;pointer-events:none}
#module-detail a:hover::after{transform:scale(1.6)}
#module-detail a:nth-child(1){--mc:#0891b2}#module-detail a:nth-child(2){--mc:#10b981}#module-detail a:nth-child(3){--mc:#7c3aed}#module-detail a:nth-child(4){--mc:#f97316}
#module-detail a:nth-child(5){--mc:#2563eb}#module-detail a:nth-child(6){--mc:#ec4899}#module-detail a:nth-child(7){--mc:#16a34a}#module-detail a:nth-child(8){--mc:#d97706}

/* Startseite Hero: zwei Knöpfe untereinander, Demo-Auswahl, Vertrauenszeile */
.mx-white{color:#fff}
.mx-grad-pink{background-image:linear-gradient(90deg,#ec4899,#d946ef,#f472b6,#ec4899)}
.mx-hcta{display:flex;flex-direction:column;gap:12px;width:100%;max-width:560px;margin:0 0 18px}
.mx-hbtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;padding:14px 20px;border-radius:14px;font-weight:800;font-size:16px;line-height:1.2;text-align:center;cursor:pointer;transition:background-color .2s,border-color .2s,transform .2s,box-shadow .2s;-webkit-tap-highlight-color:transparent}
.mx-hbtn-fill{background:#7c3aed;color:#fff;border:1px solid #7c3aed;box-shadow:0 14px 32px -12px rgba(124,58,237,.75)}
.mx-hbtn-fill:hover{background:#8b5cf6;border-color:#8b5cf6;transform:translateY(-1px)}
.mx-hbtn-line{background:transparent;color:#e6f2f7;border:1.5px solid #3b5566}
.mx-hbtn-line:hover{border-color:#a78bfa;color:#fff;background:rgba(124,58,237,.08)}
.mx-hbtn:focus-visible,.mx-demo-item:focus-visible{outline:3px solid #22d3ee;outline-offset:3px}
.mx-hbtn-chev{transition:transform .25s;flex-shrink:0}
.mx-hbtn[aria-expanded="true"] .mx-hbtn-chev{transform:rotate(180deg)}
.mx-demo-wrap{position:relative}
.mx-demo-menu{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:40;display:flex;flex-direction:column;gap:6px;padding:6px;border-radius:14px;background:#0d1c25;border:1px solid #2a4757;box-shadow:0 24px 50px -12px rgba(0,0,0,.9);animation:mxMenuIn .2s ease-out}
.mx-demo-menu[hidden]{display:none}
.mx-demo-item{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 12px;border-radius:10px;color:#e6f2f7;text-decoration:none;text-align:left;transition:background-color .2s}
.mx-demo-item:hover{background:rgba(255,255,255,.05)}
.mx-demo-ic{flex-shrink:0;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--mc,#7c3aed)}
.mx-demo-tx{display:flex;flex-direction:column;min-width:0;flex:1}
.mx-demo-tx b{font-size:15px;font-weight:800}
.mx-demo-tx small{font-size:13px;color:#9bb2bd;line-height:1.35}
.mx-demo-go{flex-shrink:0;color:#9bb2bd}
.mx-trust{font-size:13px;line-height:1.5;color:#9bb2bd;font-weight:500;margin:0}
@keyframes mxMenuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mx-demo-menu{animation:none}.mx-hbtn,.mx-hbtn-chev{transition:none}}
@media (max-width:400px){.mx-hbtn{font-size:15px;padding:14px 14px;gap:8px}.mx-hbtn-fill .mx-hbtn-ic{display:none}}
