/* ==========================================================================
   Motion Pages  (css/motion-pages.css)
   Progressive-enhancement layer for the company / job / service / location /
   contact pages. Built on css/motion.css + js/motion.js, driven by js/motion-pages.js.
   Namespace: .mp-*   (SVG animation parts: .mp-art *)
   Rules: nothing here hides content without html.mo-js; no layout shift (decor is absolute).
   ========================================================================== */

body.mo-page.mo-co { background: #fff; }

/* ---------------------------------------------------------------- hero */
.mp-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(380px, 56vh, 600px); }
.mp-hero > .container { position: relative; z-index: 2; }
.mp-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mp-hero__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%); }
.mp-hero__light { position: absolute; inset: 0; background: radial-gradient(560px circle at var(--lx, 76%) var(--ly, 40%), rgba(230, 209, 77, 0.16), transparent 62%); }
.mp-hero__bg .mo-aurora { opacity: 0.55; }
.mp-hero__copy { position: relative; will-change: opacity; }
.mp-hero h1 { letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.mp-hero .breadcrumb a:hover { color: var(--accent) !important; }

.mp-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; }
.mp-art svg { width: 100%; height: 100%; overflow: visible; display: block; max-width: none; }
.mp-art__chip { position: absolute; z-index: 3; 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.1); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.7); animation: mp-bob 6.5s ease-in-out infinite; }
.mp-art__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(230, 209, 77, 0.25); }
@media (min-width: 1000px) { .mp-art { display: block; } .mp-hero--art .container > * { max-width: min(100%, 700px); } }

/* svg art vocabulary */
.mp-art .s { fill: none; stroke: var(--accent, #e6d14d); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mp-art .s * { vector-effect: non-scaling-stroke; }
.mp-art .w { fill: none; stroke: rgba(255, 255, 255, 0.78); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mp-art .w * { vector-effect: non-scaling-stroke; }
.mp-art .f { fill: var(--accent, #e6d14d); }
.mp-art .fw { fill: rgba(255, 255, 255, 0.09); }
.mp-art .glow { fill: rgba(255, 224, 130, 0.22); animation: mp-glow 4s ease-in-out infinite; }
.mp-spin { transform-box: fill-box; transform-origin: center; animation: mp-spin 40s linear infinite; }
.mp-spin--r { animation-direction: reverse; animation-duration: 26s; }
.mp-float { animation: mp-bob 6s ease-in-out infinite; }
.mp-shut { animation: mp-shutter 8s var(--mo-ease-io, ease-in-out) infinite; }
.mp-ring { transform-box: fill-box; transform-origin: center; animation: mp-ripple 3.4s var(--mo-ease, ease-out) infinite; animation-delay: calc(var(--k, 0) * 0.85s); opacity: 0; }
.mp-drop { animation: mp-drop 1.6s var(--mo-ease-back, cubic-bezier(0.34, 1.56, 0.64, 1)) 0.9s both; transform-box: fill-box; transform-origin: 50% 100%; }
.mp-wave { animation: mp-wave 9s linear infinite; }
.mp-wave--b { animation-duration: 13s; animation-direction: reverse; opacity: 0.6; }
.mp-arc { animation: mp-arc 2.4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 0.28s); opacity: 0; }
.mp-fly { animation: mp-fly 6s var(--mo-ease-io, ease-in-out) infinite; }

@keyframes mp-spin { to { transform: rotate(360deg); } }
@keyframes mp-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -9px, 0); } }
@keyframes mp-glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes mp-shutter { 0%, 18% { transform: translateY(0); } 42%, 70% { transform: translateY(-50px); } 92%, 100% { transform: translateY(0); } }
@keyframes mp-ripple { 0% { transform: scale(0.35); opacity: 0.85; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes mp-drop { 0% { transform: translateY(-120px) scaleY(1.15); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes mp-wave { to { transform: translateX(-100px); } }
@keyframes mp-arc { 0%, 100% { opacity: 0; } 40% { opacity: 1; } }
@keyframes mp-fly { 0%, 12% { transform: translate(-30px, 16px) rotate(-6deg); } 50% { transform: translate(14px, -10px) rotate(2deg); } 88%, 100% { transform: translate(-30px, 16px) rotate(-6deg); } }

/* the repair hero is orange: draw the art in white for contrast */
body[data-mo-page="repair"] .mp-art .s { stroke: #fff; }
body[data-mo-page="repair"] .mp-art .f { fill: #fff; }
body[data-mo-page="repair"] .mp-art .glow { fill: rgba(255, 255, 255, 0.25); }
body[data-mo-page="repair"] .mp-art__chip i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3); }

/* contact: keep the location cards in view while the long form scrolls */
@media (min-width: 1024px) { .mp-sticky { position: sticky; top: calc(var(--mo-header, 92px) + 24px); align-self: start; } }

/* ---------------------------------------------------------------- cards (tilt + spotlight on legacy cards) */
.mp-card { position: relative; isolation: isolate; }
.mp-card::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; }
.mp-card:hover::after { opacity: 1; }
.mp-card--soft:hover { transition: box-shadow 0.5s var(--mo-ease, ease), transform 0.5s var(--mo-ease, ease); }

/* ---------------------------------------------------------------- timeline (existing markup; progress + dots driven by JS) */
/* Rebuilt: faint track + gold fill that follows the reading line; dots light up when reached;
   connector arms draw out to each card. (Selectors out-rank the page's inline <style>.) */
.mp-timeline.timeline { position: relative; }
.mp-timeline.timeline::before { background: linear-gradient(180deg, rgba(26, 39, 68, 0.16), rgba(26, 39, 68, 0.07)); transform: translateX(-50%); transition: none; }
.mp-timeline.timeline::after { content: ""; position: absolute; left: 50%; top: 0; width: 4px; height: 100%; border-radius: 2px; background: linear-gradient(180deg, #1a2744 0%, #8a7a12 55%, var(--accent, #e6d14d) 92%, #fff0a8 100%); transform: translateX(-50%) scaleY(var(--tp, 0)); transform-origin: top center; box-shadow: 0 0 18px rgba(230, 209, 77, 0.5); pointer-events: none; }
.mp-timeline__head { position: absolute; z-index: 4; left: 50%; top: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: radial-gradient(circle, #fff 0 28%, var(--accent, #e6d14d) 30%); box-shadow: 0 0 0 7px rgba(230, 209, 77, 0.22), 0 0 30px 8px rgba(230, 209, 77, 0.6); pointer-events: none; transform: translateY(calc(var(--th, 0) * 1px)); will-change: transform; }
.mp-timeline .timeline-dot { top: calc(var(--space-6, 1.5rem) + 16px); background: #fff; border: 4px solid #c3cbdb; box-shadow: 0 0 0 0 rgba(230, 209, 77, 0); transition: background-color 0.5s, border-color 0.5s, transform 0.7s var(--mo-ease-back, ease), box-shadow 0.9s; }
.mp-timeline .timeline-item.is-reached .timeline-dot { background: var(--accent, #e6d14d); border-color: #fff; transform: scale(1.2); box-shadow: 0 0 0 7px rgba(230, 209, 77, 0.28), 0 10px 20px -8px rgba(15, 24, 41, 0.5); animation: none; }
.mp-timeline .timeline-content { position: relative; transition: box-shadow 0.6s var(--mo-ease, ease), border-color 0.5s; border: 1px solid rgba(26, 39, 68, 0.07); }
.mp-timeline .timeline-item.is-reached .timeline-content { box-shadow: 0 28px 50px -30px rgba(15, 24, 41, 0.55), 0 0 0 1px rgba(230, 209, 77, 0.35); }
.mp-timeline .timeline-content::before { content: ""; position: absolute; top: 26px; height: 3px; width: var(--space-12, 3rem); border-radius: 2px; background: linear-gradient(90deg, var(--accent, #e6d14d), rgba(230, 209, 77, 0.2)); transform: scaleX(0); transition: transform 0.7s var(--mo-ease, ease) 0.15s; pointer-events: none; }
.mp-timeline .timeline-item:nth-child(odd) .timeline-content::before { left: 100%; transform-origin: 0 50%; }
.mp-timeline .timeline-item:nth-child(even) .timeline-content::before { right: 100%; transform-origin: 100% 50%; background: linear-gradient(270deg, var(--accent, #e6d14d), rgba(230, 209, 77, 0.2)); }
.mp-timeline .timeline-item.is-reached .timeline-content::before { transform: scaleX(1); }
.mp-timeline .timeline-item.is-reached .timeline-year { background: linear-gradient(135deg, var(--accent, #e6d14d), #f6e88c); color: var(--primary, #1a2744); }
@media (max-width: 768px) {
    .mp-timeline.timeline::after { left: 20px; }
    .mp-timeline__head { left: 20px; }
    .mp-timeline .timeline-item .timeline-content::before,
    .mp-timeline .timeline-item:nth-child(odd) .timeline-content::before,
    .mp-timeline .timeline-item:nth-child(even) .timeline-content::before { left: auto; right: 100%; width: 28px; transform-origin: 100% 50%; background: linear-gradient(270deg, var(--accent, #e6d14d), rgba(230, 209, 77, 0.2)); }
}

/* ---------------------------------------------------------------- glass cards (all company + product pages) */
@property --mp-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.mo-co .card-glass { position: relative; overflow: hidden; border-radius: 1.3rem; border: 1px solid rgba(26, 39, 68, 0.07); background: linear-gradient(155deg, #ffffff 0%, #f4f7fb 100%); -webkit-backdrop-filter: none; backdrop-filter: none; 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-co .card-glass::before { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1.5px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: conic-gradient(from var(--mp-ang), rgba(230, 209, 77, 0) 0deg, rgba(230, 209, 77, 0.95) 70deg, rgba(230, 209, 77, 0) 140deg, rgba(26, 39, 68, 0.3) 230deg, rgba(230, 209, 77, 0) 300deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.mo-co .card-glass:hover { border-color: rgba(230, 209, 77, 0.4); 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-co .card-glass:hover::before { opacity: 1; animation: mp-ang 3.4s linear infinite; }
@keyframes mp-ang { to { --mp-ang: 360deg; } }
.mo-co .card-glass h3, .mo-co .card-glass h4 { position: relative; }
.mo-co .feature-card__icon { transition: transform 0.7s var(--mo-ease-back, ease), box-shadow 0.6s; }
.mo-co .feature-card:hover .feature-card__icon { transform: translateY(-5px) rotate(-7deg) scale(1.09); box-shadow: 0 18px 30px -14px rgba(26, 39, 68, 0.7); }
.mo-co .feature-card:hover .feature-card__icon :is(path, rect, circle, line, polyline) { stroke-dasharray: 1 2; animation: mp-redraw 1.1s var(--mo-ease-io, ease) both; }
@keyframes mp-redraw { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .mo-co .card-glass:hover::before { animation: none; } .mo-co .feature-card:hover .feature-card__icon :is(path, rect, circle, line, polyline) { animation: none; stroke-dasharray: none; } }

/* ---------------------------------------------------------------- process steps (numbered feature cards) */
.mp-steps { position: relative; counter-reset: mpstep; }
.mp-steps > * { position: relative; }
.mp-steps > *::before { counter-increment: mpstep; content: counter(mpstep, decimal-leading-zero); position: absolute; right: 1.1rem; top: 0.6rem; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.3px rgba(26, 39, 68, 0.16); transition: -webkit-text-stroke-color 0.6s, color 0.6s; pointer-events: none; }
.mp-steps > .is-in::before { -webkit-text-stroke-color: rgba(212, 192, 56, 0.9); }
@media (min-width: 1024px) {
    .mp-steps::after { content: ""; position: absolute; left: 6%; right: 6%; top: 3.1rem; height: 2px; z-index: 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent, #e6d14d), #fff0a8); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); opacity: 0.8; pointer-events: none; }
}

/* ---------------------------------------------------------------- FAQ blocks */
.mp-faq { counter-reset: mpq; }
.mp-faq__item { position: relative; counter-increment: mpq; padding: 0.2rem 0 0.2rem 3.4rem; margin-bottom: 0.4rem; }
.mp-faq__item::before { content: counter(mpq, decimal-leading-zero); position: absolute; left: 0; top: 0.1rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 0.8rem; font-weight: 800; color: var(--primary, #1a2744); background: #f3ecb8; box-shadow: 0 0 0 0 rgba(230, 209, 77, 0.6); transition: transform 0.6s var(--mo-ease-back, ease), background-color 0.4s, box-shadow 0.8s; }
.mp-faq__item.is-in::before { background: var(--accent, #e6d14d); box-shadow: 0 0 0 8px rgba(230, 209, 77, 0); }
.mp-faq__item::after { content: ""; position: absolute; left: 1.2rem; top: 2.7rem; bottom: -0.2rem; width: 2px; background: linear-gradient(var(--accent, #e6d14d), transparent); transform-origin: 0 0; transform: scaleY(0); transition: transform 0.9s var(--mo-ease, ease) 0.2s; }
.mp-faq__item.is-in::after { transform: scaleY(1); }
.mp-faq__item:last-child::after { display: none; }
.mp-faq__item:hover::before { transform: scale(1.12) rotate(-6deg); }
.mp-faq__item h3 { margin-top: 0.2rem; }

/* ---------------------------------------------------------------- region tags / gallery */
.region-list .region-tag { transition: transform 0.45s var(--mo-ease-back, ease), background-color 0.3s, color 0.3s, box-shadow 0.4s; }
.region-list .region-tag:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 20px -12px rgba(26, 39, 68, 0.5); }
.showroom-gallery picture { display: block; overflow: hidden; border-radius: inherit; }

/* ---------------------------------------------------------------- opening status */
.mp-open { display: inline-flex; align-items: center; gap: 0.6rem; max-width: 100%; margin: 0.2rem 0 0.9rem; padding: 0.45rem 0.9rem 0.45rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; line-height: 1.3; color: #14532d; background: #dcfce7; border: 1px solid #86efac; }
.mp-open__dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; }
.mp-open__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #16a34a; animation: mp-pulse 1.8s ease-out infinite; }
.mp-open[data-state="closed"] { color: #7f1d1d; background: #fee2e2; border-color: #fca5a5; }
.mp-open[data-state="closed"] .mp-open__dot { background: #dc2626; }
.mp-open[data-state="closed"] .mp-open__dot::after { border-color: #dc2626; animation: none; opacity: 0; }
.mp-open[data-state="soon"] { color: #78350f; background: #fef3c7; border-color: #fcd34d; }
.mp-open[data-state="soon"] .mp-open__dot { background: #d97706; }
.mp-open[data-state="soon"] .mp-open__dot::after { border-color: #d97706; }
.mp-open small { font-weight: 600; opacity: 0.8; }
.mp-hero .mp-open { margin: 1.2rem 0 0; background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mp-hero .mp-open[data-state="closed"] .mp-open__dot { background: #f87171; }
.mp-hero .mp-open[data-state="soon"] .mp-open__dot { background: #fbbf24; }
.mp-hero .mp-open .mp-open__dot { background: #4ade80; }
tr.is-today td { color: var(--primary, #1a2744); background: linear-gradient(90deg, rgba(230, 209, 77, 0.28), transparent); }
tr.is-today td:first-child { border-radius: 8px 0 0 8px; padding-left: 0.5rem; box-shadow: inset 3px 0 0 var(--accent, #e6d14d); }
tr.is-today td:first-child::after { content: "heute"; margin-left: 0.5rem; padding: 0.05rem 0.4rem; border-radius: 999px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent, #e6d14d); color: #1a2744; }
@keyframes mp-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }

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

/* ---------------------------------------------------------------- contact form UX */
.mp-form { position: relative; }
.mp-form__progress { position: relative; height: 4px; margin: 0 0 1.4rem; border-radius: 4px; background: rgba(26, 39, 68, 0.1); overflow: hidden; }
.mp-form__progress i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--fp, 0)); background: linear-gradient(90deg, var(--accent, #e6d14d), #16a34a); transition: transform 0.7s var(--mo-ease, ease); }
.mp-form .form-group { position: relative; }
.mp-form .form-input, .mp-form .form-textarea { transition: border-color 0.3s, box-shadow 0.4s var(--mo-ease, ease), background-color 0.3s; }
.mp-form .form-input:focus, .mp-form .form-textarea:focus { box-shadow: 0 0 0 4px rgba(230, 209, 77, 0.35); border-color: var(--accent-dark, #d4c038); }
.mp-form .form-group.is-valid .form-input, .mp-form .form-group.is-valid .form-textarea { border-color: #16a34a; background-image: none; }
.mp-form .form-group.is-invalid .form-input, .mp-form .form-group.is-invalid .form-textarea { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); }
.mp-form .form-group.is-shake { animation: mp-shake 0.5s var(--mo-ease, ease); }
.mp-tick { position: absolute; right: 0.8rem; top: 2.45rem; width: 1.25rem; height: 1.25rem; opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.5s var(--mo-ease-back, ease); pointer-events: none; }
.mp-tick path { fill: none; stroke: #16a34a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.02; transition: stroke-dashoffset 0.6s var(--mo-ease-io, ease) 0.1s; }
.mp-form .form-group.is-valid .mp-tick { opacity: 1; transform: none; }
.mp-form .form-group.is-valid .mp-tick path { stroke-dashoffset: 0; }
.mp-form textarea.form-textarea { resize: vertical; min-height: 7rem; }
.mp-msg { margin-top: 0.35rem; font-size: 0.8rem; font-weight: 600; color: #b91c1c; min-height: 0; animation: mp-fadeup 0.4s var(--mo-ease, ease); }
.mp-count { display: block; margin-top: 0.3rem; font-size: 0.74rem; text-align: right; color: var(--text-muted, #7a7a8a); font-variant-numeric: tabular-nums; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.2rem; }
.mp-chip { padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: var(--primary, #1a2744); background: #f1f4f9; border: 2px solid transparent; cursor: pointer; transition: background-color 0.3s, border-color 0.3s, transform 0.45s var(--mo-ease-back, ease), box-shadow 0.4s; }
.mp-chip:hover { transform: translateY(-2px); background: #fffbe0; }
.mp-chip[aria-pressed="true"] { background: #fff6bf; border-color: var(--accent, #e6d14d); box-shadow: 0 10px 18px -14px rgba(138, 122, 18, 0.9); }
.mp-form.has-chips select#subject { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mp-form.has-chips label[for="subject"] { margin-bottom: 0.5rem; }
.mp-err { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0 0 1rem; padding: 0.9rem 1rem; border-radius: 0.9rem; color: #7f1d1d; background: #fee2e2; border: 1px solid #fca5a5; font-size: 0.9rem; font-weight: 600; animation: mp-fadeup 0.5s var(--mo-ease, ease); }
.mp-err[hidden] { display: none; }
.mp-submit { position: relative; overflow: hidden; transition: background 0.4s, transform 0.4s var(--mo-ease, ease), box-shadow 0.4s; }
.mp-submit .mp-submit__label { display: inline-flex; align-items: center; gap: 0.6rem; transition: opacity 0.3s, transform 0.5s var(--mo-ease, ease); }
.mp-submit.is-loading { pointer-events: none; }
.mp-submit.is-loading .mp-submit__label { opacity: 0.85; }
.mp-submit.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); background-size: 220% 100%; animation: mp-shimmer 1.1s linear infinite; }
.mp-spinner { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: mp-spin 0.7s linear infinite; }
.mp-success { padding: 2rem 1.2rem; text-align: center; border-radius: 1.2rem; background: linear-gradient(160deg, #f0fdf4, #fff); border: 1px solid #bbf7d0; animation: mp-fadeup 0.7s var(--mo-ease, ease); }
.mp-success[hidden] { display: none; }
.mp-success__ring { width: 5.5rem; height: 5.5rem; margin: 0 auto 1rem; display: block; overflow: visible; }
.mp-success__ring circle { fill: none; stroke: #16a34a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.02; animation: mp-draw 0.9s var(--mo-ease-io, ease) 0.1s forwards; transform: rotate(-90deg); transform-origin: center; }
.mp-success__ring path { fill: none; stroke: #16a34a; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.02; animation: mp-draw 0.6s var(--mo-ease-io, ease) 0.8s forwards; }
.mp-success h3 { margin: 0 0 0.4rem; font-size: 1.5rem; color: #14532d; }
.mp-success p { margin: 0 auto; max-width: 42ch; color: #3f6212; }
.mp-confetti { position: absolute; left: 50%; top: 5rem; width: 0; height: 0; pointer-events: none; }
.mp-confetti i { position: absolute; width: 8px; height: 14px; border-radius: 2px; background: var(--c); animation: mp-confetti 1.4s var(--mo-ease, ease) forwards; animation-delay: var(--d); opacity: 0; }
.mp-dropzone-over { outline: 3px dashed var(--accent, #e6d14d); outline-offset: 4px; background: #fffbe0 !important; }

@keyframes mp-draw { to { stroke-dashoffset: 0; } }
@keyframes mp-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes mp-fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mp-shimmer { to { background-position: -220% 0; } }
@keyframes mp-confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mp-art *, .mp-art__chip, .mp-open__dot::after, .mp-confetti i { animation: none !important; }
    .mp-art .mp-ring { opacity: 0.4; }
    .mp-faq__item::after { transform: scaleY(1); transition: none; }
    .mp-steps::after { transform: scaleX(1); }
    .mp-timeline__head { display: none; }
    .mp-success__ring circle, .mp-success__ring path { animation: none; stroke-dashoffset: 0; }
}
