@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

:root {
  --bg: #121416;                /* Tiefes Dunkelgrau für den Hintergrund */
  --card-bg: #1e2226;           /* Dunkleres Grau für Karten */
  --text: #f0f4f8;              /* Sanftes Weiß für den Text */
  --text-light: #b0b8c1;        /* Gedämpftes Grau für weniger wichtige Texte */
  --accent: #6c9ffb;            /* Lebhaftes Blau als Akzentfarbe */
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.4); /* Tiefere Schatten für modernen Look */
  --border: #2a2f34;            /* Dezenter Rahmen für Container */
  --radius: 18px;               /* Einheitliche Border-Radius */
  --transition: 0.4s ease;      /* Einheitlicher Übergang für Animationen */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
}

main {
  max-width: 900px;
  width: 100%;
  margin: 5rem auto;
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

main:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-align: center;
  transition: var(--transition);
}

h1:hover {
  color: #88b4ff;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 2.5rem;
  color: var(--text);
}

p, li {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

a:hover {
  color: #88b4ff;
  text-decoration: underline;
}

ul {
  padding-left: 1.5rem;
  list-style: square;
}

.footer {
  margin-top: auto;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 1rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--text-light);
  margin: 0 15px;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Buttons (optional styling for interaktivere Designs) */
button {
  background-color: var(--accent);
  color: var(--text);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), background-color var(--transition);
}

button:hover {
  background-color: #88b4ff;
  transform: scale(1.05);
}

/* Mobile Styling */
@media (max-width: 640px) {
  main {
    padding: 2rem;
    margin: 2rem 1rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p, li {
    font-size: 1rem;
  }

  .footer {
    font-size: 0.9rem;
  }
}
