\documentclass[a4paper, 11pt]{article}

% Alla paket
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage{graphicx}
\usepackage{svg}
\usepackage{geometry}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage[hidelinks]{hyperref}
\usepackage{parskip}
\usepackage{fontspec}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{calc}
\setmainfont{Carlito}

\geometry{
    a4paper,
    left=2cm,
    right=2cm,
    top=3.5cm,
    bottom=3cm,
    headheight=3cm,
}

\pagestyle{fancy}
\fancyhf{}
\fancyfoot[R]{Sida \thepage{} av \pageref{LastPage}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt}

\begin{document}

% Titelsida
\begin{titlepage}
    \thispagestyle{empty}
    \vspace*{\stretch{1}}
    \begin{center}
        {\Huge\bfseries Samlingsdokument: Styrdokument\par}
        \vspace{1.5cm}
        {\large Genererat: \today}
    \end{center}
    \vspace*{\stretch{2}}
\end{titlepage}

% TOC
\newpage
\tableofcontents
\newpage

% Inledning från markdown (genererad med pandoc)
\input{samlingsdokument-intro.tex}

% Inkludera varje dokument
\newpage
\input{tex_dokument/policy1.tex}
\newpage
\input{tex_dokument/policy2.tex}
\newpage
\input{tex_dokument/riktlinje1.tex}

\end{document}

