/* ============================================================
   FUNDAMENT-ALLIANZ · Architekt des Erfolgs
   Anthrazit, Gold, Blueprint-Raster, Bemaßungslinien
   ============================================================ */

:root {
  --anthrazit: #1D2023;
  --graphit: #25292D;
  --flaeche: #2D3237;
  --linie: #3F454B;
  --linie-hell: #565D64;
  --gold: #C9A24A;
  --gold-hell: #E2C37E;
  --gold-tief: #9C7C33;
  --text: #ECE7DC;
  --text-2: #ABA79D;
  --text-3: #7F7C75;
  --ok: #86B78F;
  --warn: #DDAA48;
  --err: #E08A7B;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-s: 3px;
  --r-m: 6px;
  --wrap: 1140px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html { scroll-padding-top: env(safe-area-inset-top, 0px); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  background-color: var(--anthrazit);
  background-image:
    linear-gradient(rgba(201, 162, 74, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 74, .055) 1px, transparent 1px),
    linear-gradient(rgba(201, 162, 74, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 74, .025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-hell); text-underline-offset: 3px; }
a:hover { color: var(--text); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.serif { font-family: var(--serif); }

:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Kopf & Fuß ---------- */

.site-head {
  border-bottom: 1px solid var(--linie);
  background: rgba(29, 32, 35, .92);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  backdrop-filter: blur(6px);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.brand-sub { display: block; font-family: var(--sans); font-size: .72rem; color: var(--text-2); font-weight: 400; letter-spacing: .02em; }
.head-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.site-foot { border-top: 1px solid var(--linie); margin-top: 80px; padding: 28px 0 36px; color: var(--text-3); font-size: .85rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot a { color: var(--text-2); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.wordmark { letter-spacing: .14em; font-size: .75rem; color: var(--gold); }

/* ---------- Buttons & Formulare ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 .95rem/1 var(--sans);
  padding: 12px 20px; min-height: 44px;
  border-radius: var(--r-s);
  border: 1px solid var(--linie-hell);
  background: transparent; color: var(--text);
  cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--gold); color: var(--text); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1A1A17; font-weight: 600; }
.btn-gold:hover { background: var(--gold-hell); border-color: var(--gold-hell); color: #1A1A17; }
.btn-quiet { border-color: transparent; color: var(--text-2); padding-inline: 10px; }
.btn-quiet:hover { color: var(--text); border-color: transparent; }
.btn-danger:hover { border-color: var(--err); color: var(--err); }
.btn-s { padding: 8px 12px; min-height: 36px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

label { display: block; font-size: .85rem; color: var(--text-2); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input:not([type]), input[type=time], input[type=datetime-local], input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url],
input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--sans);
  color: var(--text);
  background: var(--anthrazit);
  border: 1px solid var(--linie);
  border-radius: var(--r-s);
  padding: 11px 12px;
  min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 162, 74, .18); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
.hint { font-size: .8rem; color: var(--text-2); margin-top: 5px; }
/* Kopfzeile wird per Skript eingesetzt – Höhe vorab reservieren, damit nichts springt (Core Web Vitals: CLS) */
#head:empty { min-height: 69px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 0 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-2); }
.check input { margin-top: 3px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 7px 13px; border: 1px solid var(--linie);
  border-radius: 999px; font-size: .85rem; color: var(--text-2); cursor: pointer;
}
.chip input:checked + span { border-color: var(--gold); color: var(--text); background: rgba(201, 162, 74, .14); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-hell); outline-offset: 2px; }
.tag { display: inline-block; padding: 4px 11px; border: 1px solid var(--linie-hell); border-radius: 999px; font-size: .8rem; color: var(--text-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Flächen ---------- */

.sheet {
  background: var(--graphit);
  border: 1px solid var(--linie);
  border-radius: var(--r-m);
  padding: 28px;
}
.sheet + .sheet { margin-top: 20px; }
.sheet h2 { font-size: 1.5rem; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sheet-head h2 { margin: 0; }
.rule { border: 0; border-top: 1px solid var(--linie); margin: 24px 0; }

.banner {
  border: 1px solid var(--warn); color: var(--text);
  background: rgba(221, 170, 72, .1); padding: 14px 18px; border-radius: var(--r-s); margin: 20px 0;
}
.notice { border-left: 2px solid var(--gold); padding: 10px 16px; background: rgba(201, 162, 74, .07); color: var(--text-2); margin-bottom: 18px; }
.empty { padding: 28px; text-align: center; border: 1px dashed var(--linie-hell); border-radius: var(--r-m); color: var(--text-2); }

.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--linie-hell); color: var(--text-2); white-space: nowrap; }
.badge-gold { border-color: var(--gold); color: var(--gold-hell); }
.badge-ok { border-color: var(--ok); color: var(--ok); }
.badge-warn { border-color: var(--warn); color: var(--warn); }
.badge-err { border-color: var(--err); color: var(--err); }

/* ---------- Avatare ---------- */

.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-tief); flex: none; }
.avatar-empty { display: inline-flex; align-items: center; justify-content: center; background: var(--flaeche); color: var(--gold); font-family: var(--serif); font-weight: 600; }
.avatar-l { width: 112px; height: 112px; font-size: 2rem; }

/* ---------- Bemaßungslinie (Markenzeichen) ---------- */

.dim { position: relative; height: 14px; }
.dim > span {
  position: absolute; left: 0; top: 50%; height: 0; width: var(--w, 0%);
  border-top: 1px solid var(--gold);
  transition: width .6s cubic-bezier(.2, .7, .2, 1);
}
.dim > span::before, .dim > span::after {
  content: ""; position: absolute; top: -7px; width: 1px; height: 13px; background: var(--gold);
}
.dim > span::before { left: 0; }
.dim > span::after { right: 0; }
.dim::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--linie); z-index: -1;
}
@media (prefers-reduced-motion: reduce) { .dim > span { transition: none; } }

/* ---------- Tabs ---------- */

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--linie); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--text-2); font: 500 .95rem var(--sans);
  padding: 12px 16px; cursor: pointer; white-space: nowrap; min-height: 44px;
}
.tab:hover { color: var(--text); }
.tab[aria-selected=true] { color: var(--text); border-bottom-color: var(--gold); }
.tab .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--gold); color: #1A1A17; font-size: .72rem; line-height: 20px; text-align: center; }

/* ---------- Toast & Dialog ---------- */

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--flaeche); border: 1px solid var(--gold); color: var(--text);
  padding: 12px 20px; border-radius: var(--r-s); z-index: 100; max-width: calc(100% - 32px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.toast.err { border-color: var(--err); }

dialog {
  background: var(--graphit); color: var(--text); border: 1px solid var(--linie-hell);
  border-radius: var(--r-m); padding: 28px; width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;   /* nie höher als der Bildschirm – Inhalt scrollt im Fenster */
}
/* Gilt für jedes geöffnete Fenster – auch mit Klasse .modal (die sonst max-height: none setzt) */
dialog[open] { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
dialog[open]:modal { position: fixed; inset: 0; margin: auto; }   /* fest und mittig – unabhängig von der Scrollposition der Seite (.modal setzte position: relative) */
/* Kopfzeile bleibt beim Scrollen oben und dient als Griff zum Verschieben (common.js) */
dialog[open] > .dlg-griff { position: sticky; top: -28px; z-index: 5; margin: -28px -28px 12px; padding: 14px 52px 10px 28px; background: var(--graphit); border-bottom: 1px solid rgba(255,255,255,.06); cursor: move; user-select: none; touch-action: none; }
dialog[open] > .dlg-griff > :is(h2, h3, h4) { margin: 0; }
dialog .dlg-zu { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; }
dialog .dlg-zu:hover, dialog .dlg-zu:focus-visible { border-color: var(--gold, #C9A24A); }
@media (max-width: 600px) { dialog { padding: 18px; } dialog[open] > .dlg-griff { top: -18px; margin: -18px -18px 10px; padding: 12px 48px 8px 18px; cursor: default; } }
dialog::backdrop { background: rgba(10, 11, 12, .7); }

/* ---------- Tabellen ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--r-m); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
th { color: var(--text-2); font-weight: 500; font-size: .8rem; background: var(--graphit); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td select, td input { min-height: 36px; padding: 6px 8px; font-size: .85rem; }

/* ---------- Liste (Matches, Anfragen) ---------- */

.rows { display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.row-main { flex: 1 1 260px; min-width: 0; }
.row-main strong { display: block; font-weight: 600; }
.row-side { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.meter { height: 6px; background: var(--anthrazit); border: 1px solid var(--linie); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--gold); width: var(--w, 0%); transition: width .5s; }

.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--linie-hell); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

[hidden] { display: none !important; }

/* ---------- Organizer & Empfehlungen ---------- */
.org-rec { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--gold-tief); border-radius: var(--r-m); background: rgba(201, 162, 74, .07); }
.org-rec strong { display: block; }
.chip-btn { font: 500 .85rem var(--sans); color: var(--text-2); background: none; border: 1px solid var(--linie); border-radius: 999px; padding: 7px 13px; cursor: pointer; min-height: 36px; }
.chip-btn span { color: var(--text-3); margin-left: 4px; }
.chip-btn:hover { color: var(--text); }
.chip-btn.on { border-color: var(--gold); color: var(--text); background: rgba(201, 162, 74, .14); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.app-tile { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--anthrazit); }
.app-tile.off { opacity: .6; }
.app-tile.rec { border-color: var(--gold-tief); box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .15); }
.app-top { display: flex; gap: 12px; align-items: center; }
.app-top h3 { font-size: 1.05rem; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-top small { color: var(--text-3); font-size: .78rem; }
.app-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: #F4F1EA14; border: 1px solid var(--linie); flex: none; }
.app-ini { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; color: var(--gold); }
.rec-badge { font-size: .76rem; font-weight: 600; color: var(--gold-hell); }
.app-desc { font-size: .88rem; color: var(--text-2); margin: 0; }
.app-open { align-self: flex-start; }
.creds { display: flex; flex-direction: column; gap: 4px; }
.cred { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.cred span { width: 64px; color: var(--text-3); flex: none; }
.cred code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--graphit); padding: 3px 8px; border-radius: 4px; font-size: .8rem; color: var(--text); }
.icon-btn { background: none; border: 1px solid transparent; color: var(--text-2); width: 32px; height: 32px; border-radius: 4px; cursor: pointer; font-size: .95rem; flex: none; }
.icon-btn:hover { color: var(--gold-hell); border-color: var(--linie); }
.app-foot { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; padding-top: 10px; border-top: 1px solid var(--linie); }
.app-foot b { font-family: var(--serif); font-size: 1rem; }
.app-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.rec-box { margin-top: 22px; padding: 16px; border: 1px solid var(--gold-tief); border-radius: var(--r-m); background: rgba(201, 162, 74, .06); }
.rec-box .field { margin: 12px 0; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: .92rem; }
.kv dt { color: var(--text-3); }
.lib-list { display: flex; flex-direction: column; gap: 14px; }
.lib-item { padding: 18px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--anthrazit); }
.lib-rec { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0 0; margin-top: 12px; border-top: 1px solid var(--linie); }
.lib-rec p { flex: 1 1 240px; margin: 0; font-size: .9rem; color: var(--text-2); }
.lib-who { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-size: .88rem; min-width: 170px; }
.lib-who .avatar { width: 32px; height: 32px; font-size: .75rem; }
.ad-tag { font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: var(--text-3); border: 1px solid var(--linie-hell); border-radius: 3px; padding: 1px 6px; }

/* ---------- Sprachumschalter ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--linie-hell); border-radius: 999px; overflow: hidden; margin-left: 4px; }
.lang-switch button { background: none; border: 0; color: var(--text-3); font: 600 .75rem var(--sans); letter-spacing: .08em; padding: 7px 11px; cursor: pointer; min-height: 32px; }
.lang-switch button[aria-pressed=true] { background: var(--gold); color: #1A1A17; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed=true]:hover { color: #1A1A17; }

/* ---------- Bewertungen ---------- */
.rev-stars-d { color: var(--gold); letter-spacing: 2px; }

/* ---------- Seitenleiste (Backoffice & Mitgliederbereich) ---------- */
.side-layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 32px; align-items: start; }
.side-nav { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 2px;
  padding: 18px 12px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); }
.side-group { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 16px 12px 6px; }
.side-group:first-child { margin-top: 2px; }
.side-nav .tab { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; text-align: left;
  border: 0; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; padding: 9px 12px; min-height: 40px; white-space: normal; font-size: .93rem; }
.side-nav .tab:hover { background: rgba(255, 255, 255, .03); }
.side-nav .tab[aria-selected=true] { border-left-color: var(--gold); background: rgba(201, 162, 74, .10); color: var(--text); }
.side-nav .tab .count { margin-left: auto; }
.side-select { display: none; margin-bottom: 18px; }
@media (max-width: 900px) {
  .side-layout { grid-template-columns: 1fr; gap: 0; }
  .side-nav { display: none; }
  .side-select { display: block; }
}

/* ---------- Angebote ---------- */
.off-thumb { width: 72px; height: 48px; border-radius: 6px; object-fit: cover; border: 1px solid var(--linie); flex: none; background: var(--anthrazit); }
.off-thumb.lg { width: 160px; height: 90px; }
.off-ph { display: inline-flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; }
.bon-pick { display: grid; gap: 8px; margin-top: 10px; }
.bon-pick .check { margin: 0; }

/* ---------- Hilfe-Links ---------- */
.ctx-help { margin: 0 0 10px; text-align: right; font-size: .85rem; }
.ctx-help a { color: var(--text-2); }
.ctx-help a::before { content: "?"; display: inline-flex; width: 18px; height: 18px; border: 1px solid var(--gold); border-radius: 50%; align-items: center; justify-content: center; font-size: .7rem; color: var(--gold); margin-right: 6px; }
.side-help { margin: 18px 12px 4px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: .88rem; color: var(--text-2); }

/* ---------- Handy-Menü ---------- */
.side-toggle { display: none; }
.side-backdrop { display: none; }
@media (max-width: 900px) {
  .side-select { display: none !important; }
  .side-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 16px; margin-bottom: 16px;
    background: var(--graphit); border: 1px solid var(--gold-tief); border-radius: var(--r-m); color: var(--text); font: 500 1rem var(--sans); cursor: pointer;
    position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 20; }
  .side-toggle .lbl { color: var(--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
  .side-toggle b { font-weight: 600; margin-right: auto; }
  .ham, .ham::before, .ham::after { display: block; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; position: relative; content: ""; }
  .ham::before { position: absolute; top: -6px; } .ham::after { position: absolute; top: 6px; }
  .side-nav { display: flex; position: fixed; top: 0; left: 0; bottom: 0; width: min(310px, 86vw); z-index: 80; border-radius: 0;
    padding: calc(22px + env(safe-area-inset-top, 0px)) 12px calc(22px + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
    transform: translateX(-105%); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(0,0,0,.5); }
  .side-nav.open { transform: none; }
  body.nav-open .side-backdrop { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.55); }
  body.nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .side-nav { transition: none; } }

/* ---------- Neuigkeiten & Postfach ---------- */
.news { margin-top: 24px; }
.news-list { display: grid; gap: 12px; }
.news-card { position: relative; padding: 18px 22px; border: 1px solid var(--gold-tief); border-left: 3px solid var(--gold); border-radius: var(--r-m);
  background: linear-gradient(90deg, rgba(201,162,74,.10), rgba(201,162,74,.02)); }
.news-card.pinned { border-color: var(--gold); }
.news-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.news-kind { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.news-kind.k-wartung { color: var(--err); }
.news-card h3 { font-size: 1.15rem; margin: 0 0 4px; }
.news-body { color: var(--text-2); font-size: .95rem; }
.news-body p { margin: 0 0 8px; }
.news-x { margin-left: auto; background: none; border: 0; color: var(--text-3); font-size: 1.4rem; line-height: 1; cursor: pointer; min-width: 36px; min-height: 36px; }
.news-x:hover { color: var(--text); }
.news-arch { margin: 6px 0 0; text-align: right; }
.chat { display: flex; flex-direction: column; gap: 12px; max-height: 520px; overflow-y: auto; padding: 4px 2px 12px; }
.msg { max-width: 78%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--linie); }
.msg.from-team { align-self: flex-start; background: rgba(201,162,74,.08); border-color: var(--gold-tief); border-bottom-left-radius: 3px; }
.msg.from-me { align-self: flex-end; background: var(--anthrazit); border-bottom-right-radius: 3px; }
.msg-who { font-size: .76rem; color: var(--text-3); margin-bottom: 4px; }
.msg-body { white-space: pre-wrap; }
.msg-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 14px; border-top: 1px solid var(--linie); padding-top: 14px; }
.msg-form textarea { min-height: 70px; }
@media (max-width: 600px) { .msg { max-width: 92%; } .msg-form { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.side-toggle .count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: #1A1A17; font-size: .74rem; font-weight: 700; }
.side-toggle .count[hidden] { display: none; }

.msg.pending { opacity: .65; }

/* ---------- Mitgliederakte ---------- */
dialog.akte { width: min(1000px, calc(100% - 24px)); max-height: calc(100vh - 40px); }
.name-cell[data-akte] { cursor: pointer; }
.name-cell[data-akte]:hover strong { color: var(--gold-hell); text-decoration: underline; }
.akte-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--linie); }
.akte-head .avatar { width: 60px; height: 60px; }
.akte-head h2 { font-size: 1.6rem; margin: 0 0 4px; }
.akte-head > div:nth-child(2) { flex: 1; min-width: 220px; }
.akte-actions { display: flex; gap: 8px; align-items: center; }
.akte-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 14px 0 18px; border-bottom: 1px solid var(--linie); }
.akte-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-2); padding: 10px 14px; font: 500 .95rem var(--sans); cursor: pointer; }
.akte-tabs button[aria-selected=true] { color: var(--text); border-bottom-color: var(--gold); }
.akte h3 { font-size: 1.1rem; margin: 18px 0 10px; color: var(--gold-hell); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .grid-3 { grid-template-columns: 1fr; } }
.akte-notes { display: grid; gap: 10px; margin-top: 16px; }
.akte-note { padding: 14px 16px; border: 1px solid var(--linie); border-radius: var(--r-s, 6px); background: var(--anthrazit); }
.akte-note.pinned { border-color: var(--gold-tief); border-left: 3px solid var(--gold); }
.akte-note p { margin: 6px 0 4px; white-space: pre-wrap; }
.akte-note-actions { display: flex; gap: 6px; justify-content: flex-end; }
.akte-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.akte-stats div { padding: 14px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); }
.akte-stats b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-hell); }
.akte-stats span { font-size: .82rem; color: var(--text-2); }
.akte-upload { padding: 16px; border: 1px dashed var(--gold-tief); border-radius: var(--r-m); }

/* ---------- Meine Dateien ---------- */
.files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.file-card { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: var(--r-m); overflow: hidden; background: var(--anthrazit); }
.file-card.is-new { border-color: var(--gold); }
.file-prev { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--graphit); }
.file-icon { display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--gold);
  background: radial-gradient(ellipse at 70% 30%, rgba(201,162,74,.18), transparent 60%), var(--graphit); }
.file-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; align-items: flex-start; }
.file-body strong { font-family: var(--serif); font-size: 1.08rem; }
.file-body p { margin: 0; font-size: .9rem; color: var(--text-2); white-space: pre-wrap; }
.file-body .btn { margin-top: auto; }
input[type=file] { color: var(--text-2); font: .9rem var(--sans); }
input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--gold-tief); border-radius: 4px; background: transparent; color: var(--text); font: 600 .85rem var(--sans); cursor: pointer; }

/* ---------- Organizer: Auswertungen ---------- */
.rep-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0 14px; }
.rep-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.rep-kpis div { padding: 16px; border: 1px solid var(--linie); border-left: 3px solid var(--gold); border-radius: 8px; background: var(--anthrazit); }
.rep-kpis b { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--gold-hell); line-height: 1.2; }
.rep-kpis span { font-size: .82rem; color: var(--text-2); }
.rep-bars { display: grid; gap: 8px; margin-bottom: 20px; }
.rep-bar { display: grid; grid-template-columns: minmax(120px, 220px) 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.rep-bar > div { height: 10px; background: var(--anthrazit); border-radius: 5px; overflow: hidden; }
.rep-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-tief), var(--gold-hell)); border-radius: 5px; }
.rep-bar b { font-variant-numeric: tabular-nums; }
table.bwa { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.bwa th, table.bwa td { padding: 9px 10px; border-bottom: 1px solid var(--linie); text-align: left; }
table.bwa .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.bwa thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
table.bwa tr.grp th { color: var(--gold-hell); font-family: var(--serif); font-size: 1.02rem; padding-top: 16px; }
table.bwa tr.sub td { font-weight: 600; background: rgba(201,162,74,.05); }
table.bwa tr.tot td { font-weight: 700; font-size: 1rem; border-top: 2px solid var(--gold); border-bottom: 0; color: var(--text); }
.rep-note { margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--linie); border-radius: 8px; font-size: .9rem; color: var(--text-2); }
.cal-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.cal-month { border: 1px solid var(--linie); border-radius: var(--r-m); padding: 14px 16px; background: var(--anthrazit); }
.cal-month h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--gold-tief); }
.cal-month h3 span { font-family: var(--sans); font-size: .95rem; color: var(--gold-hell); font-weight: 600; }
table.cal { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.cal td { padding: 7px 4px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.cal tr:last-child td { border-bottom: 0; }
table.cal td.d { width: 82px; color: var(--text-2); white-space: nowrap; }
table.cal td.num { text-align: right; white-space: nowrap; font-weight: 600; }
table.cal small { color: var(--text-3); }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.addr-letter { grid-column: 1 / -1; font-size: 1.2rem; color: var(--gold-hell); margin: 10px 0 0; border-bottom: 1px solid var(--gold-tief); padding-bottom: 4px; }
.addr { padding: 14px 16px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); display: flex; flex-direction: column; gap: 4px; }
.addr strong { font-family: var(--serif); font-size: 1.05rem; }
.addr small { color: var(--text-3); }
.addr-a { white-space: pre-wrap; font-size: .9rem; color: var(--text-2); }
.addr-c { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
@media (max-width: 600px) { .rep-bar { grid-template-columns: 1fr auto; } .rep-bar > div { grid-column: 1 / -1; order: 3; } }

/* ---------- Backoffice-Übersicht ---------- */
.dash-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 26px 28px; margin-bottom: 20px;
  border: 1px solid var(--gold-tief); border-radius: var(--r-m);
  background: radial-gradient(ellipse 60% 120% at 90% 0%, rgba(201,162,74,.16), transparent 60%), var(--graphit); }
.dash-date { margin: 0 0 4px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.dash-hero h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 6px; }
.dash-hero .muted { margin: 0; }
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.dash-tile { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); overflow: hidden; }
.dash-tile header { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--linie);
  background: linear-gradient(180deg, rgba(201,162,74,.08), transparent); }
.dash-ic { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--gold-tief); display: flex; align-items: center; justify-content: center; color: var(--gold); flex: none; }
.dash-tile h3 { font-size: 1.1rem; margin: 0; }
.dash-tile header p { margin: 2px 0 0; font-size: .8rem; color: var(--text-3); }
.dash-tile header b { margin-left: auto; font-family: var(--serif); font-size: 2rem; color: var(--gold-hell); line-height: 1; }
.dash-list { padding: 6px 10px; flex: 1; }
.dash-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 8px; cursor: default; }
.dash-row[role=button] { cursor: pointer; }
.dash-row[role=button]:hover, .dash-row[role=button]:focus-visible { background: rgba(201,162,74,.07); }
.dash-row .avatar { width: 36px; height: 36px; font-size: .78rem; }
.dash-row strong { display: block; font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row small { display: block; font-size: .78rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row > span:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.dash-row em { font-style: normal; }
.dash-more { margin: 4px 12px 12px auto; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dash-card { padding: 20px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); }
.dash-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.dash-card h3 { font-size: 1.1rem; margin: 0; }
.dash-wide { grid-column: span 2; }
.dash-legend { font-size: .8rem; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.dash-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-left: 8px; }
.dash-chart { width: 100%; height: auto; display: block; }
.dash-chart .cl { font: 10px var(--sans); fill: var(--text-3); }
.dash-chart .cv { font: 600 11px var(--sans); fill: var(--gold-hell); }
.dash-todo { display: grid; gap: 6px; }
.dash-todo button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 8px;
  background: var(--anthrazit); color: var(--text-2); font: 500 .9rem var(--sans); cursor: pointer; text-align: left; }
.dash-todo button b { font-family: var(--serif); font-size: 1.1rem; color: var(--text-3); }
.dash-todo button.has { color: var(--text); border-color: var(--gold-tief); }
.dash-todo button.has b { color: var(--gold-hell); }
.dash-todo button:hover { border-color: var(--gold); }
.dash-mrr b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-hell); }
.dash-mrr span { font-size: .82rem; color: var(--text-2); }
.dash-tier { display: grid; grid-template-columns: 110px 1fr 32px; gap: 10px; align-items: center; margin-top: 12px; font-size: .9rem; }
.dash-tier > div { height: 8px; border-radius: 4px; background: var(--anthrazit); overflow: hidden; }
.dash-tier i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-tief), var(--gold-hell)); }
.dash-tier b { text-align: right; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-stats div { padding: 12px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); }
.dash-stats b { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--gold-hell); }
.dash-stats span { font-size: .78rem; color: var(--text-2); }
.dash-news { padding: 10px 0; border-top: 1px solid var(--linie); }
.dash-news:first-of-type { border-top: 0; }
.dash-news em { font-style: normal; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.dash-news strong { display: block; margin: 2px 0; }
.dash-news small { color: var(--text-3); font-size: .78rem; }
@media (max-width: 1100px) { .dash-tiles { grid-template-columns: 1fr; } .dash-grid { grid-template-columns: 1fr 1fr; } .dash-wide { grid-column: 1 / -1; } }
@media (max-width: 700px) { .dash-grid { grid-template-columns: 1fr; } .dash-hero { padding: 20px; } }

/* ---------- Schwebende Kacheln (Backoffice-Übersicht) ---------- */
#panel:has(> .dash-hero) { background: radial-gradient(ellipse 60% 40% at 90% 0%, rgba(201,162,74,.10), transparent 60%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(59,130,246,.07), transparent 60%); border-radius: var(--r-m); }
.dash-hero { border: 0; color: #16181B; background: linear-gradient(120deg, #C9A24A, #E3C77A 55%, #F4E2B0); box-shadow: 0 18px 50px rgba(201,162,74,.26), inset 0 1px 0 rgba(255,255,255,.5); border-radius: 20px; align-items: center; }
.dash-hero h2 { color: #16181B; } .dash-hero .muted { color: rgba(22,24,27,.75); } .dash-date { color: rgba(22,24,27,.7); }
.dash-hero .btn { background: rgba(255,255,255,.55); border-color: rgba(22,24,27,.15); color: #16181B; } .dash-hero .btn:hover { background: rgba(255,255,255,.8); }
.dash-hero .btn-gold { background: #16181B; color: #F4E2B0; border-color: #16181B; } .dash-hero .btn-gold:hover { background: #2A2D31; }
.dash-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.dash-chip { background: rgba(255,255,255,.55); border: 1px solid rgba(22,24,27,.12); border-radius: 14px; padding: 9px 15px; min-width: 120px; }
.dash-chip b { display: block; font-size: 1.35rem; line-height: 1.15; } .dash-chip span { font-size: .76rem; opacity: .75; }
/* Kopf der Backoffice-Übersicht: links Begrüßung und Aktionen, rechts Kennzahlen im 2×2-Raster */
.dash-hero:has(> .dash-hero-main) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 28px; align-items: center; }
.dash-hero-main .dash-actions { margin-top: 18px; }
.dash-hero > .dash-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.dash-hero > .dash-chips .dash-chip { min-width: 0; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.6); box-shadow: 0 6px 18px rgba(120,90,20,.12), inset 0 1px 0 rgba(255,255,255,.7); }
.dash-hero > .dash-chips .dash-chip b { font-size: 1.9rem; letter-spacing: -.02em; } .dash-hero > .dash-chips .dash-chip span { font-size: .8rem; }
@media (max-width: 900px) { .dash-hero:has(> .dash-hero-main) { grid-template-columns: 1fr; } }
.dl-block { --c: #C9A24A; }
.dl-block[data-block="events"], .dl-block[data-block="stats"] { --c: #3B82F6; } .dl-block[data-block="deadlines"] { --c: #F97316; } .dl-block[data-block="tasks"] { --c: #10B981; }
.dl-block[data-block="signups"], .dl-block[data-block="growth"] { --c: #C9A24A; } .dl-block[data-block="messages"] { --c: #8B5CF6; } .dl-block[data-block="leads"] { --c: #14B8A6; }
.dl-block[data-block="todo"] { --c: #F43F5E; } .dl-block[data-block="mrr"] { --c: #EAB308; } .dl-block[data-block="activity"] { --c: #0EA5E9; } .dl-block[data-block="news"] { --c: #A78BFA; } .dl-block[data-block="applicants"] { --c: #6366F1; }
.dash-tile, .dash-card, .dl-block > section, .dl-block > .card { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)), var(--graphit);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.42), 0 0 0 1px color-mix(in srgb, var(--c, #C9A24A) 18%, transparent), 0 10px 46px -12px color-mix(in srgb, var(--c, #C9A24A) 45%, transparent);
  transition: transform .25s ease, box-shadow .25s ease; }
.dash-tile::before, .dash-card::before, .dl-block > section::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--c, #C9A24A), transparent); pointer-events: none; z-index: 1; }
.dash-tile::after, .dash-card::after, .dl-block > section::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -100px; background: radial-gradient(circle, color-mix(in srgb, var(--c, #C9A24A) 26%, transparent), transparent 70%); pointer-events: none; }
.dash-tile:hover, .dash-card:hover, .dl-block > section:hover { transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 28px 60px rgba(0,0,0,.5), 0 0 0 1px color-mix(in srgb, var(--c, #C9A24A) 40%, transparent), 0 14px 70px -8px color-mix(in srgb, var(--c, #C9A24A) 65%, transparent); }
.dash-tile header { background: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.dash-ic { border: 0; color: #fff; border-radius: 14px; width: 42px; height: 42px; font-size: 1.1rem;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c, #C9A24A) 60%, #ffffff 0%), color-mix(in srgb, var(--c, #C9A24A) 28%, transparent)); box-shadow: 0 0 22px color-mix(in srgb, var(--c, #C9A24A) 55%, transparent); }
.dash-tile header b, .dash-mrr b, .dash-stats b { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; color: color-mix(in srgb, var(--c, #C9A24A) 55%, #ffffff); text-shadow: 0 0 22px color-mix(in srgb, var(--c, #C9A24A) 45%, transparent); }
.dash-more { color: color-mix(in srgb, var(--c, #C9A24A) 80%, #ffffff); }
.dash-todo button { border-radius: 12px; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.07); }
.dash-todo button.has { border-color: color-mix(in srgb, var(--c, #C9A24A) 45%, transparent); }
.dash-todo button.has b { font-family: var(--sans); font-size: .82rem; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 99px; background: var(--gold); color: #16181B; box-shadow: 0 0 16px rgba(201,162,74,.7); }
.dash-tier > div { background: rgba(255,255,255,.08); border-radius: 99px; } .dash-tier i { border-radius: 99px; background: linear-gradient(90deg, var(--c, #C9A24A), color-mix(in srgb, var(--c, #C9A24A) 55%, #ffffff)); box-shadow: 0 0 12px var(--c, #C9A24A); }
.dash-stats div { border-radius: 12px; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.07); }
@media (prefers-reduced-motion: reduce) { .dash-tile, .dash-card, .dl-block > section { transition: none; } .dash-tile:hover, .dash-card:hover, .dl-block > section:hover { transform: none; } }

/* ---------- Kalender ---------- */
.cal-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav h2 { margin: 0 6px; font-size: 1.5rem; min-width: 190px; text-align: center; text-transform: capitalize; }
.cal-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cal-seg { display: inline-flex; border: 1px solid var(--linie-hell); border-radius: 6px; overflow: hidden; }
.cal-seg button { background: none; border: 0; color: var(--text-2); padding: 7px 12px; font: 500 .85rem var(--sans); cursor: pointer; }
.cal-seg button[aria-pressed=true] { background: rgba(201,162,74,.15); color: var(--text); }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--text-2); margin-bottom: 12px; }
.cal-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .lg::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1px solid; }
.cal-legend label.lg::before { display: none; }
.cal-legend input { accent-color: var(--gold); }
.lg.ev-own::before { background: #2E3338; border-color: #5A6168; }
.lg.ev-admin::before { background: #2E3338; border-color: #ABA79D; }
.lg.ev-gold::before { background: rgba(201,162,74,.18); border-color: var(--gold); }
.cal-grid { border: 1px solid var(--linie); border-radius: var(--r-m); overflow: hidden; }
.cal-wd { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--anthrazit); }
.cal-wd span { padding: 8px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); text-align: center; }
.cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-day { min-height: 112px; padding: 6px; border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; }
.cal-day:nth-child(7n+1) { border-left: 0; }
.cal-day:hover { background: rgba(255,255,255,.02); }
.cal-day.out { opacity: .45; }
.cal-num { font-size: .82rem; color: var(--text-2); font-weight: 600; align-self: flex-end; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cal-day.today .cal-num { background: var(--gold); color: #1A1A17; }
.cal-ev { display: flex; gap: 5px; align-items: baseline; width: 100%; padding: 3px 6px; border-radius: 4px; border: 1px solid transparent; font: 500 .74rem/1.3 var(--sans); color: var(--text); text-align: left; cursor: pointer; overflow: hidden; }
.cal-ev span { color: var(--text-2); flex: none; }
.cal-ev b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.ev-own { background: #2E3338; border-color: #3F464C; }
.cal-ev.ev-admin { background: #2E3338; border-color: #6F757B; }
.cal-ev.ev-gold { background: rgba(201,162,74,.14); border-color: var(--gold); }
.cal-ev.ev-buddy { background: rgba(111,122,132,.22); border-color: #6F7A84; }
.cal-more { background: none; border: 0; color: var(--gold-hell); font-size: .74rem; text-align: left; padding: 2px 6px; cursor: pointer; }
.cal-dots { display: none; gap: 3px; justify-content: center; margin-top: auto; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: #6F757B; }
.cal-dots i.ev-gold { background: var(--gold); }
.cal-dots i.ev-buddy { background: #8A96A1; }
.cal-next { margin-top: 22px; }
.cal-next h3 { font-size: 1.15rem; margin-bottom: 10px; }
.cal-list { display: grid; gap: 8px; }
.cal-li-day h4 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 10px 0 6px; font-family: var(--sans); }
.cal-li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--linie);
  background: var(--anthrazit); color: var(--text); text-align: left; cursor: pointer; font: inherit; margin-bottom: 6px; }
.cal-li .t { font-size: .84rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cal-li .n b { display: block; font-weight: 600; }
.cal-li .n small { color: var(--text-3); font-size: .8rem; }
.cal-li.ev-gold { border-color: var(--gold); background: linear-gradient(90deg, rgba(201,162,74,.14), rgba(201,162,74,.03)); }
.cal-li.ev-buddy { border-left: 3px solid #6F7A84; }
.cal-li-btn { font-size: .8rem; color: var(--gold-hell); font-weight: 600; white-space: nowrap; }
.cal-detail { padding: 4px 0 6px; }
.cal-detail.is-gold { border: 1.5px solid var(--gold); border-radius: var(--r-m); padding: 18px 20px; background: linear-gradient(180deg, rgba(201,162,74,.12), transparent); }
.cal-kind { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--text-3); margin-bottom: 6px; }
.cal-kind.ev-gold { color: var(--gold); }
.cal-detail h2 { font-size: 1.6rem; margin: 0 0 6px; }
.cal-when { color: var(--text); font-weight: 500; margin: 0 0 8px; }
.cal-loc { color: var(--text-2); margin: 0 0 8px; }
.cal-desc { white-space: pre-wrap; color: var(--text-2); }
.cal-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.dlg-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.cal-linkset { border: 1px dashed var(--gold-tief); border-radius: 8px; padding: 10px 14px 0; margin: 6px 0 12px; }
.cal-linkset legend { font-size: .8rem; color: var(--gold-hell); padding: 0 6px; }
.cal-howto { padding-left: 1.1em; color: var(--text-2); font-size: .92rem; }
.cal-howto li { margin: 6px 0; }
@media (max-width: 700px) {
  .cal-day { min-height: 54px; padding: 4px; }
  .cal-day .cal-ev, .cal-day .cal-more { display: none; }
  .cal-dots { display: flex; }
  .cal-num { align-self: center; }
  .cal-nav h2 { min-width: 0; font-size: 1.2rem; }
  .cal-li { grid-template-columns: 82px minmax(0, 1fr); }
  .cal-li-btn { grid-column: 2; }
}

.cal-ev.ev-google { background: rgba(66,133,244,.14); border-color: rgba(66,133,244,.55); }
.cal-li.ev-google { border-left: 3px solid rgba(66,133,244,.7); }
.lg.ev-google::before { background: rgba(66,133,244,.2); border-color: rgba(66,133,244,.7); }
/* Aktionstage: unauffällig, gestrichelt */
.cal-ev.ev-aktion { background: transparent; border-style: dashed; border-color: rgba(201,162,74,.45); color: var(--text-2, #C9C4B8); font-weight: 400; }
.cal-li.ev-aktion { border-left: 3px dashed rgba(201,162,74,.55); opacity: .9; }
.cal-dots i.ev-aktion { background: transparent; border: 1px dashed rgba(201,162,74,.7); }
.cal-dots i.ev-google { background: #4285F4; }
.gcal-state { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); margin-bottom: 14px; }
.gcal-state i { width: 10px; height: 10px; border-radius: 50%; background: #6F757B; flex: none; }
.gcal-state.on i { background: #4CAF7A; box-shadow: 0 0 0 4px rgba(76,175,122,.18); }

/* ---------- Aufgaben ---------- */
.cal-ev.ev-task { background: transparent; border-style: dashed; border-color: #8A96A1; }
.cal-ev.ev-task.ev-gold { border-color: var(--gold); background: rgba(201,162,74,.08); }
.cal-ev.is-done b, .cal-li.is-done b { text-decoration: line-through; opacity: .6; }
.cal-li.ev-task { border-style: dashed; }
.lg.ev-task::before { background: transparent; border: 1px dashed #8A96A1; }
.cal-dots i.ev-task { background: transparent; border: 1px solid #8A96A1; }
.tk-filter { display: inline-flex; border: 1px solid var(--linie-hell); border-radius: 6px; overflow: hidden; margin: 0 0 14px; flex-wrap: wrap; }
.tk-filter button { background: none; border: 0; color: var(--text-2); padding: 8px 14px; font: 500 .85rem var(--sans); cursor: pointer; }
.tk-filter button[aria-pressed=true] { background: rgba(201,162,74,.15); color: var(--text); }
.tk-group { margin-top: 14px; }
.tk-group h3 { display: flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-family: var(--sans); font-weight: 600; margin: 0 0 8px; }
.tk-group h3 span { background: var(--anthrazit); border: 1px solid var(--linie); border-radius: 999px; padding: 0 8px; font-size: .74rem; }
.tk-group.over h3 { color: var(--err); }
.tk-group.today h3 { color: var(--gold); }
.tk { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 8px;
  border: 1px solid var(--linie); border-radius: 10px; background: var(--anthrazit); }
.tk.tk-gold { border-color: var(--gold); background: linear-gradient(90deg, rgba(201,162,74,.12), rgba(201,162,74,.02)); }
.tk.is-over { border-left: 3px solid var(--err); }
.tk.is-done strong { text-decoration: line-through; opacity: .55; }
.tk-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--gold-tief); background: transparent; color: #1A1A17; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tk-check:hover { border-color: var(--gold); }
.tk.is-done .tk-check { background: var(--gold); border-color: var(--gold); }
.tk-all { border-style: dashed; color: var(--gold); font-size: .8rem; cursor: default; }
.tk-main { cursor: pointer; min-width: 0; }
.tk-main strong { display: block; font-weight: 600; }
.tk-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; color: var(--text-2); margin-top: 3px; align-items: center; }
.tk-prio { font-weight: 600; } .tk-prio.p-hoch { color: var(--err); } .tk-prio.p-niedrig { color: var(--text-3); }
.tk-over { color: var(--err); font-weight: 600; }
.tk-cat { border: 1px solid var(--linie-hell); border-radius: 999px; padding: 0 8px; }
.tk-who { color: var(--gold-hell); }
.tk-cl { display: grid; gap: 6px; margin-top: 12px; }
.tk-cl .check { margin: 0; }
.tk-clrow { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 6px; }
.tk-members h3 { font-size: 1.05rem; margin: 16px 0 8px; }
.tk-mlist { max-height: 260px; overflow-y: auto; display: grid; gap: 4px; }
.tk-m { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 6px; background: var(--anthrazit); font-size: .88rem; }
.tk-m em { font-style: normal; color: var(--text-3); }
.tk-m.erledigt em { color: #4CAF7A; }
@media (max-width: 600px) { .tk { grid-template-columns: 30px minmax(0, 1fr); } .tk > .btn { grid-column: 2; justify-self: start; } }

.dash-today { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.dt-time { font-variant-numeric: tabular-nums; font-size: .8rem; color: var(--text-2); width: 36px; }
.dash-row.dt-ev { grid-template-columns: 92px minmax(0, 1fr) auto; }
.dash-row.dt-ev .dt-time { width: auto; }
.dash-row.dt-ev.is-next { background: rgba(201,162,74,.10); border: 1px solid var(--gold-tief); }
.dash-row.dt-ev.k-mitglied strong, .dash-row.dt-ev.k-alle strong { color: var(--gold-hell); }
.dash-row.dt-tk { grid-template-columns: 30px minmax(0, 1fr) auto; }
.dash-row.dt-tk [data-dopen] { cursor: pointer; min-width: 0; }
.dash-row.dt-tk.is-over small { color: var(--err); }
@media (max-width: 1100px) { .dash-today { grid-template-columns: 1fr; } }

/* ---------- Blog-Redaktion ---------- */
.be-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.be-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.be-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.be-grid.with-prev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; }
.be-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.be-title { font: 600 1.6rem var(--serif) !important; padding: 12px 14px !important; }
.be-sub { font-size: 1.02rem !important; }
.be-tools { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); position: sticky; top: 70px; z-index: 3; }
.be-tools button { min-width: 36px; height: 34px; padding: 0 8px; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--text); font: 600 .85rem var(--sans); cursor: pointer; }
.be-tools button:hover { border-color: var(--gold-tief); background: rgba(201,162,74,.08); }
.be-md { min-height: 560px; font: .95rem/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; resize: vertical; }
.be-prev { border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); padding: 22px 24px; max-height: calc(100vh - 140px); overflow-y: auto; position: sticky; top: 70px; }
.be-side { display: grid; gap: 12px; }
.be-side section { border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); padding: 14px 16px; }
.be-side h4 { font: 700 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.be-side .field { margin-bottom: 10px; }
.be-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--linie); display: block; }
.be-cover-ph { display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: .85rem; background: var(--anthrazit); }
.be-slug { display: flex; align-items: center; border: 1px solid var(--linie-hell); border-radius: 6px; overflow: hidden; }
.be-slug span { padding: 0 8px; color: var(--text-3); font-size: .85rem; }
.be-slug input { border: 0 !important; border-radius: 0 !important; }
.be-serp { padding: 12px; border-radius: 8px; background: #fff; font-family: Arial, sans-serif; }
.be-serp small { color: #4d5156; font-size: 12px; }
.be-serp b { display: block; color: #1a0dab; font-size: 17px; font-weight: 400; margin: 2px 0; }
.be-serp p { margin: 0; color: #4d5156; font-size: 13px; line-height: 1.45; }
@media (max-width: 1300px) { .be-grid.with-prev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .be-grid.with-prev .be-side { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 900px) { .be-grid, .be-grid.with-prev { grid-template-columns: 1fr; } .be-prev { position: static; max-height: none; } }

/* ---------- Artikel (Vorschau & öffentliche Seite) ---------- */
.art-body { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.art-body h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 10px; }
.art-body h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; scroll-margin-top: 90px; }
.art-body h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; scroll-margin-top: 90px; }
.art-body p { margin: 0 0 1.05em; }
.art-body a { color: var(--gold-hell); }
.art-body ul, .art-body ol { padding-left: 1.3em; margin: 0 0 1.1em; } .art-body li { margin: .35em 0; }
.art-body code { font-size: .9em; background: rgba(255,255,255,.07); border-radius: 4px; padding: 1px 6px; }
.art-body figure { margin: 1.6em 0; } .art-body figure img { width: 100%; border-radius: 10px; border: 1px solid var(--linie); display: block; }
.art-body figcaption { font-size: .86rem; color: var(--text-3); margin-top: 8px; text-align: center; }
.art-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; }
.art-body blockquote p { margin: 0; } .art-body blockquote cite { display: block; margin-top: 8px; font: normal .9rem var(--sans); color: var(--text-3); }
.art-body hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-tief), transparent); margin: 2.4em 0; }
.art-kicker { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 8px; }
.art-sub { font-family: var(--serif); font-style: italic; color: var(--gold-hell); font-size: 1.25rem; margin: 0 0 12px; }
.art-meta { font-size: .88rem; color: var(--text-2); }
.art-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin: 14px 0 22px; border: 1px solid var(--linie); }
.art-toc { border: 1px solid var(--linie); border-radius: 10px; padding: 14px 18px; margin: 0 0 1.6em; background: var(--anthrazit); font-size: .95rem; }
.art-toc strong { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.art-toc ol { margin: 0; padding-left: 1.2em; }
.art-callout { margin: 1.5em 0; padding: 16px 20px; border-radius: 10px; border: 1px solid; }
.art-callout > strong { display: block; margin-bottom: 4px; }
.art-callout p { margin: 0 0 .5em; } .art-callout p:last-child { margin: 0; }
.art-callout.tip { border-color: var(--gold); background: rgba(201,162,74,.09); } .art-callout.tip strong { color: var(--gold-hell); }
.art-callout.note { border-color: #5B7FA6; background: rgba(91,127,166,.1); } .art-callout.note strong { color: #9DBBDC; }
.art-callout.warn { border-color: #C06A5B; background: rgba(192,106,91,.1); } .art-callout.warn strong { color: #E59A8B; }
.art-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin: 2em 0; padding: 22px 24px; border-radius: 12px;
  border: 1px solid var(--gold); background: radial-gradient(ellipse at 90% 0%, rgba(201,162,74,.22), transparent 60%), var(--graphit); }
.art-cta strong { font-family: var(--serif); font-size: 1.3rem; display: block; } .art-cta p { margin: 4px 0 0; color: var(--text-2); font-size: .95rem; }
.art-btn { display: inline-block; padding: 12px 20px; border-radius: 6px; background: linear-gradient(180deg, #E6C886, #C9A24A); color: #1A1A17 !important; font-weight: 700; text-decoration: none; }
.art-yt { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--linie);
  background: radial-gradient(ellipse at 50% 40%, rgba(201,162,74,.18), transparent 60%), #111315; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-align: center; }
.art-yt-play { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--gold); color: #1A1A17; font-size: 1.6rem; cursor: pointer; }
.art-yt p { margin: 0; font-size: .8rem; color: var(--text-3); max-width: 80%; }
.art-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.art-table { overflow-x: auto; margin: 1.4em 0; } .art-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.art-table th, .art-table td { padding: 10px 12px; border-bottom: 1px solid var(--linie); text-align: left; }
.art-table th { color: var(--gold-hell); font-weight: 600; border-bottom: 2px solid var(--gold-tief); }

/* ---------- Öffentlicher Blog ---------- */
.bl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: transparent; }
.bl-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-tief), var(--gold-hell)); }
.bl-wrap { padding-bottom: 40px; }
.bl-hero { padding: 54px 0 26px; }
.bl-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .28em; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.bl-hero .eyebrow::before { content: ""; width: 40px; height: 1.5px; background: var(--gold); }
.bl-hero .eyebrow a { color: var(--gold); text-decoration: none; }
.bl-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 0 0 10px; }
.bl-hero > p { color: var(--text-2); max-width: 700px; font-size: 1.08rem; }
.bl-search { display: flex; gap: 10px; max-width: 620px; margin-top: 18px; }
.bl-search input { flex: 1; min-height: 50px; }
.bl-langs { margin: 10px 0 0; font-size: .88rem; } .bl-langs a { color: var(--text-2); }
.bl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; align-items: start; }
.bl-h2 { font-size: 1.4rem; margin: 26px 0 14px; }
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.bl-card { border: 1px solid var(--linie); border-radius: var(--r-m); overflow: hidden; background: var(--graphit); transition: border-color .15s, transform .15s; }
.bl-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.bl-card-in { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.bl-card-in:hover { color: var(--text); }
.bl-card img, .bl-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.bl-ph { display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 2rem; background: radial-gradient(ellipse at 70% 30%, rgba(201,162,74,.2), transparent 60%), var(--anthrazit); }
.bl-card-b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bl-cat { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.bl-feat { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #1A1A17; background: var(--gold); border-radius: 3px; padding: 1px 6px; font-weight: 700; align-self: flex-start; }
.bl-card h3 { font-size: 1.2rem; line-height: 1.3; margin: 0; }
.bl-card p { margin: 0; color: var(--text-2); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-meta { margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--text-3); }
.bl-card.big .bl-card-in { display: grid; grid-template-columns: 1.15fr 1fr; }
.bl-card.big img, .bl-card.big .bl-ph { aspect-ratio: auto; height: 100%; min-height: 300px; }
.bl-card.big .bl-card-b { padding: 28px; justify-content: center; }
.bl-card.big h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.bl-card.big p { -webkit-line-clamp: 5; font-size: 1rem; }
.bl-pages { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 28px 0; color: var(--text-2); font-size: .9rem; }
.bl-aside { display: grid; gap: 18px; position: sticky; top: 90px; }
.bl-aside section { border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); padding: 16px 18px; }
.bl-aside h3 { font: 700 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.bl-cats, .bl-year ul { list-style: none; padding: 0; margin: 0; }
.bl-cats a, .bl-year li a { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--linie); font-size: .92rem; }
.bl-cats a span, .bl-year span { color: var(--text-3); font-size: .82rem; }
.bl-cats a:hover, .bl-cats a.on, .bl-year a.on { color: var(--gold-hell); }
.bl-year summary { cursor: pointer; padding: 6px 0; font-weight: 600; display: flex; justify-content: space-between; }
.bl-year ul { padding-left: 10px; }
.bl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.bl-tags a { font-size: .82rem; padding: 4px 10px; border: 1px solid var(--linie-hell); border-radius: 999px; color: var(--text-2); text-decoration: none; }
.bl-tags a:hover, .bl-tags a.on { border-color: var(--gold); color: var(--gold-hell); }
.bl-aside .bl-tags { margin: 0; }
.bl-rss { color: var(--gold-hell); text-decoration: none; font-size: .9rem; }
.bl-nl { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: center; margin: 36px 0 10px; padding: 24px 26px; border: 1px solid var(--gold); border-radius: var(--r-m);
  background: radial-gradient(ellipse at 100% 0%, rgba(201,162,74,.18), transparent 60%), var(--graphit); }
.bl-nl h3 { font-size: 1.4rem; margin: 0 0 6px; } .bl-nl p { margin: 0; color: var(--text-2); }
.bl-nl form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.bl-nl .check { grid-column: 1 / -1; font-size: .8rem; margin: 0; }
.bl-nl-msg { grid-column: 1 / -1; color: var(--err); font-size: .85rem; min-height: 1em; margin: 0; }
.bl-nl-ok { color: var(--gold-hell); font-weight: 600; }
.bl-crumbs { margin: 26px 0 10px; font-size: .85rem; color: var(--text-3); } .bl-crumbs a { color: var(--text-2); }
.bl-art-grid { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 40px; }
.bl-art-grid.has-toc { grid-template-columns: minmax(0, 760px) 240px; }
.bl-art-grid.has-toc .bl-toc-inline { display: none; }
.bl-side { position: sticky; top: 90px; }
.bl-toc { border-left: 2px solid var(--linie); padding: 4px 0 4px 16px; font-size: .9rem; }
.bl-toc strong { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.bl-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.bl-toc a { color: var(--text-3); text-decoration: none; display: block; line-height: 1.35; }
.bl-toc a:hover, .bl-toc a.on { color: var(--gold-hell); }
.bl-byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 6px; }
.bl-byline strong { display: block; } .bl-byline span { font-size: .86rem; color: var(--text-2); }
.bl-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-tief); flex: none; }
.bl-av.lg { width: 72px; height: 72px; }
.bl-av-ph { display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); color: var(--gold); background: var(--anthrazit); }
.bl-lang { margin-left: auto; }
.bl-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.bl-share strong { margin-right: 6px; font-size: .9rem; }
.bl-share a, .bl-share button { font: 600 .82rem var(--sans); padding: 7px 12px; border-radius: 6px; border: 1px solid var(--linie-hell); background: none; color: var(--text); text-decoration: none; cursor: pointer; }
.bl-share a:hover, .bl-share button:hover { border-color: var(--gold); color: var(--gold-hell); }
.bl-author { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); }
.bl-author strong { display: block; font-family: var(--serif); font-size: 1.2rem; margin: 2px 0 4px; } .bl-author p { margin: 0; color: var(--text-2); font-size: .95rem; }
.bl-related { margin-top: 50px; } .bl-related h2 { font-size: 1.6rem; margin-bottom: 16px; }
.bl-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.bl-pn a { display: block; padding: 16px 18px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); color: var(--text); text-decoration: none; font-family: var(--serif); }
.bl-pn a.r { text-align: right; } .bl-pn a:hover { border-color: var(--gold); }
.bl-pn small { display: block; font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.bl-back { text-align: center; margin: 30px 0 0; }
.bl-nf { padding: 80px 0; text-align: center; }
@media (max-width: 1000px) { .bl-layout { grid-template-columns: 1fr; } .bl-aside { position: static; } .bl-art-grid.has-toc { grid-template-columns: minmax(0, 1fr); } .bl-art-grid.has-toc .bl-toc-inline { display: block; } .bl-side { display: none; } }
@media (max-width: 760px) { .bl-card.big .bl-card-in { grid-template-columns: 1fr; } .bl-card.big img, .bl-card.big .bl-ph { min-height: 0; aspect-ratio: 16 / 9; } .bl-nl { grid-template-columns: 1fr; } .bl-nl form { grid-template-columns: 1fr; } .bl-pn { grid-template-columns: 1fr; } .bl-search { flex-direction: column; } .bl-hide-m { display: none; } }
@media print { .site-head, .site-foot, .bl-share, .bl-nl, .bl-related, .bl-pn, .bl-back, .bl-side, .bl-progress, .bl-crumbs, #fa-consent { display: none !important; }
  body.blog-page { background: #fff; color: #111; } .art-body, .art-body h1, .art-body h2, .art-body h3 { color: #111; } .bl-art-grid { display: block; } .art-yt { display: none; } }

/* Einheitliche Navigation */
.nav-q.is-here { color: var(--gold-hell); }
@media (max-width: 760px) { .nav-q { display: none; } }

.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-item { padding: 20px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--anthrazit); }
.tool-ic { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gold-tief); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.tool-item h3 { font-size: 1.15rem; margin: 0 0 6px; }
.tool-item p { margin: 0; color: var(--text-2); font-size: .92rem; }
@media (max-width: 1000px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tool-grid { grid-template-columns: 1fr; } }

/* ---------- Meine Boni & Bonus-Box im Editor ---------- */
.bo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.bo-card { border: 1px solid var(--linie); border-radius: var(--r-m); overflow: hidden; background: var(--graphit); display: flex; flex-direction: column; }
.bo-card.off { opacity: .55; }
.bo-card img, .bo-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: var(--anthrazit); }
.bo-b { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bo-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.bo-top b { font-family: var(--serif); color: var(--gold-hell); white-space: nowrap; }
.bo-b p { margin: 0; color: var(--text-2); font-size: .9rem; }
.bo-act { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
.bo-thumb { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--linie); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--anthrazit); }
.ba-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-tief); display: inline-flex; align-items: center; justify-content: center; background: var(--anthrazit); color: var(--gold); font-family: var(--serif); }
.ba-bon { max-height: 220px; overflow-y: auto; padding: 4px 8px; border: 1px solid var(--linie); border-radius: 6px; }
.be-aff { border-color: var(--gold-tief) !important; }
.be-boxprev { margin: 1.6em 0; padding: 16px 18px; border: 1.5px dashed var(--gold); border-radius: 10px; font-size: .92rem; line-height: 1.6; }
.be-boxprev small { color: var(--text-3); }

/* ---------- Bonus-Box im Blog ---------- */
.bx-teaser { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 10px;
  background: linear-gradient(90deg, rgba(201,162,74,.14), rgba(201,162,74,.03)); color: var(--text); text-decoration: none; font-size: .95rem; }
.bx-teaser:hover { color: var(--text); border-color: var(--gold-hell); }
.bx-teaser em { margin-left: auto; font-style: normal; color: var(--gold-hell); font-weight: 600; }
.bx-teaser b { color: var(--gold-hell); }
.bx-adtag, .bx-ad span { font: 700 .66rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--text-3); color: var(--text-2); }
.bx { margin: 2.4em 0; padding: 26px; border: 1.5px solid var(--gold); border-radius: 16px; scroll-margin-top: 90px;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(201,162,74,.16), transparent 60%), var(--graphit); font-size: 1rem; line-height: 1.6; }
.bx-ad { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--text-3); margin-bottom: 18px; }
.bx-ad span { flex: none; }
.bx-head { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; }
.bx-av { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.bx-av-ph { display: flex; align-items: center; justify-content: center; background: var(--anthrazit); color: var(--gold); font-family: var(--serif); font-size: 2rem; }
.bx-kick { display: block; font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.bx h2 { font-size: 1.7rem; margin: 0 0 10px !important; }
.bx-bar { display: grid; grid-template-columns: 120px 1fr 52px; gap: 10px; align-items: center; font-size: .9rem; margin: 6px 0; }
.bx-bar > div { height: 10px; border-radius: 5px; background: var(--anthrazit); overflow: hidden; }
.bx-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-tief), var(--gold-hell)); border-radius: 5px; }
.bx-bar b { text-align: right; color: var(--gold-hell); }
.bx-excl { display: flex; gap: 18px; align-items: center; margin: 24px 0 18px; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--gold); background: rgba(201,162,74,.06); }
.bx-excl strong { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-hell); display: block; }
.bx-excl p { margin: 2px 0 0; color: var(--text-2); font-size: .92rem; }
.bx-seal { flex: none; width: 96px; height: 96px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #F6E3B0, #C9A24A 58%, #8E6E2B); color: #1A1A17; box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.bx-seal b { font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.bx-seal span { font: 700 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.bx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.bx-card { border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; background: var(--anthrazit); display: flex; flex-direction: column; }
.bx-card img, .bx-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: #111315; }
.bx-cb { padding: 14px 16px 16px; }
.bx-ct { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.bx-ct h3 { font-size: 1.1rem; margin: 0 !important; }
.bx-ct b { font-family: var(--serif); color: var(--gold-hell); white-space: nowrap; }
.bx-cb p { margin: 6px 0 0; color: var(--text-2); font-size: .9rem; }
.bx-cb ul { margin: 8px 0 0; padding-left: 1.1em; font-size: .88rem; color: var(--text-2); }
.bx-total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; justify-content: flex-end; margin: 14px 0 0 !important; font-size: .95rem; }
.bx-total b { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-hell); }
.bx-total small { color: var(--text-3); width: 100%; text-align: right; }
.bx-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.bx-btns .art-btn { font-size: 1.05rem; padding: 14px 26px; }
.bx-btn2 { border: 1px solid var(--gold-tief); color: var(--text) !important; text-decoration: none; padding: 13px 22px; border-radius: 6px; font-weight: 600; }
.bx-deal { margin-top: 22px; }
.bx-deal-frame { width: 100%; height: 320px; border: 0; border-radius: 12px; background: #F7F3EA; display: block; }
.bx-claim { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--linie); }
.bx-claim h3 { font-size: 1.2rem; margin: 0 0 8px !important; }
.bx-claim ol { margin: 0; padding-left: 1.2em; color: var(--text-2); font-size: .95rem; }
.bx-note { margin: 10px 0 0 !important; font-size: .88rem; color: var(--text-3); }
#bx-form { display: grid; gap: 8px; }
#bx-form input:not([type=checkbox]), #bx-form textarea { width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--linie-hell); background: #121416; color: var(--text); font: 400 .95rem var(--sans); }
#bx-form textarea { min-height: 70px; resize: vertical; }
#bx-form .check { font-size: .8rem; margin: 2px 0; }
.bx-msg { color: var(--err); font-size: .85rem; margin: 0 !important; min-height: 1em; }
.bx-ok { color: var(--gold-hell); font-weight: 600; }
@media (max-width: 700px) { .bx { padding: 20px 16px; } .bx-head { grid-template-columns: 64px minmax(0, 1fr); } .bx-av { width: 64px; height: 64px; } .bx-bar { grid-template-columns: 96px 1fr 44px; } .bx-claim { grid-template-columns: 1fr; } .bx-excl { flex-direction: column; text-align: center; } }
@media print { .bx-claim, .bx-deal, .bx-teaser { display: none !important; } }
#bx-form .check input { width: 18px; height: 18px; flex: none; accent-color: var(--gold); }

/* ---------- Empfehlungsprogramm (Mitgliederbereich) ---------- */
.banner-ok { border-color: var(--gold) !important; background: rgba(201,162,74,.1) !important; color: var(--text) !important; }
.tab-promo span:first-child { color: var(--gold-hell); font-weight: 600; }
.count-gold { background: var(--gold) !important; color: #1A1A17 !important; }
.rf-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; padding: 24px; border: 1px solid var(--gold); border-radius: var(--r-m);
  background: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(201,162,74,.16), transparent 60%), var(--graphit); }
.rf-hero h2 { font-size: 1.6rem; margin: 6px 0 6px; }
.rf-hero p { margin: 0; }
.rf-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rf-kpis div { text-align: center; padding: 12px 6px; border: 1px solid var(--linie); border-radius: 10px; background: var(--anthrazit); }
.rf-kpis b { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--gold-hell); line-height: 1.1; }
.rf-kpis span { font-size: .78rem; color: var(--text-3); }
.rf-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; }
.rf-card { padding: 22px; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--graphit); }
.rf-card h3 { margin-top: 0; font-size: 1.25rem; }
.rf-copy { display: flex; gap: 8px; }
.rf-copy input { flex: 1; min-width: 0; font-size: .9rem; }
.rf-share { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-qr { display: inline-block; padding: 10px; background: #fff; border-radius: 8px; margin-top: 12px; }
.rf-reward { padding: 14px 16px; border: 1px solid var(--linie); border-radius: 10px; background: var(--anthrazit); margin-bottom: 10px; }
.rf-rw-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rf-rw-top b { color: var(--gold-hell); font-family: var(--serif); }
.rf-prog { height: 8px; border-radius: 4px; background: var(--graphit); overflow: hidden; margin: 10px 0; }
.rf-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-tief), var(--gold-hell)); }
.rf-rw-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rf-pts { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rf-pts td { padding: 7px 0; border-top: 1px solid var(--linie); }
.rf-pts td:last-child { text-align: right; color: var(--gold-hell); }
.rf-ledger { list-style: none; margin: 0; padding: 0; }
.rf-ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--linie); }
.rf-ledger small { display: block; color: var(--text-3); font-size: .78rem; }
.rf-ledger .pos { color: var(--gold-hell); } .rf-ledger .neg { color: var(--text-3); }
@media (max-width: 900px) { .rf-hero, .rf-grid { grid-template-columns: 1fr; } .rf-kpis { grid-template-columns: repeat(2, 1fr); } }
.rf-sub { margin: 18px 0 16px; flex-wrap: wrap; }
.rf-prev { margin-top: 10px; padding: 18px; border: 1px dashed var(--linie-hell); border-radius: 10px; background: #121416; }
.rf-prev.light { background: #F4F1EA; }
.rf-prev > span { display: block; margin-bottom: 10px; }
.rf-board { list-style: none; margin: 0; padding: 0; }
.rf-board li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 10px; border-top: 1px solid var(--linie); }
.rf-board li.me { background: rgba(201,162,74,.08); border-radius: 8px; }
.rf-board .rk { font-family: var(--serif); font-size: 1.3rem; text-align: center; color: var(--gold-hell); }
.rf-board b { color: var(--gold-hell); white-space: nowrap; }
.rf-mat-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linie); }
.rf-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rf-tip { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px; border: 1px solid var(--linie); border-radius: 10px; background: var(--anthrazit); }
.rf-tn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-hell); display: flex; align-items: center; justify-content: center; font-family: var(--serif); }
.rf-tip p { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; }
.rf-swipe { border-top: 1px solid var(--linie); padding: 10px 0; }
.rf-swipe summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.rf-swipe textarea { width: 100%; margin: 8px 0; font-size: .9rem; }
.rf-gfx { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rf-gfx figure { margin: 0; border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; background: var(--anthrazit); }
.rf-gfx img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.rf-gfx figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 760px) { .rf-tips { grid-template-columns: 1fr; } .rf-board li { grid-template-columns: 34px minmax(0, 1fr) auto; } .rf-board li .small { display: none; } }

/* ---------- Promo für das Empfehlungsprogramm ---------- */
.ref-strip { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 14px 20px; margin: 40px 0 0;
  background: linear-gradient(90deg, rgba(201,162,74,.08), rgba(201,162,74,.2), rgba(201,162,74,.08)); border-top: 1px solid var(--gold-tief); border-bottom: 1px solid var(--gold-tief);
  color: var(--text); text-decoration: none; font-size: .98rem; text-align: center; }
.ref-strip:hover { color: var(--text); background: linear-gradient(90deg, rgba(201,162,74,.12), rgba(201,162,74,.28), rgba(201,162,74,.12)); }
.ref-strip b { color: var(--gold-hell); }
.ref-strip .ref-pill { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: linear-gradient(180deg, #F3DC9C, #C9A24A); color: #17150F; font-weight: 800; font-size: .88rem; }
.nav-promo { color: var(--gold-hell) !important; font-weight: 600; }
.ref-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 26px 28px; border-radius: var(--r-m); border: 1.5px solid var(--gold);
  background: radial-gradient(ellipse 60% 120% at 0% 50%, rgba(201,162,74,.18), transparent 60%), var(--graphit); }
.ref-promo .ref-seal { width: 76px; height: 76px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #F6E3B0, #C9A24A 58%, #8E6E2B); color: #17150F; text-align: center; }
.ref-promo .ref-seal b { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.ref-promo .ref-seal span { font: 800 .55rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ref-promo h3 { margin: 0 0 4px; font-size: 1.35rem; }
.ref-promo p { margin: 0; color: var(--text-2); }
@media (max-width: 760px) { .ref-promo { grid-template-columns: 1fr; text-align: center; } .ref-promo .ref-seal { margin: 0 auto; } }

/* ---------- Berichte mit Bezahlschranke ---------- */
.bl-lock { display: inline-block; font: 700 .66rem var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--gold); color: #17150F; margin-right: 6px; }
.pw { position: relative; margin: 10px 0 30px; }
.pw-fade { display: none; }
.pw-box { position: relative; z-index: 2; text-align: center; padding: 34px 28px; border: 1.5px solid var(--gold); border-radius: 18px;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201,162,74,.2), transparent 60%), var(--graphit); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.pw-lock { display: flex; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.5rem; background: radial-gradient(circle at 35% 30%, #F6E3B0, #C9A24A 58%, #8E6E2B); }
.pw-kick { display: block; font: 700 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pw-box h2 { font-size: 1.7rem; margin: 8px 0 8px !important; }
.pw-p { color: var(--text-2); max-width: 34em; margin: 0 auto 18px !important; }
.pw-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pw-btn2 { border: 1px solid var(--gold-tief); color: var(--text) !important; text-decoration: none; padding: 12px 20px; border-radius: 6px; font-weight: 600; background: transparent; cursor: pointer; font-size: .98rem; }
.pw-login { margin: 14px 0 0 !important; font-size: .92rem; }
.pw-spon { margin: 22px auto 0; max-width: 520px; padding: 18px 20px; border-radius: 12px; border: 1px dashed var(--gold); background: rgba(201,162,74,.07); }
.pw-spon strong { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-hell); display: block; }
.pw-spon p { color: var(--text-2); margin: 6px 0 12px !important; font-size: .94rem; }
.pw-ok { text-align: center; color: var(--gold-hell); font-weight: 600; margin: 20px 0 !important; }
.pw-locked { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
@media print { .pw { display: none; } }

/* ---------- Hilfe-Center im Backoffice ---------- */
.hl-step { padding: 14px 16px; margin-bottom: 12px; border: 1px solid var(--linie); border-radius: 10px; background: var(--anthrazit); }
.hl-step-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hl-step-h b { font-family: var(--serif); color: var(--gold-hell); }

/* ---------- Support-Tickets ---------- */
.tk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.tk-no { font: 700 .78rem var(--sans); letter-spacing: .12em; color: var(--gold); }
.tk-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; box-shadow: 0 0 0 3px rgba(201,162,74,.2); }
.tk-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--linie); border-radius: var(--r-m); overflow: hidden; }
.tk-list li + li { border-top: 1px solid var(--linie); }
.tk-row { width: 100%; display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--graphit); border: 0; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.tk-row:hover { background: var(--anthrazit); }
.tk-sub b { display: block; font-weight: 600; }
.tk-sub small { color: var(--text-3); }
.tk-thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tk-msg { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--linie); background: var(--anthrazit); max-width: 88%; }
.tk-msg.member { align-self: flex-start; }
.tk-msg.team { align-self: flex-end; border-color: var(--gold-tief); background: rgba(201,162,74,.08); }
.tk-msg.internal { border-style: dashed; background: rgba(255,255,255,.02); }
.tk-mh { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.tk-mh small { color: var(--text-3); margin-left: auto; }
.tk-body { color: var(--text); line-height: 1.6; overflow-wrap: anywhere; }
.tk-att { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tk-file { border: 1px solid var(--linie-hell); background: var(--graphit); color: var(--text); border-radius: 6px; padding: 6px 10px; font-size: .85rem; cursor: pointer; }
.tk-file:hover { border-color: var(--gold); }
.tk-file small { color: var(--text-3); }
.as-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; margin-top: 12px; align-items: start; }
.as-side h3 { font-size: 1.1rem; }
.as-row.unread td:first-child b { color: var(--gold-hell); }
.prio { font-size: .82rem; }
.prio-hoch { color: var(--gold-hell); font-weight: 600; }
.prio-dringend { color: #F09A8A; font-weight: 700; }
@media (max-width: 900px) { .as-grid { grid-template-columns: 1fr; } .tk-row { grid-template-columns: 1fr; } .tk-msg { max-width: 100%; } }
.tn-res { list-style: none; margin: 6px 0 0; padding: 0; border: 1px solid var(--linie); border-radius: 8px; max-height: 240px; overflow-y: auto; background: var(--anthrazit); }
.tn-res button { width: 100%; text-align: left; padding: 10px 12px; background: none; border: 0; border-bottom: 1px solid var(--linie); color: var(--text); cursor: pointer; font: inherit; }
.tn-res button:hover { background: rgba(201,162,74,.08); }
.tn-chosen { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--gold-tief); border-radius: 8px; background: rgba(201,162,74,.07); }
.tn-who { border: 1px solid var(--linie); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
.tn-who legend { padding: 0 6px; }

/* ---------- Social-Media-Symbole (Font Awesome Free, SIL OFL / CC BY 4.0) ---------- */
@font-face{font-family:"FA Social";src:url(fonts/social-icons.woff2) format("woff2");font-display:block}.soc-row{display:flex;justify-content:center;padding:22px 16px 6px;position:relative;z-index:1}.soc{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center}.soc a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:42px;height:42px;padding:0 12px;border-radius:999px;border:1px solid rgba(201,162,74,.55);color:#C9A24A;text-decoration:none;font:600 .86rem Inter,system-ui,sans-serif;background:rgba(201,162,74,.04);transition:background .2s,color .2s,border-color .2s,transform .2s}.soc a.ic{width:42px;padding:0}.soc a:hover,.soc a:focus-visible{background:linear-gradient(180deg,#F3DC9C,#C9A24A);color:#17150F;border-color:transparent;transform:translateY(-2px)}.soc i{font:normal 400 17px/1 "FA Social";font-style:normal}.soc .sep{width:1px;height:26px;background:rgba(201,162,74,.35);margin:0 4px}@media(prefers-reduced-motion:reduce){.soc a{transition:none}}

/* ---------- Blog: Downloads im Editor, goldene Buttons, Bildausrichtung ---------- */
.be-dl-item { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.be-dl-item strong { display: block; font-size: .92rem; }
.be-dl-item small { color: var(--text-3); font-size: .78rem; }
.be-dl-item select { width: 100%; }
.be-dl-item > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.be-dl-new { margin-top: 10px; }
.art-btn-row { text-align: center; margin: 30px 0 !important; }
.art-btn-lg { min-height: 56px; padding: 15px 34px !important; font-size: 1.05rem !important; }
.bl-content figure.fig-right { float: right; width: min(46%, 360px); margin: 6px 0 18px 26px; }
.bl-content figure.fig-left { float: left; width: min(46%, 360px); margin: 6px 26px 18px 0; }
.bl-content figure.fig-center { max-width: 560px; margin-left: auto; margin-right: auto; }
.bl-content figure.fig-wide { margin-left: -6%; margin-right: -6%; }
.bl-content figure a { display: block; }
.bl-content h2, .bl-content h3, .bl-content .art-btn-row, .bl-content aside, .bl-content table { clear: both; }
@media (max-width: 700px) { .bl-content figure.fig-right, .bl-content figure.fig-left { float: none; width: auto; margin: 22px 0; } .bl-content figure.fig-wide { margin-left: 0; margin-right: 0; } }
.bl-endcta { text-align: center; margin: 40px 0 10px; padding: 30px 24px; border: 1.5px solid var(--gold); border-radius: 16px; background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(201,162,74,.16), transparent 65%), var(--graphit); }
.bl-dls { margin: 36px 0 10px; padding: 24px 26px; border: 1px solid var(--gold-tief); border-radius: 16px; background: var(--graphit); }
.bl-dls h2 { font-size: 1.35rem !important; margin: 0 0 14px !important; }
.bl-dl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--linie); }
.bl-dl:first-of-type { border-top: 0; }
.bl-dl-info { flex: 1 1 220px; min-width: 0; }
.bl-dl-info b { display: block; font-family: var(--serif); font-size: 1.08rem; }
.bl-dl-info small { color: var(--text-3); }
.bl-dl-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 0; cursor: pointer; font: 700 .98rem var(--sans); color: #17150F; background: linear-gradient(180deg, #F3DC9C, #C9A24A); box-shadow: 0 10px 26px rgba(201,162,74,.28); }
.bl-dl-btn:hover { filter: brightness(1.05); }
.bl-dl-btn[disabled] { opacity: .6; cursor: wait; }
.bl-dl-btn.locked { background: transparent; color: var(--gold-hell); border: 1px solid var(--gold-tief); box-shadow: none; }
.bl-dl-panel { flex-basis: 100%; padding: 14px 16px; border-radius: 10px; background: rgba(201,162,74,.07); border: 1px dashed var(--gold-tief); }
.bl-dl-panel p { margin: 0 0 10px !important; color: var(--text-2); font-size: .95rem; }
.bl-dl-panel form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bl-dl-panel input[type=text], .bl-dl-panel input[type=email] { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--anthrazit); color: var(--text); font: inherit; }
.bl-dl-panel label.c { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--text-2); }
.bl-dl-panel .row { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bl-dl-panel .err { color: #F09A8A; font-size: .9rem; margin: 0 !important; }
@media (max-width: 560px) { .bl-dl-panel form { grid-template-columns: 1fr; } .bl-dl-btn { width: 100%; justify-content: center; } }
.bl-dls a.bl-dl-btn, .bl-dls a.bl-dl-btn:hover { color: #17150F; text-decoration: none; }
.bl-dl-panel .row a:not(.bl-dl-btn) { color: var(--gold-hell); }

/* ---------- Partner-Promo ---------- */
.pr-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; padding: 0; }
.pr-steps button { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--linie-hell); background: var(--graphit); color: var(--text-2); font: 600 .9rem var(--sans); cursor: pointer; }
.pr-steps button b { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--anthrazit); color: var(--text-2); font-family: var(--serif); }
.pr-steps li.on button { border-color: var(--gold); color: var(--text); }
.pr-steps li.on button b { background: linear-gradient(180deg, #F3DC9C, #C9A24A); color: #17150F; }
.pr-steps li.ok button b { background: rgba(201,162,74,.25); color: var(--gold-hell); }
.pr-steps button[disabled] { opacity: .45; cursor: not-allowed; }
.pr-ideas { display: grid; gap: 10px; }
.pr-idea { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 18px; border: 1px solid var(--linie-hell); border-radius: 12px; background: var(--graphit); cursor: pointer; }
.pr-idea.on { border-color: var(--gold); background: rgba(201,162,74,.07); }
.pr-idea > input { margin-top: 10px; width: 18px; height: 18px; accent-color: #C9A24A; }
.pr-idea-b { display: grid; gap: 6px; }
.pr-idea-h { display: flex; align-items: center; gap: 8px; }
.pr-idea-h input { flex: 1; font: 600 1.05rem var(--serif); background: transparent; border: 0; border-bottom: 1px dashed var(--linie-hell); color: var(--text); padding: 4px 0; }
.pr-star { color: var(--gold); font-size: 1.2rem; }
.pr-jobs { list-style: none; margin: 0; padding: 0; }
.pr-job { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linie); }
.pr-job:first-child { border-top: 0; }
.pr-job strong { display: block; font-size: .95rem; }
.pr-job small { color: var(--text-3); }
.pr-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--linie-hell); }
.pr-job.ok .pr-dot { background: var(--gold); border-color: var(--gold); }
.pr-job.run .pr-dot { border-color: var(--gold); border-top-color: transparent; animation: prspin .8s linear infinite; }
@keyframes prspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pr-job.run .pr-dot { animation: none; } }
.pr-copyline { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 6px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); }
.pr-copyline span { font-weight: 600; }
.pr-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .pr-imgs { grid-template-columns: 1fr; } }

/* ---------- Blog: goldene Teilen-Leiste ---------- */
.sb { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 26px; padding: 12px 0; border-top: 1px solid rgba(201,162,74,.35); border-bottom: 1px solid rgba(201,162,74,.35); }
.sb-l { font: 600 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.sb-i { display: flex; flex-wrap: wrap; gap: 6px; }
.sb a, .sb button { position: relative; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(201,162,74,.38); background: transparent; color: var(--gold); text-decoration: none; cursor: pointer; padding: 0; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.sb a:hover, .sb button:hover, .sb a:focus-visible, .sb button:focus-visible { background: linear-gradient(180deg, #F3DC9C, #C9A24A); color: #17150F; border-color: transparent; transform: translateY(-1px); }
.sb i { font: normal 400 15px/1 "FA Social"; }
.sb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sb button.done { background: linear-gradient(180deg, #F3DC9C, #C9A24A); color: #17150F; }
.sb [data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 .78rem var(--sans); padding: 5px 9px; border-radius: 6px; background: var(--graphit); color: var(--gold-hell); border: 1px solid var(--gold-tief); }
.sb-end { margin-top: 34px; padding: 18px 20px; border: 1px solid rgba(201,162,74,.45); border-radius: 14px; background: radial-gradient(ellipse 70% 120% at 0% 0%, rgba(201,162,74,.1), transparent 60%), var(--graphit); justify-content: space-between; }
.sb-end .sb-l { letter-spacing: .02em; text-transform: none; font: 600 1.05rem var(--serif); color: var(--gold-hell); white-space: normal; }
@media (max-width: 600px) { .sb { gap: 10px; } .sb a, .sb button { width: 34px; height: 34px; } .sb-l { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sb a, .sb button { transition: none; } }
@media print { .sb { display: none; } }
.pr-genimg img { display: block; max-width: 100%; max-height: 220px; border-radius: 10px; border: 1px solid var(--linie); margin: 4px 0 10px; }
.ai-recent { list-style: none; margin: 0; padding: 0; }
.ai-recent li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie); flex-wrap: wrap; }
.ai-recent strong { display: block; }
.ai-recent small { color: var(--text-3); }

/* ---------- Besucherstatistik im Backoffice ---------- */
.st-box { margin: 0 0 18px; padding: 22px 24px; border: 1px solid rgba(201,162,74,.45); border-radius: 16px; background: radial-gradient(ellipse 60% 90% at 100% 0%, rgba(201,162,74,.1), transparent 60%), var(--graphit); }
.st-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.st-head h3 { margin: 0; font-size: 1.35rem; }
.st-head p { margin: 4px 0 0; }
.st-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-kpi { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--linie); background: var(--anthrazit); display: flex; flex-direction: column; gap: 2px; }
.st-kpi b { font: 600 2rem/1.1 var(--serif); color: var(--text); }
.st-kpi.st-all { border-color: var(--gold-tief); background: rgba(201,162,74,.08); }
.st-kpi.st-all b { color: var(--gold-hell); }
.st-kl { font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.st-kpi small { color: var(--text-2); }
.st-kv { color: var(--text-3); font-size: .84rem; }
.st-d { font-size: .78rem; font-weight: 700; margin-left: 4px; }
.st-d.up { color: #8FD3A6; } .st-d.down { color: #F09A8A; }
.st-chart { position: relative; margin: 18px 0 4px; }
.st-chart svg { width: 100%; height: auto; display: block; }
.st-grid { stroke: var(--linie); stroke-width: 1; }
.st-ax { fill: var(--text-3); font: 11px var(--sans); }
.st-l1 { fill: none; stroke: #C9A24A; stroke-width: 2.4; stroke-linejoin: round; }
.st-l2 { fill: none; stroke: #E9E4D8; stroke-width: 1.6; stroke-dasharray: 5 4; stroke-linejoin: round; opacity: .8; }
.st-cur { stroke: var(--gold-hell); stroke-width: 1; stroke-dasharray: 2 3; }
.st-tip { position: absolute; top: 6px; transform: translateX(-50%); padding: 8px 10px; border-radius: 8px; background: var(--anthrazit); border: 1px solid var(--gold-tief); font-size: .82rem; line-height: 1.45; pointer-events: none; white-space: nowrap; }
.st-legend { display: flex; gap: 18px; font-size: .82rem; color: var(--text-2); }
.st-legend i { display: inline-block; width: 18px; height: 0; border-top: 2.4px solid #C9A24A; vertical-align: middle; margin-right: 6px; }
.st-legend i.l2 { border-top: 2px dashed #E9E4D8; }
.st-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.st-metrics > div { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--linie); background: var(--anthrazit); }
.st-metrics span { display: block; font-size: .78rem; color: var(--text-3); }
.st-metrics b { font: 600 1.25rem var(--serif); color: var(--text); }
.st-dev small { display: block; color: var(--text-2); margin-top: 6px; font-size: .78rem; }
.st-devbar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--graphit); margin-top: 8px; }
.st-devbar i { display: block; height: 100%; }
.st-devbar .dv-mobil { background: #C9A24A; } .st-devbar .dv-desktop { background: #E9E4D8; } .st-devbar .dv-tablet { background: #8E6E2B; }
.st-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.st-lists h4 { margin: 0 0 8px; font: 600 1.05rem var(--serif); color: var(--gold-hell); }
.st-lh { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.st-lh h4 { margin: 0; }
.st-list { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.st-list li { position: relative; counter-increment: st; display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px 7px 34px; font-size: .9rem; border-radius: 6px; overflow: hidden; }
.st-list li::before { content: counter(st); position: absolute; left: 8px; top: 7px; color: var(--gold); font: 600 .85rem var(--serif); }
.st-list li i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(201,162,74,.09); z-index: 0; pointer-events: none; }
.st-list a, .st-list .st-utm { position: relative; z-index: 1; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.st-list a:hover { color: var(--gold-hell); }
.st-list li > span:last-of-type { position: relative; z-index: 1; color: var(--text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .st-kpis, .st-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-lists { grid-template-columns: 1fr; } }

/* ---------- Übersicht selbst anordnen ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; align-items: stretch; }
.dl-block { grid-column: span 3; min-width: 0; display: flex; flex-direction: column; position: relative; }
.dl-block[data-size="s"] { grid-column: span 2; }
.dl-block[data-size="l"] { grid-column: span 6; }
.dl-block[hidden] { display: none; }
.dl-block > :not(.dl-tools) { flex: 1; margin: 0 !important; }
.dl-block > .st-box { margin: 0; }
.dl-tools { display: flex; align-items: center; gap: 8px; padding: 6px 8px; margin-bottom: 6px; border-radius: 10px; border: 1px dashed var(--gold-tief); background: rgba(201,162,74,.08); }
.dl-tools[hidden] { display: none; }
.dl-name { flex: 1; min-width: 0; font: 600 .82rem var(--sans); color: var(--gold-hell); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-btns { display: flex; gap: 4px; flex-wrap: nowrap; flex: none; }
.dl-tools button { min-height: 30px; min-width: 30px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--linie-hell); background: var(--graphit); color: var(--text-2); font: 600 .78rem var(--sans); cursor: pointer; }
.dl-tools button:hover, .dl-tools button:focus-visible { border-color: var(--gold); color: var(--gold-hell); }
.dl-handle { cursor: grab !important; font-size: 1rem !important; color: var(--gold) !important; letter-spacing: -1px; touch-action: none; }
.dl-editing .dl-block > :not(.dl-tools) { pointer-events: none; opacity: .92; }
.dl-editing .dl-block { outline: 1px dashed rgba(201,162,74,.35); outline-offset: 4px; border-radius: 14px; }
.dl-ghost { opacity: .35; }
.dl-ghost > * { border-color: var(--gold) !important; }
.dl-chosen .dl-tools { background: rgba(201,162,74,.2); }
.dl-drag { transform: rotate(1deg); }
.dl-tray { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; padding: 10px 14px; border: 1px dashed var(--linie-hell); border-radius: 12px; color: var(--text-3); font-size: .88rem; }
.dl-tray[hidden] { display: none; }
@media (max-width: 1100px) { .dl-block[data-size="s"] { grid-column: span 3; } }
@media (max-width: 760px) { .dl-block, .dl-block[data-size="s"], .dl-block[data-size="l"] { grid-column: span 6; } }
@media (prefers-reduced-motion: reduce) { .dl-drag { transform: none; } }
/* Übersicht im Mitgliederbereich */
.ov-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ov-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.ov-box { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid var(--linie); border-radius: 14px; background: var(--graphit); min-height: 150px; }
.ov-box header { display: flex; align-items: center; gap: 12px; }
.ov-box h3 { margin: 0; flex: 1; font-size: 1.08rem; }
.ov-n { font: 600 1.6rem var(--serif); color: var(--gold-hell); }
.ov-body { flex: 1; }
.ov-more { align-self: flex-start; }
.ov-meter { height: 8px; border-radius: 999px; background: var(--anthrazit); overflow: hidden; }
.ov-meter i { display: block; height: 100%; background: linear-gradient(90deg, #8E6E2B, #EBCB82); }
.ov-list { list-style: none; margin: 0; padding: 0; }
.ov-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--linie); font-size: .92rem; }
.ov-list li:first-child { border-top: 0; }
.ov-next li { display: block; }
.ov-step { display: grid; gap: 2px; width: 100%; text-align: left; padding: 4px 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.ov-step:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ov-step small { color: var(--text-3); font-size: .82rem; line-height: 1.4; }
.ov-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-list small { color: var(--text-3); white-space: nowrap; }
.ov-late { color: #F09A8A !important; }

/* ---------- Fachbücher im Backoffice ---------- */
.eb-list { display: grid; gap: 10px; }
.eb-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 16px; border: 1px solid var(--linie); border-radius: 12px; background: var(--graphit); }
.eb-thumb { width: 64px; height: 86px; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #23262B, #16181B); border: 1px solid var(--gold-tief); color: var(--gold); box-shadow: 4px 6px 14px rgba(0,0,0,.35); }
.eb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.eb-info strong { display: block; font: 600 1.08rem var(--serif); }
.eb-info small { display: block; color: var(--text-3); margin: 2px 0 6px; }
.eb-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.eb-ch { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--linie); border-radius: 10px; background: var(--anthrazit); }
.eb-ch-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.eb-ch-h b { width: 28px; height: 28px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #F3DC9C, #C9A24A); color: #17150F; font-family: var(--serif); }
.eb-ch-h input { flex: 1; min-width: 0; font: 600 1.02rem var(--serif); }
.eb-ch-h span { display: flex; gap: 4px; }
.eb-pv { border-top: 1px solid var(--linie); padding: 10px 0; }
.eb-pv summary { cursor: pointer; font: 600 1rem var(--serif); }
.eb-prev { padding: 8px 4px 4px; color: var(--text-2); font-size: .94rem; }
.eb-prev h4 { color: var(--gold-hell); margin: 14px 0 6px; font: 600 1rem var(--serif); }
.eb-chartnote { color: var(--gold-hell) !important; }
.eb-cover-prev { width: 150px; border-radius: 4px; border: 1px solid var(--gold-tief); box-shadow: 6px 8px 20px rgba(0,0,0,.4); }
@media (max-width: 640px) { .eb-item { grid-template-columns: 52px minmax(0, 1fr); } .eb-item > .btn { grid-column: 1 / -1; } }
.eb-motif { display: block; width: 100%; max-width: 260px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; border: 1px solid var(--gold-tief); }

/* ---------- Fachbücher: Übersicht und Landingpage ---------- */
.ebk-hero { text-align: center; padding: 56px 0 30px; }
.ebk-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 10px 0 12px; }
.ebk-hero h1 em { color: var(--gold-hell); font-style: italic; font-weight: 500; }
.ebk-hero .lead { max-width: 40em; margin: 0 auto; color: var(--text-2); }
.ebk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; padding: 20px 0 70px; }
.ebk-card { display: flex; flex-direction: column; gap: 16px; padding: 24px 22px; border: 1px solid var(--linie); border-radius: 16px; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,162,74,.1), transparent 70%), var(--graphit); text-decoration: none; color: var(--text); transition: transform .25s, border-color .25s; }
.ebk-card:hover { transform: translateY(-3px); border-color: var(--gold-tief); color: var(--text); }
.ebk-feat { border-color: var(--gold); }
.ebk-card .ebk-book { width: 62%; margin: 6px auto 4px; }
.ebk-book { position: relative; aspect-ratio: 3 / 4; border-radius: 3px 8px 8px 3px; overflow: hidden; background: #16181B; box-shadow: 0 18px 40px rgba(0,0,0,.5), inset 4px 0 6px rgba(255,255,255,.08); }
.ebk-book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.08), rgba(0,0,0,.25)); z-index: 1; }
.ebk-book img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebk-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-tief); }
.ebk-ph span { font: italic 500 5rem var(--serif); color: rgba(201,162,74,.5); }
.ebk-cb h2 { font-size: 1.3rem; margin: 10px 0 4px; }
.ebk-sub { color: var(--text-2); margin: 0 0 8px; font-size: .95rem; }
.ebk-meta { color: var(--text-3); font-size: .86rem; margin: 0 0 10px; }
.ebk-more { color: var(--gold-hell); font-weight: 600; font-size: .92rem; }
.ebk-acc { display: inline-block; font: 700 .68rem var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--gold-tief); color: var(--gold-hell); }
.ebk-acc.ebk-public, .ebk-acc.ebk-email { background: rgba(201,162,74,.12); }
.ebk-price s, .ebk-pricebig s { color: var(--text-3); margin-right: 6px; font-weight: 400; }
.ebk-price b { color: var(--gold-hell); font: 600 1.1rem var(--serif); }
.ebk-crumb { margin: 26px 0 0; } .ebk-crumb a { color: var(--text-2); text-decoration: none; } .ebk-crumb a:hover { color: var(--gold-hell); }
.ebk-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 54px; align-items: center; padding: 28px 0 40px; }
.ebk-stage { perspective: 1400px; display: flex; justify-content: center; padding: 20px; background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(201,162,74,.22), transparent 70%); }
.ebk-3d { width: min(320px, 80%); transform: rotateY(-18deg) rotateX(4deg); transform-style: preserve-3d; box-shadow: 30px 30px 60px rgba(0,0,0,.6), 6px 0 0 #2A2D32, 9px 2px 0 #C9A24A33; transition: transform .6s; }
.ebk-stage:hover .ebk-3d { transform: rotateY(-8deg) rotateX(2deg); }
.ebk-intro h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 8px; }
.ebk-subl { font: italic 500 1.25rem var(--serif); color: var(--text-2); margin: 0 0 12px; }
.ebk-box { margin-top: 22px; padding: 22px 24px; border: 1.5px solid var(--gold); border-radius: 16px; background: radial-gradient(ellipse 70% 100% at 0% 0%, rgba(201,162,74,.14), transparent 60%), var(--graphit); }
.ebk-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.ebk-tabs button { border: 1px solid var(--line, rgba(201,162,74,.3)); background: transparent; color: inherit; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .92rem; cursor: pointer; }
.ebk-tabs button[aria-pressed="true"] { background: var(--gold, #C9A24A); border-color: var(--gold, #C9A24A); color: #16181B; font-weight: 700; }
.ebk-card[hidden] { display: none; }
.ebk-pricebig { font: 600 2.4rem var(--serif); color: var(--gold-hell); margin-bottom: 12px; }
.ebk-pricebig s { font-size: 1.3rem; }
.ebk-btn { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; margin-top: 12px; }
.ebk-box .ebk-acc + .ebk-btn { display: flex; width: fit-content; }
.ebk-panel { margin-top: 14px; padding: 14px 16px; border-radius: 10px; border: 1px dashed var(--gold-tief); background: rgba(201,162,74,.06); }
.ebk-panel p { margin: 0 0 10px; color: var(--text-2); }
.ebk-panel form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ebk-panel input[type=text], .ebk-panel input[type=email] { min-height: 44px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--anthrazit); color: var(--text); font: inherit; }
.ebk-panel label.c { grid-column: 1 / -1; display: flex; gap: 8px; font-size: .86rem; color: var(--text-2); }
.ebk-panel form .btn { grid-column: 1 / -1; justify-self: start; }
.ebk-panel .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ebk-panel .row a:not(.btn) { color: var(--gold-hell); }
.ebk-panel .err { color: #F09A8A; margin: 0; grid-column: 1 / -1; }
.ebk-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; padding: 10px 0 80px; }
.ebk-about h2, .ebk-toc h2 { font-size: 1.5rem; margin: 26px 0 12px; }
.ebk-about p { color: var(--text-2); }
.ebk-learn { list-style: none; padding: 0; margin: 0; }
.ebk-learn li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--linie); }
.ebk-learn li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 13px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.ebk-toc { padding: 4px 24px 20px; border: 1px solid var(--linie); border-radius: 14px; background: var(--graphit); align-self: start; }
.ebk-toc ol { margin: 0; padding-left: 22px; } .ebk-toc li { padding: 6px 0; color: var(--text-2); } .ebk-toc li::marker { color: var(--gold); font-family: var(--serif); }
.ebk-further { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
@media (max-width: 900px) { .ebk-top, .ebk-cols { grid-template-columns: 1fr; gap: 26px; } .ebk-3d { transform: rotateY(-10deg); } .ebk-panel form { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ebk-3d, .ebk-card { transition: none; } }
@media (min-width: 1100px) { .head-nav { flex-wrap: nowrap; } .head-nav .nav-q { padding-left: 9px; padding-right: 9px; } }
/* Erfolgsmeldung nach Download */
.ebk-ok { display: flex; gap: 14px; align-items: flex-start; }
.ebk-ok-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #17150F; background: linear-gradient(180deg, #F3DC9C, #C9A24A); box-shadow: 0 8px 20px rgba(201,162,74,.3); }
.ebk-ok strong { display: block; font: 600 1.15rem var(--serif); color: var(--gold-hell); margin-bottom: 4px; }
.ebk-ok p { margin: 0 0 10px !important; color: var(--text-2); }
.ebk-ok .small { margin: 10px 0 0 !important; font-size: .86rem; }
/* Interessen der Interessenten */
.lead-ints { display: flex; flex-wrap: wrap; gap: 4px 8px; }
small.lead-ints { margin-top: 3px; }
.lead-int { font-size: .82rem; color: var(--text-2); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-int a { color: var(--gold-hell); text-decoration: none; } .lead-int a:hover { text-decoration: underline; }
.lead-col { flex-direction: column; gap: 3px; }

/* ---------- Community im Backoffice ---------- */
.cm-spaces, .cm-roles { display: grid; gap: 10px; }
.cm-space { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--linie); border-radius: 12px; background: var(--graphit); }
.cm-space.is-off { opacity: .55; }
.cm-space strong { font: 600 1.05rem var(--serif); }
.cm-space small { display: block; color: var(--text-3); margin: 2px 0 8px; }
.cm-ic { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; background: rgba(201,162,74,.1); border: 1px solid var(--gold-tief); }
.cm-role { padding: 14px 16px; border: 1px solid var(--linie); border-radius: 12px; background: var(--graphit); }
.cm-role header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cm-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font: 700 .7rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--c, #C9A24A); border: 1px solid var(--c, #C9A24A); background: color-mix(in srgb, var(--c, #C9A24A) 14%, transparent); }
.cm-perms { border: 1px solid var(--linie); border-radius: 10px; padding: 8px 14px 4px; margin: 0 0 12px; }
.cm-perms legend { padding: 0 6px; font: 600 .82rem var(--sans); color: var(--gold-hell); }
.cm-perms .check { margin: 4px 0; }
#ct-m, #cx-m { width: 100%; background: var(--anthrazit); color: var(--text); border: 1px solid var(--linie-hell); border-radius: 8px; padding: 4px; }
@media (max-width: 640px) { .cm-space { grid-template-columns: 40px minmax(0, 1fr); } .cm-space > .btn { grid-column: 1 / -1; } }

/* ---------- Community ---------- */
#cm-app { padding-top: 26px; padding-bottom: 70px; }
.cm-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; align-items: start; }
.cm-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--linie); border-radius: 14px; background: var(--graphit); }
.cm-sp { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: .94rem; }
.cm-sp span { width: 24px; text-align: center; }
.cm-sp em { margin-left: auto; font-style: normal; font-size: .76rem; color: var(--text-3); }
.cm-sp:hover { background: rgba(201,162,74,.08); color: var(--text); }
.cm-sp.on { background: rgba(201,162,74,.15); color: var(--gold-hell); font-weight: 600; }
.cm-sp.is-locked { opacity: .65; }
.cm-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.cm-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 4px 0; }
.cm-head p { margin: 0; color: var(--text-2); }
.cm-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.cm-tools input[type=search] { flex: 1 1 200px; min-height: 42px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--anthrazit); color: var(--text); font: inherit; }
.cm-list { display: grid; gap: 14px; }
.cm-card { padding: 18px 20px; border: 1px solid var(--linie); border-radius: 14px; background: var(--graphit); }
.cm-card.is-pinned { border-color: var(--gold-tief); background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(201,162,74,.08), transparent 60%), var(--graphit); }
.cm-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.cm-chip { font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--linie-hell); color: var(--text-2); text-decoration: none; white-space: nowrap; }
.cm-chip:hover { border-color: var(--gold); color: var(--gold-hell); }
.cm-card-link { display: block; color: var(--text); text-decoration: none; margin-top: 10px; }
.cm-card-link h2 { font-size: 1.28rem; margin: 0 0 6px; }
.cm-card-link:hover h2 { color: var(--gold-hell); }
.cm-excerpt { color: var(--text-2); font-size: .95rem; }
.cm-excerpt p { margin: 0 0 6px; }
.cm-card-img { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 10px; margin-top: 10px; border: 1px solid var(--linie); }
.cm-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: .86rem; color: var(--text-3); }
.cm-meta a { color: var(--text-3); text-decoration: none; } .cm-meta a:hover { color: var(--gold-hell); }
.cm-flag { display: inline-block; font: 700 .72rem var(--sans); padding: 2px 8px; border-radius: 999px; vertical-align: middle; background: rgba(201,162,74,.15); color: var(--gold-hell); }
.cm-flag.ok { background: rgba(120,190,140,.18); color: #8FD3A6; }
.cm-author { display: flex; gap: 10px; align-items: center; }
.cm-author .avatar { width: 38px; height: 38px; }
.cm-author strong { font-size: .95rem; margin-right: 6px; }
.cm-author strong a { color: var(--text); text-decoration: none; } .cm-author strong a:hover { color: var(--gold-hell); }
.cm-author small { display: block; color: var(--text-3); font-size: .8rem; }
.cm-author .cm-badge { margin-right: 4px; font-size: .62rem; padding: 2px 7px; }
.cm-tier { font: 700 .62rem var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--linie-hell); border-radius: 999px; padding: 2px 7px; }
.cm-tier-tragwerk { color: var(--gold-hell); border-color: var(--gold-tief); }
.cm-guest { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 16px; border: 1px solid var(--gold-tief); border-radius: 14px; background: radial-gradient(ellipse 60% 100% at 0% 0%, rgba(201,162,74,.12), transparent 60%), var(--graphit); }
.cm-guest strong { font: 600 1.1rem var(--serif); color: var(--gold-hell); }
.cm-guest p { margin: 2px 0 0; color: var(--text-2); font-size: .92rem; }
.cm-guest-b { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-locked { text-align: center; padding: 50px 20px; border: 1px dashed var(--gold-tief); border-radius: 16px; }
.cm-locked > span { font-size: 2rem; }
.cm-locked .cm-guest { text-align: left; margin: 16px 0 0; }
.cm-crumb { margin: 0 0 14px; font-size: .9rem; } .cm-crumb a { color: var(--text-2); text-decoration: none; } .cm-crumb a:hover { color: var(--gold-hell); }
.cm-post { padding: 22px 24px; border: 1px solid var(--linie); border-radius: 16px; background: var(--graphit); }
.cm-post h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 8px; }
.cm-text { color: var(--text); line-height: 1.65; overflow-wrap: anywhere; }
.cm-text p { margin: 0 0 10px; } .cm-text ul { margin: 0 0 10px; padding-left: 22px; }
.cm-text a { color: var(--gold-hell); }
.cm-body { font-size: 1.04rem; margin-top: 10px; }
.cm-gallery { display: grid; gap: 8px; margin: 14px 0; }
.cm-gallery.g2, .cm-gallery.g4 { grid-template-columns: 1fr 1fr; } .cm-gallery.g3 { grid-template-columns: 1fr 1fr 1fr; }
.cm-gallery img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; border: 1px solid var(--linie); display: block; }
.cm-video { position: relative; aspect-ratio: 16 / 9; margin: 14px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--linie); }
.cm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cm-linkbox { display: inline-block; margin: 6px 0 10px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--linie-hell); color: var(--gold-hell); text-decoration: none; font-size: .9rem; overflow-wrap: anywhere; }
.cm-post-foot, .cm-c-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.cm-react { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.cm-react button { min-height: 32px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--linie-hell); background: transparent; color: var(--text); cursor: pointer; font-size: .92rem; }
.cm-react button b { font-size: .8rem; color: var(--text-2); }
.cm-react button[aria-pressed=true] { border-color: var(--gold); background: rgba(201,162,74,.16); }
.cm-react button:disabled { cursor: default; opacity: .75; }
.cm-react button:not(:disabled):hover { border-color: var(--gold-tief); }
.cm-acts { display: flex; gap: 4px; flex-wrap: wrap; }
.cm-acts button, .cm-mod button { background: none; border: 0; color: var(--text-3); font: 600 .84rem var(--sans); cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.cm-acts button:hover, .cm-mod button:hover { color: var(--gold-hell); background: rgba(201,162,74,.08); }
.cm-mod { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--linie-hell); font-size: .86rem; color: var(--text-3); }
.cm-poll { display: grid; gap: 8px; margin: 14px 0; padding: 14px; border: 1px solid var(--linie); border-radius: 12px; background: var(--anthrazit); }
.cm-opt { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--linie-hell); background: transparent; color: var(--text); text-align: left; cursor: pointer; overflow: hidden; font: inherit; }
.cm-opt i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(201,162,74,.18); z-index: 0; transition: width .4s; }
.cm-opt span, .cm-opt b { position: relative; z-index: 1; }
.cm-opt.on { border-color: var(--gold); }
.cm-opt:disabled { cursor: default; }
.cm-poll small { color: var(--text-3); }
.cm-bestbox { margin-top: 18px; padding: 14px 18px; border: 1.5px solid #6FB487; border-radius: 14px; background: rgba(111,180,135,.06); }
.cm-bestbox h2 { font-size: 1.1rem; color: #8FD3A6; margin: 0 0 8px; }
.cm-comments { margin-top: 24px; }
.cm-comments h2 { font-size: 1.4rem; margin: 0 0 14px; }
.cm-cform { display: grid; gap: 8px; margin-bottom: 18px; }
.cm-cform textarea { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--linie-hell); background: var(--anthrazit); color: var(--text); font: inherit; resize: vertical; }
.cm-cform > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.cm-cform small { color: var(--text-3); }
.cm-c { position: relative; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--linie); border-radius: 12px; background: var(--graphit); }
.cm-c.is-reply { margin: 10px 0 0 26px; background: var(--anthrazit); }
.cm-c.is-best { border-color: #6FB487; }
.cm-bestflag { position: absolute; top: -10px; right: 14px; font: 700 .7rem var(--sans); padding: 2px 9px; border-radius: 999px; background: #6FB487; color: #10251A; }
.cm-c .cm-text { margin-top: 8px; font-size: .97rem; }
.cm-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-thumbs span { position: relative; } .cm-thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--linie); }
.cm-thumbs button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #B6533F; color: #fff; cursor: pointer; font-size: .7rem; }
.tab-link { text-decoration: none; }
@media (max-width: 900px) {
  .cm-layout { grid-template-columns: 1fr; gap: 14px; }
  .cm-side { position: static; flex-direction: row; overflow-x: auto; padding: 6px; scrollbar-width: thin; }
  .cm-sp { white-space: nowrap; flex: none; }
  .cm-sp em { margin-left: 6px; }
  .cm-c.is-reply { margin-left: 12px; }
}
@media (prefers-reduced-motion: reduce) { .cm-opt i { transition: none; } }
.head-nav .nav-q, .head-nav .btn { white-space: nowrap; }
/* Community: Glocke, Erwähnungen, Hervorhebung */
.cm-main { position: relative; }
.cm-bellbar { position: absolute; top: 0; right: 0; z-index: 20; }
.cm-head { padding-right: 56px; }
.cm-bell { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie-hell); background: var(--graphit); cursor: pointer; font-size: 1.1rem; }
.cm-bell:hover, .cm-bell[aria-expanded=true] { border-color: var(--gold); }
.cm-bell b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #C9A24A; color: #17150F; font: 800 .7rem/20px var(--sans); }
.cm-bellpanel { position: absolute; right: 0; top: 52px; width: min(380px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; border: 1px solid var(--gold-tief); border-radius: 14px; background: var(--graphit); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.cm-bp-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--linie); position: sticky; top: 0; background: var(--graphit); }
.cm-bp-head button { background: none; border: 0; color: var(--gold-hell); font: 600 .82rem var(--sans); cursor: pointer; }
.cm-n { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--linie); color: var(--text-2); text-decoration: none; font-size: .88rem; }
.cm-n:hover { background: rgba(201,162,74,.06); }
.cm-n.unread { background: rgba(201,162,74,.09); color: var(--text); }
.cm-n em { display: block; font-style: normal; color: var(--gold-hell); margin-top: 2px; }
.cm-n small { white-space: nowrap; color: var(--text-3); font-size: .75rem; }
.cm-bp-set { padding: 10px 14px 14px; }
.cm-bp-set summary { cursor: pointer; color: var(--text-2); font-size: .86rem; }
.cm-bp-set select { width: 100%; margin: 10px 0 6px; min-height: 40px; background: var(--anthrazit); color: var(--text); border: 1px solid var(--linie-hell); border-radius: 8px; padding: 6px 10px; }
.cm-mention { color: var(--gold-hell); font-weight: 600; background: rgba(201,162,74,.12); padding: 0 4px; border-radius: 4px; }
.cm-mbox { position: relative; z-index: 30; display: flex; flex-direction: column; margin-top: 4px; border: 1px solid var(--gold-tief); border-radius: 10px; background: var(--graphit); overflow: hidden; max-width: 340px; }
.cm-mbox button { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: none; border: 0; border-bottom: 1px solid var(--linie); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.cm-mbox button:hover { background: rgba(201,162,74,.1); }
.cm-mbox img, .cm-mbox span { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--anthrazit); color: var(--gold); font-size: .8rem; }
.cm-hr { border: 0; border-top: 1px solid var(--linie); margin: 6px 4px; }
.cm-hl { animation: cmhl 2.4s ease-out 1; }
@keyframes cmhl { 0% { box-shadow: 0 0 0 3px rgba(201,162,74,.8); } 100% { box-shadow: 0 0 0 0 rgba(201,162,74,0); } }
@media (prefers-reduced-motion: reduce) { .cm-hl { animation: none; } }
.cm-mbox button { justify-content: flex-start; width: 100%; } .cm-cform .cm-mbox { justify-self: start; min-width: 240px; }
/* Community: Moderation und Melden */
.cm-modn { background: #C9A24A; color: #17150F !important; border-radius: 999px; padding: 0 7px; font-weight: 800; }
.cm-qh { font-size: 1.15rem; margin: 18px 0 10px; }
.cm-q { padding: 14px 16px; margin-bottom: 12px; border: 1px solid var(--linie); border-left: 3px solid var(--gold); border-radius: 12px; background: var(--graphit); }
.cm-q[data-kind=report] { border-left-color: #D98A4A; }
.cm-q-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cm-q-t { margin: 10px 0 4px; }
.cm-q-body { color: var(--text-2); white-space: pre-wrap; font-size: .94rem; max-height: 220px; overflow: auto; }
.cm-qr { margin: 10px 0 0; padding: 8px 12px 8px 28px; border-radius: 8px; background: rgba(217,138,74,.07); font-size: .88rem; }
.cm-qr li { margin: 3px 0; }
.cm-q-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Community: Webinare ---------- */
.cm-livedot { background: #C0392B; color: #fff !important; border-radius: 999px; padding: 0 7px; font-weight: 800; font-size: .66rem !important; letter-spacing: .06em; }
.cm-live { display: inline-block; color: #fff; background: #C0392B; border-radius: 999px; padding: 2px 9px; font: 800 .7rem var(--sans); letter-spacing: .08em; vertical-align: middle; animation: cmpulse 1.6s ease-in-out infinite; }
@keyframes cmpulse { 50% { opacity: .65; } }
.cm-evlist { display: grid; gap: 12px; }
.cm-ev { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--linie); border-radius: 14px; background: var(--graphit); color: var(--text); text-decoration: none; }
.cm-ev:hover { border-color: var(--gold-tief); color: var(--text); }
.cm-ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 76px; border-radius: 12px; border: 1px solid var(--gold-tief); background: rgba(201,162,74,.08); color: var(--gold-hell); font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.cm-ev-date b { font: 600 1.9rem/1 var(--serif); color: var(--text); letter-spacing: 0; }
.cm-ev-b strong { display: block; font: 600 1.15rem var(--serif); }
.cm-ev-b small { display: block; color: var(--text-2); margin: 2px 0 4px; }
.cm-ev-meta { display: block; color: var(--text-3); font-size: .84rem; margin-bottom: 6px; }
.cm-event h1 { margin-top: 8px; }
.cm-evbox { margin: 16px 0; padding: 20px 22px; border: 1.5px solid var(--gold); border-radius: 16px; background: radial-gradient(ellipse 70% 100% at 0% 0%, rgba(201,162,74,.14), transparent 60%), var(--anthrazit); }
.cm-count { font-size: 1.05rem; margin-bottom: 12px; color: var(--text-2); }
.cm-count b { font: 600 1.4rem var(--serif); color: var(--gold-hell); }
.cm-ok { color: #8FD3A6; margin: 0 0 8px; }
.cm-livewrap { margin: 16px 0; }
.cm-livewrap.with-chat { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.cm-livewrap .cm-video { margin: 0; width: 100%; }
.cm-chat { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: 12px; background: var(--anthrazit); min-height: 320px; max-height: 520px; }
.cm-chat-h { padding: 10px 12px; border-bottom: 1px solid var(--linie); font-weight: 600; color: var(--gold-hell); }
.cm-chat-list { flex: 1; overflow-y: auto; padding: 8px 12px; font-size: .9rem; }
.cm-cl { padding: 4px 0; overflow-wrap: anywhere; position: relative; }
.cm-cl strong { color: var(--gold-hell); margin-right: 4px; }
.cm-cl button { background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: .7rem; margin-left: 4px; }
#cm-chat-f { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--linie); }
#cm-chat-f input { flex: 1; min-width: 0; min-height: 38px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--graphit); color: var(--text); font: inherit; }
.cm-chap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 14px; }
.cm-chap button { background: var(--anthrazit); border: 1px solid var(--linie-hell); border-radius: 999px; color: var(--text-2); padding: 4px 10px; cursor: pointer; font-size: .85rem; }
.cm-chap button:hover { border-color: var(--gold); color: var(--text); }
.cm-chap b { color: var(--gold-hell); font-variant-numeric: tabular-nums; }
.cm-mat { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 12px; }
.cm-mat a { color: var(--gold-hell); text-decoration: none; }
@media (max-width: 1000px) { .cm-livewrap.with-chat { grid-template-columns: 1fr; } .cm-chat { max-height: 360px; } }
@media (prefers-reduced-motion: reduce) { .cm-live { animation: none; } }

/* ---------- Vertrieb im Backoffice ---------- */
.sl-row { cursor: pointer; } .sl-row:hover td { background: rgba(201,162,74,.05); }
.sl-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.sl-compose { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.sl-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.sl-chips button { font: 600 .74rem var(--sans); padding: 4px 9px; border-radius: 999px; border: 1px dashed var(--gold-tief); background: rgba(201,162,74,.06); color: var(--gold-hell); cursor: pointer; }
.sl-chips button:hover { background: rgba(201,162,74,.16); }
.sl-prev { background: #FBF9F4; color: #2B2E31; border-radius: 10px; padding: 18px 20px; font: 15px/1.65 Arial, sans-serif; max-height: 620px; overflow: auto; border-top: 4px solid #C9A24A; }
.sl-prev a { color: #8A6D2C; } .sl-prev p { margin: 0 0 12px; } .sl-prev .muted, .sl-prev .small { color: #8A867D !important; }
.sl-items input { width: 100%; min-height: 36px; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--linie-hell); background: var(--anthrazit); color: var(--text); font: inherit; }
.sl-hist { display: flex; flex-direction: column; }
.sl-h { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.sl-ic { width: 32px; height: 32px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--anthrazit); border: 1px solid var(--linie-hell); }
.sl-txt { color: var(--text-2); font-size: .92rem; white-space: pre-wrap; }
.sl-mail { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; background: var(--graphit); }
.sl-mail summary { cursor: pointer; } .sl-mail .sl-prev { margin-top: 10px; }
@media (max-width: 1000px) { .sl-compose { grid-template-columns: 1fr; } }
.kc-step { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.kc-step b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #F3DC9C, #C9A24A); color: #17150F; font-family: var(--serif); }
.kc-step select { flex: 1 1 260px; min-height: 38px; }
.kc-step input[type=number] { width: 70px; min-height: 38px; text-align: center; }
.kc-chk { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* ---------- Fundi im Backoffice ---------- */
.fd-hero { display: flex; gap: 14px; align-items: center; }
.fd-logo { display: inline-flex; }
.fd-chat { height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--linie); border-radius: 12px; background: var(--anthrazit); margin-bottom: 10px; }
.fd-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
.fd-msg.bot { align-self: flex-start; background: var(--graphit); border: 1px solid var(--linie); border-bottom-left-radius: 4px; }
.fd-msg.user { align-self: flex-end; background: linear-gradient(180deg, #E7C873, #C9A24A); color: #17150F; border-bottom-right-radius: 4px; }
.fd-msg.err { border-color: #B6533F; }
.fd-typing { color: var(--text-3); letter-spacing: 3px; }
.fd-links { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.fd-links a { color: var(--gold-hell); text-decoration: none; font-weight: 600; font-size: .88rem; }
.fd-hand { margin-top: 8px; font-size: .84rem; color: var(--gold-hell); }
.fd-form { display: flex; gap: 8px; }
.fd-form input { flex: 1; min-width: 0; }

/* ---------- Fundi-Konsole ---------- */
.fc { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; min-height: 560px; }
.fc-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fc-tools { display: flex; flex-direction: column; gap: 8px; }
.fc-tools .tk-filter { flex-wrap: wrap; }
.fc-list { display: flex; flex-direction: column; gap: 6px; max-height: 640px; overflow-y: auto; }
.fc-item { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linie); background: var(--graphit); color: var(--text); cursor: pointer; font: inherit; }
.fc-item:hover, .fc-item.on { border-color: var(--gold-tief); background: rgba(201,162,74,.06); }
.fc-item.fc-wait { border-left: 4px solid #D98A4A; } .fc-item.fc-live { border-left: 4px solid #8FD3A6; } .fc-item.fc-off { opacity: .65; }
.fc-top { display: flex; justify-content: space-between; gap: 8px; } .fc-top small { color: var(--text-3); white-space: nowrap; }
.fc-badges { display: flex; flex-wrap: wrap; gap: 4px; } .fc-badges .badge { font-size: .68rem; }
.fc-last { color: var(--text-2); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-main { border: 1px solid var(--linie); border-radius: 14px; background: var(--graphit); padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.fc-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--linie); }
.fc-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.fc-msgs { flex: 1; overflow-y: auto; max-height: 520px; display: flex; flex-direction: column; gap: 8px; padding: 4px; }
.fc-m { max-width: 80%; padding: 9px 12px; border-radius: 12px; font-size: .93rem; overflow-wrap: anywhere; }
.fc-m i { display: block; font-style: normal; font-size: .72rem; color: var(--text-3); margin-bottom: 3px; }
.fc-m.user { align-self: flex-start; background: var(--anthrazit); border: 1px solid var(--linie-hell); }
.fc-m.bot { align-self: flex-end; background: rgba(201,162,74,.07); border: 1px solid var(--linie); }
.fc-m.operator { align-self: flex-end; background: rgba(143,211,166,.08); border: 1px solid rgba(143,211,166,.4); }
.fc-sys { align-self: center; font-size: .78rem; color: var(--gold-hell); }
.fc-links { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; } .fc-links a { color: var(--gold-hell); font-size: .85rem; }
.fc-src { margin-top: 6px; font-size: .78rem; color: var(--text-3); } .fc-src summary { cursor: pointer; } .fc-src div { margin-top: 3px; }
.fc-form { display: flex; gap: 8px; margin-top: 10px; } .fc-form textarea { flex: 1; min-width: 0; }
#fundi-signal { position: fixed; right: 20px; bottom: 20px; z-index: 9000; border: 1px solid var(--gold-tief); background: var(--graphit); color: var(--text); border-radius: 999px; padding: 10px 16px; font: 600 .9rem var(--sans); cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
#fundi-signal.is-wait { background: linear-gradient(180deg, #E7C873, #C9A24A); color: #17150F; border-color: #C9A24A; animation: cmpulse 1.6s ease-in-out infinite; }
.fd-bars { display: flex; gap: 6px; align-items: flex-end; height: 160px; padding-top: 6px; }
.fd-bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.fd-bars span { width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #E7C873, #8E6E2B); }
.fd-bars small { font-size: .62rem; color: var(--text-3); }
@media (max-width: 900px) { .fc { grid-template-columns: 1fr; } .fc-list { max-height: 300px; } }
@media (prefers-reduced-motion: reduce) { #fundi-signal.is-wait { animation: none; } }

/* ---------- Slide-Seitenleiste (Backoffice und Kundenbereich) ---------- */
.nd-on .side-nav, .nd-on .side-select, .nd-on .side-toggle, .nd-on .side-backdrop { display: none !important; }
.nd-on .side-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
#nd-handle { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 9500; width: 34px; padding: 14px 0 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 0; border-radius: 0 14px 14px 0; background: linear-gradient(180deg, #F3DC9C, #C9A24A 55%, #A9832F); color: #17150F; cursor: pointer; box-shadow: 4px 0 18px rgba(0,0,0,.4); transition: width .2s, opacity .2s; }
#nd-handle:hover { width: 40px; } #nd-handle:focus-visible { outline: 3px solid #F3DC9C; outline-offset: 3px; }
#nd-handle .nd-ht { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 .7rem/1 var(--sans); letter-spacing: .22em; }
#nd-handle .nd-badge { position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #C0392B; color: #fff; font: 800 .68rem/20px var(--sans); font-style: normal; text-align: center; }
#nd-handle[aria-expanded=true], .nd-pinned #nd-handle { opacity: 0; pointer-events: none; }
#nd { position: fixed; top: 0; left: 0; bottom: 0; z-index: 9600; width: 232px; display: flex; flex-direction: column; background: #1B1D21; border-right: 1px solid #8E6E2B; box-shadow: 10px 0 40px rgba(0,0,0,.5);
  transform: translateX(-102%); transition: transform .3s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
#nd.on { transform: none; }
#nd.arranging { width: 250px; }
#nd-backdrop { position: fixed; inset: 0; z-index: 9550; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.nd-open #nd-backdrop { opacity: 1; pointer-events: auto; }
.nd-pinned #nd { box-shadow: none; }
.nd-pinned { padding-left: 232px; }
.nd-top { display: flex; align-items: center; gap: 4px; padding: 12px 10px 8px 12px; border-bottom: 1px solid rgba(201,162,74,.3); }
.nd-top strong { font: 600 1rem var(--serif); color: #F3E6C4; }
.nd-sp { flex: 1; }
.nd-ic { width: 28px; height: 28px; border-radius: 7px; border: 1px solid #3A3D42; background: none; color: #CFC8B8; cursor: pointer; font-size: .78rem; }
.nd-ic:hover, .nd-ic[aria-pressed=true] { border-color: #C9A24A; color: #F3E6C4; background: rgba(201,162,74,.12); }
.nd-search { padding: 8px 10px; }
.nd-search input { width: 100%; min-height: 34px; padding: 5px 10px; border-radius: 8px; border: 1px solid #3A3D42; background: #25282D; color: #ECE7DC; font: 500 .82rem var(--sans); }
.nd-search input:focus { outline: none; border-color: #C9A24A; }
.nd-body { flex: 1; overflow-y: auto; padding: 4px 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.nd-gh { display: flex; align-items: center; gap: 4px; }
.nd-gold { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 0; border-radius: 9px; cursor: pointer; text-align: left;
  background: linear-gradient(180deg, #EBCF83, #C9A24A); color: #17150F; font: 700 .78rem/1.2 var(--sans); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.nd-gold span { flex: 1; overflow-wrap: anywhere; }
.nd-gold em { font-style: normal; background: #17150F; color: #F3DC9C; border-radius: 999px; padding: 0 6px; font-size: .68rem; }
.nd-gold i { font-style: normal; transition: transform .2s; }
.nd-gold[aria-expanded=false] i { transform: rotate(-90deg); }
.nd-g.has-active .nd-gold { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 2px rgba(243,220,156,.45); }
.nd-gold:focus-visible, .nd-it:focus-visible { outline: 2px solid #F3DC9C; outline-offset: 2px; }
.nd-items { display: flex; flex-direction: column; gap: 1px; padding: 4px 0 2px 6px; margin-left: 6px; border-left: 1px solid rgba(201,162,74,.3); }
.nd-row { display: flex; align-items: center; gap: 3px; }
.nd-it { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 7px; background: none; color: #D6D0C3; text-decoration: none; text-align: left; cursor: pointer; font: 500 .8rem/1.3 var(--sans); }
.nd-it span { flex: 1; overflow-wrap: anywhere; } .nd-it small { color: #8A867D; }
.nd-it em { font-style: normal; background: #C9A24A; color: #17150F; border-radius: 999px; padding: 0 6px; font-size: .66rem; font-weight: 800; }
.nd-it:hover { background: rgba(201,162,74,.1); color: #F3E6C4; }
.nd-it.on { background: rgba(201,162,74,.18); color: #F3E6C4; box-shadow: inset 2px 0 0 #C9A24A; }
.nd-add { background: none; border: 1px dashed #8E6E2B; color: #C9A24A; border-radius: 7px; padding: 6px 8px; font: 600 .74rem var(--sans); cursor: pointer; text-align: left; }
.nd-grip { cursor: grab; color: #8A867D; padding: 0 2px; user-select: none; } .nd-grip.sm { font-size: .8rem; }
.nd-mv { display: inline-flex; gap: 2px; }
.nd-mv button { width: 22px; height: 22px; border-radius: 5px; border: 1px solid #3A3D42; background: #25282D; color: #D6D0C3; cursor: pointer; font-size: .7rem; padding: 0; }
.nd-mv button:hover { border-color: #C9A24A; }
.nd-g.nd-over { outline: 1px dashed #C9A24A; outline-offset: 2px; border-radius: 10px; }
.nd-foot { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px 10px; border-top: 1px solid #33363C; }
.nd-foot button, .nd-foot a { flex: 1; min-width: 0; padding: 6px 4px; border-radius: 7px; border: 1px solid #3A3D42; background: none; color: #CFC8B8; font: 600 .7rem var(--sans); cursor: pointer; text-align: center; text-decoration: none; white-space: nowrap; }
.nd-foot button:hover, .nd-foot a:hover, .nd-foot [aria-pressed=true] { border-color: #C9A24A; color: #F3E6C4; }
.nd-arrbar { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; padding: 8px 10px; background: rgba(201,162,74,.1); border-top: 1px solid #8E6E2B; font-size: .7rem; color: #E7C873; }
.nd-arrbar span { flex: 1 1 100%; }
.nd-arrbar button { flex: 1; padding: 5px; border-radius: 7px; border: 1px solid #8E6E2B; background: #1B1D21; color: #F3E6C4; font: 600 .72rem var(--sans); cursor: pointer; }
.nd-empty { color: #8A867D; font-size: .8rem; padding: 8px; }
.nd-ll { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.nd-lr { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 10px; }
.nd-lr div { flex: 1; min-width: 0; } .nd-lr small { display: block; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-lf { border-top: 1px solid var(--linie); padding-top: 12px; }
@media (max-width: 1099px) { .nd-pinned { padding-left: 0; } }
@media (max-width: 560px) { #nd { width: min(300px, 86vw); } #nd-handle { width: 30px; } }
@media (prefers-reduced-motion: reduce) { #nd, #nd-backdrop, #nd-handle { transition: none; } }
@media print { #nd, #nd-handle, #nd-backdrop { display: none !important; } .nd-pinned { padding-left: 0; } }
#btn-fundi-live .count { margin-left: 6px; background: #C0392B; color: #fff; border-radius: 999px; padding: 0 6px; font-size: .7rem; font-weight: 800; }
.cm-sp.cm-fundi { width: 100%; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; color: var(--gold-hell); }

/* ---------- Werbetexte & Teilen ---------- */
.sk { display: flex; flex-direction: column; gap: 10px; }
.sk-card { border: 1px solid var(--linie); border-radius: 12px; background: var(--graphit); padding: 10px 12px; }
.sk-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.sk-card header b { font: 600 .95rem var(--serif); color: var(--gold-hell); }
.sk-cnt { font: 600 .7rem var(--sans); color: var(--text-3); font-variant-numeric: tabular-nums; }
.sk-cnt.over { color: #E5735F; }
.sk-card textarea, .sk-pt { width: 100%; min-height: 0; resize: vertical; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--anthrazit); color: var(--text); font: 400 .86rem/1.45 var(--sans); }
.sk-pt { margin-bottom: 6px; font-weight: 600; }
.sk-alt { margin-top: 6px; font-size: .8rem; color: var(--text-2); } .sk-alt summary { cursor: pointer; } .sk-alt textarea { margin-top: 6px; }
.sk-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sk-net { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 70%, #fff 0%); background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--text); font: 600 .78rem var(--sans); cursor: pointer; }
.sk-net i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c); color: #fff; font: 800 .66rem var(--sans); }
.sk-net:hover { background: color-mix(in srgb, var(--c) 40%, transparent); }
.sk-copy { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--linie-hell); background: none; color: var(--text-2); font: 600 .76rem var(--sans); cursor: pointer; }
.sk-copy:hover { border-color: var(--gold); color: var(--text); }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.sk-grid figure { margin: 0; } .sk-grid img { width: 100%; border-radius: 8px; display: block; border: 1px solid var(--linie); }
.sk-grid figcaption { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: .72rem; color: var(--text-3); margin-top: 4px; }
.sk-note { font-size: .74rem; color: var(--text-3); margin: 0; } .sk-note a { color: var(--gold-hell); overflow-wrap: anywhere; }
.sk-quick .sk-net { font-size: .74rem; padding: 5px 9px; }
#sk-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 99999; background: #1D2023; color: #F3E6C4; border: 1px solid #8E6E2B; border-radius: 10px; padding: 10px 14px; font: 600 .85rem var(--sans); opacity: 0; transition: .25s; pointer-events: none; }
#sk-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* Leiste rechts */
#sd-handle { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9500; width: 34px; padding: 14px 0 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 0; border-radius: 14px 0 0 14px; background: linear-gradient(180deg, #F3DC9C, #C9A24A 55%, #A9832F); color: #17150F; cursor: pointer; box-shadow: -4px 0 18px rgba(0,0,0,.4); transition: width .2s, opacity .2s; }
#sd-handle:hover { width: 40px; } #sd-handle:focus-visible { outline: 3px solid #F3DC9C; outline-offset: 3px; }
#sd-handle .sd-hi { font: 800 1rem/1 var(--sans); }
#sd-handle .sd-ht { writing-mode: vertical-rl; font: 800 .7rem/1 var(--sans); letter-spacing: .22em; }
#sd-handle[aria-expanded=true], .sd-pinned #sd-handle { opacity: 0; pointer-events: none; }
#sd-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9600; width: min(400px, 94vw); display: flex; flex-direction: column; background: #1B1D21; border-left: 1px solid #8E6E2B; box-shadow: -10px 0 40px rgba(0,0,0,.5);
  transform: translateX(102%); transition: transform .3s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
#sd-panel.on { transform: none; }
/* zz399: geschlossen ganz ausblenden – sonst zählt das aus dem Bild geschobene Feld auf Handys zur Seitenbreite (seitliches Verschieben) */
#sd-panel:not(.on) { display: none; }
#sd-panel.on { animation: sdEin .3s cubic-bezier(.2,.8,.2,1); }
@keyframes sdEin { from { transform: translateX(102%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { #sd-panel.on { animation: none; } }
#sd-backdrop { position: fixed; inset: 0; z-index: 9550; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sd-open #sd-backdrop { opacity: 1; pointer-events: auto; }
.sd-pinned { padding-right: 400px; } .sd-pinned #sd-panel { box-shadow: none; }
.sd-top { display: flex; align-items: center; gap: 4px; padding: 12px 12px 8px; border-bottom: 1px solid rgba(201,162,74,.3); }
.sd-top strong { font: 600 1rem var(--serif); color: #F3E6C4; }
.sd-body { flex: 1; overflow-y: auto; padding: 10px 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.sd-sec { display: flex; flex-direction: column; gap: 6px; }
.sd-l { font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hell); }
.sd-sec input, .sd-sec select, .sd-sec textarea { width: 100%; min-height: 36px; padding: 6px 10px; border-radius: 8px; border: 1px solid #3A3D42; background: #25282D; color: #ECE7DC; font: 500 .84rem var(--sans); }
.sd-kw { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .sd-kw input:last-child { grid-column: span 2; }
.sd-row { display: flex; gap: 6px; } .sd-row > * { flex: 1; }
.sd-go { width: 100%; }
.sd-h { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 7px 9px; border-radius: 8px; border: 1px solid #33363C; background: none; color: #D6D0C3; cursor: pointer; font: 500 .8rem var(--sans); margin-bottom: 4px; }
.sd-h b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; } .sd-h small { color: #8A867D; font-size: .7rem; }
.sd-h:hover { border-color: #C9A24A; }
#sd-panel .sk-card { padding: 9px 10px; } #sd-panel .sk-card textarea { font-size: .82rem; }
@media (max-width: 1299px) { .sd-pinned { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { #sd-panel, #sd-backdrop, #sd-handle { transition: none; } }
@media print { #sd-panel, #sd-handle, #sd-backdrop { display: none !important; } .sd-pinned { padding-right: 0; } }
.pr-share .sk-btns { margin: 4px 0 12px; }
.pr-more { border-top: 1px solid var(--linie); margin-top: 6px; }
.kd-gen { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; align-items: start; }
.kd-gen .sd-kw { grid-template-columns: repeat(5, minmax(0, 1fr)); } .kd-gen .sd-kw input:last-child { grid-column: auto; }
.kd-gen input, .kd-gen select, .kd-img textarea, .kd-img select { min-height: 36px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--anthrazit); color: var(--text); font: 500 .84rem var(--sans); width: 100%; }
#dlg-kit .sk { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
#dlg-kit .sk-imgs, #dlg-kit .sk-note { grid-column: 1 / -1; }
@media (max-width: 760px) { .kd-gen { grid-template-columns: 1fr 1fr; } .kd-gen .sd-kw { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
.sk-link { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 8px 12px; border: 1px solid var(--gold-tief); border-radius: 12px; background: rgba(201,162,74,.07); font-size: .82rem; }
.sk-link > span { flex: 1 1 100%; overflow-wrap: anywhere; } .sk-link a { color: var(--gold-hell); }
.sk-link .check { margin: 0; font-size: .8rem; }
#dlg-kit .sk-link { grid-column: 1 / -1; } #dlg-kit .sk-link > span { flex: 1 1 auto; }

/* ---------- Exposé gestalten (Kundenbereich) ---------- */
.xl-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.xl-list { display: flex; flex-direction: column; gap: 6px; }
.xl-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 10px; background: var(--anthrazit); }
.xl-row strong { flex: 1 1 120px; font-size: .92rem; } .xl-row select { min-height: 34px; width: auto; }
.xl-row .check { margin: 0; font-size: .82rem; } .xl-row.is-off { opacity: .55; } .xl-row.over { border-color: var(--gold); }
.xl-grip { cursor: grab; color: var(--text-3); user-select: none; }
.xl-prev { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 10px; border: 1px dashed var(--gold-tief); border-radius: 12px; background: rgba(201,162,74,.04); }
.xl-prev span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 4px; border-radius: 8px; border: 1px solid var(--linie-hell); border-top: 2px solid var(--gold); background: var(--graphit); font-size: .72rem; text-align: center; color: var(--text-2); }
@media (max-width: 900px) { .xl-grid { grid-template-columns: 1fr; } }

/* ---------- Vertrauenssiegel ---------- */
.seal-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.seal-row img { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.hero-seals { margin-top: 22px; } .hero-seals .seal-row { gap: 10px; }
.form-seals { margin-top: 14px; } .form-seals .seal-row { justify-content: center; }
#tarife .seal-leiste, .center .seal-leiste { justify-content: center; margin-top: 26px; }
.foot-seals { padding-top: 28px; padding-bottom: 6px; } .foot-seals .seal-row { justify-content: center; opacity: .85; }
.ex-revseal { float: right; margin: -4px 0 6px 12px; }
@media (max-width: 560px) { .hero-seals img { width: 46%; } .foot-seals img { width: 30%; } .ex-revseal { display: none; } }
@media print { .foot-seals, .hero-seals { display: none; } }

/* ---------- Promografik Startseite ---------- */
.promo-dev { padding: 34px 0 10px; }
.pd-box { position: relative; overflow: hidden; border: 1px solid var(--gold-tief); border-radius: 22px; padding: 44px 40px 36px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,162,74,.16), transparent 65%), linear-gradient(180deg, #1F2226, #16181B); }
.pd-head { text-align: center; max-width: 860px; margin: 0 auto; }
.pd-title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.12; margin: 14px 0 12px;
  background: linear-gradient(180deg, #F7E7B4 0%, #E3C26B 45%, #B48A36 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pd-title em { font-style: italic; }
.pd-sub { color: var(--text-2); font-size: 1.05rem; margin: 0 auto; max-width: 720px; } .pd-sub strong { color: #F3E6C4; }
.pd-art { margin: 22px auto 6px; max-width: 1060px; } .pd-art img { width: 100%; height: auto; display: block; }
.pd-art figcaption { text-align: right; font-size: .72rem; color: var(--text-3); margin-top: -6px; }
.pd-tools { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pd-tools li { border: 1px solid var(--linie); border-top: 2px solid var(--gold); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.02); }
.pd-tools b { display: block; font: 600 .98rem var(--serif); color: var(--gold-hell); margin-bottom: 4px; }
.pd-tools span { font-size: .82rem; color: var(--text-2); line-height: 1.45; }
.pd-cta { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.pd-free { color: var(--text-3); font-size: .86rem; }
@media (max-width: 1100px) { .pd-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .pd-box { padding: 30px 18px 26px; } .pd-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pd-tools { grid-template-columns: 1fr; } }

/* ---------- Fußzeile in Spalten ---------- */
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.foot-brand { color: var(--text-3); font-size: .86rem; line-height: 1.6; } .foot-small { font-size: .78rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.foot-cols div { display: flex; flex-direction: column; gap: 6px; }
.foot-cols b { font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hell); margin-bottom: 4px; }
.foot-cols a { color: var(--text-2); text-decoration: none; font-size: .88rem; } .foot-cols a:hover { color: var(--text); }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sl-legal { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 10px; background: var(--graphit); font-size: .84rem; }
.sl-legal span { color: var(--text-3); } .sl-legal a { color: var(--gold-hell); text-decoration: none; padding: 3px 9px; border: 1px solid var(--gold-tief); border-radius: 999px; }
.sl-att { display: flex; flex-wrap: wrap; gap: 4px 14px; border: 1px solid var(--linie); border-radius: 10px; padding: 8px 12px 10px; margin: 0 0 12px; }
.sl-att legend { font-size: .8rem; color: var(--text-3); padding: 0 4px; } .sl-att .check { margin: 0; font-size: .84rem; }
/* Startseite: Promo als Blickfang ganz oben */
.promo-dev { padding-top: 22px; }
.pd-seals { margin-top: 16px; } .pd-seals .seal-row { justify-content: center; }
.pd-profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 6px; }
.pd-pc { border: 1px solid var(--linie); border-top: 2px solid var(--gold); border-radius: 14px; padding: 14px 16px; background: linear-gradient(180deg, rgba(201,162,74,.06), rgba(255,255,255,.01)); }
.pd-ph { display: flex; gap: 10px; align-items: center; }
.pd-ph strong { display: block; font: 600 1rem var(--serif); } .pd-ph small { color: var(--text-3); font-size: .78rem; }
.pd-av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--gold); color: var(--gold-hell); font: 600 .95rem var(--serif); background: var(--anthrazit); }
.pd-badge { margin-left: auto; font: 700 .64rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hell); border: 1px solid var(--gold-tief); border-radius: 999px; padding: 2px 8px; }
.pd-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 10px; }
.pd-kpi div { border: 1px solid var(--linie); border-radius: 10px; padding: 8px 10px; background: var(--anthrazit); }
.pd-kpi b { display: block; font: 600 1.25rem var(--serif); color: var(--gold-hell); } .pd-kpi small { color: var(--text-3); font-size: .72rem; }
.pd-ch { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: .76rem; color: var(--text-2); margin: 5px 0; }
.pd-ch i { display: block; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #F3DC9C, #C9A24A); width: var(--w); }
.pd-ch em { font-style: normal; color: var(--text); font-weight: 600; }
.pd-foot { margin-top: 10px; } .pd-tag { display: inline-block; font-size: .76rem; color: #17150F; background: linear-gradient(180deg, #E7C873, #C9A24A); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
@media (max-width: 900px) { .pd-profiles { grid-template-columns: 1fr; } }

/* ---------- E-Mail-Serien (Backoffice) ---------- */
.ms-cards { display: grid; gap: 14px; }
.ms-card { border: 1px solid var(--linie); border-top: 2px solid var(--gold); border-radius: 14px; padding: 16px 18px; background: var(--graphit); }
.ms-card.is-off { opacity: .7; border-top-color: var(--linie-hell); }
.ms-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; } .ms-card h3 { margin: 0 0 2px; font-size: 1.15rem; }
.ms-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.ms-stats div { border: 1px solid var(--linie); border-radius: 10px; padding: 8px 10px; background: var(--anthrazit); }
.ms-stats b { display: block; font: 600 1.2rem var(--serif); color: var(--gold-hell); } .ms-stats span { font-size: .72rem; color: var(--text-3); }
.ms-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.mst-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mst-prev { position: sticky; top: 0; } .mst-prev iframe { width: 100%; height: 560px; border: 1px solid var(--linie); border-radius: 10px; background: #F2EFE8; }
.ms-ph { border: 1px solid var(--gold-tief); background: none; color: var(--gold-hell); border-radius: 999px; padding: 1px 7px; font: 600 .72rem var(--sans); cursor: pointer; margin: 2px 0; }
.ms-alt { margin: 6px 0 12px; padding: 8px 12px; border: 1px dashed var(--linie-hell); border-radius: 10px; } .ms-alt summary { cursor: pointer; font-size: .86rem; color: var(--text-2); }
.ms-prefs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ms-enr { border: 1px solid var(--linie); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--anthrazit); }
.ms-enr-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ms-enr-h .small { margin-left: auto; }
.ms-bar { height: 6px; border-radius: 4px; background: var(--linie); margin: 10px 0 8px; overflow: hidden; } .ms-bar i { display: block; height: 100%; background: linear-gradient(90deg, #F3DC9C, #C9A24A); }
.ms-enr-f { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.ms-assign { display: flex; gap: 8px; margin: 6px 0 16px; } .ms-assign select { max-width: 320px; }
@media (max-width: 980px) { .mst-grid { grid-template-columns: 1fr; } .mst-prev { position: static; } .ms-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mb-grp { border: 1px solid var(--linie); border-radius: 12px; padding: 12px 14px; background: var(--anthrazit); }
.mb-row { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin: 10px 0 6px; } .mb-row b { min-width: 64px; color: var(--text-3); } .mb-row .check { margin: 0; }
.mb-count { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--gold-tief); border-radius: 10px; background: rgba(201,162,74,.06); } .mb-count strong { font: 600 1.3rem var(--serif); color: var(--gold-hell); }

/* ---------- Backoffice-Ergänzungen ---------- */
.reg-new { border: 1px solid var(--gold-tief); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; background: rgba(201,162,74,.06); }
.reg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px 14px; margin-top: 10px; }
.reg-row { display: flex; align-items: center; gap: 10px; } .reg-row .name-cell { flex: 1; min-width: 0; } .reg-row .small { white-space: nowrap; }
.gift-box { border: 1px dashed var(--gold-tief); border-radius: 10px; padding: 10px 12px; margin: 4px 0 14px; }
.gift-opts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; } .gift-opts select { width: auto; } .gift-opts input[type=text] { flex: 1 1 220px; }

/* ---------- Fall- und Projektakten ---------- */
.case-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--linie); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.case-party { display: grid; grid-template-columns: minmax(0, 1fr) 160px auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--linie); border-left: 3px solid var(--gold); border-radius: 10px; margin-bottom: 6px; background: var(--anthrazit); }
.case-party a { color: var(--text); text-decoration: none; } .case-party a:hover strong { color: var(--gold-hell); }
.case-party .cp-role, .case-field input, .case-addp input, .case-entry-new input, .case-entry-new select { min-height: 34px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--graphit); color: var(--text); font: 500 .84rem var(--sans); }
.case-field { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 6px; margin-bottom: 6px; }
.case-addp { display: flex; gap: 6px; margin-top: 6px; } .case-addp input { flex: 1; }
.case-entry-new { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; grid-template-areas: 'k d d' 't t b'; gap: 6px; margin-bottom: 10px; }
.case-entry-new #ce-k { grid-area: k; } .case-entry-new #ce-d { grid-area: d; } .case-entry-new #ce-t { grid-area: t; } .case-entry-new #ce-add { grid-area: b; }
.case-entries { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; }
.case-entry { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 10px; }
.case-entry.is-done { opacity: .6; } .case-entry .ce-ic { font-size: 1rem; }
a.case-here { font-weight: 700; color: var(--gold-hell); }
@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr; } .case-party { grid-template-columns: 1fr; } .case-field { grid-template-columns: 1fr; } }
/* Fallakten Teil 2 */
.case-table tr td.case-cell { border-left: 4px solid var(--cc, transparent); }
dialog.case-dlg { border: 2px solid var(--cc, var(--gold)) !important; box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 20px 60px rgba(0,0,0,.55); }
.case-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.time-run { font: 600 .78rem var(--sans); color: var(--text-3); border: 1px solid var(--linie-hell); border-radius: 999px; padding: 2px 10px; }
.time-run:empty { display: none; } .time-run.on { color: #8FD3A0; border-color: rgba(143,211,160,.5); }
.case-pdfs { display: inline-flex; gap: 8px; flex-wrap: wrap; } .case-pdfs a { color: var(--gold-hell); text-decoration: none; font-size: .8rem; border: 1px solid var(--gold-tief); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.case-colors { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 4px; }
.cc-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--linie-hell); background: var(--dot); color: var(--text-3); cursor: pointer; font-size: .72rem; }
.cc-dot.on { outline: 2px solid #fff; outline-offset: 2px; }
.case-party.is-member { border-left-color: #8FD3A0; } .case-party .role-sel { min-height: 34px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--linie-hell); background: var(--graphit); color: var(--text); font: 500 .82rem var(--sans); }
.time-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; }
.time-sum div { border: 1px solid var(--linie); border-radius: 10px; padding: 8px 12px; background: var(--anthrazit); } .time-sum b { display: block; font: 600 1.25rem var(--serif); color: var(--gold-hell); } .time-sum span { font-size: .74rem; color: var(--text-3); }
.case-write { max-width: 760px; }
.dl-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; text-decoration: none; color: var(--text); border-left: 3px solid var(--cc); padding-left: 8px; }
.dl-row div { display: flex; flex-direction: column; min-width: 0; } .dl-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-date { font: 600 .9rem var(--serif); color: var(--gold-hell); text-align: center; border: 1px solid var(--linie); border-radius: 8px; padding: 4px 0; } .dl-date.over { color: #fff; background: #B8432F; border-color: #B8432F; }
.dash-today { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1100px) { .dash-today { grid-template-columns: 1fr !important; } }

/* ---------- Markenverwaltung ---------- */
.br-cards { display: grid; gap: 14px; }
.br-card { border: 1px solid var(--linie); border-radius: 14px; padding: 16px 18px; background: var(--graphit); } .br-card.is-off { opacity: .65; }
.br-card header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 12px; } .br-card h3 { margin: 0 0 4px; }
.br-ov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .br-ov b { display: block; font: 600 .82rem var(--sans); margin-bottom: 6px; }
.br-logo { height: 120px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--linie); } .br-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.br-sw { display: flex; height: 120px; border-radius: 10px; overflow: hidden; border: 1px solid var(--linie); } .br-sw span { flex: 1; }
.br-gr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 120px; } .br-gr img { width: 100%; height: 58px; object-fit: cover; border-radius: 6px; }
.br-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 14px; }
.br-name { font: 600 1.5rem var(--serif); background: none; border: 0; border-bottom: 1px dashed var(--linie-hell); color: var(--text); padding: 2px 0; min-width: 320px; }
.br-edit { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 22px; align-items: start; }
.br-prev { position: sticky; top: 70px; }
.br-ups { display: grid; gap: 12px; } .br-up { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.br-thumb { height: 84px; border-radius: 10px; border: 1px solid var(--linie); display: flex; align-items: center; justify-content: center; padding: 8px; } .br-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.br-col { display: flex; gap: 6px; } .br-col input[type=color] { width: 46px; min-height: 38px; padding: 2px; } .br-col input[type=text] { flex: 1; }
.br-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 10px; } .br-gal figure { margin: 0; border: 1px solid var(--linie); border-radius: 8px; overflow: hidden; } .br-gal figure.on { border-color: var(--gold); }
.br-gal img { width: 100%; height: 90px; object-fit: cover; display: block; } .br-gal figcaption { display: flex; justify-content: space-between; }
.br-assets { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; } .br-x { background: none; border: 0; color: inherit; cursor: pointer; }
/* Briefvorschau im Maßstab 2 px je mm */
.bp-a4 { --mm: 2.2px; position: relative; width: calc(210 * var(--mm)); height: calc(297 * var(--mm)); background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.4); overflow: hidden; font-size: calc(3.7 * var(--mm)); line-height: 1.35; }
.bp-a4 [style*="mm"] { } .bp-band, .bp-plain { position: absolute; left: 0; right: 0; top: 0; height: calc(27 * var(--mm)); display: flex; align-items: center; gap: calc(5 * var(--mm)); padding: 0 calc(20 * var(--mm)) 0 calc(25 * var(--mm)); box-sizing: border-box; }
.bp-band img, .bp-plain img { max-height: calc(17 * var(--mm)); max-width: calc(50 * var(--mm)); object-fit: contain; } .bp-plain { background: #fff; }
.bp-band div div:first-child { font-size: calc(7.5 * var(--mm)) !important; } .bp-band div div:last-child { font-size: calc(2.4 * var(--mm)) !important; letter-spacing: calc(.4 * var(--mm)) !important; }
.bp-ret { position: absolute; left: calc(25 * var(--mm)); width: calc(85 * var(--mm)); font-size: calc(2.3 * var(--mm)); color: #6B6862; text-decoration: underline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; top: calc(57 * var(--mm)) !important; }
.bp-addr { position: absolute; left: calc(25 * var(--mm)); top: calc(62.7 * var(--mm)) !important; }
.bp-info { position: absolute; left: calc(125 * var(--mm)); top: calc(50 * var(--mm)) !important; display: grid; grid-template-columns: calc(22 * var(--mm)) calc(42 * var(--mm)); font-size: calc(2.8 * var(--mm)); row-gap: calc(1 * var(--mm)); } .bp-info span:nth-child(odd) { color: #8A867D; }
.bp-body { position: absolute; left: calc(25 * var(--mm)); right: calc(20 * var(--mm)); top: calc(98.5 * var(--mm)) !important; } .bp-body p { margin: calc(2.5 * var(--mm)) 0; }
.bp-mark { position: absolute; left: calc(3 * var(--mm)); width: calc(5 * var(--mm)); height: 1px; background: #9A968C; } .bp-mark.long { width: calc(7 * var(--mm)); }
.bp-mark { top: auto; } .bp-a4 .bp-mark:nth-of-type(1) { top: calc(105 * var(--mm)) !important; } .bp-a4 .bp-mark:nth-of-type(2) { top: calc(148.5 * var(--mm)) !important; } .bp-a4 .bp-mark:nth-of-type(3) { top: calc(210 * var(--mm)) !important; }
.bp-foot { position: absolute; left: calc(25 * var(--mm)); right: calc(20 * var(--mm)); bottom: calc(10 * var(--mm)); display: flex; gap: calc(5 * var(--mm)); padding-top: calc(2 * var(--mm)); font-size: calc(2.3 * var(--mm)); color: #8A867D; } .bp-foot div { flex: 1; }
.bp-mail { width: 100%; background: #F2EFE8; padding: 14px; border-radius: 6px; } .bp-mh { padding: 16px 20px; border-radius: 6px 6px 0 0; } .bp-mlogo { max-height: 42px; max-width: 180px; display: block; margin-bottom: 6px; } .bp-banner { width: 100%; display: block; margin-bottom: 6px; border-radius: 4px; }
.bp-mb { background: #fff; padding: 16px 20px; font-size: 13px; line-height: 1.55; } .bp-btn { display: inline-block; padding: 9px 18px; border-radius: 5px; color: #1A1A17; font-weight: 700; font-size: 12px; }
.bp-mf { background: #fff; border-top: 1px solid #EEE9DE; padding: 10px 20px 14px; font-size: 10px; color: #8A867D; border-radius: 0 0 6px 6px; }
@media (max-width: 1150px) { .br-edit { grid-template-columns: 1fr; } .br-prev { position: static; } .br-ov { grid-template-columns: 1fr; } }

/* ---------- Karriere (Backoffice) ---------- */
.jb-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.jb-img { border: 1px solid var(--linie); border-radius: 12px; padding: 10px; margin-bottom: 10px; background: var(--anthrazit); display: grid; gap: 6px; }
.jb-img img, .jb-ph { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; display: block; } .jb-ph { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--linie-hell); color: var(--text-3); }
.jb-img textarea { min-height: 0; font-size: .8rem; }
.cr-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; } .cr-copy > div { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--gold-tief); border-radius: 10px; background: rgba(201,162,74,.05); }
.cr-copy code { font-size: .8rem; overflow-wrap: anywhere; color: var(--gold-hell); } .cr-copy .btn { align-self: flex-start; }
@media (max-width: 980px) { .jb-grid, .cr-copy { grid-template-columns: 1fr; } }
/* Bewerberverwaltung */
.ap-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.ap-tile { text-align: left; border: 1px solid var(--linie); border-top: 2px solid var(--gold); border-radius: 10px; padding: 10px 12px; background: var(--graphit); color: var(--text); cursor: pointer; }
.ap-tile b { display: block; font: 600 1.4rem var(--serif); color: var(--gold-hell); } .ap-tile span { font-size: .74rem; color: var(--text-3); } .ap-tile.alt { border-top-color: var(--linie-hell); } .ap-tile.on { background: rgba(201,162,74,.12); border-color: var(--gold); }
.ap-head { display: flex; gap: 14px; align-items: center; } .ap-head .bw-ph, #dlg-ap .bw-ph { width: 66px; height: 66px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; overflow: hidden; font: 600 1.4rem var(--serif); color: var(--gold-hell); background: var(--anthrazit); flex: none; } #dlg-ap .bw-ph img { width: 100%; height: 100%; object-fit: cover; }
#dlg-ap .bw-ring { --p: 0; width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--linie) 0); display: grid; place-items: center; flex: none; } #dlg-ap .bw-ring span { width: 48px; height: 48px; border-radius: 50%; background: var(--graphit); display: grid; place-items: center; font: 600 .8rem var(--sans); }
.ap-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: start; } .ap-grid .rf-card { margin-bottom: 12px; }
.ap-app, .ap-iv { padding: 8px 0; border-bottom: 1px solid var(--linie); } .ap-iv { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; } .ap-app select { width: auto; }
.ap-ivnew { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--linie-hell); }
.ap-note { padding: 8px 0; border-bottom: 1px solid var(--linie); }
.bw-chat { max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; } .bw-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; background: var(--anthrazit); border: 1px solid var(--linie); } .bw-msg.me { align-self: flex-end; border-color: var(--gold-tief); } .bw-msg span { font-size: .72rem; color: var(--text-3); }
.ap-post.team { border-left: 3px solid var(--gold); } .bw-cms { display: grid; gap: 6px; margin-top: 8px; } .bw-cm { padding: 8px 12px; border-radius: 10px; background: var(--anthrazit); border: 1px solid var(--linie); } .bw-cm.team { border-color: var(--gold-tief); }
.bw-reply { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-top: 8px; } .bw-reply textarea { min-height: 0; }
@media (max-width: 980px) { .ap-grid { grid-template-columns: 1fr; } }
.chat-btn { display: inline-block; font: 600 .7rem var(--sans); padding: 2px 8px; border-radius: 999px; text-decoration: none; margin-left: 4px; color: #fff; }
.chat-btn.wa { background: #1F9D55; } .chat-btn.tg { background: #2A8BC8; }
.ap-assign { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 10px; } .ap-assign select, .ap-assign input[type=text] { width: auto; flex: 1 1 160px; min-height: 34px; }
.ap-hist { max-height: 260px; overflow-y: auto; display: grid; gap: 8px; } .ap-hist > div { border-left: 2px solid var(--gold-tief); padding-left: 8px; }
#dash-apps { margin-bottom: 16px; } .ap-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-decoration: none; color: var(--text); }
.ap-row div { display: flex; flex-direction: column; min-width: 0; } .ap-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ap-row > .small { text-align: right; }
.ap-av { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold-tief); display: grid; place-items: center; font: 600 .9rem var(--serif); color: var(--gold-hell); }
#dash-apps .dash-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; } @media (max-width: 860px) { #dash-apps .dash-list { grid-template-columns: 1fr; } }
.cvr-list { display: grid; gap: 6px; max-height: 52vh; overflow-y: auto; } .cvr-row span { display: flex; flex-direction: column; gap: 2px; } .cvr-row b { font-size: .8rem; color: var(--gold-hell); } .cvr-row em { font-size: .74rem; color: var(--text-3); font-style: normal; }
.cvr-photo { align-items: center; } .cvr-photo img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--gold-tief); }
.tp-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; } .tp-item { display: flex; flex-direction: column; text-align: left; width: 100%; padding: 8px 10px; margin-bottom: 4px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); color: var(--text); cursor: pointer; }
.tp-item span { font-size: .72rem; color: var(--text-3); } .tp-item.on { border-color: var(--gold); }
@media (max-width: 760px) { .tp-grid { grid-template-columns: 1fr; } }
.pay-guide summary { cursor: pointer; } .pay-guide ol { padding-left: 20px; margin: 12px 0; } .pay-guide li { margin-bottom: 6px; }
.ni-comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 12px; }
/* Glocke: neue Eingänge */
.bell-wrap { position: relative; } .bell { position: relative; } .bell b { display: inline-block; min-width: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: #C2563E; color: #fff; font-size: .74rem; }
.bell.has { border-color: #C2563E; animation: bellpulse 2.4s ease-in-out 3; } @keyframes bellpulse { 50% { box-shadow: 0 0 0 4px rgba(194,86,62,.25); } } @media (prefers-reduced-motion: reduce) { .bell.has { animation: none; } }
.bell-pop { position: absolute; right: 0; top: calc(100% + 6px); width: 320px; z-index: 50; background: var(--graphit); border: 1px solid var(--gold-tief); border-radius: 12px; padding: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.bell-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 8px 10px; margin-top: 6px; border: 1px solid var(--linie); border-radius: 8px; background: var(--anthrazit); color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.bell-row:hover { border-color: var(--gold); } .bell-row b { min-width: 24px; text-align: center; padding: 1px 7px; border-radius: 999px; background: #C2563E; color: #fff; font-size: .78rem; }
.wanted-cfg { border: 2px solid #F2C14E; border-radius: 12px; padding: 12px 14px; margin: 10px 0; background: rgba(242,193,78,.06); }
.wanted-mini { display: inline-block; font: 800 .68rem var(--sans); letter-spacing: .12em; color: #F2C14E; border: 1px solid #F2C14E; border-radius: 999px; padding: 1px 8px; background: #16181B; }
.rw-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 12px; } .rw-admin .rf-card { margin: 0; } .rw-admin input[type=text], .rw-admin textarea { margin-bottom: 6px; }
.rw-ph { width: 90px; height: 90px; border-radius: 10px; display: grid; place-items: center; font-size: 2rem; background: rgba(242,193,78,.08); border: 1px solid #F2C14E; flex: none; }

/* Architektenlampe (Kachel „Neuigkeiten“, 29.10.2026) */
.fa-lamp{width:34px;height:34px;color:#E4E8EC;display:block;margin:-3px}.fa-lamp .lamp-light{fill:#F7E4B2;opacity:0}.fa-lamp .lamp-bulb{fill:#8F8B83}
.lamp-on .fa-lamp .lamp-light{animation:faLamp 1.8s ease-in-out infinite}.lamp-on .fa-lamp .lamp-bulb{fill:#FFF3C4}.lamp-on .dash-ic{background:radial-gradient(circle at 30% 70%,rgba(247,228,178,.35),rgba(201,162,74,.12) 70%)!important}
.lamp-on .dash-ic{box-shadow:0 0 0 1px rgba(235,203,130,.55),0 0 22px rgba(235,203,130,.55);animation:faLampGlow 1.8s ease-in-out infinite}
@keyframes faLamp{0%,100%{opacity:.3}50%{opacity:1}}@keyframes faLampGlow{0%,100%{box-shadow:0 0 0 1px rgba(235,203,130,.3),0 0 8px rgba(235,203,130,.2)}50%{box-shadow:0 0 0 1px rgba(235,203,130,.7),0 0 26px rgba(235,203,130,.6)}}
@media(prefers-reduced-motion:reduce){.lamp-on .fa-lamp .lamp-light{animation:none;opacity:.7}.lamp-on .dash-ic{animation:none}}
.ov-news{list-style:none;padding:0;margin:0}.ov-nb{display:flex;justify-content:space-between;gap:10px;width:100%;text-align:left;background:none;border:0;padding:6px 0;color:var(--text);font:inherit;font-size:.9rem;cursor:pointer;border-bottom:1px solid rgba(127,127,127,.15);min-width:0}
.ov-nb span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.ov-nb small{flex:none;color:var(--text-3)}.ov-nb.read span{font-weight:400;color:var(--text-2)}.ov-nb:hover span{color:#EBCB82}
.ov-lamp-hint{margin:8px 0 0;color:#EBCB82}

/* Wochenplan-Kachel (29.10.2026) */
.ov-glow{border-color:rgba(127,203,159,.35)!important;background:radial-gradient(110% 100% at 0 0,rgba(127,203,159,.12),transparent 60%),var(--card,rgba(255,255,255,.03))!important;transition:box-shadow .25s,transform .2s}
.ov-glow:hover{box-shadow:0 0 0 1px rgba(127,203,159,.35),0 16px 40px rgba(127,203,159,.14);transform:translateY(-2px)}
.ov-wp{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:4px}.ov-wp li{display:flex;gap:10px;align-items:flex-start;padding:6px 8px;border-radius:10px}.ov-wp li.today{background:rgba(127,203,159,.1);box-shadow:inset 0 0 0 1px rgba(127,203,159,.4)}
.ov-wp li span{flex:1;min-width:0;display:grid;gap:2px}.ov-wp li b{font-size:.88rem;overflow-wrap:anywhere}.ov-wp li small{color:var(--text-2);font-size:.82rem}.ov-wp li em{font-style:normal;font-size:.7rem;color:#7FCB9F;letter-spacing:.06em;text-transform:uppercase}
.ov-wp li.done b{color:var(--text-3);text-decoration:line-through;font-weight:500}.ov-wpc{flex:none;width:22px;height:22px;border-radius:50%;border:1.5px solid #7FCB9F;background:none;color:#16181B;font-weight:800;cursor:pointer;margin-top:1px}.ov-wp li.done .ov-wpc{background:#7FCB9F}
.ov-link{background:none;border:0;color:var(--text-3);text-decoration:underline;cursor:pointer;font:inherit;padding:0}
@media(prefers-reduced-motion:reduce){.ov-glow{transition:none}.ov-glow:hover{transform:none}}

/* Neue Werbeanfragen (29.10.2026) */
.inq.inq-new{border-left:3px solid var(--gold);padding-left:14px}

/* Überlagernde Fenster (z. B. Blueprint-Editor, Kauf-Dialog Gemeinschaftshaus): über Menü- und Teilen-Reitern */
.modal-back { position: fixed; inset: 0; z-index: 100001; background: rgba(8, 10, 12, .66); display: flex; align-items: flex-start; justify-content: center; padding: clamp(10px, 4vh, 48px) 12px; overflow-y: auto; }
.modal { position: relative; width: 100%; max-width: 640px; max-height: none; background: var(--graphit, #1B1D21); color: var(--text, #F3EDE2); border: 1px solid rgba(201, 162, 74, .38); border-radius: 18px; padding: 20px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.modal h3 { font-family: 'Playfair Display', Georgia, serif; }
@media (max-width: 600px) { .modal { padding: 16px; border-radius: 14px; } }

/* ---------- Navigation 2026-11: edle Knöpfe, Bereichsseiten, „Zurück zur Übersicht“ (fa-nav.js) ---------- */
.fa-ic { width: 20px; height: 20px; flex: 0 0 auto; }
.fa-ib { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; color: var(--gold-hell, #EBCB82);
  background: radial-gradient(circle at 35% 30%, rgba(235, 203, 130, .16), rgba(201, 162, 74, .04) 70%); border: 1px solid rgba(201, 162, 74, .38); transition: box-shadow .25s, border-color .25s, background .25s; }
.side-nav .fa-tab { justify-content: flex-start; gap: 12px; border: 1px solid transparent; border-radius: 14px; padding: 7px 10px; min-height: 50px; margin: 1px 0; transition: background .2s, border-color .2s; }
.side-nav .fa-tab .fa-tl { flex: 1; font-weight: 500; letter-spacing: .01em; }
.side-nav .fa-tab:hover { background: rgba(255, 255, 255, .035); border-color: rgba(201, 162, 74, .18); }
.side-nav .fa-tab:hover .fa-ib { border-color: rgba(235, 203, 130, .7); }
.side-nav .fa-tab[aria-selected=true] { background: linear-gradient(90deg, rgba(201, 162, 74, .16), rgba(201, 162, 74, .04)); border-color: rgba(201, 162, 74, .45); color: var(--text); }
.side-nav .fa-tab[aria-selected=true] .fa-ib { border-color: #EBCB82; background: radial-gradient(circle at 35% 30%, rgba(235, 203, 130, .35), rgba(201, 162, 74, .1) 70%);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, .14), 0 0 16px rgba(235, 203, 130, .35); }
.side-nav .fa-tab[aria-selected=true] .fa-ic { filter: drop-shadow(0 0 3px rgba(235, 203, 130, .7)); }
.side-nav .fa-tab:focus-visible, .fa-tile:focus-visible, .fa-crumb button:focus-visible { outline: 2px solid #EBCB82; outline-offset: 2px; }
.fa-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 18px; font-size: .9rem; }
.fa-crumb .fa-back { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid rgba(201, 162, 74, .5);
  background: linear-gradient(180deg, rgba(201, 162, 74, .14), rgba(201, 162, 74, .05)); color: #EBCB82; font: 600 .86rem Inter, system-ui, sans-serif; letter-spacing: .02em; cursor: pointer; }
.fa-crumb .fa-back:hover { box-shadow: 0 0 14px rgba(235, 203, 130, .3); border-color: #EBCB82; }
.fa-crumb .fa-back .fa-ic { width: 17px; height: 17px; }
.fa-crumb .fa-cl { background: none; border: 0; padding: 4px 2px; color: var(--text); text-decoration: underline; text-decoration-color: rgba(201, 162, 74, .5); text-underline-offset: 3px; cursor: pointer; font: inherit; }
.fa-crumb .fa-sep { color: rgba(201, 162, 74, .7); }
.fa-crumb b { font-weight: 600; color: var(--text); }
.fa-hub-h { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.fa-hub-h h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; }
.fa-hub-h p { margin: 4px 0 0; }
.fa-ib-l { width: 58px; height: 58px; flex-basis: 58px; box-shadow: 0 0 0 4px rgba(201, 162, 74, .12), 0 0 22px rgba(235, 203, 130, .25); }
.fa-ib-l .fa-ic { width: 30px; height: 30px; }
.fa-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.fa-tile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 18px;
  border-radius: 18px; border: 1px solid var(--linie); background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); color: var(--text); cursor: pointer; min-height: 92px;
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.fa-tile .fa-ib { grid-row: 1 / span 2; width: 46px; height: 46px; flex-basis: 46px; }
.fa-tile .fa-ib .fa-ic { width: 23px; height: 23px; }
.fa-tile b { font: 600 1rem Inter, system-ui, sans-serif; align-self: end; }
.fa-tile small { color: var(--muted, #9AA3AB); font-size: .8rem; line-height: 1.35; align-self: start; }
.fa-tile .count { position: absolute; top: 12px; right: 12px; }
.fa-tile:hover { border-color: rgba(201, 162, 74, .5); box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 1px rgba(201, 162, 74, .15); transform: translateY(-2px); }
.fa-tile:hover .fa-ib { border-color: #EBCB82; box-shadow: 0 0 14px rgba(235, 203, 130, .3); }
@media (prefers-reduced-motion: reduce) { .fa-tile, .fa-tile:hover { transition: none; transform: none; } }
@media (max-width: 900px) { .fa-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .fa-tile { padding: 14px; min-height: 84px; } .fa-crumb { margin-bottom: 14px; } }
@media (max-width: 520px) { .fa-tiles { grid-template-columns: 1fr; } }
/* Schublade: edle Knöpfe mit Zeichen (Navigation 2026-11) */
.nd-it .fa-ib { width: 32px; height: 32px; flex: 0 0 32px; }
.nd-it .fa-ib .fa-ic { width: 17px; height: 17px; }
.nd-it:has(.fa-ib) { gap: 11px; padding: 6px 10px 6px 6px; min-height: 46px; border: 1px solid transparent; border-radius: 13px; font-size: .88rem; }
.nd-it:has(.fa-ib):hover { border-color: rgba(201, 162, 74, .25); }
.nd-it:has(.fa-ib):hover .fa-ib { border-color: rgba(235, 203, 130, .75); }
.nd-it.on:has(.fa-ib) { background: linear-gradient(90deg, rgba(201, 162, 74, .2), rgba(201, 162, 74, .05)); border-color: rgba(201, 162, 74, .5); color: #F3E6C4; }
.nd-it.on .fa-ib { border-color: #EBCB82; background: radial-gradient(circle at 35% 30%, rgba(235, 203, 130, .35), rgba(201, 162, 74, .1) 70%); box-shadow: 0 0 0 3px rgba(201, 162, 74, .14), 0 0 14px rgba(235, 203, 130, .35); }
.nd-it .nd-sub { color: #8A867D; font-size: .72rem; }
.nd-it:has(.fa-ib) span { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.fa-src { display: none !important; }
/* Mega-Brain-Zeichen statt Glocke (Backoffice-Kopf) */
.mb-head { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(201, 162, 74, .6); background: radial-gradient(circle at 20% 30%, rgba(235, 203, 130, .18), rgba(20, 22, 24, .9) 70%); color: #EBCB82;
  font: 700 .8rem Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 0 3px rgba(201, 162, 74, .1), 0 0 16px rgba(235, 203, 130, .25); }
.mb-head svg { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: #141618; border: 1px solid #C9A24A; filter: drop-shadow(0 0 3px rgba(235, 203, 130, .7)); }
.mb-head b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #C9A24A; color: #17150F; display: inline-grid; place-items: center; font-size: .72rem; letter-spacing: 0; }
.mb-head:hover, .mb-head:focus-visible { box-shadow: 0 0 0 3px rgba(201, 162, 74, .2), 0 0 24px rgba(235, 203, 130, .45); outline: none; }
.mb-head.has { animation: mbHead 2.8s ease-in-out infinite; }
@keyframes mbHead { 0%, 100% { box-shadow: 0 0 0 3px rgba(201, 162, 74, .12), 0 0 14px rgba(235, 203, 130, .25); } 50% { box-shadow: 0 0 0 4px rgba(201, 162, 74, .25), 0 0 28px rgba(235, 203, 130, .55); } }
@media (prefers-reduced-motion: reduce) { .mb-head.has { animation: none; } }
@media (max-width: 600px) { .mb-head span { display: none; } .mb-head { padding: 5px; } }
/* Kacheln: lange Wörter (z. B. „Empfehlungsprogramm“) sauber trennen statt über den Rand laufen */
.fa-tile > * { min-width: 0; }
.fa-tile b { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.fa-tile small { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
/* Kundenbereich, Kopfkarten: auf schmalen Handys nicht breiter als der Bildschirm (Rasterzellen dürfen schrumpfen, lange Namen umbrechen) */
.top > .sheet { min-width: 0; max-width: 100%; box-sizing: border-box; }
.top > .sheet.hello > div { min-width: 0; }
#hello-name { overflow-wrap: anywhere; }
@media (max-width: 420px) { .top > .sheet { padding: 20px; } }

/* Mitgliederbereich im Stil „Der Bauplan“ (31.10.2026): Begrüßungskopf im Raster, Kacheln füllen Lücken */
#ov-grid.dl-grid { grid-auto-flow: row dense; }
.top .sheet.hello { border-radius: 20px; border-color: rgba(201,162,74,.3); background-color: #141618; background-image: linear-gradient(rgba(201,162,74,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,74,.07) 1px, transparent 1px); background-size: 48px 48px; }
.top .sheet.hello h1 { font-weight: 600; }
.top .sheet.progress { border-radius: 20px; }
