What happens when input prices or quantity targets change, and what are the differences between total, variable and fixed costs?