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

/* Grundlegende Stile */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container für Impressum und Datenschutz */
.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Typografie */
h1 {
  font-size: 1.875rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 1.5rem 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 400;
  margin: 1.25rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #555555;
}

a {
  color: #555555;
  text-decoration: none;
  border-bottom: 1px solid #dddddd;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
  color: #000000;
  border-color: #999999;
}

/* Listen für Datenschutz */
ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

ul.index {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

ul.index li {
  margin-bottom: 0.3rem;
}

ul.m-elements {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: #555555;
}

.index-link {
  display: inline-block;
  padding: 0.2rem 0;
}

/* Spezielle Elemente für Datenschutz */
.seal {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #888888;
  text-align: center;
}

/* Startseite Styles - exakt auf die vorhandene HTML-Struktur angepasst */
main {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 80vh; /* Gibt mehr Platz für die Zentrierung */
}

.content {
  text-align: center;
  padding: 2rem;
  animation: fadeIn 2s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Footer Styles - exakt auf die vorhandene HTML-Struktur angepasst */
footer {
  width: 100%;
  padding: 1rem;
  text-align: center;
  margin-top: auto; /* Drückt den Footer nach unten */
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: #888888;
  font-size: 0.75rem;
  border-bottom: none;
}

.footer-links a:hover {
  color: #333333;
}

/* Navigation zurück zur Startseite */
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #888888;
  text-decoration: none;
  border-bottom: none;
}

.back-link:hover {
  color: #333333;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .wrapper {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.125rem;
  }

  h3 {
    font-size: 1rem;
  }
}
