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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #4b286d 0, #05010a 45%, #000000 100%);
  color: #f9f5ff;
  line-height: 1.6;
}

/* Layout-Helfer */

main {
  margin-top: 64px; /* Platz für festen Header */
}

.section {
  padding: 5rem 1.5rem;
}

.section-light {
  background: linear-gradient(to bottom, #0b0614, #05010a);
}

.section-dark {
  background: linear-gradient(to bottom, #05010a, #020008);
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Header & Navigation */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  backdrop-filter: blur(10px);
  background: rgba(5, 1, 10, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #e5def9;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(132, 94, 247, 0.2);
  color: #ffffff;
}

/* Hero */

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem 5rem;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-sub {
  max-width: 560px;
  font-size: 1rem;
  color: #e2d7ff;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.btn.ghost {
  border: 1px solid rgba(196, 181, 253, 0.6);
  color: #e9d5ff;
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(79, 70, 229, 0.1);
}

/* Allgemeine Typografie */

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

p + p {
  margin-top: 0.75rem;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: #ddd5ff;
}

/* Cards */

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

.card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, #3b0764 0, #020018 40%, #020016 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
}

/* Kontakt */

.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.contact-list li + li {
  margin-top: 0.5rem;
}

.contact-list a {
  color: #c4b5fd;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: #020008;
  padding: 1rem 1.5rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #a5b4fc;
}

.footer-links a {
  color: #a5b4fc;
  text-decoration: none;
  margin-left: 1rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive Anpassungen */

@media (max-width: 720px) {
  .main-nav {
    display: none; /* Für v1: Navigation ausblenden, später ggf. Burger-Menü bauen */
  }

  .hero {
    padding-top: 5rem;
  }

  .site-header {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
