/* ============================================================
   Recruiting-Seite (/mitarbeitergewinnung/) — Zusatzstyles
   Nur auf dieser Seite eingebunden (extraCss). Nutzt bestehende
   Design-Tokens aus style.css, kein Eingriff in style.css selbst.
   ============================================================ */

/* Langes Wort "Mitarbeitergewinnung" in der H1 zwingt den Grid-Track sonst
   über die verfügbare Breite hinaus (Grid-Default-Minimum "auto"). */
.hero-copy { min-width: 0; }

/* ---------- Hero: Handy-Mockups ---------- */
.hero-phones-wrap {
  position: relative;
  width: 420px;
  max-width: 100%;
  margin-left: auto;
}
.hero-phones {
  position: relative;
  width: 100%;
  height: 430px;
}
.phone {
  --phone-w: 214px;
  position: absolute;
  width: var(--phone-w);
  border-radius: 34px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  padding: 9px;
}
.phone-ad { top: 0; left: 0; z-index: 2; }
.phone-form { top: 70px; left: 200px; z-index: 1; }
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 15px; border-radius: 999px;
  background: var(--border-strong); z-index: 3;
}
.phone-screen {
  position: relative;
  background: var(--bg-elev);
  border-radius: 25px;
  overflow: hidden;
  padding: 24px 12px 14px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

/* Handy 1: Anzeige */
.ad-head { display: flex; align-items: center; gap: .5rem; }
.ad-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  flex: none;
}
.ad-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ad-name { font-family: var(--font-display); font-size: .72rem; font-weight: 700; color: var(--text); }
.ad-sponsored { font-size: .62rem; color: var(--text-faint); }
.ad-text { font-size: .72rem; line-height: 1.4; color: var(--text); margin: 0; }
.ad-media { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); flex: none; }
.ad-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; display: block; }
.ad-actions { margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--border); }
.ad-cta-btn { display: block; text-align: center; font-size: .74rem; font-weight: 700; color: var(--accent); padding: .35rem 0; }

/* Handy 2: Bewerbungsseite */
.form-mock-title { font-family: var(--font-display); font-weight: 700; font-size: .84rem; color: var(--text); margin: .2rem 0 .1rem; }
.form-mock-field {
  border: 1px solid var(--border); border-radius: 10px;
  padding: .5rem .6rem; font-size: .66rem; color: var(--text-faint);
  background: var(--surface);
  display: flex; align-items: center; justify-content: space-between;
}
.form-mock-btn {
  margin-top: .3rem; text-align: center;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; padding: .55rem 0;
  font-size: .72rem; font-weight: 700;
}

.hero-phones-note { margin-top: 1rem; font-size: .78rem; color: var(--text-faint); text-align: right; }

@media (max-width: 820px) {
  .hero-phones-wrap { width: 380px; margin-inline: auto; }
  .hero-phones { height: 390px; }
  .phone { --phone-w: 190px; }
  .phone-form { top: 60px; left: 185px; }
  .phone-screen { min-height: 270px; }
  .hero-phones-note { text-align: center; }
}

@media (max-width: 480px) {
  .hero-phones-wrap { width: 320px; }
  .hero-phones { height: 370px; }
  .phone { --phone-w: 152px; }
  .phone-form { top: 44px; left: 162px; }
  .phone-screen { min-height: 208px; padding: 20px 10px 12px; }
  .phone-notch { width: 42px; height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phones-wrap { transition: none; }
}

/* ---------- Pakete: 2 Karten statt 3 ---------- */
.pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-inline: 0;
}
@media (max-width: 900px) {
  .pricing-grid-2 { grid-template-columns: 1fr; }
}

/* Lange Überschrift „Mitarbeitergewinnung“ darf nicht unter die Handys laufen */
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); hyphens: manual; }

/* ==========================================================================
   Seitenaufbau 2026-09-30 (km-*): Grafik je Abschnitt. Gemeinsame Bausteine
   (kx-*) liegen in sections.css.
   ========================================================================== */
.hero-copy .kx-hero-meta { margin-top: 1.8rem; }

/* ---------- Weg zur Bewerbung ---------- */
.km-feed { flex-direction: column; gap: .6rem; }
.km-feed-post { width: 100%; max-width: 230px; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; gap: .35rem .6rem; align-items: center; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: .6rem; }
.km-feed-post i { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); }
.km-feed-post b { height: 7px; border-radius: 4px; background: var(--surface-2); }
.km-feed-post b.s { width: 60%; }
.km-ad { display: flex; gap: .7rem; align-items: center; background: #fff; color: #0d0d0d; border-radius: 14px; padding: .55rem .9rem .55rem .55rem; box-shadow: 0 6px 18px -8px rgba(0,0,0,.25); }
.km-ad img { width: 52px; height: 64px; object-fit: cover; object-position: 60% 35%; border-radius: 8px; }
.km-ad div { display: flex; flex-direction: column; line-height: 1.3; }
.km-ad b { font-size: .9rem; }
.km-ad span { font-size: .74rem; color: #555; }
.km-sent { display: flex; align-items: center; gap: .7rem; background: #fff; color: #0d0d0d; border-radius: 14px; padding: .7rem 1rem .7rem .7rem; outline: 2px solid var(--accent); outline-offset: 3px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.25); }
.km-sent-ico { width: 36px; height: 36px; border-radius: 50%; flex: none; background: #1a7f37 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat; }
.km-sent div { display: flex; flex-direction: column; line-height: 1.3; }
.km-sent b { font-size: .9rem; }
.km-sent span { font-size: .76rem; color: #555; }

/* ---------- Kacheln ---------- */
.km-apply { flex: 1 1 0; max-width: 340px; background: var(--surface); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: .45rem; }
.km-apply-head { display: flex; flex-direction: column; line-height: 1.3; margin-bottom: .2rem; }
.km-apply-head b { color: var(--text); font-family: var(--font-display); }
.km-apply-head span { font-size: .76rem; color: var(--text-faint); }
.km-field { display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: .35rem .7rem; font-size: .84rem; color: var(--text); }
.km-field em { font-style: normal; font-size: .66rem; color: var(--text-faint); }
.km-apply-btn { margin-top: .2rem; text-align: center; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: .55rem; font-size: .82rem; }
.km-photos { padding: 0; overflow: hidden; position: relative; min-height: 170px; }
.km-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.km-rec { position: absolute; left: 10px; top: 10px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: .25rem .6rem; border-radius: 6px; }
.km-rec { color: #fff; }
.km-account span { font-size: .84rem; padding: .15rem 0; }
.km-radius { position: relative; overflow: hidden; min-height: 170px; background: #dcefd0; }
.km-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1.5px solid rgba(21,112,239,.55); background: rgba(21,112,239,.08); }
.km-ring.r1 { width: 60px; height: 60px; background: rgba(21,112,239,.16); }
.km-ring.r2 { width: 120px; height: 120px; }
.km-ring.r3 { width: 190px; height: 190px; border-style: dashed; background: transparent; }
.km-pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #1570ef; box-shadow: 0 0 0 4px #fff; transform: translate(-50%, -50%); }
.km-town { position: absolute; font-size: .68rem; font-weight: 600; color: #2d2d2d; }
.km-town.t1 { left: 50%; top: calc(50% + 12px); transform: translateX(-50%); }
.km-town.t2 { left: 14%; bottom: 14%; }
.km-town.t3 { right: 10%; top: 16%; }
.km-report { gap: .6rem; }
.km-report span { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: .6rem; font-size: .8rem; }
.km-report em { font-style: normal; color: var(--text); font-weight: 600; }
.km-report i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--w), var(--surface-2) var(--w)); }
.km-report p { margin: 0; font-size: .72rem; }
.kx-step-visual.km-report { background: var(--bg-elev); }

/* ---------- Referenz ---------- */
.km-inbox { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.3rem 1.4rem 1rem; }
.km-inbox-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.km-inbox-head b { color: var(--text); font-family: var(--font-display); font-size: 1.05rem; }
.km-inbox-head span { font-size: .82rem; color: var(--text-faint); }
.km-inbox-row { display: flex; align-items: center; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.km-inbox-row div { display: flex; flex-direction: column; line-height: 1.3; }
.km-inbox-row b { color: var(--text); font-size: .92rem; }
.km-inbox-row span { font-size: .8rem; color: var(--text-muted); }
.km-inbox-row i { margin-left: auto; font-style: normal; }
.km-av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); flex: none; }
.km-skel .km-av { background: var(--surface-2); }
.km-skel b { width: 150px; height: 9px; border-radius: 5px; background: var(--surface-2); }
.km-skel span { width: 90px; height: 7px; border-radius: 4px; background: var(--surface-2); margin-top: .35rem; }
.km-inbox p { margin: .7rem 0 0; font-size: .74rem; }

/* ---------- Ablauf: 3 Motive ---------- */
.km-v-ads { flex-direction: row; gap: .6rem; }

.km-v-ads img:nth-child(1) { object-position: 30% 40%; }
.km-v-ads img:nth-child(2) { object-position: 60% 30%; }
.km-v-ads img:nth-child(3) { object-position: 85% 60%; }

/* ---------- Inklusive und Garantie ---------- */
.km-promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; max-width: 980px; margin-inline: auto; }
.km-promise-visual { align-items: center; gap: .8rem; min-height: 170px; }
.km-mini-page { width: 170px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: .7rem; display: flex; flex-direction: column; gap: .35rem; box-shadow: var(--shadow-sm); }
.km-mini-page b { font-size: .76rem; color: var(--text); }
.km-mini-page span { height: 20px; border: 1px solid var(--border); border-radius: 7px; }
.km-mini-page em { font-style: normal; text-align: center; font-size: .66rem; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: .3rem; }
.km-badge { font-size: .74rem; font-weight: 700; color: #1a7f37; background: rgba(30,142,62,.12); border-radius: 999px; padding: .25rem .7rem; }
.km-weeks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; max-width: 280px; }
.km-weeks i { height: 34px; border-radius: 8px; background: var(--accent-soft); border: 1.5px solid var(--accent); }
.km-weeks-label { font-size: .8rem; font-weight: 700; color: var(--accent); }
@media (max-width: 760px) { .km-promises { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .km-apply { max-width: none; } }
#pakete .pricing-grid-2 { margin-inline: auto; }
.km-price-note { text-align: center; margin-inline: auto; }
.km-motif { position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.km-motif em { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: .62rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); border-radius: 5px; padding: .1rem .4rem; }
.km-motif-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; aspect-ratio: auto; border-radius: 0; }
.km-motif-text { background: #1570ef; color: #fff; padding: .7rem; gap: .3rem; }
.km-motif-text b { font-family: var(--font-display); font-size: .9rem; line-height: 1.15; }
.km-motif-text small { font-size: .64rem; opacity: .85; }
.km-motif-video { background: #1b1f2e url("../img/recruiting-anzeige.jpg") 20% 50% / cover; align-items: center; }
.km-motif-video::before { content: ""; position: absolute; inset: 0; background: rgba(10, 12, 30, .45); }
.km-motif-video i { position: relative; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); }
.km-motif-video i::after { content: ""; position: absolute; left: 15px; top: 11px; border-left: 12px solid #1570ef; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.km-addon { max-width: 880px; margin: 1.4rem auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; background: var(--bg-elev); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; }
.km-addon-copy { flex: 1 1 360px; }
.km-addon h3 { font-size: 1.2rem; }
.km-addon-copy p { color: var(--text-muted); margin-top: .4rem; font-size: .96rem; }
.km-addon .price-value { margin: 0; }
.price-group-label { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .5rem; }
