/* ---------------------------------------
   Variablen – hier zentral Farben/Fonts anpassen
--------------------------------------- */
:root {
  --bg: #0f1115;
  --bg-elevated: #171a21;
  --text: #e8e8ea;
  --text-muted: #9a9ea8;
  --accent: #5cc8ff;
  --border: #262a33;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --max-width: 960px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* ---------------------------------------
   Header
--------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}
.logo .dot { color: var(--accent); }

.site-header nav a {
  margin-left: 1.5rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.site-header nav a:hover { color: var(--text); }

/* ---------------------------------------
   Hero
--------------------------------------- */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1rem 3rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 40ch;
}

/* ---------------------------------------
   Projekte
--------------------------------------- */
.projects, .playground {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.projects h2, .playground h2 {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.project-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.project-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.project-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------------------------------------
   Playground – hier eigenes Zeug reinbauen
--------------------------------------- */
.playground p {
  color: var(--text-muted);
}

/* ---------------------------------------
   Footer
--------------------------------------- */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}
