@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Syne:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --bg-primary: #05060f;
  --bg-secondary: #0c0e1e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(0, 220, 255, 0.12);
  --accent: #00dcff;
  --accent-2: #ff4b6e;
  --accent-glow: rgba(0, 220, 255, 0.25);
  --text-primary: #eef0ff;
  --text-secondary: #8891b4;
  --text-muted: #4a5070;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Syne', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Background Grid ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 220, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 220, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -40%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(0, 220, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: pulse-orb 8s ease-in-out infinite alternate;
}

@keyframes pulse-orb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(5%, 8%) scale(1.1); }
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(5, 6, 15, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.nav-logo span { color: var(--text-primary); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  width: fit-content;
  background: rgba(0, 220, 255, 0.05);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.hero h1 .highlight {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(120deg, var(--accent), #7b8cff);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: #33e5ff;
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Sections ── */
section {
  padding: 90px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

/* ── About Card ── */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  pointer-events: none;
}
.about-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

/* FIX: pointer-events: none verhindert, dass das Overlay Klicks blockiert */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 220, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(0, 220, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.project-card:hover::after { opacity: 1; }

.project-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.project-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.status-unreleased {
  background: rgba(255, 75, 110, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(255, 75, 110, 0.25);
}
.status-live {
  background: rgba(0, 220, 100, 0.1);
  color: #00dc64;
  border: 1px solid rgba(0, 220, 100, 0.25);
}
.project-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.project-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.6;
}

/* FIX: z-index: 2 stellt sicher, dass Links über dem Overlay liegen */
.project-links { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 2; }

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.link-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 220, 255, 0.07);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s;
  filter: brightness(0.85) saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.1);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,6,15,0.7) 100%);
  pointer-events: none;
}

/* ── Skills ── */
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.skills-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  backdrop-filter: blur(8px);
}
.skills-group h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.skill-list { display: flex; flex-direction: column; gap: 10px; }
.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.skill-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}
.system-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.system-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(123, 140, 255, 0.1);
  border: 1px solid rgba(123, 140, 255, 0.2);
  color: #9aaeff;
}

/* ── Goals ── */
.goals-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.goals-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  pointer-events: none;
}
.goals-list { display: flex; flex-direction: column; gap: 14px; }
.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.goal-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255, 75, 110, 0.1);
  border: 1px solid rgba(255, 75, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent-2);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 6, 15, 0.95);
  backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--accent); }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 16px 22px; }
  .nav-links { display: none; }
  .hero { padding: 110px 22px 60px; }
  section { padding: 60px 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-layout { grid-template-columns: 1fr; }
  footer { padding: 28px 22px; }
}


