/* GuildLoot · gemeinsamer Stil der Spielbereiche Anniversary und TBC.
   Angelehnt an die Forever-Zentrale (forever.html), ohne Blizzard-Logos oder -Bilder. */
:root {
  --nav: #07131d;
  --bg: #081923;
  --panel: #0d2430;
  --panel2: #102c38;
  --line: #245363;
  --cyan: #67e7ec;
  --gold: #ecd09a;
  --text: #f6fbfc;
  --muted: #aac2ca;
  --warn: #f2b45a;
  --warn-bg: rgba(130, 84, 18, .22);
  --ok: #7fe0a6;
  --accent: #67e7ec;
  --hero-a: rgba(36, 120, 132, .55);
  --hero-b: rgba(236, 208, 154, .18);
}
body[data-area="tbc"] {
  --accent: #9be36d;
  --hero-a: rgba(74, 140, 46, .5);
  --hero-b: rgba(120, 72, 170, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
a { color: var(--cyan); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }

/* Seitenleiste */
.side {
  position: sticky; top: 0; height: 100vh; padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #071824, #061018);
  overflow: auto;
}
.side-brand { display: block; text-decoration: none; }
.side-logo { display: block; margin: 0 auto 6px; width: 200px; max-width: 100%; height: auto; }
.side-edition {
  display: block; text-align: center; margin-bottom: 20px;
  color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
}
.nav { display: grid; gap: 4px; }
.nav small {
  display: block; margin: 16px 11px 6px; color: #6f9aa7; font-size: 11px;
  font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 13px;
  border: 1px solid transparent; border-radius: 9px;
  color: #dcebef; text-decoration: none; font-weight: 800;
}
.nav a i { width: 22px; color: var(--accent); font-style: normal; text-align: center; }
.nav a:hover, .nav a.active {
  border-color: #34758a;
  background: linear-gradient(90deg, rgba(55, 177, 191, .25), rgba(55, 177, 191, .04));
  color: #fff;
}
.nav a.current-area { border-color: var(--accent); }
.nav .back { margin-top: 18px; border-color: #8a6d35; color: var(--gold); }

/* Kopfbereich */
.main { min-width: 0; }
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 420px; padding: 58px clamp(24px, 5vw, 74px);
  background:
    radial-gradient(ellipse at 78% 18%, var(--hero-a), transparent 58%),
    radial-gradient(ellipse at 12% 90%, var(--hero-b), transparent 55%),
    linear-gradient(180deg, #0b2230, #081923);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { color: var(--accent); font-weight: 950; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }
.hero h1 { margin: 9px 0; color: var(--gold); font: 900 clamp(44px, 7vw, 84px)/.95 Georgia, serif; }
.hero h1 small { display: block; margin-top: 10px; font: 700 clamp(18px, 2.2vw, 24px)/1.2 Georgia, serif; color: #f3e3bf; }
.hero p { font-size: 18px; line-height: 1.6; color: #edf9fa; }
.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pill {
  padding: 8px 13px; border: 1px solid #3e8190; border-radius: 999px;
  background: rgba(8, 43, 55, .74); font-size: 13px; font-weight: 850;
}
.pill.accent { border-color: var(--accent); color: var(--accent); }

/* Inhalt */
.content { padding: 46px clamp(24px, 5vw, 74px) 70px; }
.section { margin: 0 0 64px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 19px; }
.section h2 { margin: 0; color: var(--gold); font: 850 32px Georgia, serif; }
.section-head p { max-width: 600px; margin: 0; color: var(--muted); line-height: 1.5; }
.card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(145deg, var(--panel2), var(--panel));
  box-shadow: 0 15px 38px rgba(0, 0, 0, .2);
}
.card .copy { padding: 21px; }
.card h3 { margin: 4px 0 8px; font-size: 21px; }
.card p { color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
.tag { color: var(--accent); font-size: 12px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.notice {
  padding: 16px 20px; border: 1px solid #7e6638; border-radius: 12px;
  background: rgba(95, 70, 24, .18); color: #e3d3a9; line-height: 1.6; margin-top: 18px;
}

/* Kennzeichen */
.flag {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; margin-left: 6px;
  border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .04em; vertical-align: middle;
  white-space: nowrap;
}
.flag.unsicher { color: var(--warn); background: var(--warn-bg); border: 1px solid #8a6326; }
.flag.offiziell { color: var(--ok); background: rgba(40, 120, 70, .18); border: 1px solid #2f7a4f; }
.flag.optional { color: var(--muted); border: 1px dashed #4a7684; }
.flag.size { color: #08202a; background: var(--accent); }
.flag.now { color: #08202a; background: var(--gold); }
.flag.next { color: var(--gold); border: 1px solid #8a6d35; }
.hint { display: block; margin-top: 6px; color: #d9c38f; font-size: 13px; line-height: 1.5; }
.hint::before { content: "Hinweis: "; font-weight: 800; }

/* Quellenverweise */
.refs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ref {
  display: inline-block; padding: 3px 8px; border: 1px solid #2d6474; border-radius: 6px;
  font-size: 12px; color: #9fd6dc; text-decoration: none; background: rgba(55, 177, 191, .08);
}
.ref:hover { border-color: var(--cyan); color: #fff; }
.ref.official { border-color: #2f7a4f; color: #a6ecc0; }

/* Fahrplan */
.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel);
}
.moment { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.moment.is-now { background: linear-gradient(180deg, rgba(236, 208, 154, .14), transparent); }
.moment.is-past { opacity: .78; }
.moment time { display: block; color: var(--accent); font-size: 19px; font-weight: 950; }
.moment b { display: block; margin: 6px 0; }
.moment .raids { color: var(--muted); font-size: 14px; line-height: 1.5; }
.moment .zeit { display: block; color: #8fb3bd; font-size: 12px; margin-top: 4px; }

/* Raids */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button {
  padding: 8px 14px; border: 1px solid #34758a; border-radius: 999px; cursor: pointer;
  background: rgba(55, 177, 191, .08); color: #dcebef; font: inherit; font-size: 14px; font-weight: 800;
}
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #08202a; }
.raid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.raid-card .copy { display: grid; gap: 4px; }
.raid-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; }
.raid-head h3 { margin: 0 6px 0 0; }
.raid-meta { color: var(--muted); font-size: 14px; }
.raid-meta strong { color: var(--text); }
.boss-list { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; gap: 6px; counter-reset: boss; }
.boss-list li {
  counter-increment: boss; padding: 8px 10px 8px 38px; position: relative;
  border-left: 3px solid var(--accent); background: rgba(68, 170, 183, .07); border-radius: 0 8px 8px 0;
}
.boss-list li::before {
  content: counter(boss); position: absolute; left: 10px; top: 8px; width: 20px;
  color: var(--accent); font-weight: 900; text-align: right; font-size: 13px;
}
.boss-list .token {
  display: inline-block; margin: 4px 6px 0 0; padding: 2px 8px; border-radius: 6px;
  background: rgba(236, 208, 154, .14); border: 1px solid #8a6d35; color: var(--gold); font-size: 12px; font-weight: 800;
}
.boss-list .bnote { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.extras { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
table.data { border-collapse: collapse; width: 100%; text-align: left; min-width: 560px; }
table.data th, table.data td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--panel2); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
table.data tr:last-child td { border-bottom: 0; }
table.data td small { color: var(--muted); }
.group-card .classes { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.group-card .classes span { padding: 4px 10px; border-radius: 999px; background: rgba(55, 177, 191, .12); border: 1px solid #2d6474; font-weight: 800; font-size: 13px; }

/* Vergleich der Bereiche */
.compare .card.current { border-color: var(--accent); }

/* Quellenliste */
.source-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.source-list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.source-list a { font-weight: 800; overflow-wrap: anywhere; }
.source-list .meta { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

footer { padding: 28px; border-top: 1px solid var(--line); color: #84a3ad; text-align: center; font-size: 14px; line-height: 1.6; }
.loading { color: var(--muted); }
.error { color: var(--warn); }

@media (max-width: 1100px) {
  .raid-grid, .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .side { position: relative; height: auto; padding: 13px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-logo { width: 150px; margin: 0 0 4px; }
  .side-edition { text-align: left; margin-bottom: 10px; }
  .nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .nav small { display: none; }
  .nav a { flex: 0 0 auto; padding: 8px 11px; font-size: 14px; }
  .nav .back { margin-top: 0; }
  .hero { min-height: 0; padding: 36px 16px 32px; }
  .hero p { font-size: 16px; }
  .content { padding: 30px 16px 50px; }
  .section-head { display: block; }
  .section-head p { margin-top: 9px; }
  .section h2 { font-size: 26px; }
  .raid-grid, .grid2, .grid3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  table.data { min-width: 0; }
  table.data th, table.data td { padding: 10px 8px; font-size: 13px; hyphens: auto; }
  table.data th { letter-spacing: 0; font-size: 11px; }
  table.data td small.tiername { display: none; }
  .moment { border-right: 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sources-details summary { cursor: pointer; font-weight: 800; color: var(--cyan); margin-bottom: 12px; }
