% Präferenzmatrix
\begin{figure}
\centering
\begin{tikzpicture}[
    text depth=0.7ex,
    text height=2.3ex,
    ]
  \matrix (m) [
      matrix of nodes,
      row sep=0pt,
      column sep=0pt,
      minimum width=3ex,
      text depth=.5ex,
      text height=2ex,
      inner sep=.25ex,
      nodes={fill=mbg},
      font=\ttfamily,
      align=center,
      row 1/.style={nodes={fill=white},font=\bfseries},%erste Zeile
      mbbspalte/.style={%Einstellungen für die ersten 4 Spalten
        text width=#1,
        font=\rmfamily,
        every even row/.style={nodes={fill=mbb}}
      },
      column 1/.style={mbbspalte=1.25*width("Rang")},
      column 2/.style={mbbspalte=1.25*width("Gewicht"),column sep=1ex},
      column 3/.style={mbbspalte=1.25*width("Anzahl"),column sep=1ex},
      column 4/.style={mbbspalte=1.25*width("Nr."),font=\ttfamily},
      column 5/.style={text width=width("Das ist ein Testkriterium")+2pt,font=\rmfamily},
     % row 11/.style={nodes={fill=mbs}},%letzte Zeile mit anderer Farbe gefüllt
    ]
  {% überall dort wo ein Node sein soll, muss wenigstens {} stehen

    Rang&Gewicht&Anzahl &Nr.& Bewertungskriterium \\
    {1}&{0,1818}&{10}&a&Barrierefreiheit\\
      &  &  & &                         &{a}\\
    {7}&{0,0727}&{4}&b&Produktionskosten&  &{a}\\
      &  &  & &                         &{c}&  &{a}\\
    {3}&{0,1454}&{8}&c&Ergonomie&  &{d}&  &{a} \\
      &  &  & &                         &{d}&  &{b}&  &{a}\\
    {2}&{0,1636}&{9}&d&Gewicht&  &{c}&  &{b}& &{a}\\
      &  &  & &                         &{d}&  &{c}&  &{g}&  &{a}\\
    {8}&{0,0545}&{3}&e&Fertigungsgerechtigkeit&  &{d}&  &{c}&  &{b}&  &{a} \\ 
      &  &  & &                         &{e}&  &{d}&  &{c}&  &{i}&  &{a}\\
    {9}&{0,0181}&{1}&f&Montage&  &{g}&  &{d}&  &{c}&  &{b}&  &{a} \\ 
      &  &  & &                         &{g}&  &{e}&  &{d}&  &{c}&  &{k}\\
    {5}&{0,1091}&{6}&g&Instandhaltung&  &{f}&  &{i}&  &{d}&  &{c} \\
      &  &  & &                         &{g}&  &{i}&  &{e}&  &{d}\\
    {9}&{0,0181}&{1}&h&Betriebskosten&  &{g}&  &{j}&  &{k} \\
      &  &  & &                         &{i}&  &{g}&  &{k}\\
    {6}&{0,0909}&{5}&i&Nachhaltigkeit&  &{h}&  &{k} \\
      &  &  & &                         &{i}&  &{k}\\
    {9}&{0,0181}&{1}&j&Brandschutzpotenzial&  &{k} \\
     &  &  & &                         &{k}\\
    {4}&{0,1272}&{7}&k&Lebensdauer\\[1ex]
      &{0,9995}&{55}\\
  };
  %Umrandungen
  \foreach \c in {1,...,5}% für erste Zeile
    \draw(m-1-\c.north west)rectangle
      ([yshift=\pgflinewidth,xshift=-\pgflinewidth]m-1-\c.south east);
  \foreach \c in {1,...,4}% für die ersten vier Spalten
    \draw(m-1-\c.north west)rectangle
      ([yshift=\pgflinewidth,xshift=-\pgflinewidth]m-10-\c.south east);
\end{tikzpicture}
\caption{Zielpräferenzmatrix}
\label{fig:Zielpräferenzmatrix}
\end{figure}
