@font-face {
  font-family: "Work Sans";
  src: url(/_h/schrift/WorkSans-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url(/_h/schrift/WorkSans-Bold.woff2) format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url(/_h/schrift/Lora-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --p: var(--app-farbe, #2f6f4e);
  --auf-p: #fff;
  --pa: var(--p);
  --p-hell: color-mix(in srgb, var(--p) 11%, var(--k));
  --p-dunkel: color-mix(in srgb, var(--p) 76%, #000);
  --bg: #f3f4f6;
  --k: #fff;
  --t: #14181f;
  --m: #687080;
  --l: #e6e8ec;
  --gut: #1d7a46;
  --gut-hell: #e5f5eb;
  --warn: #9a6400;
  --warn-hell: #fbf0dc;
  --schlecht: #c0352b;
  --schlecht-hell: #fdecea;
  --rund: 18px;
  --rund-k: 13px;
  --rund-knopf: 13px;
  --sch1: 0 1px 2px rgba(16,24,40,.05), 0 4px 14px rgba(16,24,40,.06);
  --sch2: 0 10px 34px rgba(16,24,40,.16);
  --schrift:
    "Work Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  --titel: var(--schrift);
  color-scheme: light;
}
:root[data-stil=elegant] {
  --bg: #f6f3ec;
  --k: #fffdf8;
  --t: #1d2522;
  --m: #6f7671;
  --l: #e4ddcf;
  --rund: 14px;
  --rund-k: 12px;
  --rund-knopf: 999px;
  --sch1: 0 1px 2px rgba(60,50,30,.04);
  --sch2: 0 14px 44px rgba(40,32,16,.2);
  --titel:
    "Lora",
    Georgia,
    serif;
}
:root[data-stil=kacheln] {
  --bg: #eef1f4;
  --k: #fff;
  --t: #111827;
  --m: #6b7280;
  --l: #e5e7eb;
  --rund: 20px;
  --rund-k: 14px;
  --rund-knopf: 14px;
  --sch1: 0 2px 10px rgba(17,24,39,.06);
  --sch2: 0 12px 36px rgba(17,24,39,.16);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #101318;
    --k: #1a1e26;
    --t: #eceef2;
    --m: #9aa2b1;
    --l: #2a303b;
    --pa: color-mix(in srgb, var(--p) 55%, #fff);
    --p-hell: color-mix(in srgb, var(--p) 24%, var(--k));
    --gut: #6fd19e;
    --gut-hell: #173527;
    --warn: #e3b55a;
    --warn-hell: #3a2e14;
    --schlecht: #ff8a80;
    --schlecht-hell: #3d1b19;
    --sch1: 0 1px 2px rgba(0,0,0,.3);
    --sch2: 0 12px 40px rgba(0,0,0,.5);
    color-scheme: dark;
  }
  :root[data-stil=elegant]:not([data-theme=light]) {
    --bg: #14171a;
    --k: #1c2024;
    --t: #efece4;
    --m: #a39f95;
    --l: #2e3236;
  }
  :root[data-stil=kacheln]:not([data-theme=light]) {
    --bg: #0f1217;
    --k: #1a1f27;
    --l: #2a303b;
  }
}
:root[data-theme=dark] {
  --bg: #101318;
  --k: #1a1e26;
  --t: #eceef2;
  --m: #9aa2b1;
  --l: #2a303b;
  --pa: color-mix(in srgb, var(--p) 55%, #fff);
  --p-hell: color-mix(in srgb, var(--p) 24%, var(--k));
  --gut: #6fd19e;
  --gut-hell: #173527;
  --warn: #e3b55a;
  --warn-hell: #3a2e14;
  --schlecht: #ff8a80;
  --schlecht-hell: #3d1b19;
  --sch1: 0 1px 2px rgba(0,0,0,.3);
  --sch2: 0 12px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 16px/1.5 var(--schrift);
  background: var(--bg);
  color: var(--t);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
h1,
h2,
h3 {
  font-family: var(--titel);
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0 0 .4em;
}
h1 {
  font-size: 26px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 17px;
}
:root[data-stil=elegant] :is(h1, h2) {
  letter-spacing: 0;
}
a {
  color: var(--pa);
}
.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kopf {
  padding: calc(20px + env(safe-area-inset-top)) 20px 14px;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.kopf > div {
  flex: 1;
  min-width: 0;
}
.kopf .ober {
  display: block;
  font-size: 13px;
  color: var(--m);
}
.kopf h1 {
  margin: 2px 0 0;
  font-size: 26px;
}
.kopf .unter {
  color: var(--m);
  font-size: 14px;
  margin: 4px 0 0;
}
:root[data-stil=elegant] .kopf {
  padding-top: calc(28px + env(safe-area-inset-top));
  padding-bottom: 18px;
}
:root[data-stil=elegant] .kopf .ober {
  color: var(--pa);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
:root[data-stil=elegant] .kopf h1 {
  font-size: 29px;
  margin-top: 6px;
}
:root[data-stil=kacheln] .kopf {
  max-width: none;
  background:
    linear-gradient(
      140deg,
      var(--p),
      var(--p-dunkel));
  color: var(--auf-p);
  border-radius: 0 0 28px 28px;
  padding-bottom: 26px;
  margin-bottom: 14px;
}
:root[data-stil=kacheln] .kopf > div {
  max-width: 940px;
  margin: 0 auto;
}
:root[data-stil=kacheln] .kopf .ober,
:root[data-stil=kacheln] .kopf .unter {
  color: inherit;
  opacity: .82;
}
:root[data-stil=kacheln] .kopf:has(+ .kennzahlen) {
  padding-bottom: 64px;
  margin-bottom: 0;
}
main {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}
:root[data-stil=elegant] main {
  padding: 0 20px;
}
.karte {
  background: var(--k);
  border-radius: var(--rund);
  padding: 16px;
  box-shadow: var(--sch1);
}
:root[data-stil=elegant] .karte {
  border: 1px solid var(--l);
  box-shadow: none;
  padding: 18px;
}
.liste {
  display: grid;
  gap: 10px;
}
.eintrag {
  background: var(--k);
  border-radius: var(--rund);
  padding: 14px 16px;
  box-shadow: var(--sch1);
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  text-align: left;
  width: 100%;
  border: 0;
  font: inherit;
}
.eintrag > div,
.eintrag .mitte {
  flex: 1;
  min-width: 0;
}
.eintrag .titel {
  font-weight: 600;
  font-size: 16.5px;
  display: block;
}
.eintrag .unter {
  color: var(--m);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.eintrag .unter .ic {
  width: 15px;
  height: 15px;
}
.eintrag .rechts {
  margin-left: auto;
  text-align: right;
  flex: none;
}
button.eintrag,
a.eintrag,
.eintrag[data-id] {
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
button.eintrag:hover,
a.eintrag:hover,
.eintrag[data-id]:hover {
  box-shadow: var(--sch2);
}
button.eintrag:active,
a.eintrag:active,
.eintrag[data-id]:active {
  transform: scale(.99);
}
:root[data-stil=elegant] .liste {
  gap: 0;
}
:root[data-stil=elegant] .eintrag {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid var(--l);
  padding: 16px 4px;
}
:root[data-stil=elegant] .eintrag:hover {
  box-shadow: none;
  background: color-mix(in srgb, var(--p) 4%, transparent);
}
:root[data-stil=elegant] .eintrag .titel {
  font-size: 17px;
}
:root[data-stil=kacheln] .eintrag {
  padding: 14px;
}
@media (min-width: 760px) {
  .liste.zwei {
    grid-template-columns: 1fr 1fr;
  }
  :root[data-stil=elegant] .liste.zwei {
    column-gap: 28px;
  }
}
.kennzahlen {
  display: flex;
  gap: 10px;
}
.kennzahlen > div {
  flex: 1;
  min-width: 0;
  background: var(--k);
  border-radius: var(--rund);
  padding: 12px 14px;
  box-shadow: var(--sch1);
}
.kennzahlen b {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.kennzahlen small {
  color: var(--m);
  font-size: 13px;
}
@media (max-width: 480px) {
  .kennzahlen {
    gap: 8px;
  }
  .kennzahlen > div {
    padding: 11px 12px;
  }
  .kennzahlen b {
    font-size: clamp(15px, 4.6vw, 22px);
    letter-spacing: -.02em;
  }
}
:root[data-stil=elegant] .kennzahlen > div {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--l);
}
:root[data-stil=elegant] .kennzahlen b {
  font-family: var(--titel);
  color: var(--pa);
}
.kopf + .kennzahlen {
  max-width: 980px;
  margin: 0 auto 12px;
  padding: 0 16px;
}
:root[data-stil=elegant] .kopf + .kennzahlen {
  padding: 0 20px;
}
:root[data-stil=kacheln] .kopf + .kennzahlen {
  margin-top: -46px;
  margin-bottom: 14px;
  position: relative;
}
:root[data-stil=kacheln] .kennzahlen > div {
  box-shadow: 0 8px 24px rgba(17, 24, 39, .09);
  padding: 14px;
}
button {
  font: inherit;
  color: inherit;
}
.knopf,
:where(button:not([class]):not([id^=h-])) {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 16px;
  border-radius: var(--rund-knopf);
  border: 1px solid var(--l);
  background: var(--k);
  color: var(--t);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    filter .12s,
    transform .12s,
    box-shadow .12s;
}
.knopf {
  background: var(--p);
  color: var(--auf-p);
  border-color: transparent;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--p) 30%, transparent);
}
.knopf:hover {
  filter: brightness(1.06);
}
.knopf:active {
  transform: scale(.98);
}
.knopf .ic {
  width: 18px;
  height: 18px;
}
.knopf.zweit {
  background: var(--p-hell);
  color: var(--pa);
  box-shadow: none;
}
.knopf.leise {
  background: transparent;
  color: var(--pa);
  box-shadow: none;
  padding-left: 10px;
  padding-right: 10px;
}
.knopf.gefahr {
  background: var(--schlecht-hell);
  color: var(--schlecht);
  box-shadow: none;
}
.knopf.klein {
  padding: 7px 12px;
  font-size: 14px;
}
.knopf.breit {
  width: 100%;
}
.knopf:disabled,
button:disabled {
  opacity: .5;
  cursor: default;
  transform: none;
}
:root[data-stil=elegant] .knopf {
  box-shadow: none;
}
:root[data-stil=elegant] .knopf.zweit {
  background: transparent;
  border-color: color-mix(in srgb, var(--p) 55%, transparent);
}
.feld {
  display: grid;
  gap: 5px;
  margin: 0 0 12px;
}
label,
.feld > span {
  font-weight: 600;
  font-size: 14px;
}
input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 12px 13px;
  border: 1px solid var(--l);
  border-radius: var(--rund-k);
  background: var(--bg);
  color: var(--t);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
:root[data-stil=klar] input:not([type=checkbox]):not([type=radio]):not([type=color]),
:root[data-stil=klar] select,
:root[data-stil=klar] textarea {
  background: var(--k);
}
:root:not([data-stil]) input:not([type=checkbox]):not([type=radio]):not([type=color]),
:root:not([data-stil]) select,
:root:not([data-stil]) textarea {
  background: var(--k);
}
:root[data-stil=elegant] input:not([type=checkbox]):not([type=radio]):not([type=color]),
:root[data-stil=elegant] select,
:root[data-stil=elegant] textarea {
  background: var(--k);
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--pa);
  outline-offset: 1px;
  border-color: transparent;
}
input[type=checkbox],
input[type=radio] {
  accent-color: var(--p);
  width: 18px;
  height: 18px;
}
.such {
  display: flex;
  gap: 10px;
  align-items: center;
}
.such input {
  flex: 1;
}
.such input,
:root[data-stil=kacheln] .such input {
  border: 0;
  box-shadow: var(--sch1);
  background: var(--k);
}
:root[data-stil=elegant] .such input {
  border: 1px solid var(--l);
  box-shadow: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--p-hell);
  color: var(--pa);
  white-space: nowrap;
}
.chip.gut {
  background: var(--gut-hell);
  color: var(--gut);
}
.chip.warn {
  background: var(--warn-hell);
  color: var(--warn);
}
.chip.schlecht {
  background: var(--schlecht-hell);
  color: var(--schlecht);
}
:root[data-stil=elegant] .chip {
  background: transparent;
  border: 1px solid currentColor;
  font-weight: 500;
}
.balken {
  height: 6px;
  border-radius: 9px;
  background: var(--l);
  overflow: hidden;
  margin-top: 10px;
}
.balken > i {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: var(--p);
}
.leer {
  color: var(--m);
  text-align: center;
  padding: 34px 12px;
}
.klein:not(.knopf),
small {
  font-size: 13px;
  color: var(--m);
}
.hinweis {
  background: var(--p-hell);
  color: var(--t);
  border-radius: var(--rund-k);
  padding: 12px 14px;
  font-size: 14px;
}
.zeile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zeile > .r,
.r {
  margin-left: auto;
}
.betrag {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.reiter {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.reiter > button {
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--l);
  background: var(--k);
  color: var(--m);
  cursor: pointer;
  white-space: nowrap;
}
.reiter > button.an,
.reiter > button[aria-selected=true] {
  background: var(--t);
  color: var(--k);
  border-color: var(--t);
}
:root[data-stil=kacheln] .reiter > button.an,
:root[data-stil=kacheln] .reiter > button[aria-selected=true] {
  background: var(--p);
  border-color: var(--p);
  color: var(--auf-p);
}
:root[data-stil=elegant] .reiter > button {
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 2px solid transparent;
  padding: 8px 4px;
  margin-right: 14px;
}
:root[data-stil=elegant] .reiter > button.an,
:root[data-stil=elegant] .reiter > button[aria-selected=true] {
  color: var(--t);
  background: transparent;
  border-color: var(--p);
}
.leiste {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  height: 62px;
  max-width: 560px;
  margin: 0 auto;
  background: color-mix(in srgb, var(--k) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: var(--sch2);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
}
.leiste > a,
.leiste > button {
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 11.5px;
  color: var(--m);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 6px 8px;
  cursor: pointer;
  font-family: inherit;
}
.leiste .ic {
  width: 22px;
  height: 22px;
}
.leiste .an {
  color: var(--pa);
  font-weight: 600;
}
.leiste .plus {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--p);
  color: var(--auf-p);
  place-content: center;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--p) 40%, transparent);
}
body:has(.leiste:not([hidden])) {
  padding-bottom: calc(160px + env(safe-area-inset-bottom));
}
dialog {
  border: 0;
  padding: 0;
  width: min(94vw, 480px);
  max-height: 90vh;
  border-radius: 22px;
  background: var(--k);
  color: var(--t);
  box-shadow: var(--sch2);
}
dialog::backdrop {
  background: rgba(15, 20, 30, .42);
  backdrop-filter: blur(2px);
}
dialog > form,
dialog > .inhalt {
  padding: 20px;
}
dialog h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
.knoepfe {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 16px;
}
.knoepfe .links {
  margin-right: auto;
}
@media (max-width: 600px) {
  dialog.blatt,
  :root[data-stil=klar] dialog:not(.mitte),
  :root[data-stil=kacheln] dialog:not(.mitte) {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
}
:root[data-stil=elegant] dialog {
  border-radius: 18px;
}
@media (prefers-reduced-motion: no-preference) {
  dialog[open] {
    animation: h-auf .22s cubic-bezier(.2, .8, .2, 1);
  }
  @keyframes h-auf {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media print {
  body {
    background: #fff;
    padding: 0;
  }
  .leiste,
  #h-menue,
  #h-wunsch {
    display: none !important;
  }
  .karte,
  .eintrag {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
