The invention relates to compounds of the formula (I) which are inhibitors of activated thrombin-activable fibrinolysis inhibitor. The compounds of the formula I are suitable for producing medicaments for prophylaxis, secondary prevention and treatment of one or more disorders associated with thromboses, embolisms, hypercoagulability or fibrotic changes.