.indexbutton {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.indexbutton img {
  width: 50px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.indexbutton:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.indexbutton img:hover {
  transform: scale(1.1);
}

.indexbutton:active {
  transform: scale(0.95);
}

.Startbutton button {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.Startbutton button:hover {
  background-color: #74b7ff;
}

.Startbutton button:active {
  background-color: #a8d2ff;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5dc;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 600px;
  margin: 20px;
  padding: 20px;
  background-color: #f5f5dc;
  border-radius: 8px;
}

header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.home-button {
  background-color: #007bff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  z-index: 2;
}

.home-button img {
  width: 20px;
  height: 20px;
}

.home-button:hover {
  background-color: #0056b3;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-container form {
  display: flex;
  flex-direction: column;
}

.form-container label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-container input[type="text"],
.form-container select {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #f5f5dc;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.form-container input[type="number"],
.form-container select {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #f5f5dc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-container input[type="tel"],
.form-container select {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #f5f5dc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-container input[type="email"],
.form-container select {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #f5f5dc;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.form-container input[type="checkbox"] {
  margin-right: 10px;
}

.agb-section {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.button-section {
  display: flex;
  justify-content: space-between;
}

.button-section button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button-section button:hover {
  background-color: #0056b3;
}

.summary p {
  font-size: 16px;
  margin-bottom: 10px;
}

.summary strong {
  font-weight: bold;
}

.button-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .form-container {
    padding: 10px;
  }

  .input-group label {
    display: block;
    margin-bottom: 5px;
  }

  .button-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .button-section button {
    width: calc(90% - 5px);
    flex-grow: 1;
    margin-right: 5px;
  }

  .button-section button:last-child {
    margin-left: 10px;
  }
}

#abstand {
  margin-top: 100px;
  margin-bottom: 100px;
}

.progress-container {
  position: fixed;
  top: 70px;
  right: 10px;
  width: 20px;
  height: calc(100% - 140px);
  background-color: #888888;
  border-radius: 5px;
}

.progress-bar {
  width: 100%;
  height: 0%;
  background-color: #36a4ff;
  border-radius: 5px;
  transition: height 0.3s ease;
}

/*nav*/

.navbar {
  padding: 20px 20px;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin-left: 330px;
}

.burger-menu {
  display: none;
  margin-left: 330px;
  flex-direction: column;
  cursor: pointer;
  order: 2;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 3px 0;
  margin-left: 20px;
}

@media (max-width: 430px) {
  .menu {
    display: none;
    flex-direction: column;
    order: 1;
  }
  .burger-menu {
    display: flex;
    order: 3;
  }
}

#titel {
  text-align: right;
  margin-right: 120px;
  margin-top: 570px;
}

.titel {
  text-align: right;
  margin-right: 120px;
}
#hgbild {
  background-image: url(Titelbild.jpg);
  background-size: 190%;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f0f0f0;
  text-align: center;
  padding-left: 20px;
  margin: -15px;
}
