/* Board Game Tycoon – Website
   Palette und Typo folgen dem Spiel (ui/design/tokens.gd, Papier-Look). */

@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/LibreFranklin-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* SCENE_* Papier-Palette aus dem Spiel */
  --paper: #f6edd9;
  --panel: #ecdfc6;
  --card: #faf5e9;
  --note: #ddcfb0;
  --ink-title: #241c10;
  --ink: #2e2418;
  --ink-body: #54452f;
  --ink-soft: #6b5a44;
  --ink-muted: #8a7658;
  --accent: #a8542f;
  --accent-hover: #9e4526;
  --on-accent: #f9f1e3;
  --border-strong: #b3a084;
  --border-medium: #c4b393;
  --hairline: #d5c6a6;
  --dark: #26201a;
  --dark-border: #4c4234;
  --dark-text: #ecdfcd;
  --dark-text-2: #c0b09b;
  --ok: #3e6a3e;
  --warn: #96610f;

  --font-ui: "Libre Franklin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius-chip: 3px;
  --radius-control: 4px;
  --radius-card: 5px;
  --radius-panel: 6px;
  --radius-big: 8px;

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header (dunkle HUD-Leiste wie im Spiel) ---------- */

.site-header {
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  color: var(--dark-text);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}
.wordmark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-text);
  white-space: nowrap;
}
a.wordmark:hover { color: #fff; text-decoration: none; }
.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--dark-text-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.site-nav a:hover { color: var(--dark-text); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 24px;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.hero .tagline {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-title);
  margin: 0 0 14px;
}
.hero .lede {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--ink-body);
}
.hero-art {
  margin: 36px auto 0;
  max-width: 960px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-big);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  background: var(--dark);
}

/* ---------- Buttons ---------- */

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 12px 26px;
  border-radius: var(--radius-control);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: #8f4022;
}
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary {
  background: #f2e7d0;
  color: #4a3c2b;
  border-color: var(--border-medium);
}
.btn-secondary:hover { background: var(--card); color: var(--ink); }
.btn .btn-note {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.btn.is-disabled {
  background: var(--note);
  color: var(--ink-soft);
  border-color: var(--border-medium);
  cursor: default;
  box-shadow: none;
}
.btn.is-disabled:hover { background: var(--note); color: var(--ink-soft); }

/* ---------- Sektionen ---------- */

section { padding: 56px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink-title);
  margin: 6px 0 10px;
}
.section-head p { margin: 0; color: var(--ink-soft); }

/* ---------- Trailer ---------- */

.trailer-frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}
.trailer-frame img,
.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.trailer-placeholder img { filter: brightness(0.45) saturate(0.85); }
.trailer-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--dark-text);
}
.trailer-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(38, 32, 26, 0.9);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-chip);
  padding: 6px 14px;
}
.trailer-overlay p {
  margin: 0;
  font-size: 15px;
  color: var(--dark-text-2);
  max-width: 420px;
}
.trailer-play {
  appearance: none;
  border: 1px solid #8f4022;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 16px var(--font-ui);
  border-radius: var(--radius-control);
  padding: 12px 26px;
  cursor: pointer;
}
.trailer-play:hover { background: var(--accent-hover); }
.trailer-consent-note {
  font-size: 13px !important;
}

/* ---------- Fließtext (Gameplay) ---------- */

.prose {
  max-width: 680px;
  margin: 0 auto;
}
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--ink); }

/* ---------- Features ---------- */

.features { background: var(--panel); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.feature-card .kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-title);
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 15px;
  margin: 0;
  color: var(--ink-body);
}

/* ---------- Screenshots ---------- */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 18px;
}
.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.shot img { aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-top: 1px solid var(--hairline);
}
.shot-note {
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  margin: 22px 0 0;
}

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

.contact { text-align: center; }
.contact .mail {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
}

.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  color: var(--dark-text-2);
  font-size: 14px;
  padding: 28px 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--dark-text); font-weight: 600; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Rechtsseiten ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.legal h1 {
  font-size: 28px;
  color: var(--ink-title);
  margin: 0 0 24px;
}
.legal h2 {
  font-size: 19px;
  color: var(--ink-title);
  margin: 32px 0 10px;
}
.legal h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 22px 0 8px;
}
.legal p, .legal ul { margin: 0 0 14px; }
.legal address { font-style: normal; }
.legal .back {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; padding-top: 12px; padding-bottom: 12px; }
  section { padding: 42px 0; }
  .hero { padding-top: 40px; }
}
