/* Grundlegendes Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --farbe-primaer: #2563eb;
  --farbe-dunkel: #1e293b;
  --farbe-hell: #f8fafc;
  --farbe-text: #334155;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--farbe-text);
  background: var(--farbe-hell);
  line-height: 1.6;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--farbe-dunkel);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--farbe-text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--farbe-primaer);
}

/* Hero-Bereich */
.hero {
  text-align: center;
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--farbe-dunkel);
  margin-bottom: 0.5rem;
}

.highlight {
  color: var(--farbe-primaer);
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--farbe-primaer);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: #1d4ed8;
}

/* Inhaltsbereiche */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section h2 {
  color: var(--farbe-dunkel);
  margin-bottom: 1rem;
}

/* Projekt-Karten */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: var(--farbe-primaer);
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--farbe-dunkel);
  color: #cbd5e1;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}
