
:root {
  --gelb: #d2d700;
  --gelb-marke: #ecf200;
  --auf-gelb: #0f1208;
  --kreisbahn: rgba(255, 255, 255, .16);
  --kreisfarbe: #d2d700;
  --gelb-schrift: #d2d700;
  --wind: #f0a6c8;
  --orange: #d75a1e;
  --tinte: #080808;
  --grund: #2a2d31;
  --grund-tief: #000;
  --karte: #33363b;
  --karte-hell: #3b3e44;
  --linie: #474b52;
  --linie-leise: #3c3f45;
  --schrift: #e9eae5;
  --schrift-leise: #9a9c93;
  --gut: #64c07a;
  --schlecht: #e0655b;
  --achtung: #d99a3c;
  --akzent: var(--gelb);
  --auf-akzent: var(--auf-gelb);
  --flaeche: var(--grund-tief);
  --schatten: 0 4px 16px rgba(0, 0, 0, .28);
  --schatten-klein: 0 1px 2px rgba(0, 0, 0, .12);
  --schatten-schwebend: 0 28px 60px rgba(0, 0, 0, .62),
                        0 8px 20px rgba(0, 0, 0, .42);
  --seitengrund: radial-gradient(120% 60% at 50% 0%,
                   #34373c 0%, var(--grund) 55%) fixed;
  --kartengrund: linear-gradient(180deg,
                   color-mix(in srgb, var(--karte-hell) 45%, var(--karte)),
                   var(--karte) 42%);
  --knopfgrund: linear-gradient(180deg, #dee402, #c9ce00);
  --titelschrift: Montserrat, "Helvetica Neue", system-ui, sans-serif;
  --textschrift: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --zahlschrift: ui-monospace, SFMono-Regular, Menlo, monospace;
  --rund: 10px;
  --rund-gross: 18px;
  --breite: 1600px;
  color-scheme: dark;
}
:root[data-thema="hell"] {
  --gelb-schrift: #5f6300;
  --wind: #c25b8c;
  --kreisbahn: rgba(20, 24, 30, .15);
  --kreisfarbe: #5f6300;
  --tinte: #080808;
  --grund: #f1f2f4;
  --grund-tief: #0b0c0d;
  --karte: #ffffff;
  --karte-hell: #f4f5f7;
  --linie: #e0e3e7;
  --linie-leise: #eaecef;
  --schrift: #16181b;
  --schrift-leise: #62676e;
  --gut: #36804b;
  --schlecht: #c0392f;
  --achtung: #9c6410;
  --schatten: 0 12px 32px rgba(20, 24, 30, .10), 0 2px 6px rgba(20, 24, 30, .06);
  --schatten-klein: 0 1px 3px rgba(20, 24, 30, .07), 0 8px 24px rgba(20, 24, 30, .05);
  --schatten-schwebend: 0 20px 44px rgba(20, 24, 30, .16),
                        0 5px 14px rgba(20, 24, 30, .09);
  --seitengrund: linear-gradient(180deg, #f4f5f7 0%, #eef0f2 100%) fixed;
  --kartengrund: #ffffff;
  --knopfgrund: linear-gradient(180deg, #dee402, #c6cb00);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--seitengrund), var(--grund);
  color: var(--schrift);
  font: 15px/1.6 var(--textschrift);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: var(--titelschrift);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.25;
}
h1 { font-size: 1.55rem; }
h2 { font-size: 1.08rem; }
h1 { font-size: 1.35rem; margin: 0 0 .2rem; }
h2 { font-size: 1.05rem; margin: 0 0 .75rem; }
h3 { font-size: .95rem; margin: 0 0 .5rem; }
a { color: var(--gelb-schrift); text-decoration: none; }
a:hover { text-decoration: underline; }
.sinnbild { display: block; flex: 0 0 auto; }
.leise { color: var(--schrift-leise); }
.klein { font-size: .82rem; }
.warnt { color: var(--achtung); }
.zahlen { font-variant-numeric: tabular-nums; }
.dehnen { flex: 1 1 auto; }
.trenner { width: 1px; align-self: stretch; background: var(--linie); }
main {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 2rem 1.75rem 5rem;
}
.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--grund-tief) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie-leise);
}
:root[data-thema="hell"] .kopf {
  background: color-mix(in srgb, #fff 88%, transparent);
}
.kopfzeile {
  max-width: var(--breite);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .65rem 1.5rem;
}
.marke { display: flex; align-items: baseline; gap: .5rem; flex: 0 0 auto; }
.marke:hover { text-decoration: none; }
.marke svg { height: 15px; width: auto; color: var(--gelb); display: block; }
:root[data-thema="hell"] .marke svg { color: #000; }
.marke em {
  font-style: normal;
  font-family: var(--titelschrift);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--gelb-marke);
}
.ortwahl { position: relative; flex: 0 0 auto; }
.ortknopf {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  color: var(--schrift);
  border-radius: var(--rund);
  padding: .4rem .7rem;
  font: 500 .88rem var(--textschrift);
  cursor: pointer;
  max-width: 15rem;
}
.ortknopf:hover { border-color: var(--gelb); }
.ortknopf .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ortknopf .sinnbild { color: var(--schrift-leise); }
.ortknopf:has(.ortzeilen small),
.ortfest:has(.ortzeilen small) { max-width: 22rem; }
.ortzeilen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
}
.ortzeilen .name,
.ortzeilen small {
  display: block; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ortzeilen small {
  font-size: .76rem;
  font-weight: 400;
  color: var(--schrift-leise);
}
.ortfest {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--schrift-leise);
  white-space: nowrap;
}
.ortliste {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  min-width: 16rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  box-shadow: var(--schatten);
  padding: .3rem;
  z-index: 30;
  max-height: calc(100vh - 8rem);
  max-height: min(calc(100dvh - 8rem), 40rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.ortliste a {
  display: block;
  padding: .45rem .6rem;
  border-radius: 4px;
  color: var(--schrift);
  font-size: .88rem;
}
.ortliste a:hover { background: var(--karte-hell); text-decoration: none; }
.ortliste a.hier { color: var(--gelb-schrift); font-weight: 600; }
.ortliste a small { display: block; color: var(--schrift-leise); font-size: .74rem; }
.module {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  margin-right: auto;
}
.module a, .module span {
  display: block;
  padding: .42rem .7rem;
  border-radius: var(--rund);
  font-size: .95rem;
  font-weight: 500;
  color: var(--schrift-leise);
  white-space: nowrap;
  transition: color .13s ease, background-color .13s ease;
}
.module a:hover {
  color: var(--schrift);
  background: color-mix(in srgb, var(--schrift) 8%, transparent);
  text-decoration: none;
}
.module a.hier {
  color: var(--gelb-schrift);
  font-weight: 600;
  background: color-mix(in srgb, var(--gelb) 12%, transparent);
}
.module a.hier:hover { background: color-mix(in srgb, var(--gelb) 20%, transparent); }
.module a { position: relative; }
body:has(.unterleiste) .module a.hier::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.42rem;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--gelb);
}
@media (max-width: 800px) {
  .module a.hier::after { display: none; }
}
.module a:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }
.module span.aus { opacity: .32; cursor: not-allowed; }
.kontomenue { position: relative; }
.kontomenue > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  color: var(--schrift-leise);
  cursor: pointer;
  list-style: none;
  transition: color .13s ease, border-color .13s ease, background-color .13s ease;
}
.kontomenue > summary::-webkit-details-marker { display: none; }
.kontomenue > summary:hover,
.kontomenue[open] > summary {
  color: var(--schrift);
  border-color: var(--gelb);
  background: color-mix(in srgb, var(--gelb) 12%, transparent);
}
.kontomenue > summary:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }
.kontoklappe {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  z-index: 60;
  min-width: 13rem;
  display: flex;
  flex-direction: column;
  padding: .35rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.kontoklappe::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: .55rem;
}
.kontower {
  margin: 0;
  padding: .45rem .6rem .55rem;
  border-bottom: 1px solid var(--linie-leise);
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.kontower strong { font-size: .88rem; }
.kontower .klein { overflow-wrap: anywhere; }
.kontoklappe a,
.kontoklappe button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  width: 100%;
  margin-top: .15rem;
  padding: .5rem .6rem;
  border: 0;
  border-radius: var(--rund);
  background: transparent;
  color: var(--schrift);
  font: inherit;
  font-size: .88rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.kontoklappe a:hover,
.kontoklappe button:hover { background: var(--karte-hell); }
.kontoklappe form { margin: 0; }
.kontoklappe .sinnbild { color: var(--schrift-leise); flex: none; }
.kopfwerkzeuge {
  display: flex;
  align-items: center;
  gap: .5rem;
  row-gap: .45rem;
  flex: 0 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}
@media (min-width: 641px) {
  .kundenkopf .kopfwerkzeuge { flex: 0 0 auto; flex-wrap: nowrap; }
}
@media (min-width: 901px) {
  .kundenkopf .kopfzeile.module-unten { flex-wrap: wrap; row-gap: .35rem; }
  .kundenkopf .kopfzeile.module-unten .module { order: 3; width: 100%; margin-right: 0; }
  .kundenkopf .kopfzeile.module-unten .kopfwerkzeuge { margin-left: auto; }
}
.thema {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 34px;
  padding: 0 .7rem;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: none;
  color: var(--schrift);
  font: inherit;
  font-size: .86rem;
  cursor: pointer;
}
.thema .themazeichen { display: grid; place-items: center; color: var(--gelb); }
.thema:hover { border-color: var(--gelb); }
.thema .themazeichen .sinnbild { display: none; }
:root[data-themawahl="hell"] .thema .sinnbild-sonne,
:root[data-themawahl="system"] .thema .sinnbild-sonne,
:root[data-themawahl="dunkel"] .thema .sinnbild-mond { display: block; }
:root[data-themawahl="system"] .thema .themawort:empty::after { content: "System"; }
:root[data-themawahl="hell"] .thema .themawort:empty::after { content: "Hell"; }
:root[data-themawahl="dunkel"] .thema .themawort:empty::after { content: "Dunkel"; }
:root:not([data-themawahl]) .thema .themawort:empty::after { content: "System"; }
.zurverwaltung { gap: .35rem; }
.zurverwaltung .sinnbild { margin-left: -.15rem; }
@media (max-width: 640px) {
  .thema { padding: 0 .55rem; }
  .thema .themawort { display: none; }
}
.kontowahl { position: relative; }
.kontoknopf {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .3rem .5rem .3rem .35rem;
  color: var(--schrift);
  font: 500 .85rem var(--textschrift);
  cursor: pointer;
}
.kontoknopf:hover { border-color: var(--gelb); }
.kuerzel {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 4px;
  background: var(--gelb);
  color: var(--auf-gelb);
  font: 600 .7rem var(--titelschrift);
}
.kontoliste {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 15rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  box-shadow: var(--schatten);
  padding: .3rem;
  z-index: 30;
}
.kontoliste .wer { padding: .5rem .6rem; border-bottom: 1px solid var(--linie); margin-bottom: .3rem; }
.kontoliste .wer strong { display: block; font-size: .88rem; }
.kontoliste .wer span { color: var(--schrift-leise); font-size: .78rem; }
.kontoliste a, .kontoliste button {
  display: block;
  width: 100%;
  text-align: left;
  padding: .45rem .6rem;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--schrift);
  font: .88rem var(--textschrift);
  cursor: pointer;
}
.kontoliste a:hover, .kontoliste button:hover { background: var(--karte-hell); text-decoration: none; }
input, select, textarea {
  background: var(--karte-hell);
  color: var(--schrift);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .52rem .7rem;
  font: inherit;
  width: 100%;
  transition: border-color .13s ease, background-color .13s ease;
}
input:disabled, select:disabled, textarea:disabled {
  color: var(--schrift-leise);
  background: none;
  border-style: dashed;
  cursor: not-allowed;
}
input.standfeld {
  color: var(--schrift-leise);
  background: none;
  border-style: dashed;
  cursor: pointer;
}
input.standfeld:hover { border-style: solid; color: var(--schrift); }
input[type="checkbox"], input[type="radio"] { width: auto; }
input[type="range"] {
  width: auto;
  padding: 0;
  border: 0;
  background: none;
}
.feld > input[type="range"] { width: 100%; }
input:hover, select:hover, textarea:hover { border-color: var(--schrift-leise); }
input::placeholder, textarea::placeholder {
  color: var(--schrift-leise);
  opacity: .45;
  font-style: italic;
}
:root[data-thema="hell"] input::placeholder,
:root[data-thema="hell"] textarea::placeholder { opacity: .55; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gelb);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gelb) 18%, transparent);
}
label { display: block; }
.feld { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .8rem; }
.feld > span { color: var(--schrift-leise); font-size: .82rem; }
.feldreihe { display: flex; gap: 1rem; flex-wrap: wrap; }
.feldreihe > .feld { flex: 1 1 12rem; }
.wahlreihe > .feld, .feldreihe > .feld { min-width: 0; }
.feld > input, .feld > select, .feld > textarea { max-width: 100%; min-width: 0; }
.feld > select[multiple] { width: 100%; }
button, .knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--knopfgrund);
  color: var(--auf-gelb);
  border: 0;
  border-radius: var(--rund);
  padding: .58rem 1.1rem;
  font: 500 .875rem var(--textschrift);
  letter-spacing: .005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .13s ease, border-color .13s ease,
              color .13s ease, opacity .13s ease, transform .12s ease;
}
button:hover, .knopf:hover { filter: brightness(1.08); text-decoration: none; }
button:active:not(:disabled), .knopf:active { transform: scale(.985); }
@media (prefers-reduced-motion: reduce) {
  button:active:not(:disabled), .knopf:active { transform: none; }
}
button:disabled { opacity: .45; cursor: default; filter: none; }
.knopf.umrandet, button.umrandet {
  background: none;
  border: 1px solid var(--linie);
  color: var(--schrift);
  font-weight: 450;
}
.knopf.umrandet:hover, button.umrandet:hover {
  border-color: var(--gelb);
  color: var(--gelb-schrift);
  filter: none;
}
.knopf.umrandet.warnung, button.umrandet.warnung {
  border-color: var(--achtung);
  color: var(--achtung);
  background: color-mix(in srgb, var(--achtung) 12%, transparent);
  font-weight: 600;
}
.knopf.umrandet.warnung:hover, button.umrandet.warnung:hover {
  border-color: var(--achtung);
  color: var(--achtung);
  background: color-mix(in srgb, var(--achtung) 20%, transparent);
}
.knopf.flach, button.flach {
  background: none;
  color: var(--schrift-leise);
  font-weight: 500;
  padding: .4rem .55rem;
}
.knopf.flach:hover, button.flach:hover {
  color: var(--gelb-schrift);
  background: var(--karte);
  filter: none;
}
.knopf.umrandet.loeschen:hover, button.umrandet.loeschen:hover,
.knopf.umrandet.loeschen:focus-visible, button.umrandet.loeschen:focus-visible {
  color: var(--schlecht);
  border-color: var(--schlecht);
  background: color-mix(in srgb, var(--schlecht) 10%, transparent);
}
.knopf.flach.loeschen:hover, button.flach.loeschen:hover,
.knopf.flach.loeschen:focus-visible, button.flach.loeschen:focus-visible {
  color: var(--schlecht);
  background: color-mix(in srgb, var(--schlecht) 10%, transparent);
}
.knopf.wetter { background: var(--orange); color: #fff; }
.ankreuz {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-size: .88rem;
}
.ankreuz input { width: auto; flex: 0 0 auto; accent-color: var(--gelb); }
.schalter { display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.schalter input { position: absolute; opacity: 0; width: 0; height: 0; }
.schalter .bahn {
  flex: 0 0 auto;
  width: 38px; height: 22px;
  border-radius: 999px;
  background: var(--linie);
  border: 1px solid var(--linie);
  position: relative;
  transition: background .15s;
}
.schalter .bahn::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--schrift-leise);
  transition: transform .15s, background .15s;
}
.schalter input:checked + .bahn { background: var(--gelb); border-color: var(--gelb); }
.schalter input:checked + .bahn::after { transform: translateX(16px); background: var(--auf-gelb); }
.schalter input:focus-visible + .bahn { outline: 2px solid var(--gelb); outline-offset: 2px; }
.hinweis {
  border-left: 3px solid var(--gelb);
  background: var(--karte);
  padding: .7rem 1rem;
  border-radius: 0 4px 4px 0;
  margin: 0 0 1rem;
}
.hinweis.gut { border-color: var(--gut); }
.hinweis.schlecht { border-color: var(--schlecht); }
.hinweis.warnung { border-color: var(--achtung); }
.beispielhinweis {
  display: block;
  margin-top: 2rem;
  padding: .6rem .9rem;
  border: 1px dashed var(--linie);
  border-radius: var(--rund);
  color: var(--schrift-leise);
  font-size: .82rem;
}
.beispielhinweis strong { color: var(--schrift); font-weight: 600; }
.beispielhinweis .sinnbild { vertical-align: -.2em; margin-right: .35rem; }
.leer {
  color: var(--schrift-leise);
  padding: 4rem 1rem;
  text-align: center;
  border: 1px dashed var(--linie);
  border-radius: var(--rund-gross);
}
.leer .sinnbild { margin: 0 auto .8rem; color: var(--linie); }
.anmeldeseite {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem 4rem;
}
.anmeldekarte { width: 100%; max-width: 23rem; }
.anmeldekarte .marke { justify-content: center; margin-bottom: 2rem; }
.anmeldekarte .marke svg { height: 22px; }
.anmeldekarte form {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  padding: 1.75rem;
}
.anmeldekarte h1 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.anmeldekarte button[type="submit"] { width: 100%; margin-top: .6rem; }
.anmeldefuss {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: .82rem;
}
.anmeldeseite .thema { position: fixed; top: 1.25rem; right: 1.25rem; }
.demokasten {
  margin-top: 1.25rem;
  border: 1px dashed var(--linie);
  border-radius: var(--rund);
  padding: .8rem .9rem;
  font-size: .8rem;
  color: var(--schrift-leise);
}
.demokasten strong { color: var(--schrift); display: block; margin-bottom: .4rem; }
.demokasten button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid var(--linie);
  color: var(--schrift);
  font-weight: 400;
  padding: .35rem .5rem;
  margin-top: .3rem;
  font-size: .78rem;
}
.demokasten button { white-space: normal; line-height: 1.4; }
.demokasten button:hover { border-color: var(--gelb); filter: none; }
.demokasten code { font-family: var(--zahlschrift); color: var(--gelb-schrift); }
.seitenkopf {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.seitenkopf .titel { margin-right: auto; }
.zurueck {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: .2rem;
}
.seitenkopf p { margin: 0; color: var(--schrift-leise); font-size: .88rem; }
.ortkachel {
  display: block;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  overflow: hidden;
  color: inherit;
  transition: box-shadow .15s ease-out, border-color .15s ease-out;
}
.ortkachel:hover {
  text-decoration: none;
  box-shadow: var(--schatten);
  border-color: rgba(210, 215, 0, .6);
}
.ortkachel .bild { display: block; height: 11rem; background: #000; }
.ortkachel .bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ortkachel .text { padding: .9rem 1rem 1rem; }
.ortkachel h2 { margin: 0 0 .15rem; font-size: 1rem; }
.ortkachel .ort { color: var(--schrift-leise); font-size: .82rem; }
.ortkachel .zeile {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .7rem;
  padding-top: .7rem;
  border-top: 1px solid var(--linie);
  font-size: .78rem;
  color: var(--schrift-leise);
}
.buehne {
  display: grid;
  grid-template-columns: 22rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.buehne.ohne-spalte { grid-template-columns: minmax(0, 1fr); }
.tafel {
  background: var(--kartengrund);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  box-shadow: var(--schatten-klein);
  overflow: hidden;
}
.tafelkopf {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.15rem;
  border-bottom: 1px solid var(--linie-leise);
}
.tafelkopf .sinnbild { color: var(--gelb); }
.tafelkopf h1, .tafelkopf h2 { margin: 0; font-size: 1rem; }
.tafelkopf .wortmarke { margin: 0 auto; }
.tafelkopf .tafelsuche {
  flex: 0 1 16rem;
  min-width: 8rem;
  padding: .32rem .6rem;
  font-size: .84rem;
}
@media (max-width: 640px) {
  .tafelkopf { flex-wrap: wrap; }
  .tafelkopf .tafelsuche { flex: 1 1 100%; }
}
.tafelkopf .wortmarke svg { height: 17px; width: auto; color: var(--schrift); display: block; }
.umschalter {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: 7px;
}
.umschalter button, .umschalter a {
  background: none;
  color: var(--schrift-leise);
  font-weight: 500;
  font-size: .86rem;
  padding: .3rem .8rem;
  border-radius: 5px;
  text-decoration: none;
  line-height: 1.5;
}
.umschalter button.an, .umschalter a.an {
  background: var(--gelb); color: var(--auf-gelb); font-weight: 600;
}
.umschalter button:not(.an):hover, .umschalter a:not(.an):hover {
  color: var(--schrift); background: none; filter: none;
}
.standzeile {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .45rem 1.15rem;
  border-bottom: 1px solid var(--linie-leise);
  background: var(--grund-tief);
  font-size: .78rem;
  color: var(--schrift-leise);
}
:root[data-thema="hell"] .standzeile { background: var(--karte-hell); }
.standzeile .dateiname {
  margin: 0 auto;
  font-family: var(--zahlschrift);
  font-size: .76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.livepunkt { display: inline-flex; align-items: center; gap: .4rem; color: var(--schrift); }
.livepunkt::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--schlecht);
  animation: pochen 2.4s ease-in-out infinite;
}
@keyframes pochen { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@media (prefers-reduced-motion: reduce) { .livepunkt::before { animation: none } }
.demopunkt { display: inline-flex; align-items: center; gap: .4rem; color: var(--schrift); }
.demopunkt::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gelb-schrift);
}
.bildflaeche {
  position: relative;
  display: grid;
  place-items: center;
  background: #000;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
}
.bildflaeche img, .bildflaeche video {
  display: block;
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
}
.bildflaeche.laedt, .bildflaeche:has(.platzhalter) { width: 100%; min-height: 18rem; }
.lupe-an { cursor: none; }
.lupenglas {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  background-repeat: no-repeat;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .45),
              inset 0 1px 2px rgba(255, 255, 255, .35);
}
.vergroesserung { position: relative; display: inline-block; }
.vergroesserung .wahlmenue {
  position: absolute;
  bottom: calc(100% + .4rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .4rem;
  min-width: 15rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: .7rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  z-index: 6;
}
.vergroesserung .wahlmenue[hidden] { display: none; }
.vergroesserung .wahlmenue button { justify-content: flex-start; text-align: left; width: 100%; }
.zoom-an { overflow: hidden; cursor: zoom-in; touch-action: none; user-select: none; }
.zoom-an img { will-change: transform; backface-visibility: hidden; }
.zoom-an img.sanft { transition: transform .16s cubic-bezier(.22, .61, .36, 1); }
@media (prefers-reduced-motion: reduce) {
  .zoom-an img.sanft { transition: none; }
}
.zoom-an.gezoomt { cursor: grab; }
.zoom-an.zieht { cursor: grabbing; }
.zoomstufe {
  position: absolute;
  left: .7rem;
  bottom: .6rem;
  z-index: 3;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-size: .8rem;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.bildstempel {
  position: absolute;
  right: .7rem;
  bottom: .6rem;
  z-index: 2;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(20, 20, 22, .45);
  color: #fff;
  font-family: "DIN Alternate", var(--titelschrift);
  font-weight: 700;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  white-space: pre;
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  pointer-events: none;
  white-space: nowrap;
}
.bildstempel.links { right: auto; left: .7rem; }
.bildstempel:empty { display: none; }
.bildflaeche video[controls] ~ .bildstempel { bottom: auto; top: .6rem; }
.bildflaeche:has(.ueberdeckung) .bildstempel { display: none; }
.bildflaeche:has(.vergleich) { width: 100%; }
.bildflaeche:fullscreen {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  place-items: center;
  background: #000;
}
.bildflaeche:fullscreen img,
.bildflaeche:fullscreen video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.bildflaeche:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  place-items: center;
  background: #000;
}
.bildflaeche:-webkit-full-screen img,
.bildflaeche:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.bildflaeche:fullscreen .vergleich {
  height: min(100vh, calc(100vw * 9 / 16));
  width: auto;
  max-width: 100vw;
  max-height: 100vh;
}
.bildflaeche:-webkit-full-screen .vergleich {
  height: min(100vh, calc(100vw * 9 / 16));
  width: auto;
  max-width: 100vw;
  max-height: 100vh;
}
.bildflaeche:fullscreen .startdecke { position: absolute; inset: 0; }
.bildflaeche:-webkit-full-screen .startdecke { position: absolute; inset: 0; }
video:fullscreen { width: 100%; height: 100%; max-height: none; }
video:-webkit-full-screen { width: 100%; height: 100%; max-height: none; }
.bildflaeche .platzhalter {
  display: grid;
  justify-items: center;
  gap: .8rem;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--schrift-leise);
}
.bildflaeche .platzhalter .sinnbild { color: rgba(139, 141, 133, .45); }
.bildflaeche .platzhalter p { margin: 0; max-width: 24rem; }
.standzeile.mit-blaettern { padding-block: .4rem; }
.standzeile .blaettern {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.standzeile .blaettern #blaetterstand {
  min-width: 7.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .standzeile.mit-blaettern { flex-wrap: wrap; row-gap: .4rem; }
  .standzeile .blaettern {
    flex: 1 1 100%; order: 9; justify-content: center;
    flex-wrap: wrap; gap: .4rem .6rem;
  }
  .standzeile .blaettern #blaetterstand { min-width: 0; }
}
.tafelfuss {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  padding: .9rem 1.15rem;
  border-top: 1px solid var(--linie-leise);
}
.tafelfuss .klein { display: inline-flex; align-items: center; gap: .4rem; }
.tafelfuss .rechts { margin-left: auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.groessenwahl { display: inline-flex; gap: 0; }
.groessenwahl button {
  border-radius: 0;
  border: 1px solid var(--linie);
  border-right-width: 0;
  background: none;
  color: var(--schrift-leise);
  font-size: .85rem;
  padding: .35rem .8rem;
}
.groessenwahl button:first-child { border-radius: var(--rund) 0 0 var(--rund); }
.groessenwahl button:last-child {
  border-radius: 0 var(--rund) var(--rund) 0;
  border-right-width: 1px;
}
.groessenwahl button:hover { color: var(--schrift); filter: none; }
.groessenwahl button.an {
  background: var(--gelb);
  color: var(--auf-gelb);
  border-color: var(--gelb);
  font-weight: 600;
}
.tafelfuss select, .tafelfuss input, .spaltenkopf select { width: auto; font-size: .85rem; padding: .35rem .5rem; }
.kamerastreifen {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .8rem 1rem;
  border-top: 1px solid var(--linie);
  scrollbar-width: thin;
}
.kameraknopf {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .4rem .85rem .4rem .4rem;
  color: var(--schrift-leise);
  font: 500 .82rem var(--textschrift);
  cursor: pointer;
  transition: border-color .12s ease, transform .14s ease;
}
.kameraknopf .kamerabild {
  position: relative;
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}
.kameraknopf img {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: calc(var(--rund) - 3px);
  display: block;
  background: #000;
}
.kameraknopf .kamerabild .punkt {
  position: absolute;
  top: 5px;
  left: 5px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .6);
}
.kameraknopf .wer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.kameraknopf .wer strong {
  font-weight: 600;
  font-size: .88rem;
  color: var(--schrift);
  white-space: nowrap;
}
.kameraknopf:hover {
  color: var(--schrift);
  border-color: var(--schrift-leise);
  filter: none;
  transform: translateY(-2px);
}
.kameraknopf.an {
  border-color: var(--gelb);
  color: var(--gelb-schrift);
  background: var(--karte);
}
.kameraknopf.an .wer strong { color: var(--gelb-schrift); }
@media (prefers-reduced-motion: reduce) {
  .kameraknopf:hover { transform: none; }
}
.kamerawahl {
  padding: .9rem 1rem 1rem;
  border-top: 1px solid var(--linie);
}
.kamerawahl-titel {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 .65rem;
  font-size: .9rem;
}
.kamerawahl-titel strong { font-weight: 600; color: var(--schrift); }
.kamerawahl .kamerastreifen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: .8rem;
  overflow: visible;
  padding: 0;
  border-top: 0;
}
.kamerawahl .kameraknopf {
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  padding: .5rem;
  font-size: .85rem;
  color: var(--schrift);
}
.kamerawahl .kameraknopf .kamerabild {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: calc(var(--rund) - 3px);
  overflow: hidden;
}
.kamerawahl .kameraknopf img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}
.kamerawahl .kameraknopf .kamerabild .punkt {
  width: 10px;
  height: 10px;
  top: 7px;
  left: 7px;
}
.kamerawahl .kameraknopf .wer { padding-inline: .2rem; gap: .15rem; }
.kamerawahl .kameraknopf .wer strong { white-space: normal; font-size: .95rem; }
.kamerawahl .kameraknopf.an {
  border-color: var(--gelb);
  box-shadow: inset 0 0 0 1px var(--gelb);
}
.punkt { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.punkt.gut { background: var(--gut); }
.punkt.schlecht { background: var(--schlecht); }
.punkt.unbekannt { background: rgba(139, 141, 133, .5); }
.spalte { display: flex; flex-direction: column; max-height: calc(100vh - 8rem); }
@media (min-width: 641px) {
  .buehne > .tafel.spalte:has(.bildraster) { align-self: stretch; max-height: none; }
  .spalte > .bildraster { flex: 1 1 0; min-height: 0; }
}
.spaltenkopf {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1.15rem;
  border-bottom: 1px solid var(--linie-leise);
}
.spaltenkopf .sinnbild { color: var(--gelb); }
.spaltenkopf h2 { margin: 0; font-size: .95rem; margin-right: auto; }
.spaltenkopf input[type="date"] { width: auto; font-size: .82rem; padding: .35rem .5rem; }
.bildraster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .8rem;
  overflow-y: auto;
  scrollbar-width: thin;
  align-content: start;
  grid-auto-rows: 6.9rem;
}
.bildraster button {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--rund);
  overflow: hidden;
  background: var(--karte-hell);
  cursor: pointer;
}
.bildraster button { height: 100%; }
.bildraster button:hover { filter: none; border-color: var(--schrift-leise); }
.bildraster button.an { border-color: var(--gelb); }
.bildraster img { display: block; width: 100%; height: 5.4rem; object-fit: contain; flex: 0 0 auto; }
.bildraster .stempel {
  display: block;
  flex: 0 0 auto;
  padding: .22rem .4rem;
  color: var(--schrift-leise);
  font-size: .66rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.bildraster button.an .stempel { color: var(--schrift); }
.vglwahl {
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: .8rem 1rem;
  border-top: 1px solid var(--linie);
}
.vglseite { display: flex; align-items: center; gap: .5rem; }
.vglseite .marke {
  font-size: .82rem;
  font-weight: 600;
  color: var(--schrift-leise);
  min-width: 3.4rem;
}
.vglseite input, .vglseite select {
  width: auto;
  font-size: .85rem;
  padding: .35rem .5rem;
  height: 2.2rem;
  box-sizing: border-box;
}
.vglwahl .rechts { margin-left: auto; }
.baustellenblock { margin-bottom: 2rem; }
.baustellenkopf {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  row-gap: .3rem;
  padding: 0 0 .7rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid var(--linie);
}
.baustellenkopf > span, .baustellenkopf h2 { min-width: 0; overflow-wrap: anywhere; }
.baustellenkopf h2 { margin: 0; font-size: 1.1rem; }
.baustellenkopf .sinnbild { color: var(--gelb); flex: 0 0 auto; }
.baustellenkopf .dehnen { flex: 1 1 auto; }
.kamerakacheln {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1rem;
}
.kamerakachel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  overflow: hidden;
  background: var(--karte);
  color: var(--schrift);
  transition: border-color .12s ease, transform .12s ease;
}
.kamerakachel:hover {
  border-color: var(--gelb);
  transform: translateY(-2px);
}
.kamerakachel .bild {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(100deg, var(--karte) 40%,
              var(--karte-hell) 50%, var(--karte) 60%);
  background-size: 300% 100%;
  animation: schimmer 1.6s ease-in-out infinite;
}
@keyframes schimmer {
  from { background-position: 100% 0; }
  to   { background-position: 0 0; }
}
.kamerakachel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kamerakachel img.breit,
.kamerakachel img.eingepasst { object-fit: contain; background: #000; }
.kamerakachel .fuss {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .85rem;
  font-weight: 500;
}
.kamerakachel .fuss .sinnbild { color: var(--schrift-leise); flex: 0 0 auto; }
.kamerakachel:hover .fuss .sinnbild { color: var(--gelb); }
.kamerakachel .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filmliste {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: .9rem;
  overflow-y: auto;
}
.buehne.ohne-spalte .filmliste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  align-content: start;
}
.filmliste button {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  overflow: hidden;
  background: var(--karte);
  cursor: pointer;
  text-align: left;
  transition: border-color .12s ease, transform .12s ease;
}
.filmliste button:hover {
  filter: none;
  border-color: var(--schrift-leise);
  transform: translateY(-1px);
}
.filmliste button.an { border-color: var(--gelb); }
.filmliste button.gross { border-width: 2px; }
.filmliste button.gross .beschriftung { font-size: .9rem; font-weight: 600; }
.filmliste img {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  flex: 0 0 auto;
}
.filmliste .beschriftung {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .7rem;
  color: var(--schrift);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.3;
}
.filmliste button.an .beschriftung { color: var(--gelb-schrift); }
.filmliste .beschriftung .sinnbild { color: var(--schrift-leise); flex: 0 0 auto; }
.filmliste button.an .beschriftung .sinnbild { color: var(--gelb); }
.filmliste .beschriftung .dauer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  color: var(--schrift-leise);
  flex: 0 0 auto;
}
.buehne:has(.filmwahl) > .tafel:first-child { scroll-margin-top: 5rem; }
.filmwahl { display: flex; flex-direction: column; gap: 1.2rem; padding: 1.15rem; }
.filmwahl .abschnitt { display: flex; flex-direction: column; gap: .6rem; }
.filmwahl .abschnittskopf {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--schrift-leise);
}
.filmwahl .abschnittskopf .sinnbild { color: var(--schrift-leise); flex: 0 0 auto; }
.filmwahl .abschnittskopf .frist { margin-left: auto; text-align: right; }
.zr-buehne {
  display: grid;
  grid-template-columns: minmax(13rem, 20rem) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.4rem;
}
.zr-buehne > .zr-schwebt { grid-column: 2; grid-row: 1; }
.zr-buehne > .zr-wochen { grid-column: 2; grid-row: 2; }
.zr-buehne > .zr-monate { grid-column: 1; grid-row: 1 / span 2; }
.zr-buehne.allein { grid-template-columns: minmax(0, 1fr); }
.zr-buehne.allein > .zr-schwebt { grid-column: 1; }
.zr-schwebt {
  border-color: transparent;
  box-shadow: var(--schatten-schwebend);
}
.zr-monate .filmwahl { padding: .9rem; gap: .9rem; }
.zr-monate .monatsblock {
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: .5rem;
}
.zr-monate .gesamtknopf { flex-direction: column; align-items: stretch; }
.zr-monate .gesamtknopf img { flex: 0 0 auto; width: 100%; }
.zr-monate .gesamtknopf .text { padding: .55rem .7rem; gap: .15rem; }
.zr-monate .gesamtknopf .name { font-size: .95rem; }
.zr-schwebt .bildflaeche {
  width: 100%;
  aspect-ratio: var(--bildform, 16 / 9);
  max-height: 72vh;
  grid-template-rows: minmax(0, 1fr);
}
.zr-schwebt .bildflaeche video,
.zr-schwebt .bildflaeche img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.zr-wochen .filmwahl { padding: .9rem; }
.zr-wochen .wochenmonat + .wochenmonat { margin-top: .9rem; }
.zr-wochen .wochenmonatname {
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
  margin: 0 0 .4rem .2rem; font-size: .9rem;
}
.wochenmonatname { align-items: center !important; margin-top: .2rem; }
.wochenmonatname strong {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1.15rem; font-weight: 700; color: var(--schrift); letter-spacing: .01em;
}
.wochenmonatname strong::before {
  content: ""; width: 4px; height: 1.15em; border-radius: 2px; background: var(--gelb);
}
.zr-wochen .wochenmonat + .wochenmonat { margin-top: 1.3rem; }
.zr-wochen .wochenreihe { border-left-width: 1px; border-left-color: var(--linie); }
.zr-wochen .wochenmonat.offen .wochenreihe {
  border-left-width: 3px; border-left-color: var(--gelb);
}
.zr-unten .wochenreihe { border-left-width: 1px; border-left-color: var(--linie); }
@media (max-width: 900px) {
  .zr-buehne { grid-template-columns: minmax(0, 1fr); }
  .zr-buehne > .zr-schwebt,
  .zr-buehne > .zr-wochen,
  .zr-buehne > .zr-monate { grid-column: 1; grid-row: auto; }
  .zr-monate .monatsblock {
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  }
}
.gesamtknopf {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  padding: 0;
  border: 2px solid var(--linie);
  border-radius: var(--rund);
  background: var(--karte);
  color: var(--schrift);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  white-space: normal;
  transition: border-color .12s ease, transform .14s ease, box-shadow .14s ease;
}
.gesamtknopf:hover {
  filter: none;
  border-color: var(--schrift-leise);
  transform: translateY(-2px);
}
.gesamtknopf.an { border-color: var(--gelb); }
.gesamtknopf img {
  flex: 0 0 14rem;
  width: 14rem;
  height: auto;
  display: block;
  background: #000;
}
.gesamtknopf .text {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .9rem 1.1rem;
  min-width: 0;
}
.gesamtknopf .name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--schrift);
}
.gesamtknopf.an .name { color: var(--gelb-schrift); }
.gesamtknopf .name .sinnbild { color: var(--schrift-leise); flex: 0 0 auto; }
.gesamtknopf.an .name .sinnbild { color: var(--gelb); }
.monatsblock {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: .7rem;
}
.monatskachel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--karte);
  color: var(--schrift);
  overflow: hidden;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition: border-color .12s ease, transform .14s ease, box-shadow .14s ease;
}
.monatskachel:hover { filter: none; border-color: var(--schrift-leise); transform: translateY(-2px); }
.monatskachel.an { border-color: var(--gelb); }
.monatskachel.offen { border-color: var(--schrift-leise); }
.monatskachel.an.offen { border-color: var(--gelb); }
.monatskachel img { display: block; width: 100%; height: auto; background: #000; flex: 0 0 auto; }
.monatskachel .beschriftung {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .5rem .6rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--schrift);
  line-height: 1.3;
}
.monatskachel.an .beschriftung { color: var(--gelb-schrift); }
.monatskachel .beschriftung .klein { font-weight: 400; color: var(--schrift-leise); }
.monatskachel .wochenmarke {
  position: absolute;
  top: .4rem;
  right: .4rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.5;
  pointer-events: none;
}
.wochenreihe {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .7rem .8rem;
  border: 1px solid var(--linie);
  border-left: 3px solid var(--gelb);
  border-radius: var(--rund);
  background: color-mix(in srgb, var(--schrift-leise) 9%, transparent);
}
.kleinfilm {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: 100%;
  padding: .42rem .7rem;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--karte);
  color: var(--schrift);
  font-size: .82rem;
  font-weight: 500;
  white-space: normal;
  text-align: left;
  cursor: pointer;
  transition: border-color .12s ease, transform .14s ease, box-shadow .14s ease;
}
.kleinfilm:hover {
  filter: none;
  border-color: var(--schrift-leise);
  transform: translateY(-2px);
}
.kleinfilm.an { border-color: var(--gelb); color: var(--gelb-schrift); }
.kleinfilm .sinnbild { color: var(--schrift-leise); flex: 0 0 auto; }
.kleinfilm.an .sinnbild { color: var(--gelb); }
.kleinfilm .zahl {
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  color: var(--schrift-leise);
}
.tagesliste { display: flex; flex-wrap: wrap; gap: .5rem; }
.zr-kopf {
  display: flex;
  align-items: flex-end;
  gap: .9rem;
  padding: .8rem 1.15rem .85rem;
  border-bottom: 1px solid var(--linie-leise);
  background: var(--grund-tief);
}
:root[data-thema="hell"] .zr-kopf { background: var(--karte-hell); }
.zr-kopf .zr-was { min-width: 0; }
.zr-art {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .1rem;
  margin: 0;
  font-family: var(--titelschrift);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--schrift);
}
.zr-art .zr-marke { color: var(--gelb-schrift); }
.zr-art:has(.zr-zeit) .zr-marke::after {
  content: "·";
  margin: 0 .5rem;
  color: var(--schrift-leise);
  font-weight: 400;
}
.zr-fakten {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: .28rem 0 0;
  font-size: .8rem;
  color: var(--schrift-leise);
}
.zr-fakten span:not(:last-child)::after {
  content: "·";
  margin: 0 .45rem;
  color: var(--schrift-leise);
}
.zr-fakten .aufnahmen {
  font-variant-numeric: tabular-nums;
  color: var(--schrift);
  font-weight: 500;
}
.zr-kopf .dateiname {
  margin-left: auto;
  flex: 0 1 auto;
  font-family: var(--zahlschrift);
  font-size: .72rem;
  color: var(--schrift-leise);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zr-balken {
  position: relative;
  height: 3px;
  background: color-mix(in srgb, var(--schrift-leise) 20%, transparent);
  overflow: hidden;
}
.zr-balken::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--anteil, 0%);
  background: var(--gelb);
  transition: width .25s linear;
}
.abspielknopf[hidden] { display: none; }
.gesamtknopf.an,
.monatskachel.an,
.kleinfilm.an,
.filmliste button.an {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gelb) 20%, transparent);
}
@keyframes zr-einblenden {
  from { opacity: 0; transform: translateY(.35rem); }
  to   { opacity: 1; transform: none; }
}
.zr-kopf.zr-frisch { animation: zr-einblenden .3s ease-out; }
@keyframes zr-auffahren {
  from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0;
         transform: translateY(-.3rem); }
  to   { opacity: 1; max-height: var(--hoehe, 40rem);
         padding-top: .7rem; padding-bottom: .7rem;
         transform: none; }
}
.wochenreihe.zr-auffahrt {
  overflow: hidden;
  animation: zr-auffahren .28s ease-out;
}
.zr-stoerung {
  margin: 0;
  padding: .55rem .8rem;
  border-top: 1px solid var(--linie);
  border-left: 3px solid var(--schlecht);
  font-size: .85rem;
  color: var(--schrift);
}
@media (prefers-reduced-motion: reduce) {
  .zr-kopf.zr-frisch,
  .wochenreihe.zr-auffahrt { animation: none; }
  .zr-balken::after { transition: none; }
  .gesamtknopf:hover,
  .monatskachel:hover,
  .kleinfilm:hover,
  .filmliste button:hover { transform: none; }
}
@media (max-width: 640px) {
  .zr-kopf .dateiname { display: none; }
  .zr-kopf { padding: .7rem .8rem .75rem; }
  .zr-art { font-size: 1.08rem; }
  .monatsblock {
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: .5rem;
  }
  .filmwahl { gap: .9rem; padding: .7rem; }
  .gesamtknopf { flex-direction: column; align-items: stretch; }
  .gesamtknopf img { flex: 0 0 auto; width: 100%; }
  .gesamtknopf .text { padding: .6rem .8rem; }
  .gesamtknopf .name { font-size: .95rem; }
}
@media (max-width: 640px) {
  .buehne:has(.filmliste) > .tafel:not(.spalte),
  .buehne:has(.abschnittsliste) > .tafel:not(.spalte) {
    order: -1;
    scroll-margin-top: 10rem;
  }
  .buehne:has(.filmwahl) > .tafel:first-child { scroll-margin-top: 10rem; }
  .buehne:has(.filmliste) .spalte { max-height: none; }
  .filmliste { gap: .4rem; padding: .6rem; }
  .filmliste img { display: none; }
  .filmliste .beschriftung {
    flex: 1 1 auto;
    padding: .6rem .8rem;
    font-size: .9rem;
  }
  .filmliste button:hover { transform: none; }
  .buehne:has(.bildraster) {
    grid-template-columns: 7.4rem minmax(0, 1fr);
    gap: .5rem;
    align-items: start;
  }
  .buehne:has(.bildraster) .spalte { max-height: none; overflow: visible; }
  .buehne:has(.bildraster) .spaltenkopf {
    flex-direction: column; align-items: stretch; gap: .3rem; padding: .45rem .4rem;
  }
  .buehne:has(.bildraster) .spaltenkopf h2,
  .buehne:has(.bildraster) .spaltenkopf > .sinnbild { display: none; }
  .buehne:has(.bildraster) .datumsknopf {
    width: 100%; justify-content: center; padding: .3rem .3rem; font-size: .72rem;
  }
  .buehne:has(.bildraster) .datumsknopf .sinnbild { display: none; }
  .buehne:has(.bildraster) .kalender { left: 0; width: min(18rem, calc(100vw - 2rem)); z-index: 6; }
  .buehne:has(.bildraster) .bildraster {
    grid-template-columns: 1fr;
    grid-auto-rows: max-content;
    gap: .35rem;
    padding: .4rem;
    max-height: calc(100vh - 13rem);
  }
  .buehne:has(.bildraster) .bildraster img { height: auto; aspect-ratio: 16 / 9; }
  .buehne:has(.bildraster) .bildraster .stempel { font-size: .6rem; padding: .15rem .25rem; text-align: center; }
  .buehne:has(.bildraster) .bildraster .tagteil { display: none; }
  .buehne:has(.bildraster) .tafelkopf { flex-wrap: wrap; gap: .3rem .5rem; padding: .5rem .6rem; }
  .buehne:has(.bildraster) .tafelkopf h1 { font-size: .92rem; }
  .buehne:has(.bildraster) .standzeile { padding: .35rem .6rem; font-size: .68rem; }
  .buehne:has(.bildraster) .standzeile .blaettern {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: .5rem; flex-wrap: nowrap;
  }
  .buehne:has(.bildraster) .standzeile .blaettern .wort { display: none; }
  .buehne:has(.bildraster) .standzeile .blaettern button {
    padding: .3rem .7rem; min-width: 2.6rem; justify-content: center;
  }
  .buehne:has(.bildraster) .standzeile .blaettern #blaetterstand { white-space: nowrap; }
  .buehne:has(.bildraster) .tafelfuss { padding: .4rem .5rem; }
}
.ueberdeckung {
  position: absolute; inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .75rem;
  padding: 1.5rem;
  text-align: center;
  background: radial-gradient(ellipse at center,
              rgba(10, 11, 12, .82) 0%, rgba(10, 11, 12, .94) 100%);
  backdrop-filter: blur(2px);
  color: rgba(255, 255, 255, .72);
}
.ueberdeckung p { margin: 0; max-width: 24rem; position: relative; }
.ueberdeckung.warten {
  background: radial-gradient(ellipse at center,
              rgba(10, 11, 12, .30) 0%, rgba(10, 11, 12, .78) 100%);
  backdrop-filter: none;
  overflow: hidden;
}
.ueberdeckung.warten > *:not(.wartegrund) { position: relative; z-index: 1; }
.ueberdeckung.warten p,
.ueberdeckung.warten .hauptzeile {
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 14px rgba(0, 0, 0, .5);
}
.wartegrund {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: blur(9px) brightness(.34) saturate(.8);
}
.wartebalken {
  width: min(19rem, 74%); height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
  margin-top: .45rem;
}
.wartebalken::after {
  content: "";
  display: block; height: 100%; width: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .5) 50%,
                    transparent 100%) -40% 0 / 45% 100% no-repeat,
    linear-gradient(90deg, rgba(214, 220, 61, .5), var(--gelb));
  box-shadow: 0 0 10px rgba(210, 215, 0, .45);
  animation: warteschritt 24s cubic-bezier(.15, .85, .2, 1) forwards,
             wartelicht 1.5s linear infinite;
}
@keyframes warteschritt {
  0%   { width: 0; }
  25%  { width: 90%; }
  100% { width: 98%; }
}
@keyframes wartelicht {
  to { background-position: 140% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wartebalken::after {
    animation: none; width: 40%;
    background: linear-gradient(90deg, rgba(214, 220, 61, .5), var(--gelb));
  }
}
.ueberdeckung .hauptzeile {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.ueberdeckung .klein { font-size: .84rem; line-height: 1.45; }
.ueberdeckung .sinnbild { color: var(--gelb); }
.tagesverlauf { display: flex; flex-direction: column; gap: .35rem; }
.tagesreihe {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: clamp(140px, 22vh, 260px);
  border-bottom: 1px solid var(--linie);
  padding-bottom: 1px;
}
.tagesachse { display: flex; gap: 2px; }
.tagesreihe .tagesspalte,
.tagesachse .tagesspalte {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tagesachse .tagesspalte small {
  font-size: .72rem;
  color: var(--schrift-leise);
  white-space: nowrap;
}
.saeule {
  width: 100%;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--gelb);
}
.tagesspalte.wochenende .saeule { background: var(--schrift-leise); opacity: .55; }
.tagesspalte.ohne .saeule {
  min-height: 0; height: 1px !important;
  background: var(--linie);
}
.tagesspalte:hover .saeule { filter: brightness(1.15); }
.tagesspalte.gekappt .saeule {
  position: relative;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(#000 0 0);
  background:
    repeating-linear-gradient(-45deg,
      var(--gelb) 0 4px, color-mix(in srgb, var(--gelb) 55%, transparent) 4px 8px)
      0 0 / 100% 10px no-repeat,
    var(--gelb);
}
.tagesspalte.gekappt.wochenende .saeule {
  background:
    repeating-linear-gradient(-45deg,
      var(--schrift-leise) 0 4px, transparent 4px 8px) 0 0 / 100% 10px no-repeat,
    var(--schrift-leise);
}
.tagesspalte.gekappt .saeule em {
  position: absolute; left: 50%; top: 12px;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  font-style: normal; font-size: .68rem; font-weight: 600;
  color: var(--auf-gelb);
  white-space: nowrap;
}
.ladekreis {
  width: 38px; height: 38px;
  border: 3px solid var(--kreisbahn);
  border-top-color: var(--kreisfarbe);
  border-radius: 50%;
  animation: kreisel .85s linear infinite;
}
.bildflaeche .ladekreis,
.ueberdeckung .ladekreis,
.platzhalter .ladekreis {
  --kreisbahn: rgba(255, 255, 255, .18);
  --kreisfarbe: #d2d700;
}
@keyframes kreisel { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ladekreis { animation-duration: 2.4s; }
}
.aufnahme { gap: .5rem; }
.aufnahme .punkt {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--schrift-leise);
  flex: 0 0 auto;
}
.aufnahme.laeuft { border-color: #c0392b; color: #e05a4a; }
.aufnahme.laeuft .punkt { background: #e04030; animation: blinken 1.1s ease-in-out infinite; }
@keyframes blinken { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .aufnahme.laeuft .punkt { animation: none; }
}
.abspielknopf {
  position: absolute;
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(210, 215, 0, .92);
  color: var(--auf-gelb);
  border: 0;
  cursor: pointer;
}
.abspielknopf:hover { filter: brightness(1.1); }
.zeitleiste {
  position: relative;
  height: 46px;
  margin: 0 1rem 1rem;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  overflow: hidden;
  cursor: pointer;
}
.zeitleiste .abschnitt {
  position: absolute;
  top: 8px;
  height: 18px;
  background: rgba(210, 215, 0, .55);
  border-radius: 2px;
}
.zeitleiste .abschnitt.bewegung { background: rgba(215, 90, 30, .6); }
.zeitleiste .marke {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--schrift);
}
.zeitleiste .stunden {
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  display: flex;
  justify-content: space-between;
  padding: 0 .3rem;
  font-size: .62rem;
  color: var(--schrift-leise);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.abschnittsliste { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.abschnittsliste li { flex: 0 0 auto; }
.abschnittsliste li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .8rem;
  border-bottom: 1px solid var(--linie-leise);
  font-size: .85rem;
}
.abschnittsliste li:hover { background: var(--karte-hell); }
.abschnittsliste .spanne { display: flex; flex-direction: column; margin-right: auto; }
.abschnittsliste .spanne strong { font-variant-numeric: tabular-nums; font-weight: 600; }
.abschnittsliste .spanne span { color: var(--schrift-leise); font-size: .74rem; }
.ausloeser {
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: .1rem .55rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--orange);
}
.ausloeser.dauer { color: var(--schrift-leise); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tabelle th {
  text-align: left;
  color: var(--schrift-leise);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--linie);
  padding: .55rem .85rem;
}
.tabelle td { padding: .7rem .85rem; border-bottom: 1px solid var(--linie-leise); vertical-align: middle; }
.tabelle tr:hover td { background: var(--karte-hell); }
.tabelle .rechts { text-align: right; }
.tabelle tr.stillgelegt { opacity: .55; }
.nichtumbrechen { white-space: nowrap; }
.tabelle tr.unterzeile td { border-top: none; }
.grundreihe {
  display: flex; gap: .5rem; overflow-x: auto;
  padding: .5rem .2rem .6rem; scrollbar-width: thin;
}
.grundkachel {
  flex: 0 0 auto; flex-direction: column; align-items: center; gap: .15rem;
  padding: 3px; border: 2px solid transparent; border-radius: 8px;
  background: none; color: var(--schrift-leise);
  font: 500 .74rem var(--textschrift); letter-spacing: 0; line-height: 1.3;
}
.grundkachel:hover { filter: none; border-color: var(--linie); }
.grundkachel.an { border-color: var(--gelb); color: var(--gelb-schrift); }
.grundkachel img { display: block; width: 104px; height: auto; border-radius: 5px; }
.grundkachel .uhr { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .grundreihe {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem;
    overflow-x: hidden; overflow-y: auto; max-height: 17rem; padding: .4rem 0;
  }
  .grundkachel { padding: 2px; min-width: 0; }
  .grundkachel img { width: 100%; }
}
.bildfuss {
  margin-top: 1.1rem;
  display: flex; flex-direction: column; gap: .85rem;
}
.knopfmitsatz { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.knopfmitsatz > span { max-width: 34rem; }
.bildstand { display: flex; flex-direction: column; gap: .3rem; }
.bildstand p { margin: 0; }
.bildstand p:empty { display: none; }
.grundwahl {
  margin-top: 1.3rem; padding-top: 1.1rem;
  border-top: 1px solid var(--linie);
}
.feldmitknopf { position: relative; display: block; }
.feldmitknopf > input { padding-right: 2.6rem; }
.augenknopf {
  position: absolute; top: 0; bottom: 0; right: .28rem;
  width: 2.1rem; padding: 0; border: 0; border-radius: var(--rund);
  background: none; color: var(--schrift-leise);
  display: inline-flex; align-items: center; justify-content: center;
}
.augenknopf:hover { filter: none; color: var(--schrift); background: none; }
.augenknopf[aria-pressed="true"] { color: var(--gelb-schrift); }
.augenknopf:focus-visible { outline: 2px solid var(--gelb); outline-offset: -2px; }
.balken {
  position: relative;
  height: 6px;
  width: 8rem;
  background: var(--linie);
  border-radius: 3px;
  overflow: hidden;
}
.balken i { position: absolute; inset: 0 auto 0 0; background: var(--gelb); border-radius: 3px; }
.fertig { display: inline-flex; align-items: center; gap: .35rem;
          color: var(--gut); font-weight: 600; font-size: .8rem; }
.rechnenfortschritt {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  margin: .7rem 0 0;
}
.rechnenfortschritt .balken { width: 14rem; height: 8px; flex: 0 1 14rem; }
.rechnenfortschritt .balken i { transition: width .4s ease; }
.rechnenfortschritt strong { font-variant-numeric: tabular-nums;
                             font-size: .85rem; min-width: 3.2rem; }
.modulkacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.modulkachel {
  display: flex;
  flex-direction: column;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  padding: .9rem 1rem 1rem;
}
.modulkachel .messkopf {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  margin-bottom: .8rem;
}
.modulkachel .messkopf .sinnbild { color: var(--schrift-leise); }
.modulkachel .messkopf strong { font-weight: 600; }
.batterie { display: flex; }
.batterie.gut { color: rgba(100, 192, 122, .55); }
.batterie.schlecht { color: var(--schlecht); }
.modulkachel.stumm { border-style: dashed; }
.modulkachel .keine {
  margin: 0;
  padding: .9rem 0;
  color: var(--schrift-leise);
  font-style: italic;
  font-size: .9rem;
}
.werteliste { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; }
.messwert { display: flex; flex-direction: column; }
.messwert .zahl {
  display: flex;
  align-items: center;
  gap: .35rem;
  font: 600 1.5rem/1.1 var(--titelschrift);
  font-variant-numeric: tabular-nums;
}
.messwert .zahl small { font-size: .78rem; font-weight: 500; color: var(--schrift-leise); }
.messwert .was { font-size: .74rem; color: var(--schrift-leise); margin-top: .15rem; }
.ampel { width: 9px; height: 9px; border-radius: 50%; display: block; }
.ampel.gut { background: var(--gut); }
.ampel.achtung { background: var(--achtung); }
.ampel.schlecht { background: var(--schlecht); }
.ampel.aus { background: rgba(139, 141, 133, .5); }
.modulfuss { margin-top: auto; padding-top: .8rem; font-size: .74rem; color: var(--schrift-leise); }
.verlauf { display: block; width: 100%; height: 30px; margin-top: .6rem; }
.anleitung .schritte { padding-left: 1.2rem; margin: .6rem 0 0; }
.anleitung .schritte > li {
  margin-bottom: 1.1rem;
  padding-left: .3rem;
  line-height: 1.55;
}
.anleitung .schritte > li > strong { color: var(--schrift); }
.anleitung .schritte p { margin: .3rem 0 .4rem; }
.anleitung .schritte ol[type="a"] {
  padding-left: 1.1rem;
  margin: .4rem 0 0;
  color: var(--schrift-leise);
  font-size: .88rem;
}
.anleitung .schritte ol[type="a"] li { margin-bottom: .35rem; }
.anleitung .linkfeld { margin-top: .3rem; }
.nebenwerte {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding: .7rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--linie-leise);
  border-radius: var(--rund);
  background: var(--karte);
}
.nebenwerte > .klein { display: inline-flex; align-items: center; gap: .4rem; }
.nebenwerte em { font-style: normal; opacity: .7; }
.nebenwert {
  display: inline-flex;
  align-items: baseline;
  gap: .25rem;
  font-variant-numeric: tabular-nums;
}
.nebenwert strong { font-weight: 500; font-size: .95rem; }
.nebenwert small { color: var(--schrift-leise); font-size: .72rem; }
.nebenwert .was { color: var(--schrift-leise); font-size: .78rem; margin-left: .2rem; }
.nebenwert .ampel { margin-right: .1rem; }
.diagrammtafel {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  padding: 1rem 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.diagrammkopf { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.diagrammkopf h2 { margin: 0; margin-right: auto; font-size: .95rem; }
.urteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.urteil {
  display: flex;
  gap: .75rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--gut);
  border-radius: 0 var(--rund) var(--rund) 0;
  padding: .85rem 1rem;
}
.urteil.achtung { border-left-color: var(--achtung); }
.urteil.schlecht { border-left-color: var(--schlecht); }
.urteil > .sinnbild { color: var(--schrift-leise); margin-top: .1rem; }
.urteil strong { display: block; font-size: .88rem; margin-bottom: .15rem; }
.urteil p { margin: 0; font-size: .82rem; color: var(--schrift-leise); }
#dbild { display: block; width: 100%; height: auto; }
#dbild .dtitel {
  font: 600 13px var(--titelschrift);
  fill: var(--schrift);
}
#dbild .dachse {
  font: 11px var(--textschrift);
  fill: var(--schrift-leise);
  font-variant-numeric: tabular-nums;
}
#dhuelle {
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.ablesezeile {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .3rem 1.1rem;
  min-height: 2.7rem;
  margin: 0 0 .7rem;
  padding: .55rem .85rem;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  font-variant-numeric: tabular-nums;
}
.ablesezeile .wann { font-size: .78rem; color: var(--schrift-leise); min-width: 8.5rem; }
.ablesewert { display: inline-flex; align-items: baseline; gap: .2rem; white-space: nowrap; }
.ablesewert strong { font: 600 1.02rem/1.1 var(--titelschrift); }
.ablesewert small { font-size: .72rem; color: var(--schrift-leise); }
.ablesewert .was { font-size: .74rem; color: var(--schrift-leise); margin-left: .15rem; }
@media (max-width: 640px) {
  .ablesezeile .wann { flex: 0 0 100%; }
  .ablesewert .was { display: none; }
  .zeitblaetter { flex-wrap: wrap; }
  .zeitblaetter strong { min-width: 0; flex: 1 1 auto; }
  .nebenwerte { gap: .45rem 1rem; }
  .nebenwerte > .klein { flex: 0 0 100%; }
}
.diagrammtafel {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  padding: 1rem 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.diagrammkopf { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.diagrammkopf h2 { margin: 0; margin-right: auto; font-size: .95rem; }
.legende { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--schrift-leise); }
.legende span { display: inline-flex; align-items: center; gap: .35rem; }
.legende i { width: 10px; height: 3px; border-radius: 2px; display: block; }
.urteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.urteil {
  display: flex;
  gap: .75rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--gut);
  border-radius: 0 var(--rund) var(--rund) 0;
  padding: .85rem 1rem;
}
.urteil.achtung { border-left-color: var(--achtung); }
.urteil.schlecht { border-left-color: var(--schlecht); }
.urteil strong { display: block; font-size: .88rem; margin-bottom: .15rem; }
.urteil p { margin: 0; font-size: .82rem; color: var(--schrift-leise); }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1.5rem; align-items: start; }
code, kbd, samp { overflow-wrap: anywhere; }
.quelltext {
  margin: 0;
  padding: .9rem 1rem;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: 8px;
  overflow-x: auto;
  max-height: 32rem;
  overflow-y: auto;
  font-size: .82rem;
  line-height: 1.5;
  tab-size: 2;
}
.quelltext code { overflow-wrap: normal; white-space: pre; }
.karten > * { min-width: 0; }
.kontokarten { display: block; column-gap: 1.5rem; }
@media (min-width: 62rem) { .kontokarten { column-count: 3; } }
@media (min-width: 46rem) and (max-width: 61.99rem) { .kontokarten { column-count: 2; } }
.kontokarten > .karte {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 1.5rem;
  display: inline-block;
  width: 100%;
}
@media (max-width: 700px) {
  .karten[style*="minmax(0,"] { grid-template-columns: 1fr !important; }
}
.karte {
  background: var(--kartengrund);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  box-shadow: var(--schatten-klein);
  padding: 1.6rem 1.7rem 1.7rem;
}
.karte > h2 { display: flex; align-items: center; gap: .5rem; }
.karte > h2 .sinnbild { color: var(--gelb); }
.karte h3.unterpunkt {
  margin: 1.4rem 0 .45rem;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--schrift-leise);
}
.karte h3.unterpunkt:first-child { margin-top: 0; }
dl.angaben { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 0; }
dl.angaben dt { color: var(--schrift-leise); font-size: .84rem; }
dl.angaben dd { margin: 0; font-size: .9rem; }
dl.angaben.untereinander { display: block; }
dl.angaben.untereinander dt { font-size: .9rem; color: var(--schrift); font-weight: 500; }
dl.angaben.untereinander dt.leise { color: var(--schrift-leise); font-weight: 400; }
dl.angaben.untereinander dd { margin: .15rem 0 .9rem; }
dl.angaben.untereinander dd:last-child { margin-bottom: 0; }
.wochenraster { margin: .45rem 0 .6rem; max-width: 34rem; }
.wochenraster .skala {
  position: relative; height: 1rem; margin-left: 1.9rem;
  font-size: .68rem; color: var(--schrift-leise);
}
.wochenraster .skala b { position: absolute; font-weight: 400; transform: translateX(-50%); }
.wochenraster .skala b:first-child { transform: none; }
.wochenraster .skala b:last-child { transform: translateX(-100%); }
.wochenraster .zeile { display: flex; align-items: center; gap: .4rem; margin-bottom: 2px; }
.wochenraster .tag { width: 1.5rem; font-size: .72rem; color: var(--schrift-leise); }
.wochenraster .spur {
  position: relative; flex: 1 1 auto; height: 13px; border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0,
      transparent calc(100% / 24 - 1px), var(--linie) calc(100% / 24 - 1px),
      var(--linie) calc(100% / 24)),
    var(--karte-hell);
}
.wochenraster .spur i { position: absolute; top: 0; bottom: 0; background: var(--gelb); border-radius: 2px; }
.abgeschaltet > summary,
.einklappbar > summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
}
.abgeschaltet > summary::-webkit-details-marker,
.einklappbar > summary::-webkit-details-marker { display: none; }
.abgeschaltet > summary::before,
.einklappbar > summary::before {
  content: "›"; position: absolute; margin-left: -.85rem;
  color: var(--schrift-leise); transition: transform .12s ease;
}
.abgeschaltet[open] > summary::before,
.einklappbar[open] > summary::before { transform: rotate(90deg); }
.abgeschaltet > summary:hover,
.einklappbar > summary:hover { color: var(--schrift); }
.abgeschaltet > summary .mehr,
.einklappbar > summary .mehr { font-size: .8rem; color: var(--schrift-leise); }
.abgeschaltet[open] > summary .mehr,
.einklappbar[open] > summary .mehr { display: none; }
.staerkevorschau { margin: .9rem 0 .2rem; }
.staerkevorschau img {
  display: block; max-width: min(560px, 100%); height: auto;
  border-radius: 8px; border: 1px solid var(--linie); margin-top: .4rem;
}
.staerkevorschau img:not([src]) { display: none; }
.staerkevorschau img[src] { cursor: zoom-in; }
.ganzschau {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .7rem; padding: 1.4rem;
  background: rgba(0, 0, 0, .86);
}
.ganzschau[hidden] { display: none; }
.ganzschau img {
  max-width: 100%; max-height: calc(100vh - 8rem); height: auto;
  border-radius: 6px; box-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}
.ganzschau p { color: #fff; margin: 0; max-width: 62rem; text-align: center; }
.ganzschau .schliessen {
  position: absolute; top: .9rem; right: 1.1rem;
  background: #fff; color: #111;
}
.ampelpunkt {
  width: .7rem; height: .7rem; border-radius: 50%; flex: none;
  display: inline-block;
}
.ampelpunkt.rot { background: var(--schlecht); }
.ampelpunkt.gelb { background: var(--achtung); }
.ampelpunkt.gruen { background: var(--gut); }
.ampelpunkt.grau { background: var(--linie); }
.ampelzeile {
  border-left: 3px solid var(--linie);
  padding: .55rem 0 .55rem .9rem;
  margin-bottom: .8rem;
}
.ampelzeile:last-child { margin-bottom: 0; }
.ampelzeile.rot { border-left-color: var(--schlecht); }
.ampelzeile.gelb { border-left-color: var(--achtung); }
.ampelzeile.gruen { border-left-color: var(--gut); }
.ampelbestaetigen {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  margin: .45rem 0 0;
}
.ampelbestaetigen input {
  flex: 1 1 16rem; max-width: 26rem; font-size: .8rem; padding: .35rem .55rem;
}
.ampelbestaetigt {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  margin: .45rem 0 0; font-size: .82rem; color: var(--gut);
}
.ampelbestaetigt .leise { color: var(--schrift-leise); }
.ampelbestaetigt form { margin: 0; }
.ampelkopf {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  margin-bottom: .2rem;
}
.ampelname { font-weight: 500; }
.ampelbefund { margin: 0; font-size: .92rem; }
.ampeltext { margin: .25rem 0 0; max-width: 60rem; }
.ampeltun {
  margin: .5rem 0 0; padding: .5rem .7rem; max-width: 60rem;
  background: var(--karte-hell); border-radius: var(--rund-klein, 6px);
  font-size: .88rem;
}
.ampelkachel.rot .lagenzahl { color: var(--schlecht); }
.ampelkachel.gelb .lagenzahl { color: var(--achtung); }
.ampelkachel.gruen .lagenzahl { color: var(--gut); }
.graueliste > summary { cursor: pointer; font-size: .9rem; }
.verpixelteil + .verpixelteil {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--linie);
}
.verpixelteil h3 { margin: 0 0 .25rem; }
.verpixelteil > p.klein { margin: 0 0 .7rem; }
.verpixelteil > p.stand { margin: .7rem 0 0; }
.karten.mauer > .karte.breit { column-span: all; -webkit-column-span: all; }
.karte.breit { margin: 0 0 1.5rem; }
.freigabeliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.freigabeliste li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; }
.freigabeliste .sinnbild { color: var(--gut); }
.freigabeliste .ampel { display: inline-flex; flex: none; width: 16px; height: 16px; align-items: center; justify-content: center; }
.freigabeliste .ampel .sinnbild { width: 16px; height: 16px; }
.freigabeliste .ampel.gelb .sinnbild { color: var(--gelb); }
.freigabeliste li.zugangszeile { flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.freigabeliste li.zugangszeile > a:first-of-type { font-weight: 500; }
.freigabeliste li.zugangszeile .mehr { color: var(--schrift-leise); }
.freigabeliste li.zugangszeile .knopf { margin-left: auto; }
.freigabeliste li.aus { color: var(--schrift-leise); }
.freigabeliste li.aus .sinnbild { color: var(--linie); }
.nutzungskarte .zugangsdaten { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; margin: 0 0 .9rem; font-size: .88rem; }
.nutzungskarte .zugangsdaten dt { color: var(--schrift-leise); }
.nutzungskarte .zugangsdaten dd { margin: 0; }
.nutzungskarte .kennzahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.nutzungskarte .kennzahlen > div { display: flex; flex-direction: column; gap: .1rem; padding: .55rem .7rem; border: 1px solid var(--linie-leise); border-radius: var(--rund); min-width: 0; }
.nutzungskarte .kennzahlen .zahlen { font-size: 1.25rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nutzungskarte .unterpunkt { margin-top: 1rem; }
.nutzungskarte .modulbalken, .nutzungskarte .kameraliste, .nutzungskarte .vorgangsliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.nutzungskarte .modulbalken li { display: grid; grid-template-columns: 6.5rem 1fr auto; align-items: center; gap: .6rem; font-size: .85rem; }
.nutzungskarte .modulbalken .balken { display: block; height: 8px; border-radius: 4px; background: var(--karte-hell); overflow: hidden; }
.nutzungskarte .modulbalken .balken i { display: block; height: 100%; background: var(--gelb); border-radius: 4px; }
.nutzungskarte .kameraliste li, .nutzungskarte .vorgangsliste li { display: flex; gap: .6rem; justify-content: space-between; }
.nutzungskarte .vorgangsliste li { justify-content: flex-start; }
.nutzungskarte .vorgangsliste li span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .nutzungskarte .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nutzungskarte .modulbalken li { grid-template-columns: 5rem 1fr auto; }
}
.adminleiste {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.adminleiste input[type="search"] { width: 16rem; }
.merkmal {
  display: inline-block;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: .1rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--schrift-leise);
  margin: 1px;
}
.merkmal.an { color: var(--gelb-schrift); border-color: rgba(210, 215, 0, .5); }
.merkmal.rot { color: var(--schlecht); border-color: var(--schlecht); }
.merkmal.gelb { color: var(--achtung); border-color: var(--achtung); }
.merkmal.gruen { color: var(--gut); border-color: var(--gut); }
.merkmal.grau { color: var(--schrift-leise); }
.ortsampel { list-style: none; margin: 0; padding: 0; }
.ortszeile {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .5rem .2rem .5rem .8rem;
  border-left: 3px solid var(--linie);
  border-bottom: 1px solid var(--linie-leise);
}
.ortszeile:last-child { border-bottom: 0; }
.ortszeile.rot { border-left-color: var(--schlecht); }
.ortszeile.gelb { border-left-color: var(--achtung); }
.ortszeile.gruen { border-left-color: var(--gut); }
.ortszeile .ampelpunkt { align-self: center; }
.ortsname { font-weight: 600; font-size: .9rem; min-width: 14rem; }
.ortssatz { color: var(--schrift-leise); font-size: .84rem; flex: 1 1 18rem; }
.ortszahlen { display: flex; gap: .25rem; flex: none; }
.gruppe {
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .8rem 1rem 1rem;
  margin-bottom: 1rem;
}
.gruppe > legend, .gruppe > h3 {
  font-size: .82rem;
  color: var(--schrift-leise);
  font-family: var(--textschrift);
  font-weight: 500;
  padding: 0 .3rem;
  margin: 0 0 .6rem;
}
.wahlreihe { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.unterwahl {
  margin: .5rem 0 .8rem 1.6rem;
  padding-left: .9rem;
  border-left: 2px solid var(--linie);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
}
.schalterliste { display: flex; flex-direction: column; gap: 0; }
.schalterliste .zeile { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; }
.schalterliste .zeile + .zeile { border-top: 1px solid var(--linie-leise); }
.schalterliste .zeile:first-child { padding-top: .2rem; }
.schalterliste .zeile:last-child { padding-bottom: .2rem; }
.schalterliste .zeile.zeitfenster { align-items: flex-end; flex-wrap: wrap; gap: .9rem; }
.schalterliste .zeile .beschriftung { margin-right: auto; }
.schalterliste .zeile strong { display: block; font-size: .88rem; font-weight: 600; }
.schalterliste .zeile span { font-size: .78rem; color: var(--schrift-leise); }
.vorschau {
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .9rem 1rem;
  font-size: .85rem;
}
.vorschau strong { display: block; margin-bottom: .4rem; font-size: .82rem; color: var(--schrift-leise); font-weight: 500; }
.aktionsleiste {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  row-gap: .6rem;
  margin-top: 1.5rem;
  padding: .9rem 1.25rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  box-shadow: var(--schatten);
}
.datumsknopf {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--grund-tief);
  border: 1px solid rgba(210, 215, 0, .5);
  color: var(--schrift);
  border-radius: var(--rund);
  padding: .35rem .7rem;
  font: 500 .85rem var(--textschrift);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
:root[data-thema="hell"] .datumsknopf { background: var(--karte-hell); }
.datumsknopf:hover { border-color: var(--gelb); filter: none; }
.datumsknopf .sinnbild { color: var(--schrift-leise); }
.datumsknopf .datum { font-variant-numeric: tabular-nums; }
.kalender {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  z-index: 40;
  width: 16.5rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  box-shadow: var(--schatten);
  padding: .7rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.kalenderkopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.kalenderkopf strong { font: 500 .88rem var(--textschrift); }
.kalenderkopf button { font-size: 1.1rem; line-height: 1; padding: .1rem .5rem; }
.kalendergitter {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  justify-items: center;
}
.kalendergitter.mit-kw { grid-template-columns: auto repeat(7, minmax(0, 1fr)); }
.kalendergitter .kw {
  align-self: center;
  padding-right: .45rem;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
  color: var(--schrift-leise);
  border-right: 1px solid var(--linie);
  margin-right: .15rem;
  line-height: 2rem;
}
.kalendergitter .kwkopf {
  padding-right: .45rem;
  font-size: .66rem;
  letter-spacing: .04em;
}
.kalendergitter .wtag {
  font-size: .72rem;
  color: var(--schrift-leise);
  padding-bottom: .3rem;
}
.kalendergitter .tag {
  position: relative;
  display: block;
  line-height: 2rem;
  text-align: center;
  width: 100%;
  min-width: 1.75rem;
  max-width: 2.25rem;
  margin: 0 auto;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: var(--rund);
  background: none;
  color: var(--schrift);
  font: .85rem var(--textschrift);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.kalendergitter .tag:hover:not(:disabled) { background: var(--karte-hell); filter: none; }
.kalendergitter .tag.gewaehlt { background: var(--gelb); color: var(--auf-gelb); font-weight: 600; }
.kalendergitter .tag:disabled { color: var(--linie); cursor: default; }
.kalendergitter .tag.fremd { color: var(--linie); font-size: .8rem; }
.kalendergitter .tag.voll::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gelb);
}
.kalendergitter .tag.gewaehlt.voll::after { background: var(--auf-gelb); }
.kalenderfuss {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
  padding-top: .5rem;
  border-top: 1px solid var(--linie);
  font-size: .72rem;
  color: var(--schrift-leise);
}
.punkt-voll { width: 4px; height: 4px; border-radius: 50%; background: var(--gelb); }
.seitenfuss {
  border-top: 1px solid var(--linie);
  margin-top: 3rem;
  background: var(--grund-tief);
}
:root[data-thema="hell"] .seitenfuss { background: var(--karte); }
.fusszeile {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--schrift-leise);
}
.fusszeile .verweise { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.fusszeile .verweise a { color: var(--schrift-leise); text-decoration: underline; }
.fusszeile .verweise a:hover { color: var(--gelb-schrift); }
.fusszeile .schutz {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  max-width: 44rem;
  margin-left: auto;
}
.fusszeile .schutz .sinnbild { color: var(--gut); margin-top: .1rem; }
.vergleich {
  position: relative;
  aspect-ratio: 16 / 9;
  height: min(68vh, calc((100vw - 4rem) * 9 / 16));
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.vergleich .lage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vergleich .klipp { clip-path: inset(0 calc(100% - var(--schnitt)) 0 0); }
.vergleich .griff {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--schnitt);
  will-change: left;
  width: 2px;
  margin-left: -1px;
  background: var(--gelb);
  pointer-events: none;
}
.vergleich .griff span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gelb);
  color: var(--auf-gelb);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.zeitmarke {
  position: absolute;
  top: 10px;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: #f2f2ee;
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.zeitmarke.links { left: 10px; }
.zeitmarke.rechts { right: 10px; }
.freimarke {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  color: var(--schrift-leise);
  font-size: .82rem;
  white-space: nowrap;
}
@media (max-width: 640px) { .freimarke .wort { display: none; } }
body.oeffentlich main {
  max-width: 1400px;
  padding-top: 2rem;
}
.oeffentlichtafel .tafelkopf h1 { font-size: 1rem; }
.oeffentlichtafel .kamerastreifen .kameraknopf { font-size: .76rem; }
.personenliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.personenliste li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--linie-leise);
}
.personenliste li:last-child { border-bottom: 0; }
.personenliste .wer { margin-right: auto; min-width: 0; }
.personenliste .wer strong { display: block; font-size: .9rem; font-weight: 600; }
.personenliste .wer span { font-size: .78rem; color: var(--schrift-leise); }
.personenliste li.gesperrt { opacity: .5; }
.tabelle.betriebstafel {
  table-layout: fixed;
  width: 100%;
  min-width: 40rem;
}
.betriebstafel th:nth-child(1),
.betriebstafel td:nth-child(1) { width: 1.8rem; padding-right: 0; }
.betriebstafel th:nth-child(3),
.betriebstafel td:nth-child(3) { width: 9rem; white-space: nowrap; }
.betriebstafel th:nth-child(4),
.betriebstafel td:nth-child(4) { width: 9rem; }
.betriebstafel { table-layout: fixed; }
.betriebstafel td:nth-child(2) > span { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.betriebstafel td:nth-child(2) strong { overflow-wrap: normal; }
@media (max-width: 640px) {
  .betriebstafel { min-width: 0; }
  .betriebstafel th:nth-child(3), .betriebstafel td:nth-child(3) { display: none; }
  .betriebstafel th:nth-child(4), .betriebstafel td:nth-child(4) { width: 5.5rem; }
}
.betriebstafel td { vertical-align: top; }
.betriebstafel td:nth-child(1) .ampel { margin-top: .38rem; }
.betriebstafel td:nth-child(2) strong { display: block; line-height: 1.35; }
.betriebstafel .zahlen { overflow-wrap: anywhere; }
.betriebstafel .tafelknoepfe > * {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 0 .3rem;
}
.betriebstafel .tafelknoepfe > *:last-child { margin-bottom: 0; }
.betriebstafel th.rechts { text-align: right; }
.tabelle.nutzerliste { table-layout: fixed; width: 100%; }
.nutzerliste th:nth-child(2),
.nutzerliste td:nth-child(2) { width: 10rem; white-space: nowrap; }
.nutzerliste th:nth-child(3),
.nutzerliste td:nth-child(3) { width: 8.5rem; }
.nutzerliste td:nth-child(1) { overflow-wrap: anywhere; }
.tafel {
  --kundenraster: 1fr 7rem 7.5rem 7rem 7rem;
}
.kundenkopfzeile,
.kundenzeile > summary {
  display: grid;
  grid-template-columns: var(--kundenraster);
  gap: .8rem;
  align-items: center;
  padding: .6rem 1rem;
}
.kundenkopfzeile {
  border-bottom: 1px solid var(--linie);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--schrift-leise);
}
.kundenzeile { border-bottom: 1px solid var(--linie-leise); }
.kundenzeile:last-child { border-bottom: 0; }
.kundenzeile > summary { cursor: pointer; list-style: none; }
.kundenzeile > summary::-webkit-details-marker { display: none; }
.kundenzeile > summary:hover { background: var(--karte-hell); }
.kundenzeile[open] > summary { background: var(--karte-hell); }
.kundenfirma { font-weight: 600; font-size: .92rem; min-width: 0;
  overflow-wrap: anywhere; }
.kundenfirma .klein { font-weight: 400; margin-left: .4rem; }
.kundenzeile .zahlen { font-variant-numeric: tabular-nums; }
.kundenstand { text-align: right; }
.kundenzeile.still > summary .kundenfirma { opacity: .6; }
.kundenkoerper { padding: .3rem 1rem 1.2rem; }
@media (max-width: 640px) {
  .kundenkopfzeile { display: none; }
  .kundenzeile > summary {
    grid-template-columns: 1fr;
    gap: .25rem;
    padding: .7rem 1rem;
  }
  .kundenzeile > summary .zahlen::before {
    content: attr(data-was) ": ";
    color: var(--schrift-leise);
  }
  .kundenstand:empty { display: none; }
}
.personenliste li { flex-wrap: wrap; }
.rechtefeld {
  flex: 1 0 100%;
  margin: .6rem 0 .2rem;
  padding: .8rem .9rem;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
}
.rechtegruppe { margin-bottom: .7rem; }
.rechtegruppe:last-of-type { margin-bottom: 0; }
.rechtezeile {
  display: flex; align-items: baseline; gap: .45rem;
  padding: .18rem 0; font-size: .85rem; cursor: pointer;
}
.rechtezeile.eingerueckt { padding-left: 1.5rem; font-size: .8rem; }
.rechtezeile input { margin: 0; flex: none; }
.rollenmarke {
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: .1rem .55rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--schrift-leise);
  white-space: nowrap;
}
.rollenmarke.haupt { color: var(--gelb-schrift); border-color: rgba(210, 215, 0, .5); }
.rollenmarke.an { color: var(--gut); border-color: color-mix(in srgb, var(--gut) 45%, transparent); }
.alarmliste { display: flex; flex-direction: column; gap: 1rem; }
.alarmzeile {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.alarmzeile .beschriftung { margin-right: auto; min-width: 12rem; }
.alarmzeile .beschriftung strong { display: block; font-size: .88rem; }
.alarmzeile .beschriftung span { font-size: .78rem; color: var(--schrift-leise); }
.alarmzeile .grenze {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: var(--schrift-leise);
}
.alarmzeile .grenze input { width: 4.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.linkfeld {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .4rem .5rem .4rem .7rem;
  margin-top: .6rem;
}
.linkfeld code {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
  color: var(--gelb-schrift);
}
.bildalter { font-style: normal; color: var(--schrift-leise); margin-left: .4rem; }
.bildalter.alt { color: var(--achtung); font-weight: 600; }
.kameraknopf .bildalter { margin-left: 0; font-size: .72rem; }
.schaerfe {
  font-style: normal;
  margin-left: .5rem;
  padding: .05rem .35rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gelb-schrift);
}
.schaerfe.laedt { color: var(--schrift-leise); font-weight: 500; }
body.nachweisseite { background: var(--karte); }
body.nachweisseite main { max-width: 62rem; padding-top: 1.5rem; }
.nachweisleiste {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.nachweis {
  background: #fff;
  color: #111308;
  border-radius: var(--rund-gross);
  box-shadow: var(--schatten);
  padding: 2.4rem 2.6rem 2rem;
  max-width: 52rem;
  margin: 0 auto;
}
.nachweis header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #d2d700;
  margin-bottom: 1.5rem;
}
.nachweis header .marke { display: flex; align-items: baseline; gap: .5rem; margin-right: auto; }
.nachweis header .marke svg { height: 17px; width: auto; color: #22240f; display: block; }
.nachweis header .marke em {
  font-style: normal;
  font-family: var(--titelschrift);
  font-weight: 500;
  letter-spacing: .08em;
  font-size: .9rem;
  color: #ecf200;
}
.nachweis header .rechts { text-align: right; }
.nachweis header .rechts strong { display: block; font-family: var(--titelschrift); font-size: 1.05rem; }
.nachweis header .rechts span { font-size: .8rem; color: #66695a; }
.nachweis figure { margin: 0 0 1.5rem; }
.nachweis figure img {
  display: block;
  width: 100%;
  border-radius: 4px;
  background: #000;
}
.nachweis figcaption {
  margin-top: .5rem;
  font-size: .82rem;
  color: #66695a;
  font-variant-numeric: tabular-nums;
}
.nachweis dl.angaben {
  grid-template-columns: 11rem 1fr;
  gap: .5rem 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e3e4d8;
  margin-bottom: 1.25rem;
}
.nachweis dl.angaben dt { color: #66695a; font-size: .84rem; }
.nachweis dl.angaben dd { font-size: .9rem; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .nachweis dl.angaben { grid-template-columns: 1fr; gap: .1rem 0; }
  .nachweis dl.angaben dt { margin-top: .55rem; }
}
.nachweis .vermerk {
  font-size: .82rem;
  line-height: 1.6;
  color: #3a3d2c;
  margin: 0 0 1.75rem;
}
.nachweis footer {
  padding-top: 1rem;
  border-top: 1px solid #e3e4d8;
  font-size: .74rem;
  color: #66695a;
}
.nachweiswetter {
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linie-leise);
}
.nachweiswetter h2 {
  font-size: .84rem;
  font-weight: 600;
  color: var(--schrift-leise);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .8rem;
}
.nachweiswetter .wetterwerte { justify-content: flex-start; }
.nachweiswetter .wetterkurz {
  margin: .9rem 0 .3rem;
  font-size: .86rem;
  color: var(--schrift);
}
.nachweiswetter .wetterkurz em { color: var(--schrift-leise); font-style: normal; }
.nachweiswetter .wetterverlauf { max-width: none; margin-top: .5rem; }
.nachweiswetter .wetterverlauf svg { height: 76px; }
@media print {
  body.nachweisseite { background: #fff; }
  body.nachweisseite main { padding: 0; max-width: none; }
  .nachweisleiste, .beispielhinweis, .seitenfuss { display: none !important; }
  .nachweis { box-shadow: none; border-radius: 0; padding: 0; max-width: none; }
  .nachweis figure img { max-height: 12cm; object-fit: contain; }
  .nachweiswetter {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .nachweiswetter .wetterverlauf svg { height: 3.2cm; }
  .nachweiswetter .wablesung { display: none !important; }
}
.startdecke {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .9rem;
  padding: 2rem;
  text-align: center;
  background: rgba(8, 8, 8, .55);
}
.startdecke p {
  margin: 0;
  max-width: 24rem;
  color: #d8d9d2;
  font-size: .82rem;
}
.grossstart {
  padding: .7rem 1.4rem;
  font-size: .95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
.marken-logo { height: 15px; width: auto; display: block; }
:root[data-thema="hell"] .marken-logo { filter: brightness(0); }
:root[data-thema="hell"] .marke em { color: var(--gelb); }
.baustelle { display: flex; gap: 14px; align-items: stretch; margin-bottom: 3rem; }
.strich { flex: 0 0 3px; border-radius: 2px; background: rgba(210, 215, 0, .5); }
.gruppe { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.namensschild { scroll-margin-top: 7.5rem; }
.namensschild {
  align-self: flex-start;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border-radius: 11px;
  padding: .5rem 1rem .5rem .6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  max-width: 100%;
}
.namensschild .balken {
  flex: 0 0 4px; height: 24px; border-radius: 2px; background: var(--gelb);
}
.namensschild h2 { margin: 0; font-size: 17px; color: var(--tinte); }
.namensschild .anzahl { font-size: .85rem; color: rgba(8, 8, 8, .55); white-space: nowrap; }
.block { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.kamerareihe {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.kachel {
  --bildhoehe: 170px;
  position: relative;
  flex: 0 0 auto;
  width: calc(var(--bildhoehe) * var(--verhaeltnis, 1.7778));
  min-width: 15rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  transition: box-shadow .15s ease-out, border-color .15s ease-out;
}
.kachel:hover { box-shadow: 0 9px 18px rgba(0, 0, 0, .35); border-color: rgba(210, 215, 0, .6); }
.kachel .bildflaeche {
  display: block;
  height: var(--bildhoehe);
  min-height: 0;
  max-height: none;
  background: #000;
}
.kachel .bildflaeche img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.bildflaeche.laedt { animation: puls 1.6s ease-in-out infinite; }
@keyframes puls {
  0%, 100% { background-color: #111214; }
  50%      { background-color: #1d1f22; }
}
@media (prefers-reduced-motion: reduce) {
  .bildflaeche.laedt { animation: none; background-color: #17181a; }
}
.neuladen {
  position: absolute;
  top: 6px; right: 6px;
  display: grid; place-items: center;
  width: 26px; height: 26px; padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  opacity: 0;
  transition: opacity .15s;
}
.kachel:hover .neuladen, .neuladen:focus-visible { opacity: 1; }
.fuss { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .5rem; padding: .65rem .75rem; }
.kamerafuss {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "punkt name    name"
    "adresse adresse ampel"
    "stand   stand   symbole";
  align-items: center;
  gap: .2rem .5rem;
  padding: .65rem .75rem;
}
.kamerafuss .punkt { grid-area: punkt; margin-top: 0; }
.kamerafuss .kameraname {
  grid-area: name;
  color: var(--schrift);
  font-weight: 600;
  font-size: .92rem;
  overflow-wrap: anywhere;
}
.kamerafuss .kameraname:hover { color: var(--gelb); text-decoration: none; }
.kamerafuss .adresse { grid-area: adresse; }
.kamerafuss .stromampel { grid-area: ampel; justify-self: end; }
.kamerafuss .stand { grid-area: stand; }
.kamerafuss .symbole { grid-area: symbole; justify-self: end; }
.kachel { container-type: inline-size; }
@container (max-width: 285px) {
  .kamerafuss .symbole .wort { display: none; }
}
.punkt.gut { background: var(--gut); }
.punkt.schlecht { background: var(--schlecht); }
.punkt.unbekannt { background: rgba(139, 141, 133, .5); }
.namen { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.namen a { color: var(--schrift); font-weight: 600; font-size: .92rem; }
.namen a:hover { color: var(--gelb); text-decoration: none; }
.kamerafuss .adresse, .kamerafuss .stand {
  font-size: .74rem;
  color: var(--schrift-leise);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.kamerafuss .stand.alt { color: var(--achtung); }
.werkzeuge {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .4rem;
}
.symbole { display: flex; gap: .7rem; color: var(--schrift-leise); }
.symbole a { display: flex; color: inherit; }
.kachel:hover .symbole { color: var(--schrift); }
.symbole a:hover { color: var(--gelb); }
.symbole a { align-items: center; gap: .3rem; }
.symbole .wort { font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.stromampel {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .6px;
  color: rgba(139, 141, 133, .5);
}
.stromampel.gut { color: var(--gut); }
.stromampel.schlecht { color: var(--schlecht); }
.beispielhinweis {
  display: block;
  margin-top: 2rem;
  padding: .6rem .9rem;
  border: 1px dashed var(--linie);
  border-radius: 6px;
  color: var(--schrift-leise);
  font-size: .82rem;
}
.beispielhinweis strong { color: var(--schrift); }
.namensschild .ordnen { display: flex; align-items: center; gap: .15rem; }
.namensschild .ordnen form { margin: 0; }
.namensschild .ordnen button,
.namensschild .ordnen a {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: rgba(8, 8, 8, .45);
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
}
.namensschild .ordnen button:hover,
.namensschild .ordnen a:hover {
  background: rgba(8, 8, 8, .08);
  color: var(--tinte);
  filter: none;
  text-decoration: none;
}
.namensschild .ordnen button:disabled { opacity: .25; cursor: default; }
.namensschild .ordnen button.weg:hover { background: rgba(224, 101, 91, .18); color: #a3271c; }
.kachel .schieben {
  position: absolute;
  top: 6px; left: 6px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity .15s;
}
.kachel:hover .schieben, .kachel .schieben:focus-within { opacity: 1; }
.kachel .schieben form { margin: 0; }
.kachel .schieben button {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.kachel .schieben button:hover { background: rgba(0, 0, 0, .8); filter: none; }
.kachel .schieben button:disabled { opacity: .3; cursor: default; }
.kachel .bildflaeche.kein-bild {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--schrift-leise);
  background: #111214;
}
.kachel .bildflaeche.kein-bild span {
  display: grid;
  justify-items: center;
  gap: .4rem;
  font-size: .82rem;
}
.kachel .bildflaeche.kein-bild em {
  font-style: normal;
  font-size: .74rem;
  color: var(--achtung);
}
.ueberblick { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0 !important; }
.ueberblick span, .ueberblick a {
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: .1rem .6rem;
  font-size: .76rem;
  color: var(--schrift-leise);
}
.ueberblick a { text-decoration: none; }
.ueberblick span.warnt { color: var(--achtung); border-color: rgba(217, 154, 60, .45); }
.karte.eigene { border-color: rgba(210, 215, 0, .45); }
.karte.eigene > h2 .sinnbild { color: var(--gelb); }
.suchzeile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .9rem;
}
.suchzeile .feld { flex: 0 1 auto; margin: 0; }
.suchzeile .feld:first-child { flex: 1 1 16rem; max-width: 26rem; }
.suchzeile select,
.suchzeile input:not([type="checkbox"]):not([type="radio"]),
.suchzeile button,
.suchzeile .knopf {
  height: 2.6rem;
  box-sizing: border-box;
  width: 100%;
}
.suchzeile button { justify-content: center; }
.suchzeile .datumsknopf { justify-content: flex-start; }
.bildflaeche video.formkorrektur {
  width: min(100%, calc(68vh * var(--formzahl, 1.7778)));
  height: auto;
  max-height: none;
  aspect-ratio: var(--bildform, 16 / 9);
  object-fit: fill;
}
.freigabezeile {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  margin-top: .6rem; padding-top: .6rem;
  border-top: 1px solid var(--linie-leise);
}
.zeitwahl {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; color: var(--schrift-leise);
  white-space: nowrap; margin-right: .2rem;
}
.bildlinkliste { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.bildlinkzeile {
  min-width: 0;
  border: 1px solid var(--linie-leise);
  border-radius: var(--rund);
  padding: .8rem .9rem;
  background: var(--karte-hell);
}
.bildlinkzeile .kopfteil {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .3rem 1rem; min-width: 0;
}
.bildlinkzeile .wer { min-width: 0; margin-right: auto; }
.bildlinkzeile .wer strong { display: block; font-size: .92rem; }
.bildlinkzeile .stand { white-space: nowrap; }
.bildlinkzeile .handgriffe {
  display: flex; flex-wrap: wrap; gap: .3rem .5rem; margin-top: .5rem;
}
.bildlinkzeile .handgriffe form { margin: 0; display: contents; }
.bildlinkzeile .ordnerwahl {
  display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0 0; min-width: 0;
}
.bildlinkzeile .ordnerwahl select { flex: 1 1 16rem; min-width: 0; max-width: 26rem; }
.karte > h2 .anzahl {
  margin-left: .1rem; font-size: .8rem; font-weight: 500;
  color: var(--schrift-leise);
  background: var(--karte-hell); border: 1px solid var(--linie);
  border-radius: 999px; padding: .05rem .5rem;
}
.listenkopf {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.listenkopf button { margin-left: auto; }
.dateiliste { display: flex; flex-direction: column; gap: .6rem; }
@media (max-width: 640px) {
}
.vorschaurahmen {
  background: #000;
  line-height: 0;
  min-height: 4rem;
}
.vorschaurahmen img { width: 100%; height: auto; display: block; }
@media (max-width: 1100px) {
  .buehne { grid-template-columns: minmax(0, 1fr); }
  .spalte { max-height: 26rem; }
  .bildraster { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .buehne:has(.bildraster) {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 1rem;
  }
  .buehne:has(.bildraster) .bildraster { grid-template-columns: 1fr; }
  .buehne:has(.bildraster) .spaltenkopf {
    flex-direction: column; align-items: stretch; gap: .3rem;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .buehne:has(.bildraster) .standzeile.mit-blaettern { flex-wrap: wrap; row-gap: .4rem; }
  .buehne:has(.bildraster) .standzeile .blaettern {
    flex: 1 1 100%; order: 9; justify-content: center; gap: .4rem .6rem;
  }
  .buehne:has(.bildraster) .wetterband.zweispaltig {
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
  }
}
@media (max-width: 900px) {
  .kopfzeile { flex-wrap: wrap; gap: .6rem .9rem; padding: .6rem 1rem; }
  .module { order: 3; width: 100%; margin-right: 0; }
  .kopfwerkzeuge { margin-left: auto; }
  main { padding: 1.25rem 1rem 3rem; }
  .tafelkopf .wortmarke { display: none; }
  .bildraster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bildraster { grid-template-columns: 1fr; }
  .ortknopf { max-width: 10rem; }
}
@media print {
  .kopf, .tafelfuss, .aktionsleiste { display: none; }
}
.exportfeld {
  margin: -.4rem 0 1.1rem;
  padding: .95rem 1.05rem;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
}
.exportzeile { display: flex; gap: .8rem; align-items: flex-end; flex-wrap: wrap; }
.exportzeile .feld { margin: 0; flex: 0 1 11rem; }
.exportzeile .feld input { width: 100%; }
.exportschnell {
  display: flex; gap: .4rem; align-items: center;
  flex-wrap: wrap; margin-top: .75rem;
}
.exportschnell .knopf { padding: .25rem .6rem; font-size: .78rem; }
#exportauf.an { background: var(--karte-hell); color: var(--schrift); }
.zeitblaetter {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin: 0 0 .9rem;
}
.zeitblaetter strong {
  min-width: 13rem; text-align: center;
  font-size: .85rem; font-weight: 500;
}
.zeitblaetter .knopf { padding: .3rem .55rem; line-height: 1; }
.zeitblaetter .knopf[disabled] { opacity: .3; pointer-events: none; }
.auftraggeber {
  display: flex; align-items: center; gap: .5rem;
  margin: .4rem 0 0; flex-wrap: wrap;
}
.auftraggeber select {
  width: auto;
  min-width: 0;
  max-width: min(26rem, 100%);
  padding: .25rem .5rem; font-size: .82rem;
}
.meldung {
  position: fixed;
  left: 50%;
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  max-width: min(32rem, calc(100vw - 2rem));
  padding: .7rem 1.1rem;
  border-radius: var(--rund);
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--schlecht);
  color: var(--schrift);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
  font-size: .92rem;
  line-height: 1.4;
  opacity: 0;
  transform: translate(-50%, .6rem);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.meldung.zeigt { opacity: 1; transform: translate(-50%, 0); }
.meldung.gut { border-left-color: var(--gut); }
@media (prefers-reduced-motion: reduce) {
  .meldung { transition: none; }
}
.zeitfenster { display: flex; flex-wrap: wrap; gap: .9rem; align-items: flex-end; }
.zeitfenster .feld { margin: 0; flex: 0 1 9rem; }
.vollbild-ersatz {
  position: fixed;
  inset: 0;
  z-index: 300;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  background: #000;
  display: grid;
  place-items: center;
  touch-action: none;
  overscroll-behavior: none;
}
.vollbild-ersatz img, .vollbild-ersatz video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.vollbild-ersatz .vergleich {
  height: min(100dvh, calc(100vw * 9 / 16));
  width: auto;
  max-width: 100vw;
}
body.vollbild-offen { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }
.vollbild-schliessen {
  position: fixed;
  z-index: 301;
  top: calc(.8rem + env(safe-area-inset-top, 0px));
  right: calc(.8rem + env(safe-area-inset-right, 0px));
  padding: .5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .65);
  color: #f2f2ee;
  font: inherit;
  font-size: .9rem;
  min-height: 44px;
}
.auffrischband {
  position: fixed;
  inset-inline: 0;
  top: calc(env(safe-area-inset-top, 0px) + .4rem);
  z-index: 400;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateY(-100%);
}
.auffrischband.federt { transition: transform .22s ease-out; }
.auffrischband span {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 999px;
  box-shadow: var(--schatten-klein);
  padding: .4rem .9rem;
  font-size: .82rem;
  color: var(--schrift-leise);
  white-space: nowrap;
}
.auffrischband.laeuft span { color: var(--schrift); }
@media (prefers-reduced-motion: reduce) {
  .auffrischband.federt { transition: none; }
}
.haptik {
  position: fixed;
  left: -100px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
@media (pointer: coarse) {
  html { overscroll-behavior-y: contain; }
}
@media (max-width: 640px) {
  .module {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -1rem;
    padding-inline: 1rem;
  }
  .module::-webkit-scrollbar { display: none; }
  .module > * { flex: 0 0 auto; scroll-snap-align: start; }
  .module.mehr-rechts {
    -webkit-mask-image: linear-gradient(to right, #000 78%, transparent 100%);
    mask-image: linear-gradient(to right, #000 78%, transparent 100%);
  }
  .module.mehr-links {
    -webkit-mask-image: linear-gradient(to left, #000 78%, transparent 100%);
    mask-image: linear-gradient(to left, #000 78%, transparent 100%);
  }
  .module.mehr-links.mehr-rechts {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%,
                                        #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 12%,
                                #000 88%, transparent 100%);
  }
  .kopfzeile { padding: .45rem .8rem .35rem; gap: .45rem .6rem; }
  .marke small { display: none; }
  .ortknopf { max-width: none; padding: .3rem .6rem; }
  .module a, .module span { padding: .3rem .5rem; }
  main { padding: 1rem .8rem 3rem; }
  .marke em { display: none; }
  .marke svg { height: 12px; }
  .ortwahl, .ortfest { flex: 1 1 0; min-width: 4rem; }
  .ortknopf { width: 100%; }
  .ortknopf .ortzeilen small, .ortfest .ortzeilen small { display: none; }
  .ortknopf .ortzeilen .name, .ortfest .ortzeilen .name {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .kopfwerkzeuge { flex: 0 0 auto; flex-wrap: nowrap; }
  .kopfzeile .zurverwaltung .wort { display: none; }
  .kopfzeile .zurverwaltung { padding-inline: .55rem; }
  .buehne.ohne-spalte > .tafel:has(.bildflaeche) {
    margin-inline: -.8rem;
    border-inline: 0;
    border-radius: 0;
  }
  .kopf { top: calc(-1 * var(--kopfversatz, 0px)); }
  .kopfwerkzeuge { flex: 0 1 auto; min-width: 0; max-width: 100%; flex-wrap: wrap; gap: .35rem; }
  .kopfzeile .kopfwerkzeuge .knopf.umrandet,
  .kopfzeile .kopfwerkzeuge button.umrandet { padding-inline: .7rem; font-size: .82rem; }
  .adminleiste input[type="search"] { flex: 1 1 100%; width: 100%; }
  .adminleiste select { max-width: 100%; }
  .tafelfuss { flex-wrap: wrap; gap: .5rem; }
  .tafelfuss .rechts { margin-left: 0; width: 100%; display: flex;
                       flex-wrap: wrap; gap: .5rem; }
  .tafelfuss .rechts > * { flex: 1 1 8rem; justify-content: center; }
  .tafelfuss .rechts > .vergroesserung { display: flex; }
  .tafelfuss .rechts > .vergroesserung > button { flex: 1 1 auto; width: 100%; justify-content: center; }
  .tafelfuss .nurbreit { display: none; }
  .bildflaeche:has(video) {
    width: 100%;
    aspect-ratio: var(--bildform, 16 / 9);
    grid-template-rows: minmax(0, 1fr);
  }
  .bildflaeche:has(video) video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .zeitleiste { margin-top: .8rem; }
  .tafelfuss .trenner { display: none; }
  .tafelfuss .flach { min-width: 44px; }
}
@media (hover: none) and (pointer: coarse) {
  button, .knopf, .module a, .ortliste a, .kontoliste a {
    min-height: 44px;
  }
  .kalendergitter .tag { min-height: 0; width: 100%; max-width: 2.25rem;
                         height: 2.25rem; line-height: 2.25rem; }
  .kalender { width: 18rem; }
  .module a { display: inline-flex; align-items: center; }
  .abschnittsliste li, .dateikachel { min-height: 52px; }
  .kamerastreifen, .module, .bildraster {
    -webkit-overflow-scrolling: touch;
  }
  input, select, textarea,
  .tafelsuche, .tafelfuss select, .tafelfuss input,
  .spaltenkopf select, .spaltenkopf input[type="date"] {
    font-size: 16px;
  }
}
@supports (padding: env(safe-area-inset-top)) {
  .kopfzeile { padding-top: calc(.5rem + env(safe-area-inset-top)); }
  main {
    padding-left: max(.8rem, env(safe-area-inset-left));
    padding-right: max(.8rem, env(safe-area-inset-right));
    padding-bottom: calc(3rem + env(safe-area-inset-bottom));
  }
}
.kamerakachel .bild { position: relative; }
.kamerakachel .zustand {
  position: absolute;
  top: .5rem; right: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  color: #f2f2ee;
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .02em;
}
.kamerakachel .kachelzeile {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  padding: 0 .7rem .6rem;
}
.kamerakachel .kachelzeile em { font-style: normal; }
.einrichtkasten {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border: 1px solid var(--linie);
  border-left: 4px solid var(--gelb);
  border-radius: var(--rund);
  background: var(--karte-hell);
}
.einrichtkasten .wortlaut {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1 1 16rem;
  min-width: 0;
}
.einrichtkasten .wortlaut strong {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .98rem;
}
.einrichtkasten > .knopf { flex: 0 0 auto; }
.einrichtkasten.dringend {
  border-left-color: var(--achtung);
  background: color-mix(in srgb, var(--achtung) 9%, var(--karte-hell));
}
.einrichtkasten.dringend .wortlaut strong { color: var(--achtung); }
@media (max-width: 640px) {
  .einrichtkasten > .knopf { flex: 1 1 100%; justify-content: center; }
}
.einrichtstreifen {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .7rem .2rem .2rem;
  -webkit-overflow-scrolling: touch;
}
.einrichtbild {
  position: relative;
  flex: 0 0 auto;
  width: 8.5rem;
  padding: 0;
  border: 2px solid var(--linie);
  border-radius: var(--rund);
  background: #000;
  color: var(--schrift);
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
}
.einrichtbild.an { border-color: var(--gelb); }
.einrichtbild img { width: 100%; height: 4.8rem; object-fit: cover; display: block; }
.einrichtbild .wann {
  display: block;
  padding: .25rem .4rem;
  font-size: .68rem;
  line-height: 1.4;
  color: var(--schrift-leise);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.einrichtbild .funde {
  position: absolute;
  top: .3rem; right: .3rem;
  min-width: 1.2rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: var(--gelb);
  color: var(--auf-gelb);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.5;
}
.unterleiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.15rem;
  margin: .35rem 0 1.4rem;
  font-size: .84rem;
}
.unterleiste-bereich {
  display: inline-flex;
  align-items: center;
  padding: .3rem .95rem .3rem 0;
  margin-right: .2rem;
  border-right: 1px solid var(--linie);
  color: var(--gelb-schrift);
  font-weight: 600;
  font-size: .84rem;
  white-space: nowrap;
}
.unterleiste a {
  display: inline-block;
  padding: .3rem 0;
  color: var(--schrift-leise);
  text-decoration: none;
}
.unterleiste a:hover { color: var(--schrift); }
.unterleiste a.hier {
  color: var(--schrift);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gelb);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.unterleiste a:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; }
@media (hover: none) and (pointer: coarse) {
  .unterleiste a { min-height: 44px; display: flex; align-items: center; }
}
.seitenkopf .werkzeuge {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.anlaufband {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .9rem;
  background: var(--karte-hell);
  border-top: 1px solid var(--linie);
  color: var(--schrift-leise);
  font-size: .85rem;
  line-height: 1.45;
}
.anlaufband strong { color: var(--schrift); }
.anlaufband .zahlen { margin-left: auto; white-space: nowrap; }
.anlaufband .ladekreis.klein { width: 14px; height: 14px; border-width: 2px; flex: 0 0 auto; }
.lagenkarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.lagenkarte {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.35rem 1.5rem;
  background: var(--kartengrund);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  box-shadow: var(--schatten-klein);
  overflow: hidden;
}
.lagenzahl {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.lagenzahl.warnt { color: var(--schlecht); }
.lagenwort { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.lagenwort strong { font-size: .95rem; font-weight: 600; }
.ziehliste { list-style: none; margin: 0; padding: 0; display: flex;
  flex-direction: column; gap: .5rem; max-height: 30rem; overflow-y: auto; }
.ziehkarte {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border: 1px solid var(--linie); border-radius: 8px;
  background: var(--karte); cursor: grab;
}
.ziehkarte:hover { background: var(--karte-hell); }
.ziehkarte.zieht { opacity: .4; cursor: grabbing; }
.ziehgriff { color: var(--schrift-leise); font-size: 1.1rem; line-height: 1;
  letter-spacing: -.15em; }
.archivablage {
  display: flex; align-items: center; justify-content: center;
  min-height: 11rem; padding: 1.5rem 1rem; text-align: center;
  border: 2px dashed var(--linie); border-radius: 12px;
  color: var(--schrift-leise); transition: border-color .12s, background .12s;
}
.archivablage.bereit { border-color: var(--gelb); background: var(--karte-hell);
  color: var(--schrift); }
.archivablage.belegt { border-style: solid; border-color: var(--gut);
  color: var(--schrift); }
.archivablage .sinnbild { color: var(--schrift-leise); margin-bottom: .5rem; }
.archivablage.belegt .sinnbild { color: var(--gut); }
.archivablagemitte p { margin: 0; }
.archivablagemitte p:first-of-type { font-weight: 600; font-size: 1rem;
  margin-bottom: .35rem; }
.lagepunkt { width: 9px; height: 9px; min-width: 9px; min-height: 9px;
             border-radius: 50%; flex: 0 0 auto; }
.lagepunkt.ist-gut       { background: var(--gut); }
.lagepunkt.ist-teilweise { background: var(--achtung); }
.lagepunkt.ist-aus       { background: var(--schlecht); }
.lagepunkt.ist-leer,
.lagepunkt.ist-ruhend    { background: var(--linie); }
.lagenzahl.klein { font-size: 1.45rem; }
.monatsbalken .eingang, .legende.eingang { background: var(--schrift-leise); opacity: .55; }
.monatsbalken .ausgang, .legende.ausgang { background: var(--gelb); }
.legende { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; vertical-align: -1px; }
@media (max-width: 640px) {
  .lagenkarten { gap: .8rem; }
  .lagenkarte { padding: 1rem 1.1rem; }
  .lagenzahl { font-size: 1.7rem; }
}
.belegsuchtafel { margin-bottom: 1.25rem; }
.belegsuchzeile { display: flex; gap: .6rem; padding: 1rem 1.15rem .8rem; flex-wrap: wrap; }
.suchfeld {
  flex: 1 1 22rem;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .8rem;
  background: var(--feld, var(--karte-hell));
  border: 1px solid var(--linie);
  border-radius: var(--rund);
}
.suchfeld:focus-within { border-color: var(--gelb); }
.suchfeld .sinnbild { color: var(--schrift-leise); flex: 0 0 auto; }
.suchfeld:focus-within .sinnbild { color: var(--gelb); }
.suchfeld input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  padding: .62rem 0;
  font-size: .95rem;
}
.suchfeld input[type="search"]:focus { outline: none; box-shadow: none; }
.belegfilter {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0 1.15rem 1rem;
}
.belegfilter a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .7rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--schrift-leise);
  text-decoration: none;
}
.belegfilter a:hover { border-color: var(--schrift-leise); color: var(--schrift); }
.belegfilter a.gewaehlt {
  background: var(--gelb);
  border-color: var(--gelb);
  color: var(--auf-gelb);
  font-weight: 500;
}
.belegfilter .zahl {
  font-variant-numeric: tabular-nums;
  font-size: .76rem;
  opacity: .75;
}
.belegspalten {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 62rem) {
  .belegspalten { grid-template-columns: minmax(0, 1fr); }
}
.belegliste { display: flex; flex-direction: column; }
.belegzeile {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--linie-leise);
}
.belegzeile:last-child { border-bottom: 0; }
.belegzeile:hover { background: var(--karte-hell); }
.belegzeichen { flex: 0 0 auto; color: var(--schrift-leise); padding-top: .1rem; }
.belegbild {
  position: relative;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 3.4rem;
  padding: 0;
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.belegbild:hover { border-color: var(--gelb); filter: none; }
.belegbild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.belegbild .sinnbild { color: var(--schrift-leise); }
.belegzeile .belegname {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--schrift);
  cursor: pointer;
}
.belegzeile .belegname:hover { color: var(--gelb); filter: none; }
.belegfenster {
  width: min(58rem, 92vw);
  height: min(88vh, 60rem);
  padding: 0;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--karte);
  color: var(--schrift);
  box-shadow: var(--schatten);
  overflow: hidden;
}
.belegfenster::backdrop { background: rgba(0, 0, 0, .55); }
.belegfensterkopf {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--linie);
}
.belegfensterkopf strong {
  margin-right: auto;
  font-size: .95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.belegfensterbild {
  height: calc(100% - 3.6rem);
  overflow: auto;
  background: var(--karte-hell);
  display: grid;
  place-items: start center;
  padding: 1rem;
}
.belegfensterbild img {
  max-width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 4px;
}
.belegkeinbild { max-width: 26rem; text-align: center; align-self: center; }
.belegtext { flex: 1 1 auto; min-width: 0; }
.belegkopf { display: flex; align-items: baseline; gap: .7rem; }
.belegname {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--schrift);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.belegbetrag { flex: 0 0 auto; margin-left: auto; font-weight: 600; }
.belegangaben { margin-top: .15rem; overflow-wrap: anywhere; }
.belegartwahl { flex: 0 0 auto; }
.belegartwahl select {
  width: auto;
  padding: .2rem 1.4rem .2rem .6rem;
  font-size: .78rem;
  color: var(--schrift-leise);
  background-color: transparent;
  border-color: transparent;
  border-radius: 999px;
  cursor: pointer;
}
.belegzeile:hover .belegartwahl select,
.belegartwahl select:focus { border-color: var(--linie); color: var(--schrift); }
.belegstelle {
  margin: .45rem 0 .2rem;
  padding-left: .7rem;
  border-left: 2px solid var(--gelb);
  font-size: .88rem;
  color: var(--schrift-leise);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.belegstelle mark {
  background: rgba(210, 215, 0, .3);
  color: var(--schrift);
  border-radius: 3px;
  padding: 0 .1rem;
}
.belegleer { padding: 1.6rem 1.15rem 1.9rem; }
.belegleer p { margin: 0 0 .4rem; }
.belegleer p:last-child { margin-bottom: 0; }
.beleghochladen { padding: 1.15rem; }
.ablagefeld {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.6rem 1rem;
  text-align: center;
  border: 2px dashed var(--linie);
  border-radius: var(--rund-gross);
  cursor: pointer;
  transition: border-color .12s, background-color .12s;
}
.ablagefeld:hover { border-color: var(--gelb); background: var(--karte-hell); }
.ablagefeld .sinnbild { color: var(--schrift-leise); }
.ablagefeld:hover .sinnbild { color: var(--gelb); }
.ablagefeld input[type="file"] { display: none; }
.ablage { position: relative; }
.ablage.sucht { opacity: .6; }
.ablage.sucht::after {
  content: "Ordner wird durchgesehen …";
  position: absolute;
  inset: auto 0 .4rem 0;
  text-align: center;
  font-size: .76rem;
  color: var(--schrift-leise);
}
.ablagelauf { margin-top: 1rem; }
.ablagekopf {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .5rem;
}
.ablagekopf strong { font-size: .9rem; margin-right: auto; }
.ablagebalken {
  height: 8px;
  border-radius: 999px;
  background: var(--linie);
  overflow: hidden;
}
.ablagebalken span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gelb);
  border-radius: 999px;
  transition: width .25s ease-out;
}
.ablageliste {
  list-style: none;
  margin: .7rem 0 0;
  padding: 0;
  max-height: 15rem;
  overflow-y: auto;
}
.ablagezeile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem;
  padding: .3rem 0;
  border-bottom: 1px solid var(--linie-leise);
  font-size: .82rem;
}
.ablagezeile:last-child { border-bottom: 0; }
.ablagename {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--schrift-leise);
}
.ablagewas { flex: 0 0 auto; text-align: right; }
.ablagehinweis { flex: 1 0 100%; margin-top: -.15rem; }
.ablagezeile.laeuft .ablagename { color: var(--schrift); }
.ablagezeile.laeuft .ablagewas { color: var(--gelb); }
.ablagezeile.fertig .ablagename { color: var(--schrift); }
.ablagezeile.schief .ablagename,
.ablagezeile.schief .ablagewas { color: var(--achtung); }
.ablagezeile.schonda .ablagename { color: var(--schrift-leise); }
.ablagezeile.schonda .ablagewas { color: var(--schrift-leise); font-style: italic; }
.ablagezeile .trotzdem {
  flex: 0 0 auto;
  padding: .1rem .5rem;
  font-size: .74rem;
}
.ablagezeile.wartet { opacity: .5; }
.ablagemeldung {
  display: block;
  margin-top: .5rem;
  font-size: .78rem;
  color: var(--gelb);
}
.ablage.zieht {
  outline: 2px dashed var(--gelb);
  outline-offset: 3px;
  border-radius: var(--rund);
}
.ablagefeld.zieht,
.ablagefeld.bereit {
  border-color: var(--gelb);
  border-style: solid;
  background: rgba(210, 215, 0, .1);
}
.ablagefeld.laeuft { opacity: .55; pointer-events: none; }
.beleghilfe { margin: .85rem 0 0; }
.belegschutz { margin-top: .9rem; border-top: 1px solid var(--linie-leise); padding-top: .7rem; }
.belegschutz summary { cursor: pointer; }
.beleghochladen .breit { width: 100%; }
.onenotestand { padding: 1rem 1.15rem; }
.onenotestand > p { margin: 0 0 .8rem; display: flex; align-items: center; gap: .5rem; }
.onenotestand > p .sinnbild { color: var(--gelb); flex: 0 0 auto; }
.onenotestand .werkzeuge { padding: 0; gap: .5rem; flex-wrap: wrap; }
.onenotestand .klein.leise { margin: .8rem 0 0; }
.onenoteangaben { border-top: 1px solid var(--linie-leise); padding: .8rem 1.15rem 1.15rem; }
.onenoteangaben summary { cursor: pointer; }
.onenoteform { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .9rem; }
.onenoteform .feld { flex: 1 1 17rem; margin: 0; }
.onenoteform button { align-self: flex-end; }
.onenoteanleitung {
  margin-top: 1.2rem;
  padding: .9rem 1.1rem;
  background: var(--karte-hell);
  border-radius: var(--rund);
}
.onenoteanleitung ol { margin: .5rem 0 .6rem; padding-left: 1.2rem; }
.onenoteanleitung li { margin-bottom: .45rem; }
.onenoteanleitung code { font-size: .82em; }
.onenoteadresse {
  display: inline-block;
  margin-top: .2rem;
  padding: .2rem .45rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 5px;
  user-select: all;
  overflow-wrap: anywhere;
}
.onenoteschloss {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex: 0 0 auto;
  padding: .05rem .45rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: .74rem;
  color: var(--schrift-leise);
}
.onenoteschloss .sinnbild { color: var(--gelb); }
.onenoteweg {
  flex: 0 0 auto;
  font-size: .74rem;
  color: var(--achtung);
  border: 1px solid rgba(217, 154, 60, .45);
  border-radius: 999px;
  padding: .05rem .45rem;
}
.onenotezuordnung { flex: 0 0 auto; display: flex; gap: .35rem; flex-wrap: wrap; }
.onenotezuordnung select { width: auto; font-size: .78rem; padding: .25rem .5rem; }
.onenotekarte { padding: 1rem 1.15rem; border-bottom: 1px solid var(--linie-leise); }
.onenotekarte:last-child { border-bottom: 0; }
.onenotekopf { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.onenotekopf a { color: var(--schrift); }
.onenoteinhalt {
  margin: .7rem 0 0;
  padding: .7rem .9rem;
  background: var(--karte-hell);
  border-radius: var(--rund);
  font: inherit;
  font-size: .88rem;
  color: var(--schrift-leise);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 22rem;
  overflow-y: auto;
}
.onenotegeheim {
  margin-top: .8rem;
  padding: .7rem .9rem;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
}
.onenotegeheim > p { margin: 0 0 .6rem; display: flex; align-items: center; gap: .4rem; }
.onenotegeheim > p .sinnbild { color: var(--gelb); flex: 0 0 auto; }
.onenotezeile { display: flex; align-items: center; gap: .6rem; padding: .25rem 0; flex-wrap: wrap; }
.onenoteart {
  flex: 0 0 auto;
  min-width: 6rem;
  font-size: .78rem;
  color: var(--schrift-leise);
}
.onenotewert {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: .85rem;
  overflow-wrap: anywhere;
  user-select: all;
}
.onenotezeile button { flex: 0 0 auto; }
.boxzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.boxzahl {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  padding: .9rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.boxzahl strong {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: .15rem 0 .1rem;
}
.boxzahl strong small { font-size: .9rem; font-weight: 500; color: var(--schrift-leise); }
.boxbalken {
  margin-top: .5rem;
  height: 6px;
  border-radius: 999px;
  background: var(--linie);
  overflow: hidden;
}
.boxbalken span { display: block; height: 100%; background: var(--gelb); }
.planrolle { overscroll-behavior-x: contain; }
.plan { min-width: 58rem; }
.tafel:has(.planrolle) { overflow: clip; }
.planzeile { display: flex; align-items: stretch; border-bottom: 1px solid var(--linie-leise); }
.planzeile:last-child { border-bottom: 0; }
.planzeile:not(.plankopf):nth-of-type(even) {
  background: color-mix(in srgb, var(--karte-hell) 60%, var(--karte));
}
.planzeile:hover { background: var(--karte-hell); }
.plankopf { position: sticky; top: var(--plankopfoben, 3.5rem);
            z-index: 3; background: var(--karte); }
.plankopf:hover { background: var(--karte); }
.plankw { top: calc(var(--plankopfoben, 3.5rem) + 2.1rem); z-index: 3; }
@media (max-width: 62rem) {
  .planrolle { overflow-x: auto; }
  .plankopf { top: 0; }
  .plankw { top: 2.1rem; }
}
.plimbox {
  flex: 0 0 9.5rem;
  position: sticky;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .05rem;
  padding: .45rem .8rem;
  background: inherit;
  border-right: 1px solid var(--linie);
  color: var(--schrift);
  text-decoration: none;
}
.planzeile:hover .plimbox { background: var(--karte-hell); }
.plimbox strong { font-size: .85rem; font-weight: 600; }
.planquote { font-size: .72rem; color: var(--schrift-leise); font-variant-numeric: tabular-nums; }
.plangitter {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(var(--wochen, 52), minmax(0, 1fr));
  align-items: center;
  padding: .3rem 0;
  position: relative;
  min-height: 2.1rem;
  background-image:
    linear-gradient(to right, var(--linie-leise) 1px, transparent 1px),
    linear-gradient(to right, var(--linie) 1px, transparent 1px);
  background-size:
    calc(100% / var(--wochen, 52)) 100%,
    calc(500% / var(--wochen, 52)) 100%;
  background-position: 0 0;
}
.planmonat {
  grid-row: 1;
  font-size: .7rem;
  color: var(--schrift-leise);
  border-left: 1px solid var(--linie);
  padding-left: .3rem;
  overflow: hidden;
}
.plankw .plangitter { min-height: 1.4rem; padding: 0; }
.planwoche {
  grid-row: 1;
  justify-self: center;
  font-size: .62rem;
  line-height: 1;
  color: var(--schrift-leise);
  font-variant-numeric: tabular-nums;
  overflow: visible;
  white-space: nowrap;
  z-index: 1;
}
.plankw { border-bottom: 1px solid var(--linie); }
.plankw .plimbox, .plankopf .plimbox { justify-content: center; }
.planbalken {
  grid-row: 1;
  min-width: 0;
  height: 1.5rem;
  display: flex;
  align-items: center;
  padding: 0 .4rem;
  border-radius: 5px;
  margin: 0 1px;
  font-size: .72rem;
  text-decoration: none;
  background: hsl(var(--ton) 70% 80%);
  color: hsl(var(--ton) 65% 18%);
  border: 1px solid hsl(var(--ton) 55% 58%);
  overflow: hidden;
}
.planbalken span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.planbalken:hover { filter: brightness(1.06); }
.planbalken.offenlinks { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-style: dashed; }
.planbalken.offenrechts { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-style: dashed; }
.planbalken.unsicher { border-style: dashed; border-width: 2px; }
:root:not([data-thema="hell"]) .planbalken {
  background: hsl(var(--ton) 55% 34%);
  color: hsl(var(--ton) 85% 92%);
  border-color: hsl(var(--ton) 55% 52%);
}
.planheute {
  grid-row: 1;
  justify-self: center;
  width: 2px;
  height: 100%;
  background: var(--gelb);
  opacity: .55;
  pointer-events: none;
}
.planleer .plimbox strong { color: var(--schrift-leise); font-weight: 500; }
.boxspalten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 62rem) { .boxspalten { grid-template-columns: minmax(0, 1fr); } }
.projektliste { display: flex; flex-direction: column; max-height: 26rem; overflow-y: auto; }
.projektzeile {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem 1.15rem;
  border-bottom: 1px solid var(--linie-leise);
}
.projektzeile:last-child { border-bottom: 0; }
.projektfarbe {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: hsl(var(--ton) 65% 62%);
  border: 1px solid hsl(var(--ton) 55% 48%);
}
.projekttext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.projekttext strong { font-size: .88rem; font-weight: 600; }
.projektzahl { flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }
.jahresreihe {
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  padding: 1.2rem 1.15rem .6rem;
  height: 9rem;
}
.jahressaeule {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: .2rem;
  height: 100%;
  text-decoration: none;
  color: var(--schrift-leise);
}
.jahressaeule .saeule {
  width: 100%;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  background: var(--linie);
}
.jahressaeule:hover .saeule { background: var(--schrift-leise); }
.jahressaeule.hier .saeule { background: var(--gelb); }
.jahressaeule.hier { color: var(--schrift); }
.saeulenwert { font-variant-numeric: tabular-nums; font-size: .68rem; }
.saeulenjahr { font-size: .68rem; }
.jahreshinweis { margin: 0 1.15rem .9rem; }
.jahrestabelle { width: 100%; border-collapse: collapse; font-size: .85rem; }
.jahrestabelle th, .jahrestabelle td {
  padding: .4rem 1.15rem;
  border-top: 1px solid var(--linie-leise);
  text-align: left;
}
.jahrestabelle th { font-size: .74rem; color: var(--schrift-leise); font-weight: 500; }
.jahrestabelle .rechts { text-align: right; }
.jahrestabelle tr.hier { background: var(--karte-hell); }
.jahrestabelle a { color: var(--schrift); }
.wetterband {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 0 1rem;
  padding: .75rem .15rem .2rem;
  border-top: 1px solid var(--linie-leise);
}
.wetterband > .klein { display: inline-flex; align-items: center; gap: .4rem; }
.wetterband .sinnbild { color: var(--schrift-leise); }
.wetterband.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 44rem);
  justify-content: center;
  gap: 1rem 2.4rem;
  align-items: center;
  padding: 1.1rem 1rem 1.15rem;
}
.wetterzahlen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  text-align: center;
}
.wetterzahlen > .klein { display: inline-flex; align-items: center; gap: .4rem; }
.wetterwerte {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.25rem;
  align-items: flex-start;
}
.wetterwerte .nebenwert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .05rem;
  min-width: 0;
}
.wetterwerte .nebenwert .zahlteil {
  display: inline-flex;
  align-items: baseline;
  gap: .2rem;
}
.wetterwerte .nebenwert strong {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.wetterwerte .nebenwert small { font-size: .74rem; color: var(--schrift-leise); }
.wetterwerte .nebenwert .was {
  margin-left: 0;
  font-size: .72rem;
  color: var(--schrift-leise);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .wetterwerte { gap: .85rem; }
  .wetterwerte .nebenwert strong { font-size: 1.1rem; }
  .wetterwerte .nebenwert .was { font-size: .66rem; }
  .wetterwerte .nebenwert small { font-size: .68rem; }
}
@media (max-width: 660px) {
  .wetterband.zweispaltig {
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
  }
}
.unterbau { display: grid; gap: .7rem; }
@media (max-width: 900px) {
  .buehne .unterbau { grid-column: 1 / -1; margin-top: .2rem; }
  .unterbau .tafelfuss {
    padding: 0;
    border-top: 0;
    display: block;
  }
  .unterbau .tafelfuss .rechts {
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: .5rem;
  }
  .unterbau .tafelfuss .rechts > *,
  .unterbau .tafelfuss .rechts .knopf,
  .unterbau .tafelfuss .rechts > .vergroesserung > button {
    width: 100%;
    justify-content: center;
  }
  .unterbau .tafelfuss .rechts .vergroesserung { position: relative; }
  .unterbau .kamerawahl {
    padding: .9rem 0 0;
    border-top: 1px solid var(--linie-leise);
  }
}
@media (max-width: 900px) {
  .kamerastreifen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: .6rem;
    overflow: visible;
  }
  .kamerawahl .kamerastreifen {
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: .6rem;
  }
  .kamerawahl { padding-inline: .8rem; }
  .kameraknopf {
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    padding: .45rem;
    font-size: .88rem;
    color: var(--schrift);
  }
  .kameraknopf img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .kameraknopf .kamerabild { width: 100%; }
  .kameraknopf .wer {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    padding-inline: .15rem;
  }
  .kameraknopf > .punkt { margin-inline: .15rem; }
}
@media (max-width: 640px) {
  .buehne:has(.bildraster) .wetterwerte {
    gap: .45rem;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .buehne:has(.bildraster) .wetterwerte::-webkit-scrollbar { display: none; }
  .buehne:has(.bildraster) .wetterwerte .nebenwert strong { font-size: .95rem; }
  .buehne:has(.bildraster) .wetterwerte .nebenwert .was { font-size: .6rem; }
  .buehne:has(.bildraster) .wetterband.zweispaltig { padding-inline: .5rem; }
}
.wetterverlauf {
  margin: .75rem 0 0;
  min-width: 0;
  max-width: 44rem;
  color: var(--gelb-schrift);
}
.wetterverlauf svg {
  display: block;
  width: 100%;
  height: 96px;
  overflow: visible;
}
.wetterverlauf .wtemp,
.wetterverlauf .wtempflaeche,
.wetterverlauf .wregen { transition: opacity .18s ease, stroke-width .18s ease; }
.wetterverlauf:hover .wtemp { stroke-width: 1.7; }
.wetterverlauf:hover .wregen { opacity: 1; }
.wetterverlauf .wgrund {
  stroke: var(--linie);
  stroke-width: .75;
  vector-effect: non-scaling-stroke;
}
.wetterverlauf .wraster {
  stroke: var(--linie);
  stroke-width: .75;
  stroke-dasharray: 1 6;
  stroke-linecap: round;
  opacity: .5;
  vector-effect: non-scaling-stroke;
}
.wetterverlauf .wstunde {
  fill: var(--schrift-leise);
  font-size: 9px;
  font-family: var(--zahlschrift, inherit);
  letter-spacing: .06em;
  opacity: .75;
}
.wetterverlauf .wregen { fill: #4a9fd8; opacity: .82; }
.wetterverlauf .wtempflaeche { stroke: none; }
.wetterverlauf .wtemp {
  fill: none;
  stroke: var(--gelb-schrift);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.wetterverlauf .wwind {
  fill: none;
  stroke: var(--wind);
  stroke-width: 1.2;
  stroke-dasharray: 1.5 3.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.wetterverlauf .wmarke {
  stroke: var(--schrift);
  stroke-width: .75;
  stroke-dasharray: 1 3;
  stroke-linecap: round;
  opacity: .45;
  vector-effect: non-scaling-stroke;
}
.wetterverlauf .wmarke-punkt { fill: var(--schrift); opacity: .6; }
.wetterverlauf .wmarke-zeit {
  fill: var(--schrift-leise);
  font-size: 9px;
  font-family: var(--zahlschrift, inherit);
  letter-spacing: .04em;
  opacity: .85;
}
.wetterverlauf .wzeiger { fill: currentColor; opacity: .12; pointer-events: none; }
.taetigkeitsband {
  margin: .75rem auto 0;
  min-width: 0;
  max-width: 44rem;
  color: var(--gut);
}
.taetigkeitsband svg {
  display: block;
  width: 100%;
  height: 48px;
  overflow: visible;
}
.taetigkeitsband figcaption {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: .1rem;
  font-size: .72rem;
}
.taetigkeitsband .tablesung {
  font-variant-numeric: tabular-nums;
  color: var(--schrift);
  min-height: 1em;
}
.taetigkeitsband .tgrund {
  stroke: var(--linie);
  stroke-width: .75;
  vector-effect: non-scaling-stroke;
}
.taetigkeitsband .traster {
  stroke: var(--linie);
  stroke-width: .75;
  stroke-dasharray: 1 6;
  stroke-linecap: round;
  opacity: .5;
  vector-effect: non-scaling-stroke;
}
.taetigkeitsband .tstunde {
  fill: var(--schrift-leise);
  font-size: 8px;
  font-family: var(--zahlschrift, inherit);
  letter-spacing: .06em;
  opacity: .7;
}
.taetigkeitsband .tbalken { fill: currentColor; opacity: .5; }
.taetigkeitsband .tflaeche { stroke: none; }
.taetigkeitsband .tlinie {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.taetigkeitsband .tmarke {
  stroke: var(--schrift);
  stroke-width: .75;
  opacity: .5;
  stroke-dasharray: 2 3;
  vector-effect: non-scaling-stroke;
}
.taetigkeitsband .tmarke-punkt { fill: var(--schrift); opacity: .6; }
.taetigkeitsband .tzeiger { fill: currentColor; opacity: .12; pointer-events: none; }
.taetigkeitsband .tbalken,
.taetigkeitsband .tlinie { transition: opacity .18s ease, stroke-width .18s ease; }
.taetigkeitsband:hover .tbalken { opacity: .72; }
.taetigkeitsband:hover .tlinie { stroke-width: 1.6; }
.wetterzusammen {
  margin: 1rem 0 1.2rem;
  font-size: .95rem;
  line-height: 1.6;
}
.wetterblatt {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.wetterblatt th,
.wetterblatt td {
  padding: .3rem .45rem;
  text-align: right;
  border-bottom: 1px solid var(--linie-leise);
}
.wetterblatt thead th {
  color: var(--schrift-leise);
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--linie);
}
.wetterblatt thead .unterkopf th {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  border-bottom: 1px solid var(--linie);
}
.wetterblatt tbody th {
  text-align: left;
  font-weight: 400;
  white-space: nowrap;
}
.wetterblatt tr.ohne { color: var(--schrift-leise); }
.wetterblatt tr.ohne th { font-style: italic; }
@media print {
  .wetterblatt thead { display: table-header-group; }
  .wetterblatt tr { break-inside: avoid; }
  .wetterblatt th,
  .wetterblatt td { border-bottom: 1px solid #ccc; }
}
.wetterverlauf svg { cursor: crosshair; }
.wetterverlauf.waehlbar svg { cursor: pointer; }
.wetterverlauf.waehlbar:hover .wzeiger { opacity: .18; }
.wetterverlauf:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; }
.wetterverlauf:focus { outline: none; }
.wablesung {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .15rem .9rem;
  margin: .45rem 0 -1.15rem;
  min-height: 1.05rem;
  font-size: .76rem;
  color: var(--schrift);
  position: relative;
  z-index: 1;
}
.wablesung strong { font-weight: 600; }
.wablesung .leer { color: var(--schrift-leise); font-style: italic; }
.wablesung span { display: inline-flex; align-items: center; gap: .3rem; }
.wablesung .marke {
  width: 9px; height: 3px; border-radius: 2px; flex: none;
}
.wablesung .marke.temp { background: var(--gelb-schrift); }
.wablesung .marke.regen { background: #4a9fd8; width: 4px; height: 8px; }
.wablesung .marke.wind {
  background: none; border-top: 2px dashed var(--wind); height: 0;
}
.wetterverlauf:has(.wablesung:not([hidden])) .wlegenden { visibility: hidden; }
.wetterverlauf .wlegenden {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem 1.3rem;
  margin: .45rem 0 0;
}
.wetterverlauf .wlegende {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: var(--schrift-leise);
}
.wetterverlauf .wlegende::before {
  content: "";
  width: 13px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  flex: none;
}
.wetterverlauf .wlegende.regen::before { background: #4a9fd8; height: 9px; width: 5px; }
.wetterverlauf .wlegende.temp::before { background: var(--gelb-schrift); }
.wetterverlauf .wlegende.wind::before {
  background: none;
  border-top: 2px dashed var(--wind);
  height: 0;
}
@media (max-width: 660px) {
  .wetterverlauf { max-width: none; }
  .wetterverlauf svg { height: 84px; }
}
.abschnittskopf {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 .8rem;
}
.abschnittskopf h2 { margin: 0; margin-right: auto; }
.planeintrag { border-bottom: 1px solid var(--linie); }
.planeintrag > summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.15rem;
  cursor: pointer;
  font-size: .84rem;
  color: var(--schrift-leise);
}
.planeintrag > summary::-webkit-details-marker { display: none; }
.planeintrag > summary:hover { color: var(--schrift); background: var(--karte-hell); }
.planeintrag > summary .sinnbild { color: var(--gelb); }
.planeintrag[open] > summary { color: var(--schrift); border-bottom: 1px solid var(--linie-leise); }
.planplus {
  position: sticky;
  left: 9.5rem;
  z-index: 1;
  align-self: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: -1.6rem;
  margin-right: .25rem;
  padding: 0;
  border-radius: 50%;
  background: var(--gelb);
  color: var(--auf-gelb);
  font-size: .9rem;
  line-height: 1;
  opacity: 0;
  transition: opacity .1s;
}
.planzeile:hover .planplus, .planplus:focus-visible { opacity: 1; }
.boxkacheln {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: .9rem;
}
.boxkachel {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .8rem .95rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-left: 4px solid hsl(var(--ton, 0) 55% 60%);
  border-radius: var(--rund);
  color: var(--schrift);
  text-decoration: none;
}
.boxkachel:hover { border-color: var(--gelb); border-left-color: hsl(var(--ton, 0) 55% 60%); }
.boxkachel.still { border-left-color: var(--linie); opacity: .72; }
.boxkachel.still:hover { opacity: 1; }
.boxkopf { display: flex; align-items: center; gap: .5rem; }
.boxkopf strong { font-size: 1rem; margin-right: auto; }
.boxpunkt {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(var(--ton, 0) 60% 55%);
}
.boxstandort { display: flex; flex-direction: column; gap: .05rem; margin-top: .4rem; }
.boxstandort strong { font-size: .86rem; font-weight: 600; }
.boxfuss { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.boxmarke {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .05rem .45rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: .72rem;
  color: var(--schrift-leise);
}
.boxmarke .sinnbild { color: var(--gelb); }
.boxrolle { overflow-x: auto; }
.boxtabelle { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 44rem; }
.boxtabelle th, .boxtabelle td {
  padding: .55rem .8rem;
  border-bottom: 1px solid var(--linie-leise);
  text-align: left;
  white-space: nowrap;
}
.boxtabelle th {
  background: var(--karte);
  font-size: .72rem;
  font-weight: 500;
  color: var(--schrift-leise);
  border-bottom-color: var(--linie);
}
.boxtabelle tbody tr:hover { background: var(--karte-hell); }
.boxtabelle tbody tr:last-child td { border-bottom: 0; }
.boxtabelle .rechts { text-align: right; }
.boxtabelle a { color: var(--schrift); display: inline-flex; align-items: center; gap: .45rem; }
.boxtabelle tr.frei td { color: var(--schrift-leise); }
.boxpunkt.still { background: var(--linie); }
.boxneu, .boxform { padding: 1.15rem; display: flex; flex-direction: column; gap: .2rem; }
.boxneu { flex-direction: row; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-end; }
.boxneu .feld { flex: 1 1 12rem; margin: 0; }
.boxform .feld { margin: 0 0 .7rem; }
.einsatzzeile { border-bottom: 1px solid var(--linie-leise); }
.einsatzzeile:last-child { border-bottom: 0; }
.einsatzzeile > summary {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .75rem 1.15rem;
  cursor: pointer;
}
.einsatzzeile > summary::-webkit-details-marker { display: none; }
.einsatzzeile:hover > summary { background: var(--karte-hell); }
.einsatzzeile > summary .projektfarbe { margin-top: .25rem; }
.einsatzzeile.unsicher > summary { border-left: 3px solid var(--achtung); }
.einsatzform { padding: .4rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.einsatzform .feld { margin: 0; }
.aufgabenraum {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
@media (max-width: 780px) { .aufgabenraum { grid-template-columns: 1fr; } }
.kalendertafel .tafelkopf h2 { min-width: 8.5rem; }
.monatsgitter {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: .9rem;
}
.monatswtag {
  text-align: center;
  font-size: .7rem;
  color: var(--schrift-leise);
  padding-bottom: .3rem;
}
.monatsleer { aspect-ratio: 1; }
.monatstag {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: var(--schrift);
  font: inherit;
  padding: 0;
  cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease;
}
.monatstag .zahl { font-size: .82rem; font-variant-numeric: tabular-nums; }
.monatstag:hover { background: var(--karte-hell); border-color: var(--linie); }
.monatstag.heute { border-color: var(--gelb); }
.monatstag.heute .zahl { color: var(--gelb-schrift); font-weight: 600; }
.monatstag.hat { background: color-mix(in srgb, var(--gelb) 10%, transparent); }
.monatspunkte { display: flex; gap: 2px; height: 5px; }
.monatspunkte i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gelb);
}
.monatstag.spaet.hat { background: color-mix(in srgb, var(--schlecht) 14%, transparent); }
.monatstag.spaet .monatspunkte i { background: var(--schlecht); }
.aufgabe.mehr { color: var(--schrift-leise); font-size: .85rem; }
.aufgabenliste { display: flex; flex-direction: column; }
.aufgabe {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--linie-leise);
  border-left: 3px solid transparent;
  transition: background-color .3s ease;
}
.aufgabe:last-child { border-bottom: 0; }
.aufgabe.spaet { border-left-color: var(--schlecht); }
.aufgabe.jetzt { border-left-color: var(--achtung); }
.aufgabe.fertig { opacity: .55; }
.aufgabe.markiert { background: color-mix(in srgb, var(--gelb) 14%, transparent); }
.aufgabetext { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.aufgabetext .aufgabefrist { display: flex; align-items: center; gap: .3rem; }
.aufgabehaken { flex: 0 0 auto; }
.hakenknopf {
  width: 1.5rem; height: 1.5rem; flex: 0 0 auto;
  border: 2px solid var(--linie);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: border-color .12s ease, background-color .12s ease;
}
.hakenknopf::after {
  content: "";
  position: absolute; left: 50%; top: 46%;
  width: 5px; height: 9px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color .12s ease;
}
.hakenknopf:hover { border-color: var(--gut); }
.hakenknopf:hover::after { border-color: var(--gut); }
.hakenknopf.erledigt {
  border-color: var(--gut);
  background: var(--gut);
}
.hakenknopf.erledigt::after { border-color: #fff; }
.loeschknopf {
  flex: 0 0 auto;
  background: none; border: 0;
  color: var(--schrift-leise); font-size: 1.3rem; line-height: 1;
  cursor: pointer; padding: 0 .2rem;
}
.loeschknopf:hover { color: var(--schlecht); }
.aufgabeformular { padding: 1.1rem 1.2rem; }
.aufgabeformular .feld.breit { max-width: 34rem; }
.aufgabeformular .feldreihe { display: flex; gap: 1rem; flex-wrap: wrap; }
.aufgabeformular .feldreihe .feld { flex: 1; min-width: 12rem; max-width: 17rem; }
.aufgabeformular .feld em { font-style: normal; font-size: .78rem; }
.aufgabeabsenden { padding: 0 1.2rem 1.2rem; }
.neueaufgabe { max-width: 40rem; }
.leistungsliste { display: flex; flex-direction: column; }
.leistungszeile {
  display: flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem;
  border-bottom: 1px solid var(--linie);
  flex-wrap: wrap;
}
.leistungszeile.neu { background: var(--karte-hell); border-bottom: 0; }
.lfeld-name    { flex: 2 1 12rem; min-width: 0; }
.lfeld-text    { flex: 3 1 14rem; min-width: 0; }
.lfeld-einheit { flex: 0 0 7rem; }
.lfeld-preis   { flex: 0 0 6rem; text-align: right; }
.lfeld-steuer  { flex: 0 0 3.5rem; text-align: right; }
.firmenfelder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: .7rem; padding: .9rem;
}
.firmenfeld { display: flex; flex-direction: column; gap: .2rem; }
.belegwesenliste { display: flex; flex-direction: column; }
.belegwesenzeile {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--linie);
  color: var(--schrift); text-decoration: none;
}
.belegwesenzeile:last-child { border-bottom: 0; }
.belegwesenzeile:hover { background: var(--karte-hell); text-decoration: none; }
.bwart {
  flex: 0 0 6.5rem; font-size: .74rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--schrift-leise);
}
.bwnummer { flex: 0 0 8rem; font-size: .85rem; }
.bwname { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.bwstatus {
  flex: 0 0 auto; font-size: .75rem; padding: .12rem .5rem;
  border-radius: 999px; border: 1px solid var(--linie);
  color: var(--schrift-leise);
}
.bwstatus.st-fest      { border-color: var(--gelb); color: var(--schrift); }
.bwstatus.st-versendet { border-color: #4a7fb5; color: #3a6fa5; }
.bwstatus.st-bezahlt   { border-color: #3f9c53; color: #2f7c43; }
.bwstatus.st-storniert { border-color: #d8483a; color: #b8382a; }
.poszeile {
  display: grid;
  grid-template-columns: 2.2fr 5rem 6.5rem 6.5rem 3.6rem 2rem;
  gap: .4rem; padding: .45rem .9rem;
  border-bottom: 1px solid var(--linie);
  align-items: start;
}
.poszeile input, .poszeile select { min-width: 0; }
.poszeile .rechtsfeld { text-align: right; }
.poskopf {
  display: grid;
  grid-template-columns: 2.2fr 5rem 6.5rem 6.5rem 3.6rem 2rem;
  gap: .4rem; padding: .5rem .9rem;
  background: var(--karte-hell);
  font-size: .78rem; color: var(--schrift-leise);
}
.posbeschreibung { grid-column: 1 / -1; margin-top: .25rem; }
.summenblock { display: flex; flex-direction: column; align-items: flex-end;
               gap: .3rem; padding: .9rem; }
.summenzeile { display: flex; gap: 1.5rem; font-size: .92rem; }
.summenzeile.gesamt { font-size: 1.1rem; font-weight: 600;
                      border-top: 1px solid var(--linie); padding-top: .5rem; }
.summenzeile span:last-child { min-width: 7rem; text-align: right; }
@media (max-width: 780px) {
  .poszeile, .poskopf { grid-template-columns: 1fr 1fr 1fr; }
  .poskopf { display: none; }
  .belegwesenzeile { flex-wrap: wrap; }
  .bwart, .bwnummer { flex: 0 0 auto; }
}
.leerraum {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  padding: 3rem 1.5rem; text-align: center; color: var(--schrift-leise);
}
.leerraum p { max-width: 34rem; margin: 0; }
.leerraum .sinnbild { color: var(--linie); }
.ortsliste { display: flex; flex-direction: column; }
.ortszeile {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--linie);
  color: var(--schrift); text-decoration: none;
}
.ortszeile:last-child { border-bottom: 0; }
a.ortszeile:hover { background: var(--karte-hell); text-decoration: none; }
.ortsname { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.aktenspalten {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.aktenfelder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: .6rem; padding: .9rem;
}
@media (max-width: 900px) {
  .aktenspalten { grid-template-columns: 1fr; }
}
.mailfelder { display: flex; flex-direction: column; gap: .8rem; padding: .9rem; }
.mailfelder label { display: flex; flex-direction: column; gap: .25rem; }
.mailfelder textarea { width: 100%; font-family: inherit; line-height: 1.5; }
.ohnekamera {
  margin: 0; padding: .55rem .2rem 1.1rem;
  font-size: .88rem; color: var(--schrift-leise);
}
.internername {
  font-size: .72rem; color: var(--schrift-leise);
  border: 1px dashed var(--linie); border-radius: var(--rund);
  padding: .05rem .4rem; white-space: nowrap;
}
.namensschild .kundenname {
  font-size: .8rem; color: var(--schrift-leise);
  border-left: 2px solid var(--gelb); padding-left: .5rem;
}
.abrufband { display: flex; align-items: stretch; gap: 2px; height: 46px; margin: .6rem 0 .2rem; }
.abrufband i { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; }
.abrufband i b { display: block; background: var(--gelb); border-radius: 2px 2px 0 0; min-height: 2px; }
.abrufband i.leer b { background: var(--linie); }
.uebersichtwahl { display: flex; gap: .5rem; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.uebersichtwahl select { width: auto; font-size: .85rem; padding: .35rem 1.7rem .35rem .65rem; }
.uebersichtsummen {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  padding: 1rem 1.1rem .2rem;
}
.uebersichtsummen > div { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.uebersichtsummen > div.rechts { text-align: right; align-items: flex-end; }
.uebersichtsummen strong { font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.uebersichtsummen strong.warnt { color: var(--schlecht); }
.kurvenpunkt {
  display: inline-block; width: .55rem; height: .55rem; border-radius: 50%;
  vertical-align: middle; margin-right: .15rem; background: var(--schrift-leise);
}
.kurvenpunkt.ein { background: var(--gut); }
.kurvenpunkt.aus { background: var(--schlecht); }
.kurvenkasten { position: relative; padding: .4rem 1.1rem 0; }
.kurvenkasten.gezeichnet { height: clamp(13rem, 34vh, 21rem); }
.kurventabelle { margin: .4rem 0 .6rem; }
.kurven { display: block; width: 100%; height: 100%; overflow: visible; font: 11px var(--textschrift, inherit);
         touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.kurven:focus-visible { outline: 2px solid var(--gelb); outline-offset: 4px; border-radius: 4px; }
.nur-vorleser { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; }
.kurven .gitter { stroke: var(--linie); stroke-width: 1; }
.kurven .gitter.null { stroke: var(--schrift-leise); opacity: .55; }
.kurven .achse { fill: var(--schrift-leise); font-variant-numeric: tabular-nums; }
.kurven .achse.monat { font-size: 12px; }
.kurven .linie { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.kurven .linie.ein { stroke: var(--gut); }
.kurven .linie.aus { stroke: var(--schlecht); }
.kurven .flaeche { opacity: .11; }
.kurven .flaeche.ein { fill: var(--gut); }
.kurven .flaeche.aus { fill: var(--schlecht); }
.kurven .kurvenmarke line { stroke: var(--schrift); stroke-dasharray: 4 4; opacity: .55; }
.kurven .kurvenmarke circle { stroke: var(--karte); stroke-width: 2.5; }
.kurven .kurvenmarke circle.ein { fill: var(--gut); }
.kurven .kurvenmarke circle.aus { fill: var(--schlecht); }
.kurventip {
  position: absolute; z-index: 3; pointer-events: none;
  background: var(--karte-hell); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: .55rem .85rem .5rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22); min-width: 14rem; font-size: .85rem;
}
.kurventip strong { display: block; margin-bottom: .35rem; font-size: .95rem; }
.kurventip table { border-collapse: collapse; width: 100%; }
.kurventip td { padding: .14rem 0; color: var(--schrift-leise); }
.kurventip td:last-child { text-align: right; color: var(--schrift); font-weight: 600; padding-left: 1rem; font-variant-numeric: tabular-nums; }
.kurventip td.warnt { color: var(--schlecht); }
.kurvenfuss { padding: .5rem 1.1rem 1rem; margin: 0; }
.lagenkarte.brennt { border-color: color-mix(in srgb, var(--schlecht) 40%, var(--linie)); }
a.lagenkarte { color: inherit; text-decoration: none; }
a.lagenkarte:hover { border-color: color-mix(in srgb, var(--gelb) 55%, var(--linie)); }
a.lagenkarte:hover .lagenwort .pfeil { color: var(--gelb); }
a.lagenkarte .pfeil { transition: color .13s ease; }
@media (max-width: 680px) {
  .uebersichttafel .tafelkopf { flex-wrap: wrap; }
  .uebersichtwahl { flex-basis: 100%; margin-left: 0; justify-content: flex-start; }
  .uebersichtwahl select { max-width: 100%; }
  .uebersichtsummen { grid-template-columns: 1fr 1fr; }
  .uebersichtsummen strong { font-size: 1.2rem; }
  .uebersichtsummen > div.rechts { grid-column: 1 / -1; text-align: left; align-items: flex-start; }
  .kurvenkasten.gezeichnet { height: clamp(11rem, 40vh, 16rem); }
  .kurventip { min-width: 11rem; font-size: .8rem; }
}
.belegfilter a.papierkorb { margin-left: auto; color: var(--schrift-leise); }
.papierkorbknoepfe { display: flex; flex-direction: column; gap: .4rem; align-self: center; }
.papierkorbknoepfe form { margin: 0; }
.papierkorbknoepfe button { width: 100%; white-space: nowrap; font-size: .82rem; padding: .35rem .7rem; }
a.belegbild { text-decoration: none; }
.belegfilter.jahre { margin-top: -.2rem; }
.jahresmarke {
  margin: 0; padding: .75rem 1.1rem .35rem; font-size: .76rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--schrift-leise);
  border-top: 1px solid var(--linie);
}
.belegliste > .jahresmarke:first-child { border-top: 0; padding-top: .5rem; }
.tabelle td.zahlen, .tabelle th.zahlen { white-space: nowrap; }
.belegstift { display: flex; flex-wrap: wrap; gap: .6rem .9rem; align-items: flex-end; padding: .6rem 1rem .8rem; border-bottom: 1px solid var(--linie); margin: 0; }
.belegstift label { display: flex; flex-direction: column; gap: .2rem; flex: 0 1 11rem; }
.belegstift input { width: 100%; padding: .35rem .55rem; font-size: .9rem; }
.belegstift button { padding: .4rem .8rem; }
.belegstift #angabe_hinweis { flex-basis: 100%; }
.vonhand { color: var(--gelb-schrift); font-size: .8em; margin-left: .15rem; }
.ablagezeile.schutz .ablagename { color: var(--schrift); }
.ablagezeile.schutz .ablagewas { color: var(--gelb-schrift); font-weight: 600; }
:root { --regen: #3d8bfd; }
.taetigkeitsverlauf .tagesspalte.offen .saeule { opacity: .6; }
.regenreihe {
  display: flex;
  gap: 2px;
  height: 2.2rem;
  align-items: stretch;
  margin-top: 2px;
}
.regenreihe .tagesspalte {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.regenreihe .tropfen {
  width: 100%;
  min-height: 2px;
  border-radius: 0 0 3px 3px;
  background: var(--regen);
}
.taetigkeitszahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .8rem 1.2rem;
  margin-bottom: 1rem;
}
.taetigkeitszahlen strong {
  display: block;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.kennzahlen {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 2.4rem;
  margin: 0 0 1.1rem;
}
.kennzahlen > div { min-width: 7rem; }
.kennzahlen strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.kennzahlen strong.klein { font-size: 1rem; padding-top: .4rem; }
.kennzahlen span {
  display: block;
  font-size: .76rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--schrift-leise);
}
.kennzahlen small {
  display: block;
  font-size: .8rem;
  color: var(--schrift-leise);
}
.tabelle.nutzer { table-layout: fixed; width: 100%; min-width: 46rem; }
.tabelle.nutzer td { vertical-align: top; }
details.aufklapp summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details.aufklapp summary::-webkit-details-marker { display: none; }
details.aufklapp summary::before { content: "›"; display: inline-block; transition: transform .15s; }
details.aufklapp[open] summary::before { transform: rotate(90deg); }
details.aufklapp[open] summary { margin-bottom: .7rem; }
.kalendergitter .tag.getoent:not(.gewaehlt) {
  background: color-mix(in srgb, var(--gelb) calc(var(--stufe, 0) * 60%), transparent);
}
.kalendergitter .tag.getoent:not(.gewaehlt):hover:not(:disabled) {
  background: color-mix(in srgb, var(--gelb) calc(var(--stufe, 0) * 60% + 12%), var(--karte-hell));
}
.kalenderfuss .toenung {
  width: 2.2rem; height: .6rem;
  border-radius: 3px;
  border: 1px solid var(--linie);
  background: linear-gradient(90deg, transparent, var(--gelb));
}
.planablage { margin: 0; }
.planablage .ablagefeld.laeuft { opacity: .55; pointer-events: none; }
input.geheim { -webkit-text-security: disc; }
.karten.mauer {
  display: block;
  columns: 21rem;
  column-gap: 1.5rem;
}
.karten.mauer > .karte {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 1.5rem;
}
.tabellenrolle { overflow-x: auto; }
.tabellenrolle > .tabelle { min-width: max-content; }
.tabellenrolle > #tafel { min-width: 40rem; }
@media (max-width: 640px) { .tabellenrolle > #tafel { min-width: 0; } }
#tafel td { overflow-wrap: anywhere; }
.angaben dd { min-width: 0; overflow-wrap: anywhere; }
.merkmal { white-space: normal; }
.ortsbalken { display: flex; flex-direction: column; gap: .1rem; }
.taetigkeitszeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(4rem, 40%) auto;
  align-items: center;
  gap: .7rem;
  padding: .45rem .3rem;
  border-radius: var(--rund);
  color: var(--schrift);
  text-decoration: none;
}
.taetigkeitszeile:hover { background: var(--karte-hell); text-decoration: none; }
.taetigkeitszeile .ortsname {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem;
}
.ortsschiene {
  height: 8px;
  border-radius: 4px;
  background: var(--linie);
  overflow: hidden;
}
.ortsschiene i { display: block; height: 100%; background: var(--gelb); border-radius: 4px; }
.ortswert {
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  color: var(--schrift-leise);
  min-width: 2.2rem;
  text-align: right;
}
.ansichtswahl {
  display: inline-flex;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  overflow: hidden;
}
.ansichtswahl a,
.ansichtswahl button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .7rem;
  font-size: .84rem;
  color: var(--schrift-leise);
  text-decoration: none;
  background: none;
}
.ansichtswahl a + a,
.ansichtswahl button + button { border-left: 1px solid var(--linie); }
.ansichtswahl a:hover,
.ansichtswahl button:hover { color: var(--schrift); background: var(--karte-hell); text-decoration: none; }
.ansichtswahl button {
  border: 0; font: inherit; font-size: .84rem; cursor: pointer;
}
.ansichtswahl a.an,
.ansichtswahl button.an {
  color: var(--gelb-schrift);
  font-weight: 600;
  background: color-mix(in srgb, var(--gelb) 16%, transparent);
}
.kameraliste td .punkt { display: inline-block; margin-right: .45rem; vertical-align: middle; }
.kameraliste td a { color: var(--schrift); font-weight: 600; }
.kameraliste td a:hover { color: var(--gelb); }
.kameraliste .symbole { justify-content: flex-start; gap: .55rem; }
.kameraliste td.alt { color: var(--achtung); }
.kameraliste tr.stillgelegt td a { font-weight: 500; }
@media (max-width: 640px) {
  .namensschild { flex-wrap: wrap; }
  .namensschild h2 { min-width: 0; overflow-wrap: anywhere; }
  .namensschild .ordnen { margin-left: auto; }
  .kachel { max-width: 100%; min-width: 0; }
  .kachel .bildflaeche { height: auto; aspect-ratio: var(--verhaeltnis, 1.7778); }
  .kachel .bildflaeche img { width: 100%; height: 100%; object-fit: cover; }
}
.tabelle.kundenliste {
  table-layout: fixed;
  width: 100%;
  min-width: 46rem;
}
.tabelle.kundenliste th:nth-child(2),
.tabelle.kundenliste td:nth-child(2) { width: 26rem; }
.tabelle.kundenliste th:nth-child(3),
.tabelle.kundenliste td:nth-child(3) { width: 8.5rem; }
.tabelle.kundenliste th:nth-child(4),
.tabelle.kundenliste td:nth-child(4) { width: 10rem; }
.tabelle.kundenliste td:nth-child(2) { overflow-wrap: anywhere; }
.tabelle.kameraliste[data-ort] {
  table-layout: fixed;
  width: 100%;
  min-width: 67rem;
}
.kameraliste[data-ort] th.symbolspalte,
.kameraliste[data-ort] td.symbolspalte { width: 9rem; }
.kameraliste[data-ort] td.symbolspalte { padding-left: 1.8rem; }
.kameraliste[data-ort] th:nth-child(4),
.kameraliste[data-ort] td:nth-child(4) { width: 17rem; }
.kameraliste[data-ort] th:nth-child(5),
.kameraliste[data-ort] td:nth-child(5) { width: 10rem; }
.kameraliste[data-ort] th:nth-child(6),
.kameraliste[data-ort] td:nth-child(6) { width: 13rem; }
.kameraliste[data-ort] th:nth-child(7),
.kameraliste[data-ort] td:nth-child(7) { width: 11rem; }
.kameraliste[data-ort] td:nth-child(4) { overflow-wrap: anywhere; }
.kameraliste[data-ort] th.restspalte,
.kameraliste[data-ort] td.restspalte { width: auto; }
.kameraliste .bildspalte { width: 74px; padding-right: 0; }
.kameraliste .bildspalte > a {
  display: flex;
  align-items: center;
  min-height: 37px;
}
.kameraliste .bildspalte img {
  display: block;
  flex: none;
  width: min(66px, calc(37px * var(--verhaeltnis, 1.7778)));
  height: auto;
  aspect-ratio: var(--verhaeltnis, 16 / 9);
  object-fit: cover;
  border-radius: 4px;
  background: var(--grund-tief);
}
.kameraliste .bildspalte .kein-bild {
  display: grid;
  place-items: center;
  width: 66px;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--linie);
  border-radius: 4px;
  color: var(--schrift-leise);
  font-size: .8rem;
}
.bildschau {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(.8rem, 3vw, 2.5rem);
  background: rgba(6, 6, 8, .88);
  backdrop-filter: blur(3px);
}
.bildschau figure { margin: 0; display: flex; flex-direction: column; gap: .6rem; max-width: 100%; }
.bildschau-flaeche {
  position: relative;
  display: grid;
  place-items: center;
  min-width: min(22rem, 80vw);
  min-height: 8rem;
  border-radius: var(--rund-gross);
  overflow: hidden;
  background: #000;
}
.bildschau img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
}
.bildschau-laedt { margin: 0; padding: 2.5rem 1.5rem; color: #d8dac9; font-size: .9rem; }
.bildschau figcaption {
  color: #d8dac9;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}
.bildschau-zu {
  position: absolute;
  top: .6rem; right: .8rem;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.bildschau-zu:hover { background: rgba(255, 255, 255, .22); }
.kameraliste .griffspalte { width: 26px; padding-right: 0; }
.kameraliste .griff {
  display: block;
  color: var(--linie);
  font-size: 1rem;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  user-select: none;
  padding: .2rem .1rem;
}
.kameraliste tr:hover .griff { color: var(--schrift-leise); }
.kameraliste tr.zieht {
  opacity: .55;
  background: color-mix(in srgb, var(--gelb) 12%, transparent);
}
.kameraliste tr.zieht .griff { cursor: grabbing; }
@keyframes reihegesichert { from { background: color-mix(in srgb, var(--gut) 22%, transparent); } }
.kameraliste tr.gesichert { animation: reihegesichert 1.1s ease-out; }
.ortsblock > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ortsblock > summary::-webkit-details-marker { display: none; }
.ortsblock > summary::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-right: 2px solid var(--schrift-leise);
  border-bottom: 2px solid var(--schrift-leise);
  transform: rotate(-45deg);
  transition: transform .15s ease;
}
.ortsblock[open] > summary::before { transform: rotate(45deg); }
.ortsblock > summary:hover::before { border-color: var(--gelb); }
.ortsblock > summary:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; border-radius: var(--rund); }
.ortsblock[open] > summary { margin-bottom: .9rem; }
.bildschau figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bildschau-lupe {
  color: #d8dac9;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
}
.bildschau-lupe:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.bildschau-lupe.an {
  background: var(--gelb);
  border-color: var(--gelb);
  color: var(--auf-gelb);
}
.firmenkopf {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 0;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--linie);
}
.unterleiste a.rechts { margin-left: auto; }
.stiftweg {
  border: 0;
  background: none;
  padding: 0 .25rem;
  margin-left: .4rem;
  font-size: .72rem;
  color: var(--schrift-leise);
  text-decoration: underline;
  cursor: pointer;
}
.stiftweg:hover { color: var(--schlecht); }
.ueberblick a:hover { border-color: var(--gelb); color: var(--schrift); text-decoration: none; }
.ueberblick a.an {
  border-color: color-mix(in srgb, var(--gelb) 60%, var(--linie));
  background: color-mix(in srgb, var(--gelb) 12%, transparent);
  color: var(--gelb-schrift);
  font-weight: 600;
}
@media (max-width: 640px) {
  .ueberblick a {
    min-height: 44px; display: inline-flex; align-items: center;
    padding: .1rem .75rem; font-size: .82rem;
  }
}
.schau {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem 1.1rem 4rem;
}
.schaukopf { padding: 1.5rem 0 .5rem; }
.schaukopf .marke {
  font-weight: 800; letter-spacing: .02em; font-size: 1.15rem;
  color: var(--schrift);
}
.schaukopf .marke span {
  font-weight: 400; color: var(--schrift-leise); margin-left: .4rem;
}
.schaukopf h1 {
  margin: 1.2rem 0 .6rem;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  line-height: 1.15; letter-spacing: -.02em;
}
.schaukopf .vorspann {
  margin: 0; max-width: 46rem;
  font-size: 1.02rem; line-height: 1.6; color: var(--schrift-leise);
}
.schau img, .schau video { max-width: 100%; height: auto; display: block; }
@media (max-width: 640px) {
  .schau { padding: 1rem .9rem 3rem; }
}
.markefeld {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0;
}
.markefeld code {
  flex: 1; min-width: 0; overflow-wrap: anywhere;
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: .5rem .7rem; font-size: .85rem;
}
.befehl {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: .6rem .8rem; margin: .4rem 0 0;
  font-size: .82rem; overflow-x: auto;
}
.demoband {
  background: color-mix(in srgb, var(--gelb) 14%, var(--grund));
  border-bottom: 1px solid color-mix(in srgb, var(--gelb) 45%, var(--linie));
}
.demoinhalt {
  max-width: 80rem; margin: 0 auto; padding: .55rem 1.1rem;
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-size: .9rem;
}
.demomarke {
  background: var(--gelb); color: var(--auf-gelb);
  font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px;
}
.demoschritt {
  font-size: .78rem; color: var(--schrift-leise);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.demoinhalt .demotext { color: var(--schrift-leise); flex: 1 1 16rem; min-width: 0; }
.demoinhalt .demofertig { flex: 1 1 auto; }
.demoweiter { margin-left: auto; flex: none; }
.demoraus {
  margin-left: auto; flex: none; white-space: nowrap;
  background: transparent; color: inherit;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
}
@media (max-width: 640px) {
  .demoinhalt { padding: .5rem .9rem; gap: .4rem .55rem; }
  .demoweiter, .demoraus { margin-left: 0; width: 100%; text-align: center;
                min-height: 44px; display: flex; align-items: center;
                justify-content: center; }
}
.kamerasuche {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 0 .6rem; background: var(--karte);
  min-width: 0; flex: 0 1 18rem;
}
.kamerasuche:focus-within { border-color: var(--gelb); }
.kamerasuche .sinnbild { color: var(--schrift-leise); flex: none; }
.kamerasuche input {
  border: 0; background: none; color: var(--schrift);
  font: inherit; font-size: .88rem; padding: .42rem 0;
  min-width: 0; width: 100%; outline: none;
}
.suchstand { margin: -.4rem 0 1rem; }
.suchstand.warnt { color: var(--achtung); }
@media (max-width: 640px) {
  .kamerasuche { flex: 1 1 100%; order: -1; }
}
.planbereich { margin: .6rem 0 .2rem; }
.planrolle-plan { overflow-x: auto; overflow-y: hidden; padding-bottom: .2rem; }
.planraster { min-width: 34rem; }
.planraster .skala {
  position: relative; height: 1rem; margin-left: 8.9rem; margin-right: 5.2rem;
  font-size: .68rem; color: var(--schrift-leise);
}
.planraster .skala b { position: absolute; font-weight: 400; transform: translateX(-50%); }
.planraster .skala b:first-child { transform: none; }
.planraster .skala b:last-child { transform: translateX(-100%); }
.planraster .zeile { display: flex; align-items: center; gap: .4rem; margin-bottom: 3px; }
.planraster .tag {
  width: 8.5rem; flex: none; font-size: .72rem; color: var(--schrift-leise);
  display: flex; flex-direction: column; gap: .1rem; line-height: 1.25;
}
.planraster .tag b {
  font-weight: 400; font-size: .68rem;
  font-variant-numeric: tabular-nums;
}
.planraster .tag b.warnt { color: var(--achtung); font-weight: 600; }
.planraster .kaesten {
  display: grid; grid-template-columns: repeat(48, 1fr);
  flex: 1 1 auto; min-width: 0; touch-action: pan-y;
  border: 1px solid var(--linie); border-radius: 3px; overflow: hidden;
  background: var(--karte-hell);
}
.planraster .kasten {
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; border-left: 1px solid var(--linie-leise);
  border-radius: 0; box-shadow: none; padding: 0; margin: 0;
  height: 20px; min-height: 0; min-width: 0; width: auto;
  font-size: 0; line-height: 0; color: transparent; white-space: normal;
  transition: background-color .08s linear;
}
.planraster .kasten:first-child { border-left: 0; }
.planraster .kasten:nth-child(2n + 1) { border-left-color: var(--linie); }
.planraster .kasten:nth-child(8n + 1) { border-left-color: var(--linie-leise); }
.planraster .kasten:nth-child(12n + 1) { border-left-color: var(--schrift-leise); }
.planraster .kasten[aria-pressed="true"] { background: var(--gelb); }
.planraster .kasten:hover { filter: none; background: var(--linie); }
.planraster .kasten[aria-pressed="true"]:hover { background: var(--gelb); filter: brightness(1.08); }
.planraster .kasten:active:not(:disabled) { transform: none; }
.planraster .kasten:focus-visible {
  outline: 2px solid var(--schrift); outline-offset: -2px; position: relative; z-index: 1;
}
.planraster .kasten:disabled { opacity: 1; cursor: default; }
.planraster.nuranzeige .kaesten { opacity: .55; }
.planraster.nuranzeige .skala { margin-right: 0; }
.planraster .tagknoepfe { flex: none; display: flex; gap: .1rem; width: 4.8rem; }
.planraster .tagknoepfe button { padding: .15rem .35rem; font-size: .7rem; }
.planzeilen {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.planzeilen p { margin: 0 0 .15rem; font-size: .76rem; color: var(--schrift-leise); }
.planzeilen p.warnt { color: var(--achtung); font-weight: 600; }
.planzeilen p b { color: var(--schrift); font-weight: 600; }
.stoerprobe {
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .8rem .95rem;
  margin-top: .4rem;
}
.stoertext {
  white-space: pre-line;
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
}
.meldeschalter {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: .8rem 1rem;
  margin: .2rem 0 1.1rem;
}
.meldeschalter.aus {
  border-color: var(--schlecht);
  background: color-mix(in srgb, var(--schlecht) 7%, transparent);
}
.meldeschalter .schalter { flex: none; margin-top: .1rem; }
.meldeschaltertext { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.meldeschaltertext strong { font-size: .95rem; }
.meldungaus {
  display: inline-block; color: var(--schlecht); font-weight: 700;
  font-size: 1rem; letter-spacing: .02em;
}
.schieberzeile { display: flex; align-items: center; gap: .7rem; max-width: 24rem; }
.schieberzeile input[type="range"] { flex: 1 1 auto; min-width: 0; }
.schieberzeile .wert {
  flex: none; width: 2.6rem; text-align: right;
  font-family: var(--zahlschrift); font-size: .85rem;
}
.abweichliste { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .82rem; }
.staendeliste { list-style: none; margin: .4rem 0 0; padding: 0; }
.staendeliste li {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  padding: .35rem 0; border-top: 1px solid var(--linie-leise); font-size: .82rem;
}
.staendeliste li:first-child { border-top: 0; }
@media (max-width: 640px) {
  .planraster { min-width: 37rem; }
  .planraster .skala b:nth-of-type(2n) { display: none; }
  .planraster .kasten { height: 28px; }
}
.vprio {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  font-size: .72rem; font-weight: 700; letter-spacing: 0;
  border: 1px solid var(--linie);
  color: var(--schrift-leise);
}
.v-prio-a { background: var(--gelb); color: var(--auf-gelb); border-color: var(--gelb); }
.v-prio-b { background: var(--karte-hell); }
.v-prio-c { background: transparent; opacity: .7; }
.vstufe, .vmerker {
  display: inline-block; padding: .16rem .5rem; border-radius: 999px;
  font-size: .74rem; line-height: 1.5; white-space: nowrap;
  background: var(--karte-hell); border: 1px solid var(--linie);
  color: var(--schrift-leise);
}
.vmerker.gut { color: var(--gut); border-color: color-mix(in srgb, var(--gut) 40%, transparent); }
.vmerker.schlecht { color: var(--schlecht); border-color: color-mix(in srgb, var(--schlecht) 40%, transparent); }
.vmerker.achtung { color: var(--achtung); border-color: color-mix(in srgb, var(--achtung) 40%, transparent); }
.v-gewonnen { color: var(--gut); border-color: color-mix(in srgb, var(--gut) 40%, transparent); }
.v-verloren { color: var(--schlecht); border-color: color-mix(in srgb, var(--schlecht) 40%, transparent); }
.v-entscheidung, .v-angebot { color: var(--gelb-schrift); border-color: color-mix(in srgb, var(--gelb) 35%, transparent); }
.vliste { display: flex; flex-direction: column; }
.vzeile {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 1.1rem; border-top: 1px solid var(--linie-leise);
  color: inherit; text-decoration: none;
}
.vzeile:first-child { border-top: 0; }
.vzeile:hover { background: var(--karte-hell); }
.vname { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1 1 auto; }
.vname strong { font-size: .95rem; }
.vschritt { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: .15rem; }
.vtafel {
  display: flex; gap: 1rem; overflow-x: auto;
  padding-bottom: .8rem; margin-bottom: 1.5rem;
  scrollbar-width: thin;
}
.vspalte {
  flex: 0 0 15.5rem; display: flex; flex-direction: column;
  background: var(--kartengrund); border: 1px solid var(--linie);
  border-radius: var(--rund-gross); overflow: hidden;
}
.vspalte > header {
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  padding: .8rem .9rem .6rem; border-bottom: 1px solid var(--linie-leise);
}
.vspalte > header strong { font-size: .9rem; }
.vhinweis { flex: 1 0 100%; }
.vspalte.nimmt { border-color: var(--gelb); }
.vspaltenkorb {
  display: flex; flex-direction: column; gap: .5rem;
  padding: .6rem; min-height: 4rem; flex: 1 1 auto;
}
.vkarte {
  display: flex; flex-direction: column; gap: .25rem;
  padding: .6rem .7rem; background: var(--karte);
  border: 1px solid var(--linie); border-radius: var(--rund);
  cursor: grab;
}
.vkarte:hover { border-color: color-mix(in srgb, var(--gelb) 50%, var(--linie)); }
.vkarte.zieht { opacity: .4; cursor: grabbing; }
.vkarte > a {
  display: flex; align-items: center; gap: .45rem;
  color: inherit; text-decoration: none; font-weight: 600; font-size: .88rem;
}
.vspalten2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .vspalten2 { grid-template-columns: 1fr; } }
.vabschnitt, .vnaechster { padding: 1.1rem; }
.vnaechster p { margin: 0; }
.vunter {
  margin: 1.1rem 1.1rem .3rem; font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; color: var(--schrift-leise);
}
.vabschnitt .vunter, form .vunter { margin-left: 0; margin-right: 0; }
.vpunkte { margin: .2rem 1.1rem 1rem; padding-left: 1.1rem; font-size: .85rem; }
.vpunkte li { margin-bottom: .4rem; }
.vschlagworte { display: flex; flex-wrap: wrap; gap: .3rem; margin: .8rem 0; }
.vkontakte { list-style: none; margin: 0; padding: 0; }
.vkontakte li {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .7rem 1.1rem; border-top: 1px solid var(--linie-leise);
}
.vkontakte li:first-child { border-top: 0; }
.vverlauf { list-style: none; margin: 0; padding: 0; }
.vverlauf li {
  display: grid; grid-template-columns: 6.5rem 1fr auto; gap: .7rem;
  align-items: baseline;
  padding: .6rem 1.1rem; border-top: 1px solid var(--linie-leise);
  font-size: .88rem;
}
.vverlauf li:first-child { border-top: 0; }
.vart { color: var(--schrift-leise); font-size: .8rem; }
.vtext { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .vverlauf li { grid-template-columns: 1fr; gap: .2rem; }
}
.vfeldreihe {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: .8rem;
  align-items: flex-end;
}
.vfeldreihe label { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; }
.vfeldreihe label.weit { flex: 1 1 14rem; min-width: 0; }
.vfeldreihe input, .vfeldreihe select { min-width: 0; }
.vsuchform, .vneuform, .vnotizform { padding: 1.1rem; }
.vsuchform { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.vsuchform label { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; }
.vsuchform label.weit { flex: 1 1 18rem; }
.vnotizform { display: flex; gap: .6rem; border-top: 1px solid var(--linie-leise); }
.vnotizform input { flex: 1 1 auto; min-width: 0; }
.vschrittform { border-top: 1px solid var(--linie-leise); }
.vschrittform > summary {
  padding: .8rem 1.1rem; cursor: pointer; font-weight: 600; font-size: .88rem;
  display: flex; align-items: center; gap: .5rem;
}
.vschrittform > summary::-webkit-details-marker { display: none; }
.vschrittform > form { padding: 0 1.1rem 1.1rem; }
.vbearbeiten > summary { cursor: pointer; list-style: none; }
.vbearbeiten > summary::-webkit-details-marker { display: none; }
.vbearbeiten > form { padding: 1.1rem; }
.vbearbeiten label.weit { display: flex; flex-direction: column; gap: .25rem;
  font-size: .82rem; margin-bottom: .8rem; }
.vbearbeiten textarea { width: 100%; resize: vertical; }
.vkontaktfelder { margin-bottom: 1rem; }
.vgefahr {
  padding: 1.1rem; border-top: 1px solid var(--linie-leise);
  display: flex; align-items: center; gap: .8rem;
}
.vgefahr form { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
:root {
  --bereich-1: var(--gelb);
  --bereich-2: #4aa3ff;
  --bereich-3: #b98cff;
  --bereich-4: #38d2c0;
}
.bereichsblock { margin: .6rem 0 .2rem; }
.bereichsbuehne {
  position: relative;
  line-height: 0;
  background: var(--grund-tief);
  touch-action: pan-y;
  border-radius: var(--rund);
  overflow: hidden;
  margin: .6rem 0 0;
}
.bereichsgrund { width: 100%; height: auto; display: block; }
.bereichsbuehne.ohnebild { aspect-ratio: 16 / 9; }
.bereichsbuehne.ohnebild .bereichsgrund { display: none; }
.bereichsbuehne.ohnebild::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--linie) 0 1px, transparent 1px 10%),
    repeating-linear-gradient(90deg, var(--linie) 0 1px, transparent 1px 10%);
  opacity: .5;
}
.bereichsnetz {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.bereichsgriffe { position: absolute; inset: 0; pointer-events: none; }
.bereichsumriss {
  fill: var(--bereich-1); fill-opacity: .1;
  stroke: var(--bereich-1); stroke-width: 1.5; stroke-dasharray: 6 4;
}
.bereichsumriss.gewaehlt {
  fill-opacity: .2; stroke-width: 2.5; stroke-dasharray: none;
}
.bereichsumriss[data-nummer="2"] { fill: var(--bereich-2); stroke: var(--bereich-2); }
.bereichsumriss[data-nummer="3"] { fill: var(--bereich-3); stroke: var(--bereich-3); }
.bereichsumriss[data-nummer="4"] { fill: var(--bereich-4); stroke: var(--bereich-4); }
.bereichsgriff {
  position: absolute; transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  pointer-events: auto; touch-action: none;
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; box-shadow: none; padding: 0; margin: 0;
  min-width: 0; min-height: 0; border-radius: 50%; cursor: move;
  font-size: 0; line-height: 0; color: transparent;
}
.bereichsgriff::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--bereichsfarbe, var(--gelb));
  border: 2px solid var(--grund-tief);
}
.bereichsgriff:hover { filter: none; background: none; }
.bereichsgriff:hover::after { transform: scale(1.25); }
.bereichsgriff:active:not(:disabled) { transform: translate(-50%, -50%); }
.bereichsgriff:focus-visible {
  outline: 2px solid var(--schrift); outline-offset: 2px;
}
.bereichsnummer {
  position: absolute; transform: translate(-50%, -50%);
  pointer-events: none; font-size: .8rem; font-weight: 700; line-height: 1;
  color: var(--bereich-1);
  text-shadow: 0 0 3px var(--grund-tief), 0 0 3px var(--grund-tief),
               0 0 3px var(--grund-tief);
}
.bereichsnummer[data-nummer="2"] { color: var(--bereich-2); }
.bereichsnummer[data-nummer="3"] { color: var(--bereich-3); }
.bereichsnummer[data-nummer="4"] { color: var(--bereich-4); }
.bereichswahl { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; }
.bereichsknopf {
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
  padding: .35rem .7rem; font-size: .82rem; text-align: left;
  background: var(--karte-hell); color: var(--schrift);
  border: 1px solid var(--linie); border-left: 3px solid var(--bereich-1);
  border-radius: var(--rund);
}
.bereichsknopf[data-nummer="2"] { border-left-color: var(--bereich-2); }
.bereichsknopf[data-nummer="3"] { border-left-color: var(--bereich-3); }
.bereichsknopf[data-nummer="4"] { border-left-color: var(--bereich-4); }
.bereichsknopf[aria-pressed="true"] {
  border-color: var(--schrift-leise); border-left-width: 3px;
  background: var(--karte); box-shadow: inset 0 0 0 1px var(--linie);
}
.bereichsknopf[aria-pressed="true"] { font-weight: 600; }
.bereichsknoepfe { gap: .4rem; margin: .6rem 0 0; align-items: center; }
.bereichswerte { margin: .8rem 0 0; }
.bereichsziele { gap: .4rem 1rem; }
.bereichszeilen { margin: .5rem 0 0; }
.bereichszeilen p { margin: 0 0 .15rem; font-size: .76rem; color: var(--schrift-leise); }
.bereichszeilen p.gewaehlt { color: var(--schrift); }
.bereichszeilen p.warnt { color: var(--achtung); font-weight: 600; }
@media (max-width: 640px) {
  .bereichsknoepfe, .bereichswahl { gap: .35rem; }
  .bereichsknopf { flex: 1 1 8rem; }
}
.vfahne {
  flex: none; width: 1.1rem; text-align: center;
  font-size: .8rem; line-height: 1;
}
.vfahne.schlecht { color: var(--schlecht); }
.vfahne.achtung { color: var(--achtung); }
.vfahne.gut { color: var(--gut); }
.vfahne.leise { color: var(--schrift-leise); }
.vpunkte {
  margin-left: .4rem; padding: .05rem .35rem; border-radius: 999px;
  font-size: .7rem; font-weight: 500;
  background: var(--karte-hell); color: var(--schrift-leise);
  border: 1px solid var(--linie);
}
.vpflicht {
  margin-left: .4rem; padding: .05rem .35rem; border-radius: 999px;
  font-size: .65rem; text-transform: uppercase; letter-spacing: .05em;
  background: var(--karte-hell); color: var(--schrift-leise);
  border: 1px solid var(--linie);
}
.v-aus-gewonnen { color: var(--gut); border-color: color-mix(in srgb, var(--gut) 40%, transparent); }
.v-aus-verloren { color: var(--schlecht); border-color: color-mix(in srgb, var(--schlecht) 40%, transparent); }
.v-aus-beworben, .v-aus-nachgefasst { color: var(--gelb-schrift); border-color: color-mix(in srgb, var(--gelb) 35%, transparent); }
.v-aus-verworfen { border-style: dashed; opacity: .75; }
.vfristkopf {
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1.1rem; border-bottom: 1px solid var(--linie-leise);
  border-left: 3px solid var(--linie);
}
.vfristkopf strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.vfristkopf.schlecht { border-left-color: var(--schlecht); }
.vfristkopf.schlecht strong, .vfristkopf.schlecht .klein:not(.leise) { color: var(--schlecht); }
.vfristkopf.achtung { border-left-color: var(--achtung); }
.vfristkopf.achtung strong { color: var(--achtung); }
.vfristen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: .6rem; padding: 1.1rem;
}
.vfrist {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .6rem .7rem; border: 1px solid var(--linie);
  border-radius: var(--rund); background: var(--karte);
}
.vfrist strong { font-variant-numeric: tabular-nums; font-size: .95rem; }
.vfrist.jetzt { border-color: color-mix(in srgb, var(--schlecht) 55%, var(--linie)); }
.vfrist.nah { border-color: color-mix(in srgb, var(--achtung) 55%, var(--linie)); }
.vfrage {
  padding: .8rem 0; border-top: 1px solid var(--linie-leise);
}
.vfrage:first-of-type { border-top: 0; }
.vfragekopf { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.vfragekopf strong { font-size: .9rem; }
.vfrage.automatisch {
  background: var(--karte-hell); border-radius: var(--rund);
  padding: .8rem; margin: .4rem 0;
}
.vantworten { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .45rem; }
.vantworten label {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border: 1px solid var(--linie);
  border-radius: 999px; font-size: .82rem; cursor: pointer;
}
.vantworten label:hover { border-color: var(--linie-leise); background: var(--karte-hell); }
.vantworten input { margin: 0; }
.vantworten input:checked + span { font-weight: 600; }
.vantworten label:has(input:checked) {
  border-color: var(--gelb); background: color-mix(in srgb, var(--gelb) 12%, transparent);
}
.vhaken {
  display: flex; align-items: flex-start; gap: .5rem;
  margin: .2rem 0 1rem; cursor: pointer;
}
.vhaken input { margin-top: .2rem; flex: none; }
.vgruende { display: flex; flex-direction: column; gap: .45rem; margin: .5rem 0 1rem; }
.vgrund { display: grid; grid-template-columns: 14rem 1fr 2rem; gap: .7rem; align-items: center; }
.vbalken {
  display: block; height: .55rem; background: var(--karte-hell);
  border-radius: 999px; overflow: hidden;
}
.vbalken i { display: block; height: 100%; background: var(--gelb); border-radius: 999px; }
.vurteil {
  margin: 0; padding: .8rem 1rem; font-size: .9rem;
  border-left: 3px solid var(--gelb); background: var(--karte-hell);
  border-radius: 0 var(--rund) var(--rund) 0;
}
@media (max-width: 640px) {
  .vgrund { grid-template-columns: 1fr 2rem; }
  .vgrund .vbalken { grid-column: 1 / -1; }
}
.vdaten { display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; margin: 0 0 .8rem; }
.vdaten dt { color: var(--schrift-leise); font-size: .8rem; }
.vdaten dd { margin: 0; font-size: .85rem; overflow-wrap: anywhere; }
.vnachweise { display: flex; flex-direction: column; }
.vnachweis { border-top: 1px solid var(--linie-leise); }
.vnachweis:first-child { border-top: 0; }
.vnachweis > summary {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 1.1rem; cursor: pointer; list-style: none;
}
.vnachweis > summary::-webkit-details-marker { display: none; }
.vnachweis > summary:hover { background: var(--karte-hell); }
.vnachweis[open] > summary { background: var(--karte-hell); }
.vnachweiskoerper { padding: .3rem 1.1rem 1.1rem; }
.vnachweiskoerper form { margin-top: .6rem; }
.vnachweis.schlecht > summary { border-left: 3px solid var(--schlecht); padding-left: calc(1.1rem - 3px); }
.vnachweis.achtung > summary { border-left: 3px solid var(--achtung); padding-left: calc(1.1rem - 3px); }
.vkalender { display: grid; gap: .6rem; margin-top: .8rem; }
.vkalender .knopf {
  display: flex; flex-direction: column; align-items: flex-start; gap: .15rem;
  text-align: left; padding: .7rem .9rem; height: auto; white-space: normal;
}
.vwahl { list-style: none; margin: 0; padding: 0; }
.vwahl li { border-top: 1px solid var(--linie-leise); }
.vwahl li:first-child { border-top: 0; }
.vwahl a {
  display: block; padding: .5rem .2rem; font-size: .85rem;
  color: inherit; text-decoration: none;
}
.vwahl a:hover { color: var(--gelb-schrift); }
.vwahl a.hier { font-weight: 600; color: var(--gelb-schrift); }
.vbriefform { padding: 1.1rem; }
.vbriefform label { display: flex; flex-direction: column; gap: .25rem;
  font-size: .82rem; margin-bottom: .8rem; }
.vbriefform textarea {
  width: 100%; resize: vertical; font-family: var(--zahlschrift, monospace);
  font-size: .82rem; line-height: 1.55;
}
.wissenkoerper { padding: 1.4rem 1.6rem 1.8rem; max-width: 60rem; }
.wissenkoerper h2 {
  margin: 2.2rem 0 .3rem; font-size: 1.15rem;
  padding-top: 1.4rem; border-top: 1px solid var(--linie-leise);
}
.wissenkoerper h2:first-of-type { margin-top: .2rem; padding-top: 0; border-top: 0; }
.wissenkoerper h3 { margin: 1.2rem 0 .3rem; font-size: .95rem; }
.wissenkoerper p { font-size: .88rem; line-height: 1.65; }
.wissenraster {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem; margin: 1rem 0;
}
.wissenkarte {
  padding: 1rem 1.1rem; background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
}
.wissenkarte h3 { margin-top: 0; }
.wissenkarte p { margin: .4rem 0; }
.wissenzahl {
  font-size: 1.9rem; font-weight: 600; line-height: 1.1;
  color: var(--gelb-schrift); font-variant-numeric: tabular-nums;
  letter-spacing: -.02em; margin: .2rem 0;
}
.wissenquelle { display: block; margin-top: .5rem; }
.wissenliste { font-size: .88rem; line-height: 1.7; padding-left: 1.2rem; }
.wissenliste li { margin-bottom: .35rem; }
.wissenkopf { display: flex; align-items: baseline; gap: .6rem; margin-top: 1.4rem; }
.wissennummer {
  flex: none; font-variant-numeric: tabular-nums; font-weight: 600;
  color: var(--gelb-schrift); font-size: .9rem;
}
.wissenbalken { display: block; height: 1px; background: var(--linie-leise); margin: 1.6rem 0; }
.videoflaeche-kacheln {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .5rem .2rem;
  scrollbar-width: thin;
}
.videoflaeche-kachel {
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}
.videoflaeche-kachel:hover { filter: none; border-color: var(--linie); }
.videoflaeche-kachel.gewaehlt { border-color: var(--akzent); }
.videoflaeche-leergrund {
  background: var(--flaeche-leise, #2a2d31);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}
.videoflaeche-werkzeuge input[type="range"] { max-width: 8.5rem; }
@media (max-width: 520px) {
  .videoflaeche-werkzeuge input[type="range"] { max-width: 6.5rem; }
  .videoflaeche-kachel img { width: 84px !important; }
}
.videoflaeche-malen { opacity: .55; }
:root {
  --legende-gemalt: #4682f0;
  --legende-ist: #78e6ff;
  --legende-nicht-suchen: #f0c828;
}
:root[data-thema="hell"] {
  --legende-gemalt: #1f4fbf;
  --legende-ist: #0f6f8c;
  --legende-nicht-suchen: #8a6200;
}
@media (hover: none) and (pointer: coarse) {
  .kamerasuche input, .belegstift input,
  .suchfeld input[type="search"], .belegartwahl select,
  .tafelkopf .tafelsuche { font-size: 16px; }
}
.hinweis.lage { font-size: 1.05rem; padding: .8rem 1rem; margin: 0 0 1.1rem; }
.mehr {
  position: relative;
  display: inline-block;
  margin-left: .3rem;
  color: var(--schrift-leise);
  cursor: help;
  font-size: .95rem;
  line-height: 1;
  vertical-align: .05em;
}
.mehr .mehrtext {
  display: none;
  position: absolute;
  left: 0;
  top: 1.4rem;
  z-index: 20;
  min-width: 16rem;
  max-width: 24rem;
  padding: .6rem .8rem;
  background: var(--karte);
  color: var(--schrift);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  box-shadow: var(--schatten-schwebend);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
}
.mehr:hover .mehrtext, .mehr:focus .mehrtext, .mehr:focus-within .mehrtext { display: block; }
.mehr .mehrtext.schwebt { position: fixed; z-index: 60; }
.mehr .mehrtext b { font-weight: 600; }
.tabellenrolle > .tabelle.nutzer { min-width: 46rem; }
@media (max-width: 640px) {
  .tabelle.nutzer, .tabellenrolle > .tabelle.nutzer { min-width: 0; }
  .tabelle.nutzer, .tabelle.nutzer tbody { display: block; }
  .tabelle.nutzer thead, .tabelle.nutzer colgroup { display: none; }
  .tabelle.nutzer tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem .6rem;
    align-items: start;
    padding: .85rem 0;
    border-bottom: 1px solid var(--linie-leise);
  }
  .tabelle.nutzer tr:last-child { border-bottom: 0; }
  .tabelle.nutzer td { display: block; padding: 0; border: 0; }
  .tabelle.nutzer tr:hover td { background: none; }
  .tabelle.nutzer td.rechts { text-align: left; }
  .tabelle.nutzer td:first-child, .tabelle.nutzer td.breit { grid-column: 1 / -1; }
  .tabelle.nutzer td[data-t]::before {
    content: attr(data-t);
    display: block;
    font-size: .68rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--schrift-leise);
  }
  .tabelle.nutzer.mitknopf td:first-child { grid-column: 1 / 3; }
  .tabelle.nutzer.mitknopf td:last-child { grid-column: 3; grid-row: 1; text-align: right; }
  .firmenkopf ~ .tabelle.nutzer tr,
  .firmenkopf ~ .tabellenrolle .tabelle.nutzer tr,
  .firmenkopf ~ .tabelle.nutzerliste tr { padding-inline: 1.2rem; }
}
.schwebeleiste {
  position: fixed;
  left: calc(1.15rem + env(safe-area-inset-left, 0px));
  bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  z-index: 190;
  display: flex;
  align-items: stretch;
  padding: .25rem;
  gap: .2rem;
  border-radius: 999px;
  border: 1px solid var(--linie);
  background: color-mix(in srgb, var(--karte) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18), 0 1px 3px rgba(0, 0, 0, .12);
  opacity: 0;
  transform: translateY(1.2rem);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.schwebeleiste.da { opacity: 1; transform: none; pointer-events: auto; }
.schwebeleiste button {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--schrift);
  cursor: pointer;
}
.schwebeleiste button:active { background: var(--karte-hell); }
.schwebeleiste button + button { position: relative; }
.schwebeleiste button + button::before {
  content: "";
  position: absolute;
  left: -.1rem;
  top: .6rem;
  bottom: .6rem;
  width: 1px;
  background: var(--linie);
}
.schwebeleiste svg { display: block; }
.schwebeleiste .zurueckknopf svg { margin-right: 2px; }
.schwebeleiste .neuladenknopf.dreht svg { animation: schwebedreh .9s linear infinite; }
@keyframes schwebedreh { to { transform: rotate(360deg); } }
body.vollbild-offen .schwebeleiste,
.zoom-an ~ .schwebeleiste { display: none; }
@media (prefers-reduced-motion: reduce) {
  .schwebeleiste { transition: none; }
  .schwebeleiste .neuladenknopf.dreht svg { animation: none; }
}
.lagenzahl.gut { color: var(--gut); }
.tabellenrolle > .tabelle.kundenliste { min-width: 46rem; }
.tabellenrolle > .tabelle.kameraliste[data-ort] { min-width: 67rem; }
@media (max-width: 640px) {
  .tabelle.nutzerliste, .tabelle.nutzerliste tbody { display: block; }
  .tabelle.nutzerliste thead { display: none; }
  .tabelle.nutzerliste tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .3rem .75rem;
    align-items: start;
    padding: .8rem 0;
    border-bottom: 1px solid var(--linie-leise);
  }
  .tabelle.nutzerliste tr:last-child { border-bottom: 0; }
  .tabelle.nutzerliste td { display: block; padding: 0; border: 0; width: auto; white-space: normal; }
  .tabelle.nutzerliste tr:hover td { background: none; }
  .tabelle.nutzerliste td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .tabelle.nutzerliste td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .tabelle.nutzerliste td:nth-child(2) { grid-column: 1 / -1; }
  .tabelle.nutzerliste td[data-t]::before { content: attr(data-t) " · "; }
  .tabelle.nutzerliste td[colspan] { grid-column: 1 / -1; }
}
.unterklappe { display: none; }
.unterleiste-punkte { display: contents; }
@media (max-width: 640px) {
  .unterleiste { display: block; margin: .2rem 0 1.1rem; }
  .unterleiste-bereich { display: none; }
  .unterklappe {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    min-height: 44px;
    padding: .45rem .85rem;
    border: 1px solid var(--linie);
    border-radius: var(--rund);
    background: var(--karte);
    color: var(--schrift);
    font: inherit;
    font-size: .9rem;
    text-align: left;
    cursor: pointer;
  }
  .unterklappe-bereich { color: var(--gelb-schrift); font-weight: 600; }
  .unterklappe-hier { color: var(--schrift-leise); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .unterklappe-hier::before { content: "· "; }
  .unterklappe-pfeil { margin-left: auto; color: var(--schrift-leise); transition: transform .15s ease; }
  .unterleiste.offen .unterklappe { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .unterleiste.offen .unterklappe-pfeil { transform: rotate(180deg); }
  .unterleiste-punkte { display: none; }
  .unterleiste.offen .unterleiste-punkte {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--linie);
    border-top: 0;
    border-radius: 0 0 var(--rund) var(--rund);
    background: var(--karte);
    padding: .25rem 0;
  }
  .unterleiste-punkte a { padding: 0 .85rem; }
  .unterleiste-punkte a.hier { text-decoration: none; background: var(--gelb-hell, var(--karte-hell)); }
}
.personname { color: var(--gelb-schrift); font-size: 1.02em; }
.gesamtknopf.optimiert { border-left: 5px solid var(--gelb); }
.filmwahl .abschnitt.optimiert .abschnittskopf { color: var(--schrift); font-weight: 600; }
.optimiert-zeile { flex-wrap: wrap; }
.optimiert-zeile .fortschritt {
  flex: 1 1 100%;
  height: .45rem;
  margin-top: .5rem;
  border-radius: 999px;
  background: var(--karte-hell);
  overflow: hidden;
}
.optimiert-zeile .fortschritt > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gelb);
  transition: width .2s ease;
}
.vollleiste {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 2.4rem);
  z-index: 4;
  display: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 1rem 0 .4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.vollleiste::-webkit-scrollbar { display: none; }
.vollleiste .spur {
  display: flex;
  gap: .5rem;
  width: max-content;
  padding-inline: calc(50vw - 2rem);
}
.vollleiste button {
  flex: 0 0 auto;
  width: 4rem;
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  gap: .2rem;
  justify-items: center;
  opacity: .62;
  scroll-snap-align: center;
  transition: opacity .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.vollleiste button img,
.vollbild-ersatz .vollleiste button img,
.bildflaeche:fullscreen .vollleiste button img {
  display: block;
  width: 4rem;
  height: auto;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: .35rem;
  border: 1.5px solid rgba(255, 255, 255, .25);
  filter: none;
  transform: none;
}
.vollleiste button span {
  font-size: .62rem;
  line-height: 1;
  color: #e8e8e4;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}
.vollleiste button.an { opacity: 1; transform: translateY(-.15rem) scale(1.1); }
.vollleiste button.an img,
.vollbild-ersatz .vollleiste button.an img,
.bildflaeche:fullscreen .vollleiste button.an img { border-color: var(--gelb); }
.vollleiste button.an span { color: var(--gelb); }
@media (orientation: portrait) {
  .vollbild-ersatz .vollleiste,
  .bildflaeche:fullscreen .vollleiste { display: block; }
  .vollbild-ersatz.gezoomt .vollleiste,
  .bildflaeche:fullscreen.gezoomt .vollleiste { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vollleiste button { transition: none; }
}
.bewerten-fund {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 640px) {
  .bewerten-hinweis { display: none; }
  .bewerten-fund { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .bewerten-stand { grid-column: 1 / -1; text-align: center; }
}
.ueknoepfe { display: flex; flex-direction: column; gap: .7rem; }
.ue-gruppe { display: grid; gap: .55rem; }
.ue-gruppe.haupt { grid-template-columns: minmax(0, 1fr); }
.ue-gruppe.haupt .knopf { justify-content: center; padding: .9rem .6rem; font-size: 1rem; }
.ue-gruppe.neben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ue-gruppe.neben .knopf { justify-content: center; padding: .55rem .4rem; }
.ue-trenner { border-top: 1px solid var(--linie); margin: .15rem 0; }
.ueknoepfe .bewerten-stand { text-align: center; }
.uefortschritt { margin: -.2rem 0 .7rem; }
.uefortschritt .balken { height: 8px; border-radius: 4px; background: var(--linie); overflow: hidden; }
.uefortschritt .balken span { display: block; height: 100%; background: var(--gelb); border-radius: 4px; transition: width .4s; }
.uefortschritt p { margin: .35rem 0 0; }
@media (max-width: 640px) {
  .ue-gruppe.haupt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ue-gruppe.haupt .knopf { padding: 1rem .3rem; font-size: .95rem; white-space: normal; line-height: 1.15; }
  .ue-gruppe.neben { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ue-gruppe.neben .knopf { padding: .6rem .2rem; font-size: .85rem; white-space: normal; }
  .ueknoepfe .taste { display: none; }
}
.rahmenfeld { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; }
.rahmenfeld img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.rahmenfeld.voll img { width: 100%; }
.rahmenfeld canvas { position: absolute; left: 0; top: 0; cursor: crosshair; }
.rahmenliste { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 0; }
.rahmenliste button { font-size: .8rem; padding: .2rem .5rem; }
.gruppe > .weblink { padding: .9rem 1.1rem; margin: 0; }
.gruppe > .weblink + .weblink { margin-top: -.6rem; }
.weblinkkopf { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.weblinkkopf h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.weblinkkopf .dehnen { flex: 1 1 auto; }
.weblinkkopf .knopf, .weblinkkopf button { padding: .3rem .75rem; font-size: .82rem; }
.weblink .linkfeld { margin-top: .55rem; }
.weblinkreihe { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: .6rem; align-items: baseline; }
.weblinkreihe > div { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.weblinkreihe > div > .klein { margin-right: .2rem; }
@media (max-width: 640px) {
  .weblinkkopf .dehnen { flex-basis: 100%; height: 0; }
}
.weblinkblock > .weblink { margin: 0 0 .8rem; }
.weblinkblock > .weblink:last-child { margin-bottom: 0; }
.weblinkblock > summary { flex-wrap: wrap; }
.weblinkblock .zugeklappt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 12rem; }
.weblinkblock[open] .zugeklappt { display: none; }
.baustelle.weblinkbox { margin-bottom: .8rem; }
.weblinkbox .gruppe { margin-bottom: 0; padding: .55rem .8rem; gap: 0; }
.flaechenliste { list-style: none; margin: .4rem 0 0; padding: 0; }
.flaechenliste > li { padding: .6rem 0; border-top: 1px solid var(--linie); }
.flaechenkopf { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .8rem; }
.flaechenkopf .dehnen { flex: 1 1 auto; }
.flaechengrund { margin-top: .2rem; overflow-wrap: anywhere; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 640px) {
  .tabellenrolle:has(> .tabelle.stapeln) { overflow: visible; }
  .tabelle.stapeln, .tabelle.stapeln > tbody { display: block; width: 100%; min-width: 0; }
  .tabelle.stapeln > thead { display: none; }
  .tabelle.stapeln > tbody > tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem .6rem;
    align-items: start;
    padding: .75rem 0;
    border-bottom: 1px solid var(--linie-leise);
  }
  .tabelle.stapeln > tbody > tr:last-child { border-bottom: 0; }
  .tabelle.stapeln > tbody > tr > td { display: block; padding: 0; border: 0; max-width: none !important; }
  .tabelle.stapeln > tbody > tr:hover > td { background: none; }
  .tabelle.stapeln > tbody > tr > td.rechts { text-align: left; }
  .tabelle.stapeln > tbody > tr > td:first-child,
  .tabelle.stapeln > tbody > tr > td.breit { grid-column: 1 / -1; }
  .tabelle.stapeln > tbody > tr > td[data-t]::before {
    content: attr(data-t);
    display: block;
    font-size: .68rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--schrift-leise);
  }
  .tabelle.stapeln code { overflow-wrap: anywhere; }
  .tabelle.stapeln > tbody > tr.unterzeile { padding-top: 0; }
}
.boxwahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .35rem .9rem; margin-top: .35rem; }
.boxwahl .ankreuz { margin: 0; }
.zr-eigene-rahmen { max-width: var(--breite); margin: -3.6rem auto 0; padding: 0 1.75rem 5rem; }
.zr-eigene .eigene-inhalt { padding: .2rem 1.15rem 1.15rem; }
.eigene-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .4rem 1.2rem; align-items: end; }
.eigene-felder .feld { margin-bottom: .4rem; }
.eigene-felder .eigene-titel { grid-column: 1 / -1; max-width: 28rem; }
.eigene-wahl { display: flex; gap: 1.2rem; flex-wrap: wrap; padding: .45rem 0; }
.eigene-wahl label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.eigene-fuss { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.eigene-fuss .klein { max-width: 36rem; }
.eigene-meldung { margin: .7rem 0 0; padding: .55rem .8rem; border-radius: var(--rund); background: var(--karte-hell); }
.eigene-meldung.gut { color: var(--gut); }
.eigene-meldung.fehler { color: var(--achtung); }
.eigene-filme { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--linie-leise); }
.eigene-film { border-bottom: 1px solid var(--linie-leise); padding: .7rem 0; }
.eigene-kopf { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.eigene-text { display: flex; flex-direction: column; gap: .1rem; flex: 1 1 16rem; min-width: 0; }
.eigene-knoepfe { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.eigene-video { margin: .8rem 0 .2rem; }
.eigene-video video { width: 100%; max-height: 70vh; background: #000; border-radius: var(--rund); }
@media (max-width: 600px) { .zr-eigene-rahmen { padding: 0 1rem 4rem; } }
.eigene-lauf { display: flex; flex-direction: column; gap: .3rem; margin-top: .3rem; max-width: 34rem; }
.eigene-balken { height: .55rem; border-radius: 999px; background: var(--linie-leise); overflow: hidden; }
.eigene-balken > div { height: 100%; background: var(--gelb); border-radius: 999px; transition: width .6s ease; }
.eigene-bild { flex: none; width: 7.5rem; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; background: #000; cursor: pointer; }
.eigene-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .eigene-bild { width: 5.5rem; } }
.zr-buehne > .zr-eigene-platz { grid-column: 2; grid-row: 2; }
.zr-buehne > .zr-eigene-platz:empty { display: none; }
.zr-buehne > .zr-wochen { grid-row: 3; }
.zr-buehne > .zr-monate { grid-row: 1 / span 3; }
.zr-buehne.allein > .zr-eigene-platz { grid-column: 1; }
.zr-eigene-platz > .zr-eigene { margin: 0; }
.zr-eigene-rahmen:empty { display: none; }
@media (max-width: 900px) {
  .zr-buehne > .zr-eigene-platz { grid-column: 1; grid-row: auto; }
}
.eigene-zeile2 { grid-template-columns: minmax(14rem, auto) minmax(12rem, 28rem); align-items: end; }
.eigene-zeile2 .eigene-titel { grid-column: auto; }
.eigene-wahl { padding: .35rem 0 .45rem; }
@media (max-width: 900px) {
  .zr-buehne > .zr-wochen, .zr-buehne > .zr-monate { grid-row: auto; }
}
.baustelle > .gruppe { border: 0; padding: 0; margin-bottom: 0; background: none; }
@media (max-width: 640px) {
  .baustelle { gap: 9px; margin-bottom: 1.5rem; }
  .baustelle > .gruppe { gap: .9rem; }
  .ortsblock > summary { gap: .4rem; }
  .namensschild { flex: 1 1 auto; padding: .42rem .75rem .42rem .55rem; gap: .5rem; border-radius: 9px;
                  box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
  .namensschild .balken { height: 20px; flex-basis: 3px; }
  .namensschild h2 { font-size: 15px; }
  .namensschild .anzahl, .namensschild .kundenname { font-size: .78rem; }
  .namensschild .ordnen a { padding: .15rem; }
  .seitenkopf .werkzeuge .knopf, .seitenkopf .werkzeuge button { padding: .42rem .8rem; font-size: .86rem; }
  .ansichtswahl a, .ansichtswahl button { padding: .34rem .6rem; font-size: .8rem; }
}
@media (max-width: 640px) {
  .adminleiste .knopf, .adminleiste button.knopf { padding: .42rem .8rem; font-size: .86rem; }
  .adminleiste .kamerasuche { padding: 0 .55rem; }
  .adminleiste .kamerasuche input { font-size: .92rem; padding: .45rem 0; }
}
.kamerareiter { margin: -.4rem 0 1.25rem; }
.kamerareiter a { display: inline-flex; align-items: center; gap: .35rem; }
@media (max-width: 640px) {
  .kamerareiter { display: flex; width: 100%; }
  .kamerareiter a { flex: 1 1 0; justify-content: center; padding: .4rem .3rem; font-size: .8rem; white-space: nowrap; }
  .kamerareiter .lang { display: none; }
}
dl.angaben.gestapelt { display: block; }
dl.angaben.gestapelt dt {
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--schrift-leise); margin: 0; padding-top: .55rem;
}
dl.angaben.gestapelt dd {
  font-size: .95rem; margin: .1rem 0 0; padding-bottom: .55rem;
  border-bottom: 1px solid var(--linie-leise);
  overflow-wrap: anywhere;
}
dl.angaben.gestapelt dd:last-of-type { border-bottom: 0; padding-bottom: 0; }
dl.angaben.gestapelt dt:first-of-type { padding-top: 0; }
.karte h3.unterpunkt + dl.angaben.gestapelt dt:first-of-type { padding-top: .2rem; }
dl.angaben.gestapelt + dl.angaben.gestapelt { border-top: 1px solid var(--linie-leise); margin-top: .55rem; }
dl.angaben.gestapelt + dl.angaben.gestapelt dt:first-of-type { padding-top: .55rem; }
dl.angaben.gestapelt > .paar { display: block; }
dl.angaben.gestapelt > .paar > dt { padding-top: .55rem; }
dl.angaben.gestapelt > .paar > dd { border-bottom: 1px solid var(--linie-leise); }
dl.angaben.gestapelt > .paar:first-child > dt { padding-top: 0; }
dl.angaben.gestapelt > .paar:last-child > dd { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 1100px) {
  .auskunftsspalten dl.angaben.gestapelt:has(> .paar) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.75rem;
    grid-auto-flow: row dense;
  }
  .auskunftsspalten dl.angaben.gestapelt > .paar.breit { grid-column: 1 / -1; }
  .auskunftsspalten dl.angaben.gestapelt > .paar:nth-child(2):not(.breit) > dt { padding-top: 0; }
  .auskunftsspalten dl.angaben.gestapelt > .paar:nth-last-child(2):not(.breit) > dd { border-bottom: 0; }
}
.karten.auskunftsspalten { display: flex; flex-direction: column; gap: 0; }
.auskunftsspalte { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; min-width: 0; }
.auskunftsspalte > .karte { margin: 0; }
@media (min-width: 1100px) {
  .karten.auskunftsspalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
                             column-gap: 1.75rem; align-items: start; }
  .auskunftsspalte.links { grid-column: 1; grid-row: 1; }
  .auskunftsspalte.rechts { grid-column: 2; grid-row: 1; }
}
.bereichsneu {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .8rem; font-size: .82rem;
  background: none; color: var(--schrift-leise);
  border: 1px dashed var(--linie); border-radius: var(--rund);
}
.bereichsneu:hover { color: var(--gelb-schrift); border-color: var(--gelb); }
.bereichsknopf[hidden], .bereichsneu[hidden] { display: none; }
.symbole a { padding: .2rem; border-radius: 6px; }
.symbole a:hover { background: var(--karte-hell); }
.kameraliste[data-ort] th.symbolspalte,
.kameraliste[data-ort] td.symbolspalte { width: 6rem; }
.kameraliste .symbole { gap: .45rem; }
.weblinkstatistik td { vertical-align: middle; }
.weblinkstatistik .linkname { color: var(--schrift); font-weight: 600; }
.weblinkstatistik .linkname:hover { color: var(--gelb-schrift); }
.weblinkstatistik .mehr { font-size: 1rem; }
.zrform .feld { margin: 0; }
.zrform .feld > span { font-size: .8rem; }
.zrraster { display: grid; gap: .8rem 1rem;
  grid-template-columns: minmax(10rem, 1.3fr) minmax(12rem, 1.6fr) repeat(2, minmax(8.5rem, 1fr)) minmax(5.5rem, .6fr) minmax(9rem, 1fr); }
.zrraster-mehr { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin-top: .8rem; align-items: end; }
.zrmehr { margin: 1.1rem 0 0; }
.zrmehr > summary { cursor: pointer; font-size: .86rem; color: var(--schrift-leise); list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.zrmehr > summary::-webkit-details-marker { display: none; }
.zrmehr > summary::before { content: "›"; display: inline-block; transition: transform .15s; }
.zrmehr[open] > summary::before { transform: rotate(90deg); }
.zrmehr > summary:hover { color: var(--schrift); }
.zrhaken { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; padding-bottom: .55rem; }
.zrfuss { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.3rem; }
@media (max-width: 1100px) { .zrraster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .zrraster .zr-name { grid-column: 1 / -1; } }
@media (max-width: 560px) { .zrraster, .zrraster-mehr { grid-template-columns: minmax(0, 1fr); } }
.zrform .feld > input, .zrform .feld > select { height: 2.45rem; box-sizing: border-box; }
.ruhende { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--linie-leise); }
.ruhende-kopf { font-size: .95rem; margin: 0 0 .9rem; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.ruhende-gruppe { display: grid; grid-template-columns: minmax(10rem, 17rem) 1fr; gap: .4rem 1.2rem; padding: .55rem 0; border-top: 1px solid var(--linie-leise); align-items: start; }
.ruhende-gruppe:first-of-type { border-top: 0; }
.ruhende-firma { font-size: .8rem; color: var(--schrift-leise); padding-top: .35rem; }
.ruhende-namen { display: flex; flex-wrap: wrap; gap: .4rem; }
.ruhender { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .65rem; font-size: .86rem;
  border: 1px solid var(--linie); border-radius: 999px; color: var(--schrift); background: var(--karte-hell); }
.ruhender:hover { border-color: var(--gelb); color: var(--gelb-schrift); }
.ruhender.still { opacity: .55; }
.ruhend-marke { font-size: .72rem; color: var(--schrift-leise); }
.ruhend-marke.warnt { color: var(--achtung); }
@media (max-width: 640px) { .ruhende-gruppe { grid-template-columns: minmax(0, 1fr); } .ruhende-firma { padding-top: 0; } }
.statistikreiter { margin-top: -.2rem; }
@media (max-width: 640px) { .statistikreiter a { font-size: .76rem; padding: .4rem .2rem; } }
.heutetabelle .heute-kurz { display: none; }
.heutetabelle a.personname { color: var(--gelb-schrift); font-weight: 600; }
@media (max-width: 640px) {
  .heutetabelle .nur-breit { display: none !important; }
  .heutetabelle .heute-kurz { display: block; margin-top: .15rem; }
  .heutetabelle thead { display: none; }
  .heutetabelle tbody tr { display: block; padding: .65rem 0; border-bottom: 1px solid var(--linie-leise); }
  .heutetabelle tbody td { display: none; border: 0; padding: 0; }
  .heutetabelle tbody td:first-child { display: block; }
  .heutetabelle td > br { display: none; }
  .heutetabelle .mehr { margin-left: .3rem; }
  .heutezahlen { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
  .heutezahlen small { display: none; }
  .heutezahlen strong { font-size: 1.3rem; }
  .heutezahlen strong.klein { font-size: .9rem; }
}
@media (max-width: 640px) {
  .tabelle.nutzer.heutetabelle tbody tr { display: block !important; grid-template-columns: none !important; }
  .tabelle.nutzer.heutetabelle tbody td:not(:first-child) { display: none !important; }
  .tabelle.nutzer.heutetabelle tbody td:first-child { display: block !important; width: auto !important; }
}
@media (max-width: 640px) {
  .mehr .mehrtext { min-width: 0; max-width: calc(100vw - 16px); width: max-content; }
}
.heutetabelle .heute-mb { display: none; }
@media (max-width: 640px) {
  .tabelle.nutzer.heutetabelle tbody td:first-child { position: relative; }
  .heutetabelle a.personname { display: inline-block; max-width: calc(100% - 7.5rem); }
  .heutetabelle .heute-mb { display: block; position: absolute; right: 0; top: .1rem;
    font-size: .9rem; color: var(--schrift); white-space: nowrap; }
}
.bildloeschen { margin-left: .6rem; color: var(--schlecht); border-color: var(--schlecht); }
@media (max-width: 640px) {
  .buehne:has(.bildraster) > .tafel.spalte { align-self: stretch; max-height: none; overflow: hidden; }
  .buehne:has(.bildraster) > .tafel.spalte > .bildraster {
    flex: 1 1 0; min-height: 0; max-height: none; overflow-y: auto;
  }
  .buehne:has(.bildraster) .standzeile.mit-blaettern {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .35rem .5rem;
  }
  .buehne:has(.bildraster) .standzeile.mit-blaettern > .dehnen { display: none; }
  .buehne:has(.bildraster) .standzeile.mit-blaettern > .zahlen {
    grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .buehne:has(.bildraster) .standzeile.mit-blaettern > .bildloeschen {
    grid-column: 3; grid-row: 1; margin: 0; padding: .25rem .45rem; line-height: 1;
  }
  .buehne:has(.bildraster) .standzeile.mit-blaettern > .bildloeschen .wort { display: none; }
  .buehne:has(.bildraster) .standzeile.mit-blaettern > .blaettern {
    grid-column: 1 / -1; grid-row: 2; order: 0;
  }
  .buehne:has(.bildraster) .bildflaeche:not(:fullscreen):not(.vollbild-ersatz) { background: transparent; }
  .buehne:has(.bildraster) .standzeile.mit-blaettern > .bildloeschen {
    min-height: 0; height: 1.9rem; width: 1.9rem; padding: 0; justify-content: center;
  }
  .buehne:has(.bildraster) .tafelkopf { flex-wrap: wrap; }
  .buehne:has(.bildraster) .tafelkopf h1 { white-space: nowrap; }
  .buehne:has(.bildraster) .tafelkopf .umschalter { flex: 0 0 auto; }
  .buehne:has(.bildraster) .tafelkopf .umschalter button {
    padding: .3rem .55rem; font-size: .74rem; min-height: 0;
  }
  .buehne .unterbau-wetter { padding: .2rem 0 .6rem; }
  .buehne .unterbau-wetter .wetterband {
    margin: 0 .9rem; border-top: 0; padding-inline: 0;
  }
  .buehne .unterbau-wetter .wetterwerte {
    justify-content: space-between; overflow: visible; gap: .6rem;
  }
  .buehne .unterbau-wetter .wetterband:not(.zweispaltig) { display: block; }
  .buehne .unterbau-wetter .wetterzahlen { width: 100%; }
  .buehne .unterbau-wetter .wetterwerte .nebenwert strong { font-size: 1.2rem; }
  .buehne .unterbau-wetter .wetterwerte .nebenwert .was { font-size: .72rem; }
  .buehne .unterbau-wetter .taetigkeitsband { margin-inline: .9rem; }
  .buehne:has(.bildraster) .tafel:not(.spalte) > .standzeile:not(.mit-blaettern) { display: none; }
  .buehne .unterbau-wetter .vglwahl {
    display: grid; gap: .6rem; padding: .7rem .9rem .3rem; border-top: 0;
  }
  .buehne .unterbau-wetter .vglseite {
    display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 1fr); gap: .5rem;
  }
  .buehne .unterbau-wetter .vglseite input,
  .buehne .unterbau-wetter .vglseite select { width: 100%; min-width: 0; }
  .buehne .unterbau-wetter .vglseite > .klein { grid-column: 3; }
  .buehne .unterbau-wetter .vglwahl .rechts { margin: 0; }
  .buehne .unterbau-wetter .vglwahl .rechts button { width: 100%; justify-content: center; }
  .buehne:has(.bildraster) .zeitmarke { font-size: .6rem; padding: .1rem .4rem; }
  .buehne:has(.bildraster) .zeitmarke.links { top: 6px; left: 6px; }
  .buehne:has(.bildraster) .zeitmarke.rechts { top: auto; bottom: 6px; right: 6px; }
}
.zeichenraum {
  position: fixed; inset: 0; z-index: 400;
  display: flex; flex-direction: column;
  background: #0d0e10; color: #f2f2ee;
  touch-action: none; overscroll-behavior: none;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
           env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}
.zeichenraum[hidden] { display: none; }
.zf-oben, .zf-unten {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  padding: .6rem .8rem;
}
.zf-hinweis { flex: 1 1 8rem; text-align: center; color: rgba(242, 242, 238, .62); }
.zf-bild { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; touch-action: none; }
.zf-halter { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.zf-halter #buehne { max-width: none !important; }
.zf-halter #grund { border-radius: 0 !important; }
.zf-groesse { display: flex; align-items: center; gap: .6rem; flex: 1 1 9rem; min-width: 0; }
.zf-groesse input { flex: 1 1 auto; min-width: 0; }
.zf-punkt { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; }
.zf-punkt > span { display: block; border-radius: 50%; background: rgb(230, 60, 60);
                   box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); }
.zf-lupe {
  position: absolute; width: 132px; height: 132px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 22px rgba(0, 0, 0, .65);
  pointer-events: none; z-index: 2;
}
.zf-lupe[hidden] { display: none; }
@media (max-width: 640px) {
  .zf-oben .zf-hinweis { order: 3; flex-basis: 100%; }
}
.tagwahl { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin: .5rem 0 .6rem; }
.tagwahl button { min-width: 2.6rem; justify-content: center; font-size: 1.05rem; padding: .3rem .6rem; }
.tagwahl input[type="date"] { width: auto; }
@media (max-width: 640px) {
  .buehne:has(.bildraster) { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .buehne:has(.bildraster) > .tafel:not(.spalte) { order: -1; }
  .buehne:has(.bildraster) > .tafel.spalte { align-self: auto; overflow: hidden; }
  .buehne:has(.bildraster) .spaltenkopf {
    flex-direction: row; align-items: center; gap: .6rem; padding: .55rem .8rem;
  }
  .buehne:has(.bildraster) .spaltenkopf h2,
  .buehne:has(.bildraster) .spaltenkopf > .sinnbild { display: revert; }
  .buehne:has(.bildraster) .datumsknopf { width: auto; padding: .35rem .7rem; font-size: .82rem; }
  .buehne:has(.bildraster) .datumsknopf .sinnbild { display: revert; }
  .buehne:has(.bildraster) > .tafel.spalte > .bildraster {
    position: relative;
    display: flex; flex-direction: row; gap: .45rem;
    flex: none; max-height: none; min-height: 0;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    padding: .55rem .8rem .7rem;
    scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .buehne:has(.bildraster) > .tafel.spalte > .bildraster::-webkit-scrollbar { display: none; }
  .buehne:has(.bildraster) .bildraster button {
    flex: 0 0 6.6rem; height: auto; scroll-snap-align: center;
  }
  .buehne:has(.bildraster) .bildraster img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .buehne:has(.bildraster) .bildraster .stempel { font-size: .66rem; }
}
.buehne .standzeile { background: transparent; }
.buehne .datumsknopf { background: var(--kartengrund); }
.buehne .bildflaeche:not(:fullscreen):not(.vollbild-ersatz) { background: transparent; }
@media (max-width: 640px) {
  .buehne:has(.bildraster) .bildflaeche:not(:fullscreen):not(.vollbild-ersatz) {
    border-radius: var(--rund-gross) var(--rund-gross) 0 0;
    overflow: hidden;
  }
}
@media (max-width: 640px) {
  .buehne:has(.bildraster) .bildflaeche:not(:fullscreen):not(.vollbild-ersatz) .vergleich {
    width: 100%; height: auto; max-height: none;
  }
  .buehne:has(.bildraster) .bildflaeche:not(:fullscreen):not(.vollbild-ersatz) .zeitmarke.rechts {
    top: 6px; bottom: auto; right: 6px;
  }
  .buehne .unterbau-wetter .vglseite {
    grid-template-columns: 3.6rem minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
  }
  .buehne .unterbau-wetter .vglseite input[type="date"] {
    -webkit-appearance: none; appearance: none; display: block;
    min-width: 0; width: 100%; height: 2.6rem; box-sizing: border-box;
    text-align: left; padding: 0 .6rem; line-height: 2.6rem;
  }
  .buehne .unterbau-wetter .vglseite select {
    min-width: 0; width: 100%; height: 2.6rem; box-sizing: border-box;
  }
}
.vollbild-werkzeuge {
  position: absolute; z-index: 70;
  top: calc(.7rem + env(safe-area-inset-top, 0px)); left: calc(.7rem + env(safe-area-inset-left, 0px));
  display: flex; gap: .45rem;
}
.vollbild-werkzeuge button {
  min-height: 40px; padding: .45rem .85rem; border: 0; border-radius: 999px;
  background: rgba(0, 0, 0, .58); color: #f2f2ee;
  font: 500 .85rem var(--textschrift);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.vollbild-werkzeuge button:active { background: rgba(0, 0, 0, .78); }
.vollbild-ersatz:not(.quer) .vollbild-werkzeuge .zu { display: none; }
body.vollbild-quer .vollbild-schliessen { display: none; }
.gezoomt .vollbild-werkzeuge { opacity: .35; }
.bildflaeche.vollbild-ersatz.quer,
.bildflaeche:fullscreen.quer {
  position: fixed !important;
  inset: auto !important;
  top: 50% !important; left: 50% !important;
  width: 100vh !important; width: 100dvh !important;
  max-width: none !important;
  height: 100vw !important; max-height: none !important;
  transform: translate(-50%, -50%) rotate(90deg); transform-origin: 50% 50%;
}
.vollbild-werkzeuge button, .vollleiste button {
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.bildflaeche.quer .vergleich { height: min(100vw, calc(100dvh * 9 / 16)); }
@media (max-width: 640px) {
  .buehne:has(.bildraster) .spaltenkopf { padding: .5rem .9rem .35rem; border-bottom: 0; }
  .buehne:has(.bildraster) .spaltenkopf h2 { font-size: .88rem; }
  .buehne:has(.bildraster) .datumsknopf { padding: .3rem .6rem; font-size: .8rem; border-color: var(--linie); }
  .buehne:has(.bildraster) > .tafel.spalte > .bildraster {
    gap: .5rem; padding: .25rem .9rem .8rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 .9rem, #000 calc(100% - .9rem), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 .9rem, #000 calc(100% - .9rem), transparent 100%);
  }
  .buehne:has(.bildraster) .bildraster button {
    flex-basis: 6.2rem; gap: .25rem;
    border: 0; border-radius: 0; background: transparent; overflow: visible;
  }
  .buehne:has(.bildraster) .bildraster button:hover { border-color: transparent; }
  .buehne:has(.bildraster) .bildraster img {
    border-radius: 9px;
    box-shadow: 0 0 0 1px var(--linie-leise);
    transition: box-shadow .18s ease, transform .18s ease;
  }
  .buehne:has(.bildraster) .bildraster button.an img {
    box-shadow: 0 0 0 2px var(--gelb);
    transform: scale(1.03);
  }
  .buehne:has(.bildraster) .bildraster .stempel {
    padding: 0; font-size: .64rem; letter-spacing: .01em; color: var(--schrift-leise);
  }
  .buehne:has(.bildraster) .bildraster button.an .stempel { color: var(--schrift); font-weight: 600; }
}
@media (max-width: 640px) {
  .buehne.ohne-spalte .bildflaeche:not(:fullscreen):not(.vollbild-ersatz) {
    border-radius: var(--rund-gross) var(--rund-gross) 0 0; overflow: hidden;
  }
  .buehne.ohne-spalte .standzeile.mit-blaettern {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .35rem .5rem;
  }
  .buehne.ohne-spalte .standzeile.mit-blaettern > .dehnen { display: none; }
  .buehne.ohne-spalte .standzeile.mit-blaettern > .zahlen {
    grid-column: 2; grid-row: 1; justify-self: end; text-align: right;
  }
  .buehne.ohne-spalte .standzeile.mit-blaettern > .blaettern {
    grid-column: 1 / -1; grid-row: 2; order: 0;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem;
  }
  .buehne.ohne-spalte .standzeile .blaettern .wort { display: none; }
  .buehne.ohne-spalte .standzeile .blaettern button { padding: .3rem .7rem; min-width: 2.6rem; justify-content: center; }
}
.bildflaeche.quer {
  box-sizing: border-box;
  padding-bottom: 4.6rem;
}
.bildflaeche.quer .vollleiste {
  display: block;
  left: 0; right: 0; top: auto; bottom: 0;
  width: auto; height: 4.6rem; min-width: 0;
  padding: .45rem 0 .3rem;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  background: rgba(0, 0, 0, .35);
  touch-action: auto;
}
.bildflaeche.quer .vollleiste .spur {
  flex-direction: row; width: max-content; height: auto;
  padding-inline: calc(50dvh - 2rem); padding-block: 0;
}
.bildflaeche.quer .vollleiste button { width: 4rem; }
.vollleiste { overscroll-behavior: contain; }
.bildflaeche.quer .vollleiste { touch-action: pan-x pan-y; }
.bildflaeche.quer .vollleiste button img { width: 4rem; }
.bildflaeche.quer.gezoomt .vollleiste { display: none; }
.vollbild-ersatz, .bildflaeche:fullscreen, .bildflaeche:-webkit-full-screen {
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
}
.zeichenraum, .zeichenraum *, #buehne, #buehne *,
.vollbild-ersatz, .vollbild-ersatz *, .bildflaeche:fullscreen, .bildflaeche:fullscreen * {
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
@media (max-width: 640px) {
  main { overflow-x: clip; }
}
.kamerakachel .bild.aus { animation: none; background: var(--karte); }
.bild-aus {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1rem;
  text-align: center;
  color: var(--schrift-leise);
  background: var(--karte-hell);
}
.bild-aus-zeichen {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 18px rgba(0, 0, 0, .25);
  color: var(--schrift-leise);
}
.bild-aus-zeichen::after {
  content: "";
  position: absolute;
  width: 62%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--schlecht);
  transform: rotate(-38deg);
  box-shadow: 0 0 0 2px var(--karte);
}
.bild-aus-text { display: flex; flex-direction: column; gap: .2rem; line-height: 1.3; }
.bild-aus-text strong { color: var(--schrift); font-weight: 600; font-size: .95rem; }
.bild-aus-text span { font-size: .8rem; }
:root[data-thema="hell"] .bild-aus-zeichen { background: rgba(0, 0, 0, .05); border-color: rgba(0, 0, 0, .08); box-shadow: none; }
.bild-aus.klein {
  position: static;
  flex: none;
  width: 66px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 4px;
  gap: 0;
}
.bild-aus.klein .bild-aus-zeichen { width: 1.6rem; height: 1.6rem; box-shadow: none; }
.bild-aus.klein .bild-aus-zeichen::after { height: 2px; box-shadow: 0 0 0 1px var(--karte); }
:root:not([data-thema="hell"]) .namensschild {
  background: var(--karte);
  border: 1px solid var(--linie);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}
:root:not([data-thema="hell"]) .namensschild h2 { color: var(--schrift); }
:root:not([data-thema="hell"]) .namensschild .anzahl,
:root:not([data-thema="hell"]) .namensschild .archivlink { color: var(--schrift-leise); }
:root:not([data-thema="hell"]) .namensschild .ordnen button,
:root:not([data-thema="hell"]) .namensschild .ordnen a { color: var(--schrift-leise); }
:root:not([data-thema="hell"]) .namensschild .ordnen button:hover,
:root:not([data-thema="hell"]) .namensschild .ordnen a:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--gelb);
}
:root:not([data-thema="hell"]) .namensschild .ordnen button.weg:hover {
  background: rgba(224, 101, 91, .18); color: var(--schlecht);
}
.ortsblock > summary > .namensschild {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  grid-template-rows: 1.6rem 1.25rem 1.6rem;
  grid-template-areas:
    "balken name   name"
    ".      kunde  kunde"
    ".      anzahl ordnen";
  column-gap: .75rem;
  row-gap: .5rem;
  align-items: center;
  flex: 0 1 46rem;
  width: 46rem;
  max-width: 100%;
  padding: .95rem 1.1rem .85rem .9rem;
}
.ortsblock > summary > .namensschild .balken { grid-area: balken; width: 4px; height: 22px; }
.ortsblock > summary > .namensschild h2 {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  font-size: 17px;
}
.ortsblock > summary > .namensschild .kundenname {
  grid-area: kunde;
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .82rem;
}
.ortsblock > summary > .namensschild .anzahl { grid-area: anzahl; font-size: .82rem; }
.ortsblock > summary > .namensschild .ordnen { grid-area: ordnen; margin-left: 0; gap: .5rem; }
.ortsblock > summary > .namensschild .ordnen a { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .ortsblock > summary > .namensschild {
    flex: 1 1 auto;
    width: auto;
    padding: .85rem 1rem .75rem .8rem;
    row-gap: .4rem;
    grid-template-rows: 1.5rem 1.2rem 1.5rem;
  }
  .ortsblock > summary > .namensschild h2 { font-size: 16px; }
  .baustelle:has(> .gruppe > .ortsblock) { margin-bottom: 1.25rem; }
}
.ortsblock > summary > .namensschild .kundenname {
  border-left: 0;
  padding-left: 0;
  margin-top: -.3rem;
  font-weight: 300;
  font-size: .86rem;
  letter-spacing: .015em;
  color: var(--schrift-leise);
}
.ortsblock > summary > .namensschild .kundenname::before {
  content: "";
  display: inline-block;
  width: .55rem;
  height: .45rem;
  margin: 0 .45rem .18rem .05rem;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-bottom-left-radius: 2px;
  opacity: .6;
  vertical-align: middle;
}
.baustelle.als-kacheln {
  display: block;
  margin-bottom: 2.4rem;
  padding: 1.1rem 1.2rem 1.3rem;
  border: 1px solid var(--linie-leise);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}
:root[data-thema="hell"] .baustelle.als-kacheln { background: rgba(0, 0, 0, .025); }
.baustelle.als-kacheln > .strich { display: none; }
.baustelle.als-kacheln > .gruppe { gap: 1.1rem; }
.baustelle.als-kacheln > .gruppe > .namensschild {
  align-self: stretch;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  grid-template-areas:
    "balken name   name"
    ".      kunde  kunde"
    ".      anzahl ordnen";
  column-gap: .75rem;
  row-gap: .45rem;
  align-items: center;
  padding: 0 .2rem 1rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--linie-leise);
  border-radius: 0;
  box-shadow: none;
}
.baustelle.als-kacheln > .gruppe > .namensschild .balken { grid-area: balken; width: 4px; height: 22px; }
.baustelle.als-kacheln > .gruppe > .namensschild h2 {
  grid-area: name; min-width: 0; overflow: hidden; white-space: nowrap;
  text-overflow: ellipsis; overflow-wrap: normal; font-size: 18px; color: var(--schrift);
}
.baustelle.als-kacheln > .gruppe > .namensschild .kundenname {
  grid-area: kunde; justify-self: start; max-width: 100%; min-width: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  border-left: 0; padding-left: 0; margin-top: -.25rem;
  font-weight: 300; font-size: .86rem; letter-spacing: .015em; color: var(--schrift-leise);
}
.baustelle.als-kacheln > .gruppe > .namensschild .kundenname::before {
  content: ""; display: inline-block; width: .55rem; height: .45rem;
  margin: 0 .45rem .18rem .05rem; border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor; border-bottom-left-radius: 2px;
  opacity: .6; vertical-align: middle;
}
.baustelle.als-kacheln > .gruppe > .namensschild .anzahl { grid-area: anzahl; font-size: .82rem; color: var(--schrift-leise); }
.baustelle.als-kacheln > .gruppe > .namensschild .ordnen { grid-area: ordnen; margin-left: 0; gap: .5rem; }
.baustelle.als-kacheln > .gruppe > .namensschild .ordnen a { width: 28px; height: 28px; color: var(--schrift-leise); }
@media (max-width: 640px) {
  .baustelle.als-kacheln { margin-bottom: 1.6rem; padding: .9rem .85rem 1rem; border-radius: 16px; }
  .baustelle.als-kacheln > .gruppe > .namensschild h2 { font-size: 16px; }
}
.kachel { width: calc(var(--bildhoehe) * 1.7778); }
.kachel .bildflaeche { width: 100%; }
.kachel .bildflaeche img { object-fit: cover; }
.kachel .bildflaeche.fremdformat img { object-fit: contain; background: #000; }
@media (max-width: 640px) {
  .kamerareihe > .kachel { flex: 1 1 100%; width: 100%; max-width: 100%; }
  .kachel .bildflaeche { height: auto; aspect-ratio: 16 / 9; width: 100%; }
}
:root[data-thema="hell"] .baustelle.als-kacheln {
  background: #fafafb;
  border-color: #d3d6da;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 22px rgba(0, 0, 0, .06);
}
:root[data-thema="hell"] .baustelle.als-kacheln > .gruppe > .namensschild {
  border-bottom-color: #e0e3e7;
}
:root[data-thema="hell"] .kamerakachel .bild {
  background: linear-gradient(100deg, #eceef1 40%, #f6f7f9 50%, #eceef1 60%);
  background-size: 300% 100%;
}
:root[data-thema="hell"] .kamerakachel .bild.aus { background: var(--karte-hell); }
.punkt.beendet { background: transparent; box-shadow: inset 0 0 0 1.5px var(--schrift-leise); }
.beendet-marke {
  display: inline-block;
  padding: .05rem .5rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--schrift-leise);
  white-space: nowrap;
  vertical-align: middle;
}
.kamerakachel .zustand.beendet { color: #d9dbd4; }
@media (min-width: 641px) {
  .kameraliste[data-ort] .bildspalte { width: 136px; }
  .kameraliste[data-ort] .bildspalte > a { min-height: 68px; }
  .kameraliste[data-ort] .bildspalte img {
    width: min(120px, calc(68px * var(--verhaeltnis, 1.7778)));
    border-radius: 6px;
  }
  .kameraliste[data-ort] .bildspalte .kein-bild { width: 120px; border-radius: 6px; }
  .kameraliste[data-ort] td { padding-top: .55rem; padding-bottom: .55rem; }
}
.kameraformular { max-width: 62rem; }
.kameraformular ~ .themakarte, .kameraformular ~ details.themakarte { max-width: 62rem; }
.steckbrief {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross, 16px);
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.steckbriefbild { position: relative; background: #000; max-height: 72vh; width: 100%; }
.steckbriefbild img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bildmarke {
  position: absolute;
  bottom: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
}
.bildmarke.links { left: .7rem; padding: .25rem .65rem; border-radius: 999px;
                   background: rgba(0, 0, 0, .58); color: #f2f2ee; }
.bildmarke.links:empty { display: none; }
.bildmarke.rechts { right: .7rem; }
.bildmarke.rechts > a, .bildmarke.rechts > button {
  padding: .3rem .75rem; border-radius: 999px; border: 0;
  background: rgba(0, 0, 0, .58); color: #f2f2ee; font: inherit; font-size: .8rem;
  cursor: pointer; text-decoration: none; line-height: 1.4;
}
.bildmarke.rechts > a:hover, .bildmarke.rechts > button:hover { background: rgba(0, 0, 0, .78); color: var(--gelb); }
.steckbrieftext { padding: 1rem 1.2rem 1.2rem; }
.steckbriefzeile { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0 0 .75rem; }
.steckbriefzeile .kundenfein { font-weight: 300; font-size: 1.05rem; letter-spacing: .015em; }
.plaketten { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.plakette {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .18rem .65rem .18rem .55rem; border-radius: 999px;
  border: 1px solid var(--linie); font-size: .8rem; line-height: 1.5; white-space: nowrap;
}
.plakette::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--schrift-leise); }
.plakette.gut { border-color: color-mix(in srgb, var(--gut) 45%, transparent); background: color-mix(in srgb, var(--gut) 12%, transparent); }
.plakette.gut::before { background: var(--gut); }
.plakette.schlecht { border-color: color-mix(in srgb, var(--schlecht) 45%, transparent); background: color-mix(in srgb, var(--schlecht) 12%, transparent); }
.plakette.schlecht::before { background: var(--schlecht); }
.plakette.achtung { border-color: color-mix(in srgb, var(--achtung) 45%, transparent); background: color-mix(in srgb, var(--achtung) 12%, transparent); }
.plakette.achtung::before { background: var(--achtung); }
.plakette.gelb { border-color: color-mix(in srgb, var(--gelb) 50%, transparent); background: color-mix(in srgb, var(--gelb) 12%, transparent); }
.plakette.gelb::before { background: var(--gelb); }
.plakette.leise { color: var(--schrift-leise); }
.steckbriefknoepfe { display: flex; flex-wrap: wrap; gap: .5rem; }
.themaleiste { display: flex; align-items: center; gap: .6rem; max-width: 62rem; margin: 0 0 .6rem; }
.themakarte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 14px;
  margin-bottom: .8rem;
  max-width: 62rem;
}
.themakarte.warnkarte { border-color: color-mix(in srgb, var(--schlecht) 55%, var(--linie)); }
.themakarte > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.15rem;
  cursor: pointer;
  border-radius: 14px;
}
.themakarte > summary::-webkit-details-marker { display: none; }
.themakarte > summary:hover { background: var(--karte-hell); }
.themakarte > summary:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }
.themapfeil {
  flex: 0 0 auto; width: 8px; height: 8px;
  border-right: 2px solid var(--schrift-leise); border-bottom: 2px solid var(--schrift-leise);
  transform: rotate(-45deg); transition: transform .15s ease; margin: 0 .2rem;
}
.themakarte[open] > summary .themapfeil { transform: rotate(45deg); }
.thematitel { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.thematitel strong { font-size: 1.05rem; font-weight: 600; }
.themastand { font-size: .82rem; color: var(--schrift-leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.themakarte > summary .punkt { flex: 0 0 auto; width: 9px; height: 9px; }
.themakarte[open] > summary { border-bottom: 1px solid var(--linie-leise); border-radius: 14px 14px 0 0; }
.themainhalt { padding: .4rem 1.15rem 1.2rem; }
.themateil { padding: 1rem 0 .2rem; }
.themateil + .themateil { border-top: 1px solid var(--linie-leise); margin-top: .6rem; }
.themateil > h3 { margin: 0 0 .7rem; font-size: 1rem; display: flex; align-items: center; gap: .45rem; }
.themateil.warnteil > h3 { color: var(--achtung); }
@media (max-width: 640px) {
  .themakarte > summary { padding: .85rem .9rem; gap: .7rem; }
  .themastand { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .themainhalt { padding: .3rem .9rem 1rem; }
  .steckbrieftext { padding: .9rem .9rem 1rem; }
  .bildmarke.rechts > a, .bildmarke.rechts > button, .bildmarke.links { font-size: .74rem; }
  .bildmarke.links { top: .6rem; bottom: auto; left: .6rem; }
}
main:has(> .kameraformular) > :not(dialog):not(.unterleiste):not(script) {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 641px) {
  main:has(> .kameraformular) > nav.kamerareiter.ansichtswahl:not(.unterleiste) {
    display: flex;
    width: fit-content;
    margin-left: max(0px, calc((100% - 64rem) / 2));
  }
}
main:has(> .kameraformular) .kameraformular,
main:has(> .kameraformular) .themakarte,
main:has(> .kameraformular) .themaleiste { max-width: 64rem; }
@media (min-width: 641px) {
  main:has(details.ortsblock:not(.weblinkblock)) > :not(dialog):not(.unterleiste):not(script) {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
  }
  main:has(details.ortsblock:not(.weblinkblock)) .ortsblock > summary > .namensschild {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }
}
@media (min-width: 641px) {
  main.listenspalte > :not(.unterleiste):not(dialog):not(script) {
    max-width: var(--spalte, 72rem);
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
    width: 100%;
  }
}
@media (min-width: 641px) and (max-width: 1300px) {
  main.listenspalte .tabelle th, main.listenspalte .tabelle td { padding-left: .5rem; padding-right: .5rem; }
  main.listenspalte .tabelle th { letter-spacing: 0; }
  main.listenspalte .tabelle .nichtumbrechen { white-space: normal; }
  main.listenspalte .tabelle td .klein.leise { overflow-wrap: anywhere; }
  main.listenspalte .tabelle { font-size: .84rem; }
  main.listenspalte .tabelle th { font-size: .7rem; }
}
.rollenmarke.achtung {
  color: var(--achtung);
  border-color: color-mix(in srgb, var(--achtung) 45%, transparent);
  background: color-mix(in srgb, var(--achtung) 10%, transparent);
  text-decoration: none;
}
.rollenmarke.achtung:hover { border-color: var(--achtung); }
.kundenzeile > summary .kundenfirma::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin: 0 .7rem .12rem .1rem;
  border-right: 2px solid var(--schrift-leise);
  border-bottom: 2px solid var(--schrift-leise);
  transform: rotate(-45deg);
  transition: transform .15s ease;
  vertical-align: middle;
}
.kundenzeile[open] > summary .kundenfirma::before { transform: rotate(45deg); border-color: var(--gelb); }
.kundenzeile[open] {
  box-shadow: inset 3px 0 0 var(--gelb);
  background: color-mix(in srgb, var(--gelb) 4%, transparent);
  padding-bottom: .4rem;
}
.kundenzeile[open] > summary { background: transparent; }
.kundenzeile[open] > summary .kundenfirma { color: var(--gelb-schrift); }
.kundenzeile[open] > .kundenkoerper {
  margin: .2rem 1rem .8rem 2.2rem;
  padding: 1rem 1.2rem 1.1rem;
  background: var(--grund);
  border: 1px solid var(--linie);
  border-radius: 12px;
}
.kundenzeile[open] + .kundenzeile { border-top: 1px solid var(--linie); }
@media (max-width: 640px) {
  .kundenzeile[open] > .kundenkoerper { margin: .2rem .6rem .7rem .9rem; padding: .8rem .8rem .9rem; }
}
.mehr.achtung { color: var(--achtung); }
.mehr .mehrtext b.warnt { color: var(--achtung); }
.lg { --lg-glanz: rgba(255, 255, 255, .06); --lg-bahn: rgba(255, 255, 255, .10);
      max-width: 92rem; margin: 0 auto; display: grid; gap: 1rem; min-width: 0; }
:root[data-thema="hell"] .lg { --lg-glanz: rgba(255, 255, 255, .75); --lg-bahn: rgba(20, 24, 30, .08); }
.lg-kopf { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.lg-kopf h1 { margin: 0; font: 600 1.45rem var(--titelschrift); letter-spacing: -.01em; }
.lg-zeit { color: var(--schrift-leise); font-size: .9rem; }
.lg-pille { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 99px;
  background: color-mix(in srgb, var(--schlecht) 14%, transparent); color: var(--schlecht); font-weight: 600; font-size: .85rem; }
.lg-pille.gut { background: color-mix(in srgb, var(--gut) 14%, transparent); color: var(--gut); }
.lg-puls { width: .55rem; height: .55rem; border-radius: 50%; background: var(--schlecht); position: relative; }
.lg-puls::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--schlecht);
  animation: lg-puls 1.8s ease-out infinite; }
@keyframes lg-puls { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.lg-kachel { position: relative; overflow: hidden; min-width: 0; background: var(--karte); border: 1px solid var(--linie);
  border-radius: 18px; padding: 1.1rem 1.2rem; color: inherit; text-decoration: none;
  display: flex; flex-direction: column; gap: .35rem;
  animation: lg-auftauchen .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
@keyframes lg-auftauchen { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.lg-kachel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, var(--lg-glanz) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease; }
a.lg-kachel:hover, .lg-hebt:hover { transform: translateY(-4px); box-shadow: var(--schatten);
  border-color: color-mix(in srgb, var(--gelb) 55%, var(--linie)); }
a.lg-kachel:hover::before, .lg-hebt:hover::before { transform: translateX(120%); }
a.lg-kachel:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }
.lg a, .lg a:hover { text-decoration: none; }
.lg-titel { display: flex; align-items: center; gap: .5rem; color: var(--schrift-leise);
  font: 600 .76rem var(--titelschrift); letter-spacing: .06em; text-transform: uppercase; }
.lg-titel .sinnbild { flex: none; color: var(--gelb-schrift); }
.lg-titelrechts { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 500; }
.lg-zahl { font: 600 2rem/1.05 var(--titelschrift); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lg-zahl small { font-size: .9rem; font-weight: 500; color: var(--schrift-leise); margin-left: .25rem; }
.lg-unter { color: var(--schrift-leise); font-size: .84rem; }
.lg-pfeil { position: absolute; right: 1rem; top: .9rem; color: var(--schrift-leise); font-size: 1.1rem;
  transition: transform .25s, color .25s; }
a.lg-kachel:hover .lg-pfeil { transform: translateX(4px); color: var(--gelb-schrift); }
.lg .gut { color: var(--gut); } .lg .schlecht { color: var(--schlecht); } .lg .achtung { color: var(--achtung); }
.lg-punkt { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .3rem; }
.lg-punkt.gut { background: var(--gut); } .lg-punkt.schlecht { background: var(--schlecht); }
.lg-weiter { font-size: .8rem; color: var(--schrift-leise); text-decoration: none; }
a.lg-weiter:hover { color: var(--gelb-schrift); }
.lg-oben { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.lg-oben.mit-ringen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.lg-ringkachel { flex-direction: row; align-items: center; gap: 1.2rem; }
.lg-ring { width: 108px; height: 108px; flex: none; position: relative; transition: transform .3s; }
.lg-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lg-ring circle { fill: none; stroke-width: 3.4; }
.lg-bahn { stroke: var(--lg-bahn); }
.lg-voll { stroke: var(--gelb); stroke-linecap: round;
  stroke-dasharray: var(--anteil) calc(100 - var(--anteil));
  animation: lg-ring 1.3s cubic-bezier(.2, .8, .2, 1) .25s both; }
@keyframes lg-ring { from { stroke-dasharray: 0 100; } }
.lg-voll.ganz { stroke: var(--gut); }
.lg-mitte { position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 1.55rem var(--titelschrift); font-variant-numeric: tabular-nums; }
.lg-mitte small { font-size: .8rem; color: var(--schrift-leise); font-weight: 500; }
.lg-ringkachel:hover .lg-ring { transform: scale(1.04); }
.lg-ringkachel:hover .lg-ring svg { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gelb) 60%, transparent)); }
.lg-mini { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .35rem; font-size: .8rem; color: var(--schrift-leise); }
.lg-mini b { color: var(--schrift); font-weight: 600; }
.lg-hinweise.brennt { border-color: color-mix(in srgb, var(--schlecht) 45%, var(--linie)); }
.lg-hinweise.brennt::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--schlecht); }
.lg-liste { list-style: none; margin: .15rem 0 0; padding: 0; display: grid; gap: .1rem; }
.lg-liste a { display: flex; align-items: center; gap: .6rem; padding: .42rem .55rem; margin: 0 -.55rem;
  border-radius: 10px; color: inherit; text-decoration: none; transition: background .2s, padding .2s; }
.lg-liste a:hover { background: var(--karte-hell); padding-left: .8rem; }
.lg-anzahl { font: 600 .78rem var(--titelschrift); min-width: 2.1rem; text-align: center; padding: .1rem .4rem;
  border-radius: 99px; background: var(--karte-hell); font-variant-numeric: tabular-nums; }
.lg-liste .dringend .lg-anzahl { background: color-mix(in srgb, var(--schlecht) 18%, transparent); color: var(--schlecht); }
.lg-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-p { color: var(--schrift-leise); transition: transform .2s, color .2s; }
.lg-liste a:hover .lg-p { transform: translateX(3px); color: var(--gelb-schrift); }
.lg-ruhe { display: flex; align-items: center; gap: .6rem; margin: .4rem 0 0; color: var(--gut); font-weight: 500; }
.lg-zahlen { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); }
.lg-zahlen:empty { display: none; }
.lg-klein { min-height: 8.2rem; }
.lg-klein .lg-titel { padding-right: 1.1rem; }
.lg-funke { height: 26px; width: 100%; margin-top: auto; }
.lg-funke { animation: lg-aufdecken 1.4s .5s cubic-bezier(.3, .7, .3, 1) both; }
.lg-funke .lg-linie { fill: none; stroke: var(--gelb); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.lg-funke .lg-flaeche { fill: color-mix(in srgb, var(--gelb) 14%, transparent); }
@keyframes lg-aufdecken { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lg-einblenden { from { opacity: 0; } }
.lg-mitte-reihe { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.lg-gruppen { display: grid; gap: .5rem; margin-top: .3rem; }
.lg-gruppe { display: flex; align-items: center; gap: .7rem; padding: .45rem .6rem; border-radius: 12px;
  background: var(--karte-hell); color: inherit; text-decoration: none; transition: transform .2s; }
.lg-gruppe:hover { transform: translateX(4px); }
.lg-nr { font: 700 .95rem var(--titelschrift); min-width: 2.4rem; height: 2.4rem; padding: 0 .3rem; display: grid; place-items: center;
  border-radius: 10px; background: color-mix(in srgb, var(--schlecht) 16%, transparent); color: var(--schlecht); }
.lg-ort { flex: 1; min-width: 0; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-ort small { display: block; color: var(--schrift-leise); font-size: .75rem; }
.lg-kams { display: flex; gap: 3px; }
.lg-kams i { width: 8px; height: 18px; border-radius: 3px; background: var(--schlecht); opacity: .85; }
.lg-balken { display: grid; gap: .55rem; margin-top: .35rem; }
.lg-balkenzeile { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr 2.2rem; align-items: center; gap: .7rem;
  font-size: .85rem; position: relative; }
.lg-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-spur { height: .6rem; border-radius: 99px; background: var(--lg-bahn); overflow: hidden; }
.lg-fuell { display: block; height: 100%; width: var(--w); border-radius: 99px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gelb) 55%, transparent), var(--gelb));
  animation: lg-wachsen 1.1s cubic-bezier(.2, .8, .2, 1) .35s both; }
@keyframes lg-wachsen { from { width: 0; } }
.lg-wert { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.lg-balkenzeile:hover .lg-fuell { filter: brightness(1.15); }
.lg-blase { display: none; position: absolute; left: 6rem; bottom: 135%; z-index: 3; pointer-events: none; white-space: nowrap;
  background: var(--schrift); color: var(--karte); font-size: .74rem; padding: .3rem .6rem; border-radius: 8px;
  animation: lg-einblenden .2s both; }
.lg-balkenzeile:hover .lg-blase { display: block; }
.lg-leute { display: flex; flex-direction: column; gap: .5rem; margin-top: .3rem; }
.lg-person { display: flex; align-items: center; gap: .65rem; font-size: .86rem; color: inherit; text-decoration: none; min-width: 0; }
.lg-avatar { width: 2.2rem; height: 2.2rem; flex: none; border-radius: 50%; display: grid; place-items: center;
  font: 600 .76rem var(--titelschrift); color: var(--auf-gelb); background: var(--gelb); transition: transform .25s; }
.lg-person:hover .lg-avatar { transform: scale(1.12) rotate(-6deg); }
.lg-personname { min-width: 0; }
.lg-personname small { display: block; color: var(--schrift-leise); font-size: .75rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-baustellen { overflow: visible; }
.lg-baustellen::before { display: none; }
.lg-baustellenkopf { display: flex; align-items: center; gap: .6rem 1.2rem; flex-wrap: wrap; }
.lg-legende { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .78rem; color: var(--schrift-leise); }
.lg-suche { margin-left: auto; width: 15rem; max-width: 100%; background: var(--karte-hell); border: 1px solid var(--linie);
  color: var(--schrift); border-radius: 99px; padding: .45rem .9rem; font: inherit; font-size: .85rem; }
.lg-stand { font-size: .8rem; color: var(--schrift-leise); }
.lg-waben { display: grid; gap: .6rem; margin-top: .7rem; grid-template-columns: repeat(auto-fill, minmax(7.4rem, 1fr)); }
.lg-wabe { position: relative; display: flex; flex-direction: column; min-width: 0; padding: .55rem .7rem .55rem;
  background: var(--karte-hell); border: 1px solid var(--linie-leise); border-radius: 14px; color: inherit; text-decoration: none;
  animation: lg-aufploppen .45s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(400ms + var(--j, 0) * 20ms);
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.lg-wabe[hidden] { display: none; }
@keyframes lg-aufploppen { from { opacity: 0; transform: scale(.9); } }
.lg-wabe:hover, .lg-wabe:focus-visible { transform: translateY(-3px) scale(1.04); border-color: var(--gelb); box-shadow: var(--schatten); z-index: 2; }
.lg-boxnr { font: 700 1.2rem/1.15 var(--titelschrift); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-boxort { font-size: .74rem; color: var(--schrift-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.1em; }
.lg-seg { display: flex; gap: 2px; margin-top: .45rem; min-height: 5px; }
.lg-seg i { flex: 1; height: 5px; border-radius: 3px; background: var(--gut); }
.lg-seg i.aus { background: var(--schlecht); }
.lg-seg i.beendet, .lg-punkt.beendet { background: color-mix(in srgb, var(--schrift-leise) 55%, transparent); }
.lg-wabe.ist-aus { border-color: color-mix(in srgb, var(--schlecht) 50%, var(--linie-leise)); }
.lg-wabe.ist-teilweise { border-color: color-mix(in srgb, var(--achtung) 50%, var(--linie-leise)); }
.lg-wabe.ist-ruhend, .lg-wabe.ist-leer { opacity: .45; }
.lg-wabe.ist-ruhend:hover, .lg-wabe.ist-leer:hover { opacity: .9; }
.lg-tip { display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 4;
  transform: translateX(calc(-50% + var(--ruck, 0px)));
  background: var(--schrift); color: var(--karte); font-size: .74rem; padding: .3rem .6rem; border-radius: 8px;
  white-space: nowrap; pointer-events: none; animation: lg-einblenden .18s both; }
.lg-wabe:hover .lg-tip, .lg-wabe:focus-visible .lg-tip { display: block; }
@media (max-width: 1100px) {
  .lg-oben.mit-ringen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lg-oben.mit-ringen .lg-hinweise { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lg { gap: .7rem; }
  .lg-oben, .lg-zahlen, .lg-mitte-reihe { gap: .7rem; }
  .lg-oben.mit-ringen { grid-template-columns: 1fr; }
  .lg-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-mitte-reihe { grid-template-columns: 1fr; }
  .lg-ring { width: 84px; height: 84px; }
  .lg-suche { width: 100%; margin-left: 0; }
  .lg-balkenzeile { grid-template-columns: minmax(0, 7rem) 1fr 2rem; }
  .lg-waben { grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .lg *, .lg *::before, .lg *::after, .lg-kachel { animation: none !important; transition: none !important; }
}
.lg { --lg-zweit: #7fb0d0; --lg-dritt: #b9a3dc; }
:root[data-thema="hell"] .lg { --lg-zweit: #3d7196; --lg-dritt: #6b52a3; }
.lg-verlauf { gap: .8rem; }
.lg-kennzahlen { display: grid; gap: .6rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin-top: .2rem; }
.lg-kennzahl { display: flex; flex-direction: column; gap: .05rem; padding-left: .7rem; border-left: 2px solid var(--linie); min-width: 0; }
.lg-kennzahl strong { font: 600 1.35rem/1.15 var(--titelschrift); font-variant-numeric: tabular-nums; }
.lg-kennzahl span { font-size: .8rem; color: var(--schrift-leise); }
.lg-kennzahl small { font-size: .74rem; color: var(--schrift-leise); }
.lg-kennzahl small b { font-weight: 600; }
.lg-diagramm { position: relative; min-height: 120px; touch-action: pan-y; }
.lg-diagramm svg { display: block; overflow: visible; }
.lg-we { fill: color-mix(in srgb, var(--schrift-leise) 7%, transparent); }
.lg-grund { stroke: var(--linie); stroke-width: 1; }
.lg-gitter { stroke: var(--linie-leise); stroke-width: 1; stroke-dasharray: 3 4; }
.lg-achse { fill: var(--schrift-leise); font: 500 10.5px var(--textschrift); font-variant-numeric: tabular-nums; }
.lg-bandname { fill: var(--schrift-leise); font: 600 10px var(--titelschrift); letter-spacing: .06em; text-transform: uppercase; }
.lg-li { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lg-li.personen { stroke: var(--gelb); }
.lg-li.gaeste { stroke: var(--lg-zweit); }
.lg-fl.personen { fill: color-mix(in srgb, var(--gelb) 16%, transparent); }
.lg-fl.gaeste { fill: color-mix(in srgb, var(--lg-zweit) 18%, transparent); }
.lg-zeichnung.neu { animation: lg-aufdecken 1.6s .5s cubic-bezier(.3, .7, .3, 1) both; }
.lg-zeiger { stroke: var(--schrift-leise); stroke-width: 1; stroke-dasharray: 2 3; }
.lg-zpunkt { stroke: var(--karte); stroke-width: 2; }
.lg-zpunkt.personen { fill: var(--gelb); } .lg-zpunkt.gaeste { fill: var(--lg-zweit); }
.lg-dtip { position: absolute; top: 0; z-index: 3; pointer-events: none; min-width: 12rem;
  background: var(--karte-hell); border: 1px solid var(--linie); border-radius: 12px; box-shadow: var(--schatten);
  padding: .55rem .75rem; font-size: .78rem; animation: lg-einblenden .15s both; }
.lg-dtip strong { display: block; margin-bottom: .25rem; font: 600 .82rem var(--titelschrift); }
.lg-dtip div { display: flex; justify-content: space-between; gap: 1rem; color: var(--schrift-leise); }
.lg-dtip div b { color: var(--schrift); font-weight: 600; font-variant-numeric: tabular-nums; }
.lg-strich { display: inline-block; width: 1rem; height: .5rem; border-radius: 3px; margin-right: .35rem; vertical-align: .05rem; }
.lg-strich.personen { background: var(--gelb); } .lg-strich.gaeste { background: var(--lg-zweit); }
.lg-strich.we { background: color-mix(in srgb, var(--schrift-leise) 25%, transparent); }
@media (max-width: 640px) { .lg-kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lg-verlaufkopf { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; }
.lg-verlaufkopf .lg-titelrechts { font-size: .8rem; color: var(--schrift-leise); }
.lg-wahl { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--karte-hell); border: 1px solid var(--linie-leise); }
.lg-wahl button { border: 0; background: none; color: var(--schrift-leise); font: 500 .8rem var(--textschrift);
  padding: .3rem .8rem; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s; }
.lg-wahl button:hover { color: var(--schrift); }
.lg-wahl button[aria-selected="true"] { background: var(--gelb); color: var(--auf-gelb); font-weight: 600; }
.lg-wahl button:focus-visible { outline: 2px solid var(--gelb); outline-offset: 1px; }
.lg-li.bilder { stroke: var(--lg-dritt); }
.lg-fl.bilder { fill: color-mix(in srgb, var(--lg-dritt) 16%, transparent); }
.lg-zpunkt.bilder { fill: var(--lg-dritt); }
.lg-strich.bilder { background: var(--lg-dritt); }
.lg-verlauf:not(.nur-tage) .lg-nur-tage { display: none; }
.lg-spanne[hidden], .lg-kennzahlen[hidden] { display: none; }
@media (max-width: 640px) { .lg-wahl { width: 100%; } .lg-wahl button { flex: 1; padding: .3rem .4rem; } }
.bildstempel[hidden] { display: none !important; }
.lg-kartenreihe { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 1fr); gap: 1.5rem; align-items: start; }
.lg-kartenflaeche { position: relative; }
.lg-laender path { fill: var(--karte-hell); stroke: var(--linie); stroke-width: .9; stroke-linejoin: round;
  transition: fill .25s; }
.lg-laender path.belegt { fill: color-mix(in srgb, var(--schrift) 6%, var(--karte-hell)); }
.lg-laender path.hervor { fill: color-mix(in srgb, var(--gelb) 16%, var(--karte-hell)); }
.lg-kartensvg { display: block; width: 100%; height: auto; max-height: 640px; overflow: visible;
  animation: lg-einblenden .8s .3s both; }
.lg-kort { cursor: pointer; outline: none; transition: opacity .2s; }
.lg-kort.blass { opacity: .25; }
.lg-ortpunkt { fill: var(--gut); stroke: var(--karte); stroke-width: 2.2;
  transform-box: fill-box; transform-origin: center; transition: transform .2s;
  animation: lg-ortauf .5s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(700ms + var(--j, 0) * 35ms); }
@keyframes lg-ortauf { from { transform: scale(0); } }
.lg-kort:hover .lg-ortpunkt, .lg-kort:focus-visible .lg-ortpunkt { transform: scale(1.35); }
.lg-kort.ist-teilweise .lg-ortpunkt { fill: var(--achtung); }
.lg-kort.ist-aus .lg-ortpunkt { fill: var(--schlecht); }
.lg-kort.ist-ruhend .lg-ortpunkt, .lg-kort.ist-leer .lg-ortpunkt { fill: var(--karte-hell); stroke: var(--schrift-leise); stroke-width: 1.8; }
.lg-kort text { fill: #fff; font: 700 10px var(--titelschrift); pointer-events: none;
  animation: lg-einblenden .3s both; animation-delay: calc(900ms + var(--j, 0) * 35ms); }
.lg-kort.ist-ruhend text, .lg-kort.ist-leer text { fill: var(--schrift); }
.lg-ortpuls { fill: none; stroke: var(--schlecht); stroke-width: 2; transform-box: fill-box; transform-origin: center;
  animation: lg-ortpuls 2s ease-out infinite; }
@keyframes lg-ortpuls { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.lg-kartentip { position: absolute; z-index: 5; min-width: 14rem; max-width: 20rem; max-height: 26rem; overflow: auto;
  background: var(--karte-hell); border: 1px solid var(--linie); border-radius: 12px; box-shadow: var(--schatten);
  padding: .6rem .75rem; font-size: .8rem; pointer-events: auto; animation: lg-einblenden .15s both; }
.lg-kartentip[hidden] { display: none; }
.lg-tipkopf { font: 600 .74rem var(--titelschrift); letter-spacing: .05em; text-transform: uppercase;
  color: var(--schrift-leise); margin-bottom: .35rem; }
.lg-tipeintrag { display: flex; flex-direction: column; gap: .05rem; padding: .35rem 0 .35rem .6rem;
  border-left: 3px solid var(--gut); color: inherit; text-decoration: none; }
.lg-tipeintrag + .lg-tipeintrag { margin-top: .35rem; }
.lg-tipeintrag.ist-teilweise { border-left-color: var(--achtung); }
.lg-tipeintrag.ist-aus { border-left-color: var(--schlecht); }
.lg-tipeintrag.ist-ruhend, .lg-tipeintrag.ist-leer { border-left-color: var(--schrift-leise); }
a.lg-tipeintrag:hover { background: var(--karte); }
.lg-tipeintrag strong { font: 600 .84rem var(--titelschrift); }
.lg-tipeintrag span { color: var(--schrift-leise); }
.lg-kartentip small { display: block; margin-top: .45rem; color: var(--schrift-leise); font-size: .72rem; }
.lg-kartenseite { display: flex; flex-direction: column; gap: 1.1rem; padding-top: .3rem; }
.lg-kartenlegende { flex-direction: column; gap: .35rem; }
.lg-punkt.achtung { background: var(--achtung); }
.lg-punkt.leise { background: transparent; border: 1.5px solid var(--schrift-leise); width: .45rem; height: .45rem; }
.lg-zahlpunkt { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; margin-right: .35rem;
  border-radius: 50%; background: var(--gut); color: #fff; font: 700 .62rem var(--titelschrift); }
.lg-laenderliste { display: grid; gap: .55rem; margin-top: 1.2rem; }
.lg-laenderliste .lg-bandname { margin-bottom: .35rem; }
.lg-landzeile { display: grid; grid-template-columns: minmax(0, 11rem) 1fr 1.6rem; gap: .6rem; align-items: center;
  font-size: .84rem; border-radius: 8px; padding: .1rem .3rem; margin: 0 -.3rem; cursor: default; outline: none; }
.lg-landzeile:hover, .lg-landzeile:focus-visible { background: var(--karte-hell); }
.lg-landname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-ohnepunkt { margin: 0; font-size: .78rem; color: var(--schrift-leise); }
@media (max-width: 900px) { .lg-kartenreihe { grid-template-columns: 1fr; } .lg-kartensvg { max-height: 520px; margin: 0 auto; } }
.ob-zusatz { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem .8rem;
  padding: .1rem .9rem .8rem; font-size: .8rem; }
.ob-wege { display: flex; gap: .8rem; }
.ob-wege a { color: var(--gelb-schrift); text-decoration: none; font-weight: 500; }
.ob-wege a:hover { text-decoration: underline; }
.ob-ruhend { margin-top: 1.5rem; }
.ob-ruhend > summary { cursor: pointer; padding: .8rem 0; list-style-position: inside; }
.lg-ringziel { color: inherit; display: block; }
.lg-mini a { color: var(--schrift-leise); border-radius: 6px; padding: .05rem .25rem; margin: 0 -.25rem;
  transition: background .2s, color .2s; }
.lg-mini a:hover { background: var(--karte-hell); color: var(--schrift); }
.lg-titelrechts.schlecht:hover { text-decoration: underline; }
.stationswahl { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; margin: 0 0 1rem;
  border-radius: 14px; background: var(--karte-hell); border: 1px solid var(--linie-leise); }
.stationswahl button { border: 0; background: none; color: var(--schrift-leise); font: 500 .85rem var(--textschrift);
  padding: .35rem .9rem; border-radius: 11px; cursor: pointer; text-align: left; }
.stationswahl button:hover { color: var(--schrift); }
.stationswahl button[aria-selected="true"] { background: var(--gelb); color: var(--auf-gelb); font-weight: 600; }
.personseite { max-width: 64rem; margin: 0 auto; }
.ps-kopf { padding: 1.4rem 1.5rem 1.2rem; }
.ps-oben { display: flex; gap: 1.2rem; align-items: center; }
.ps-zeichen { flex: none; width: 4.2rem; height: 4.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gelb); color: var(--auf-gelb); font: 700 1.35rem var(--titelschrift); }
.ps-zeichen.aus { background: var(--karte-hell); color: var(--schrift-leise); }
.ps-wer { min-width: 0; }
.ps-wer h1 { margin: 0; font-size: 1.55rem; }
.ps-firma { margin: .15rem 0 .7rem; color: var(--schrift-leise); overflow-wrap: anywhere; }
.ps-firma a { color: inherit; }
.ps-wer .plaketten { margin-bottom: 0; }
.ps-eckdaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem 1rem;
  margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--linie-leise); }
.ps-eckdaten div { min-width: 0; }
.ps-eckdaten dt { font-size: .75rem; color: var(--schrift-leise); text-transform: uppercase; letter-spacing: .05em; }
.ps-eckdaten dd { margin: .1rem 0 0; font-weight: 600; }
.ps-knoepfe { margin-top: 1.1rem; align-items: center; }
.ps-gefahr { color: var(--schlecht) !important; border-color: color-mix(in srgb, var(--schlecht) 60%, transparent) !important; }
.ps-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 1rem; }
.ps-suche { width: 100%; max-width: 22rem; margin-bottom: .8rem; }
.ps-orte { display: grid; gap: .5rem; max-height: 32rem; overflow: auto; padding-right: .3rem; }
.ps-ort { border: 1px solid var(--linie-leise); border-radius: 12px; padding: .55rem .8rem; margin: 0; }
.ps-ort.an { border-color: color-mix(in srgb, var(--gelb) 55%, var(--linie)); background: color-mix(in srgb, var(--gelb) 5%, transparent); }
.ps-ort[hidden] { display: none; }
.ps-ortname { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; }
.ps-kameras { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .2rem .8rem;
  margin: .45rem 0 0 1.6rem; }
.ps-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem; }
.ps-wahlkarte { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .85rem; border: 1px solid var(--linie);
  border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.ps-wahlkarte:has(input:checked) { border-color: var(--gelb); background: color-mix(in srgb, var(--gelb) 8%, transparent); }
.ps-wahlkarte input { margin-top: .2rem; accent-color: var(--gelb); }
.ps-wahlkarte span { display: flex; flex-direction: column; gap: .15rem; }
.ps-wahlkarte small { color: var(--schrift-leise); font-size: .8rem; line-height: 1.4; }
.ps-zeitraum { gap: .4rem; margin: .8rem 0 .4rem; }
.ps-kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .6rem; margin: .6rem 0 .4rem; }
.ps-kennzahl { display: flex; flex-direction: column; padding: .7rem .85rem; border-radius: 12px; background: var(--karte-hell); }
.ps-kennzahl span, .ps-kennzahl small { font-size: .78rem; color: var(--schrift-leise); }
.ps-kennzahl strong { font: 600 1.35rem/1.3 var(--titelschrift); font-variant-numeric: tabular-nums; }
.ps-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 0 1.5rem; }
.ps-zwei .themateil + .themateil { border-top: 0; margin-top: 0; }
.ps-balken { margin-bottom: .65rem; }
.ps-balken .klein { display: flex; justify-content: space-between; }
.ps-spur { height: 7px; border-radius: 4px; background: var(--linie); overflow: hidden; margin-top: .25rem; }
.ps-spur div { height: 100%; background: var(--gelb); }
.ps-vorgaenge > summary { cursor: pointer; padding: .3rem 0 .6rem; }
.ps-zeitleiste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ps-zeitleiste li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; position: relative; padding: 0 0 1.1rem; }
.ps-zeitleiste li::before { content: ""; position: absolute; left: 7.5rem; margin-left: .45rem; top: .35rem; bottom: -.2rem;
  width: 2px; background: var(--linie); }
.ps-zeitleiste li:last-child::before { bottom: auto; height: .8rem; }
.ps-zeitleiste li::after { content: ""; position: absolute; left: 7.5rem; margin-left: .1rem; top: .3rem; width: .8rem; height: .8rem;
  border-radius: 50%; background: var(--karte); border: 2px solid var(--schrift-leise); }
.ps-zeitleiste li.ist-laeuft::after { background: var(--gut); border-color: var(--gut); }
.ps-zeitpunkt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; padding-right: .6rem; }
.ps-zeitpunkt span { display: block; font-weight: 400; font-size: .8rem; color: var(--schrift-leise); }
.ps-zeitinhalt { padding-left: 1.4rem; min-width: 0; }
.ps-zeitinhalt a { color: inherit; }
.ps-meilensteine { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ps-meilensteine li { display: flex; flex-direction: column; padding: .5rem .8rem; border-radius: 10px; background: var(--karte-hell);
  border-left: 3px solid var(--linie); font-size: .85rem; }
.ps-meilensteine li span { font-size: .75rem; color: var(--schrift-leise); }
.ps-meilensteine li.ist-gelb { border-left-color: var(--gelb); }
.ps-meilensteine li.ist-gut { border-left-color: var(--gut); }
@media (max-width: 640px) {
  .ps-kopf { padding: 1.1rem 1rem; }
  .ps-oben { align-items: flex-start; }
  .ps-zeichen { width: 3.2rem; height: 3.2rem; font-size: 1.05rem; }
  .ps-zeitleiste li { grid-template-columns: 5.2rem 1fr; gap: .6rem; }
  .ps-zeitleiste li::before, .ps-zeitleiste li::after { left: 5.2rem; }
  .ps-kameras { margin-left: .4rem; }
}
.wk-anleitung { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.wk-blatt { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--linie);
  box-shadow: var(--schatten-klein, 0 1px 3px rgba(0,0,0,.2)); background: #fff; transition: transform .2s; }
.wk-blatt:hover { transform: translateY(-2px); }
.wk-blatt img { display: block; width: 100%; height: auto; }
.wk-text h2 { margin-top: 0; }
.wk-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .6rem; }
@media (max-width: 640px) { .wk-anleitung { grid-template-columns: 6rem minmax(0, 1fr); gap: .9rem; } }
.dl-reiter { display: inline-flex; gap: .25rem; padding: .25rem; margin: 0 0 1rem; background: var(--karte); border: 1px solid var(--linie-leise); border-radius: 999px; }
.dl-reiter button { display: inline-flex; align-items: center; gap: .45rem; background: transparent; color: var(--schrift-leise); border: 0; border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; min-height: 0; box-shadow: none; }
.dl-reiter button[aria-selected="true"] { background: var(--gelb); color: #1b1d1f; }
.dl-reiter button:not([aria-selected="true"]):hover { color: var(--schrift); background: var(--karte-hell); }
.dl-suche { display: grid; gap: 1.1rem; margin-bottom: 1.25rem; }
.dl-schritt { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .9rem; align-items: start; }
.dl-schritt + .dl-schritt { padding-top: 1.1rem; border-top: 1px solid var(--linie-leise); }
.dl-nr { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--karte-hell); color: var(--schrift); font-weight: 700; font-size: .9rem; }
.dl-sinhalt h3 { margin: .3rem 0 .7rem; font-size: 1rem; }
.dl-sinhalt .suchzeile { margin: 0; }
.dl-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.dl-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border: 1px solid var(--linie); border-radius: 999px; cursor: pointer; background: var(--karte); font-size: .92rem; transition: background .15s, border-color .15s; }
.dl-chip input { margin: 0; accent-color: var(--gelb); }
.dl-chip:has(input:checked) { border-color: var(--gelb); background: color-mix(in srgb, var(--gelb) 16%, var(--karte)); }
.dl-suchenfeld { flex: 0 0 auto; margin-left: auto; }
.dl-hilfe { font-size: .88rem; color: var(--schrift-leise); }
.dl-hilfe summary { cursor: pointer; width: max-content; max-width: 100%; }
.dl-hilfe ul { margin: .5rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.dl-ergebnis { margin-bottom: 1.25rem; }
.dl-ekopf { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.dl-ekopf h2 { margin: 0; display: flex; align-items: center; gap: .5rem; }
.dl-gruppe + .dl-gruppe { margin-top: 1.3rem; }
.dl-gkopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; padding: 0 0 .5rem; margin-bottom: .7rem; border-bottom: 1px solid var(--linie-leise); }
.dl-gkopf .leise { font-size: .85rem; }
.dl-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .6rem; }
.dl-kachel { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .45rem .55rem .45rem .45rem; background: var(--karte-hell); border-radius: 10px; transition: transform .15s, box-shadow .15s; }
.dl-kachel:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgb(0 0 0 / .12); }
.dl-kachel img { width: 5.5rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; background: var(--linie-leise); }
.dl-kzeit { display: grid; gap: .1rem; min-width: 0; }
.dl-kzeit strong { font-size: .95rem; white-space: nowrap; }
.dl-kzeit span { font-size: .8rem; color: var(--schrift-leise); }
.dl-laden { padding: .4rem .7rem; min-height: 0; font-size: .85rem; gap: .35rem; }
.dl-kurz { margin-top: .6rem; background: none; border: 0; color: var(--gelb-schrift); padding: .2rem 0; font-size: .85rem; min-height: 0; box-shadow: none; cursor: pointer; }
.dl-kurz:hover { text-decoration: underline; background: none; }
.dl-leistenplatz { position: sticky; bottom: 1rem; z-index: 20; display: flex; justify-content: flex-end; pointer-events: none; margin-top: 1rem; }
.dl-leistenplatz:empty { display: none; }
.dl-leiste { pointer-events: auto; width: min(26rem, 100%); background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: .85rem 1rem .9rem; box-shadow: 0 10px 30px rgb(0 0 0 / .25); font-size: .85rem; display: grid; gap: .35rem; }
.dl-leiste.schlecht { border-color: var(--schlecht); }
.dl-lkopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dl-lkopf strong { font-size: .95rem; }
.dl-prozent { font-weight: 700; font-size: 1.05rem; }
.dl-lname { color: var(--schrift-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-balken { position: relative; height: 8px; border-radius: 4px; background: var(--karte-hell); overflow: hidden; }
.dl-balken i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--gelb); transition: width .5s ease; }
.dl-balken i.vorrat { background: color-mix(in srgb, var(--gelb) 30%, transparent); }
.dl-leiste.laeuft .dl-balken i:not(.vorrat) { background-color: var(--gelb); background-image: linear-gradient(90deg, transparent 0, rgb(255 255 255 / .38) 50%, transparent 100%); background-size: 200% 100%; animation: dl-glanz 1.6s linear infinite; }
@keyframes dl-glanz { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .dl-leiste.laeuft .dl-balken i:not(.vorrat) { animation: none; } }
.dl-ljetzt, .dl-lzusatz { color: var(--schrift-leise); font-size: .8rem; line-height: 1.4; }
.dl-lknoepfe { display: flex; gap: .4rem; margin-top: .25rem; }
.dl-lknoepfe button { padding: .35rem .8rem; min-height: 0; font-size: .82rem; }
@media (max-width: 640px) {
  .dl-schritt { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .dl-nr { display: none; }
  .dl-suchenfeld { margin-left: 0; width: 100%; }
  .dl-suchenfeld button { width: 100%; }
  .dl-raster { grid-template-columns: minmax(0, 1fr); }
  .dl-leistenplatz { bottom: .5rem; }
  .dl-leiste { width: 100%; }
}
.kamerakacheln.gross {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr));
  gap: 1.25rem;
}
.kamerakacheln.gross .kamerakachel .fuss { font-size: 1.05rem; }
.kamerakacheln.gross .kamerakachel .fuss .name { font-weight: 600; }
.baustellenblock.frei { padding-top: .25rem; }
.bi-kopf { margin-bottom: 1.25rem; }
.bi-kopfzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }
.bi-nummer {
  display: grid; justify-items: start; padding: .55rem 1.1rem .65rem; border-radius: 14px;
  background: var(--karte); border: 1px solid var(--linie); border-left: 6px solid var(--gelb);
}
.bi-nummer span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--schrift-leise); }
.bi-nummer strong { font-size: 2.2rem; line-height: 1.05; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.bi-titel { flex: 1 1 18rem; min-width: 0; }
.bi-titel h1 { margin: 0; font-size: 1.6rem; }
.bi-titel p { margin: .3rem 0 0; color: var(--schrift-leise); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.bi-kopfknoepfe { display: flex; gap: .5rem; }
.bi-bearbeiten { margin-top: .8rem; }
.bi-bearbeiten summary { cursor: pointer; color: var(--schrift-leise); width: max-content; display: inline-flex; gap: .35rem; align-items: center; }
.bi-raster { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.bi-zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); }
.bi-karte { margin: 0; min-width: 0; }
.bi-karte > h2 { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.bi-karte > h2 .klein { font-weight: 400; }
section.bi-karte#bilder { margin-bottom: 1.25rem; }
.bi-leer { margin: .2rem 0 .6rem; }
.bi-person { border: 1px solid var(--linie-leise); border-radius: 10px; padding: .55rem .75rem; margin-bottom: .5rem; background: var(--karte-hell); }
.bi-person > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; list-style: none; }
.bi-person > summary::-webkit-details-marker { display: none; }
.bi-kontakt { display: inline-flex; flex-wrap: wrap; gap: .2rem .8rem; font-size: .9rem; }
.bi-pnotiz { flex-basis: 100%; }
.bi-formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .7rem; margin-top: .7rem; }
.bi-formular .feld { margin: 0; }
.bi-formular .bi-breit { grid-column: 1 / -1; }
.bi-weg { color: var(--schlecht); border-color: color-mix(in srgb, var(--schlecht) 45%, transparent); }
.bi-notizneu textarea { width: 100%; resize: vertical; margin-bottom: .45rem; }
.bi-notizen { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .6rem; }
.bi-notizen li { border-left: 3px solid var(--linie); padding: .1rem 0 .1rem .8rem; }
.bi-notizen li.wichtig { border-left-color: var(--achtung); }
.bi-nkopf { display: flex; gap: .45rem; align-items: center; font-size: .8rem; color: var(--schrift-leise); }
.bi-nkopf form { margin-left: auto; }
.bi-nkopf .bi-weg { padding: .05rem .45rem; min-height: 0; }
.bi-notizen p { margin: .25rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.bi-ntext { margin: .3rem 0 0; overflow-wrap: anywhere; line-height: 1.5; white-space: pre-wrap; tab-size: 4; }
.bi-ntext ul, .bi-ntext ol, .bi-efeld ul, .bi-efeld ol { margin: .2rem 0; padding-left: 1.4rem; }
.bi-ablage { margin: 0 0 .9rem; }
.bi-feld {
  display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; cursor: pointer;
  border: 2px dashed var(--linie); border-radius: 12px; background: var(--karte-hell);
  transition: border-color .15s, background .15s;
}
.bi-feld:hover, .bi-feld.ablage-drueber, .bi-ablage.ablage-drueber .bi-feld { border-color: var(--gelb); background: color-mix(in srgb, var(--gelb) 10%, var(--karte-hell)); }
.bi-feld input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bi-feldzeichen { color: var(--gelb-schrift); display: inline-flex; }
.bi-feldtext { display: grid; gap: .1rem; font-size: .92rem; }
.bi-feldtext .leise { font-size: .8rem; }
.bi-fortschritt { position: relative; margin-top: .5rem; font-size: .82rem; color: var(--schrift-leise); }
.bi-fortschritt i { display: block; height: 6px; margin-top: .3rem; border-radius: 3px; background: var(--gelb); transition: width .2s; }
.bi-dateien, .bi-rechnungen { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.bi-dateien li { display: flex; align-items: center; gap: .5rem; }
.bi-datei {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: .75rem; text-align: left;
  padding: .4rem .55rem; border-radius: 10px; background: var(--karte-hell); border: 1px solid transparent;
  color: var(--schrift); font: inherit; min-height: 0; box-shadow: none; cursor: zoom-in;
}
.bi-datei:hover { border-color: var(--linie); background: var(--karte-hell); filter: none; }
.bi-datei img { width: 4.2rem; height: 3rem; object-fit: cover; border-radius: 6px; background: var(--linie-leise); flex: 0 0 auto; }
.bi-dname { display: grid; gap: .1rem; min-width: 0; font-size: .9rem; }
.bi-dname strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.bi-dname .leise { font-size: .78rem; }
.bi-daktionen { display: flex; gap: .3rem; }
.bi-daktionen form { margin: 0; }
.bi-zeile { justify-content: flex-start; gap: 1rem; }
.bi-betrag { margin-left: auto; }
.bi-rechnungen { margin-bottom: .9rem; }
.bi-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .7rem; }
.bi-galerie figure { margin: 0; display: grid; gap: .3rem; }
.bi-galerie .bi-datei { padding: 0; overflow: hidden; border-radius: 10px; }
.bi-galerie .bi-datei img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; transition: transform .2s; }
.bi-galerie .bi-datei:hover img { transform: scale(1.03); }
.bi-galerie figcaption { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--schrift-leise); }
.bi-galerie figcaption form { margin: 0; }
.bi-galerie figcaption .bi-weg { padding: .05rem .45rem; min-height: 0; }
body.bi-offen { overflow: hidden; }
.bi-gross { position: fixed; inset: 0; z-index: 900; background: #0c0d0f; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.bi-gross[hidden] { display: none; }
.bi-grosskopf { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; color: #eee; }
.bi-grosskopf .leise { color: #aaa; }
.bi-grossflaeche { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 1rem 1rem; }
.bi-zoomrahmen { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 10px; }
.bi-zoomrahmen img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bi-grossflaeche.pdf iframe { width: min(100%, 72rem); height: 100%; border: 0; border-radius: 10px; background: #fff; }
.bi-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%;
  font-size: 1.8rem; line-height: 1; padding: 0; background: rgb(255 255 255 / .12); color: #fff; border: 0; }
.bi-pfeil.links { left: 1rem; } .bi-pfeil.rechts { right: 1rem; }
.bi-pfeil[hidden] { display: none; }
@media (max-width: 640px) {
  .bi-nummer strong { font-size: 1.7rem; }
  .bi-formular { grid-template-columns: minmax(0, 1fr); }
}
.namensschild .ordnen .kopfknopf,
.ortsblock > summary > .namensschild .ordnen a.kopfknopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  width: auto; height: 2.3rem; min-width: 2.3rem; padding: 0 .7rem; border-radius: 10px;
  border: 1px solid var(--linie); background: var(--karte); color: var(--schrift);
  font-size: .86rem; font-weight: 600; text-decoration: none;
}
.ortsblock > summary > .namensschild .ordnen a.kopfknopf:hover,
.namensschild .ordnen .kopfknopf:hover { border-color: var(--gelb); color: var(--schrift); background: var(--karte-hell); }
.namensschild .ordnen:has(.kopfknopf) { gap: .45rem; }
.namensschild .ordnen .kopfknopf.info { border-color: color-mix(in srgb, var(--gelb) 55%, var(--linie)); }
@media (max-width: 640px) { .namensschild .ordnen .kopfknopf .wort { display: none; } }
.bi-oneu { position: relative; }
.bi-oneu[open] form { margin-top: .5rem; gap: .4rem; }
.bi-oneu form input { min-width: 14rem; }
.bi-oaendern summary { cursor: pointer; color: var(--schrift-leise); display: inline-flex; gap: .3rem; align-items: center; }
.bi-oaendern form { margin-top: .5rem; gap: .4rem; }
.bi-ogruppe { display: flex; align-items: center; gap: .5rem; margin: 1.1rem 0 .6rem; font-size: 1rem; }
.bi-ogruppe a { display: inline-flex; gap: .4rem; align-items: center; color: var(--schrift); }
.bi-ordnerwahl { display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem; color: var(--gelb-schrift); cursor: pointer; }
.bi-verschieben select { font-size: .75rem; padding: .1rem .3rem; max-width: 8.5rem; min-height: 0; height: 1.7rem; }
.bi-gross:fullscreen, .bi-gross:-webkit-full-screen { width: 100vw; height: 100vh; background: #0c0d0f; }
.bi-grossflaeche { padding: 0 .5rem .5rem; }
.bi-zoomrahmen { position: absolute; inset: 0 .5rem .5rem; width: auto; height: auto; display: block; }
.bi-galerie { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
.bi-galerie figcaption { flex-wrap: wrap; gap: .3rem .5rem; }
.bi-zoomrahmen img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.bi-geaendert { margin: .2rem 0 0; font-style: italic; }
.bi-naendern { margin-top: .3rem; }
.bi-naendern > summary { cursor: pointer; color: var(--schrift-leise); display: inline-flex; gap: .3rem; align-items: center; list-style: none; }
.bi-naendern > summary::-webkit-details-marker { display: none; }
.bi-naendern[open] > summary { color: var(--gelb-schrift); }
.bi-naendern textarea { width: 100%; resize: vertical; margin: .4rem 0; }
.bi-pfadleiste { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 .6rem; font-size: .92rem; }
.bi-pfadleiste a { color: var(--schrift-leise); }
.bi-pfadleiste a.an { color: var(--schrift); font-weight: 700; }
.bi-oben { display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; align-items: start; }
.bi-projekt { padding: 0; overflow: hidden; }
.bi-block { padding: 1.15rem 1.3rem 1.2rem; }
.bi-block + .bi-block { border-top: 1px solid var(--linie-leise); background: color-mix(in srgb, var(--karte-hell) 35%, transparent); }
.bi-etikett { display: flex; align-items: center; gap: .45rem; margin: 0 0 .8rem; font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--schrift-leise); }
.bi-etikett .sinnbild { color: var(--gelb-schrift); }
.bi-zeile { display: flex; gap: .65rem; align-items: flex-start; margin: 0 0 .6rem; font-size: .93rem; line-height: 1.4; color: var(--schrift); text-decoration: none; }
.bi-zeile > .sinnbild { flex: none; margin-top: .12rem; color: var(--schrift-leise); }
.bi-zeile > span { min-width: 0; overflow-wrap: anywhere; }
a.bi-zeile:hover { color: var(--gelb-schrift); }
a.bi-zeile:hover > .sinnbild { color: var(--gelb-schrift); }
.bi-anschrift small { display: block; font-size: .78rem; color: var(--gelb-schrift); margin-top: .1rem; }
.bi-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.bi-chip { font-size: .78rem; padding: .12rem .5rem; border-radius: 999px; background: var(--karte-hell); border: 1px solid var(--linie-leise); white-space: nowrap; }
.bi-chip.aus { opacity: .5; text-decoration: line-through; }
.bi-firmenname { margin: 0 0 .7rem; font-size: 1.08rem; font-weight: 600; }
.bi-mehr { display: inline-block; margin-top: .2rem; }
.bi-leute { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: .8rem; }
.bi-mensch { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1rem 1rem .9rem; border-radius: 12px;
  background: var(--karte-hell); border: 1px solid var(--linie-leise); min-width: 0; }
.bi-mensch.mit-zugang { border-color: color-mix(in srgb, var(--gelb) 35%, var(--linie-leise)); }
.bi-mkopf { display: flex; gap: .75rem; align-items: flex-start; }
.bi-mname { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.bi-mname > strong, .bi-mname > a { font-size: 1rem; font-weight: 600; line-height: 1.25; color: var(--schrift); }
.bi-mname > a { text-decoration: none; border-bottom: 1px dashed color-mix(in srgb, var(--gelb) 70%, transparent); }
.bi-mname > a:hover { color: var(--gelb-schrift); }
.bi-rolle { font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: .1rem .5rem; border-radius: 999px;
  background: color-mix(in srgb, var(--schrift) 9%, transparent); color: var(--schrift-leise); }
.bi-mnotiz { margin: -.3rem 0 0; }
.bi-mwege { display: flex; flex-direction: column; gap: .35rem; }
.bi-mwege a { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--gelb-schrift); text-decoration: none; min-width: 0; }
.bi-mwege a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bi-mwege a .sinnbild { flex: none; color: var(--schrift-leise); }
.bi-mwege a:hover span { text-decoration: underline; }
.bi-mzugang { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; margin-top: auto; padding-top: .6rem;
  border-top: 1px solid var(--linie-leise); font-size: .8rem; color: var(--schrift); text-decoration: none; }
.bi-mzugang:hover > span:nth-child(2) { color: var(--gelb-schrift); }
.bi-mzugang .punkt { width: .5rem; height: .5rem; border-radius: 50%; background: var(--schrift-leise); }
.bi-mzugang .punkt.gut { background: var(--gut); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gut) 22%, transparent); }
.bi-mzugang .leise { margin-left: auto; }
.bi-mensch:has(.bi-maendern[open]) { grid-column: 1 / -1; }
.bi-mkopf { padding-right: 2rem; }
.bi-maendern > summary { position: absolute; top: .75rem; right: .7rem; list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 8px; color: var(--schrift-leise); }
.bi-maendern > summary::-webkit-details-marker { display: none; }
.bi-maendern > summary:hover, .bi-maendern[open] > summary { color: var(--gelb-schrift); background: var(--karte); }
.bi-maendern > form { margin: 0; padding-top: .8rem; border-top: 1px solid var(--linie-leise); }
.bi-mneu { grid-column: 1 / -1; border: 1.5px dashed var(--linie); border-radius: 12px; display: flex; flex-direction: column; }
.bi-mneu > summary { list-style: none; cursor: pointer; flex: 1; display: flex; gap: .45rem; align-items: center; justify-content: center;
  padding: .65rem; color: var(--gelb-schrift); font-size: .92rem; }
.bi-mneu > summary::-webkit-details-marker { display: none; }
.bi-mneu:hover { border-color: var(--gelb-schrift); }
.bi-mneu[open] { border-style: solid; padding: 0 1rem 1rem; }
.bi-mneu[open] > summary { flex: none; justify-content: flex-start; padding: .8rem 0 0; }
#lautsprecher .bi-mneu { margin-top: .4rem; }
@media (max-width: 1100px) {
  .bi-oben, .bi-unten { grid-template-columns: minmax(0, 1fr); }
}
.bi-oleiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 .9rem;
  padding: .55rem .7rem; border-radius: 12px; background: var(--karte-hell); border: 1px solid var(--linie-leise); }
.bi-oleiste .bi-pfadleiste { margin: 0; font-size: .95rem; }
.bi-pfadleiste a { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.bi-pfadleiste a:hover { color: var(--gelb-schrift); }
.bi-hoch { height: 1.9rem; padding: 0 .65rem 0 .5rem; justify-content: center; border-radius: 8px; font-size: 1.15rem; line-height: 1;
  background: var(--karte); color: var(--schrift) !important; margin-right: .3rem; gap: .3rem !important; }
.bi-hoch span { font-size: .85rem; }
.bi-hoch:hover { background: var(--gelb); color: #1b1d1f !important; }
.bi-owerkzeug { display: flex; gap: .45rem; align-items: center; }
.bi-owerkzeug details { position: relative; }
.bi-owerkzeug summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.bi-owerkzeug summary::-webkit-details-marker { display: none; }
.bi-oform { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 6; width: min(20rem, 80vw); display: grid; gap: .45rem;
  padding: .85rem; border-radius: 12px; background: var(--karte); border: 1px solid var(--linie); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.bi-oform input { width: 100%; }
#bilder .bi-ablage { margin-bottom: 1.1rem; }
#bilder .bi-feld { padding: .6rem .9rem; }
#bilder .bi-feldtext { display: block; }
#bilder .bi-feldtext .leise { margin-left: .3rem; }
.bi-okacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: .9rem; margin: 0 0 1.3rem; }
.bi-okachel { display: flex; flex-direction: column; gap: .15rem; padding: .5rem .5rem .7rem; border-radius: 14px; text-decoration: none; color: var(--schrift);
  background: var(--karte-hell); border: 1px solid var(--linie-leise); transition: border-color .15s, transform .15s; }
.bi-okachel:hover { border-color: var(--gelb); transform: translateY(-2px); }
.bi-okachel.ablage-drueber { border-color: var(--gelb); background: color-mix(in srgb, var(--gelb) 12%, var(--karte-hell)); }
.bi-odeckel { display: grid; gap: 3px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: .45rem;
  background: color-mix(in srgb, var(--gelb) 8%, var(--karte)); }
.bi-odeckel img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; min-height: 0; }
.bi-odeckel-2 { grid-template-columns: 1fr 1fr; }
.bi-odeckel-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.bi-odeckel-3 img:first-child { grid-row: 1 / 3; }
.bi-oleer { display: grid; place-items: center; color: var(--gelb-schrift); opacity: .7; }
.bi-oname { display: flex; align-items: center; gap: .4rem; padding: 0 .25rem; min-width: 0; }
.bi-oname .sinnbild { flex: none; color: var(--gelb-schrift); }
.bi-oname strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bi-ozahl { padding: 0 .25rem; font-size: .78rem; color: var(--schrift-leise); }
.bi-galerie figure { position: relative; }
.bi-galerie figcaption { font-size: .75rem; }
.bi-fmenue { position: absolute; top: .4rem; right: .4rem; z-index: 2; }
.bi-fmenue > summary { list-style: none; cursor: pointer; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 8px;
  font-size: 1.1rem; line-height: 1; color: #fff; background: rgba(15,16,18,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .15s; }
.bi-fmenue > summary::-webkit-details-marker { display: none; }
.bi-galerie figure:hover .bi-fmenue > summary, .bi-fmenue[open] > summary, .bi-fmenue > summary:focus-visible { opacity: 1; }
@media (hover: none) { .bi-fmenue > summary { opacity: 1; } }
.bi-fmenue-inhalt { position: absolute; right: 0; top: calc(100% + .3rem); width: 14rem; display: grid; gap: .5rem; padding: .75rem;
  border-radius: 10px; background: var(--karte); border: 1px solid var(--linie); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.bi-fmenue-inhalt form { margin: 0; display: grid; gap: .25rem; }
.bi-fmenue-inhalt select { width: 100%; max-width: none; height: auto; font-size: .85rem; padding: .3rem .4rem; }
.bi-fmenue-inhalt a { display: inline-flex; gap: .35rem; align-items: center; }
.bi-fmenue-inhalt .bi-weg { width: 100%; }
.bi-editor { border: 1px solid var(--linie); border-radius: 10px; background: var(--eingabe, var(--karte-hell)); margin-bottom: .55rem; }
.bi-editor:focus-within { border-color: var(--gelb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gelb) 18%, transparent); }
.bi-eleiste { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; padding: .3rem .4rem; border-bottom: 1px solid var(--linie-leise); }
.bi-ek { min-width: 2rem; height: 2rem; min-height: 0; padding: 0 .4rem; border: 0; border-radius: 7px; background: transparent; color: var(--schrift);
  font-size: .95rem; line-height: 1; display: inline-grid; place-items: center; cursor: pointer; box-shadow: none; }
.bi-ek:hover { background: color-mix(in srgb, var(--schrift) 10%, transparent); }
.bi-ek.an { background: color-mix(in srgb, var(--gelb) 25%, transparent); color: var(--gelb-schrift); }
.bi-efarbe { width: 1rem; height: 1rem; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.bi-emarker { background: rgba(255, 214, 0, .55); color: var(--schrift); padding: 0 .2rem; border-radius: 3px; font-size: .85rem; }
.bi-eweg { text-decoration: line-through; text-decoration-color: var(--schlecht, #e5484d); font-family: serif; }
.bi-etrenn { width: 1px; height: 1.2rem; background: var(--linie); margin: 0 .3rem; }
.bi-efeld { min-height: 4.6rem; padding: .7rem .85rem; outline: none; line-height: 1.5; overflow-wrap: anywhere; cursor: text; white-space: pre-wrap; tab-size: 4; }
.bi-efeld.bi-eleer::before { content: attr(data-platzhalter); color: var(--schrift-leise); font-style: italic; pointer-events: none; }
.bi-efeld.fehlt.bi-eleer::before { color: var(--schlecht, #e5484d); }
.bi-naendern .bi-efeld { min-height: 3rem; }
.bi-notizen { gap: .7rem; }
.bi-notizen li.bi-notiz { position: relative; border: 1px solid var(--linie-leise); border-left: 3px solid var(--linie);
  border-radius: 10px; padding: .75rem 1rem .85rem; background: var(--karte-hell); }
.bi-notizen li.bi-notiz.wichtig { border-left-color: var(--achtung); background: color-mix(in srgb, var(--achtung) 7%, var(--karte-hell)); }
.bi-notiz .bi-nkopf { flex-wrap: wrap; gap: .2rem .45rem; margin-bottom: .35rem; padding-right: 4.6rem; min-height: 1.6rem; }
.bi-notiz .bi-geaendert { margin: 0; font-style: italic; }
.bi-notiz .bi-ntext { margin: 0; font-size: .95rem; }
.bi-nknopf { list-style: none; width: 2rem; height: 2rem; min-height: 0; padding: 0; display: grid; place-items: center; border-radius: 8px;
  border: 1px solid transparent; background: transparent; color: var(--schrift-leise); cursor: pointer; font-size: 1.1rem; line-height: 1; box-shadow: none; }
.bi-nknopf::-webkit-details-marker { display: none; }
.bi-nknopf:hover { background: var(--karte); border-color: var(--linie); color: var(--schrift); }
.bi-nweg { position: absolute; top: .55rem; right: .55rem; margin: 0; }
.bi-nweg .bi-nknopf:hover { color: var(--schlecht); }
.bi-notiz .bi-naendern { margin: 0; }
.bi-notiz .bi-naendern > summary { position: absolute; top: .55rem; right: 2.75rem; justify-content: center; }
.bi-notiz .bi-naendern[open] > summary { color: var(--gelb-schrift); background: var(--karte); border-color: var(--linie); }
.bi-notiz:has(.bi-naendern[open]) { border-left-color: var(--gelb); }
.bi-notiz:has(.bi-naendern[open]) > .bi-ntext { display: none; }
.bi-notiz .bi-naendern[open] form { margin-top: .2rem; }
.bi-notiz .bi-naendern .bi-editor { margin: 0 0 .55rem; }
.bi-notiz .bi-naendern .bi-efeld { min-height: 5rem; }
.bi-oben { grid-template-columns: minmax(0, 1fr); }
.bi-projekt { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.bi-projekt .bi-block { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.6rem; row-gap: .35rem; padding: .8rem 1.2rem .85rem; }
.bi-projekt .bi-block + .bi-block { border-top: 0; border-left: 1px solid var(--linie-leise); }
.bi-projekt .bi-etikett { flex-basis: 100%; margin: 0 0 .15rem; }
.bi-projekt .bi-zeile { margin: 0; align-items: center; }
.bi-projekt .bi-zeile > .sinnbild { margin-top: 0; }
.bi-projekt .bi-anschrift small { display: inline; margin: 0 0 0 .45rem; }
.bi-projekt .bi-firmenname { margin: 0; font-size: 1rem; }
.bi-projekt .bi-mehr { margin: 0; }
.bi-projekt .bi-chips { gap: .25rem; }
.bi-projekt .bi-chip { padding: .08rem .45rem; font-size: .76rem; }
@media (max-width: 900px) {
  .bi-projekt { grid-template-columns: minmax(0, 1fr); }
  .bi-projekt .bi-block + .bi-block { border-left: 0; border-top: 1px solid var(--linie-leise); }
}
#bauleiter { position: relative; }
.bi-hinzu > summary { position: absolute; top: 1.15rem; right: 1.2rem; list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem;
  font-size: .85rem; color: var(--schrift-leise); padding: .3rem .6rem; border-radius: 8px; border: 1px solid transparent; }
.bi-hinzu > summary::-webkit-details-marker { display: none; }
.bi-hinzu > summary:hover, .bi-hinzu[open] > summary { color: var(--gelb-schrift); border-color: var(--linie); background: var(--karte-hell); }
.bi-hinzu[open] { margin: 0 0 1rem; padding: .2rem 1rem 1rem; border: 1px solid var(--linie); border-radius: 12px; background: var(--karte-hell); }
.bi-hinzu .bi-formular { margin-top: .6rem; }
a.bi-chip { color: var(--schrift); text-decoration: none; transition: border-color .12s, color .12s, background .12s; }
a.bi-chip:hover { border-color: var(--gelb); color: var(--gelb-schrift); background: color-mix(in srgb, var(--gelb) 10%, var(--karte-hell)); }
.bi-chip { display: inline-flex; align-items: center; gap: .35rem; }
.bi-chip.an { border-color: color-mix(in srgb, var(--gut) 55%, transparent); background: color-mix(in srgb, var(--gut) 14%, var(--karte-hell)); }
.bi-chip.weg { border-color: color-mix(in srgb, var(--schlecht) 60%, transparent); background: color-mix(in srgb, var(--schlecht) 16%, var(--karte-hell)); }
.bi-cpunkt { width: .45rem; height: .45rem; border-radius: 50%; flex: none; }
.bi-chip.an .bi-cpunkt { background: var(--gut); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gut) 25%, transparent); }
.bi-chip.weg .bi-cpunkt { background: var(--schlecht); box-shadow: 0 0 0 2px color-mix(in srgb, var(--schlecht) 25%, transparent); }
.bi-projekt .bi-block { row-gap: .8rem; column-gap: 2rem; padding: 1.05rem 1.35rem 1.15rem; }
.bi-projekt .bi-etikett { margin-bottom: .1rem; }
.bi-projekt .bi-chips { gap: .45rem; }
.bi-projekt .bi-chip { padding: .18rem .6rem; }
.bi-efeld::selection, .bi-efeld ::selection { background: rgba(62, 142, 247, .32); }
