/* Danona – Zusatzstile für Kassen-Konfigurator und Anleitungsvideos (baut auf style.css auf) */

/* =========================================================
   Kassen-Konfigurator
   ========================================================= */
.kf-zeigen { display: block !important; }
.kf-section { padding-top: 16px; }
.kf { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 36px); align-items: start; }
.kf-main { min-width: 0; display: grid; gap: 18px; }
#kf-schritte { display: grid; gap: 18px; }
.kf-laden { color: var(--muted); }
.kf-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.kf-step-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.kf-step-head h2 { font-size: 1.25rem; margin: 2px 0 .2em; }
.kf-step-head p { color: var(--muted); font-size: .95rem; margin: 0; }
.kf-nr { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: #fff; background: var(--brand-strong); font-variant-numeric: tabular-nums; }
.kf-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.kf-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.kf-card:hover { border-color: #BFE3F6; background: #fff; }
.kf-card.on { border-color: var(--brand-strong); background: #fff; box-shadow: 0 0 0 3px rgba(43,179,234,.16); }
.kf-card.off { cursor: not-allowed; opacity: .55; }
.kf-card.off:hover { border-color: var(--line); background: var(--bg); }
.kf-card > input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand-strong); flex: none; }
.kf-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kf-card-name { font-weight: 700; line-height: 1.3; }
.kf-card-text { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.kf-card-price { font-weight: 700; color: var(--brand-strong); font-size: .92rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kf-card-note { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.kf-qty, .kf-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.kf-qty input, .kf-count input { width: 64px; text-align: center; font: inherit; font-weight: 700; padding: 6px 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-variant-numeric: tabular-nums; }
.kf-count { margin-top: 0; }
.kf-count input { width: 76px; font-size: 1.3rem; padding: 10px 4px; }
.kf-count-label { color: var(--muted); font-weight: 600; margin-left: 6px; }
.kf-step-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 1.3rem; font-weight: 700; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.kf-step-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.kf-step-btn.sm { width: 32px; height: 32px; font-size: 1.05rem; }

.kf-aside { position: sticky; top: 88px; }
.kf-sum-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 110px); overflow: auto; }
.kf-sum-card h2 { font-size: 1.15rem; margin: 0; }
.kf-sum-info { margin: 0; font-size: .88rem; color: var(--muted); }
.kf-lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.kf-lines li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.kf-lines li span:first-child { min-width: 0; }
.kf-line-price { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.kf-empty { color: var(--muted); }
.kf-total { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-soft); }
.kf-total div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kf-total div:nth-of-type(2) { margin-top: 8px; }
.kf-total span { font-weight: 600; font-size: .92rem; }
.kf-total strong { font-size: 1.45rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.kf-total div:nth-of-type(2) strong { font-size: 1.15rem; }
.kf-total small { color: var(--muted); font-size: .78rem; text-align: right; }
.kf-sum-note, .kf-hinweis { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.kf-reset { background: none; border: 0; font: inherit; font-size: .85rem; color: var(--muted); text-decoration: underline; cursor: pointer; align-self: center; padding: 4px; }

.kf-anfrage { max-width: 760px; margin: clamp(48px, 7vw, 80px) auto 0; scroll-margin-top: 90px; }
.kf-anfrage .section-head { margin-bottom: 24px; }
.kf-anfrage h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.kf-fertig { text-align: center; }
.kf-fertig:focus { outline: none; }
.kf-fertig-ic { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: #E4F7EC; color: var(--ok); }
.kf-fertig-ic .icon { width: 28px; height: 28px; stroke-width: 2.6; }
.kf-fertig p { color: var(--muted); margin: 0; }

.kf-bar { display: none; }
@media (max-width: 960px) {
  .kf { grid-template-columns: 1fr; }
  .kf-aside { position: static; }
  .kf-sum-card { max-height: none; }
  .kf-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(8,22,38,.25); }
  .kf-bar span { font-weight: 800; font-variant-numeric: tabular-nums; font-size: .98rem; }
  .kf-bar .btn { padding: .6em 1.1em; }
  .kf-seite .site-footer { padding-bottom: 96px; }
}

/* =========================================================
   Anleitungsvideos
   ========================================================= */
.vd-section { padding-top: 16px; }
.vd-tabs { margin-bottom: 22px; flex-wrap: wrap; }
.vd-tabs button small { opacity: .7; font-weight: 600; }
.vd-player { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(14px, 2vw, 22px); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.vd-frame { border-radius: 14px; overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; max-width: 100%; }
.vd-frame video { width: 100%; height: 100%; display: block; background: var(--navy); }
.vd-info { min-width: 0; }
.vd-meta { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-strong); margin: 4px 0 8px; }
.vd-info h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; }
.vd-info p { color: var(--muted); font-size: .95rem; }
.vd-info h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 8px; }
.vd-ziele { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: .93rem; }
.vd-kapitel { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vd-kapitel button { font: inherit; font-size: .92rem; text-align: left; width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink); }
.vd-kapitel button:hover { border-color: #BFE3F6; background: var(--brand-soft); }
.vd-zeit { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand-strong); margin-right: 6px; }
.vd-serie-text { color: var(--muted); max-width: 70ch; margin: 36px 0 0; }
.vd .vd-thema { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin: 32px 0 14px; }
.vd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.vd-card { display: flex; flex-direction: column; gap: 6px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 0 0 14px; overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .15s; }
.vd-card:hover { border-color: #BFE3F6; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.vd-card.on { border-color: var(--brand-strong); box-shadow: 0 0 0 3px rgba(43,179,234,.16); }
.vd-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy); }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vd-dauer { position: absolute; right: 8px; bottom: 8px; background: rgba(8,22,38,.82); color: #fff; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.vd-card-titel { font-weight: 700; padding: 6px 14px 0; line-height: 1.3; }
.vd-card-text { color: var(--muted); font-size: .86rem; line-height: 1.45; padding: 0 14px; }
@media (max-width: 900px) { .vd-player { grid-template-columns: 1fr; } }
