/* ===========================
   SmartWe Formular – Clean Wide Version
   =========================== */

html, body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  background: #fff;
  margin: 0;
  padding: 0;
}

/* Zentrale Layoutstruktur */
.smartwe-form,
form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Labels */
.formlabel {
  display: inline-block;
  min-width: 160px;
  margin-right: 12px;
  color: #333;
  font-weight: 500;
  vertical-align: middle;
}

/* Eingabefelder */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='number'],
input[type='date'],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font: inherit;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* Fokuszustand */
input:focus,
select:focus,
textarea:focus {
  border-color: #0078d4;
  box-shadow: 0 0 0 2px rgba(0,120,212,0.15);
  outline: none;
}

/* Checkboxen */
input[type='checkbox'] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  accent-color: #0078d4;
  margin-right: 6px;
}

/* Buttons */
input[type='submit'],
button {
  background: #0078d4;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

input[type='submit']:hover,
button:hover {
  background: #005fa3;
}

input[type='submit']:active,
button:active {
  background: #004d82;
}


/* Info- & Warnmeldungen */


/* Formularzeilen */
div {
  display: block;
  margin-bottom: 12px;
}

/* Buttons ausrichten */
.formbutton {
  text-align: right;
  margin-top: 20px;
}

/* ===========================
   Responsive Layouts
   =========================== */

/* Tablet & kleiner */
@media (max-width: 900px) {
  .formlabel {
    display: block;
    margin: 0 0 6px 0;
    min-width: 0;
  }

  input[type='text'],
  input[type='email'],
  input[type='tel'],
  input[type='number'],
  input[type='date'],
  textarea,
  select {
    width: 100%;
  }

  .formbutton {
    text-align: center;
  }
}

/* Kleine Displays */
@media (max-width: 600px) {
  form {
    padding: 10px;
  }
}

