/* Mobil-/Tablet-Anpassungen nur fuer /bewerbung/ (gilt nur, wenn in Media-Queries <=1024px, ausser bewusst global) */
@media (max-width: 1024px) {
  /* Aufzaehlung rechts: weisser Text auf hellem Foto -> CI-blaue Flaeche fuer Lesbarkeit */
  body main .con-kit-section.form-\+-bullet-points .con-kit-col--last .con-kit-component-grid-list {
    padding: 28px 20px; border-radius: 8px; background: rgba(0,79,125,0.92); box-sizing: border-box;
  }
  body main .con-kit-section.form-\+-bullet-points .con-kit-col--last { margin-top: 24px; }
  body .con-kit-component-button[type="submit"] { min-height: 56px; font-size: 17px; font-weight: 600; }
  body .con-kit-component-input, body .form-control { font-size: 16px; min-height: 52px; }
}

/* ===== Formular (alle Breiten): Position-Select, Laender-Picker, Fehler, Hinweis ===== */
body .con-kit-atom-form select.tlm-select {
  display: block; width: 100%; box-sizing: border-box; height: 56px; margin: 0 0 17px;
  padding: 15px 46px 15px 16px; border: 1px solid rgba(99,106,109,0.1); border-radius: 4px;
  background-color: #fff; color: #000; font: 400 16px/1.3 "Instrument Sans", sans-serif;
  -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 10 7' fill='none'%3E%3Cpath d='M1 1.25L5 5.25L9 1.25' stroke='%23004F7D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px;
}
body .con-kit-atom-form select.tlm-select:required:invalid { color: rgba(0,0,0,0.3); }
body .con-kit-atom-form select.tlm-select option { color: #000; }
body .con-kit-atom-form select.tlm-select option[disabled] { color: rgba(0,0,0,0.45); }
body .con-kit-atom-form select.tlm-select:focus {
  outline: none; border-color: #004F7D; box-shadow: 0 0 0 3px rgba(0,79,125,0.18);
}

/* Telefon */
body .con-kit-atom-form .tlm-phone-box { position: relative; overflow: visible; }
body .con-kit-atom-form .tlm-phone-box .react-tel-input { position: relative; }
body .con-kit-atom-form .tlm-phone-box .react-tel-input input.form-control {
  font-family: "Instrument Sans", sans-serif; font-size: 16px; color: #000;
  width: 100%; box-sizing: border-box; padding-left: 72px !important; background: transparent; outline: none;
}
body .con-kit-atom-form .tlm-phone-box:focus-within { border-color: #004F7D; box-shadow: 0 0 0 3px rgba(0,79,125,0.18); }
body .tlm-cc-btn {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: 64px; margin: 0; padding: 0 8px 0 14px;
  display: flex; align-items: center; justify-content: flex-start; gap: 8px; border: 0; background: transparent;
  cursor: pointer; border-radius: 4px 0 0 4px; -webkit-tap-highlight-color: transparent;
}
body .tlm-cc-btn:focus-visible { outline: 2px solid #004F7D; outline-offset: -3px; }
body .tlm-cc-arrow { flex: none; transition: transform .2s ease; }
body .tlm-phone-box.tlm-cc-open .tlm-cc-arrow { transform: rotate(180deg); }
body .tlm-cc-flag {
  flex: none; display: block; width: 24px; height: 18px; object-fit: cover; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.14);
}
body .tlm-cc-panel {
  position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 60; box-sizing: border-box;
  display: flex; flex-direction: column; max-height: 320px; background: #fff; border: 1px solid #d3dce3;
  border-radius: 8px; box-shadow: 0 10px 28px rgba(0,40,70,0.18); overflow: hidden;
  font-family: "Instrument Sans", sans-serif; text-align: left;
}
body .tlm-cc-panel[hidden] { display: none; }
body .tlm-cc-searchwrap { flex: none; padding: 10px; border-bottom: 1px solid #e6ecf0; background: #fff; }
body .tlm-cc-search {
  display: block; width: 100%; box-sizing: border-box; height: 44px; margin: 0; padding: 0 12px;
  border: 1px solid #c3cfd8; border-radius: 6px; background: #fff; color: #000;
  font: 400 16px/1.2 "Instrument Sans", sans-serif; -webkit-appearance: none; appearance: none;
}
body .tlm-cc-search::placeholder { color: rgba(0,0,0,0.4); opacity: 1; }
body .tlm-cc-search:focus { outline: none; border-color: #004F7D; box-shadow: 0 0 0 3px rgba(0,79,125,0.15); }
body .tlm-cc-list { flex: 1 1 auto; min-height: 0; margin: 0; padding: 4px 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body .tlm-cc-row {
  display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 6px 14px; cursor: pointer;
  color: #1c2428; font-size: 16px; line-height: 1.25; list-style: none;
}
body .tlm-cc-row::before, body .tlm-cc-row::marker { content: none; }
body .tlm-cc-row.is-active { background: #EEF4F9; }
body .tlm-cc-row[aria-selected="true"] .tlm-cc-name { color: #004F7D; font-weight: 600; }
body .tlm-cc-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
body .tlm-cc-dial { flex: none; margin-left: auto; color: #6b7478; font-size: 15px; font-variant-numeric: tabular-nums; }
body .tlm-cc-sep { height: 1px; margin: 4px 14px; background: #e1e7ec; list-style: none; }
body .tlm-cc-empty { padding: 14px; color: #6b7478; font-size: 15px; list-style: none; }

/* Fehler */
body .con-kit-atom-form .tlm-invalid { border-color: #E53E3E !important; }
body .con-kit-atom-form select.tlm-select.tlm-invalid:focus,
body .con-kit-atom-form .tlm-phone-box.tlm-invalid:focus-within { box-shadow: 0 0 0 3px rgba(229,62,62,0.2); }
body .tlm-field-error {
  margin: -9px 0 14px; color: #9B2C2C; font: 400 14px/1.4 "Instrument Sans", sans-serif; text-align: left;
}

/* Honeypot (aus dem Sichtfeld) */
body .tlm-hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; }

/* Datenschutzhinweis */
body .tlm-form-note {
  margin: 14px 0 0; color: #3b4448; font: 400 14px/1.5 "Instrument Sans", sans-serif; text-align: left;
}
body .tlm-form-note a { color: #004F7D; text-decoration: underline; }

@media (max-width: 1024px) {
  body .tlm-cc-row { min-height: 48px; }
}
