/* ==========================================================================
   Kontaktseite: Vier-Schritte-Dialog, einheitlich auf allen Geräten.
   (Der frühere Desktop-Chat ist bewusst entfernt – ein Weg für alle.)  v29
   ========================================================================== */

.kform-section { padding: calc(var(--head-h) + clamp(18px,3vw,44px)) 0 clamp(56px,7vw,90px); }
.kform-stage { max-width: 680px; margin: 0 auto; }

.kform { background: #FCFAF5; border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px,4vw,36px) clamp(18px,4vw,38px) clamp(26px,4vw,40px);
  box-shadow: 0 40px 90px -50px rgba(30,22,14,.5); }

.kf-head { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.kf-head img.ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  object-position: 50% 5%; flex: none; border: 2px solid #fff;
  box-shadow: 0 4px 12px -5px rgba(0,0,0,.35); }
.kf-head p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

.kform .is-hidden { display: none; }

.qhead { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.qback { background: #fff; border: 1px solid var(--line); border-radius: 50%;
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  color: var(--muted); cursor: pointer; padding: 0; transition: all .18s; }
.qback:hover { color: var(--ink); border-color: var(--ink); }
.qback svg { display: block; margin-right: 1px; }
.qcount { font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; letter-spacing: .02em; }
.qbar { flex: 1; height: 3px; border-radius: 999px; background: rgba(30,22,14,.1); overflow: hidden; }
.qbar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width .4s var(--ease); }

.kf-step { animation: kffade .38s var(--ease); }
@keyframes kffade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q-question { font-size: clamp(20px,2.4vw,24px); font-weight: 800; letter-spacing: -.03em; line-height: 1.18; margin: 0 0 6px; }
.q-hint { font-size: 14.5px; color: var(--muted); font-weight: 500; margin: 0 0 22px; }

.choice-grid { display: grid; gap: 10px; margin-bottom: 18px; }
.choice-grid .choice { display: flex; align-items: center; gap: 15px; padding: 17px 20px; margin: 0;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  transition: all .18s; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.choice-grid .choice:hover { border-color: var(--ink-2); }
.choice-grid .choice input { accent-color: var(--accent); width: 19px; height: 19px; flex: none; margin: 0; }
.choice-grid .choice span { display: block; line-height: 1.3; }
.choice-grid .choice.sel { border-color: var(--accent); background: rgba(235,78,28,.06);
  box-shadow: 0 0 0 1px var(--accent) inset; }

.kform .field { margin-bottom: 15px; }
.kform .field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.kform .field .req { color: var(--accent); margin-left: 2px; }
.kform .field .opt { font-weight: 500; color: var(--faint); }
/* 16px verhindert den automatischen Zoom von iOS beim Fokussieren */
.kform .field input { width: 100%; padding: 15px 16px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.kform .field input::placeholder { color: var(--faint); }
.kform .field input:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(235,78,28,.12); }
.kform .field-note { font-size: 12.5px; color: var(--faint); margin: 7px 2px 0; line-height: 1.5; }

.kform .consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12px;
  color: var(--muted); margin: 4px 0 16px; line-height: 1.5; }
.kform .consent input { margin: 2px 0 0; flex: none; width: 15px; height: 15px;
  accent-color: var(--accent); cursor: pointer; }
.kform .consent a { color: var(--accent); }

.kform .btn { padding: 15px 28px; font-size: 15.5px; }
.kf-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kform .error-box { background: rgba(192,67,42,.1); color: #C0432A; border-radius: 14px;
  padding: 13px 16px; font-size: 14px; font-weight: 600; margin-top: 14px; text-align: center; }

/* Unsichtbare Überschrift (nur für Suchmaschinen und Screenreader) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 620px) {
  .kform-section { padding: calc(var(--head-h) + 12px) 0 56px; }
  .kform-section .wrap { padding: 0 16px; }
  .kform { border-radius: 20px; }
  .kform .btn { width: 100%; }
}
