/* Website von AI Games (tools/site.mjs baut die Seiten): dunkel wie das Spiel, Schriften aus dem Spielpaket */
@font-face { font-family: 'Cinzel'; font-weight: 500; font-display: swap; src: url(cinzel-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(cinzel-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-weight: 400; font-display: swap; src: url(eb-garamond-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'EB Garamond'; font-weight: 400; font-display: swap; src: url(eb-garamond-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-weight: 600; font-display: swap; src: url(eb-garamond-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'EB Garamond'; font-weight: 600; font-display: swap; src: url(eb-garamond-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-weight: 400; font-style: italic; font-display: swap; src: url(eb-garamond-latin-400-italic.woff2) format('woff2'); }

:root {
  --bg: #0b0a09;
  --panel: #15120f;
  --line: #2e2720;
  --text: #d8cdb8;
  --muted: #9a8e78;
  --gold: #c9a45c;
  --gold-hi: #e6c98a;
  --title: 'Cinzel', 'EB Garamond', Georgia, serif;
  --body: 'EB Garamond', Georgia, 'Times New Roman', serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.2rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration-color: rgba(201, 164, 92, 0.4); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
img { max-width: 100%; display: block; }

/* Kopf: Logo des Studios (schwarzer Grund verschwindet per screen) und Sprachwechsel */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}
.studio img { width: clamp(150px, 22vw, 230px); height: auto; mix-blend-mode: screen; }
.lang {
  font: 500 0.85rem var(--title);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 2px;
}
.lang:hover { border-color: var(--gold); }

/* Startseite */
.hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url(01_city.webp) center 35% / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 10, 9, 0.55) 40%, rgba(11, 10, 9, 0.15) 75%, rgba(11, 10, 9, 0.6) 100%),
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero-image { animation: none; } }
.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px clamp(40px, 8vh, 90px);
}
.hero h1 {
  margin: 0;
  font: 700 clamp(3.6rem, 12vw, 8.5rem)/1 var(--title);
  letter-spacing: 0.08em;
  color: var(--gold-hi);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(201, 164, 92, 0.25);
}
.tagline {
  margin: 10px 0 0;
  font: italic 400 clamp(1.3rem, 3vw, 1.8rem) var(--body);
  color: var(--text);
  text-shadow: 0 1px 12px #000;
}
.soon {
  display: inline-block;
  margin: 22px 0 0;
  padding: 8px 20px;
  border: 1px solid rgba(201, 164, 92, 0.5);
  background: rgba(11, 10, 9, 0.6);
  font: 500 0.9rem var(--title);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 24px;
  text-align: center;
  font-size: 1.35rem;
  color: var(--text);
}
.lead p { margin: 0; }

.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
}
.feature img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; filter: saturate(0.85); }
.feature h3 {
  margin: 20px 24px 6px;
  font: 700 1.15rem var(--title);
  letter-spacing: 0.06em;
  color: var(--gold-hi);
}
.feature p { margin: 0 24px 24px; color: var(--muted); }

.studio-info {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
}
.studio-info h2, .text h1 {
  font: 700 1.6rem var(--title);
  letter-spacing: 0.08em;
  color: var(--gold-hi);
}
.studio-info p { color: var(--text); }

/* Rechtstexte */
.text {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  font-size: 1.1rem;
}
.text h1 { font-size: 2rem; margin: 16px 0 24px; }
.text h3 { font: 700 1.05rem var(--title); letter-spacing: 0.04em; color: var(--gold); margin: 32px 0 8px; }
.text ul { padding-left: 1.2em; }
.text li { margin: 6px 0; }
.note { color: var(--muted); font-style: italic; }
.back { margin-top: 48px; }

/* Kontaktformular (tools/site.mjs contactPage); .hp ist die unsichtbare Falle für Bots */
.contact { display: grid; gap: 18px; margin: 24px 0; }
.contact label { display: grid; gap: 6px; color: var(--gold); font-weight: 600; }
.contact input, .contact textarea {
  font: inherit;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.contact textarea { resize: vertical; min-height: 10em; }
.contact .button { justify-self: start; cursor: pointer; }
.contact .note { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 12px; }
footer p { margin: 0; }
/* Hinweis ohne Banner: die Website setzt keine Cookies (tools/site.mjs TEXT.noCookies) */
footer .cookies { margin-bottom: 10px; font-style: italic; }
footer .cookies a { color: inherit; text-decoration: none; }
footer .cookies a:hover { color: var(--gold); }

@media (max-width: 720px) {
  body { font-size: 1.1rem; }
  .top { padding: 14px 16px; }
  .features { grid-template-columns: 1fr; padding: 24px 16px; gap: 20px; }
  .lead, .studio-info, .text { padding-left: 16px; padding-right: 16px; }
}

/* Knopf zur Steam-Seite in der Startseite (tools/steamlinks.mjs STEAM_PAGE_PUBLIC) */
.wishlist { margin-top: 20px; }

/* Presseseite (tools/site.mjs pressPage, Texte aus press/presskit.mjs) */
.lead-in { font-size: 1.2rem; color: var(--muted); }
.press-download { margin: 20px 0 36px; }
.button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  color: var(--gold-hi);
  font: 700 0.95rem var(--title);
  letter-spacing: 0.08em;
  text-decoration: none;
  background: var(--panel);
}
.button:hover { background: var(--line); }
.facts { border-collapse: collapse; width: 100%; margin: 8px 0 24px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.facts th { white-space: nowrap; color: var(--gold); font-weight: 600; width: 1%; padding-right: 24px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 24px; }
.gallery .shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.trailer { width: 100%; height: auto; display: block; margin: 8px 0 16px; border: 1px solid var(--line); background: #000; }
.logos { display: flex; flex-wrap: wrap; gap: 24px; margin: 8px 0 24px; }
.logos .logo { display: grid; gap: 8px; justify-items: center; text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.logos .logo img { width: 160px; height: auto; background: var(--panel); border: 1px solid var(--line); padding: 12px; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; }
  .facts th { white-space: normal; }
}
