I’m sorry to read of your situation. You write ‘threatening to terminate my rental agreement’. So at this point, I understand that you have not been given a cancellation (Kündigung) of the rental contract but a threat to do so.
There are no clear rules throughout Germany on the times you have to be quiet in your home (Ruhezeiten). They vary depending on federal state, town and sometimes the individual building. If your building has specific rules, then it must be in the Hausordnung (like general rules for everyone in the building) or in your rent contact. Otherwise, the rules will be the ones local to your area. Maybe you can research ‘Ruhezeiten’ and your area to know exactly? To me 8 a.m. seems quite late to be expected to keep quiet, it is usually until 6 or 7 a.m. at the latest. After 10 p.m. is standard practice. Does the lawyer make reference to specific rules regarding the 8 a.m. time?
On what basis are you being asked to pay your landlord’s legal fee? If you wish to have expert advice on this, you can **** for a free legal advice service in your area. For example, in Berlin each district has a special advisory service for tenants:
You also have the option to become a member of a tenant’s association. These organisations can offer legal advice and assistance with everything to do with your rent contract. You pay a membership fee to join of around 100€ a year (this varies depending on the specific organisation) and then they help you with any issues you have.
Here you can search for one in your area:
You can also seek out a lawyer for tenancy law (Mietrecht) but this is likely to cost more. Depending on your income, you may be entitled to free legal advice (Beratungshilfe).
As you also write of being discriminated against, you can contact the Federal Anti-Discrimination Agency for advice. They help in English and for free. They can also help you find an anti-discrimination office local to you: