@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("/fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/alegreya-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Prophecy – Classic-Horde in Glut und Eisen. Layout: Bild-Banner als Kopf mit Glutfunken, Titel in Goldschmiede-Schrift ragt ins Banner; darunter eine Spalte mit Spielfenstern. */
:root {
  --leder: #140d0b;        /* Seitengrund: verkohltes Leder */
  --holz: #221512;         /* Bänder, Leiste */
  --blut: #9b1a12;         /* Horde-Rot aus dem Banner */
  --blut-hell: #d13a1c;    /* Glut */
  --gold: #ffcf5a;         /* Fenstertitel wie im alten Interface */
  --text: #efe4d0;
  --grau: #a59a8a;
  --pergament: #e9d6a8;
  --tinte: #3a2413;
  --tooltip: #0e0c16;
  --rand: #a7a2a0;
  --gruen: #3ee23a;        /* "Anlegen:"-Zeilen */
  --episch: #b968ff;       /* epischer Itemname */
  --titel: "Marcellus", "Friz Quadrata", "Trajan Pro", Georgia, serif;
  --episch-schrift: "Cinzel", "Trajan Pro", "Friz Quadrata", Georgia, serif;
  --metall: linear-gradient(180deg, #fff4c8 0%, #ffd56a 38%, #c98a1f 62%, #ffe08a 100%);
  --fliess: "Alegreya Sans", "Gill Sans", "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--leder); color: var(--text); font-family: var(--fliess); font-size: 1.1rem; line-height: 1.6; }
a { color: var(--gold); text-underline-offset: 0.2em; }
a:focus-visible, .knopf:focus-visible, .knopf-leise:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rahmen { max-width: 46rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.leiste { background: var(--holz); border-bottom: 2px solid #0d0806; }
.leiste .rahmen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 0.7rem; }
.marke { display: flex; align-items: center; gap: 0.5rem; font-family: var(--titel); color: var(--gold); text-decoration: none; font-size: 1.15rem; }
.marke img { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; }
.leiste nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.98rem; }
.leiste nav a { color: var(--text); text-decoration: none; }
.leiste nav a:hover { color: var(--gold); }

.kopf { padding-bottom: 3rem; position: relative; }
.banner-rahmen { position: relative; max-width: 1400px; margin: 0 auto; }
.banner { display: block; }
.banner img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.funken { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kopf-text { position: relative; display: grid; gap: 0.9rem; margin-top: clamp(-7rem, -9vw, -2.5rem); }
.gildenname { font-family: var(--episch-schrift); font-weight: 900; font-size: clamp(2.6rem, 10vw, 5rem); line-height: 1; margin: 0; letter-spacing: 0.02em;
  background: var(--metall); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #2a0b06) drop-shadow(0 0 18px rgba(209, 58, 28, 0.55)); }
.gildenname .klammer { font-weight: 700; }
.kampfruf { font-family: var(--episch-schrift); font-weight: 700; color: var(--blut-hell); font-size: clamp(1.15rem, 3.5vw, 1.5rem); letter-spacing: 0.04em; margin: 0; text-shadow: 0 0 12px rgba(209, 58, 28, 0.6), 0 2px 0 #000; }
.unterzeile { margin: 0; max-width: 34em; font-size: 1.15rem; }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 0.5rem; }
.knopf { position: relative; display: inline-block; font-family: var(--episch-schrift); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; color: #ffe08a; text-decoration: none; text-shadow: 0 1px 0 #000, 0 0 8px rgba(0,0,0,0.6);
  background: linear-gradient(180deg, #d0331f 0%, #9b1a12 45%, #5e0a06 100%); padding: 0.8rem 1.8rem; border: 2px solid #e2b85a; border-radius: 3px;
  box-shadow: 0 0 0 2px #2a1508, 0 0 0 3px #8a6420, inset 0 1px 0 rgba(255, 230, 170, 0.5), inset 0 -4px 0 rgba(0, 0, 0, 0.35), 0 6px 18px rgba(209, 58, 28, 0.35); transition: filter 0.15s, transform 0.15s; }
.knopf:hover { filter: brightness(1.15); }
.knopf:active { transform: translateY(1px); filter: brightness(0.95); }
.knopf-leise { display: inline-block; font-family: var(--episch-schrift); font-weight: 700; font-size: 1rem; color: var(--gold); text-decoration: none; padding: 0.7rem 1.3rem; border: 2px solid #6b4a2a; border-radius: 3px; background: linear-gradient(180deg, #2a1c15, #150e0b); box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.15); }
.knopf-leise:hover { border-color: #c9a24a; }

.band { padding-block: 2.5rem; }
.band + .band { padding-top: 0.5rem; }
.band h2 { font-family: var(--episch-schrift); font-weight: 900; font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 1.1; margin: 0 0 1.25rem; text-wrap: balance; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 1rem; color: var(--gold); }
.band h2 span { background: var(--metall); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #2a0b06); }
.band h2::after { content: ""; flex: 1; min-width: 2rem; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7 L8 2 L16 7 L8 12 Z' fill='%23d13a1c'/%3E%3Cpath d='M20 7 H200' stroke='%23c9a24a' stroke-width='1.5'/%3E%3Cpath d='M20 9.5 H200' stroke='%235e0a06' stroke-width='1'/%3E%3C/svg%3E") left center / 100% 100% no-repeat; }

/* Questlog */
.quest { background: var(--pergament); color: var(--tinte); border: 3px solid #6b4a2a; border-radius: 4px; padding: 1.5rem clamp(1rem, 4vw, 2rem); box-shadow: 0 0 0 3px #1a110b, 0 8px 0 #0d0806; }
.quest h3 { font-family: var(--episch-schrift); font-weight: 700; font-size: 1.6rem; margin: 0 0 0.75rem; color: #2a1708; }
.quest h4 { font-family: var(--episch-schrift); font-weight: 700; font-size: 1.2rem; margin: 1.25rem 0 0.4rem; color: #2a1708; }
.quest p { margin: 0 0 0.75rem; max-width: 36em; }
.quest ol { margin: 0; padding-left: 1.4rem; display: grid; gap: 0.3rem; }
.belohnung { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.beute { display: flex; align-items: center; gap: 0.6rem; background: rgba(58,36,19,0.08); border: 1px solid rgba(58,36,19,0.35); padding: 0.4rem 0.7rem 0.4rem 0.4rem; border-radius: 3px; }
.beute .feld { width: 2.2rem; height: 2.2rem; border: 2px solid #6b4a2a; border-radius: 3px; background: #2b1d15; display: grid; place-items: center; }
.beute .feld svg, .beute .feld img { width: 1.5rem; height: 1.5rem; }
.beute .feld img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }

/* Tooltips */
.tooltips { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; align-items: start; }
.tooltip { background: var(--tooltip); border: 2px solid var(--rand); border-radius: 5px; box-shadow: inset 0 0 0 1px #3c3a44; padding: 0.9rem 1rem; font-size: 1rem; line-height: 1.45; min-width: 0; }
.tooltip .name { font-size: 1.15rem; font-weight: 500; margin: 0 0 0.2rem; }
.tooltip .episch { color: var(--episch); }
.tooltip .weiss { color: #ffffff; }
.tooltip p { margin: 0; }
.tooltip .zeile { display: flex; justify-content: space-between; gap: 1rem; color: #ffffff; }
.tooltip .gruen { color: var(--gruen); }
.tooltip .grau { color: var(--grau); }
.tooltip .gelb { color: var(--gold); font-style: italic; margin-top: 0.5rem; }
.tooltip .abstand { margin-top: 0.6rem; }

/* News */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid #4a3426; }
.news li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding-block: 0.8rem; border-bottom: 1px solid #4a3426; }
.news time { color: var(--grau); font-variant-numeric: tabular-nums; }

/* Guides */
.guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.guides a { display: inline-block; }
.guides span { color: var(--grau); font-size: 0.95rem; }

/* Bilder */
.bild-gross { margin: 0; }
.bild-gross img { display: block; width: 100%; max-width: 100%; height: auto; border: 3px solid #3a2a20; border-radius: 4px; }
.bild-gross figcaption { color: var(--grau); font-size: 0.95rem; margin-top: 0.5rem; }

.fuss { background: var(--holz); margin-top: 2rem; padding-block: 1.75rem 2.25rem; color: var(--grau); font-size: 0.95rem; }
.fuss .rahmen { display: grid; gap: 0.6rem; }
.fuss nav { display: flex; gap: 1.25rem; }
.fuss p { margin: 0; }
