/* Ansatz 1 · Ruhige Karte – warm stone stage, Typenschild, square tool column,
   one card with the 5 steps of the technical task (numbered, connected by a thin line, one step open). */
.k1 {
  --stone: #EEEBE5; --paper: #F7F5F1; --hov: #E7E3DB; --ink: #17181A; --ink-2: rgba(23, 24, 26, 0.64); --ink-3: rgba(23, 24, 26, 0.42);
  --line: rgba(23, 24, 26, 0.12); --line-2: rgba(23, 24, 26, 0.24); --on-ink: #EEEBE5; --on-ink-2: rgba(238, 235, 229, 0.66); --accent: #EC8306;
  --card-w: 28rem; --ease: cubic-bezier(0.65, 0, 0.35, 1);
  background: var(--stone); color: var(--ink); font-family: "Outfit", "Helvetica Neue", Arial, sans-serif; font-size: 1rem; line-height: 1.45;
}

/* header */
.k1-head { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 3.5rem; padding: 0 1.5rem 0 2.5rem; border-bottom: 1px solid var(--line); background: var(--stone); }
.k1-head__name { margin: 0; color: var(--ink-2); font-size: 0.875rem; }
.k1-head__back { justify-self: end; display: inline-flex; align-items: center; gap: 0.25rem; color: var(--ink-2); font-size: 0.875rem; text-decoration: none; transition: color 200ms ease; }
.k1-head__back svg { width: 1.125rem; height: 1.125rem; }
.k1-head__back:hover { color: var(--ink); }

/* stage */
.k1-main { position: relative; height: calc(100svh - 3.5rem); min-height: 40rem; }
.k1-stage { position: absolute; inset: 0; background: var(--stone); overflow: hidden; }
.k1-stage__gl { position: absolute; inset: 0; --q-night-950: #EEEBE5; }   /* colour behind snapshots */
.k1-stage__gl canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.k1-stage:fullscreen { background: var(--stone); }

/* Typenschild: dark plate with four rivets */
.k1-plate { position: absolute; top: 1.5rem; left: 2.5rem; z-index: 2; min-width: 15rem; margin: 0; padding: 0.875rem 1.125rem 0.9375rem; background: var(--ink); color: var(--on-ink); pointer-events: none; }
.k1-plate::before { content: ""; position: absolute; inset: 0.3125rem; pointer-events: none;
  background:
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) left top / 0.25rem 0.25rem no-repeat,
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) right top / 0.25rem 0.25rem no-repeat,
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) left bottom / 0.25rem 0.25rem no-repeat,
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) right bottom / 0.25rem 0.25rem no-repeat; }
.k1-plate p { margin: 0; }
.k1-plate__top { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.5rem; margin-bottom: 0.625rem !important; border-bottom: 1px solid rgba(238, 235, 229, 0.16); color: var(--on-ink-2); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.k1-plate__top svg { width: 0.875rem; height: 0.875rem; color: var(--on-ink); }
.k1-plate__name { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.k1-plate__price b { display: block; margin-top: 0.125rem; font-size: 1.75rem; font-weight: 300; line-height: 1.2; font-variant-numeric: tabular-nums; }
.k1-plate__spec { color: var(--on-ink-2); font-size: 0.8125rem; }
.k1-plate__note { margin-top: 0.375rem !important; color: var(--on-ink-2); font-size: 0.75rem; }

/* hint above the product while setting modules */
.k1-hint { position: absolute; top: 1.5rem; left: calc((100% - var(--card-w) - 2rem) / 2); z-index: 2; max-width: 24rem; margin: 0; padding: 0.5rem 0.875rem; transform: translateX(-50%);
  background: var(--paper); border-left: 2px solid var(--accent); color: var(--ink); font-size: 0.8125rem; animation: k1-in 400ms var(--ease) both; }

/* tools: square buttons in one column, tooltip beside the button */
.k1-tools { position: absolute; left: 2.5rem; bottom: 1.5rem; z-index: 2; display: grid; background: var(--paper); border: 1px solid var(--line); }
.k1-tools button { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--ink); transition: background-color 200ms ease, color 200ms ease; }
.k1-tools button + button { border-top: 1px solid var(--line); }
.k1-tools button svg { width: 1.125rem; height: 1.125rem; }
.k1-tools button:hover { background: var(--hov); }
.k1-tools button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.k1-tools button::after { content: attr(data-tip); position: absolute; top: 50%; left: calc(100% + 0.5rem); z-index: 3; padding: 0.3125rem 0.5rem; transform: translateY(-50%);
  background: var(--ink); color: var(--on-ink); font-size: 0.75rem; line-height: 1.3; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
@media (hover: hover) { .k1-tools button:hover::after { opacity: 1; transition-delay: 220ms; } }
.k1-tools button:focus-visible::after { opacity: 1; }

/* card on the right */
.k1-card { position: absolute; top: 1rem; right: 1rem; bottom: 1rem; z-index: 3; display: flex; flex-direction: column; width: var(--card-w); background: var(--paper); border: 1px solid var(--line); }
.k1-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.125rem 1.5rem 0.75rem; }
.k1-card__head p { margin: 0; font-size: 0.875rem; color: var(--ink-2); }
.k1-link { color: var(--ink-2); font-size: 0.8125rem; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; transition: color 200ms ease, text-decoration-color 200ms ease; }
.k1-link:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* the 5 steps: number, label, value; a thin line connects the numbers */
.k1-steps { position: relative; flex: 1; min-height: 0; margin: 0; padding: 0 1.5rem 1.5rem; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; }
.k1-step { position: relative; }
.k1-step::before, .k1-step::after { content: ""; position: absolute; left: calc(1rem - 0.5px); width: 1px; background: var(--line-2); transition: background-color 360ms ease; }
.k1-step::before { top: 0; height: 2rem; }
.k1-step::after { top: 2rem; bottom: 0; }
.k1-step:first-child::before, .k1-step:last-child::after { display: none; }
.k1-step.is-done::before, .k1-step.is-done::after, .k1-step.is-open::before { background: var(--ink); }

.k1-step__head { position: relative; z-index: 1; display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: center; gap: 1rem; width: 100%; padding: 1rem 0; text-align: left; }
.k1-step__no { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); font-size: 0.75rem; font-variant-numeric: tabular-nums;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, box-shadow 300ms ease; }
.k1-step.is-done .k1-step__no { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.k1-step.is-open .k1-step__no { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--ink); }
.k1-step__txt { display: grid; min-width: 0; }
.k1-step__txt b { font-size: 1rem; font-weight: 500; transition: color 200ms ease; }
.k1-step__val { overflow: hidden; color: var(--ink-2); font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
.k1-step__head:hover .k1-step__no { border-color: var(--ink); }
.k1-step.is-open .k1-step__head:hover .k1-step__no { border-color: var(--accent); }
.k1-step.is-open .k1-step__head { cursor: default; }

.k1-step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 480ms var(--ease); }
.k1-step.is-open .k1-step__body { grid-template-rows: 1fr; }
.k1-step__in { min-height: 0; overflow: hidden; padding-left: 3rem; }
.k1-step.is-open .k1-step__in { padding-bottom: 0.5rem; }
.k1-step:last-child .k1-step__in { padding-left: 0; }   /* 05: no line below, the Übersicht uses the full card width */

.k1-lead { margin: 0 0 1rem; color: var(--ink-2); font-size: 0.875rem; }
.k1-group { margin: 1.5rem 0 0.625rem; color: var(--ink); font-size: 0.8125rem; font-weight: 500; }
.k1-group--first { margin-top: 0.25rem; }
.k1-note, .k1-rules, .k1-fixed { margin: 1rem 0 0; color: var(--ink-2); font-size: 0.8125rem; }
.k1-fixed { margin-top: 0.5rem; padding: 0.75rem 0; border-top: 1px solid var(--line); color: var(--ink); }

/* big option cards */
.k1-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.k1-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k1-list { display: grid; gap: 0.5rem; }
.k1-opt { position: relative; display: grid; align-content: start; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--paper);
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease; animation: k1-up 460ms var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.k1-opt:hover { border-color: var(--ink-3); }
.k1-opt[aria-pressed="true"], .k1-opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.k1-opt__img { display: block; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.k1-opt__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.k1-opt__txt { display: grid; gap: 0.125rem; padding: 0.625rem 0.75rem 0.75rem; }
.k1-opt__txt b { font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.k1-opt__txt span { color: var(--ink-2); font-size: 0.8125rem; line-height: 1.35; }
.k1-opt__tick { position: absolute; top: 0.5rem; right: 0.5rem; width: 1.25rem; height: 1.25rem; border: 1px solid var(--line-2); background: var(--paper); color: transparent; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.k1-opt[aria-pressed="true"] .k1-opt__tick, .k1-opt[aria-checked="true"] .k1-opt__tick { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.k1-opt__tick svg { width: 100%; height: 100%; }
.k1-opt:disabled { cursor: default; opacity: 0.45; }
.k1-opt:disabled:hover { border-color: var(--line); }
.k1-opt__img--free { position: relative; background: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 25% 33.333%; }
.k1-opt__img--free::before, .k1-opt__img--free::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.5rem; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.k1-opt__img--free::after { transform: translate(-50%, -50%) rotate(90deg); }
.k1-sw { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.14)), var(--sw); }
.k1-opt--sw .k1-opt__img { aspect-ratio: 1; }
/* accessory rows: picture left */
.k1-opt--row { grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; padding-right: 2rem; }
.k1-opt--row .k1-opt__img { aspect-ratio: 1; height: 100%; min-height: 4.5rem; }
.k1-opt--row .k1-opt__txt { padding: 0.5rem 0.75rem; }
.k1-opt--row .k1-opt__tick { top: 50%; transform: translateY(-50%); }

/* quiet "Weiter zu 0N …" at the end of each step */
.k1-next { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; margin-top: 1.25rem; padding: 0.875rem 0 0.5rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.9375rem; text-align: left; transition: border-color 200ms ease, color 200ms ease; }
.k1-next svg { width: 1.25rem; height: 1.25rem; color: var(--ink-2); transition: color 200ms ease; }
.k1-next:hover { border-top-color: var(--ink); }
.k1-next:hover svg { color: var(--accent); }

/* selected module (tap in 3D): swap, move, remove */
.k1-sel { margin: 0 0 0.5rem; padding: 0.875rem 1rem 1rem; background: var(--stone); border-left: 2px solid var(--accent); animation: k1-in 360ms var(--ease) both; }
.k1-sel p { margin: 0 0 0.75rem; font-size: 0.875rem; }
.k1-sel p b { font-weight: 600; }
.k1-sel__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.k1-pad { display: grid; grid-template-columns: repeat(3, 2.25rem); grid-template-rows: repeat(3, 2.25rem); grid-template-areas: ". u ." "l . r" ". d ."; }
.k1-pad button { display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--paper); transition: border-color 200ms ease, background-color 200ms ease; }
.k1-pad button:nth-child(1) { grid-area: u; } .k1-pad button:nth-child(2) { grid-area: l; } .k1-pad button:nth-child(3) { grid-area: r; } .k1-pad button:nth-child(4) { grid-area: d; }
.k1-pad button:hover { border-color: var(--ink); }
.k1-pad svg { width: 1rem; height: 1rem; }
.k1-sel__acts { display: grid; gap: 0.375rem; }
.k1-mini { height: 2.25rem; padding: 0 0.875rem; border: 1px solid var(--line-2); background: var(--paper); font-size: 0.8125rem; transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease; }
.k1-mini:hover { border-color: var(--ink); }
.k1-mini--ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.k1-mini--ink:hover { background: #000; }
.k1-sel__keys { margin: 0.75rem 0 0 !important; color: var(--ink-2); font-size: 0.75rem !important; }

/* square switch (Bodenverankerung) */
.k1-switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 0.75rem 0; border-top: 1px solid var(--line); text-align: left; font-size: 0.875rem; }
.k1-switch small { display: block; color: var(--ink-2); font-size: 0.75rem; }
.k1-switch i { flex: none; position: relative; width: 2.75rem; height: 1.375rem; border: 1px solid var(--line-2); background: var(--paper); transition: background-color 260ms ease, border-color 260ms ease; }
.k1-switch i::after { content: ""; position: absolute; top: 0.1875rem; left: 0.1875rem; width: 0.875rem; height: 0.875rem; background: var(--ink-3); transition: transform 260ms var(--ease), background-color 260ms ease; }
.k1-switch[aria-checked="true"] i { background: var(--ink); border-color: var(--ink); }
.k1-switch[aria-checked="true"] i::after { background: var(--on-ink); transform: translateX(1.375rem); }

/* 05 Übersicht: the shared markup in this page's colours */
.k1-ov .so { grid-template-columns: minmax(0, 1fr); --so-ink: #17181A; --so-ink-2: rgba(23, 24, 26, 0.64); --so-line: rgba(23, 24, 26, 0.12); --so-bg: #EEEBE5; --so-accent: #EC8306; --so-display: "Outfit", sans-serif; gap: 1.75rem; }
.k1-ov .so-facts { grid-template-columns: minmax(0, 1fr); }
.k1-ov .so-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.625rem 0.875rem; }
.k1-ov .so-facts dd { text-align: right; }
.k1-ov .so-facts .so-total { font-size: 1.75rem; font-weight: 300; }
.k1-ov .so-h { font-weight: 500; }
.k1-ov .so-bom th:first-child, .k1-ov .so-bom td:first-child { font-size: 0.75rem; }
.k1-ov .so-guides ul { grid-template-columns: minmax(0, 1fr); }
.k1-ov > .k1-lead { padding-left: 3rem; }
.k1-ov .so-acts button:first-child { background: var(--ink); color: var(--on-ink); }
.k1-ov .so-acts button:first-child:hover { background: #000; }

/* buy area */
.k1-buy { display: grid; gap: 0.5rem; padding: 1rem 1.5rem 1.25rem; border-top: 1px solid var(--line); background: var(--paper); }
.k1-buy__main { display: flex; align-items: center; gap: 1rem; }
.k1-buy__sum { display: none; margin: 0; }
.k1-buy__more { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.k1-cart { flex: 1; width: 100%; height: 3.25rem; padding: 0 1rem; background: var(--ink); color: var(--on-ink); font-size: 0.9375rem; font-weight: 500; transition: background-color 200ms ease; }
.k1-cart:hover { background: #000; }
.k1-sec { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 2.75rem; padding: 0 1rem; border: 1px solid var(--line-2); font-size: 0.875rem; transition: border-color 200ms ease, background-color 200ms ease; }
.k1-sec svg { width: 1.125rem; height: 1.125rem; }
.k1-sec:hover { border-color: var(--ink); }
.k1-sec[aria-pressed="true"] { --fill: currentColor; border-color: var(--ink); }

/* dialogs: calm panel on stone */
.k1-dlg { width: min(32rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100svh - 2rem); margin: auto; padding: 0; border: 0; background: var(--stone); color: var(--ink); overflow-y: auto; }
.k1-dlg::backdrop { background: rgba(23, 24, 26, 0.42); }
.k1-dlg[open] { animation: k1-dlg 420ms var(--ease) both; }
.k1-dlg__in { display: grid; gap: 1rem; padding: 1.25rem 1.5rem 1.5rem; }
.k1-dlg__head { display: flex; align-items: center; justify-content: space-between; }
.k1-dlg__head h2 { margin: 0; font-size: 1.25rem; font-weight: 500; }
.k1-dlg__x { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -0.75rem; transition: background-color 200ms ease, color 200ms ease; }
.k1-dlg__x:hover { background: var(--hov); }
.k1-dlg__x svg { width: 1.25rem; height: 1.25rem; }
.k1-dlg__img { width: 100%; height: auto; background: var(--paper); border: 1px solid var(--line); }
#share-img { aspect-ratio: 4 / 3; object-fit: cover; }
#cart-img { aspect-ratio: 8 / 5; object-fit: cover; }
.k1-dlg__meta { margin: 0; color: var(--ink-2); font-size: 0.875rem; }
.k1-dlg__url { width: 100%; padding: 0.75rem; border: 1px solid var(--line-2); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 0.8125rem; text-overflow: ellipsis; }
.k1-dlg__note { margin: 0; color: var(--ink-2); font-size: 0.8125rem; }
.k1-dlg__acts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.k1-dlg__acts > * { flex: 1 1 auto; white-space: nowrap; }
.k1-dlg__acts .k1-cart { height: 2.75rem; }

/* cart: the confirmation is a label in the Typenschild style */
.k1-dlg--cart .k1-dlg__in { padding-top: 1.5rem; }
.k1-label { position: relative; margin: -1.5rem -1.5rem 0; padding: 0.875rem 1.5rem 1.25rem; background: var(--ink); color: var(--on-ink); }
.k1-label::before { content: ""; position: absolute; inset: 0.3125rem; pointer-events: none;
  background:
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) left top / 0.25rem 0.25rem no-repeat,
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) right top / 0.25rem 0.25rem no-repeat,
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) left bottom / 0.25rem 0.25rem no-repeat,
    radial-gradient(circle, rgba(238, 235, 229, 0.38) 0 0.09rem, transparent 0.125rem) right bottom / 0.25rem 0.25rem no-repeat; }
.k1-label__top { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; padding-bottom: 0.25rem; border-bottom: 1px solid rgba(238, 235, 229, 0.16); color: var(--on-ink-2); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.k1-label__top svg { width: 0.875rem; height: 0.875rem; color: var(--on-ink); }
.k1-label__top .k1-dlg__x { margin-left: auto; color: var(--on-ink); }
.k1-label__top .k1-dlg__x:hover { background: rgba(238, 235, 229, 0.1); }
.k1-label h2 { margin: 0; font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.k1-cartfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.k1-cartfacts div { display: grid; gap: 0.125rem; padding: 0.75rem 0.875rem; background: var(--paper); }
.k1-cartfacts dt { color: var(--ink-2); font-size: 0.75rem; }
.k1-cartfacts dd { margin: 0; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.k1-cartfacts .k1-cartfacts__total { font-size: 1.375rem; font-weight: 300; }

/* Merkliste */
.k1-saved { display: grid; }
.k1-saved__empty { margin: 0.5rem 0 1rem; color: var(--ink-2); font-size: 0.875rem; }
.k1-item { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 0.875rem; align-items: center; padding: 0.75rem 0; border-top: 1px solid var(--line); animation: k1-up 420ms var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.k1-item img { width: 6.5rem; height: 4.875rem; object-fit: cover; background: var(--paper); }
.k1-item b { display: block; font-size: 0.9375rem; font-weight: 500; }
.k1-item span { display: block; color: var(--ink-2); font-size: 0.8125rem; }
.k1-item__btns { display: grid; gap: 0.375rem; justify-items: end; }
.k1-item__btns button { color: var(--ink-2); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 0.2em; transition: color 200ms ease; }
.k1-item__btns button:hover { color: var(--ink); }

@keyframes k1-up { from { opacity: 0; transform: translateY(0.5rem); } }
@keyframes k1-in { from { opacity: 0; } }
@keyframes k1-dlg { from { opacity: 0; transform: translateY(1rem); } }
.is-still .k1-opt, .is-still .k1-sel { animation: none; }

/* phones + tablets: 3D on top, the step list below, only the cart row sticks to the bottom */
@media (max-width: 63.99rem) {
  .k1 { --card-w: 0rem; }
  .k1-head { grid-template-columns: 1fr auto; padding: 0 1rem 0 2.25rem; }
  .k1-head__name { display: none; }
  .k1-main { height: auto; min-height: 0; }
  .k1-stage { position: relative; height: 56svh; min-height: 21rem; }
  .k1-plate { top: 0.75rem; left: 2.25rem; min-width: 0; padding: 0.625rem 0.875rem 0.6875rem; }
  .k1-plate__top { padding-bottom: 0.375rem; margin-bottom: 0.375rem !important; }
  .k1-plate__name { font-size: 0.875rem; }
  .k1-plate__price b { font-size: 1.25rem; }
  .k1-plate__spec { display: none; }
  .k1-plate__note { margin-top: 0.125rem !important; font-size: 0.6875rem; }
  .k1-tools { left: auto; right: 0.75rem; bottom: 0.75rem; }
  .k1-tools button { width: 2.5rem; height: 2.5rem; }
  .k1-tools button::after { left: auto; right: calc(100% + 0.5rem); }
  .k1-hint { top: auto; bottom: 0.75rem; left: 0.75rem; right: 4rem; max-width: none; transform: none; }
  .k1-card { position: static; width: auto; border: 0; border-top: 1px solid var(--line); }
  .k1-card__head { padding: 1rem 1rem 0.25rem; }
  .k1-steps { overflow: visible; padding: 0 1rem 0.5rem; }
  .k1-buy { display: contents; }
  .k1-buy__more { order: 1; padding: 0.5rem 1rem 1.5rem; }
  .k1-buy__main { position: sticky; bottom: 0; z-index: 4; order: 2; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .k1-buy__sum { display: grid; flex: none; }
  .k1-buy__sum b { font-size: 1.125rem; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1.2; }
  .k1-buy__sum small { color: var(--ink-2); font-size: 0.75rem; }
  .k1-cart { height: 3rem; }
  .k1-dlg { width: 100vw; max-height: 92svh; margin: auto 0 0; }
  .k1-dlg[open] { animation-name: k1-sheet; }
}
@media (max-width: 22rem) {
  .k1-step__in { padding-left: 0; }
  .k1-step.is-open::after { display: none; }   /* the cards use the full width, no line through them */
  .k1-ov > .k1-lead { padding-left: 0; }
  .k1-cartfacts { grid-template-columns: minmax(0, 1fr); }
  /* Stückliste: article number as a small line above name · quantity · price */
  .k1-ov .so-bom thead { display: none; }
  .k1-ov .so-bom tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 0.75rem; border-bottom: 1px solid var(--line); }
  .k1-ov .so-bom td { padding: 0; border: 0; }
  .k1-ov .so-bom td:first-child { grid-column: 1 / -1; padding-top: 0.625rem; }
  .k1-ov .so-bom td:not(:first-child) { padding-bottom: 0.625rem; }
  .k1-ov .so-bom tfoot tr { border-bottom: 0; }
  .k1-ov .so-bom tfoot td:first-child { grid-column: 1 / 3; padding: 0.625rem 0; }
  .k1-ov .so-bom tfoot td:last-child { padding: 0.625rem 0; }
  .k1-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.375rem; }
  .k1-opt__txt { padding: 0.5rem 0.5rem 0.625rem; }
  .k1-plate { left: 2rem; }
  .k1-pad { grid-template-columns: repeat(3, 2rem); grid-template-rows: repeat(3, 2rem); }
}
@keyframes k1-sheet { from { transform: translateY(100%); } }
