/* Gemeinsames Stylesheet der Stellenseiten – gleiche Gestaltung wie index.html (Logo-Stil Schwarz/Gelb) */
:root {
  --black: #111214;
  --black-2: #1a1b1e;
  --black-3: #26282c;
  --yellow: #f8be00;
  --yellow-hi: #ffcf2b;
  --grey: #f3f3f0;
  --line: #e2e2dc;
  --muted: #5d6067;
  --wrap: 1160px;
  --skew: -10deg;
  --unskew: 10deg;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--black); padding: 10px 16px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
mark.todo { background: #fff1b8; color: #5c4600; border-radius: 4px; padding: 0 .3em; font-weight: 600; font-size: .92em; }

.ibox { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--yellow); color: var(--black); transform: skewX(var(--skew)); }
.ibox > svg { transform: skewX(var(--unskew)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 2px solid transparent; border-radius: 6px; font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transform: skewX(var(--skew)); transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.btn > span { display: inline-flex; align-items: center; gap: 10px; transform: skewX(var(--unskew)); }
.btn:hover { transform: skewX(var(--skew)) translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-hi); }
.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: #2c2e33; }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 130px; }
.brand { position: relative; z-index: 2; align-self: flex-start; margin-top: 7px; }
.brand::before { content: ""; position: absolute; inset: -5px -7px; z-index: -1; border-radius: 50%; background: #fff; box-shadow: 0 12px 24px -18px rgba(0,0,0,.5); transition: box-shadow .3s; }
.brand img { position: relative; height: 172px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img, .site-header.open .brand img { height: 116px; }
.site-header.scrolled .brand::before, .site-header.open .brand::before { box-shadow: none; }
.back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; text-decoration: none; }
.back .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.back:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Stellen-Kopf */
.job-hero { position: relative; overflow: hidden; padding: 64px 0 76px; background: var(--yellow); }
.job-hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: -8%; width: 30%; background: rgba(255,255,255,.2); transform: skewX(var(--skew)); }
.job-hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.tag { display: inline-flex; padding: 6px 14px; background: var(--black); color: #fff; font-size: .8rem; font-weight: 800; transform: skewX(var(--skew)); }
.tag > span { display: inline-flex; align-items: center; gap: 8px; transform: skewX(var(--unskew)); }
.tag .icon { width: 16px; height: 16px; color: var(--yellow); }
.job-hero h1 { margin: 20px 0 20px; font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 900; font-style: italic; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.job-hero h1.long { font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
.nw { white-space: nowrap; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.meta li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 8px; background: rgba(255,255,255,.62); font-weight: 650; font-size: .95rem; }
.meta .icon { width: 18px; height: 18px; }
.draft { margin: 18px 0 0; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%); }
.hero-icon { display: grid; place-items: center; aspect-ratio: 4 / 3; clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%); background: repeating-linear-gradient(-60deg, rgba(248,190,0,.1) 0 16px, transparent 16px 34px), var(--black); }
.hero-icon .big { width: 132px; height: 132px; border-radius: 18px; display: grid; place-items: center; background: var(--yellow); color: var(--black); transform: skewX(var(--skew)); box-shadow: 0 24px 50px -18px rgba(248,190,0,.6); }
.hero-icon .big > svg { width: 64px; height: 64px; transform: skewX(var(--unskew)); }

/* Inhalt */
.content { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; padding-top: 76px; padding-bottom: 96px; }
.content .lead { margin: 0; font-size: 1.2rem; color: var(--black-2); }
.content h2 { display: flex; align-items: center; gap: 14px; margin: 48px 0 16px; font-size: 1.65rem; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.content h2 .ibox { width: 42px; height: 42px; }
.content h2 .ibox .icon { width: 22px; height: 22px; }
.checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 5px; transform: skewX(var(--skew)); background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.aside { position: sticky; top: 156px; padding: 28px; border-radius: 12px; background: var(--black); color: #c9cbd0; }
.aside h3 { margin: 0 0 18px; color: #fff; font-size: 1.25rem; font-style: italic; font-weight: 900; }
.aside dl { display: grid; gap: 12px; margin: 0 0 24px; }
.aside dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8f929a; }
.aside dd { margin: 2px 0 0; color: #fff; overflow-wrap: anywhere; }
.aside a { color: #fff; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.aside .btn { width: 100%; }
.aside .btn + .btn { margin-top: 12px; }

/* Bewerbung */
.apply { padding: 88px 0; background: var(--grey); }
.apply h2 { margin: 0 0 8px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; font-style: italic; letter-spacing: -.03em; }
.apply > .wrap > p { margin: 0 0 36px; color: var(--muted); font-size: 1.1rem; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 26px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.step-num { display: block; font-size: 3.2rem; font-weight: 900; font-style: italic; line-height: 1; color: var(--yellow); -webkit-text-stroke: 2px var(--black); }
.step h3 { margin: 14px 0 4px; font-size: 1.12rem; }
.step p { margin: 0; font-size: .94rem; color: var(--muted); }
.apply-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 16px; padding: 24px 28px; border-radius: 12px; background: var(--black); color: #c5c7cc; }
.apply-bar p { flex: 1; min-width: 240px; margin: 0; }
.apply-bar strong { display: block; color: #fff; font-size: 1.1rem; }
.apply-bar a:not(.btn) { color: #fff; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }

/* Fuß */
.site-footer { background: #fff; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 32px; padding-bottom: 32px; }
.footer-inner img { width: 170px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--black); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.footer-bottom { background: var(--black); color: #9ea1a8; font-size: .85rem; }
.footer-bottom .wrap { padding-top: 16px; padding-bottom: 16px; }

.callbar { display: none; }

@media (max-width: 960px) {
  .job-hero .wrap, .content { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .aside { position: static; }
  .content { gap: 40px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 86px; }
  .brand { margin-top: 6px; }
  .brand img { height: 100px; }
  .site-header.scrolled .brand img, .site-header.open .brand img { height: 74px; }
  .back span { display: none; }
  .back::after { content: "Alle Stellen"; white-space: nowrap; }
  .header-inner > .btn { display: none; }
  .job-hero { padding: 40px 0 52px; }
  .content { padding-top: 52px; padding-bottom: 64px; }
  .content h2 { margin-top: 38px; font-size: 1.4rem; }
  .steps3 { grid-template-columns: 1fr; }
  .apply { padding: 64px 0; }
  .apply-bar { padding: 22px 20px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(17,18,20,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .callbar .btn { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
