body {
  font-family: Arial;
  margin: 0;
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 35px;
}

h3 {
  font-size: 30px;
}

p {
  font-size: 16px;
  line-height: 1.6;
}

/* Navbar Container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: lightgrey;
  padding: 15px 40px;
  margin: 0;
  /* Navbar oben fest */
  position: fixed;
  width: 100%;
  box-sizing: border-box;
}

/* Logo-Stil */
.navbar .logo a {
  color: black;
  text-decoration: none; /* standardmäßig kein Unterstrich */
  font-weight: bold;
}

.navbar .logo a:hover {
  text-decoration: underline; /* Unterstrich beim Hover */
}

/* Navigation / Links */
.navbar .nav-list a {
  color: black;
  text-decoration: none; /* standardmäßig kein Unterstrich */
  margin: 0 10px; 
}

.navbar .nav-list a:hover {
  text-decoration: underline; /* Unterstrich beim Hover */
}

.menu-wrapper {
  position: relative;
}

/* Menü-Button für Dropdown */
.menu-button {
  color: black;
  cursor: pointer;
  user-select: none;
}

/* Dropdown-Liste */
.nav-list {
  display: none; /* ausgeblendet bis Menü geöffnet */
  position: absolute;
  right: 0;
  top: 40px;
  background: lightgrey;
  list-style: none;
  padding: 15px;
  width: 200px;
}

.nav-list li {
  margin-bottom: 10px;
}

#menu-toggle {
  display: none; /* Checkbox unsichtbar */
}

#menu-toggle:checked + .menu-button + .nav-list {
  display: block; /* Menü anzeigen, wenn Checkbox aktiviert */
}

.intro {
  background-color: black;
  color: white;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.beschreibung {
  text-align: center;
}

.kontakt {
  display: block;
  background-color: #28a745; /* grüner CTA */
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  width: fit-content;
  margin: 30px auto; /* auto zentriert horizontal */
}

.kontakt:hover {
  background-color: #218838; /* dunkles grün */
  transform: translateY(-3px);
}

.vergleich {
  display: flex;
  justify-content: space-between;
  gap: 40px; /* Abstand zwischen Spalten */
  padding: 30px 30px;
}

.vergleich > hr {
  border: none;
  border-left: 1px solid lightgrey;
  height: auto;
  align-self: stretch;
  margin: 0;
  width: 1px;
  flex-shrink: 0;
}

.problem{
  padding: 30px;
  background-color: red;
  color: white;
  flex: 1;
}

.lösung {
  padding: 30px;
  background-color: darkgreen;
  color: white;
  flex: 1;
}

ol.liste,
ul.liste {
  list-style-position: inside;
  display: inline-block; /* Liste wird wie ein Block behandelt, aber inline für Zentrierung */
  text-align: left;      /* Text links innerhalb der Liste */
  margin: 0 auto;        /* Zentriert die gesamte Liste horizontal */
  padding-left: 0;       /* Kein extra Abstand */
}

ol.liste li,
ul.liste li {
  margin-bottom: 5px;
}

.trenner {
  border: none;
  border-top: 1px solid lightgrey;
  margin: 20px auto;
  width: 80%;
}

.footer {
  background-color: black;
  color: white;
  text-align: center;
  margin: 0;           /* kein zusätzlicher Rand */
  padding: 5px 5px;  /* oben/unten 20px, links/rechts 10px */
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

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

@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 25px;
  }
  h3 {
    font-size: 22px;
  }
  .navbar {
    padding: 15px 20px;
  }
  .vergleich {
    flex-direction: column;
  }
  .vergleich > hr {
    border-left: none;
    border-top: 1px solid lightgrey;
    width: 80%;
    margin: 10px auto;
    height: 0;
  }
  .beschreibung {
    padding: 20px 24px;
  }
}