/* ==========================================================================
   Dinauer Sanitär: karriere.css (Karriereseite und Stellen-Unterseiten, Oktober 2026)
   Lädt nach styles.css und nur auf den Karriere-Seiten. Marke bleibt: Anton, Kupfer,
   warmes Dunkel. Desktop zuerst, der Handy-Block steht gesammelt am Ende.
   ========================================================================== */

.k-note {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--sand-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ico { width: 1em; height: 1em; flex: none; }

/* Header der Karriere-Seiten: Entwurfsleiste oben drauf. */
.k-page .site-nav a[aria-current="page"] { color: var(--sand); }
.k-page .site-nav a[aria-current="page"] { position: relative; }
.k-page .site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--copper);
}

/* --------------------------------------------------------------------------
   Kopf der Karriereseite
   -------------------------------------------------------------------------- */
.k-hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
}
.k-hero__media { position: absolute; inset: 0; z-index: -1; }
.k-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.k-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 12% 88%, rgba(201, 124, 74, 0.26), rgba(201, 124, 74, 0) 70%),
    linear-gradient(to top, var(--ink) 0%, rgba(19, 18, 17, 0.72) 26%, rgba(19, 18, 17, 0.1) 62%),
    linear-gradient(100deg, rgba(12, 11, 10, 0.78) 0%, rgba(12, 11, 10, 0.25) 50%, rgba(12, 11, 10, 0) 75%);
}
.k-hero .ph-tag { top: 122px; bottom: auto; }

.k-hero__content { padding-top: 170px; }
.k-hero__kicker {
  color: var(--copper-bright);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.k-hero h1 { max-width: 14ch; }
.k-hero__sub {
  margin-top: 24px;
  max-width: 40ch;
  font-size: 1.1875rem;
  font-weight: 500;
}
.k-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.k-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(44px, 7vh, 72px);
  padding: 22px 0 34px;
  border-top: 1px solid rgba(244, 239, 230, 0.24);
}
.k-facts dt {
  color: var(--sand-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.k-facts dd { margin-top: 6px; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }

@media (prefers-reduced-motion: no-preference) {
  .k-hero__content > *, .k-hero .k-facts {
    opacity: 0;
    transform: translateY(26px);
    animation: hero-in 0.9s var(--ease-out) forwards;
  }
  .k-hero__content > *:nth-child(2) { animation-delay: 0.08s; }
  .k-hero__content > *:nth-child(3) { animation-delay: 0.16s; }
  .k-hero__content > *:nth-child(4) { animation-delay: 0.24s; }
  .k-hero .k-facts { animation-delay: 0.4s; }
  .k-hero__media img { animation: hero-zoom 2.4s var(--ease-out) forwards; }
}

/* --------------------------------------------------------------------------
   Stellen als große Zeilen
   -------------------------------------------------------------------------- */
/* Aufeinanderfolgende Abschnitte nicht doppelt polstern. */
.k-page main > .section + .section { padding-top: 0; }

.k-jobs h2, .k-match h2, .k-day h2, .k-others h2 { margin-bottom: clamp(32px, 4vw, 52px); }
.k-day h2 { margin-bottom: 0; }

.k-jobs__list { border-top: 2px solid var(--line); }
.k-job {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 2px solid var(--line);
}
.k-job::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  height: 2px;
  width: 0;
  background: var(--copper);
  transition: width 0.6s var(--ease-out);
}
.k-job:hover::before { width: 100%; }
.k-job__nr { align-self: start; padding-top: 6px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--copper); }
.k-job__meta { color: var(--copper-bright); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.k-job__meta .tbd-wert { color: var(--copper-bright); }
.k-job__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.9vw, 2.7rem);
  line-height: 1.02;
  text-transform: uppercase;
}
.k-job__title a { transition: color var(--t-fast) var(--ease-out); }
.k-job:hover .k-job__title a { color: var(--copper-bright); }
.k-job__lead { margin-top: 12px; max-width: 52ch; color: var(--sand-soft); font-size: 1.0625rem; }
.k-job__pay { margin-top: 10px; font-size: 0.95rem; font-weight: 600; }
.k-job__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

.k-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--sand-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--t-fast) var(--ease-out);
}
.k-more .ico { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.k-more:hover { color: var(--copper-bright); }
.k-more:hover .ico { transform: translateX(3px); }

/* Klartext: bestehende Panels, Icons aus dem Baukasten */
.k-match .match__card li .ico { width: 18px; height: 18px; margin-top: 4px; }

/* --------------------------------------------------------------------------
   Ein Tag als Kupferleitung mit Pressfittings
   Füllt sich exakt mit dem Scrollen (scroll-driven), sonst einmal beim Hinsehen.
   -------------------------------------------------------------------------- */
.k-pipe { position: relative; margin-top: clamp(48px, 6vw, 72px); }
.k-pipe__track {
  position: absolute;
  left: 6px;
  right: calc(50% - 50vw);
  top: 14px;
  height: 16px;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  background: linear-gradient(to bottom, #2C2925, #1A1816 70%, #141210);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -2px 3px rgba(0, 0, 0, 0.55);
}
.k-pipe__fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  background: linear-gradient(to bottom, #F6CBA2 0%, #E9A96F 20%, #C97C4A 55%, #8C4F28 100%);
}
.k-pipe__stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.k-pipe__station { position: relative; padding-top: 80px; }
.k-pipe__fitting {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(to bottom, #3A332D, #221E1A);
  border: 1.5px solid #4A423A;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: background 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
/* Zwei Sicken wie bei einem echten Pressfitting */
.k-pipe__fitting::before, .k-pipe__fitting::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.28);
}
.k-pipe__fitting::before { left: 11px; }
.k-pipe__fitting::after { right: 11px; }
.k-pipe__station.is-lit .k-pipe__fitting,
.k-pipe__fitting.is-lit {
  background: linear-gradient(to bottom, #F6CBA2, #E9A96F 30%, #B86C3C 100%);
  border-color: #F6CBA2;
  box-shadow: 0 0 0 4px rgba(233, 169, 111, 0.14), 0 0 34px rgba(233, 169, 111, 0.55);
}
.k-pipe__time { color: var(--copper-bright); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.k-pipe__station h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.k-pipe__station p:last-child { margin-top: 10px; color: var(--sand-soft); font-size: 1rem; line-height: 1.55; max-width: 30ch; }

/* Grundzustand ohne Bewegung: Leitung voll, alle Fittings an. */
.k-pipe__fitting { background: linear-gradient(to bottom, #F6CBA2, #E9A96F 30%, #B86C3C 100%); border-color: #F6CBA2; }

@media (prefers-reduced-motion: no-preference) {
  /* Ersatz ohne Scroll-Zeitachse: Leitung läuft einmal durch, sobald sie zu sehen ist (karriere.js setzt die Klassen). */
  .pipe-io .k-pipe__fill { transform: scaleX(0); transition: transform 2.2s cubic-bezier(0.45, 0, 0.2, 1); }
  .pipe-io .k-pipe.is-on .k-pipe__fill { transform: none; }
  .pipe-io .k-pipe__fitting { background: linear-gradient(to bottom, #3A332D, #221E1A); border-color: #4A423A; }
  .pipe-io .k-pipe.is-on .k-pipe__station .k-pipe__fitting {
    background: linear-gradient(to bottom, #F6CBA2, #E9A96F 30%, #B86C3C 100%);
    border-color: #F6CBA2;
    box-shadow: 0 0 0 4px rgba(233, 169, 111, 0.14), 0 0 34px rgba(233, 169, 111, 0.55);
  }
  .pipe-io .k-pipe.is-on .k-pipe__station:nth-child(2) .k-pipe__fitting { transition-delay: 0.55s; }
  .pipe-io .k-pipe.is-on .k-pipe__station:nth-child(3) .k-pipe__fitting { transition-delay: 1.1s; }
  .pipe-io .k-pipe.is-on .k-pipe__station:nth-child(4) .k-pipe__fitting { transition-delay: 1.65s; }

  @supports (animation-timeline: view()) {
    .k-pipe { view-timeline-name: --leitung; view-timeline-axis: block; }
    .k-pipe__fill,
    .k-pipe__fitting {
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --leitung;
      animation-range: cover 28vh cover calc(100% - 46vh);
    }
    .k-pipe__fill { animation-name: leitung-x; }
    .k-pipe__station:nth-child(1) .k-pipe__fitting { animation-name: fitting-1; }
    .k-pipe__station:nth-child(2) .k-pipe__fitting { animation-name: fitting-2; }
    .k-pipe__station:nth-child(3) .k-pipe__fitting { animation-name: fitting-3; }
    .k-pipe__station:nth-child(4) .k-pipe__fitting { animation-name: fitting-4; }
  }
}
@keyframes leitung-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes leitung-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* Ein Fitting leuchtet, sobald das Kupfer es erreicht. */
@keyframes fitting-1 { 0%, 1% { background: #2E2924; border-color: #4A423A; box-shadow: none; } 3%, 100% { background: #D9925C; border-color: #F6CBA2; box-shadow: 0 0 0 4px rgba(233, 169, 111, 0.14), 0 0 34px rgba(233, 169, 111, 0.55); } }
@keyframes fitting-2 { 0%, 24% { background: #2E2924; border-color: #4A423A; box-shadow: none; } 27%, 100% { background: #D9925C; border-color: #F6CBA2; box-shadow: 0 0 0 4px rgba(233, 169, 111, 0.14), 0 0 34px rgba(233, 169, 111, 0.55); } }
@keyframes fitting-3 { 0%, 48% { background: #2E2924; border-color: #4A423A; box-shadow: none; } 51%, 100% { background: #D9925C; border-color: #F6CBA2; box-shadow: 0 0 0 4px rgba(233, 169, 111, 0.14), 0 0 34px rgba(233, 169, 111, 0.55); } }
@keyframes fitting-4 { 0%, 72% { background: #2E2924; border-color: #4A423A; box-shadow: none; } 75%, 100% { background: #D9925C; border-color: #F6CBA2; box-shadow: 0 0 0 4px rgba(233, 169, 111, 0.14), 0 0 34px rgba(233, 169, 111, 0.55); } }

/* --------------------------------------------------------------------------
   Bild mit Aussage
   -------------------------------------------------------------------------- */
.k-break {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(520px, 82vh, 860px);
  overflow: hidden;
  isolation: isolate;
}
.k-break > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.k-break::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(19, 18, 17, 0) 22%),
    linear-gradient(to top, var(--ink) 0%, rgba(19, 18, 17, 0.6) 34%, rgba(19, 18, 17, 0) 68%);
}
.k-break .ph-tag { top: 28px; bottom: auto; }
.k-break__text { padding-bottom: clamp(48px, 8vh, 96px); }
.k-break__text > p:first-child {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.6vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.k-break__sub { margin-top: 20px; max-width: 46ch; color: var(--sand-soft); font-size: 1.125rem; }

/* --------------------------------------------------------------------------
   Vorteile: Überschrift steht, Liste läuft
   -------------------------------------------------------------------------- */
.k-perks__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.k-perks__head { position: sticky; top: 150px; }
.k-perks__head .btn { margin-top: 30px; }
.k-perk {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.k-perk:first-child { border-top: 0; padding-top: 6px; }
.k-perk__nr { padding-top: 4px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--copper); }
.k-perk h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.2; }
.k-perk p { margin-top: 6px; color: var(--sand-soft); font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Verdienst
   -------------------------------------------------------------------------- */
.k-pay__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(201, 124, 74, 0.2), rgba(201, 124, 74, 0) 70%),
    var(--ink-raised);
  overflow: hidden;
}
.k-pay__intro p { margin-top: 16px; max-width: 36ch; color: var(--sand-soft); }
.k-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ink);
}
.k-tabs button {
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  color: var(--sand-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.k-tabs button:hover { color: var(--sand); }
.k-tabs button[aria-selected="true"] { background: var(--copper); color: var(--ink); }
.k-pay__value { padding-left: 48px; border-left: 1px solid var(--line); }
.k-pay__sum { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; text-transform: uppercase; }
.k-pay__sum .tbd { font-size: 0.42em; vertical-align: 1.1em; }
.k-pay__unit { margin-top: 12px; font-size: 1.0625rem; font-weight: 600; }
.k-pay__job { margin-top: 4px; color: var(--sand-muted); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Bewerbung: der Höhepunkt
   -------------------------------------------------------------------------- */
.k-apply {
  position: relative;
  background: radial-gradient(70% 55% at 75% 30%, rgba(201, 124, 74, 0.14), rgba(201, 124, 74, 0) 70%);
}
.k-apply__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  grid-template-areas: "intro card" "more card";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.k-apply__intro { grid-area: intro; }
.k-apply__more { grid-area: more; }
.k-apply__card { grid-area: card; }
.k-apply__lead { margin-top: 20px; max-width: 40ch; color: var(--sand-soft); font-size: 1.125rem; }
.k-apply__steps { margin-top: 36px; border-top: 1px solid var(--line); }
.k-apply__steps li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.k-apply__steps b { color: var(--copper-bright); font-weight: 700; }
.k-apply__steps span { color: var(--sand-soft); }

.k-contact { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.k-contact__photo {
  display: grid;
  place-items: center;
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px dashed rgba(233, 169, 111, 0.5);
  background: radial-gradient(circle at 50% 35%, rgba(201, 124, 74, 0.22), rgba(28, 26, 24, 1) 70%);
  color: var(--sand-muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.k-contact__name { font-size: 1.125rem; font-weight: 700; }
.k-contact__role { color: var(--sand-muted); font-size: 0.95rem; }
.k-contact__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  transition: color var(--t-fast) var(--ease-out);
}
.k-contact__tel .ico { width: 20px; height: 20px; color: var(--copper); }
.k-contact__tel:hover { color: var(--copper-bright); }

.k-apply__card {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(to bottom, #211E1B, var(--ink-raised) 40%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 124, 74, 0.06);
}
.k-apply__card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(233, 169, 111, 0), var(--copper-bright) 30%, var(--copper) 70%, rgba(201, 124, 74, 0));
}

/* --------------------------------------------------------------------------
   Formular
   -------------------------------------------------------------------------- */
.k-form__head { margin-bottom: 26px; }
.k-form__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.k-form__bars span { height: 4px; border-radius: 2px; background: rgba(244, 239, 230, 0.13); transition: background-color 0.4s var(--ease-out); }
.k-form__bars span.on { background: var(--copper); }
.k-form__count { margin-top: 10px; color: var(--sand-muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }

.k-step { display: none; border: 0; min-width: 0; }
.k-step.on { display: block; }
.k-step legend {
  padding: 0;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.k-pick { display: grid; gap: 10px; }
.k-opt { position: relative; display: block; cursor: pointer; }
.k-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.k-opt > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 62px;
  padding: 12px 18px 12px 52px;
  border: 1.5px solid rgba(244, 239, 230, 0.16);
  border-radius: 14px;
  background: rgba(19, 18, 17, 0.5);
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
/* Auswahlkreis links */
.k-opt:not(.k-opt--chip) > span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 239, 230, 0.35);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.k-opt input:checked + span::before { border-color: var(--copper-bright); box-shadow: inset 0 0 0 5px var(--copper); }
.k-opt b { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; }
.k-opt small { color: var(--sand-muted); font-size: 0.85rem; line-height: 1.3; }
.k-opt:hover > span { border-color: rgba(244, 239, 230, 0.32); }
.k-opt input:checked + span { border-color: var(--copper); background: rgba(201, 124, 74, 0.12); }
.k-opt input:focus-visible + span { outline: 2px solid var(--copper-bright); outline-offset: 3px; }

.k-q { margin: 4px 0 10px; color: var(--sand-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.k-chips--2 { display: grid; grid-template-columns: 1fr 1fr; }
.k-opt--chip > span {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
}
.k-opt--chip input:checked + span { color: var(--sand); box-shadow: inset 0 0 0 1px var(--copper); }

.btn--wide { width: 100%; justify-content: space-between; min-height: 58px; padding: 10px 10px 10px 26px; margin-top: 22px; font-size: 1.0625rem; }
.btn--wide .btn__circle { width: 38px; height: 38px; }
.k-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 2px;
  color: var(--sand-muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.k-back .ico { width: 15px; height: 15px; }
.k-back:hover { color: var(--sand); }

.k-field { display: grid; gap: 8px; margin-bottom: 16px; }
.k-field > span { color: var(--sand-soft); font-size: 0.92rem; font-weight: 600; }
.k-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1.5px solid rgba(244, 239, 230, 0.2);
  border-radius: 12px;
  background: var(--ink);
  color: var(--sand);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.k-field input:focus { outline: none; border-color: var(--copper-bright); box-shadow: 0 0 0 4px rgba(233, 169, 111, 0.18); }
.k-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-err { margin-top: 12px; color: #F2A38E; font-size: 0.92rem; font-weight: 600; }
.k-err a { text-decoration: underline; }
.k-err[hidden] { display: none; }
.k-legal { margin-top: 14px; color: var(--sand-muted); font-size: 0.82rem; line-height: 1.5; }
.k-legal a { text-decoration: underline; text-underline-offset: 2px; }

.k-done__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--ink);
  box-shadow: 0 0 40px rgba(233, 169, 111, 0.4);
}
.k-done__mark .ico { width: 28px; height: 28px; stroke-width: 2.5; }
.k-done h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.05; text-transform: uppercase; }
.k-done h3:focus { outline: none; }
.k-step legend:focus { outline: none; }
.k-done > p { margin-top: 8px; color: var(--sand-soft); font-size: 1.0625rem; }

.k-cv { margin-top: 24px; padding: 18px 20px; border: 1.5px dashed rgba(244, 239, 230, 0.22); border-radius: 14px; }
.k-cv__title { font-weight: 700; }
.k-cv__text { margin-top: 2px; color: var(--sand-muted); font-size: 0.92rem; }
.k-cv__pick { position: relative; display: inline-block; margin-top: 14px; }
.k-cv__pick input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.k-cv__pick > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1.5px solid rgba(244, 239, 230, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color var(--t-fast) var(--ease-out);
}
.k-cv__pick:hover > span { background: rgba(244, 239, 230, 0.06); }
.k-cv__pick input:focus-visible + span { outline: 2px solid var(--copper-bright); outline-offset: 3px; }
.k-cv__ok { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.92rem; font-weight: 600; }
.k-cv__ok .ico { color: var(--copper-bright); }
.k-cv__ok[hidden] { display: none; }

.k-arrive { margin-top: 18px; }
.k-arrive__label { color: var(--sand-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.k-arrive__card {
  margin-top: 8px;
  padding: 14px 16px;
  border-left: 3px solid var(--copper);
  border-radius: 10px;
  background: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}
.k-arrive__card b { display: block; margin-bottom: 4px; }
.k-arrive__card span { display: block; color: var(--sand-muted); }
.k-form__note { margin-top: 18px; color: var(--sand-muted); font-size: 0.8rem; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .k-step.on { animation: k-schritt 0.42s var(--ease-out); }
  .k-step.on.zurueck { animation-name: k-schritt-zurueck; }
}
@keyframes k-schritt { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes k-schritt-zurueck { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Stellen-Unterseite
   -------------------------------------------------------------------------- */
.k-jobhero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 88dvh;
  overflow: hidden;
  isolation: isolate;
}
.k-jobhero__media { position: absolute; inset: 0; z-index: -1; }
.k-jobhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.k-jobhero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 12% 85%, rgba(201, 124, 74, 0.24), rgba(201, 124, 74, 0) 70%),
    linear-gradient(to top, var(--ink) 0%, rgba(19, 18, 17, 0.8) 34%, rgba(19, 18, 17, 0.35) 70%, rgba(19, 18, 17, 0.55) 100%),
    linear-gradient(100deg, rgba(12, 11, 10, 0.8) 0%, rgba(12, 11, 10, 0.3) 55%, rgba(12, 11, 10, 0) 80%);
}
.k-jobhero .ph-tag { top: 122px; bottom: auto; }
.k-jobhero__content { padding-top: 170px; }
.k-crumbs { color: var(--sand-soft); font-size: 0.92rem; font-weight: 500; margin-bottom: 22px; }
.k-crumbs a { color: var(--copper-bright); font-weight: 600; }
.k-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.k-jobhero h1 { max-width: 16.5ch; font-size: clamp(2.8rem, 6.2vw, 5.8rem); line-height: 0.98; }
.k-jobhero__lead { margin-top: 22px; max-width: 42ch; font-size: 1.1875rem; font-weight: 500; }
.k-facts--job { margin-top: clamp(40px, 6vh, 64px); }

.k-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.k-detail h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 24px; }
.k-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.k-list li .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--copper-bright); }
.k-detail__perks {
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-raised);
}
.k-detail__perks ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.k-detail__perks li { padding: 10px 16px; border: 1px solid rgba(244, 239, 230, 0.2); border-radius: var(--radius-pill); font-size: 0.95rem; font-weight: 600; }

.k-others__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.k-others__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
  padding: 26px 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.k-others__list b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.08; text-transform: uppercase; }
.k-others__list small { display: block; margin-top: 6px; color: var(--sand-muted); font-size: 0.92rem; }
.k-others__list .ico { width: 22px; height: 22px; color: var(--copper); transition: transform var(--t-fast) var(--ease-out); }
.k-others__list a:hover { border-color: var(--copper); background: rgba(201, 124, 74, 0.06); }
.k-others__list a:hover .ico { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Fuß, Leiste am Handy
   -------------------------------------------------------------------------- */
.k-page .site-footer__bar nav { align-items: center; flex-wrap: wrap; }
.credit { padding-left: 22px; border-left: 1px solid var(--line); color: var(--sand-muted); font-size: 0.82rem; }
.apply-bar { display: none; }

/* ==========================================================================
   HANDY (≤ 860px). Desktop oben bleibt unberührt.
   ========================================================================== */
@media (max-width: 860px) {
  /* Kopf */
  .k-hero { min-height: 100svh; }
  .k-hero__media img { object-position: 58% 30%; }
  .k-hero .ph-tag, .k-jobhero .ph-tag { top: 112px; right: 12px; font-size: 0.66rem; padding: 5px 10px; }
  .k-hero__content, .k-jobhero__content { padding-top: 150px; }
  .k-hero__kicker { font-size: 0.72rem; letter-spacing: 0.16em; margin-bottom: 14px; }
  .k-hero h1 { max-width: none; }
  .k-hero__sub, .k-jobhero__lead { margin-top: 16px; font-size: 1.0625rem; }
  .k-hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 26px; }
  .k-hero__ctas .btn { justify-content: center; min-height: 54px; }
  .k-hero__ctas .btn:not(.btn--ghost) { justify-content: space-between; padding-left: 22px; }
  .k-facts { grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 30px; padding: 18px 0 26px; }
  .k-facts dt { font-size: 0.66rem; letter-spacing: 0.14em; }
  .k-facts dd { font-size: 0.95rem; margin-top: 4px; }

  /* Stellen */
  .k-job { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .k-job__nr { padding-top: 0; font-size: 1.25rem; }
  .k-job__title { font-size: clamp(1.6rem, 7vw, 2rem); margin-top: 8px; }
  .k-job__lead { font-size: 1rem; }
  .k-job__actions { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .k-job__actions .btn { flex: 1; justify-content: space-between; min-height: 52px; }
  .k-job__actions .k-more { min-height: 44px; }

  /* Tag: Leitung senkrecht */
  .k-pipe { margin-top: 36px; }
  .k-pipe__track { left: 16px; right: auto; top: 6px; bottom: 6px; width: 12px; height: auto; border-radius: 6px; }
  .k-pipe__fill { transform-origin: center top; }
  .pipe-io .k-pipe__fill { transform: scaleY(0); }
  .k-pipe__stations { grid-template-columns: 1fr; gap: 34px; }
  .k-pipe__station { padding: 0 0 0 66px; }
  .k-pipe__fitting { left: 2px; top: 2px; width: 40px; height: 32px; }
  .k-pipe__fitting::before, .k-pipe__fitting::after { top: 7px; bottom: auto; left: 3px; right: 3px; width: auto; height: 3px; }
  .k-pipe__fitting::after { top: auto; bottom: 7px; }
  .k-pipe__station h3 { margin-top: 6px; font-size: 1.6rem; }
  .k-pipe__station p:last-child { max-width: none; }
  @media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
      .k-pipe__fill { animation-name: leitung-y; }
    }
  }

  /* Bild mit Aussage */
  .k-break { min-height: 74svh; }
  .k-break .ph-tag { top: 16px; right: 12px; font-size: 0.66rem; padding: 5px 10px; }
  .k-break__text > p:first-child { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .k-break__sub { font-size: 1rem; }

  /* Vorteile */
  .k-perks__grid { grid-template-columns: 1fr; gap: 20px; }
  .k-perks__head { position: static; }
  .k-perks__head .btn { display: none; }
  .k-perk { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .k-perk h3 { font-size: 1.2rem; }
  .k-perk p { font-size: 1rem; }

  /* Verdienst */
  .k-pay__box { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
  .k-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 22px; }
  .k-tabs button { padding: 0 8px; font-size: 0.9rem; }
  .k-pay__value { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .k-pay__sum { font-size: clamp(2.2rem, 10vw, 2.8rem); }

  /* Bewerbung: Formular direkt nach der Überschrift, Ablauf und Kontakt danach */
  .k-apply__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "card" "more"; grid-template-rows: auto; }
  .k-apply__lead { margin-top: 14px; margin-bottom: 26px; font-size: 1.0625rem; }
  .k-apply__card { padding: 24px 18px 22px; }
  .k-apply__card::before { left: 18px; right: 18px; }
  .k-apply__more { margin-top: 8px; }
  .k-apply__steps li { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .k-contact { gap: 16px; }
  .k-contact__photo { width: 68px; height: 68px; }
  .k-contact__tel { font-size: 1.45rem; }

  /* Formular am Handy: große Tippflächen, Eingaben 17 px gegen das Hineinzoomen */
  .k-step legend { font-size: 1.85rem; margin-bottom: 18px; }
  .k-opt > span { min-height: 62px; }
  .k-opt--chip > span { min-height: 48px; padding: 0 16px; }
  .k-field input { font-size: 17px; min-height: 56px; }

  /* Stellen-Unterseite */
  .k-jobhero { min-height: 100svh; }
  .k-jobhero h1 { max-width: 17.5ch; font-size: clamp(1.8rem, 9.3vw, 3rem); }
  .k-crumbs { font-size: 0.85rem; margin-bottom: 14px; }
  .k-detail__grid { grid-template-columns: 1fr; gap: 44px; }
  .k-detail h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); margin-bottom: 14px; }
  .k-list li { font-size: 1rem; padding: 14px 0; }
  .k-detail__perks { padding: 24px 20px; }
  .k-detail__perks li { font-size: 0.88rem; padding: 9px 13px; }
  .k-others__list { grid-template-columns: 1fr; gap: 12px; }
  .k-others__list a { padding: 20px; }
  .k-others__list b { font-size: 1.3rem; }

  /* Leiste „In 1 Minute bewerben“ unten, sobald der Kopf weg ist, aus beim Formular */
  .apply-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    min-height: 60px;
    padding: 9px 10px 9px 22px;
    border-radius: var(--radius-pill);
    background: var(--copper);
    color: var(--ink);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out), visibility 0.4s;
  }
  .apply-bar > span:first-child { font-size: 1.0625rem; font-weight: 700; line-height: 1.15; }
  .apply-bar__sub { grid-row: 2; font-size: 0.78rem; font-weight: 600; opacity: 0.75; }
  .apply-bar .btn__circle { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; }
  .apply-bar.is-hidden { transform: translateY(150%); opacity: 0; visibility: hidden; }
  .k-page .site-footer { padding-bottom: 92px; }
  .k-page .site-footer__bar { padding-right: 0; }
  .credit { display: block; width: 100%; padding: 6px 0 0; border-left: 0; }
}

@media (max-width: 380px) {
  .k-facts dd { font-size: 0.88rem; }
  .k-job__actions { flex-direction: column; align-items: stretch; }
  .k-chips--2 { grid-template-columns: 1fr 1fr; }
}
