@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=DM+Sans:wght@300;400;500&display=swap');

.kremer-ankauf-wrap {
  font-family: 'DM Sans', sans-serif;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #1a1a1a;
}

/* ── Header ── */
.ka-header { text-align: center; margin-bottom: 2.5rem; }
.ka-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #0C1F3A;
}
.ka-sub { font-size: 15px; color: #666; margin: 0; }

/* ── Progress bar ── */
.ka-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}
.ka-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.ka-dot:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 60%;
  width: 80%;
  height: 1px;
  background: #ddd;
}
.ka-dot.done::after { background: #185FA5; }
.ka-dot-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: #888;
  margin-bottom: 5px;
  transition: all 0.3s;
}
.ka-dot.active .ka-dot-circle { background: #185FA5; border-color: #185FA5; color: #fff; }
.ka-dot.done   .ka-dot-circle { background: #185FA5; border-color: #185FA5; color: #fff; }
.ka-dot-label { font-size: 10px; color: #999; text-align: center; line-height: 1.3; }
.ka-dot.active .ka-dot-label { color: #185FA5; font-weight: 500; }

/* ── Steps ── */
.ka-step { display: none; }
.ka-step.active { display: block; }

/* ── Card ── */
.ka-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ka-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 5px;
  color: #0C1F3A;
}
.ka-card-sub { font-size: 13px; color: #888; margin: 0 0 1.5rem; }

/* ── Grid & Fields ── */
.ka-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ka-field { display: flex; flex-direction: column; gap: 5px; }
.ka-field label {
  font-size: 11px; font-weight: 500;
  color: #888; text-transform: uppercase; letter-spacing: 0.5px;
}
.ka-field input,
.ka-field select,
.ka-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  color: #1a1a1a;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.ka-field input:focus,
.ka-field select:focus,
.ka-field textarea:focus { border-color: #185FA5; outline: none; background: #fff; }
.ka-field textarea { resize: vertical; min-height: 80px; }
.ka-error { font-size: 12px; color: #A32D2D; display: none; }

/* ── Pictogram grid ── */
.ka-pikt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 8px; }
.ka-pikt {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fafafa;
}
.ka-pikt:hover { border-color: #185FA5; background: #EBF3FC; }
.ka-pikt.selected { border-color: #185FA5; background: #EBF3FC; box-shadow: 0 0 0 2px #185FA533; }
.ka-pikt-icon { font-size: 24px; margin-bottom: 6px; }
.ka-pikt-label { font-size: 12px; color: #333; line-height: 1.3; }

/* ── Feature checkboxes ── */
.ka-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.ka-feat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; cursor: pointer; }
.ka-feat input { accent-color: #185FA5; width: 15px; height: 15px; }

/* ── Upload zone ── */
.ka-upload-zone {
  border: 1.5px dashed #bbb;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: all 0.2s;
}
.ka-upload-zone:hover { border-color: #185FA5; background: #EBF3FC; }
.ka-upload-zone input[type=file] { display: none; }
.ka-upload-zone strong { font-size: 14px; color: #333; display: block; margin-top: 8px; }
.ka-upload-zone p { font-size: 12px; color: #999; margin: 4px 0 0; }
.ka-upload-icon { font-size: 28px; }
.ka-img-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ka-img-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #eee; }
.ka-img-count { font-size: 12px; color: #888; margin-top: 6px; }

/* ── AI box ── */
.ka-ai-box {
  background: #EBF3FC;
  border: 1px solid #B5D4F4;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.ka-ai-label { font-size: 11px; color: #185FA5; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.ka-ai-price { font-family: 'Playfair Display', serif; font-size: 40px; color: #0C447C; margin: 6px 0; }
.ka-ai-note { font-size: 12px; color: #378ADD; }

/* ── GDPR ── */
.ka-gdpr {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: #888; margin-top: 1rem; line-height: 1.5;
}
.ka-gdpr input { accent-color: #185FA5; margin-top: 2px; flex-shrink: 0; }
.ka-gdpr a { color: #185FA5; }

/* ── Navigation buttons ── */
.ka-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.ka-btn-back {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: #888;
  cursor: pointer;
}
.ka-btn-back:hover { border-color: #185FA5; color: #185FA5; }
.ka-btn-next {
  background: #185FA5;
  border: none;
  border-radius: 6px;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.ka-btn-next:hover { background: #0C447C; }
.ka-btn-next:disabled { background: #bbb; cursor: not-allowed; }

/* ── Success ── */
.ka-success { text-align: center; padding: 3rem 1rem; }
.ka-success-icon {
  width: 60px; height: 60px;
  background: #EAF3DE;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 26px;
  color: #3B6D11;
}
.ka-success h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: #0C1F3A; margin: 0 0 10px; }
.ka-success p { font-size: 15px; color: #666; margin: 0 0 8px; }
.ka-btn-calendly {
  background: #185FA5;
  border: none;
  border-radius: 6px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
}
.ka-btn-calendly:hover { background: #0C447C; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .ka-title { font-size: 24px; }
  .ka-card { padding: 1.2rem; }
  .ka-grid { grid-template-columns: 1fr; }
  .ka-pikt-grid { grid-template-columns: repeat(3, 1fr); }
  .ka-dot-label { font-size: 9px; }
}
