/* ============================================================
   DER EISSALON — Stellen-Seiten (/jobs/<stelle>) + Bewerbungs-Funnel
   Mobile-first, Zielgruppe 18–30. Farben aus der CI, Hellblau als 2. Akzent.
   ============================================================ */
:root{
  --blau:#82CEDC;
  --funnel-pad:20px;
}
.page-stelle{background:var(--cream)}
.page-stelle .site-header{margin-bottom:0;position:absolute;left:0;right:0;top:0}
.page-stelle .site-main{padding-top:0}
.page-stelle .site-main>.wp-block-group,.page-stelle .site-main>section{max-width:none}

/* ---------- Sektionen ---------- */
.page-stelle section[class*="stelle-"]{padding:72px var(--funnel-pad)}
.stelle-section__head{text-align:center;max-width:720px;margin:0 auto 28px}
.stelle-section__head .eyebrow{margin-bottom:16px}
.stelle-section__title{font-size:clamp(32px,8vw,56px);line-height:1}
.page-stelle .wp-block-buttons{justify-content:center}
.page-stelle .wp-block-button__link{min-height:56px;padding:17px 30px;font-size:14px}
.stelle-cta .wp-block-button__link{box-shadow:0 14px 30px -12px rgba(251,120,143,.7)}

/* ---------- 1 Hero (Braun, volle Höhe) ---------- */
.stelle-hero{position:relative;min-height:100dvh;display:grid;align-items:end;background:var(--braun);color:var(--cream);padding:0!important;overflow:hidden}
.stelle-hero__image{position:absolute;inset:0;margin:0;z-index:0}
.stelle-hero__image img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.stelle-hero::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to top,var(--braun) 0%,rgba(80,70,70,.92) 38%,rgba(80,70,70,.35) 70%,rgba(80,70,70,.05) 100%)}
.stelle-hero__inner{position:relative;z-index:2;padding:120px var(--funnel-pad) 36px;max-width:640px}
.stelle-hero__eyebrow{display:inline-block;font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:800;color:var(--cream);background:rgba(253,248,220,.14);border:1px solid rgba(253,248,220,.28);border-radius:999px;padding:9px 14px;margin:0 0 18px;backdrop-filter:blur(8px)}
.stelle-hero__title{font-size:clamp(36px,10vw,72px);line-height:.96;letter-spacing:-.025em;color:var(--cream);margin:0 0 14px}
.stelle-hero__lead{font-size:17px;line-height:1.55;color:rgba(253,248,220,.9);margin:0 0 22px;max-width:480px}
.stelle-hero__ctas{margin-bottom:22px}
.stelle-hero__ctas .wp-block-buttons{justify-content:flex-start}
.stelle-hero__badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.stelle-hero__badge{margin:0;font-size:13px;font-weight:700;color:var(--cream);background:rgba(253,248,220,.12);border:1px solid rgba(253,248,220,.24);border-radius:999px;padding:9px 13px;white-space:nowrap}
.stelle-hero__note{margin:0;font-size:13px;color:rgba(253,248,220,.72)}

/* ---------- 2 Vorteile (Creme, Karten) ---------- */
.stelle-vorteile{background:var(--cream)}
.stelle-vorteile__grid{display:grid;gap:12px;margin-bottom:28px}
.stelle-vorteil{background:#fff;border-radius:var(--radius-card);padding:24px 22px;box-shadow:0 12px 32px -22px rgba(80,70,70,.4);border-left:5px solid var(--blau)}
.stelle-vorteil:nth-child(2n){border-left-color:var(--pink)}
.stelle-vorteil__title{font-size:20px;letter-spacing:-.01em;margin:0 0 8px}
.stelle-vorteil__text{margin:0;font-size:15px;line-height:1.55;color:rgba(80,70,70,.85)}

/* ---------- 3 Vorstellung (Braun dunkel) ---------- */
.stelle-vorstellung{background:var(--braun-dark);color:var(--cream)}
.stelle-vorstellung .stelle-section__title{color:var(--cream)}
.stelle-vorstellung .eyebrow{color:rgba(253,248,220,.72);border-bottom-color:rgba(253,248,220,.3)}
.stelle-vorstellung .wp-block-buttons{margin-bottom:28px}
.stelle-vorstellung__grid{display:grid;gap:24px;max-width:1100px;margin:0 auto}
.stelle-vorstellung__text{font-size:16px;line-height:1.65;color:rgba(253,248,220,.9)}
.stelle-vorstellung__imgs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stelle-vorstellung__img{margin:0;border-radius:var(--radius-card-s);overflow:hidden;aspect-ratio:1/1}
.stelle-vorstellung__img img{width:100%;height:100%;object-fit:cover}
.stelle-vorstellung__img:nth-child(3){grid-column:1/-1;aspect-ratio:16/9}

/* ---------- 4 Aufgaben (Creme) ---------- */
.stelle-aufgaben{background:var(--cream)}
.stelle-aufgaben__list{list-style:none;margin:0 auto;padding:0;max-width:720px;display:grid;gap:10px}
.stelle-aufgaben__list li{background:#fff;border-radius:var(--radius-card-s);padding:20px 22px 20px 56px;position:relative;font-size:15px;line-height:1.55}
.stelle-aufgaben__list li::before{content:'✓';position:absolute;left:20px;top:18px;width:26px;height:26px;border-radius:50%;background:var(--pink);color:#fff;font-weight:800;font-size:14px;display:grid;place-items:center}
.stelle-aufgaben__list li strong{display:block;font-size:17px;margin-bottom:4px}
.stelle-aufgaben__list li span{color:rgba(80,70,70,.85)}
.stelle-aufgaben__note{text-align:center;max-width:720px;margin:18px auto 0;font-size:15px;font-weight:700}

/* ---------- 5 Schritte (Creme weich) ---------- */
.stelle-schritte{background:var(--cream-soft)}
.stelle-schritte__grid{display:grid;gap:12px;max-width:720px;margin:0 auto 28px}
.stelle-step{background:#fff;border-radius:var(--radius-card-s);padding:22px 22px 22px 70px;position:relative}
.stelle-step__num{position:absolute;left:20px;top:18px;margin:0;font-size:28px;font-weight:800;color:var(--pink);letter-spacing:-.03em}
.stelle-step__title{font-size:18px;margin:0 0 6px}
.stelle-step__text{margin:0;font-size:15px;line-height:1.5;color:rgba(80,70,70,.85)}
.stelle-schritte__express{text-align:center;margin:14px 0 0;font-size:14px;font-weight:700}

/* ---------- Sticky-CTA (Handy) ---------- */
.stelle-sticky{position:fixed;left:0;right:0;bottom:0;z-index:1150;padding:10px var(--funnel-pad) calc(10px + env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(253,248,220,.98),rgba(253,248,220,.9));backdrop-filter:blur(10px);display:none;transform:translateY(0);transition:transform .25s ease}
.stelle-sticky .btn{width:100%;min-height:56px;font-size:14px;box-shadow:0 14px 30px -12px rgba(251,120,143,.7)}
body.funnel-visible .stelle-sticky{transform:translateY(120%)}
@media (max-width:900px){.stelle-sticky{display:block}.page-stelle .standorte-fab{display:none}}

/* ============================================================
   FUNNEL
   ============================================================ */
.funnel{background:var(--cream);min-height:100dvh;display:flex;flex-direction:column;padding:0!important;scroll-margin-top:0}
.funnel__bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:14px var(--funnel-pad);background:rgba(253,248,220,.96);backdrop-filter:blur(10px)}
.funnel__back{width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(80,70,70,.25);background:#fff;color:var(--braun);font-size:20px;line-height:1;flex-shrink:0}
.funnel__back[hidden]{display:none}
.funnel__progress{flex:1;height:8px;border-radius:999px;background:rgba(80,70,70,.12);overflow:hidden}
.funnel__progress i{display:block;height:100%;width:0;background:var(--pink);border-radius:999px;transition:width .35s ease}
.funnel__count{font-size:12px;font-weight:800;letter-spacing:.08em;color:rgba(80,70,70,.7);min-width:48px;text-align:right}
.funnel__viewport{flex:1;display:flex;flex-direction:column}
.funnel__screen{flex:1;max-width:640px;width:100%;margin:0 auto;padding:16px var(--funnel-pad) 40px}
.funnel__foot{text-align:center;font-size:12px;color:rgba(80,70,70,.6);padding:0 var(--funnel-pad) 24px;margin:0}
.funnel__foot a:hover{color:var(--pink)}
.funnel__empty{padding:40px var(--funnel-pad)}

.funnel__q{opacity:0;transform:translateX(0)}
.funnel__q.is-enter-right{transform:translateX(28px)}
.funnel__q.is-enter-left{transform:translateX(-28px)}
.funnel__q.is-in{opacity:1;transform:none;transition:opacity .3s ease,transform .3s ease}
.funnel__label{display:inline-block;margin:8px 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--braun);background:rgba(130,206,220,.28);border-radius:999px;padding:7px 12px}
.funnel__title{font-size:clamp(26px,6.6vw,38px);line-height:1.08;letter-spacing:-.02em;margin:10px 0 22px;outline:none}
.funnel__lead{font-size:17px;line-height:1.55}

/* Antwort-Karten */
.funnel__options{display:grid;gap:10px}
.funnel__option{display:flex;align-items:center;gap:14px;width:100%;min-height:60px;padding:16px 18px;border-radius:16px;border:1.5px solid rgba(80,70,70,.18);background:#fff;color:var(--braun);font-size:17px;font-weight:700;text-align:left;line-height:1.3;transition:border-color .15s,transform .15s,background .15s;animation:funnelIn .35s both;animation-delay:calc(var(--i,0)*45ms)}
.funnel__option:active{transform:scale(.985)}
.funnel__option-mark{width:22px;height:22px;border-radius:50%;border:2px solid rgba(80,70,70,.3);flex-shrink:0;display:grid;place-items:center;transition:background .15s,border-color .15s}
.funnel__q--multi .funnel__option-mark{border-radius:6px}
.funnel__option.is-selected{border-color:var(--pink);background:#fff4f6}
.funnel__option.is-selected .funnel__option-mark{background:var(--pink);border-color:var(--pink)}
.funnel__option.is-selected .funnel__option-mark::after{content:'';width:8px;height:8px;border-radius:50%;background:#fff}
.funnel__option-symbol{flex-shrink:0;width:40px;height:40px;border-radius:12px;background:var(--cream,#fdf8dc);display:grid;place-items:center;font-size:24px;line-height:1}
.funnel__option.has-symbol .funnel__option-text{flex:1}
.funnel__option.has-symbol .funnel__option-mark{order:3;margin-left:auto}
.funnel__option.is-selected .funnel__option-symbol{background:#ffe3e9}
.funnel__q--multi .funnel__option.is-selected .funnel__option-mark::after{width:11px;height:6px;border-radius:0;background:none;border-left:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:translateY(-2px) rotate(-45deg)}
@keyframes funnelIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* Freitext */
.funnel__textarea{width:100%;min-height:150px;padding:18px;border-radius:16px;border:1.5px solid rgba(80,70,70,.18);background:#fff;font:inherit;font-size:17px;line-height:1.5;color:var(--braun);resize:none}
.funnel__textarea:focus{outline:none;border-color:var(--pink);box-shadow:0 0 0 4px rgba(251,120,143,.18)}

/* Aktionen */
.funnel__actions{display:flex;justify-content:center;margin-top:22px}
.funnel__actions--col{flex-direction:column;gap:10px;align-items:stretch}
.funnel__btn{min-height:56px;width:100%;font-size:14px}
.funnel__btn.is-loading{opacity:.7;pointer-events:none}
@media (max-width:720px){.funnel__actions--sticky{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));padding-top:10px;background:linear-gradient(to top,var(--cream) 70%,rgba(253,248,220,0))}}
.funnel__error{margin:16px 0 0;padding:12px 16px;border-radius:12px;background:#fff0f3;color:var(--pink-dark);font-weight:700;font-size:14px;border:1px solid rgba(214,57,90,.3)}
.funnel__hint{margin:20px 0 0;padding:14px 16px;border-radius:12px;background:rgba(130,206,220,.2);font-size:14px;line-height:1.5}
.funnel__hint--lock{background:transparent;text-align:center;padding:0;color:rgba(80,70,70,.75)}

/* Zusatz: Team-Fakten, Einarbeitung */
.funnel__zusatz{margin-top:32px}
.funnel__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;position:relative;padding-top:0}
.funnel__team{grid-column:1/-1;width:84px;height:84px;border-radius:50%;object-fit:cover;margin:0 auto 6px;border:3px solid #fff;box-shadow:0 10px 24px -12px rgba(0,0,0,.4)}
.funnel__fact{background:#fff;border-radius:14px;padding:14px 8px;text-align:center}
.funnel__fact strong{display:block;font-size:20px;letter-spacing:-.02em}
.funnel__fact span{font-size:12px;color:rgba(80,70,70,.75);font-weight:700}
.funnel__zusatz-title{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;margin:0 0 12px;text-align:center}
.funnel__onboard-grid{display:grid;gap:8px}
.funnel__onboard-grid div{background:#fff;border-radius:14px;padding:14px 16px;font-size:14px;line-height:1.45}
.funnel__onboard-grid strong{display:block;margin-bottom:3px}
.funnel__onboard-grid span{color:rgba(80,70,70,.8)}

/* Upload */
.funnel__drop{border:2px dashed rgba(80,70,70,.3);border-radius:20px;background:#fff;padding:34px 20px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.funnel__drop.is-over{border-color:var(--pink);background:#fff4f6}
.funnel__drop.has-files{padding:18px}
.funnel__drop-icon{font-size:38px;margin-bottom:6px}
.funnel__drop-text{margin:0;font-weight:800;font-size:17px}
.funnel__drop-sub{margin:6px 0 0;font-size:13px;color:rgba(80,70,70,.7)}
.funnel__file{display:none}
.funnel__upload-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.funnel__upload-btns .btn{min-height:52px;padding:12px 14px;font-size:12px;letter-spacing:.08em}
.funnel__files{display:grid;gap:8px;margin-top:12px}
.funnel__file-item{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:10px 12px}
.funnel__file-item img,.funnel__file-ext{width:52px;height:52px;border-radius:10px;object-fit:cover;flex-shrink:0}
.funnel__file-ext{display:grid;place-items:center;background:var(--cream-soft);font-size:12px;font-weight:800}
.funnel__file-name{flex:1;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.funnel__file-name small{display:block;font-weight:400;color:rgba(80,70,70,.65)}
.funnel__file-remove{width:40px;height:40px;border-radius:50%;border:0;background:rgba(80,70,70,.08);color:var(--braun);font-size:22px;line-height:1}

/* Kontakt */
.funnel__contact-card{display:grid;grid-template-columns:64px 1fr;gap:6px 14px;align-items:center;background:#fff;border-radius:20px;padding:18px;margin:8px 0 22px}
.funnel__contact-logo{grid-row:1/3;width:64px;height:64px;object-fit:contain}
.funnel__contact-name{margin:0;font-size:14px}
.funnel__contact-quote{margin:0;font-size:15px;line-height:1.45;color:rgba(80,70,70,.85)}
.funnel__form-grid{display:grid;gap:10px}
.funnel__field span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.funnel__field input{width:100%;min-height:56px;padding:14px 18px;border-radius:14px;border:1.5px solid rgba(80,70,70,.18);background:#fff;font:inherit;font-size:17px;color:var(--braun)}
.funnel__field input:focus{outline:none;border-color:var(--pink);box-shadow:0 0 0 4px rgba(251,120,143,.18)}
.funnel__hp{position:absolute;left:-9999px;top:-9999px}
.funnel__consent{display:flex;gap:12px;align-items:flex-start;margin-top:16px;font-size:14px;line-height:1.45;cursor:pointer}
.funnel__consent input{width:24px;height:24px;margin:0;accent-color:var(--pink);flex-shrink:0}
.funnel__consent a{text-decoration:underline}

/* Schritte-Liste (Kontakt + Danke) */
.funnel__steps{list-style:none;margin:30px 0 0;padding:0;display:grid;gap:8px}
.funnel__steps li{display:grid;grid-template-columns:34px 1fr;gap:2px 10px;background:#fff;border-radius:14px;padding:14px 16px;font-size:14px}
.funnel__steps-num{grid-row:1/3;font-size:24px;font-weight:800;color:var(--pink);letter-spacing:-.03em}
.funnel__steps strong{font-size:15px}
.funnel__steps span:last-child{color:rgba(80,70,70,.8);line-height:1.4}
.funnel__done-icon{font-size:56px;line-height:1;margin:8px 0 10px}

/* ---------- Desktop ---------- */
@media (min-width:720px){
  :root{--funnel-pad:36px}
  .stelle-hero{min-height:88vh;align-items:center}
  .stelle-hero__inner{padding:160px 8vw 80px;max-width:720px}
  .stelle-hero::after{background:linear-gradient(to right,var(--braun) 0%,rgba(80,70,70,.9) 35%,rgba(80,70,70,.25) 70%,rgba(80,70,70,0) 100%)}
  .stelle-hero__image img{object-position:center}
  .page-stelle section[class*="stelle-"]{padding:110px var(--funnel-pad)}
  .stelle-vorteile__grid{grid-template-columns:1fr 1fr;max-width:980px;margin:0 auto 36px;gap:18px}
  .stelle-vorteil{padding:30px 28px}
  .stelle-vorstellung__grid{grid-template-columns:1.1fr 1fr;align-items:center;gap:48px}
  .stelle-schritte__grid{grid-template-columns:repeat(3,1fr);max-width:1000px}
  .stelle-step{padding:70px 24px 24px 24px}
  .stelle-step__num{top:22px;left:24px}
  .funnel{min-height:auto;padding:60px var(--funnel-pad) 40px!important;background:var(--cream-soft)}
  .funnel__bar{max-width:640px;margin:0 auto;width:100%;border-radius:999px;position:relative}
  .funnel__viewport{max-width:640px;width:100%;margin:12px auto 0;background:var(--cream);border-radius:28px;box-shadow:0 30px 70px -40px rgba(80,70,70,.5)}
  .funnel__screen{padding:28px 36px 40px}
  .funnel__btn{width:auto;min-width:260px}
  .funnel__actions--col .funnel__btn{width:100%}
  .funnel__upload-btns{max-width:460px;margin-left:auto;margin-right:auto}
  .funnel__form-grid{grid-template-columns:1fr 1fr}
  .funnel__form-grid .funnel__field:nth-child(3){grid-column:1/-1}
}
@media (min-width:1100px){
  .stelle-hero__title{font-size:clamp(56px,5.4vw,84px)}
}
@media (prefers-reduced-motion:reduce){
  .funnel__option{animation:none}
  .funnel__q,.funnel__q.is-in{transition:none;transform:none;opacity:1}
}

/* ============================================================
   AUS EINEM GUSS – wie die Startseite: jede Sektion legt sich mit
   runder Kante über die vorige, Inhalte blenden gestaffelt ein.
   ============================================================ */
.page-stelle section[class*="stelle-"]:not(.stelle-hero),.page-stelle .funnel,.page-stelle .site-footer{border-radius:32px 32px 0 0;margin-top:-32px;position:relative;box-shadow:0 -18px 40px -24px rgba(0,0,0,.35)}
.page-stelle .stelle-hero{z-index:1}
.page-stelle .stelle-vorteile{z-index:2}
.page-stelle .stelle-vorstellung{z-index:3}
.page-stelle .stelle-aufgaben{z-index:4}
.page-stelle .stelle-schritte{z-index:5;margin-top:0;border-radius:0;box-shadow:none}   /* Creme auf Creme: nahtlos */
.page-stelle .funnel{z-index:6}
.page-stelle .site-footer{z-index:7;padding-top:90px}
.page-stelle .stelle-hero{padding-bottom:32px!important}
.page-stelle .stelle-hero__inner{padding-bottom:68px}
.page-stelle section[class*="stelle-"]:not(.stelle-hero){padding-top:calc(72px + 32px)}
@media (min-width:720px){
  .page-stelle section[class*="stelle-"]:not(.stelle-hero){padding-top:calc(110px + 32px)}
  .page-stelle .funnel{padding-top:calc(60px + 32px)!important}
}
@media (max-width:719px){
  .page-stelle section[class*="stelle-"]:not(.stelle-hero),.page-stelle .funnel,.page-stelle .site-footer{border-radius:24px 24px 0 0;margin-top:-24px}
  .page-stelle section[class*="stelle-"]:not(.stelle-hero){padding-top:calc(72px + 24px)}
  .page-stelle .funnel{padding-top:24px!important}
  .page-stelle .funnel__bar{top:0}
}
/* Einblendungen (gleiche Kurve wie band.css) */
.js .page-stelle .reveal,.js .page-jobs .reveal{opacity:0;transform:translate3d(0,24px,0);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0ms)}
.js .page-stelle .reveal.is-in,.js .page-jobs .reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important}}
