@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-image: url("assets/joel-filipe-9mz2XG6stQg-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 60px; /* mindestens so hoch wie Footer */
}

/* ---------- HEADER ---------- */
.page-header {
  position: relative;
  height: 180px;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 4px solid rgba(235, 91, 68, 0.6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-title {
  font-size: 2.4rem;
  color: rgba(235, 91, 68, 0.6);
  font-weight: 700;
  margin: 0;
  padding: 0 10px;
  line-height: 1.2;
  z-index: 1;
}

.logo-top-right {
  position: absolute;
  top: 20px;
  right: 20px;
  max-width: 90px;
  height: auto;
  z-index: 2;
}

/* ---------- FORMULAR ---------- */
.formbold-main-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.formbold-form-wrapper {
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
  padding: 20px 30px;
  border-radius: 8px;
  background: rgb(255, 255, 255);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(235, 91, 68, 0.6); /* Schlichte orange Kontur */
}

.formbold-input-flex {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
}

.formbold-input-flex > div {
  width: 50%;
}

.formbold-form-input {
  width: 100%;
  padding: 13px 22px;
  border-radius: 5px;
  border: 1px solid #dde3ec;
  background: #ffffff;
  font-weight: 500;
  font-size: 16px;
  color: #536387;
  outline: none;
  resize: none;
}

.formbold-form-input:focus {
  border-color: #61bbdc;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-form-label {
  color: #07074d;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  display: block;
  margin-bottom: 10px;
}

/* ---------- BUTTONS ---------- */
.formbold-form-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 25px;
}

.formbold-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  border-radius: 5px;
  padding: 10px 25px;
  border: none;
  font-weight: 500;
  background-color: rgba(235, 91, 68, 0.6); /* Orange mit 60% Deckkraft */
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formbold-btn:hover {
  background-color: rgba(235, 91, 68, 1); /* Volle Deckkraft beim Hover */
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
}

/* ---------- FOOTER ---------- */
.page-footer {
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 40px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  font-family: "Inter", sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-link {
  color: #07074d;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-text {
  color: #07074d;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

/* ---------- MOBILE OPTIMIERUNG ---------- */
@media (max-width: 480px) {
  .header-content h1 {
    font-size: 1.6rem;
  }

  .logo {
    max-width: 100px;
  }

  .formbold-input-flex {
    flex-direction: column;
    gap: 10px;
  }

  .formbold-form-wrapper {
    padding: 15px;
  }

  .page-header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px;
    text-align: center;
  }

  .logo-top-right {
    position: static;
    max-width: 70px;
    margin-bottom: 10px;
  }

  .header-title {
    font-size: 1.4rem;
    padding: 0 10px;
  }
}

.ergebnis {
  background-color: #f0f8ff;
  border: 1px solid #b0c4de;
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.ergebnis h2 {
  color: #4682b4;
  margin-bottom: 10px;
}

.ergebnis p {
  color: #555;
  font-size: 16px;
}

.ergebnis a {
  color: #007bff;
  text-decoration: none;
}

.ergebnis a:hover {
  text-decoration: underline;
}
