body {
  font-family: "Poppins", sans-serif;
  background-image: url("hintergrundbild_qualle.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.header {
  background-color: #ffffff;
  padding: 20px 80px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #a3a8ae;
  box-shadow: 0 2px 5px rgba(94, 129, 177, 0.15);
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  height: 70px;
}

.header-logo {
  height: 40px;
  max-width: 100%;
}

/* Container */
.container {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(94, 129, 177, 0.1);
}

/* Titel */
h1 {
  text-align: center;
  color: #5e81b1;
  margin-bottom: 30px;
}

/* Schritte-Leiste */
.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #a3a8ae;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease;
  z-index: 1;
  position: relative;
}

.step.active {
  background: #5e81b1;
  box-shadow: 0 0 8px #5e81b1;
}

.step-line {
  flex-grow: 1;
  height: 4px;
  background: #a3a8ae;
  margin: 0 10px;
  position: relative;
  top: -1px;
  z-index: 0;
}

.step.active ~ .step-line,
.step.active + .step-line {
  background: #5e81b1;
}

/* Formularseiten */
.form-page {
  display: none;
}

.form-page.active {
  display: block;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 8px 12px;
  margin: 6px 0 15px 0;
  box-sizing: border-box;
  border: 2px solid #a3a8ae;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: #5e81b1;
  outline: none;
}

/* Fehlertexte */
.error {
  color: #d93025;
  font-size: 0.9em;
  min-height: 18px;
  margin-top: -12px;
  margin-bottom: 12px;
}

/* Buttons */
button {
  background-color: #82bec0;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
  margin: 8px 5px 0 0;
  transition: background-color 0.3s ease;
  border-radius: 8px;
}

button:hover {
  background-color: #5e81b1;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

label > input[type="checkbox"] {
  margin-right: 8px;
}

/* Adresse deaktivieren */
#address-fields input:disabled,
#address-fields select:disabled {
  background-color: #eee;
  cursor: not-allowed;
}

/* FOOTER */
.footer {
  padding: 15px 120px;
  background-color: #f2f8fe;
  text-align: center;
  font-size: 0.9em;
  color: #333;
  border-top: 1px solid #a3a8ae;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  height: 60px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer Links */
.footer a {
  color: #5e81b1;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Landing Page */
.landing {
  text-align: center;
  padding: 60px 20px;
}

.logo {
  max-width: 200px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #5e81b1;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #82bec0;
}

/* Newsletter per Post Checkbox Styling auf Seite 2 */
.post-newsletter-checkbox {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-newsletter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #a3a8ae;
  border-radius: 5px;
  background-color: #fff;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"]:checked {
  background-color: #5e81b1;
  border-color: #5e81b1;
}

.checkbox-wrapper input[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
  display: block;
}
