/* Präparierbesteck-Konfigurator */
.kf { padding-top: 22px; padding-bottom: 60px; }
.kf-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.kf-lead { color: var(--mut); max-width: 70ch; margin: 0 0 20px; }
.kf-steps { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; } .kf-steps::-webkit-scrollbar { display: none; }
.kf-steps button { flex: none; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--mut); border-radius: 999px; padding: 7px 14px 7px 8px; font: 500 13.5px var(--font); cursor: pointer; }
.kf-steps button i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--font); font-style: normal; background: var(--line); color: var(--ink); }
.kf-steps button.on { border-color: var(--brand); color: var(--ink); background: #eaf3fc; } .kf-steps button.on i { background: var(--brand); color: #fff; }
.kf-steps button.done i { background: var(--ok); color: #fff; } .kf-steps button.skip { opacity: .45; text-decoration: line-through; }
.kf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .kf-grid { grid-template-columns: minmax(0, 1fr); } }
.kf-panel { animation: kfin .3s ease both; } @keyframes kfin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kf-panel h2 { margin: 0 0 4px; } .kf-sub { margin: 0 0 16px; color: var(--mut); font-size: 14px; }
.kf-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.kf-item { position: relative; display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.kf-item:hover { border-color: #9cc3ea; } .kf-item.sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,130,211,.16); }
.kf-ic { flex: none; width: 50px; height: 84px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kf-ic img { max-height: 80px; width: auto; } .kf-ic.photo { width: 76px; height: 76px; } .kf-ic.photo img { width: 100%; height: 100%; object-fit: contain; }
.kf-t { min-width: 0; flex: 1; padding-right: 22px; } .kf-t b { display: block; font-size: 14px; line-height: 1.3; } .kf-nr { font-size: 11.5px; color: var(--mut); }
.kf-pr { margin-top: 6px; font-weight: 600; } .kf-why { font-size: 12px; color: var(--mut); margin-top: 4px; }
.kf-tag, .kf-rec { display: inline-block; margin: 6px 4px 0 0; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 1px 7px; background: #fff4d6; color: #8a5a00; }
.kf-rec { background: rgba(47,158,85,.14); color: var(--ok); }
.kf-check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; font-size: 13px; }
.kf-item.sel .kf-check { background: var(--brand); border-color: var(--brand); }
.kf-qty { display: flex; align-items: center; gap: 6px; margin-top: 8px; } .kf-qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: 600 15px var(--font); cursor: pointer; } .kf-qty span { min-width: 18px; text-align: center; font-weight: 600; }
.kf-vars { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; } .kf-vars button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 3px 8px; font: 600 12px var(--font); cursor: pointer; } .kf-vars button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.kf-tog { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; cursor: pointer; } .kf-tog input { width: 18px; height: 18px; accent-color: var(--brand); }
.kf-hint { display: flex; gap: 10px; align-items: flex-start; background: #eef5fc; border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.kf-studies { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.kf-study { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 16px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.kf-study b { display: block; font-size: 15px; } .kf-study span { font-size: 12.5px; color: var(--mut); } .kf-study.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,130,211,.16); }
.kf-more { margin-top: 18px; } .kf-more summary { cursor: pointer; color: var(--mut); font-size: 13.5px; margin-bottom: 10px; }
.kf-subh { margin: 18px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }
.kf-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.kf-side { position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.kf-case { border-radius: 14px; padding: 14px 12px; background: linear-gradient(160deg, #3b4a66, #263248); color: #fff; }
.kf-case.leinen { background: linear-gradient(160deg, #b9a07a, #8d7550); } .kf-case.holz { background: linear-gradient(160deg, #a7713f, #6f4522); }
.kf-cn { font-size: 12px; opacity: .85; margin-bottom: 10px; font-weight: 600; }
.kf-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.kf-slot { position: relative; overflow: hidden; min-width: 0; aspect-ratio: 1 / 1.6; border-radius: 8px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 3px rgba(0,0,0,.25); }
.kf-slot img { position: absolute; left: 0; top: 5%; width: 100%; height: 90%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); animation: kfpop .35s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes kfpop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.kf-lines { margin: 14px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.kf-lines li > span:last-child { white-space: nowrap; }
.kf-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); } .kf-lines .grp { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); border: 0; padding-top: 10px; }
.kf-sum { margin-top: 12px; font-size: 14px; } .kf-sum div { display: flex; justify-content: space-between; padding: 2px 0; } .kf-sum .disc { color: var(--ok); font-weight: 600; } .kf-sum .tot { font-size: 22px; font-weight: 700; color: var(--navy); margin-top: 6px; }
.kf-prog { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 8px; } .kf-prog i { display: block; height: 100%; background: var(--ok); transition: width .3s; }
.kf-cartbtn { width: 100%; margin-top: 14px; }
.kf-bar { display: none; }
@media (max-width: 900px) {
  .kf-side { position: static; } .kf { padding-bottom: 110px; }
  .kf-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .kf-bar b { font-size: 18px; color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) { .kf-panel, .kf-slot img { animation: none; } }

.kf-quotebtn { display: block; width: 100%; margin-top: 10px; color: var(--brand-d, #0b4a8a); font-weight: 600; font-size: 14px; text-align: center; } .kf-quotebtn:hover:not(:disabled) { color: var(--navy, #16325c); text-decoration: underline; } .kf-quotebtn:disabled { opacity: .45; cursor: not-allowed; text-decoration: none; }

.kf-saved { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #f3f8ff; border: 1px solid #d6e6fb; font-size: 14px; }
.kf-sv-t { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mut); margin-bottom: 4px; }
.kf-sv { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 0; border-top: 1px dashed #d6e1ef; } .kf-sv:first-of-type { border-top: 0; }
.kf-sv > span { flex: 1 1 240px; min-width: 0; } .kf-sv small { color: var(--mut); }
.kf-sv-edit { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--brand, #0b5fae); background: #fff; color: var(--brand-d, #0b4a8a); font: 600 13px/1.1 var(--font); cursor: pointer; } .kf-sv-edit:hover { background: var(--brand, #0b5fae); color: #fff; }
.kf-sv-del { width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--mut); cursor: pointer; } .kf-sv-del:hover { background: #fdeceb; color: #c5221f; }
.kf-savebtn { margin-top: 12px; }
