/* Gemeinsame Styles */
:root {
  --primary-color: #a100af;
  --card-radius: 1rem;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 2rem;
  text-align: center;
  z-index: 1;
  position: relative;
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  margin: 0;
}

.tagline {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.content {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  z-index: 1;
  position: relative;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.content ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
  font-size: 1.1rem;
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border: none;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
  margin-top: 2rem;
}

.cta-button:hover {
  background-color: #85008f;
}

footer {
  padding: 2rem;
  text-align: center;
  z-index: 1;
  position: relative;
  margin-top: auto;
}

.footer-links a {
  margin: 0 1rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* Theme Farben */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: black;
    --text-color: white;
    --muted-color: #ccc;
    --card-bg: rgba(0, 0, 0, 0.75);
  }

  body {
    background-color: var(--bg-color);
    color: var(--text-color);
  }

  header,
  footer {
    background-color: transparent;
  }

  .tagline {
    color: var(--muted-color);
  }

  .content {
    background-color: var(--card-bg);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
  }

  .footer-links a {
    color: #aaa;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --muted-color: #555;
    --card-bg: rgba(255, 255, 255, 0.9);
  }

  body {
    background-color: var(--bg-color);
    color: var(--text-color);
  }

  header,
  footer {
    background-color: transparent;
  }

  .tagline {
    color: var(--muted-color);
  }

  .content {
    background-color: var(--card-bg);
  }

  .footer-links a {
    color: #333;
  }
}
