body {
  margin: 0;
  padding: 40px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
  background-image: url("pfotenmuster.png");
  background-repeat: repeat;
  background-size: 150px;
}

.form-container {
  background-color: #ffffff;
  max-width: 600px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

header {
  width: 100%;
  margin: 0;
  padding: 0;
}

.bild {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

h1 {
  text-align: center;
  color: #2c3e50;
  font-size: 26px;
  margin: 30px 20px 10px 20px;
}

p,
h3 {
  color: #555;
  padding: 0 25px;
  font-size: 15px;
  line-height: 1.5;
}

h2 {
  color: #34495e;
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 15px;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 5px;
}

fieldset {
  border: none;
  padding: 0 25px;
  margin-bottom: 30px;
}

label {
  display: block;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #475569;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="month"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  background-color: #f8fafc;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #00b3c0;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 155, 221, 0.2);
}

.hint {
  font-size: 12px;
  color: #7f8c8d;
  padding: 0;
  margin: -2px 0 8px 0;
}

input[type="range"] {
  width: 100%;
  margin: 10px 0;
}

.amount-display {
  font-size: 22px;
  font-weight: bold;
  color: #9f86be;
  text-align: center;
  margin: 10px 0;
  padding: 0;
}

.radio-group {
  margin-top: 10px;
  padding: 0;
}

.radio-group input[type="radio"] {
  margin-right: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}

.radio-group label {
  display: inline;
  font-weight: normal;
  cursor: pointer;
}

.row {
  display: flex;
  gap: 15px;
}
.col {
  flex: 1;
}

.submit-btn {
  width: calc(100% - 50px);
  margin: 0 25px 30px 25px;
  background-color: #9f86be;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #00b3c0;
}
/* Mithilfe von ChatGPT erstellt. */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  .form-container {
    border-radius: 8px;
  }
  fieldset {
    padding: 0 15px;
  }
  p,
  h3 {
    padding: 0 15px;
  }
  .submit-btn {
    width: calc(100% - 30px);
    margin: 0 15px 20px 15px;
  }
  .row {
    flex-direction: column;
    gap: 0;
  }
}
/* Ende Mithilfe von ChatGPT erstellt. */
footer {
  margin-top: 30px;
  clear: both;
}

footer hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #7f8c8d;
  text-align: center;
}

.footer-name {
  font-weight: 500;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: #9f86be;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #2e4c9c;
  text-decoration: underline;
}

.button-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.button {
  background: #9f86be;
  color: white;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.button:hover {
  background: #2e4c9c;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button:active {
  transform: scale(0.98);
}
.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}
