/* Splitterkrone – Webseite. Schriften lokal (OFL), nichts von fremden Servern. */
@font-face { font-family: "Cormorant"; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --night: #120d0a;
  --night-2: #1c1510;
  --night-3: #2a1f16;
  --gold: #e8b84a;
  --gold-2: #ffd870;
  --ember: #d8642a;
  --text: #f4ead8;
  --muted: #c2b29a;
  --line: rgba(232, 184, 74, .28);
  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--gold-2); overflow-wrap: anywhere; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; font-weight: 700; }
h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--gold); }
h3 { font-size: 1.6rem; }
p { margin: .6rem 0; }
.kicker { font-family: var(--body); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--ember); font-weight: 600; margin-bottom: .6rem; }

/* Kopfzeile */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; padding-block: 1rem; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-shadow: 0 2px 8px #000; }
.brand img { width: 38px; height: 38px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.6); }
.top nav { display: flex; gap: 1.2rem; }
.top nav a { color: var(--text); text-decoration: none; font-size: .95rem; text-shadow: 0 1px 6px #000; }
.top nav a:hover { color: var(--gold-2); }

/* Titelbild */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,10,.55) 0%, rgba(18,13,10,0) 22%, rgba(18,13,10,.15) 50%, rgba(18,13,10,.92) 85%, var(--night) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-block: 4rem 3.5rem; width: 100%; }
.hero h1 { font-size: clamp(3rem, 11vw, 6.5rem); color: var(--gold-2); text-shadow: 0 4px 24px rgba(0,0,0,.8); letter-spacing: .02em; }
.hero .sub { font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--text); margin-top: .2rem; font-style: italic; }
.hero .lead { max-width: 620px; color: var(--text); font-size: 1.1rem; margin-top: 1rem; text-shadow: 0 1px 8px #000; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.badge { border: 1px solid var(--line); background: rgba(18,13,10,.7); border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--gold); color: #1d1208; font-weight: 700; text-decoration: none; padding: .8rem 1.4rem; border-radius: 999px; margin-top: 1.6rem; }
.btn:hover { background: var(--gold-2); }

section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.alt { background: var(--night-2); border-block: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 2.2rem; }
.head p { color: var(--muted); font-size: 1.08rem; }

/* Trailer */
.video { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #000; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; display: block; }

/* Völker */
.races { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.race { background: var(--night-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.race .pic { position: relative; aspect-ratio: 460 / 300; overflow: hidden; }
.race .pic img { width: 100%; height: 100%; object-fit: cover; }
.race .pic img.sprite { position: absolute; right: 10px; bottom: -6px; width: 72px; height: 72px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.8)); }
.race .body { padding: 1rem 1.1rem 1.3rem; }
.race .folk { color: var(--ember); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.race h3 { color: var(--gold-2); margin: .25rem 0 .4rem; }
.race p { color: var(--muted); font-size: .95rem; margin: .3rem 0; }
.race .who { color: var(--text); font-style: italic; font-family: var(--display); font-size: 1.15rem; }

/* Spielmodi / Merkmale */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.mode { background: var(--night-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mode img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mode .body { padding: 1rem 1.2rem 1.3rem; }
.mode h3 { color: var(--gold-2); }
.mode p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(0,0,0,.55); }
.split ul { padding-left: 1.1rem; color: var(--muted); }
.split li { margin: .35rem 0; }
.split li b { color: var(--text); font-weight: 600; }

.ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 2rem; counter-reset: age; }
.age { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: var(--night-3); }
.age::before { counter-increment: age; content: counter(age, upper-roman); font-family: var(--display); font-size: 1.8rem; color: var(--ember); font-weight: 700; display: block; }
.age b { font-family: var(--display); font-size: 1.25rem; color: var(--gold-2); display: block; }
.age span { color: var(--muted); font-size: .9rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

.platforms { text-align: center; }
.platforms .row { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.platforms .row span { border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.2rem; background: var(--night-3); font-weight: 600; }

/* Rechtstexte */
.legal-head { background: var(--night-2); border-bottom: 1px solid var(--line); padding-block: .9rem; }
.legal-head .brand { text-shadow: none; }
.legal main { padding-block: 2.6rem 3rem; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); color: var(--gold-2); }
.legal h2 { font-size: 1.6rem; color: var(--gold); margin-top: 2rem; margin-bottom: .4rem; }
.legal .sub { color: var(--muted); margin-top: .5rem; }
.legal ul { padding-left: 1.2rem; }
.box { background: var(--night-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-top: 1.6rem; }
.box h2 { margin-top: 0; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding-block: 1.8rem 2.6rem; text-align: center; }
footer nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
footer .mada { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
footer .mada img { width: 160px; height: auto; opacity: .92; }
footer .mada a:hover img { opacity: 1; }
footer .credits { display: flex; flex-direction: column; gap: .15rem; }
footer nav a { color: var(--text); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .ages { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .top nav { display: none; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .ages { grid-template-columns: 1fr; }
}
