When I put a footnote in a minipage, the footnote appears right after the text:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[left=2.00cm, right=3.00cm, top=1.00cm, bottom=1.00cm]{geometry}
\begin{document}
\begin{minipage}{0.5\linewidth}
Some text here\footnote{with a footnote}
\end{minipage}\hfill%
\begin{minipage}{0.45\linewidth}
\includegraphics[width=\linewidth]{example-image-a}
\end{minipage}
\end{document}
I would like it to appear the the bottom of the minipage, leaving some space between the normal text and the footnote. Ideally it should align with the bottom of the picture in the right minipage.
For normal text outside of a minipage I use the package footmisc with the option [bottom], but that's not working in the minipage, for some reason.
I have also tried egreg's solution with \valign instead of minipages, but the footnote does not appear.

[s]option stretch the text inside theminipagevertically so that, if it's any longer than just one line, it will add space between the lines of text as well? – Andyc May 01 '21 at 14:23[s], which increased line spacing. That's why I thought it was[s]that did the trick, but it's not. By the way, how do you paste the result of the code run? I tried once, but I got a lot of white space and it didn't look good. – Andyc May 01 '21 at 14:58