/* =====================================================================
   Weltenschmiede – Tuschenacht & Pergament
   ===================================================================== */

@font-face {
  font-family: "Shippori Mincho";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/shippori-600.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho";
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/shippori-800.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

:root {
  --nacht: #110e0c;
  --nacht-2: #19140f;
  --nacht-3: #231c16;
  --nacht-4: #2e251d;
  --linie: rgba(239, 222, 196, 0.11);
  --linie-stark: rgba(239, 222, 196, 0.22);
  --text: #efe6d8;
  --text-2: #b8aa96;
  --text-3: #8a7d6c;
  --glut: #e8692b;
  --glut-hell: #ff8f52;
  --glut-dunkel: #b84d1a;
  --siegel: #b3261e;
  --gold: #c9a25e;
  --pergament: #f3ead7;
  --pergament-2: #e9dcc1;
  --pergament-linie: #d5c3a0;
  --tinte: #2b2119;
  --tinte-2: #5b4a3a;
  --gruen: #6fae7a;
  --akzent: #b3261e;
  --akzent-rgb: 179, 38, 30;
  --schrift-titel: "Shippori Mincho", "Iowan Old Style", Georgia, serif;
  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-klein: 9px;
  --breite: 1200px;
  --schatten: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--nacht);
  background-image:
    radial-gradient(1100px 520px at 78% -8%, rgba(232, 105, 43, 0.16), transparent 62%),
    radial-gradient(900px 600px at -10% 10%, rgba(179, 38, 30, 0.10), transparent 60%),
    radial-gradient(1200px 700px at 50% 120%, rgba(201, 162, 94, 0.06), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--glut-hell); text-decoration: none; }
a:hover { color: #ffb489; }
h1, h2, h3, h4 { font-family: var(--schrift-titel); font-weight: 800; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--glut-hell); outline-offset: 3px; border-radius: 4px; }

.wst-breite { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.wst-inhalt { flex: 1; padding-bottom: 72px; }
.wst-unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wst-sprung { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--glut); color: #fff; padding: 8px 14px; border-radius: 8px; }
.wst-sprung:focus { left: 12px; }
.wst-mittig { text-align: center; }

.wst-oberzeile {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.wst-oberzeile a { color: inherit; }
.wst-oberzeile a:hover { color: var(--glut-hell); }

/* ---------------------------------------------------------------------
   Kopf & Navigation
   ------------------------------------------------------------------- */
.wst-kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 14, 12, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--linie);
}
.admin-bar .wst-kopf { top: 32px; }
.wst-kopf__innen { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.wst-marke { display: inline-flex; align-items: center; gap: 12px; color: var(--text); margin-right: auto; }
.wst-marke:hover { color: var(--text); }
.wst-marke__siegel { width: 34px; height: 34px; color: var(--siegel); flex: none; filter: drop-shadow(0 4px 14px rgba(179, 38, 30, 0.45)); }
.wst-marke__text { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.32rem; letter-spacing: 0.02em; }

.wst-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.wst-navigation a:not(.ws-knopf) {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
}
.wst-navigation a:not(.ws-knopf):hover { color: var(--text); background: rgba(239, 222, 196, 0.06); }
.wst-navigation a[aria-current="page"] { color: var(--text); background: rgba(232, 105, 43, 0.14); }
.wst-navigation__knopf { margin-left: 8px; }

.wst-menueknopf { display: none; }

@media (max-width: 860px) {
  .wst-menueknopf {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border-radius: 10px;
    background: transparent; border: 1px solid var(--linie-stark); cursor: pointer;
  }
  .wst-menueknopf span:not(.wst-unsichtbar) { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .wst-menue-offen .wst-menueknopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .wst-menue-offen .wst-menueknopf span:nth-child(2) { opacity: 0; }
  .wst-menue-offen .wst-menueknopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .wst-navigation {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--nacht-2);
    border-bottom: 1px solid var(--linie);
    padding: 12px 16px 20px;
  }
  .wst-menue-offen .wst-navigation { display: block; }
  .wst-navigation ul { flex-direction: column; align-items: stretch; }
  .wst-navigation a:not(.ws-knopf) { padding: 12px 14px; border-radius: 10px; }
  .wst-navigation__knopf { margin: 8px 0 0; }
  .wst-navigation__knopf .ws-knopf { width: 100%; }
}

/* ---------------------------------------------------------------------
   Knöpfe, Meldungen, Leerzustände
   ------------------------------------------------------------------- */
.ws-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--glut-hell), var(--glut) 55%, var(--glut-dunkel));
  color: #fff;
  font: 600 0.96rem/1.2 var(--schrift);
  cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(232, 105, 43, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform .15s, box-shadow .15s, filter .15s;
  text-decoration: none;
}
.ws-knopf:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 14px 32px -12px rgba(232, 105, 43, 0.95), inset 0 1px 0 rgba(255,255,255,.25); }
.ws-knopf:active { transform: translateY(0); }
.ws-knopf--leise {
  background: rgba(239, 222, 196, 0.05);
  border-color: var(--linie-stark);
  color: var(--text);
  box-shadow: none;
}
.ws-knopf--leise:hover { color: var(--text); background: rgba(239, 222, 196, 0.1); box-shadow: none; }
.ws-knopf--klein { padding: 8px 16px; font-size: 0.9rem; }
.ws-knopf--voll { width: 100%; }

.ws-link-leise { color: var(--text-3); font-size: 0.92rem; }
.ws-link-leise:hover { color: var(--text); }

.ws-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ws-aktionen--mitte { justify-content: center; }

.ws-meldung {
  margin: 24px 0;
  padding: 14px 18px;
  border-radius: var(--radius-klein);
  border: 1px solid;
  font-weight: 500;
}
.ws-meldung--ok { background: rgba(111, 174, 122, 0.12); border-color: rgba(111, 174, 122, 0.4); color: #cfe9d3; }
.ws-meldung--fehler { background: rgba(179, 38, 30, 0.14); border-color: rgba(220, 70, 60, 0.45); color: #ffd2cd; }

.ws-leer {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--linie-stark);
  border-radius: var(--radius);
  color: var(--text-2);
  background: rgba(239, 222, 196, 0.02);
}
.ws-leer p:last-child { margin-bottom: 0; }

.ws-hinweis { color: var(--text-3); font-size: 0.88rem; margin: 6px 0 0; }

/* ---------------------------------------------------------------------
   Startseite
   ------------------------------------------------------------------- */
.wst-held { padding: 96px 0 72px; position: relative; overflow: hidden; }
.wst-held::after {
  content: "";
  position: absolute; right: -120px; top: 40px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 94, 0.14);
  box-shadow: 0 0 0 60px rgba(201, 162, 94, 0.025), 0 0 0 140px rgba(201, 162, 94, 0.02);
  pointer-events: none;
}
.wst-held__innen { position: relative; z-index: 1; }
.wst-held__titel { font-size: clamp(2.3rem, 5.6vw, 4.3rem); max-width: 16ch; margin-bottom: 24px; }
.wst-held__titel span { color: var(--glut-hell); background: linear-gradient(90deg, var(--glut-hell), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wst-held__text { font-size: 1.12rem; color: var(--text-2); max-width: 60ch; margin-bottom: 32px; }

.wst-zahlen { display: flex; flex-wrap: wrap; gap: 12px; margin: 48px 0 0; padding: 0; }
.wst-zahlen > div {
  min-width: 140px;
  padding: 16px 22px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: rgba(239, 222, 196, 0.03);
}
.wst-zahlen dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.wst-zahlen dd { margin: 2px 0 0; font-family: var(--schrift-titel); font-weight: 800; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

.wst-abschnitt { padding: 48px 0 8px; }
.wst-abschnitt__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.wst-abschnitt__kopf h2 { font-size: 1.7rem; margin: 0; }
.wst-abschnitt--schritte { padding-top: 72px; }
.wst-abschnitt--schritte h2 { font-size: 1.9rem; margin-bottom: 28px; }

.wst-schritte { list-style: none; counter-reset: schritt; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wst-schritte li {
  counter-increment: schritt;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--nacht-3), var(--nacht-2));
  border: 1px solid var(--linie);
  display: flex; flex-direction: column; gap: 8px;
}
.wst-schritte li::before {
  content: counter(schritt);
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 6px;
  border-radius: 10px;
  background: var(--siegel);
  color: #fff4e3;
  font: 800 1.1rem/1 var(--schrift-titel);
}
.wst-schritte strong { font-family: var(--schrift-titel); font-size: 1.2rem; }
.wst-schritte span { color: var(--text-2); }

@media (max-width: 800px) {
  .wst-held { padding: 56px 0 40px; }
  .wst-schritte { grid-template-columns: 1fr; }
  .wst-zahlen > div { flex: 1; min-width: 0; padding: 14px 16px; }
  .wst-zahlen dd { font-size: 1.6rem; }
}

/* ---------------------------------------------------------------------
   Karten-Raster
   ------------------------------------------------------------------- */
.wst-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
@media (max-width: 520px) { .wst-raster { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.wst-karte { position: relative; }
.wst-karte__link {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--nacht-2);
  border: 1px solid var(--linie);
  color: var(--text);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.wst-karte__link:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(232, 105, 43, 0.5); box-shadow: 0 22px 40px -22px rgba(232, 105, 43, 0.6); }
.wst-karte__bild { position: relative; aspect-ratio: 3 / 4; background: radial-gradient(circle at 50% 35%, var(--nacht-4), var(--nacht-2)); overflow: hidden; }
.wst-karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wst-karte__link:hover .wst-karte__bild img { transform: scale(1.04); }
.wst-karte__bild::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(17, 14, 12, 0.75)); pointer-events: none; }
.wst-karte__monogramm {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 3.4rem/1 var(--schrift-titel);
  color: rgba(201, 162, 94, 0.45);
  letter-spacing: 0.04em;
}
.wst-karte__rang {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(17, 14, 12, 0.72);
  border: 1px solid rgba(201, 162, 94, 0.4);
  color: var(--gold);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.wst-karte__text { padding: 14px 16px 16px; }
.wst-karte__name { font-size: 1.12rem; margin: 0 0 2px; }
.wst-karte__beiname { margin: 0 0 4px; font-size: 0.86rem; color: var(--gold); font-style: italic; }
.wst-karte__meta { margin: 0; color: var(--text-3); font-size: 0.84rem; }
.wst-karte--verstorben .wst-karte__bild img { filter: grayscale(1) contrast(1.05); }

/* ---------------------------------------------------------------------
   Seitenköpfe & Filter
   ------------------------------------------------------------------- */
.wst-seitenkopf { padding: 56px 0 28px; }
.wst-seitenkopf h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 6px; }
.wst-seitenkopf__zahl { color: var(--text-3); margin: 0; }
.wst-seitenkopf--404 { padding: 120px 0; text-align: center; }
.wst-seitenkopf--404 .ws-aktionen { justify-content: center; }

.wst-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px;
  margin-bottom: 28px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: rgba(25, 20, 15, 0.7);
}
.wst-filter__suche { flex: 1 1 220px; }
.wst-filter input,
.wst-filter select { width: 100%; }
@media (max-width: 640px) {
  .wst-filter > label { flex: 1 1 calc(50% - 10px); }
  .wst-filter__suche { flex-basis: 100% !important; }
  .wst-filter .ws-knopf { flex: 1; }
}

input[type="text"], input[type="number"], input[type="search"], input[type="url"], input[type="email"], input[type="password"], select, textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-klein);
  border: 1px solid var(--linie-stark);
  background: var(--nacht);
  color: var(--text);
  font: 400 0.98rem/1.4 var(--schrift);
  transition: border-color .15s, box-shadow .15s;
}
select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b8aa96' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--glut); box-shadow: 0 0 0 3px rgba(232, 105, 43, 0.22); }
::placeholder { color: var(--text-3); opacity: 1; }

.wst-seiten, .navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--linie); color: var(--text-2);
}
.page-numbers.current { background: var(--glut); border-color: var(--glut); color: #fff; }
a.page-numbers:hover { color: var(--text); border-color: var(--linie-stark); }

/* ---------------------------------------------------------------------
   Charakterakte
   ------------------------------------------------------------------- */
.wst-akte { padding-top: 48px; }
.wst-akte__kopf { margin-bottom: 32px; max-width: 900px; }
.wst-akte__name { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: 4px; }
.wst-akte__beiname { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.3rem; color: var(--gold); margin: 0 0 12px; }
.wst-akte__zitat {
  margin: 20px 0 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--siegel);
  color: var(--text-2); font-style: italic; font-size: 1.1rem;
}

.wst-akte__raster { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .wst-akte__raster { grid-template-columns: 1fr; } }

.wst-steckbrief {
  position: sticky; top: 92px;
  display: flex; flex-direction: column; gap: 12px;
}
@media (max-width: 900px) { .wst-steckbrief { position: static; } }
.wst-steckbrief__bild {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--nacht-4), var(--nacht-2));
  border: 1px solid var(--linie-stark);
  box-shadow: var(--schatten);
}
.wst-steckbrief__bild img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .wst-steckbrief__bild { max-width: 360px; } }

.wst-status {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(17, 14, 12, 0.75); border: 1px solid; backdrop-filter: blur(6px);
}
.wst-status--aktiv { color: #a9dcb1; border-color: rgba(111, 174, 122, 0.55); }
.wst-status--pausiert, .wst-status--ehemalig { color: var(--text-2); border-color: var(--linie-stark); }
.wst-status--verschollen { color: var(--gold); border-color: rgba(201, 162, 94, 0.55); }
.wst-status--verstorben { color: #ffb3ab; border-color: rgba(220, 70, 60, 0.55); }

.wst-steckbrief__liste {
  margin: 0;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--nacht-2);
  overflow: hidden;
}
.wst-steckbrief__liste > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--linie); }
.wst-steckbrief__liste > div:first-child { border-top: 0; }
.wst-steckbrief__liste dt { color: var(--text-3); font-size: 0.84rem; padding-top: 1px; }
.wst-steckbrief__liste dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.wst-inhaltsliste { padding: 14px 16px; border: 1px solid var(--linie); border-radius: var(--radius); }
.wst-inhaltsliste p { margin: 0 0 6px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.wst-inhaltsliste ul { list-style: none; margin: 0; padding: 0; }
.wst-inhaltsliste a { display: block; padding: 4px 0; color: var(--text-2); }
.wst-inhaltsliste a:hover { color: var(--glut-hell); }
@media (max-width: 900px) { .wst-inhaltsliste { display: none; } }

/* Pergament: die eigentliche Akte */
.wst-pergament {
  position: relative;
  padding: 44px 52px 32px;
  border-radius: 6px;
  color: var(--tinte);
  background-color: var(--pergament);
  background-image:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(196, 160, 104, 0.28), transparent 60%),
    repeating-linear-gradient(0deg, rgba(120, 90, 50, 0.025) 0 1px, transparent 1px 4px);
  box-shadow: var(--schatten), inset 0 0 0 1px rgba(120, 90, 50, 0.18), inset 0 0 60px rgba(150, 110, 60, 0.18);
}
.wst-pergament::before,
.wst-pergament::after {
  content: "";
  position: absolute; left: -10px; right: -10px; height: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #6b2a17, #3d160b);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}
.wst-pergament::before { top: -8px; }
.wst-pergament::after { bottom: -8px; }
@media (max-width: 640px) { .wst-pergament { padding: 32px 22px 24px; } .wst-pergament::before, .wst-pergament::after { left: -4px; right: -4px; } }

.wst-pergament__abschnitt { scroll-margin-top: 96px; }
.wst-pergament__abschnitt + .wst-pergament__abschnitt { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--pergament-linie); }
.wst-pergament__abschnitt h2 { font-size: 1.6rem; color: var(--tinte); display: flex; align-items: center; gap: 12px; }
.wst-pergament__abschnitt h2::before { content: ""; width: 10px; height: 10px; background: var(--siegel); transform: rotate(45deg); flex: none; }
.wst-pergament__leer { color: var(--tinte-2); font-style: italic; margin: 0; }
.wst-pergament__fuss { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--pergament-linie); color: var(--tinte-2); font-size: 0.85rem; }

.wst-fliesstext { font-size: 1.04rem; line-height: 1.75; }
.wst-pergament .wst-fliesstext { font-family: var(--schrift); color: #33281f; }
.wst-fliesstext > *:last-child { margin-bottom: 0; }
.wst-fliesstext ul, .wst-fliesstext ol { padding-left: 1.4em; margin: 0 0 1em; }
.wst-fliesstext blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); font-style: italic; }
.wst-pergament .wst-fliesstext a { color: #9b3a12; text-decoration: underline; text-underline-offset: 2px; }

.wst-chronik { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.wst-chronik::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--siegel), var(--pergament-linie)); }
.wst-chronik li { position: relative; padding: 0 0 18px 34px; display: grid; gap: 2px; }
.wst-chronik li:last-child { padding-bottom: 0; }
.wst-chronik li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--pergament); border: 3px solid var(--siegel);
}
.wst-chronik__zeit { font-family: var(--schrift-titel); font-weight: 800; color: #8a2c13; }
.wst-chronik__text { color: #33281f; }

/* ---------------------------------------------------------------------
   Normale Seiten, Formulare, Mein Bereich
   ------------------------------------------------------------------- */
.wst-seite > .wst-fliesstext { max-width: 1000px; }
.wst-seite--formular > .wst-fliesstext { max-width: 900px; }
.wst-fliesstext .ws-liste, .wst-fliesstext .ws-spielerliste { padding: 0; margin: 0; }
.wst-fliesstext--hell h2 { font-size: 1.5rem; margin-top: 1.4em; }
.wst-fliesstext--hell h2:first-child { margin-top: 0; }

.ws-formular { display: flex; flex-direction: column; gap: 20px; }
.ws-block {
  margin: 0;
  padding: 26px 28px 28px;
  border: 1px solid var(--pergament-linie);
  border-radius: var(--radius);
  background: var(--pergament);
  color: var(--tinte);
  box-shadow: var(--schatten);
}
.ws-block legend {
  float: left; width: 100%;
  margin: 0 0 14px; padding: 0;
  font: 800 1.35rem/1.2 var(--schrift-titel);
  color: var(--tinte);
}
.ws-block legend + * { clear: both; }
.ws-block .ws-hinweis { color: var(--tinte-2); margin: 0 0 12px; }
.ws-block code { background: rgba(120, 90, 50, 0.12); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; }
.ws-block input[type="text"], .ws-block input[type="number"], .ws-block input[type="url"], .ws-block select, .ws-block textarea {
  background-color: #fffaf0;
  border-color: var(--pergament-linie);
  color: var(--tinte);
}
.ws-block ::placeholder { color: #a8957a; }
.ws-block select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b4a3a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }

.ws-raster { display: grid; gap: 16px; }
.ws-raster--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .ws-raster--2 { grid-template-columns: 1fr; } .ws-block { padding: 20px 18px; } }
.ws-feld { display: flex; flex-direction: column; gap: 6px; }
.ws-feld > span { font-size: 0.86rem; font-weight: 600; color: var(--tinte-2); }
.ws-feld em { color: var(--siegel); font-style: normal; }
.ws-feld--breit { grid-column: 1 / -1; }
.ws-haken { display: inline-flex; gap: 8px; align-items: center; font-size: 0.92rem; margin-top: 10px; cursor: pointer; }

.ws-bildwahl { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.ws-bildwahl__vorschau {
  width: 150px; aspect-ratio: 3 / 4; border-radius: var(--radius-klein); overflow: hidden;
  background: var(--pergament-2); border: 1px dashed var(--pergament-linie);
  display: grid; place-items: center; color: var(--tinte-2); font-size: 0.85rem;
}
.ws-bildwahl__vorschau img { width: 100%; height: 100%; object-fit: cover; }
.ws-bildwahl__steuerung { flex: 1; min-width: 200px; }
.ws-block .ws-knopf--leise { background: #fffaf0; color: var(--tinte); border-color: var(--pergament-linie); cursor: pointer; }
.ws-block .ws-knopf--leise:hover { background: #fff; color: var(--tinte); }

/* TinyMCE im Pergament */
.ws-block .wp-editor-wrap { border-radius: var(--radius-klein); overflow: hidden; border: 1px solid var(--pergament-linie); }
.ws-block .mce-tinymce { border: 0 !important; box-shadow: none !important; }
.ws-block .mce-top-part::before { box-shadow: none !important; }
.ws-block .mce-toolbar-grp { background: var(--pergament-2) !important; border-bottom: 1px solid var(--pergament-linie) !important; }
.ws-block .mce-btn { background: transparent !important; }
.ws-block .wp-editor-area { border: 0 !important; background: #fffaf0; color: var(--tinte); }
.ws-chronik-eingabe { font-family: var(--schrift); }

.ws-formular > .ws-aktionen {
  position: sticky; bottom: 0; z-index: 5;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(25, 20, 15, 0.92);
  border: 1px solid var(--linie);
  backdrop-filter: blur(10px);
}

.ws-bereich { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .ws-bereich { grid-template-columns: 1fr; } }
.ws-bereich h2 { font-size: 1.5rem; margin: 0; }
.ws-kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ws-bereich__profil {
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--linie); background: var(--nacht-2);
}
.ws-bereich__profil h2 { margin-bottom: 16px; font-size: 1.25rem; }
.ws-formular--schmal { gap: 14px; }
.ws-formular--schmal .ws-feld > span { color: var(--text-2); }
.ws-bereich__profil .ws-hinweis { margin-top: 16px; line-height: 1.9; }

.ws-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-liste__eintrag {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--linie); border-radius: var(--radius); background: var(--nacht-2);
}
.ws-liste__bild { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--nacht-4); display: grid; place-items: center; }
.ws-liste__bild img { width: 100%; height: 100%; object-fit: cover; }
.ws-liste__bild span { font: 800 1.4rem/1 var(--schrift-titel); color: var(--gold); }
.ws-liste__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.ws-liste__text strong { font-size: 1.05rem; }
.ws-liste__aktionen { display: flex; gap: 14px; font-size: 0.92rem; }
.ws-liste__aktionen a { color: var(--text-2); }
.ws-liste__aktionen a:hover { color: var(--text); }
.ws-liste__aktionen .ws-gefahr:hover { color: #ff8b80; }
@media (max-width: 560px) {
  .ws-liste__eintrag { grid-template-columns: 48px 1fr; }
  .ws-liste__bild { width: 48px; height: 48px; }
  .ws-liste__aktionen { grid-column: 1 / -1; padding-left: 4px; }
}
.ws-marke { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; border: 1px solid; }
.ws-marke--publish { color: #a9dcb1; border-color: rgba(111, 174, 122, 0.5); }
.ws-marke--draft { color: var(--text-2); border-color: var(--linie-stark); }
.ws-marke--pending { color: var(--gold); border-color: rgba(201, 162, 94, 0.5); }

/* Spielerliste & Spielerkopf */
.ws-spielerliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ws-spielerkarte {
  display: flex; gap: 16px; align-items: center; height: 100%;
  padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--linie); background: var(--nacht-2); color: var(--text);
  transition: border-color .2s, transform .2s;
}
.ws-spielerkarte:hover { color: var(--text); border-color: rgba(232, 105, 43, 0.5); transform: translateY(-2px); }
.ws-spielerkarte__initial, .wst-spielerkopf__initial {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--siegel); color: #fff4e3;
  font: 800 1.5rem/1 var(--schrift-titel);
}
.ws-spielerkarte__text { display: flex; flex-direction: column; min-width: 0; }
.ws-spielerkarte__text strong { font-size: 1.08rem; }
.ws-spielerkarte__text small { color: var(--text-3); font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.wst-spielerkopf { display: flex; gap: 22px; align-items: center; }
.wst-spielerkopf__initial { width: 84px; height: 84px; border-radius: 18px; font-size: 2.4rem; }
.wst-spielerkopf h1 { margin-bottom: 2px; }
.wst-spielerkopf__ueber { max-width: 70ch; color: var(--text-2); margin: 20px 0 0; white-space: normal; }

.wst-beitrag { padding: 24px 0; border-bottom: 1px solid var(--linie); }
.wst-beitrag h2 { font-size: 1.5rem; margin-bottom: 4px; }
.wst-beitrag h2 a { color: var(--text); }
.wst-beitrag__datum { color: var(--text-3); font-size: 0.88rem; }

/* ---------------------------------------------------------------------
   Fuß
   ------------------------------------------------------------------- */
.wst-fuss { border-top: 1px solid var(--linie); background: rgba(10, 8, 7, 0.6); padding: 36px 0; color: var(--text-3); font-size: 0.9rem; }
.wst-fuss__innen { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.wst-fuss__innen p { margin: 4px 0 0; max-width: 56ch; }
.wst-fuss__name { font-family: var(--schrift-titel); font-size: 1.1rem; color: var(--text); }
.wst-fuss__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }
.wst-fuss__links a { color: var(--text-2); }
.wst-fuss__links a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
