/* ma-layout v2 - 2026-04-23 - Full rewrite
   Layout resets + alle .ma-* Klassen für Cat 109 + 256
   Lädt via header.tpl konditional {if id==109 || ==256} im <head> */

/* ===== LAYOUT RESETS ===== */
/* Emotion height auto */
.emotion--wrapper,.emotion--container,.emotion--element,
.emotion--sizer,.emotion--sizer-xs,.emotion--sizer-s,.emotion--sizer-m,.emotion--sizer-l,.emotion--sizer-xl{
height:auto!important;max-height:none!important;overflow:visible!important}

/* Sidebar komplett weg */
body .sidebar-main,body aside.sidebar-main{display:none!important;width:0!important;position:absolute!important;left:-9999px!important}

/* Content full-width ohne Sidebar-Offset */
body .content-main--inner{padding-left:0!important;margin-left:0!important;width:100%!important}
body .content-main,body .is--ctl-listing .content-main{left:0!important;width:100%!important;margin-left:0!important;padding-left:0!important;float:none!important}
.is--ctl-listing .content-main{left:0!important}
.content.listing--content{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
.content--wrapper{width:100%!important;max-width:100%!important}

/* Listing komplett weg */
.listing--container,.listing--wrapper,.listing--actions,.infinite--actions{display:none!important}

/* "Weitere Artikel" Link weg */
.emotion--show-listing{display:none!important}

/* "Zuletzt angesehen" weg */
.last-seen-products{display:none!important}

/* Breadcrumb-Sidebar weg */
.breadcrumb--categories{display:none!important}

/* ===== .ma-* KLASSEN (Hub-Design) ===== */
.ma-hub *{box-sizing:border-box;margin:0;padding:0}
.ma-hub{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;color:#1a1a1a;max-width:980px;margin:0 auto}
.ma-hero{border-radius:16px;margin-bottom:12px;overflow:hidden;position:relative}.ma-hero img.ma-hero-img{width:100%;display:block;border-radius:16px}
.ma-hero::after{display:none}
.ma-hero-c{position:absolute;bottom:0;left:0;right:0;z-index:1;padding:32px;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.ma-hero h2{font-size:34px;font-weight:700;margin-bottom:14px;line-height:1.15;color:#fff}
.ma-hero h2 span{color:#6ec4f7}
.ma-hero p{font-size:16px;opacity:.82;line-height:1.65;color:#fff}
.ma-kg{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}
.ma-kc{background:#fff;border-radius:14px;border:2px solid #e4e4e4;overflow:hidden;display:flex;flex-direction:column;transition:all .25s;cursor:pointer;text-decoration:none;color:#1a1a1a}
.ma-kc:hover{border-color:#5bb8f5;box-shadow:0 8px 28px rgba(91,184,245,.15);transform:translateY(-3px)}
.ma-kc img{width:100%;height:120px;object-fit:contain;background:#f5f5f5;padding:8px}
.ma-kb{padding:16px 18px;flex:1}
.ma-kc h3{font-size:17px;font-weight:700;margin-bottom:4px}
.ma-ks{font-size:11px;font-weight:600;color:#5bb8f5;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.ma-kc .ma-kb p{font-size:13px;color:#666;line-height:1.5}
.ma-ki{margin-top:10px;padding-top:8px;border-top:1px dashed #e0e0e0}
.ma-ki span{font-size:11px;color:#888;font-weight:600;text-transform:uppercase}
.ma-ki p{font-size:12px;color:#555;margin-top:3px}
.ma-kf{padding:12px 18px;background:#f8f9fa;border-top:1px solid #eee;display:flex;justify-content:space-between;align-items:center}
.ma-tg{font-size:11px;font-weight:600;padding:3px 10px;border-radius:20px}
.tg1{background:#e8f5e9;color:#2e7d32}.tg2{background:#e3f2fd;color:#1565c0}.tg3{background:#fff3e0;color:#e65100}.tg4{background:#fce4ec;color:#c62828}
.ma-gm{background:#fff;border-radius:14px;padding:28px;margin-bottom:12px;display:flex;gap:24px;align-items:center}
.ma-gm-t{flex:1}.ma-gm h3{font-size:20px;font-weight:700;margin-bottom:8px}
.ma-gm p{font-size:14px;color:#666;line-height:1.6;margin-bottom:12px}
.ma-gm-a{display:inline-flex;padding:10px 20px;background:#1a2332;color:#fff;border-radius:8px;text-decoration:none;font-weight:600;font-size:14px}
.ma-gm-i{width:200px;min-width:200px;height:140px;border-radius:12px;overflow:hidden}
.ma-gm-i img{width:100%;height:100%;object-fit:cover}
.ma-mt{background:#fff;border-radius:14px;padding:28px;margin-bottom:12px}
.ma-mt h3{font-size:20px;font-weight:700;margin-bottom:6px}
.ma-mt>p{font-size:14px;color:#666;margin-bottom:16px}
.ma-mg{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.ma-mi{text-align:center;padding:14px 6px;border-radius:10px;border:1px solid #eee}
.ma-md{width:40px;height:40px;border-radius:50%;margin:0 auto 8px;border:2px solid #ddd}
.ma-mi h4{font-size:12px;font-weight:600;margin-bottom:2px}.ma-mi small{font-size:11px;color:#888}
.ma-tr{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:6px}
.ma-ti{background:#fff;border-radius:12px;padding:18px 12px;text-align:center}
.ma-ti-i{font-size:24px;margin-bottom:6px}.ma-ti-l{font-size:13px;font-weight:600;color:#333}.ma-ti-s{font-size:11px;color:#888;margin-top:2px}
@media(max-width:768px){.ma-kg{grid-template-columns:repeat(2,1fr)}.ma-mg{grid-template-columns:repeat(3,1fr)}.ma-tr{grid-template-columns:repeat(3,1fr)}.ma-gm{flex-direction:column}.ma-gm-i{width:100%;min-width:auto}.ma-hero{padding:28px 20px}.ma-hero h2{font-size:24px}}
