:root {
  --bg: #08111f;
  --bg-soft: #101b2e;
  --card: rgba(255,255,255,.08);
  --card-strong: rgba(255,255,255,.13);
  --text: #eef4ff;
  --muted: #aebbd0;
  --line: rgba(255,255,255,.14);
  --accent: #5eead4;
  --accent-2: #93c5fd;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(94,234,212,.22), transparent 30rem),
    radial-gradient(circle at 80% 10%, rgba(147,197,253,.18), transparent 28rem),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  backdrop-filter: blur(18px);
  background: rgba(8,17,31,.72);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06101d;
}
.brand-text { font-size: 1.2rem; }

.nav { display: flex; gap: 24px; align-items: center; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav-cta { color: #06101d !important; background: var(--accent); padding: 10px 16px; border-radius: 999px; }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 44px;
  align-items: center;
  padding: clamp(64px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.075em;
  max-width: 980px;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); max-width: 760px; margin: 28px 0; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 999px;
  font-weight: 800; border: 1px solid var(--line);
}
.primary { background: var(--accent); color: #06101d; border-color: transparent; }
.secondary { background: rgba(255,255,255,.06); color: var(--text); }
.full { width: 100%; }

.hero-card, .card, .project-grid article, .profile-box, .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card { padding: 24px; display: grid; gap: 16px; }
.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}
.stat strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.stat span { color: var(--muted); display: block; margin-top: 8px; }

.section {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.section h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
}
.intro p:last-child, .profile p, .contact p { color: var(--muted); font-size: 1.08rem; }

.cards, .project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card, .project-grid article { padding: 24px; }
.card h3, .project-grid h3, .profile-box h3 { margin: 0 0 12px; letter-spacing: -.03em; }
.card p, .project-grid p { color: var(--muted); margin: 0; }
.tag {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.profile, .contact {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 28px;
  align-items: start;
}
.profile-box, .contact-card { padding: 28px; background: var(--card-strong); }
.profile-box ul { padding-left: 20px; color: var(--muted); margin: 0; }
.small { font-size: .92rem !important; margin-bottom: 0; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Ergänzung für Impressum / Datenschutz */
.legal-page {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 34px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.075em;
}

.legal-card h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card ul {
  padding-left: 22px;
}

.footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .intro, .profile, .contact { grid-template-columns: 1fr; }
  .cards, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cards, .project-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .footer { flex-direction: column; }
}
