@font-face {
    font-family: 'RobotoCondensed';
    src: url('../style/fonts/RobotoCondensed-VariableFont_wght.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'RobotoCondensed', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #262d33;
    background-color: #fff;
}

h1 {
  font-size: 1.5rem;
  color: #005092;
}

.bold {
  font-weight: bold;
}

.grau {
  color: #808080;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #bbb;
  text-underline-offset: 2px;
}

.separator {
  color: #999;
  margin: 0 0.3em;
}


.fehlertext {
  color: #c00000;
}


/* =========================
   GLOBAL RESET (wichtig!)
========================= */
form {
  margin: 0;
}

/* =========================
   FORM: INLINE (Input + Button)
========================= */
.form-row {
  display: flex;
  max-width: 380px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.form-row input {
  flex: 1;
  border: none;
  padding: 6px 10px;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
}

.form-row input:focus {
  border-color: #005092;
  box-shadow: 0 0 0 2px rgba(0, 80, 146, 0.2);
}

.form-row button {
  border: none;
  border-left: 1px solid #005092;
  padding: 6px 12px;
  background: #005092;
  color: #fff;
  font-size: 1rem;
}

.form-row button:hover {
  background: #003f73;
}

/* Autofill fix */
.form-row input,
.form-row input:-webkit-autofill {
  background: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
}



.form-vertical {
  max-width: 380px;
}

/* Labels allgemein */
.form-vertical label {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

/* Text Inputs (NUR echte Felder) */
.form-vertical input:not([type="checkbox"]):not([type="radio"]),
.form-vertical textarea {
  width: 100%;
  padding: 6px 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-top: 4px;
  background: #fff;
  outline: none;
  font-family: inherit;
}

/* Fokus nur für echte Felder */
.form-vertical input:not([type="checkbox"]):not([type="radio"]):focus,
.form-vertical textarea:focus {
  border-color: #005092;
  box-shadow: 0 0 0 2px rgba(0, 80, 146, 0.2);
}

/* Textarea */
.form-vertical textarea {
  min-height: 160px;
  resize: vertical;
}

/* Button */
.form-vertical button {
  margin-top: 12px;
    padding: 0.5rem 1rem;
  font-size: 1rem;
  background: #005092;
  color: #fff;
  border: 1px solid #005092;
  border-radius: 5px;
  cursor: pointer;
}

.form-vertical button:hover {
  background: #003f73;
}

.checkbox-dsgvo {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-dsgvo input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-dsgvo span {
  flex: 1;
}

.checkbox-dsgvo a {
  color: #005092;
  text-decoration: underline;
}





.button-primary:hover {
  background: #003f73;
}

.form-vertical label.button-primary {
    display: inline-block;
}


/* Select-Felder wie Textfelder darstellen */
.form-vertical select {
  width: 100%;
  padding: 6px 10px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.6;
  color: #262d33;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-top: 4px;
  background: #fff;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

/* Fokus wie bei Inputs */
.form-vertical select:focus {
  border-color: #005092;
  box-shadow: 0 0 0 2px rgba(0, 80, 146, 0.2);
}

.button-primary,
.submit-btn {
    display: inline-block;
    width: 180px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1;   /* wichtig */
    text-align: center;
    box-sizing: border-box;
    background: #005092;
    color: white;
    border: 1px solid #005092;
    border-radius: 5px;
    cursor: pointer;
}

.button-primary {
    cursor: pointer;
}

.button-primary:hover,
.submit-btn:hover {
    background: #003f73;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #005092;
    border-radius: 30px;
}

.slider:before {
    content: "";
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

input:checked + .slider {
    background-color: #f44336;
}

input:checked + .slider:before {
    transform: translateX(30px);
}


.pruefung-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.auftrag {
    text-align: left;
}

.mangel {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bold {
    font-weight: bold;
}