/* ============================================================
   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: 1rem;
}
.stellen-hinweis { margin-bottom: 1.5rem; }

/* Nur für Screenreader sichtbar */
.sr-nur {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Filter-Knöpfe */
.stellen-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.8rem;
}
.stellen-filter-knopf {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 2rem;
  border: 2px solid #2b7a69;
  background: transparent;
  color: #2b7a69;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.stellen-filter-knopf:hover { background: #e7f2ef; }
.stellen-filter-knopf.aktiv {
  background: #2b7a69;
  color: #ffffff;
}

/* Mobiler Kategorie-Filter: kompaktes Auswahlmenü (nur auf kleinen Bildschirmen sichtbar) */
.stellen-filter-mobil { display: none; }
.stellen-filter-mobil select {
  width: 100%;
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2b7a69;
  background-color: #ffffff;
  border: 2px solid #2b7a69;
  border-radius: 0.8rem;
  padding: 0.6rem 2.6rem 0.6rem 1rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232b7a69' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.stellen-filter-mobil select:focus {
  outline: 2px solid #2b7a69;
  outline-offset: 1px;
}

/* Kategorie-Gruppen */
.stellen-gruppe {
  background: #ffffff;
  border-radius: 2rem;
  overflow: hidden;
  margin-bottom: 1.8rem;
}
.stellen-gruppe[hidden] { display: none; }
.stellen-gruppe-titel {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  background: #2b7a69;
  color: #ffffff;
  margin: 0;
  padding: 1.1rem 1.5rem;
}
.stellen-gruppe-leer {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.05rem;
  color: #66776f;
  margin: 0;
  padding: 1.3rem 1.5rem;
}
.stellen-tabelle-wrapper { width: 100%; }
.stellen-tabelle {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.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 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: kompakte Zeilen – kleines Logo links, Text daneben, schlanker Button */
@media (max-width: 767px) {
  .stellen-tabelle,
  .stellen-tabelle tbody { display: block; width: 100%; }
  .stellen-tabelle tr {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.25rem 1rem;
    align-items: center;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #e3e7e4;
  }
  .stellen-tabelle tbody tr:last-child { border-bottom: 0; }
  .stellen-tabelle td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }
  .stellen-logo-zelle {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .stellen-logo {
    max-width: 88px;
    max-height: 66px;
    margin: 0;
    border-radius: 0.5rem !important;
  }
  .stellen-betrieb {
    grid-column: 2;
    font-size: 1rem;
    line-height: 1.35;
  }
  .stellen-download {
    grid-column: 2;
    margin-top: 0.3rem;
  }
  .stellen-download .btn {
    padding: 0.5rem 1.1rem !important;
    font-size: 0.92rem !important;
    margin: 0 !important;
  }
  .stellen-gruppe { border-radius: 1rem; margin-bottom: 1rem; }
  .stellen-gruppe-titel { font-size: 0.98rem; padding: 0.6rem 1.1rem; }
  .stellen-gruppe-leer { font-size: 0.95rem; padding: 0.9rem 1.1rem; }
  /* Knopfleiste ausblenden, stattdessen kompaktes Auswahlmenü */
  .stellen-filter { display: none; }
  .stellen-filter-mobil { display: block; margin-bottom: 1.3rem; }
}
