/* Strayfall – Website (13.10.2026). Schriften aus dem Spiel (SIL OFL), lokal eingebunden – keine Anfragen an Dritte. */
@font-face { font-family: "Barlow Condensed"; src: url(/assets/fonts/BarlowCondensed-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/assets/fonts/BarlowCondensed-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/assets/fonts/AlegreyaSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/assets/fonts/AlegreyaSans-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/assets/fonts/AlegreyaSans-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0a0f1c;
  --bg-2: #0f1626;
  --panel: #121b2e;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2f8;
  --muted: #a9b4c8;
  --gold: #f2c766;
  --gold-2: #d9a441;
  --cyan: #62e3ff;
  --radius: 14px;
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.125rem/1.6 var(--body); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: 1.75rem; text-transform: uppercase; }
p { margin: 0; }

/* Sprache: beide Texte stehen im HTML, gezeigt wird die gewählte */
html[data-lang="en"] [lang="de"], html[data-lang="de"] [lang="en"] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1205; padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.icon { display: inline-block; width: 1.2em; height: 1.2em; flex: none; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

/* Kopfzeile: durchsichtig über dem Video, beim Scrollen dunkel */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.25s, box-shadow 0.25s; }
.site-header.solid { background: rgba(10, 15, 28, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 120px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font: 600 1.05rem var(--head); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; }
.nav a:hover { opacity: 1; color: var(--gold); }
.lang-toggle { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted); border-radius: 999px;
  padding: 6px 12px; font: 600 0.95rem var(--head); letter-spacing: 0.08em; cursor: pointer; }
.lang-sep { margin: 0 4px; opacity: 0.5; }
html[data-lang="en"] .lang-opt[data-opt="en"], html[data-lang="de"] .lang-opt[data-opt="de"] { color: var(--gold); }

/* Kopfbereich mit Spielvideo */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  background: #0b1424 url(/assets/img/hero-poster.webp) center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(10, 15, 28, 0.15) 0%, rgba(10, 15, 28, 0.55) 70%),
              linear-gradient(180deg, rgba(10, 15, 28, 0.55) 0%, rgba(10, 15, 28, 0) 22%, rgba(10, 15, 28, 0) 60%, var(--bg) 100%); }
.hero-content { position: relative; text-align: center; padding-top: 72px; padding-bottom: 72px; }
.hero-logo { width: min(680px, 86vw); margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.55)); }
.tagline { font: 700 clamp(1.8rem, 4.2vw, 3rem)/1.1 var(--head); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 8px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7); }
.sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #e7edf6; margin-top: 6px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.badge { display: inline-block; margin-top: 22px; padding: 5px 14px; border: 1px solid rgba(98, 227, 255, 0.55); border-radius: 999px;
  color: var(--cyan); font: 600 0.95rem var(--head); text-transform: uppercase; letter-spacing: 0.14em; background: rgba(10, 15, 28, 0.45); }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff;
  animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px; text-decoration: none; cursor: pointer;
  font: 700 1.15rem var(--head); text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid transparent; }
.btn-steam { background: linear-gradient(180deg, #1f2c45, #151f33); color: #dbe6f5; border-color: rgba(255, 255, 255, 0.14); cursor: default; }
.btn-ghost { color: #1a1205; background: linear-gradient(180deg, var(--gold), var(--gold-2)); box-shadow: 0 8px 24px rgba(217, 164, 65, 0.25); }
.btn-ghost:hover { filter: brightness(1.08); }

/* Abschnitte */
.section { padding: 112px 0; }
.kicker { color: var(--gold); font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.25rem; margin-top: 18px; }

.features { display: grid; gap: 56px; margin-top: 72px; }
.feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.feature.reverse { grid-template-columns: 1fr 1.4fr; }
.feature.reverse img { order: 2; }
.feature img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.feature img.tall { max-height: 560px; width: auto; justify-self: center; }
.feature-text h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--text); }
.feature-text p { color: var(--muted); font-size: 1.2rem; margin-top: 12px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { color: var(--gold); font-size: 1.6rem; }
.card p { color: var(--muted); margin-top: 10px; }

.world { background: linear-gradient(180deg, var(--bg) 0%, #0c1424 50%, var(--bg) 100%); }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shot.wide { grid-column: 1 / -1; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s ease; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 48px 20px 16px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 20, 0.85)); color: var(--muted); font-size: 1rem; }
.shot figcaption b { font: 700 1.6rem/1.1 var(--head); text-transform: uppercase; color: var(--text); letter-spacing: 0.03em; }
.realms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.realm figcaption b { font-size: 1.35rem; }

.lineup { width: 100%; border-radius: var(--radius); margin-top: 56px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.class-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 24px; }
.class-card { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius); padding: 22px 20px; }
.class-card h3 { font-size: 1.7rem; color: var(--c); }
.class-card .role { color: var(--text); font: 600 1rem var(--head); text-transform: uppercase; letter-spacing: 0.08em; margin: 4px 0 12px; opacity: 0.8; }
.class-card p { color: var(--muted); font-size: 1.02rem; }
.class-card b { color: var(--text); }

.status { padding-top: 40px; }
.status-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px;
  border: 1px solid rgba(98, 227, 255, 0.25); border-radius: 20px; background: radial-gradient(ellipse at 0% 0%, rgba(98, 227, 255, 0.08), transparent 60%), var(--panel); }
.status-box h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.status-box p { color: var(--muted); margin-top: 10px; max-width: 640px; }
.status-box .kicker { color: var(--gold); margin: 0 0 12px; }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.social { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font: 700 1.2rem var(--head); text-transform: uppercase; letter-spacing: 0.05em; transition: transform 0.15s, border-color 0.15s; }
.social:hover { transform: translateY(-2px); border-color: rgba(242, 199, 102, 0.6); }
.social.soon { opacity: 0.55; }
.social small { font: 600 0.8rem var(--head); color: var(--gold); letter-spacing: 0.1em; }
.contact { text-align: center; color: var(--muted); margin-top: 32px; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.98rem; }
.footer-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-row img { width: 96px; height: auto; opacity: 0.9; }
.footer-row nav { display: flex; gap: 20px; }
.footer-row nav a { color: var(--text); text-decoration: none; }
.footer-row nav a:hover { color: var(--gold); }
.footer-row p { margin-left: auto; }

@media (max-width: 1000px) {
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .realms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .nav { display: none; }
  .lang-toggle { margin-left: auto; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 20px; }
  .feature.reverse img { order: 0; }
  .feature img.tall { max-height: 460px; }
  .features { gap: 48px; margin-top: 48px; }
  .cards3 { grid-template-columns: 1fr; margin-top: 48px; }
  .world-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .status-box { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .footer-row p { margin-left: 0; }
  .lead { font-size: 1.15rem; }
}
@media (max-width: 520px) {
  .class-grid, .realms { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .social { flex: 1 1 calc(50% - 14px); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video, .scroll-cue { display: none; }
  .shot img { transition: none; }
}
