/* Lösung F „Atelier“ · Konfigurator
   Centred like a gallery: logo in the middle, the 3D in the centre, fine step tabs below it.
   Weiß, Cormorant + Jost. Built page: tools/build-konfiguratoren.py · base: kit/qubinox-cfg.css */
:root {
  --k-bg: #FFFFFF; --k-stage: #FFFFFF; --k-panel: #FFFFFF; --k-card: #F6F2EC;
  --k-fg: #232323; --k-fg-2: rgba(35, 35, 35, 0.66); --k-fg-3: rgba(35, 35, 35, 0.42);
  --k-line: rgba(35, 35, 35, 0.14); --k-line-2: rgba(35, 35, 35, 0.32);
  --k-btn-bg: #232323; --k-btn-fg: #FFFFFF; --k-sel: #232323;
  --k-font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --k-display: "Cormorant", Georgia, serif;
  --k-num: "Cormorant", Georgia, serif;
  --k-q-weight: 300; --k-q-size: 2.375rem; --k-q-size-m: 1.75rem;
  --k-gut: clamp(1rem, 2.4vw, 2.5rem);
  --f-bg: var(--k-bg);
  color-scheme: light;
}
html[data-theme="dark"] {
  --k-bg: #171615; --k-stage: #171615; --k-panel: #171615; --k-card: #22201E;
  --k-fg: #F1ECE4; --k-fg-2: rgba(241, 236, 228, 0.68); --k-fg-3: rgba(241, 236, 228, 0.42);
  --k-line: rgba(241, 236, 228, 0.16); --k-line-2: rgba(241, 236, 228, 0.34);
  --k-btn-bg: #F1ECE4; --k-btn-fg: #171615; --k-sel: #F1ECE4;
  color-scheme: dark;
}
body { margin: 0; background: var(--k-bg); }

/* centred header */
.k-own--f .k-head { display: grid; grid-template-columns: 1fr auto 1fr; }
.k-own--f .k-head__logo { grid-column: 2; display: grid; grid-template-columns: auto auto; column-gap: 0.625rem; align-items: center; }
.k-own--f .k-head__logo svg { grid-row: 1 / 3; width: 1.875rem; height: 1.875rem; }
.k-own--f .k-head__word { font: 800 0.875rem/1 "Manrope", var(--k-font); letter-spacing: 0.2em; }
.k-own--f .k-head__page { margin-top: 0.25rem; color: var(--k-fg-2); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; }
.k-own--f .k-head__right { grid-column: 3; justify-self: end; }

.k--f .k-q { letter-spacing: 0; line-height: 1.05; }
.k--f .k-steps button { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; border-bottom-width: 1px; }
.k--f .k-price b { font-weight: 400; font-size: 2rem; }
.k--f .tplc__name, .k--f .q-module__name { font-weight: 500; }

@media (min-width: 64rem) {
  .k--f { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto auto; grid-template-areas: "stage" "steps" "body" "bar"; }
  .k--f .k-panel { display: contents; }
  .k--f .k-stage { grid-area: stage; }
  .k--f .k-steps { grid-area: steps; justify-content: center; gap: 3rem; padding: 0.75rem var(--k-gut) 0; border-top: 1px solid var(--k-line); }
  .k--f .k-steps button { flex: none; padding-bottom: 0.625rem; border-bottom-color: transparent; }
  .k--f .k-steps button.is-done { border-bottom-color: transparent; }
  .k--f .k-steps button[aria-current] { border-bottom-color: var(--k-fg); }
  .k--f .k-body { grid-area: body; justify-self: center; width: min(62rem, calc(100% - 4rem)); max-height: 36svh; padding: 1.25rem 0 1rem; text-align: center; }
  .k--f .k-hint { margin: 0.5rem auto 1.25rem; }
  .k--f .k-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 7.75rem; justify-content: center; overflow-x: auto; text-align: left; padding-bottom: 0.25rem; }
  .k--f .k-sw { width: min(30rem, 100%); margin-inline: auto; }
  .k--f .k-extras, .k--f .k-sub, .k--f .k-dims, .k--f .q-bom, .k--f .k-note { max-width: 36rem; margin-inline: auto; text-align: left; }
  .k--f .k-bar { grid-area: bar; justify-content: center; gap: 3rem; padding: 0.875rem var(--k-gut); }
}
@media (max-width: 63.99rem) {
  .k-own--f .k-head__page { display: none; }
  .k--f .k-group { text-align: center; }
  .k--f .k-hint { margin-inline: auto; }
  .k--f .k-list, .k--f .k-extras, .k--f .q-bom, .k--f .k-dims, .k--f .k-sub, .k--f .k-note { text-align: left; }
}
