:root {
  --grund:      #f4f5f8;
  --flaeche:    #ffffff;
  --flaeche-2:  #f7f8fa;
  --rand:       #e6e9ee;
  --rand-stark: #d4d9e0;
  --glas:       rgba(255, 255, 255, 0.72);
  --glas-stark: rgba(255, 255, 255, 0.86);
  --glas-rand:  rgba(255, 255, 255, 0.75);
  --text:   #0d1117;
  --text-2: #565f6b;
  --text-3: #8d96a2;
  --gut:      #067a55;
  --gut-weich:      #e4f6ef;
  --warn:     #b45309;
  --warn-weich:     #fdf3e3;
  --schlecht: #be1f16;
  --schlecht-weich: #fdebe9;
  --info:     #1552d0;
  --info-weich:     #e9f0fe;
  --ekp:      #4f46e5;
  --ekp-weich: #eeeffe;
  --ekp-tief: #3b34bd;
  --nga:      #1f6feb;
  --nga-weich: #e8f0fd;
  --nga-tief: #1857bd;
  --akzent:       var(--ekp);
  --akzent-weich: var(--ekp-weich);
  --akzent-tief:  var(--ekp-tief);
  --akzent-rgb:   79, 70, 229;
  --radius:    6px;
  --radius-s:  5px;
  --radius-xs: 4px;
  --schatten-1: 0 1px 2px rgba(13, 17, 23, 0.05);
  --schatten-2: 0 1px 3px rgba(13, 17, 23, 0.07), 0 10px 28px -10px rgba(13, 17, 23, 0.14);
  --schatten-3: 0 24px 64px -14px rgba(13, 17, 23, 0.32);
  --glanz:      inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --seitenleiste: 246px;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
  --fest:    ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas,
             "Liberation Mono", monospace;
  --uebergang: 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-sicht="leistungserbringer"] {
  --akzent:       var(--nga);
  --akzent-weich: var(--nga-weich);
  --akzent-tief:  var(--nga-tief);
  --akzent-rgb:   31, 111, 235;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund:      #0a0d12;
    --flaeche:    #12161d;
    --flaeche-2:  #171c24;
    --rand:       #222831;
    --rand-stark: #313944;
    --glas:       rgba(20, 25, 33, 0.66);
    --glas-stark: rgba(20, 25, 33, 0.86);
    --glas-rand:  rgba(255, 255, 255, 0.07);
    --text:   #e8ecf2;
    --text-2: #98a1af;
    --text-3: #6a7381;
    --gut: #34d399;
    --gut-weich:      #0a2620;
    --warn: #fbbf24;
    --warn-weich:     #2a1f0c;
    --schlecht: #fb7185;
    --schlecht-weich: #2b1319;
    --info: #7aa5fb;
    --info-weich:     #101c33;
    --ekp: #8b83ff;
    --ekp-weich: #1a1937;
    --ekp-tief: #aaa4ff;
    --nga: #58a6ff;
    --nga-weich: #0e1e33;
    --nga-tief: #83bcff;
    --akzent-rgb: 139, 131, 255;
    --schatten-1: 0 1px 2px rgba(0, 0, 0, 0.5);
    --schatten-2: 0 1px 3px rgba(0, 0, 0, 0.6), 0 10px 28px -10px rgba(0, 0, 0, 0.75);
    --schatten-3: 0 24px 64px -14px rgba(0, 0, 0, 0.9);
    --glanz:      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  :root[data-sicht="leistungserbringer"] {
    --akzent-rgb: 88, 166, 255;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.verweis, .hinweis-text a, .leer a, p a {
  color: var(--akzent);
}

h1 {
  font-size: 1.22rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: 0.875rem;
  font-weight: 620;
  margin: 0;
}

h3 {
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin: 0 0 0.7rem;
}

.leise {
  color: var(--text-2);
}

.klein {
  font-size: 0.8rem;
}

.fest {
  font-family: var(--fest);
  font-size: 0.86em;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
  border-radius: 5px;
}

.huelle {
  display: flex;
  min-height: 100vh;
}

.seitenleiste {
  width: var(--seitenleiste);
  flex: 0 0 var(--seitenleiste);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem 0.7rem;
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, rgba(var(--akzent-rgb), 0.07) 0%, rgba(var(--akzent-rgb), 0.02) 42%, transparent 100%), var(--glas);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-right: 1px solid var(--rand);
  transition: background var(--uebergang);
}

.marke {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.1rem 0.3rem;
  font-weight: 660;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.marke:hover {
  text-decoration: none;
}

.konto-kreis, .marke-zeichen {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 680;
  letter-spacing: 0;
  text-align: center;
  flex-shrink: 0;
}

.marke-zeichen {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-s);
  background: linear-gradient(145deg, var(--akzent), var(--akzent-tief));
  color: #fff;
  font-size: 0.66rem;
  box-shadow: var(--schatten-1), var(--glanz);
  transition: background var(--uebergang);
}

.sicht-schalter {
  margin: 0;
}

.segmente {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  background: var(--flaeche-2);
  border: 1px solid var(--rand);
  border-radius: var(--radius-s);
}

.segmente button {
  font: inherit;
  font-size: 0.77rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  padding: 0.38rem 0.3rem;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--uebergang), color var(--uebergang);
}

.segmente button:hover:not(.aktiv) {
  color: var(--text);
  background: var(--flaeche);
}

.segmente button.aktiv {
  background: linear-gradient(145deg, var(--akzent), var(--akzent-tief));
  color: #fff;
  box-shadow: var(--schatten-1), var(--glanz);
}

.leiste-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.leiste-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.48rem 0.55rem;
  border-radius: var(--radius-s);
  color: var(--text-2);
  font-weight: 520;
  font-size: 0.865rem;
  transition: background var(--uebergang), color var(--uebergang);
}

.leiste-nav a:hover {
  background: var(--flaeche);
  color: var(--text);
  text-decoration: none;
}

.leiste-nav a.aktiv {
  background: var(--flaeche);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--schatten-1);
}

.leiste-nav a.aktiv svg {
  color: var(--akzent);
}

.leiste-nav a svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--text-3);
}

.leiste-verwaltung {
  flex: 0 0 auto;
  padding-top: 0.4rem;
  border-top: 1px solid var(--rand);
}

.konto-block {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.45rem;
  border-radius: var(--radius-s);
  background: var(--flaeche);
  border: 1px solid var(--rand);
}

.konto-block form {
  margin: 0;
  display: flex;
}

.konto-kreis {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--flaeche-2);
  border: 1px solid var(--rand);
  color: var(--text-2);
  font-size: 0.7rem;
}

.konto-text {
  min-width: 0;
  flex: 1;
}

.konto-text .konto-name {
  font-size: 0.81rem;
  font-weight: 580;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.konto-text .konto-rolle {
  font-size: 0.69rem;
  color: var(--text-3);
}

.konto-knopf {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: background var(--uebergang), color var(--uebergang);
}

.konto-knopf:hover {
  background: var(--flaeche-2);
  color: var(--text);
}

.konto-knopf svg {
  width: 16px;
  height: 16px;
}

.hauptteil {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.inhalt {
  padding: 1.15rem 1.4rem 2rem;
  flex: 1;
}

.vorgang-kopf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.vorgang-kopf .zurueck {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--text-2);
  transition: background var(--uebergang), color var(--uebergang);
}

.vorgang-kopf .zurueck:hover {
  background: var(--flaeche-2);
  color: var(--text);
  text-decoration: none;
}

.vorgang-kopf .zurueck svg {
  width: 17px;
  height: 17px;
}

.vorgang-kopf .vorgang-titel {
  min-width: 0;
}

.vorgang-kopf .vorgang-unter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
  font-size: 0.79rem;
  color: var(--text-2);
}

.vorgang-kopf .vorgang-werkzeuge {
  margin-left: auto;
  display: flex;
  gap: 0.45rem;
}

.hinweise {
  position: fixed;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
  max-width: min(380px, calc(100vw - 1.8rem));
}

.hinweis {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  background: var(--glas-stark);
  backdrop-filter: blur(16px) saturate(1.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  border: 1px solid var(--rand);
  box-shadow: var(--schatten-2), var(--glanz);
  font-size: 0.83rem;
  cursor: default;
  animation: hinweis-auf 260ms cubic-bezier(0.22, 1, 0.36, 1);
  transition: width var(--uebergang), padding var(--uebergang), border-radius var(--uebergang);
}

.hinweis .hinweis-zeichen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: var(--radius-xs);
  background: var(--warn-weich);
  color: var(--warn);
}

.hinweis .hinweis-zeichen svg {
  width: 15px;
  height: 15px;
}

.hinweis .hinweis-text {
  flex: 1;
  min-width: 0;
}

.hinweis .hinweis-text a {
  font-weight: 620;
}

.hinweis .hinweis-zu {
  border: 0;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  padding: 0.1rem;
  border-radius: var(--radius-xs);
  line-height: 0;
}

.hinweis .hinweis-zu:hover {
  color: var(--text);
  background: var(--flaeche-2);
}

.hinweis .hinweis-zu svg {
  width: 14px;
  height: 14px;
}

.hinweis.fehler .hinweis-zeichen {
  background: var(--schlecht-weich);
  color: var(--schlecht);
}

.hinweis.erfolg .hinweis-zeichen {
  background: var(--gut-weich);
  color: var(--gut);
}

.hinweis.hinweis-art-info .hinweis-zeichen {
  background: var(--info-weich);
  color: var(--info);
}

.hinweis.klein {
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hinweis.klein .hinweis-text, .hinweis.klein .hinweis-zu {
  display: none;
}

.hinweis.klein .hinweis-zeichen {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: transparent;
}

.hinweis.klein:hover {
  box-shadow: var(--schatten-2), 0 0 0 3px var(--akzent-weich);
}

@keyframes hinweis-auf {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.karte {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.karte-kopf {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rand);
}

.karte-rumpf {
  padding: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.karte-fuss {
  margin-top: auto;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--rand);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  min-height: 3.35rem;
}

.karte-fuss p {
  margin: 0;
}

@supports (grid-template-rows: subgrid) {
  .gitter {
    grid-auto-rows: auto;
  }
  .gitter > .karte {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
  }
  .gitter > .karte > .karte-fuss {
    margin-top: 0;
  }
  .gitter > .karte:not(:has(.karte-fuss))::after {
    margin-top: 0;
  }
}

.gitter:has(.karte-fuss) .karte:not(:has(.karte-fuss))::after {
  content: "";
  display: block;
  margin-top: auto;
  min-height: 3.35rem;
  border-top: 1px solid var(--rand);
}

.gitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.55rem;
}

.paare {
  display: grid;
  grid-template-columns: minmax(128px, max-content) 1fr;
  gap: 0.5rem 1.1rem;
  margin: 0;
  font-size: 0.85rem;
}

.paare dt {
  color: var(--text-3);
  font-weight: 500;
}

.paare dd {
  margin: 0;
  word-break: break-word;
}

.kennzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.kennzahl {
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 1rem;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius-s);
}

.kennzahl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--rand-stark);
}

.kennzahl .kennzahl-wert {
  font-size: 1.4rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.kennzahl .kennzahl-name {
  font-size: 0.73rem;
  color: var(--text-3);
  margin-top: 0.05rem;
}

.kennzahl.offen::before {
  background: var(--info);
}

.kennzahl.fertig::before {
  background: var(--gut);
}

.kennzahl.abbruch::before {
  background: var(--schlecht);
}

.pille {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.715rem;
  font-weight: 600;
  padding: 0.13rem 0.5rem;
  border-radius: var(--radius-xs);
  background: var(--flaeche-2);
  border: 1px solid var(--rand);
  color: var(--text-2);
  white-space: nowrap;
  line-height: 1.5;
}

.pille.gut {
  background: var(--gut-weich);
  color: var(--gut);
  border-color: transparent;
}

.pille.warn {
  background: var(--warn-weich);
  color: var(--warn);
  border-color: transparent;
}

.pille.schlecht {
  background: var(--schlecht-weich);
  color: var(--schlecht);
  border-color: transparent;
}

.pille.info {
  background: var(--info-weich);
  color: var(--info);
  border-color: transparent;
}

.pille.akzent {
  background: var(--akzent-weich);
  color: var(--akzent);
  border-color: transparent;
}

.pille.punkt::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 5px;
}

.pillen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
}

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 560;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--uebergang), border-color var(--uebergang), box-shadow var(--uebergang);
}

.knopf:hover {
  background: var(--flaeche-2);
  text-decoration: none;
}

.knopf:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.knopf.haupt {
  background: linear-gradient(145deg, var(--akzent), var(--akzent-tief));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--schatten-1), var(--glanz);
}

.knopf.haupt:hover {
  filter: brightness(1.07);
}

.knopf.leise {
  border-color: transparent;
  background: transparent;
  color: var(--text-2);
}

.knopf.leise:hover {
  background: var(--flaeche-2);
  color: var(--text);
}

.knopf.klein {
  font-size: 0.755rem;
  padding: 0.24rem 0.55rem;
}

.knopf svg {
  width: 15px;
  height: 15px;
}

.formular {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.formular label {
  font-weight: 580;
  font-size: 0.79rem;
  margin-top: 0.8rem;
  color: var(--text-2);
}

.formular input, .formular select, .formular textarea {
  font: inherit;
  font-size: 0.87rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--text);
  transition: border-color var(--uebergang), box-shadow var(--uebergang);
}

.formular input::placeholder, .formular select::placeholder, .formular textarea::placeholder {
  color: var(--text-3);
}

.formular input:focus, .formular select:focus, .formular textarea:focus {
  outline: 0;
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px var(--akzent-weich);
}

.formular .knopf {
  margin-top: 1.05rem;
  align-self: stretch;
  justify-content: center;
}

.formular .feld-hinweis {
  font-size: 0.75rem;
  color: var(--text-3);
  margin: 0.28rem 0 0;
  line-height: 1.5;
}

.abschnitt {
  margin: 1.5rem 0 0.7rem;
}

.trenner {
  border: 0;
  border-top: 1px solid var(--rand);
  margin: 0.8rem 0;
}

.suchleiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.suchleiste .suchfeld {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 320px;
  min-width: 220px;
  padding: 0 0.6rem;
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--text-3);
  transition: border-color var(--uebergang), box-shadow var(--uebergang);
}

.suchleiste .suchfeld:focus-within {
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px var(--akzent-weich);
}

.suchleiste .suchfeld svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.suchleiste .suchfeld input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.44rem 0;
  font: inherit;
  font-size: 0.86rem;
  color: var(--text);
}

.suchleiste .suchfeld input:focus {
  outline: 0;
  box-shadow: none;
}

.suchleiste .suchfeld input::placeholder {
  color: var(--text-3);
}

.suchleiste .such-lampe {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 2px solid var(--rand-stark);
  border-top-color: var(--akzent);
  border-radius: 50%;
  animation: dreht 620ms linear infinite;
}

.suchleiste .schalter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-2);
  cursor: pointer;
}

@keyframes dreht {
  to {
    transform: rotate(360deg);
  }
}

.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.9rem;
}

.filter input, .filter select {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--text);
}

.filter input:focus, .filter select:focus {
  outline: 0;
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px var(--akzent-weich);
}

.filter .schalter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-2);
  cursor: pointer;
}

.tabelle-huelle {
  overflow: auto;
  max-height: calc(100vh - 250px);
}

.tabelle-huelle thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--flaeche);
}

table.liste {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
}

table.liste th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 560;
  color: var(--text-3);
  background: transparent;
  padding: 0.5rem 1rem 0.45rem;
  border-bottom: 1px solid var(--rand);
  white-space: nowrap;
}

table.liste th.rechts {
  text-align: right;
}

table.liste td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--rand);
  vertical-align: middle;
}

table.liste td.rechts {
  text-align: right;
}

table.liste td.eng {
  width: 1%;
  white-space: nowrap;
}

table.liste tbody td {
  height: 3.5rem;
}

table.liste tbody tr {
  cursor: pointer;
  transition: background var(--uebergang);
  box-shadow: inset 2px 0 0 transparent;
}

table.liste tbody tr:hover {
  background: var(--flaeche-2);
  box-shadow: inset 2px 0 0 var(--akzent);
}

table.liste tbody tr:last-child td {
  border-bottom: 0;
}

table.liste .vorgang-nummer {
  font-family: var(--fest);
  font-size: 0.9rem;
  font-weight: 480;
  letter-spacing: -0.01em;
  color: var(--akzent);
}

table.liste .vorgang-nummer:hover {
  text-decoration: underline;
}

table.liste .zeile-2 {
  font-size: 0.755rem;
  color: var(--text-3);
  margin-top: 0.1rem;
}

table.liste .zeitangabe {
  font-family: var(--fest);
  font-size: 0.755rem;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.zustand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.79rem;
  font-weight: 550;
  color: var(--text-2);
  white-space: nowrap;
}

.zustand .zustand-punkt {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 6px;
  background: var(--text-3);
}

.zustand.gut .zustand-punkt {
  background: var(--gut);
}

.zustand.warn .zustand-punkt {
  background: var(--warn);
}

.zustand.schlecht .zustand-punkt {
  background: var(--schlecht);
}

.zustand.info .zustand-punkt {
  background: var(--info);
}

.verlaufsspur {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.verlaufsspur span {
  font-family: var(--fest);
  font-size: 0.7rem;
  font-weight: 560;
  color: var(--text-2);
  padding: 0.05rem 0.35rem;
  border-radius: var(--radius-xs);
  background: var(--flaeche-2);
  border: 1px solid var(--rand);
}

.verlaufsspur span:last-child {
  color: var(--text);
  border-color: var(--rand-stark);
  background: var(--flaeche);
}

.leer {
  padding: 3.2rem 1.5rem;
  text-align: center;
  color: var(--text-2);
}

.leer .leer-zeichen {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--flaeche-2);
  border: 1px solid var(--rand);
  color: var(--text-3);
}

.leer .leer-zeichen svg {
  width: 21px;
  height: 21px;
}

.leer .leer-titel {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.22rem;
  font-size: 0.93rem;
}

.z-punkt {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--flaeche);
  border: 2px solid var(--rand-stark);
}

.z-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  padding: 0.7rem 1.1rem;
  border-top: 1px solid var(--rand);
  font-size: 0.74rem;
  color: var(--text-3);
}

.z-legende > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.z-b-gesendet {
  border-color: var(--text-3);
}

.z-b-empfangen {
  border-color: var(--info);
  background: var(--info-weich);
}

.z-b-gut {
  border-color: var(--gut);
  background: var(--gut-weich);
}

.z-b-schlecht {
  border-color: var(--schlecht);
  background: var(--schlecht-weich);
}

.z-b-start {
  border-color: var(--akzent);
  background: var(--akzent);
}

.zeitleiste {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  counter-reset: schritt;
}

.zeitleiste li {
  display: flex;
  gap: 0.85rem;
  padding: 0.55rem 1.1rem;
  position: relative;
}

.zeitleiste li::before {
  content: "";
  position: absolute;
  left: calc(1.1rem + 5px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rand);
}

.zeitleiste li:first-child::before {
  top: 1.05rem;
}

.zeitleiste li:last-child::before {
  bottom: calc(100% - 1.05rem);
}

.zeitleiste li:hover {
  background: var(--flaeche-2);
}

.zeitleiste .z-punkt {
  position: relative;
  z-index: 1;
  margin-top: 0.28rem;
}

.zeitleiste .z-inhalt {
  min-width: 0;
  flex: 1;
}

.zeitleiste .z-kopf {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.zeitleiste .z-titel {
  font-weight: 570;
  font-size: 0.865rem;
}

.zeitleiste .z-text {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-top: 0.1rem;
}

.zeitleiste .z-zeit {
  font-family: var(--fest);
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 0.15rem;
}

.zeitleiste .z-xml {
  opacity: 0;
  transition: opacity var(--uebergang);
}

.zeitleiste li:hover .z-xml, .zeitleiste .z-xml:focus-visible {
  opacity: 1;
}

.zeitleiste .z-start .z-punkt {
  border-color: var(--akzent);
  background: var(--akzent);
}

.zeitleiste .z-gesendet .z-punkt {
  border-color: var(--text-3);
}

.zeitleiste .z-empfangen .z-punkt {
  border-color: var(--info);
  background: var(--info-weich);
}

.zeitleiste .z-gut .z-punkt {
  border-color: var(--gut);
  background: var(--gut-weich);
}

.zeitleiste .z-warn .z-punkt {
  border-color: var(--warn);
  background: var(--warn-weich);
}

.zeitleiste .z-schlecht .z-punkt {
  border-color: var(--schlecht);
  background: var(--schlecht-weich);
}

.verlauf {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  position: relative;
}

.verlauf::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 2px;
  background: var(--rand);
  border-radius: 2px;
}

.verlauf li {
  position: relative;
  padding: 0.5rem 0;
}

.verlauf li::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 1rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rand-stark);
  box-shadow: 0 0 0 3px var(--flaeche);
}

.verlauf li:last-child::before {
  background: var(--akzent);
}

.verlauf .verlauf-kopf {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.verlauf .zeitpunkt {
  font-size: 0.73rem;
  color: var(--text-3);
  font-family: var(--fest);
  margin-top: 0.12rem;
}

dialog.xml-fenster {
  width: min(1180px, 94vw);
  max-height: 88vh;
  padding: 0;
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  background: var(--glas-stark);
  backdrop-filter: blur(24px) saturate(1.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
  color: var(--text);
  box-shadow: var(--schatten-3), var(--glanz);
  overflow: hidden;
}

dialog.xml-fenster::backdrop {
  background: rgba(8, 11, 16, 0.5);
  backdrop-filter: blur(3px);
}

dialog.xml-fenster .fenster-kopf {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.05rem;
  border-bottom: 1px solid var(--rand);
}

dialog.xml-fenster .fenster-titel {
  font-weight: 620;
  font-size: 0.88rem;
}

dialog.xml-fenster .fenster-hinweis {
  font-size: 0.73rem;
  color: var(--text-3);
  font-family: var(--fest);
  margin-top: 0.08rem;
}

dialog.xml-fenster .fenster-werkzeuge {
  margin-left: auto;
  display: flex;
  gap: 0.35rem;
}

dialog.xml-fenster .fenster-rumpf {
  overflow: auto;
  max-height: 72vh;
  background: var(--flaeche-2);
}

dialog.xml-fenster pre {
  margin: 0;
  padding: 1rem 1.15rem;
  font-family: var(--fest);
  font-size: 0.765rem;
  line-height: 1.65;
  white-space: pre;
  tab-size: 2;
  user-select: text;
}

dialog.xml-fenster .x-tag {
  color: var(--info);
  font-weight: 600;
}

dialog.xml-fenster .x-attr {
  color: var(--akzent);
}

dialog.xml-fenster .x-wert {
  color: var(--gut);
}

dialog.xml-fenster .x-komm {
  color: var(--text-3);
  font-style: italic;
}

.anmelde-seite {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(820px 400px at 50% -12%, var(--akzent-weich), transparent 70%), var(--grund);
}

.anmelde-karte {
  width: 100%;
  max-width: 372px;
  padding: 2rem;
  background: var(--glas-stark);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten-2), var(--glanz);
}

.anmelde-karte .anmelde-marke {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.anmelde-karte .anmelde-marke .marke-zeichen {
  width: 34px;
  height: 34px;
  font-size: 0.74rem;
}

.anmelde-karte .anmelde-marke .marke-text {
  font-weight: 660;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}

.blaettern {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--rand);
  font-size: 0.82rem;
  color: var(--text-2);
}

.blaettern .knopf.aus {
  opacity: 0.35;
  pointer-events: none;
}

.blaettern .seitenzahlen {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.blaettern .seite {
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  border-radius: var(--radius-xs);
  font-size: 0.79rem;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  transition: background var(--uebergang), color var(--uebergang);
}

.blaettern .seite:hover {
  background: var(--flaeche-2);
  color: var(--text);
  text-decoration: none;
}

.blaettern .seite.aktiv {
  background: var(--akzent);
  color: #fff;
}

.blaettern .luecke {
  color: var(--text-3);
  padding: 0 0.15rem;
}

.blaettern .blaettern-info {
  margin-left: auto;
}

@media (max-width: 940px) {
  .huelle {
    flex-direction: column;
  }
  .seitenleiste {
    width: 100%;
    height: auto;
    position: static;
    flex: none;
    border-right: 0;
    border-bottom: 1px solid var(--rand);
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .seitenleiste .leiste-nav {
    flex-direction: row;
    flex: 1 1 100%;
    overflow-x: auto;
  }
  .seitenleiste .sicht-schalter {
    flex: 1;
    min-width: 180px;
  }
  .seitenleiste .sicht-erklaerung {
    display: none;
  }
  .inhalt {
    padding: 1rem;
  }
  .hinweise {
    top: 0.6rem;
    right: 0.6rem;
    left: 0.6rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

.formular.kontakt {
  gap: 0.3rem;
}

.formular.kontakt .kontakt-kopf {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.formular.kontakt .kontakt-kopf input {
  flex: 1;
  font-weight: 570;
}

.formular.kontakt .kontakt-werkzeuge {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.formular.kontakt .knopf {
  margin-top: 0;
  align-self: auto;
}

.artenwahl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.feldgitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}

.feld {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.feld label {
  font-size: 0.79rem;
  font-weight: 580;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.feld input, .feld select {
  font: inherit;
  font-size: 0.87rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--text);
}

.feld input:focus, .feld select:focus {
  outline: 0;
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px var(--akzent-weich);
}

.feld input[readonly], .feld select[readonly] {
  background: var(--flaeche-2);
  color: var(--text-2);
}

.feld.pflicht input, .feld.pflicht select {
  border-left: 3px solid var(--akzent);
}

.feld .pflichtmarke {
  color: var(--akzent);
  font-weight: 700;
}

.feld .feld-fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.4;
}

.feld .bedingung {
  color: var(--warn);
}

.feld .feld-pfad {
  font-size: 0.68rem;
  color: var(--text-3);
  opacity: 0.6;
}

.seitenhandlung {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}

.gesperrt {
  margin-top: 0.8rem;
}

.gesperrt summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--text-3);
}

.gesperrt dl.paare {
  margin-top: 0.5rem;
  font-size: 0.78rem;
}

.antwortwahl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.feld-abschnitt {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 1.4rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--rand);
}

.feld-abschnitt:first-child {
  margin-top: 0;
}

.feld.gebunden input, .feld.gebunden select {
  background: var(--flaeche-2);
  color: var(--text-2);
  border-style: dashed;
  cursor: default;
}

.feld.gebunden label .pille {
  background: transparent;
  border: 1px solid var(--rand-stark);
}

.feld select {
  max-width: 100%;
  text-overflow: ellipsis;
}

.hinweis.geheim {
  border-color: var(--akzent);
  background: var(--akzent-weich);
}

.hinweis.geheim .hinweis-text {
  font-family: var(--fest);
  font-size: 0.82rem;
  word-break: break-all;
  user-select: all;
}

.reihe-aktionen {
  display: inline-flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.seitenhandlung {
  gap: 0.4rem;
  flex-wrap: wrap;
}

.seitenhandlung form {
  display: inline;
}

table.liste.schmal td, table.liste.schmal th {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.8rem;
}

.blaettern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
}

.kennzahlen.unbekannt .kennzahl {
  border-style: dashed;
}

.kennzahlen.unbekannt .kennzahl .kennzahl-wert {
  color: var(--text-3);
}

.warn {
  color: var(--warn);
}

.mitte {
  text-align: center;
}

.qr {
  display: inline-block;
  padding: 0.9rem;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius-m);
  color: var(--text);
}

.qr svg {
  display: block;
}

.geheimnis {
  display: inline-block;
  margin: 0.4rem 0 0;
  padding: 0.4rem 0.7rem;
  background: var(--flaeche-2);
  border: 1px dashed var(--rand-stark);
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  user-select: all;
}

.codeliste {
  list-style: none;
  margin: 1rem 0;
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem 1rem;
  background: var(--flaeche-2);
  border: 1px solid var(--rand-stark);
  border-radius: var(--radius-m);
}

.codeliste li {
  font-size: 1rem;
  letter-spacing: 0.06em;
  user-select: all;
}

.reihe-form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.reihe-form .feld {
  flex: 1 1 180px;
}

.knopf.breit {
  width: 100%;
  justify-content: center;
}

.anmelde-hinweis {
  font-size: 0.83rem;
  color: var(--text-2);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.anmelde-fuss {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.8rem;
}

.auswahl-mit-filter {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auswahl-mit-filter .auswahl-filter {
  font-size: 0.82rem;
}

.auswahl-mit-filter select option[disabled] {
  color: var(--text-3);
  font-style: italic;
}

.feld + .knopf,
.feld + button,
.feldgitter + .knopf {
  margin-top: 1.05rem;
}

.reihe-form .feld + .knopf,
.reihe-form .feld + button {
  margin-top: 0;
}

.anmelde-karte-breit {
  max-width: 860px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}

.anmelde-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2.6rem 2.2rem;
  background: linear-gradient(160deg, var(--akzent-weich), transparent 65%);
  border-right: 1px solid var(--rand);
}

.anmelde-logo picture, .anmelde-logo img {
  display: block;
}

.anmelde-logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: none;
}

.anmelde-logo-fuss {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.anmelde-logo-titel {
  font-weight: 680;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--text);
}

.anmelde-logo-text {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.45;
  max-width: 24ch;
  margin: 0 auto;
}

.anmelde-form {
  padding: 2.4rem 2.2rem;
  align-self: center;
  width: 100%;
}

@media (max-width: 760px) {
  .anmelde-karte-breit {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .anmelde-logo {
    border-right: 0;
    border-bottom: 1px solid var(--rand);
    padding: 1.8rem 1.6rem 1.4rem;
    gap: 0.9rem;
  }
  .anmelde-logo img {
    max-width: 170px;
  }
  .anmelde-logo-text {
    display: none;
  }
  .anmelde-form {
    padding: 1.6rem;
  }
}

.konto-kachel {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
  padding: 0.15rem;
  margin: -0.15rem;
  border-radius: var(--radius-s);
  color: inherit;
  text-decoration: none;
  transition: background var(--uebergang);
}

.konto-kachel:hover, .konto-kachel:focus-visible {
  background: var(--flaeche-2);
}

.konto-kachel:hover .konto-name, .konto-kachel:focus-visible .konto-name {
  color: var(--akzent);
}

.konto-kachel:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 1px;
}

.konto-kachel.aktiv {
  background: var(--flaeche-2);
}

.konto-kachel.aktiv .konto-kreis {
  border-color: var(--akzent);
  color: var(--akzent);
}

.anmelde-titel {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 650;
}

.rollenwahl {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

.rollenwahl select {
  font: inherit;
  font-size: 0.76rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--rand);
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--text);
}

.rollenwahl select:focus {
  outline: 0;
  border-color: var(--akzent);
  box-shadow: 0 0 0 2px var(--akzent-weich);
}

.hinweis.band-dauerhaft a {
  color: inherit;
  font-weight: 620;
}

.mailwechsel {
  margin-top: 0.9rem;
}

.mailwechsel summary {
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 580;
  color: var(--akzent);
}

.mailwechsel .formular {
  margin-top: 0.4rem;
}

.zeitraum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.1rem;
}

.monatswahl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.monatswahl .monat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--rand);
  border-radius: 999px;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  text-decoration: none;
}

.monatswahl .monat:hover {
  border-color: var(--text-3);
  color: var(--text-1);
}

.monatswahl .monat.aktiv {
  background: var(--akzent);
  border-color: var(--akzent);
  color: #fff;
}

.monatswahl .monat-hinweis {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .75;
}

.zeitraum-felder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.zeitraum-felder label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-2);
}

.zeitraum-felder input[type="date"] {
  padding: 0.3rem 0.5rem;
}

.hinweis-zeile {
  margin: 0 0 0.9rem;
  padding: 0.6rem 0.8rem;
  border-left: 3px solid var(--akzent);
  border-radius: 0 4px 4px 0;
  background: rgba(var(--akzent-rgb), 0.07);
  font-size: 0.85rem;
  color: var(--text-2);
}

.hinweis-zeile strong {
  color: var(--text-1);
}

.kennzahl-fuss {
  margin-top: 0.25rem;
}

.reihe {
  display: flex;
  align-items: flex-end;
  gap: 1px;
  height: 84px;
  margin-top: 1.1rem;
  padding: 0 0 2px;
  border-bottom: 1px solid var(--rand);
}

.reihe .reihe-balken {
  flex: 1 1 0;
  min-width: 2px;
  height: var(--hoehe, 0%);
  min-height: 2px;
  background: var(--akzent);
  border-radius: 1px 1px 0 0;
}

.reihe .reihe-balken:hover {
  background: var(--akzent-tief);
}

.reihe-fuss {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0 0;
}

@media (max-width: 560px) {
  .zeitraum {
    gap: 0.6rem;
  }
  .zeitraum-felder {
    width: 100%;
  }
  .reihe {
    height: 60px;
  }
}

.kennzahl.gross .kennzahl-wert {
  font-size: 1.9rem;
}

.paare.je-kunde {
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rand);
}

.paare.je-kunde dt span {
  margin-left: 0.4rem;
  font-weight: 400;
}

.tabelle-posten th, .tabelle-posten td {
  padding: 0.5rem 0.7rem;
  vertical-align: top;
}

.tabelle-posten tbody tr:nth-child(even) {
  background: var(--flaeche-2);
}

.tabelle-posten tbody tr:hover {
  background: var(--flaeche);
}

.tabelle-posten .zahl {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.tabelle-posten .nowrap {
  white-space: nowrap;
}

.tabelle-posten .fest {
  letter-spacing: -0.01em;
}

.tabelle-posten th {
  white-space: nowrap;
}

.karte + .gitter {
  margin-top: 1.6rem;
}

.kennzahlen-filter .kennzahl {
  display: block;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--uebergang), background var(--uebergang);
}

.kennzahlen-filter .kennzahl:hover {
  text-decoration: none;
  border-color: var(--rand-stark);
  background: var(--flaeche-2);
}

.kennzahlen-filter .kennzahl.aktiv {
  border-color: var(--akzent);
  box-shadow: inset 0 0 0 1px var(--akzent);
}

.kennzahlen-filter .kennzahl.aktiv::before {
  background: var(--akzent);
}

.kennzahlen-filter .kennzahl.aktiv .kennzahl-name {
  color: var(--text);
  font-weight: 600;
}
