/* Förderverein St. Martin – Formular-Styling */

.wpcf7 .cf7-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8ece8;
}

.wpcf7 .cf7-section h3 {
  font-size: 0.82rem;
  font-weight: bold;
  color: #3a6c3a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-left: 3px solid #e85d3a;
  padding-left: 8px;
  margin-bottom: 1rem;
}

.wpcf7 .cf7-row.cf7-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .wpcf7 .cf7-row.cf7-cols-2 { grid-template-columns: 1fr; }
}

.wpcf7 .cf7-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0.75rem;
}

.wpcf7 .cf7-field label {
  font-size: 0.72rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wpcf7 .cf7-narrow { max-width: 220px; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 input[type="number"],
.wpcf7 select {
  border: 1.5px solid #d0d8d0 !important;
  border-radius: 7px !important;
  padding: 0.5rem 0.7rem !important;
  font-size: 0.9rem !important;
  width: 100% !important;
  transition: border-color 0.15s;
}

.wpcf7 input:focus,
.wpcf7 select:focus {
  border-color: #4a8c4a !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(74,140,74,0.12) !important;
}

.wpcf7 .cf7-hint {
  background: #e8f4f8;
  border-left: 3px solid #4a7c9e;
  border-radius: 7px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: #2a5a7a;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.wpcf7 .cf7-hint-small {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.wpcf7 input[type="submit"] {
  background: #4a8c4a !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.8rem 2.5rem !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  width: 100% !important;
  margin-top: 0.5rem !important;
}

.wpcf7 input[type="submit"]:hover {
  background: #3a6c3a !important;
}