/* Eventall Mietshop – Gestaltung im Eventall-Design (Farbwelt 1: Pink → Flieder → Babyblau). */
:root {
  --ms-ink: #0a0b10; --ms-ink-2: #14161f; --ms-paper: #f4f4f7; --ms-white: #fff;
  --ms-text: #14161d; --ms-muted: #5a5f6e; --ms-light: #f3f2f7; --ms-muted-light: #b3b7c2;
  --ms-line: rgba(20, 22, 29, 0.09); --ms-line-light: rgba(255, 255, 255, 0.12);
  --ms-grad: var(--ea-grad, linear-gradient(100deg, #ff6fae 0%, #b9a4ff 50%, #7fd3ff 100%));
  --ms-dark-grad: var(--ea-dark-grad, #0b0b12);
  --ms-font: var(--ea-font, "Plus Jakarta Sans", system-ui, sans-serif);
  --ms-display: var(--ea-display, "Archivo", system-ui, sans-serif);
  --ms-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ms-r: 10px;
}

/* Volle Breite auf den Mietshop-Seiten (Astra-Container neutralisieren) */
html body.ea-mietshop.ea-mietshop #content, html body.ea-mietshop.woocommerce-page #content { padding: 0 !important; margin: 0 !important; }
body.ea-mietshop #content > .ast-container { max-width: none !important; padding: 0 !important; display: block !important; }
body.ea-mietshop #primary { margin: 0 !important; padding: 0 !important; width: 100% !important; }

.ms { font-family: var(--ms-font); color: var(--ms-text); background: var(--ms-paper); }
.ms *, .ms *::before, .ms *::after { box-sizing: border-box; }
.ms-wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(16px, 5vw, 72px); padding-right: clamp(16px, 5vw, 72px); }
.ms-h1 { font-family: var(--ms-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.025em; margin: 14px 0 0; text-wrap: balance; color: inherit; }
.ms-h1-item { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.ms-h2 { font-family: var(--ms-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: inherit; text-wrap: balance; }
.ms-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ms-muted); }
.ms-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--ms-grad); }
.ms-lead { max-width: 60ch; margin: 18px 0 0; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; }
.ms-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.ms-meta { color: var(--ms-muted); font-size: 0.9rem; }

/* Knöpfe */
.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 6px; border: 1px solid transparent; font: 600 15px/1 var(--ms-font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ms-ease), background-position 500ms var(--ms-ease), background-color 200ms ease, color 200ms ease; }
.ms-btn:active { transform: scale(0.97); }
.ms-btn-grad { background: var(--ms-grad); background-size: 160% 100%; background-position: 0 50%; color: var(--ms-ink); }
.ms-btn-ink { background: var(--ms-ink); color: #fff; }
.ms-btn-line { border-color: rgba(10, 11, 16, 0.5); color: var(--ms-ink); background: transparent; }
.ms-btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .ms-btn-grad:hover { background-position: 100% 50%; }
  .ms-btn-ink:hover { background: #22252f; color: #fff; }
  .ms-btn-line:hover { background: var(--ms-ink); color: #fff; }
}
.ms a:focus-visible, .ms button:focus-visible, .ms input:focus-visible, .ms-drawer :focus-visible { outline: 2px solid var(--ms-ink); outline-offset: 2px; }

/* Hero */
.ms-hero { background: var(--ms-dark-grad); color: var(--ms-light); padding-top: clamp(120px, 14vw, 170px); padding-bottom: clamp(48px, 7vw, 88px); }
.ms-hero .ms-eyebrow { color: var(--ms-muted-light); }
.ms-hero .ms-lead { color: var(--ms-muted-light); }
.ms-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--ms-muted-light); margin-bottom: 18px; }
.ms-crumbs a { color: inherit; text-decoration: none; }
.ms-crumbs a:hover { color: #fff; text-decoration: underline; }
.ms-item .ms-crumbs { color: var(--ms-muted); }
.ms-item .ms-crumbs a:hover { color: var(--ms-ink); }
.ms-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; color: var(--ms-muted-light); font-size: 0.9rem; }
.ms-trust li { display: inline-flex; align-items: center; gap: 8px; }
.ms-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ms-grad); }

/* Suche */
.ms-search { position: relative; max-width: 640px; }
.ms-search-big { margin-top: 30px; }
.ms-search > svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--ms-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.ms-search input { width: 100%; height: 54px; padding: 0 18px 0 48px; border-radius: 8px; border: 1px solid var(--ms-line); background: #fff; color: var(--ms-text); font: 500 16px var(--ms-font); box-shadow: 0 18px 40px -26px rgba(10, 11, 16, 0.5); }
.ms-search-big input { height: 62px; font-size: 17px; border: 0; }
.ms-search input::placeholder { color: #8a8f9c; }
.ms-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ms-text); border-radius: 10px; border: 1px solid var(--ms-line); box-shadow: 0 30px 60px -24px rgba(10, 11, 16, 0.45); overflow: hidden; }
.ms-results ul { list-style: none; margin: 0; padding: 6px; }
.ms-results a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.ms-results a:hover, .ms-results a:focus { background: var(--ms-paper); outline: none; }
.ms-results img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: var(--ms-paper); flex: 0 0 auto; }
.ms-results span { display: grid; min-width: 0; }
.ms-results b { font-weight: 600; font-size: 0.95rem; }
.ms-results small { color: var(--ms-muted); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-noresult { margin: 0; padding: 16px; font-size: 0.92rem; color: var(--ms-muted); }
.ms-noresult a { color: var(--ms-ink); font-weight: 600; }

/* Kategorien */
.ms-cats, .ms-all, .ms-list, .ms-item { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.ms-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ms-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 18px; border-radius: var(--ms-r); overflow: hidden; background: var(--ms-ink); color: #fff; text-decoration: none; isolation: isolate; }
.ms-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ms-ease); }
.ms-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 16, 0.05) 30%, rgba(10, 11, 16, 0.85) 100%); }
.ms-cat::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ms-grad); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ms-ease); z-index: 1; }
.ms-cat-name { font-family: var(--ms-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.ms-cat-meta { font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }
@media (hover: hover) and (pointer: fine) {
  .ms-cat:hover img { transform: scale(1.05); }
  .ms-cat:hover::before { transform: scaleX(1); }
}

/* So funktioniert's */
.ms-how { background: #fff; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.ms-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); margin: 30px 0 0; padding: 0; }
.ms-steps li { counter-increment: s; display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--ms-line); }
.ms-steps li::before { content: counter(s); font-family: var(--ms-display); font-weight: 800; font-size: 2.4rem; line-height: 1; background: var(--ms-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: saturate(1.4) brightness(0.85); }
.ms-steps b { font-family: var(--ms-display); font-size: 1.15rem; }
.ms-steps span { color: var(--ms-muted); line-height: 1.55; }
@media (max-width: 760px) { .ms-steps { grid-template-columns: 1fr; } }

/* Filter-Chips */
.ms-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ms-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ms-line); background: #fff; color: var(--ms-text); font: 500 14px var(--ms-font); text-decoration: none; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.ms-chip span { color: var(--ms-muted); font-size: 0.8rem; }
.ms-chip.is-on, .ms-chip:hover { background: var(--ms-ink); color: #fff; border-color: var(--ms-ink); }
.ms-chip.is-on span, .ms-chip:hover span { color: rgba(255, 255, 255, 0.7); }

/* Artikelkarten */
.ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ms-grid-item[hidden] { display: none; }
.ms-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--ms-r); border: 1px solid var(--ms-line); overflow: hidden; transition: transform 260ms var(--ms-ease), box-shadow 260ms var(--ms-ease); height: 100%; }
.ms-card-img { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 14px; }
.ms-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 600ms var(--ms-ease); }
.ms-card-body { display: grid; gap: 6px; padding: 14px 16px 64px; }
.ms-card-cat { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ms-muted); }
.ms-card-title { font-family: var(--ms-font); font-weight: 600; font-size: 1rem; line-height: 1.35; margin: 0; }
.ms-card-title a { color: inherit; text-decoration: none; }
.ms-card-title a::after { content: ""; position: absolute; inset: 0; }
.ms-price { font-size: 0.95rem; color: var(--ms-text); }
.ms-price b { font-weight: 700; }
.ms-price small { color: var(--ms-muted); font-size: 0.78rem; }
.ms-price-auf-anfrage { color: var(--ms-muted); font-size: 0.9rem; }
.ms-add { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 0; border-radius: 6px; background: var(--ms-ink); color: #fff; font: 600 14px var(--ms-font); cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ms-ease); }
.ms-add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ms-add:active { transform: scale(0.97); }
.ms-add.is-busy { opacity: 0.7; }
.ms-add.is-done { background: var(--ms-grad); color: var(--ms-ink); }
@media (hover: hover) and (pointer: fine) {
  .ms-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(20, 32, 48, 0.4); }
  .ms-card:hover .ms-card-img img { transform: scale(1.04); }
  .ms-add:hover { background: #22252f; }
}

/* Kategorie-Layout mit Seitenleiste */
.ms-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ms-side { position: sticky; top: 100px; background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-r); padding: 14px; }
.ms-side-all { display: block; padding: 8px 10px; margin-bottom: 6px; color: var(--ms-muted); text-decoration: none; font-size: 0.88rem; }
.ms-side ul { list-style: none; margin: 0; padding: 0; }
.ms-side ul ul { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 2px solid var(--ms-line); }
.ms-side a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 6px; color: var(--ms-text); text-decoration: none; font-size: 0.94rem; }
.ms-side a span { color: var(--ms-muted); font-size: 0.8rem; }
.ms-side a:hover { background: var(--ms-paper); }
.ms-side a.is-active { background: var(--ms-ink); color: #fff; }
.ms-side a.is-active span { color: rgba(255, 255, 255, 0.7); }
.ms-toolbar { margin-bottom: 18px; }
.ms-toolbar .ms-search { max-width: none; }
@media (max-width: 900px) {
  .ms-layout { grid-template-columns: 1fr; }
  .ms-side { position: static; }
}

/* Artikelseite */
.ms-item { background: #fff; padding-top: clamp(110px, 12vw, 150px); }
.ms-item-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ms-gallery-main { aspect-ratio: 1 / 1; background: var(--ms-paper); border-radius: var(--ms-r); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px); }
.ms-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.ms-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.ms-thumb { width: 72px; height: 72px; padding: 6px; border: 1px solid var(--ms-line); border-radius: 8px; background: var(--ms-paper); cursor: pointer; }
.ms-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ms-thumb.is-on { border-color: var(--ms-ink); }
.ms-buy { position: sticky; top: 100px; }
.ms-sku { margin: 8px 0 0; color: var(--ms-muted); font-size: 0.86rem; }
.ms-buy-price { margin-top: 18px; padding: 16px 0; border-top: 1px solid var(--ms-line); border-bottom: 1px solid var(--ms-line); }
.ms-buy-price .ms-price b { font-size: 1.6rem; font-family: var(--ms-display); }
.ms-short { margin-top: 16px; color: var(--ms-muted); line-height: 1.6; }
.ms-buy-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.ms-buy-row .ms-btn { flex: 1 1 200px; }
.ms-qty { display: inline-flex; align-items: center; border: 1px solid var(--ms-line); border-radius: 6px; background: #fff; overflow: hidden; }
.ms-qty button { width: 44px; height: 48px; border: 0; background: transparent; font: 600 18px var(--ms-font); color: var(--ms-ink); cursor: pointer; }
.ms-qty button:hover { background: var(--ms-paper); }
.ms-qty input { width: 52px; height: 48px; border: 0; text-align: center; font: 600 16px var(--ms-font); color: var(--ms-ink); -moz-appearance: textfield; }
.ms-qty input::-webkit-outer-spin-button, .ms-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ms-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: var(--ms-muted); font-size: 0.92rem; }
.ms-checks li { display: flex; gap: 10px; align-items: baseline; }
.ms-checks li::before { content: "✓"; font-weight: 700; color: var(--ms-ink); }
.ms-desc { margin-top: clamp(40px, 6vw, 72px); max-width: 760px; }
.ms-prose { margin-top: 16px; color: var(--ms-text); line-height: 1.7; }
.ms-related { margin-top: clamp(40px, 6vw, 72px); }
.ms-related .ms-h2 { margin-bottom: 22px; }
@media (max-width: 900px) {
  .ms-item-grid { grid-template-columns: 1fr; }
  .ms-buy { position: static; }
}

/* Abschluss */
.ms-cta { background: var(--ms-grad); color: var(--ms-ink); padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.ms-cta .ms-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ms-cta p { margin: 10px 0 0; max-width: 52ch; }
.ms-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Zähler am Einkaufswagen-Icon */
a.ms-has-badge { position: relative; }
.ms-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: var(--ms-ink); font: 700 11px/18px var(--ms-font); text-align: center; pointer-events: none; }
.ms-badge[hidden] { display: none; }

/* Anfragekorb-Fenster */
html.ms-noscroll { overflow: hidden; }
.ms-drawer { position: fixed; inset: 0; z-index: 100000; font-family: var(--ms-font); color: var(--ms-text); }
.ms-drawer[hidden] { display: none; }
.ms-drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 11, 16, 0.5); opacity: 0; transition: opacity 320ms ease; }
.ms-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(10, 11, 16, 0.5); transform: translateX(100%); transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.ms-drawer.is-open .ms-drawer-backdrop { opacity: 1; }
.ms-drawer.is-open .ms-drawer-panel { transform: none; }
.ms-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 10px; border-top: 4px solid transparent; border-image: var(--ms-grad) 1; }
.ms-drawer-head h2 { margin: 0; font-family: var(--ms-display); font-size: 1.4rem; font-weight: 800; }
.ms-drawer-x { width: 40px; height: 40px; border: 0; border-radius: 6px; background: var(--ms-paper); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ms-ink); }
.ms-drawer-note { margin: 0 20px 12px; font-size: 0.86rem; color: var(--ms-muted); }
.ms-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px 14px; border-bottom: 1px solid var(--ms-line); }
.ms-dates label { display: grid; gap: 4px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ms-muted); }
.ms-dates input { height: 44px; padding: 0 10px; border: 1px solid var(--ms-line); border-radius: 6px; font: 500 15px var(--ms-font); color: var(--ms-ink); background: #fff; width: 100%; }
.ms-drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 20px; transition: opacity 200ms ease; }
.ms-drawer.is-busy .ms-drawer-body, .ms-drawer.is-busy .ms-total b { opacity: 0.45; }
.ms-lines { list-style: none; margin: 0; padding: 0; }
.ms-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--ms-line); }
.ms-line img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--ms-paper); }
.ms-line-main a { color: var(--ms-text); text-decoration: none; font-weight: 600; font-size: 0.93rem; line-height: 1.35; }
.ms-line-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.ms-qty-sm button { width: 34px; height: 34px; font-size: 16px; }
.ms-qty-sm span { min-width: 28px; text-align: center; font-weight: 600; }
.ms-line-price { font-size: 0.93rem; }
.ms-line-x { width: 32px; height: 32px; border: 0; background: transparent; color: var(--ms-muted); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 6px; }
.ms-line-x:hover { background: var(--ms-paper); color: var(--ms-ink); }
.ms-empty { padding: 30px 0; display: grid; gap: 10px; justify-items: start; }
.ms-empty p { margin: 0; color: var(--ms-muted); }
.ms-empty b { color: var(--ms-ink); }
.ms-drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--ms-line); display: grid; gap: 6px; }
.ms-total { display: flex; justify-content: space-between; align-items: baseline; }
.ms-total span { color: var(--ms-muted); }
.ms-total b { font-family: var(--ms-display); font-size: 1.35rem; transition: opacity 200ms ease; }
.ms-total-note { color: var(--ms-muted); font-size: 0.78rem; margin-bottom: 8px; }
.ms-btn.is-disabled { opacity: 0.45; pointer-events: none; }
.ms-drawer-more { text-align: center; color: var(--ms-muted); font-size: 0.88rem; padding: 6px; }

/* Hinweis */
.ms-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 100001; max-width: calc(100% - 32px); transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 8px; background: var(--ms-ink); color: #fff; font: 500 14px var(--ms-font); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); transition: opacity 260ms ease, transform 260ms var(--ms-ease); }
.ms-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ms-toast[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ms *, .ms-drawer *, .ms-toast { transition: none !important; }
}

/* Theme-Überschriftsfarben auf den Mietshop-Seiten nicht übernehmen */
.ms .ms-h1, .ms .ms-h2, .ms h1, .ms h2, .ms h3 { color: inherit !important; }
.ms-hero { color: var(--ms-light) !important; }

/* Kasse: Mietzeitraum */
.ms-checkout-period { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 24px; padding: 14px 18px; border-radius: 10px; background: #fff; border: 1px solid rgba(20,22,29,0.09); border-left: 4px solid transparent; border-image: var(--ms-grad) 1; font-family: var(--ms-font); }
.ms-checkout-period span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ms-muted); }
.ms-checkout-period b { color: var(--ms-ink); }
.ms-checkout-period a { color: var(--ms-ink); font-size: 0.9rem; }

/* Handy: zwei Spalten für Kacheln und Artikel */
@media (max-width: 600px) {
  .ms-cat-grid, .ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ms-cat { min-height: 150px; padding: 12px; }
  .ms-cat-name { font-size: 1rem; }
  .ms-cat-meta { font-size: 0.75rem; }
  .ms-card-img { padding: 8px; }
  .ms-card-body { padding: 10px 10px 58px; }
  .ms-card-title { font-size: 0.88rem; }
  .ms-price small { display: block; }
  .ms-add { left: 10px; right: 10px; bottom: 10px; height: 38px; font-size: 13px; }
  .ms-add span { display: inline; }
  .ms-hero { padding-top: 96px; }
  .ms-item { padding-top: 84px; }
}

/* Handy: Einkaufswagen (Anfragekorb) neben dem Menü-Symbol zeigen, Brief-Icon bleibt ausgeblendet */
@media (max-width: 1024px) {
  html body .ea-header .e-5482e7f1-d0cc { display: flex !important; align-items: center; gap: 0; order: 2; margin-left: auto; }
  html body .ea-header .e-5482e7f1-d0cc .btn-primary { display: none !important; }
  html body .ea-header .elementor-widget-nav-menu { order: 3; margin-left: 4px !important; }
}

.ms-drawer .ms-drawer-head h2 { color: var(--ms-ink) !important; }

/* =================== Version 1.1: SEL-Richtung =================== */
/* Zweite Leiste unter der Kopfzeile */
.ms-subbar { position: relative; z-index: 20; margin-top: 66px; background: #111218; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
@media (max-width: 1024px) { .ms-subbar { margin-top: 52px; } }
.ms-subbar-in { display: flex; align-items: stretch; gap: 8px; min-height: 52px; }
.ms-allcats { position: relative; display: flex; }
.ms-allcats-btn { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; border: 0; background: rgba(255, 255, 255, 0.06); color: #fff; font: 700 15px var(--ms-font); cursor: pointer; }
.ms-allcats-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ms-allcats-btn .ms-caret { width: 16px; height: 16px; transition: transform 200ms ease; }
.ms-allcats.is-open .ms-caret { transform: rotate(180deg); }
.ms-allcats-btn:hover, .ms-allcats.is-open .ms-allcats-btn { background: rgba(255, 255, 255, 0.12); }
.ms-allcats-panel { position: absolute; top: 100%; left: 0; width: min(920px, calc(100vw - 32px)); max-height: min(70vh, 640px); overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 28px; padding: 24px; background: #fff; color: var(--ms-text); border-radius: 0 0 12px 12px; box-shadow: 0 40px 80px -30px rgba(10, 11, 16, 0.6); }
.ms-allcats-panel[hidden] { display: none; }
.ms-allcats-top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 2px solid transparent; border-image: var(--ms-grad) 1; color: var(--ms-ink); font-weight: 700; text-decoration: none; }
.ms-allcats-top span { color: var(--ms-muted); font-weight: 500; font-size: 0.85rem; }
.ms-allcats-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ms-allcats-col li a { display: block; padding: 5px 0; color: var(--ms-muted); text-decoration: none; font-size: 0.92rem; }
.ms-allcats-col a:hover { color: var(--ms-ink); }
.ms-quick { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.ms-quick::-webkit-scrollbar { display: none; }
.ms-quick a { display: block; padding: 8px 14px; color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; border-radius: 6px; }
.ms-quick a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.ms-subbar-korb { margin-left: auto; align-self: center; padding: 8px 14px; color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 15px; white-space: nowrap; border-radius: 6px; }
.ms-subbar-korb:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.ms-subbar .ms-badge { position: static; display: inline-block; margin-left: 6px; vertical-align: 1px; background: var(--ms-grad); }
@media (max-width: 760px) {
  .ms-quick, .ms-subbar-korb { display: none; }
  .ms-allcats, .ms-allcats-btn { width: 100%; }
  .ms-allcats-btn { justify-content: flex-start; background: transparent; padding: 0 2px; }
  .ms-allcats-btn .ms-caret { margin-left: auto; }
  .ms-allcats-panel { position: fixed; top: auto; left: 12px; right: 12px; width: auto; max-height: 70vh; border-radius: 12px; margin-top: 4px; }
}

/* Abstände: Leiste übernimmt den Platz unter der Kopfzeile */
.ms-hero { padding-top: clamp(48px, 6vw, 84px); }
.ms-item { padding-top: clamp(28px, 4vw, 48px); }
@media (max-width: 600px) { .ms-hero { padding-top: 40px; } .ms-item { padding-top: 24px; } }

/* Hero der Übersicht: Bühnenbild/Video, dunkel abgedeckt */
.ms-hero-home { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); background: #0a0b10; }
.ms-hero-media { position: absolute; inset: 0; z-index: -1; }
.ms-hero-media img, .ms-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-hero-video { opacity: 0; transition: opacity 900ms var(--ms-ease); }
.ms-hero-video.is-playing { opacity: 1; }
.ms-hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 11, 16, 0.94) 0%, rgba(10, 11, 16, 0.78) 42%, rgba(10, 11, 16, 0.35) 100%),
  linear-gradient(180deg, rgba(10, 11, 16, 0) 60%, rgba(10, 11, 16, 0.65) 100%); }
.ms-hero-content { position: relative; }
.ms-hero-home .ms-eyebrow { color: #fff; }
.ms-h1-home { font-size: clamp(2.7rem, 6.6vw, 5.8rem); line-height: 0.98; margin-top: 18px; }
.ms-h1-home span { display: block; }
.ms .ms-grad-text { background: var(--ms-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.ms-hero-home .ms-lead { color: rgba(255, 255, 255, 0.86); max-width: 58ch; }

/* Suchfeld als Pille mit Knopf */
.ms-search-big { display: flex; align-items: center; max-width: 780px; margin-top: 34px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ms-search-big > svg { left: 26px; }
.ms-search-big input { flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 16px 0 52px; border: 0; border-radius: 999px; box-shadow: none; background: transparent; font-size: 17px; }
.ms-search-big input:focus { outline: none; }
.ms-search-big:focus-within { box-shadow: 0 0 0 6px rgba(185, 164, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ms-search-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ms-grad); background-size: 160% 100%; color: var(--ms-ink); font: 700 16px var(--ms-font); cursor: pointer; transition: background-position 500ms var(--ms-ease), transform 160ms var(--ms-ease); }
.ms-search-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ms-search-btn:hover { background-position: 100% 50%; }
.ms-search-btn:active { transform: scale(0.97); }
.ms-search-big .ms-results { top: calc(100% + 10px); border-radius: 14px; }
@media (max-width: 600px) {
  .ms-search-big input { height: 50px; font-size: 16px; padding-left: 44px; }
  .ms-search-big > svg { left: 20px; }
  .ms-search-btn { height: 46px; padding: 0 16px; }
  .ms-search-btn span { display: none; }
}

/* Suchseite ohne Treffer */
.ms-empty-search { background: #fff; border-radius: var(--ms-r); border: 1px solid var(--ms-line); padding: clamp(24px, 4vw, 48px); display: grid; gap: 12px; }
.ms-empty-search p { margin: 0; color: var(--ms-muted); }
.ms-empty-search .ms-btn { margin-right: 8px; margin-top: 6px; }

/* =================== Schritte-Leiste (lebendig) =================== */
.ms-flow { position: relative; overflow: hidden; background: #0d0e14; color: #fff; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); isolation: isolate; }
.ms-flow::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(40% 120% at 10% 0%, rgba(255, 111, 174, 0.14) 0%, transparent 60%),
  radial-gradient(40% 120% at 90% 100%, rgba(127, 211, 255, 0.14) 0%, transparent 60%); }
.ms-flow-steps { --line-top: 36px; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
/* Verbindungslinie: Spur + Verlauf, der sich beim Hineinscrollen zeichnet */
.ms-flow-steps::before, .ms-flow-steps::after { content: ""; position: absolute; top: var(--line-top); left: 36px; right: calc(33.33% - 36px); height: 2px; border-radius: 2px; }
.ms-flow-steps::before { background: rgba(255, 255, 255, 0.10); }
.ms-flow-steps::after { background: var(--ms-grad); transform: scaleX(0); transform-origin: left; transition: transform 1600ms cubic-bezier(0.65, 0, 0.35, 1) 200ms; box-shadow: 0 0 18px rgba(185, 164, 255, 0.55); }
.ms-flow-steps.is-on::after { transform: scaleX(1); }
.ms-flow-step { position: relative; z-index: 1; display: grid; gap: 10px; padding: 0 8px 8px 0; transition: transform 300ms var(--ms-ease); }
.ms-flow-num { position: absolute; z-index: -1; right: 0; top: -14px; font-family: var(--ms-display); font-weight: 800; font-size: clamp(4.5rem, 8vw, 7rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.10); transition: -webkit-text-stroke-color 600ms ease; user-select: none; }
.ms-flow-icon { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(#15161f, #15161f) padding-box, linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)) border-box; border: 2px solid transparent;
  transition: box-shadow 700ms ease, transform 500ms var(--ms-ease); }
.ms-flow-icon::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; background: var(--ms-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 600ms ease; }
.ms-flow-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ms-flow-icon svg * { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1200ms cubic-bezier(0.65, 0, 0.35, 1); }
.ms-flow-step h3 { margin: 10px 0 0; font-family: var(--ms-display); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: #fff !important; }
.ms-flow-step p { margin: 0; color: rgba(255, 255, 255, 0.68); line-height: 1.6; max-width: 34ch; }
.ms-flow-step h3, .ms-flow-step p { opacity: 0.35; transform: translateY(10px); transition: opacity 700ms ease, transform 800ms var(--ms-ease); }
/* Schritte leuchten nacheinander auf */
.ms-flow-steps.is-on .ms-flow-step .ms-flow-icon::before { opacity: 1; transition-delay: calc(var(--i) * 550ms + 250ms); }
.ms-flow-steps.is-on .ms-flow-step .ms-flow-icon { box-shadow: 0 0 0 6px rgba(185, 164, 255, 0.08), 0 0 38px rgba(255, 111, 174, 0.28), 0 0 60px rgba(127, 211, 255, 0.18); transition-delay: calc(var(--i) * 550ms + 250ms); }
.ms-flow-steps.is-on .ms-flow-step .ms-flow-icon svg * { stroke-dashoffset: 0; transition-delay: calc(var(--i) * 550ms + 350ms); }
.ms-flow-steps.is-on .ms-flow-step h3, .ms-flow-steps.is-on .ms-flow-step p { opacity: 1; transform: none; transition-delay: calc(var(--i) * 550ms + 300ms); }
.ms-flow-steps.is-on .ms-flow-num { -webkit-text-stroke-color: rgba(185, 164, 255, 0.28); transition-delay: calc(var(--i) * 550ms + 300ms); }
@media (hover: hover) and (pointer: fine) {
  .ms-flow-step:hover { transform: translateY(-4px); }
  .ms-flow-step:hover .ms-flow-icon { transform: rotate(-8deg) scale(1.06); }
}
/* Handy: senkrechte Zeitleiste */
@media (max-width: 760px) {
  .ms-flow-steps { grid-template-columns: 1fr; gap: 28px; }
  .ms-flow-steps::before, .ms-flow-steps::after { top: 36px; bottom: 36px; left: 35px; right: auto; width: 2px; height: auto; }
  .ms-flow-steps::after { transform: scaleY(0); transform-origin: top; }
  .ms-flow-steps.is-on::after { transform: scaleY(1); }
  .ms-flow-step { grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; align-items: start; }
  .ms-flow-icon { grid-row: span 2; }
  .ms-flow-step h3 { margin-top: 10px; }
  .ms-flow-num { font-size: 4rem; top: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-flow-steps::after { transform: none !important; transition: none !important; }
  .ms-flow-icon svg * { stroke-dashoffset: 0 !important; transition: none !important; }
  .ms-flow-step h3, .ms-flow-step p { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ms-flow-icon::before { opacity: 1 !important; }
}

.ms .ms-flow .ms-flow-step h3 { color: #fff !important; }
.ms .ms-flow .ms-flow-step p { color: rgba(255, 255, 255, 0.68) !important; }

.ms-badge[hidden], a .ms-badge[hidden] { display: none !important; }

/* Einheitliche Seitenbreite wie Kopf- und Fußzeile (Inhalt 1240 px, Seitenabstand wie im Kit) */
.ms .ms-wrap, .ms-subbar .ms-wrap { max-width: calc(1240px + 2 * var(--space-gutter, 20px)); padding-left: var(--space-gutter, 20px); padding-right: var(--space-gutter, 20px); }

/* Suche: Theme-Stile vom Eingabefeld entfernen, damit nur die runde Pille sichtbar ist */
.ms .ms-search-big input[type="search"], .ms .ms-search-big input[type="search"]:focus, .ms .ms-search-big input[type="search"]:hover {
  -webkit-appearance: none !important; appearance: none !important; border: 0 !important; border-radius: 999px !important; background: transparent !important;
  box-shadow: none !important; outline: none !important; margin: 0 !important; height: 56px !important; line-height: 56px !important; }
.ms .ms-search input[type="search"]::-webkit-search-cancel-button, .ms .ms-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.ms .ms-search-big { padding: 6px 6px 6px 0; overflow: visible; }
.ms .ms-search-big:focus-within { box-shadow: 0 0 0 4px rgba(185, 164, 255, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ms .ms-search-big .ms-search-btn { height: 56px; }
.ms .ms-search-big .ms-results { top: calc(100% + 12px); left: 0; right: 0; border-radius: 22px; padding: 6px; border: 0; }
.ms .ms-search-big .ms-results a { border-radius: 16px; }
/* kleines Suchfeld (Kategorie-/Suchseite) ebenfalls ohne Theme-Rahmen */
.ms .ms-search:not(.ms-search-big) input[type="search"] { -webkit-appearance: none !important; border: 1px solid var(--ms-line) !important; border-radius: 999px !important; box-shadow: 0 18px 40px -30px rgba(10, 11, 16, 0.5) !important; outline: none !important; padding-left: 48px !important; }
.ms .ms-search:not(.ms-search-big) input[type="search"]:focus { border-color: #b9a4ff !important; box-shadow: 0 0 0 4px rgba(185, 164, 255, 0.35) !important; }
.ms .ms-search:not(.ms-search-big) .ms-results { border-radius: 18px; }
@media (max-width: 600px) { .ms .ms-search-big input[type="search"], .ms .ms-search-big .ms-search-btn { height: 48px !important; line-height: 48px !important; } }

/* Trefferliste darf über den Hero hinausragen und liegt über der Schritte-Leiste */
.ms .ms-hero-home { overflow: visible; z-index: 5; }
.ms .ms-hero-home .ms-hero-media { overflow: hidden; }
.ms .ms-search-big .ms-results { z-index: 50; max-height: min(60vh, 520px); overflow-y: auto; }

/* Artikelbild: grauer Unterleger, darin immer ein weißer Kasten (20 px Rand), Bild mittig */
.ms .ms-gallery-main { padding: 20px; background: var(--ms-paper); border-radius: var(--ms-r); }
.ms .ms-gallery-main img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 8px; padding: clamp(16px, 4%, 40px); box-sizing: border-box; display: block; }
.ms .ms-thumb { padding: 4px; background: var(--ms-paper); }
.ms .ms-thumb img { background: #fff; border-radius: 5px; padding: 4px; box-sizing: border-box; }
.ms .ms-thumb.is-on { border-color: var(--ms-ink); }
/* Knopftexte nicht vom Theme umformatieren lassen */
.ms .ms-btn, .ms .ms-add, .ms .ms-search-btn, .ms-drawer .ms-btn { text-transform: none !important; letter-spacing: 0 !important; }

/* Hero ohne Kennzeichnung über der Überschrift (wie auf der übrigen Website) */
.ms .ms-hero .ms-eyebrow { display: none !important; }
.ms .ms-hero .ms-h1 { margin-top: 0; }
