/* Muster-Shop „Kocherhof“ (erfundener Hofladen) – eigene Gestaltung, eckige Flächen, ein Zahlungsablauf als Demo */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --cream: #F6F2E8;
  --cream-2: #E3EBDD;
  --card: #FFFDF8;
  --ink: #0B3B2D;
  --muted: #4A5F55;
  --line: #DDD8C8;
  --rust: #B0136F;
  --rust-dark: #96105F;
  --sulexo: #0B3B2D;
  --on-sulexo: #F3EFE4;
  --on-sulexo-muted: #A9C2B6;
  --gold: #E4BE6E; --wheat: #E6D3A3; --red: #D88B72; --green: #A8C096; --wood: #CBA877;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; scrollbar-width: thin; scrollbar-color: #1B6B50 #E9E4D4; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: #E9E4D4; }
::-webkit-scrollbar-thumb { background: #1B6B50; border-radius: 4px; border: 3px solid #E9E4D4; }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--rust); color: var(--card); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
[hidden] { display: none !important; }
.i { width: 18px; height: 18px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--card); padding: 8px 12px; }

/* --- Demo-Hinweis (Sulexo) ------------------------------------------------ */
.ms-demo { background: var(--sulexo); color: var(--on-sulexo-muted); font-size: .85rem; padding: 10px clamp(16px, 4vw, 48px); text-align: center; }
.ms-demo a { color: var(--on-sulexo); font-weight: 600; margin-left: 8px; white-space: nowrap; }
.ms-demo a:hover { color: #fff; }

/* --- Kopf ------------------------------------------------------------------ */
.ms-hdr { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px); background: var(--cream); border-bottom: 1px solid var(--line); }
.ms-brand { display: grid; text-decoration: none; line-height: 1.1; }
.ms-brand b { font: 600 1.7rem/1 var(--serif); letter-spacing: -.02em; }
.ms-brand span { font-size: .78rem; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
.ms-cart-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; background: var(--card); border: 1px solid var(--ink); cursor: pointer; font-weight: 600; font-size: .92rem; }
.ms-cart-btn:hover { background: var(--ink); color: var(--card); }
.ms-cart-btn #ms-count { min-width: 1.6em; padding: 1px 6px; background: var(--rust); color: var(--card); font-variant-numeric: tabular-nums; text-align: center; }
.ms-cart-total { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; }
.ms-cart-btn:hover .ms-cart-total { color: inherit; }

main, .ms-ftr { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }

/* --- Einstieg -------------------------------------------------------------- */
.ms-hero { padding-block: clamp(48px, 8vw, 104px) clamp(36px, 5vw, 64px); }
.ms-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.8rem); line-height: 1.02; max-width: 18ch; letter-spacing: -.025em; }
.ms-facts { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--ink); }
.ms-facts li { display: grid; gap: 2px; padding: 16px 20px 16px 0; }
.ms-facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.ms-facts span { color: var(--muted); font-size: .9rem; }

/* --- Sortiment: Regal aus Feldern mit gemeinsamen Linien ------------------- */
.ms-shelf { padding-bottom: clamp(56px, 8vw, 104px); }
.ms-grid { list-style: none; margin: 0; padding: 1px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
.ms-item { display: flex; flex-direction: column; align-items: stretch; background: var(--card); outline: 1px solid var(--line); padding: 0 24px 24px; }
.ms-item .ms-tags { align-self: flex-start; }
.ms-item .ms-price { margin-top: auto; padding-top: 18px; }
.ms-item[data-tone="gold"] { --fill: var(--gold); } .ms-item[data-tone="wheat"] { --fill: var(--wheat); }
.ms-item[data-tone="red"] { --fill: var(--red); } .ms-item[data-tone="green"] { --fill: var(--green); } .ms-item[data-tone="wood"] { --fill: var(--wood); }
.ms-art { width: calc(100% + 48px); margin: 0 -24px 20px; aspect-ratio: 4 / 3; height: auto; background: var(--cream-2); fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.ms-art .f { fill: var(--fill); }
.ms-item h3 { font-size: 1.4rem; }
.ms-size { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.ms-text { margin-top: 12px; font-size: .95rem; max-width: 34ch; }
.ms-price { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.ms-price b { font: 600 1.6rem/1 var(--serif); }
.ms-price span { color: var(--muted); font-size: .88rem; }
.ms-tax { color: var(--muted); font-size: .8rem; margin: 4px 0 16px; }

.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--card);
  font-weight: 600; font-size: .92rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ms-btn:hover { background: var(--rust); border-color: var(--rust); color: var(--card); }
.ms-btn:disabled { background: var(--cream-2); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.ms-btn.is-added { background: var(--rust); border-color: var(--rust); }
.ms-btn-line { background: transparent; color: var(--ink); }
.ms-btn-line:hover { background: var(--ink); border-color: var(--ink); }
.ms-btn-full { width: 100%; }
.ms-item .ms-btn { width: 100%; }

/* --- Rechtliches im Shop ---------------------------------------------------- */
.ms-legal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--ink); }
.ms-legal h2 { font-size: 1.25rem; margin-bottom: 10px; }
.ms-legal p { color: var(--muted); font-size: .95rem; }

/* --- Erklärung von Sulexo --------------------------------------------------- */
.ms-note { margin-bottom: clamp(48px, 7vw, 88px); padding: clamp(28px, 5vw, 48px); background: var(--sulexo); color: var(--on-sulexo); }
.ms-note h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.ms-note ul { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #25604C; border: 1px solid #25604C; }
.ms-note li { display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--sulexo); }
.ms-note li span { color: var(--on-sulexo-muted); font-size: .92rem; }
.ms-note-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-sulexo); }
.ms-note-link:hover { color: #fff; }
.ms-note :focus-visible { outline-color: #FF7AC0; }

/* --- Fuß --------------------------------------------------------------------- */
.ms-ftr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px 40px; align-items: center; padding-block: 32px 48px; border-top: 1px solid var(--line); font-size: .9rem; }
.ms-ftr > div { display: grid; }
.ms-ftr > div b { font: 600 1.2rem/1.2 var(--serif); }
.ms-ftr > div span, .ms-ftr nav a { color: var(--muted); }
.ms-ftr nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ms-ftr nav a:hover { color: var(--rust); }

/* --- Warenkorb, Kasse, Widerruf -------------------------------------------- */
.ms-dlg { width: min(460px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 32px 28px; border: 1px solid var(--ink); background: var(--card); color: var(--ink); overflow-y: auto; }
.ms-dlg::backdrop { background: rgb(11 59 45 / .5); }
.ms-drawer { height: 100dvh; margin: 0 0 0 auto; border-width: 0 0 0 1px; }
.ms-dlg[open] { animation: ms-in .45s var(--ease); }
.ms-drawer[open] { animation-name: ms-slide; }
@keyframes ms-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes ms-slide { from { transform: translateX(40px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .ms-dlg[open] { animation: none; } }
.ms-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; background: none; cursor: pointer; }
.ms-x:hover { border-color: var(--ink); }
.ms-dlg h2 { font-size: 1.8rem; margin-bottom: 20px; padding-right: 48px; }
.ms-dlg h2:focus { outline: none; }
#ms-revoke-done p, [data-step="done"] p { margin-bottom: 24px; }
.ms-empty { color: var(--muted); margin-bottom: 20px; }

.ms-lines { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.ms-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ms-lines li div:first-child { display: grid; }
.ms-lines li span { color: var(--muted); font-size: .85rem; }
.ms-line-sum { min-width: 5.5em; text-align: right; font-variant-numeric: tabular-nums; }
.ms-qty { display: flex; align-items: center; border: 1px solid var(--line); }
.ms-qty button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; }
.ms-qty button:hover { background: var(--cream-2); }
.ms-qty svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ms-qty output { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }

.ms-sum { margin: 12px 0 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.ms-sum div { display: flex; justify-content: space-between; gap: 16px; }
.ms-sum dt { color: var(--muted); }
.ms-sum dd { margin: 0; }
.ms-sum-total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--ink); font-weight: 600; font-size: 1.15rem; }
.ms-sum-total dt { color: var(--ink); }
.ms-sum-vat { font-size: .85rem; }
.ms-free { color: var(--rust); font-size: .9rem; margin: 12px 0 20px; min-height: 1.4em; }

.ms-form { display: grid; gap: 14px; }
.ms-form p { color: var(--muted); }
.ms-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.ms-form input:not([type="radio"]) { width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: #fff; font-weight: 400; font-size: 1rem; }
.ms-form input:not([type="radio"]):hover { border-color: var(--muted); }
.ms-form input:not([type="radio"]):focus-visible { outline-offset: 0; border-color: var(--rust); }
.ms-form input:user-invalid { border-color: #B3261E; background: #FDF3F2; }
.ms-form input::placeholder { color: #5E7066; }
.ms-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; }
.ms-form fieldset { margin: 6px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.ms-form legend { font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.ms-form .ms-radio { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); font-weight: 400; font-size: .95rem; cursor: pointer; }
.ms-radio:has(:checked) { border-color: var(--ink); background: var(--cream); }
.ms-radio input { accent-color: var(--rust); width: 18px; height: 18px; margin: 0; }
.ms-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 16px; }

.ms-review-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ms-review-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-variant-numeric: tabular-nums; }
.ms-review-meta { display: grid; gap: 14px; margin: 20px 0; padding: 16px; background: var(--cream); }
.ms-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.ms-small { font-size: .85rem; color: var(--muted); }
.ms-demo-hint { margin-top: 12px; }


/* --- Navigation im Kopf ---------------------------------------------------- */
.ms-hdr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
.ms-nav { display: flex; gap: 28px; justify-content: center; }
.ms-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.ms-nav a[aria-current] { border-bottom-color: var(--rust); }
.ms-nav a:hover { color: var(--rust); }

.ms-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ms-hero-actions .ms-btn { text-decoration: none; }
.ms-hero-actions .ms-btn-line:hover { color: var(--card); }
.ms-btn .i { width: 16px; height: 16px; }

/* --- Geschichte: Video bleibt stehen, Kapitel scrollen daneben ------------- */
.ms-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 104px); }
.ms-story-media { position: sticky; top: 77px; height: calc(100vh - 77px); display: grid; align-content: center; align-self: start; }
.ms-story-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--cream-2); border: 1px solid var(--ink); }
.ms-story-bar { height: 3px; margin-top: 10px; background: var(--line); }
.ms-story-bar span { display: block; height: 100%; background: var(--rust); transform: scaleX(0); transform-origin: left; }
.ms-chapters { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.ms-chapter { min-height: 70vh; display: grid; align-content: center; gap: 14px; padding-block: 24px; counter-increment: ch; }
.ms-chapter::before { content: "Kapitel " counter(ch) " von 4"; font-size: .8rem; font-weight: 600; color: var(--muted); }
.ms-chapter h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.ms-chapter p { color: var(--muted); max-width: 34ch; font-size: 1.05rem; }
.is-scrub .ms-chapter { padding-left: 18px; border-left: 3px solid var(--line); transition: border-color .4s var(--ease); }
.is-scrub .ms-chapter.is-on { border-left-color: var(--rust); }

/* --- Regale, Kategorien ---------------------------------------------------- */
.ms-shelf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.ms-shelf-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.ms-shelf-head a, .ms-cats a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ms-item-link { display: block; text-decoration: none; }
.ms-item-link:hover h3 { color: var(--rust); }
.ms-item-link:focus-visible { outline-offset: -2px; }
.ms-tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ms-tags li { font-size: .75rem; font-weight: 600; padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.ms-cats { padding-bottom: clamp(56px, 8vw, 104px); }
.ms-cats h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 20px; }
.ms-cats ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ms-cats a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.2 var(--serif); transition: padding .3s var(--ease), color .2s; }
.ms-cats a:hover { color: var(--rust); padding-left: 14px; }
.ms-count { font: 400 .85rem/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }

/* --- Sortiment mit Filtern ------------------------------------------------- */
.ms-page-head { padding-block: clamp(40px, 6vw, 72px) 28px; display: grid; gap: 10px; }
.ms-page-head h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); letter-spacing: -.025em; }
.ms-page-head p { color: var(--muted); }
.ms-catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.ms-filter-wrap { position: sticky; top: 96px; border-top: 1px solid var(--ink); }
.ms-filter-wrap summary { padding: 14px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.ms-filter-wrap summary::-webkit-details-marker { display: none; }
.ms-filter-wrap summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(3px) rotate(45deg); transition: transform .3s var(--ease); }
.ms-filter-wrap[open] summary::after { transform: translateY(7px) rotate(-135deg); }
#ms-active { color: var(--rust); font-weight: 500; margin-left: 6px; margin-right: auto; }
.ms-filter { display: grid; gap: 22px; padding-bottom: 8px; }
.ms-filter fieldset { margin: 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.ms-filter legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.ms-check { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; font-size: .95rem; }
.ms-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--rust); }
.ms-check:hover span:nth-child(2) { color: var(--rust); }
.ms-range { display: flex; justify-content: space-between; font-size: .95rem; }
.ms-range output { font-weight: 600; font-variant-numeric: tabular-nums; }
.ms-filter input[type="range"] { width: 100%; accent-color: var(--rust); }
.ms-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; margin-bottom: 16px; border-top: 1px solid var(--ink); }
.ms-toolbar p { font-weight: 600; font-variant-numeric: tabular-nums; }
.ms-toolbar label { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.ms-toolbar select { font: inherit; color: var(--ink); padding: 9px 34px 9px 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231E3326' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 16px; appearance: none; cursor: pointer; }
.ms-results .ms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ms-none { display: grid; gap: 12px; justify-items: start; padding: 40px; background: var(--card); border: 1px solid var(--line); }
.ms-none h2 { font-size: 1.5rem; }
.ms-none p { color: var(--muted); }

/* --- Produktseite ---------------------------------------------------------- */
.ms-crumb { padding-top: 28px; font-size: .88rem; color: var(--muted); }
.ms-crumb a { color: var(--muted); }
.ms-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: 24px clamp(56px, 8vw, 96px); }
.ms-product[data-tone="gold"] { --fill: var(--gold); } .ms-product[data-tone="wheat"] { --fill: var(--wheat); }
.ms-product[data-tone="red"] { --fill: var(--red); } .ms-product[data-tone="green"] { --fill: var(--green); } .ms-product[data-tone="wood"] { --fill: var(--wood); }
.ms-product-media { align-self: start; position: sticky; top: 96px; }
.ms-product .ms-art-lg { width: 100%; margin: 0; aspect-ratio: 4 / 3; border: 1px solid var(--line); stroke-width: 1.8; }
.ms-product-info { display: grid; gap: 6px; align-content: start; }
.ms-product-info h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); letter-spacing: -.02em; }
.ms-product-info .ms-size { font-size: 1rem; }
.ms-product-info .ms-price b { font-size: 2.2rem; }
.ms-buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 4px; }
.ms-qty-lg button { width: 44px; height: 46px; }
.ms-qty-lg output { min-width: 3ch; font-weight: 600; }
.ms-ship { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.ms-long { margin-top: 20px; max-width: 52ch; }
.ms-facts-list { margin: 24px 0 0; border-top: 1px solid var(--ink); }
.ms-facts-list div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ms-facts-list dt { font-weight: 600; }
.ms-facts-list dd { margin: 0; color: var(--muted); }
.ms-facts-list dd b { color: var(--ink); }

@media (max-width: 900px) {
  .ms-results .ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-story { grid-template-columns: 1fr; }
  .ms-story-media { top: 70px; height: auto; z-index: 2; background: var(--cream); padding-block: 8px; }
  .ms-chapter { min-height: 55vh; }
}
@media (max-width: 760px) {
  .ms-catalog, .ms-product { grid-template-columns: 1fr; }
  .ms-filter-wrap, .ms-product-media { position: static; }
  .ms-nav { gap: 18px; }
}
@media (max-width: 600px) {
  .ms-hdr { grid-template-columns: minmax(0, 1fr) auto; }
  .ms-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .ms-brand b { font-size: 1.4rem; }
  .ms-results .ms-grid { grid-template-columns: 1fr; }
  .ms-story-media { top: 104px; }
  .ms-chapter { min-height: 45vh; }
  .ms-facts-list div { grid-template-columns: 1fr; gap: 4px; }
}

/* --- Schmale Bildschirme --------------------------------------------------- */
@media (max-width: 900px) {
  .ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-note ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-ftr { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ms-cart-btn > span:not(.ms-cart-total) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ms-facts, .ms-legal, .ms-grid, .ms-note ul { grid-template-columns: 1fr; }
  .ms-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ms-item { padding: 0 20px 20px; }
  .ms-art { width: calc(100% + 40px); margin: 0 -20px 16px; aspect-ratio: 16 / 9; }
  .ms-dlg { padding: 28px 20px; }
  .ms-actions { grid-template-columns: 1fr; }
  .ms-actions .ms-btn-line { order: 2; }
}
