/* Selbst gehostete Fonts (kein Google-CDN, DSGVO-freundlich) */
@font-face { font-family: "Monoton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/monoton-400.woff2") format("woff2"); }
@font-face { font-family: "Righteous"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/righteous-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2"); }

/* ==========================================================
   GTA6Guide – Designsystem
   Palette:  bg #0d0221 · pink #ff2e88 · orange #ff8c42
             violett #7b2ff7 · cyan #2de2e6
   Fonts:    Monoton (Logo) · Righteous (Headings) · Inter (Text)
   ========================================================== */

:root {
  --bg: #0d0221;
  --bg-raised: #160934;
  --bg-card: #1b0d3d;
  --pink: #ff2e88;
  --orange: #ff8c42;
  --violet: #7b2ff7;
  --cyan: #2de2e6;
  --text: #eee6ff;
  --text-dim: #a99cc9;
  --line: rgba(123, 47, 247, 0.35);
  --radius: 0px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3 { font-family: "Righteous", "Inter", sans-serif; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: 0.9rem; font-weight: 400; }
h3 { font-size: 1.02rem; margin-bottom: 0.45rem; font-weight: 400; }
p  { margin-bottom: 1rem; color: var(--text); }
a  {
  color: var(--cyan);
  text-decoration-color: rgba(45, 226, 230, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover { color: var(--pink); text-decoration-color: rgba(255, 46, 136, 0.5); }

.eyebrow {
  display: block;
  font: 600 0.72rem "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--pink);
  margin-bottom: 0.4rem;
}
:target, section[id] { scroll-margin-top: 4.5rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 2, 33, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.6rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.logo {
  font-family: "Monoton", cursive;
  font-size: 1.3rem;
  color: var(--pink);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(255, 46, 136, 0.7);
  white-space: nowrap;
}
.logo span { color: var(--cyan); text-shadow: 0 0 12px rgba(45, 226, 230, 0.7); }
.nav-links { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-left: auto; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.88rem;
  padding: 0.35rem 0.65rem; border-radius: 8px;
}
.nav-links a:hover { color: var(--text); background: rgba(123, 47, 247, 0.2); }
.nav-links a.active { color: var(--cyan); }

/* ---------- Hero mit Retrowave-Horizont (Signature) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 1.25rem 5.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 2, 33, 0.55) 0%, rgba(13, 2, 33, 0.35) 45%, rgba(13, 2, 33, 0.9) 100%),
    url("../assets/hero-bg.webp") center 35% / cover no-repeat,
    var(--bg);
}
.hero > * { position: relative; z-index: 2; }

.hero h1 {
  font-family: "Monoton", cursive;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 4.2rem);
  color: var(--text);
  text-shadow:
    0 0 8px rgba(255, 46, 136, 0.9),
    0 0 28px rgba(255, 46, 136, 0.6),
    0 0 60px rgba(123, 47, 247, 0.5);
  margin-bottom: 0.5rem;
}
.hero .sub {
  color: var(--text-dim);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-bottom: 2.25rem;
}
.hero .sub strong { color: var(--cyan); font-weight: 600; }

/* ---------- Countdown ---------- */

.countdown {
  display: flex; justify-content: center; gap: clamp(0.5rem, 2vw, 1.25rem);
  flex-wrap: wrap;
}
.cd-box {
  min-width: clamp(70px, 18vw, 110px);
  padding: 0.9rem 0.5rem 0.7rem;
  background: rgba(13, 2, 33, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(45, 226, 230, 0.25);
  border-top: 2px solid var(--cyan);
}
.cd-num {
  display: block;
  font-family: "Righteous", sans-serif;
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(45, 226, 230, 0.45);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cd-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-dim);
}

/* ---------- Sektionen & Karten ---------- */

.section { padding: 3rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section .lead { color: var(--text-dim); max-width: 640px; }

.tiles {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1.5rem;
}
.tile {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 46, 136, 0.6);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.tile h3 { color: var(--cyan); }
.tile p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }

.card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-raised) 100%);
  border: 1px solid rgba(123, 47, 247, 0.25);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
}
.card > p:last-child, .card > ul:last-child, .card > ol:last-child { margin-bottom: 0; }

/* ---------- Status-Badges: Offiziell vs. Spekulation ---------- */

.badge {
  display: inline-block;
  font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em;
  padding: 0.14rem 0.45rem; border-radius: 2px;
  vertical-align: 0.12em;
}
.badge-official   { background: rgba(45, 226, 230, 0.15); color: var(--cyan);  border: 1px solid rgba(45, 226, 230, 0.5); }
.badge-rumor      { background: rgba(255, 140, 66, 0.15); color: var(--orange); border: 1px solid rgba(255, 140, 66, 0.5); }
.badge-unknown    { background: rgba(169, 156, 201, 0.12); color: var(--text-dim); border: 1px solid rgba(169, 156, 201, 0.4); }
.badge-series     { background: rgba(123, 47, 247, 0.18); color: #b892ff; border: 1px solid rgba(123, 47, 247, 0.6); }

/* ---------- Timeline ---------- */

.timeline { list-style: none; margin-top: 1.5rem; position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--pink));
}
.timeline li { position: relative; padding: 0 0 1.5rem 1rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.5rem; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px rgba(45, 226, 230, 0.9);
}
.timeline time { display: block; font-weight: 600; color: var(--pink); font-size: 0.9rem; }

/* ---------- Tabellen ---------- */

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
th { color: var(--cyan); font-family: "Righteous", sans-serif; font-weight: 400; }

/* ---------- Platzhalter ---------- */

.placeholder {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2rem; text-align: center; color: var(--text-dim);
  margin-top: 1rem;
}

/* ---------- Guide-Listen ---------- */

.guide-list { margin: 0.5rem 0 0.5rem 1.25rem; }
.guide-list li { margin-bottom: 0.6rem; }
.guide-list li::marker { color: var(--cyan); font-weight: 600; }

/* ---------- News-Karten ---------- */

.news-item { border-left: 3px solid var(--text-dim); padding-left: 1.35rem; }
.news-item.is-official { border-left-color: var(--cyan); }
.news-item.is-rumor { border-left-color: var(--orange); }
.news-meta {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.news-meta time {
  font: 600 0.72rem "Inter", sans-serif;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-dim);
}
.news-item h3 { margin-bottom: 0.4rem; }
.news-item p { margin: 0; font-size: 0.94rem; }
.news-item .src { font-size: 0.85rem; white-space: nowrap; }

/* ---------- News-Filter-Tabs ---------- */

.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.filter-tabs .tab {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 0.45rem 1rem;
  font: 600 0.9rem "Inter", sans-serif;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.filter-tabs .tab:hover { color: var(--text); }
.filter-tabs .tab.active {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(45, 226, 230, 0.1);
}

/* ---------- Eigenwerbung ---------- */

.promo {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(123, 47, 247, 0.12), transparent 60%),
    #10062b;
  padding: 3.25rem 0;
}
.promo h2 { margin-bottom: 1.25rem; }
.promo-actions {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.promo-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.promo-card {
  position: relative;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-raised) 100%);
  border: 1px solid rgba(123, 47, 247, 0.25);
  border-top: 2px solid var(--accent, var(--cyan));
  padding: 1.3rem 1.4rem 1.2rem;
  text-decoration: none; color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4); color: var(--text); }
.promo-card .promo-icon {
  width: 34px; height: 34px;
  color: var(--accent, var(--cyan));
  margin-bottom: 0.35rem;
}
.promo-card .promo-icon svg { width: 100%; height: 100%; }
.promo-card strong {
  font-family: "Righteous", sans-serif; font-weight: 400;
  font-size: 1rem; color: var(--text);
}
.promo-card span { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.promo-card::after {
  content: "→";
  position: absolute; top: 1.1rem; right: 1.2rem;
  color: var(--accent, var(--cyan));
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.promo-card:hover::after { opacity: 1; transform: translateX(0); }
.promo-card.acc-green { --accent: #3ddc84; }
.promo-card.acc-yellow { --accent: #ffd166; }
.promo-card.acc-amber { --accent: var(--orange); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid rgba(123, 47, 247, 0.2);
  padding: 2rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.7;
}
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--cyan); }
.footer .disclaimer { max-width: 620px; margin: 0 auto 0.75rem; }

/* ---------- Motion ---------- */

.tile img.icon { width: 28px; height: 28px; margin-bottom: 0.5rem; display: block; }

/* ---------- Fokus ---------- */

/* ---------- Keydates (Startseite) ---------- */

.keydates {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 1.25rem; margin-bottom: 1rem;
}
.keydate {
  display: flex; flex-direction: column; gap: 0.3rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  padding: 1.1rem 1.2rem;
  text-decoration: none; color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.keydate:hover { transform: translateY(-2px); border-top-color: var(--pink); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35); }
.kd-date {
  font-family: "Righteous", sans-serif;
  font-size: 1.55rem; color: var(--cyan);
  line-height: 1.1;
}
.keydate:nth-child(2) .kd-date { color: var(--orange); }
.keydate:nth-child(3) .kd-date { color: var(--pink); }
.keydate:nth-child(4) .kd-date { color: #b892ff; }
.kd-title { font-family: "Righteous", sans-serif; font-size: 1.05rem; }
.kd-sub { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Button ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.25rem;
  background: transparent; color: var(--cyan);
  border: 1px solid rgba(45, 226, 230, 0.55);
  padding: 0.6rem 1.15rem;
  font: 600 0.88rem "Inter", sans-serif;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: rgba(45, 226, 230, 0.1); color: var(--cyan); border-color: var(--cyan); }
.btn svg { width: 15px; height: 15px; flex: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
