‘democratic’ is used today a lot of the time to describe neoliberal capitalist governments that are controlled (influenced greatly) by the capitalist class
for example we can look at somewhere like the US and point out how the majority of people in government are all rich capitalists and how through lobbying and campaign ‘donations’ and owning the media the capitalist class controls the government
marxists call this kind of state a dictatorship of the bourgeoisie (capital), as opposed to a dictatorship of the proletariat (workers)
dictatorship here meaning general ‘rule’ not the specific meaning that the word has taken on more recently
so ‘democratic’ capitalist countries that exist today are under the “rule of the capitalist class” or “dictatorship of capital”
so if you wanted an actual democratic (in the real sense of the word) government, you’d need a government which is controlled by the majority of people, that is, the workers, a dictatorship of the proletariat
under such a system capitalists cannot be allowed to have influence on the government, which is something that is not really possible unless you implement tight capital controls like they do in China
the reason being that capital flight is a very real threat to a capitalist economy, and having that power over a government lets the capitalist class dictate terms and change laws to be favorable to them despite what the majority of people might want.
so to answer your question, the only way to have a government with a capitalist system not be controlled by capitalists is through suppression of the capitalist class, if they are allowed to have influence then you no longer have actual democracy.
What exactly do you mean by “capitalist class”?
the class of people that makes a living through ownership of capital, they do not need to sell their labor, as opposed to workers which need to sell their labor to survive.
Is that only the people that dont work at all?
it is people who do not need to sell their labor to survive, they make their living through taking the surplus labor value that workers generate. (they may also choose to work, but this doesn’t change their position, they have a choice to work if they desire, unlike a worker which doesn’t have a choice)
And why cant those capitalists and the “working class” BOTH have power over the government?
because one class here has more leverage over the government, and so in a conflict of interest the government sides with the capitalist class as can be seen during any economic crisis (or crisis of any kind really) where austerity measures are immediately implemented and worker rights are rolled back.
how does each member of the “capitalist class” have any more influence on the government than each member of the “working class”?
they do on average, but you’ll easily be able to find a small capitalist that doesn’t have more power than you to control the government.
the thing is, here we are talking classes and class interests, if those who control the government belong to the capitalist class then the government will do things that benefit most members of the capitalist class, there doesn’t need to be direct control by every single capitalist for them to benefit from capitalist control over the government.
to give an example, regulatory protections to protect employees from hazardous working conditions may be removed through the direct influence of amazon or some other large corporation, but, smaller capitalist corporations also benefit from this as they stop having to take on the cost of providing a safer working environment (they can exploit their workers more fully), in this way, the government is controlled by capitalist, but not every capitalist controls the government, yet the government works for the benefit of the entire capitalist class.