/* ==========================================================================
   Joker Studios — style.css
   Dark Gaming Theme · Selbst gehostete Fonts (DSGVO) · Kein Framework
   ========================================================================== */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-v22-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-v22-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-v20-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-v20-latin-700.woff2") format("woff2");
}

/* ---------- Design Tokens ---------- */
:root {
  /* Farben */
  --bg: #0a0d18;
  --bg-elevated: #10152a;
  --surface: #151b33;
  --surface-hover: #1b2240;
  --border: #262e4f;
  --border-strong: #354070;

  --text: #eef0fb;
  --text-muted: #a3abcc;
  --text-faint: #6d7699;

  --primary: #8b7bff;          /* Violett */
  --primary-strong: #a89bff;
  --accent: #37d6e8;           /* Cyan */
  --accent-warm: #ffb454;      /* Amber für Badges/Highlights */
  --success: #4ade80;

  --gradient-brand: linear-gradient(120deg, #8b7bff 0%, #5ea2ff 55%, #37d6e8 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 123, 255, 0.28), transparent 65%),
                   radial-gradient(ellipse 60% 45% at 85% 15%, rgba(55, 214, 232, 0.14), transparent 60%),
                   radial-gradient(ellipse 55% 45% at 12% 20%, rgba(94, 162, 255, 0.12), transparent 60%);

  /* Typografie */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 18px 45px -18px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 42px -6px rgba(139, 123, 255, 0.45);
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-strong);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(139, 123, 255, 0.4);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Dezentes Grain-Overlay für Tiefe */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Skip-Link (A11y) ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1001;
  background: var(--primary);
  color: #0a0d18;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #0a0d18;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 13, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 13, 24, 0.92);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand:hover { color: var(--text); }

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
}

/* Fallback-Wortmarken-Badge, solange kein Logo-Bild existiert */
.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gradient-brand);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #0a0d18;
  box-shadow: 0 4px 18px -4px rgba(139, 123, 255, 0.6);
}

.brand span em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(139, 123, 255, 0.12);
}

.nav-cta {
  background: var(--gradient-brand);
  color: #0a0d18 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  filter: brightness(1.12);
  background: var(--gradient-brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(139, 123, 255, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  min-width: 46px;
  height: 40px;
  padding: 0 12px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover {
  color: var(--text);
  border-color: var(--primary);
  background: rgba(139, 123, 255, 0.18);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 110px;
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Key-Art-Ebene: zeigt assets/img/brand/hero-keyart.png sobald vorhanden */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 96%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 96%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(55, 214, 232, 0.35);
  background: rgba(55, 214, 232, 0.08);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.9rem);
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--gradient-brand);
  color: #0a0d18;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  filter: brightness(1.12);
  color: #0a0d18;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(139, 123, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(139, 123, 255, 0.16);
  color: var(--text);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 660px;
  margin-bottom: 54px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-strong);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

/* ---------- Spiele: Featured ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 26px;
}

.featured-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.featured-media {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2240, #10152a);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-media img {
  transform: scale(1.045);
}

.featured-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.featured-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.featured-body h3 {
  font-size: 1.35rem;
  margin: 0;
}

.featured-body p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.game-link::after {
  content: " →";
}

/* Verlinkte Featured-Karte (Spiel ist im Store verfügbar) */
a.featured-card-link {
  color: var(--text);
  text-decoration: none;
}

a.featured-card-link:hover {
  color: var(--text);
  border-color: var(--primary);
}

.store-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #0a0d18;
  background: var(--gradient-brand);
  padding: 11px 22px;
  border-radius: 12px;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.store-cta::after { content: " ↗"; }

a.featured-card-link:hover .store-cta {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* ---------- Badges & Tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge-live {
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.badge-dev {
  color: var(--accent-warm);
  background: rgba(255, 180, 84, 0.1);
  border: 1px solid rgba(255, 180, 84, 0.35);
}

.badge-soon {
  color: var(--accent);
  background: rgba(55, 214, 232, 0.1);
  border: 1px solid rgba(55, 214, 232, 0.35);
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-faint);
  background: rgba(109, 118, 153, 0.14);
  border: 1px solid var(--border);
  padding: 3px 11px;
  border-radius: 100px;
}

/* ---------- Spiele: Grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.game-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--surface-hover);
}

.game-card .game-icon {
  width: 62px;
  height: 62px;
}

.game-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-card h3 {
  font-size: 1.06rem;
  margin: 0;
}

.game-card h3 a { color: var(--text); }
.game-card h3 a:hover { color: var(--primary-strong); }

.game-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.game-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

/* ---------- Updates: Newsletter & Push ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.subscribe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}

.subscribe-card {
  background:
    radial-gradient(ellipse 80% 130% at 50% -30%, rgba(139, 123, 255, 0.16), transparent 62%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subscribe-icon {
  font-size: 1.9rem;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(139, 123, 255, 0.12);
  border: 1px solid rgba(139, 123, 255, 0.3);
  margin-bottom: 16px;
}

.subscribe-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.subscribe-card > p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 22px;
  max-width: 340px;
}

.nl-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin-bottom: 14px;
}

.nl-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nl-form input[type="email"]::placeholder { color: var(--text-faint); }

.nl-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface-hover);
}

.nl-form .btn {
  padding: 13px 24px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.push-btn { margin-bottom: 14px; }

.subscribe-note {
  color: var(--text-faint);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  max-width: 340px;
}

.subscribe-note a { color: var(--text-muted); text-decoration: underline; }
.subscribe-note a:hover { color: var(--accent); }

.form-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 340px;
}

.form-status.is-ok { color: var(--success); }
.form-status.is-error { color: var(--accent-warm); }

@media (max-width: 460px) {
  .nl-form { flex-direction: column; }
  .nl-form .btn { justify-content: center; }
}

/* ---------- Studio / Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-text p strong {
  color: var(--text);
}

.values {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 16px;
}

.values li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(139, 123, 255, 0.14);
  border: 1px solid rgba(139, 123, 255, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.values h3 {
  font-size: 1.02rem;
  margin: 0 0 3px;
}

.values p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(160deg, #1b2240, #0f1428);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Platzhalter für fehlende Bilder ---------- */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-faint);
  background:
    linear-gradient(135deg, rgba(139, 123, 255, 0.08), rgba(55, 214, 232, 0.06)),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(139, 123, 255, 0.05) 14px 28px);
  width: 100%;
  height: 100%;
  padding: 18px;
}

.ph small {
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 260px;
}

.ph .ph-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  opacity: 0.75;
}

/* ---------- Projekte ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
  color: var(--text);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  color: var(--text);
}

.project-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2240, #10152a);
  position: relative;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.05);
}

.project-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.project-domain {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-body h3 {
  font-size: 1.22rem;
  margin: 0;
}

.project-body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.project-cta {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-strong);
}

.project-cta::after { content: " ↗"; }

.project-card:hover .project-cta { color: var(--accent); }

/* ---------- Kontakt ---------- */
.contact-card {
  background:
    radial-gradient(ellipse 70% 120% at 50% -20%, rgba(139, 123, 255, 0.22), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.contact-card h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
}

.contact-card p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 54px 0 40px;
  background: var(--bg-elevated);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.9rem;
  max-width: 300px;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--text-muted); }

/* ---------- Unterseiten (Impressum etc.) ---------- */
.page-main {
  padding: 150px 0 90px;
  min-height: 60vh;
}

.page-main .prose {
  max-width: 760px;
}

.prose h1 { font-size: 2.4rem; margin-bottom: 30px; }
.prose h2 { font-size: 1.4rem; margin-top: 44px; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }

.notice {
  background: rgba(255, 180, 84, 0.08);
  border: 1px solid rgba(255, 180, 84, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--accent-warm);
  font-size: 0.92rem;
  margin-bottom: 34px;
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 460px; aspect-ratio: 4 / 3; }
}

@media (max-width: 820px) {
  .featured-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: grid; place-items: center; }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 13, 24, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 22px;
    gap: 4px;
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; text-align: center; justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 70px 0; }
  .hero { padding: 140px 0 80px; }
  .games-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 46px 24px; }
  .footer-grid { flex-direction: column; gap: 28px; }
}
