/* ============================================================
   brauerjobs.de – eigene Ergänzungen (2026)
   Lokale Schriften, 2-Klick-Karte, Formular-Status, Stellenbörse
   ============================================================ */

/* ---------- Lokale Schriften (DSGVO-freundlich, kein Google-Server) ---------- */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-tight-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-tight-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-tight-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-tight-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-condensed-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-condensed-latin-700-normal.woff2') format('woff2');
}

/* ---------- Formular-Statusmeldungen ---------- */
.kontakt-status { display: none; }
.kontakt-status.sichtbar { display: block; }

/* ---------- Datenschutz-Checkbox ---------- */
.form-check-datenschutz {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.form-check-datenschutz input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #2b7a69;
}
.form-check-datenschutz a { color: #2b7a69; }

/* ---------- 2-Klick-Karte (OpenStreetMap) ---------- */
.osm-consent {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  border-radius: 2rem;
  overflow: hidden;
  background: #dfe5e1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.osm-consent .osm-hinweis {
  text-align: center;
  padding: 2rem;
  font-family: 'Inter Tight', sans-serif;
}
.osm-consent .osm-hinweis p {
  font-size: 1.05rem;
  color: #232323;
  margin-bottom: 1.2rem;
  max-width: 26rem;
}
.osm-consent iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Stellenbörse ---------- */
.stellen-stand {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.stellen-tabelle-wrapper { width: 100%; }
.stellen-tabelle {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 2rem;
  overflow: hidden;
}
.stellen-tabelle th,
.stellen-tabelle td {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid #e3e7e4;
  vertical-align: middle;
  text-align: left;
  font-family: 'Inter Tight', sans-serif;
}
.stellen-tabelle thead th {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  background: #2b7a69;
  color: #ffffff;
  border-bottom: 0;
}
.stellen-tabelle tbody tr:last-child th,
.stellen-tabelle tbody tr:last-child td { border-bottom: 0; }
.stellen-logo {
  max-width: 220px;
  max-height: 130px;
  width: auto;
  height: auto;
  border-radius: 0.75rem !important;
  display: block;
}
.stellen-betrieb {
  font-size: 1.2rem;
  line-height: 1.4;
}
.stellen-betrieb strong { display: block; }
.stellen-position { color: #232323; }
.stellen-download .btn { margin: 0; white-space: nowrap; }
.stellen-leer {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.2rem;
  padding: 2rem 0;
}

/* Mobil: Tabelle als Karten stapeln */
@media (max-width: 767px) {
  .stellen-tabelle thead { display: none; }
  .stellen-tabelle,
  .stellen-tabelle tbody,
  .stellen-tabelle tr,
  .stellen-tabelle th,
  .stellen-tabelle td { display: block; width: 100%; }
  .stellen-tabelle tr {
    border: 1px solid #e3e7e4;
    border-radius: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
    background: #ffffff;
  }
  .stellen-tabelle th,
  .stellen-tabelle td { border-bottom: 0; padding: 0.9rem 1.25rem; }
  .stellen-logo { margin: 0 auto; }
}
