body[data-page] {
  --j-red: #F6261C;        /* Munchies-Rot (eatmunchies.de) */
  --j-red-deep: #B50F1C;   /* Rot für Text auf Weiß (Kontrast) und Hover */
  --j-blush: #FDE3E4;      /* helles Rosa aus den Rasterpunkten der Figuren */
  --j-paper: #FFFFFF;
  --j-ink: #2B1315;
  --j-ink-soft: #5E4446;
  --j-line: rgba(43, 19, 21, .16);
  --j-field: #85696B;

  --j-f-text: "Roc Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --j-f-cond: "Roc Grotesk Condensed", "Arial Narrow", "Roc Grotesk", sans-serif;

  --j-max: 76rem;
  --j-gut: clamp(1.25rem, 4vw, 2.5rem);
}
/* ---------- Schriften (selbst gehostet) ---------- */

/* ---------- Farben & Maße ---------- */


:focus-visible { outline: 3px solid var(--j-ink); outline-offset: 3px; }
.hero :focus-visible, .jobhero :focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Maskottchen (Originalfarben: rote Linien, weißer Körper) ---------- */
.stamp { display: block; background: var(--src) center bottom / contain no-repeat; }
.stamp--megaphone { --src: url(/assets/jobs/img/mascot-megaphone.webp); aspect-ratio: 570 / 647; }
.stamp--thumbs    { --src: url(/assets/jobs/img/mascot-thumbs.webp);    aspect-ratio: 627 / 656; }
.stamp--drink     { --src: url(/assets/jobs/img/mascot-drink.webp);     aspect-ratio: 697 / 632; }
.stamp--peace     { --src: url(/assets/jobs/img/mascot-peace.webp);     aspect-ratio: 596 / 652; }
.stamp--cool      { --src: url(/assets/jobs/img/mascot-cool.webp);      aspect-ratio: 471 / 645; }
.stamp--chill     { --src: url(/assets/jobs/img/mascot-chill.webp);     aspect-ratio: 634 / 603; }
.stamp--car       { --src: url(/assets/jobs/img/mascot-car.webp);       aspect-ratio: 647 / 597; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05rem 1.7rem;
  border: 0; border-radius: 999px;
  background: var(--j-red-deep); color: #fff;
  font: 700 1.125rem/1 var(--j-f-text);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--j-ink); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn--white { background: #fff; color: var(--j-red-deep); }
.btn--white:hover { background: var(--j-blush); }
.btn--j-line { background: transparent; color: var(--j-ink); box-shadow: inset 0 0 0 2px var(--j-ink); }
.btn--j-line:hover { background: var(--j-ink); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Start: Hero ---------- */
.hero { background: var(--j-red); color: #fff; overflow: hidden; }
.hero__in {
  max-width: var(--j-max); margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) var(--j-gut) 0;
  display: grid; gap: 2rem 3rem; align-items: end;
}
.hero__text { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 {
  margin: 0 0 1.5rem;
  font: 700 clamp(4.25rem, 15vw, 11rem)/.84 var(--j-f-cond);
  text-transform: uppercase; letter-spacing: -.005em;
}
.hero p { margin: 0 0 2rem; max-width: 30ch; font-size: clamp(1.1875rem, 2.4vw, 1.5rem); line-height: 1.4; }
.hero .stamp { width: min(21rem, 62vw); justify-self: end; margin-right: 1rem; }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.3fr .7fr; }
  .hero .stamp { width: 100%; max-width: 25rem; margin-right: 0; justify-self: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .stamp { animation: pop .7s cubic-bezier(.2, .8, .3, 1.2) .15s both; transform-origin: 50% 100%; }
  @keyframes pop { from { opacity: 0; transform: translateY(2.5rem) rotate(-7deg); } to { opacity: 1; transform: none; } }
}

/* ---------- Start: Stellenliste ---------- */
.stellen { max-width: var(--j-max); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--j-gut); }
.stellen h2 { margin: 0 0 1.5rem; font: 700 clamp(2.5rem, 6vw, 4.5rem)/.95 var(--j-f-cond); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.chip {
  padding: .6rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--j-ink); background: #fff; color: var(--j-ink);
  font: 700 1rem/1.2 var(--j-f-text); cursor: pointer;
}
.chip:hover { background: var(--j-blush); }
.chip[aria-pressed="true"] { background: var(--j-ink); color: #fff; }

.loc { display: grid; gap: 1rem 3rem; padding: 2rem 0 2.5rem; border-top: 2px solid var(--j-ink); }
.loc[hidden] { display: none; }
@media (min-width: 900px) { .loc { grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); } }
.loc h3 { margin: 0; font: 700 clamp(2.125rem, 4.5vw, 3.25rem)/1 var(--j-f-cond); }
.loc__addr { margin: .5rem 0 0; color: var(--j-ink-soft); font-size: 1rem; }

.joblist { margin: 0; padding: 0; list-style: none; }
.job {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.25rem; align-items: center;
  margin: 0 0 0 -1rem; padding: 1.25rem 1rem;
  border-radius: 18px; border-bottom: 1px solid var(--j-line);
  color: inherit; text-decoration: none;
  transition: background-color .15s ease;
}
.job:hover { background: var(--j-blush); }
.job__title { font: 700 1.4375rem/1.15 var(--j-f-text); }
.job:hover .job__title { color: var(--j-red); }
.job__meta { color: var(--j-ink-soft); font-size: 1rem; }
.job__teaser { margin-top: .35rem; color: var(--j-ink-soft); font-size: 1rem; line-height: 1.45; max-width: 52ch; }
.job__go {
  grid-column: 2; grid-row: 1 / span 3;
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem;
  border-radius: 50%; background: var(--j-red); color: #fff;
  transition: transform .15s ease;
}
.job:hover .job__go { transform: translateX(.25rem); }
.job__go svg { width: 1.25rem; height: 1.25rem; }

.more { margin-top: 1rem; padding-top: 2rem; border-top: 2px solid var(--j-ink); color: var(--j-ink-soft); }
.more a { color: var(--j-ink); font-weight: 700; }

/* ---------- Leere/Fehler-Zustände ---------- */
.state { display: grid; gap: 1rem; justify-items: start; padding: 2rem 0 3rem; max-width: 36rem; }
.state .stamp { width: 10rem; }
.state h2, .state h3 { margin: 0; font: 700 2.5rem/1 var(--j-f-cond); }
.state p { margin: 0; color: var(--j-ink-soft); }

/* ---------- Stellenseite ---------- */
.jobhero { background: var(--j-red); color: #fff; }
.jobhero__in { max-width: var(--j-max); margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.25rem) var(--j-gut) clamp(2.5rem, 6vw, 4.5rem); }
.back { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 700; text-underline-offset: .22em; }
.back svg { width: 1.1rem; height: 1.1rem; transform: scaleX(-1); }
.jobhero h1 { margin: 1.75rem 0 2rem; max-width: 20ch; font: 700 clamp(2.75rem, 7vw, 5.5rem)/.92 var(--j-f-cond); }
.facts { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 0 0 2.25rem; padding: 0; }
.facts div { min-width: 0; }
.facts dt { font-size: .9375rem; opacity: .92; }
.facts dd { margin: .1rem 0 0; font: 700 1.3125rem/1.2 var(--j-f-text); }
.facts small { display: block; margin-top: .15rem; font: 400 .9375rem/1.3 var(--j-f-text); opacity: .92; }

.jobbody { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--j-gut) 1rem; }
.tagline { margin: 0 0 1.5rem; color: var(--j-red-deep); font: 700 clamp(2.125rem, 5.5vw, 3.5rem)/.96 var(--j-f-cond); text-transform: uppercase; }
.jobbody p { margin: 0 0 1rem; max-width: 62ch; }
.jobbody h2 {
  margin: 2.75rem 0 1rem; color: var(--j-red-deep);
  font: 700 1.75rem/1 var(--j-f-cond); text-transform: uppercase; letter-spacing: .03em;
}
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; margin: 0 0 .75rem; padding-left: 1.65rem; max-width: 62ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .62rem; height: .62rem; border-radius: 50%; background: var(--j-red); }

/* ---------- Bewerbungsformular ---------- */
.apply-wrap { max-width: var(--j-max); margin: 0 auto; padding: 2.5rem var(--j-gut) clamp(3.5rem, 8vw, 6rem); }
.apply {
  position: relative; overflow: hidden;
  display: grid; gap: 2rem;
  background: var(--j-red); color: #fff;
  border-radius: 32px; padding: clamp(1.5rem, 4.5vw, 3.5rem);
  scroll-margin-top: 1rem;
}
.apply :focus-visible { outline-color: #fff; }
.apply__card :focus-visible { outline-color: var(--j-ink); }
.apply__side { position: relative; display: flex; flex-direction: column; }
.apply__kicker { margin: 0 0 .75rem; font: 700 1rem/1 var(--j-f-text); text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.apply h2 { margin: 0 0 1.25rem; font: 700 clamp(2.75rem, 6.5vw, 4.75rem)/.9 var(--j-f-cond); text-transform: uppercase; }
.apply__lead { margin: 0 0 1.75rem; max-width: 40ch; }
.steps { margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .9rem; align-items: center; line-height: 1.35; }
.steps li::before {
  content: counter(s); grid-row: span 2;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: #fff; color: var(--j-red); font: 700 1.25rem/1 var(--j-f-cond);
}
.steps b { font-weight: 700; }
.steps span { opacity: .9; font-size: 1rem; }
.apply__side .stamp { width: min(13rem, 45%); margin-top: auto; align-self: flex-start; }

.apply__card {
  background: #fff; color: var(--j-ink);
  border: 3px solid var(--j-ink); border-radius: 24px;
  box-shadow: 8px 8px 0 var(--j-ink);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
}
@media (min-width: 900px) {
  .apply { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: stretch; }
}
@media (max-width: 899px) { .apply__side .stamp { display: none; } }

.field { margin: 0 0 1.35rem; }
.field > label, .field > .lbl { display: block; margin-bottom: .4rem; font-weight: 700; }
.opt { font-weight: 400; color: var(--j-ink-soft); }
.hint { margin: .4rem 0 0; color: var(--j-ink-soft); font-size: .9375rem; line-height: 1.4; }
.err { margin: .45rem 0 0; color: var(--j-red-deep); font-weight: 700; font-size: .9375rem; }
.err[hidden] { display: none; }

.apply input[type="text"], .apply input[type="email"], .apply input[type="tel"], .apply input[type="date"], .apply textarea {
  width: 100%; padding: .85rem 1rem;
  border: 2px solid var(--j-ink); border-radius: 14px;
  background: #fff; color: var(--j-ink); font: inherit;
}
.apply textarea { min-height: 9rem; resize: vertical; }
.apply textarea.short { min-height: 5.5rem; }
.apply input[type="date"] { max-width: 16rem; }
.apply input[type="text"]:focus, .apply input[type="email"]:focus, .apply input[type="tel"]:focus, .apply input[type="date"]:focus, .apply textarea:focus { outline: 0; border-color: var(--j-red); box-shadow: 4px 4px 0 var(--j-red); }
.field.has-error input, .field.has-error textarea { border-color: var(--j-red-deep); border-width: 3px; }

.apply input[type="file"] {
  width: 100%; padding: .65rem;
  border: 2px dashed var(--j-ink); border-radius: 14px; background: var(--j-blush); font: inherit; color: var(--j-ink); cursor: pointer;
}
.apply input[type="file"]::file-selector-button {
  margin-right: .9rem; padding: .55rem 1.1rem;
  border: 0; border-radius: 999px; background: var(--j-red); color: #fff;
  font: 700 1rem var(--j-f-text); cursor: pointer;
}

/* Geführtes Formular */
.progress { height: 10px; border: 2px solid var(--j-ink); border-radius: 999px; background: #fff; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--j-red); transition: width .25s ease; }
.progress__txt { margin: .5rem 0 1.5rem; font-size: .9375rem; font-weight: 700; color: var(--j-ink-soft); }
.step[hidden] { display: none; }
.step .form-h { margin: 0 0 1.25rem; padding: 0; border: 0; outline: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.nav [hidden] { display: none; }
.nav .btn--send { margin-top: 0; }
.btn-back { padding: .6rem .2rem; border: 0; background: none; color: var(--j-ink); font: 700 1.0625rem var(--j-f-text); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.btn-back:hover { color: var(--j-red); }
@media (max-width: 719px) { .nav { flex-direction: column-reverse; align-items: stretch; } .btn-back { align-self: center; } }

/* Fragen aus jobs.json */
.form-h { margin: 2rem 0 1.1rem; padding-top: 1.25rem; border-top: 2px solid var(--j-ink); font: 700 1.5rem/1 var(--j-f-cond); text-transform: uppercase; letter-spacing: .02em; }
.form-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
form > .field:first-child { margin-top: 0; }
fieldset.q { padding: 0; border: 0; min-width: 0; }
fieldset.q > legend { padding: 0; margin-bottom: .4rem; font-weight: 700; }
.opts { display: grid; gap: .5rem; margin-top: .6rem; }
.opts label { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem .9rem; border: 2px solid var(--j-ink); border-radius: 14px; background: #fff; cursor: pointer; line-height: 1.35; font-weight: 400; }
.opts input { flex: none; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--j-red); }
.opts label:hover { background: var(--j-blush); }
.opts label:has(input:checked) { background: var(--j-blush); border-color: var(--j-red); box-shadow: 3px 3px 0 var(--j-red); font-weight: 700; }
.opts label:has(input:focus-visible) { outline: 3px solid var(--j-ink); outline-offset: 2px; }
.field.has-error .opts label { border-color: var(--j-red-deep); }

.cl { margin: 0 0 1.35rem; padding: 0; border: 0; min-width: 0; }
.cl legend { padding: 0; margin-bottom: .55rem; font-weight: 700; }
.cl .field { margin: .75rem 0 0; }
.cl .field[hidden] { display: none; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 2px solid var(--j-ink); border-radius: 999px; background: #fff; max-width: 100%; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap; }
.seg input:checked + span { background: var(--j-red); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--j-ink); outline-offset: 2px; }
.seg label:hover input:not(:checked) + span { background: var(--j-blush); }

.check { display: flex; gap: .8rem; align-items: flex-start; }
.check input { flex: none; width: 1.4rem; height: 1.4rem; margin: .2rem 0 0; accent-color: var(--j-red-deep); }
.check label { font-weight: 400; margin: 0; }
.check a { font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply__status { margin: 1rem 0 0; font-weight: 700; }
.apply__status.is-error { color: var(--j-red-deep); }
.apply .btn--send {
  width: 100%; margin-top: .5rem; padding: 1.15rem 1.8rem;
  background: var(--j-red); border: 3px solid var(--j-ink); box-shadow: 5px 5px 0 var(--j-ink);
  font: 700 1.375rem/1 var(--j-f-cond); text-transform: uppercase; letter-spacing: .02em;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.apply .btn--send:hover { background: var(--j-red); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--j-ink); }
.apply .btn--send:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--j-ink); }
.apply .btn--send:disabled { opacity: .7; cursor: wait; }
@media (min-width: 720px) { .apply .btn--send { width: auto; min-width: 18rem; } }

.demo-note { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: 12px; background: var(--j-blush); font-size: .9375rem; }

.done { grid-column: 1 / -1; display: grid; gap: 1rem; justify-items: start; outline: none; }
.done .stamp { width: 11rem; }
.done h2 { margin: 0; }
.done p { margin: 0; max-width: 46ch; }

/* ---------- Fixer Button (nur Handy) ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: .75rem var(--j-gut) calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 2px solid var(--j-ink);
  transition: transform .2s ease, visibility 0s;
}
.sticky .btn { width: 100%; }
.sticky.is-off { transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
@media (min-width: 720px) { .sticky { display: none; } }

/* ---------- Vorschau-Modus (?preview=1) ---------- */
.preview-bar { position: sticky; top: 0; z-index: 50; padding: .7rem var(--j-gut); background: #FFE66D; color: var(--j-ink); font-size: .9375rem; line-height: 1.45; border-bottom: 2px solid var(--j-ink); }
.preview-bar strong { font-weight: 700; }
.preview-bar ul { margin: .4rem 0 0; padding-left: 1.2rem; }
mark.todo { background: #FFE66D; color: var(--j-ink); padding: 0 .25em; border-radius: 4px; }
.tag-off { display: inline-block; margin-left: .5rem; padding: .1rem .5rem; border-radius: 6px; background: #FFE66D; color: var(--j-ink); font: 700 .8125rem/1.4 var(--j-f-text); vertical-align: middle; }

@media print { .sticky, .preview-bar { display: none; } }

/* Kalender (picker.js) im Stil der Karriere-Seite */
.apply .ff-pick { --pk-red: var(--j-red-deep); --pk-ink: var(--j-ink); max-width: 16rem; }
.apply .ff-pick .ff-pick__input { padding-right: 3.2rem; width: 100%; }
.apply .ff-pick__btn { color: var(--j-red-deep); }
