/* ==========================================================================
   Motion Products  (css/motion-products.css)
   Motion layer for every page under /pages/produkte/ (hub, categories, type pages, brands)
   and for the generated model pages. Built on css/motion.css + js/motion.js,
   driven by js/motion-products.js.
   Namespaces: .pd-* (motion layer) and .mp-* (model pages / model cards)
   Rules: nothing is hidden without html.mo-js; decoration is absolute (no layout shift).
   ========================================================================== */

/* ---------------------------------------------------------------- paper background
   css/motion.css paints body.mo-page navy. Product sections are light and do not all
   set their own background, so the dark body used to shine through and dark text
   became unreadable. Dark blocks (hero, CTA, dark intros) paint their own background. */
body.mo-page.mo-pd { background: var(--bg-primary, #fff); }

/* Secondary buttons are designed for light sections (dark text). On the dark
   product intros without a hero they became unreadable, so flip them to light. */
.mo-pd :is(.product-hero, .product-cta, .pd-plain, [style*="color: white"]) .btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
    background: transparent;
}
.mo-pd :is(.product-hero, .product-cta, .pd-plain, [style*="color: white"]) .btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* ---------------------------------------------------------------- neutralise the legacy reveal system once the kit runs */
.mo-js .mo-pd :is(.product-reveal, .product-reveal-left, .product-reveal-right, .product-reveal-scale, .scroll-animate, .scroll-animate-left, .scroll-animate-right, .scroll-animate-scale):not([data-reveal]) { opacity: 1; transform: none; transition: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- hero */
.mo-pd .product-hero { min-height: clamp(460px, 66vh, 700px); display: flex; align-items: center; }
.mo-pd .product-hero > .container { position: relative; z-index: 2; }
.pd-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pd-fx__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 90% at 78% 40%, #000, transparent 80%); mask-image: radial-gradient(70% 90% at 78% 40%, #000, transparent 80%); }
.pd-fx__light { position: absolute; inset: 0; background: radial-gradient(560px circle at var(--lx, 76%) var(--ly, 40%), rgba(255, 255, 255, 0.2), transparent 62%); }
.pd-fx .mo-aurora { opacity: 0.5; }
.pd-hero__copy { position: relative; will-change: opacity; }
.mo-pd .product-hero__title { letter-spacing: -0.03em; }
.mo-pd .product-hero .breadcrumb a:hover { color: var(--accent) !important; }
.pd-art { position: absolute; z-index: 1; right: max(2%, calc((100vw - 1280px) / 2)); top: 50%; width: min(34vw, 440px); aspect-ratio: 420 / 360; translate: calc(var(--ax, 0) * -14px) calc(-50% + var(--ay, 0) * -10px); pointer-events: none; display: none; }
.pd-art svg { width: 100%; height: 100%; overflow: visible; display: block; max-width: none; }
.pd-art__chip { position: absolute; z-index: 3; left: -2%; bottom: 8%; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.95rem; border-radius: 14px; font-size: 0.8rem; font-weight: 700; line-height: 1.25; color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.7); animation: pd-bob 6.5s ease-in-out infinite; }
.pd-art__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }
@media (min-width: 1000px) { .pd-art { display: block; } .pd-hero--art .product-hero__content > * { max-width: min(100%, 700px); } }
.pd-art .s { fill: none; stroke: var(--accent, #e6d14d); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pd-art .w { fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pd-art .s *, .pd-art .w * { vector-effect: non-scaling-stroke; }
.pd-art .s, .pd-art .w { vector-effect: non-scaling-stroke; }
.pd-art .f { fill: var(--accent, #e6d14d); }
.pd-art .fw { fill: rgba(255, 255, 255, 0.09); }
.pd-art .fl { fill: rgba(255, 255, 255, 0.16); }
.pd-art .glow { fill: rgba(255, 255, 255, 0.28); animation: pd-glow 4s ease-in-out infinite; }
.pd-spin { transform-box: fill-box; transform-origin: center; animation: pd-spin 40s linear infinite; }
.pd-float { animation: pd-bob 6s ease-in-out infinite; }
.pd-sway { transform-box: fill-box; transform-origin: 50% 0; animation: pd-sway 7s ease-in-out infinite; }
.pd-slide { animation: pd-slide 7s var(--mo-ease-io, ease-in-out) infinite; }
.pd-lower { animation: pd-lower 8s var(--mo-ease-io, ease-in-out) infinite; }
.pd-open { transform-box: fill-box; transform-origin: 0 50%; animation: pd-open 7s var(--mo-ease-io, ease-in-out) infinite; }
.pd-ring { transform-box: fill-box; transform-origin: center; animation: pd-ripple 3.4s var(--mo-ease, ease-out) infinite; animation-delay: calc(var(--k, 0) * 0.85s); opacity: 0; }
.pd-arc { animation: pd-arc 2.4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 0.28s); opacity: 0; }
@keyframes pd-spin { to { transform: rotate(360deg); } }
@keyframes pd-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -9px, 0); } }
@keyframes pd-glow { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes pd-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes pd-slide { 0%, 14% { transform: translateX(0); } 46%, 66% { transform: translateX(-92px); } 92%, 100% { transform: translateX(0); } }
@keyframes pd-lower { 0%, 14% { transform: translateY(-92px); } 46%, 66% { transform: translateY(0); } 92%, 100% { transform: translateY(-92px); } }
@keyframes pd-open { 0%, 14% { transform: scaleX(1); } 46%, 66% { transform: scaleX(0.22); } 92%, 100% { transform: scaleX(1); } }
@keyframes pd-ripple { 0% { transform: scale(0.35); opacity: 0.85; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pd-arc { 0%, 100% { opacity: 0; } 40% { opacity: 1; } }

/* ---------------------------------------------------------------- reading progress + section rail */
/* right offset keeps the rail clear of the fixed CTA sidebar (52–56px at the right edge) */
.pd-rail { position: fixed; z-index: 40; right: calc(1.1rem + 3.5rem); top: 50%; translate: 0 -50%; display: none; opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.pd-rail.is-on { opacity: 1; pointer-events: auto; }
.pd-rail ul { list-style: none; margin: 0; padding: 0.7rem 0.55rem; display: flex; flex-direction: column; gap: 0.2rem; border-radius: 999px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(26, 39, 68, 0.08); box-shadow: 0 20px 40px -20px rgba(15, 24, 41, 0.5); }
.pd-rail a { position: relative; display: block; width: 1.5rem; height: 1.5rem; }
.pd-rail a::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #c3cbdb; transition: transform 0.4s var(--mo-ease-back, ease), background-color 0.3s; }
.pd-rail a:hover::before, .pd-rail a:focus-visible::before { transform: scale(1.5); background: var(--primary, #1a2744); }
.pd-rail a.is-active::before { transform: scale(1.7); background: var(--accent-dark, var(--accent)); box-shadow: 0 0 0 4px rgba(230, 209, 77, 0.3); }
.pd-rail a span { position: absolute; right: calc(100% + 0.7rem); top: 50%; translate: 8px -50%; white-space: nowrap; padding: 0.3rem 0.65rem; border-radius: 8px; font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--primary, #1a2744); opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.4s var(--mo-ease, ease); }
.pd-rail a:hover span, .pd-rail a:focus-visible span, .pd-rail a.is-active span { opacity: 1; translate: 0 -50%; }
.pd-rail a.is-active:not(:hover):not(:focus-visible) span { opacity: 0; }
@media (min-width: 1280px) { .pd-rail { display: block; } }

/* pages without the product-hero (hub, brands): keep the existing dark intro, add light + drift */
.pd-plain { position: relative; isolation: isolate; overflow: hidden; }
.pd-plain > .container { position: relative; z-index: 2; }
.pd-plain .pd-fx { z-index: 0; }
.mo-pd section[id] { scroll-margin-top: calc(var(--mo-header, 92px) + 16px); }

/* numbered process grids on the type pages */
.pd-steps { position: relative; }
@media (min-width: 1024px) {
    .pd-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 2.4rem; height: 2px; z-index: 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent, #e6d14d), rgba(255, 255, 255, 0.8)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; pointer-events: none; }
}

/* ---------------------------------------------------------------- headings */
.mo-pd .product-section-header__eyebrow { position: relative; overflow: hidden; }
.mo-pd .product-section-header__eyebrow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%); translate: -120% 0; }
.mo-js .mo-pd .product-section-header.is-in .product-section-header__eyebrow::after { animation: pd-shine 1.4s var(--mo-ease, ease) 0.3s 1 both; }
@keyframes pd-shine { to { translate: 120% 0; } }
.mo-pd .product-section-header__title { letter-spacing: -0.02em; }
/* small uppercase eyebrows sat at ~2:1 (gold on cream). Darken the accent text
   while keeping the hue, so it stays on-brand but readable. */
.mo-pd .product-section-header__eyebrow { color: var(--accent-dark); }
@supports (color: color-mix(in srgb, red, blue)) {
    .mo-pd .product-section-header__eyebrow { color: color-mix(in srgb, var(--accent-dark) 52%, #1a2744); }
}

/* ---------------------------------------------------------------- cards: spotlight, tilt, edge glow */
.mo-pd :is(.product-glass-card, .product-icon-card, .product-type-card, .product-advantage, .mp-mcard, .mp-compat__link, .mp-fact, .mp-steps4 li) { position: relative; isolation: isolate; }
.mo-pd :is(.product-glass-card, .product-icon-card, .product-type-card, .mp-mcard, .mp-compat__link, .mp-fact)::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(230, 209, 77, 0.2), transparent 46%); transition: opacity 0.5s; }
.mo-pd :is(.product-glass-card, .product-icon-card, .product-type-card, .mp-mcard, .mp-compat__link, .mp-fact):hover::after { opacity: 1; }
.mo-pd .product-glass-card { background: linear-gradient(155deg, #fff 0%, #f4f7fb 100%); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgba(26, 39, 68, 0.07); box-shadow: 0 1px 0 #fff inset, 0 26px 50px -34px rgba(15, 24, 41, 0.55), 0 2px 8px -2px rgba(15, 24, 41, 0.06); transition: box-shadow 0.6s var(--mo-ease, ease), border-color 0.5s, transform 0.5s var(--mo-ease, ease); }
.mo-pd .product-glass-card::before { transition: width 0.9s var(--mo-ease, ease), height 0.5s; }
.mo-pd .product-glass-card:hover { transform: none; border-color: rgba(230, 209, 77, 0.45); box-shadow: 0 1px 0 #fff inset, 0 40px 70px -36px rgba(15, 24, 41, 0.65), 0 2px 8px -2px rgba(15, 24, 41, 0.08); }
.mo-pd .product-glass-card:hover::before { width: 100%; height: 5px; border-radius: 0; }
.mo-pd .product-glass-card__icon { transition: transform 0.7s var(--mo-ease-back, ease), box-shadow 0.6s; }
.mo-pd .product-glass-card:hover .product-glass-card__icon { transform: translateY(-5px) rotate(-7deg) scale(1.09); box-shadow: 0 18px 30px -14px rgba(26, 39, 68, 0.7); }
.mo-pd .product-glass-card:hover .product-glass-card__icon :is(path, rect, circle, line, polyline) { stroke-dasharray: 1 2; animation: pd-redraw 1.1s var(--mo-ease-io, ease) both; }
@keyframes pd-redraw { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
.mo-pd .product-icon-card:hover { transform: none; }
.mo-pd .product-type-card:hover { transform: none; }
.mo-pd .product-type-card__media { overflow: hidden; }
.mo-pd .product-type-card__media picture { display: block; height: 100%; }
.mo-pd .product-type-card__media img { transform: scale(1.12); transition: transform 1.4s var(--mo-ease, ease); will-change: transform; }
.mo-pd .product-type-card:hover .product-type-card__media img { transform: scale(1.2); }
.mo-pd .product-feature-split__media { position: relative; overflow: hidden; }
.mo-pd .product-feature-split__media picture { display: block; height: 100%; }
.mo-pd .product-feature-split__media img { transition: transform 1.2s var(--mo-ease, ease); }

/* ---------------------------------------------------------------- stats */
.mo-pd .product-stat { position: relative; overflow: hidden; }
.mo-pd .product-stat::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0.9rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.7)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--mo-ease, ease) 0.3s; opacity: 0.9; }
.mo-pd .product-stat.is-in::after { transform: scaleX(1); }
.mo-pd .product-stat:hover .product-stat__value { transform: scale(1.06); }
.mo-pd .product-stat__value { transition: transform 0.6s var(--mo-ease-back, ease); }

/* ---------------------------------------------------------------- gallery */
.mo-pd .product-gallery__item picture { display: block; height: 100%; }
.mo-pd .product-gallery__item img { transition: transform 1.2s var(--mo-ease, ease), filter 0.6s; }

/* ---------------------------------------------------------------- Q&A cards (legacy .card FAQ) */
.pd-qa { counter-reset: pdq; }
.pd-qa__item { position: relative; counter-increment: pdq; padding-left: 4.2rem !important; overflow: hidden; transition: box-shadow 0.5s var(--mo-ease, ease), border-color 0.4s, transform 0.5s var(--mo-ease, ease); }
.pd-qa__item::before { content: counter(pdq, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1.25rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; font-size: 0.78rem; font-weight: 800; color: var(--primary, #1a2744); background: #f3ecb8; transition: transform 0.6s var(--mo-ease-back, ease), background-color 0.4s; }
.pd-qa__item.is-in::before { background: var(--accent, #e6d14d); }
.pd-qa__item::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent, #e6d14d), var(--primary, #1a2744)); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.8s var(--mo-ease, ease) 0.15s; }
.pd-qa__item.is-in::after { transform: scaleY(1); }
.pd-qa__item:hover { transform: translateX(6px); box-shadow: 0 24px 40px -26px rgba(15, 24, 41, 0.5); }
.pd-qa__item:hover::before { transform: scale(1.12) rotate(-6deg); }

/* ---------------------------------------------------------------- CTA */
.mo-pd .product-cta { position: relative; overflow: hidden; isolation: isolate; }
.mo-pd .product-cta > .mo-aurora { opacity: 0.45; z-index: 0; }
.mo-pd .product-cta .container { position: relative; z-index: 2; }

/* ---------------------------------------------------------------- model cards (type + category pages, siblings) */
.mp-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: var(--space-6, 1.5rem); }
.mp-mcard { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; background: #fff; border-radius: 1.3rem; border: 1px solid rgba(26, 39, 68, 0.08); box-shadow: 0 26px 50px -36px rgba(15, 24, 41, 0.55), 0 2px 8px -2px rgba(15, 24, 41, 0.06); transition: box-shadow 0.6s var(--mo-ease, ease), border-color 0.5s, transform 0.6s var(--mo-ease, ease); }
.mp-mcard:hover, .mp-mcard:focus-visible { border-color: rgba(230, 209, 77, 0.55); box-shadow: 0 40px 70px -36px rgba(15, 24, 41, 0.65); }
.mp-mcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eef5; }
.mp-mcard__media picture { display: block; width: 100%; height: 100%; }
.mp-mcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.3s var(--mo-ease, ease); }
.mp-mcard:hover .mp-mcard__media img { transform: scale(1.12); }
.mp-mcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, 0.45)); pointer-events: none; }
.mp-mcard__brand { position: absolute; z-index: 2; left: 0.8rem; top: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: rgba(11, 18, 32, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mp-mcard__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.mp-mcard__name { font-size: 1.15rem; line-height: 1.25; color: var(--text-primary, #0f1829); }
.mp-mcard__kind { font-size: 0.85rem; color: var(--text-muted, #5b6679); }
.mp-mcard__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.6rem; }
.mp-mcard__chips span { padding: 0.25rem 0.6rem; font-size: 0.75rem; font-weight: 600; border-radius: 999px; background: rgba(26, 39, 68, 0.06); color: var(--primary, #1a2744); }
.mp-mcard__go { margin-top: auto; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: 0.9rem; color: var(--primary, #1a2744); }
.mp-mcard__go svg { transition: transform 0.5s var(--mo-ease, ease); }
.mp-mcard:hover .mp-mcard__go svg { transform: translateX(6px); }

/* ---------------------------------------------------------------- model page: hero */
.mp-model-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .mp-model-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.mp-model-hero__media { position: relative; margin: 0; border-radius: 1.6rem; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, 0.08); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.18); }
.mp-model-hero__media picture { display: block; width: 100%; height: 100%; }
.mp-model-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); }
.mp-model-hero__media figcaption { position: absolute; z-index: 2; right: 0.7rem; bottom: 0.55rem; padding: 0.2rem 0.55rem; border-radius: 6px; font-size: 0.68rem; color: rgba(255, 255, 255, 0.92); background: rgba(11, 18, 32, 0.55); }
.mp-model-hero__tag { position: absolute; z-index: 2; left: 0.9rem; top: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: rgba(11, 18, 32, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mp-model-hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }
.mp-model-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 32%); mix-blend-mode: soft-light; }
.mo-pd .mp-model-hero .product-hero__subtitle { max-width: 56ch; }

/* ---------------------------------------------------------------- model page: facts */
.mp-facts-sec { padding-top: 0; margin-top: -3.2rem; position: relative; z-index: 3; }
.mp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.mp-fact { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.3rem 1.4rem; border-radius: 1.2rem; background: #fff; border: 1px solid rgba(26, 39, 68, 0.07); box-shadow: 0 30px 50px -34px rgba(15, 24, 41, 0.6); overflow: hidden; }
.mp-fact::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 38%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 0 0 6px 0; transition: width 0.9s var(--mo-ease, ease); }
.mp-fact:hover::before { width: 100%; }
.mp-fact__v { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--primary, #1a2744); font-variant-numeric: tabular-nums; line-height: 1.1; }
.mp-fact__l { font-size: 0.82rem; font-weight: 600; color: var(--text-muted, #5b6679); }

/* ---------------------------------------------------------------- model page: prose + figure */
.mp-prose p { font-size: var(--text-lg, 1.125rem); line-height: 1.7; color: var(--text-secondary, #3d485a); margin: 0 0 1.1rem; }
.mp-figure { margin: 0; position: relative; border-radius: 1.6rem; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow-xl); }
.mp-figure picture { display: block; width: 100%; height: 100%; }
.mp-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--mo-ease, ease); }
.mp-figure:hover img { transform: scale(1.05); }
.mp-figure figcaption, .mp-gal figcaption { position: absolute; right: 0.6rem; bottom: 0.5rem; padding: 0.2rem 0.55rem; border-radius: 6px; font-size: 0.68rem; color: #fff; background: rgba(11, 18, 32, 0.55); }

/* ---------------------------------------------------------------- model page: technical data */
.mp-tech { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .mp-tech { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.mp-env { background: #fff; border: 1px solid rgba(26, 39, 68, 0.08); border-radius: 1.4rem; padding: 1.2rem 1.2rem 1.4rem; box-shadow: 0 30px 50px -36px rgba(15, 24, 41, 0.55); }
@media (min-width: 1024px) { .mp-env { position: sticky; top: calc(var(--mo-header, 92px) + 16px); } }
.mp-env__svg { width: 100%; height: auto; display: block; overflow: visible; }
.mp-env__grid { stroke: rgba(26, 39, 68, 0.1); stroke-width: 1; }
.mp-env__tick { font-size: 11px; fill: #66718a; font-variant-numeric: tabular-nums; }
.mp-env__axis { font-size: 12px; font-weight: 700; fill: #3d485a; }
.mp-env__wall { fill: #1a2744; }
.mp-env__area { fill: rgba(230, 209, 77, 0.28); }
.mp-env__edge { fill: none; stroke: #b79d00; stroke-width: 2.6; stroke-linejoin: round; }
.mp-env__dot { fill: #fff; stroke: #b79d00; stroke-width: 2.4; }
.mp-env__lbl { font-size: 11.5px; font-weight: 800; fill: #1a2744; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.mp-env__v1 .mp-env__area { fill: rgba(47, 127, 181, 0.22); }
.mp-env__v1 .mp-env__edge, .mp-env__v1 .mp-env__dot { stroke: #2f7fb5; }
.mp-env__v2 .mp-env__area { fill: rgba(106, 183, 224, 0.2); }
.mp-env__v2 .mp-env__edge, .mp-env__v2 .mp-env__dot { stroke: #6ab7e0; }
.mp-env__legend { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.8rem; font-weight: 600; color: #3d485a; }
.mp-env__key i { display: inline-block; width: 12px; height: 12px; margin-right: 0.4rem; border-radius: 3px; vertical-align: -1px; background: rgba(230, 209, 77, 0.55); border: 2px solid #b79d00; }
.mp-env__key1 i { background: rgba(47, 127, 181, 0.4); border-color: #2f7fb5; }
.mp-env__key2 i { background: rgba(106, 183, 224, 0.4); border-color: #6ab7e0; }
.mp-env__mark { fill: #e11d48; stroke: #fff; stroke-width: 2.5; transition: cx 0.4s var(--mo-ease, ease), cy 0.4s var(--mo-ease, ease); }
.mp-fit { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(26, 39, 68, 0.18); display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 0.9rem; }
.mp-fit[hidden] { display: none; }
.mp-fit strong { grid-column: 1 / -1; font-size: 0.95rem; }
.mp-fit label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; color: #3d485a; }
.mp-fit input { padding: 0.55rem 0.7rem; font: inherit; font-size: 1rem; border-radius: 10px; border: 1.5px solid #c3cbdb; background: #fff; }
.mp-fit input:focus-visible { outline: 3px solid rgba(230, 209, 77, 0.6); border-color: #b79d00; }
.mp-fit__out { grid-column: 1 / -1; margin: 0; padding: 0.65rem 0.8rem; border-radius: 10px; font-size: 0.88rem; font-weight: 700; line-height: 1.4; background: #f1f4f9; color: #3d485a; transition: background-color 0.4s, color 0.4s; }
.mp-fit__out[data-ok="yes"] { background: #dcfce7; color: #14532d; }
.mp-fit__out[data-ok="no"] { background: #fee2e2; color: #7f1d1d; }
.mp-spec-wrap { overflow-x: auto; border-radius: 1.2rem; border: 1px solid rgba(26, 39, 68, 0.08); background: #fff; box-shadow: 0 30px 50px -36px rgba(15, 24, 41, 0.45); }
.mp-spec { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.mp-spec th, .mp-spec td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(26, 39, 68, 0.07); }
.mp-spec thead th { background: var(--primary, #1a2744); color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.mp-spec tbody th { width: 34%; font-weight: 700; color: var(--primary, #1a2744); background: #f7f9fc; }
.mp-spec tbody tr { transition: background-color 0.3s; }
.mp-spec tbody tr:hover td { background: rgba(230, 209, 77, 0.12); }
.mp-spec tbody tr:last-child th, .mp-spec tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- model page: colours, fabrics, options */
.mp-sws { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
.mp-sw { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 0.7rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: 14px; background: #fff; border: 1px solid rgba(26, 39, 68, 0.08); transition: transform 0.5s var(--mo-ease-back, ease), box-shadow 0.5s; }
.mp-sw:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 30px -16px rgba(15, 24, 41, 0.5); }
.mp-sw__chip { grid-row: 1 / 4; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18), inset 0 -8px 12px -6px rgba(0, 0, 0, 0.25), inset 0 6px 8px -4px rgba(255, 255, 255, 0.5); }
.mp-sw__name { font-weight: 700; font-size: 0.85rem; line-height: 1.2; }
.mp-sw small { font-size: 0.72rem; color: #66718a; }
.mp-sw em { font-style: normal; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #166534; }
.mp-sw em.is-special { color: #92400e; }
.mp-fabric { display: grid; gap: 1.5rem; align-items: center; padding: 1.5rem; border-radius: 1.4rem; background: linear-gradient(155deg, #fff, #f4f7fb); border: 1px solid rgba(26, 39, 68, 0.08); }
@media (min-width: 900px) { .mp-fabric { grid-template-columns: 1.1fr 0.9fr; } }
.mp-fabric h3 { margin: 0 0 0.8rem; font-size: 1.2rem; }
.mp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.mp-checks li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-secondary, #3d485a); }
.mp-checks svg { flex: none; margin-top: 0.15rem; color: var(--success, #16a34a); }
.mp-fabrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 0.6rem; }
.mp-fab { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; text-align: center; }
.mp-fab span { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); transition: transform 0.5s var(--mo-ease-back, ease); }
.mp-fab:hover span { transform: rotate(-4deg) scale(1.08); }
.mp-fab small { font-size: 0.66rem; line-height: 1.2; color: #66718a; }
.mp-note { margin: 1.2rem 0 0; font-size: 0.82rem; color: #66718a; }
.mp-opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.8rem; }
.mp-opt { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.95rem 1.1rem; border-radius: 14px; background: #fff; border: 1px solid rgba(26, 39, 68, 0.08); font-weight: 600; }
.mp-opt span small { display: block; font-size: 0.74rem; font-weight: 500; color: #66718a; margin-top: 0.1rem; }
.mp-opt svg { flex: none; margin-top: 0.1rem; }
.mp-opt.is-yes svg { color: #16a34a; }
.mp-opt.is-no { opacity: 0.62; }
.mp-opt.is-no svg { color: #94a3b8; }

/* ---------------------------------------------------------------- model page: gallery, compat, steps, faq, sources */
.mp-gal { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mp-gal--1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.mp-gal__item { position: relative; margin: 0; border-radius: 1.2rem; overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; box-shadow: 0 26px 50px -34px rgba(15, 24, 41, 0.6); }
.mp-gal__item picture { display: block; width: 100%; height: 100%; }
.mp-gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--mo-ease, ease); }
.mp-gal__item:hover img { transform: scale(1.08); }
.mp-compat { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mp-compat__link { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.8rem; align-items: center; padding: 1rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid rgba(26, 39, 68, 0.08); text-decoration: none; color: inherit; transition: box-shadow 0.5s var(--mo-ease, ease), border-color 0.4s; }
a.mp-compat__link:hover { border-color: rgba(230, 209, 77, 0.6); box-shadow: 0 22px 40px -26px rgba(15, 24, 41, 0.55); }
.mp-compat__link span { grid-column: 1; font-size: 0.83rem; color: #66718a; }
.mp-compat__link i { grid-column: 2; grid-row: 1 / 3; transition: transform 0.5s var(--mo-ease, ease); color: var(--primary, #1a2744); }
a.mp-compat__link:hover i { transform: translateX(5px); }
.mp-steps4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s4; position: relative; }
.mp-steps4 li { padding: 1.4rem 1.3rem; border-radius: 1.2rem; background: #fff; border: 1px solid rgba(26, 39, 68, 0.08); box-shadow: 0 26px 46px -34px rgba(15, 24, 41, 0.5); }
.mp-steps4 b { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 0.8rem; border-radius: 50%; font-size: 1.1rem; background: var(--accent, #e6d14d); color: var(--primary, #1a2744); box-shadow: 0 0 0 6px rgba(230, 209, 77, 0.25); transition: transform 0.6s var(--mo-ease-back, ease); }
.mp-steps4 li:hover b { transform: rotate(-8deg) scale(1.12); }
.mp-steps4 h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.mp-steps4 p { margin: 0; font-size: 0.9rem; color: var(--text-secondary, #3d485a); line-height: 1.55; }
.mp-faqs { max-width: 860px; margin: 0 auto; display: grid; gap: 0.7rem; }
.mp-faq { border-radius: 14px; background: #fff; border: 1px solid rgba(26, 39, 68, 0.08); overflow: hidden; transition: box-shadow 0.5s var(--mo-ease, ease), border-color 0.4s; }
.mp-faq[open] { border-color: rgba(230, 209, 77, 0.6); box-shadow: 0 24px 44px -28px rgba(15, 24, 41, 0.55); }
.mp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 700; }
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary i { position: relative; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #f3ecb8; transition: transform 0.5s var(--mo-ease-back, ease), background-color 0.3s; }
.mp-faq summary i::before, .mp-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--primary, #1a2744); transition: transform 0.4s; }
.mp-faq summary i::after { transform: rotate(90deg); }
.mp-faq[open] summary i { background: var(--accent, #e6d14d); transform: rotate(180deg); }
.mp-faq[open] summary i::after { transform: rotate(0); }
.mp-faq__a { padding: 0 1.2rem 1.1rem; color: var(--text-secondary, #3d485a); line-height: 1.65; animation: pd-fade 0.5s var(--mo-ease, ease); }
.mp-faq__a p { margin: 0; }
.mp-faq__a a { color: var(--primary, #1a2744); text-decoration: underline; }
@keyframes pd-fade { from { opacity: 0; translate: 0 -6px; } }
.mp-sources { max-width: 860px; margin: 0 auto; padding: 1.4rem 1.5rem; border-radius: 1.2rem; background: #f7f9fc; border: 1px solid rgba(26, 39, 68, 0.08); font-size: 0.85rem; color: #55607a; }
.mp-sources h2 { font-size: 1rem; margin: 0 0 0.5rem; }
.mp-sources ul { margin: 0.5rem 0; padding-left: 1.1rem; }
.mp-sources a { color: var(--primary, #1a2744); text-decoration: underline; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pd-art *, .pd-art__chip, .mo-pd .product-glass-card:hover .product-glass-card__icon :is(path, rect, circle, line, polyline) { animation: none !important; }
    .mp-env__mark { transition: none; }
    .mo-pd .product-type-card__media img, .mp-model-hero__media img { transform: none; }
}
