/* ===========================================================================
   Career Scout Jobbörse — öffentliches Stylesheet (CI: Blau #0886c4 / #191919)
   Optik = freigegebenes S1-/S2-Mockup (mockups/s2-briefkasten-konzept)
   =========================================================================== */
:root { --blau: #0886c4; --anthrazit: #191919; --rand: #e4e7ec; --grau: #667085; }
* { box-sizing: border-box; margin: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: #eef1f4; color: var(--anthrazit); }
a { color: var(--blau); }

/* Kopf + Fuß */
.site-kopf { display: flex; align-items: center; gap: 22px; padding: 12px 4vw; background: #fff; border-bottom: 1px solid var(--rand); }
.site-kopf .logo { height: 36px; display: block; }
.site-kopf nav { margin-left: auto; display: flex; gap: 18px; font-size: 14.5px; font-weight: 600; flex-wrap: wrap; }
.site-kopf nav a { color: #344054; text-decoration: none; }
.site-kopf nav a.aktiv { color: var(--blau); }
.site-fuss { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 18px 4vw; font-size: 12.5px; color: var(--grau); }
.site-fuss a { color: var(--grau); }

/* Jobbörse */
.jb { max-width: 900px; margin: 26px auto; padding: 0 14px; }
.jb h1 { font-size: 24px; margin-bottom: 4px; }
.jb .unterzeile { font-size: 14px; color: var(--grau); margin-bottom: 18px; }
.jb-filter { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1.4fr auto; gap: 8px; margin-bottom: 16px; }
.jb-filter input, .jb-filter select { border: 1px solid #d0d5dd; border-radius: 8px; padding: 10px 11px; font-size: 14px; font-family: inherit; background: #fff; }
.jb-filter button { border: none; border-radius: 8px; background: var(--blau); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; cursor: pointer; }
@media (max-width: 760px) { .jb-filter { grid-template-columns: 1fr 1fr; } }
.jb-liste { display: flex; flex-direction: column; gap: 10px; }
.jb-karte { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 13px 18px; text-decoration: none; color: inherit; }
.jb-karte:hover { border-color: var(--blau); box-shadow: 0 2px 10px rgba(8,134,196,.12); }
.jb-karte .logo-kreis { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rand); background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jb-karte .logo-kreis img { width: 38px; }
.jb-karte .mitte { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jb-karte .titel { font-weight: 700; font-size: 15.5px; }
.jb-karte .unter { font-size: 13px; color: var(--grau); }
.jb-karte .rechts { margin-left: auto; text-align: right; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.jb-karte .ort { font-weight: 700; font-size: 14px; }
.jb-karte .start { font-size: 12.5px; color: var(--grau); }
.jb-initiativ { border: 1.5px dashed var(--blau); border-radius: 10px; padding: 16px; text-align: center; background: #f4fafd; font-size: 14px; margin-top: 6px; }
.jb-leer { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 26px; text-align: center; color: var(--grau); }

/* Anzeigen-Seite */
.anzeige { max-width: 900px; margin: 26px auto; background: #fff; border: 1px solid var(--rand); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 28px rgba(16,24,40,.08); }
.anzeige .titelbild { height: 200px; background: linear-gradient(120deg, var(--anzBlau, #0886c4) 0%, var(--anzDunkel, #191919) 100%); position: relative; }
.anzeige .titelbild .bild { width: 100%; height: 100%; object-fit: cover; display: block; }
.anzeige .logo-box { position: absolute; left: 28px; bottom: -30px; background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 10px 16px; box-shadow: 0 4px 14px rgba(16,24,40,.12); }
.anzeige .logo-box img { height: 42px; display: block; max-width: 220px; object-fit: contain; }
.anzeige .rumpf { display: grid; grid-template-columns: 1fr 270px; gap: 26px; padding: 48px 28px 28px; }
@media (max-width: 760px) { .anzeige .rumpf { grid-template-columns: 1fr; } .anzeige aside { order: -1; } }
.anzeige h1 { font-size: 23px; line-height: 1.25; margin-bottom: 12px; }
.anzeige h4 { font-size: 15.5px; color: var(--anzBlau, #0886c4); margin: 18px 0 8px; }
.anzeige .text { font-size: 14px; line-height: 1.7; }
.anzeige .text ul, .anzeige .text ol { padding-left: 20px; margin: 4px 0; }
.basisdaten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; margin: 4px 0 14px; }
.chip { font-size: 12.5px; padding: 5px 12px; border-radius: 8px; background: #eef7fc; color: var(--anzBlau, #0886c4); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abschluss { background: #f6fafd; border: 1px solid #d7ecf6; border-radius: 10px; padding: 14px 18px; margin-top: 20px; font-size: 14px; line-height: 1.7; }
.seite { display: flex; flex-direction: column; gap: 14px; }
.pb-karte { border: 1px solid #cfe7f4; border-radius: 12px; padding: 16px; text-align: center; background: #f0f8fd; }
.pb-karte .foto { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 10px; object-fit: cover; display: block; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(16,24,40,.15); }
.pb-karte .foto.initialen { background: linear-gradient(135deg, var(--anzBlau, #0886c4), var(--anzDunkel, #191919)); color: #fff; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pb-karte .titel { font-size: 11.5px; font-weight: 700; color: var(--grau); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.pb-karte .name { font-size: 15.5px; font-weight: 700; }
.pb-karte .funktion { font-size: 12.5px; color: var(--grau); margin-bottom: 10px; }
.pb-karte .kontakt { font-size: 13.5px; line-height: 1.9; }
.pb-karte .kontakt a { text-decoration: none; font-weight: 600; }
.pb-karte .kontakt a.wa { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: #25d366; border-radius: 999px; padding: 1px 9px; margin-left: 6px; vertical-align: 1px; }

/* Formular */
.formular-karte { border: 1px solid #cfe7f4; border-radius: 12px; padding: 16px; background: #f0f8fd; }
.formular-karte .kopf { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.formular-karte .unter { font-size: 12px; color: var(--grau); margin-bottom: 12px; }
.formular-karte input, .formular-karte select { width: 100%; border: 1px solid #d0d5dd; border-radius: 8px; padding: 9px 10px; font-size: 14px; font-family: inherit; margin-bottom: 8px; background: #fff; }
.formular-karte .upload { display: block; border: 1.5px dashed var(--blau); border-radius: 8px; padding: 10px; text-align: center; color: var(--blau); font-size: 13px; font-weight: 600; margin-bottom: 4px; background: #fff; cursor: pointer; }
.formular-karte .upload small { display: block; color: var(--grau); font-weight: 400; font-size: 11px; margin-top: 2px; }
.formular-karte .upload input { margin-top: 6px; font-size: 12px; border: none; }
.formular-karte .check { display: flex; gap: 8px; font-size: 11.5px; color: #475467; line-height: 1.45; margin-top: 8px; }
.formular-karte .check input { width: auto; margin: 2px 0 0; flex-shrink: 0; }
.formular-karte .check span { flex: 1; }
.btn-bewerben { width: 100%; margin-top: 12px; font-size: 15px; padding: 12px; border: none; border-radius: 8px; background: var(--blau); color: #fff; font-weight: 700; cursor: pointer; font-family: inherit; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.fehler { max-width: 900px; margin: 14px auto 0; background: #fdf0f0; border: 1px solid #f2c4c4; color: #b42318; border-radius: 10px; padding: 12px 16px; font-size: 14px; }

/* Danke / Vergeben */
/* Danke-/Vergeben-Karte — bewusst in der Wertigkeit der Anzeigen-Seite */
.mitte-seite { max-width: 680px; margin: 48px auto; background: #fff; border: 1px solid var(--rand); border-top: 4px solid var(--blau); border-radius: 14px; padding: 48px 36px 40px; text-align: center; box-shadow: 0 12px 40px rgba(2, 26, 38, .08); }
.mitte-seite .haken { width: 68px; height: 68px; border-radius: 50%; background: #e8f6ee; color: #1a7f4b; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.mitte-seite .kreuz { background: #f2f4f7; color: var(--grau); }
.mitte-seite h1 { font-size: 25px; letter-spacing: -.3px; color: var(--anthrazit, #191919); margin-bottom: 12px; }
.mitte-seite p, .mitte-seite div.text { font-size: 15px; color: #344054; line-height: 1.75; margin-bottom: 8px; }
.mitte-seite .btn-weiter { display: inline-block; margin-top: 22px; background: var(--blau); color: #fff; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 12px 24px; font-size: 14px; transition: background .15s ease, transform .15s ease; }
.mitte-seite .btn-weiter:hover { background: #0774aa; transform: translateY(-1px); }

/* Animierter Erfolgs-Haken (zeichnet sich beim Laden) */
.haken-svg { width: 76px; height: 76px; margin: 0 auto 18px; display: block; }
.haken-svg .hs-kreis { fill: #e8f6ee; stroke: #1a7f4b; stroke-width: 3; stroke-dasharray: 202; stroke-dashoffset: 202; animation: hs-zeichnen .55s ease-out forwards; }
.haken-svg .hs-haken { fill: none; stroke: #1a7f4b; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: hs-zeichnen .35s ease-out .5s forwards; }
@keyframes hs-zeichnen { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .haken-svg .hs-kreis, .haken-svg .hs-haken { animation: none; stroke-dashoffset: 0; } }

/* „So geht es weiter" — drei Schritte unter dem Danke-Text */
.schritte { border-top: 1px solid #eef1f4; margin-top: 26px; padding-top: 22px; }
.schritte-titel { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); margin-bottom: 16px; }
.schritte-reihe { display: flex; gap: 18px; text-align: center; }
.schritt { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.schritt b { font-size: 13px; color: var(--anthrazit, #191919); }
.schritt span:not(.s-kreis) { font-size: 12px; color: var(--grau); line-height: 1.5; }
.s-kreis { width: 30px; height: 30px; border-radius: 50%; background: #eaf5fb; color: var(--blau); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.s-kreis.s-fertig { background: #e8f6ee; color: #1a7f4b; }
@media (max-width: 560px) {
  .mitte-seite { margin: 24px 12px; padding: 36px 20px 32px; }
  .schritte-reihe { flex-direction: column; gap: 14px; }
  .schritt { flex-direction: row; text-align: left; gap: 10px; align-items: center; flex-wrap: wrap; }
  .s-kreis { margin-bottom: 0; }
  .schritt b { flex: 1; }
  .schritt span:not(.s-kreis) { flex-basis: 100%; padding-left: 40px; }
}
