/* Schriften werden in den Seiten separat verlinkt (fonts.css),
   nicht per @import — das spart eine serielle Anfrage. */

/* ============================================================
   Stumpf Dienstleistungen — Design-System
   Akzent #E67338 stammt aus den Warnwesten der Fotos.
   ============================================================ */

:root {
  --ink:        #15181B;
  --ink-2:      #585E64;
  --ink-3: #6A7076;
  --line:       #E3E0DB;
  --line-soft:  #EEECE8;
  --ground:     #FFFFFF;
  --ground-2:   #F5F3F0;
  --accent:     #E67338;
  --accent-deep:#A8410B;

  --display: 'Poppins', 'Segoe UI', sans-serif;
  --body:    'Barlow', 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --sect: clamp(48px, 5.5vw, 84px);
  --r: 4px;
  --head-h: 78px;

  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

/* scroll-behavior wird per JavaScript gesetzt: nur dann, wenn das
   weiche Scrollen NICHT aktiv ist. Beides zugleich arbeitet gegeneinander. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }

/* Vorgaben der Scroll-Bibliothek */
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-stopped { overflow: hidden; }

body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* "clip" kappt seitlichen Ueberhang, ohne den Body zu einem eigenen
   Scroll-Container zu machen. "hidden" tut das und laesst das Scrollen
   zusammen mit der mitlaufenden Kopfzeile ungleichmaessig wirken. */
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.06; margin: 0; text-wrap: balance;
}
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sect); }
.section--tint { background: var(--ground-2); }
.section--tight { padding-block: clamp(34px, 4vw, 56px); }

/* ---------- Typo ---------- */
/* Nur noch im Hero: nennt die drei Bereiche. Ohne Strich, ohne Label-Optik. */
.eyebrow {
  font-family: var(--body); font-size: .9rem; font-weight: 500;
  letter-spacing: .03em; color: var(--ink-2); display: block; margin: 0 0 20px;
}

.h-xl { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.h-lg { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-2); }
.sect-head { max-width: 56ch; margin-bottom: clamp(30px, 3.6vw, 46px); }
.sect-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 1rem; font-weight: 600;
  padding: 15px 26px; border-radius: var(--r);
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #2A3036; border-color: #2A3036; transform: translateY(-2px); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Kopfzeile ---------- */
/* Kein backdrop-filter: ein weichgezeichnetes Element, das beim Scrollen
   staendig neu berechnet wird, laesst das Scrollen stocken. */
.header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(21,24,27,.07); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; flex-wrap: nowrap; }
.brand img { width: 38px; height: 38px; flex: none; display: block; }
.brand__txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; white-space: nowrap; }
.brand__n { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.brand__s { font-family: var(--body); font-size: .63rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; color: var(--ink-3); line-height: 1; }

.header__right { display: flex; align-items: center; gap: 14px; }

/* Menü-Auslöser: ohne Rahmen, direkt in die Seite gesetzt */
.menubtn {
  display: inline-flex; align-items: center; gap: 14px;
  background: transparent; border: none; border-radius: 0;
  padding: 12px 0; cursor: pointer; font-family: var(--body);
  font-size: .95rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink); transition: color .25s var(--ease);
}
.menubtn:hover { color: var(--accent-deep); }
/* Kein Text-Cursor, keine markierbare Beschriftung */
.menubtn, .menubtn * { cursor: pointer; -webkit-user-select: none; user-select: none; }
.menubtn__bars { position: relative; width: 30px; height: 15px; flex: none; }
.menubtn__bars span {
  position: absolute; left: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .36s var(--ease), width .3s var(--ease), background .25s;
}
.menubtn__bars span:nth-child(1) { top: 3px; width: 30px; }
.menubtn__bars span:nth-child(2) { top: 11px; width: 21px; }
.menubtn:hover .menubtn__bars span:nth-child(2) { width: 30px; }
.menubtn.is-open .menubtn__bars span:nth-child(1) { width: 30px; transform: translateY(4px) rotate(45deg); }
.menubtn.is-open .menubtn__bars span:nth-child(2) { width: 30px; transform: translateY(-4px) rotate(-45deg); }

/* ---------- Navigationspanel (von rechts) ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(12,14,16,.55); z-index: 95;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--ink); color: #fff; z-index: 100;
  transform: translateX(100%); visibility: hidden;
  transition: transform .48s var(--ease), visibility .48s;
  display: flex; flex-direction: column;
  padding: 26px clamp(26px, 5vw, 46px) 34px;
  overflow-y: auto;
}
.panel.is-open { transform: none; visibility: visible; }
.panel__top { display: flex; justify-content: flex-end; margin-bottom: clamp(24px, 5vh, 52px); }
/* Ohne Rahmen, spiegelbildlich zum Menue-Ausloeser */
.panel__close {
  background: transparent; border: none; border-radius: 0;
  color: #fff; cursor: pointer; padding: 12px 0;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--body); font-size: .95rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  transition: color .25s var(--ease);
}
.panel__close, .panel__close * { cursor: pointer; -webkit-user-select: none; user-select: none; }
.panel__close:hover { color: var(--accent); }
.panel__close .x { position: relative; width: 26px; height: 26px; flex: none; }
.panel__close .x span {
  position: absolute; left: 0; top: 12px; width: 26px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.panel__close .x span:nth-child(1) { transform: rotate(45deg); }
.panel__close .x span:nth-child(2) { transform: rotate(-45deg); }
.panel__close:hover .x span:nth-child(1) { transform: rotate(135deg); }
.panel__close:hover .x span:nth-child(2) { transform: rotate(45deg); }

.panel__nav { display: flex; flex-direction: column; }
.panel__nav a {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 4.6vw, 2.3rem); text-decoration: none; color: #fff;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.13);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  opacity: 0; transform: translateX(22px);
  transition: color .25s var(--ease), opacity .5s var(--ease), transform .5s var(--ease);
}
.panel.is-open .panel__nav a { opacity: 1; transform: none; }
.panel.is-open .panel__nav a:nth-child(1) { transition-delay: .10s; }
.panel.is-open .panel__nav a:nth-child(2) { transition-delay: .16s; }
.panel.is-open .panel__nav a:nth-child(3) { transition-delay: .22s; }
.panel.is-open .panel__nav a:nth-child(4) { transition-delay: .28s; }
.panel.is-open .panel__nav a:nth-child(5) { transition-delay: .34s; }
.panel__nav a::after { content: "\2192"; font-family: var(--body); font-weight: 400; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.panel__nav a:hover { color: var(--accent); }
.panel__nav a:hover::after { opacity: 1; transform: none; }
.panel__nav a[aria-current="page"] { color: var(--accent); }

.panel__foot { margin-top: auto; padding-top: 34px; }
.panel__foot .k { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #7E858B; }
/* :not(.btn) — sonst ueberschreibt diese Regel die Textfarbe des Buttons (weiss auf weiss) */
.panel__foot a:not(.btn) { display: block; color: #fff; text-decoration: none; font-family: var(--display);
  font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; margin-top: 6px; }
.panel__foot a:not(.btn):hover { color: var(--accent); }
.panel__foot a.social { display: inline-flex; }
.panel__foot .row + .row { margin-top: 18px; }
.panel__foot .btn { text-decoration: none; }

/* ---------- Hero ---------- */
/* genau ein Bildschirm: Kopfzeile + Hero = 100 % Hoehe */
.hero { position: relative; background: var(--ink); overflow: hidden;
  min-height: calc(100svh - var(--head-h)); display: flex; align-items: center; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,12,14,.90) 0%, rgba(10,12,14,.74) 40%, rgba(10,12,14,.26) 74%, rgba(10,12,14,.12) 100%);
}
.hero__in { position: relative; z-index: 2; padding-block: clamp(64px, 9vw, 120px); color: #fff; width: 100%; }
.section--lg { padding-block: clamp(72px, 8.5vw, 124px); }
.hero__body { max-width: 700px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); color: #fff; }
.hero .lead { color: #D6DADD; margin-top: 20px; max-width: 46ch; }
.hero .eyebrow { color: #C3C9CE; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Datenleiste ---------- */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__i { padding: 24px 26px; border-left: 1px solid var(--line); }
.facts__i:first-child { border-left: none; padding-left: 0; }
.facts__i:last-child { padding-right: 0; }
.facts__k { font-size: .68rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3); }
.facts__v { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; }

/* ---------- Problem ---------- */
.probs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.prob { padding: 28px 28px 28px 0; border-left: 1px solid var(--line); }
.prob:first-child { border-left: none; }
.prob:not(:first-child) { padding-left: 28px; }
.prob h3, .prob p, .prob__n { transition: color .25s var(--ease); }
.prob:hover h3 { color: var(--accent-deep); }
.prob:hover p { color: var(--ink); }
.prob__n { font-family: var(--display); font-weight: 700; font-size: .92rem; color: var(--accent-deep); letter-spacing: .05em; transition: color .3s; }
.prob h3 { margin: 12px 0 9px; font-size: 1.2rem; letter-spacing: -0.02em; }
.prob p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Leistungen ---------- */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.svc {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21,24,27,.09); }
.svc__img { aspect-ratio: 16/10; overflow: hidden; background: var(--ground-2); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { padding: 25px 25px 27px; display: flex; flex-direction: column; flex-grow: 1; }
.svc__n { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.svc h3 { margin: 11px 0 10px; font-size: 1.38rem; }
.svc p { color: var(--ink-2); font-size: 1rem; }
.svc__more { margin-top: 18px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.svc__more .arw { transition: transform .25s var(--ease); }
.svc:hover .svc__more .arw { transform: translateX(5px); }

/* Detailblöcke */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.detail + .detail { margin-top: clamp(48px, 5.5vw, 78px); }
.detail--flip .detail__media { order: 2; }
/* Zwei Bilder nebeneinander auf gemeinsame Hoehe zugeschnitten — sonst wird
   die Medienspalte deutlich hoeher als der Text und es entstehen Luecken. */
.detail__media { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; aspect-ratio: 16/10; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.detail__media > img:only-child { grid-column: 1 / -1; }

/* Kopfzeile einer Sektion mit begleitendem Bild */
.headrow { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 64px);
  align-items: end; margin-bottom: clamp(38px, 5vw, 58px); }
.headrow .sect-head { margin-bottom: 0; }
.headrow img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 1.02rem; transition: padding-left .25s var(--ease), color .25s; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li:hover { padding-left: 10px; color: var(--accent-deep); }

/* ---------- Beweise ---------- */
.proof { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
/* eigene Ebene fuer das grossflaechige Hintergrundbild: beim Scrollen wird
   die Ebene nur verschoben statt neu gezeichnet */
.proof__media { position: absolute; inset: 0; transform: translateZ(0); }
/* Die Abdunklung steckt komplett im Verlauf. Vorher lag zusaetzlich das
   Bild auf halber Deckkraft darunter — zwei halbdurchsichtige Ebenen
   uebereinander, die der Browser beim Scrollen staendig verrechnen muss.
   Das Ergebnis sieht identisch aus, kostet aber deutlich weniger. */
.proof__media img { width: 100%; height: 100%; object-fit: cover; }
.proof__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,24,27,.80), rgba(21,24,27,.90)); }
.proof__in { position: relative; z-index: 2; }
.proof .eyebrow { color: #A9B0B6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { border-top: 2px solid rgba(255,255,255,.22); padding-top: 22px; transition: border-color .3s var(--ease); }
.stat:hover { border-color: var(--accent); }
/* tabular-nums: alle Ziffern gleich breit, damit die Zahl beim Hochzaehlen
   nicht die Breite aendert und das Layout nicht bei jedem Bild neu rechnet. */
.stat__v { font-family: var(--display); font-weight: 700; font-size: clamp(2.7rem, 5.6vw, 4.1rem);
  letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__v.is-accent { color: var(--accent); }
.stat__l { margin-top: 10px; color: #D8DDE1; font-size: .97rem; max-width: 22ch; }

/* ---------- Split ---------- */
/* oben ausgerichtet — sonst rutscht der Text nach unten,
   wenn das Bild hoeher ist, und es entsteht eine grosse Luecke. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
/* flacher zugeschnitten, sonst wird die Bildspalte hoeher als der Text daneben */
.split__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); }
/* Beim Ueberfahren faerbt sich der Text, keine Flaeche —
   so bleibt der Text buendig zur Ueberschrift. */
.pts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; }
.pt { padding: 20px 20px 20px 0; border-top: 1px solid var(--line); }
.pt:nth-child(even) { padding-left: 22px; }
.pt:nth-child(odd) { border-right: 1px solid var(--line); }
.pt b, .pt p { transition: color .25s var(--ease); }
.pt:hover b { color: var(--accent-deep); }
.pt:hover p { color: var(--ink); }
.pt b { font-family: var(--display); font-weight: 600; font-size: 1.03rem; letter-spacing: -0.01em; }
.pt p { color: var(--ink-2); font-size: .96rem; margin-top: 5px; }

/* ---------- Ablauf (mit Hover-Hervorhebung) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step {
  border-top: 2px solid var(--ink); padding: 20px 18px 22px 0;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step__n { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--ink-3); letter-spacing: .05em; transition: color .3s var(--ease); }
.step:hover .step__n { color: var(--accent-deep); }
.step h3 { margin: 10px 0 9px; font-size: 1.22rem; letter-spacing: -0.02em; }
.step p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Einblicke (Bildstreifen) ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s var(--ease); }
.strip figure:hover img { transform: scale(1.05); }

/* ---------- Referenzen ---------- */
/* auto-fit: vertraegt drei, vier oder mehr Zitate ohne Anpassung */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.ref { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; background: #fff;
  display: flex; flex-direction: column; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.ref:hover { border-color: var(--ink); transform: translateY(-3px); }
.ref blockquote { margin: 0; font-family: var(--body); font-weight: 500; font-size: 1.04rem;
  letter-spacing: 0; line-height: 1.55; color: var(--ink); }
.ref figcaption { margin-top: 18px; font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.ref__mark { width: 26px; height: 3px; background: var(--accent); margin-bottom: 20px; }

/* Hinweisband: markiert Inhalte, die noch nicht freigegeben sind */
.draftnote {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1.5px dashed var(--accent); border-radius: var(--r);
  background: rgba(230,115,56,.07); padding: 14px 18px; margin-bottom: 30px;
  font-size: .92rem; color: var(--ink-2); max-width: 70ch;
}
.draftnote b { color: var(--accent-deep); font-weight: 600; }
.section--dark .draftnote { color: #C4CACF; background: rgba(230,115,56,.12); }

/* ---------- Jobs ---------- */
.jobteaser { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 4.5vw, 62px); align-items: center; }
.jobteaser__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); }
.perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.perks li { position: relative; padding-left: 26px; font-size: 1.01rem; }
.perks li::before { content: ""; position: absolute; left: 0; top: .58em; width: 13px; height: 3px; background: var(--accent); }

.jobcard { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.jobcard__head { padding: clamp(26px, 4vw, 38px); border-bottom: 1px solid var(--line); }
.jobcard__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.jobcard__f { padding: 22px clamp(20px, 3vw, 28px); border-right: 1px solid var(--line); transition: background .3s var(--ease); }
.jobcard__f:last-child { border-right: none; }
.jobcard__f:hover { background: var(--ground-2); }
.jobcard__f dt { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.jobcard__f dd { margin: 7px 0 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }

/* ---------- Stellenportal ---------- */
.jobbar {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 12px;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
}
.jobbar label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.jobbar input, .jobbar select {
  font-family: var(--body); font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 13px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.jobbar input:focus, .jobbar select:focus { outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(230,115,56,.22); }
.jobbar .reset { display: flex; align-items: flex-end; }
.jobbar .reset button {
  font-family: var(--body); font-size: .92rem; font-weight: 600; color: var(--ink-2);
  background: transparent; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 12px 16px; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.jobbar .reset button:hover { border-color: var(--ink); color: var(--ink); }

.jobcount { margin: 22px 0 18px; font-size: .98rem; color: var(--ink-2); }
.jobcount b { color: var(--ink); font-weight: 600; }

.joblist { display: grid; gap: 16px; }
.joblist article[hidden] { display: none; }

.joblink {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  padding: clamp(22px, 3vw, 30px); text-decoration: none; color: inherit;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.joblink:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(21,24,27,.08); }
.joblink h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 10px 0 0; }
.joblink .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; color: var(--ink-2);
}
.tag--accent { border-color: var(--accent); color: var(--accent-deep); }
.joblink .go { font-weight: 600; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.joblink .go .arw { transition: transform .25s var(--ease); }
.joblink:hover .go .arw { transform: translateX(5px); }

.emptystate {
  border: 1.5px dashed var(--line); border-radius: var(--r); padding: 40px 28px; text-align: center;
  color: var(--ink-2);
}
.emptystate b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }

/* Stellendetail */
.crumbs { font-size: .92rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }
.jobdetail { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.jobside { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 26px; position: sticky; top: 100px; }
.jobside dl { margin: 0; display: grid; gap: 0; }
.jobside .r { padding: 14px 0; border-top: 1px solid var(--line); }
.jobside .r:first-child { border-top: none; padding-top: 0; }
.jobside dt { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.jobside dd { margin: 6px 0 0; font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; }
.jobside .btn { width: 100%; justify-content: center; margin-top: 22px; }

.blocks h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.blocks h2:first-child { margin-top: 0; }
.blocks ul { list-style: none; margin: 0; padding: 0; }
.blocks li { padding: 11px 0 11px 26px; border-top: 1px solid var(--line); position: relative; }
.blocks li:last-child { border-bottom: 1px solid var(--line); }
.blocks li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 13px; height: 2px; background: var(--accent); }

/* EGYM Wellpass — hervorgehoben */
.wellpass {
  background: var(--ink); color: #fff; border-radius: var(--r);
  padding: clamp(28px, 4vw, 46px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(26px, 4vw, 54px); align-items: center;
}
.wellpass__fig { text-align: left; }
.wellpass__num {
  font-family: var(--display); font-weight: 700; color: var(--accent);
  font-size: clamp(3rem, 7vw, 5.2rem); line-height: .95; letter-spacing: -0.045em;
}
.wellpass__lbl { color: #AEB5BB; font-size: .95rem; margin-top: 10px; max-width: 16ch; line-height: 1.4; }
.wellpass h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.wellpass p { color: #C4CACF; margin-top: 12px; max-width: 54ch; }
.wellpass__logo { margin-top: 20px; height: 32px; width: auto; background: #fff; border-radius: 3px; padding: 6px 10px; }
.wellpass__hint { margin-top: 16px; font-size: .9rem; color: #8A9096; }

/* Infos zum Arbeitgeber */
.infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.infogrid > div { background: #fff; padding: 26px 24px; }
.infogrid dt { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.infogrid dd { margin: 8px 0 0; font-size: 1.02rem; }
.infogrid dd b { font-family: var(--display); font-weight: 600; }

/* ---------- Formular ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 4.5vw, 62px); align-items: stretch; }
.contact-grid > * { min-width: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  font-family: var(--body); font-size: 1.02rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 15px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #A7ADB3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(230,115,56,.24); }
.field textarea { resize: vertical; min-height: 148px; }
.form__foot { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form__req { font-size: .88rem; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Beide Spalten beginnen und enden auf gleicher Hoehe */
.cinfo { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.cinfo__r { padding: 18px 0; border-top: 1px solid var(--line); }
.cinfo__r:first-child { border-top: none; padding-top: 0; }
.cinfo__r:last-child { padding-bottom: 0; }
.cinfo__k { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.cinfo__v { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; }
.cinfo__v a { text-decoration: none; }
.cinfo__v a:hover { color: var(--accent-deep); }

/* ---------- CTA-Band ---------- */
.ctaband { background: var(--ink); color: #fff; }
.ctaband__in { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-block: clamp(46px, 6vw, 72px); }
.ctaband h2 { color: #fff; max-width: 18ch; }
.ctaband .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-top: clamp(54px, 7vw, 88px); padding-bottom: 32px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.15fr; gap: 30px 38px; align-items: start; }
.footer__grid > div { min-width: 0; }
.footer .brand__n { color: #fff; }
.footer p.about { color: #A9B0B6; max-width: 30ch; margin-top: 20px; font-size: .99rem; line-height: 1.6; }

/* LinkedIn & Co. */
.social { display: inline-flex; align-items: center; gap: 10px; }
.social svg { width: 18px; height: 18px; flex: none; }
.footer h2 { font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #7E858B; margin: 0 0 14px; }
/* Nur die Linkspalten, nicht die Fusszeile darunter (sonst stehen
   Impressum und Datenschutz untereinander und der Trenner haengt allein). */
.footer__grid a:not(.brand), .footer address { display: block; color: #C4CACF; text-decoration: none; padding: 5px 0; font-style: normal; font-size: .99rem; }
.footer__grid a:not(.brand) { transition: color .22s var(--ease), transform .22s var(--ease); }
.footer__grid a:not(.brand):hover { color: var(--accent); transform: translateX(3px); }
.footer .brand { display: inline-flex; margin-bottom: 4px; }
.footer a.social { display: inline-flex; align-items: center; }
.footer__bottom { margin-top: clamp(36px, 4.5vw, 56px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center;
  color: #7E858B; font-size: .9rem; }
.footer__bottom span { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom a { display: inline-block; color: #7E858B; padding: 0; transition: color .22s var(--ease); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Rechtsseiten / Seitenkopf ---------- */
.phead { background: var(--ground-2); border-bottom: 1px solid var(--line); padding-block: clamp(46px, 7vw, 88px); }
.phead h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.phead .lead { margin-top: 16px; }
.legal { max-width: 740px; }
.legal h2 { font-size: 1.28rem; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-bottom: 13px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-deep); }
.notice { background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; font-size: .93rem; color: var(--ink-2); margin-top: 26px; }

/* ---------- Bewegung ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(20px); }
.reveal-img img { transition: transform 1.1s var(--ease); }
html.js .reveal-img:not(.is-in) img { transform: scale(1.06); }

/* Kinder nacheinander einblenden (Karten, Schritte, Spalten) */
.stag > * { transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .stag:not(.is-in) > * { opacity: 0; transform: translateY(16px); }

/* Fortschrittsbalken im Kopf */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* Ruhige Hover-Reaktionen */
/* Hier kein Flaechen-Hover: die erste Kachel sitzt buendig am Rand,
   eine Flaeche wuerde direkt am Text kleben. Stattdessen Farbwechsel. */
.facts__i .facts__v { transition: color .25s var(--ease); }
.facts__i:hover .facts__v { color: var(--accent-deep); }
.cinfo__r { transition: background .3s var(--ease); }
.cinfo__r:hover { background: rgba(21,24,27,.03); }
.perks li, .stat, .infogrid > div { transition: background .3s var(--ease), color .22s var(--ease); }
.infogrid > div:hover { background: var(--ground-2); }
.panel__nav a, .crumbs a { transition: color .22s var(--ease); }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r); }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.panel__close, .menubtn { -webkit-tap-highlight-color: transparent; }
body.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal:not(.is-in) { opacity: 1; transform: none; }
  html.js .reveal-img:not(.is-in) img { transform: none; }
  html.js .stag:not(.is-in) > * { opacity: 1; transform: none; }
  .progress { display: none; }
  .panel__nav a { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .svcs, .refs, .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:nth-child(3) { display: none; }
  .facts__in { grid-template-columns: 1fr 1fr; }
  .facts__i:nth-child(3) { border-left: none; padding-left: 0; }
  .facts__i:nth-child(2) { padding-right: 0; }
  .facts__i:nth-child(1), .facts__i:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .detail, .split, .jobteaser, .contact-grid, .headrow { grid-template-columns: 1fr; }
  .headrow .sect-head { margin-bottom: 28px; }
  .detail--flip .detail__media { order: 0; }
  .probs { grid-template-columns: 1fr; }

  .prob { border-left: none; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .prob:not(:first-child) { padding-left: 0; }
  .prob:last-child { border-bottom: none; }
  .jobcard__grid { grid-template-columns: 1fr 1fr; }
  .jobcard__f:nth-child(2) { border-right: none; }
  .jobcard__f:nth-child(1), .jobcard__f:nth-child(2) { border-bottom: 1px solid var(--line); }
  .jobbar { grid-template-columns: 1fr 1fr; }
  .jobbar .reset { grid-column: 1 / -1; }
  .jobbar .reset button { width: 100%; }
  .jobdetail { grid-template-columns: 1fr; }
  .jobside { position: static; }
  .infogrid { grid-template-columns: 1fr; }
  .wellpass { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .svcs, .refs, .strip { grid-template-columns: 1fr; }
  .strip figure:nth-child(3) { display: block; }
  .facts__in { grid-template-columns: 1fr; }
  .facts__i { border-left: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .facts__i:last-child { border-bottom: none; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .pts { grid-template-columns: 1fr; }
  .pt:nth-child(odd) { border-right: none; }


  .form { grid-template-columns: 1fr; }
  .jobcard__grid { grid-template-columns: 1fr; }
  .jobcard__f { border-right: none; border-bottom: 1px solid var(--line); }
  .jobcard__f:last-child { border-bottom: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .menubtn { gap: 11px; font-size: .86rem; letter-spacing: .14em; }
  .jobbar { grid-template-columns: 1fr; }
  .joblink { grid-template-columns: 1fr; }
  .joblink .go { margin-top: 4px; }
}

/* ============================================================
   Handy-Feinschliff
   ============================================================ */
@media (max-width: 620px) {
  /* flachere Kopfzeile lässt mehr Inhalt sichtbar */
  :root { --head-h: 62px; }
  html { scroll-padding-top: 78px; }

  .brand img { width: 34px; height: 34px; }
  .brand__n { font-size: 1.05rem; }
  .brand__s { font-size: .58rem; letter-spacing: .16em; }

  /* Tippziele auf mindestens ~44px bringen */
  .footer__grid a:not(.brand), .footer address { padding: 10px 0; }
  .footer__bottom a { padding: 6px 0; }
  .cinfo__v a, .crumbs a { display: inline-block; padding: 4px 0; }
  .panel__nav a { padding: 17px 0; }

  /* Schaltflächen über die volle Breite: besser zu treffen */
  .hero__actions .btn, .job-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero__actions { gap: 10px; }

  /* Zahlen etwas kleiner, sonst brechen die Beschriftungen ungünstig */
  .stat__v { font-size: clamp(2.4rem, 13vw, 3.2rem); }
  .stat__l { max-width: none; }

  .wellpass { padding: 24px 20px; }
  .wellpass__num { font-size: clamp(2.6rem, 14vw, 3.4rem); }
  .wellpass__lbl { max-width: none; }

  .jobside { padding: 22px; }
  .joblink { padding: 22px 20px; }
}

@media (max-width: 420px) {
  /* Beschriftung weicht, das Symbol allein genügt (Name steckt in aria-label) */
  .menubtn .lbl { display: none; }
  .menubtn { gap: 0; padding: 12px 0 12px 8px; }
  .panel__close .lbl-x { display: none; }

  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .h-xl { font-size: clamp(1.95rem, 9vw, 2.4rem); }
  .h-lg { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
  .wrap { padding-inline: 18px; }
}

/* Querformat auf dem Handy: kein erzwungener Vollbild-Hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero__in { padding-block: 48px; }
}
