\usepackage[absolute]{textpos}
\usepackage{setspace}

\newcommand{\hsamaketitle}{%
  \let\sphinxrestorepageanchorsetting\relax
  \ifHy@pageanchor\def\sphinxrestorepageanchorsetting{\Hy@pageanchortrue}\fi
  \hypersetup{pdfauthor={\@author},
              pdftitle={\@title},
              pdfsubject={\subtitle},
              pdfkeywords={Forschung, Entwicklung, Informatik},
  }
  \hypersetup{pageanchor=false}% avoid duplicate destination warnings
  \begin{titlepage}
	% Deckblatt - Hochschule Augsburg
    \thispagestyle{empty}\null
    % Logo - Hochschule Augsburg - Informatik
    \begin{textblock}{10}(8.0,1.1)
    \begin{figure}[h]
        \centering
            \includegraphics[width=0.45\textwidth]{hsa_informatik_logo_lq.pdf}
    \end{figure}

    \end{textblock}

    % Text unter Logo
    \begin{textblock}{15}(12.43,2.4)
        \LARGE
        \textsf{
            \textbf{\textcolor[rgb]{1,0.41,0.13}{\\
                \begin{flushleft}
                    Fakultät für\\
                    Informatik\\
                \end{flushleft}
                }
            }
        }
    \end{textblock}

    % Textbox links - Informationen
    \begin{textblock}{15}(2,2)
        %\LARGE
        \begin{flushleft}
            \begin{spacing} {1.2}
                \huge
                    \textbf{\@title}
                    \vspace{30pt}
                    \textcolor[rgb]{1,0.41,0.13}{\\
                    \textbf{\subtitle}}\\
                    \vspace{60pt}
                \LARGE
                    Studienrichtung\\
                    \hscourse\\
                    \vspace{30pt}
                    \@author\\
                    \vspace{60pt}
                \LARGE
                    Prüfer: \examiner\\
                    \vspace{10pt}
                    Abgabedatum: \deadline\\
                \end{spacing}
            \end{flushleft}

    \end{textblock}



    % Textbox rechts - Hochschule
    \begin{textblock}{5}(12.45,8.0)
        \textcolor[rgb]{1,0,0}{\\
            \footnotesize
            \begin{flushleft}
                \begin{spacing} {1.3}
                    Hochschule f\"ur angewandte\\
                    Wissenschaften Augsburg\\
                    \vspace{4pt}
                    An der Hochschule 1\\
                    D-86161 Augsburg\\
                    \vspace{4pt}
                    Telefon +49 821 55 86-0\\
                    Fax +49 821 55 86-3222\\
                    www.hs-augsburg.de\\
                    info(at)hs-augsburg-de
                \end{spacing}
            \end{flushleft}
            }
    \end{textblock}


    % Textbox rechts mitte - Fakultät
    \begin{textblock}{5}(12.45,11.4)
        \footnotesize
        \begin{flushleft}
                \begin{spacing} {1.3}
                    Fakult\"at f\"ur Informatik\\
                    Telefon +49 821 55 86-3450\\
                    Fax \hspace{10pt} +49 821 55 86-3499\\
                \end{spacing}
        \end{flushleft}
    \end{textblock}
  \end{titlepage}%
  \setcounter{footnote}{0}%
  \let\thanks\relax\let\maketitle\relax
  %\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
  \clearpage
  \ifdefined\sphinxbackoftitlepage\sphinxbackoftitlepage\fi
  \if@openright\cleardoublepage\else\clearpage\fi
  \sphinxrestorepageanchorsetting
}
