I think you've got a few things going on... I appreciate this advice is unsolicited but here goes.
Do away with the calorie counting... I think you've hit fatigue with it (I certainly had) and it leads to a bit of an all or nothing mindset. If you're going to be on track with your calories for the day then all is sunshine and rainbow.. if you're not going to be... then you seem to hit the "**** it" button and go way overboard on food / beers / wine.
My approach lately has been 3 proper meals a day where possible, meat/protein, veg/fruit, carbs - eat mindfully and don't take the ****. Try to eat for volume and quality and you should reduce your need to snack as well. If you feel the need to snack... sit with it for 20 / 30 minutes while doing something to distract yourself (work / house work / run an errand) and suddenly you will no longer need it and its that time closer to your next meal anyway! Or if you really need it, an apple is a great snack, or drink an americano, maybe your mouth is just lonely.
Drinking - tough love, if you're serious about your weight and more importantly your health, you just can't be helping yourself to a full bottle of red wine by yourself on the regular, that's all their is too it. Try to limit any drinking to with dinner at the weekends as a way to signal the end of the week and some relaxation, or when you're attending events/
Feel free to tell me to do one but trying to get some easy not over restrictive structure in place is key for you - all or nothing mindset is something ive really struggled with.