/* Spam-Schutz-Anzeige im Anfrage-Formular */
.spamschutz {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px;
  font-size: .88rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line);
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}
.spamschutz__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink-soft); transition: background-color 300ms ease, color 300ms ease; }
.spamschutz__icon svg { width: 16px; height: 16px; }
.spamschutz__check { stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset 450ms var(--ease-out) 120ms; }
.spamschutz[data-state="busy"] .spamschutz__icon { color: var(--green); }
.spamschutz[data-state="ok"] { background: var(--green-soft); border-color: #cfe3c8; color: var(--green-dark); }
.spamschutz[data-state="ok"] .spamschutz__icon { background: var(--green); color: #fff; }
.spamschutz[data-state="ok"] .spamschutz__check { stroke-dashoffset: 0; }
.spamschutz[data-state="error"] { background: #fdecea; border-color: #f5c6c0; color: #8a1c12; }
@media (prefers-reduced-motion: no-preference) {
  .spamschutz[data-state="busy"] .spamschutz__icon { animation: schutzPuls 1.1s ease-in-out infinite; }
}
@keyframes schutzPuls { 50% { box-shadow: 0 0 0 6px rgba(63, 154, 48, .18); } }
.form .btn[disabled] { opacity: .75; cursor: progress; }

/* ---------- Anfrage-Assistent: 4 Schritte ---------- */
.wiz__progress { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wiz__progress li { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.wiz__progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); transition: background-color 300ms ease; }
.wiz__progress span { display: none; }
.wiz__progress em { font-style: normal; }
.wiz__progress li.is-active, .wiz__progress li.is-done { color: var(--green-dark); }
.wiz__progress li.is-active::before, .wiz__progress li.is-done::before { background: linear-gradient(90deg, #52b13c, #2d7a22); }
.wiz:not(.is-wizard) .wiz__progress { display: none; }
.wiz__step { border: 0; margin: 0 0 6px; padding: 0; min-width: 0; }
.wiz__step legend { padding: 0; margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.wiz__opt { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.wiz__hint { margin: 0 0 14px; font-size: .92rem; color: var(--ink-soft); }
.wiz.is-wizard .wiz__step:not(.is-current) { display: none; }
.wiz:not(.is-wizard) .wiz__step + .wiz__step { margin-top: 22px; }
.wiz.is-wizard .wiz__step.is-current { animation: wizIn 360ms var(--ease-out) both; }
@keyframes wizIn { from { opacity: 0; transform: translateX(14px); } }

/* Schritt 1: Leistungen als Karten */
.wiz__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wiz__choice {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 34px 8px 8px; border-radius: 14px; cursor: pointer;
  font-weight: 700; font-size: .92rem; line-height: 1.25; background: #fff; border: 1.5px solid var(--line);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease-out);
}
.wiz__choice input { position: absolute; opacity: 0; pointer-events: none; }
.wiz__t { min-width: 0; }
.wiz__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--green-ink); background: var(--green-soft); transition: background-color 180ms ease, color 180ms ease; }
.wiz__ico svg { width: 19px; height: 19px; }
.wiz__tick {
  position: absolute; right: 9px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--green); transform: scale(0); transition: transform 220ms cubic-bezier(.3, 1.6, .5, 1);
}
.wiz__tick svg { width: 12px; height: 12px; }
.wiz__choice:hover { border-color: #c6dbbd; }
.wiz__choice:active { transform: scale(.98); }
.wiz__choice.is-checked { border-color: var(--green); background: #f3f9ef; box-shadow: 0 10px 20px -16px rgba(20, 51, 26, .7); }
.wiz__choice.is-checked .wiz__ico { color: #fff; background: linear-gradient(150deg, #52b13c, #2d7a22); }
.wiz__choice.is-checked .wiz__tick { transform: scale(1); }
.wiz__choice.is-focus { box-shadow: 0 0 0 3px rgba(63, 154, 48, .3); }

/* Schritt 2: Auswahl-Pillen */
.wiz__label { margin: 0 0 8px; font-weight: 700; font-size: .94rem; }
.wiz__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.wiz__pill { position: relative; cursor: pointer; }
.wiz__pill input { position: absolute; opacity: 0; pointer-events: none; }
.wiz__pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 650; font-size: .9rem;
  background: #fff; border: 1.5px solid var(--line); transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.wiz__pill:hover span { border-color: #c6dbbd; }
.wiz__pill input:checked + span { color: #fff; background: var(--green); border-color: var(--green); }
.wiz__pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(63, 154, 48, .3); }
.wiz .field textarea { min-height: 110px; }

/* Schritt 3: Fotos */
.wiz__drop {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 16px; border-radius: 18px; cursor: pointer; text-align: center;
  background: linear-gradient(160deg, #f6faf3, #ecf4e7); border: 2px dashed #bcd6b0; transition: border-color 180ms ease, background-color 180ms ease;
}
.wiz__drop input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wiz__drop:hover, .wiz__drop.is-over { border-color: var(--green); }
.wiz__drop-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: linear-gradient(150deg, #52b13c, #2d7a22); box-shadow: 0 10px 18px -12px rgba(20, 51, 26, .8); }
.wiz__drop-ico svg { width: 24px; height: 24px; }
.wiz__drop b { margin-top: 6px; font-size: 1rem; }
.wiz__drop small { color: var(--ink-soft); font-size: .84rem; }
.wiz__thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wiz__thumbs:empty { display: none; }
.wiz__thumbs li { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-alt); animation: wizIn 300ms var(--ease-out) both; }
.wiz__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wiz__thumbs li.is-busy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%) 0 0 / 200% 100%; animation: wizShine 1s linear infinite; }
@keyframes wizShine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.wiz__thumbs li.is-error { display: grid; place-items: center; padding: 6px; text-align: center; font-size: .75rem; font-weight: 700; color: #8a1c12; background: #fdecea; }
.wiz__del {
  position: absolute; right: 5px; top: 5px; width: 28px; height: 28px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(15, 25, 17, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.wiz__del svg { width: 14px; height: 14px; }
.wiz__note { margin: 12px 0 0; font-size: .84rem; color: var(--ink-soft); }

/* Navigation */
.wiz__nav { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.wiz__nav .btn { width: auto; flex: 1; }
.wiz__back {
  display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 14px 0 8px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--green-dark); background: var(--bg-alt); border: 1px solid var(--line);
}
.wiz__back svg { width: 18px; height: 18px; }
.wiz__back[hidden], .wiz__next[hidden], .btn--send[hidden] { display: none; }
.wiz__msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: #8a1c12; background: #fdecea; }

@media (max-width: 600px) {
  .wiz__choices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
  /* schmale Karten: Symbol oben, Text darunter – so passen auch lange Wörter */
  .wiz__choice { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 0; padding: 10px; font-size: .84rem; gap: 6px; }
  .wiz__ico { width: 32px; height: 32px; border-radius: 10px; }
  .wiz__tick { right: 4px; top: 4px; width: 16px; height: 16px; margin-top: 0; }
  .wiz__tick svg { width: 10px; height: 10px; }
  .wiz__progress em { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wiz.is-wizard .wiz__step.is-current, .wiz__thumbs li { animation: none; }
}

/* Schritt 3: zwei Bereiche – eigene Fotos und Beispielbilder */
.wiz__group { padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.wiz__group + .wiz__group { margin-top: 10px; }
.wiz__group .wiz__label { margin-bottom: 2px; }
.wiz__sub { margin: 0 0 10px; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
.wiz__drop--idee { background: linear-gradient(160deg, #fffaf0, #fbf1dc); border-color: #ead3a2; }
.wiz__drop--idee:hover, .wiz__drop--idee.is-over { border-color: #d39b2a; }
.wiz__drop--idee .wiz__drop-ico { background: linear-gradient(150deg, #f2b84b, #c98714); box-shadow: 0 10px 18px -12px rgba(120, 80, 10, .8); }
.wiz__link { margin: 12px 0 0; }
.wiz__link label { font-size: .88rem; }
