%!TeX program=lualatex
\RequirePackage{luatex85}
\documentclass[parskip=full,fontsize=11pt,ngerman]{scrartcl}
\RequirePackage{fontspec}
\RequirePackage{unicode-math}
\RequirePackage[proportional=true]{libertine}%
%\setmainfont{Linux Biolinum}
\usepackage{microtype}
%\usepackage{biolinum}
\usepackage{babel}

\usepackage{xcolor}

\usepackage[a4paper,margin=0mm]{geometry}

\ExplSyntaxOn
\dim_new:N \g_poster_bleed_dim
\dim_gset:Nn \g_poster_bleed_dim { 3mm }
\usepackage[center,color=gray]{ crop }
\use:c {CROP@size}
	{\dim_eval:n {\paperwidth+2\g_poster_bleed_dim}}
	{\dim_eval:n {\paperheight+2\g_poster_bleed_dim}}


\tl_new:N \g_trim_values_tl
\tl_set:Nx \g_trim_values_tl {
	\dim_to_decimal_in_bp:n {\g_poster_bleed_dim} ~
	\dim_to_decimal_in_bp:n {\g_poster_bleed_dim} ~
	\dim_to_decimal_in_bp:n { \paperwidth + \g_poster_bleed_dim } ~
	\dim_to_decimal_in_bp:n { \paperheight + \g_poster_bleed_dim }
}

\tl_new:N \g_trim_pageattr_tl
\tl_set:Nx \g_trim_pageattr_tl {
	/TrimBox ~ [ \g_trim_values_tl]
}

\cs_new:Npn \set_pdfpageattr:n #1 {
	\pdfpageattr { #1 }
}
\cs_generate_variant:Nn \set_pdfpageattr:n { V }

\set_pdfpageattr:V \g_trim_pageattr_tl


\ExplSyntaxOff

%\usepackage[cam,b4,
%%width=216truemm,height=303truemm,
%center,color=gray]{crop}



%\usepackage[cam,a4,center,dvips]{crop}
%\usepackage{dtk-logos}

%  \setsansfont
%[
%UprightFont    = *_R ,
%ItalicFont     = *_RI ,
%BoldFont       = *_RB , 
%BoldItalicFont = *_RBO , % oblique to fake italic
%] {LinBiolinum}
%\def\DTKrmFontName{Linux Libertine}%
%\def\DTKsfFontName{Linux Biolinum}%
%\setmathfont{XITSMath}[Scale=0.9,math-style=TeX,bold-style=TeX]%
%\def\DTKmathFontName{XITS Math}%
%\setmonofont{AnonymousPro}[Scale=0.955,FakeStretch=0.87]%
%\def\DTKttFontName{Anonymous Pro}%
%\setmonofont{DejaVuSansMono}[Scale=0.81,FakeStretch=0.9]%
%\def\DTKttFontName{DejaVu Mono}%	



\usepackage{dantelogo}
\usepackage{graphicx}

\usepackage{tikz}
\usepackage[hidelinks]{hyperref}
\usepackage{qrcode}

\definecolor{basis}{HTML}{cfa481}

\colorlet{text}{basis!80}

\definecolor{rostbasis}{HTML}{dd7457}
\colorlet{rost}{rostbasis}



\color{text}

\newsavebox\dantelogobox
\begin{lrbox}\dantelogobox
\resizebox{15cm}{!}{%
\dantelogo}
\end{lrbox}

\let\familydefault\sfdefault

\makeatletter
\providecommand\eV{e.$\,$\kern-0.18em{}V\kern-0.18em\@ifnextchar.{}{.}\kern0.18em}
\makeatother


\pagecolor{black}
\begin{document}
\ExplSyntaxOn

\settowidth\l_tmpa_dim{Deutschsprachige Anwendervereinigung \TeX{} e.V.}

\fp_new:N \g_fontsizescaler_fp 
\fp_set:Nn  \g_fontsizescaler_fp  {11pt*\wd\dantelogobox/\l_tmpa_dim}

%\fp_show:N \g_fontsizescaler_fp

\edef\specialfontsize{\fp_to_dim:n {\g_fontsizescaler_fp}}

%\show\specialfontsize

\ExplSyntaxOff	
\fontsize{\specialfontsize}{\specialfontsize}\selectfont

%\addfontfeature{SmallCapsFeatures={LetterSpace=50}}

%\newfontfamily
%[ Numbers = {\libertine@figurealign,\libertine@figurestyle},
%UprightFont    = *_R,
%ItalicFont     = *_RI,
%BoldFont       = *_\libertine@boldstyle, 
%BoldItalicFont = *_\libertine@boldstyle I,
%LetterSpace=12.5,
%] {\libertine@base}

%\newfontfamily{\keyWord}[LetterSpace=12.5]{LinLibertine}
\def\keyWord{\rmfamily\scshape\addfontfeatures{LetterSpace=12.5}}
\begin{tikzpicture}
\useasboundingbox[fill=black](-.5\paperwidth,0)rectangle(.5\paperwidth,\paperheight);
%\node[inner sep=0pt,anchor=south] at (0,0) {\includegraphics[width=\paperwidth]{superhero.jpg}};
\node[inner sep=0pt, anchor=south] at (0,0) {\includegraphics[width=\paperwidth]{bild/superhero-CMYK.jpg}};
\node[text=text,anchor=north] (logo) at (0,.95\paperheight) {\usebox\dantelogobox};
\node[text=text,anchor=north] (name) at (logo.south) {\resizebox{\wd\dantelogobox}{!}{Deutschsprachige Anwendervereinigung \TeX\ \eV}};
\node[text=text,anchor=north] (event) at ([yshift=-1cm]name.south) {\resizebox{\wd\dantelogobox}{!}{Frühjahrstagung 2018}};
\node[text=text,anchor=north,font=\fontsize{\specialfontsize}{\specialfontsize}\selectfont] (date) at (event.south) {4.\kern.05em--\kern.05em6. April, Universität Passau};
%\begin{scope}[anchor=base west,text=rost,text opacity=.5,font=\keyWord,inner ysep=5mm]
%\node (programmierung) at (-.5\paperwidth,.37\paperheight) {Programmierung};
%\node (typo) at (programmierung.north west){Typografie};
%\node (textsatz) at (typo.north west) {Schriftsatz};
%\node[font=\rmfamily] at (textsatz.north west) {\LaTeX};
%%{Dokumentengenerierung};
%\node at (-.5\paperwidth,.1\paperheight) {MarkUp};
%
%
%Textsatz
%Typografie
%

%\end{scope}
\node[anchor=south west,font={},inner sep=3pt] at (-.5\paperwidth,0) {\parbox{\dimexpr\linewidth-3.8cm\relax}{\Huge
Kostenlos für Schüler \& Studenten\\
\LARGE(inkl. Fahrtkostenerstattung bei vorheriger Anmeldung)\\
%Für Schüler \& Studenten:\\kostenlose Teilname${}+{}$Fahrtkostenerstattung bei vorheriger Anmeldung.\\
%Für Studenten ist nicht nur die Teilnahme kostenlos sondern \dantelogo~e.\,V. erstattet auch die Fahrtkosten bei vorheriger Anmeldung
%\\\rule{\linewidth}{1pt}
Weitere Informationen \& Anmeldung:\\\url{https://www.dante.de/events/dante2018.html}}%
};
\node[anchor=south east,inner sep=3pt] at (.5\paperwidth,0) {\qrcode[height=2.8cm]{https://www.dante.de/events/dante2018.html}};
\end{tikzpicture}
%\usebox\dantelogobox
%
%\resizebox{\wd\dantelogobox}{!}{Deutschsprachige Anwendervereinigung TeX e.\,V.}
%
%Frühjahrstagung,  4.--6. April 2018, Universität Passau
%
%{\csname dante@font\endcsname
%		\selectfont
%		2018}2018
\end{document}