/* ====== DESIGN-SYSTEM ====== */
:root {
  --bg: #000000;
  --surface: rgba(20, 20, 20, 0.5);
  --text: #ffffff;
  --muted: #888888;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --max-width: 900px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
}

/* ====== BLURRY HINTERGRUND ====== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../hintergrund.jpg") center/cover no-repeat;
  filter: blur(15px) brightness(0.45);
  z-index: -1;
}

/* ====== NAVBAR (auch leicht blurry) ====== */
.navbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px) brightness(0.9);
  -webkit-backdrop-filter: blur(16px) brightness(0.9);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3vw;
  z-index: 10;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--muted); }

/* ====== HERO ====== */
.hero {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 0 3vw;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: .9rem 2.2rem;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background .25s;
}

.btn:hover { background: var(--muted); }

/* ====== CONTENT ====== */
.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 3vw;
}

.content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.content p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 65ch;
}

.project-list {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .25s;
}

.project-card:hover { border-color: var(--text); }

.project-card h3 { margin-bottom: .5rem; }

.contact-info {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color .2s;
}

.contact-info a:hover { border-color: var(--text); }

/* ====== ANIMATION ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.fade-in { animation: fadeUp .8s both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }