/* ====================================================================
   Daum Immobilien GmbH – Kundenportal
   Grundgestaltung nach dem Corporate Design (Richtung A).
   Farben und Maße: theme/variables.css · Schrift: theme/fonts.css
   ==================================================================== */

/* ---------- Grundlagen ------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  color: var(--schrift);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
.icon { flex-shrink: 0; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }

a {
  color: var(--messing-dunkel);
  text-decoration: none;
}
a:hover { color: var(--tinte); text-decoration: underline; text-underline-offset: 3px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--fokus);
  outline-offset: 2px;
}

.zahl, .num { font-variant-numeric: tabular-nums; }
.nebentext { color: var(--warmgrau); }
.klein { font-size: 13px; line-height: 20px; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Label: kleine Überzeile, immer Großbuchstaben */
.label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--messing-dunkel);
}

/* ---------- Inhaltsseiten (im Rahmen des Portals) ---------------------- */

body.portal-seite {
  background: var(--kalkstein);
  padding: 40px var(--abstand-7) var(--abstand-7);
}

.inhalt {
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  gap: var(--abstand-5);
}
.inhalt-schmal { max-width: 720px; }

/* Abschnittskopf */
.seitenkopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--abstand-5);
  flex-wrap: wrap;
}
.seitenkopf-text {
  display: flex;
  flex-direction: column;
  gap: var(--abstand-2);
  min-width: 0;
}
.seitentitel {
  font-size: 26px;
  line-height: 34px;
  font-weight: 600;
  color: var(--tinte);
  letter-spacing: -0.005em;
}
.seitenkopf .lead,
.unterzeile {
  font-size: 15px;
  line-height: 22px;
  color: var(--warmgrau);
  max-width: 65ch;
}

/* ---------- Karte ------------------------------------------------------ */

.karte {
  background: var(--weiss);
  border: 1px solid var(--sandstein);
  border-radius: var(--ecke-0);
  padding: 22px 24px 24px;
  min-width: 0;
}
.karte-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--abstand-4);
  padding-bottom: 14px;
}
.karte-titel {
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--schrift);
}
.karte-link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--messing-dunkel);
  white-space: nowrap;
}
.karte-liste { padding-bottom: 8px; }

.raster-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--abstand-4);
  align-items: start;
}

/* ---------- Kennzahl --------------------------------------------------- */

.kennzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--abstand-4);
}
.kennzahl {
  display: flex;
  flex-direction: column;
  gap: var(--abstand-2);
  padding: 20px 22px;
  background: var(--weiss);
  border: 1px solid var(--sandstein);
  color: var(--schrift);
  min-width: 0;
}
a.kennzahl:hover { text-decoration: none; border-color: var(--warmgrau); color: var(--schrift); }
.kennzahl-titel {
  font-size: 13px;
  line-height: 20px;
  color: var(--warmgrau);
}
.kennzahl-wert {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  color: var(--tinte);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.kennzahl-wert .saldo-soll { color: var(--fehler); }
.kennzahl-zusatz {
  font-size: 13px;
  line-height: 20px;
  color: var(--warmgrau);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kennzahl-name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--schrift);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kennzahl-ort {
  font-size: 13px;
  line-height: 19px;
  color: var(--warmgrau);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Briefkasten-Kachel farblich abgehoben (gefuellt in Tintenblau) */
.kennzahl-brief {
  background: var(--tinte);
  border-color: var(--tinte);
  color: var(--weiss);
}
.kennzahl-brief .kennzahl-titel,
.kennzahl-brief .kennzahl-zusatz { color: var(--taubenblau); }
.kennzahl-brief .kennzahl-wert   { color: var(--weiss); }
a.kennzahl-brief:hover { border-color: var(--messing); color: var(--weiss); }

/* ---------- Zahlungsstatus -------------------------------------------- */
.zahlstatus {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: var(--abstand-4);
  background: var(--weiss);
  border: 1px solid var(--sandstein);
  border-left: 4px solid var(--warmgrau);
}
.zahlstatus-symbol {
  flex: 0 0 auto;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--kalkstein);
}
.zahlstatus-symbol svg { display: block; }
.zahlstatus-text { flex: 1 1 auto; min-width: 0; }
.zahlstatus-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.zahlstatus-titel { font-size: 16px; line-height: 26px; font-weight: 600; color: var(--tinte); }
.zahlstatus-betrag { font-size: 22px; line-height: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.zahlstatus-info { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--warmgrau); }
.zahlstatus-stand { white-space: nowrap; color: var(--warmgrau); }

.zahlstatus-ausgeglichen, .zahlstatus-guthaben { border-left-color: var(--erfolg); }
.zahlstatus-ausgeglichen .zahlstatus-symbol,
.zahlstatus-guthaben .zahlstatus-symbol { color: var(--erfolg); }
.zahlstatus-guthaben .zahlstatus-betrag { color: var(--erfolg); }

.zahlstatus-offen { border-left-color: var(--messing); }
.zahlstatus-offen .zahlstatus-symbol { color: var(--messing-dunkel); }
.zahlstatus-offen .zahlstatus-betrag { color: var(--messing-dunkel); }

@media (max-width: 560px) {
  .zahlstatus-stand { display: block; margin-top: 2px; }
}

/* ---------- Vorschreibung --------------------------------------------- */
.vorschreibung {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sandstein);
}
.vorschreibung .karte-titel { margin: 0 0 12px; }
.vs-tabelle .vs-pos { color: var(--schrift); }
.vs-tabelle tfoot td { font-variant-numeric: tabular-nums; }
.vs-tabelle tfoot .vs-zwischen td,
.vs-tabelle tfoot .vs-ust td { color: var(--warmgrau); }
.vs-tabelle tfoot .vs-gesamt td {
  font-weight: 600;
  color: var(--tinte);
  border-top: 2px solid var(--sandstein);
}
.vs-tabelle tfoot .vs-gesamt .betrag { font-size: 16px; }

/* ---------- Zahlungsweise / Bankverbindung ---------------------------- */
.zahlweise {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sandstein);
}
.zahlweise .karte-titel { margin: 0 0 10px; }
.zw-text { margin: 0 0 12px; font-size: 14px; line-height: 21px; color: var(--schrift); }
.zw-bank {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  margin: 0 0 12px;
  padding: 12px 16px;
  background: var(--sandstein);
  border-radius: 8px;
}
.zw-bank dt { color: var(--warmgrau); font-size: 13px; }
.zw-bank dd { margin: 0; color: var(--tinte); }
.zw-iban { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* ---------- Dokumentliste ---------------------------------------------- */

.dokliste { display: flex; flex-direction: column; }
.dok-zeile {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 100px 72px;
  align-items: center;
  column-gap: var(--abstand-2);
  min-height: 56px;
  border-top: 1px solid var(--sandstein);
  font-size: 15px;
  line-height: 20px;
}
.dok-zeile .dok-symbol { color: var(--warmgrau); }
.dok-zeile .dok-name { color: var(--schrift); padding: 10px 0; overflow-wrap: anywhere; }
a.dok-name:hover { color: var(--tinte); }
.dok-haupt { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 0; }
.dok-haupt .dok-name { padding: 0; }
.dok-kopfzeile { display: flex; align-items: center; gap: 8px; }
.dok-ordner {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--taubenblau);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dok-neu {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--weiss);
  background: var(--messing-dunkel);
  border-radius: 999px;
}
.dok-zeile .dok-datum { color: var(--warmgrau); font-variant-numeric: tabular-nums; }
.dok-zeile .dok-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--messing-dunkel);
}
.dok-kopf {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 100px 72px;
  column-gap: var(--abstand-2);
  align-items: center;
  min-height: 40px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: var(--warmgrau);
}
.dok-kopf a {
  color: var(--warmgrau);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dok-kopf a:hover, .dok-kopf a[aria-sort] { color: var(--tinte); text-decoration: none; }
.leer {
  padding: 16px 0 8px;
  border-top: 1px solid var(--sandstein);
  color: var(--warmgrau);
  font-size: 15px;
}

/* ---------- Aufklappbare Gruppe (Kategorie, Konto) --------------------- */

.gruppe {
  background: var(--weiss);
  border: 1px solid var(--sandstein);
}
.gruppen { display: flex; flex-direction: column; gap: var(--abstand-3); }

.gruppe-kopf {
  display: flex;
  align-items: center;
  gap: var(--abstand-4);
  min-height: 64px;
  padding: 12px 24px;
  color: var(--schrift);
  cursor: pointer;
}
a.gruppe-kopf:hover { text-decoration: none; color: var(--schrift); background: var(--kalkstein); }
.gruppe-kopf .gruppe-titel {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}
.gruppe-kopf .chevron {
  color: var(--warmgrau);
  transition: transform .15s ease;
}
.gruppe.offen > .gruppe-kopf .chevron { transform: rotate(180deg); color: var(--tinte); }
.gruppe.offen > .gruppe-kopf { border-bottom: 1px solid var(--sandstein); }
.gruppe-inhalt { padding: 8px 24px 24px; }
.gruppe-inhalt > .dokliste .dok-kopf { margin-top: 4px; }

/* ---------- Tabellen --------------------------------------------------- */

.tabelle-rahmen {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 20px;
  background: var(--weiss);
}
.tabelle th {
  text-align: left;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--warmgrau);
  padding: 10px 12px;
  border-bottom: 1px solid var(--sandstein);
  white-space: nowrap;
  vertical-align: bottom;
}
.tabelle td {
  padding: 12px;
  border-bottom: 1px solid var(--sandstein);
  vertical-align: middle;
}
.tabelle th:first-child, .tabelle td:first-child { padding-left: 0; }
.tabelle th:last-child,  .tabelle td:last-child  { padding-right: 0; }
.tabelle .r, .tabelle .betrag { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabelle .c { text-align: center; }
.tabelle tfoot td {
  font-weight: 600;
  border-top: 2px solid var(--tinte);
  border-bottom: 0;
  color: var(--tinte);
}
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle a { font-weight: 500; }

.saldo { white-space: nowrap; font-variant-numeric: tabular-nums; }
.saldo-soll { color: var(--fehler); }

/* ---------- Schaltflächen und Links ------------------------------------ */

.btn, button.btn, input[type=submit].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--abstand-2);
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--weiss);
  background: var(--tinte);
  border: 0;
  border-radius: var(--ecke-1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--tinte-70); color: var(--weiss); text-decoration: none; }
.btn:disabled, .btn[aria-disabled=true] { background: var(--sandstein); color: var(--warmgrau); cursor: default; }
.btn-klein { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-breit { width: 100%; }

/* Zweite Aktion: Rahmen in tinte, Grund weiss */
.btn-rahmen {
  background: var(--weiss);
  color: var(--tinte);
  box-shadow: inset 0 0 0 1px var(--tinte);
}
.btn-rahmen:hover { background: var(--kalkstein); color: var(--tinte); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: var(--abstand-2);
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tinte);
}
.textlink:hover { color: var(--messing-dunkel); text-decoration: none; }

/* ---------- Formulare -------------------------------------------------- */

.formular { display: flex; flex-direction: column; gap: 20px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label, .feld .feld-label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--schrift);
}
.feld .feld-hilfe { font-size: 13px; line-height: 20px; color: var(--warmgrau); }

input[type=text], input[type=password], input[type=email], input[type=number],
input[type=date], input[type=file], select, textarea {
  font-family: var(--font-sans);
  font-size: 16px;            /* kein Hineinzoomen auf iPhones */
  line-height: 22px;
  color: var(--schrift);
  background: var(--weiss);
  border: 1px solid var(--warmgrau);
  border-radius: var(--ecke-1);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}
input[readonly], input:disabled { background: var(--kalkstein); color: var(--warmgrau); border-color: var(--sandstein); }
input::placeholder { color: var(--warmgrau); opacity: 1; }
input[aria-invalid=true] { border-color: var(--fehler); }

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B665D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--tinte); }

/* ---------- Zustände: Badge und Meldung -------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 22px;
  font-weight: 600;
  padding: 0 10px;
  border-radius: var(--ecke-rund);
  border: 1px solid currentColor;
  background: var(--weiss);
  white-space: nowrap;
}
.badge-info    { color: var(--tinte-70); }
.badge-hinweis { color: var(--hinweis); }
.badge-erfolg  { color: var(--erfolg); }
.badge-fehler  { color: var(--fehler); }

.meldung {
  display: flex;
  align-items: flex-start;
  gap: var(--abstand-4);
  padding: 18px 20px;
  background: var(--weiss);
  border: 1px solid var(--sandstein);
  font-size: 15px;
  line-height: 22px;
}
.meldung .badge { margin-top: 0; }
.meldung-text { display: flex; flex-direction: column; gap: 4px; }
.meldung-text strong { font-weight: 600; color: var(--schrift); }
.meldung-text p { color: var(--schrift); }
.meldung-fehler  { border-color: var(--fehler); }
.meldung-erfolg  { border-color: var(--erfolg); }
.meldung-hinweis { border-color: var(--hinweis); }

/* Hinweisbox: was zu tun ist, Quadrate in messing */
.hinweisbox {
  display: flex;
  flex-direction: column;
  gap: var(--abstand-3);
  padding: 20px 24px;
  background: var(--kalkstein);
  font-size: 15px;
  line-height: 22px;
}
.hinweisbox .punkt { display: flex; gap: 14px; align-items: baseline; }
.hinweisbox .punkt::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--messing);
  transform: translateY(-1px);
}

/* Messingstrich über Kartentiteln */
.strich { width: 40px; height: 2px; background: var(--messing); }

/* ---------- Angabenliste (Begriff : Wert) ------------------------------ */

.angaben {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: var(--abstand-5);
  row-gap: 2px;
  font-size: 15px;
  line-height: 22px;
}
.angaben dt { color: var(--warmgrau); padding: 9px 0; }
.angaben dd { padding: 9px 0; color: var(--schrift); overflow-wrap: anywhere; }
.angaben dd a { font-weight: 600; }

/* ====================================================================
   Rahmen des Portals: Seitenleiste in tinte + Inhalt
   ==================================================================== */

body.portal-rahmen {
  background: var(--kalkstein);
  min-height: 100vh;
}

.portal {
  display: grid;
  grid-template-columns: var(--seitenleiste) minmax(0, 1fr);
  min-height: 100vh;
  /* Spalte der Seitenleiste bis ganz nach unten in tinte */
  background: linear-gradient(to right, var(--tinte) var(--seitenleiste), transparent var(--seitenleiste));
}

.seitenleiste {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--tinte);
  color: var(--taubenblau);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px 20px 24px;
}
.seitenleiste a:focus-visible,
.seitenleiste button:focus-visible { outline-color: var(--fokus-auf-tinte); }

.seitenleiste .logo {
  display: block;
  padding: 0 14px;
}
.seitenleiste .logo img {
  width: var(--logo-width);
  max-width: 100%;
  height: auto;
}

.menue-knopf { display: none; }

.nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav .nav-gruppe {
  padding: 0 14px 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taubenblau);
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--ecke-1);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--taubenblau);
  text-decoration: none;
}
.nav a:hover { color: var(--weiss); background: rgba(52, 73, 107, 0.55); }
.nav a[aria-current=page] { background: var(--tinte-70); color: var(--weiss); }

.nutzer {
  padding: 16px 14px 0;
  border-top: 1px solid rgba(143, 160, 184, 0.3);
  font-size: 13px;
  line-height: 19px;
  color: var(--taubenblau);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nutzer .nutzer-name { color: var(--weiss); font-weight: 500; }
.nutzer .abmelden {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--messing-hell);
}
.nutzer .abmelden:hover { color: var(--weiss); text-decoration: none; }

.portal-inhalt { min-width: 0; }
#serviceFrame {
  display: block;
  width: 100%;
  border: 0;
  min-height: 100vh;
  background: var(--kalkstein);
}

/* ---------- Schmale Bildschirme --------------------------------------- */

@media (max-width: 900px) {
  body.portal-seite { padding: 24px 16px 40px; }
  .seitentitel { font-size: 22px; line-height: 30px; }
  .raster-2 { grid-template-columns: minmax(0, 1fr); }
  .karte { padding: 18px 16px 20px; }
  .gruppe-kopf { padding: 12px 16px; gap: 12px; }
  .gruppe-inhalt { padding: 8px 16px 20px; }

  .portal { display: block; background: none; }
  .seitenleiste {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 8px 0 16px;
    min-height: 64px;
  }
  .seitenleiste .logo { padding: 0; }
  .seitenleiste .logo img { width: var(--logo-width-mobil); }

  .menue-knopf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--weiss);
    background: transparent;
    border: 0;
    border-radius: var(--ecke-1);
    cursor: pointer;
  }
  .menue-knopf .zu { display: none; }
  .menue-knopf[aria-expanded=true] .auf { display: none; }
  .menue-knopf[aria-expanded=true] .zu { display: block; }

  .nav, .nutzer { display: none; width: 100%; }
  .seitenleiste.offen .nav { display: flex; padding: 8px 0 12px; gap: 16px; }
  .seitenleiste.offen .nutzer { display: flex; padding: 14px 14px 18px; }
  .nav a { min-height: 48px; }
}

@media (max-width: 560px) {
  .dok-zeile, .dok-kopf { grid-template-columns: 24px minmax(0, 1fr) 64px; }
  .dok-zeile .dok-datum, .dok-kopf .dok-datum { display: none; }
  .dok-zeile .dok-name .dok-datum-mobil { display: block; font-size: 13px; color: var(--warmgrau); font-variant-numeric: tabular-nums; }
  .kennzahl-wert { font-size: 22px; }
}
.dok-datum-mobil { display: none; }
