/* Pendenzen – Gestaltung im Stil von Apple (macOS / iOS).
   Farben, Abstände und Radien als Variablen; Hell- und Dunkelmodus über [data-theme] bzw. das System. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --sidebar: rgba(242, 242, 247, 0.72);
  --bar: rgba(249, 249, 251, 0.78);
  --label: #1d1d1f;
  --label-2: rgba(60, 60, 67, 0.62);
  --label-3: rgba(60, 60, 67, 0.32);
  --separator: rgba(60, 60, 67, 0.16);
  --fill: rgba(120, 120, 128, 0.12);
  --fill-2: rgba(120, 120, 128, 0.2);
  --shadow: 0 0.5px 1px rgba(0, 0, 0, 0.06), 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.06);

  --red: #ff3b30; --orange: #ff9500; --yellow: #ffcc00; --green: #34c759;
  --teal: #30b0c7; --blue: #007aff; --indigo: #5856d6; --purple: #af52de; --pink: #ff2d55; --gray: #8e8e93;
  --accent: var(--blue);

  --r-s: 8px; --r-m: 12px; --r-l: 16px;
  --sidebar-w: 248px;
  color-scheme: light;
}

:root[data-theme="dunkel"] {
  --bg: #000000;
  --bg-elevated: #1c1c1e;
  --sidebar: rgba(30, 30, 32, 0.72);
  --bar: rgba(22, 22, 24, 0.8);
  --label: #f5f5f7;
  --label-2: rgba(235, 235, 245, 0.62);
  --label-3: rgba(235, 235, 245, 0.3);
  --separator: rgba(84, 84, 88, 0.55);
  --fill: rgba(118, 118, 128, 0.24);
  --fill-2: rgba(118, 118, 128, 0.36);
  --shadow: none;
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.08);
  --red: #ff453a; --orange: #ff9f0a; --yellow: #ffd60a; --green: #30d158;
  --teal: #40c8e0; --blue: #0a84ff; --indigo: #5e5ce6; --purple: #bf5af2; --pink: #ff375f; --gray: #98989d;
  color-scheme: dark;
}

:root[data-akzent="blau"] { --accent: var(--blue); }
:root[data-akzent="indigo"] { --accent: var(--indigo); }
:root[data-akzent="violett"] { --accent: var(--purple); }
:root[data-akzent="pink"] { --accent: var(--pink); }
:root[data-akzent="orange"] { --accent: var(--orange); }
:root[data-akzent="gruen"] { --accent: var(--green); }
:root[data-akzent="grafit"] { --accent: var(--gray); }

* { box-sizing: border-box; margin: 0; }
html, body { background: var(--bg); color: var(--label); font: 15px/1.4 var(--font); -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; border-radius: 6px; }
svg { flex: none; }
[hidden] { display: none !important; }

/* ───────── Grundaufbau ───────── */
.app { display: flex; min-height: 100dvh; }
.sidebar { display: none; }
.inhalt { flex: 1; min-width: 0; }
.seite { max-width: 820px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 8px) 20px 120px; }

/* Grosser Titel wie in iOS; schrumpft beim Scrollen in die Leiste */
.kopf { position: sticky; top: 0; z-index: 20; margin: 0 -20px; padding: calc(env(safe-area-inset-top) + 10px) 20px 10px;
  display: flex; align-items: center; gap: 10px; min-height: 44px; background: transparent; transition: background .2s, box-shadow .2s; }
.kopf.fest { background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0.5px 0 var(--separator); }
.kopf { display: grid; grid-template-columns: 1fr auto 1fr; }
.kopf .links { display: flex; align-items: center; min-width: 0; }
.kopf .zahnrad { color: var(--accent); display: inline-flex; padding: 4px; margin-left: -4px; }
.kopf .zahnrad svg { width: 24px; height: 24px; }
/* Umschalter wie ein iOS-Segment */
.umschalter { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--fill); }
.umschalter button { padding: 6px 18px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--label-2); transition: background .15s, color .15s; }
.umschalter button:not(.an):hover { color: var(--label); }
/* gewählte Seite deutlich markiert: Akzentfarbe, weisse Schrift */
.umschalter button.an { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
/* iPhone: Ansichten der gewählten Seite als Tastenreihe unter dem Umschalter */
.ansichten { display: flex; gap: 6px; overflow-x: auto; margin: 4px -20px 10px; padding: 2px 20px; scrollbar-width: none; }
.ansichten::-webkit-scrollbar { display: none; }
.ansichten button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--fill); color: var(--label); white-space: nowrap; }
.ansichten button.an { background: var(--accent); color: #fff; font-weight: 600; }
.ansichten .zahl { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600;
  display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.ansichten .zahl.rot { background: var(--red); }
.ansichten button.an .zahl { background: #fff; color: var(--accent); }
.ansichten button.an .zahl.rot { color: var(--red); }
.kopf .zurueck { color: var(--accent); display: inline-flex; align-items: center; gap: 2px; font-size: 17px; min-width: 70px; }
.kopf .zurueck svg { width: 22px; height: 22px; }
.kopf .rechts { min-width: 70px; display: flex; justify-content: flex-end; gap: 8px; }
.titel { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; margin: 2px 0 2px; }
.untertitel { color: var(--label-2); font-size: 15px; margin-bottom: 14px; }

/* ───────── Seitenleiste (Mac, breite Fenster) ───────── */
@media (min-width: 900px) {
  .sidebar { display: flex; flex-direction: column; width: var(--sidebar-w); flex: none; position: sticky; top: 0; height: 100dvh;
    padding: 14px 10px 12px; background: var(--sidebar); backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
    border-right: 0.5px solid var(--separator); overflow-y: auto; }
  .seite { padding: 8px 36px 60px; }
  .kopf { margin: 0 -36px; padding: 14px 36px 10px; }
  .kopf .zahnrad, .ansichten { display: none; }       /* Mac: Einstellungen und Ansichten in der Seitenleiste */
  .titel { font-size: 28px; }
}
.sb-kopf { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; }
.sb-kopf img { width: 30px; height: 30px; border-radius: 7px; box-shadow: var(--shadow); }
.sb-kopf b { font-size: 15px; font-weight: 650; }
.sb-gruppe { font-size: 11px; font-weight: 600; color: var(--label-3); padding: 14px 10px 4px; letter-spacing: 0.02em; }
.sb-eintrag { display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 10px; border-radius: 7px; font-size: 13.5px; color: var(--label); }
.sb-eintrag svg { width: 17px; height: 17px; color: var(--accent); }
.sb-eintrag:hover { background: var(--fill); }
.sb-eintrag.aktiv { background: var(--fill-2); font-weight: 600; }
.sb-eintrag .zahl { margin-left: auto; font-size: 12px; color: var(--label-2); font-variant-numeric: tabular-nums; }
.sb-fuss { margin-top: auto; padding: 12px 10px 2px; display: flex; flex-direction: column; gap: 2px; }
.version { font-size: 11.5px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.version b { font-weight: 600; color: var(--label-2); }

/* ───────── Gruppierte Listen (wie Einstellungen auf iOS) ───────── */
.gruppe { margin: 0 0 24px; }
.gruppe-titel { font-size: 13px; color: var(--label-2); text-transform: uppercase; letter-spacing: 0.02em; padding: 0 16px 6px; }
.gruppe-fuss { font-size: 13px; color: var(--label-2); padding: 7px 16px 0; line-height: 1.4; }
.liste { background: var(--bg-elevated); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow); }
.zeile { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 16px; position: relative; width: 100%; }
.zeile + .zeile::before { content: ""; position: absolute; top: 0; right: 0; left: 16px; border-top: 0.5px solid var(--separator); }
.zeile.mit-icon + .zeile::before, .zeile + .zeile.mit-icon::before { left: 56px; }
button.zeile:hover, a.zeile:hover { background: var(--fill); }
button.zeile:active { background: var(--fill-2); }
.zeile .haupt { flex: 1; min-width: 0; }
.zeile .neben { color: var(--label-2); font-size: 15px; text-align: right; }
.zeile .klein { color: var(--label-2); font-size: 13px; }
.zeile .chevron { width: 14px; height: 14px; color: var(--label-3); }
.zeile.rot { color: var(--red); }
.zeile.akzent { color: var(--accent); }
.symbol { width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; color: #fff; background: var(--c, var(--gray)); flex: none; }
.symbol svg { width: 18px; height: 18px; }

/* Bedienelemente */
.schalter { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 16px; background: var(--fill-2); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .2s; }
.schalter:checked { background: var(--green); }
.schalter:checked::after { transform: translateX(20px); }
.segment { display: inline-flex; background: var(--fill); border-radius: 9px; padding: 2px; gap: 2px; }
.segment button { padding: 5px 14px; border-radius: 7px; font-size: 13px; font-weight: 500; }
.segment button.an { background: var(--bg-elevated); box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 0 0 0.5px rgba(0,0,0,.04); }
:root[data-theme="dunkel"] .segment button.an { background: #636366; }
.auswahl { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--label-2); font-size: 15px; text-align: right; padding-right: 18px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 6px center, right 1px center; background-size: 5px 5px; background-repeat: no-repeat; }
.feld { width: 100%; border: 0; background: transparent; outline: 0; font-size: 15px; padding: 0; min-width: 0; }
.feld::placeholder { color: var(--label-3); }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 10px; font-size: 15px; font-weight: 500;
  background: var(--fill); color: var(--accent); white-space: nowrap; }
.knopf.primaer { background: var(--accent); color: #fff; }
.knopf.rot { color: var(--red); }
.knopf.gross { width: 100%; padding: 13px 16px; font-size: 17px; font-weight: 600; border-radius: 12px; }
.knopf:disabled { opacity: .45; cursor: default; }
.knopf:not(:disabled):active { opacity: .7; }
.textknopf { color: var(--accent); font-size: 15px; }

input[type="color"] { -webkit-appearance: none; appearance: none; }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
input[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }

/* Akzentfarben-Auswahl */
.farben { display: flex; gap: 12px; flex-wrap: wrap; }
.farbe { width: 26px; height: 26px; border-radius: 50%; background: var(--c); position: relative; }
.farbe.an::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--c); }
.vorschau { display: flex; gap: 14px; flex-wrap: wrap; }
.vorschau button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--label-2); }
.vorschau .bild { width: 92px; height: 60px; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 0.5px var(--separator), var(--shadow); display: flex; }
.vorschau .bild i { flex: 1; }
.vorschau .bild .h { background: linear-gradient(#f5f5f7 0 22%, #fff 22%); }
.vorschau .bild .d { background: linear-gradient(#2c2c2e 0 22%, #1c1c1e 22%); }
.vorschau button.an { color: var(--label); font-weight: 600; }
.vorschau button.an .bild { box-shadow: 0 0 0 3px var(--accent); }

/* ───────── Einstellungen: zweispaltig wie in macOS ───────── */
.einst { display: block; }
.einst-nav .liste { margin-bottom: 24px; }
@media (min-width: 900px) {
  .einst { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
  .einst-nav { position: sticky; top: 70px; }
  .einst-nav .zeile { min-height: 38px; padding: 6px 10px; border-radius: 8px; }
  .einst-nav .zeile::before { display: none; }
  .einst-nav .liste { background: transparent; box-shadow: none; padding: 0; }
  .einst-nav .zeile.aktiv { background: var(--accent); color: #fff; }
  .einst-nav .zeile.aktiv .chevron { color: #fff; }
  .einst-nav .symbol { width: 24px; height: 24px; border-radius: 6px; }
  .einst-nav .symbol svg { width: 15px; height: 15px; }
  .einst-detail-titel { font-size: 22px; font-weight: 700; margin: 0 0 16px 4px; }
}
@media (max-width: 899px) { .einst-detail-titel { display: none; } }

/* Über */
.ueber { text-align: center; padding: 24px 16px 8px; }
.ueber img { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.ueber h2 { font-size: 22px; margin-top: 14px; }
.ueber .v { color: var(--label-2); margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Leerer Zustand */
.leer { text-align: center; padding: 70px 24px; color: var(--label-2); }
.leer .gross-symbol { width: 64px; height: 64px; color: var(--label-3); margin: 0 auto 14px; display: block; }
.leer h3 { color: var(--label); font-size: 20px; font-weight: 650; margin-bottom: 6px; }
.leer p { max-width: 380px; margin: 0 auto; }
.marke { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--fill); color: var(--label-2); }

/* Meldung unten (Toast) */
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 90px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow-lg); border-radius: 14px; padding: 11px 14px 11px 16px; display: flex; align-items: center; gap: 14px; font-size: 14.5px;
  transition: opacity .2s, transform .25s; z-index: 60; max-width: calc(100% - 32px); }
.toast.zeigen { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { color: var(--accent); font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) { .toast { bottom: 28px; left: calc(50% + var(--sidebar-w) / 2); } }

/* Dialog */
.dialog-hg { position: fixed; inset: 0; background: rgba(0,0,0,.28); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; animation: einblenden .15s; }
.dialog { background: var(--bg-elevated); border-radius: 14px; box-shadow: var(--shadow-lg); width: 100%; max-width: 380px; padding: 20px; animation: aufploppen .2s; }
.dialog h3 { font-size: 17px; font-weight: 650; text-align: center; margin-bottom: 6px; }
.dialog p { color: var(--label-2); font-size: 14px; text-align: center; margin-bottom: 14px; }
.dialog .eingabe { width: 100%; background: var(--fill); border: 0; border-radius: 9px; padding: 10px 12px; outline: 0; margin-bottom: 10px; font-size: 15px; }
.dialog .knoepfe { display: flex; gap: 8px; margin-top: 6px; }
.dialog .knoepfe .knopf { flex: 1; }
.fehler { color: var(--red); font-size: 13.5px; margin: 4px 0 8px; text-align: center; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font: 14px var(--mono); background: var(--fill); padding: 12px 14px; border-radius: 10px; margin: 6px 0 12px; }
@keyframes einblenden { from { opacity: 0; } }
@keyframes aufploppen { from { opacity: 0; transform: scale(.96); } }

/* ───────── Anmeldeseite ───────── */
.login { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 18px;
  background: radial-gradient(1200px 600px at 20% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
              radial-gradient(900px 500px at 110% 110%, color-mix(in srgb, var(--purple) 14%, transparent), transparent 60%), var(--bg); }
.login-karte { width: 100%; max-width: 380px; text-align: center; }
.login-karte .app-icon { width: 84px; height: 84px; border-radius: 19px; box-shadow: var(--shadow-lg); }
.login-karte h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 4px; }
.login-karte .unter { color: var(--label-2); margin-bottom: 24px; }
.login-karte .liste { text-align: left; margin-bottom: 14px; }
.login-karte .zeile { min-height: 48px; }
.login-karte .oder { color: var(--label-3); font-size: 13px; margin: 18px 0 12px; display: flex; align-items: center; gap: 10px; }
.login-karte .oder::before, .login-karte .oder::after { content: ""; flex: 1; border-top: 0.5px solid var(--separator); }
.login-karte .hinweis { color: var(--label-2); font-size: 13px; line-height: 1.45; margin-top: 14px; }
.login-karte .qr { background: #fff; border-radius: 12px; padding: 8px; display: inline-block; margin: 6px 0 10px; }
.login-karte .qr svg { display: block; width: 220px; height: 220px; shape-rendering: crispEdges; }
.login-karte .geheimnis { font: 13px var(--mono); background: var(--fill); border-radius: 9px; padding: 8px 10px; word-break: break-all; margin-bottom: 16px; }
.login-karte .version { margin-top: 26px; display: block; }

/* ═════════ Pendenzen ═════════ */
.sb-eintrag .zahl.rot { color: var(--red); font-weight: 600; }

/* Bereichs-Filter */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 6px; padding: 2px 20px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { margin: 0 0 6px; padding: 2px 0 12px; flex-wrap: wrap; } }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--bg-elevated); box-shadow: var(--shadow), inset 0 0 0 0.5px var(--separator); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip.an { background: var(--label); color: var(--bg); box-shadow: none; }
.chip.an i { box-shadow: 0 0 0 1.5px var(--bg); }

/* Abschnitte */
.abschnitt { margin: 6px 0 22px; }
.abschnitt-titel { display: flex; align-items: baseline; gap: 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0 4px 8px; }
.abschnitt-titel small { font-size: 14px; font-weight: 500; color: var(--label-2); }
.abschnitt-titel span { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--label-2); }
.abschnitt-titel.rot { color: var(--red); }
.frei { color: var(--label-3); font-size: 14px; margin: 0 4px; }
.leer.klein { padding: 40px 24px; }
.banner { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: var(--r-m); margin-bottom: 14px;
  background: color-mix(in srgb, var(--red) 10%, var(--bg-elevated)); color: var(--red); font-weight: 600; }
.banner svg { width: 20px; height: 20px; }
.banner span { margin-left: auto; display: flex; }

/* Zeile einer Pendenz (wie Erinnerungen) */
.pd { display: flex; align-items: flex-start; gap: 12px; padding: 11px 16px; position: relative; transition: opacity .3s, transform .3s; }
.pd + .pd::before { content: ""; position: absolute; top: 0; right: 0; left: 50px; border-top: 0.5px solid var(--separator); }
.haken { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--label-3); margin-top: 1px; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.haken.p1 { border-color: var(--orange); }
.haken.p2 { border-color: var(--red); }
.haken:hover { border-color: var(--accent); }
.erledigt > .haken, .abhaken > .haken { background: var(--accent); border-color: var(--accent); }
.erledigt > .haken::after, .abhaken > .haken::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.abhaken { opacity: .45; }
.pd-text { flex: 1; min-width: 0; cursor: pointer; outline-offset: 4px; }
.pd-titel { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.erledigt .pd-titel { color: var(--label-2); }
.prio { color: var(--accent); font-weight: 700; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font-size: 13px; color: var(--label-2); }
.pd-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pd-meta .mi { width: 13px; height: 13px; }
.m-bereich i { width: 7px; height: 7px; border-radius: 50%; }
.m-datum.ueber { color: var(--red); }
.m-datum.heute { color: var(--accent); font-weight: 500; }
.m-inbox { color: var(--accent); }
.triage { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.triage button { font-size: 13px; font-weight: 500; padding: 4px 11px; border-radius: 999px; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent); }
.triage button:hover { background: color-mix(in srgb, var(--c) 22%, transparent); }

/* Übersicht */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.karte { background: var(--bg-elevated); border-radius: var(--r-l); padding: 14px 16px 16px; box-shadow: var(--shadow); text-align: left; }
.karte:hover { box-shadow: var(--shadow-lg); }
.karte-kopf { display: flex; align-items: center; gap: 8px; font-weight: 650; margin-bottom: 12px; }
.karte-kopf i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); }
.karte-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; color: var(--label-2); }
.karte-zahlen b { display: block; font-size: 24px; font-weight: 650; color: var(--label); line-height: 1.15; font-variant-numeric: tabular-nums; }
.karte-zahlen .rot b { color: var(--red); }

/* Schnellerfassung: schwebende Leiste unten */
.erfassen { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 12px); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.erfassen > * { pointer-events: auto; }
@media (min-width: 900px) {
  /* mittig über dem Inhalt (gleiche Breite wie die Seite: 820 − 2 × 36) */
  .erfassen { --b: min(748px, calc(100vw - var(--sidebar-w) - 72px)); width: var(--b); right: auto; bottom: 22px;
    left: calc(var(--sidebar-w) + (100vw - var(--sidebar-w) - var(--b)) / 2); }
  .seite { padding-bottom: 140px; }
}
.erf-feld { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 14px; border-radius: 16px; background: var(--bar);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); box-shadow: var(--shadow-lg); }
.erf-feld:focus-within { box-shadow: var(--shadow-lg), 0 0 0 2px color-mix(in srgb, var(--accent) 55%, transparent); }
.erf-plus { color: var(--accent); display: flex; }
.erf-plus svg { width: 22px; height: 22px; }
.erf-plus.klein svg { width: 18px; height: 18px; }
.erf-feld input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.erf-feld input::placeholder { color: var(--label-3); }
.erf-los { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: .15s; }
.erf-los svg { width: 18px; height: 18px; stroke-width: 2.4; }
.hat-text .erf-los { opacity: 1; transform: none; }
.erf-vorschau { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px; font-size: 13px; }
.erf-vorschau:empty { display: none; }
.pv { padding: 3px 9px; border-radius: 8px; background: var(--bar); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.pv.farbig { color: var(--c); font-weight: 600; background: color-mix(in srgb, var(--c) 16%, var(--bg-elevated)); }
.erf-hilfe { padding: 3px 9px; border-radius: 8px; background: var(--bar); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--label-2); }
.toast { bottom: calc(env(safe-area-inset-bottom) + 78px); }
@media (min-width: 900px) { .toast { bottom: 90px; } }

/* Detail-Blatt: von unten (iPhone), mittig (Mac) */
.blatt-hg { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, 0); display: flex; align-items: flex-end; justify-content: center; transition: background .25s; }
.blatt-hg.offen { background: rgba(0, 0, 0, .3); }
.blatt { width: 100%; max-width: 600px; max-height: 92dvh; overflow-y: auto; background: var(--bg); border-radius: 14px 14px 0 0; padding: 0 16px calc(env(safe-area-inset-bottom) + 24px);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .9, .25, 1); box-shadow: var(--shadow-lg); }
.blatt-hg.offen .blatt { transform: none; }
@media (min-width: 900px) {
  .blatt-hg { align-items: center; }
  .blatt { border-radius: 16px; max-height: 86dvh; transform: scale(.96); opacity: 0; transition: transform .2s, opacity .2s; padding-bottom: 20px; }
  .blatt-hg.offen .blatt { transform: none; opacity: 1; }
}
:root[data-theme="dunkel"] .blatt { background: #1c1c1e; }
:root[data-theme="dunkel"] .blatt .liste { background: #2c2c2e; }
.blatt-kopf { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 0 12px; background: inherit; }
.blatt-kopf b { font-size: 17px; font-weight: 600; }
.textknopf.fett { font-weight: 600; }
.textknopf.rot { color: var(--red); }
.blatt .gruppe { margin-bottom: 18px; }
.blatt-titel { font-size: 19px; font-weight: 600; resize: none; line-height: 1.3; }
.blatt textarea.feld { resize: none; }
.blatt .datum { border: 0; background: var(--fill); border-radius: 8px; padding: 5px 9px; font-size: 15px; color: var(--accent); }
.schnell { display: flex; flex-wrap: wrap; gap: 6px; }
.schnell button { padding: 5px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--fill); display: inline-flex; align-items: center; gap: 6px; }
.schnell button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.schnell button.an { background: var(--accent); color: #fff; }
.schnell.bereiche button.an { background: var(--c, var(--accent)); color: #fff; }
.schnell.bereiche button.an i { background: #fff; }
.feld.rechtsbuendig { text-align: right; color: var(--label-2); }
.ua .haupt { font-size: 15px; }
.ua.erledigt .haupt { color: var(--label-2); text-decoration: line-through; }
.haken.klein { width: 20px; height: 20px; margin: 0; }
.ua.erledigt > .haken { background: var(--accent); border-color: var(--accent); }
.ua.erledigt > .haken::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.ua-weg { color: var(--label-3); font-size: 20px; padding: 0 4px; line-height: 1; }
.ua-weg:hover { color: var(--red); }
.blatt-fuss { text-align: center; }
body.blatt-offen { overflow: hidden; }
.blatt .zeile > .haupt:has(+ input.feld) { flex: none; white-space: nowrap; }
.blatt .zeile > .haupt + input.feld { flex: 1; }
code.kurz { font: 13px var(--mono); background: var(--fill); padding: 2px 7px; border-radius: 6px; margin-right: 6px; white-space: nowrap; }

/* ═════════ Projekte ═════════ */
.kopf .rechts .textknopf { font-size: 16px; }
.pkarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pkarte { display: block; width: 100%; text-align: left; background: var(--bg-elevated); border-radius: var(--r-l); padding: 14px 16px; box-shadow: var(--shadow); transition: box-shadow .15s; }
.pkarte:hover { box-shadow: var(--shadow-lg); }
.pkarte.abgeschlossen { opacity: .6; }
.pk-kopf { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pk-titel { font-weight: 650; font-size: 16px; }
.pk-offen { color: var(--label-2); font-size: 13px; white-space: nowrap; }
.pk-meta { font-size: 13px; color: var(--label-2); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.pk-meta .mi, .pd-meta .mi { width: 13px; height: 13px; }
.rot { color: var(--red); }
.balken { height: 6px; border-radius: 3px; background: var(--fill); overflow: hidden; margin: 10px 0 8px; }
.balken i { display: block; height: 100%; border-radius: 3px; background: var(--c, var(--accent)); transition: width .4s; }
.balken.gross { height: 8px; border-radius: 4px; }
.projekt-kopf { background: var(--bg-elevated); border-radius: var(--r-l); padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 22px; }
.pk-zeile { display: flex; align-items: center; gap: 8px; }
.pk-zahl { margin-left: auto; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pille { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.pk-beschreibung { margin-top: 10px; white-space: pre-wrap; color: var(--label); font-size: 15px; }
.haken.raute { border-radius: 5px; transform: rotate(45deg) scale(.82); }
.erledigt > .haken.raute::after { transform: rotate(-90deg) translate(1px, 0); }
.ms-neu { gap: 10px; flex-wrap: wrap; }
.ms-neu .feld { flex: 1; min-width: 140px; }
.ms-neu .datum, .blatt .datum { border: 0; background: var(--fill); border-radius: 8px; padding: 5px 9px; font-size: 15px; color: var(--accent); }
.karte-kopf small { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--label-2); }

/* Dateien & Links */
.datei { gap: 12px; }
.kennung { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .03em;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.datei-name { color: var(--label); text-decoration: none; overflow-wrap: anywhere; }
.datei-name:hover { color: var(--accent); }
.ablage { justify-content: center; gap: 8px; color: var(--label-2); font-size: 14px; cursor: pointer; outline: 1.5px dashed transparent; outline-offset: -6px; }
.ablage svg { width: 18px; height: 18px; }
.ablage u { color: var(--accent); text-decoration: none; font-weight: 600; }
.ablage:hover { background: var(--fill); }
.ablage.ablage-aktiv { outline-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent); }
.link-zeile { gap: 10px; flex-wrap: wrap; }
.link-zeile .feld { flex: 2; min-width: 160px; }
.link-zeile .link-titel { flex: 1; min-width: 110px; }
.link-icon { width: 18px; height: 18px; color: var(--label-3); }

/* Dialoge: breit, Vorlagen, Gefahr */
.dialog.breit { max-width: 480px; }
.dialog select.eingabe, .dialog textarea.eingabe { appearance: none; -webkit-appearance: none; resize: vertical; font: inherit; }
.knopf.gefahr { background: var(--red); color: #fff; }
.vorlagen { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; }
.vorlage { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--fill); cursor: pointer; }
.vorlage:has(input:checked) { background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.vorlage input { margin-top: 3px; accent-color: var(--accent); }
.vorlage b { display: block; font-size: 15px; }
.vorlage small { display: block; font-size: 12.5px; color: var(--label-2); margin-top: 2px; }
.dialog select.eingabe { padding-right: 32px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--label-2) 50%), linear-gradient(135deg, var(--label-2) 50%, transparent 50%);
  background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; background-color: var(--fill); }

/* ═════════ Text → Pendenzen ═════════ */
.text-eingabe { resize: vertical; min-height: 200px; line-height: 1.5; }
.hinweis-karte { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 18px; border-radius: var(--r-l);
  background: color-mix(in srgb, var(--purple) 10%, var(--bg-elevated)); box-shadow: var(--shadow); }
.hinweis-karte > svg { width: 30px; height: 30px; color: var(--purple); flex: none; }
.hinweis-karte p { color: var(--label-2); font-size: 14px; margin-top: 2px; }
.hinweis-karte .knopf { margin-left: auto; }
@media (max-width: 600px) { .hinweis-karte { flex-wrap: wrap; } .hinweis-karte .knopf { width: 100%; } }
.dreher { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: drehen .8s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.knopf.gross svg { flex: none; }
.vorschlag { align-items: flex-start; }
.vorschlag.aus .haupt { opacity: .45; }
.v-an { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.v-titel { font-size: 16px; font-weight: 500; }
.v-felder { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; font-size: 13.5px; color: var(--label-2); }
.v-felder label { display: inline-flex; align-items: center; gap: 5px; }
.v-felder input[type=date], .v-felder select { border: 0; background: var(--fill); border-radius: 7px; padding: 3px 7px; font-size: 13.5px; color: var(--label); }
.v-felder .feld { width: 120px; font-size: 13.5px; background: var(--fill); border-radius: 7px; padding: 3px 7px; }
.v-notiz { margin-top: 5px; }
.klein-knopf { font-size: 13.5px; white-space: nowrap; }
svg.mi { width: 14px; height: 14px; flex: none; vertical-align: -2px; }
.vorschau.erkennung button { flex: 1; min-width: 140px; padding: 12px 14px; border-radius: 12px; background: var(--fill); align-items: flex-start; text-align: left; color: var(--label); }
.vorschau.erkennung button span { font-size: 13px; color: var(--label-2); }
.vorschau.erkennung button.an { background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 2px var(--accent); }
.vorschau.erkennung { width: 100%; }

/* ───────── Ziehen und Ablegen ───────── */
.ablage-ziel { outline: 2px solid var(--accent); outline-offset: -2px; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pd.ablage-ziel { border-radius: var(--r-m); }
.seite.ablage-ziel { outline-style: dashed; outline-offset: 4px; background: color-mix(in srgb, var(--accent) 4%, transparent); }
.ablage-hinweis { position: fixed; z-index: 80; left: 50%; top: calc(env(safe-area-inset-top) + 14px); transform: translate(-50%, -8px); opacity: 0;
  pointer-events: none; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-lg); transition: opacity .15s, transform .15s; max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ablage-hinweis.zeigen { opacity: 1; transform: translate(-50%, 0); }

/* Mail-Ansicht (.eml) */
.mailansicht dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 12px; font-size: 14px; }
.mailansicht dt { color: var(--label-2); }
.mailansicht dd { margin: 0; overflow-wrap: anywhere; }
.mail-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; background: var(--fill); border-radius: 10px; padding: 12px 14px;
  max-height: 50vh; overflow-y: auto; margin-bottom: 12px; }
.mailansicht .textknopf { font-size: 14px; }

/* Offline-Hinweis (offline.js) */
.offline-hinweis { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top) + 8px);
  background: var(--bg-elevated); color: var(--label-2); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offline-hinweis[hidden] { display: none; }
body.offline .offline-hinweis { color: var(--orange); }

/* ═════════ Tagesübersicht drucken (druck.js) ═════════ */
#druck { display: none; }
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body > *:not(#druck) { display: none !important; }
  html, body { background: #fff !important; }
  #druck { display: block; color: #000; font: 10.5pt/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .d-kopf { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1.5pt solid #000; padding-bottom: 6pt; margin-bottom: 10pt; }
  .d-ueber { font-size: 9pt; text-transform: uppercase; letter-spacing: .08em; color: #555; }
  .d-kopf h1 { font-size: 20pt; font-weight: 700; margin: 2pt 0 0; }
  .d-stand { font-size: 8.5pt; color: #555; text-align: right; }
  .d-abschnitt { font-size: 12pt; margin: 14pt 0 4pt; padding-top: 6pt; border-top: .75pt solid #999; }
  .d-gruppe { margin: 8pt 0 4pt; }
  .d-gruppe h3 { display: flex; align-items: center; gap: 6pt; font-size: 10pt; text-transform: uppercase; letter-spacing: .05em; color: #333; margin: 0 0 3pt; break-after: avoid; }
  .d-gruppe h3 i { width: 8pt; height: 8pt; border-radius: 50%; display: inline-block; }
  .d-gruppe h3 span { color: #888; font-weight: 400; }
  #druck ul { list-style: none; margin: 0; padding: 0; }
  .d-pd { display: flex; gap: 8pt; padding: 5pt 0; border-bottom: .5pt solid #ddd; break-inside: avoid; }
  .d-box { flex: none; width: 11pt; height: 11pt; border: 1pt solid #000; border-radius: 2pt; margin-top: 1.5pt; display: inline-block; }
  .d-box.klein { width: 8pt; height: 8pt; margin: 0 5pt 0 0; vertical-align: -1pt; }
  .d-text { flex: 1; min-width: 0; }
  .d-titel { font-weight: 600; }
  .d-prio { color: #c00; }
  .d-meta { font-size: 8.5pt; color: #555; margin-top: 1pt; }
  .d-notiz { font-size: 9pt; color: #333; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2pt; padding-left: 6pt; border-left: 1.5pt solid #ddd; }
  .d-ua { margin-top: 3pt !important; font-size: 9.5pt; }
  .d-ua li { padding: 1pt 0; }
  .d-leer { color: #555; margin: 10pt 0; }
  .d-notizen { break-inside: avoid; }
  .d-linie { border-bottom: .5pt solid #bbb; height: 20pt; }
}

/* ═════════ Notizen (notizen.js) ═════════ */
.notiz-neu { align-items: flex-end; gap: 10px; }
.notiz-neu textarea { flex: 1; resize: none; min-height: 22px; line-height: 1.4; }
.zeile.notiz { align-items: flex-start; gap: 8px; }
.notiz-zeit { font-size: 12px; color: var(--label-2); margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.notiz-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
.zeile.notiz .klein-knopf { opacity: .0; transition: opacity .15s; }
.zeile.notiz:hover .klein-knopf, .zeile.notiz:focus-within .klein-knopf { opacity: 1; }
@media (hover: none) { .zeile.notiz .klein-knopf { opacity: 1; } }
.notiz-leiste { gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.notiz-leiste .klein { color: var(--label-2); }
.notiz-leiste button[disabled] { opacity: .4; }
.zeile.notiz.waehlbar { cursor: pointer; gap: 12px; user-select: none; -webkit-user-select: none; }
.wahl { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--label-3, #c7c7cc); margin-top: 1px; position: relative; }
.gewaehlt .wahl { background: var(--accent); border-color: var(--accent); }
.gewaehlt .wahl::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.zeile.notiz.gewaehlt { background: color-mix(in srgb, var(--accent) 7%, transparent); }

/* Leiste unten: «Neue Pendenz» und «Projekt» nebeneinander (auch einhändig erreichbar) */
.erf-zeile { display: flex; gap: 8px; align-items: center; }
.erf-zeile .erf-feld { flex: 1; min-width: 0; }
.erf-projekt { flex: none; display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 16px 0 12px; border-radius: 16px;
  background: var(--bar); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--shadow-lg); color: var(--accent); font-size: 16px; font-weight: 600; }
.erf-projekt svg { width: 22px; height: 22px; }
.erf-projekt:active { transform: scale(.97); }

/* Beide Knöpfe unten grün; das Pendenzen-Feld wird beim Tippen wieder hell, damit der Text gut lesbar ist */
.erf-projekt { background: var(--green); color: #fff; box-shadow: var(--shadow-lg); }
.erf-feld:not(:focus-within) { background: var(--green); }
.erf-feld:not(:focus-within) .erf-plus, .erf-feld:not(:focus-within) input { color: #fff; }
.erf-feld:not(:focus-within) input::placeholder { color: rgba(255, 255, 255, .95); font-weight: 600; }
.erf-feld:not(:focus-within) .erf-los { background: #fff; color: var(--green); }

/* Je Modus ein Knopf über die ganze Breite: Pendenzen (und Projektseite) → «Neue Pendenz», Projektliste → «Neues Projekt» */
.erf-zeile > .erf-feld, .erf-zeile > .erf-projekt { flex: 1 1 auto; min-width: 0; box-sizing: border-box; }
.erf-projekt { padding: 0 14px 0 14px; }
.erfassen:not(.nur-projekt) .erf-projekt, .erfassen.nur-projekt .erf-feld, .erfassen.nur-projekt .erf-vorschau { display: none; }
.erfassen:not(.hat-text) .erf-los { display: none; }

@media (max-width: 899px) { .kopf .rechts .knopf-text { display: none; } }   /* iPhone: oben rechts nur Symbole */

/* Seitenleiste im Modus «Projekte»: Projekte nach Bereich */
.sb-projekt i, .sb-bereich i { width: 9px; height: 9px; border-radius: 50%; flex: none; margin: 0 4px; }
.sb-leer { font-size: 12.5px; color: var(--label-3); padding: 4px 10px; }
.sb-bereich .sb-name, .sb-projekt .sb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .seite .chips { display: none; } }   /* Mac: Bereiche stehen in der Seitenleiste */

/* ═════════ Wischen (iPhone, Tablet): rechts = erledigt, links = löschen ═════════ */
.pd-liste { position: relative; }
.pd-liste .pd { touch-action: pan-y; }
.pd.wischt { z-index: 1; background: var(--bg-elevated); will-change: transform; }
.pd.wischt::before { display: none; }
.wisch-hg { position: absolute; left: 0; right: 0; z-index: 0; display: flex; align-items: center; padding: 0 22px; color: #fff; font-weight: 600; font-size: 15px; }
.wisch-hg span { display: none; align-items: center; gap: 8px; transition: transform .15s; }
.wisch-hg svg { width: 22px; height: 22px; }
.wisch-hg.rechts { background: var(--green); justify-content: flex-start; }
.wisch-hg.links { background: var(--red); justify-content: flex-end; }
.wisch-hg.rechts .w-rechts, .wisch-hg.links .w-links { display: inline-flex; }
.wisch-hg:not(.bereit) { filter: saturate(.55) brightness(1.08); }
.wisch-hg.bereit span { transform: scale(1.08); }
