/* Open Company Atlas: Feinschliff (hell UND dunkel), 05.12.2026. Eigene Datei, die bestehenden CSS-Dateien bleiben unveraendert. Schalter: data/FEIN_AUS (Datei da = aus). */
/* Eingabefelder: Rand mit mindestens 3:1 Kontrast (#857b66 auf Weiss 4,18; auf Creme 3,64) */
html:not(.x1):not(.x2) body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea) { border-color: #857b66; }
/* "Company profile"-Link in der Firmenzeile: kein eigener Hintergrund, damit er die Zeile darueber (z. B. Ort, Land) nicht halb verdeckt */
html:not(.x1):not(.x2) body .sp-kopf p > a.sp-prof { background: transparent; }
/* Umschalter Companies/Jobs oben: Beschriftung und Zahl muessen auch auf schmalen Geraeten ganz hinein passen */
html:not(.x1):not(.x2) body .jb-tog > a { white-space: nowrap; min-width: 0; }
@media (max-width: 420px) {
  html:not(.x1):not(.x2) body .jb-tog > a { padding-left: 10px; padding-right: 10px; font-size: 14px; flex: 1 1 auto; justify-content: center; }
  html:not(.x1):not(.x2) body .jb-tog > a span { font-size: 12px; }
}
/* Kopf unter 360 px: Schrift kleiner, Menueknopf bleibt rechts daneben */
@media (max-width: 359px) {
  html:not(.x1):not(.x2) body .aw-bar { flex-wrap: nowrap; gap: 8px; }
  html:not(.x1):not(.x2) body .aw-brand { min-width: 0; flex: 1 1 auto; gap: 8px; }
  html:not(.x1):not(.x2) body .aw-brand svg { width: 24px; height: 24px; flex: none; }
  html:not(.x1):not(.x2) body .aw-brand span { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
  html:not(.x1):not(.x2) body .aw-burger { flex: none; }
  /* lange Titel: kleiner, am Wortende umbrechen statt mitten im Wort */
  html:not(.x1):not(.x2) body h1 { font-size: 26px; line-height: 1.15; overflow-wrap: break-word; }
  html:not(.x1):not(.x2) body :is(h2,h3) { overflow-wrap: break-word; }
}
/* Sprache bekannt (lang-Attribut am Titel): Silbentrennung zulassen */
html:not(.x1):not(.x2) body :is(h1,h2,h3)[lang] { hyphens: auto; }
/* Restliste 05.12.2026 (2): Suchmaske am Handy: WHERE-Feld breiter (60/40), Platzhalter kleiner, damit "Town, region or country" ganz lesbar ist */
@media (max-width: 759px) {
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); }
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um .field input { padding-left: 10px; padding-right: 6px; text-overflow: ellipsis; }
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um .field input::placeholder { font-size: 13.5px; }
  html:not(.x1):not(.x2) body .lst-neu .finder .lst-um-km select { padding-left: 10px; padding-right: 24px; background-position: right 8px center; }
}
@media (max-width: 420px) {
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um { grid-template-columns: minmax(0,1fr) 92px; }
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um .field input::placeholder { font-size: 12px; }
  html:not(.x1):not(.x2) body .lst-neu .finder .lst-um-km select { padding-left: 6px; padding-right: 20px; font-size: 14px; background-position: right 4px center; }
}
@media (max-width: 340px) {
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um { grid-template-columns: minmax(0,1fr) 88px; }
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um .field input { padding-left: 8px; padding-right: 3px; }
  html:not(.x1):not(.x2) body .lst-neu .finder form.lst-um .field input::placeholder { font-size: 11.5px; }
  html:not(.x1):not(.x2) body .lst-neu .finder .lst-um-km select { padding-right: 18px; font-size: 13.5px; }
}
/* Kartenseite: Umschalter Jobs/Companies als zwei eigene abgerundete Knoepfe, nichts wird mehr vom Rahmen angeschnitten */
html:not(.x1):not(.x2) body .kt-sw { border: 0; padding: 0; overflow: visible; gap: 8px; border-radius: 0; }
html:not(.x1):not(.x2) body .kt-sw .kt-sw-b { border-radius: 10px; border: 2px solid var(--kt-navy, #10263f); }
html:not(.x1):not(.x2) body .kt-sw .kt-sw-b + .kt-sw-b { border-left: 2px solid var(--kt-navy, #10263f); }
@media (max-width: 599px) {
  html:not(.x1):not(.x2) body .kt-sw { margin: 0 2px; }
  html:not(.x1):not(.x2) body .kt-sw .kt-sw-b { min-width: 0; padding: 0 8px; }
}
