/* Verwaltung brauerjobs.de – Oberfläche (2026) */

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-tight-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/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('../assets/fonts/inter-tight-latin-700-normal.woff2') format('woff2');
}

:root {
  --gruen: #2b7a69;
  --gruen-dunkel: #1f5c4f;
  --gruen-hell: #e7f2ef;
  --grau-bg: #f2f4f2;
  --grau-linie: #dde3de;
  --text: #21322d;
  --rot: #b3402e;
  --orange: #b3702e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--grau-bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

/* ---------- Kopfleiste ---------- */
.kopfleiste {
  background: var(--gruen);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.kopf-innen {
  max-width: 1060px;
  margin: 0 auto;
  padding: .7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.marke {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}
.marke img { height: 2.4rem; border-radius: .5rem; }
.marke em { font-style: normal; font-weight: 400; opacity: .85; }
.kopf-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.kopf-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: .1rem;
}
.kopf-nav a:hover { border-bottom-color: rgba(255,255,255,.7); }

/* ---------- Inhalt ---------- */
.inhalt {
  max-width: 1060px;
  margin: 0 auto;
  padding: 1.6rem 1.2rem 4rem;
}
h1 { font-size: 1.7rem; margin: 0 0 .6rem; }
.einleitung { margin: 0 0 1rem; color: #4b5d57; }
code {
  background: var(--gruen-hell);
  padding: .1rem .35rem;
  border-radius: .3rem;
  font-size: .95em;
}

.karte {
  background: #fff;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 1.2rem;
}
.karte-schmal { max-width: 30rem; margin: 2.5rem auto; }
.karte-leer { text-align: center; font-size: 1.1rem; padding: 2.5rem 1.6rem; }

/* ---------- Meldungen ---------- */
.meldung {
  border-radius: .8rem;
  padding: .9rem 1.2rem;
  margin: 0 0 1.1rem;
  font-weight: 600;
}
.meldung-ok { background: #e2f3e9; color: #1c5e3a; border: 1px solid #bfe4cd; }
.meldung-warnung { background: #fdf3e2; color: #7a5217; border: 1px solid #f0dcb4; }
.meldung-fehler { background: #fbe5e0; color: #8c2f1e; border: 1px solid #f0c3ba; }

/* ---------- Formulare ---------- */
label {
  display: block;
  font-weight: 700;
  margin: 1rem 0 .35rem;
}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="file"] {
  width: 100%;
  font: inherit;
  padding: .65rem .8rem;
  border: 1.5px solid var(--grau-linie);
  border-radius: .6rem;
  background: #fff;
  color: inherit;
}
input:focus { outline: 2px solid var(--gruen); outline-offset: 1px; border-color: var(--gruen); }
input[type="file"] { padding: .5rem; background: var(--grau-bg); }
.pflicht { color: var(--rot); }
.hinweis-klein { font-size: .9rem; color: #66776f; font-weight: 400; }
.zwei-spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  align-items: start;
}
@media (max-width: 640px) { .zwei-spalten { grid-template-columns: 1fr; } }
.vorschau {
  background: var(--grau-bg);
  border-radius: .6rem;
  padding: .6rem;
  display: inline-block;
  margin-bottom: .3rem;
}
.vorschau img { max-height: 80px; max-width: 220px; display: block; }
.schalter-feld { padding-top: 1rem; }
.schalter {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  cursor: pointer;
}
.schalter input {
  width: 1.4rem;
  height: 1.4rem;
  accent-color: var(--gruen);
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--gruen);
  border: 0;
  border-radius: .7rem;
  padding: .55rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.knopf:hover { background: var(--gruen-dunkel); }
.knopf-gross { padding: .8rem 1.5rem; font-size: 1.05rem; }
.knopf-klein { padding: .35rem .8rem; font-size: .95rem; }
.knopf-neutral { background: #fff; color: var(--gruen); border: 1.5px solid var(--gruen); }
.knopf-neutral:hover { background: var(--gruen-hell); }
.knopf-rot { background: #fff; color: var(--rot); border: 1.5px solid var(--rot); }
.knopf-rot:hover { background: #fbe5e0; }
.knopf-mini {
  background: #fff;
  color: var(--gruen);
  border: 1.5px solid var(--grau-linie);
  padding: .35rem .6rem;
  border-radius: .5rem;
}
.knopf-mini:hover:not(:disabled) { border-color: var(--gruen); background: var(--gruen-hell); }
.knopf-mini:disabled { opacity: .35; cursor: default; }
.knopf-zeile { margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.inline { display: inline; }

/* ---------- Übersicht ---------- */
.uebersicht-kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.stelle {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  padding: 1rem 1.2rem;
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.stelle-pausiert { opacity: .62; }
.stelle-logo {
  flex: 0 0 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}
.stelle-logo img { max-width: 110px; max-height: 64px; border-radius: .4rem; }
.logo-platzhalter {
  font-size: .85rem;
  color: #8a988f;
  border: 1.5px dashed var(--grau-linie);
  border-radius: .5rem;
  padding: .9rem .7rem;
}
.stelle-text {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.stelle-text strong { font-size: 1.1rem; }
.stelle-meta { font-size: .92rem; color: #66776f; }
.stelle-meta a { color: var(--gruen); }
.punkt {
  display: inline-block;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  margin-right: .15rem;
  vertical-align: baseline;
}
.punkt-gruen { background: #2e9e57; }
.punkt-grau { background: #9aa8a0; }
.tage-warnung { color: var(--orange); font-weight: 600; }
.stelle-aktionen {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stelle { flex-direction: column; align-items: stretch; text-align: center; }
  .stelle-logo { flex-basis: auto; }
  .stelle-aktionen { justify-content: center; }
  .uebersicht-kopf { flex-direction: column; }
  .uebersicht-kopf .knopf { width: 100%; }
}
