/* Gemeinsames Stylesheet aller Seiten. Farben je Seite über data-site am <html>. */
:root {
  --bg: #121212;
  --bg-2: #1b1b1d;
  --bg-3: #26262a;
  --text: #f2efe9;
  --text-2: #b9b4aa;
  --line: #34343a;
  --accent: #f5b82e;
  --accent-text: #15110d;
  --radius: 14px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}
[data-site="iow"] { --accent: #e8692e; --accent-text: #120c08; --bg: #0f0d0c; --bg-2: #1a1614; --bg-3: #241e1b; }
[data-site="shady"] { --accent: #ffcf3f; --accent-text: #1a1206; --bg: #141110; --bg-2: #1f1a17; --bg-3: #2a231f; }
[data-site="memefarm"] { --accent: #7cc24a; --accent-text: #0e1a07; --bg: #10140e; --bg-2: #192015; --bg-3: #222b1d; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { overflow-wrap: anywhere; font-family: var(--font-head); line-height: 1.15; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 0.4em; font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 0.6em; font-weight: 800; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.muted { color: var(--text-2); }
.small { font-size: 0.88rem; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang { font-size: 0.85rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--text-2); text-decoration: none; }

/* Kopfbild */
.hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 45%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 48px; width: 100%; }
.hero .tag { font-size: clamp(1.1rem, 2.6vw, 1.5rem); max-width: 40ch; }
.hero-plain { padding: 96px 0 56px; }

.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.ghost { color: var(--text); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }

/* Raster */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.game { overflow: hidden; padding: 0; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.game img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.game .body { padding: 18px 20px 22px; }
.pill { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--bg-3); color: var(--text-2); margin-bottom: 8px; }

.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.features li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.features li strong { display: block; color: var(--accent); margin-bottom: 2px; }

.shots { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.shots.portrait { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.shots img { border-radius: 10px; border: 1px solid var(--line); width: 100%; }

/* Fahrplan */
.road { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.road li { position: relative; padding: 0 0 22px 24px; }
.road li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.road li.done::before { background: var(--accent); border-color: var(--accent); }
.road li.next::before { border-color: var(--accent); }
.road .when { font-weight: 700; color: var(--accent); display: block; }

/* Fakten-Tabelle (Presse) */
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 34%; color: var(--text-2); font-weight: 600; }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.note { background: var(--bg-3); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; margin: 0 0 24px; }
.ph { background: #ffe58a; color: #000; padding: 0 4px; border-radius: 3px; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line); color: var(--text-2); font-size: 0.92rem; }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--text-2); font-size: 0.9rem; }
.foot .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--text-2); }

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .hero { min-height: 62vh; }
  .nav { gap: 12px; width: 100%; margin-left: 0; padding-bottom: 8px; }
  .facts th { width: 40%; }
}
