/* Gildenpost – Admin-Oberfläche. Markenkern Business Guild: Tinte, Messing, Papier. */

@font-face { font-family: 'Inter'; src: url('/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-600.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --tinte: #14161C;
  --messing: #C9A44C;
  --papier: #F3EEE3;

  --bg: #F3EEE3;
  --flaeche: #FBF8F2;
  --flaeche-2: #EEE7D8;
  --flaeche-3: #E5DCC8;
  --linie: #DDD3BF;
  --linie-stark: #C7BA9E;
  --text: #14161C;
  --text-2: #57534B;
  --text-3: #7A7468;
  --akzent: #C9A44C;
  --akzent-text: #7A5C17;
  --akzent-zart: rgba(201, 164, 76, .16);
  --akzent-auf: #14161C;
  --ok: #2E7550;
  --ok-zart: rgba(46, 117, 80, .12);
  --warn: #8C6100;
  --warn-zart: rgba(201, 140, 20, .16);
  --bad: #A8372D;
  --bad-zart: rgba(168, 55, 45, .1);
  --info: #3E5F86;
  --info-zart: rgba(62, 95, 134, .12);
  --leiste-bg: #14161C;
  --leiste-text: #CFC8B8;
  --leiste-text-2: #8E897D;
  --leiste-aktiv: rgba(201, 164, 76, .14);
  --raster: #D4C9B2;
  --kante: #A3967A;
  --brett: #F6F2E9;
  --schatten-1: 0 1px 2px rgba(20, 22, 28, .06), 0 1px 1px rgba(20, 22, 28, .04);
  --schatten-2: 0 6px 18px -6px rgba(20, 22, 28, .18), 0 2px 4px rgba(20, 22, 28, .05);
  --schatten-3: 0 24px 60px -18px rgba(20, 22, 28, .35);
  --fokus: 0 0 0 2px var(--flaeche), 0 0 0 4px var(--akzent);

  --t-mail: #46638A;
  --t-warten: #8A7550;
  --t-bedingung: #7A5A8C;
  --t-tag: #3A7A66;
  --t-ende: #6B6A70;
  --t-start: #B08A2E;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --kopf-h: 60px;
  --leiste-b: 236px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14161C; --flaeche: #1B1E26; --flaeche-2: #22262F; --flaeche-3: #2A2F3A;
    --linie: #2D313C; --linie-stark: #3E4351; --text: #ECE6D8; --text-2: #B2AB9C; --text-3: #8A8476;
    --akzent-text: #D8B865; --akzent-zart: rgba(201, 164, 76, .14);
    --ok: #63B98A; --ok-zart: rgba(99, 185, 138, .13); --warn: #E2B04A; --warn-zart: rgba(226, 176, 74, .14);
    --bad: #E57367; --bad-zart: rgba(229, 115, 103, .13); --info: #87A9D6; --info-zart: rgba(135, 169, 214, .13);
    --leiste-bg: #0F1116; --raster: #2B303B; --kante: #6A7182; --brett: #171A21;
    --schatten-1: 0 1px 2px rgba(0, 0, 0, .3); --schatten-2: 0 8px 22px -8px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .3);
    --schatten-3: 0 24px 60px -18px rgba(0, 0, 0, .75);
    --t-mail: #7C9CC6; --t-warten: #BBA27A; --t-bedingung: #B08EC2; --t-tag: #6DB49C; --t-ende: #9A99A0; --t-start: #D4AF55;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14161C; --flaeche: #1B1E26; --flaeche-2: #22262F; --flaeche-3: #2A2F3A;
  --linie: #2D313C; --linie-stark: #3E4351; --text: #ECE6D8; --text-2: #B2AB9C; --text-3: #8A8476;
  --akzent-text: #D8B865; --akzent-zart: rgba(201, 164, 76, .14);
  --ok: #63B98A; --ok-zart: rgba(99, 185, 138, .13); --warn: #E2B04A; --warn-zart: rgba(226, 176, 74, .14);
  --bad: #E57367; --bad-zart: rgba(229, 115, 103, .13); --info: #87A9D6; --info-zart: rgba(135, 169, 214, .13);
  --leiste-bg: #0F1116; --raster: #2B303B; --kante: #6A7182; --brett: #171A21;
  --schatten-1: 0 1px 2px rgba(0, 0, 0, .3); --schatten-2: 0 8px 22px -8px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .3);
  --schatten-3: 0 24px 60px -18px rgba(0, 0, 0, .75);
  --t-mail: #7C9CC6; --t-warten: #BBA27A; --t-bedingung: #B08EC2; --t-tag: #6DB49C; --t-ende: #9A99A0; --t-start: #D4AF55;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 14.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: .005em; line-height: 1.15; margin: 0; }
h1 { font-size: 34px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
p { margin: 0 0 .8em; }
a { color: var(--akzent-text); text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--fokus); border-radius: var(--r-1); }
[hidden] { display: none !important; }
kbd { font: 500 11px/1 var(--sans); padding: 3px 5px; border: 1px solid var(--linie-stark); border-bottom-width: 2px; border-radius: 4px; color: var(--text-2); background: var(--flaeche); }
.gedimmt { color: var(--text-3); }
.ic { flex: none; }
::selection { background: var(--akzent-zart); }

/* ---------- Knöpfe & Felder ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: var(--r-1); border: 1px solid transparent; cursor: pointer; font-weight: 500; white-space: nowrap; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s; position: relative;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-haupt { background: var(--tinte); color: var(--papier); }
.btn-haupt:hover:not(:disabled) { background: #262a34; }
:root[data-theme="dark"] .btn-haupt { background: var(--messing); color: var(--tinte); }
:root[data-theme="dark"] .btn-haupt:hover:not(:disabled) { background: #D8B865; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-haupt { background: var(--messing); color: var(--tinte); }
  :root:not([data-theme="light"]) .btn-haupt:hover:not(:disabled) { background: #D8B865; }
}
.btn-messing { background: var(--messing); color: var(--tinte); }
.btn-messing:hover:not(:disabled) { background: #D8B865; }
.btn-zweit { background: var(--flaeche); border-color: var(--linie-stark); color: var(--text); }
.btn-zweit:hover:not(:disabled) { background: var(--flaeche-2); }
.btn-still { background: transparent; color: var(--text-2); }
.btn-still:hover:not(:disabled) { background: var(--flaeche-2); color: var(--text); }
.btn-gefahr { background: var(--bad); color: #fff; }
.btn-gefahr:hover:not(:disabled) { filter: brightness(1.08); }
.btn-klein { height: 30px; padding: 0 10px; font-size: 13px; }
.btn-voll { width: 100%; height: 42px; }
.btn .punkt { position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--messing); border: 2px solid var(--flaeche); }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-1);
  border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover:not(:disabled) { background: var(--flaeche-2); color: var(--text); }
.icon-btn:disabled { opacity: .35; cursor: default; }

:where(input:not([type=checkbox]):not([type=radio]):not([type=file])), select, textarea {
  width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--linie-stark); border-radius: var(--r-1);
  background: var(--flaeche); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 90px; padding: 9px 11px; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 32px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-zart); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--messing); margin: 0; }
.feld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.feld > label { font-weight: 500; font-size: 13px; color: var(--text-2); }
.feld .hinweis { color: var(--text-3); font-size: 12.5px; }
.felder { display: grid; gap: 14px; }
.felder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .felder-2 { grid-template-columns: 1fr; } }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1fr); }
.login-bild {
  position: relative; background: var(--tinte); color: var(--papier); padding: 44px 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.login-bild::before { content: ''; position: absolute; inset: auto 0 0 0; height: 46%; background: url('/img/dach.svg') bottom / 100% 100% no-repeat; opacity: .7; }
.login-marke { position: relative; display: flex; align-items: center; gap: 14px; color: var(--messing); }
.login-marke span { font: 700 30px/1 var(--serif); color: var(--papier); letter-spacing: .01em; }
.login-bild blockquote { position: relative; margin: 0 0 46vh; max-width: 440px; }
.login-bild blockquote p { font: 700 40px/1.1 var(--serif); margin-bottom: 14px; }
.login-bild blockquote footer { color: var(--messing); font-size: 13.5px; }
.login-seite { position: relative; display: grid; place-items: center; padding: 40px 24px; background: var(--bg); }
.login-thema { position: absolute; top: 18px; right: 18px; }
.login-form { width: 100%; max-width: 360px; display: grid; gap: 16px; }
.login-form h1 { font-size: 38px; }
.login-form .unter { color: var(--text-2); margin: -6px 0 8px; }
.login-form input { height: 44px; }
.login-fehler { margin: 0; padding: 10px 12px; border-radius: var(--r-1); background: var(--bad-zart); color: var(--bad); font-size: 13.5px; }
@media (max-width: 820px) {
  .login { grid-template-columns: 1fr; }
  .login-bild { min-height: 180px; padding: 28px 24px; }
  .login-bild blockquote { display: none; }
}

/* ---------- Hülle ---------- */
.huelle { display: grid; grid-template-columns: var(--leiste-b) minmax(0, 1fr); min-height: 100vh; }
.huelle.eingeklappt { --leiste-b: 68px; }
.leiste {
  position: sticky; top: 0; height: 100vh; background: var(--leiste-bg); color: var(--leiste-text);
  display: flex; flex-direction: column; padding: 14px 12px; gap: 6px; overflow: hidden; z-index: 30;
  border-right: 1px solid rgba(201, 164, 76, .12);
}
.leiste::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 74px; background: url('/img/dach.svg') top / 100% 100% no-repeat; transform: scaleY(-1); opacity: .16; pointer-events: none; }
.leiste > * { position: relative; }
.marke { display: flex; align-items: center; gap: 11px; height: 44px; padding: 0 9px; margin-bottom: 14px; color: var(--messing); text-decoration: none; }
.marke .nav-text { font: 700 24px/1 var(--serif); color: var(--papier); letter-spacing: .01em; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 11px; border-radius: var(--r-1);
  color: var(--leiste-text); text-decoration: none; font-weight: 500; border: 0; background: none; cursor: pointer; width: 100%; text-align: left; position: relative; white-space: nowrap;
}
.nav-link .ic { color: var(--leiste-text-2); }
.nav-link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.nav-link.aktiv { background: var(--leiste-aktiv); color: #F4E7C4; }
.nav-link.aktiv .ic { color: var(--messing); }
.nav-link.aktiv::before { content: ''; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--messing); }
.nav-link:focus-visible { box-shadow: 0 0 0 2px var(--messing); }
.leiste-fuss { margin-top: auto; display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.leiste-fuss .nav { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .07); margin-bottom: 6px; }
.einklappen { color: var(--leiste-text-2); }
.eingeklappt .nav-text { display: none; }
.eingeklappt .marke { padding: 0 9px; }
.eingeklappt .einklappen .ic { transform: scaleX(-1); }

.haupt { display: flex; flex-direction: column; min-width: 0; }
.kopf {
  position: sticky; top: 0; z-index: 20; height: var(--kopf-h); display: flex; align-items: center; gap: 12px;
  padding: 0 22px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie);
}
.menue-btn { display: none; }
.suchfeld {
  display: flex; align-items: center; gap: 10px; width: min(420px, 100%); height: 38px; padding: 0 8px 0 12px; border-radius: var(--r-1);
  border: 1px solid var(--linie-stark); background: var(--flaeche); color: var(--text-3); cursor: pointer; text-align: left;
}
.suchfeld span { flex: 1; }
.suchfeld:hover { border-color: var(--akzent); }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.testmodus {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 99px;
  background: var(--warn-zart); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  font-weight: 600; font-size: 13px; text-decoration: none; margin-right: 6px; white-space: nowrap;
}
.testmodus:hover { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.testmodus .kurz { display: none; }
.benutzer { color: var(--text-2); font-size: 13.5px; padding: 0 4px 0 8px; border-left: 1px solid var(--linie); margin-left: 4px; }
.inhalt { flex: 1; min-width: 0; padding: 30px 34px 60px; outline: none; }
.inhalt.voll { padding: 0; display: flex; flex-direction: column; }
.ansicht { max-width: 1280px; margin: 0 auto; }
.inhalt.voll > .ansicht { max-width: none; margin: 0; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.schleier { display: none; }

@media (max-width: 900px) {
  .huelle, .huelle.eingeklappt { grid-template-columns: minmax(0, 1fr); }
  .leiste { position: fixed; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform .22s ease; }
  .eingeklappt .nav-text { display: inline; }
  .einklappen { display: none; }
  body.menue-offen .leiste { transform: none; box-shadow: var(--schatten-3); }
  body.menue-offen .schleier { display: block; position: fixed; inset: 0; background: rgba(20, 22, 28, .45); z-index: 25; }
  .menue-btn { display: inline-grid; }
  .kopf { padding: 0 12px; gap: 6px; }
  .suchfeld kbd, .benutzer { display: none; }
  .testmodus .lang { display: none; }
  .testmodus .kurz { display: inline; }
  .testmodus { padding: 0 9px; margin-right: 0; }
  .inhalt { padding: 20px 16px 48px; }
}

/* ---------- Seitenelemente ---------- */
.seitenkopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.seitenkopf h1 { font-size: 36px; }
.seitenkopf .unter { color: var(--text-2); margin: 4px 0 0; }
.aktionen { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-2); box-shadow: var(--schatten-1); }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--linie); }
.karte-kopf h2 { font-size: 22px; }
.karte-inhalt { padding: 20px; }
.abschnitt-titel { font: 600 13px/1.3 var(--sans); color: var(--text-2); margin: 0 0 10px; }

.leer { text-align: center; padding: 56px 20px; color: var(--text-2); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.leer .signet { color: var(--akzent); margin-bottom: 6px; }
.leer h3 { color: var(--text); font-size: 24px; }
.leer p { max-width: 440px; margin: 0 0 10px; }
.laden { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; color: var(--text-3); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--linie-stark); border-top-color: var(--akzent); animation: dreh .8s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }

.pille { display: inline-flex; align-items: center; gap: 6px; height: 23px; padding: 0 9px; border-radius: 99px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.pille::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pille-ok { background: var(--ok-zart); color: var(--ok); }
.pille-warn { background: var(--warn-zart); color: var(--warn); }
.pille-bad { background: var(--bad-zart); color: var(--bad); }
.pille-info { background: var(--info-zart); color: var(--info); }
.pille-aus { background: var(--flaeche-2); color: var(--text-2); }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: var(--r-1); background: var(--akzent-zart); color: var(--akzent-text); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.chip button { display: grid; place-items: center; width: 18px; height: 18px; margin-right: -5px; border: 0; background: none; color: inherit; border-radius: 4px; cursor: pointer; opacity: .7; }
.chip button:hover { opacity: 1; background: rgba(0, 0, 0, .07); }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }

/* ---------- Tabellen ---------- */
.werkzeugleiste { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.werkzeugleiste .suche { position: relative; flex: 1 1 260px; max-width: 380px; }
.werkzeugleiste .suche .ic { position: absolute; left: 11px; top: 11px; color: var(--text-3); pointer-events: none; }
.werkzeugleiste .suche input { padding-left: 36px; }
.werkzeugleiste select { width: auto; min-width: 160px; }
.tabelle-wrap { overflow-x: auto; }
table.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--text-3); padding: 12px 16px; border-bottom: 1px solid var(--linie); white-space: nowrap; background: var(--flaeche); }
.tabelle td { padding: 12px 16px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle tr.klickbar { cursor: pointer; }
.tabelle tr.klickbar:hover td { background: var(--flaeche-2); }
.tabelle tr.klickbar:focus-visible { outline: 2px solid var(--akzent); outline-offset: -2px; box-shadow: none; }
.tabelle .haupttext { font-weight: 500; color: var(--text); }
.tabelle .neben { color: var(--text-3); font-size: 13px; }
.tabelle td.zahl, .tabelle th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
.tabelle td.knoepfe { text-align: right; white-space: nowrap; width: 1%; }
.blaettern { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--linie); font-size: 13.5px; gap: 10px; }
.blaettern-knoepfe { display: flex; align-items: center; gap: 6px; }
@media (max-width: 700px) { .tabelle .opt { display: none; } }

/* ---------- Übersicht ---------- */
.ue-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ue-schnell { display: flex; gap: 8px; flex-wrap: wrap; }
.ue-kontakte { padding: 22px 24px; }
.ue-kontakte .gross { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.ue-kontakte .gross strong { font: 700 56px/1 var(--serif); }
.ue-kontakte .gross span { color: var(--text-2); }
.balken { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--flaeche-2); gap: 2px; }
.balken span { display: block; min-width: 0; }
.balken .b-ok { background: var(--ok); }
.balken .b-warn { background: var(--messing); }
.balken .b-aus { background: var(--linie-stark); }
.legende { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.legende div { display: flex; flex-direction: column; gap: 2px; }
.legende small { color: var(--text-2); display: flex; align-items: center; gap: 7px; font-size: 13px; }
.legende small::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.legende strong { font: 600 20px/1.2 var(--sans); font-variant-numeric: tabular-nums; padding-left: 16px; }
.kennzahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linie); }
.kennzahl { padding: 18px 24px; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.kennzahl:nth-child(3n) { border-right: 0; }
.kennzahl:nth-last-child(-n+3) { border-bottom: 0; }
.kennzahl small { display: block; color: var(--text-2); font-size: 13px; margin-bottom: 4px; }
.kennzahl strong { font: 600 26px/1.15 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.kennzahl.warn strong { color: var(--warn); }
.kennzahl .zusatz { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.aktivitaeten { list-style: none; margin: 0; padding: 4px 0; }
.aktivitaeten li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 11px 20px; align-items: start; }
.aktivitaeten li + li { border-top: 1px solid var(--linie); }
.akt-icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--flaeche-2); color: var(--text-2); }
.aktivitaeten p { margin: 0; line-height: 1.4; }
.aktivitaeten time { font-size: 12.5px; color: var(--text-3); }
.ue-testmodus { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r-2); background: var(--warn-zart); color: var(--text); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); margin-bottom: 20px; }
.ue-testmodus .ic { color: var(--warn); margin-top: 2px; }
.ue-testmodus p { margin: 0; color: var(--text-2); }
.ue-testmodus strong { color: var(--text); }
@media (max-width: 1000px) { .ue-raster { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .kennzahlen { grid-template-columns: 1fr 1fr; } .kennzahl:nth-child(n) { border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); } .kennzahl:nth-child(2n) { border-right: 0; } .ue-kontakte .gross strong { font-size: 44px; } }

/* ---------- Detailseiten ---------- */
.zurueck-link { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); text-decoration: none; font-size: 13.5px; margin-bottom: 10px; }
.zurueck-link:hover { color: var(--text); }
.detail-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .detail-raster { grid-template-columns: 1fr; } }
.stapel { display: grid; gap: 20px; }
.tag-eingabe { display: flex; gap: 8px; margin-top: 12px; }
.verlauf { list-style: none; margin: 0; padding: 0; }
.verlauf li { display: flex; gap: 12px; padding: 10px 20px; align-items: center; justify-content: space-between; }
.verlauf li + li { border-top: 1px solid var(--linie); }
.verlauf .v-text { min-width: 0; }
.verlauf .v-text strong { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verlauf .v-text small { color: var(--text-3); }
.reiter { display: flex; gap: 4px; padding: 0 14px; border-bottom: 1px solid var(--linie); }
.reiter button { border: 0; background: none; padding: 12px 10px; cursor: pointer; color: var(--text-2); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.reiter button[aria-selected=true] { color: var(--text); border-bottom-color: var(--messing); }
.reiter .anzahl { margin-left: 6px; font-size: 12px; color: var(--text-3); }

/* ---------- Dialoge ---------- */
dialog { color: var(--text); }
.dlg { width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--linie); border-radius: var(--r-3); background: var(--flaeche); box-shadow: var(--schatten-3); }
.dlg-breit { width: min(760px, calc(100vw - 32px)); }
.dlg::backdrop, .palette::backdrop { background: rgba(20, 22, 28, .5); backdrop-filter: blur(2px); }
.dlg-kopf { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px 24px; }
.dlg-kopf h2 { font-size: 26px; }
.dlg-inhalt { padding: 10px 24px 8px; max-height: min(70vh, 640px); overflow: auto; }
.dlg-text { color: var(--text-2); }
.dlg-fuss { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px 20px; }
.dlg[open] { animation: auf .16s ease-out; }
@keyframes auf { from { opacity: 0; transform: translateY(6px) scale(.985); } }

.palette { width: min(620px, calc(100vw - 24px)); margin-top: 12vh; padding: 0; border: 1px solid var(--linie); border-radius: var(--r-3); background: var(--flaeche); box-shadow: var(--schatten-3); overflow: hidden; }
.palette-kopf { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--linie); color: var(--text-3); }
.palette-kopf input.palette-eingabe { border: 0; height: 56px; padding: 0; background: transparent; font-size: 16px; box-shadow: none; }
.palette-liste { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
.palette-eintrag { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-1); cursor: pointer; }
.palette-eintrag.aktiv { background: var(--akzent-zart); }
.palette-icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--flaeche-2); color: var(--text-2); flex: none; }
.palette-eintrag.aktiv .palette-icon { color: var(--akzent-text); }
.palette-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.palette-text strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-text small { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-art { color: var(--text-3); font-size: 12px; }
.palette-leer { padding: 22px; text-align: center; color: var(--text-3); }
.palette-fuss { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--linie); color: var(--text-3); font-size: 12px; }
.palette-fuss kbd { margin-right: 3px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 8px; z-index: 1000; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; min-width: 220px; max-width: 420px; padding: 12px 16px; border-radius: var(--r-2);
  background: var(--tinte); color: var(--papier); box-shadow: var(--schatten-2); font-weight: 500; pointer-events: auto;
  animation: toast-ein .2s ease-out; transition: opacity .3s, transform .3s; border: 1px solid rgba(201, 164, 76, .25);
}
.toast .ic { color: var(--messing); }
.toast-fehler .ic { color: #F08A7E; }
.toast.weg { opacity: 0; transform: translateY(6px); }
@keyframes toast-ein { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 640px) { .toasts { left: 16px; right: 16px; bottom: 16px; } .toast { max-width: none; } }

/* ---------- Kampagnenliste ---------- */
.kampagne-name { display: flex; align-items: center; gap: 12px; }
.kampagne-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--akzent-zart); color: var(--akzent-text); flex: none; }

/* ---------- Flow-Editor ---------- */
.fe { display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - var(--kopf-h)); min-height: 480px; }
.fe-leiste { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--linie); background: var(--flaeche); flex-wrap: wrap; }
.fe-name { font: 700 24px/1 var(--serif); border: 1px solid transparent !important; background: transparent !important; height: 40px !important; padding: 0 8px !important; width: auto !important; min-width: 120px; max-width: 420px; flex: 0 1 380px; }
.fe-name:hover { border-color: var(--linie) !important; }
.fe-name:focus { border-color: var(--akzent) !important; background: var(--flaeche) !important; }
.segment { display: inline-flex; padding: 3px; border-radius: var(--r-1); background: var(--flaeche-2); border: 1px solid var(--linie); }
.segment button { border: 0; background: none; height: 28px; padding: 0 12px; border-radius: 4px; cursor: pointer; color: var(--text-2); font-weight: 500; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.segment button[aria-pressed=true] { background: var(--flaeche); color: var(--text); box-shadow: var(--schatten-1); }
.segment button[data-s=aktiv][aria-pressed=true]::before, .segment button[data-s=pausiert][aria-pressed=true]::before, .segment button[data-s=entwurf][aria-pressed=true]::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.segment button[data-s=aktiv][aria-pressed=true]::before { background: var(--ok); }
.segment button[data-s=pausiert][aria-pressed=true]::before { background: var(--warn); }
.fe-trenner { width: 1px; height: 24px; background: var(--linie); }
.fe-rechts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.fe-koerper { display: grid; grid-template-columns: 172px minmax(0, 1fr) auto; min-height: 0; position: relative; }
.fe-palette { border-right: 1px solid var(--linie); background: var(--flaeche); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; overflow: auto; }
.fe-palette h2 { font-size: 19px; margin: 0 4px 2px; }
.fe-palette p { font-size: 12.5px; color: var(--text-3); margin: 0 4px 8px; line-height: 1.4; }
.baustein {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-1); border: 1px solid var(--linie); background: var(--flaeche);
  cursor: grab; user-select: none; touch-action: none; text-align: left; width: 100%; color: var(--text); font-weight: 500;
}
.baustein:hover { border-color: var(--linie-stark); background: var(--flaeche-2); }
.baustein:disabled { opacity: .45; cursor: not-allowed; }
.baustein small { display: none; }
.typ-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--tc); flex: none; }
.fe-tipps { margin-top: auto; padding: 12px 4px 0; border-top: 1px solid var(--linie); font-size: 12px; color: var(--text-3); display: grid; gap: 5px; }
.fe-tipps kbd { font-size: 10.5px; padding: 2px 4px; }

.fe-flaeche {
  position: relative; overflow: hidden; background-color: var(--brett); cursor: default; touch-action: none; outline: none;
  background-image: radial-gradient(circle, var(--raster) 1.1px, transparent 1.3px);
}
.fe-flaeche.verschieben, .fe-flaeche.leertaste { cursor: grab; }
.fe-flaeche.verschieben:active, .fe-flaeche.zieht { cursor: grabbing; }
.fe-welt { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.fe-kanten { position: absolute; left: 0; top: 0; overflow: visible; width: 1px; height: 1px; pointer-events: none; }
.fe-kanten path.kante { fill: none; stroke: var(--kante); stroke-width: 2; }
.fe-kanten path.kante.ja { stroke: var(--ok); }
.fe-kanten path.kante.nein { stroke: var(--bad); }
.fe-kanten path.kante.gewaehlt { stroke: var(--messing); stroke-width: 3; }
.fe-kanten path.treffer { fill: none; stroke: transparent; stroke-width: 16; pointer-events: stroke; cursor: pointer; }
.fe-kanten path.treffer:hover + path.kante { stroke-width: 3; }
.fe-kanten path.vorlaeufig { fill: none; stroke: var(--messing); stroke-width: 2; stroke-dasharray: 6 5; }
.fe-kanten text { font: 600 11px var(--sans); }

.knoten {
  position: absolute; width: 208px; height: 96px; border-radius: var(--r-2); background: var(--flaeche); border: 1px solid var(--linie-stark);
  box-shadow: var(--schatten-2); user-select: none; touch-action: none; cursor: grab; display: flex; flex-direction: column;
}
.knoten::before { content: ''; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--tc); }
.knoten.gewaehlt { border-color: var(--messing); box-shadow: 0 0 0 3px var(--akzent-zart), var(--schatten-2); }
.knoten.problem { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-zart), var(--schatten-2); }
.knoten.zieht { cursor: grabbing; box-shadow: var(--schatten-3); }
.knoten:focus-visible { box-shadow: 0 0 0 3px var(--akzent), var(--schatten-2); border-radius: var(--r-2); }
.knoten-kopf { display: flex; align-items: center; gap: 9px; padding: 11px 12px 0 14px; }
.knoten-kopf .typ-icon { width: 28px; height: 28px; border-radius: 7px; }
.knoten-titel { font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.knoten-info { padding: 6px 14px 0; font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.knoten-info.fehlt { color: var(--bad); }
.knoten-zahlen { margin-top: auto; display: flex; gap: 12px; padding: 0 14px 10px; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.knoten-zahlen b { color: var(--text); font-weight: 600; }
.knoten-zahlen .jetzt b { color: var(--akzent-text); }
.port {
  position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--flaeche); border: 2px solid var(--linie-stark);
  transform: translate(-50%, -50%); cursor: crosshair; z-index: 2; touch-action: none;
}
.port::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; }
.port:hover, .port.ziel { border-color: var(--messing); background: var(--messing); }
.port.ein { left: 0; top: 50%; }
.port.aus { left: 100%; top: 50%; }
.port.aus.ja { top: 34%; border-color: var(--ok); }
.port.aus.nein { top: 72%; border-color: var(--bad); }
.port.aus.ja:hover { background: var(--ok); }
.port.aus.nein:hover { background: var(--bad); }
.port-label { position: absolute; right: 14px; font-size: 11px; font-weight: 600; transform: translateY(-50%); pointer-events: none; }
.port-label.ja { top: 34%; color: var(--ok); }
.port-label.nein { top: 72%; color: var(--bad); }
.fe-flaeche.verbindet .port.ein { border-color: var(--messing); }

.fe-zoom { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--r-2); background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten-2); z-index: 5; }
.fe-zoom .icon-btn { width: 32px; height: 32px; }
.fe-zoom output { min-width: 52px; text-align: center; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text-2); cursor: pointer; border-radius: 4px; padding: 6px 0; }
.fe-zoom output:hover { background: var(--flaeche-2); }
.fe-hinweis { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; background: var(--tinte); color: var(--papier); font-size: 12.5px; z-index: 5; box-shadow: var(--schatten-2); white-space: nowrap; }
.fe-probleme { position: absolute; right: 14px; top: 14px; max-width: 340px; padding: 14px 16px; border-radius: var(--r-2); background: var(--flaeche); border: 1px solid color-mix(in srgb, var(--bad) 45%, transparent); box-shadow: var(--schatten-2); z-index: 6; font-size: 13px; }
.fe-probleme h3 { font: 600 14px/1.3 var(--sans); color: var(--bad); display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.fe-probleme ul { margin: 0; padding-left: 18px; color: var(--text-2); }
.fe-probleme li { margin: 3px 0; }
.fe-probleme li button { border: 0; background: none; color: var(--akzent-text); padding: 0; cursor: pointer; text-decoration: underline; font-size: inherit; }
.fe-probleme .icon-btn { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; }

.fe-panel { width: 320px; border-left: 1px solid var(--linie); background: var(--flaeche); display: flex; flex-direction: column; min-height: 0; }
.fe-panel-kopf { display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--linie); }
.fe-panel-kopf h2 { font-size: 22px; flex: 1; }
.fe-panel-inhalt { padding: 18px; display: grid; gap: 16px; overflow: auto; align-content: start; }
.fe-panel-fuss { margin-top: auto; padding: 14px 18px; border-top: 1px solid var(--linie); display: flex; justify-content: space-between; gap: 8px; }
.fe-panel .statistik { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fe-panel .statistik div { padding: 10px 12px; border-radius: var(--r-1); background: var(--flaeche-2); }
.fe-panel .statistik small { display: block; color: var(--text-3); font-size: 12px; }
.fe-panel .statistik strong { font: 600 20px/1.2 var(--sans); }
.zeile { display: flex; gap: 8px; align-items: flex-end; }
.zeile > * { flex: 1; }
@media (max-width: 1100px) {
  .fe-panel { position: absolute; right: 0; top: 0; bottom: 0; z-index: 8; box-shadow: var(--schatten-3); }
}
@media (max-width: 760px) {
  .fe { height: calc(100vh - var(--kopf-h)); }
  .fe-koerper { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .fe-palette { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--linie); padding: 8px; overflow-x: auto; }
  .fe-palette h2, .fe-palette p, .fe-tipps, .baustein small { display: none; }
  .baustein { width: auto; flex: none; }
  .fe-panel { width: 100%; top: auto; height: 60%; border-left: 0; border-top: 1px solid var(--linie); }
  .fe-name { font-size: 20px; flex-basis: 100%; max-width: none; }
}

/* ---------- Mail-Editor ---------- */
.me { display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - var(--kopf-h)); min-height: 560px; }
.me-koerper { display: grid; grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr); min-height: 0; }
.me-links { overflow: auto; padding: 22px 24px 40px; border-right: 1px solid var(--linie); background: var(--flaeche); display: grid; gap: 16px; align-content: start; }
.me-rechts { display: flex; flex-direction: column; min-height: 0; background: var(--flaeche-2); }
.me-vorschau-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--linie); }
.me-vorschau-kopf h2 { font-size: 20px; }
.me-vorschau-kopf .status { font-size: 12.5px; color: var(--text-3); }
.me-buehne { flex: 1; min-height: 0; overflow: auto; padding: 24px; display: flex; justify-content: center; }
.me-geraet { width: 100%; max-width: 760px; height: 100%; min-height: 520px; background: #fff; border-radius: var(--r-2); box-shadow: var(--schatten-2); overflow: hidden; display: flex; flex-direction: column; transition: max-width .25s ease; border: 1px solid var(--linie); }
.me-geraet.handy { max-width: 390px; border-radius: 28px; border: 10px solid var(--tinte); }
.me-postkopf { padding: 12px 16px; border-bottom: 1px solid #E6E1D6; background: #FAF8F3; color: #14161C; font-size: 13px; }
.me-postkopf strong { display: block; font-size: 14px; }
.me-postkopf span { color: #6B665C; }
.me-geraet iframe { flex: 1; width: 100%; border: 0; background: #F3EEE3; }
.editor-rahmen { border: 1px solid var(--linie-stark); border-radius: var(--r-1); background: var(--flaeche); overflow: hidden; }
.editor-rahmen:focus-within { border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-zart); }
.editor-leiste { display: flex; gap: 2px; padding: 5px; border-bottom: 1px solid var(--linie); background: var(--flaeche-2); flex-wrap: wrap; align-items: center; }
.editor-leiste .icon-btn { width: 32px; height: 32px; }
.editor-leiste .icon-btn[aria-pressed=true] { background: var(--flaeche); color: var(--text); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.editor-leiste .trenner { width: 1px; height: 20px; background: var(--linie-stark); margin: 0 4px; }
.editor-leiste .rechts { margin-left: auto; }
.editor-flaeche { min-height: 320px; max-height: 60vh; overflow: auto; padding: 16px 18px; outline: none; line-height: 1.6; font-size: 15px; }
.editor-flaeche:empty::before { content: attr(data-platzhalter); color: var(--text-3); }
.editor-flaeche h2 { font-size: 26px; margin: .4em 0 .3em; }
.editor-flaeche p { margin: 0 0 .8em; }
.editor-flaeche ul, .editor-flaeche ol { padding-left: 1.4em; margin: 0 0 .8em; }
.editor-html { border: 0 !important; border-radius: 0 !important; min-height: 320px !important; font: 13px/1.55 ui-monospace, Consolas, monospace !important; box-shadow: none !important; }
.menue-pop { position: absolute; z-index: 50; min-width: 200px; padding: 5px; border-radius: var(--r-2); background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten-2); }
.menue-pop button { display: flex; width: 100%; justify-content: space-between; gap: 16px; border: 0; background: none; padding: 8px 10px; border-radius: var(--r-1); cursor: pointer; text-align: left; }
.menue-pop button:hover, .menue-pop button:focus-visible { background: var(--akzent-zart); }
.menue-pop code { color: var(--text-3); font-size: 12px; }
.ki-ergebnis { border: 1px solid var(--linie); border-radius: var(--r-1); padding: 14px; background: var(--flaeche-2); margin-top: 12px; max-height: 260px; overflow: auto; }
.ki-ergebnis h4 { margin: 0 0 6px; font-size: 14px; }
.hinweis-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-1); background: var(--info-zart); color: var(--text); font-size: 13.5px; }
.hinweis-box .ic { color: var(--info); margin-top: 1px; }
.hinweis-box.warn { background: var(--warn-zart); }
.hinweis-box.warn .ic { color: var(--warn); }
.hinweis-box p { margin: 0; }
.radio-reihe { display: flex; gap: 16px; }
.radio-reihe label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
@media (max-width: 1100px) {
  .me { height: auto; }
  .me-koerper { grid-template-columns: 1fr; }
  .me-links { border-right: 0; border-bottom: 1px solid var(--linie); }
  .me-buehne { min-height: 640px; padding: 16px; }
}

/* ---------- Formulare & Einstellungen ---------- */
.code-feld { display: flex; gap: 8px; }
.code-feld input, .code-feld textarea { font: 12.5px/1.5 ui-monospace, Consolas, monospace !important; }
.vorschau-rahmen { width: 100%; height: 520px; border: 1px solid var(--linie); border-radius: var(--r-2); background: var(--papier); }
.einst-raster { display: grid; gap: 20px; max-width: 900px; }
.nur-lesen { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 20px; font-size: 14px; }
.nur-lesen dt { color: var(--text-2); }
.nur-lesen dd { margin: 0; }
@media (max-width: 640px) { .nur-lesen { grid-template-columns: 1fr; gap: 2px; } .nur-lesen dd { margin-bottom: 10px; } }
.schluessel-gross { display: flex; gap: 8px; align-items: stretch; margin: 12px 0; }
.schluessel-gross code { flex: 1; font: 600 15px/1.4 ui-monospace, Consolas, monospace; padding: 14px; border-radius: var(--r-1); background: var(--tinte); color: var(--messing); word-break: break-all; user-select: all; }
.scope-liste { display: grid; gap: 8px; }
.scope-liste label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 4px 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--linie); border-radius: var(--r-1); cursor: pointer; }
.scope-liste label:has(input:checked) { border-color: var(--akzent); background: var(--akzent-zart); }
.scope-liste input { margin-top: 2px; }
.scope-liste small { grid-column: 2; color: var(--text-3); font-size: 12.5px; }
code.inline { font: 12.5px ui-monospace, Consolas, monospace; padding: 1px 5px; border-radius: 4px; background: var(--flaeche-2); }
pre.beispiel { margin: 8px 0 0; padding: 12px 14px; border-radius: var(--r-1); background: var(--tinte); color: #E8E1D0; font: 12.5px/1.55 ui-monospace, Consolas, monospace; overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.knoten.typ-bedingung .knoten-info, .knoten.typ-bedingung .knoten-zahlen { padding-right: 44px; }
