/* ==========================================================
   Ergänzungen: Kontaktformular, Kontaktinfos, Hinweise
   ========================================================== */

/* --- Beschriftungen und Felder --- */
.cs_form_label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--heading-color);
}
.cs_form_label .cs_required {
  color: var(--accent-color);
}
.cs_form_label .cs_optional {
  font-weight: 400;
  font-size: 13px;
  color: var(--body-color);
}
select.cs_form_field {
  height: 50px;
  padding: 10px 44px 10px 20px;
  color: var(--heading-color);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23636363' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
input.cs_form_field {
  height: 50px;
}
.cs_form_field::placeholder {
  color: #9a9a9a;
}
.cs_form_field:focus-visible,
.cs_choice input:focus-visible,
.cs_consent input:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
.cs_form_field.is-invalid {
  border-color: #c0392b;
  background-color: #fff7f6;
}
.cs_field_error {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #b03a2e;
}
.cs_field_error:empty {
  display: none;
}
.cs_form_hint {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--body-color);
}
.cs_form_meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cs_char_count {
  flex: none;
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--body-color);
}

/* --- Auswahl Kontaktweg --- */
.cs_choice_group {
  border: 0;
  margin: 0;
  padding: 0;
}
.cs_choice_group legend {
  float: none;
  width: auto;
  margin-bottom: 6px;
  font-size: 15px;
}
.cs_choice_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.cs_choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cs_choice input,
.cs_consent input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--accent-color);
  cursor: pointer;
}

/* --- Einwilligung --- */
.cs_consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}
.cs_consent input {
  margin-top: 3px;
}
.cs_consent a {
  color: var(--accent-color);
  text-decoration: underline;
}
.cs_consent.is-invalid {
  color: #b03a2e;
}

/* --- Rückmeldung nach dem Absenden --- */
.cs_form_status {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
}
.cs_form_status:empty {
  display: none;
}
.cs_form_status.is-success {
  border: 1px solid var(--accent-color);
  background-color: #eaf6e8;
  color: #1f4f1b;
}
.cs_form_status.is-error {
  border: 1px solid #e3a39c;
  background-color: #fdeeec;
  color: #7d2219;
}
.cs_form_status i {
  margin-right: 8px;
}
.cs_contact_form .cs_btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* --- Hinweis für Krisen --- */
.cs_crisis_note {
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid var(--accent-color);
  border-radius: 0 6px 6px 0;
  background-color: rgba(64, 153, 57, 0.08);
  font-size: 14px;
  line-height: 1.5;
}
.cs_crisis_note a {
  color: inherit;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Kontaktinfos (Kontaktseite) --- */
.cs_contact_info_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .cs_contact_info_list {
    grid-template-columns: 1fr;
  }
}
.cs_contact_info {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  height: 100%;
  padding: 24px;
  border-radius: 12px;
  background-color: #f2f6f1;
}
.cs_contact_info_icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--white);
  font-size: 18px;
}
.cs_contact_info h3 {
  margin-bottom: 4px;
  font-size: 18px;
}
.cs_contact_info p {
  margin: 0;
}
.cs_contact_info a {
  color: var(--accent-color);
  word-break: break-word;
}

/* Bots sehen das Feld, Menschen nicht */
.cs_hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
