/* =========================================================================
   gamienator.  Terminal-/Netzwerk-Grundton mit Gaming-Ebene.
   Handgeschrieben, keine Frameworks, keine externen Ressourcen.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:            #080b0a;
  --bg-alt:        #0b100e;
  --surface:       #101714;
  --surface-2:     #16211c;
  --line:          #1f2f28;
  --line-soft:     #182420;

  --text:          #e8f2ec;
  --muted:         #93a99e;
  --dim:           #6d8479;

  --accent:        #3ddc84;   /* Signalgruen: Netzwerk / Link up */
  --accent-dark:   #23a862;
  --accent-soft:   rgba(61, 220, 132, .12);
  --arcade:        #ff4d9d;   /* Zweitakzent, nur fuer die Gaming-Ebene */
  --arcade-soft:   rgba(255, 77, 157, .12);

  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius:    14px;
  --radius-sm: 8px;
  --wrap:      1140px;
  --header-h:  64px;

  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.68;
  overflow-x: hidden;

  /* Patchpanel-Raster + Scanlines, beides sehr dezent */
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px),
    linear-gradient(rgba(61,220,132,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,220,132,.045) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  background-attachment: fixed;
}

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

h1, h2, h3 { line-height: 1.18; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-color: rgba(61,220,132,.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: var(--accent);
  color: #05100a;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Terminal-Prompt ---------- */
.prompt {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.prompt__cmd { color: var(--muted); }

.caret {
  display: inline-block;
  width: .55em;
  height: 1.05em;
  margin-left: .35em;
  translate: 0 .18em;
  background: var(--accent);
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 11, 10, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--accent);
}
.brand__icon { width: 19px; height: 19px; }
.brand:hover .brand__mark { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.brand__dot { color: var(--accent); animation: blink 1.15s steps(1) infinite; }

.nav__list { display: flex; gap: .25rem; }
.nav__link {
  display: block;
  padding: .45rem .7rem;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.is-active { color: var(--accent); background: var(--accent-soft); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--mono);
  font-size: .78rem;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars span { display: block; width: 15px; height: 2px; background: var(--accent); }

/* Sprachumschalter mit D-Pad-Motiv */
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  padding: .22rem .35rem .22rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.langswitch__icon { display: inline-flex; color: var(--dim); margin-right: .35rem; }
.langswitch__icon .icon { width: 15px; height: 15px; }
.langswitch__opt {
  padding: .2rem .5rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--dim);
  text-decoration: none;
}
.langswitch__opt:hover { color: var(--text); }
.langswitch__opt.is-active { background: var(--accent); color: #05100a; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(58% 60% at 22% 32%, rgba(61,220,132,.20), transparent 68%),
    radial-gradient(48% 55% at 78% 18%, rgba(255,77,157,.14), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.hero__controller {
  position: absolute;
  right: -60px;
  top: 18%;
  width: min(48vw, 560px);
  color: rgba(61, 220, 132, .1);
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}
.hero__btn { animation: pulse 3.6s ease-in-out infinite; }
.hero__btn--b { animation-delay: .9s; }
.hero__btn--c { animation-delay: 1.8s; }
.hero__btn--d { animation-delay: 2.7s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-16px) rotate(-4deg); }
}
@keyframes pulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__name {
  font-size: clamp(2.5rem, 1.4rem + 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  background: linear-gradient(100deg, #ffffff 12%, var(--accent) 62%, var(--arcade) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__handle {
  font-family: var(--mono);
  font-size: .95rem;
  color: var(--dim);
  margin: .35rem 0 1.1rem;
}
.hero__claim {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.2rem;
  padding: .4rem .95rem .4rem .75rem;
  border: 1px dashed rgba(255,77,157,.45);
  border-radius: 999px;
  background: var(--arcade-soft);
  font-family: var(--mono);
  font-size: .84rem;
  color: #ffd7e8;
}
.hero__claim-icon { color: var(--arcade); }
.hero__lead { max-width: 56ch; color: var(--muted); font-size: 1.08em; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.hero__portrait { position: relative; justify-self: center; }
.portrait {
  --size: clamp(200px, 26vw, 300px);
  width: var(--size);
  height: var(--size);
  padding: 5px;
  border-radius: 26px;
  background: linear-gradient(150deg, var(--accent), transparent 45%, var(--arcade));
  box-shadow: var(--shadow);
  rotate: 2.5deg;
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 21px;
}
.portrait__badge {
  position: absolute;
  left: 50%;
  bottom: -14px;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent);
  white-space: nowrap;
}
.portrait__badge .icon { width: 14px; height: 14px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.stats__item {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  display: grid;
  gap: .15rem;
}
.stats__value {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}
.stats__label { font-size: .82rem; color: var(--dim); line-height: 1.4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .68rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { width: 1.05em; height: 1.05em; }

.btn--primary { background: var(--accent); color: #05100a; }
.btn--primary:hover { background: #58e999; }

.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); }

.btn--outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* ---------- Sektionen ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-soft);
}

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--flush { margin-bottom: 1.5rem; }

.kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 .55rem;
}

.section__title {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -.025em;
}
.section__icon { width: 1.05em; height: 1.05em; color: var(--accent); flex: none; }

.section__intro { margin-top: .9rem; color: var(--muted); }

/* ---------- Über mich ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.about__text p { color: var(--muted); }

.quote {
  position: relative;
  margin: 1.6rem 0;
  padding: 1.15rem 1.3rem 1.15rem 3.2rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
}
.quote p { margin: 0; color: var(--text); font-style: italic; }
.quote__icon {
  position: absolute;
  left: 1.05rem;
  top: 1.15rem;
  width: 1.35rem; height: 1.35rem;
  color: var(--accent-dark);
}

.highlight {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text) !important;
  padding: .85rem 1.1rem;
  border: 1px dashed var(--accent-dark);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.about__figure { margin: 0; }
.about__figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
figcaption {
  margin-top: .7rem;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--dim);
}

/* ---------- Karten ---------- */
.card {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease;
}
/* Pixel-Ecke oben rechts. Der rechte Punkt liegt durch den Box-Shadow um 10px
   weiter aussen als das Basiselement - der Abstand muss also groesser als
   10px sein, sonst schneidet er die abgerundete Kante. */
.card::after {
  content: "";
  position: absolute;
  top: 12px; right: 20px;
  width: 6px; height: 6px;
  background: var(--line);
  box-shadow: 10px 0 0 var(--line), 0 10px 0 var(--line);
}
.card:hover { transform: translateY(-3px); border-color: var(--accent-dark); }
.card:hover::after { background: var(--accent); box-shadow: 10px 0 0 var(--accent-dark), 0 10px 0 var(--accent-dark); }

.card__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: .95rem;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--accent);
}
.card__icon .icon { width: 21px; height: 21px; }

.card__title { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.card__tag {
  margin: .3rem 0 .6rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--arcade);
}
.card__text { margin: .55rem 0 0; font-size: .94rem; color: var(--muted); }

.grid { display: grid; gap: 1rem; }
.grid--stack   { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid--contact { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Gaming-Karten */
.games {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .75fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
.games__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.card--game .card__icon { color: var(--arcade); border-color: rgba(255,77,157,.3); }

.card--feature {
  grid-column: 1 / -1;
  border-color: rgba(255,77,157,.45);
  background:
    linear-gradient(135deg, rgba(255,77,157,.09), transparent 55%),
    var(--surface);
}
.card--feature .card__title { font-size: 1.3rem; }
.card--feature:hover { border-color: var(--arcade); }
.card__badge {
  position: absolute;
  top: -11px; left: 1.2rem;
  padding: .18rem .65rem;
  border-radius: 999px;
  background: var(--arcade);
  color: #24000f;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.games__figure {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.games__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 30% center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Kontakt-Karten */
.card--link { padding: 0; }
.card--link a {
  display: block;
  padding: 1.4rem;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--accent);
  word-break: break-all;
}
.card__cta .icon { width: 13px; height: 13px; }
.card--discord { border-color: rgba(88,101,242,.35); }
.card--discord .card__icon { color: #8b9bff; border-color: rgba(88,101,242,.35); }

/* ---------- Projekte ---------- */
.project {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 1.5rem;
}
.project--reverse { direction: rtl; }
.project--reverse > * { direction: ltr; }

.project__logo {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 180px;
}
.project__logo img { max-height: 190px; width: auto; object-fit: contain; }
/* Das W2TJ-Signet ist ein JPEG mit hartem schwarzem Hintergrund - der Rahmen
   ist deshalb ebenfalls schwarz, damit keine sichtbare Kante entsteht. */
.project__logo--w2tj { background: #000; }
.project__logo--w2tj img { border-radius: 6px; }
.project__logo--lp   { background: radial-gradient(circle at 50% 40%, #17211f, #0b100e); }

.project__name { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-weight: 750; }
.project__role {
  margin: .4rem 0 .1rem;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--accent);
}
.project__claim {
  margin: 0 0 1.1rem;
  font-style: italic;
  color: var(--dim);
}
.project__body p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted);
}
.chip__icon { width: 13px; height: 13px; color: var(--accent); }

.figure-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.figure-wide { margin: 0; }
.figure-wide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--arcade));
  opacity: .35;
}
.timeline__item { position: relative; padding-bottom: 1.1rem; }
.timeline__marker {
  position: absolute;
  left: -2.6rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--accent);
}
.timeline__marker .icon { width: 16px; height: 16px; }
.timeline__card {
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.timeline__year {
  margin: 0 0 .2rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--arcade);
}
.timeline__title { font-size: 1.05rem; font-weight: 700; }
.timeline__text { margin: .45rem 0 0; font-size: .94rem; color: var(--muted); }

/* ---------- Beruf ---------- */
.work {
  max-width: 68ch;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.work p { color: var(--muted); }
.work__handoff { margin-bottom: 1.1rem !important; }
.work__links { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2.5rem;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.site-footer__inner { display: grid; gap: 1.5rem; }
.site-footer__tagline { color: var(--dim); font-size: .9rem; max-width: 48ch; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-family: var(--mono); font-size: .82rem; }
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--dim);
}
.site-footer__notrack { color: var(--accent-dark); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal__inner { max-width: 74ch; }
.legal__title {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 780;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}
.legal h2 {
  margin: 2.2rem 0 .6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}
.legal p, .legal address { color: var(--muted); font-style: normal; }
.legal address { margin-bottom: 1.05em; line-height: 1.8; }

.placeholder {
  display: inline-block;
  padding: .05em .45em;
  border: 1px dashed var(--arcade);
  border-radius: 4px;
  background: var(--arcade-soft);
  font-family: var(--mono);
  font-size: .88em;
  color: #ffc2dd;
}
.notice {
  display: flex;
  gap: .7rem;
  padding: .9rem 1.1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,77,157,.35);
  border-radius: var(--radius-sm);
  background: var(--arcade-soft);
  font-size: .9rem;
  color: #ffd7e8;
}
.notice .icon { color: var(--arcade); margin-top: .2rem; }

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__portrait { justify-self: start; margin-top: 1rem; }
  .hero__controller { opacity: .5; top: auto; bottom: -40px; }
  .about,
  .games { grid-template-columns: 1fr; }
  .games__figure { position: static; }
  .games__figure img { aspect-ratio: 16 / 10; object-position: center 35%; }
  .project,
  .project--reverse { grid-template-columns: 1fr; direction: ltr; }
  .project__logo { min-height: 0; padding: 1.2rem; }
  .project__logo img { max-height: 130px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: .6rem 1.25rem 1.1rem;
    background: rgba(8, 11, 10, .97);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: .1rem; }
  .nav__link { padding: .65rem .8rem; font-size: .9rem; }
  .nav--plain { position: static; display: block; padding: 0; background: none; border: 0; }
  .site-header__inner { position: relative; flex-wrap: wrap; }
  .hero__controller { display: none; }
}

@media (max-width: 700px) {
  /* Vier Stats sollen sauber 2x2 stehen statt 3 + Luecke. */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 480px) {
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .brand__text { font-size: .9rem; }
  .nav-toggle__label { display: none; }
  .card::after { display: none; }
}

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

/* ---------- Druck ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .hero__controller, .hero__glow, .nav-toggle, .langswitch { display: none; }
  .card, .project, .timeline__card, .work { border-color: #ccc; background: #fff; }
}
