/* =========================================================
   Verbund Impuls · Karrierebereich (/stellen/, /bewerben/)
   Ergänzt style.css; nutzt dessen Variablen und Bausteine.
   Stand 2026-09-10, Agentur Krüger.
   Kontraste: Kachelrahmen #8d8781 auf Weiß 3,3:1 (WCAG 1.4.11),
   --lime-text #5e6c22 auf Weiß 6,5:1, Bordeaux auf Weiß 8,9:1.
   ========================================================= */

/* ---------- Entwurfsschild (nur im Vorschau-Build) ---------- */
.entwurf-schild {
  background: #fff3cd;
  color: #5c4400;
  border-bottom: 2px solid #e0b400;
  font-size: .92rem;
  line-height: 1.5;
  padding: .7rem clamp(1.15rem, 4vw, 2.5rem);
  text-align: center;
}
.entwurf-schild strong { color: #5c4400; }

/* ---------- Hero-Ergänzungen ---------- */
.hero-aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn-outline-hell { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline-hell:hover { background: #fff; color: var(--bordeaux); border-color: #fff; }
.page-hero .eyebrow { color: var(--lime-light); }

/* ---------- Eckdaten ---------- */
.eckdaten {
  list-style: none;
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: .9rem;
}
.eckdaten li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.05rem;
}
.eckdaten svg { width: 22px; height: 22px; flex: none; color: var(--bordeaux); margin-top: .1rem; }
.eckdaten strong {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: .15rem;
}
.eckdaten span { font-size: .98rem; line-height: 1.45; color: var(--ink); }
.stellen-cta { margin-top: 1.8rem; }

/* ---------- Bereiche ---------- */
.bereiche-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.bereiche-liste li {
  background: var(--white);
  border-left: 5px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}
.bereiche-liste a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; margin-bottom: .2rem; }
.bereiche-liste span { display: block; font-size: .98rem; line-height: 1.6; }

/* ---------- Tagesablauf ---------- */
.tagesablauf { list-style: none; margin: 0; padding: 0; position: relative; }
.tagesablauf::before {
  content: "";
  position: absolute;
  left: 4.6rem;
  top: .6rem;
  bottom: .6rem;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 15px);
}
.tagesablauf li {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 1.6rem;
  padding: 0 0 1.8rem;
  position: relative;
}
.tagesablauf li:last-child { padding-bottom: 0; }
.tagesablauf time {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--bordeaux);
  font-size: 1.02rem;
  padding-top: .15rem;
}
.tagesablauf li::before {
  content: "";
  position: absolute;
  left: 4.6rem;
  top: .5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bordeaux);
  transform: translateX(-5px);
  box-shadow: 0 0 0 4px var(--white);
}
.tagesablauf li > div { padding-left: 1.4rem; }
.tagesablauf h3 { font-size: 1.1rem; margin-bottom: .3em; }
.tagesablauf p { font-size: 1rem; margin: 0; }
@media (max-width: 600px) {
  .tagesablauf::before, .tagesablauf li::before { display: none; }
  .tagesablauf li { grid-template-columns: 1fr; gap: .3rem; }
  .tagesablauf li > div { padding-left: 0; }
}

/* ---------- Das bringst du mit ---------- */
.mitbringen { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.mitbringen li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.1rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
.mitbringen .marke {
  flex: none;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .3rem .7rem;
  margin-top: .15rem;
  white-space: nowrap;
}
.mitbringen .muss .marke { background: var(--bordeaux); color: var(--white); }
.mitbringen .kann .marke { background: var(--lime-soft); color: var(--lime-text); }

/* ---------- Übersicht: Stellenkarten ---------- */
.stellen-fokus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.stellen-fokus > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; color: var(--bordeaux); }
.stellen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}
.stellen-karte {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.4vw, 1.7rem);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.stellen-karte:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.stellen-karte.gross {
  border: 2px solid var(--bordeaux);
  background: linear-gradient(135deg, var(--white), var(--bordeaux-soft));
}
.stellen-karte.gross h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.stellen-karte.gross p { font-size: 1.1rem; max-width: 40rem; }
.stellen-karte.initiativ { background: var(--cream); border-style: dashed; }
.stellen-bereich {
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: .6rem;
}
.stellen-karte h3 { font-size: 1.15rem; margin-bottom: .45em; }
.stellen-karte h3 a { color: var(--ink); }
.stellen-karte h3 a:hover { color: var(--bordeaux); text-decoration: none; }
.stellen-karte p { flex: 1 1 auto; font-size: .98rem; line-height: 1.6; margin: 0 0 1.2rem; }
.stellen-karte-fuss { display: flex; flex-wrap: wrap; gap: .6rem; }
.stellen-karte-fuss .btn { padding: .7rem 1.2rem; font-size: .92rem; }

.stellen-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: .5rem 1.4rem;
}
.stellen-liste li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.stellen-liste a { font-weight: 600; }

/* ---------- Bewerben-Abschnitt ---------- */
.bewerben-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.bewerben-grid.nur-formular { grid-template-columns: minmax(0, 46rem); justify-content: center; }
@media (min-width: 981px) { .bewerben-text { position: sticky; top: 6rem; } }
@media (max-width: 980px) { .bewerben-grid { grid-template-columns: minmax(0, 1fr); } }
.bewerben-hinweis { margin-top: 1rem; font-size: 1rem; }
.bewerben-hotline { margin-top: .6rem; font-size: 1rem; }
.bewerben-hotline a { font-weight: 700; white-space: nowrap; }
.bewerben-anker { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.bewerben-anker li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.bewerben-anker li::before {
  content: "";
  position: absolute;
  left: 0; top: .45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lime);
}
.bewerben-anker strong { display: block; color: var(--ink); }
.bewerben-anker span { font-size: .95rem; line-height: 1.55; }

.funnel-karte {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: 0 18px 44px rgba(47, 47, 47, .08);
}
.hp-feld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fortschritt */
.funnel-fortschritt { margin-bottom: 1.8rem; }
.fortschritt-punkte {
  display: flex;
  justify-content: space-between;
  gap: .4rem;
  list-style: none;
  margin: 0 0 .6rem;
  padding: 0;
}
.fortschritt-punkte li {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--grey-light);    /* #6e6e6e auf Weiß 5,2:1 */
  transition: color .2s;
}
.fortschritt-punkte li.erledigt { color: var(--lime-text); }
.fortschritt-punkte li.aktiv { color: var(--bordeaux); }
.fortschritt-punkte li.aktiv span { border-bottom: 2px solid var(--bordeaux); padding-bottom: 2px; }
.fortschritt-punkte li.erledigt span::before { content: "✓ "; }
@media (max-width: 480px) { .fortschritt-punkte li:not(.aktiv) span { display: none; } .fortschritt-punkte li:not(.aktiv)::after { content: "·"; } }
.fortschritt-schiene { height: 6px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.fortschritt-fuellung { height: 100%; width: 16%; background: var(--bordeaux); border-radius: 3px; transition: width .35s ease; }

/* Rückmeldung */
.funnel-antwort {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--lime-text);
  background: var(--lime-soft);
  border-left: 3px solid var(--lime);
  border-radius: 0 8px 8px 0;
  padding: .75rem 1rem;
  margin: 0 0 1.4rem;
}
.funnel-antwort:empty { display: none; }
.funnel-antwort.ist-neu { animation: funnel-schritt-auf .3s ease backwards; }

/* Kacheln */
.kachel-gruppe { border: none; margin: 0; padding: 0; min-width: 0; }
.funnel-frage {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 .35rem;
  padding: 0;
}
.funnel-frage:focus { outline: none; }
.funnel-hilfe { font-size: .9rem; color: var(--grey-light); margin: 0 0 1.1rem; }
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.kachel-breit { grid-column: 1 / -1; }
.kachel[hidden] { display: none; }
.kachel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-height: 4.2rem;
  padding: .85rem 2.2rem .9rem 1rem;
  border: 2px solid #8d8781;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s;
}
.kachel input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; margin: 0; cursor: pointer;
}
.kachel-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--lime-soft);
  color: var(--bordeaux);
  margin-bottom: .45rem;
  transition: background .15s, color .15s;
}
.kachel-ico svg { width: 18px; height: 18px; }
/* Mit Icon sitzt das Häkchen in der Icon-Zeile, der Titel darunter darf die volle Breite nutzen. */
.kachel:has(.kachel-ico) { padding-right: 1rem; }
.kachel-titel { font-weight: 700; font-size: .98rem; color: var(--ink); line-height: 1.25; overflow-wrap: break-word; }
.kachel-zusatz { font-size: .82rem; color: var(--grey-light); line-height: 1.3; }
.kachel:hover { border-color: var(--bordeaux); background: var(--cream); }
.kachel:hover:not(.gewaehlt) { transform: translateY(-2px); }
.kachel:focus-within { outline: 3px solid var(--bordeaux); outline-offset: 3px; }
.kachel:has(input:checked), .kachel.gewaehlt {
  border-color: var(--bordeaux);
  background: var(--bordeaux-soft);
  transform: none;
}
.kachel:has(input:checked) .kachel-ico, .kachel.gewaehlt .kachel-ico { background: var(--bordeaux); color: var(--white); }
.kachel::after {
  content: "✓";
  position: absolute;
  top: .6rem; right: .65rem;
  width: 21px; height: 21px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 800; line-height: 1;
  color: var(--white);
  background: var(--bordeaux);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .18s, transform .18s;
  pointer-events: none;
}
.kachel:has(input:checked)::after, .kachel.gewaehlt::after { opacity: 1; transform: scale(1); }
/* Stellen-Kacheln: drei Spalten nur, wenn die Karte allein in voller Breite steht (641 bis 980 px) */
@media (min-width: 640px) and (max-width: 980px) { .funnel-schritt[data-feld="stelle"] .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Schritte */
.funnel-schritt { display: none; }
.funnel-schritt.aktiv { display: block; animation: funnel-schritt-auf .3s ease backwards; }
.funnel-schritt.aktiv .kachel { animation: funnel-kachel-auf .32s ease backwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes funnel-schritt-auf { from { opacity: 0; transform: translateY(12px); } }
@keyframes funnel-kachel-auf { from { opacity: 0; transform: translateY(9px); } }
@media (prefers-reduced-motion: reduce) { .funnel-schritt.aktiv, .funnel-schritt.aktiv .kachel, .funnel-antwort.ist-neu { animation: none; } }

.funnel-buttons { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.8rem; }
.funnel-buttons .btn { text-align: center; }
@media (min-width: 561px) {
  .funnel-buttons { flex-direction: row; justify-content: flex-start; gap: .9rem; flex-wrap: wrap; }
  .funnel-buttons .btn-outline { order: -1; }
}

/* Kontaktschritt */
.formfeld { margin-bottom: 1rem; }
.formfeld label { display: block; font-size: .93rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.feld-optional { font-weight: 400; color: var(--grey-light); }
.formfeld input[type="text"], .formfeld input[type="tel"], .formfeld input[type="email"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #8d8781;
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .2s, background .2s;
}
.formfeld input:focus { outline: none; border-color: var(--bordeaux); background: var(--white); box-shadow: 0 0 0 3px var(--bordeaux-soft); }
.formfeld input[type="file"] { font-size: .92rem; color: var(--grey); }
.formfeld .feld-hinweis { display: block; font-size: .82rem; color: var(--grey-light); margin-top: .3rem; }
.formfeld-checkbox { display: flex; align-items: flex-start; gap: .7rem; margin: 1.2rem 0 .4rem; }
.formfeld-checkbox input { flex: none; width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--bordeaux); }
.formfeld-checkbox label { font-size: .9rem; line-height: 1.55; color: var(--grey); }
.hat-fehler input, .hat-fehler .kachel { border-color: var(--bordeaux) !important; }
.feld-fehler { display: block; font-size: .85rem; color: var(--bordeaux); margin-top: .35rem; font-weight: 600; }
.funnel-fehler {
  display: none;
  color: var(--bordeaux-dark);
  background: var(--bordeaux-soft);
  border: 1px solid var(--bordeaux);
  border-radius: 8px;
  padding: .8rem 1rem;
  font-size: .92rem;
  margin-top: 1.1rem;
}
.funnel-vertrauen {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: .5rem 1.3rem;
  margin: 1.5rem 0 0; padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}
.funnel-vertrauen li { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--grey-light); }
.funnel-vertrauen svg { width: 15px; height: 15px; color: var(--lime-text); flex: none; }
.funnel-fussnote { font-size: .8rem; line-height: 1.5; color: var(--grey-light); margin: 1.3rem 0 0; }
.funnel-erfolg {
  display: none;
  text-align: center;
  border: 2px solid var(--lime);
  border-radius: 18px;
  background: var(--lime-soft);
  padding: 3rem 2rem;
}
.erfolg-haken { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.1rem; background: var(--bordeaux); color: var(--white); }
.erfolg-haken svg { width: 28px; height: 28px; }
.funnel-erfolg h3 { color: var(--bordeaux); margin-bottom: .6rem; }

/* Ohne JavaScript: alle Schritte untereinander, keine Sprungknöpfe */
@media (scripting: none) {
  .funnel-schritt { display: block !important; margin-bottom: 2.2rem; }
  [data-weiter], [data-zurueck], .funnel-fortschritt { display: none !important; }
}

/* ---------- Funnelseite (Ebene 2) ---------- */
.funnel-header .header-actions-immer { display: flex; }
.funnel-header .header-call { display: inline-flex; }
.funnel-hero {
  background: var(--ink);
  color: rgba(255,255,255,.9);
  padding-block: clamp(2.4rem, 6vw, 4.5rem) clamp(2.4rem, 6vw, 4rem);
  background-image:
    linear-gradient(100deg, rgba(88, 6, 22, .97) 0%, rgba(122, 9, 31, .93) 48%, rgba(130, 10, 33, .86) 100%),
    url('/assets/img/hero-team.jpg');
  background-size: cover;
  background-position: center 22%;
}
.funnel-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3rem); text-wrap: balance; }
.funnel-hero .eyebrow { color: var(--lime-light); }
.funnel-hero-liste { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .45rem; }
.funnel-hero-liste li { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; }
.funnel-hero-liste svg { width: 18px; height: 18px; color: var(--lime-light); flex: none; }
.funnel-hero-tel { margin-top: 1.2rem; font-size: .98rem; color: rgba(255,255,255,.85); }
.funnel-hero-tel a { color: var(--white); font-weight: 700; }
.funnelseite .bewerben { padding-top: clamp(2rem, 4vw, 3rem); }
.belege { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.belege li { padding-left: 1.6rem; position: relative; }
.belege li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.belege strong { display: block; color: var(--ink); }
.belege span { font-size: .96rem; line-height: 1.55; }
.funnel-footer .footer-bottom { border-top: 0; padding-top: 0; }
.mobil-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 50;
  background: var(--bordeaux);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  padding: 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
}
.mobil-cta:hover { color: var(--white); text-decoration: none; background: var(--bordeaux-dark); }
@media (max-width: 720px) {
  .mobil-cta { display: block; }
  .funnelseite { padding-bottom: 4.5rem; }
}

/* ---------- KI-Hinweis, Einwilligungsbanner ---------- */
.ai-hinweis { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: rgba(255,255,255,.7); margin-top: .8rem; }
.ai-hinweis img { flex: none; width: 18px; height: 18px; filter: invert(1); }
.ki-transparenz { display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.ki-transparenz img { flex: none; margin-top: .2rem; }
.ki-transparenz p { margin: 0; font-size: .98rem; }
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--white);
  border-top: 3px solid var(--bordeaux);
  box-shadow: 0 -10px 30px rgba(0,0,0,.12);
  padding: 1rem clamp(1.15rem, 4vw, 2.5rem);
}
.consent-inner { max-width: var(--wrap); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.consent-text { flex: 1 1 32rem; font-size: .92rem; line-height: 1.55; margin: 0; }
.consent-buttons { display: flex; gap: .7rem; flex-wrap: wrap; }
