:root {
  --grund: #ffffff;
  --seite: #f7f7f5;
  --flaeche: #ffffff;
  --flaeche-2: #f1f1ef;
  --feld: #fbfbfa;
  --text: #37352f;
  --leise: #787774;
  --linie: #e9e9e7;
  --akzent: #4b6fe0;
  --akzent-text: #ffffff;
  --akzent-hell: #e7ecfb;
  --plus: #2f8a48;
  --plus-hell: #dff4e4;
  --warnung: #93650c;
  --warnung-hell: #fbf3d3;
  --fehler: #c93a34;
  --fehler-hell: #fde4e2;
  --radius: 6px;
  --radius-gross: 8px;
  --p0: #e4eafb; --p0t: #3553b8;
  --p1: #dff4e4; --p1t: #2f8a48;
  --p2: #fbe9d9; --p2t: #b0591b;
  --p3: #f1e4f8; --p3t: #8034a8;
  --p4: #dcf5f8; --p4t: #13808f;
  --p5: #fbf3d3; --p5t: #8a6d0b;
}

:root { color-scheme: light; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --grund: #14121f;
  --seite: #1c1930;
  --flaeche: #1c1930;
  --flaeche-2: #241f35;
  --feld: #19162a;
  --text: #f2efe6;
  --leise: #9a93b5;
  --linie: #2c2640;
  --akzent: #7d95ee;
  --akzent-text: #14121f;
  --akzent-hell: rgba(75, 111, 224, .2);
  --plus: #6fd98b;
  --plus-hell: rgba(76, 196, 106, .16);
  --warnung: #efd26a;
  --warnung-hell: rgba(232, 198, 58, .15);
  --fehler: #f07a74;
  --fehler-hell: rgba(224, 69, 63, .17);
  --p0: rgba(75, 111, 224, .22); --p0t: #a3b5f3;
  --p1: rgba(76, 196, 106, .2); --p1t: #8fe0a4;
  --p2: rgba(232, 135, 58, .2); --p2t: #f2b27f;
  --p3: rgba(162, 75, 209, .22); --p3t: #d3a3ec;
  --p4: rgba(41, 198, 217, .2); --p4t: #86dfe9;
  --p5: rgba(232, 198, 58, .18); --p5t: #efd67a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --grund: #14121f;
    --seite: #1c1930;
    --flaeche: #1c1930;
    --flaeche-2: #241f35;
    --feld: #19162a;
    --text: #f2efe6;
    --leise: #9a93b5;
    --linie: #2c2640;
    --akzent: #7d95ee;
    --akzent-text: #14121f;
    --akzent-hell: rgba(75, 111, 224, .2);
    --plus: #6fd98b;
    --plus-hell: rgba(76, 196, 106, .16);
    --warnung: #efd26a;
    --warnung-hell: rgba(232, 198, 58, .15);
    --fehler: #f07a74;
    --fehler-hell: rgba(224, 69, 63, .17);
    --p0: rgba(75, 111, 224, .22); --p0t: #a3b5f3;
    --p1: rgba(76, 196, 106, .2); --p1t: #8fe0a4;
    --p2: rgba(232, 135, 58, .2); --p2t: #f2b27f;
    --p3: rgba(162, 75, 209, .22); --p3t: #d3a3ec;
    --p4: rgba(41, 198, 217, .2); --p4t: #86dfe9;
    --p5: rgba(232, 198, 58, .18); --p5t: #efd67a;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 15px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.2; font-weight: 650; }
h1 { font-size: 1.9rem; letter-spacing: -.02em; }
h2 { font-size: 1.05rem; }
h3 { font-size: .95rem; margin-top: .5rem; }
p { margin: 0 0 .75rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; }
.leise { color: var(--leise); }
.klein { font-size: .85rem; }
.fehler { color: var(--fehler); margin: .6rem 0 0; font-size: .9rem; }
.zahl { font-variant-numeric: tabular-nums; text-align: end; white-space: nowrap; }

button, input, select, textarea { font: inherit; color: inherit; }
button {
  cursor: pointer;
  border: 1px solid var(--linie);
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: .4rem .8rem;
  font-weight: 500;
  font-size: .92rem;
  line-height: 1.35;
  transition: background .12s ease, border-color .12s ease;
}
button:hover { background: var(--flaeche-2); }
button:disabled { opacity: .45; cursor: default; }
button.haupt { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); font-weight: 600; }
button.haupt:hover { filter: brightness(.94); background: var(--akzent); }
button.gefahr { color: var(--fehler); }
button.gefahr:hover { background: var(--fehler-hell); border-color: transparent; }
button.schlicht { border-color: transparent; background: transparent; color: var(--leise); }
button.schlicht:hover { background: var(--flaeche-2); color: var(--text); }
button.breit { width: 100%; padding: .6rem 1rem; }
button.klein { font-size: .82rem; padding: .25rem .55rem; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--linie);
  background: var(--feld);
  border-radius: var(--radius);
  padding: .45rem .6rem;
  min-height: 2.35rem;
  transition: border-color .12s ease, box-shadow .12s ease;
}
select {
  appearance: none;
  padding-inline-end: 1.8rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--leise) 50%), linear-gradient(135deg, var(--leise) 50%, transparent 50%);
  background-position: calc(100% - .95rem) 55%, calc(100% - .68rem) 55%;
  background-size: .27rem .27rem;
  background-repeat: no-repeat;
}
textarea { min-height: 4.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-hell); background-color: var(--flaeche); }
button:focus-visible, .zeile:focus-visible, .chip:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
input:disabled, select:disabled, textarea:disabled { background-color: var(--seite); color: var(--text); opacity: 1; }
label { display: block; font-size: .78rem; font-weight: 500; color: var(--leise); margin-bottom: .7rem; }
label > input, label > select, label > textarea { margin-top: .25rem; color: var(--text); font-size: .95rem; }
.pw-huelle { position: relative; display: block; margin-top: .25rem; }
.pw-huelle > input { width: 100%; margin: 0; padding-inline-end: 2.7rem; color: var(--text); font-size: .95rem; }
.pw-huelle > input::-ms-reveal { display: none; }
button.pw-auge { position: absolute; top: 50%; inset-inline-end: .3rem; transform: translateY(-50%); width: 2.1rem; height: 2.1rem; min-height: 0; padding: 0; display: grid; place-items: center; border-radius: var(--radius); }
.pw-auge svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auswahl-flaeche { position: fixed; inset: auto; margin: 0; padding: .3rem; min-width: 9rem; max-width: calc(100vw - 16px); max-height: min(340px, 60vh); overflow-y: auto; overscroll-behavior: contain; background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); border-radius: calc(var(--radius) + 4px); box-shadow: 0 14px 36px rgba(15, 15, 15, .2); font-size: .93rem; z-index: 1000; animation: auswahl-auf .12s ease-out; }
@keyframes auswahl-auf { from { opacity: 0; transform: translateY(-3px); } }
.auswahl-eintrag { position: relative; padding-block: .48rem; padding-inline: 1.9rem .75rem; border-radius: var(--radius); cursor: pointer; line-height: 1.3; user-select: none; }
.auswahl-eintrag.aktiv { background: var(--flaeche-2); }
.auswahl-eintrag[aria-selected="true"] { font-weight: 600; }
.auswahl-eintrag[aria-selected="true"]::before { content: ""; position: absolute; inset-inline-start: .7rem; top: 50%; width: .65rem; height: .36rem; border: solid var(--akzent); border-width: 0 0 2px 2px; transform: translateY(-75%) rotate(-45deg); }
.auswahl-eintrag[aria-disabled="true"] { opacity: .45; cursor: default; }
.auswahl-gruppe { padding-block: .7rem .25rem; padding-inline: .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--leise); user-select: none; }
[role="group"]:first-child > .auswahl-gruppe { padding-block-start: .35rem; }
[role="group"] + [role="group"], .auswahl-eintrag + [role="group"] { border-block-start: 1px solid var(--linie); margin-block-start: .3rem; }
@media (prefers-reduced-motion: reduce) { .auswahl-flaeche { animation: none; } }
@media (hover: none) { .auswahl-eintrag { padding-block: .7rem; } }
input[data-datum] { padding-inline-end: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b94' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .65rem center; background-size: 1.1rem; font-variant-numeric: tabular-nums; }
input[data-datum].ungueltig { border-color: var(--fehler); box-shadow: 0 0 0 3px var(--fehler-hell); }
.kalender { position: fixed; inset: auto; margin: 0; padding: .6rem .6rem .5rem; width: 18.5rem; max-width: calc(100vw - 16px); overflow: auto; background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); border-radius: calc(var(--radius) + 6px); box-shadow: 0 14px 36px rgba(15, 15, 15, .2); z-index: 1000; animation: auswahl-auf .12s ease-out; }
.k-kopf { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .35rem; }
.k-titel { font-size: .95rem; font-weight: 600; }
.k-titel::first-letter { text-transform: uppercase; }
.kalender .k-pfeil { width: 2.1rem; height: 2.1rem; min-height: 0; padding: 0; font-size: 1.35rem; line-height: 1; border-radius: var(--radius); }
[dir="rtl"] .kalender .k-pfeil { transform: scaleX(-1); }
.k-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.k-wt { font-size: .7rem; color: var(--leise); text-align: center; padding: .2rem 0 .3rem; }
.kalender .k-tag { aspect-ratio: 1; min-height: 0; padding: 0; border: 0; border-radius: var(--radius); font-size: .88rem; color: var(--text); font-variant-numeric: tabular-nums; }
.kalender .k-tag:hover:not(:disabled) { background: var(--flaeche-2); color: var(--text); }
.kalender .k-tag.aussen { color: var(--leise); opacity: .6; }
.kalender .k-tag.fokus { background: var(--flaeche-2); }
.kalender .k-tag.heute { box-shadow: inset 0 0 0 1.5px var(--akzent); font-weight: 600; }
.kalender .k-tag.gewaehlt, .kalender .k-tag.gewaehlt:hover { background: var(--akzent); color: #fff; font-weight: 600; opacity: 1; }
.kalender .k-tag:disabled { opacity: .28; cursor: default; }
.k-fuss { display: flex; justify-content: space-between; margin-top: .45rem; padding-top: .4rem; border-top: 1px solid var(--linie); }
@media (hover: none) { .kalender { width: 20.5rem; } .k-tag { font-size: .95rem; } }
@media (prefers-reduced-motion: reduce) { .kalender { animation: none; } }
label.haken { display: flex; gap: .55rem; align-items: center; color: var(--text); font-size: .92rem; }
label.haken input { width: 1rem; height: 1rem; min-height: 0; margin: 0; accent-color: var(--akzent); }

@font-face { font-family: "Manjari"; font-style: normal; font-weight: 400; font-display: swap; src: url("schrift/manjari-400.woff2") format("woff2"); }
@font-face { font-family: "Manjari"; font-style: normal; font-weight: 700; font-display: swap; src: url("schrift/manjari-700.woff2") format("woff2"); }
.marke { display: inline-flex; align-items: center; gap: .45rem; font-family: "Manjari", system-ui, sans-serif; font-weight: 700; font-size: 1.12rem; line-height: 1; letter-spacing: 0; }
.marke-zeichen {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  background: url(icon.svg?v=2) center / contain no-repeat;
}

.anmeldung { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--seite); }
.anmelde-karte {
  width: 100%;
  max-width: 400px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  padding: 2rem 1.8rem 1.6rem;
}
.anmelde-karte .marke { margin-bottom: 1.4rem; }
.anmelde-karte h1 { font-size: 1.5rem; margin-bottom: .3rem; }
.anmelde-karte p.leise { margin-bottom: 1.3rem; }

.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 1.1rem 1.2rem; }
.schmal { width: 100%; max-width: 400px; }

.rahmen { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.seite {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  background: var(--seite);
  border-inline-end: 1px solid var(--linie);
  padding: .9rem .6rem;
}
.seite-kopf { display: flex; flex-direction: column; gap: .5rem; padding: .2rem .5rem .6rem; }
.firma { font-size: .85rem; color: var(--leise); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.firma select { font-size: .85rem; min-height: 2rem; padding-block: .2rem; padding-inline: .5rem 1.7rem; background-color: transparent; }
.luecke { flex: 1; }

.reiter { display: flex; flex-direction: column; gap: 1px; }
.reiter button {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--leise);
  padding: .38rem .55rem;
  font-weight: 500;
  text-align: start;
  border-radius: var(--radius);
}
.reiter button:hover { background: var(--flaeche-2); color: var(--text); }
.reiter button.aktiv { background: var(--flaeche-2); color: var(--text); font-weight: 600; }
.reiter svg { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.seite-fuss { margin-top: auto; display: flex; align-items: center; gap: .4rem; padding: .5rem .3rem 0; border-top: 1px solid var(--linie); }
.wer { display: flex; align-items: center; gap: .5rem; min-width: 0; flex: 1; padding: .3rem .35rem; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); text-align: start; }
.wer:hover { background: var(--flaeche-2); }
.wer .wer-name { flex: 1; }
.wer .symbol-huelle svg { width: 1rem; height: 1rem; fill: none; stroke: var(--leise); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wer .kreis { width: 1.6rem; height: 1.6rem; font-size: .66rem; border-radius: 4px; }
.wer-name { font-size: .85rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bereich { min-width: 0; padding: 2.4rem clamp(16px, 5vw, 64px) 3rem; }
.seitentitel { max-width: 960px; margin: 0 auto 1.2rem; display: flex; align-items: center; gap: .6rem; }
.seitentitel svg { width: 1.75rem; height: 1.75rem; flex: none; fill: none; stroke: var(--leise); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.inhalt { max-width: 960px; margin: 0 auto; }

@media (max-width: 760px) {
  .rahmen { display: block; }
  .seite {
    position: sticky;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: .6rem;
    padding: .55rem 16px;
    padding-top: max(.55rem, env(safe-area-inset-top));
    border-inline-end: 0;
    border-bottom: 1px solid var(--linie);
    z-index: 10;
  }
  .seite-kopf { flex-direction: row; align-items: center; gap: .6rem; padding: 0; min-width: 0; flex: 1; }
  .seite-fuss { margin: 0; padding: 0; border: 0; flex: none; }
  .wer-name, .wer .symbol-huelle { display: none; }
  .reiter {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    padding: .3rem 4px max(.4rem, env(safe-area-inset-bottom));
    background: var(--seite);
    border-top: 1px solid var(--linie);
  }
  .reiter button { flex: 1; flex-direction: column; align-items: center; gap: .1rem; padding: .3rem .1rem; font-size: .64rem; text-align: center; }
  .reiter button.aktiv { background: transparent; color: var(--akzent); }
  .reiter svg { width: 1.35rem; height: 1.35rem; }
  .reiter button { position: relative; }
  .reiter .reiter-zahl { position: absolute; top: .05rem; inset-inline-start: calc(50% + .35rem); margin: 0; font-size: .6rem; min-width: 1.1rem; padding: 0 .3rem; }
  .bereich { padding: 1.2rem 16px 6.5rem; }
  h1, .seitentitel { font-size: 1.5rem; }
}

.held {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .6rem 2rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  background: var(--seite);
  padding: 1rem 1.2rem;
  margin-bottom: 1.1rem;
}
.held-kopf { width: 100%; display: flex; align-items: center; gap: .5rem; }
.held-name { flex: 1; font-size: .8rem; font-weight: 500; color: var(--leise); }
.held-kopf select { width: auto; min-height: 1.9rem; padding-block: .15rem; padding-inline: .55rem 1.7rem; font-size: .85rem; background-color: var(--flaeche); }
.held-wert { font-size: clamp(1.9rem, 5vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.held-teile { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding-bottom: .25rem; }
.held-teil { display: flex; flex-direction: column; padding-inline-start: .8rem; border-inline-start: 2px solid var(--linie); }
.held-teil:nth-child(1) { border-inline-start-color: var(--p1t); }
.held-teil:nth-child(2) { border-inline-start-color: var(--p2t); }
.held-teil:nth-child(3) { border-inline-start-color: var(--p0t); }
.held-teil span { font-size: .75rem; color: var(--leise); }
.held-teil strong { font-size: .98rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.leiste { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.leiste select { width: auto; }
.leiste .luecke { flex: 1; }
.chips { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.chip { border-color: transparent; background: transparent; color: var(--leise); padding: .3rem .65rem; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.chip:hover { background: var(--flaeche-2); color: var(--text); }
.chip.aktiv { background: var(--flaeche-2); color: var(--text); font-weight: 600; }
.zaehler { background: var(--p5); color: var(--p5t); border-radius: 4px; font-size: .7rem; font-weight: 600; min-width: 1.15rem; padding: 0 .3rem; text-align: center; }

.liste { border-top: 1px solid var(--linie); }
.zeile {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: .55rem .5rem;
  border-bottom: 1px solid var(--linie);
  cursor: pointer;
  transition: background .1s ease;
}
.zeile:hover { background: var(--seite); }
.zeile.ohne-klick { cursor: default; }
.zeile.ohne-bild { grid-template-columns: minmax(0, 1fr) auto; }
.zeile.oben { align-items: start; }
.zeile .titel { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.zeile .unter { font-size: .8rem; font-weight: 400; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile .rechts { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; }
.zeile .betrag { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.zeile .betrag.plus { color: var(--plus); }
.zeile .marken { display: flex; gap: .25rem; justify-content: flex-end; flex-wrap: wrap; }
.zeile .marken:empty { display: none; }
.zeile .aktionen { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.dkopf .marken { display: flex; gap: .25rem; flex-wrap: wrap; }
.mitglieder { margin-top: .4rem; display: flex; flex-direction: column; gap: .15rem; white-space: normal; }
.mitglied { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 400; }
.mitglied span:first-child { overflow: hidden; text-overflow: ellipsis; }
.leer { padding: 2.5rem 1rem; text-align: center; color: var(--leise); border-bottom: 1px solid var(--linie); }

.kreis {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-weight: 600;
  font-size: .72rem;
  flex: none;
}
.kreis.f0 { background: var(--p0); color: var(--p0t); }
.kreis.f1 { background: var(--p1); color: var(--p1t); }
.kreis.f2 { background: var(--p2); color: var(--p2t); }
.kreis.f3 { background: var(--p3); color: var(--p3t); }
.kreis.f4 { background: var(--p4); color: var(--p4t); }
.kreis.f5 { background: var(--p5); color: var(--p5t); }

.marke-klein {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  padding: .05rem .4rem;
  border-radius: 4px;
  background: var(--flaeche-2);
  color: var(--leise);
  white-space: nowrap;
}
.marke-klein.gut { background: var(--p1); color: var(--p1t); }
.marke-klein.warn { background: var(--p5); color: var(--p5t); }
.marke-klein.schlecht { background: var(--fehler-hell); color: var(--fehler); }
.marke-klein.info { background: var(--p0); color: var(--p0t); }
.ampel { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; flex: none; }
.ampel.gruen { background: var(--p1t); }
.ampel.gelb { background: var(--p5t); }
.ampel.rot { background: var(--fehler); }
.ampel.info { background: var(--p0t); }
.monats-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.monat-karte { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; min-width: 0; padding: .75rem .85rem; border: 1px solid var(--linie); border-inline-start-width: 3px; border-radius: var(--radius-gross); background: var(--flaeche); color: inherit; font: inherit; text-align: start; cursor: pointer; }
.monat-karte:hover { background: var(--flaeche-2); }
.monat-karte.ampel-gruen { border-inline-start-color: var(--p1t); }
.monat-karte.ampel-gelb { border-inline-start-color: var(--p5t); }
.monat-karte.ampel-rot { border-inline-start-color: var(--fehler); }
.monat-kopf { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.monat-kopf strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monat-text { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.monat-stand { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.monat-pruefungen { display: flex; flex-direction: column; margin-bottom: .9rem; }
.monat-pruefung { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); }
.monat-pruefung:last-child { border-bottom: 0; }
.monat-pruefung .ampel { align-self: flex-start; margin-top: .4rem; }
.monat-pruefung-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; font-size: .92rem; }
.monat-feld { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.monat-verlauf h3 { font-size: .9rem; margin: .2rem 0 .3rem; }
.monat-ereignis { display: flex; flex-direction: column; gap: .1rem; padding: .5rem 0; border-top: 1px solid var(--linie); }
.monat-nachricht { font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.chip.monat-filter span { margin-inline-start: .15rem; }

.dialog {
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  padding: 0;
  background: var(--flaeche);
  color: var(--text);
  box-shadow: 0 14px 44px rgba(15, 15, 15, .16), 0 0 0 1px rgba(15, 15, 15, .03);
}
.dialog::backdrop { background: rgba(15, 15, 15, .38); }
.dialog[open] { animation: auf .16s ease-out; }
@keyframes auf { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
.dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 26px); max-height: calc(100dvh - 26px); }
.dialog .dkopf { display: flex; align-items: center; gap: .6rem; padding: 1.1rem 1.3rem .5rem; }
.dialog .dkopf h2 { flex: 1; margin: 0; font-size: 1.25rem; }
.dialog .drumpf { padding: .4rem 1.3rem 1.1rem; overflow-y: auto; }
.dialog .drumpf form { max-height: none; }
.dialog .dfuss {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  padding: .75rem 1.3rem;
  padding-bottom: max(.75rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--linie);
  background: var(--seite);
}
.dialog .dfuss .luecke { flex: 1; }
.dialog .dfuss input { width: auto; min-height: 2.1rem; }
@media (max-width: 760px) {
  .dialog { width: 100vw; max-width: 100vw; max-height: 94vh; max-height: calc(100dvh - 12px); margin: auto 0 0; border-radius: 12px 12px 0 0; border-bottom: 0; }
  .dialog form { max-height: 94vh; max-height: calc(100dvh - 12px); }
  .dialog .dkopf button[aria-label="Schließen"] { min-width: 2.6rem; min-height: 2.6rem; font-size: 1.1rem; }
  .dialog .dkopf h2 { font-size: 1.1rem; }
  .dialog .dfuss button.haupt { flex: 1; }
}

.raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
.raster .breit { grid-column: 1 / -1; }
@media (max-width: 560px) { .raster { grid-template-columns: minmax(0, 1fr); } }

.posten { border: 1px solid var(--linie); border-radius: var(--radius-gross); margin: .4rem 0 .9rem; overflow: hidden; }
.posten-kopf, .posten-zeile { display: grid; gap: .4rem; align-items: center; padding: .35rem .5rem; }
.posten-zeile { border-top: 1px solid var(--linie); }
.posten-kopf { font-size: .72rem; font-weight: 500; color: var(--leise); background: var(--seite); }
.posten.beleg .posten-kopf, .posten.beleg .posten-zeile { grid-template-columns: minmax(0, 1.3fr) 5.5rem minmax(0, 1fr) 2rem; }
.posten.rechnung .posten-kopf, .posten.rechnung .posten-zeile { grid-template-columns: minmax(0, 2.4fr) 4.2rem 4rem 6rem 6.5rem 2rem; }
.posten.rechnung.mit-position .posten-kopf, .posten.rechnung.mit-position .posten-zeile { grid-template-columns: minmax(0, 2.4fr) 4rem 4.2rem 4rem 6rem 6.5rem 2rem; }
.posten.rechnung:not(.mit-position) :is(.pos-feld, .pos-kopf, .pos-hinweis) { display: none; }
.pos-hinweis { margin: 0; padding: .45rem .6rem; background: var(--seite); border-bottom: 1px solid var(--linie); }
.posten input, .posten select { min-height: 2.1rem; padding: .25rem .45rem; border-color: transparent; background-color: transparent; }
.posten input:hover, .posten select:hover { background-color: var(--flaeche-2); }
.posten input:focus, .posten select:focus { border-color: var(--akzent); background-color: var(--flaeche); }
.posten select { padding-inline-end: 1.5rem; }
.posten .weg { padding: .15rem .45rem; }
.posten-fuss { display: flex; justify-content: space-between; align-items: center; padding: .45rem .5rem; border-top: 1px solid var(--linie); background: var(--seite); }
.posten-fuss strong { font-size: 1rem; }
@media (max-width: 640px) {
  .posten-kopf { display: none; }
  .posten.beleg .posten-zeile, .posten.rechnung .posten-zeile, .posten.rechnung.mit-position .posten-zeile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posten .text-feld { grid-column: 1 / -1; }
  .posten input, .posten select { border-color: var(--linie); background-color: var(--feld); }
}

.hinweis { border-radius: var(--radius); padding: .6rem .8rem; margin-bottom: .9rem; font-size: .9rem; }
.hinweis.warn { background: var(--p5); color: var(--p5t); }
.hinweis.info { background: var(--p0); color: var(--p0t); }
.hinweis.schlecht { background: var(--fehler-hell); color: var(--fehler); }
.hinweis.gut { background: var(--p1); color: var(--p1t); }
.fon-kz { border-top: 1px solid var(--linie); margin: .2rem 0 .9rem; }
.fon-kz-zeile { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; gap: .6rem; align-items: baseline; padding: .4rem 0; border-bottom: 1px solid var(--linie); font-size: .9rem; }
.fon-kz-zeile .kz-nr { color: var(--leise); font-variant-numeric: tabular-nums; }
.fon-kz-zeile .zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fon-verlauf { margin-top: .8rem; font-size: .88rem; }
.fon-verlauf ul { list-style: none; margin: .3rem 0 0; padding: 0; }
.fon-verlauf li { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding: .35rem 0; border-bottom: 1px solid var(--linie); }
.fon-wann { font-variant-numeric: tabular-nums; }
.hinweis ul { margin: .25rem 0 0; padding-inline-start: 1.1rem; }

.ablage {
  display: grid;
  place-items: center;
  gap: .3rem;
  border: 1px dashed var(--leise);
  border-radius: var(--radius-gross);
  padding: 1.2rem 1rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--leise);
  cursor: pointer;
  background: var(--seite);
  transition: background .12s ease, border-color .12s ease;
}
.ablage:hover { border-color: var(--akzent); background: var(--akzent-hell); }
.ablage input { display: none; }
.ablage .knopf .marke-klein { background: var(--akzent); color: var(--akzent-text); font-size: .85rem; padding: .3rem .8rem; border-radius: var(--radius); }
.vorschau { max-width: 100%; max-height: 240px; border-radius: var(--radius); margin-top: .5rem; border: 1px solid var(--linie); }
.seiten-leiste { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; margin: -.4rem 0 1rem; }
.seite-bild { position: relative; display: grid; place-items: center; width: 4.2rem; height: 5.4rem; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--seite); overflow: hidden; color: var(--leise); }
.seite-bild img { width: 100%; height: 100%; object-fit: cover; }
.seite-bild .seite-pdf { font-size: .75rem; font-weight: 700; }
.seite-auf { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.seite-auf:hover { background: var(--flaeche-2); }
.seite-nr { position: absolute; bottom: .2rem; inset-inline-start: .2rem; min-width: 1.1rem; padding: 0 .25rem; border-radius: 999px; background: rgba(20, 18, 31, .75); color: #fff; font-size: .68rem; line-height: 1.1rem; text-align: center; }
.seite-weg { position: absolute; top: .15rem; inset-inline-end: .15rem; width: 1.3rem; height: 1.3rem; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 18, 31, .75); color: #fff; font-size: .8rem; line-height: 1.3rem; cursor: pointer; }
.seite-weg:hover, .seite-weg:focus-visible { background: var(--fehler); color: #fff; }
.seite-neu { display: grid; place-items: center; align-content: center; gap: .1rem; width: 4.2rem; height: 5.4rem; border: 1px dashed var(--leise); border-radius: var(--radius); color: var(--leise); cursor: pointer; text-align: center; font-size: .78rem; }
.seite-neu:hover { border-color: var(--akzent); color: var(--akzent); background: var(--akzent-hell); }
.seite-neu > span:first-of-type { font-size: 1.3rem; line-height: 1; }
.seite-neu.breit { width: auto; padding: 0 .9rem; }
.seite-neu input { display: none; }

.abschnitt { margin-bottom: 1.4rem; }
.abschnitt > h2 { margin-bottom: .6rem; }
.abschnitt + .abschnitt { margin-top: 2rem; }
.wahl { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--seite); }
.wahl button { border: 0; background: transparent; color: var(--leise); padding: .3rem .8rem; }
.wahl button:hover { color: var(--text); background: var(--flaeche-2); }
.wahl button.aktiv { background: var(--flaeche); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 15, 15, .08); }
.adresse {
  display: flex;
  gap: .6rem;
  align-items: center;
  font: 500 .95rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--seite);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: .5rem .5rem .5rem .75rem;
  overflow-wrap: anywhere;
}
.adresse span { flex: 1; }
.adresse button { font-family: inherit; font-size: .85rem; }
pre.zugang { font: .9rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--seite); border: 1px solid var(--linie); border-radius: var(--radius); padding: .8rem 1rem; margin: 0; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tabelle th, .tabelle td { text-align: start; padding: .5rem .4rem; border-top: 1px solid var(--linie); }
.tabelle th { font-weight: 500; color: var(--leise); font-size: .75rem; border-top: 0; }
.eintrag { display: flex; gap: .6rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--linie); }
.eintrag:first-child { border-top: 0; }
.eintrag span { flex: 1; overflow-wrap: anywhere; }

details summary { cursor: pointer; margin: .4rem 0; color: var(--leise); }
.mehr-angaben { margin: 0 0 .5rem; }
.bewertung { margin: .8rem 0 .4rem; border: 1px solid var(--linie); border-radius: var(--radius); padding: .5rem .75rem; }
.bewertung > summary { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .4rem; margin: 0; font-size: .88rem; font-weight: 500; color: var(--text); }
.bewertung[open] > summary { margin-bottom: .5rem; }
.bw-liste { display: flex; flex-direction: column; gap: .7rem; }
.bw-zeile { display: flex; flex-direction: column; gap: .25rem; padding-top: .6rem; border-top: 1px solid var(--linie); }
.bw-kopf { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .88rem; }
.bw-kz { display: flex; flex-wrap: wrap; gap: .35rem; }
.bw-kz .kz { font-size: .82rem; padding: .15rem .45rem; border-radius: var(--radius); background: var(--flaeche-2); font-variant-numeric: tabular-nums; }
.bw-hinweis { color: var(--leise); }
.bw-hinweis.warn { color: var(--p5t); }
.bewertung > p:last-child { margin: .7rem 0 .1rem; }
.erechnung { margin: .6rem 0 .8rem; border: 1px solid var(--linie); border-radius: var(--radius); padding: .5rem .75rem; }
.erechnung > summary { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin: 0; font-size: .88rem; font-weight: 500; color: var(--text); }
.erechnung[open] > summary { margin-bottom: .6rem; }
.erechnung dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .2rem .9rem; margin: 0; font-size: .86rem; }
.erechnung dt { color: var(--leise); }
.erechnung dd { margin: 0; overflow-wrap: anywhere; }
.erechnung-tabelle { overflow-x: auto; margin: .7rem 0; }
.verlauf { margin-top: 1rem; border-top: 1px solid var(--linie); padding-top: .6rem; }
.verlauf > summary { cursor: pointer; font-weight: 600; }
.verlauf-liste { list-style: none; margin: .5rem 0 0; padding: 0 0 0 .1rem; border-inline-start: 2px solid var(--linie); }
.verlauf-eintrag { position: relative; padding: .35rem 0 .7rem .95rem; }
.verlauf-eintrag::before { content: ""; position: absolute; inset-inline-start: -6px; top: .72rem; width: 10px; height: 10px; border-radius: 50%; background: var(--seite); border: 2px solid var(--akzent); box-sizing: border-box; }
.verlauf-kopf { display: flex; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline; }
.verlauf-aenderungen { margin: .3rem 0 0; padding-inline-start: 1.1rem; font-size: .88rem; }
.verlauf-aenderungen li { margin: .1rem 0; overflow-wrap: anywhere; }
.verlauf-feld { color: var(--leise); margin-inline-end: .35rem; }
.verlauf-feld::after { content: ":"; }
.verlauf-alt { text-decoration: line-through; text-decoration-color: var(--fehler); color: var(--leise); }
.verlauf-neu { font-weight: 600; }
.verlauf-leer { color: var(--leise); }
.verlauf-angaben { margin-top: .2rem; overflow-wrap: anywhere; }
.verlauf-bezug { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.verlauf-link { font: inherit; font-size: .82rem; padding: .15rem .5rem; border: 1px solid var(--linie); border-radius: var(--radius); background: none; color: var(--akzent); cursor: pointer; }
.verlauf-link:hover, .verlauf-link:focus-visible { background: var(--flaeche-2); }
.verlauf-global { margin-top: .8rem; }
.verlauf-filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; }
.verlauf-filter select { width: auto; }
.verlauf-filter input[type=search] { flex: 1; min-width: 12rem; }
.bank-vorschau, .anlage-plan-tabelle { overflow-x: auto; margin: .6rem 0 0; }
.warn-text { color: var(--p5t); }
.est-personen { margin: 0 0 .8rem; }
.est-verlust tr.klick { cursor: pointer; }
.est-verlust tr.klick:hover, .est-verlust tr.klick:focus-visible { background: var(--flaeche-2); }
.est-verlust tr.aktiv td { font-weight: 700; }
.est-verlust sup { color: var(--leise); margin-inline-start: .1rem; }
.est-verlust th:first-child { text-align: start; }
.bh-salden tr.klick, .bh-journal tr.klick, .bh-blatt tr.klick { cursor: pointer; }
.bh-salden tr.klick:hover, .bh-journal tr.klick:hover, .bh-blatt tr.klick:hover, .bh-salden tr.klick:focus-visible, .bh-journal tr.klick:focus-visible, .bh-blatt tr.klick:focus-visible { background: var(--flaeche-2); }
.bh-salden tr.summe td, .bh-blatt tr.summe td { font-weight: 700; }
.bh-journal tr.bh-kopf td { font-weight: 600; border-bottom: 0; padding-top: .55rem; }
.bh-journal tr.bh-zeile td { color: var(--leise); }
.bh-salden th, .bh-journal th, .bh-blatt th { text-align: start; }
.bh-salden th.zahl, .bh-journal th.zahl, .bh-blatt th.zahl { text-align: end; }
.bh-journal tr.bh-kopf td { white-space: normal; }
.bh-journal tr.bh-kopf .marke-klein, .dialog p .marke-klein { margin-inline-start: .4rem; }
.bh-editor { display: grid; gap: .35rem; }
.bh-zeile-neu { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 7.5rem 7.5rem 2rem; gap: .4rem; align-items: center; }
.bh-zeile-neu input { min-width: 0; }
.bh-zeile-neu.bh-titel { font-size: .78rem; color: var(--leise); }
.bh-zeile-neu.bh-titel span:nth-child(n+3) { text-align: end; }
.bh-zeile-neu input[name=soll], .bh-zeile-neu input[name=haben] { text-align: end; font-variant-numeric: tabular-nums; }
.bh-summe { font-size: .85rem; font-variant-numeric: tabular-nums; }
.bh-abschluss { margin-top: .9rem; }
.bh-abschluss th { text-align: start; }
.bh-abschluss th.zahl { text-align: end; }
.bh-abschluss .zahl { white-space: nowrap; }
.bh-abschluss .bh-nr { width: 2.6rem; color: var(--leise); white-space: nowrap; }
.bh-abschluss tr.summe td { font-weight: 700; }
.bh-abschluss tr.st1 td:nth-child(2), .bh-abschluss tr.bh-davon td:nth-child(2) { padding-inline-start: 1rem; }
.bh-abschluss tr.st2 td:nth-child(2) { padding-inline-start: 2rem; }
.anmelde-recht { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem .6rem; margin-top: 1.1rem; }
.code-felder { display: flex; justify-content: center; gap: .4rem; margin: .5rem 0 .7rem; }
.code-felder[hidden] { display: none; }
input.code-feld { flex: 1 1 0; width: 0; min-width: 0; max-width: 2.9rem; height: 3.3rem; padding: 0; text-align: center; font-size: 1.45rem; font-weight: 600; font-variant-numeric: tabular-nums; }
input.code-feld:nth-child(3) { margin-inline-end: .55rem; }
.code-eingabe { display: flex; flex-direction: column; gap: .2rem; }
.code-eingabe .code-umschalten { align-self: center; }
input.ersatz-feld { margin: .5rem 0 .7rem; text-align: center; font: 500 1.15rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.code-label { display: flex; flex-direction: column; gap: .25rem; margin-top: .7rem; font-size: .88rem; color: var(--leise); }
#codeform .code-felder { margin: .4rem 0 1rem; }
#codeform .zf-zurueck { display: block; margin: .9rem auto 0; }
.zf-schritte { margin: .2rem 0 0; padding-inline-start: 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.zf-schritte li { display: flex; flex-direction: column; gap: .45rem; }
.zf-qr { display: block; width: 188px; height: 188px; margin: .3rem auto; border-radius: 6px; border: 1px solid var(--linie); }
.zf-app { align-self: center; }
.zf-schluessel { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.zf-schluessel code { font: 500 .92rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; word-break: break-all; }
.ersatz-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.4rem; margin: .7rem 0; padding: .8rem 1rem .8rem 2.2rem; background: var(--seite); border: 1px solid var(--linie); border-radius: var(--radius); }
.ersatz-liste code { font: 500 1rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; }
.konto-zf { display: flex; flex-direction: column; gap: .45rem; }
.konto-zf .leiste { margin: 0; }
.zf-stand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.anmelde-recht button, .konto-recht button { padding: .15rem .25rem; }
.konto-recht { display: flex; flex-wrap: wrap; gap: .1rem .5rem; padding-top: .5rem; border-top: 1px solid var(--linie); }
.recht-liste { display: flex; flex-direction: column; gap: .5rem; margin: .6rem 0 1rem; }
.recht-zeile { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid var(--linie); border-radius: var(--radius); }
.recht-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
label.haken.recht-haken { align-items: flex-start; }
.recht-firma { margin-bottom: .8rem; }
.recht-haken input { margin-top: .2rem; flex: none; }
.recht-text { font-size: .92rem; line-height: 1.55; }
.recht-text h2 { font-size: 1.05rem; margin: 1.1rem 0 .4rem; }
.recht-text h3 { font-size: .95rem; margin: .9rem 0 .3rem; }
.recht-text h4 { font-size: .9rem; margin: .8rem 0 .3rem; }
.recht-text p { margin: 0 0 .6rem; }
.recht-text ol, .recht-text ul { margin: 0 0 .7rem; padding-inline-start: 1.4rem; }
.recht-text li { margin-bottom: .25rem; }
.recht-text a { color: var(--akzent); }
.recht-tabelle { overflow-x: auto; margin-bottom: .8rem; }
.bh-abschluss tr.bh-davon td { font-size: .8rem; color: var(--leise); font-style: italic; }
.bh-abschluss tr.bh-konto td { font-size: .78rem; color: var(--leise); }
.bh-abschluss tr.bh-konto td:nth-child(2) { padding-inline-start: 2.6rem; }
.bh-abschluss tr.bh-gesamt td { border-top: 2px solid var(--linie); }
.bh-abschluss tr.klick { cursor: pointer; }
.bh-abschluss tr.klick:hover, .bh-abschluss tr.klick:focus-visible { background: var(--flaeche-2); }
@media (max-width: 560px) {
  .bh-zeile-neu { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2rem; padding-bottom: .45rem; border-bottom: 1px solid var(--linie); }
  .bh-zeile-neu input[name=soll], .bh-zeile-neu input[name=haben] { grid-row: 2; }
  .bh-zeile-neu input[name=soll] { grid-column: 1 / 2; }
  .bh-zeile-neu input[name=haben] { grid-column: 2 / 3; }
  .bh-zeile-neu button { grid-row: 1; grid-column: 3; }
  .bh-zeile-neu.bh-titel { display: none; }
}
@media (max-width: 560px) {
  .bh-salden :is(th, td):is(:nth-child(3), :nth-child(4), :nth-child(5)) { display: none; }
  .bh-blatt :is(th, td):is(:nth-child(1), :nth-child(4)) { display: none; }
  .bh-journal .leer { display: none; }
  .anlage-plan-tabelle:is(.bh-salden, .bh-journal, .bh-blatt, .bh-abschluss) table { font-size: .76rem; }
  .anlage-plan-tabelle:is(.bh-salden, .bh-journal, .bh-blatt, .bh-abschluss) :is(th, td) { padding: .3rem .2rem; }
  .anlage-plan-tabelle.bh-abschluss .bh-nr { width: 1.9rem; }
  .anlage-plan-tabelle.bh-abschluss tr.st1 td:nth-child(2), .anlage-plan-tabelle.bh-abschluss tr.bh-davon td:nth-child(2) { padding-inline-start: .45rem; }
  .anlage-plan-tabelle.bh-abschluss tr.st2 td:nth-child(2), .anlage-plan-tabelle.bh-abschluss tr.bh-konto td:nth-child(2) { padding-inline-start: .9rem; }
}
@media (max-width: 560px) { .est-verlust.mit-rueck :is(th, td):nth-child(2) { display: none; } }
@media (max-width: 560px) { .est-verlust.anlage-plan-tabelle table { font-size: .76rem; } .est-verlust.anlage-plan-tabelle :is(th, td) { padding: .3rem .15rem; } .est-verlust th { white-space: normal; } .est-verlust td { white-space: nowrap; } }
.vergleich-tabelle th:first-child { text-align: start; }
.vergleich-tabelle td:first-child { min-width: 9rem; }
@media (max-width: 560px) {
  .vergleich-tabelle.anlage-plan-tabelle thead { display: none; }
  .vergleich-tabelle.anlage-plan-tabelle tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .15rem .5rem; padding: .45rem 0; border-bottom: 1px solid var(--linie); }
  .vergleich-tabelle.anlage-plan-tabelle td { border: 0; padding: 0; min-width: 0; }
  .vergleich-tabelle td:first-child { grid-column: 1 / 3; grid-row: 1; }
  .vergleich-tabelle td:last-child { grid-column: 3; grid-row: 1; justify-self: end; }
  .vergleich-tabelle td[data-name] { text-align: start; }
  .vergleich-tabelle td[data-name]::before { content: attr(data-name); display: block; font-size: .7rem; color: var(--leise); font-weight: 400; }
}
.vergleich-tabelle tr.vg-abweichung td { font-weight: 600; }
.vergleich-tabelle tr.vg-nur_bescheid td { color: var(--leise); }
.bescheid-zeilen { display: grid; gap: .4rem; }
.bescheid-zeile-edit { display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr) 8rem 2rem; gap: .4rem; align-items: center; }
.bescheid-zeilen > button.klein { justify-self: start; }
.bescheid-zeile .marken { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.bescheid-zeile.ersetzt .e6-name { color: var(--leise); }
.ue-frist.ue-klick { cursor: pointer; }
.abo-kennzahlen { display: grid; gap: .8rem; margin-bottom: .6rem; }
.abo-module { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.abo-module legend { font-size: .85rem; color: var(--leise); margin-bottom: .25rem; }
.abo-leiste { margin: 0 0 1rem; }
.abo-anfragen { margin-bottom: 1rem; }
.abo-anfragen h3 { font-size: .95rem; margin: 0 0 .4rem; }
.abo-seite { max-width: 52rem; }
.abo-angaben { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1.2rem; margin: .4rem 0 .8rem; }
.abo-angaben dt { color: var(--leise); }
.abo-angaben dd { margin: 0; }
.abo-wahl { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-bottom: .8rem; }
.abo-wahl > div { display: grid; gap: .3rem; }
.abo-modul-liste { display: grid; margin-bottom: .8rem; border-top: 1px solid var(--linie); }
.abo-modul { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .15rem .7rem; align-items: start; padding: .6rem 0; margin: 0;
  border-bottom: 1px solid var(--linie); font-size: .92rem; font-weight: 400; color: var(--text); }
.abo-modul input { width: 1rem; height: 1rem; min-height: 0; margin: .15rem 0 0; accent-color: var(--akzent); }
.abo-modul .zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--leise); }
.abo-modul .unter { grid-column: 2 / -1; color: var(--leise); font-size: .84rem; }
.abo-modul .marke-klein { justify-self: end; }
.abo-modul.nur { grid-template-columns: minmax(0, 1fr) auto; }
.abo-modul.nur .unter { grid-column: 1 / -1; }
.abo-preis { margin: .4rem 0 1rem; }
.abo-betrag { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.abo-betrag strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.abo-preis .hinweis { margin: .6rem 0 0; }
.modul-karte { max-width: 42rem; }
@media (max-width: 560px) {
  .abo-angaben { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .abo-angaben dd { margin-bottom: .45rem; }
  .abo-wahl .wahl { display: flex; }
  .abo-wahl .wahl button { flex: 1; }
  .abo-wahl > div { width: 100%; }
}
.ue-frist.ue-klick:hover, .ue-frist.ue-klick:focus-visible { background: var(--flaeche-2); }
@media (max-width: 560px) { .bescheid-zeile-edit { grid-template-columns: minmax(0, 1fr) 7rem 2rem; } .bescheid-zeile-edit > select { grid-column: 1 / -1; } }
.est-abschnitt { margin: .6rem 0 0; font-size: .95rem; }
.psd2 .liste { margin-bottom: .4rem; }
.zeile .rechts.psd2-knoepfe { display: flex; flex-direction: row; flex-wrap: nowrap; gap: .35rem; align-items: center; justify-content: flex-end; }
.psd2-verbindung .unter { white-space: normal; overflow: visible; text-overflow: clip; }
.psd2-wahl select { width: auto; }
.psd2-banken { max-height: 50vh; overflow-y: auto; margin-top: .6rem; }
.psd2-bank { width: 100%; text-align: start; border: 0; background: none; }
@media (max-width: 560px) {
  .zeile .rechts.psd2-knoepfe { flex-direction: column; align-items: flex-end; }
}
.est-kopf { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.est-kopf h3 { margin: 0; }
.est-kv-hinweis { margin: .6rem 0; }
.est-kv-hinweis ul { margin: 0; }
.kv-kz { color: var(--leise); font-variant-numeric: tabular-nums; }
.lz-scan { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.bank-vorschau table, .anlage-plan-tabelle table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.bank-vorschau th, .anlage-plan-tabelle th { font-weight: 600; color: var(--leise); border-bottom: 1px solid var(--linie); padding: .25rem .4rem; }
.bank-vorschau td, .anlage-plan-tabelle td { padding: .3rem .4rem; border-bottom: 1px solid var(--linie); }
.bank-vorschau tr.fett td { font-weight: 700; }
.erechnung-tabelle table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.erechnung-tabelle th { text-align: left; font-weight: 500; color: var(--leise); border-bottom: 1px solid var(--linie); padding: .25rem .4rem .25rem 0; }
.erechnung-tabelle td { padding: .3rem .4rem .3rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.erechnung-tabelle .zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.erechnung-summen { justify-content: end; margin-top: .5rem !important; }
.erechnung-summen dd { text-align: right; font-variant-numeric: tabular-nums; }
.erechnung-summen dt:nth-last-of-type(1), .erechnung-summen dd:nth-last-of-type(1) { font-weight: 600; color: var(--text); }
.erechnung-aus p { margin: .2rem 0 .55rem; }
.erechnung-fehlt { margin: .25rem 0 .5rem; padding-inline-start: 1.2rem; font-size: .86rem; }
.erechnung-format { border-top: 1px solid var(--linie); padding: .55rem 0 .3rem; }
.erechnung-format-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; min-height: 2rem; }
.erechnung-format-kopf button { margin-inline-start: auto; }
.mehr-angaben > summary { font-size: .85rem; font-weight: 500; color: var(--text); margin: 0 0 .6rem; }
.mehr-angaben > .raster { padding: .2rem 0 0; }

.meldung {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  background: var(--text);
  color: var(--grund);
  font-size: .9rem;
  font-weight: 500;
  padding: .55rem .95rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 15, 15, .2);
  z-index: 50;
  animation: auf .15s ease-out;
}
.meldung.schlecht { background: var(--fehler); color: #fff; }
#fassung-neu {
  position: fixed;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: max-content;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: calc(100vw - 32px);
  padding: .5rem .55rem .5rem .95rem;
  background: var(--flaeche);
  color: var(--text);
  border: 1px solid var(--akzent);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 15, 15, .22);
  font-size: .9rem;
  font-weight: 500;
  animation: auf .15s ease-out;
}
#fassung-neu button { white-space: nowrap; padding: .35rem .8rem; font-size: .85rem; }

@media (max-width: 760px) {
  button.neu {
    position: fixed;
    inset-inline-end: 16px;
    bottom: calc(5rem + env(safe-area-inset-bottom));
    z-index: 15;
    width: 3.1rem;
    height: 3.1rem;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 15, 15, .22);
  }
  button.neu .wort { display: none; }
  button.neu .plus { font-size: 1.5rem; font-weight: 400; line-height: 1; }
  .meldung { bottom: calc(9rem + env(safe-area-inset-bottom)); }
  #fassung-neu { bottom: calc(5.4rem + env(safe-area-inset-bottom)); left: 16px; right: 16px; width: auto; max-width: none; }
  #fassung-neu span { flex: 1; }
  .zeile .aktionen button { font-size: .75rem; }
}

.scannen {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .5rem;
  padding: .45rem .6rem;
  background: var(--akzent);
  border-color: var(--akzent);
  color: var(--akzent-text);
  font-weight: 600;
}
.scannen:hover { background: var(--akzent); filter: brightness(.94); }
button.mit-symbol { display: inline-flex; align-items: center; gap: .45rem; }
button .symbol { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karten-bild .vorschau { max-height: 180px; margin: 0 0 .9rem; }
.karten-bild .karten-foto { border: 0; border-radius: 0; filter: drop-shadow(0 3px 8px rgba(15, 15, 15, .18)); }

.kartenraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem 1.1rem; }
.kundenkarte {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  font-weight: 400;
}
.kundenkarte:hover { background: transparent; }
.kk-bild, .kk-ersatz { width: 100%; aspect-ratio: 85.6 / 54; margin-bottom: .45rem; transition: transform .15s ease, filter .15s ease; }
.kk-bild { object-fit: contain; filter: drop-shadow(0 3px 8px rgba(15, 15, 15, .16)); }
.kundenkarte:hover .kk-bild, .kundenkarte:hover .kk-ersatz { transform: translateY(-2px); }
.kundenkarte:hover .kk-bild { filter: drop-shadow(0 8px 16px rgba(15, 15, 15, .2)); }
.kk-ersatz {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .85rem .95rem;
  border-radius: 8px;
  overflow: hidden;
  font-size: .78rem;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(15, 15, 15, .08), 0 3px 8px rgba(15, 15, 15, .08);
}
.kk-ersatz strong { font-size: .95rem; line-height: 1.2; }
.kk-ersatz span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kk-ersatz .kk-luecke { flex: 1; }
.kk-ersatz .kk-klein { font-size: .7rem; opacity: .85; }
.kk-ersatz.f0 { background: var(--p0); color: var(--p0t); }
.kk-ersatz.f1 { background: var(--p1); color: var(--p1t); }
.kk-ersatz.f2 { background: var(--p2); color: var(--p2t); }
.kk-ersatz.f3 { background: var(--p3); color: var(--p3t); }
.kk-ersatz.f4 { background: var(--p4); color: var(--p4t); }
.kk-ersatz.f5 { background: var(--p5); color: var(--p5t); }
.kk-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kk-unter { font-size: .8rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 1.1em; }
@media (max-width: 560px) { .kartenraster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .8rem; } .kk-ersatz { padding: .6rem .65rem; font-size: .66rem; } .kk-ersatz strong { font-size: .8rem; } }
.scannen svg, .kamera-knopf svg { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .scannen { order: 2; margin: 0; width: 2.3rem; height: 2.3rem; padding: 0; justify-content: center; flex: none; }
  .scannen span { display: none; }
  .scannen svg { width: 1.3rem; height: 1.3rem; }
  .seite-fuss { order: 3; }
}

body.kamera-offen { overflow: hidden; }
.kamera {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #0b0918;
  color: #f2efe6;
}
.kamera-kopf {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem 16px;
  padding-top: max(.6rem, env(safe-area-inset-top));
  background: #14121f;
  border-bottom: 1px solid #241f35;
}
.kamera-kopf .firma { color: #9a93b5; }
.kamera-knopf {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid #2c2640;
  border-radius: 8px;
  background: #1c1930;
  color: #f2efe6;
  cursor: pointer;
}
.kamera-knopf:hover { background: #241f35; }
.kamera-knopf input { display: none; }
.kamera-flaeche { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.kamera-flaeche video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kamera-rahmen { position: absolute; inset: 9% 8%; pointer-events: none; }
.kamera-rahmen span { position: absolute; width: 2.2rem; height: 2.2rem; border: 3px solid rgba(242, 239, 230, .9); }
.kamera-rahmen span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.kamera-rahmen span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.kamera-rahmen span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.kamera-rahmen span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.kamera.visitenkarte .kamera-rahmen { inset: auto 7%; top: 50%; aspect-ratio: 85.6 / 54; transform: translateY(-50%); }
.kamera-titel { font-size: .85rem; font-weight: 600; color: #f2efe6; white-space: nowrap; }
@media (max-width: 420px) { .kamera-kopf .firma { display: none; } }
.kamera-hinweis { position: relative; max-width: 22rem; margin: 0 16px; padding: .9rem 1rem; text-align: center; background: #1c1930; border: 1px solid #2c2640; border-radius: 8px; color: #f2efe6; }
.kamera-fuss {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 24px;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: #14121f;
  border-top: 1px solid #241f35;
}
.kamera-fuss .kamera-knopf { justify-self: start; }
.kamera-fuss .kamera-seite { justify-self: end; position: relative; }
.kamera:not(.beleg) .kamera-seite { visibility: hidden; }
.kamera-zahl { position: absolute; top: -.35rem; inset-inline-end: -.35rem; min-width: 1.25rem; padding: 0 .3rem; border-radius: 999px; background: var(--akzent); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1.25rem; text-align: center; }
.kamera-mehr { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); margin: 0; padding: .45rem .8rem; border-radius: 999px; background: rgba(20, 18, 31, .82); color: #f2efe6; font-size: .85rem; white-space: nowrap; }
.ausloeser {
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border-radius: 50%;
  border: 4px solid #f2efe6;
  background: #f2efe6;
  box-shadow: inset 0 0 0 3px #14121f;
}
.ausloeser:hover { background: #fff; }
.ausloeser:active { transform: scale(.94); }
.ausloeser:disabled { opacity: .3; }

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

.taste {
  margin-inline-start: auto;
  min-width: 1.25rem;
  padding: .14rem .32rem;
  border: 1px solid var(--linie);
  border-bottom-width: 2px;
  border-radius: 4px;
  font: 500 .68rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--leise);
  text-align: center;
  opacity: .55;
  transition: opacity .12s ease;
}
.reiter button:hover .taste, .reiter button.aktiv .taste { opacity: 1; }
.scannen .taste { border-color: currentColor; color: inherit; opacity: .6; }
.tastenliste { display: grid; gap: .1rem; min-width: min(360px, 80vw); }
.tastenzeile { display: grid; grid-template-columns: 5.2rem 1fr; align-items: center; gap: .6rem; padding: .35rem 0; border-bottom: 1px solid var(--linie); }
.tastenzeile:last-child { border-bottom: 0; }
.tastenzeile .taste { margin: 0; min-width: 2rem; justify-self: start; opacity: 1; }
@media (hover: none), (max-width: 760px) { .reiter .taste, .scannen .taste { display: none; } }

.design-wahl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin: .4rem 0 1rem; }
.design-karte { display: flex; flex-direction: column; gap: .5rem; padding: .55rem .55rem .5rem; border: 1px solid var(--linie); border-radius: var(--radius-gross); background: var(--flaeche); color: var(--text); font-weight: 500; text-align: start; }
.design-karte:hover { background: var(--flaeche-2); }
.design-karte.aktiv { border-color: var(--akzent); box-shadow: 0 0 0 2px var(--akzent-hell); font-weight: 600; }
.design-name { font-size: .85rem; padding: 0 .1rem; }
@media (max-width: 640px) { .design-wahl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mini { --ra: #1f6f78; --tinte: #1f2a37; --grau: #d9dde2; --band: #eef1f4; position: relative; display: flex; flex-direction: column; gap: 7%; aspect-ratio: 1 / 1.25; padding: 11% 10% 9%; overflow: hidden; background: #fff; border: 1px solid #e6e6e3; border-radius: 3px; box-shadow: 0 1px 3px rgba(15, 15, 15, .08); }
.mini i, .mini b { display: block; }
.mini-kopf { display: flex; flex-direction: column; gap: 5px; }
.mini-kopf i { width: 38%; height: 2px; background: var(--ra); }
.mini-kopf b { width: 55%; height: 9px; background: var(--tinte); border-radius: 1px; }
.mini-band { display: flex; gap: 2px; height: 16px; }
.mini-band i { flex: 1; background: var(--band); }
.mini-zeilen { display: flex; flex-direction: column; gap: 5px; padding-top: 5px; border-top: 1.5px solid var(--tinte); }
.mini-zeilen i { height: 2px; background: var(--grau); }
.mini-zeilen i:nth-child(2) { width: 85%; }
.mini-summe { display: flex; justify-content: flex-end; }
.mini-summe b { width: 38%; height: 6px; background: var(--tinte); }
.mini-zahlung { height: 16px; background: var(--band); border-left: 3px solid var(--ra); }
.mini-klassisch .mini-kopf { align-items: center; padding-bottom: 5px; border-bottom: 3px double var(--tinte); }
.mini-klassisch .mini-kopf i { order: 2; width: 50%; height: 1.5px; background: var(--grau); }
.mini-klassisch .mini-kopf b { width: 45%; height: 7px; }
.mini-klassisch .mini-band { gap: 0; border: 1px solid var(--tinte); }
.mini-klassisch .mini-band i { background: transparent; border-right: 1px solid var(--tinte); }
.mini-klassisch .mini-band i:last-child { border-right: 0; }
.mini-klassisch .mini-zeilen { border-top-width: 1px; }
.mini-klassisch .mini-summe b { box-shadow: 0 3px 0 -1px #fff, 0 4px 0 -1px var(--tinte); }
.mini-klassisch .mini-zahlung { background: transparent; border: 1px solid var(--tinte); }
.mini-akzent .mini-kopf { margin: -12.5% -11% 0; padding: 10% 11% 8%; background: var(--ra); align-items: flex-end; }
.mini-akzent .mini-kopf i { width: 30%; background: rgba(255, 255, 255, .7); }
.mini-akzent .mini-kopf b { width: 40%; background: #fff; }
.mini-akzent .mini-band i { background: color-mix(in srgb, var(--ra) 12%, #fff); }
.mini-akzent .mini-zeilen { border-top: 6px solid var(--ra); }
.mini-akzent .mini-summe b { width: 48%; height: 9px; background: var(--ra); }
.mini-akzent .mini-zahlung { border-left: 0; background: color-mix(in srgb, var(--ra) 9%, #fff); }
.mini-schlicht .mini-kopf { flex-direction: row; justify-content: space-between; align-items: center; }
.mini-schlicht .mini-kopf i { width: 22%; height: 7px; background: var(--grau); }
.mini-schlicht .mini-kopf b { width: 34%; height: 5px; background: #6b7280; }
.mini-schlicht .mini-band { height: 12px; border-top: 1px solid var(--grau); border-bottom: 1px solid var(--grau); }
.mini-schlicht .mini-band i { background: transparent; }
.mini-schlicht .mini-zeilen { border-top: 1px solid #9aa1ab; }
.mini-schlicht .mini-zahlung { background: transparent; border: 0; border-top: 1px solid var(--grau); border-bottom: 1px solid var(--grau); }

.design-leiste { margin-bottom: 1.4rem; }
.farben { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.farbe { width: 1.6rem; height: 1.6rem; min-height: 0; padding: 0; border: 2px solid var(--flaeche); border-radius: 50%; background: var(--ra); box-shadow: 0 0 0 1px var(--linie); }
.farbe:hover { background: var(--ra); transform: scale(1.08); }
.farbe.aktiv { box-shadow: 0 0 0 2px var(--text); }
.farben input[type="color"] { width: 2.1rem; height: 1.8rem; min-height: 0; padding: 2px; border-radius: var(--radius); cursor: pointer; }

.gestaltung-teil { padding-top: 1.1rem; margin-top: 1.1rem; border-top: 1px solid var(--linie); }
.gestaltung-teil h3 { margin: 0 0 .6rem; font-size: 1rem; }
.logo-flaeche, .unterschrift-blatt { display: flex; align-items: center; justify-content: center; min-height: 6.5rem; max-width: 420px; margin-bottom: .6rem; padding: 1rem 1.2rem; border: 1px solid var(--linie); border-radius: var(--radius); }
.logo-flaeche { background-color: #fff; background-image: linear-gradient(45deg, #f0f0ee 25%, transparent 25%), linear-gradient(-45deg, #f0f0ee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0ee 75%), linear-gradient(-45deg, transparent 75%, #f0f0ee 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.logo-flaeche img { max-width: 100%; max-height: 5rem; object-fit: contain; }
.unterschrift-blatt { background: #fdfcf8; color: #555; }
.unterschrift-blatt img { max-width: 100%; max-height: 5.5rem; object-fit: contain; }
.unterschrift-blatt .leise, .logo-flaeche .leise { color: #787774; font-size: .88rem; text-align: center; }
.dialog .unterschrift-blatt { max-width: none; min-height: 8rem; }

.kamera.unterschrift .kamera-rahmen { inset: auto 6%; top: 50%; aspect-ratio: 3 / 1; transform: translateY(-50%); }
.posten textarea.text-feld { min-height: 2.35rem; height: 2.35rem; padding-top: .45rem; padding-bottom: .45rem; line-height: 1.35; resize: none; overflow: hidden; }

.import-status { margin: .4rem 0 .6rem; }
.import-status p { margin: .2rem 0; }
.import-liste { max-height: 52vh; max-height: 52dvh; overflow: auto; border: 1px solid var(--linie); border-radius: var(--radius); }
.import-liste table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.import-liste th { position: sticky; top: 0; z-index: 1; background: var(--seite); color: var(--leise); font-size: .75rem; font-weight: 500; text-align: start; }
.import-liste th, .import-liste td { padding: .45rem .55rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.import-liste tr:last-child td { border-bottom: 0; }
.zuord-tabelle { max-height: 15rem; margin: .7rem 0 .9rem; overflow: auto; border: 1px solid var(--linie); border-radius: var(--radius); }
.zuord-tabelle table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.zuord-tabelle th { position: sticky; top: 0; z-index: 1; background: var(--seite); color: var(--leise); font-size: .72rem; font-weight: 500; text-align: start; }
.zuord-tabelle th, .zuord-tabelle td { padding: .4rem .55rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.zuord-tabelle tr:last-child td { border-bottom: 0; }
.zuord-weitere { margin-bottom: .8rem; }
.zuord-weitere > summary { font-size: .88rem; color: var(--leise); margin-bottom: .6rem; }
.zuord-tabelle th div { color: var(--text); font-weight: 600; font-size: .8rem; white-space: nowrap; }
.zuord-tabelle td { white-space: nowrap; max-width: 16rem; overflow: hidden; text-overflow: ellipsis; }
.zuord-raster { margin-bottom: .8rem; }
.zuord-probe { margin-top: .9rem; }
.zuord-probe h3 { margin-top: 0; }
.import-liste tr.doppelt td { color: var(--leise); }
.import-liste input[type="checkbox"] { width: 1rem; height: 1rem; min-height: 0; margin: .1rem 0 0; accent-color: var(--akzent); }
.block { display: block; }
@media (max-width: 560px) { .import-liste td:nth-child(4) { display: none; } .import-liste th:nth-child(4) { display: none; } }

.anmelde-karte { position: relative; }
.anmelde-sprache { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; }
.sprachwahl { width: auto; min-height: 2rem; padding-block: .2rem; padding-inline: .55rem 1.8rem; font-size: .85rem; }
.anmelde-sprache .sprachwahl { max-width: 10rem; field-sizing: content; border-color: transparent; background-color: transparent; color: var(--leise); }
.anmelde-sprache .sprachwahl:hover, .anmelde-sprache .sprachwahl:focus { border-color: var(--linie); color: var(--text); }

.mini { direction: ltr; }
[dir="rtl"] select { background-position: .68rem 55%, .95rem 55%; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[type="date"], [dir="rtl"] input[data-datum], [dir="rtl"] input[inputmode="decimal"],
[dir="rtl"] input[name="iban"], [dir="rtl"] input[name="bic"], [dir="rtl"] input[name="uid"], [dir="rtl"] .adresse span { direction: ltr; text-align: end; }
[dir="rtl"] .zahl, [dir="rtl"] .betrag { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] body { font-family: system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", sans-serif; }
[dir="rtl"] .held-wert, [dir="rtl"] .held-teil strong, [dir="rtl"] .import-liste td { unicode-bidi: plaintext; }
[dir="rtl"] .held-wert, [dir="rtl"] .held-teil strong { direction: ltr; text-align: end; }
[dir="rtl"] .firma, [dir="rtl"] .wer-name, [dir="rtl"] .titel, [dir="rtl"] .unter, [dir="rtl"] .kk-name, [dir="rtl"] .kk-unter,
[dir="rtl"] .eintrag span, [dir="rtl"] .tabelle td, [dir="rtl"] .dkopf h2 { unicode-bidi: plaintext; }

.suchen { display: flex; align-items: center; gap: .55rem; width: 100%; margin: 0 0 .45rem; padding: .4rem .6rem; border: 1px solid var(--linie); background: var(--flaeche); color: var(--leise); font-weight: 500; text-align: start; }
.suchen:hover { background: var(--flaeche-2); color: var(--text); }
.suchen svg, .suche-kopf svg { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.suchen span { flex: 1; }
.suchen .taste { flex: none; }
@media (max-width: 760px) {
  .suchen { order: 1; width: 2.3rem; height: 2.3rem; margin: 0; padding: 0; justify-content: center; flex: none; border-color: var(--linie); }
  .suchen span, .suchen .taste { display: none; }
  .suchen svg { width: 1.25rem; height: 1.25rem; }
}

.suche-dialog { width: min(640px, calc(100vw - 24px)); margin: 10vh auto auto; padding: 0; }
.suche-kopf { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-bottom: 1px solid var(--linie); color: var(--leise); }
.suche-kopf input { flex: 1; min-height: 2.3rem; border: 0; background: transparent; box-shadow: none; padding: .2rem 0; font-size: 1.05rem; color: var(--text); }
.suche-kopf input:focus { border: 0; box-shadow: none; background: transparent; }
.suche-kopf input::-webkit-search-cancel-button { display: none; }
.suche-treffer { max-height: min(60vh, 560px); max-height: min(60dvh, 560px); overflow-y: auto; padding: .35rem; }
.suche-gruppe { padding: .55rem .6rem .25rem; font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--leise); }
.suche-zeile { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .45rem .6rem; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); font-weight: 400; text-align: start; }
.suche-zeile:hover, .suche-zeile.aktiv { background: var(--flaeche-2); }
.suche-zeile .kreis { width: 1.9rem; height: 1.9rem; font-size: .7rem; flex: none; }
.suche-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.suche-titel { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suche-unter { font-size: .8rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suche-rechts { flex: none; font-variant-numeric: tabular-nums; font-size: .9rem; white-space: nowrap; }
.suche-tipp { padding: 1rem .8rem; margin: 0; }
@media (max-width: 760px) { .suche-dialog { margin: 0 0 auto; width: 100vw; max-width: 100vw; border-radius: 0 0 12px 12px; } }

.ansicht-wahl button { display: inline-flex; align-items: center; padding: .3rem .55rem; }
.symbol-huelle { display: inline-flex; }
.symbol-huelle svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

.kundenliste { display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.kundenzeile, .kundenkopf { display: grid; grid-template-columns: 5.2rem minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr); gap: .9rem; align-items: center; width: 100%; padding: .55rem .4rem; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: transparent; color: var(--text); font-weight: 400; text-align: start; }
.kundenzeile:hover { background: var(--flaeche-2); }
.kz-bildfeld { display: flex; align-items: center; justify-content: center; width: 5.2rem; aspect-ratio: 85.6 / 54; }
.kz-bildfeld.klein { width: 2.9rem; flex: none; }
.kz-bild { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 3px rgba(15, 15, 15, .18)); }
.kz-ersatz { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 4px; font-size: .78rem; font-weight: 700; }
.kz-ersatz.f0 { background: var(--p0); color: var(--p0t); }
.kz-ersatz.f1 { background: var(--p1); color: var(--p1t); }
.kz-ersatz.f2 { background: var(--p2); color: var(--p2t); }
.kz-ersatz.f3 { background: var(--p3); color: var(--p3t); }
.kz-ersatz.f4 { background: var(--p4); color: var(--p4t); }
.kz-ersatz.f5 { background: var(--p5); color: var(--p5t); }
.kz-bildfeld.klein .kz-ersatz { font-size: .62rem; }
.kz-name, .kz-kontakt { display: flex; flex-direction: column; min-width: 0; }
.kz-name strong, .kz-name span, .kz-kontakt span, .kz-ort, .kz-uid { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .kundenzeile, .kundenkopf { grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: .7rem; }

  .kz-bildfeld { width: 4.2rem; }
  .kz-kontakt, .kz-uid { display: none; }
  .kz-ort { font-size: .82rem; color: var(--leise); text-align: end; }
}

.ki-zeichen { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; flex: none; border-radius: 6px; background: linear-gradient(135deg, var(--p3), var(--p0)); color: var(--p3t); font-size: 1rem; }
.suche-tipp .ki-zeichen { width: auto; height: auto; background: none; }
.ki-zeichen.laeuft { animation: ki-puls 1.1s ease-in-out infinite; }
@keyframes ki-puls { 50% { opacity: .35; } }
.suche-ki .suche-titel { color: var(--p3t); }
.suche-ki .taste { margin-inline-start: 0; }
.ki-kopf { padding: .6rem .6rem .5rem; border-bottom: 1px solid var(--linie); margin-bottom: .3rem; }
.ki-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .45rem; }
.ki-chip { padding: .12rem .5rem; border-radius: 999px; background: var(--p3); color: var(--p3t); font-size: .8rem; font-weight: 500; }
.ki-summe { font-size: .88rem; font-variant-numeric: tabular-nums; }

.filter { display: flex; align-items: center; gap: .4rem; flex: 1 1 14rem; max-width: 24rem; min-height: 2.35rem; padding: 0 .6rem; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--feld); color: var(--leise); margin: 0; }
.filter:focus-within { border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-hell); background: var(--flaeche); }
.filter-feld { flex: 1; min-width: 0; min-height: 2.2rem; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: .92rem; color: var(--text); }
.filter-feld:focus { border: 0; box-shadow: none; background: transparent; }
.filter-zahl { white-space: nowrap; }
.filter-symbol .symbol-huelle svg { width: 1rem; height: 1rem; }
.kundenkopf { position: sticky; top: 0; z-index: 2; padding: .35rem .4rem; border-bottom: 1px solid var(--linie); background: var(--grund); }
.kundenkopf .sortier { display: inline-flex; align-items: center; gap: .3rem; min-height: 0; padding: .2rem 0; border: 0; background: transparent; color: var(--leise); font-size: .75rem; font-weight: 600; letter-spacing: .02em; text-align: start; justify-self: start; }
.kundenkopf .sortier:hover, .kundenkopf .sortier.aktiv { color: var(--text); }
.kundenkopf .pfeil { font-size: .8rem; opacity: .45; }
.kundenkopf .sortier.aktiv .pfeil { opacity: 1; color: var(--akzent); }
.kundenkopf .leer-feld { aspect-ratio: auto; height: 1px; }
.karten-leiste { display: flex; justify-content: flex-end; margin: -.2rem 0 .8rem; }
.sortwahl { width: auto; min-height: 2rem; font-size: .85rem; }
@media (max-width: 760px) {
  .filter { order: 5; flex-basis: 100%; max-width: none; }
  .kundenkopf .sortier.sp-kontakt, .kundenkopf .sortier.sp-uid { display: none; }
  .kundenkopf .sortier.sp-ort { justify-self: end; }
}

.bp-mini { padding: 0; }
.bp-mini img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bp-leer { align-items: center; justify-content: center; gap: .4rem; border: 1.5px dashed var(--linie); box-shadow: none; background: var(--flaeche); color: var(--leise); font-size: .72rem; text-align: center; line-height: 1.3; }
.bp-plus { font-size: 1.6rem; font-weight: 300; line-height: 1; }
.bp-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; margin-top: .6rem; }
.bp-blatt { display: flex; justify-content: center; }
.bp-leinwand { width: 100%; max-width: 413px; height: auto; aspect-ratio: 1654 / 2339; border: 1px solid var(--linie); border-radius: 3px; box-shadow: 0 2px 10px rgba(15, 15, 15, .1); background: #fff; }
.bp-regler { display: flex; flex-direction: column; gap: .7rem; }
.bp-schieber { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; }
.bp-schieber input[type="range"] { padding: 0; min-height: 1.4rem; border: 0; background: transparent; box-shadow: none; accent-color: var(--akzent); }
.bp-vorschlag h3 { margin: 1.1rem 0 .5rem; font-size: .95rem; }
.bp-wert { align-items: flex-start; padding: .3rem 0; border-bottom: 1px solid var(--linie); font-size: .85rem; }
.bp-wert span { min-width: 0; overflow-wrap: anywhere; }
.bp-farbe { display: inline-block; width: .9rem; height: .9rem; border-radius: 3px; vertical-align: -2px; background: var(--ra); box-shadow: 0 0 0 1px var(--linie); }
.bp-status { margin: .3rem 0; }
@media (max-width: 640px) { .design-wahl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp-raster { grid-template-columns: minmax(0, 1fr); } }

.kreis.logo { width: 2.9rem; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); padding: 2px 3px; overflow: hidden; }
.kreis.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.suche-zeile .kreis.logo { width: 2.9rem; height: 1.9rem; }
.logo-leiste { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: .1rem 0 .8rem; }
.logo-leiste[hidden] { display: none; }
.logo-gross, .logo-bild { display: grid; place-items: center; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--linie); padding: 6px 10px; }
.logo-gross { width: 9rem; height: 3.6rem; }
.logo-gross img, .logo-bild img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.logo-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .8rem; margin: .6rem 0; }
.logo-gitter > p { grid-column: 1 / -1; margin: 0; }
.logo-kachel { position: relative; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.logo-bild { height: 3.6rem; }
.logo-name { font-size: .78rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.logo-weg { position: absolute; top: -.45rem; inset-inline-end: -.45rem; width: 1.5rem; height: 1.5rem; min-height: 0; padding: 0; border-radius: 50%; line-height: 1; font-size: .95rem; display: grid; place-items: center; }

.t-liste { display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.t-zeile, .t-kopf { display: grid; gap: .9rem; align-items: center; padding: .55rem .4rem; border-bottom: 1px solid var(--linie); }
.t-belege .t-zeile, .t-belege .t-kopf { grid-template-columns: 3.2rem minmax(0, 1.8fr) 6.2rem minmax(0, 1fr) minmax(0, 1fr) 7.5rem; }
.t-rechnungen .t-zeile, .t-rechnungen .t-kopf { grid-template-columns: 3.2rem minmax(0, 1.6fr) 7rem 6.2rem 6.2rem minmax(0, .9fr) 7.5rem; }
.t-bank .t-zeile, .t-bank .t-kopf { grid-template-columns: 3.2rem minmax(0, 2.4fr) 6.2rem minmax(0, .8fr) 8rem; }
.angaben { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .8rem 1.2rem; margin: .4rem 0 1rem; }
.angabe { display: flex; flex-direction: column; gap: .15rem; min-width: 0; overflow-wrap: anywhere; }
.bank-betrag { font-size: 1.6rem; font-weight: 600; margin: .2rem 0 .8rem; font-variant-numeric: tabular-nums; }
.bank-start { max-width: 40rem; }
.reiter-zahl { margin-inline-start: auto; min-width: 1.35rem; padding: .05rem .4rem; border-radius: 999px; background: var(--f-pruefen); color: #fff; font-size: .7rem; font-weight: 700; text-align: center; line-height: 1.35; }
.reiter button:has(.reiter-zahl:not([hidden])) .taste { display: none; }
.pruefzeile .titel { white-space: normal; }
.karte-vorschlag .titel, .karte-vorschlag .unter { white-space: normal; }
.pruefzeile .unter { white-space: normal; }
.pruefgrund { font-weight: 500; }
.pruefgrund.g-steuer, .pruefgrund.g-angaben, .pruefgrund.g-doppelt { color: var(--p5t); }
.pruefgrund.g-bestaetigen { color: var(--akzent); }
.pruef-leer strong { color: var(--plus); }
.privat-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 8rem 6rem auto; gap: .6rem; align-items: end; padding: .6rem 0; border-top: 1px solid var(--linie); }
.privat-zeile:first-child { border-top: 0; }
.konten-gruppe { border-top: 1px solid var(--linie); padding: .2rem 0; }
.konten-gruppe summary { padding: .45rem 0; color: var(--text); font-weight: 600; }
.konten-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .15rem 1.4rem; padding-bottom: .6rem; }
.konten-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; align-items: center; gap: .1rem .6rem; padding: .2rem 0; margin: 0; }
.konten-zeile > span:first-child { overflow-wrap: anywhere; }
.konten-zeile input { min-height: 2rem; padding-block: .25rem; font-variant-numeric: tabular-nums; }
.konten-marke { grid-column: 2; font-size: .72rem; min-height: 0; }
.konten-marke:empty { display: none; }
.stufen-rahmen { overflow-x: auto; padding-bottom: .6rem; }
.stufen { border-collapse: separate; border-spacing: 0; font-size: .86rem; }
.stufen :is(th, td) { padding: .2rem .3rem; text-align: left; white-space: nowrap; }
.stufen thead th { color: var(--leise); font-weight: 600; font-size: .78rem; }
.stufen :is(tbody th, thead th:first-child) { position: sticky; left: 0; z-index: 1; background: var(--flaeche); padding-right: .6rem; box-shadow: 1px 0 0 var(--linie); }
.stufen tbody th { font-weight: 400; }
.stufen input { width: 5.4rem; min-height: 2rem; padding-block: .25rem; font-variant-numeric: tabular-nums; }
.privat-name { align-self: center; }
.privat-fw { border-top: 1px solid var(--linie); padding-top: .8rem; margin-top: .2rem; }
.privat-fw h3 { margin: 0 0 .4rem; font-size: 1rem; }
@media (max-width: 760px) { .privat-zeile { grid-template-columns: 1fr 1fr; } .privat-name { grid-column: 1 / -1; } }
.auswahl-paar { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.auswahl-paar select { width: auto; }
.ausgabe-knoepfe { display: flex; gap: .3rem; }
.hinweis-knopf { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.hinweis-knopf > span { flex: 1; min-width: 12rem; }
.kz-block { margin: 1.2rem 0 0; }
.kz-block > h3 { margin: 0 0 .3rem; font-size: 1rem; }
.kz-zeile { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 8.5rem 8.5rem; gap: .6rem; align-items: baseline; padding: .5rem .4rem; border-bottom: 1px solid var(--linie); }
.kz-kopf { font-size: .75rem; color: var(--leise); padding-block: .25rem; }
.kz-nr { color: var(--leise); font-variant-numeric: tabular-nums; font-size: .85rem; }
.kz-text { min-width: 0; overflow-wrap: anywhere; }
.kz-betrag { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kz-summe { font-weight: 700; border-bottom-width: 2px; }
.kz-teil > .kz-text { padding-left: 1rem; color: var(--leise); }
.kz-zeile.kz-drei { grid-template-columns: 2.6rem minmax(0, 1fr) 7.5rem 7.5rem 7.5rem; }
.kz-abweichung > .kz-betrag:last-child { color: var(--fehler); font-weight: 600; }
.u1-periode { display: grid; grid-template-columns: minmax(0, 1fr) auto 8rem 8rem; gap: .6rem; align-items: center; width: 100%; padding: .5rem .4rem; border: 0; border-bottom: 1px solid var(--linie); background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; border-radius: var(--radius); }
.u1-periode:hover, .u1-periode:focus-visible { background: var(--flaeche-2); }
.u1-periode.kz-kopf { cursor: default; background: none; padding-block: .25rem; font-size: .75rem; color: var(--leise); align-items: end; }
.kz-kopf > .kz-betrag { white-space: normal; }
.u1-periode .u1-zeitraum::after { content: " ›"; color: var(--leise); }
.kz-klick { cursor: pointer; border-radius: var(--radius); }
.kz-klick:hover, .kz-klick:focus-visible { background: var(--flaeche-2); }
.kz-klick .kz-text::after { content: " ›"; color: var(--leise); }
.kz-klick[aria-expanded="true"] .kz-text::after { content: " ⌄"; }
.kz-posten { padding: .2rem 0 .5rem 2.6rem; border-bottom: 1px solid var(--linie); }
.e6-quoten { display: block; font-size: .78rem; color: var(--leise); font-weight: 400; }
.e6-zeile.kz-klick .kz-text::after { content: none; }
.e6-zeile .e6-name::after { content: " ›"; color: var(--leise); }
.kz-block h3.e6-unter { margin-top: 18px; }
.e6-zeile[aria-expanded="true"] .e6-name::after { content: " ⌄"; }
.e6-details { display: grid; gap: .1rem; }
.e6-summe { display: flex; justify-content: space-between; gap: .6rem; font-size: .9rem; padding: .1rem .4rem; }
.e6-summe > .zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.e6-summe.fett { font-weight: 700; border-top: 1px solid var(--linie); padding-top: .3rem; margin-bottom: .2rem; }
.e6-posten-titel { font-size: .78rem; color: var(--leise); font-weight: 600; margin: .5rem .4rem .1rem; }
.e6-verteilung { display: grid; gap: .25rem; max-width: 26rem; margin: .1rem 0 .4rem; font-size: .88rem; }
.e6-nicht > .kz-betrag { color: var(--fehler); font-weight: 600; }
.anteile { margin-top: 1.1rem; }
.ue-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; margin-top: 1rem; }
.ue-spalte { display: grid; gap: 1rem; min-width: 0; }
@media (max-width: 900px) { .ue-raster { grid-template-columns: minmax(0, 1fr); } }
.ue-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.ue-kopf > h2 { margin: 0; font-size: 1.02rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.ue-kopf > h2 .leise { font-weight: 400; font-size: .85rem; }
.ue-karte { display: grid; gap: .55rem; min-width: 0; }
.ue-karte > h2 { margin: 0; font-size: 1.02rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.ue-karte > h2 .leise { font-weight: 400; font-size: .85rem; }
.ue-wert { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ue-unter { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; font-size: .88rem; color: var(--leise); }
.ue-liste { display: grid; margin: 0 -.4rem; }
.ue-zeile { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; width: 100%; padding: .45rem .4rem; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.ue-zeile:last-child { border-bottom: 0; }
.ue-zeile:hover, .ue-zeile:focus-visible { background: var(--flaeche-2); border-radius: var(--radius); }
.ue-zahl { justify-self: center; min-width: 1.9rem; padding: .1rem .35rem; border-radius: 999px; background: var(--flaeche-2); font-weight: 700; font-size: .85rem; text-align: center; font-variant-numeric: tabular-nums; }
.ue-zeile.warn .ue-zahl { background: var(--warnung-hell); color: var(--warnung); }
.ue-zeile .kz-text::after { content: " ›"; color: var(--leise); }
.ue-frist { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .6rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px solid var(--linie); }
.ue-frist:last-child { border-bottom: 0; }
.ue-frist .ue-datum { font-weight: 700; font-variant-numeric: tabular-nums; }
.ue-frist .ue-titel { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 560px) { .ue-frist { grid-template-columns: 3.2rem minmax(0, 1fr); } .ue-frist > .marke-klein { grid-column: 2; justify-self: start; } }
.ue-frist .ue-titel .leise { display: block; font-size: .8rem; }
.ue-frist.erledigt .ue-datum, .ue-frist.erledigt .ue-titel { color: var(--leise); }
.ue-balken { height: .5rem; border-radius: 999px; background: var(--flaeche-2); overflow: hidden; }
.ue-balken > span { display: block; height: 100%; background: var(--akzent); border-radius: inherit; }
.ue-balken.warn > span { background: var(--warnung); }
.anlage-beleg { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.anlage-beleg:hover, .anlage-beleg:focus-visible { text-decoration: underline; }
.anlage-offen { align-items: center; }
.sammel-titel { margin: .8rem 0 .2rem; }
.anlage-plan { margin-top: 1rem; }
.anlage-plan > h3 { margin: 0; font-size: 1rem; }
.anlage-plan td:first-child { white-space: nowrap; }
.anteile .liste { margin: .35rem 0; }
button.zeile.anteil-zeile { width: 100%; text-align: start; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; }
.kz-posten-zeile { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; gap: .6rem; width: 100%; text-align: start; background: none; border: 0; border-radius: var(--radius); padding: .3rem .4rem; font: inherit; font-size: .88rem; color: inherit; cursor: pointer; }
.kz-posten-zeile:hover, .kz-posten-zeile:focus-visible { background: var(--flaeche-2); }
.zuordnung-bereich { border-top: 1px solid var(--linie); padding-top: .6rem; }
.zuordnung-bereich h3 { margin-bottom: .4rem; }
.zuordnung-bereich .liste { margin-bottom: .6rem; }
.kandidat .gruende { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; }
.zuordnung-bereich .filter { margin: .3rem 0 .5rem; }
.ohne-beleg { margin-top: .6rem; }
.ohne-beleg > summary { font-size: .88rem; font-weight: 500; color: var(--text); }
.ohne-zeile { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; }
.ohne-zeile select { flex: 1 1 11rem; width: auto; min-width: 0; }
.ohne-zeile .betrag-feld { flex: 0 0 7.5rem; width: 7.5rem; text-align: end; font-variant-numeric: tabular-nums; }
.ohne-zeile input:not(.betrag-feld) { flex: 1 1 10rem; width: auto; min-width: 0; }
.bank-start p { margin: .4rem 0 .8rem; }
.konto-wahl-bank { width: auto; min-height: 2rem; padding-block: .2rem; font-size: .85rem; }
#inhalt.ablage-aktiv { outline: 2px dashed var(--f-bank); outline-offset: 6px; border-radius: 12px; }
.t-zeile { cursor: pointer; transition: background .1s ease; }
.t-zeile:hover { background: var(--flaeche-2); }
.t-bild { display: flex; align-items: center; justify-content: center; }
.t-haupt { display: flex; flex-direction: column; min-width: 0; }
.t-haupt strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-unter, .t-mobil { font-size: .8rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-unter:empty, .t-mobil { display: none; }
.t-feld { min-width: 0; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-zeile .sp-marken { display: flex; gap: .25rem; flex-wrap: wrap; white-space: normal; }
.sp-betrag { justify-self: end; text-align: end; font-variant-numeric: tabular-nums; }
.t-zeile .sp-betrag .betrag { font-weight: 600; }
.t-kopf { position: sticky; top: 0; z-index: 2; padding: .35rem .4rem; background: var(--grund); }
.t-kopf .t-feld { color: var(--leise); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.t-kopf .sortier { display: inline-flex; align-items: center; gap: .3rem; min-height: 0; padding: .2rem 0; border: 0; background: transparent; text-align: start; justify-self: start; }
.t-kopf .sortier.sp-betrag { justify-self: end; }
.t-kopf .sortier:hover, .t-kopf .sortier.aktiv { color: var(--text); }
.t-kopf .pfeil { font-size: .8rem; opacity: .45; }
.t-kopf .sortier.aktiv .pfeil { opacity: 1; color: var(--akzent); }
@media (max-width: 760px) {
  .t-belege .t-zeile, .t-rechnungen .t-zeile, .t-bank .t-zeile { grid-template-columns: 3.2rem minmax(0, 1fr) auto; grid-template-areas: "bild haupt betrag" "bild haupt marken"; gap: .15rem .7rem; }
  .t-zeile .t-bild { grid-area: bild; }
  .t-zeile .t-haupt { grid-area: haupt; }
  .t-zeile .sp-betrag { grid-area: betrag; }
  .t-zeile .sp-marken, .t-zeile .sp-zustand { grid-area: marken; justify-self: end; justify-content: flex-end; }
  .t-zeile .sp-tag, .t-zeile .sp-kategorie, .t-zeile .sp-nummer, .t-zeile .sp-faellig { display: none; }
  .t-zeile .t-unter { display: none; }
  .t-zeile .t-mobil { display: block; }
  .t-belege .t-kopf, .t-rechnungen .t-kopf, .t-bank .t-kopf { display: flex; gap: 1rem; }
  .t-kopf .t-bild, .t-kopf .sp-kategorie, .t-kopf .sp-marken, .t-kopf .sp-nummer, .t-kopf .sp-faellig, .t-kopf .sp-zustand { display: none; }
  .t-kopf .sp-betrag { margin-inline-start: auto; }
}

.s-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.s-karte { display: flex; flex-direction: column; gap: .15rem; min-width: 0; padding: 0 0 .75rem; border: 1px solid var(--linie); border-radius: 10px; background: var(--flaeche); color: var(--text); overflow: hidden; font-weight: 400; text-align: start; transition: transform .15s ease, box-shadow .15s ease; }
.s-karte:hover { background: var(--flaeche); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 15, 15, .12); }
.s-kopf { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; margin-bottom: .5rem; border-bottom: 1px solid var(--linie); }
.s-logo { background: #fff; }
.s-logo img { position: absolute; inset: 16% 14%; width: 72%; height: 68%; object-fit: contain; }
.s-ersatz { font-size: 1.7rem; font-weight: 700; letter-spacing: .02em; }
.s-ersatz.f0 { background: var(--p0); color: var(--p0t); }
.s-ersatz.f1 { background: var(--p1); color: var(--p1t); }
.s-ersatz.f2 { background: var(--p2); color: var(--p2t); }
.s-ersatz.f3 { background: var(--p3); color: var(--p3t); }
.s-ersatz.f4 { background: var(--p4); color: var(--p4t); }
.s-ersatz.f5 { background: var(--p5); color: var(--p5t); }
.s-name, .s-unter, .s-fuss { padding: 0 .85rem; }
.s-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-unter { font-size: .8rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .4rem; margin-top: .35rem; }
.s-fuss .betrag { flex: none; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.s-fuss .marken { display: flex; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
.s-blatt { flex-direction: column; align-items: stretch; justify-content: space-between; padding: .8rem .9rem; background: var(--flaeche-2); }
.s-blatt-kopf { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.s-nummer { font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.s-blatt-betrag { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.s-blatt-zeile { font-size: .78rem; color: var(--leise); }
[dir="rtl"] .t-haupt strong, [dir="rtl"] .s-name, [dir="rtl"] .s-unter { unicode-bidi: plaintext; }
[dir="rtl"] .s-blatt-betrag, [dir="rtl"] .sp-betrag { direction: ltr; }
@media (max-width: 760px) {
  .s-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .s-name, .s-unter, .s-fuss { padding: 0 .65rem; }
  .s-ersatz { font-size: 1.3rem; }
  .s-blatt { padding: .6rem .65rem; }
  .s-blatt-betrag { font-size: 1.1rem; }
  .s-blatt-zeile { font-size: .72rem; }
}
.marke-name { position: relative; top: .23em; }

:root { --f-belege: #e0453f; --f-rechnungen: #e8873a; --f-bank: #1f9fb8; --f-pruefen: #d9a21b; --f-auswertung: #d14d8b; --f-kunden: #43b862; --f-post: #22b8cc; --f-einstellungen: #5b7be6; --f-verwaltung: #a857d6; --f-uebersicht: #4f6d9a; }
[data-ansicht="uebersicht"] { --f: var(--f-uebersicht); }
[data-ansicht="belege"] { --f: var(--f-belege); }
[data-ansicht="rechnungen"] { --f: var(--f-rechnungen); }
[data-ansicht="bank"] { --f: var(--f-bank); }
[data-ansicht="pruefen"] { --f: var(--f-pruefen); }
[data-ansicht="auswertung"] { --f: var(--f-auswertung); }
[data-ansicht="kunden"] { --f: var(--f-kunden); }
[data-ansicht="post"] { --f: var(--f-post); }
[data-ansicht="einstellungen"] { --f: var(--f-einstellungen); }
[data-ansicht="verwaltung"] { --f: var(--f-verwaltung); }
.reiter svg { stroke: var(--f, currentColor); }
.seitentitel svg { stroke: var(--f, var(--leise)); }
.reiter button > span { font-family: "Manjari", system-ui, sans-serif; font-size: 1.02em; line-height: 1; position: relative; top: .2em; }
.reiter button > span.reiter-zahl { font-family: inherit; font-size: .7rem; line-height: 1.35; top: 0; }
.seitentitel { font-family: "Manjari", system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }
.seitentitel-text { position: relative; top: .22em; }
@media (max-width: 760px) {
  .reiter button svg { opacity: .6; }
  .reiter button.aktiv { color: var(--text); font-weight: 700; }
  .reiter button.aktiv svg { opacity: 1; }
  .reiter button > span { top: .15em; }
  .reiter button > span.reiter-zahl { font-size: .6rem; top: .05rem; }
  #reiter-verwaltung { display: none; }
  .kz-zeile { grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 0 .4rem; }
  .kz-zeile > .kz-betrag { grid-column: 3; }
  .kz-zeile > .kz-betrag:empty { display: none; }
  .kz-zeile > .kz-betrag:nth-child(3):not(:empty) { font-size: .8rem; color: var(--leise); }
  .kz-kopf { display: none; }
  .kz-zeile.kz-drei { grid-template-columns: 2.2rem minmax(0, 1fr) auto; }
  .kz-zeile.kz-drei > .kz-betrag:nth-child(3):not(:empty) { font-size: inherit; color: inherit; }
  .kz-drei > .kz-betrag::before, .u1-periode > .kz-betrag::before { content: attr(data-name) " "; color: var(--leise); font-size: .75rem; font-weight: 400; }
  .u1-periode { grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .6rem; }
  .u1-periode > .kz-betrag { grid-column: 2; }
  .kz-posten { padding-inline-start: .4rem; }
  .kz-posten-zeile { grid-template-columns: 4.8rem minmax(0, 1fr) auto; }
  .kz-zeile.anlage-zeile, .kz-zeile.anlage-offen, .kz-zeile.lz-zeile { grid-template-columns: minmax(0, 1fr) auto; }
  .anlage-zeile > .kz-nr, .anlage-offen > .kz-nr, .lz-zeile > .kz-nr { display: none; }
  .anlage-zeile > .kz-text, .lz-zeile > .kz-text { grid-column: 1 / -1; margin-bottom: .2rem; }
  .anlage-zeile > .kz-betrag, .anlage-offen > .kz-betrag, .lz-zeile > .kz-betrag { grid-column: 2; }
  .anlage-offen > .kz-text { grid-row: span 2; }
}

.menue-knopf { display: none; }
.menue { position: fixed; inset: 0 auto 0 0; width: min(86vw, 320px); max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0 16px 16px 0; background: var(--seite); color: var(--text); box-shadow: 0 10px 40px rgba(15, 15, 15, .25); }
.menue[open] { animation: menue-rein .2s ease-out; }
.menue::backdrop { background: rgba(15, 15, 15, .38); }
@keyframes menue-rein { from { transform: translateX(-100%); } }
[dir="rtl"] .menue { inset: 0 0 0 auto; border-radius: 16px 0 0 16px; }
[dir="rtl"] .menue[open] { animation-name: menue-rein-rtl; }
@keyframes menue-rein-rtl { from { transform: translateX(100%); } }
.menue-inhalt { display: flex; flex-direction: column; gap: .55rem; height: 100%; overflow-y: auto; padding: max(1rem, env(safe-area-inset-top)) .9rem max(1rem, env(safe-area-inset-bottom)); }
.menue-kopf { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 0 .1rem .2rem .3rem; }
.menue-firma { padding: 0 .3rem .4rem; color: var(--leise); font-size: .9rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menue-firma select { width: 100%; font-size: .9rem; }
.menue-aktion { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .55rem .7rem; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); font-weight: 500; text-align: start; }
.menue-aktion.haupt { border-color: var(--akzent); background: var(--akzent); color: #fff; font-weight: 600; }
.menue-aktion svg { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menue-liste { display: flex; flex-direction: column; gap: 2px; margin-top: .4rem; }
.menue-liste button { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .65rem .7rem; border: 0; border-radius: var(--radius); background: transparent; color: var(--leise); font-weight: 500; text-align: start; font-size: 1.02rem; }
.menue-liste button:hover { background: var(--flaeche-2); color: var(--text); }
.menue-liste button.aktiv { background: var(--flaeche-2); color: var(--text); font-weight: 700; }
.menue-liste svg { width: 1.3rem; height: 1.3rem; flex: none; fill: none; stroke: var(--f, currentColor); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menue-liste span { font-family: "Manjari", system-ui, sans-serif; line-height: 1; position: relative; top: .2em; }
.menue-fuss { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding: .8rem .3rem 0; border-top: 1px solid var(--linie); }
.menue-wer { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: .88rem; }
.menue-wer strong, .menue-wer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .menue-knopf { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; padding: 0; flex: none; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); }
  .menue-knopf svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .seite .firma { display: none; }
  .seite .marke { cursor: pointer; }
}
.zugang-liste { display: flex; flex-direction: column; border-top: 1px solid var(--linie); margin-bottom: .6rem; }
.zugang-zeile { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--linie); }
.zugang-wer { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.zugang-wer strong, .zugang-wer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zugang-zeile select { width: auto; flex: none; }
.zugang-neu { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.zugang-neu select { width: auto; flex: 1 1 10rem; min-width: 0; }

@media (max-width: 760px) {
  .seite .wer { flex: none; padding: 0; }
  .seite .wer .kreis { width: 2.1rem; height: 2.1rem; font-size: .72rem; border-radius: 8px; }
}
@media (min-width: 521px) and (max-width: 760px) { .seite .firma { display: block; } }

.konto-menue { position: fixed; inset: auto auto 4.4rem .7rem; width: 320px; max-width: calc(100vw - 1.4rem); max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem); margin: 0; padding: 0; border: 1px solid var(--linie); border-radius: 14px; background: var(--flaeche); color: var(--text); box-shadow: 0 18px 50px rgba(15, 15, 15, .22); overflow: hidden; }
.konto-menue[open] { animation: konto-auf .14s ease-out; }
.konto-menue::backdrop { background: rgba(15, 15, 15, .16); }
@keyframes konto-auf { from { opacity: 0; transform: translateY(6px) scale(.98); } }
[dir="rtl"] .konto-menue { inset: auto .7rem 4.4rem auto; }
.konto-inhalt { display: flex; flex-direction: column; gap: .9rem; max-height: inherit; overflow-y: auto; padding: 1rem; }
.konto-kopf { display: flex; align-items: flex-start; gap: .65rem; }
.konto-kopf .kreis { width: 2.4rem; height: 2.4rem; font-size: .8rem; border-radius: 9px; }
.konto-wer { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.konto-wer strong, .konto-wer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.konto-wer span:empty { display: none; }
.konto-teil { display: flex; flex-direction: column; gap: .4rem; padding-top: .8rem; border-top: 1px solid var(--linie); }
.konto-titel { font-size: .75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--leise); }
.konto-wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
.konto-wahl.themen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.konto-wahl button { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .45rem .5rem; font-size: .88rem; color: var(--leise); background: var(--flaeche); }
.konto-wahl.themen button { justify-content: flex-start; }
.konto-wahl button.aktiv { color: var(--text); font-weight: 600; border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent); }
.thema-muster { width: 1.35rem; height: 1.35rem; flex: none; border-radius: 5px; border: 1px solid rgba(0, 0, 0, .15); }
.tm-system { background: linear-gradient(135deg, #f7f7f5 50%, #1c1930 50%); }
.tm-hell { background: #f7f7f5; }
.tm-dunkel { background: #1c1930; }
.tm-werkstatt { background: radial-gradient(circle, rgba(70, 45, 15, .45) 0 1.2px, transparent 1.6px) 0 0 / 6px 6px, linear-gradient(#e0c79c, #cfb07c); box-shadow: inset 0 -3px 0 #e3601a; }
.konto-teil .sprachwahl { width: 100%; }
.konto-knoepfe { display: flex; flex-direction: column; gap: 2px; padding-top: .6rem; border-top: 1px solid var(--linie); }
.konto-knoepfe button { text-align: start; padding: .5rem .55rem; color: var(--text); }
.konto-knoepfe button.gefahr { color: var(--fehler); }
@media (max-width: 760px) {
  .konto-menue { inset: calc(3.7rem + env(safe-area-inset-top)) .6rem auto auto; width: min(92vw, 340px); max-height: calc(100dvh - 9rem); }
  [dir="rtl"] .konto-menue { inset: calc(3.7rem + env(safe-area-inset-top)) auto auto .6rem; }
}

:root[data-theme="werkstatt"] {
  color-scheme: light;
  --grund: #f1ebe0;
  --seite: #efe6d6;
  --flaeche: #fffdf8;
  --flaeche-2: #f3eadb;
  --feld: #fbf6ec;
  --text: #2b2622;
  --leise: #6d6257;
  --linie: #dccdb3;
  --akzent: #e3601a;
  --akzent-text: #ffffff;
  --akzent-hell: rgba(227, 96, 26, .2);
  --plus: #2f7d3f;
  --plus-hell: #dcefd9;
  --warnung: #8a5a00;
  --warnung-hell: #fbeccb;
  --fehler: #c0362c;
  --fehler-hell: #fbe0dc;
  --radius: 10px;
  --radius-gross: 14px;
  --kante: #b29c77;
  --tiefe: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 4px 0 #d6c3a2, 0 10px 22px rgba(70, 50, 20, .14);
}
[data-theme="werkstatt"] body { background: linear-gradient(180deg, #f4eee4, #ece3d4) fixed; }
[data-theme="werkstatt"] .seite, [data-theme="werkstatt"] .menue, [data-theme="werkstatt"] .reiter {
  background-color: #d9bf93;
  background-image: radial-gradient(circle, rgba(70, 45, 15, .38) 0 2px, rgba(255, 240, 210, .35) 2.4px, transparent 3px), linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(0, 0, 0, .05));
  background-size: 22px 22px, 100% 100%;
}
[data-theme="werkstatt"] .seite { border-inline-end: 3px solid #b8996a; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .35); }
[data-theme="werkstatt"] .seite .firma, [data-theme="werkstatt"] .seite .wer { color: #3d3226; }
[data-theme="werkstatt"] .seite-fuss { border-top-color: rgba(90, 65, 30, .3); }
[data-theme="werkstatt"] .marke-name { text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }

[data-theme="werkstatt"] :where(button:not([class]):not([data-ansicht]), button.klein:not(.schlicht), button.haupt, button.gefahr:not(.schlicht), button.mit-symbol, .menue-aktion, .menue-knopf, .suchen, .scannen) {
  background: linear-gradient(#fffdf9, #efe5d4);
  border: 1px solid #cbb896;
  border-bottom: 3px solid var(--kante);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(70, 50, 20, .12);
  transition: transform .06s ease, box-shadow .06s ease;
}
[data-theme="werkstatt"] :where(button:not([class]):not([data-ansicht]), button.klein:not(.schlicht), button.gefahr:not(.schlicht), button.mit-symbol, .menue-aktion, .menue-knopf, .suchen):hover { background: linear-gradient(#fffefb, #f5ecde); }
[data-theme="werkstatt"] :where(button:not([class]):not([data-ansicht]), button.klein:not(.schlicht), button.haupt, button.gefahr:not(.schlicht), button.mit-symbol, .menue-aktion, .menue-knopf, .suchen, .scannen, .kopf-speichern):active:not(:disabled) {
  transform: translateY(2px);
  border-bottom-width: 1px;
  margin-bottom: 2px;
  box-shadow: inset 0 2px 4px rgba(70, 50, 20, .2);
}
[data-theme="werkstatt"] :is(button.haupt, .scannen, .menue-aktion.haupt, .kopf-speichern) {
  background: linear-gradient(#f28341, #d9561a);
  border-color: #c24c14;
  border-bottom-color: #8f3409;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 3px 8px rgba(160, 60, 10, .25);
}
[data-theme="werkstatt"] :is(button.haupt, .scannen, .menue-aktion.haupt, .kopf-speichern):hover { background: linear-gradient(#f58e4e, #df5f22); filter: none; }
[data-theme="werkstatt"] .scannen .taste { border-color: rgba(255, 255, 255, .7); }
[data-theme="werkstatt"] button.gefahr { color: var(--fehler); }
[data-theme="werkstatt"] .konto-wahl button { background: linear-gradient(#fffdf9, #efe5d4); border: 1px solid #cbb896; border-bottom: 3px solid var(--kante); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(70, 50, 20, .12); }
[data-theme="werkstatt"] .konto-wahl button.aktiv { background: linear-gradient(#fff4ea, #ffe3cc); border-color: var(--akzent); border-bottom-color: #b44a12; box-shadow: none; }

[data-theme="werkstatt"] :is(.karte, .s-karte, .anmelde-karte, .t-liste, .kundenliste, .liste, .posten, .kartenraster .kundenkarte .kk-ersatz) {
  border: 1px solid #d8c7a8;
  border-radius: var(--radius-gross);
  background: var(--flaeche);
  box-shadow: var(--tiefe);
}
[data-theme="werkstatt"] :is(.t-liste, .kundenliste, .liste) { padding: .3rem .6rem .5rem; margin-bottom: 1rem; }
[data-theme="werkstatt"] :is(.t-kopf, .kundenkopf) { background: var(--flaeche); border-radius: var(--radius-gross) var(--radius-gross) 0 0; }
[data-theme="werkstatt"] :is(.t-zeile, .kundenzeile, .zeile):last-child { border-bottom: 0; }
[data-theme="werkstatt"] .s-karte:hover { box-shadow: 0 1px 0 #fff inset, 0 6px 0 #d6c3a2, 0 16px 28px rgba(70, 50, 20, .18); }
[data-theme="werkstatt"] .s-logo, [data-theme="werkstatt"] .s-blatt { border-bottom: 2px dashed #e2d4bb; }
[data-theme="werkstatt"] .dialog, [data-theme="werkstatt"] .konto-menue { border: 1px solid #cdb997; border-radius: 16px; box-shadow: 0 6px 0 #cbb592, 0 24px 60px rgba(50, 35, 10, .3); }
[data-theme="werkstatt"] .dialog .dfuss { background: #f5ecdd; border-top: 1px solid #e2d4bb; }

[data-theme="werkstatt"] .held {
  position: relative;
  color: #f4efe6;
  border: 1px solid #1f2327;
  border-radius: 16px;
  background:
    radial-gradient(circle, #cfd6dc 0 2px, #5b636b 2.6px, transparent 3.4px) left 10px top 10px / 8px 8px no-repeat,
    radial-gradient(circle, #cfd6dc 0 2px, #5b636b 2.6px, transparent 3.4px) right 10px top 10px / 8px 8px no-repeat,
    radial-gradient(circle, #cfd6dc 0 2px, #5b636b 2.6px, transparent 3.4px) left 10px bottom 10px / 8px 8px no-repeat,
    radial-gradient(circle, #cfd6dc 0 2px, #5b636b 2.6px, transparent 3.4px) right 10px bottom 10px / 8px 8px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #4d565f, #2d3338);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 5px 0 #1b1f22, 0 16px 28px rgba(20, 20, 20, .25);
  padding: 1.2rem 1.5rem;
}
[data-theme="werkstatt"] .held-name, [data-theme="werkstatt"] .held-teil span { color: #b9c2ca; }
[data-theme="werkstatt"] .held-wert { color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
[data-theme="werkstatt"] .held-teil strong { color: #fff; }
[data-theme="werkstatt"] .held-teil { border-inline-start-color: rgba(255, 255, 255, .25); }
[data-theme="werkstatt"] .held-teil:nth-child(1) { border-inline-start-color: #6fd98b; }
[data-theme="werkstatt"] .held-teil:nth-child(2) { border-inline-start-color: #f5a15f; }
[data-theme="werkstatt"] .held-teil:nth-child(3) { border-inline-start-color: #8fb0ff; }
[data-theme="werkstatt"] .held-kopf select { background-color: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }

[data-theme="werkstatt"] :where(input:not([type="checkbox"]):not([type="range"]):not(.filter-feld), select, textarea, .filter) {
  border-color: #cdbb9b;
  background-color: #fbf6ec;
  box-shadow: inset 0 2px 3px rgba(70, 50, 20, .13);
}
[data-theme="werkstatt"] :where(input, select, textarea):focus { box-shadow: inset 0 2px 3px rgba(70, 50, 20, .1), 0 0 0 3px var(--akzent-hell); }

[data-theme="werkstatt"] .chips, [data-theme="werkstatt"] .wahl { gap: .3rem; }
[data-theme="werkstatt"] .wahl { background: #e6d9c2; border-color: #d2c1a2; box-shadow: inset 0 2px 3px rgba(70, 50, 20, .15); }
[data-theme="werkstatt"] :is(.chip.aktiv, .wahl button.aktiv) { background: linear-gradient(#fffdf9, #f1e7d6); border: 1px solid #cbb896; border-bottom: 3px solid var(--kante); box-shadow: 0 2px 4px rgba(70, 50, 20, .12); }

[data-theme="werkstatt"] .seitentitel { text-shadow: 0 1px 0 #fff; }
[data-theme="werkstatt"] .seitentitel svg { width: 2.4rem; height: 2.4rem; padding: .35rem; border-radius: 12px; background: linear-gradient(#fffdf9, #efe5d4); border: 1px solid #cbb896; border-bottom: 3px solid var(--kante); box-shadow: 0 3px 8px rgba(70, 50, 20, .15); }
@media (min-width: 761px) {
  [data-theme="werkstatt"] .reiter { background: none; gap: .35rem; }
  [data-theme="werkstatt"] .reiter button { color: #3d3226; background: rgba(255, 250, 240, .72); border: 1px solid rgba(120, 90, 50, .28); border-bottom: 3px solid rgba(120, 90, 50, .45); border-radius: 10px; }
  [data-theme="werkstatt"] .reiter button:hover { background: rgba(255, 252, 245, .92); }
  [data-theme="werkstatt"] .reiter button.aktiv { background: #fffaf0; border-color: #b8996a; border-bottom-color: #8e7148; box-shadow: 0 6px 12px rgba(60, 40, 15, .22); transform: translateX(3px); }
  [dir="rtl"][data-theme="werkstatt"] .reiter button.aktiv { transform: translateX(-3px); }
}
@media (max-width: 760px) {
  [data-theme="werkstatt"] .seite { border-inline-end: 0; border-bottom: 3px solid #b8996a; }
  [data-theme="werkstatt"] .reiter { border-top: 3px solid #b8996a; }
  [data-theme="werkstatt"] .reiter button { color: #3d3226; }
  [data-theme="werkstatt"] .reiter button.aktiv { color: #2b2622; }
  [data-theme="werkstatt"] .reiter button.aktiv svg { filter: drop-shadow(0 2px 0 rgba(90, 65, 30, .35)); }
}
[data-theme="werkstatt"] .menue-liste button { color: #3d3226; }
[data-theme="werkstatt"] .menue-liste button.aktiv { background: #fffaf0; box-shadow: 0 3px 0 #b8996a; }
[data-theme="werkstatt"] .menue-fuss { border-top-color: rgba(90, 65, 30, .3); }
[data-theme="werkstatt"] .meldung { border-radius: 12px; box-shadow: 0 4px 0 rgba(0, 0, 0, .25), 0 12px 24px rgba(0, 0, 0, .2); }
[data-theme="werkstatt"] .marke-klein { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }

.kopf-speichern { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; flex: none; border: 1px solid var(--akzent); border-radius: var(--radius); background: var(--akzent); color: var(--akzent-text); }
.kopf-speichern:hover { background: var(--akzent); filter: brightness(.93); }
.kopf-speichern .symbol-huelle svg { width: 1.2rem; height: 1.2rem; stroke: currentColor; stroke-width: 1.8; }
.dialog .dkopf .kopf-speichern { margin-inline-start: .2rem; }
.karten-kopf { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.karten-kopf h2 { flex: 1; margin: 0; }
.konto-knoepfe button { display: flex; align-items: center; gap: .65rem; }
.konto-knoepfe .symbol-huelle svg { width: 1.15rem; height: 1.15rem; stroke: currentColor; }
.konto-knoepfe [data-ansicht] svg { stroke: var(--f); }
.konto-knoepfe + .konto-knoepfe { padding-top: .4rem; }
.konto-einstellungen { display: flex; flex-direction: column; gap: .9rem; }
.konto-einstellungen .konto-teil:first-child { border-top: 0; padding-top: 0; }
.menue-konto { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; padding: .25rem; border: 0; background: transparent; color: var(--text); text-align: start; font-weight: 400; }
.menue-konto:hover { background: var(--flaeche-2); }

.kopf-aktionen { display: flex; align-items: center; gap: .3rem; padding-inline-end: .35rem; margin-inline-end: .1rem; border-inline-end: 1px solid var(--linie); }
.kopf-symbol { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; flex: none; color: var(--text); }
.kopf-symbol .symbol-huelle svg { width: 1.2rem; height: 1.2rem; stroke: currentColor; stroke-width: 1.7; }
.kopf-symbol.gefahr { color: var(--fehler); }
.kopf-symbol.gefahr:hover { background: var(--fehler-hell); border-color: var(--fehler-hell); }
.dialog .dkopf h2 { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .dialog .dkopf { flex-wrap: wrap; row-gap: .5rem; }
  .dialog .dkopf h2 { flex: 1 1 calc(100% - 4rem); order: -2; }
  .dialog .dkopf > .schlicht { order: -1; }
  .kopf-aktionen { margin-inline-start: auto; }
  .dialog .dkopf .marken + .kopf-aktionen, .dialog .dkopf .marken + .kopf-speichern { margin-inline-start: auto; }
}
[data-theme="werkstatt"] .kopf-symbol { background: linear-gradient(#fffdf9, #efe5d4); border: 1px solid #cbb896; border-bottom: 3px solid var(--kante); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(70, 50, 20, .12); }
[data-theme="werkstatt"] .kopf-symbol:active:not(:disabled) { transform: translateY(2px); border-bottom-width: 1px; margin-bottom: 2px; box-shadow: inset 0 2px 4px rgba(70, 50, 20, .2); }
[data-theme="werkstatt"] .kopf-aktionen { border-inline-end-color: #d8c7a8; }

@font-face { font-family: "Press Start 2P"; font-style: normal; font-weight: 400; font-display: swap; src: url("schrift/press-start-2p.woff2") format("woff2"); }
@font-face { font-family: "VT323"; font-style: normal; font-weight: 400; font-display: swap; src: url("schrift/vt323.woff2") format("woff2"); }

.tm-schwarz { background: linear-gradient(135deg, #191919 60%, #2383e2 60%); }
.tm-yoga { background: radial-gradient(circle at 70% 30%, #dfe7d9 0 30%, transparent 32%), linear-gradient(#f4efe6, #e7dccb); box-shadow: inset 0 -3px 0 #7a9a7e; }
.tm-pixel { background: linear-gradient(90deg, #c0c0c0 0 14.3%, #c0c000 0 28.6%, #00c0c0 0 42.9%, #00c000 0 57.1%, #c000c0 0 71.4%, #c00000 0 85.7%, #0000c0 0); image-rendering: pixelated; }
.tm-eigen { background: linear-gradient(135deg, var(--m-grund) 55%, var(--m-akzent) 55%); }
.thema-neu { display: flex; align-items: center; gap: .45rem; padding: .45rem .5rem; font-size: .88rem; color: var(--akzent); border: 1px dashed var(--akzent); background: transparent; }
.thema-plus { width: 1.35rem; height: 1.35rem; display: grid; place-items: center; font-weight: 700; }
.thema-eigen-leiste { margin: .3rem 0 0; gap: .4rem; }

:root[data-theme="schwarz"] {
  color-scheme: dark;
  --grund: #191919;
  --seite: #202020;
  --flaeche: #202020;
  --flaeche-2: #2c2c2c;
  --feld: #1f1f1f;
  --text: #e3e3e1;
  --leise: #9b9a97;
  --linie: #2f2f2f;
  --akzent: #2383e2;
  --akzent-text: #ffffff;
  --akzent-hell: rgba(35, 131, 226, .2);
  --plus: #4dab9a;
  --plus-hell: rgba(77, 171, 154, .16);
  --warnung: #dfab01;
  --warnung-hell: rgba(223, 171, 1, .14);
  --fehler: #ff7369;
  --fehler-hell: rgba(255, 115, 105, .15);
  --radius: 4px;
  --radius-gross: 6px;
  --p0: #1f3a5f; --p0t: #9ec5f5;
  --p1: #243d30; --p1t: #7fcaa0;
  --p2: #4d3423; --p2t: #f2a871;
  --p3: #3c2d49; --p3t: #c8a4e6;
  --p4: #1f3f43; --p4t: #7bd0d8;
  --p5: #4a3f1f; --p5t: #e6c867;
}
[data-theme="schwarz"] .seite { border-inline-end-color: #2a2a2a; }
[data-theme="schwarz"] :is(.reiter button, .menue-liste button):hover { background: rgba(255, 255, 255, .055); }
[data-theme="schwarz"] :is(.reiter button.aktiv, .menue-liste button.aktiv) { background: rgba(255, 255, 255, .075); }
[data-theme="schwarz"] :is(button:not(.haupt):not(.kopf-speichern)):hover { background: rgba(255, 255, 255, .055); }
[data-theme="schwarz"] .seitentitel { font-size: 2.2rem; }
[data-theme="schwarz"] .held { background: #202020; }
[data-theme="schwarz"] .dialog, [data-theme="schwarz"] .konto-menue { background: #252525; border-color: #373737; box-shadow: 0 16px 48px rgba(0, 0, 0, .55); }
[data-theme="schwarz"] .dialog .dfuss { background: #202020; }
[data-theme="schwarz"] .dialog::backdrop, [data-theme="schwarz"] .konto-menue::backdrop { background: rgba(0, 0, 0, .6); }

:root[data-theme="pixel"] {
  color-scheme: dark;
  --grund: #0d0d1a;
  --seite: #151528;
  --flaeche: #1b1b33;
  --flaeche-2: #26264a;
  --feld: #10101f;
  --text: #f4f4e8;
  --leise: #a3a3cc;
  --linie: #45457a;
  --akzent: #ffd23f;
  --akzent-text: #0d0d1a;
  --akzent-hell: rgba(255, 210, 63, .22);
  --plus: #3cff6e;
  --plus-hell: rgba(60, 255, 110, .15);
  --warnung: #ffd23f;
  --warnung-hell: rgba(255, 210, 63, .15);
  --fehler: #ff4d6d;
  --fehler-hell: rgba(255, 77, 109, .18);
  --radius: 0;
  --radius-gross: 0;
  --pixel-schatten: 4px 4px 0 #000;
  --testbild: linear-gradient(90deg, #c0c0c0 0 14.3%, #c0c000 0 28.6%, #00c0c0 0 42.9%, #00c000 0 57.1%, #c000c0 0 71.4%, #c00000 0 85.7%, #0000c0 0);
  --p0: #1e2d7a; --p0t: #8fb0ff;
  --p1: #0f5a2a; --p1t: #7dff9f;
  --p2: #6b3510; --p2t: #ffb36b;
  --p3: #4b1f6b; --p3t: #e0a3ff;
  --p4: #0f5357; --p4t: #7ff3ff;
  --p5: #5c4d0f; --p5t: #ffe27a;
}
[data-theme="pixel"] body { font-family: "VT323", ui-monospace, monospace; font-size: 19px; font-size-adjust: .5; letter-spacing: .02em; }
[data-theme="pixel"] .kalender { border: 2px solid var(--linie); border-radius: 0; box-shadow: 4px 4px 0 #000; animation: none; }
[data-theme="pixel"] .kalender .k-tag, [data-theme="pixel"] .kalender .k-pfeil { border-radius: 0; }
[data-theme="pixel"] .auswahl-flaeche { border: 2px solid var(--linie); border-radius: 0; box-shadow: 4px 4px 0 #000; animation: none; }
[data-theme="pixel"] .auswahl-eintrag { border-radius: 0; }
[data-theme="pixel"] :is(input, select, textarea, button) { font-family: inherit; font-size-adjust: inherit; }
[data-theme="pixel"] :is(h1, h2, .seitentitel, .marke-name, .held-wert, .dialog .dkopf h2, .konto-titel, .s-name) { font-family: "Press Start 2P", ui-monospace, monospace; font-size-adjust: none; letter-spacing: 0; font-weight: 400; line-height: 1.45; }
[data-theme="pixel"] .seitentitel { font-size: 1.15rem; }
[data-theme="pixel"] h2, [data-theme="pixel"] .dialog .dkopf h2 { font-size: .78rem; }
[data-theme="pixel"] .held-wert { font-size: clamp(1.05rem, 3vw, 1.45rem); }
[data-theme="pixel"] .marke-name { font-size: .72rem; top: .1em; }
[data-theme="pixel"] .konto-titel, [data-theme="pixel"] .s-name { font-size: .58rem; }
[data-theme="pixel"] .seitentitel-text::after { content: "_"; animation: pixel-blinken 1s steps(1) infinite; }
@keyframes pixel-blinken { 50% { opacity: 0; } }
[data-theme="pixel"] svg { stroke-linecap: square; stroke-linejoin: miter; shape-rendering: crispEdges; }
[data-theme="pixel"] .seite { border-inline-end: 3px solid #000; box-shadow: inset -3px 0 0 var(--linie); padding-top: 1.4rem; }
[data-theme="pixel"] .seite::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--testbild); }
[data-theme="pixel"] body::after { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); }
[data-theme="pixel"] :where(button:not([class]):not([data-ansicht]), button.klein:not(.schlicht), button.gefahr:not(.schlicht), button.mit-symbol, button.haupt, .kopf-symbol, .kopf-speichern, .menue-aktion, .menue-knopf, .suchen, .scannen, .konto-wahl button, .chip.aktiv, .wahl button.aktiv) {
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .35), inset 3px 3px 0 rgba(255, 255, 255, .18), var(--pixel-schatten);
}
[data-theme="pixel"] :where(button:not([class]):not([data-ansicht]), button.klein:not(.schlicht), button.gefahr:not(.schlicht), button.mit-symbol, .kopf-symbol, .menue-aktion:not(.haupt), .menue-knopf, .suchen, .konto-wahl button) { background: var(--flaeche-2); color: var(--text); }
[data-theme="pixel"] :where(button.haupt, .kopf-speichern, .scannen, .menue-aktion.haupt) { background: var(--akzent); color: var(--akzent-text); }
[data-theme="pixel"] :where(button:not(.schlicht), .suchen, .scannen, .menue-knopf):active:not(:disabled) { transform: translate(4px, 4px); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .35); }
[data-theme="pixel"] :where(.karte, .s-karte, .t-liste, .kundenliste, .liste, .posten, .held, .dialog, .konto-menue, .anmelde-karte, .menue, .filter, .wahl) { border: 3px solid #000; border-radius: 0; box-shadow: inset 0 0 0 2px var(--linie), 6px 6px 0 #000; }
[data-theme="pixel"] :where(.t-liste, .kundenliste, .liste) { padding: .3rem .6rem; }
[data-theme="pixel"] .held { background: var(--testbild) bottom / 100% 8px no-repeat, var(--flaeche); padding-bottom: 1.4rem; }
[data-theme="pixel"] :where(input:not([type="checkbox"]):not([type="range"]):not(.filter-feld), select, textarea) { border: 2px solid var(--linie); border-radius: 0; box-shadow: inset 3px 3px 0 #000; }
[data-theme="pixel"] :is(.kreis, .marke-klein, .kz-ersatz, .s-ersatz, .thema-muster, .konto-kopf .kreis) { border-radius: 0; }
[data-theme="pixel"] .reiter button.aktiv { background: var(--akzent); color: var(--akzent-text); }
[data-theme="pixel"] .reiter button.aktiv svg { stroke: var(--akzent-text); }
[data-theme="pixel"] .meldung { border: 3px solid #000; border-radius: 0; box-shadow: 6px 6px 0 #000; }
[data-theme="pixel"] .dialog::backdrop, [data-theme="pixel"] .konto-menue::backdrop, [data-theme="pixel"] .menue::backdrop { background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .55) 0 4px, rgba(0, 0, 0, .7) 4px 8px); }
@media (max-width: 760px) {
  [data-theme="pixel"] .seite { border-inline-end: 0; border-bottom: 3px solid #000; padding-top: calc(.55rem + 6px); }
  [data-theme="pixel"] .seite::before { height: 6px; }
  [data-theme="pixel"] .reiter { border-top: 3px solid #000; }
  [data-theme="pixel"] .reiter button.aktiv { background: transparent; color: var(--akzent); }
  [data-theme="pixel"] .reiter button.aktiv svg { stroke: var(--akzent); }
}

[data-form="weich"] :where(button, .chip, .filter, .wahl, .marke-klein, .konto-wahl button) { border-radius: 999px; }
[data-form="weich"] :where(.kopf-symbol, .kopf-speichern, .menue-knopf) { border-radius: 50%; }
[data-form="eckig"] :where(.kreis, .marke-klein, .s-karte, .held) { border-radius: 2px; }
[data-tiefe="schatten"] :where(.karte, .s-karte, .t-liste, .kundenliste, .held, .anmelde-karte, .posten) { border-color: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .09); }
[data-tiefe="schatten"] :where(.t-liste, .kundenliste) { padding: .2rem .6rem .4rem; background: var(--flaeche); border-radius: var(--radius-gross); }
[data-tiefe="schatten"] :where(button.haupt, .kopf-speichern, .scannen) { box-shadow: 0 4px 12px color-mix(in srgb, var(--akzent) 35%, transparent); }
[data-tiefe="schatten"] :where(button:not([class]):not([data-ansicht]), button.klein:not(.schlicht), .kopf-symbol, .suchen) { box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
[data-tiefe="3d"] :is(button:not([class]):not([data-ansicht]), button.klein:not(.schlicht), button.gefahr:not(.schlicht), button.mit-symbol, .kopf-symbol, .menue-aktion:not(.haupt), .menue-knopf, .suchen, .konto-wahl button) {
  background: linear-gradient(var(--flaeche), var(--flaeche-2));
  border: 1px solid color-mix(in srgb, var(--linie) 70%, #000 12%);
  border-bottom: 3px solid color-mix(in srgb, var(--linie) 55%, #000 30%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 4px rgba(0, 0, 0, .1);
}
[data-tiefe="3d"] :is(button.haupt, .kopf-speichern, .scannen, .menue-aktion.haupt) {
  background: linear-gradient(color-mix(in srgb, var(--akzent) 82%, #fff), var(--akzent));
  border: 1px solid color-mix(in srgb, var(--akzent) 80%, #000);
  border-bottom: 3px solid color-mix(in srgb, var(--akzent) 60%, #000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 8px color-mix(in srgb, var(--akzent) 30%, transparent);
}
[data-tiefe="3d"] :is(button:not(.schlicht), .suchen, .scannen, .kopf-symbol, .kopf-speichern):active:not(:disabled) { transform: translateY(2px); border-bottom-width: 1px; margin-bottom: 2px; }
[data-tiefe="3d"] :where(.karte, .s-karte, .t-liste, .kundenliste, .held, .anmelde-karte, .posten) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 0 color-mix(in srgb, var(--linie) 70%, #000 15%), 0 10px 22px rgba(0, 0, 0, .12); }
[data-tiefe="3d"] :where(.t-liste, .kundenliste) { padding: .2rem .6rem .4rem; background: var(--flaeche); border-radius: var(--radius-gross); }
:root[data-schrift="klassisch"] body, .tv[data-schrift="klassisch"] { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; }
[data-schrift="klassisch"] :where(h1, h2, .seitentitel, .held-wert, .tv-titel) { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 600; letter-spacing: 0; }
[data-schrift="rund"] :where(h1, h2, h3, .held-wert, .dialog .dkopf h2, .s-name, .tv-titel) { font-family: "Manjari", system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }
:root[data-schrift="technisch"] body, .tv[data-schrift="technisch"] { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 14px; }
[data-schrift="technisch"] :where(input, select, textarea, button) { font-family: inherit; }
:root[data-stimmung="ruhig"] body { background: radial-gradient(1200px 600px at 100% -10%, color-mix(in srgb, var(--akzent) 10%, transparent), transparent 70%), radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--akzent) 7%, transparent), transparent 70%), var(--grund); background-attachment: fixed; }
:root[data-stimmung="verspielt"] .seitentitel svg { transform: rotate(-6deg); }
:root[data-stimmung="edel"] :is(h2, .konto-titel, .held-name) { letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }

.ta { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.ta-links { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.ta-rechts { position: sticky; top: 0; }
.ta-frage { display: flex; flex-direction: column; gap: .45rem; }
.ta-titel { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; }
.ta-nr { width: 1.4rem; height: 1.4rem; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--akzent-hell); color: var(--akzent); font-size: .75rem; font-weight: 700; }
.ta-wahl { display: flex; flex-wrap: wrap; gap: .35rem; }
.ta-wahl button { padding: .35rem .7rem; font-size: .85rem; color: var(--leise); }
.ta-wahl button.aktiv { color: var(--text); font-weight: 600; border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent); }
.ta-schrift button[data-wert="klassisch"] { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.ta-schrift button[data-wert="rund"] { font-family: "Manjari", system-ui, sans-serif; }
.ta-schrift button[data-wert="technisch"] { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.ta-farben { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.ta-farbe { width: 2rem; height: 2rem; min-height: 0; padding: 0; border-radius: 50%; border: 2px solid var(--flaeche); background: var(--f); box-shadow: 0 0 0 1px var(--linie); }
.ta-farbe:hover { background: var(--f); transform: scale(1.08); }
.ta-farbe.aktiv { box-shadow: 0 0 0 2px var(--text); }
.ta-eigene-farbe { margin: 0; width: 2rem; height: 2rem; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--linie); background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); position: relative; cursor: pointer; }
.ta-eigene-farbe input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; padding: 0; min-height: 0; cursor: pointer; }
.ta-ki { padding: .8rem .9rem; border: 1px dashed var(--akzent); border-radius: var(--radius-gross); background: var(--akzent-hell); }
.ta-ki-zeile { display: flex; gap: .4rem; }
.ta-ki-zeile input { flex: 1; }
.ta-ki .ki-zeichen { width: auto; height: auto; background: none; color: var(--akzent); }
.ta-name { margin: 0; }
.ta-vorschau-titel { margin-bottom: .35rem; }
.tv { display: grid; grid-template-columns: 34% 1fr; min-height: 18rem; overflow: hidden; border: 1px solid var(--linie); border-radius: var(--radius-gross, 8px); background: var(--grund); color: var(--text); font-size: .8rem; line-height: 1.4; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); pointer-events: none; }
.tv-seite { display: flex; flex-direction: column; gap: .3rem; padding: .7rem .5rem; background: var(--seite); border-inline-end: 1px solid var(--linie); }
.tv-seite .marke { font-size: .72rem; margin-bottom: .4rem; gap: .3rem; }
.tv-seite .marke-zeichen { width: .9rem; height: .9rem; }
.tv-reiter { display: flex; align-items: center; gap: .35rem; padding: .25rem .35rem; border-radius: var(--radius); color: var(--leise); font-size: .72rem; }
.tv-reiter.aktiv { background: var(--flaeche-2); color: var(--text); font-weight: 600; }
.tv-reiter svg { width: .85rem; height: .85rem; fill: none; stroke: var(--f, currentColor); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tv-inhalt { display: flex; flex-direction: column; gap: .55rem; padding: .8rem .75rem; min-width: 0; }
.tv-titel { font-size: 1.05rem; font-weight: 700; }
.tv-held { margin: 0; padding: .55rem .65rem; gap: .2rem; }
.tv-held .held-wert { font-size: 1.15rem; }
.tv-held .held-name { font-size: .68rem; }
.tv-zeile { display: flex; align-items: center; gap: .45rem; padding: .45rem .55rem; }
.tv-zeile .kreis { width: 1.4rem; height: 1.4rem; font-size: .55rem; }
.tv-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-knoepfe { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.tv-knoepfe button, .tv-knoepfe .chip { font-size: .7rem; padding: .25rem .55rem; }
@media (max-width: 760px) {
  .ta { grid-template-columns: minmax(0, 1fr); }
  .ta-rechts { order: -1; position: static; }
  .tv { min-height: 13rem; }
}
.ta-fragen { display: flex; flex-direction: column; gap: 1rem; }
.tv-seite { overflow: hidden; }
.tv-seite .marke-name { font-size: .72rem; white-space: nowrap; }
[data-theme="pixel"] :is(.reiter button > span, .menue-liste span) { font-family: inherit; top: .05em; }
.post-bereich { margin-top: 2rem; scroll-margin-top: 1rem; }
.post-bereich:empty { display: none; }
.seite .marke:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }
.ta-ende { display: flex; align-items: flex-end; gap: .6rem; flex-wrap: wrap; padding-top: .8rem; border-top: 1px solid var(--linie); }
.ta-ende .ta-name { flex: 1 1 12rem; }
.ta-ende .haupt { min-height: 2.35rem; }

.tm-glas { background: radial-gradient(circle at 25% 30%, #a24bd1 0 22%, transparent 45%), radial-gradient(circle at 80% 70%, #29c6d9 0 22%, transparent 48%), linear-gradient(135deg, #e8873a, #4b6fe0); box-shadow: inset 0 0 0 20px rgba(255, 255, 255, .35); }

:root[data-theme="glas"] {
  color-scheme: light;
  --grund: rgba(255, 255, 255, .5);
  --seite: rgba(255, 255, 255, .42);
  --flaeche: rgba(255, 255, 255, .62);
  --flaeche-2: rgba(255, 255, 255, .5);
  --feld: rgba(255, 255, 255, .6);
  --text: #1c1a2e;
  --leise: rgba(28, 26, 46, .6);
  --linie: rgba(40, 36, 80, .12);
  --akzent: #5b54d6;
  --akzent-text: #ffffff;
  --akzent-hell: rgba(91, 84, 214, .16);
  --radius: 12px;
  --radius-gross: 18px;
  --glas: rgba(255, 255, 255, .5);
  --glas-leiste: rgba(248, 246, 255, .93);
  --glas-rand: rgba(255, 255, 255, .7);
  --glas-glanz: rgba(255, 255, 255, .85);
  --glas-schatten: 0 8px 32px rgba(40, 30, 120, .12);
  --glas-hinten: radial-gradient(900px 600px at 8% 12%, rgba(162, 75, 209, .45), transparent 60%),
                 radial-gradient(800px 600px at 92% 18%, rgba(41, 198, 217, .4), transparent 60%),
                 radial-gradient(900px 700px at 70% 95%, rgba(232, 135, 58, .35), transparent 60%),
                 radial-gradient(700px 600px at 15% 90%, rgba(75, 111, 224, .38), transparent 60%),
                 linear-gradient(160deg, #f1eefb, #e6f1f8);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="glas"] {
    color-scheme: dark;
    --grund: rgba(24, 22, 48, .55);
    --seite: rgba(30, 28, 58, .45);
    --flaeche: rgba(36, 34, 70, .55);
    --flaeche-2: rgba(255, 255, 255, .08);
    --feld: rgba(20, 18, 42, .5);
    --text: #f3f2fb;
    --leise: rgba(243, 242, 251, .62);
    --linie: rgba(255, 255, 255, .1);
    --akzent: #9d97ff;
    --akzent-text: #141230;
    --akzent-hell: rgba(157, 151, 255, .2);
    --plus: #6fd98b;
    --plus-hell: rgba(76, 196, 106, .16);
    --warnung: #efd26a;
    --warnung-hell: rgba(232, 198, 58, .15);
    --fehler: #f07a74;
    --fehler-hell: rgba(224, 69, 63, .17);
    --p0: rgba(75, 111, 224, .25); --p0t: #a3b5f3;
    --p1: rgba(76, 196, 106, .22); --p1t: #8fe0a4;
    --p2: rgba(232, 135, 58, .22); --p2t: #f2b27f;
    --p3: rgba(162, 75, 209, .25); --p3t: #d3a3ec;
    --p4: rgba(41, 198, 217, .22); --p4t: #86dfe9;
    --p5: rgba(232, 198, 58, .2); --p5t: #efd67a;
    --glas: rgba(36, 34, 70, .45);
    --glas-leiste: rgba(22, 20, 46, .93);
    --glas-rand: rgba(255, 255, 255, .14);
    --glas-glanz: rgba(255, 255, 255, .16);
    --glas-schatten: 0 10px 36px rgba(0, 0, 0, .35);
    --glas-hinten: radial-gradient(900px 600px at 8% 12%, rgba(162, 75, 209, .45), transparent 60%),
                   radial-gradient(800px 600px at 92% 18%, rgba(41, 198, 217, .3), transparent 60%),
                   radial-gradient(900px 700px at 70% 95%, rgba(232, 135, 58, .28), transparent 60%),
                   radial-gradient(700px 600px at 15% 90%, rgba(75, 111, 224, .4), transparent 60%),
                   linear-gradient(160deg, #0f0d24, #111a2c);
  }
}
[data-theme="glas"] body { background: var(--glas-hinten); background-attachment: fixed; }
[data-theme="glas"] :is(.karte, .held, .t-liste, .kundenliste, .liste, .s-karte, .anmelde-karte, .posten, .dialog, .konto-menue, .menue, .suche-dialog, .meldung, .filter, .wahl) {
  background: var(--glas);
  border: 1px solid var(--glas-rand);
  box-shadow: var(--glas-schatten), inset 0 1px 0 var(--glas-glanz);
}
[data-theme="glas"] :is(.anmelde-karte, .dialog, .konto-menue, .menue, .suche-dialog, .meldung) {
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
[data-theme="glas"] :is(.t-liste, .kundenliste, .liste) { border-radius: var(--radius-gross); padding: .3rem .6rem .5rem; }
[data-theme="glas"] .seite { background: transparent; border: 0 solid var(--glas-rand); border-inline-end-width: 1px; box-shadow: var(--glas-schatten), inset 0 1px 0 var(--glas-glanz); isolation: isolate; }
[data-theme="glas"] .seite::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glas); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); pointer-events: none; }
[data-theme="glas"] :is(.t-kopf, .kundenkopf) { background: transparent; }
[data-theme="glas"] .anmeldung { background: var(--glas-hinten); }
[data-theme="glas"] .dialog .dfuss { background: rgba(255, 255, 255, .12); border-top-color: var(--glas-rand); }
[data-theme="glas"] :is(.dialog, .konto-menue, .menue, .suche-dialog)::backdrop { background: rgba(20, 16, 50, .18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
[data-theme="glas"] :where(button:not(.schlicht):not(.haupt):not(.kopf-speichern):not(.chip):not(.sortier):not([data-ansicht]), .suchen, .menue-aktion:not(.haupt)) {
  background: rgba(255, 255, 255, .28);
  border: 1px solid var(--glas-rand);
  box-shadow: inset 0 1px 0 var(--glas-glanz), 0 2px 8px rgba(40, 30, 120, .08);
}
[data-theme="glas"] :where(button:not(.schlicht):not(.haupt):not(.kopf-speichern):not(.chip):not(.sortier):not([data-ansicht]), .suchen):hover { background: rgba(255, 255, 255, .45); }
[data-theme="glas"] :is(button.haupt, .kopf-speichern, .scannen, .menue-aktion.haupt) {
  background: linear-gradient(135deg, #6c63ff, #a24bd1);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  box-shadow: 0 6px 20px rgba(108, 99, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .45);
}
[data-theme="glas"] :is(button.haupt, .kopf-speichern, .scannen, .menue-aktion.haupt):hover { filter: brightness(1.06); background: linear-gradient(135deg, #6c63ff, #a24bd1); }
[data-theme="glas"] :where(input:not([type="checkbox"]):not([type="range"]):not(.filter-feld), select, textarea) { background-color: var(--feld); border-color: var(--glas-rand); box-shadow: inset 0 1px 2px rgba(40, 30, 120, .08); }
[data-theme="glas"] :is(.reiter button.aktiv, .menue-liste button.aktiv, .chip.aktiv, .wahl button.aktiv, .tv-reiter.aktiv) { background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 var(--glas-glanz), 0 2px 10px rgba(40, 30, 120, .1); }
[data-theme="glas"] :is(.reiter button, .menue-liste button, .chip, .zeile, .t-zeile, .suche-zeile):hover { background: rgba(255, 255, 255, .35); }
[data-theme="glas"] .kalender { background: var(--glas-leiste); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border-color: var(--glas-rand); box-shadow: var(--glas-schatten), inset 0 1px 0 var(--glas-glanz); }
[data-theme="glas"] .auswahl-flaeche { background: var(--glas-leiste); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border-color: var(--glas-rand); box-shadow: var(--glas-schatten), inset 0 1px 0 var(--glas-glanz); }
[data-theme="glas"] .held-wert { background: linear-gradient(135deg, var(--text), #5b54d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) {
  [data-theme="glas"] :is(.reiter button.aktiv, .menue-liste button.aktiv, .chip.aktiv, .wahl button.aktiv, .tv-reiter.aktiv) { background: rgba(255, 255, 255, .12); }
  [data-theme="glas"] :is(.reiter button, .menue-liste button, .chip, .zeile, .t-zeile, .suche-zeile):hover { background: rgba(255, 255, 255, .07); }
  [data-theme="glas"] :where(button:not(.schlicht):not(.haupt):not(.kopf-speichern):not(.chip):not(.sortier):not([data-ansicht]), .suchen) { background: rgba(255, 255, 255, .08); }
  [data-theme="glas"] .held-wert { background: linear-gradient(135deg, #fff, #b9b4ff); -webkit-background-clip: text; background-clip: text; }
}
@media (max-width: 760px) {
  [data-theme="glas"] .seite { border-inline-end-width: 0; border-bottom-width: 1px; }
  [data-theme="glas"] .seite::before { background: var(--glas-leiste); }
  [data-theme="glas"] .reiter { background: var(--glas-leiste); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); border-top: 1px solid var(--glas-rand); }
  [data-theme="glas"] .reiter button.aktiv { background: transparent; box-shadow: none; }
}
.anmeldung { position: relative; isolation: isolate; }
.anmeldung::before, .anmeldung::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask: var(--hg) center / cover no-repeat; mask: var(--hg) center / cover no-repeat; }
.anmeldung::before { --hg: url(/hintergrund.svg?v=1); background: var(--leise); opacity: .2; }
.anmeldung::after { --hg: url(/hintergrund-akzent.svg?v=1); background: var(--akzent); opacity: .55; }
@media (max-width: 640px) { .anmeldung::before, .anmeldung::after { -webkit-mask-size: auto 100%; mask-size: auto 100%; -webkit-mask-position: 100% 50%; mask-position: 100% 50%; } }
@media (prefers-reduced-motion: no-preference) { .anmeldung::before, .anmeldung::after { animation: hg-ein 1.4s ease both; } }
@keyframes hg-ein { from { opacity: 0; } }
