:root {
  --bg: #0b0f17;
  --surface: #111827;
  --surface-2: #151f2e;
  --text: #f4f7fb;
  --muted: #9ca8ba;
  --line: rgba(255,255,255,0.09);
  --accent: #7dd3fc;
  --accent-soft: rgba(125,211,252,0.10);
  --green: #86efac;
  --green-soft: rgba(134,239,172,0.10);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0,0,0,0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(125,211,252,0.11), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(134,239,172,0.07), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  padding: 28px 18px 44px;
}

a {
  color: inherit;
}

.container {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 72px;
}

.brand {
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-links .admin-link {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 74px;
}

.eyebrow {
  display: inline-flex;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(125,211,252,0.16);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
  max-width: 780px;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  transition: 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.075);
}

.button.primary {
  color: #041016;
  background: var(--accent);
  border-color: transparent;
}

.profile-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--surface-2);
}

.profile-meta {
  padding: 18px 4px 4px;
}

.profile-meta strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.profile-meta span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.section {
  margin-top: 70px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-description {
  color: var(--muted);
  max-width: 620px;
  font-size: 16px;
}

.box {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.box p {
  color: var(--muted);
  font-size: 17px;
  max-width: 900px;
}

.box p + p {
  margin-top: 16px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.highlight {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.highlight strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.highlight span {
  color: var(--muted);
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  min-height: 210px;
  transition: 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.065);
}

.topline {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card h3,
.card h2 {
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  color: #c9f5ff;
  background: var(--accent-soft);
  border: 1px solid rgba(125,211,252,0.14);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 650;
}

.status {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.muted-status {
  background: rgba(255,255,255,0.055);
  color: var(--muted);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skill-group {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.skill-group h3 {
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--muted);
  font-size: 15px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(125,211,252,0.12), rgba(134,239,172,0.08));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
}

.contact-box p {
  color: var(--muted);
  max-width: 720px;
  margin-top: 8px;
}

.footer {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #697587;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .profile-card {
    max-width: 360px;
  }

  .highlight-grid,
  .skills-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    padding: 22px 14px 36px;
  }

  .box,
  .card,
  .skill-group,
  .contact-box {
    padding: 20px;
  }

  .nav-links a {
    padding: 7px 10px;
  }
}

/* Zweistufige Navigation */
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 72px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-tabs,
.sub-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-tabs a,
.sub-tabs a {
  text-decoration: none;
  border-radius: 999px;
  transition: 0.18s ease;
}

.top-tabs a {
  color: var(--muted);
  font-size: 15px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
}

.top-tabs a:hover,
.top-tabs a.active {
  color: var(--text);
  background: rgba(255,255,255,0.075);
}

.sub-tabs {
  padding-top: 2px;
}

.sub-tabs a {
  color: var(--muted);
  font-size: 14px;
  padding: 6px 10px;
}

.sub-tabs a:hover,
.sub-tabs a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

@media (max-width: 860px) {
  .site-nav {
    margin-bottom: 48px;
  }

  .nav-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Gaming Cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.game-card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  min-height: 250px;
  transition: 0.18s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.065);
}

.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.game-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.game-logo.steam {
  background: rgba(59,130,246,0.12);
  color: #93c5fd;
}

.game-logo.wow {
  background: rgba(234,179,8,0.12);
  color: #fde68a;
}

.game-logo.lol {
  background: rgba(59,130,246,0.10);
  color: #7dd3fc;
}

.game-logo.valorant {
  background: rgba(244,63,94,0.12);
  color: #fda4af;
}

.game-title-wrap h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.game-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}

.meta-list strong {
  color: var(--text);
  font-weight: 650;
}

.cta-row {
  margin-top: 18px;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}

.inline-link:hover {
  text-decoration: underline;
}

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

/* Brand-Logos in Gaming-Cards */
.game-logo {
  overflow: hidden;
}

.game-logo img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.92;
}

.game-logo.battlenet {
  background: rgba(125,211,252,0.12);
  color: #7dd3fc;
}

/* Legal pages */
.legal-page {
  max-width: 900px;
}

.legal-content {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.legal-content h2 {
  font-size: 26px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
}

.legal-content ul {
  margin-left: 20px;
  margin-top: 10px;
}

.legal-warning {
  background: rgba(250,204,21,0.08);
  border: 1px solid rgba(250,204,21,0.20);
  color: #fde68a;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 18px 0;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8ba3bb;
  text-decoration: none;
}

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

/* Pretty legal pages */
.legal-shell {
  max-width: 1080px;
}

.legal-hero {
  margin-top: 4px;
  margin-bottom: 34px;
}

.legal-hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

.legal-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.legal-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.legal-card h2 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-note {
  background: rgba(250,204,21,0.08);
  border: 1px solid rgba(250,204,21,0.18);
  border-radius: 18px;
  padding: 16px 18px;
  color: #f6e7a8;
  font-size: 15px;
  line-height: 1.55;
}

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.legal-list li {
  position: relative;
  padding-left: 18px;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.legal-plain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-plain-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.legal-plain-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-label {
  color: var(--text);
  font-weight: 650;
  flex-shrink: 0;
}

.legal-value {
  color: var(--muted);
  text-align: right;
}

.legal-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-link-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}

.legal-link-list a:hover {
  text-decoration: underline;
}

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

@media (max-width: 640px) {
  .legal-plain-list li {
    flex-direction: column;
    gap: 4px;
  }

  .legal-value {
    text-align: left;
  }
}
