.k-sect { background: var(--tag); padding: clamp(40px, 6vw, 80px) 20px; font-family: var(--f-body); }
.k-container { max-width: 1200px; margin: 0 auto; }

.k-header { text-align: center; margin-bottom: 40px; }
.k-header h1 { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.k-header p { color: var(--ink-60); max-width: 60ch; margin: 0 auto 30px; }

.k-progress { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.k-step { padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-60); background: #fff; border: 1px solid var(--glas-linie); transition: all 0.3s; }
.k-step.active { background: var(--akzent); color: #fff; border-color: var(--akzent); }

.k-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) { .k-layout { grid-template-columns: 400px 1fr; } }


.k-preview { background: #fff; border-radius: 24px; padding: 30px; border: 1px solid var(--glas-linie); box-shadow: 0 10px 40px -10px rgba(15,23,42,0.08); position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; }

.k-window { 
  width: 200px; height: 240px; border: 16px solid #f0f0f0; border-radius: 8px; 
  background: #e0f2fe; position: relative; margin: 20px 0 40px;
  box-shadow: inset 0 0 0 1px #ccc, 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.k-sash {
  overflow: hidden;
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border: 10px solid #f0f0f0;
  box-shadow: inset 0 0 0 1px #ccc, 0 0 0 1px #ccc;
  transition: all 0.5s;
}
.k-glass {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.2) 100%);
  overflow: hidden;
}
.k-reflection {
  position: absolute; width: 200%; height: 50%; background: rgba(255,255,255,0.3);
  transform: rotate(-45deg) translate(-20%, -150%);
}
.k-handle {
  position: absolute; width: 6px; height: 30px; background: #silver; background: linear-gradient(to right, #e2e8f0, #94a3b8);
  right: 6px; top: 50%; transform: translateY(-50%); border-radius: 3px; box-shadow: 1px 2px 3px rgba(0,0,0,0.2);
}


.k-window.color-kunststoff-weiss, .k-window.color-kunststoff-weiss .k-sash { border-color: #ffffff; }
.k-window.color-kunststoff-anthrazit, .k-window.color-kunststoff-anthrazit .k-sash { border-color: #334155; }
.k-window.color-holzoptik, .k-window.color-holzoptik .k-sash { border-color: #8b5a2b; }

.k-window.type-fest .k-sash { display: none; }
.k-window.type-zweifluegelig::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 14px; margin-left: -7px;
  background: inherit; border-left: 1px solid #ccc; border-right: 1px solid #ccc; z-index: 2;
}
.k-window.type-zweifluegelig { border-color: inherit; }

.k-price-box { text-align: center; width: 100%; border-top: 1px solid var(--glas-linie); padding-top: 20px; }
.k-price-val { font-family: var(--f-display); font-size: 2.6rem; font-weight: 600; color: var(--akzent); line-height: 1; margin-top: 8px; }


.k-options { background: transparent; }
.k-panel { display: none; animation: fadeIn 0.4s ease-out; }
.k-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.k-panel h3 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 20px; }

.k-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.k-grid-1 { grid-template-columns: 1fr; }

.k-card input { display: none; }
.k-card-box {
  background: #fff; border: 2px solid var(--glas-linie); border-radius: 16px; padding: 20px; text-align: center;
  cursor: pointer; transition: all 0.2s; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.k-card-box:hover { border-color: var(--akzent-hell); background: var(--tag); }
.k-card input:checked + .k-card-box { border-color: var(--akzent); background: var(--akzent-wash); box-shadow: 0 4px 12px rgba(29, 79, 168, 0.15); }

.k-card-box b { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.k-card-box small { color: var(--ink-60); font-size: 0.85rem; }

.k-color-circle { width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px; }

.k-icon-win1, .k-icon-win2, .k-icon-win-fixed { width: 40px; height: 50px; border: 4px solid #cbd5e1; margin-bottom: 12px; border-radius: 4px; position: relative; }
.k-icon-win1::after { content:''; position:absolute; inset: 4px; border: 2px solid #cbd5e1; }
.k-icon-win2::after { content:''; position:absolute; top: 4px; bottom: 4px; left: 50%; width: 2px; background: #cbd5e1; transform: translateX(-50%); }
.k-icon-win-fixed { background: #e0f2fe; }

.k-lead-box { background: var(--tag); padding: 24px; border-radius: 16px; border: 1px solid var(--glas-linie); margin-top: 24px; }
.k-input { padding: 14px; border-radius: 8px; border: 1px solid #ccc; font-size: 1rem; font-family: var(--f-body); }
.k-input:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-wash); }
