/* =========================================================================
   DIE RABEN ODINS — Seitenbausteine
   Hero, Serverkarten, Rates, Regelwerk, Spenden, Guide, News, Kontakt.
   Grundlagen (Farben, Buttons, Karten) stehen in style.css.
   ========================================================================= */

/* Platzhalter für den per JS eingesetzten Rahmen — verhindert Layoutsprünge */
#site-header { display: block; min-height: 75px; }
#site-footer { display: block; min-height: 260px; }

/* ============================================================ 1. HERO === */

/* Das Siegel ist die Bühne: links das Wort, rechts das Wappen im
   kreisenden Runenring. Sonst nichts — der Name trägt die Seite. */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Gedeckelt, damit auf sehr hohen Bildschirmen kein Leerraum entsteht —
     der Inhalt bestimmt die Höhe, der Viewport nur die Untergrenze. */
  min-height: min(calc(100svh - 105px), 860px);
  padding: 84px 0 96px;
  overflow: hidden;
}

/* Ein einziger, ruhiger Lichtschein hinter dem Siegel. */
.hero__aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at 74% 44%, rgb(201 162 79 / 7%), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgb(13 13 16 / 90%), transparent 60%);
  animation: aura-breathe 12s ease-in-out infinite alternate;
}
@keyframes aura-breathe {
  from { opacity: 0.75; }
  to { opacity: 1; }
}
/* Haarfeine Senkrechte am linken Satzspiegel — der Runensteg. */
.hero__aura::before {
  content: '';
  position: absolute;
  left: max(calc((100% - var(--shell)) / 2 + var(--gutter)), var(--gutter));
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero__copy { padding-left: 34px; }

/* Huginn ᛫ Muninn — die Raben stehen über allem. */
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero__kicker .rune-glyph {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.hero__title {
  margin-top: 30px;
  font-size: clamp(3rem, 7.4vw, 5.6rem);
  line-height: 1.04;
  color: var(--ink);
}
/* „Odins" trägt einen langsamen Lichtstreif — wie Fackelschein auf Messing. */
.hero__title em {
  font-style: normal;
  color: var(--gold);
  background: linear-gradient(100deg,
    var(--gold) 0%, var(--gold) 42%,
    var(--gold-bright) 50%,
    var(--gold) 58%, var(--gold) 100%);
  background-size: 250% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-sheen 9s ease-in-out infinite;
}
@keyframes title-sheen {
  0% { background-position: 200% 0; }
  42% { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}

.hero__slogan {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 44ch;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

.hero__text {
  margin-top: 18px;
  color: var(--ink-muted);
  max-width: 52ch;
}

.hero .btn-row { margin-top: 40px; }

/* Die Fakten als eine Zeile, durch Runenpunkte getrennt — keine Pillen. */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin-top: 44px;
}
.hero__badges .tag {
  border: none;
  padding: 0;
  background: none;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}
.hero__badges .tag + .tag::before {
  content: '᛫';
  font-family: var(--font-rune);
  color: var(--gold-dim);
  margin: 0 14px;
}

/* Das Siegel im Runenring */
.hero__sigil {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.hero__sigil img {
  position: relative;
  z-index: 1;
  width: min(360px, 78%);
  filter: drop-shadow(0 34px 60px rgb(0 0 0 / 65%));
  animation: sigil-float 9s ease-in-out infinite alternate;
}
@keyframes sigil-float {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}
.hero__ring {
  position: absolute;
  width: min(560px, 115%);
  aspect-ratio: 1;
  color: var(--gold);
  opacity: 0.22;
  animation: ring-turn 240s linear infinite;
}
.hero__ring text {
  font-family: var(--font-rune);
  font-size: 21px;
  letter-spacing: 10.8px;
  fill: currentColor;
}
@keyframes ring-turn { to { transform: rotate(360deg); } }

/* Die Reiche: das Zahlenband unter dem Hero */
.hero__ledger {
  margin-top: 84px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__ledger h2 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.24s ease;
}
.hero__cue:hover { color: var(--gold); }
.hero__cue span {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, var(--gold-dim), transparent);
  animation: cue-slide 2.8s ease-in-out infinite;
}
@keyframes cue-slide {
  0%, 100% { opacity: 0.3; transform: translateY(-6px); }
  50% { opacity: 1; transform: translateY(6px); }
}

@media (max-width: 980px) {
  .hero { padding: 56px 0 88px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__sigil { order: -1; min-height: 0; }
  .hero__sigil img { width: min(230px, 56%); }
  .hero__ring { width: min(340px, 92%); }
  .hero__copy { padding-left: 0; }
  .hero__aura::before { display: none; }
  .hero__ledger { margin-top: 56px; }
}

/* Grosses Zitat statt eines zweiten Siegel-Bilds — ersetzt das Foto neben
   dem Über-uns-Text. Nutzt nur Typografie, kein zweites Logo-Motiv. */
.pull-quote {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 32px;
  border-left: 2px solid var(--gold-dim);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.pull-quote__runes {
  display: block;
  margin-top: 26px;
  font-family: var(--font-rune);
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--gold-dim);
}
@media (max-width: 980px) {
  .pull-quote { padding-left: 22px; }
}

/* ================================================= 2. STATUS & KACHELN === */

.status { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; }
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--off);
  flex: 0 0 auto;
}
.status--online .status__dot {
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 8%, transparent); }
}
.status--offline .status__dot { background: var(--blood); }
.status--loading .status__dot { background: var(--steel); animation: pulse-dim 1.4s ease-in-out infinite; }
@keyframes pulse-dim { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.status--error .status__dot { background: var(--warn); }
.status--online .status__text { color: var(--ok); font-weight: 600; }
.status--offline .status__text { color: #c9736c; font-weight: 600; }
.status--unknown .status__text,
.status--loading .status__text,
.status--error .status__text { color: var(--ink-dim); }

.status__mock {
  padding: 1px 7px;
  border: 1px solid var(--warn);
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status__ping { margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-dim); }
.status__players {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink);
}
.status__bar {
  margin-top: 8px;
  height: 3px;
  background: var(--surface-3);
  overflow: hidden;
}
.status__bar span {
  display: block;
  height: 100%;
  background: var(--gold);
}
.status__load { display: block; margin-top: 5px; font-size: 0.74rem; color: var(--ink-dim); }

/* Zahlen wie in einem Kontobuch: linksbündig, von Haarlinien gegliedert. */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
}
.stat-tile {
  padding: 6px 26px 8px 22px;
  border-left: 1px solid var(--line-strong);
  text-align: left;
}
.stat-tile__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold);
}
.stat-tile__label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.stat-tile__hint { display: block; margin-top: 4px; font-size: 0.74rem; color: var(--ink-dim); }

.empty-state {
  padding: 46px 24px;
  border: 1px dashed var(--line-strong);
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.94rem;
}
.empty-state--sm { padding: 20px 16px; font-size: 0.88rem; }

/* ==================================================== 3. VERBINDUNG ===== */

.connect-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.connect-row:last-child { border-bottom: none; }
.connect-row__label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.connect-row__value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink);
}
.connect-row__value--empty { color: var(--ink-dim); font-style: italic; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn:hover { border-color: var(--gold-dim); color: var(--gold); }

/* ====================================================== 3.5 MERKMALE ==== */

/* Ein zusammenhängendes Panel statt loser Karten — dieselbe Sprache wie
   die Rates-Leiste darunter. Zwei Spalten auf breiten Bildschirmen, damit
   es wie eine gesetzte Übersicht wirkt und nicht wie ein Icon-Raster. */
.feature-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 30px;
  background: var(--surface);
  transition: background 0.25s ease;
}
.feature-row:hover { background: var(--surface-2); }
.feature-row__icon {
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--gold);
}
.feature-row__icon svg { width: 100%; height: 100%; }
.feature-row__body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.feature-row__body p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
@media (max-width: 720px) {
  .feature-panel { grid-template-columns: 1fr; }
}

/* ======================================================== 4. RATES ====== */

.rates-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.rate-card {
  position: relative;
  padding: 34px 16px 30px;
  background: var(--surface);
  text-align: center;
  transition: background 0.25s ease;
}
.rate-card:hover { background: var(--surface-2); }
.rate-card::after {
  content: '';
  position: absolute;
  inset: auto 30% 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.rate-card:hover::after { opacity: 0.7; }
.rate-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.rate-card__label {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.rate-card__hint { display: block; margin-top: 4px; font-size: 0.74rem; color: var(--ink-dim); }

/* ================================================== 5. SERVERKARTEN ===== */

.server-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid color-mix(in srgb, var(--accent, var(--gold-dim)) 70%, transparent);
}
.server-card::after {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent, var(--gold)) 85%, transparent), transparent 70%);
}
.server-card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--gold-dim)) 45%, var(--line));
}
.server-card__rune {
  position: absolute;
  right: 12px;
  bottom: 4px;
  font-family: var(--font-rune);
  font-size: 5.4rem;
  line-height: 1;
  color: color-mix(in srgb, var(--accent, var(--gold-dim)) 13%, transparent);
  pointer-events: none;
  transition: color 0.3s ease;
}
.server-card:hover .server-card__rune {
  color: color-mix(in srgb, var(--accent, var(--gold-dim)) 22%, transparent);
}
.server-card__head h3 { margin: 10px 0 2px; font-size: 1.28rem; }
.server-card__map {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.server-card__status {
  padding: 13px 0;
  border-block: 1px solid var(--line);
}
.server-card__text { color: var(--ink-muted); font-size: 0.92rem; }
.server-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  transition: gap 0.22s ease, color 0.22s ease;
}
.server-card__link svg { width: 15px; height: 15px; }
.server-card:hover .server-card__link { color: var(--gold); gap: 13px; }

.server-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-btn:hover { border-color: var(--gold-dim); color: var(--ink); }
.filter-btn[aria-pressed='true'] {
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border-color: var(--gold-dim);
  color: var(--gold);
}
.filter-btn .count { font-size: 0.66rem; opacity: 0.7; margin-left: 6px; }

.search-field { position: relative; flex: 1 1 220px; min-width: 200px; margin-left: auto; }
.search-field svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--ink-dim);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.search-field input::placeholder { color: var(--ink-dim); }

.server-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.server-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.server-pill:hover { border-color: var(--gold-dim); color: var(--ink); background: var(--surface-2); }
.server-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--off); }
.server-pill__dot[data-state='online'] { background: var(--ok); }
.server-pill__dot[data-state='offline'] { background: var(--blood); }
.server-pill__dot[data-state='loading'] { background: var(--steel); animation: pulse-dim 1.4s ease-in-out infinite; }
.server-pill__players { font-size: 0.7rem; color: var(--ink-dim); }

/* Serverdetail */
.server-detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 34px; }
.server-detail__aside { display: grid; gap: 20px; align-content: start; }
.detail-block { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.detail-block h2, .detail-block h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.detail-block p { color: var(--ink-muted); font-size: 0.94rem; }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.detail-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}
.detail-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold-dim);
}
.prose-block p + p { margin-top: 14px; }

@media (max-width: 880px) { .server-detail { grid-template-columns: 1fr; } }

/* ======================================================= 6. REGELWERK === */

.rules-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 40px; align-items: start; }
.rules-nav { position: sticky; top: 130px; display: grid; gap: 4px; }
.rules-nav h2 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}
.rules-nav a {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-left: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.88rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.rules-nav a:hover { border-color: var(--gold); color: var(--ink); background: var(--surface); }
.rules-nav a .num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-dim); }

.rule-section {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  scroll-margin-top: 100px;
}
.rule-section[open] { border-color: color-mix(in srgb, var(--gold-dim) 55%, var(--line)); }
.rule-section__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}
.rule-section__head::-webkit-details-marker { display: none; }
.rule-section__head:hover { background: var(--surface-2); }
.rule-section__rune {
  font-family: var(--font-rune);
  font-size: 1.7rem;
  color: var(--gold);
  flex: 0 0 auto;
}
.rule-section__titles { display: grid; gap: 2px; flex: 1; }
.rule-section__numeral {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}
.rule-section__title { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.rule-section__desc { font-size: 0.85rem; color: var(--ink-muted); }
.rule-section__chev { color: var(--ink-dim); transition: transform 0.24s ease; }
.rule-section[open] .rule-section__chev { transform: rotate(180deg); }
.rule-section__body { padding: 4px 22px 24px; border-top: 1px solid var(--line); }

.rule-group { margin-top: 22px; }
.rule-group__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}
.rule-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.rule {
  position: relative;
  padding: 12px 16px 12px 22px;
  border-left: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface-2) 60%, transparent);
}
.rule--important {
  border-left-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 6%, var(--surface-2));
}
.rule__title { display: block; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.rule__text { color: var(--ink-muted); font-size: 0.94rem; }
.rule-section__body .note { margin-top: 20px; }

.rules-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.rules-toolbar .search-field { margin-left: 0; }

mark { background: color-mix(in srgb, var(--gold) 30%, transparent); color: var(--ink); }

@media (max-width: 900px) {
  .rules-layout { grid-template-columns: 1fr; gap: 24px; }
  .rules-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .rules-nav h2 { width: 100%; }
  .rules-nav a { border-left: none; border: 1px solid var(--line); padding: 7px 13px; }
}

/* ========================================================= 7. SPENDEN === */

.donation-card { display: flex; flex-direction: column; text-align: center; }
.donation-card--featured {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
}
.donation-card--featured::after { opacity: 1; }
.donation-card__flag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.donation-card .card__rune { margin-inline: auto; }
.donation-card__amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.donation-card h3 { margin-top: 12px; font-size: 1.16rem; }
.donation-card__subtitle { color: var(--ink-dim); font-size: 0.86rem; font-style: italic; margin-top: 4px; }
.donation-card__rewards {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 9px;
  text-align: left;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.donation-card__rewards li { position: relative; padding-left: 20px; }
.donation-card__rewards li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 9px;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold-dim);
}
.donation-card__pending {
  margin: 20px 0;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  color: var(--ink-dim);
  font-size: 0.86rem;
}
.donation-card .btn { margin-top: auto; }

.usage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.usage-list li { display: flex; gap: 14px; align-items: flex-start; }
.usage-list .usage-rune { color: var(--gold); font-family: var(--font-rune); font-size: 1.1rem; line-height: 1.4; }
.usage-list strong { display: block; color: var(--ink); }
.usage-list span { color: var(--ink-muted); font-size: 0.92rem; }

/* =========================================================== 8. GUIDE === */

.guide-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 44px; align-items: start; }
.guide-nav { position: sticky; top: 130px; display: grid; gap: 3px; }
.guide-nav h2 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}
.guide-nav a {
  padding: 8px 12px;
  border-left: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.88rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.guide-nav a:hover { border-color: var(--gold); color: var(--ink); background: var(--surface); }

.guide-section { margin-bottom: 64px; scroll-margin-top: 100px; }
.guide-section__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.guide-section__rune {
  font-family: var(--font-rune);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
  flex: 0 0 auto;
}
.guide-section__head h2 { font-size: 1.7rem; }
.guide-section__head .lede { font-size: 0.98rem; margin-top: 8px; }

.guide-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 2px; }
.guide-step {
  display: flex;
  gap: 20px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.guide-step + .guide-step { border-top: none; }
.guide-step__num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  flex: 0 0 auto;
  color: var(--gold);
}
.guide-step h3 { font-size: 1.05rem; margin-bottom: 5px; }
.guide-step p { color: var(--ink-muted); font-size: 0.94rem; }
.guide-entry h3 { font-size: 1.02rem; }

.command-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.command-table th {
  text-align: left;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
}
.command-table td { padding: 11px 12px; border-top: 1px solid var(--line); color: var(--ink-muted); }
.command-table code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gold);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 22px; }
  .guide-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .guide-nav h2 { width: 100%; }
  .guide-nav a { border-left: none; border: 1px solid var(--line); padding: 7px 13px; }
}

/* ==================================================== 9. NEWS & EVENTS == */

.news-card__meta,
.news-article .news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
}
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  transition: gap 0.2s, color 0.2s;
}
.news-card__link svg { width: 15px; height: 15px; }
.news-card:hover .news-card__link { color: var(--gold); gap: 12px; }

.news-article {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.news-article h2 { font-size: 1.7rem; margin-bottom: 14px; }
.news-article__image { margin: 18px 0; border: 1px solid var(--line); }
.news-article__body { color: var(--ink-muted); }
.news-article__body p + p { margin-top: 14px; }
.news-article__body ul { padding-left: 20px; }

.event-card { display: flex; gap: 20px; align-items: flex-start; }
.event-card__date {
  flex: 0 0 auto;
  width: 62px;
  padding: 12px 0;
  border: 1px solid color-mix(in srgb, var(--gold-dim) 60%, var(--line));
  text-align: center;
  background: color-mix(in srgb, var(--gold) 7%, transparent);
}
.event-card__day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.event-card__month {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}
.event-card__meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-dim); margin: 4px 0 8px; }
.event-card .btn { margin-top: 12px; }

/* =================================================== 10. DISCORD-CTA ==== */

.discord-section { padding-top: 0; }
.discord-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 56px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
/* Innenrahmen aus Gold — wie ein Beschlag auf einer Truhe */
.discord-cta::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  pointer-events: none;
}
.discord-cta__glow {
  position: absolute;
  right: -60px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 10%, transparent), transparent 68%);
  pointer-events: none;
}
.discord-cta__body { position: relative; max-width: 56ch; }
.discord-cta__body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.discord-cta__hint { margin-top: 12px; font-size: 0.84rem; color: var(--ink-dim); font-style: italic; }
.discord-cta__action { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ================================================== 11. SHOP-TEASER ===== */

.shop-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr); gap: 44px; align-items: center; }
.shop-teaser__categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.shop-cat { padding: 18px 16px; background: var(--surface); transition: background 0.2s ease; }
.shop-cat:hover { background: var(--surface-2); }
.shop-cat__name { display: block; font-family: var(--font-display); font-size: 0.92rem; color: var(--ink); }
.shop-cat__count { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); }
@media (max-width: 880px) { .shop-teaser { grid-template-columns: 1fr; gap: 28px; } }

/* ================================================= 12. TEXTSEITEN ======= */

.prose { max-width: 76ch; }
.prose h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.prose h3 { font-size: 1.08rem; margin: 26px 0 10px; color: var(--gold); }
.prose p { color: var(--ink-muted); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { color: var(--ink-muted); padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 7px; }
.prose a { color: var(--gold); border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.prose a:hover { border-bottom-color: var(--gold); }
.prose .placeholder {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed color-mix(in srgb, var(--blood) 60%, transparent);
  background: color-mix(in srgb, var(--blood) 12%, transparent);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #cf8a84;
}

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 12px; }
.contact-card .card__icon { margin-bottom: 6px; }
.contact-card dl { margin: 0; display: grid; gap: 10px; }
.contact-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.contact-card dd { margin: 0; color: var(--ink); font-family: var(--font-mono); font-size: 0.94rem; }

/* ========================================================== 13. 404 ===== */

.notfound {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px 0;
  text-align: center;
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 10rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.notfound h1 { margin-top: 12px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.notfound p { margin-top: 16px; color: var(--ink-muted); max-width: 46ch; }
.notfound .btn-row { margin-top: 30px; justify-content: center; }
