\documentclass[a4paper,10pt,parskip=half,enlargefirstpage]{scrlttr2}
\usepackage{cmap}
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
\usepackage[right]{eurosym}
\usepackage{times}
\usepackage{pgf}

\pdfcompresslevel=9

%% hyperref (hyperlinks in PDF): for more options or more detailed
%%          explanations, see the documentation of the hyperref-package
\usepackage[%
%%% general options
pdftex=true,      %% sets up hyperref for use with the pdftex program
%plainpages=false, %% set it to false, if pdflatex complains: ``destination with same identifier already exists''
%
%%% extension options
backref=false,      %% if true, adds a backlink text to the end of each item in the bibliography
pagebackref=false, %% if true, creates backward references as a list of page numbers in the bibliography
colorlinks=false,   %% turn on colored links (true is better for on-screen reading, false is better for printout versions)
%
%%% PDF-specific display options
bookmarks=false,          %% if true, generate PDF bookmarks (requires two passes of pdflatex)
bookmarksopen=false,     %% if true, show all PDF bookmarks expanded
bookmarksnumbered=false, %% if true, add the section numbers to the bookmarks
%pdfstartpage={1},        %% determines, on which page the PDF file is opened
pdfpagemode=None         %% None, UseOutlines (=show bookmarks), UseThumbs (show thumbnails), FullScreen
]{hyperref}

\hypersetup{
  pdftitle={realraum Brief}, %%
  pdfauthor={realraum}, %%
  pdfsubject={}, %%
  pdfcreator={Accomplished with LaTeX2e and pdfLaTeX with hyperref-package.}, %%
  pdfproducer={}, %%
  pdfkeywords={} %%
}

\KOMAoptions{%
%%% Platzierung des Absenders:
%%% center, left, right, false
  fromalign=false,
%%% Linie unter dem Absender:
%%% afteraddress, aftername, false
  fromrule=afteraddress,
%%% Telefonnummer anzeigen:
%%% true, false
  fromphone=true,
%%% Faxnummer anzeigen:
%%% true, false
  fromfax=true,
%%% E-Mailadresse anzeigen:
%%% true, false
  fromemail=true,
%%% URL anzeigen:
%%% true, false
  fromurl=false,
%%% Logo anzeigen:
%%% true, false
  fromlogo=false,
%%% Anschriftfeld setzen:
%%% true, false
  addrfield = true,
%%% Faltmarken anzeigen:
%%% true, false
  foldmarks=false,
%%% Setzen der Rcksendeadresse im Addressfeld:
%%% true, false
  backaddress=true,
%%% numerisches Datum:
%%% true, false
  numericaldate=false,
  footsepline=true
}

 \input{sender-realraum.tex}


\setkomavar{subject}{%
  
}

%%% custom date
\setkomavar{date}{\today%
}
\makeatletter
\@setplength {firstheadvpos}{1.5cm}
\@setplength {firstheadwidth}{15.5cm} % Kopfbreite
\@setplength {toaddrindent}{0.25cm}
\@setplength {fromrulewidth}{11.5cm} % Linienlänge
%\@setplength {toaddrhpos}{2.3cm} % horizontale Ausrichtung d. Adressfeldes
\@setplength {toaddrhpos}{2.2cm}
\@setplength {sigbeforevskip}{1cm} % vertikaler Abstand Grußformel - Signatur
\@setplength {refvpos}{10cm} % vertikale Ausrichtung des Textkörpers
\@setplength{sigindent}{90mm}
\@setplength{firstfootvpos}{275mm}
\@setplength{firstfootwidth}{\textwidth}
\makeatother

\begin{document}
% If you want headings on subsequent pages,
% remove the ``%'' on the next line:
% \pagestyle{headings}

\begin{letter}{Firma / Person\\
Straße\\
PLZ Ort}

\opening{ Sehr geehrter }

\smallskip

%\encl{}

\end{letter}
\end{document}
