/* ---------- FORMULAR GRUNDSTIL ---------- */
form {
  background: #1F2933;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 800px;
  margin: 2rem auto;
  font-family: 'Inter', sans-serif;
}

/* ---------- FELDGRUPPEN ---------- */
form table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

form td {
  padding: 0.5rem;
  vertical-align: middle;
}

form label {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.25rem;
  color: white;
  font-size: 0.95rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="url"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

form input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* ---------- CHECKBOX ---------- */
form input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 0.5rem;
}

form a {
  color: white;
  text-decoration: underline;
  font-weight: 500;
}

/* ---------- HINWEISTEXTE ---------- */
form p,
form h3 {
  margin: 1rem 0;
  color: white;
  font-size: 0.95rem;
}

form h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

form h3 {
  font-weight: 600;
  color: white;
  text-align: center;
}

/* ---------- BUTTON ---------- */
.cta-primary {
  background: #3b82f6;
  color: white;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s;
}

.cta-primary:hover {
  background: #2563eb;
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (max-width: 768px) {
    form {
        padding: 1.5rem;
    }

    form table {
        display: block;
        width: 100%;
    }

    form tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }

    form td {
        padding: 0.25rem 0;
    }

    form input[type="text"],
        form input[type="email"],
            form input[type="tel"] {
                width: 100%;
                font-size: 1rem;
            }

            .cta-primary {
                width: 100%;
                text-align: center;
            }

            form h2 {
                font-size: 1.35rem;
            }

            form h3 {
                font-size: 1rem;
            }

            form .checkbox-label {
                display: flex;
                align-items: center;
                font-size: 0.95rem;
            }
}
