/* ==========================================================================
   ichverkaufedich.de – Stylesheet
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Komponenten · 5 Sektionen
           6 Bewegung · 7 Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Flächen */
  --bg: #060607;
  --bg-soft: #09090b;
  --surface: #0f0f11;
  --surface-2: #141417;
  --slate: #18181b;

  /* Text */
  --ink: #f4f4f5;
  --ink-2: #a1a1aa;
  --ink-3: #6b6b74;

  /* Linien */
  --hair: rgba(255, 255, 255, 0.07);
  --hair-2: rgba(255, 255, 255, 0.12);
  --highlight: rgba(255, 255, 255, 0.07);

  /* Akzente: Crimson aus dem Avatar, kühles Slate-Cyan als Gegenpol */
  --crimson: #d4364f;
  --crimson-soft: #f0748a;
  --crimson-glow: rgba(212, 54, 79, 0.22);
  --cyan: #7fa8b8;
  --cyan-glow: rgba(127, 168, 184, 0.14);
  --live: #4ade80;

  /* Typo */
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  /* Maße */
  --radius: 2rem;
  --bezel-pad: 6px;
  --radius-core: calc(var(--radius) - var(--bezel-pad));
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(6rem, 12vw, 10rem);
  --gap: clamp(12px, 1.6vw, 20px);

  /* Bewegung */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast: 280ms;
  --t: 560ms;
  --t-slow: 900ms;

  /* Ebenen */
  --z-menu: 40;
  --z-nav: 50;
  --z-toast: 60;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Statischer Hintergrund: zwei ruhige Glows, fix und nicht animiert (scroll-schonend) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 45vmax at 85% -10%, var(--crimson-glow), transparent 60%),
    radial-gradient(50vmax 40vmax at -10% 40%, var(--cyan-glow), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--crimson-soft);
  outline-offset: 3px;
  border-radius: 999px;
}

::selection { background: var(--crimson); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: var(--z-toast);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* 3. Layout ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y) 0; }
.section--last { padding-bottom: var(--section-y); }

.section__head {
  display: grid;
  gap: 18px;
  justify-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head h2 {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.045em;
}

/* Bento-Raster: 12 Spalten, Kacheln bekommen per Modifier ihre Größe */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.bento > * { grid-column: span 4; }

/* 4. Komponenten ------------------------------------------------------------ */

/* Eyebrow-Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pill--crimson {
  border-color: rgba(212, 54, 79, 0.35);
  background: rgba(212, 54, 79, 0.08);
  color: var(--crimson-soft);
}

/* Doppelrand: äußere Schale + innerer Kern mit konzentrischem Radius */
.bezel {
  position: relative;
  padding: var(--bezel-pad);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hair);
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.bezel__core {
  position: relative;
  height: 100%;
  border-radius: var(--radius-core);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: inset 0 1px 0 var(--highlight);
  overflow: hidden;
}

/* Kacheln heben sich leicht an, der Rand glüht ruhig auf */
.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 54, 79, 0.28);
  box-shadow: 0 30px 60px -30px rgba(212, 54, 79, 0.25);
}

/* Buttons: Pill mit eigener Icon-Insel */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition:
    transform var(--t-fast) var(--ease),
    background-color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease);
}
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 18px 40px -18px rgba(212, 54, 79, 0.55);
}
.btn--primary .btn__icon { background: var(--bg); color: var(--ink); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 22px 50px -16px rgba(212, 54, 79, 0.7); }

.btn--ghost {
  border: 1px solid var(--hair-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}
.btn--ghost .btn__icon { background: rgba(255, 255, 255, 0.07); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); }
.btn--ghost:hover .btn__icon { transform: translateY(3px) scale(1.06); }

/* Live-Status */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  font-size: 0.75rem;
  font-weight: 500;
  color: #bbf7d0;
  white-space: nowrap;
}
.status__dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--live);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 2.4s var(--ease) infinite;
}

/* Live-Zustände (data-state aus /live.json): grün = im Spiel, hellgrün = online, cyan = Studio, grau = offline/unbekannt */
[data-state="online"] .status__dot { background: #86efac; }
[data-state="online"] .status__dot::after { animation: none; }
[data-state="studio"] .status__dot,
[data-state="studio"] .status__dot::after { background: var(--cyan); }
[data-state="offline"] .status__dot,
[data-state="unknown"] .status__dot { background: var(--ink-3); }
[data-state="offline"] .status__dot::after,
[data-state="unknown"] .status__dot::after { animation: none; opacity: 0; }

.status[data-state="online"] { background: rgba(134, 239, 172, 0.06); border-color: rgba(134, 239, 172, 0.18); color: #dcfce7; }
.status[data-state="studio"] { background: rgba(127, 168, 184, 0.08); border-color: rgba(127, 168, 184, 0.25); color: #d4e6ec; }
.status[data-state="offline"],
.status[data-state="unknown"] { background: rgba(255, 255, 255, 0.04); border-color: var(--hair-2); color: var(--ink-2); }

.live-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.game--live[data-state="ingame"] .live-kicker { color: #bbf7d0; }
.game--live[data-state="ingame"] .game__art--active {
  background: radial-gradient(circle at 30% 20%, rgba(74, 222, 128, 0.35), #0c1610 70%);
  color: #dcfce7;
}
.game--live .game__body h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Navigation: schwebende Insel */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: rgba(12, 12, 14, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 var(--highlight), 0 20px 40px -24px rgba(0, 0, 0, 0.8);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}
.brand__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: var(--slate);
  border: 1px solid var(--hair-2);
}
.brand__tld { color: var(--crimson-soft); }

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav__links a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.nav .status { margin-inline: 6px 4px; }

/* Hamburger: zwei Linien morphen zum X */
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.burger__line {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t) var(--ease);
}
.burger__line:nth-of-type(2) { transform: translateY(-3.5px); }
.burger__line:nth-of-type(3) { transform: translateY(3.5px); }
.burger[aria-expanded="true"] .burger__line:nth-of-type(2) { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-of-type(3) { transform: rotate(-45deg); }

/* Vollbild-Menü (mobil) */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 48px;
  background: rgba(6, 6, 7, 0.86);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__links { display: grid; gap: 6px; }
.menu__links li { overflow: hidden; }
.menu__links a {
  display: inline-block;
  padding: 6px 0;
  font-size: clamp(2.5rem, 12vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  transform: translateY(110%);
  opacity: 0;
  transition: transform var(--t-slow) var(--ease), opacity var(--t) var(--ease), color var(--t-fast) var(--ease);
}
.menu__links a:hover { color: var(--crimson-soft); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links li:nth-child(1) a { transition-delay: 80ms; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: 130ms; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: 180ms; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: 230ms; }
.menu.is-open .menu__links li:nth-child(5) a { transition-delay: 280ms; }
.menu__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

/* 5. Sektionen -------------------------------------------------------------- */

/* Hero */
.hero {
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-block: 128px 64px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.hero__text { display: grid; gap: 28px; justify-items: start; }

.hero__title {
  display: grid;
  font-size: clamp(3.5rem, 10.5vw, 8.75rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}
.hero__title span { display: block; }
.hero__accent {
  color: transparent;
  background: linear-gradient(100deg, var(--crimson-soft) 0%, var(--crimson) 55%, #8f1d31 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.04em; /* verhindert abgeschnittene Kante beim Clip */
}

.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.hero__note {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.hero__note::before { content: "// "; color: var(--crimson); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Avatar-Vitrine */
.bezel--hero { --radius: 2.5rem; --bezel-pad: 8px; }
.avatar {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(80% 60% at 50% 35%, rgba(212, 54, 79, 0.16), transparent 70%),
    linear-gradient(180deg, #15151a 0%, #0b0b0d 100%);
}
.avatar__glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 54, 79, 0.32), transparent 65%);
  transform: translate(-50%, -50%);
}
.avatar__floor {
  position: absolute;
  left: 50%;
  bottom: 92px;
  width: 50%;
  height: 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  transform: translateX(-50%);
}
/* Absolut platziert: Füße stehen über dem Namensschild, Höhe folgt dem Rahmen */
.avatar__img {
  position: absolute;
  left: 50%;
  bottom: 82px;
  width: auto;
  height: calc(100% - 128px);
  translate: -50% 0;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
  animation: float 7s var(--ease) infinite alternate;
}
.avatar__tag {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: calc(var(--radius-core) - 14px);
  border: 1px solid var(--hair);
  background: rgba(10, 10, 12, 0.72);
  font-size: 0.8125rem;
}
.avatar__name { font-weight: 600; }
.avatar__meta { font-family: var(--mono); color: var(--ink-3); font-size: 0.75rem; }

/* Stats */
.bento--stats .tile--since { grid-column: span 5; grid-row: span 2; }
.bento--stats > :nth-child(2) { grid-column: span 3; }
.bento--stats > :nth-child(3) { grid-column: span 4; }
.bento--stats > :nth-child(4) { grid-column: span 3; }
.bento--stats .tile--story { grid-column: span 4; }

.stat, .story {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(22px, 2.4vw, 32px);
  min-height: 200px;
}
.stat__icon {
  width: 28px;
  height: 28px;
  margin-bottom: auto;
  color: var(--ink-3);
  transition: color var(--t) var(--ease), transform var(--t) var(--ease-spring);
}
.tile:hover .stat__icon { color: var(--crimson-soft); transform: scale(1.08); }
.stat__label {
  margin-top: 28px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stat__value {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
/* „Dabei seit“: großes Jahr, Tag darunter, Jahres-Zeitleiste oben */
.since time { display: grid; gap: 4px; }
.since__year {
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(244, 244, 245, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.since__day {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.since__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-right: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 54, 79, 0.35);
  background: rgba(212, 54, 79, 0.1);
  color: #fecdd6;
}
.since__badge strong { color: #fff; }

.years {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 auto;
  padding-top: 22px;
  position: relative;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}
/* Linie, auf der die Jahre sitzen */
.years::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson), rgba(212, 54, 79, 0.15));
}
.years li { position: relative; display: grid; justify-items: center; }
.years li::before {
  content: "";
  position: absolute;
  top: -22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--crimson);
}
.years li:first-child { justify-items: start; }
.years li:first-child::before { left: 0; background: var(--crimson); }
.years li:last-child { justify-items: end; color: var(--ink); }
.years li:last-child::before { right: 0; background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 244, 245, 0.08); }
.stat__value--pending { color: var(--ink-3); font-weight: 500; }
.stat__hint { font-size: 0.875rem; color: var(--ink-2); }
.stat__hint strong { color: var(--ink); font-weight: 600; }

.stat--hero .stat__icon { margin-bottom: 0; }
.stat--hero {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(212, 54, 79, 0.18), transparent 60%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.story__text {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Games */
/* MM2-Vitrine über die volle Breite, die drei Spiele als Reihe darunter */
.bento--games .tile--mm2 { grid-column: 1 / -1; }
.bento--games .game { grid-column: span 4; }

.mm2 {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(212, 54, 79, 0.16), transparent 65%),
    linear-gradient(180deg, #131316 0%, #0b0b0d 100%);
}
.mm2__head { display: flex; justify-content: space-between; gap: 24px; }
.mm2__title {
  margin-top: 18px;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.mm2__lead { margin-top: 8px; color: var(--ink-2); }
.mm2__mark {
  width: 64px;
  height: 64px;
  flex: none;
  color: var(--crimson);
  opacity: 0.55;
  transition: transform var(--t-slow) var(--ease-spring), opacity var(--t) var(--ease);
}
.tile--mm2:hover .mm2__mark { transform: rotate(-12deg) scale(1.06); opacity: 0.9; }
/* Gruppen nebeneinander; Spaltenbreite proportional zur Item-Anzahl (1 · 2 · 4 · 1),
   damit alle Item-Kacheln gleich groß sind */
.mm2__groups {
  display: grid;
  grid-template-columns: 1fr 2fr 4fr 1fr;
  gap: 28px;
}
.mm2__group { min-width: 0; }
.mm2__group h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mm2__group h4 svg { width: 16px; height: 16px; }

/* Item-Galerie: freigestellte Waffen auf ruhigem Sockel, Seltenheit als Farbton */
.items {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}
.item {
  --tint: 255, 255, 255;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 8px 10px;
  border-radius: 1.25rem;
  border: 1px solid rgba(var(--tint), 0.22);
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(var(--tint), 0.16), transparent 75%),
    rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.6));
  transition: transform var(--t-slow) var(--ease-spring);
}
.item:hover { transform: translateY(-3px); border-color: rgba(var(--tint), 0.45); }
.item:hover img { transform: scale(1.1) rotate(-6deg); }
.item__name { font-size: 0.8125rem; font-weight: 500; line-height: 1.3; color: var(--ink); }

.item--godly { --tint: 240, 116, 138; }
.item--ancient { --tint: 167, 139, 250; }
.item--vintage { --tint: 234, 196, 96; }
.item--chroma {
  border-color: transparent;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(127, 168, 184, 0.18), transparent 75%) padding-box,
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(120deg, rgba(240, 116, 138, 0.8), rgba(234, 196, 96, 0.7), rgba(127, 200, 184, 0.7), rgba(167, 139, 250, 0.8)) border-box;
}
.item--chroma:hover { border-color: transparent; }

.game__core { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; min-height: 108px; }
.game__art {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: calc(var(--radius-core) - 12px);
  border: 1px solid var(--hair);
  overflow: hidden;
}
.game__art svg {
  width: 36px;
  height: 36px;
  transition: transform var(--t-slow) var(--ease);
}
.game:hover .game__art svg { transform: scale(1.18) rotate(-6deg); }
.game__art--mm2 { background: radial-gradient(circle at 30% 20%, rgba(212, 54, 79, 0.45), #1a0b0f 70%); color: #fecdd6; }
.game__art--studio { background: radial-gradient(circle at 30% 20%, rgba(127, 168, 184, 0.4), #0b1215 70%); color: #d4e6ec; }
.game__art--active { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), #111113 70%); color: var(--ink); }
.game__body { flex: 1; min-width: 0; }
.game__body h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.game__body p { font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.game__go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease);
}
.game__go svg { width: 16px; height: 16px; }
.game:hover .game__go { transform: translate(3px, -2px) scale(1.06); background: var(--crimson); }

/* Setup */
.bento--setup .tile--pc { grid-column: span 5; grid-row: span 2; }
.bento--setup > :nth-child(2) { grid-column: span 4; }
.bento--setup > :nth-child(3) { grid-column: span 3; }
.bento--setup > :nth-child(4) { grid-column: span 4; }
.bento--setup > :nth-child(5) { grid-column: span 3; }

.gear {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(22px, 2.4vw, 30px);
  min-height: 170px;
}
.gear__icon {
  width: 32px;
  height: 32px;
  margin-bottom: auto;
  color: var(--cyan);
  transition: transform var(--t) var(--ease-spring);
}
.tile:hover .gear__icon { transform: translateY(-3px) scale(1.06); }
.gear h3 { margin-top: 24px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.gear p { font-size: 0.9375rem; color: var(--ink-3); }
.gear--big h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.04em; }
.specs { display: grid; gap: 10px; margin-top: 18px; }
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
  font-size: 0.9375rem;
}
.specs dt { font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-3); }
.specs dd { color: var(--ink); text-align: right; }
.spec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  transition: color var(--t-fast) var(--ease);
}
.spec-link svg {
  width: 13px;
  height: 13px;
  color: var(--ink-3);
  transition: transform var(--t) var(--ease-spring), color var(--t-fast) var(--ease);
}
.spec-link:hover { color: var(--crimson-soft); }
.spec-link:hover svg { color: var(--crimson-soft); transform: translate(2px, -2px); }

/* Verlinkte Setup-Kacheln: Pfeil-Insel oben rechts */
.gear--link { position: relative; }
.gear__go {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease);
}
.gear__go svg { width: 15px; height: 15px; }
.tile:hover .gear__go { transform: translate(3px, -2px) scale(1.06); background: var(--crimson); }
.gear p { color: var(--ink-2); }

/* Socials */
.social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 20px 24px;
  min-height: 112px;
}
.social__icon { width: 30px; height: 30px; flex: none; color: var(--ink-2); transition: color var(--t) var(--ease); }
.tile:hover .social__icon { color: var(--ink); }
.social__body { display: grid; flex: 1; min-width: 0; }
.social__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.social__handle {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social__go { background: rgba(255, 255, 255, 0.07); }
.tile:hover .social__go { transform: translate(3px, -2px) scale(1.06); background: var(--crimson); }

/* Einzige Kontakt-Kachel: breites Banner */
.bento--social .tile--roblox { grid-column: 1 / -1; }
.tile--roblox .social {
  gap: clamp(16px, 2.5vw, 32px);
  min-height: 0;
  padding: clamp(24px, 3.5vw, 44px);
  background:
    radial-gradient(80% 70% at 100% 100%, rgba(212, 54, 79, 0.2), transparent 60%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.tile--roblox .social__icon { width: clamp(40px, 5vw, 64px); height: clamp(40px, 5vw, 64px); color: var(--ink); }
.tile--roblox .social__name { font-size: clamp(1.75rem, 4vw, 3.25rem); letter-spacing: -0.045em; line-height: 1.05; }
.tile--roblox .social__handle { font-size: 0.875rem; }
.social__cta { font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); transition: color var(--t-fast) var(--ease); }
.tile:hover .social__cta { color: var(--ink); }

/* Footer */
.footer { padding-block: 40px 48px; border-top: 1px solid var(--hair); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.footer__brand { font-weight: 600; color: var(--ink-2); letter-spacing: -0.02em; font-size: 0.9375rem; }

/* 6. Bewegung --------------------------------------------------------------- */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(3); opacity: 0; }
}
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
@keyframes rise {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes rise-line {
  from { transform: translateY(0.35em); }
  to { transform: none; }
}

/* Hero beim Laden: Titelzeilen nur per transform (bleiben sofort sichtbar → LCP), Rest blendet gestaffelt ein */
.hero__title span { animation: rise-line var(--t-slow) var(--ease) both; }
.hero__title span:nth-child(2) { animation-delay: 70ms; }
.hero__title span:nth-child(3) { animation-delay: 140ms; }
.hero__in { animation: rise var(--t-slow) var(--ease) both; animation-delay: 200ms; }
.hero__in[data-d="1"] { animation-delay: 290ms; }
.hero__in[data-d="2"] { animation-delay: 380ms; }
.hero__in[data-d="3"] { animation-delay: 470ms; }

/* Scroll-Reveal: nur aktiv, wenn script.js läuft (html.has-reveal); sonst ist alles sofort sichtbar */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--stagger, 0ms);
}
.has-reveal .reveal.is-in { opacity: 1; transform: none; }
/* Nach dem Einblenden übernimmt die Hover-Transition wieder ohne Verzögerung */
.has-reveal .reveal.is-done { transition-delay: 0ms; transition-duration: var(--t); }

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

/* 7. Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav__links a { padding: 8px 10px; }
}

/* Tablet: Chroma · Ancient · Vintage in einer Reihe, Godlys darunter über die volle Breite */
@media (max-width: 1024px) {
  .mm2__groups { grid-template-columns: 1fr 2fr 1fr; }
  .mm2__group:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 600px) {
  .mm2__groups { grid-template-columns: 1fr; gap: 24px; }
  .mm2__group:nth-child(3) { grid-column: auto; }
  .items { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__links, .nav > .status { display: none; }
  .burger { display: block; }
  .nav { width: 100%; justify-content: space-between; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *,
  .bento > *:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .bento--stats .tile--since,
  .bento--stats .tile--story,
  .bento--games .tile--mm2,
  .bento--setup .tile--pc,
  .bento--social .tile--roblox { grid-column: span 2; }
  .bento--games .game { grid-column: span 2; }
}

@media (max-width: 767px) {
  .hero { min-height: auto; padding-block: 112px 24px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; width: 100%; justify-self: center; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: space-between; }

  .bento { grid-template-columns: 1fr; }
  .bento > *,
  .bento > *:nth-child(n),
  .bento--stats .tile--since,
  .bento--stats .tile--story,
  .bento--games .tile--mm2,
  .bento--setup .tile--pc,
  .bento--social .tile--roblox { grid-column: 1 / -1; }

  /* kleine Kacheln zweispaltig, große über die volle Breite */
  .bento--stats, .bento--setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--stats > *:nth-child(n),
  .bento--setup > *:nth-child(n) { grid-column: span 1; }
  .bento--stats .tile--since,
  .bento--stats .tile--story,
  .bento--stats > :nth-child(4),
  .bento--setup .tile--pc { grid-column: 1 / -1; }

  .stat, .story { min-height: 0; padding: 22px; }
  .gear { min-height: 0; padding: 22px; }
  .gear h3 { margin-top: 18px; }
  .stat__value { font-size: 2.25rem; }
  .stat__label { margin-top: 20px; }
  .social__cta { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .tile:hover { transform: none; box-shadow: none; border-color: var(--hair); }
}
