/* Karriereseite: nutzt Tokens und Komponenten aus /styles.css */

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--bg-card); color: var(--text);
  padding: .6rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--border-strong);
}
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Hero */
.k-hero { padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)); padding-bottom: calc(var(--section-pad) / 2); position: relative; }
.k-hero__inner { display: grid; justify-items: center; text-align: center; gap: var(--sp-4); }
.k-hero h1 { font-size: clamp(2.4rem, 5.5vw + .5rem, 4.6rem); max-width: 16ch; }
.k-lead { font-size: clamp(1.05rem, 1vw + .9rem, 1.3rem); max-width: 40ch; }
.k-checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }
.k-checks .chip::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-brand); flex: none; }
.k-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.k-micro { font-size: var(--fs-small); color: var(--text-faint); }

.k-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--sp-3); margin-top: var(--sp-6); }
.k-photo {
  aspect-ratio: 4 / 5; border-radius: var(--r-card-lg);
  border: 1px solid var(--border-glass);
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 140, 255, .35), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(155, 92, 240, .35), transparent 55%),
    var(--bg-card);
}
.k-photo--2 { margin-top: var(--sp-5); }

/* Bento */
.k-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.k-tile { display: grid; gap: var(--sp-2); align-content: end; min-height: 240px; }
.k-tile--wide { grid-column: span 2; }
.k-tile__big { font-size: clamp(2.2rem, 3.5vw + .8rem, 3.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; color: var(--text); }
.k-tile__big.grad-text { color: transparent; }
.k-partners { display: grid; justify-items: center; gap: var(--sp-3); margin-top: var(--sp-6); text-align: center; }
.k-partners ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }

/* Vergleich */
.k-compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.k-compare h3 { margin-bottom: var(--sp-4); color: var(--text); }
.k-compare__us { border-color: rgba(91, 140, 255, .4); }
.k-list { list-style: none; display: grid; gap: var(--sp-3); }
.k-list li { position: relative; padding-left: 1.9rem; color: var(--text-muted); line-height: 1.5; }
.k-list li::before {
  position: absolute; left: 0; top: .1em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; line-height: 1;
}
.k-list--minus li::before { content: "\2715"; background: rgba(255, 255, 255, .08); color: var(--text-faint); }
.k-list--plus li { color: var(--text); }
.k-list--plus li::before { content: "\2713"; background: var(--grad-brand); color: #fff; }
.k-center { display: flex; justify-content: center; margin-top: var(--sp-5); }

/* Alltag */
.k-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); counter-reset: none; }
.k-steps .card { display: grid; gap: var(--sp-2); align-content: start; }
.k-steps__n {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); font-weight: 600; color: #fff;
}
.k-best { margin-top: var(--sp-3); }
.k-best h3 { margin-bottom: var(--sp-4); }
.k-best .k-list { grid-template-columns: 1fr 1fr; }

.k-grid3 { grid-template-columns: repeat(3, 1fr); }

/* Stelle */
.k-job { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.k-job h3 { font-size: 1.6rem; margin-bottom: var(--sp-3); }
.k-job__meta { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* Abschluss */
.k-final { display: grid; justify-items: center; text-align: center; gap: var(--sp-4); }
.k-final h2 { max-width: 20ch; }
.k-final > p { max-width: 52ch; }
.k-fine { font-size: .8125rem; color: var(--text-faint); max-width: 56ch; }

@media (max-width: 960px) {
  .k-steps { grid-template-columns: repeat(2, 1fr); }
  .k-grid3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .k-bento, .k-compare, .k-steps, .k-grid3, .k-best .k-list { grid-template-columns: 1fr; }
  .k-tile--wide { grid-column: auto; }
  .k-tile { min-height: 0; }
  .k-photos { gap: var(--sp-2); }
  .k-photo { border-radius: var(--r-card); }
  .k-job .btn, .k-cta-row .btn, .k-final .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== Kontrast: kräftigere Karten, helle Bänder im Wechsel ===== */
:root {
  --k-indigo-1: #232b66;
  --k-indigo-2: #141838;
  --k-light: #eceef5;
  --k-ink: #0a0a0f;
  --k-ink-muted: rgba(10, 10, 15, .62);
}

/* Karten in dunklen Sektionen: deutlich heller als der Hintergrund, mit Glow oben rechts */
main .card, main .card--lg, .k-dark {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(124, 108, 240, .38), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(91, 140, 255, .14), transparent 60%),
    linear-gradient(165deg, var(--k-indigo-1), var(--k-indigo-2) 70%);
  border: 1px solid rgba(160, 170, 255, .22);
  box-shadow: 0 24px 50px -18px rgba(8, 10, 40, .65), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
}
main .card h3, main .card--lg h3, .k-dark h3 { color: #fff; }
main .card p, main .card--lg p { color: rgba(255, 255, 255, .72); }

/* Helle Bänder: wie die helle Fläche mit dunklen Karten im Original */
.k-band--light {
  background: var(--k-light);
  margin-inline: clamp(8px, 1.6vw, 24px);
  border-radius: clamp(24px, 3vw, 44px);
  padding-block: var(--section-pad);
  color: var(--k-ink);
}
.k-band--light h2, .k-band--light .k-compare__them h3 { color: var(--k-ink); }
.k-band--light .section-head p { color: var(--k-ink-muted); }
.k-band--light .eyebrow { background: #fff; border-color: rgba(10, 10, 15, .08); color: var(--k-ink); box-shadow: 0 4px 14px rgba(10, 10, 15, .06); }

/* Vorteile: Linien-Icons wie im Original */
.k-icon { width: 56px; height: 56px; color: rgba(255, 255, 255, .85); margin-bottom: var(--sp-3); }
.k-band--light .card { min-height: 260px; box-shadow: 0 28px 50px -22px rgba(20, 24, 70, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }

/* Vergleich: links schlichte Liste, rechts hervorgehobene dunkle Karte mit Band */
.k-compare { grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: stretch; }
.k-compare__them { padding: var(--sp-5) var(--sp-4); align-self: center; }
.k-compare__them h3 { font-size: 1.5rem; margin-bottom: var(--sp-4); }
.k-compare__them .k-list { gap: 0; }
.k-compare__them .k-list li, .k-compare__us .k-list li { padding-block: 1.05rem; padding-left: 2rem; border-top: 1px solid rgba(10, 10, 15, .12); }
.k-compare__them .k-list li::before { top: 1.2rem; background: transparent; color: var(--k-ink); font-size: 1rem; }
.k-compare__them .k-list li { color: rgba(10, 10, 15, .8); }
.k-compare__us {
  position: relative; overflow: hidden; border-radius: var(--r-card-lg); padding: var(--sp-5);
  display: grid; gap: var(--sp-4); align-content: start;
}
.k-compare__logo { height: 38px; width: auto; justify-self: start; margin-bottom: var(--sp-2); }
.k-compare__us .k-list li { border-top-color: rgba(255, 255, 255, .14); }
.k-compare__us .k-list li::before { top: 1.2rem; }
.k-ribbon {
  position: absolute; top: 26px; right: -46px; width: 190px; text-align: center; transform: rotate(45deg);
  background: var(--grad-brand); color: #fff; font-size: .8rem; font-weight: 600; padding: .35rem 0; letter-spacing: .02em;
}
.k-btn-white { background: #fff; color: var(--k-ink); width: 100%; margin-top: var(--sp-2); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.k-btn-white:hover { filter: brightness(.95); transform: translateY(-2px); }

@media (max-width: 960px) { .k-compare { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .k-band--light { padding-block: calc(var(--section-pad) * .7); }
  .k-band--light .card { min-height: 0; }
  .k-ribbon { display: none; }
}

[hidden] { display: none !important; }
