/* Fragebogen im Kopfbereich der Startseiten (alle Sprachen). */

.hero-anfrage .hero-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text form" "checks form";
  align-items: start;
  row-gap: 1.5rem;
}
.hero-anfrage .hero-text { grid-area: text; }
.hero-anfrage .hero-form { grid-area: form; display: grid; gap: 1.1rem; min-width: 0; }
.hero-anfrage .checks { grid-area: checks; }

/* Erklärtext über dem Fragebogen */
.hero-form-note { margin: 0; padding-inline: .25rem; font-size: 1.1rem; color: var(--muted); }

/* Vertrauens-Etiketten: stehen unter dem Fragebogen */
.trust-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.trust-chips li {
  padding-block: .35rem; padding-inline: 2rem .8rem; border-radius: 999px; position: relative;
  background: #fff; border: 1px solid var(--green-100); color: var(--green-900);
  font-size: .88rem; font-weight: 600; box-shadow: 0 2px 8px rgba(11, 60, 73, .06);
}
.trust-chips li::before {
  content: ""; position: absolute; inset-inline-start: .6rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat;
}

.hero-call { font-size: 1.1rem; font-weight: 600; margin: 1.25rem 0 0; }
.hero-call a { color: var(--green-700); font-size: 1.35rem; white-space: nowrap; text-decoration: none; border-bottom: 2px solid var(--green-100); }

/* Fragebogen */
.wizard {
  position: relative; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}
.wizard .anchor { position: absolute; top: 0; }
.wizard-title { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--green-900); }
.wizard-count { margin: .35rem 0 .5rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.wizard-bar { height: 8px; border-radius: 999px; background: var(--green-100); overflow: hidden; }
.wizard-bar span { display: block; height: 100%; width: 33.33%; border-radius: 999px; background: var(--accent); }

.wizard-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1rem; }
.wizard-step legend { padding: 0; margin-bottom: .9rem; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.wizard.js .wizard-step { display: none; }
.wizard.js .wizard-step.active { display: grid; }
.wizard.done .wizard-step, .wizard.done .wizard-head, .wizard.done .wizard-foot { display: none; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.option-grid-small { grid-template-columns: repeat(5, 1fr); }
.option-grid-small .option:first-child, .option-grid-small .option:last-child { grid-column: 1 / -1; }
.contact-form .option { display: block; position: relative; font-size: 1rem; font-weight: 600; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 3.2rem;
  padding: .75rem .8rem; border: 2px solid var(--green-100); border-radius: 14px; background: #f5fbfb;
  line-height: 1.3; transition: border-color .15s, background .15s, transform .15s;
}
.option-grid:not(.option-grid-small) .option span { min-height: 4.6rem; }
.option:hover span { border-color: var(--green-500); background: #fff; transform: translateY(-1px); }
.option input:focus-visible + span { outline: 3px solid var(--green-500); outline-offset: 2px; }
.option input:checked + span { border-color: var(--accent); background: #eef6e6; color: var(--accent-dark); }

.wizard-nav { display: grid; grid-template-columns: auto 1fr; gap: .75rem; }
.wizard-foot { margin: 0; font-size: .86rem; color: var(--muted); text-align: center; }

/* Kontaktbereich unten: Verweis statt zweitem Formular */
.cta-box { align-content: start; }
.cta-box p { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .hero-anfrage .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "form" "checks"; }
  .hero-anfrage .lead { font-size: 1.08rem; }
}
@media (max-width: 640px) {
  .hero-anfrage { padding-top: 1.5rem; }
  .trust-chips li { font-size: .8rem; }
  .option-grid:not(.option-grid-small) .option span { min-height: 3.6rem; }
  .hero-call a { display: inline-block; }
}
@media (max-width: 400px) {
  .option-grid:not(.option-grid-small) { grid-template-columns: 1fr; }
}

/* Persisch / Dari: Titel des Fragebogens in der arabischen Schrift der Seite */
[lang="fa"] .wizard-title { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; line-height: 1.5; }
