/* ============================================================
   GL Logistik — Karriere (page-specific)
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(140px, 22vh, 220px) 0 clamp(56px, 9vh, 96px);
  background: radial-gradient(900px 460px at 82% -20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
              linear-gradient(160deg, var(--slate-900), var(--slate-950));
}
.page-hero::after {
  content:""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 16px);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero .eyebrow::before { background: var(--accent-light); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); color: #fff; margin: 18px 0 16px; }
.page-hero p { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: rgba(255,255,255,.78); margin: 0; max-width: 48ch; }
.page-hero .crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 6px; font-family: var(--font-head); letter-spacing: .04em; }
.page-hero .crumbs a { color: rgba(255,255,255,.7); }
.page-hero .crumbs a:hover { color: var(--accent-light); }

/* ---------- Why GL? — photo + benefits ---------- */
.kar-why { background: var(--bg); }
.kar-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.kar-photo-wrap { position: sticky; top: 110px; }
.kar-photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border); box-shadow: var(--card-shadow);
}
.kar-photo img { width: 100%; height: 100%; object-fit: cover; }
.kar-photo:not(:has(img)) {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--slate-500) 10%, transparent) 0 2px, transparent 2px 14px), var(--bg-alt);
}
.kar-photo .ph-mono { color: var(--ink-soft); border-color: color-mix(in srgb, var(--slate-500) 40%, transparent); }
.kar-photo-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent-fill); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.5);
}
.kar-photo-badge svg { width: 18px; height: 18px; }

.benefits-list { display: flex; flex-direction: column; gap: 16px; }
.benefit {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 26px 28px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(15,23,42,.4); border-color: color-mix(in srgb, var(--accent) 36%, var(--card-border)); }
.benefit .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent-strong);
}
.benefit .ico svg { width: 27px; height: 27px; }
.benefit h3 { font-size: 1.28rem; margin: 2px 0 12px; }
.benefit ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.benefit li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.45; }
.benefit li::before { content:""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); rotate: 45deg; flex-shrink: 0; margin-top: .5em; }

/* ---------- Job accordion ---------- */
.jobs { background: var(--bg-alt); }
.acc { display: flex; flex-direction: column; gap: 14px; max-width: 980px; }
.acc-item {
  border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden;
  background: var(--card-bg); box-shadow: var(--card-shadow);
  transition: border-color .3s var(--ease), box-shadow .3s;
}
.acc-item.open { border-color: color-mix(in srgb, var(--accent) 45%, var(--card-border)); box-shadow: 0 24px 50px -28px rgba(15,23,42,.4); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 24px clamp(20px, 3vw, 30px); cursor: pointer; text-align: left;
  background: none; border: 0; color: var(--ink); font-family: var(--font-head);
}
.acc-head .idx { font-weight: 700; font-size: .9rem; color: var(--accent-strong); min-width: 26px; }
.acc-head .ttl { flex: 1; font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.32rem); letter-spacing: -.01em; }
.acc-head .chev {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent-strong);
  transition: transform .35s var(--ease), background .3s;
}
.acc-head .chev svg { width: 20px; height: 20px; }
.acc-item.open .acc-head .chev { transform: rotate(180deg); background: var(--accent-fill); color: #fff; }
.acc-head:hover .ttl { color: var(--accent-strong); }

.acc-body { max-height: 0; overflow: hidden; transition: max-height .42s var(--ease); }
.acc-body-inner { padding: 0 clamp(20px, 3vw, 30px) 28px; }
.acc-body-inner .lead { color: var(--ink); font-size: 1.06rem; margin: 0 0 18px; max-width: 60ch; text-wrap: pretty; }
.acc-divider { height: 1px; background: var(--card-border); margin: 0 0 18px; }
.acc-tasks-label { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 12px; }
.acc-tasks { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.acc-tasks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); font-size: 1.02rem; }
.acc-tasks li svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.acc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.acc-meta { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink-soft); }
.acc-meta svg { width: 17px; height: 17px; color: var(--accent); }
.acc-draft { display: block; margin-top: 16px; font-size: .82rem; color: var(--ink-soft); font-style: italic; opacity: .8; }

/* ---------- Apply popover ---------- */
.apply-wrap { position: relative; }
.acc-apply {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: #fff;
  background: var(--accent-fill); padding: 11px 20px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background .25s, transform .2s var(--ease);
}
.acc-apply svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.acc-apply[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.acc-apply:hover { background: var(--accent-fill-hover); transform: translateY(-2px); }
.apply-pop {
  display: none;
  position: absolute; bottom: calc(100% + 10px); right: 0;
  min-width: 260px; z-index: 20;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 14px; box-shadow: 0 16px 48px -16px rgba(15,23,42,.4);
  padding: 8px; flex-direction: column; gap: 2px;
}
.apply-pop.open { display: flex; }
.apply-pop-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 9px; border: 0; cursor: pointer; width: 100%; text-align: left;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--ink); background: none; text-decoration: none;
  transition: background .18s;
}
.apply-pop-opt:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent-strong); }
.apply-pop-opt svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.apply-pop-addr {
  margin: 4px 14px 8px; font-size: .8rem; color: var(--ink-soft);
  font-family: var(--font-mono, monospace); word-break: break-all;
  border-top: 1px solid var(--card-border); padding-top: 8px;
}

/* ---------- Apply CTA block ---------- */
.apply-cta { position: relative; overflow: hidden; background: var(--slate-950); color: #fff; }
.apply-cta::before {
  content:""; position: absolute; inset: 0;
  background: radial-gradient(720px 420px at 85% -10%, color-mix(in srgb, var(--bordeaux-bright) 46%, transparent), transparent 62%);
}
.apply-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.apply-inner .eyebrow { color: var(--accent-light); }
.apply-inner .eyebrow::before { background: var(--accent-light); }
.apply-inner h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); color: #fff; margin: 16px 0 14px; max-width: 18ch; }
.apply-inner p { color: rgba(255,255,255,.8); font-size: 1.12rem; margin: 0; max-width: 46ch; text-wrap: pretty; }
.apply-inner .init { margin-top: 16px; font-size: .98rem; color: rgba(255,255,255,.6); }
.apply-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.apply-card .who { display: flex; align-items: center; gap: 14px; }
.apply-card .avatar {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--accent-fill); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.apply-card .who .lbl { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-family: var(--font-head); }
.apply-card .who .nm { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #fff; margin-top: 2px; }
.apply-card .btn { width: 100%; justify-content: center; }

/* ---------- Empty state ---------- */
.kar-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px; gap: 14px;
}
.kar-empty svg { width: 58px; height: 58px; color: var(--accent); margin-bottom: 8px; }
.kar-empty h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); margin: 0; }
.kar-empty p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; max-width: 38ch; line-height: 1.6; }
.kar-empty .btn { margin-top: 8px; }

@media (max-width: 960px) {
  .kar-grid { grid-template-columns: 1fr; gap: 36px; }
  .kar-photo-wrap { position: static; max-width: 460px; }
  .apply-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .benefit { grid-template-columns: 1fr; gap: 14px; }
  .acc-foot { flex-direction: column; align-items: stretch; }
  .acc-apply { justify-content: center; }
}
