* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #432918;
  background: #f9b233;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

h1 {
  font-family: "chaloops", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  color: #432918;
}

textarea {
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100px;
  ::placeholder {
    font-family: Arial, Helvetica, sans-serif;
  }
}

input[type="month"] {
  font-family: Arial, sans-serif;
}

input[type="range"] {
  width: 100%;
  color: #432918;
  accent-color: #432918;
}

input[type="radio"] {
  accent-color: #432918;
}

a {
  color: rgb(159, 159, 159);
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

select#purpose {
  margin-bottom: 10px;
}

.group-title {
  font-family: "chaloops", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
}

.label {
  font-weight: bolder;
}

.form-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  padding-bottom: 1rem;
}

.form-title {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.form-container img {
  display: block;
  margin: 0 auto;
  width: 200px;
  padding-bottom: 50px;
}

.group {
  background-color: #fef3db;
  border: 1px solid #7a4f32;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.group-title {
  color: #432918;
  border-bottom: 1px solid #7a4f32;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #fbe8c3;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: #7a4f32;
  box-shadow: 0 0 0 3px #7a4f3278;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.form-check input {
  margin-right: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #251711;
  background-image: url("../media/gestaltungselement.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-bottom: 2rem;

  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-messages {
  color: #b00020;
  background-color: #fce4e4;
  border: 1px solid #b00020;
  border-radius: 8px;
  padding: 10px 15px;
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

::selection {
  color: white;
  background: #432918;
}

footer {
  color: rgb(159, 159, 159);
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

p.confirmation-text {
  font-size: 1.2rem;
  color: #2d572c;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: #f0fdf4;
  padding: 1rem 1.5rem;
  border: 2px solid #c1e1c1;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 615px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-container img {
    width: 300px;
  }
  h1 {
    font-weight: 700;
  }
}
