/* ---------------------------------------------------
   Container – Hintergrund wie im Screenshot
--------------------------------------------------- */
#anfrage {
  background: rgba(255, 255, 255, 0.95);
  padding: 64px;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------------------------------------------------
   Hauptüberschrift – sattes Schwarz
--------------------------------------------------- */
#anfrage span[style*="font-size: 32px"] {
  color: #000000 !important;
  font-weight: 800 !important;
  text-align: center !important;
  display: block;
  margin-bottom: 24px;
}

/* ---------------------------------------------------
   Labels linksbündig ausrichten
--------------------------------------------------- */
#anfrage label,
#anfrage .form-label,
#anfrage p {
  text-align: left !important;
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

/* ---------------------------------------------------
   Inputfelder
--------------------------------------------------- */
#anfrage input,
#anfrage textarea,
#anfrage select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.25s ease;
  margin-bottom: 18px;
}

#anfrage input:focus,
#anfrage textarea:focus,
#anfrage select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  outline: none;
}

/* ---------------------------------------------------
   NEU: Zweispaltiges Layout (Name + Firma, E-Mail + Telefon)
--------------------------------------------------- */
#anfrage .cf7-row {
  display: flex;
  gap: 24px;
  width: 100%;
  margin-bottom: 18px;
}

#anfrage .cf7-col {
  flex: 1;
}
#anfrage .cf7-row {
  display: flex;
  gap: 24px;
  width: 100%;
  margin-bottom: 18px;
}

#anfrage .cf7-col {
  flex: 1;
}

/* ---------------------------------------------------
   Checkbox
--------------------------------------------------- */
#anfrage input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

#anfrage .wpcf7-acceptance label {
  font-weight: 400;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* Link in Datenschutzerklärung */
#anfrage a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

#anfrage a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------
   Submit-Button
--------------------------------------------------- */
#anfrage input[type="submit"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  padding: 18px 32px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

#anfrage input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* ---------------------------------------------------
   Responsive – unter 968px alles einspaltig
--------------------------------------------------- */
@media (max-width: 968px) {
  #anfrage .cf7-row {
    flex-direction: column;
    gap: 0;
  }

  #anfrage { padding: 40px 24px; }
}