/* VERM.Moto im DocuNorm-Design ("Lumen")
   Farben: #3b0f45 (tiefes Lila) · #7a146f (Magenta) · #cc1d77 (Pink) · Verlauf bis #ef4b6e
   Zum Zurückschalten auf Schwarz/Weiß: den <link> auf diese Datei in index.html entfernen. */

:root {
  --dn-deep: #3b0f45;
  --dn-mag: #7a146f;
  --dn-pink: #cc1d77;
  --dn-rose: #ef4b6e;
  --dn-text: #2a1233;
  --dn-muted: #7d6489;
  --dn-bg: #faf6fb;
  --dn-bg-2: #f3eaf5;
  --dn-soft: #f6eef8;
  --dn-line: #eadcee;
  --dn-grad: linear-gradient(90deg, #4a0f5a, #7a146f 35%, #cf2c85 75%, #ef4b6e);
  --dn-btn: linear-gradient(135deg, #7a146f, #3b0f45);
  --dn-btn-hot: linear-gradient(135deg, #cf2c85, #ef4b6e);
  --dn-shadow: 0 1px 2px rgba(122, 20, 111, .05), 0 8px 20px rgba(122, 20, 111, .07);
  --dn-shadow-lg: 0 2px 4px rgba(122, 20, 111, .06), 0 18px 40px rgba(122, 20, 111, .12);

  --paper: var(--dn-bg);
  --concrete: var(--dn-bg-2);
  --night: #ffffff;
  --night-2: var(--dn-soft);
  --smoke: var(--dn-muted);
  --ink: var(--dn-deep);
  --steel: var(--dn-muted);
  --line: var(--dn-line);
  --plate: #ffffff;
  --ok: #3b0f45;
  --err: #cc1d77;
  --wide: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { background: var(--dn-bg); color: var(--dn-text); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--dn-pink); outline-offset: 2px; }
::selection { background: #f7d3e6; color: var(--dn-deep); }

/* Überschriften: Verlauf wie im DocuNorm-Seitenkopf */
h1, h2, h3, .panel-title, .band h2, .lookbook h2 {
  font-stretch: 100%; font-style: normal; text-transform: none; font-weight: 800; letter-spacing: -.02em; line-height: 1.08;
  background: var(--dn-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.band h2, .lookbook h2 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 30px; }

/* ------------------------------------------------------------ Kopfzeile */
.top { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); color: var(--dn-text); border-bottom: 1px solid var(--dn-line); box-shadow: 0 1px 0 rgba(122, 20, 111, .03); }
.top-logo { display: inline-block; background: var(--dn-grad); -webkit-mask: url("../img/verm-moto-logo.png") left center / contain no-repeat; mask: url("../img/verm-moto-logo.png") left center / contain no-repeat; }
.top-logo img { filter: none; opacity: 0; }
.top-nav a { color: var(--dn-deep); font-weight: 650; }
.top-nav a:hover { color: var(--dn-pink); text-decoration: none; }
.top-cart { background: var(--dn-btn); color: #fff; box-shadow: var(--dn-shadow); }
.top-cart-count { background: #fff; color: var(--dn-mag); font-stretch: 100%; }

/* ------------------------------------------------------------ 3D-Bühne */
.studio { background: var(--dn-bg); }
.stage { color: var(--dn-text); background:
  radial-gradient(ellipse 40% 48% at 50% 42%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 72%),
  radial-gradient(ellipse 60% 30% at 50% 100%, rgba(204, 29, 119, .10) 0%, rgba(204, 29, 119, 0) 70%),
  linear-gradient(180deg, #f8f1fa 0%, #f1e5f4 62%, #ead9ef 63%, #f3e8f6 100%); }
.stage::after { opacity: .08; mix-blend-mode: multiply; }
.stage-number { -webkit-text-stroke: 2px rgba(122, 20, 111, .10); }
.stage-hint, .stage-loading { color: var(--dn-muted); }
.stage-loading-bar, .stage-work-bar { background: rgba(122, 20, 111, .14); border-radius: 99px; }
.stage-loading-bar i, .stage-work-bar i { background: var(--dn-btn-hot); border-radius: 99px; }
.stage-views button, .stage-save { background: rgba(255, 255, 255, .88); color: var(--dn-deep); border: 1px solid rgba(122, 20, 111, .16); box-shadow: var(--dn-shadow); font-weight: 650; }
.stage-views button:hover, .stage-save:hover { background: #fff; border-color: #e9a8cf; }
.stage-views button.is-on, .stage-views .toggle-btn[aria-pressed=true] { background: var(--dn-mag); color: #fff; border-color: var(--dn-mag); }
.stage-work-inner { background: #fff; border: 1px solid var(--dn-line); color: var(--dn-text); border-radius: 18px; box-shadow: var(--dn-shadow-lg); }
.stage-work-inner strong { color: var(--dn-deep); }
.stage-work-inner span { color: var(--dn-muted); }
.stage-drop { border-color: rgba(204, 29, 119, .6); background: rgba(250, 246, 251, .6); }
.stage-drop span { background: var(--dn-btn); color: #fff; }

/* Start-Intro */
.hero-kicker { color: var(--dn-pink); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-weight: 800; }
.hero-title { font-style: normal; text-transform: none; font-stretch: 100%; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: clamp(48px, 6.6vw, 104px); }
.hero-title span { background: var(--dn-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-outline { -webkit-text-stroke: 0; opacity: .9; }
.hero-sub { color: var(--dn-muted); }

/* ------------------------------------------------------------ Buttons */
.btn { border-radius: 14px; font-stretch: 100%; }
.btn-go { background: var(--dn-btn); color: #fff; box-shadow: 0 6px 16px rgba(122, 20, 111, .22); }
.btn-go:hover:not(:disabled) { filter: brightness(1.08); }
.btn-go:disabled { background: #e7dcea; color: #a796ad; box-shadow: none; }
.btn-plate { background: var(--dn-btn-hot); color: #fff; clip-path: none; border-radius: 14px; font-stretch: 100%; font-weight: 800; box-shadow: 0 10px 24px rgba(204, 29, 119, .28); }
.btn-ghost { background: #fff; color: var(--dn-mag); border: 1px solid rgba(122, 20, 111, .18); border-radius: 14px; box-shadow: var(--dn-shadow); }
.btn-line { border: 1.5px solid rgba(122, 20, 111, .3); color: var(--dn-mag); background: #fff; }
.btn-line:hover { border-color: var(--dn-pink); color: var(--dn-pink); }

/* ------------------------------------------------------------ Seitenleiste / Schritte */
.panel { background: #fff; border-left: 1px solid var(--dn-line); }
.panel-title { font-size: 34px; }
.steps { border-top-color: var(--dn-line); }
.step { border-bottom-color: var(--dn-line); }
.step-n { background: var(--dn-soft); color: var(--dn-mag); clip-path: none; border-radius: 10px; width: 30px; height: 30px; font-style: normal; font-stretch: 100%; font-weight: 800; }
.step.is-open .step-n { background: var(--dn-btn); color: #fff; }
.step-t { color: var(--dn-deep); font-stretch: 100%; }
.step-v { color: var(--dn-muted); }

/* Karten & Auswahlfelder */
.product, .preset, .concept, .logo-row, .cart-item, .variant, .font, .motif, .drop, .ref-add, .palette {
  border: 1px solid rgba(122, 20, 111, .14); border-radius: 16px; background: #fff; box-shadow: var(--dn-shadow);
}
.product:hover, .preset:hover, .concept:hover, .variant:hover, .font:hover, .palette:hover { border-color: #e9a8cf; }
.product:has(input:checked), .preset[aria-checked=true], .concept.is-on, .variant.is-on, .font.is-on, .font[aria-checked=true], .palette.is-on, .logo-row.is-sel {
  border-color: var(--dn-pink); box-shadow: 0 0 0 2px rgba(204, 29, 119, .25), var(--dn-shadow);
}
.product-name, .concept strong { color: var(--dn-deep); font-stretch: 100%; }
.product-sub, .product-price, .concept p { color: var(--dn-muted); }
.concept-thumb { border-radius: 12px; background: var(--dn-soft); }
.concept-thumb.is-wait { background: linear-gradient(110deg, #f3e9f4 30%, #fbf6fc 50%, #f3e9f4 70%); background-size: 200% 100%; }
.analysis { border-left-color: var(--dn-pink); background: var(--dn-soft); border-radius: 0 14px 14px 0; padding: 10px 14px; }
.analysis-h { color: var(--dn-pink); font-size: 11px; letter-spacing: .08em; font-weight: 800; }
.analysis p { color: var(--dn-text); }
.switch { background: var(--dn-soft); border-radius: 14px; }
.switch button[aria-selected=true], .switch .is-on, .switch [aria-checked=true] { background: #fff; color: var(--dn-mag); box-shadow: var(--dn-shadow); border-radius: 11px; }
.chip { border: 1px solid rgba(122, 20, 111, .16); color: var(--dn-mag); background: #fff; }
.chip:hover { border-color: #e9a8cf; }
.chip.is-on, .chip[aria-pressed=true] { background: var(--dn-mag); color: #fff; border-color: var(--dn-mag); }
.toggle span { border-radius: 999px; border-color: rgba(122, 20, 111, .16); color: var(--dn-mag); background: #fff; }
.toggle input:checked + span { background: var(--dn-mag); color: #fff; border-color: var(--dn-mag); }
.palette { border-radius: 999px; padding: 3px; }
.variant { border-radius: 12px; }
.font { border-radius: 12px; }
.drop, .ref-add { border-style: dashed; border-color: rgba(204, 29, 119, .35); background: var(--dn-bg); box-shadow: none; }
body.is-dragging label.drop { border-color: var(--dn-pink); background: #fff; }
.field input, .field select, .field textarea, input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  border-color: rgba(122, 20, 111, .2); border-radius: 12px; background: #fff; color: var(--dn-text);
}
.field input:focus, .field select:focus, .field textarea:focus, select:focus, textarea:focus, input:focus { border-color: var(--dn-pink); outline: none; box-shadow: 0 0 0 3px rgba(204, 29, 119, .15); }
input[type=range], input[type=checkbox], input[type=radio] { accent-color: var(--dn-mag); }
.check { color: var(--dn-muted); }
.note { color: var(--dn-muted); }
.status.ok, .status.is-ok { color: var(--dn-deep); }
.status.error, .status.is-error { color: var(--dn-pink); }
.colors { border-top-color: var(--dn-line); }

/* Preis + Anfrage unten */
.buy { border-top-color: var(--dn-line); background: #fff; box-shadow: 0 -8px 20px rgba(122, 20, 111, .05); }
.plate { background: var(--dn-soft); color: var(--dn-deep); clip-path: none; border-radius: 14px; padding: 7px 16px; }
.plate-price { font-style: normal; font-stretch: 100%; font-weight: 800; color: var(--dn-mag); }
.plate-sub { color: var(--dn-muted); }
.btn-buy { clip-path: none; border-radius: 14px; }

/* ------------------------------------------------------------ Bänder unten */
.ticker { background: #fff; border-block: 1px solid var(--dn-line); }
.ticker span { font-style: normal; font-stretch: 100%; font-weight: 800; text-transform: none; letter-spacing: -.02em; background: var(--dn-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker span:nth-child(even) { background: none; color: transparent; -webkit-text-stroke: 1.5px var(--dn-pink); }
.ticker span::after { color: var(--dn-pink); -webkit-text-stroke: 0; }

.lookbook { background: var(--dn-bg-2); color: var(--dn-text); }
.lookbook-head p { color: var(--dn-muted); }
.look { clip-path: none; border-radius: 20px; background: #fff; box-shadow: var(--dn-shadow-lg); color: var(--dn-text); }
.look-meta { background: linear-gradient(0deg, rgba(255, 255, 255, .96) 30%, rgba(255, 255, 255, 0)); }
.look-meta strong { font-style: normal; font-stretch: 100%; text-transform: none; color: var(--dn-deep); font-weight: 800; }
.look-meta span { color: var(--dn-muted); }
.look-skel { background: linear-gradient(90deg, #f3e9f4, #fbf6fc, #f3e9f4); background-size: 200% 100%; }

.flow li { background: #fff; border: 1px solid rgba(122, 20, 111, .12); border-radius: 18px; padding: 22px 22px 24px; box-shadow: var(--dn-shadow); }
.flow li::before { -webkit-text-stroke: 0; font: 800 44px/1 var(--wide); background: var(--dn-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background-color: var(--dn-soft); margin-bottom: 14px; }
.flow h3 { font-size: 20px; }
.flow p { color: var(--dn-muted); }

.band-prices { background: var(--dn-bg); color: var(--dn-text); }
.price-item { clip-path: none; border-radius: 20px; border: 1px solid rgba(122, 20, 111, .12); box-shadow: var(--dn-shadow); color: var(--dn-text); }
.price-big { font-style: normal; font-stretch: 100%; font-weight: 800; color: var(--dn-mag); }
.price-item-combo { background: var(--dn-btn); color: #fff; outline: 0; box-shadow: var(--dn-shadow-lg); }
.price-item-combo .price-big, .price-item-combo h3, .price-item-combo p, .price-item-combo li { color: #fff; background: none; -webkit-text-fill-color: #fff; }

.faq { border-top: 1px solid var(--dn-line); }
.faq details { border-bottom-color: var(--dn-line); }
.faq summary { color: var(--dn-deep); }
.faq summary::after { color: var(--dn-pink); }
.faq p { color: var(--dn-muted); }

.foot { background: linear-gradient(135deg, #3b0f45, #7a146f 70%, #a8166b); color: #fff; }
.foot img { filter: brightness(0) invert(1); }
.foot-claim { font-style: normal; font-stretch: 100%; text-transform: none; font-weight: 800; letter-spacing: -.03em; color: #fff !important; }
.foot p, .foot a { color: rgba(255, 255, 255, .78); }
.foot a:hover { color: #fff; }

/* Anfrage-Fenster & Hinweise */
.drawer-back { background: rgba(42, 18, 51, .35); }
.drawer-panel { border-radius: 22px 0 0 22px; box-shadow: -10px 0 40px rgba(122, 20, 111, .15); }
.drawer-head { border-bottom-color: var(--dn-line); }
.toast { background: var(--dn-btn); border-radius: 14px; box-shadow: var(--dn-shadow-lg); }

/* Rechtstexte */
.legal h1, .legal h2 { margin-bottom: 14px; }
.legal { color: var(--dn-text); }

@media (max-width: 860px) {
  .drawer-panel { border-radius: 0; }
  .hero-title { font-size: clamp(40px, 12vw, 64px); }
  .hero { background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(122, 20, 111, .12); border-radius: 22px; padding: 18px 18px 20px; box-shadow: var(--dn-shadow-lg); bottom: 24px; }
  .hero-sub { margin: 12px 0 16px; font-size: 16px; }
}

/* Anleitung im DocuNorm-Stil */
.stage-help { background: rgba(255, 255, 255, .9); color: var(--dn-deep); border: 1px solid rgba(122, 20, 111, .16); box-shadow: var(--dn-shadow); }
.stage-help span { background: var(--dn-btn-hot); color: #fff; }
.tour-spot { box-shadow: 0 0 0 9999px rgba(42, 18, 51, .55), 0 0 0 3px #f7c4df inset; }
.tour-card { color: var(--dn-text); box-shadow: 0 24px 60px rgba(59, 15, 69, .28); border: 1px solid rgba(122, 20, 111, .1); }
.tour-icon { background: var(--dn-soft); }
.tour-count { color: var(--dn-pink); }
.tour-title { background: var(--dn-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tour-text { color: var(--dn-muted); }
.tour-dots i { background: #ead8ee; }
.tour-dots i.on { background: var(--dn-btn-hot); }
.tour-skip, .tour-back { color: var(--dn-muted); }
.tour-skip:hover, .tour-back:hover { color: var(--dn-mag); }

/* Geführter Ablauf im DocuNorm-Stil */
.wiz-count { color: var(--dn-pink); }
.wiz-mode, .wiz-guided-link { color: var(--dn-muted); }
.wiz-mode:hover, .wiz-guided-link:hover { color: var(--dn-mag); }
.wiz-progress i { background: #eadcee; }
.wiz-progress li.done i { background: #c99acb; }
.wiz-progress li.on i { background: var(--dn-btn-hot); }
.wiz-progress li { color: var(--dn-muted); }
.wiz-progress li.on span { color: var(--dn-mag); }
.wiz-help { color: var(--dn-muted); }
.wiz-card { border: 1px solid rgba(122, 20, 111, .14); box-shadow: var(--dn-shadow); }
.wiz-card:hover { border-color: #e9a8cf; }
.wiz-card.is-on { border-color: var(--dn-pink); box-shadow: 0 0 0 2px rgba(204, 29, 119, .25), var(--dn-shadow); }
.wiz-card-ico { background: var(--dn-soft); }
.wiz-card-ico svg { stroke: var(--dn-mag); }
.wiz-card strong { color: var(--dn-deep); }
.wiz-card small { color: var(--dn-muted); }
.wiz-morebtn { border-color: rgba(204, 29, 119, .35); color: var(--dn-mag); }
.wiz-morebtn:hover { background: var(--dn-soft); }
body.guided .wiz-next { background: var(--dn-btn-hot); box-shadow: 0 8px 20px rgba(204, 29, 119, .28); }
.look-sm { border-radius: 14px; box-shadow: var(--dn-shadow); }
.look-sm.is-on { outline-color: var(--dn-pink); }
.look-sm .look-meta strong { font-size: 13px; }
.tap-color { color: var(--dn-text); border: 1px solid rgba(122, 20, 111, .12); box-shadow: 0 18px 40px rgba(59, 15, 69, .22); }
.tap-head strong { color: var(--dn-deep); }
.tap-own { color: var(--dn-mag); }
.letter-pat { border: 1px solid rgba(122, 20, 111, .14); }
.letter-pat span { color: var(--dn-muted); }
.letter-pat[aria-checked=true] { border-color: var(--dn-pink); box-shadow: 0 0 0 2px rgba(204, 29, 119, .25); }
.letter-pat[aria-checked=true] span { color: var(--dn-mag); }

/* ---------- language switch + voice input ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--dn-soft); border: 1px solid var(--dn-line); flex: none; }
.lang-switch button { border: 0; background: transparent; color: var(--dn-muted); font: inherit; font-size: 12.5px; font-weight: 750; letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; cursor: pointer; line-height: 1; }
.lang-switch button:hover { color: var(--dn-mag); }
.lang-switch button[aria-pressed="true"] { background: var(--dn-btn); color: #fff; }
.lang-switch + .top-cart { margin-left: 0; }
.mic-wrap { position: relative; display: block; }
.mic-wrap > textarea { width: 100%; padding-bottom: 40px; }
.mic-btn { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--dn-line); background: #fff; color: var(--dn-mag); font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 10px 5px 8px; border-radius: 999px; cursor: pointer; box-shadow: var(--dn-shadow); }
.mic-btn:hover { border-color: var(--dn-pink); color: var(--dn-pink); }
.mic-btn.on { background: var(--dn-btn-hot); color: #fff; border-color: transparent; animation: micPulse 1.2s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(207, 44, 133, .45); } 50% { box-shadow: 0 0 0 7px rgba(207, 44, 133, 0); } }
@media (prefers-reduced-motion: reduce) { .mic-btn.on { animation: none; } }
@media (max-width: 860px) {
  .lang-switch { margin-left: auto; }
  .lang-switch button { padding: 5px 7px; font-size: 12px; }
}
@media (max-width: 420px) {
  .top { gap: 8px; }
  .top-logo img { width: 104px; }
  .lang-switch button { padding: 5px 5px; }
}

/* ---------- size charts ---------- */
.size-btn { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 4px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1.5px solid var(--dn-mag); background: #fff; color: var(--dn-mag); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.size-btn:hover { background: var(--dn-soft); color: var(--dn-pink); border-color: var(--dn-pink); }
.sizechart { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.sizechart[hidden] { display: none; }
.sizechart-back { position: absolute; inset: 0; background: rgba(42, 18, 51, .45); backdrop-filter: blur(3px); }
.sizechart-panel { position: relative; width: min(860px, 100%); max-height: calc(100svh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: var(--dn-shadow-lg); overflow: hidden; }
.sizechart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 8px; }
.sizechart-head h2 { margin: 0; font-size: 22px; color: var(--dn-deep); }
.sizechart-tabs { display: flex; gap: 6px; padding: 0 20px 12px; border-bottom: 1px solid var(--dn-line); }
.sizechart-tabs button { border: 1px solid var(--dn-line); background: var(--dn-soft); color: var(--dn-deep); font: inherit; font-weight: 700; padding: 7px 18px; border-radius: 999px; cursor: pointer; }
.sizechart-tabs button[aria-selected="true"] { background: var(--dn-btn); color: #fff; border-color: transparent; }
.sizechart-body { overflow: auto; padding: 16px 20px 20px; }
.sz-pane { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sz-pane[hidden] { display: none; }
.sz-pane img { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.sz-pane img.sz-tall { max-width: 220px; }
@media (min-width: 760px) {
  .sz-pane[data-szpane="pants"] { grid-template-columns: 220px 1fr; align-items: start; }
  .sz-pane[data-szpane="pants"] .sz-legend { grid-column: 1; }
  .sz-pane[data-szpane="pants"] .sz-scroll { grid-column: 2; grid-row: 1 / span 2; }
}
.sz-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--dn-text); }
.sz-legend b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 4px; border-radius: 50%; background: var(--dn-mag); color: #fff; font-size: 11.5px; }
.sz-scroll { overflow-x: auto; border: 1px solid var(--dn-line); border-radius: 12px; }
.sz-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sz-table th, .sz-table td { padding: 7px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--dn-line); }
.sz-table thead th { position: sticky; top: 0; background: var(--dn-soft); color: var(--dn-mag); font-weight: 800; }
.sz-table th[scope="row"], .sz-table thead th:first-child { text-align: left; color: var(--dn-deep); font-weight: 750; }
.sz-table tbody tr:nth-child(even) { background: #fcf9fd; }
.sz-table tbody tr:last-child > * { border-bottom: 0; }
.sz-table .sz-na { text-align: center; color: var(--dn-muted); font-style: italic; }
body.sz-open { overflow: hidden; }
.concept-thumb.is-idle { display: grid; place-items: end center; padding: 6px; }
.concept-thumb.is-idle em { font-style: normal; font-size: 11px; font-weight: 750; background: rgba(255,255,255,.92); color: var(--dn-mag); padding: 3px 7px; border-radius: 999px; text-align: center; line-height: 1.2; }
.bold-pick { border: 0; padding: 0; margin: 10px 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bold-pick legend { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; color: var(--dn-deep); padding: 0; }
.bold-pick label { position: relative; cursor: pointer; }
.bold-pick input { position: absolute; opacity: 0; }
.bold-pick span { display: block; text-align: center; padding: 9px 4px; border-radius: 12px; border: 1.5px solid var(--dn-line); background: #fff; font-weight: 700; font-size: 13.5px; color: var(--dn-text); }
.bold-pick label:nth-child(5) span { background: linear-gradient(#fff, #fff) padding-box, var(--dn-btn-hot) border-box; }
.bold-pick input:checked + span { background: var(--dn-btn); color: #fff; border-color: transparent; }
.bold-pick label:last-child input:checked + span { background: var(--dn-btn-hot); }
.bold-pick input:focus-visible + span { outline: 2px solid var(--dn-pink); outline-offset: 2px; }
.cart-lines { display: grid; gap: 4px; margin: -4px 0 18px; padding: 10px 0 0; border-top: 1px solid var(--dn-line); }
.cart-lines > div { display: flex; justify-content: space-between; align-items: baseline; }
.cart-grand { font-size: 18px; color: var(--dn-deep); }
.cart-grand small { font-size: 12px; color: var(--dn-muted); font-weight: 500; }
.order-done { background: var(--dn-soft); border: 1.5px solid var(--dn-pink); border-radius: 16px; padding: 16px; margin-bottom: 16px; display: grid; gap: 10px; }
.order-done h3 { margin: 0; color: var(--dn-deep); }
.order-done p { margin: 0; }
.order-done a { text-decoration: none; text-align: center; }
/* Kundenkonto im Warenkorb */
.acct-gate { background: var(--dn-soft); border: 1px solid var(--dn-line); border-radius: 16px; padding: 16px 18px; margin: 14px 0; }
.acct-gate h3 { margin: 0 0 6px; }
.acct-gate p { margin: 0 0 12px; color: var(--dn-text); }
.acct-gate .note { margin: 10px 0 0; color: var(--dn-muted); font-size: 13px; }
.acct-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acct-btns .btn { text-decoration: none; justify-content: center; text-align: center; }
.acct-bar { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--dn-soft); border: 1px solid var(--dn-line); border-radius: 12px; padding: 9px 12px; font-size: 14px; margin: 14px 0 4px; }
.acct-bar a { color: var(--dn-mag); font-weight: 700; }
#cEmail[readonly] { background: var(--dn-soft); color: var(--dn-muted); }
/* Knie-Besatz Leder / Kevlar */
.knee-pick { border: 0; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.knee-pick[hidden] { display: none; }
.knee-pick legend { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; color: var(--dn-deep); padding: 0; }
.knee-pick label { position: relative; cursor: pointer; }
.knee-pick input { position: absolute; opacity: 0; }
.knee-pick span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--dn-line); background: #fff; color: var(--dn-text); }
.knee-pick small { color: var(--dn-muted); font-size: 12.5px; }
.knee-pick input:checked + span { border-color: var(--dn-pink); background: var(--dn-soft); box-shadow: 0 0 0 3px rgba(204, 29, 119, .12); }
.knee-pick input:focus-visible + span { outline: 2px solid var(--dn-pink); outline-offset: 2px; }
/* Netto-Anzeige: Endpreis klein darunter */
.price-gross { display: block; font-size: 12px; font-weight: 600; color: var(--dn-muted); font-style: normal; margin-top: 2px; }
.price-big + .price-gross { font-size: 13px; margin: -4px 0 8px; }
.plate .price-gross[hidden] { display: none; }
#cartVatRow { display: flex; justify-content: space-between; }
/* Studio-Looks */
.studio-looks { margin: 0 0 18px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(122,20,111,.06), rgba(239,75,110,.08)); border: 1px solid var(--dn-line); }
.look-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 10px; overflow-x: auto; padding: 8px 2px 6px; scroll-snap-type: x mandatory; }
.look-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: #fff; cursor: pointer; text-align: left; font: inherit; box-shadow: 0 4px 12px rgba(40,10,40,.08); transition: border-color .15s, transform .15s; }
.look-card:hover { transform: translateY(-2px); }
.look-card.is-on { border-color: var(--dn-pink); }
.look-card.is-wait { opacity: .55; pointer-events: none; }
.look-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; display: block; }
.look-card strong { font-size: 12.5px; line-height: 1.2; color: var(--dn-deep); }
.look-card .concept-sw i { width: 12px; height: 12px; }
.studio-looks .note { margin: 4px 0 0; }
/* KI-Notfall-Kasten */
.ai-fallback { margin: 10px 0 4px; padding: 14px 16px; border-radius: 16px; background: #fff7ec; border: 1px solid #f3d9b4; }
.ai-fallback strong { display: block; margin-bottom: 8px; color: var(--dn-deep); }
.ai-fb-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* V42: "Weiteren Entwurf anfordern" unter den KI-Entwürfen */
.concept-list .concept-more { width: 100%; justify-content: center; border-style: dashed; padding: 12px 14px; font-weight: 700; }
.concept-list .concept-more:disabled { opacity: .5; cursor: wait; }

/* V42: Farben im KI-Muster */
.ai-pal { margin-top: 12px; display: grid; gap: 8px; }
.ai-pal .note { margin: 0; }
.ai-pal-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-pal-sw { position: relative; width: 52px; height: 52px; border-radius: 12px; border: 2px solid var(--line, #ddd); overflow: hidden; cursor: pointer; padding: 0; }
.ai-pal-sw input { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); border: 0; padding: 0; cursor: pointer; opacity: 0; }
.ai-pal-sw i { position: absolute; inset: 0; }
.ai-pal-sw small { position: absolute; left: 0; right: 0; bottom: 0; font: 600 9px/1.4 system-ui, sans-serif; text-align: center; background: rgba(0,0,0,.45); color: #fff; }
.ai-pal-sw.is-changed { border-color: var(--accent, #cc1d77); }
.ai-pal #aiPalReset { justify-self: start; }

/* V42: "Das wird umgesetzt" + Einzelmotive */
.analysis-h2 { display: block; margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dn-pink, #cc1d77); }
.analysis-req { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 2px; font-size: 13px; }
.analysis-req li::marker { content: "✓  "; color: var(--dn-pink, #cc1d77); }
.analysis-motif { margin-top: 8px; display: block; text-align: left; white-space: normal; }

/* V42: Bereiche einzeln anpassen */
.zone-edit { margin-top: 14px; display: grid; gap: 8px; }
.zone-edit .note { margin: 0; }
.zone-rows { display: grid; gap: 6px; }
.zone-row { display: grid; grid-template-columns: minmax(96px, 1fr) repeat(4, 34px) minmax(92px, 130px); gap: 6px; align-items: center; }
.zone-label { font-size: 13px; font-weight: 600; }
.zone-opt { width: 34px; height: 28px; border-radius: 8px; border: 2px solid var(--line, #d9d9d9); cursor: pointer; padding: 0; }
.zone-opt.is-pat { background: repeating-linear-gradient(135deg, #111 0 4px, #e8ff2a 4px 7px, #ff2d6f 7px 10px); }
.zone-opt[aria-pressed="true"] { border-color: var(--dn-pink, #cc1d77); box-shadow: 0 0 0 2px var(--dn-pink, #cc1d77); }
.zone-more { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; }
.zone-more .field { margin: 0; }
.zone-edit #zoneReset { justify-self: start; }

/* V42: Team bearbeitet ein bestelltes Kit */
.edit-bar { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 16px; background: #fff4d6; border-bottom: 2px solid #f1c75b; font-size: 14px; }
.edit-bar .edit-st { flex: 1 1 220px; color: #6b4b00; }

/* V42: Hinweis im KI-Designer */
.ai-tip { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #fff4d6; border: 1px solid #f1d9a0; color: #5a4300; font-size: 13px; line-height: 1.45; }
.ai-tip strong { display: block; margin-bottom: 2px; color: #3d2d00; }

.zone-opt.is-carbon { --c: #c8b89a; background-color: var(--c); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 3px, rgba(0,0,0,.18) 3px 6px), repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 3px, rgba(0,0,0,.12) 3px 6px); }

.zone-more-sel { height: 30px; border-radius: 8px; border: 2px solid var(--line, #d9d9d9); font-size: 12px; padding: 0 4px; max-width: 130px; background: #fff; }
.zone-more-sel.is-on { border-color: var(--dn-pink, #cc1d77); box-shadow: 0 0 0 2px var(--dn-pink, #cc1d77); }
@media (max-width: 520px) { .zone-row { grid-template-columns: 1fr repeat(4, 30px); } .zone-row .zone-label { grid-column: 1 / -1; } .zone-more-sel { grid-column: 1 / -1; max-width: none; } }
.char-count { display: block; text-align: right; font-size: 11px; color: #777; margin-top: 2px; }
.char-count.is-near { color: #b3261e; font-weight: 700; }
/* V42: Zwischenstand-Hinweis auf dem 3D-Fahrer */
.stage-draft { position: absolute; bottom: 76px; left: 50%; transform: translateX(-50%); z-index: 6; max-width: min(92%, 460px); pointer-events: none;
  background: #fff7e0; border: 2px solid #e0a100; color: #4a3500; border-radius: 14px; padding: 8px 14px; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.stage-draft b { display: block; font-size: 13px; letter-spacing: .03em; }
.stage-draft small { display: block; font-size: 12px; line-height: 1.35; margin-top: 2px; }
.stage-draft-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #e0a100; margin-right: 4px; vertical-align: 1px; animation: draftPulse 1s ease-in-out infinite; }
@keyframes draftPulse { 50% { opacity: .25; } }
.stage-draft[hidden] { display: none; }
@media (max-width: 640px) { .stage-draft { bottom: 96px; padding: 6px 10px; } .stage-draft small { font-size: 11px; } }
/* V42: Bereiche-Editor verständlicher – Spaltenköpfe, echtes Design-Vorschaubild, Haken bei Auswahl */
.zone-head { font-size: 10.5px; line-height: 1.15; color: #6b5b70; font-weight: 600; white-space: pre-line; align-items: end; padding-bottom: 2px; border-bottom: 1px solid var(--dn-line, #eadcef); }
.zone-head span { text-align: center; } .zone-head span:first-child { text-align: left; } .zone-head span:last-child { text-align: left; padding-left: 4px; }
.zone-opt { position: relative; }
.zone-opt.is-pat { background: #eee center / cover no-repeat; }
.zone-opt[aria-pressed="true"]::after { content: "✓"; position: absolute; right: -6px; top: -7px; width: 15px; height: 15px; border-radius: 50%; background: var(--dn-pink, #cc1d77); color: #fff; font-size: 10px; line-height: 15px; text-align: center; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 520px) { .zone-row, .zone-head { grid-template-columns: repeat(4, 38px) minmax(0, 1fr) !important; } .zone-row .zone-label { grid-column: 1 / -1 !important; margin-top: 4px; } .zone-row .zone-more-sel { grid-column: auto !important; max-width: none; min-width: 0; } .zone-head span:first-child { display: none; } .zone-opt { width: 38px; height: 32px; } }
/* V42: Bereich per Text ändern lassen */
.ai-fix { margin-top: 14px; padding: 12px; border: 1px solid var(--dn-line, #eadcef); border-radius: 14px; background: #fcf8fd; display: grid; gap: 8px; }
.ai-fix textarea { width: 100%; }
.ai-fix-btns { display: flex; gap: 8px; flex-wrap: wrap; }
/* V42: Verlauf (Rückgängig / Wiederholen / Schritte) */
.hist { position: absolute; left: 18px; top: 44px; z-index: 7; display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; max-width: calc(100% - 140px); }
.hist-btn { height: 34px; min-width: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--dn-line, #eadcef); background: #fff; color: var(--dn-text, #2a1830); font: 600 14px/1 inherit; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.hist-btn:disabled { opacity: .4; cursor: default; }
.hist-btn:not(:disabled):hover { border-color: var(--dn-pink, #cc1d77); }
.hist-open span { display: inline-block; min-width: 18px; padding: 2px 5px; margin-left: 4px; border-radius: 999px; background: var(--dn-pink, #cc1d77); color: #fff; font-size: 11px; }
.hist-panel { position: absolute; top: 40px; left: 0; width: min(320px, 80vw); max-height: 52vh; overflow: auto; background: #fff; border: 1px solid var(--dn-line, #eadcef); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 10px; }
.hist-title { display: block; font-size: 11.5px; color: #6b5b70; margin: 0 4px 8px; }
.hist-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.hist-item { width: 100%; display: flex; gap: 8px; align-items: baseline; text-align: left; padding: 7px 9px; border-radius: 9px; border: 0; background: transparent; font: 13px/1.25 inherit; color: inherit; cursor: pointer; }
.hist-item b { min-width: 34px; color: #8a7a90; font-weight: 600; }
.hist-item span { flex: 1; }
.hist-item small { color: #9a8aa0; font-size: 11px; }
.hist-item:hover { background: #f6eef8; }
.hist-item.is-on { background: #fbe3f0; box-shadow: inset 3px 0 0 var(--dn-pink, #cc1d77); font-weight: 600; }
.hist-item.is-future { opacity: .45; }
body.intro .hist { display: none; }
@media (max-width: 640px) { .hist { left: 10px; top: 10px; max-width: calc(100% - 120px); } .hist-btn { height: 32px; } }
/* V42: rechte Seite breiter (3D-Fahrer etwas schmaler) – alle Optionen direkt sichtbar, übersichtlicher */
:root { --panel-w: clamp(460px, 44vw, 740px); }
@media (max-width: 1100px) { :root { --panel-w: clamp(400px, 46vw, 460px); } }
.wiz-more-li { display: none !important; }
/* V42: Smartphone – mehr Platz für die Optionen, 3D-Fahrer kompakter, alles mit dem Daumen erreichbar */
@media (max-width: 860px) {
  .stage { height: 40svh; min-height: 290px; }
  .step { scroll-margin-top: calc(var(--top-h) + max(40svh, 290px)); }
  .stage-views { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: calc(100% - 20px); padding-bottom: 2px; }
  .stage-views::-webkit-scrollbar { display: none; }
  .stage-views button { flex: 0 0 auto; padding: 6px 11px; font-size: 12.5px; }
  .presets { grid-template-columns: repeat(3, 1fr) !important; gap: 6px; }
  .preset canvas { aspect-ratio: 1 / 1; }
  .preset span { padding: 5px 6px 6px; font-size: 11.5px; line-height: 1.2; }
  .zone-opt, .hist-btn, .zone-more-sel { min-height: 34px; }
  .ai-fix textarea, #ideaMain { font-size: 16px; }              /* iPhone zoomt sonst beim Tippen hinein */
  input, select, textarea { font-size: max(16px, 1em); }
  .hist-panel { position: fixed; left: 10px; right: 10px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; max-height: 55svh; z-index: 30; }
  .stage-draft { bottom: 58px; max-width: 94%; }
}
@media (max-width: 860px) { .panel { overflow: visible !important; overflow-x: clip !important; } }   /* sonst klebt die Weiter-/Preisleiste nicht unten */
/* V42: Teile-Editor vereinfacht – eine Auswahl pro Teil */
.zone-row2 { display: grid; grid-template-columns: 40px 1fr 30px; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 12px; border: 1px solid transparent; }
.zone-row2.is-changed { background: #fcf3f8; border-color: #f2cfe3; }
.zone-sw { width: 40px; height: 34px; border-radius: 9px; border: 1px solid var(--dn-line, #e3d6e8); background: #eee center / cover no-repeat; }
.zone-sw.is-art { background-image: repeating-linear-gradient(45deg, #ddd 0 5px, #f4f4f4 5px 10px); }
.zone-sw.is-tex { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 3px, rgba(0,0,0,.15) 3px 6px); }
.zone-label2 { display: grid; grid-template-columns: minmax(90px, 0.9fr) minmax(0, 1.4fr); gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; margin: 0; }
.zone-sel { width: 100%; min-width: 0; padding: 7px 8px; border-radius: 9px; border: 1px solid var(--dn-line, #e3d6e8); background: #fff; font: inherit; font-weight: 500; font-size: 13px; }
.zone-undo { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #f2cfe3; background: #fff; color: var(--dn-pink, #cc1d77); font-size: 15px; cursor: pointer; }
.zone-rows { gap: 4px; }
@media (max-width: 520px) { .zone-label2 { grid-template-columns: 1fr; gap: 3px; } }
/* V42: Entwurf wiederherstellen */
.draft-offer { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60; width: min(440px, calc(100% - 24px)); background: #fff; border: 2px solid var(--dn-pink, #cc1d77); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.22); padding: 14px 16px; }
.draft-offer p { margin: 0 0 10px; font-size: 14px; line-height: 1.4; } .draft-offer p span { color: #6b5b70; font-size: 12.5px; }
.draft-btns { display: flex; gap: 8px; flex-wrap: wrap; }
/* V42: Konfigurator beginnt direkt unter der Kopfleiste (vorher rutschte der obere Rand mit dem Verlauf unter den Kopf) */
.studio { scroll-margin-top: var(--top-h); }
@media (min-width: 861px) { .hist { top: 14px; } .stage-hint { top: 60px; } }
.logo-cm { font-size: 11.5px; color: #6b5b70; min-width: 40px; text-align: right; }
.logo-row img[draggable="true"] { cursor: grab; }
#stageCanvas.is-drop { outline: 3px dashed var(--dn-pink, #cc1d77); outline-offset: -8px; }
/* V42: Team-Kits */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
body.team-mode .row2-name, body.team-mode label.field:has(#riderFirst), body.team-mode .field-qty, body.team-mode .solo-only,
body.team-mode #jerseySizeField, body.team-mode #pantsSizeField { display: none !important; }
.team-roster { margin-bottom: 16px; }
.roster { display: grid; gap: 4px; margin: 8px 0; }
.roster-row { display: grid; grid-template-columns: minmax(60px, .9fr) minmax(80px, 1.2fr) 46px minmax(70px, .9fr) minmax(66px, .8fr) minmax(58px, .7fr) 46px 28px; gap: 4px; align-items: center; padding: 4px; border-radius: 10px; border: 1px solid transparent; }
.roster-row.is-on { background: #fcf3f8; border-color: #f2cfe3; }
.roster-row input, .roster-row select { width: 100%; min-width: 0; padding: 6px 6px; border: 1px solid var(--dn-line, #e3d6e8); border-radius: 8px; font: inherit; font-size: 13px; background: #fff; }
.roster-row select:disabled { opacity: .35; }
.roster-head { font-size: 10.5px; font-weight: 700; color: #6b5b70; text-transform: uppercase; letter-spacing: .03em; padding-bottom: 0; }
.roster-x { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--dn-line, #e3d6e8); background: #fff; cursor: pointer; color: #8a7a90; }
.roster-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.roster-sum { font-weight: 700; color: var(--dn-mag, #7a146f); margin: 10px 0 0; }
.team-form { display: grid; gap: 10px; margin-top: 10px; padding: 14px; border: 1px solid var(--dn-line, #eadcef); border-radius: 14px; background: #fcf8fd; }
.nav-team { font-weight: 800; }
@media (max-width: 640px) {
  .roster-head { display: none; }
  .roster-row { grid-template-columns: 1fr 1.2fr 60px 1fr; border-color: var(--dn-line, #eadcef); padding: 6px; }
  .roster-x { justify-self: end; }
  .roster-row input, .roster-row select { font-size: 16px; padding: 7px 6px; }
}
.team-hint { font-size: 13px; padding: 10px 12px; border-radius: 12px; background: #fcf3f8; border: 1px solid #f2cfe3; margin-top: 12px; }
.team-hint a { font-weight: 700; color: var(--dn-pink, #cc1d77); }
.team-only { display: none; }
body.team-mode .team-only { display: block; }
/* V42: Logo-Platz nach dem Hochladen wählen */
.logo-chooser { position: fixed; z-index: 70; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 20px)); max-height: calc(100svh - 40px); overflow: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(40, 0, 40, .35); padding: 16px; border: 2px solid var(--dn-pink, #cc1d77); }
.lc-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.lc-head img { width: 64px; height: 48px; object-fit: contain; border-radius: 8px; background: #f3eef5; padding: 4px; }
.lc-head b { display: block; font-size: 17px; } .lc-head small { color: #6b5b70; font-size: 12.5px; }
.lc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lc-btn { text-align: left; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--dn-line, #e3d6e8); background: #fff; cursor: pointer; font: inherit; display: grid; gap: 2px; }
.lc-btn span { font-size: 13px; font-weight: 600; line-height: 1.25; } .lc-btn small { font-size: 11px; color: #8a7a90; }
.lc-btn:hover { border-color: var(--dn-pink, #cc1d77); background: #fdf5fa; }
.lc-btn.is-on { border-color: var(--dn-pink, #cc1d77); background: #fbe3f0; }
.lc-later { margin-top: 12px; }
@media (max-width: 520px) { .lc-grid { grid-template-columns: 1fr; } .logo-chooser { top: auto; bottom: 10px; transform: translateX(-50%); max-height: 70svh; } }

/* V42: Aktions-Countdown + Gutscheincodes */
/* V50.10: Laufband */
.marquee { position: relative; z-index: 32; overflow: hidden; color: #fff; background: linear-gradient(90deg, #8e0e1e, #d71f26 50%, #8e0e1e); font-weight: 800; font-size: 15px; letter-spacing: .02em; line-height: 1; padding: 11px 0; white-space: nowrap; }
.marquee-green { background: linear-gradient(90deg, #0b4d2c, #12a14b 50%, #0b4d2c); }
.marquee-gold { background: linear-gradient(90deg, #6b4a06, #c99a1e 50%, #6b4a06); color: #1d1404; }
.marquee-black { background: #141414; }
.marquee-brand { background: var(--dn-grad); }
.mq-track { display: flex; width: max-content; animation: mq-run var(--mq-dur, 30s) linear infinite; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .mq-track { animation-play-state: paused; } }
.mq-group { display: flex; flex: none; }
.mq-item { padding: 0 28px; }
.mq-item::after { content: '✦'; margin-inline-start: 56px; opacity: .7; }
@keyframes mq-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation-duration: calc(var(--mq-dur, 30s) * 3); } }
@media (max-width: 700px) { .marquee { font-size: 13.5px; padding: 9px 0; } .mq-item { padding: 0 18px; } .mq-item::after { margin-inline-start: 36px; } }
.promo-bar { position: relative; color: #fff; background: var(--dn-grad); font-size: 14.5px; line-height: 1.35; padding: 9px 48px 9px 20px; text-align: center; z-index: 31; }
.promo-bar.promo-red { background: linear-gradient(90deg, #8e0e1e, #d71f26 60%, #ff5a36); }
.promo-bar.promo-green { background: linear-gradient(90deg, #0b4d2c, #12a14b 60%, #4cc96f); }
.promo-bar.promo-black { background: #141414; }
.promo-bar.promo-gold { background: linear-gradient(90deg, #6b4a06, #c99a1e 55%, #f2c94c); color: #1d1404; }
.promo-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; max-width: 1180px; margin: 0 auto; }
.promo-text { font-weight: 700; }
.promo-clock { font-variant-numeric: tabular-nums; font-weight: 800; background: rgba(0,0,0,.22); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.promo-gold .promo-clock { background: rgba(255,255,255,.45); }
.promo-act { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.promo-code, .promo-btn { font: inherit; font-size: 13.5px; font-weight: 700; color: inherit; background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; padding: 4px 13px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.promo-code b { letter-spacing: .04em; }
.promo-code:hover, .promo-btn:hover { background: rgba(255,255,255,.3); }
.promo-gold .promo-code, .promo-gold .promo-btn { border-color: rgba(29,20,4,.6); }
.promo-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 18px; width: 32px; height: 32px; cursor: pointer; opacity: .8; }
.promo-x:hover { opacity: 1; }
@media (max-width: 700px) { .promo-bar { font-size: 13px; padding: 8px 40px 8px 12px; } .promo-clock { padding: 2px 8px; } }
.cart-promo { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--dn-soft); border: 1px solid var(--dn-line); font-size: 13.5px; color: var(--dn-text); }
.cart-promo b { white-space: nowrap; color: var(--dn-mag); font-variant-numeric: tabular-nums; }
.voucher { margin: 0 0 14px; }
.voucher > .field { margin-bottom: 6px; }
.voucher-row { display: flex; gap: 8px; }
.voucher-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; font: inherit; padding: 10px 12px; border: 1.5px solid var(--dn-line); border-radius: 12px; background: #fff; }
.voucher-row input[readonly] { background: var(--dn-soft); }
.voucher-msg { margin: 6px 0 0; font-size: 13px; min-height: 0; }
.voucher-msg[data-kind="ok"] { color: #12803f; font-weight: 600; }
.voucher-msg[data-kind="error"] { color: #b3261e; }
.cart-disc strong { color: #12803f; }
.cart-promo .promo-clock { background: #fff; color: var(--dn-mag); border: 1px solid var(--dn-line); }
@media (max-width: 700px) { .promo-btn { display: none; } .promo-in { gap: 6px 8px; } }
.v-applied { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.v-applied:empty { display: none; }
.v-chip { display: inline-flex; align-items: center; gap: 6px; background: #e8f6ee; color: #12632f; border: 1px solid #bfe5cc; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; }
.v-chip b { letter-spacing: .04em; }
.v-chip button { border: 0; background: rgba(0,0,0,.06); border-radius: 50%; width: 22px; height: 22px; cursor: pointer; color: inherit; }
/* V42: Menü-Button auf dem Handy */
.nav-burger { display: none; }
@media (max-width: 860px) {
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 42px; margin-left: auto; padding: 0 10px; border: 1.5px solid var(--dn-line); border-radius: 12px; background: #fff; cursor: pointer; }
  .nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--dn-deep); transition: transform .2s, opacity .2s; }
  .nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .top-cart { margin-left: 0 !important; }
  .nav-open .top-nav { display: flex !important; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 12px 14px; background: #fff; border-bottom: 1px solid var(--dn-line); box-shadow: 0 18px 30px rgba(59,15,69,.12); z-index: 40; }
  .nav-open .top-nav a { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--dn-soft); }
  .nav-open .top-nav a:last-child { border-bottom: 0; }
  .top { position: sticky; }
}
@media (max-width: 860px) { .top-logo { flex: none; } .nav-burger { flex: none; } }
.top-nav .lang-switch { display: none; }
@media (max-width: 600px) { .nav-open .top-nav .lang-switch { display: inline-flex; align-self: flex-start; margin: 12px 10px 2px; } .nav-open .top-nav .lang-switch button { padding: 8px 12px; font-size: 14px; } }

/* V42: Schritt-Anzeige als bunte Rennstrecke mit Symbolen (jeder Schritt anklickbar, erledigte mit Haken) */
.wiz-track { position: relative; margin: 6px 0 14px; padding-top: 30px; --bike: 8.33%; --fill: 4%; --grad: #2f80ff; --cc: #2f80ff; }
.wt-road { position: absolute; left: 4%; right: 0; top: 50px; height: 14px; border-radius: 8px; background: #2a1233; overflow: hidden; }
.wt-road::after { content: ""; position: absolute; left: 8px; right: 30px; top: 6px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 9px, transparent 9px 18px); }
.wt-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill); background: var(--grad); border-radius: 8px; transition: width .5s cubic-bezier(.3,.7,.3,1); }
.wt-flag { position: absolute; right: 0; top: 34px; width: 22px; height: 22px; border-radius: 4px; border: 2px solid #2a1233; box-sizing: border-box; background: repeating-conic-gradient(#2a1233 0 25%, #fff 0 50%) 0 0 / 9px 9px; z-index: 1; }
.wt-bike { position: absolute; top: -2px; left: var(--bike); transform: translateX(-50%); width: 46px; height: 31px; color: var(--cc); transition: left .5s cubic-bezier(.3,.7,.3,1), color .3s; animation: wtBob 1.4s ease-in-out infinite; }
.wt-bike svg { width: 100%; height: 100%; display: block; }
@keyframes wtBob { 50% { transform: translateX(-50%) translateY(-2px) rotate(-3deg); } }
.wt-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; z-index: 2; }
.wt-step { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.wt-ico { position: relative; width: 46px; height: 46px; box-sizing: border-box; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--c); border: 2.5px dashed var(--c); transition: transform .2s, box-shadow .2s, background .2s; }
.wt-ico svg { width: 22px; height: 22px; }
.wt-steps li.done .wt-ico { background: var(--c); color: #fff; border-style: solid; }
.wt-steps li.on .wt-ico { background: var(--c); color: #fff; border-style: solid; transform: scale(1.14); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent), 0 10px 20px color-mix(in srgb, var(--c) 45%, transparent); }
.wt-step:hover .wt-ico { transform: translateY(-2px); }
.wt-steps li.on .wt-step:hover .wt-ico { transform: scale(1.14) translateY(-2px); }
.wt-step:focus-visible { outline: none; }
.wt-step:focus-visible .wt-ico { outline: 3px solid var(--c); outline-offset: 3px; }
.wt-check { position: absolute; right: -8px; top: -8px; width: 21px; height: 21px; border-radius: 50%; background: #fff; color: #12a14b; border: 2px solid #12a14b; box-sizing: border-box; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.wt-check svg { width: 12px; height: 12px; }
.wt-steps li.done .wt-check { display: flex; animation: wtPop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes wtPop { from { transform: scale(0); } }
.wt-name { font-size: 12.5px; font-weight: 650; color: var(--dn-muted); white-space: nowrap; }
.wt-steps li.done .wt-name { color: var(--dn-deep); font-weight: 750; }
.wt-steps li.on .wt-name { color: var(--c); font-weight: 850; }
@media (max-width: 700px) {
  .wiz-track { padding-top: 26px; margin-bottom: 10px; }
  .wt-road { top: 41px; height: 12px; }
  .wt-flag { top: 29px; width: 18px; height: 18px; background-size: 7px 7px; }
  .wt-bike { width: 38px; height: 26px; }
  .wt-ico { width: 38px; height: 38px; border-radius: 12px; }
  .wt-ico svg { width: 19px; height: 19px; }
  .wt-name { font-size: 11px; }
  .wt-steps li:not(.on) .wt-name { opacity: .75; }
}
@media (prefers-reduced-motion: reduce) { .wt-bike, .wt-steps li.done .wt-check { animation: none; } .wt-fill, .wt-bike { transition: none; } }
/* V42: Knopf „Datei auswählen“ in den Ablageflächen */
.drop-pick { justify-self: center; display: inline-flex; align-items: center; gap: 7px; margin: 4px 0 2px; }
.drop-pick svg { flex: none; }
.font-lib small::after { content: " ★"; color: var(--dn-pink); }
/* V42: Schriftwahl – Namensliste + Beispiel der gewählten Schrift */
.fpick { display: grid; gap: 8px; margin-bottom: 14px; }
.fpick-prev { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 96px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #2a1233, #3b0f45); color: #fff; overflow: hidden; }
.fpick-prev b { font-size: 46px; line-height: 1.05; letter-spacing: .01em; font-weight: 400; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fonts-small .fpick-prev b { font-size: 34px; }
.fpick-prev span { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.75); letter-spacing: .04em; }
.fpick-search { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 9px 12px; border: 1.5px solid var(--dn-line); border-radius: 12px; background: #fff; }
.fpick-list { max-height: 210px; overflow-y: auto; border: 1.5px solid var(--dn-line); border-radius: 12px; background: #fff; padding: 4px; overscroll-behavior: contain; }
.fpick-grp { margin: 8px 8px 2px; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--dn-pink); }
.fpick-it { display: block; width: 100%; text-align: left; font: inherit; font-size: 15px; font-weight: 600; color: var(--dn-text); background: none; border: 0; border-radius: 9px; padding: 8px 10px; cursor: pointer; }
.fpick-it:hover { background: var(--dn-soft); }
.fpick-it[aria-checked="true"] { background: var(--dn-soft); color: var(--dn-mag); font-weight: 850; }
.fpick-it[aria-checked="true"]::after { content: " ✓"; }
.fonts.fpick { display: grid; grid-template-columns: 1fr; }

.fpick-off, body .panel #nameFonts.fpick-off, body.guided .panel.wiz-more .fpick-off { display: none !important; }
.check.same-font { margin: 4px 0 10px; }
body.guided .check.same-font { display: flex; }

/* V42: Jersey-Material */
.mat-pick { display: block; }
.mat-pick #matList { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mat-pick label.is-soon { cursor: not-allowed; opacity: .55; }
.mat-pick label.is-soon span { border-style: dashed; }
@media (max-width: 420px) { .mat-pick #matList { grid-template-columns: 1fr; } }
/* V42: Material & Pflege, Lieferzeit */
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mat-card { background: #fff; border: 1px solid rgba(122, 20, 111, .12); border-radius: 20px; padding: 22px 24px; box-shadow: var(--dn-shadow); }
.mat-card h3 { font-size: 20px; margin: 0 0 8px; }
.mat-card p, .mat-list { margin: 0; color: var(--dn-text); font-size: 15px; line-height: 1.55; }
.mat-list { padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 1000px) { .mat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mat-grid { grid-template-columns: 1fr; } }
#materialInfo[hidden] { display: none; }
.delivery-line { margin-top: 10px; font-size: 16px; color: var(--dn-deep); }
/* V42: Teilen */
.stage-share { position: absolute; right: 168px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font: 650 14px/1 Inter, system-ui, sans-serif; cursor: pointer; background: var(--dn-btn-hot, #cc1d77); color: #fff; border: 0; box-shadow: var(--dn-shadow); z-index: 4; }
.stage-share:hover { filter: brightness(1.08); }
.stage-share:disabled { opacity: .6; cursor: wait; }
body.intro .stage-share { opacity: 0; pointer-events: none; }
@media (max-width: 860px) { .stage-share { right: 12px; bottom: auto; top: 54px; padding: 7px 12px; font-size: 13px; } }
.share-inline { margin: 4px 0 12px; }
.share-dlg { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.share-back { position: absolute; inset: 0; background: rgba(20, 8, 24, .55); backdrop-filter: blur(3px); }
.share-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); display: grid; gap: 12px; }
.share-box h3 { margin: 0; font-size: 22px; }
.share-box img { width: 100%; height: auto; border-radius: 14px; display: block; }
.share-x { position: absolute; top: 14px; right: 14px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btns .btn { flex: 1 1 140px; justify-content: center; text-align: center; text-decoration: none; }
.share-btns .share-wa { background: #25d366; color: #fff; border: 0; }
.share-link { display: flex; gap: 8px; }
.share-link input { flex: 1; min-width: 0; border: 1.5px solid var(--dn-line); border-radius: 10px; padding: 8px 10px; font: 14px Inter, system-ui, sans-serif; color: var(--dn-text); }
.share-box .note { margin: 0; }
.foot .foot-seo { flex-basis: 100%; order: 9; margin-left: 0; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; opacity: .85; }
/* V42: Schriftnamen in der eigenen Schrift */
.fpick-it { font-size: 20px; line-height: 1.25; padding: 7px 12px; font-synthesis: none; }
.fpick-it.is-look { font-weight: 400; }
.fpick-it[aria-checked="true"].is-look { font-weight: 400; }
.fpick-it[aria-checked="true"]::after { font-family: Inter, system-ui, sans-serif; font-size: 15px; font-weight: 800; }
.fpick-list { max-height: 300px; }
.same-font-btn { margin: 10px 0 14px; }
.same-font-btn[aria-pressed="true"] { border-color: var(--dn-mag); color: var(--dn-mag); }
/* V42b: Passendes Trikot zur eigenen Hose */
.match-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0 14px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #fff4fa, #f3e8ff); border: 1.5px solid rgba(204, 29, 119, .25); }
.match-card.is-on { border-color: var(--dn-mag); box-shadow: 0 0 0 3px rgba(204, 29, 119, .12); }
.match-txt { flex: 1 1 260px; display: grid; gap: 3px; font-size: 14.5px; color: var(--dn-text); }
.match-txt strong { font-size: 16px; color: var(--dn-deep); }
.match-btn { cursor: pointer; white-space: nowrap; }
.match-btn[hidden], .match-on[hidden] { display: none !important; }
.match-on { flex-basis: 100%; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-weight: 700; color: var(--dn-mag); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--dn-text); text-decoration: underline; cursor: pointer; }
.match-card[hidden] { display: none !important; }
/* V42b: Startseite – auf einen Blick, was VERM.Moto macht */
.hero-points { list-style: none; margin: -6px 0 22px; padding: 0; display: grid; gap: 8px; max-width: 46ch; font-size: 15.5px; color: var(--dn-text); }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.hero-points li > span { flex: 0 0 auto; }
.hero-points .link-btn { text-align: left; color: var(--dn-mag); font-weight: 700; }
.hero .hero-sub { max-width: 46ch; }
@media (max-width: 860px) { .hero-points { font-size: 14px; gap: 6px; margin: -4px 0 14px; } }
@media (max-width: 600px) {
  .hero-points li:first-child { display: none; }
  .hero .hero-cta .btn-ghost { display: none; }
  .hero .hero-sub { font-size: 14.5px; margin: 10px 0 12px; }
}
/* V47: Smartphone – Ansichts-Knöpfe in zwei Reihen statt abgeschnitten, Looks zweispaltig mit Namen unter dem Bild,
   „Mit diesem Design Probe fahren“ als eigene Zeile unter Zurück/Preis/Weiter */
.buy #raceKit { grid-column: 1 / -1; margin-top: 0; }
body.guided .buy #raceKit { order: 9; height: 40px; min-height: 0; padding: 0 14px; font-size: 14px; line-height: 1; }
@media (max-width: 860px) {
  .stage-views { flex-wrap: wrap; overflow: visible; row-gap: 5px; }
  .stage-views .stage-views-gap { display: none; }
  .stage-views .stage-views-gap:last-of-type { display: block; flex-basis: 100%; width: 100%; height: 0; }
  .look-pick { grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 620px; }
  .look-pick .look-sm .look-meta, .looks .look .look-meta { position: static; background: none; padding: 8px 10px 10px; }
  .look-pick .look-sm img, .looks .look img { aspect-ratio: 4 / 5; }
  .look-pick .look-sm .look-meta strong { font-size: 14px; line-height: 1.15; }
  .look-pick .look-sm .look-meta span { font-size: 12px; }
  .looks .look .look-meta strong { font-size: 16px; line-height: 1.15; }
  .looks .look .look-meta span { font-size: 12.5px; line-height: 1.35; }
  body.guided .buy { column-gap: 8px; row-gap: 8px; }
  body.guided .wiz-next, body.guided #addToCart { min-width: 0; padding-left: 14px; padding-right: 14px; }
  body.guided .buy #raceKit { height: 36px; font-size: 13.5px; }
}
/* V47.2: Probefahrt-Knopf nur im letzten Schritt „Bestellen“ (nicht bei jedem Schritt) */
body.guided:not([data-wp=send]) .buy #raceKit { display: none; }
/* V47.4: KI-Versuche */
.ai-tries { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 2px; padding: 9px 12px; border-radius: 12px; background: #f7eef6; color: var(--dn-deep, #3d0a3a); font-size: 14px; line-height: 1.35; }
.ai-tries b { color: var(--dn-mag, #b5127f); }
.ai-tries small { color: var(--dn-muted, #7a6a78); font-size: 12px; }
.ai-tries a { font-weight: 700; color: var(--dn-pink, #e2338c); text-decoration: underline; }
.ai-tries-dots { display: inline-flex; gap: 4px; }
.ai-tries-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--dn-mag, #b5127f); display: block; }
.ai-tries-dots i.is-used { background: #e3cfe0; }
.ai-tries[data-kind=last] { background: #fff3e0; }
.ai-tries[data-kind=none] { background: #fde8ec; color: #8a1030; }
/* V47.4: Mustergröße je Bereich */
.zone-scales { margin: 8px 0 4px; border: 1px solid #ecd9ea; border-radius: 12px; padding: 8px 12px; background: #fff; }
.zone-scales summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--dn-deep, #3d0a3a); }
.zone-scales[open] summary { margin-bottom: 6px; }
.zone-scales .note { margin: 0 0 8px; font-size: 13px; }
.zone-scales .range { margin: 6px 0; }
.zone-scales input.is-own { accent-color: var(--dn-pink, #e2338c); }
.zone-scales #zsReset { margin-top: 6px; }
.ai-tune .zone-scales { grid-column: 1 / -1; }
.zone-scales .range-inline { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 8px; }
/* V47.5: Seitenstreifen-Material */
.mat-note { margin: 0 0 8px; font-size: 13px; }
.mat-side { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #ecd9ea; display: grid; gap: 8px; }
.mat-side-h { margin: 0; display: grid; gap: 2px; }
.mat-side-h small { color: var(--dn-muted, #7a6a78); font-size: 12.5px; }
.mat-side label[hidden] { display: none; }
.tap-color .tap-note { margin: 4px 0 8px; font-size: 12.5px; line-height: 1.35; color: var(--dn-muted, #7a6a78); max-width: 260px; }
/* V47.8: fertige Looks = nur Farben ändern (kein Musterwechsel); Handy übersichtlicher */
#presetGrid, #presetShuffle, #lookPick .look-pick-or { display: none !important; }
#lookPick { scroll-margin-top: 12px; }
#srcIdea { scroll-margin-top: 12px; }
@media (max-width: 860px) {
  .wiz-choice.wiz-on { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .wiz-choice .wiz-card { padding: 12px; min-height: 0; }
  .wiz-choice .wiz-card small { display: none; }
  .wiz-choice .wiz-card strong { font-size: 15px; line-height: 1.2; }
  .wiz-choice .wiz-card .wiz-card-ico { width: 34px; height: 34px; margin-bottom: 6px; }
  .wiz-choice .wiz-card .wiz-card-ico svg { width: 20px; height: 20px; }
  #lookPick .look-pick { max-height: none; overflow: visible; overscroll-behavior: auto; }   /* V49.96: auf dem Handy kein eigener Scrollbereich – sonst hängt das Scrollen fest */
}
@media (max-width: 860px) { #lookPick, #srcIdea { scroll-margin-top: calc(var(--top-h) + max(320px, 46svh) + 10px); } }
/* V47.10: Farben als eigener Schritt */
#sumColors { display: inline-flex; gap: 4px; align-items: center; }
#sumColors .sum-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
/* V47.10: Schritt-Leiste am Handy fest unten über Zurück/Weiter */
.wiz-mini { display: none; }
@media (max-width: 860px) {
  body.guided .buy .wiz-mini { display: grid; grid-column: 1 / -1; order: -2; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; margin: -2px 0 2px; }
  .wiz-mini button { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; color: #9a8a98; min-width: 0; }
  .wiz-mini .wm-ico { width: 26px; height: 26px; border-radius: 9px; display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--c); color: var(--c); background: #fff; box-sizing: border-box; }
  .wiz-mini .wm-ico svg { width: 14px; height: 14px; }
  .wiz-mini .wm-name { font-size: 10px; font-weight: 700; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .wiz-mini button.done .wm-ico { background: var(--c); color: #fff; border-style: solid; }
  .wiz-mini button.on .wm-ico { background: var(--c); color: #fff; border-style: solid; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
  .wiz-mini button.on .wm-name { color: var(--c); }
  .wiz-mini button.done .wm-name { color: var(--dn-deep, #3b0f45); }
  body.guided .wiz-track { display: none; }   /* große Leiste oben entfällt am Handy – die feste unten ersetzt sie */
}
/* V47.11: Handy – MX Challenge nur noch im Menü (kein Kasten auf der Startseite, kein Probefahrt-Knopf) */
@media (max-width: 860px) { #mxcTeaser, .buy #raceKit { display: none !important; } }
/* ===== V47.12: Handy-Ansicht übersichtlicher ===== */
@media (max-width: 860px) {
  :root { --stage-h: max(38svh, 270px); }
  .stage { height: var(--stage-h); min-height: 0; transition: height .25s ease; }
  body.stage-big .stage { height: 72svh; }
  .step { scroll-margin-top: calc(var(--top-h) + var(--stage-h)); }
  #lookPick, #srcIdea { scroll-margin-top: calc(var(--top-h) + var(--stage-h) + 10px); }
  .stage-big-btn { position: absolute; right: 10px; top: 98px; z-index: 5; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.92); color: var(--dn-deep, #3b0f45); font-size: 20px; font-weight: 800; box-shadow: 0 2px 10px rgba(59,15,69,.15); cursor: pointer; }
  /* Ansichts-Knöpfe kleiner – verdecken den Fahrer weniger */
  .stage-views { bottom: 6px; left: 6px; max-width: calc(100% - 12px); gap: 4px; row-gap: 4px; }
  .stage-views button { padding: 4px 9px; font-size: 12px; min-height: 28px; line-height: 1.1; background: rgba(255,255,255,.88); }
  /* Hinweise oben am Fahrer statt mitten über den Einstellungen */
  .toast { top: calc(var(--top-h) + 8px); bottom: auto; max-width: calc(100vw - 32px); font-size: 14px; padding: 9px 14px; transform: translate(-50%, -12px); }
  .toast.is-on { transform: translate(-50%, 0); }
  /* Erklärung pro Schritt nur auf „?“ */
  body.guided .wiz-head .wiz-help { display: none; }
  body.guided .wiz-head.show-help .wiz-help { display: block; }
  .wiz-head .wiz-q { display: inline; }
  .wiz-qhelp { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: 8px; vertical-align: 3px; border-radius: 50%; border: 0; background: var(--dn-soft, #f6e9f3); color: var(--dn-mag, #b5127f); font-weight: 800; font-size: 14px; cursor: pointer; }
  .wiz-head.show-help .wiz-qhelp { background: var(--dn-mag, #b5127f); color: #fff; }
  /* Feinheiten im Farben-Schritt zugeklappt */
  .fine-box { margin-top: 14px; border: 1px solid #ecd9ea; border-radius: 12px; padding: 10px 12px; background: #fff; }
  .fine-box > summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--dn-deep, #3b0f45); min-height: 28px; display: flex; align-items: center; }
  .fine-box[open] > summary { margin-bottom: 10px; }
  .fine-box .brandbox { margin-top: 12px; }
  /* größere Tippflächen (mind. ca. 44 px) */
  .palettes { gap: 10px; }
  .palette { min-width: 48px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .chips button, .chip, .look-chips button { min-height: 40px; }
  .toggle { min-height: 40px; display: inline-flex; align-items: center; }
  .toggle span { min-height: 38px; display: inline-flex; align-items: center; }
  .wiz-mode, .wiz-guided-link { min-height: 36px; display: inline-flex; align-items: center; }
  .step-head { min-height: 52px; }
  input[type=range] { min-height: 32px; }
  .tap-color .tap-sw button { width: 36px; height: 36px; }
}
body.guided .wiz-guided-link { display: none !important; }
/* V47.13: Ansichts-Knöpfe am Handy in einer Reihe – Vorne · Seite · Hinten · Nah · Mehr … */
.stage-views .mv-near, .stage-views .mv-more { display: none; }
@media (max-width: 860px) {
  .stage-views { flex-wrap: nowrap !important; overflow: visible; }
  .stage-views .mv-near, .stage-views .mv-more { display: inline-flex; align-items: center; }
  .stage-views button[data-view=jersey], .stage-views button[data-view=pants], .stage-views .stage-views-gap,
  .stage-views #helmetToggle, .stage-views #ghostToggle { display: none !important; }
  .stage-views.show-more { flex-wrap: wrap !important; }
  .stage-views.show-more #helmetToggle, .stage-views.show-more #ghostToggle { display: inline-flex !important; }
  .stage-views button { padding: 6px 11px; font-size: 13px; min-height: 32px; }
}
/* V47.15: Hintergrund entfernen bei Logos */
.logo-tools .logo-bg { font-size: 13px; }
.logo-tools .logo-bg.is-hint { border-color: var(--dn-pink, #e2338c); color: var(--dn-mag, #b5127f); font-weight: 700; }

.logo-row, .logo-row > div { min-width: 0; }
.logo-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.logo-tools input[type=range] { flex: 1 1 90px; min-width: 80px; }
/* ===== V48: 2D-Schnittmuster + Selbst malen ===== */
.stage-views .mv-2d { font-weight: 800; }
.stage-views .mv-2d.is-on { background: var(--dn-mag, #b5127f); color: #fff; }
.p2d { position: fixed; inset: 0; z-index: 200; background: #ece6ee; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.p2d[hidden] { display: none; }
.p2d canvas { position: absolute; left: 0; top: 0; }
.p2d .p2d-o { cursor: crosshair; touch-action: none; }
.p2d[data-tool=hand] .p2d-o, .p2d.view-only .p2d-o { cursor: grab; }
.p2d-top { position: absolute; left: 8px; right: 8px; top: 6px; display: flex; align-items: center; gap: 10px; z-index: 2; pointer-events: none; }
.p2d-top > * { pointer-events: auto; }
.p2d-title { font-weight: 800; color: var(--dn-deep, #3b0f45); background: rgba(255,255,255,.9); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.p2d-hint { flex: 1; font-size: 12.5px; color: #6b5a69; text-shadow: 0 1px 0 #fff; }
.p2d-done { border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 800; background: var(--dn-mag, #b5127f); color: #fff; cursor: pointer; }
.p2d-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; background: rgba(255,255,255,.96); border-radius: 16px; box-shadow: 0 6px 24px rgba(59,15,69,.18); padding: 8px; display: grid; gap: 6px; }
.p2d.view-only .p2d-bar { display: none; }
.p2d-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.p2d-tools button { border: 1px solid #ecd9ea; background: #fff; border-radius: 12px; min-width: 44px; min-height: 44px; padding: 4px 8px; font-size: 18px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; line-height: 1; }
.p2d-tools button span { font-size: 10.5px; font-weight: 700; color: #6b5a69; margin-top: 2px; }
.p2d-tools button.on { background: var(--dn-mag, #b5127f); border-color: var(--dn-mag, #b5127f); }
.p2d-tools button.on span { color: #fff; }
.p2d-tools button:disabled { opacity: .35; }
.p2d-sizes { display: inline-flex; gap: 4px; }
.p2d-size { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #ecd9ea; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.p2d-size i { display: block; border-radius: 50%; background: var(--dn-deep, #3b0f45); }
.p2d-size.on { border-color: var(--dn-mag, #b5127f); box-shadow: 0 0 0 2px var(--dn-mag, #b5127f) inset; }
.p2d-cols { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.p2d-col { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); cursor: pointer; }
.p2d-col.on { box-shadow: 0 0 0 3px var(--dn-mag, #b5127f); }
.p2d-own input { width: 34px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; }
body.p2d-open { overflow: hidden; }
@media (max-width: 860px) {
  body.p2d-open { overflow: hidden; }
  .p2d-tools button { min-width: 42px; padding: 3px 5px; }
  .p2d-hint { display: none; }
  .wiz-choice.wiz-on { grid-template-columns: 1fr 1fr !important; }
  .wiz-choice .wiz-card strong { font-size: 13.5px; }
}
.draw-intro { display: grid; gap: 10px; padding: 4px 0; }
.draw-tips { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
@media (max-width: 860px) {
  .p2d-bar { left: 4px; right: 4px; bottom: 4px; padding: 6px; border-radius: 14px; }
  .p2d-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .p2d-row::-webkit-scrollbar { display: none; }
  .p2d-tools button { flex: 0 0 auto; min-width: 46px; min-height: 46px; }
  .p2d-style > * { flex: 0 0 auto; }
  .p2d-cols { flex-wrap: nowrap; }
  .p2d-col { width: 32px; height: 32px; flex: 0 0 auto; }
}
.p2d-done { margin-left: auto; }

/* V48.1: Eigenes Design – Beschreiben · Selbst malen · Malen + KI */
.wiz-ways { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.wiz-ways span { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--dn-soft); color: var(--dn-deep); white-space: nowrap; }
@media (max-width: 860px) { .wiz-choice .wiz-card .wiz-ways { display: flex; } .wiz-ways span { font-size: 11px; padding: 2px 7px; } }

.idea-modes { margin: 2px 0 14px; }
.idea-modes-q { margin: 0 0 8px; color: var(--dn-deep); }
.idea-modes-q span { color: var(--dn-muted); font-size: 14px; }
.idea-mode-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.idea-mode { display: grid; justify-items: center; text-align: center; gap: 3px; padding: 12px 8px; border-radius: 14px; background: #fff; border: 1.5px solid rgba(122, 20, 111, .16); box-shadow: var(--dn-shadow); cursor: pointer; font: inherit; color: inherit; }
.idea-mode:hover { border-color: #e9a8cf; }
.idea-mode .im-ico { font-size: 24px; line-height: 1.1; }
.idea-mode strong { color: var(--dn-deep); font-size: 15px; }
.idea-mode small { color: var(--dn-muted); font-size: 12.5px; line-height: 1.3; }
.idea-mode.is-on { border-color: var(--dn-pink); box-shadow: 0 0 0 2px rgba(204, 29, 119, .25), var(--dn-shadow); background: #fff7fb; }
@media (max-width: 860px) { .idea-mode { padding: 10px 5px; } .idea-mode small { font-size: 11px; } .idea-mode strong { font-size: 13.5px; } .idea-mode .im-ico { font-size: 20px; } }
.idea-step { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; font-weight: 700; color: var(--dn-deep); }
.idea-step b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--dn-pink); color: #fff; font-size: 13px; }
.idea-draw { margin-bottom: 14px; }
.sketch-thumb { width: 100%; max-height: 220px; object-fit: contain; background: #fff; border: 1px solid rgba(122, 20, 111, .14); border-radius: 10px; }
.draw-ai-hint { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--dn-soft); font-size: 14px; }
.draw-ai-hint .link-btn { font-weight: 700; }

/* V49.2: 2D-Malen – alle Farben, Pipette, Hilfe, KI-Knopf */
.p2d-ai { border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 800; background: linear-gradient(90deg, #6a2bd1, #e2338c); color: #fff; cursor: pointer; box-shadow: 0 4px 14px rgba(181,18,127,.35); white-space: nowrap; }
.p2d-ai[hidden] { display: none; }
.p2d-cur { width: 40px; height: 40px; border-radius: 12px; border: 1px solid #ecd9ea; background: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; flex: 0 0 auto; }
.p2d-cur i { display: block; width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.p2d-more { border: 1px solid #ecd9ea; background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 13px; color: var(--dn-deep, #3b0f45); cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.p2d-pal { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); width: min(380px, calc(100% - 16px)); z-index: 4; background: #fff; border-radius: 16px; box-shadow: 0 10px 34px rgba(59,15,69,.28); padding: 12px; }
.p2d-pal[hidden], .p2d-help[hidden] { display: none; }
.p2d-pal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--dn-deep, #3b0f45); }
.p2d-pal-x { border: 0; background: none; font-size: 18px; cursor: pointer; }
.p2d-pal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; justify-items: center; }
.p2d-pal-grid .p2d-col { width: 36px; height: 36px; }
.p2d-pal-own { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 10px; border-radius: 12px; background: #f6eef5; cursor: pointer; font-weight: 700; color: var(--dn-deep, #3b0f45); }
.p2d-pal-own input { width: 40px; height: 40px; border: 0; padding: 0; background: none; cursor: pointer; }
.p2d-help { position: absolute; left: 50%; top: 56px; transform: translateX(-50%); width: min(420px, calc(100% - 16px)); z-index: 4; background: #fff; border-radius: 16px; box-shadow: 0 10px 34px rgba(59,15,69,.28); padding: 14px 16px; color: var(--dn-deep, #3b0f45); }
.p2d-help ol { margin: 8px 0 12px; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.p2d-help-ok { border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 800; background: var(--dn-mag, #b5127f); color: #fff; cursor: pointer; }
@media (max-width: 860px) {
  .p2d-top { flex-wrap: wrap; }
  .p2d-ai { order: 3; flex: 1 1 100%; padding: 9px 12px; }
  .p2d-pal { bottom: 118px; }
}

/* V49.3: Malen am 3D-Fahrer */
.p2d-3d { position: absolute; inset: 0; z-index: 1; background: #ece6ee; }
.p2d-3d[hidden] { display: none; }
.p2d-3d canvas { touch-action: none; display: block; }
.p2d[data-mode="3d"] .p2d-c, .p2d[data-mode="3d"] .p2d-o { display: none; }
.p2d-modes { display: inline-flex; background: rgba(255,255,255,.95); border-radius: 999px; padding: 3px; gap: 2px; box-shadow: 0 2px 10px rgba(59,15,69,.12); }
.p2d-modes button { border: 0; background: none; border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 13px; color: var(--dn-deep, #3b0f45); cursor: pointer; white-space: nowrap; }
.p2d-modes button.on { background: var(--dn-mag, #b5127f); color: #fff; }
.p2d-views { position: absolute; left: 50%; transform: translateX(-50%); bottom: 132px; z-index: 3; display: flex; gap: 6px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 4px; box-shadow: 0 4px 16px rgba(59,15,69,.15); }
.p2d-views[hidden] { display: none; }
.p2d-views button { border: 0; background: none; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 13px; color: var(--dn-deep, #3b0f45); cursor: pointer; }
.p2d-views button.on { background: #f3e3ef; color: var(--dn-mag, #b5127f); }
.p2d-ai.is-empty { opacity: .85; }
.p2d-title { display: none; }
@media (max-width: 860px) { .p2d-views { bottom: 122px; } .p2d-modes button { padding: 7px 9px; font-size: 12.5px; } }

/* V49.5: Startseite – die zwei Wege direkt als Knöpfe */
.hero .hero-cta .hero-path { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 20px; min-height: 0; height: auto; line-height: 1.2; }
.hero .hero-cta .hero-path b { font-size: 16px; font-weight: 800; }
.hero .hero-cta .hero-path small { font-size: 12.5px; font-weight: 600; opacity: .85; letter-spacing: 0; text-transform: none; }
.hero .hero-cta .hero-path-own { background: #fff; color: var(--dn-deep, #3b0f45); border: 2px solid var(--dn-mag, #b5127f); }
@media (max-width: 600px) { .hero .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .hero .hero-cta .hero-path { padding: 10px 12px; } .hero .hero-cta .hero-path b { font-size: 14px; } .hero .hero-cta .hero-path small { font-size: 11px; } }
.p3d-ov { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 2; }
.p2d-modes { display: none !important; }   /* V49.9: Umschalter Am Fahrer/Schnittmuster entfernt */
.p2d-title { display: inline-block !important; }
.p2d[data-mode="3d"] .p2d-title { display: none !important; }

/* V49.10: KI-Umwandeln-Fenster */
.ai-sheet { position: fixed; inset: 0; z-index: 260; background: rgba(30, 8, 36, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ai-sheet[hidden] { display: none; }
.ai-sheet-card { background: #fff; border-radius: 18px; padding: 18px 18px 16px; width: min(460px, 100%); box-shadow: 0 16px 48px rgba(30, 8, 36, .35); display: grid; gap: 10px; }
.ai-sheet-card h3 { margin: 0; font-size: 19px; color: var(--dn-deep, #3b0f45); }
.ai-sheet-sub { margin: 0; font-size: 14px; color: var(--dn-muted, #6b5a69); }
.ai-sheet-card textarea { width: 100%; }
.ai-sheet-ok { font-size: 13px; }
.ai-sheet-err { margin: 0; color: #9b0f36; font-weight: 700; font-size: 14px; }
.ai-sheet-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-sheet-btns .btn-go { flex: 1 1 auto; }
@media (max-width: 600px) { .ai-sheet { align-items: flex-end; padding: 0; } .ai-sheet-card { border-radius: 18px 18px 0 0; } }
.ai-sheet-note { margin: 0; font-size: 12.5px; color: var(--dn-muted, #6b5a69); }
.ai-sheet-ok[hidden], .ai-sheet-note[hidden] { display: none; }
.bold-pick .bold-note { flex-basis: 100%; display: block; font-size: 12.5px; color: var(--dn-muted, #6b5a69); margin-top: 4px; }

/* V49.15 Handy: mehr Platz für die Einstellungen */
@media (max-width: 860px) {
  body.stage-mini .stage { height: max(27svh, 200px); }
  body.typing .stage { height: 0 !important; min-height: 0 !important; border: 0; overflow: hidden; }
  body.typing .wiz-mini { display: none; }
}
/* V49.17: 2D-Ansicht im Studio-Look */
.p2d[data-mode="2d"] { background: #120a16; }
.p2d[data-mode="2d"] .p2d-hint { color: rgba(255,255,255,.72); text-shadow: none; }
.p2d[data-mode="2d"] .p2d-hint::before { content: "2D-Ansicht · "; font-weight: 800; color: #ff4fb0; }
/* V49.19: Zurück / Vor beim Malen – immer sichtbar oben links */
.p2d-hist { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.p2d-hist button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #ecd9ea; background: #fff; color: #3b0f45; border-radius: 999px; padding: 7px 13px; font-size: 17px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(59,15,69,.12); }
.p2d-hist button span { font-size: 13px; }
.p2d-hist button:disabled { opacity: .4; cursor: default; box-shadow: none; }
.p2d.view-only .p2d-hist { display: none; }
@media (max-width: 860px) { .p2d-hist button { padding: 8px 12px; } }
@media (max-width: 520px) { .p2d-hist { gap: 4px; } .p2d-hist button { padding: 7px 8px; font-size: 14px; gap: 3px; } .p2d-hist button span { font-size: 11.5px; } .p2d-top { gap: 6px; } .p2d-done { padding: 7px 11px; font-size: 14px; } }
/* V49.20: Größen abfragen + „Weiter“ blinkt, sobald alles gewählt ist */
.field.size-ask select { border-color: var(--dn-mag, #b5127f) !important; box-shadow: 0 0 0 3px rgba(226,51,140,.22); animation: sizeAsk 1.4s ease-in-out infinite; }
.field.size-ask { color: var(--dn-mag, #b5127f); font-weight: 800; }
.field.size-ask::after { content: attr(data-ask); display: block; font-size: 12px; font-weight: 700; margin-top: 4px; }
@keyframes sizeAsk { 50% { box-shadow: 0 0 0 6px rgba(226,51,140,.08); } }
.wiz-next.wiz-blink { animation: wizBlink 1.1s ease-in-out infinite; }
@keyframes wizBlink { 0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(226,51,140,.35); } 50% { transform: scale(1.07); box-shadow: 0 0 0 8px rgba(226,51,140,.25), 0 6px 20px rgba(226,51,140,.5); filter: brightness(1.12); } }
@media (prefers-reduced-motion: reduce) { .wiz-next.wiz-blink { animation: none; outline: 3px solid #ff4fb0; outline-offset: 2px; } .field.size-ask select { animation: none; } }
.field.size-ask { position: relative; margin-bottom: 18px; }
.field.size-ask::after { position: absolute; left: 0; top: 100%; white-space: nowrap; }
.bold-pick .bold-note { grid-column: 1 / -1; }
/* V49.20: Vorbilder hochladen – Dateifeld sauber versteckt, Kachel mit Kamera-Symbol */
.refs .ref-add input[type=file] { position: absolute !important; inset: 0; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden; pointer-events: none; padding: 0; border: 0; }
.refs .ref-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; min-height: 0; }
.refs .ref-add strong { font-size: 14px; color: var(--dn-deep, #3b0f45); }
.refs .ref-add strong::before { content: "📷"; display: block; font-size: 22px; line-height: 1.1; margin-bottom: 2px; }
.refs .ref-add span { font-size: 11.5px; color: var(--dn-muted, #6b5a69); }
.refs .ref { border: 1px solid var(--dn-line, #ecd9ea); }
.refs .ref-add { grid-column: 1 / -1; aspect-ratio: auto; flex-direction: row; justify-content: flex-start; padding: 12px 14px; gap: 10px; border-radius: 14px; }
.refs .ref-add strong { display: flex; align-items: center; gap: 8px; }
.refs .ref-add strong::before { display: inline; font-size: 22px; margin: 0; }
.refs .ref-add .drop-pick { display: none; }
.refs .ref-add span { margin-left: auto; }
/* V49.21: Weitere Farben für den KI-Designer */
.extra-cols { margin: 12px 0 4px; }
.extra-cols .field-label small { font-weight: 500; color: var(--dn-muted, #6b5a69); }
.extra-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 10px; }
.extra-sw { position: relative; width: 40px; height: 40px; }
.extra-sw label { display: block; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(59,15,69,.25), inset 0 0 0 2px #fff; cursor: pointer; overflow: hidden; }
.extra-sw input[type=color] { opacity: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; }
.extra-sw .extra-x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #ecd9ea; background: #fff; color: #3b0f45; font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.extra-add { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 2px dashed var(--dn-pink, #e2338c); color: var(--dn-mag, #b5127f); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; cursor: pointer; }
.extra-add input[type=color] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.extra-ki { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: #fbeaf0; color: #72243e; border-radius: 12px; padding: 9px 12px; font-size: 13px; line-height: 1.45; }
.extra-ki span { flex: 1 1 200px; }
.extra-ki span::before { content: "✨ "; }
/* V49.23: Produkt + Größen ohne Vorauswahl */
.prod-ask { display: none; margin: 0 0 8px; font-weight: 800; color: var(--dn-mag, #b5127f); font-size: 14px; }
.prod-ask::before { content: "👇 "; }
body.prod-open .prod-ask { display: block; }
body.prod-open .products .product { border-color: rgba(226,51,140,.55); animation: sizeAsk 1.4s ease-in-out infinite; }
select:invalid, select option[value=""] { color: var(--dn-muted, #8a7a88); }
/* V49.26: nächstes Pflichtfeld leuchtet auch bei Eingabefeldern und Auswahl-Karten */
.field.size-ask input { border-color: var(--dn-mag, #b5127f) !important; box-shadow: 0 0 0 3px rgba(226,51,140,.22); animation: sizeAsk 1.4s ease-in-out infinite; }
fieldset.size-ask label > span { border-color: rgba(226,51,140,.6) !important; animation: sizeAsk 1.4s ease-in-out infinite; }
fieldset.size-ask { position: relative; }
fieldset.size-ask legend::after { content: "  " attr(data-ask); }
fieldset.size-ask::after { content: none !important; }
fieldset.size-ask legend { color: var(--dn-mag, #b5127f); }
/* V49.26: „Das ist als Nächstes dran“ – pinker, pulsierender Rahmen */
.next-ask { outline: 2.5px solid var(--dn-pink, #e2338c) !important; outline-offset: 3px; border-radius: 14px; animation: nextAsk 1.3s ease-in-out infinite; }
textarea.next-ask, button.next-ask, .btn.next-ask { border-radius: 12px; }
@keyframes nextAsk { 50% { outline-color: rgba(226,51,140,.25); outline-offset: 6px; } }
@media (prefers-reduced-motion: reduce) { .next-ask { animation: none; } }
/* V49.27: Text direkt unter dem Eingabefeld bestätigen – ohne Runterscrollen */
.idea-go { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 14px; padding: 10px 12px; border-radius: 14px; background: #fbeaf0; }
.idea-go .check { font-size: 12.5px; line-height: 1.45; color: #72243e; margin: 0; }
.idea-go-btn { width: 100%; justify-content: center; }
.idea-go-err { margin: 0; font-size: 12.5px; font-weight: 700; color: #a32d2d; }
/* V49.28: „Keine Idee?“ – ein paar Fragen zum Geschmack, daraus entsteht die Beschreibung */
.idea-quiz { margin: 4px 0 10px; }
.iq-open { width: 100%; display: flex; align-items: center; gap: 8px; border: 1.5px dashed rgba(204,29,119,.45); background: #fff; color: var(--dn-deep, #3b0f45); border-radius: 14px; padding: 10px 12px; font-weight: 800; font-size: 14px; cursor: pointer; text-align: left; }
.iq-open small { display: block; font-weight: 500; font-size: 12px; color: var(--dn-muted, #6b5a69); }
.iq-card { border: 1.5px solid #ecd9ea; background: #fff; border-radius: 16px; padding: 12px; }
.iq-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--dn-muted, #6b5a69); margin-bottom: 6px; }
.iq-top button { border: 0; background: none; font-size: 13px; color: var(--dn-muted, #6b5a69); cursor: pointer; padding: 2px 4px; }
.iq-bar { height: 4px; border-radius: 4px; background: #f3e6ef; margin-bottom: 10px; overflow: hidden; }
.iq-bar i { display: block; height: 100%; background: var(--dn-btn-hot, #e2338c); transition: width .25s; }
.iq-q { font-weight: 800; font-size: 15px; color: var(--dn-deep, #3b0f45); margin: 0 0 10px; }
.iq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.iq-opt { border: 1.5px solid #ecd9ea; background: #fff; border-radius: 12px; padding: 10px 8px; font-weight: 700; font-size: 13.5px; color: var(--dn-text, #2a1f2d); cursor: pointer; text-align: left; line-height: 1.25; }
.iq-opt small { display: block; font-weight: 500; font-size: 11.5px; color: var(--dn-muted, #6b5a69); margin-top: 2px; }
.iq-opt.on { border-color: var(--dn-pink, #e2338c); background: #fbeaf0; }
.iq-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.iq-res { background: #fbeaf0; color: #72243e; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; margin: 0 0 10px; }
/* V49.29: Größen, Knie und Material erst zeigen, wenn ein Produkt gewählt ist */
body.prod-open .step[data-step=product] .row2, body.prod-open #kneeField, body.prod-open #matField, body.prod-open #pantsMatField, body.prod-open .step[data-step=product] .size-btn { display: none !important; }
/* V49.30: Design-Optionen am 3D-Fahrer */
.stage-design { position: absolute; left: 50%; transform: translateX(-50%); bottom: 58px; z-index: 6; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 4px 16px rgba(59,15,69,.18); border: 1px solid rgba(122,20,111,.14); max-width: calc(100% - 16px); }
.stage-design[hidden] { display: none; }
.stage-design button { border: 0; background: transparent; border-radius: 999px; padding: 7px 12px; font-weight: 750; font-size: 13px; color: var(--dn-deep, #3b0f45); cursor: pointer; white-space: nowrap; }
.stage-design button.is-on { background: var(--dn-btn, #7a146f); color: #fff; }
.stage-design button[data-v="4"].is-on { background: var(--dn-btn-hot, #e2338c); }
@media (max-width: 860px) { .stage-design { bottom: 48px; } .stage-design button { padding: 7px 9px; font-size: 12.5px; } body.stage-mini .stage-design { display: none; } }
@media (min-width: 861px) { .stage-design { bottom: auto; top: 12px; } }
/* V49.31: Handy – weniger auf dem Fahrer: rechts eine schlanke Spalte runder Symbol-Knöpfe, Verlauf nur als Symbol, Ansichten: 2D · Vorne · Hinten · Mehr */
@media (max-width: 860px) {
  #tourBtn, #shareBtn, .stage-big-btn { position: absolute; right: 10px; left: auto; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0 !important; gap: 0; background: rgba(255,255,255,.92); color: var(--dn-deep, #3b0f45); border: 1px solid rgba(122,20,111,.14); box-shadow: 0 2px 10px rgba(59,15,69,.15); z-index: 6; }
  #tourBtn { top: 10px; } #shareBtn { top: 56px; } .stage-big-btn { top: 102px; }
  #tourBtn span { font-size: 18px; font-weight: 800; background: none; color: var(--dn-mag, #b5127f); width: auto; height: auto; }
  #shareBtn svg { width: 19px; height: 19px; }
  .stage-big-btn { font-size: 20px !important; }
  .hist { left: 10px; top: 10px; gap: 5px; }
  .hist-btn { height: 36px; min-width: 36px; padding: 0 9px; }
  .hist-open { font-size: 13px !important; font-weight: 750; padding: 0 10px; white-space: nowrap; }   /* V49.56: „Verlauf“ als Wort statt Uhr-Symbol */
  .hist-open span { font-size: 11px; }
  .stage-views:not(.show-more) button[data-view=side], .stage-views:not(.show-more) .mv-near { display: none !important; }
  .stage-views { left: 50% !important; transform: translateX(-50%); max-width: calc(100% - 16px); width: max-content; }
  .stage-hint { display: none !important; }
}
/* V49.31: Fahrer groß – fast ganzer Bildschirm, mit „← Zurück“ */
.stage-back { display: none; }
@media (max-width: 860px) {
  body.stage-big .stage { height: calc(100svh - var(--top-h, 56px) - 150px) !important; }
  body.stage-big .stage-back { display: inline-flex; align-items: center; position: absolute; left: 10px; top: 10px; z-index: 8; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--dn-btn, #7a146f); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 4px 14px rgba(59,15,69,.3); cursor: pointer; }
  body.stage-big .hist { display: none; }
}
/* V49.31: gewählte Auswahl zusammengeklappt – nur die Wahl + „ändern“ */
.pick-chg { display: none; }
.pick-collapsed { display: flex !important; align-items: center; gap: 10px; }
.pick-collapsed > :not(.pick-sel):not(.pick-chg) { display: none !important; }
.pick-collapsed > .pick-sel { flex: 1 1 auto; animation: none !important; }
.pick-collapsed > .pick-chg { display: inline-flex; flex: 0 0 auto; border: 1px solid rgba(122,20,111,.25); background: #fff; color: var(--dn-mag, #b5127f); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.products.pick-collapsed > .pick-sel { display: flex !important; flex-direction: row; align-items: baseline; gap: 10px; padding: 10px 14px; }
.products.pick-collapsed > .pick-sel .product-price { margin-left: auto; }
.idea-mode-list.pick-collapsed > .pick-sel { display: flex !important; flex-direction: row; align-items: center; gap: 10px; padding: 10px 14px; min-height: 0; text-align: left; }
.idea-mode-list.pick-collapsed > .pick-sel small { display: none; }
.idea-mode-list.pick-collapsed > .pick-sel .im-ico { font-size: 20px; margin: 0; }
#ideaModes:has(.pick-collapsed) .idea-modes-q { display: none; }
/* V49.39: Fehlermeldung direkt am Fahrer */
.stage-err { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9; width: min(360px, calc(100% - 32px)); background: #fff; border: 2px solid #d0213f; border-radius: 16px; padding: 14px 16px; box-shadow: 0 12px 34px rgba(59,15,69,.25); display: grid; gap: 6px; text-align: center; }
.stage-err strong { color: #a32d2d; font-size: 15px; }
.stage-err span { font-size: 13.5px; line-height: 1.45; color: var(--dn-text, #2a1f2d); }
.stage-err-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
/* V49.41: Ladeanzeige als Motorrad-Cockpit (Drehzahlmesser + Akku) */
.stage-work { place-items: center; padding-bottom: 0; }
.stage-work-inner { background: #fff !important; color: var(--dn-deep, #3b0f45) !important; border: 1px solid rgba(122,20,111,.12) !important; border-radius: 18px !important; box-shadow: 0 14px 40px rgba(59,15,69,.22); padding: 14px 18px !important; width: min(340px, calc(100% - 28px)); text-align: center; justify-items: center; }
.stage-work-inner > strong { font-size: 16px; color: var(--dn-deep, #3b0f45); }
.stage-work-inner > span#stageWorkText { color: var(--dn-muted, #6b5a69) !important; font-size: 12.5px !important; line-height: 1.4; }
.stage-work-bar { display: none !important; }
.ck { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; margin-top: 2px; }
.ck-gauge { width: 58%; max-width: 190px; height: auto; }
.ck-seg { fill: #f3dbe8; transition: fill .25s; } .ck-seg.on { fill: #e2338c; }
.ck-seg.ck-red { fill: #f6c9d3; } .ck-seg.ck-red.on { fill: #d0213f; }
.ck-needle { stroke: #3b0f45; stroke-width: 5; stroke-linecap: round; } .ck-hub { fill: #3b0f45; }
.ck-side { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ck-pc { font: 800 24px/1 system-ui, sans-serif; color: var(--dn-mag, #b5127f); font-variant-numeric: tabular-nums; }
.ck-bat { position: relative; width: 84px; height: 32px; border: 3px solid #3b0f45; border-radius: 7px; padding: 3px; display: flex; gap: 3px; margin-right: 6px; }
.ck-bat::after { content: ""; position: absolute; right: -9px; top: 50%; width: 5px; height: 12px; margin-top: -6px; background: #3b0f45; border-radius: 0 3px 3px 0; }
.ck-bat i { flex: 1; border-radius: 2px; background: #f3dbe8; transition: background .25s; } .ck-bat i.on { background: #e2338c; }
.ck-side small { font-size: 11px; color: var(--dn-muted, #6b5a69); }
.ck-step { font-style: normal; font-weight: 750; font-size: 13.5px; color: var(--dn-mag, #b5127f); }
@media (max-width: 860px) { .stage-work-inner { padding: 10px 14px !important; } .ck-pc { font-size: 20px; } }
@media (max-width: 860px) { .stage-work { padding: 0 58px 0 10px; } .stage-work-inner { width: 100%; } .ck-gauge { width: 55%; } }
/* V49.42: Design speichern (nur mit Konto) */
.stage-savedesign { position: absolute; right: 20px; top: 62px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(122,20,111,.18); background: #fff; color: var(--dn-deep, #3b0f45); font: 700 14px/1 Inter, system-ui, sans-serif; cursor: pointer; box-shadow: 0 2px 10px rgba(59,15,69,.12); }
.stage-savedesign:hover { background: #fbeaf0; }
.stage-savedesign:disabled { opacity: .6; cursor: wait; }
body.intro .stage-savedesign { opacity: 0; pointer-events: none; }
@media (max-width: 860px) { .stage-savedesign { right: 10px; top: 148px; width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; } .stage-savedesign span { display: none; } .stage-savedesign svg { width: 19px; height: 19px; } }
.sd-box h3 { margin: 0 0 6px; } .sd-box p { margin: 0 0 12px; color: var(--dn-muted, #6b5a69); line-height: 1.45; }
.sd-box input[type=text] { width: 100%; box-sizing: border-box; border: 1px solid #ecd9ea; border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; margin-bottom: 12px; }
.sd-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sd-row .btn { flex: 1 1 auto; justify-content: center; }

/* V49.42: Haken im pinken Kreis bei allem, was ausgewählt ist */
:is(label.product, #kneeField label, #matField label, #pantsMatField label, .bold-pick label):has(input:checked),
.preset[aria-checked="true"], .idea-mode.is-on, .wiz-card.is-on, .palette.is-on, .look-card.is-on {
  position: relative; overflow: visible;
}
:is(label.product, #kneeField label, #matField label, #pantsMatField label, .bold-pick label):has(input:checked)::after,
.preset[aria-checked="true"]::after, .idea-mode.is-on::after, .wiz-card.is-on::after,
.palette.is-on::after, .look-card.is-on::after {
  content: "✓"; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px;
  border-radius: 50%; background: #e2338c; color: #fff; font: 800 13px/22px Inter, system-ui, sans-serif;
  text-align: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(226,51,140,.45);
  z-index: 3; pointer-events: none; box-sizing: content-box; animation: vmCheckPop .22s ease-out;
}
@keyframes vmCheckPop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.fpick-it[aria-checked="true"]::after { content: "✓"; display: inline-block; width: 18px; height: 18px; margin-left: 6px;
  border-radius: 50%; background: #e2338c; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.sd-row a.btn { text-decoration: none; }
/* V49.48: Handy – Schriftliste: Wischen am Listenende scrollt die Seite weiter (man kommt immer wieder nach oben) */
@media (max-width: 860px) {
  .fpick-list { overscroll-behavior: auto; max-height: 46svh; -webkit-overflow-scrolling: touch; }
  .fpick { scroll-margin-top: 300px; }
}
/* V49.51: Tablet / iPad quer / kleine Laptops – das volle Menü passt erst ab ~1320px; darunter Menü-Knopf statt Überbreite (sonst zoomt das iPad die ganze Seite heraus) */
@media (min-width: 861px) and (max-width: 1319px) {
  .top-nav { display: none; }
  .nav-burger { display: inline-flex; flex: none; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 42px; margin-left: auto; padding: 0 10px; border: 1.5px solid var(--dn-line); border-radius: 12px; background: #fff; cursor: pointer; }
  .nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--dn-deep); transition: transform .2s, opacity .2s; }
  .nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .top { position: sticky; }
  .nav-open .top-nav { display: flex !important; position: absolute; top: 100%; right: 16px; left: auto; width: 320px; flex-direction: column; gap: 0; margin: 0; padding: 8px 12px 14px; background: #fff; border: 1px solid var(--dn-line); border-radius: 0 0 16px 16px; box-shadow: 0 16px 40px rgba(59,15,69,.16); z-index: 60; }
  .nav-open .top-nav a { padding: 12px 10px; font-size: 16px; border-bottom: 1px solid var(--dn-soft); }
  .nav-open .top-nav a:last-child { border-bottom: 0; }
}
/* V49.51: Startseite – Fahrer und eingeklapptes Bedienfeld dürfen nicht über den Rand ragen (sonst ist die Seite zu breit und das iPad zoomt heraus) */
body.intro .studio { overflow-x: clip; }
@supports not (overflow: clip) { body.intro .studio { overflow-x: hidden; } }
html { overflow-x: clip; }
/* V49.54: untere Leiste – „Weiter“ mit kleinem Zusatz, Preis darf schrumpfen statt zu überlappen */
#wizNext small { display: block; margin-top: 1px; font-size: 11px; font-weight: 650; line-height: 1.1; opacity: .9; letter-spacing: 0; text-transform: none; }
body.guided .buy > * { min-width: 0; }
body.guided .buy .plate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 380px) { body.guided .buy .plate { font-size: 17px; padding-left: 8px; padding-right: 8px; } body.guided .buy { column-gap: 6px; } }
/* V49.55: Farben von Name, Nummer, Rand – drei Kästchen + eine Palette */
.letter-style .row3.lt-hide { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.lt-box { display: grid; gap: 10px; margin: 6px 0 14px; }
.lt-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lt-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: 14px; border: 3px solid transparent; background: #1d1d1f; color: #fff; cursor: pointer; font: inherit; min-width: 0; }
.lt-tile[data-k="outlineColor"] { background: #ece6ef; color: #2a1233; }
.lt-tile.is-on { border-color: #e2338c; }
.lt-tile.is-on::after { content: "✓"; position: absolute; top: -9px; right: -9px; width: 22px; height: 22px; border-radius: 50%; background: #e2338c; color: #fff; font: 800 13px/22px system-ui, sans-serif; text-align: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(226,51,140,.45); }
.lt-tile:disabled { opacity: .45; cursor: default; }
.lt-sample { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: clip; font: 900 30px/1.15 'Arial Black', Impact, system-ui, sans-serif; letter-spacing: .5px; }
.lt-tile[data-k="nameColor"] .lt-sample { font-size: 17px; line-height: 35px; }
.lt-lab { font-weight: 800; font-size: 14px; margin-top: 2px; }
.lt-col { font-style: normal; font-size: 12px; opacity: .75; }
.lt-pal { background: #2a2a2d; border-radius: 14px; padding: 12px; color: #fff; }
.lt-for { margin: 0 0 4px; font-size: 14px; }
.lt-for span { opacity: .7; }
.lt-cap { margin: 8px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; opacity: .65; }
.lt-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.lt-dot { position: relative; aspect-ratio: 1; width: 100%; max-width: 44px; justify-self: center; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); cursor: pointer; padding: 0; }
.lt-dot.is-on { box-shadow: 0 0 0 3px #2a2a2d, 0 0 0 5px #e2338c; }
.lt-dot.is-on::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 15px system-ui, sans-serif; color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; }
.lt-add { background: transparent !important; border: 2px dashed rgba(255,255,255,.55); color: #fff; font: 800 18px/1 system-ui, sans-serif; }
.lt-link { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13.5px; cursor: pointer; }
.lt-link input { width: 18px; height: 18px; accent-color: #e2338c; }
@media (max-width: 380px) { .lt-sample { font-size: 26px; } .lt-tile[data-k="nameColor"] .lt-sample { font-size: 14px; } .lt-dots { gap: 6px; } }
/* V49.56: Verlauf-Liste mit Kopfzeile und ✕ */
.hist-top { display: flex; align-items: flex-start; gap: 8px; margin: 0 2px 8px 4px; }
.hist-top .hist-title { flex: 1; margin: 0; line-height: 1.35; }
.hist-top .hist-title strong { display: block; font-size: 15px; color: var(--dn-deep, #3b0f45); margin-bottom: 1px; }
.hist-x { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--dn-line, #eadcef); background: #fff; color: #6b5b70; font-size: 14px; cursor: pointer; }
/* V49.56: Handy – Farbtabelle (nach Antippen des 3D-Fahrers) und Verlauf als Blatt unten über volle Breite */
@media (max-width: 860px) {
  .tap-color, .hist-panel { position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
    width: auto !important; max-width: none !important; box-sizing: border-box; z-index: 90 !important; border-radius: 20px 20px 0 0 !important;
    padding: 10px 14px calc(14px + env(safe-area-inset-bottom)) !important; box-shadow: 0 -10px 34px rgba(59, 15, 69, .28) !important; animation: vSheetIn .22s ease-out; }
  .tap-color::before, .hist-panel::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: #e2d4e6; margin: 0 auto 10px; }
  .tap-color .tap-head strong { font-size: 15px; }
  .tap-color .tap-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--dn-line, #eadcef); background: #fff; }
  .tap-color .tap-note { max-width: none; }
  .tap-color .tap-sw { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
  .tap-color .tap-sw button { width: 100% !important; height: auto !important; aspect-ratio: 1; max-width: 48px; justify-self: center; }
  .tap-color .tap-own { margin-top: 12px; min-height: 40px; }
  .tap-color .tap-own input { width: 64px; height: 34px; }
  .hist-panel { max-height: 60svh !important; overflow: auto; }
  .hist-item { padding: 11px 10px; font-size: 15px; }
}
@keyframes vSheetIn { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
/* V49.56: Fußzeilen-Links umbrechen – sonst wird die Handy-Seite 20 px zu breit */
.foot nav { flex-wrap: wrap; row-gap: 10px; min-width: 0; max-width: 100%; }
/* V49.61: Malen – Füllen ganze Hose / ganzes Trikot oder nur ein Schnittteil */
.p2d-fillscope { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 2px 0 6px; font-size: 13px; font-weight: 700; }
.p2d-fillscope[hidden] { display: none; }
.p2d-fillscope > span { opacity: .8; margin-right: 2px; }
.p2d-fillscope button { border: 1.5px solid #eadcef; background: #fff; color: #3b0f45; border-radius: 99px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.p2d-fillscope button.on { background: #cc1d77; border-color: #cc1d77; color: #fff; }
.p2d[data-tool=fill] .p2d-views { bottom: 176px; }
@media (max-width: 860px) { .p2d[data-tool=fill] .p2d-views { bottom: 168px; } }
/* V49.62: Handy-Hinweis „besser Tablet oder PC“ */
.phone-hint { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 18px; background: rgba(27, 11, 31, .62); backdrop-filter: blur(4px); animation: phIn .25s ease-out; }
.ph-card { width: 100%; max-width: 380px; background: #fff; border-radius: 22px; padding: 22px 20px 18px; text-align: center; box-shadow: 0 24px 60px rgba(27, 11, 31, .4); color: var(--dn-deep, #3b0f45); }
.ph-ico { font-size: 34px; line-height: 1; margin-bottom: 8px; }
.ph-card h2 { margin: 0 0 8px; font-size: 21px; }
.ph-card p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; color: #4b3a50; }
.ph-card p b { color: var(--dn-deep, #3b0f45); }
.ph-card .ph-small { font-size: 13.5px; color: #7a6a7f; margin-bottom: 14px; }
.ph-btns { display: grid; gap: 10px; }
.ph-btns .btn { width: 100%; min-height: 48px; justify-content: center; font-size: 15px; }
body.ph-open { overflow: hidden; }
@keyframes phIn { from { opacity: 0; } to { opacity: 1; } }
body.ph-open > .vh { display: none !important; }
/* V49.63: Druckdatei aus der Designer-Vorlage im Schritt Bestellen */
.dv-pick { margin: 12px 0; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed #e3c3d9; background: #fff8fc; }
.dv-pick.is-on { border-style: solid; border-color: #cc1d77; box-shadow: 0 0 0 3px rgba(204, 29, 119, .12); }
.dv-pick select { width: 100%; margin: 6px 0 4px; }
.dv-pick .note { margin: 4px 0 0; font-size: 12.5px; }
/* V49.65: Design verbessern – gut sichtbar */
.ai-fix { border: 2px solid #cc1d77; border-radius: 16px; padding: 14px; background: linear-gradient(180deg, #fff4fa, #fff); box-shadow: 0 6px 20px rgba(204, 29, 119, .12); margin-bottom: 14px; }
.ai-fix .variants-label { font-size: 17px; font-weight: 900; color: var(--dn-deep, #3b0f45); }
.ai-fix-intro { font-size: 14px !important; line-height: 1.5; color: #4b3a50 !important; }
.ai-fix-intro strong { color: #cc1d77; }
.ai-fix-ex { list-style: none; padding: 0; margin: 4px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-fix-ex li { padding: 6px 11px; border-radius: 99px; background: #fff; border: 1.5px solid #eadcef; font-size: 13px; color: #7a146f; cursor: pointer; }
.ai-fix-ex li:hover { border-color: #cc1d77; }
.ai-fix-zone { margin: 4px 0 8px; }
.ai-fix-zone summary { cursor: pointer; font-size: 13px; font-weight: 700; color: #7a146f; padding: 4px 0; }
.ai-fix-btns .btn-go { min-height: 46px; padding-left: 22px; padding-right: 22px; font-size: 15px; }
.ai-fix-tip { font-size: 12px !important; margin-top: 6px; }
.ai-fix.flash { animation: fixFlash 1.4s ease-out; }
@keyframes fixFlash { 0% { box-shadow: 0 0 0 0 rgba(204,29,119,.55); } 100% { box-shadow: 0 0 0 16px rgba(204,29,119,0); } }
.idea-improve { display: grid; gap: 6px; padding: 12px 14px; margin: 4px 0 12px; border-radius: 14px; background: #fff4fa; border: 1.5px solid #f3c6dc; font-size: 13.5px; line-height: 1.45; color: #4b3a50; }
.idea-improve[hidden] { display: none; }
.idea-improve strong { color: #3b0f45; font-size: 14.5px; }
.idea-improve .btn { justify-self: start; }
.stage-improve { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; border: 0; border-radius: 99px; padding: 11px 20px; background: linear-gradient(135deg, #cc1d77, #ef4b6e); color: #fff; font: 800 15px system-ui, sans-serif; box-shadow: 0 8px 22px rgba(204, 29, 119, .4); cursor: pointer; white-space: nowrap; animation: impIn .4s ease-out; }
.stage-improve[hidden] { display: none; }
@keyframes impIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
/* Ladeanzeige läuft bis zum fertigen Design – mit Vorschau klein am unteren Rand */
#stageWork.is-preview { place-items: end center !important; padding-bottom: 12px !important; background: none !important; }
#stageWork.is-preview .stage-work-inner { transform: scale(.72); transform-origin: bottom center; opacity: .96; margin: 0 auto !important; }
.stage-improve { bottom: 62px; }
body:has(#stageWork:not([hidden])) #stageDraft { display: none !important; }
#stageWork .stage-work-inner { margin-left: auto; margin-right: auto; }
/* V49.68: VERM-Logo fest */
.brand-fixed{margin:.2rem 0 .6rem;padding:.55rem .75rem;border-radius:10px;background:#f6eef6;color:#4a1a4a;font-size:.86rem;line-height:1.4}
/* V49.73: klare Wahl „Design verbessern“ / „Neues Design“ + große Versuchs-Anzeige */
#srcIdea .is-folded{display:none!important}
.idea-choice{margin:.2rem 0 1rem}
.idea-choice .ic-q{margin:0 0 .5rem;font-weight:800;color:#3b0f45;font-size:1.02rem}
.idea-choice .ic-row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.idea-choice .ic-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;text-align:left;padding:.8rem .85rem;border-radius:14px;border:2px solid #e6dbe8;background:#fff;cursor:pointer;font:inherit;color:#2a1233;transition:border-color .15s,box-shadow .15s}
.idea-choice .ic-card .ic-ico{font-size:1.35rem;line-height:1}
.idea-choice .ic-card strong{font-size:.98rem}
.idea-choice .ic-card small{color:#6b5a70;font-size:.8rem;line-height:1.35}
.idea-choice .ic-card.is-on{border-color:#e2007a;box-shadow:0 0 0 3px rgba(226,0,122,.15);background:#fff6fb}
.idea-choice .ic-card.is-on::after{content:"✓";position:absolute;top:-9px;right:-9px;width:24px;height:24px;border-radius:50%;background:#e2007a;color:#fff;font-weight:800;font-size:.85rem;display:grid;place-items:center}
.tries-big{display:flex;align-items:center;gap:.75rem;margin:.75rem 0 .2rem;padding:.6rem .8rem;border-radius:12px;background:#f6eef6;color:#3b0f45}
.tries-big .tb-n{font-size:1.9rem;font-weight:900;line-height:1;color:#e2007a;white-space:nowrap}
.tries-big .tb-n small{font-size:1rem;color:#7a5a80}
.tries-big .tb-t{display:flex;flex-direction:column;gap:.2rem;font-size:.86rem}
.tries-big .tb-t small{color:#6b5a70;font-size:.76rem;line-height:1.3}
.tries-big .tb-dots{display:flex;gap:4px}
.tries-big .tb-dots i{width:18px;height:6px;border-radius:3px;background:#dccfe0}
.tries-big .tb-dots i.is-used{background:#b9a6be}
.tries-big .tb-dots i.is-next{background:#e2007a}
.tries-big[data-kind=last]{background:#fff4e5}
.tries-big[data-kind=none]{background:#fdecec}
.tries-big[data-kind=none] .tb-n{color:#b42318}
#ideaGo .tries-big{margin-top:0;margin-bottom:.6rem}
@media (max-width:420px){.idea-choice .ic-card{padding:.7rem .65rem}.idea-choice .ic-card small{font-size:.76rem}}
/* V49.77: Mustergröße im Logo – Regler + Prozentfeld */
.br-patscale{margin:.5rem 0}
.br-patscale .bps-row{display:flex;align-items:center;gap:.6rem}
.br-patscale input[type=range]{flex:1;min-width:0}
.br-patscale .bps-num{display:flex;align-items:center;gap:.25rem;font-weight:700}
.br-patscale .bps-num input{width:5.2rem;padding:.35rem .45rem;border:1px solid #d9cbe0;border-radius:8px;font:inherit;text-align:right}
.pct-num{display:inline-flex;align-items:center;gap:.2rem;font-weight:700;margin-left:.4rem;flex:none}
.pct-num input{width:4.9rem;padding:.3rem .4rem;border:1px solid #d9cbe0;border-radius:8px;font:inherit;text-align:right;background:#fff}
output.pct-hide{display:none}
.range:has(.pct-num){grid-template-columns:minmax(0,1fr) auto}
.range .pct-num{margin-left:0;grid-column:auto}
.pct-num input{width:4.4rem}
/* V49.95: Handy – „Design verbessern“ nicht unter den Schlicht…Extrem-Knöpfen */
@media (max-width: 860px) { #stage:has(.stage-design:not([hidden])) .stage-improve { bottom: 98px; } }
body:has(#stageWork:not([hidden])) .stage-design { display: none !important; }   /* V49.95: Ladeanzeige nicht überdecken */
/* V49.96: „Look groß ansehen“-Knopf nach dem Antippen eines Looks */
.look-zoom { position: fixed; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; border: 0; border-radius: 999px; padding: 12px 20px; min-height: 46px; background: #3b0f45; color: #fff; font: 800 15px/1.2 inherit; box-shadow: 0 10px 30px rgba(59,15,69,.35); max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.look-zoom.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
@media (min-width: 861px) { .look-zoom { bottom: 32px; } }
@media (pointer: coarse) { .look-pick { overflow: visible; max-height: none; overscroll-behavior: auto; } }
/* V49.97: Desktop – „Design verbessern“ über den Ansichts-Knöpfen (nicht darüber gelegt) */
@media (min-width: 861px) { .stage-improve { bottom: 116px; } }

/* V50.11: Eigenes Design 1:1 – Bestätigung */
.ref-own { border-color: #e8c35a; background: #fff9e6; }
.own-dlg { border: 0; border-radius: 22px; padding: 0; max-width: 520px; width: calc(100% - 28px); box-shadow: 0 30px 80px #0005; }
.own-dlg::backdrop { background: #1b0a2499; backdrop-filter: blur(3px); }
.own-box { padding: 24px 24px 20px; display: grid; gap: 12px; }
.own-box h2 { margin: 0; font-size: 21px; color: var(--dn-ink, #2a0b35); }
.own-box p { margin: 0; }
.own-box .check { align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff4d6; border: 2px solid #f0b400; }
.own-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.own-btns .btn[disabled] { opacity: .45; cursor: not-allowed; }
/* V50.21: Einstellungen rechts größer und besser lesbar (PC / iPad quer) – Handy unverändert */
@media (min-width: 1101px) { :root { --panel-w: clamp(540px, 48vw, 880px); } .studio > .panel { zoom: 1.1; } }
@media (min-width: 861px) and (max-width: 1100px) { :root { --panel-w: clamp(440px, 52vw, 560px); } .studio > .panel { zoom: 1.06; } }
/* V50.21: Laufband oben sichtbar → Konfigurator entsprechend kürzer, damit die Leiste unten (Preis / Weiter) ganz im Bild bleibt */
@media (min-width: 861px) { body:has(#marqueeBar:not([hidden])) .studio { height: calc(100svh - var(--top-h) - 37px); } }
/* V50.21: Schritt-Erklärung auf allen Geräten nur auf „?“ – kompakter Kopf unter dem Schritt-Balken */
body.guided .wiz-head .wiz-help { display: none; }
body.guided .wiz-head.show-help .wiz-help { display: block; margin-top: 6px; font-size: 14px; }
.wiz-head .wiz-q { display: inline; font-size: 22px; }
.wiz-qhelp { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: 8px; vertical-align: 3px; border-radius: 50%; border: 0; background: var(--dn-soft, #f6e9f3); color: var(--dn-mag, #b5127f); font-weight: 800; font-size: 14px; cursor: pointer; }
.wiz-head.show-help .wiz-qhelp { background: var(--dn-mag, #b5127f); color: #fff; }
@media (max-width: 860px) { .wiz-head .wiz-q { font-size: 20px; } }
/* V50.23: Versand / Abholung gleich oben im Warenkorb als zwei große Knöpfe */
.ship-box { margin: 18px 0 16px; }
.ship-box h3 { margin: 0 0 8px; font-size: 17px; }
.ship-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship-opt { position: relative; display: block; cursor: pointer; }
.ship-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ship-opt span { display: grid; gap: 3px; height: 100%; box-sizing: border-box; padding: 12px 14px; border: 2px solid var(--dn-line, #e6d6e4); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.ship-opt b { font-size: 15.5px; }
.ship-opt small { font-size: 12.5px; color: var(--dn-muted, #6b5a6a); line-height: 1.3; }
.ship-opt input:checked + span { border-color: var(--dn-mag, #b5127f); background: #fbeef6; box-shadow: 0 0 0 3px rgba(181,18,127,.12); }
.ship-opt input:focus-visible + span { outline: 3px solid var(--dn-mag, #b5127f); outline-offset: 2px; }
.ship-box .ship-pick-note { margin: 8px 0 0; }
