/* ============================================================
   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[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-3); margin-top: 5px; }
.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));
}
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; } }

/* ---------- 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); }
.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-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-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; } }
