/* ==========================================================================
   Jobboard – öffentliche Seiten
   Farben kommen aus den Einstellungen (--primaer, --sekundaer).
   ========================================================================== */

.klebeknopf { display: none; }
:root {
  --primaer: #af0022;
  --sekundaer: #3d4d5c;
  --text: #161616;
  --text-leise: #576366;
  --linie: #eaeaea;
  --flaeche: #ffffff;
  --flaeche-leise: #f6f6f5;
  --schatten: 0 1px 40px 0 rgba(0, 0, 0, .2);
  --schrift: Arial, Helvetica, sans-serif;
  --schrift-kopf: "Golos Text", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--schrift); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--flaeche); }
img { max-width: 100%; height: auto; }
a { color: var(--primaer); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sekundaer); outline-offset: 2px; }

.sprung { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 14px; background: #fff; border-radius: 4px; }
.sprung:focus { left: 8px; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.klein { font-size: 13px; color: var(--text-leise); }
.symbol { width: 20px; height: 20px; fill: currentColor; flex: none; }

.wortmarke { font-family: var(--schrift-kopf); font-weight: 700; font-size: 22px; letter-spacing: .01em; color: var(--text); text-decoration: none; }
.wortmarke--hell { color: #fff; font-size: 26px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 24px; border: 0; border-radius: 4px; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: filter .15s, background-color .15s; }
.knopf--primaer { background: var(--primaer); color: #fff; }
.knopf--primaer:hover { filter: brightness(1.12); }
.knopf--hell { background: #fff; color: var(--text); border: 1px solid #c9c9c9; }
.knopf--hell:hover { background: var(--flaeche-leise); }
.knopf--gross { min-height: 48px; padding: 0 32px; font-size: 16px; font-weight: 700; }
.knopf[disabled] { opacity: .6; cursor: progress; }
.textknopf { padding: 8px; border: 0; background: none; font-size: 14px; color: var(--text); text-decoration: none; cursor: pointer; border-radius: 4px; }
.textknopf:hover { background: var(--flaeche-leise); }

/* ==========================================================================
   Kopf und Fuß der Übersicht (angelehnt an die Firmenwebseite)
   ========================================================================== */
.seitenkopf { background: #fff; }
.seitenkopf__innen { max-width: 1232px; margin: 0 auto; padding: 12px 16px; min-height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.seitenkopf__logo { display: flex; align-items: center; text-decoration: none; }
.seitenkopf__logo img { display: block; width: auto; height: 75px; max-width: 280px; object-fit: contain; }
.seitenkopf__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 36px; font-family: var(--schrift-kopf); font-size: 15px; }
.seitenkopf__nav a { color: #292823; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.seitenkopf__nav a:hover { border-bottom-color: var(--primaer); }

.buehne { min-height: 308px; display: grid; place-items: center; padding: 32px 16px; text-align: center; background-color: var(--sekundaer); background-image: linear-gradient(120deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)); background-size: cover; background-position: center; }
.buehne h1 { font-family: var(--schrift-kopf); font-size: clamp(38px, 6.4vw, 70px); line-height: 1.1; font-weight: 700; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }

.seitenfuss { margin-top: 72px; background: var(--flaeche-leise); border-top: 1px solid var(--linie); font-size: 14px; }
.seitenfuss__innen { max-width: 1232px; margin: 0 auto; padding: 32px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.seitenfuss__claim { display: block; color: var(--text-leise); }
.seitenfuss a { color: var(--text); text-decoration: none; }
.seitenfuss a:hover { text-decoration: underline; }
.seitenfuss__kontakt, .seitenfuss__links { display: flex; flex-direction: column; gap: 4px; }

/* ==========================================================================
   Suche und Stellenliste
   ========================================================================== */
.boerse { max-width: 1042px; margin: 0 auto; padding: 40px 16px 0; }
.embed .boerse { padding-top: 12px; }

.suche__zeile { display: grid; grid-template-columns: 1fr 1fr 190px; gap: 16px; align-items: center; }
.suche__erweitert { display: grid; grid-template-columns: 1fr 1fr 190px; gap: 16px; margin-top: 16px; }
.suche__links { display: flex; justify-content: space-between; margin: 12px 0 4px; }
.suche__links .textknopf { margin: 0 8px; }

/* Eingabefeld mit Rahmen und wanderndem Namen (wie in der Vorlage) */
.feld { position: relative; display: block; }
.feld input, .feld select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; font-size: 15px; appearance: none; -webkit-appearance: none; }
.feld select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23555'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 24px; }
.feld--symbol input { padding-left: 46px; }
.feld--symbol .symbol { position: absolute; left: 14px; top: 14px; color: #8a8a8a; pointer-events: none; }
.feld input:hover, .feld select:hover { border-color: #6f6f6f; }
.feld input:focus, .feld select:focus { outline: 0; border-color: var(--sekundaer); box-shadow: 0 0 0 1px var(--sekundaer); }
.feld__name { position: absolute; left: 10px; top: 14px; padding: 0 5px; font-size: 15px; line-height: 20px; color: #666; background: #fff; pointer-events: none; transition: transform .12s, font-size .12s; transform-origin: left top; white-space: nowrap; }
.feld--symbol .feld__name { left: 42px; }
.feld input:focus ~ .feld__name, .feld input:not(:placeholder-shown) ~ .feld__name,
.feld select:focus ~ .feld__name, .feld select.hat-wert ~ .feld__name { transform: translateY(-24px) scale(.8); }
.feld--symbol input:focus ~ .feld__name, .feld--symbol input:not(:placeholder-shown) ~ .feld__name { transform: translate(-32px, -24px) scale(.8); }
.feld input::-webkit-search-cancel-button { cursor: pointer; }

.ergebnis-kopf { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 14px; min-height: 40px; }
.ergebnis-zahl { font-size: 14px; font-weight: 700; color: #8d8d8d; }
.ergebnis-ort { font-weight: 400; margin-left: 6px; }
.ansichten { display: flex; gap: 4px; }
.ansicht { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #a3a3a3; }
.ansicht:hover { background: var(--flaeche-leise); }
.ansicht.ist-aktiv { color: var(--text); }

.stellenliste { display: grid; gap: 8px; }
.stellenliste--kacheln { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.stellenkarte { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 90px; padding: 14px 16px; border: 1px solid var(--linie); border-radius: 4px; background: #fff; color: rgba(0, 0, 0, .9); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.stellenkarte:hover { border-color: #cfcfcf; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.stellenkarte__titel { font-size: 14px; font-weight: 600; line-height: 20px; }
.stellenkarte:hover .stellenkarte__titel { color: var(--primaer); }
.stellenkarte__angaben { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12px; line-height: 20px; }
.stellenkarte__angaben > span { display: inline-flex; align-items: center; gap: 5px; }
.stellenkarte__angaben .symbol { width: 20px; height: 20px; color: #111; }
.stellenkarte__angaben em { font-style: normal; color: var(--text-leise); }
.stellenliste--kacheln .stellenkarte { min-height: 150px; justify-content: space-between; padding: 20px; }
.stellenliste--kacheln .stellenkarte__titel { font-size: 16px; line-height: 22px; }
.stellenliste--kacheln .stellenkarte__angaben { flex-direction: column; }

.seiten { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; margin: 28px 0 0; font-size: 14px; }
.seiten__nr, .seiten__pfeil { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 20px; color: var(--text); text-decoration: none; }
.seiten__nr:hover, a.seiten__pfeil:hover { background: var(--flaeche-leise); }
.seiten__nr.ist-aktiv { background: var(--primaer); color: #fff; font-weight: 700; }
.seiten__pfeil .symbol { width: 28px; height: 28px; }
.seiten__pfeil.ist-aus { color: #c8c8c8; }
.seiten__luecke { min-width: 24px; text-align: center; color: var(--text-leise); }

.leer { padding: 48px 16px; border: 1px dashed #cfcfcf; border-radius: 4px; text-align: center; }
.leer p + p { margin-top: 10px; }

.initiativ { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 28px 32px; background: var(--flaeche-leise); border-radius: 4px; }
.initiativ h2 { font-family: var(--schrift-kopf); font-size: 22px; line-height: 1.3; margin-bottom: 4px; }
.initiativ p { color: var(--text-leise); max-width: 60ch; }
.initiativ .knopf { min-height: 44px; flex: none; }

.hinweis { padding: 64px 0; text-align: center; }
.hinweis h1 { font-family: var(--schrift-kopf); font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin-bottom: 12px; }
.hinweis p { max-width: 56ch; margin: 0 auto 24px; color: var(--text-leise); }

/* ==========================================================================
   Stellenanzeige
   ========================================================================== */
.rahmen { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.rahmen--schmal { max-width: 860px; }

.anzeigenkopf { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 550px; background-color: var(--sekundaer); background-image: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .25)); background-size: cover; background-position: center; box-shadow: inset 0 0 300px 200px rgba(0, 0, 0, .21), var(--schatten); }
.anzeigenkopf--flach { min-height: 300px; }
/* Anzeige ohne Bild: nur Logo und Titelbalken */
.anzeigenkopf--ohne-bild { min-height: 0; box-shadow: var(--schatten); }
.anzeigenkopf--ohne-bild .anzeigenkopf__logo { padding: 20px 24px; }
.anzeigenkopf--ohne-bild .anzeigenkopf__logo img { width: 130px; }
.anzeigenkopf__logo { display: inline-block; align-self: flex-start; padding: 16px; text-decoration: none; }
.anzeigenkopf__logo img { display: block; width: 175px; height: auto; max-height: 120px; object-fit: contain; object-position: left top; }
.anzeigenkopf h1 { padding: 32px 12px; background: var(--primaer); color: #fff; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; font-weight: 400; text-align: center; overflow-wrap: anywhere; }

.anzeige { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "text seite"; gap: 30px; align-items: start; margin-top: 48px; }
.anzeige__text { grid-area: text; }
.anzeige__seite { grid-area: seite; display: flex; flex-direction: column; }

.karte { background: #fff; box-shadow: var(--schatten); }
.karte--haupt { padding: 32px 64px 40px; }
.karte--info { padding: 16px 40px 24px; }
.karte--info + .karte--info, .grossknopf + .karte--info { margin-top: 48px; }
.karte__kopf { margin: 40px 0 16px; font-size: 15px; line-height: 1.5; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-leise); }

.details__eintrag { display: flex; gap: 16px; padding: 12px 0; }
.details__eintrag .symbol { width: 24px; height: 24px; margin-top: 2px; color: var(--sekundaer); }
.details dt, .details dd { font-size: 14px; line-height: 1.5; }
.details dd { margin-top: 4px; overflow-wrap: anywhere; }

.grossknopf { display: grid; place-items: center; min-height: 75px; margin-top: 16px; padding: 12px; box-shadow: var(--schatten); color: #fff; font-weight: 700; text-decoration: none; text-align: center; transition: filter .15s; }
.grossknopf:hover { filter: brightness(1.12); }
.grossknopf--primaer { margin-top: 48px; background: var(--primaer); }
.grossknopf--sekundaer { background: var(--sekundaer); }

.kontakt { font-style: normal; }
.kontakt p + p { margin-top: 16px; }
.kontakt a { color: inherit; }

.teilen { display: grid; grid-template-columns: repeat(4, 40px); gap: 14px 24px; justify-content: space-between; padding-bottom: 8px; }
.teilen a, .teilen button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sekundaer); color: #fff; cursor: pointer; transition: background-color .15s; }
.teilen a:hover, .teilen button:hover { background: var(--primaer); }
.teilen .symbol { width: 20px; height: 20px; }

.anzeige__text > * + * { margin-top: 16px; }
.anzeige__text h2 { margin-top: 28px; font-size: 16px; line-height: 1.5; font-weight: 700; }
.anzeige__text ul { padding-left: 40px; list-style: disc; margin-top: 4px; }
.anzeige__text li { overflow-wrap: anywhere; }
.anzeige__text a { overflow-wrap: anywhere; }
.anzeige__bewerben { margin-top: 36px; }

.karte--landkarte { margin-top: 48px; min-height: 350px; display: grid; }
.karte--landkarte iframe { width: 100%; height: 350px; border: 0; display: block; }
.landkarte__platz { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; background: repeating-linear-gradient(45deg, #f4f4f3, #f4f4f3 14px, #efefee 14px, #efefee 28px); }
.landkarte__platz .symbol { width: 40px; height: 40px; color: var(--primaer); }

.anzeigenfuss { margin: 80px 0 0; padding: 48px 16px; display: flex; justify-content: center; gap: 32px; background: var(--primaer); box-shadow: var(--schatten); }
.anzeigenfuss a { color: #fff; text-decoration: none; }
.anzeigenfuss a:hover { text-decoration: underline; }

.vorschau-hinweis { padding: 10px 16px; background: #fff4c7; border-bottom: 1px solid #e6cf6a; text-align: center; font-size: 14px; }

/* ==========================================================================
   Bewerbungsformular
   ========================================================================== */
.formular { margin-top: 48px; }
.formular__stelle { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--text-leise); }
.formular__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 24px; }
.eingabe { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.eingabe > span { font-weight: 700; }
.eingabe b, .haken b { color: var(--primaer); }
.eingabe--breit { grid-column: 1 / -1; }
.eingabe input, .eingabe select, .eingabe textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; font-size: 16px; }
.eingabe textarea { resize: vertical; }
.eingabe input:focus, .eingabe select:focus, .eingabe textarea:focus { outline: 0; border-color: var(--sekundaer); box-shadow: 0 0 0 1px var(--sekundaer); }
.eingabe ::placeholder { color: #9a9a9a; }

.ablage { position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed #bdbdbd; border-radius: 4px; text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ablage:hover, .ablage.ist-ziel, .ablage:focus-within { border-color: var(--sekundaer); background: var(--flaeche-leise); }
.ablage .symbol { width: 36px; height: 36px; color: var(--sekundaer); }
.ablage__text { font-size: 16px; font-weight: 400; }
.ablage__hinweis { font-size: 13px; font-weight: 400; color: var(--text-leise); max-width: 52ch; }
.ablage input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ablage__liste { display: grid; gap: 6px; margin-top: 4px; }
.ablage__liste li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--flaeche-leise); border-radius: 4px; font-size: 14px; }
.ablage__liste li.ist-fehler { background: #fdecee; color: #8a0019; }
.ablage__liste .symbol { color: var(--sekundaer); }

.haken { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.haken input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--primaer); }

.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { margin-top: 20px; padding: 14px 18px; border-radius: 4px; font-size: 15px; }
.meldung ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.meldung--fehler { background: #fdecee; border: 1px solid #f1b6bf; color: #6f0015; }
.formular__ende { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }

/* ==========================================================================
   Kleine Bildschirme
   ========================================================================== */
@media (max-width: 1199px) {
  .anzeige { grid-template-columns: 1fr; grid-template-areas: "text" "seite"; gap: 48px; }
  .nur-breit { display: none; }
  .karte--info + .karte--info, .grossknopf + .karte--info { margin-top: 32px; }
}
@media (max-width: 760px) {
  .seitenkopf__innen { min-height: 72px; }
  .seitenkopf__logo img { height: 52px; }
  .seitenkopf__nav { gap: 2px 20px; font-size: 14px; }
  .buehne { min-height: 200px; }
  .boerse { padding-top: 24px; }
  .suche__zeile, .suche__erweitert { grid-template-columns: 1fr; gap: 14px; }
  .suche__zeile .knopf { min-height: 46px; font-size: 16px; }
  .initiativ { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .anzeigenkopf { min-height: 360px; }
  .anzeigenkopf--flach { min-height: 220px; }
  .anzeigenkopf--ohne-bild { min-height: 0; }
  .anzeigenkopf__logo img { width: 130px; }
  .anzeigenkopf h1 { padding: 22px 12px; }
  .anzeige { margin-top: 32px; }
  .karte--haupt { padding: 24px 20px 32px; }
  .karte--info { padding: 8px 24px 20px; }
  .karte__kopf { margin-top: 24px; }
  .anzeige__text ul { padding-left: 22px; }
  .formular__raster { grid-template-columns: 1fr; }
  .formular__luecke { display: none; }
  .formular__ende { flex-direction: column-reverse; align-items: stretch; }
  .anzeigenfuss { margin-top: 56px; padding: 32px 16px; }
  /* Handy: Anzeigentext zuerst, „Jetzt bewerben“ immer erreichbar (seit 2.14) */
  .klebeknopf { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
    padding: 15px 16px; border-radius: 6px; background: var(--primaer); color: #fff; text-align: center; font-weight: 700; font-size: 17px;
    text-decoration: none; box-shadow: 0 6px 22px rgba(0,0,0,.28); }
  .seite-stelle { padding-bottom: 84px; }
  .seite-stelle .anzeige__bewerben { display: none; }
  .embed .klebeknopf { display: none; }
  .embed.seite-stelle { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .seitenkopf__innen { flex-direction: column; align-items: flex-start; gap: 6px; }
  .seitenkopf__nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .nicht-drucken, .grossknopf, .seitenkopf, .seitenfuss, .anzeigenfuss, .vorschau-hinweis { display: none !important; }
  .karte, .anzeigenkopf { box-shadow: none; }
  .anzeigenkopf { min-height: 0; background: none !important; }
  .anzeigenkopf h1 { background: none; color: #000; text-align: left; padding: 0 0 12px; }
  .anzeigenkopf__logo { display: none; }
  .anzeige { grid-template-columns: 1fr; grid-template-areas: "text" "seite"; margin-top: 0; gap: 16px; }
  .karte--haupt, .karte--info { padding: 0; }
  .nur-breit { display: none; }
}

/* seit 2.07 (SEO): Brotkrumen und weitere Stellen */
.brotkrumen { font-size: .85rem; color: #6b6b66; padding-top: .6rem; padding-bottom: .4rem; overflow-wrap: anywhere; }
.brotkrumen a { color: inherit; }
.karte--weitere { margin-top: 1.25rem; }
.weitere { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.weitere a { font-weight: 600; color: var(--primaer); text-decoration: none; }
.weitere a:hover { text-decoration: underline; }
.weitere__ort { display: block; font-size: .85rem; color: #6b6b66; }
.embed .brotkrumen { display: none; }
