:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --card: #141416;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f2f2f3;
  --muted: #9a9aa2;
  --silver: linear-gradient(180deg, #ffffff 0%, #c9c9ce 55%, #8d8d94 100%);
  --discord: #5865f2;
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Hintergrund: dezentes Licht + diagonale Silberlinien wie im Banner */
.bg-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255,255,255,0.10), transparent 70%),
    linear-gradient(125deg, transparent 0 14%, rgba(255,255,255,0.12) 14.1%, transparent 14.25%,
                            transparent 21%, rgba(255,255,255,0.07) 21.1%, transparent 21.2%,
                            transparent 82%, rgba(255,255,255,0.08) 82.1%, transparent 82.2%,
                            transparent 88%, rgba(255,255,255,0.12) 88.1%, transparent 88.25%);
}

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.22em; font-size: 0.85rem; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.nav nav { display: flex; gap: clamp(12px, 3vw, 28px); font-size: 0.92rem; color: var(--muted); }
.nav nav a { transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.nav-discord { color: #a5adff !important; }

/* ===== Hero / Über mich ===== */
main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.hero {
  text-align: center;
  padding: clamp(56px, 10vw, 110px) 0 clamp(48px, 8vw, 80px);
  display: flex; flex-direction: column; align-items: center;
}
.avatar-ring {
  width: 188px; height: 188px; border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 210deg, #fff, #6b6b72, #e6e6ea, #3a3a40, #fff);
  box-shadow: 0 0 60px rgba(255,255,255,0.12), 0 20px 50px rgba(0,0,0,0.6);
  margin-bottom: 28px;
  animation: float 6s ease-in-out infinite;
}
.avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); }
@keyframes float { 50% { transform: translateY(-8px); } }

.eyebrow { color: var(--muted); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.8rem; }
h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin: 6px 0 14px;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline {
  font-size: 0.78rem; letter-spacing: 0.32em; color: #cfcfd4;
  padding-top: 14px; border-top: 1px solid var(--line-strong);
  margin-bottom: 26px;
}
.intro { max-width: 560px; color: var(--muted); font-size: 1.05rem; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #f2f2f3; color: #0a0a0b; box-shadow: 0 6px 24px rgba(255,255,255,0.12); }
.btn-light:hover { background: #fff; box-shadow: 0 8px 30px rgba(255,255,255,0.22); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-discord { background: #fff; color: var(--discord); }

/* ===== Sektionen ===== */
.section { padding: 40px 0 64px; scroll-margin-top: 80px; }
.section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.section-head h2 { font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; font-size: 1.05rem; }
.rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }

/* ===== Projekt-Karten ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(0,0,0,0.55); }
.card-banner { aspect-ratio: 1721 / 914; background: linear-gradient(135deg, #1b1b1f, #0d0d0f); overflow: hidden; }
.card-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-banner.clickable { cursor: pointer; }
.card:hover .card-banner img { transform: scale(1.04); }
.card-body { padding: 0 22px 22px; position: relative; display: flex; flex-direction: column; flex: 1; }
.card-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  border: 4px solid var(--card);
  margin-top: -36px; margin-bottom: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  background: var(--card);
}
.card h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 6px; }
.card-body > h3:first-child { margin-top: 20px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tags li { font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: #cfcfd4; }
.card-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

.card-soon {
  border-style: dashed; border-color: var(--line-strong);
  background: transparent;
  align-items: center; justify-content: center; text-align: center;
  min-height: 260px; padding: 24px;
}
.card-soon:hover { transform: none; box-shadow: none; }
.card-soon .plus { font-size: 2.4rem; font-weight: 200; color: var(--muted); line-height: 1; }
.card-soon h3 { margin-top: 8px; }
.card-soon p { margin: 0; }

/* ===== Discord ===== */
.discord-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.18), transparent 45%),
    linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  box-shadow: 0 20px 60px rgba(88,101,242,0.25);
  transition: transform .25s, box-shadow .25s;
}
.discord-card:hover { transform: translateY(-4px); box-shadow: 0 26px 70px rgba(88,101,242,0.4); }
.discord-logo {
  width: 104px; height: 104px; border-radius: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.discord-card:hover .discord-logo svg { animation: wiggle .6s ease; }
@keyframes wiggle { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.discord-text h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; margin-bottom: 6px; }
.discord-text p { color: rgba(255,255,255,0.85); max-width: 520px; }

/* ===== Footer ===== */
.footer {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  padding: 28px 16px 36px;
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em;
  border-top: 1px solid var(--line);
}
.footer .dot { opacity: .5; }

/* ===== Handy ===== */
@media (max-width: 720px) {
  .discord-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .discord-text p { margin: 0 auto; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  .grid { grid-template-columns: 1fr; }
  .avatar-ring { width: 150px; height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
