\documentclass[twoside, a5paper, fontsize=10pt, parskip=no, DIV=calc,%
openany,%
numbers=noenddot,footsepline=false,BCOR=10truemm,footinclude=false,headinclude=true]{scrbook}
\usepackage[cam,width=158truemm,height=220truemm,center]{crop}
\pagestyle{headings}

\usepackage[ngerman]{babel}
\usepackage{fontspec}
\setmainfont{CMU Serif}

\KOMAoptions{DIV=last}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{subcaption}
\usepackage[rightcaption]{sidecap}

%\usepackage{showframe}
\usepackage{xcolor}
\usepackage[font=itshape]{quoting}
\usepackage[colorlinks=true,
            linkcolor=black,
            citecolor=black,
            filecolor=black,
            urlcolor=black]{hyperref}
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\newcommand{\chapdate}[1]{\setchapterpreamble[ul]{\hfill\textcolor{gray}{\texttt{\textit{#1}}}}}
\newenvironment{remark}
    {\begin{minipage}{\dimexpr\textwidth-3cm}
        \begin{itshape}
        \color{gray}
    }
    {
      \end{itshape}
    \end{minipage}
    }
\addtokomafont{disposition}{\ttfamily}
\addtokomafont{pageheadfoot}{\ttfamily}
\addtokomafont{pagenumber}{\ttfamily}

\usepackage{zref-abspage}% absolute page counter
\newwrite\figpages
\openout\figpages=\jobname.fpg

\newcommand{\mycap}[1]{\caption*{\write\figpages{\number\value{abspage}}#1}}


% TOC Styles
\KOMAoptions{toc=chapterentrydotfill}

\DeclareTOCStyleEntry[dynnumwidth=true]{tocline}{part}
\DeclareTOCStyleEntry[dynnumwidth=true, indent=2em]{tocline}{chapter}

% \RedeclareSectionCommand[tocdynnumwidth]{chapter}
% \RedeclareSectionCommand[tocdynnumwidth]{part}
% \DeclareTOCStyleEntry[]{largetocline}{part}
\RedeclareSectionCommand[%
  tocpagenumberbox=\blankbox
]{part}
\newcommand\blankbox[1]{}% do nothing

\addtokomafont{chapterentry}{\footnotesize}
\addtokomafont{chapterentrydots}{\footnotesize}

\graphicspath{ {../images/} }
\usepackage{caption}
\captionsetup[figure]{font={small}}
% \captionsetup{belowskip=0pt}
% \captionsetup{aboveskip=pt}
\setlength{\floatsep}{0pt plus 8.0pt minus 0.0pt}
\renewcommand{\floatpagefraction}{1}

\title{Valentin in Neuseeland}
\subtitle{Funkspr\"uche an die Heimat}
\author{Valentin Boettcher}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\cleardoubleoddpage
