/* Grundlayout */
body.custom-bg {
  background-color: #105587;
  min-height: 100vh;
  padding-block: 4vh;
  padding-inline: 6vw;
  margin: 0;
  box-sizing: border-box;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Header */
.header {
  background-color: #FB710D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  flex: 0 0 13%;
}

.header h1 {
  font-size: 2.25rem;
  color: white;
  font-weight: 700;
}

.header button {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.header button:first-child {
  background-color: #1e3a8a;
}

.header button:first-child:hover {
  background-color: #1d4ed8;
}

.header button:last-child {
  background-color: #16a34a;
}

.header button:last-child:hover {
  background-color: #22c55e;
}

/* Navigation */
.navbar {
  background-color: #004070;
  color: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  font-size: 1.375rem;
  flex: 0 0 8%;
  min-height: 60px;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Inhalt */
.content {
  flex: 1;
  background-image: url('img/himmel.png');
  background-color: #1F4FC1;
  background-size: 100% 100%;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.content-top h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.content-top p {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2rem auto;
  color: white;
}

/* Formular-Styles */
form {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(5px);
}

label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: white;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
  color: #000;
}

textarea {
  resize: vertical;
}

input[type="checkbox"] {
  transform: scale(1.2);
  margin-top: 0.3rem;
}

/* Formular-Button */
button[type="submit"] {
  background-color: #7b121b;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  display: block;
  width: 100%;
  margin-top: 1.5rem;
}

button[type="submit"]:hover {
  background-color: #a01c27;
}

/* Responsive Anpassungen */
@media (min-width: 768px) {
  .flex-row {
    display: flex;
    gap: 1rem;
  }
  .flex-row > div {
    flex: 1;
  }
}
