I have some introduction text and a figure at the end of the first page. Now I want to place a framed notes box between those parts, that may go over to the next page. But I want the frame to fill the whole remaining of the page
\documentclass[a4paper,10pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{framed}
\begin{document}
\fbox{\parbox{7cm}{%
Eingangsdatum:\hfill 19.03.2018\\
Bearbeiter:\hfill\textbf{PMI}
}}
\begin{figure}[b]
\fbox{\parbox{9cm}{%
Ergebnis
}}
\end{figure}
\begin{framed}
\textbf{Anmerkungen:}\\
%% what to do to expand the frame to the top of the figure-box?
%% or, if the notes are longer than one page, expand to the
%% bottom of the page
\end{framed}
\end{document}

