/* ==========================================================================
   Hot Chili Marketing – Website
   --------------------------------------------------------------------------
   Aufbau dieser Datei:
     1. Schrift & Farben (Variablen – hier änderst du z. B. das Rot)
     2. Grundlagen
     3. Kopfzeile & Navigation
     4. Bausteine (Knöpfe, Überschriften, Formular)
     5. Seitenbereiche (Startbild, Jobs, Treppe, Vorteile, FAQ …)
     6. Fußzeile
     7. Animationen
     8. Handy & Tablet
   ========================================================================== */

/* ---------- 1. Schrift & Farben ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin.woff2") format("woff2-variations"), url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --papier: #ffffff;
  --stein: #f4f2f0; /* helle Flächen */
  --graphit: #2a2626; /* Text & dunkle Flächen – das Grau aus dem Logo */
  --graphit-2: #3a3434;
  --graphit-3: #4a4343;
  --text-weich: #5e5756;
  --linie: #e4dfdc;
  --chili: #c4161c; /* Akzent: Knöpfe, Linien, Hervorhebungen */
  --chili-dunkel: #8e0d12;
  --glut: #fbe9e7;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --rand: clamp(20px, 4.5vw, 48px);
  --abschnitt: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Grundlagen ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--papier);
  color: var(--graphit);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--chili);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--graphit);
  color: var(--papier);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}
::selection {
  background: var(--chili);
  color: var(--papier);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 3. Kopfzeile & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(42, 38, 38, 0.35);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
  transition: min-height 0.35s var(--ease);
}
.site-header.is-scrolled .wrap {
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 48px;
  width: auto;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-left: 16px;
  border-left: 1px solid var(--linie);
}
.brand-name strong {
  font-size: 1rem;
  font-weight: 700;
}
.brand-name span {
  font-size: 0.8125rem;
  color: var(--text-weich);
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 32px;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--chili);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--graphit);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) {
  top: 17px;
}
.nav-toggle span:nth-child(2) {
  top: 23px;
}
.nav-toggle span:nth-child(3) {
  top: 29px;
}
.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 4. Bausteine ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 2px solid transparent;
  border-radius: 3px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
/* Füll-Effekt beim Darüberfahren */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-chili {
  background: var(--chili);
  color: var(--papier);
}
.btn-chili::before {
  background: var(--chili-dunkel);
}
.btn-rahmen {
  border-color: var(--graphit);
  color: var(--graphit);
}
.btn-rahmen::before {
  background: var(--graphit);
}
.btn-rahmen:hover {
  color: var(--papier);
}
.btn-hell {
  background: var(--papier);
  color: var(--graphit);
}
.btn-hell::before {
  background: var(--glut);
}
.btn-rahmen-hell {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--papier);
}
.btn-rahmen-hell::before {
  background: var(--papier);
}
.btn-rahmen-hell:hover {
  color: var(--graphit);
}
.btn-klein {
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.9375rem;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Textlink mit Linie */
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--graphit);
}
.more::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--chili);
  transition: width 0.35s var(--ease);
}
.more:hover::after {
  width: 44px;
}
.on-dark .more {
  color: var(--papier);
}

.t-display {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 720;
  font-stretch: 104%;
  line-height: 1.02;
  letter-spacing: -0.028em;
}
.t-h2 {
  font-size: clamp(2rem, 3.6vw, 3.125rem);
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.t-h3 {
  font-size: 1.375rem;
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.t-lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-weich);
}
.on-dark .t-lead {
  color: #e2dcda;
}
.muted {
  color: var(--text-weich);
}
.prose p + p {
  margin-top: 1em;
}

/* Brotkrumen-Pfad über der Seitenüberschrift */
.crumbs {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 10px;
  opacity: 0.6;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}

/* Stadt eingeben → weiter zur Schnellbewerbung (funktioniert auch ohne JavaScript) */
.city-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  max-width: 600px;
}
.city-form .field {
  flex: 1;
  min-width: 0;
}
.city-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 8px;
}
.city-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1.5px solid var(--text-weich);
  border-radius: 3px;
  background: var(--papier);
  color: var(--graphit);
  font: inherit;
}
.city-form input::placeholder {
  color: #8a8382;
}
.city-form input:focus-visible {
  outline: 3px solid var(--chili);
  outline-offset: 0;
  border-color: var(--graphit);
}

/* Icons */
.icon {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--chili);
}
.icon * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 5. Seitenbereiche ---------- */
.section {
  padding-block: var(--abschnitt);
}
.section-stein {
  background: var(--stein);
}
.section-dunkel {
  background: var(--graphit);
  color: var(--papier);
}

/* Abschnitts-Kopf: Überschrift links, Text rechts */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head .t-lead {
  max-width: 34em;
}

/* --- Startbild (Startseite) --- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: min(86vh, 780px);
}
.hero-text {
  align-self: center;
  padding: clamp(56px, 7vw, 104px) clamp(24px, 4vw, 64px) clamp(120px, 12vw, 160px) 0;
}
.hero-title {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-stretch: 90%;
  font-weight: 760;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
}
/* wechselndes Wort (Vertrieb, Kundenservice …) */
.woerter {
  display: inline-grid;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--chili);
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.wort {
  grid-area: 1 / 1;
  transform: translateY(110%);
}
.wort.is-aktiv {
  transform: none;
}
.hero-text .t-lead {
  max-width: 30em;
  margin-bottom: 40px;
}
.hero-media {
  position: relative;
  margin-right: calc(-1 * var(--rand) - max(0px, (100vw - var(--max) - 2 * var(--rand)) / 2));
}
.slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--graphit);
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.is-aktiv {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* dunkler Verlauf oben, damit die Bereichs-Namen lesbar sind */
.slides::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  z-index: 2;
  background: linear-gradient(rgba(20, 17, 17, 0.55), rgba(20, 17, 17, 0));
  pointer-events: none;
}
/* roter Balken links am Bild */
.hero-media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--chili);
  z-index: 3;
}
/* Bereichs-Namen mit Fortschrittsbalken */
.slider-nav {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 44px;
  right: var(--rand);
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.slider-nav button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.slider-nav button:hover,
.slider-nav button.is-aktiv {
  color: var(--papier);
}
.slider-nav button::before,
.slider-nav i {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}
.slider-nav i {
  background: var(--papier);
  transform: scaleX(0);
  transform-origin: left;
}
.slider-nav button.ist-fertig i {
  transform: scaleX(1);
}
/* kununu-Siegel, die über dem Bild schweben */
.siegel {
  position: absolute;
  z-index: 4;
  left: -64px;
  top: 46%;
  display: flex;
}
.siegel {
  gap: 10px;
  align-items: flex-start;
}
.siegel img {
  width: 92px;
  height: auto;
  background: var(--papier);
  padding: 6px;
  box-shadow: 0 24px 50px -20px rgba(42, 38, 38, 0.55);
}
.siegel img + img {
  margin-top: 28px;
}

/* Kennzahlen-Leiste, die über das Startbild ragt */
.facts {
  position: relative;
  z-index: 2;
  margin-top: -88px;
}
.facts ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--graphit);
  color: var(--papier);
  box-shadow: 0 30px 60px -30px rgba(42, 38, 38, 0.5);
}
.facts li {
  padding: 32px clamp(20px, 2.5vw, 36px);
}
.facts li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.facts strong {
  display: block;
  font-size: clamp(2rem, 3.2vw, 2.875rem);
  font-weight: 720;
  font-stretch: 104%;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.facts span {
  font-size: 0.9375rem;
  color: #d9d3d1;
  line-height: 1.4;
  display: block;
}

/* --- Seitenkopf mit Foto (Unterseiten) --- */
.page-hero {
  position: relative;
  min-height: clamp(420px, 56vh, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--papier);
  overflow: hidden;
  background: var(--graphit);
}
.page-hero img {
  position: absolute;
  inset: -6% 0 0 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 27, 27, 0.88) 0%, rgba(30, 27, 27, 0.6) 45%, rgba(30, 27, 27, 0.15) 100%),
    linear-gradient(0deg, rgba(30, 27, 27, 0.5) 0%, rgba(30, 27, 27, 0) 50%);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 9vw, 112px);
}
.page-hero .t-display {
  max-width: 14em;
  margin-bottom: 20px;
}
.page-hero .t-lead {
  color: #ece6e4;
  max-width: 34em;
}
.page-hero .wrap::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--chili);
  margin-bottom: 28px;
}

/* --- Jobbereiche als Karten (Startseite) --- */
.job-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.job-card .pic {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  background: var(--stein);
}
.job-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.job-card:hover .pic img {
  transform: scale(1.05);
}
.job-card h3 {
  margin-bottom: 8px;
}
.job-card p {
  color: var(--text-weich);
  margin-bottom: 16px;
}
.job-card .more {
  margin-top: auto;
}
/* ganze Karte klickbar */
.job-card .more::before {
  content: "";
  position: absolute;
  inset: 0;
}

/* --- Bild + Text nebeneinander --- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}
.split-media {
  position: relative;
}
.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.split-body .t-h2 {
  margin-bottom: 24px;
}
.split-body .t-lead,
.split-body .prose {
  margin-bottom: 32px;
}

/* Liste mit Häkchen */
.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}
.ticks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
}
.ticks .icon {
  width: 24px;
  height: 24px;
  margin-top: 1px;
}
.ticks.cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}

/* --- Vorteile mit Symbolen --- */
.benefits {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--linie);
  border-left: 1px solid var(--linie);
}
.benefits li {
  padding: clamp(28px, 3.5vw, 44px);
  border-right: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  background: var(--papier);
  transition: background-color 0.3s;
}
.benefits li:hover {
  background: var(--stein);
}
.benefits .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
}
.benefits h3 {
  margin-bottom: 10px;
}
.benefits p {
  color: var(--text-weich);
}
.benefits .salary {
  background: var(--graphit);
  color: var(--papier);
}
.benefits .salary:hover {
  background: var(--graphit);
}
.benefits .salary p {
  color: #d9d3d1;
}
.benefits .salary .amount {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 720;
  font-stretch: 104%;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--papier);
  margin: 6px 0 14px;
}
.benefits .salary .amount small {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0;
  margin-right: 0.2em;
}

/* --- Treppe: Dein Weg bei HCM --- */
.stairs {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  height: clamp(460px, 40vw, 540px);
}
.step {
  height: calc(34% + (var(--i) - 1) * 22%);
  padding: 24px clamp(16px, 2vw, 28px);
  color: var(--papier);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step:nth-child(1) {
  background: var(--graphit-3);
}
.step:nth-child(2) {
  background: var(--graphit-2);
}
.step:nth-child(3) {
  background: var(--graphit);
}
.step:nth-child(4) {
  background: var(--chili);
}
.step .num {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.75;
}
.step strong {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.2;
}
.step p {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Ablauf in 3 Schritten --- */
.process {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  counter-reset: schritt;
}
.process li {
  counter-increment: schritt;
  position: relative;
  padding-top: 72px;
}
.process li::before {
  content: counter(schritt);
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--chili);
  color: var(--chili);
  font-weight: 700;
  font-size: 1.125rem;
  background: var(--papier);
  z-index: 1;
}
/* Verbindungslinie zwischen den Schritten */
.process li::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 48px;
  right: calc(-1 * clamp(28px, 4vw, 56px));
  height: 2px;
  background: var(--linie);
}
.process li:last-child::after {
  display: none;
}
.process h3 {
  margin-bottom: 10px;
}
.process p {
  color: var(--text-weich);
}

/* --- Jobs-Seite: ein Abschnitt pro Stelle --- */
.role {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--linie);
}
.role:first-of-type {
  border-top: 0;
}
.role .split-media img {
  aspect-ratio: 4 / 3;
}
.role-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--chili);
  margin-bottom: 14px;
}
.role .t-h2 {
  margin-bottom: 18px;
}
.role .t-lead {
  margin-bottom: 28px;
}
.role-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}
.role-lists h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.role-lists ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}
.role-lists li {
  position: relative;
  padding-left: 22px;
  color: var(--text-weich);
}
.role-lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--chili);
}

/* Kurz-Infos in einer Zeile */
.facts-row {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.facts-row li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 600;
}

/* Sprungmarken zu den Stellen */
.jump {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jump a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--linie);
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--papier);
  transition: border-color 0.25s, color 0.25s;
}
.jump a:hover {
  border-color: var(--chili);
  color: var(--chili);
}

/* --- Werte / Alltag --- */
.values {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.values li {
  border-top: 3px solid var(--graphit);
  padding-top: 24px;
}
.on-dark .values li {
  border-top-color: var(--chili);
}
.values h3 {
  margin-bottom: 8px;
}
.values .tag {
  font-weight: 700;
  margin-bottom: 8px;
}
.values p:not(.tag) {
  color: var(--text-weich);
}
.on-dark .values p:not(.tag) {
  color: #d9d3d1;
}

/* Zitat-artige Aussage */
.statement {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22em;
}
.statement-note {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--chili);
  max-width: 36em;
}

/* --- Häufige Fragen --- */
.faq {
  border-top: 1px solid var(--linie);
}
.faq details {
  border-bottom: 1px solid var(--linie);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-size: 1.1875rem;
  font-weight: 650;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--chili), var(--chili)) center / 100% 2px no-repeat,
    linear-gradient(var(--chili), var(--chili)) center / 2px 100% no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq summary:hover {
  color: var(--chili);
}
.faq .answer {
  padding: 0 0 28px;
  max-width: 46em;
  color: var(--text-weich);
}

/* --- Kontakt --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.contact-card {
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card.primary {
  background: var(--graphit);
  color: var(--papier);
  border-color: var(--graphit);
}
.contact-card.primary p {
  color: #d9d3d1;
}
.contact-card .icon {
  width: 34px;
  height: 34px;
}
.contact-card p {
  color: var(--text-weich);
}
.contact-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.contact-card address {
  font-style: normal;
}

/* --- Abschluss-Band zum Bewerben --- */
.cta {
  background: var(--chili);
  color: var(--papier);
  position: relative;
  overflow: hidden;
}
/* große, ruhige Treppenform im Hintergrund */
.cta::before {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 46%;
  height: 100%;
  background: rgba(0, 0, 0, 0.09);
  clip-path: polygon(0 100%, 0 75%, 25% 75%, 25% 50%, 50% 50%, 50% 25%, 75% 25%, 75% 0, 100% 0, 100% 100%);
}
.cta .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
}
.cta .t-h2 {
  margin-bottom: 18px;
}
.cta p {
  color: #ffe9e6;
}
.cta .city-form label {
  color: var(--papier);
}
.cta .city-form input {
  border-color: var(--papier);
}
.cta .city-form input:focus-visible,
.cta :focus-visible {
  outline-color: var(--papier);
}
.cta .hint {
  margin-top: 14px;
  font-size: 0.9375rem;
}

/* --- Rechtstexte --- */
.legal {
  padding-block: clamp(56px, 7vw, 104px);
}
.legal .wrap {
  max-width: calc(820px + 2 * var(--rand));
}
.legal h1 {
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  margin: 48px 0 12px;
}
.legal h3 {
  font-size: 1.0625rem;
  margin: 28px 0 8px;
}
.legal p,
.legal ul {
  margin-bottom: 14px;
}
.legal ul {
  padding-left: 22px;
}
.legal .part {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 2px solid var(--graphit);
}


/* --- Ablauf mit 4 oder 5 Schritten --- */
.process.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.process.five li::after {
  right: calc(-1 * clamp(20px, 2.4vw, 36px));
}
.process.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.on-dark .process li::before {
  background: var(--graphit);
  color: var(--papier);
}
.on-dark .process li::after {
  background: rgba(255, 255, 255, 0.18);
}
.on-dark .process p {
  color: #d9d3d1;
}

/* Kennzahlen ohne Überlappung (Unterseiten) */
.facts-flat {
  margin-top: 0;
}
.facts-flat ul {
  box-shadow: none;
}

/* Schlagwort-Liste */
.tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tags li {
  padding: 14px 22px;
  border: 1.5px solid var(--graphit);
  font-weight: 600;
  font-size: 1.0625rem;
}
.tags-hell li {
  border-color: var(--linie);
  background: var(--papier);
  font-weight: 500;
}

/* Kultur-Abschnitt */
.kultur-text {
  margin-top: 40px;
  max-width: 46em;
  margin-left: auto;
  color: #d9d3d1;
  font-size: 1.125rem;
}
.address-block {
  font-style: normal;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--chili);
}

/* Werte mit Symbol */
.values.icons li {
  border-top-width: 2px;
}
.values.icons .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}
.values.icons p {
  color: var(--text-weich);
}

/* --- Stellen-Detailseite --- */
.job-detail {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.meta {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--linie);
  font-weight: 600;
  font-size: 0.9375rem;
}
.meta li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.meta .icon {
  width: 22px;
  height: 22px;
}
.job-main > h2.t-h3 {
  margin-bottom: 12px;
}
.job-block {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--linie);
}
.job-block h2 {
  margin-bottom: 18px;
}
.job-block .ticks {
  margin-bottom: 0;
}
.dash {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.dash li {
  position: relative;
  padding-left: 26px;
}
.dash li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 2px;
  background: var(--chili);
}
.job-aside {
  position: sticky;
  top: 120px;
}
.apply-card {
  background: var(--graphit);
  color: var(--papier);
  padding: clamp(28px, 3vw, 40px);
  border-top: 6px solid var(--chili);
}
.apply-card .t-h3 {
  margin: 10px 0 12px;
}
.apply-card p {
  color: #d9d3d1;
}
.apply-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
}
.apply-kicker .icon {
  width: 20px;
  height: 20px;
}
.city-form.stacked {
  flex-direction: column;
  align-items: stretch;
  margin: 24px 0;
}
.apply-card .city-form label {
  color: var(--papier);
}
.apply-card .city-form input {
  border-color: var(--papier);
}
.apply-card :focus-visible {
  outline-color: var(--papier);
}
.apply-alt {
  font-size: 0.9375rem;
}
.icon-klein {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 8px;
}

/* --- Kleine Überschrift über Abschnitten („01 — Jobs“) --- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chili);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.on-dark .eyebrow {
  color: #ff8a80;
}

/* --- Produktpartner: Logos als Laufband --- */
.partner {
  padding-block: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--linie);
}
.partner .wrap {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 9.6fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.partner-titel {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-weich);
  line-height: 1.5;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-spur {
  display: flex;
  width: max-content;
}
.marquee-liste {
  --abstand: clamp(44px, 5.5vw, 88px);
  list-style: none;
  margin: 0;
  padding: 0 var(--abstand) 0 0;
  display: flex;
  align-items: center;
  gap: var(--abstand);
  flex: none;
}
.marquee-liste img,
.partner-raster img {
  height: var(--h, 32px);
  width: auto;
  max-width: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.marquee-liste li:hover img,
.partner-raster li:hover img {
  opacity: 1;
}
/* Logos als Raster (Über uns) */
.partner-raster-wrap {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--linie);
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 9.6fr);
  gap: 32px;
  align-items: center;
}
.partner-raster {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
}

/* --- Jobs als große Liste (Startseite) --- */
.job-index {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.job-zeile {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 5fr) minmax(0, 4fr) 52px;
  gap: 16px clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--linie);
  text-decoration: none;
  isolation: isolate;
}
.job-zeile::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * clamp(12px, 2vw, 28px));
  background: var(--stein);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.job-zeile:hover::before,
.job-zeile:focus-visible::before {
  transform: scaleY(1);
  transform-origin: top;
}
.job-zeile .nr {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--chili);
  font-variant-numeric: tabular-nums;
}
.job-zeile .titel {
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  font-weight: 720;
  font-stretch: 94%;
  letter-spacing: -0.025em;
  line-height: 1.08;
  transition: transform 0.5s var(--ease);
}
.job-zeile:hover .titel {
  transform: translateX(12px);
}
.job-zeile .kurz {
  color: var(--text-weich);
  line-height: 1.55;
}
.job-zeile .pfeil {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--linie);
  display: grid;
  place-items: center;
  transition: background-color 0.35s, border-color 0.35s, transform 0.5s var(--ease);
}
.job-zeile .pfeil .icon {
  width: 22px;
  height: 22px;
  color: var(--graphit);
  transition: color 0.35s;
}
.job-zeile:hover .pfeil {
  background: var(--chili);
  border-color: var(--chili);
  transform: rotate(-45deg);
}
.job-zeile:hover .pfeil .icon {
  color: var(--papier);
}
/* --- Gehalts-Karte auf dem Foto --- */
.gehalt-karte {
  position: absolute;
  z-index: 2;
  right: clamp(-32px, -2.4vw, -12px);
  bottom: -36px;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 24px 30px;
  background: var(--chili);
  color: var(--papier);
  box-shadow: 0 30px 60px -28px rgba(142, 13, 18, 0.65);
}
.gehalt-karte strong {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 760;
  font-stretch: 92%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.gehalt-karte span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffe3df;
}
.gehalt-karte span:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- Karriereleiter als Zeitstrahl (Karriere-Seite) --- */
.leiter {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.leiter-kopf {
  position: sticky;
  top: 120px;
}
.leiter-kopf .t-h2 {
  margin-bottom: 20px;
}
.leiter-hinweis {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--chili);
  max-width: 32em;
}
.leiter-liste {
  --fortschritt: 1;
  list-style: none;
  padding: 0;
  position: relative;
}
.leiter-liste::before,
.leiter-liste::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--linie);
}
.leiter-liste::after {
  background: var(--chili);
  transform-origin: top;
  transform: scaleY(var(--fortschritt));
}
.leiter-stufe {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.leiter-stufe:last-child {
  padding-bottom: 0;
}
.leiter-nr {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border: 2px solid var(--chili);
  background: var(--chili);
  color: var(--papier);
  font-size: 1.5rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s;
}
.js .leiter-liste {
  --fortschritt: 0;
}
.js .leiter-stufe .leiter-nr {
  background: var(--stein);
  border-color: var(--linie);
  color: var(--text-weich);
}
.js .leiter-stufe.is-erreicht .leiter-nr {
  background: var(--chili);
  border-color: var(--chili);
  color: var(--papier);
}
.leiter-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chili);
  margin: 6px 0 10px;
}
.leiter-stufe .t-h2 {
  margin-bottom: 14px;
}

/* --- Abschluss mit Foto --- */
.cta-bild {
  position: relative;
  overflow: hidden;
  background: var(--graphit);
  color: var(--papier);
  padding-block: clamp(104px, 14vw, 200px);
}
.cta-bild > img {
  position: absolute;
  inset: -8% 0 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}
.cta-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 27, 27, 0.92) 0%, rgba(30, 27, 27, 0.7) 50%, rgba(30, 27, 27, 0.35) 100%);
}
.cta-bild .wrap {
  position: relative;
  z-index: 1;
}
.cta-bild .t-display {
  max-width: 11em;
  margin-bottom: 24px;
}
.cta-bild .t-lead {
  max-width: 32em;
  margin-bottom: 36px;
}
.icon-btn {
  width: 20px;
  height: 20px;
  color: currentColor;
}

/* --- Schmales Band zum Bewerben (Jobs-Seite) --- */
.cta-band {
  background: var(--chili);
  color: var(--papier);
  padding-block: clamp(56px, 7vw, 88px);
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
.cta-band .t-h2 {
  margin-bottom: 10px;
}
.cta-band p {
  color: #ffe9e6;
  max-width: 36em;
  font-size: 1.125rem;
}
.cta-band :focus-visible {
  outline-color: var(--papier);
}

/* --- Weitere Jobs als Link-Liste --- */
.section-kompakt {
  padding-block: clamp(56px, 7vw, 88px);
}
.weitere-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.job-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  column-gap: clamp(24px, 3vw, 48px);
}
.job-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--linie);
  text-decoration: none;
  font-weight: 680;
  font-size: 1.125rem;
  transition: color 0.3s;
}
.job-links .icon {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease);
}
.job-links a:hover {
  color: var(--chili);
}
.job-links a:hover .icon {
  transform: translateX(6px);
}

/* --- Fehlerseite (404) --- */
.fehler .t-display {
  max-width: 13em;
  margin-bottom: 20px;
}
.fehler .buttons {
  margin: 32px 0 56px;
}

/* ---------- 6. Fußzeile ---------- */
.site-footer {
  background: var(--graphit);
  color: #d9d3d1;
  font-size: 0.9375rem;
  padding-top: clamp(56px, 7vw, 88px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: 40px;
  padding-bottom: 56px;
}
.footer-grid img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}
.footer-grid h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--papier);
  margin-bottom: 16px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--papier);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-grid address {
  font-style: normal;
}
.footer-bottom a {
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--papier);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 7. Animationen ---------- */
/* Weiche Überblendung zwischen den Seiten (moderne Browser) */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}

@media (prefers-reduced-motion: no-preference) {
  /* Überschrift im Startbild: Zeilen gleiten von unten herein */
  .reveal-lines .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
  }
  .reveal-lines .line > span {
    display: block;
    animation: zeile-rein 1s var(--ease) both;
    animation-delay: calc(var(--d, 0) * 1ms + 150ms);
  }
  @keyframes zeile-rein {
    from {
      transform: translateY(105%);
    }
    to {
      transform: none;
    }
  }
  .fade-in {
    animation: einblenden 0.9s var(--ease) both;
    animation-delay: calc(var(--d, 0) * 1ms);
  }
  @keyframes einblenden {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  /* Startbild: Fotos decken sich von links auf, wechseln sich ab und zoomen langsam */
  .slides {
    animation: bild-auf 1.3s var(--ease) both 0.1s;
  }
  .hero-media::before {
    animation: balken 1s var(--ease) both 0.5s;
    transform-origin: top;
  }
  @keyframes bild-auf {
    from {
      clip-path: inset(0 0 0 100%);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  @keyframes balken {
    from {
      transform: scaleY(0);
    }
    to {
      transform: scaleY(1);
    }
  }
  .slide img {
    animation: zoom 14s ease-in-out infinite alternate;
  }
  .slide:nth-child(even) img {
    animation-delay: -7s;
  }
  @keyframes zoom {
    from {
      transform: scale(1.02);
    }
    to {
      transform: scale(1.14) translateX(-2%);
    }
  }
  /* Fortschrittsbalken unter dem aktiven Bereich */
  .slider-nav button.is-aktiv i {
    animation: fortschritt var(--dauer, 5.5s) linear both;
  }
  .hero-media.is-pausiert .slider-nav i {
    animation-play-state: paused;
  }
  @keyframes fortschritt {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  .slider-nav {
    animation: einblenden 0.9s var(--ease) both 1s;
  }
  /* Wechselndes Wort gleitet von unten herein und nach oben hinaus */
  .wort {
    transition: transform 0.8s var(--ease);
  }
  .wort.ist-weg {
    transform: translateY(-110%);
  }
  .wort.ohne-uebergang {
    transition: none;
  }
  /* Siegel schweben leicht */
  .siegel {
    animation: einblenden 0.9s var(--ease) both 1.1s, schweben 6s ease-in-out 2s infinite;
  }
  @keyframes schweben {
    50% {
      transform: translateY(-12px);
    }
  }
  /* Logo-Laufband */
  .marquee-spur {
    animation: laufband 38s linear infinite;
  }
  .marquee:hover .marquee-spur {
    animation-play-state: paused;
  }
  @keyframes laufband {
    to {
      transform: translateX(-50%);
    }
  }
  /* Gehalts-Karte kommt nach dem Foto */
  .js [data-reveal="bild"] .gehalt-karte {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease) 0.7s, transform 0.8s var(--ease) 0.7s;
  }
  .js [data-reveal="bild"].is-in .gehalt-karte {
    opacity: 1;
    transform: none;
  }
  /* Seitenkopf: Foto zoomt beim Laden langsam heraus */
  .page-hero > img {
    animation: kb-seite 9s var(--ease) both;
  }
  @keyframes kb-seite {
    from {
      scale: 1.15;
    }
    to {
      scale: 1;
    }
  }
  .page-hero .t-display {
    animation: titel-rein 1.1s var(--ease) both 0.1s;
  }
  @keyframes titel-rein {
    from {
      clip-path: inset(0 0 100% 0);
      transform: translateY(40px);
    }
    to {
      clip-path: inset(0 0 -20% 0);
      transform: none;
    }
  }
  .page-hero .wrap > :not(.t-display) {
    animation: einblenden 0.9s var(--ease) both;
  }
  .page-hero .wrap > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .page-hero .wrap > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .page-hero .wrap::before {
    animation: linie 0.9s var(--ease) both 0.2s;
    transform-origin: left;
  }
  @keyframes linie {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  /* Beim Scrollen einblenden (nur wenn JavaScript aktiv ist) */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--d, 0) * 1ms);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  /* Bilder: von unten aufdecken (der Rahmen bleibt sichtbar, damit der Browser das Bild „sieht“) */
  .js [data-reveal="bild"] {
    opacity: 1;
    transform: none;
  }
  .js [data-reveal="bild"] img {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.9s var(--ease);
  }
  .js [data-reveal="bild"].is-in img {
    clip-path: inset(0 0 0 0);
  }
  /* Treppe: Stufen wachsen nacheinander */
  .js .stairs .step {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.9s var(--ease);
    transition-delay: calc((var(--i) - 1) * 140ms);
  }
  .js .stairs.is-in .step {
    clip-path: inset(0 0 0 0);
  }
}

/* ---------- 8. Tablet & Handy ---------- */
@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0;
    top: var(--header-h, 88px);
    background: var(--papier);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--rand) 40px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.4s;
  }
  .nav-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s, transform 0.4s var(--ease);
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
  }
  .nav-links li {
    border-bottom: 1px solid var(--linie);
  }
  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 1.375rem;
    font-weight: 650;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a[aria-current="page"] {
    color: var(--chili);
  }
  .nav .btn {
    width: 100%;
  }
  .nav-open {
    overflow: hidden;
  }
  .job-grid,
  .benefits,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .values,
  .facts-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 48px;
  }
  .process.five li:nth-child(3)::after {
    display: none;
  }
  .process.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
  .process.four li:nth-child(2)::after {
    display: none;
  }
  .job-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .job-aside {
    position: static;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .split,
  .sec-head,
  .cta .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .hero-text {
    padding: 48px 0 40px;
  }
  .hero-media {
    margin-inline: calc(-1 * var(--rand));
    aspect-ratio: 4 / 3;
  }
  .hero-media::before {
    width: 100%;
    height: 8px;
    bottom: auto;
  }
  .facts {
    margin-top: 0;
  }
  .facts .wrap {
    padding-inline: 0;
  }
  .facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
  }
  .facts li:nth-child(3) {
    border-left: 0;
  }
  .facts li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .process,
  .process.five,
  .process.four {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .process.five li:nth-child(3)::after,
  .process.four li:nth-child(2)::after {
    display: block;
  }
  .process li:last-child::after {
    display: none;
  }
  .process li::after,
  .process.five li::after {
    top: 48px;
    bottom: -40px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process li {
    padding-top: 0;
    padding-left: 76px;
    min-height: 48px;
  }
  /* Treppe auf dem Handy: waagerechte Stufen, die nach oben rechts steigen */
  .stairs {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    height: auto;
    gap: 0;
  }
  .step {
    height: auto;
    margin-left: calc((var(--i) - 1) * 8%);
    padding: 18px 20px;
  }
}

@media (max-width: 640px) {
  .site-header .wrap {
    min-height: 72px;
  }
  .brand img {
    height: 36px;
  }
  .brand-name {
    display: flex;
    padding-left: 10px;
  }
  .brand-name strong {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .brand-name span {
    display: none;
  }
  .job-grid,
  .benefits,
  .contact-grid,
  .values,
  .facts-row,
  .role-lists,
  .ticks.cols,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .city-form {
    flex-direction: column;
    align-items: stretch;
  }
  .buttons .btn {
    flex: 1 1 100%;
  }
  .page-hero {
    min-height: 400px;
  }
  .page-hero::after {
    background: linear-gradient(0deg, rgba(30, 27, 27, 0.92) 0%, rgba(30, 27, 27, 0.55) 60%, rgba(30, 27, 27, 0.35) 100%);
  }
  .cta::before {
    width: 80%;
    height: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-spur {
    width: auto;
  }
  .marquee-liste {
    flex-wrap: wrap;
    row-gap: 24px;
  }
  .marquee-liste[aria-hidden="true"] {
    display: none;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* kleines Symbol im Fließtext (z. B. Uhr bei den Bürozeiten) */
.contact-card .icon.icon-klein {
  width: 18px;
  height: 18px;
}

/* ---------- 9. Neue Bausteine auf Tablet & Handy ---------- */
@media (max-width: 1100px) {
  .partner-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }
  .job-zeile {
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 48px;
  }
}

@media (max-width: 860px) {
  .hero-media {
    aspect-ratio: 5 / 4;
  }
  .slider-nav {
    top: 18px;
    left: 20px;
    right: 20px;
    gap: 10px;
  }
  .siegel {
    left: auto;
    right: 16px;
    top: auto;
    bottom: 16px;
  }
  .siegel img {
    width: 62px;
    padding: 4px;
  }
  .siegel {
    gap: 6px;
  }
  .siegel img + img {
    margin-top: 16px;
  }
  .partner .wrap,
  .partner-raster-wrap,
  .leiter {
    grid-template-columns: minmax(0, 1fr);
  }
  .job-zeile {
    grid-template-columns: 32px minmax(0, 1fr) 44px;
    gap: 8px 16px;
  }
  .job-zeile .nr {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 0.45em;
  }
  .job-zeile .kurz {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.9375rem;
  }
  .job-zeile .pfeil {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
  }
  .leiter-kopf {
    position: static;
  }
  .leiter-stufe {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .leiter-nr {
    width: 56px;
    height: 56px;
    font-size: 1.125rem;
  }
  .leiter-liste::before,
  .leiter-liste::after {
    left: 27px;
    top: 28px;
    bottom: 28px;
  }
  .split-media:has(.gehalt-karte) {
    margin-bottom: 24px;
  }
  .gehalt-karte {
    right: 12px;
    bottom: -24px;
    min-width: 0;
    padding: 18px 22px;
  }
  .cta-bild::after {
    background: rgba(30, 27, 27, 0.78);
  }
}

@media (max-width: 520px) {
  .slider-nav span {
    display: none;
  }
  .slider-nav button {
    padding-bottom: 0;
    height: 14px;
  }
  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }
}

@media (max-width: 640px) {
  .partner-raster img,
  .marquee-liste img {
    height: calc(var(--h, 32px) * 0.8);
  }
}

/* ---------- 10. Cookie-Banner (erscheint nur, wenn Google Analytics eingerichtet ist) ---------- */
.cookie-banner {
  position: fixed;
  z-index: 90;
  left: clamp(12px, 3vw, 32px);
  bottom: clamp(12px, 3vw, 32px);
  width: min(460px, calc(100vw - 24px));
  padding: 26px 26px 22px;
  background: var(--papier);
  color: var(--graphit);
  border-top: 4px solid var(--chili);
  box-shadow: 0 30px 70px -20px rgba(42, 38, 38, 0.45), 0 0 0 1px var(--linie);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.cookie-banner.ist-zu {
  opacity: 0;
  transform: translateY(16px);
}
.cookie-titel {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.cookie-banner p:not(.cookie-titel) {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-weich);
}
.cookie-banner a {
  color: var(--graphit);
  font-weight: 600;
}
.cookie-knoepfe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.cookie-knoepfe .btn {
  min-height: 48px;
  padding: 0 16px;
}
/* Textlink, der eigentlich ein Knopf ist (z. B. „Cookie-Einstellungen“ in der Fußzeile) */
.link-knopf {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.link-knopf:hover {
  color: var(--papier);
  text-decoration: underline;
}
.legal .link-knopf {
  color: var(--graphit);
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 22px 20px 18px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner {
    animation: einblenden 0.6s var(--ease) backwards 0.4s;
  }
}
