/* Karriereseite jobs.petrohandels.ch (v1.110.0). Eigenständig, ohne Bootstrap:
   klein, schnell am Handy. Farben aus dem Petro-CD. */
@font-face { font-family: "Dela Gothic One"; src: url(/vendor/fonts/dela-gothic-one-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Rubik; font-weight: 400; src: url(/vendor/fonts/rubik-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Rubik; font-weight: 500; src: url(/vendor/fonts/rubik-latin-500-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Rubik; font-weight: 700; src: url(/vendor/fonts/rubik-latin-700-normal.woff2) format("woff2"); font-display: swap; }

:root {
  --gelb: #FBD100; --gelb-dunkel: #d9b400; --gelb-hell: #fff6c2;
  --grau: #58595B; --nacht: #1b1c20; --tinte: #23242a; --leise: #5c5d62;
  --linie: #dcdee0; --flaeche: #f4f4f3; --weiss: #fff; --fehler: #c62828; --ok: #1e7a45;
  --r: 14px; --schatten: 0 1px 2px rgba(16,24,40,.06), 0 12px 32px -14px rgba(16,24,40,.28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55;
  color: var(--tinte); background: var(--flaeche); }
a { color: inherit; }
img { max-width: 100%; }
.anzeige { font-family: "Dela Gothic One", Rubik, sans-serif; font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.huelle { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

/* Kopf */
.kopf { background: var(--nacht); color: #fff; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.kopf img { height: 34px; width: auto; display: block; }
.kopf a.klein { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }

/* Bühne */
.buehne { position: relative; overflow: hidden; background: var(--nacht); color: #fff; padding: 48px 0 72px; }
.buehne::before { /* Dachkante einer Tankstelle als schräges Band */
  content: ""; position: absolute; right: -10%; top: -40%; width: 70%; height: 180%; background: var(--gelb);
  transform: rotate(18deg); opacity: .98; }
.buehne::after { content: ""; position: absolute; right: 6%; top: -40%; width: 6%; height: 180%; background: var(--nacht);
  transform: rotate(18deg); }
.buehne .huelle { position: relative; z-index: 1; }
.buehne .ueber { display: inline-block; background: var(--gelb); color: var(--tinte); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.buehne h1 { font-size: clamp(40px, 9vw, 92px); margin: 18px 0 18px; max-width: 11ch; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.buehne h1 em { font-style: normal; color: var(--gelb); }
.buehne p.lead { font-size: clamp(18px, 2.4vw, 21px); max-width: 30ch; color: #e7e7e9; margin: 0 0 28px; }
@media (max-width: 720px) {
  .buehne::before { right: -55%; top: auto; bottom: -30%; width: 120%; height: 34%; transform: rotate(-8deg); }
  .buehne::after { display: none; }
  .buehne { padding-bottom: 120px; }
}

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px;
  border-radius: 999px; border: 0; font: 700 18px/1 Rubik, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.knopf:active { transform: scale(.97); }
.knopf.gelb { background: var(--gelb); color: var(--tinte); box-shadow: 0 6px 0 var(--gelb-dunkel); }
.knopf.gelb:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--gelb-dunkel); }
.knopf.dunkel { background: var(--tinte); color: #fff; }
.knopf.rand { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.knopf .klein { font-weight: 500; font-size: 14px; opacity: .75; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 520px) { .knopfreihe .knopf { width: 100%; } }

/* Abschnitte */
.abschnitt { padding: 56px 0; }
.abschnitt h2 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 8px; }
.abschnitt .unter { color: var(--leise); margin: 0 0 28px; max-width: 50ch; }
.pluspunkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plus { background: var(--weiss); border-radius: var(--r); padding: 22px; box-shadow: var(--schatten); border-top: 5px solid var(--gelb); }
.plus b { display: block; font-size: 19px; margin-bottom: 4px; }
.plus span { color: var(--leise); font-size: 16px; }

.stellen { display: grid; gap: 14px; }
.stellenkarte { display: flex; align-items: center; gap: 18px; background: var(--weiss); border-radius: var(--r); padding: 20px 22px;
  text-decoration: none; box-shadow: var(--schatten); transition: transform .15s ease; }
.stellenkarte:hover { transform: translateX(4px); }
.stellenkarte .titel { font-weight: 700; font-size: 20px; line-height: 1.25; }
.stellenkarte .meta { color: var(--leise); font-size: 15px; }
.stellenkarte .pfeil { margin-left: auto; flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--gelb); display: grid; place-items: center;
  font-size: 22px; font-weight: 700; }

.band { background: var(--gelb); }
.band .huelle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 34px; padding-bottom: 34px; }
.band h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); }

/* Fuss */
.fuss { background: var(--nacht); color: #c9cacd; font-size: 14px; padding: 28px 0 40px; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.fuss a { color: #fff; }

/* Quiz */
.quiz { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); background: var(--nacht); color: #fff; padding: 22px 0 48px; }
.quiz .huelle { max-width: 680px; }
.fortschritt { height: 8px; background: rgba(255,255,255,.14); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.fortschritt i { display: block; height: 100%; width: 0; background: var(--gelb); border-radius: 99px; transition: width .35s cubic-bezier(.2,.8,.2,1); }
.schritt { font-size: 14px; color: #b9babd; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.frage { font-size: clamp(28px, 6vw, 44px); margin: 14px 0 26px; }
.antworten { display: grid; gap: 12px; }
.antwort { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #2b2c31; color: #fff; border: 2px solid transparent;
  border-radius: var(--r); padding: 18px 18px; min-height: 64px; font: 500 18px/1.35 Rubik, sans-serif; cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease; }
.antwort:hover { border-color: var(--gelb); }
.antwort .bst { flex: 0 0 36px; height: 36px; border-radius: 10px; background: rgba(251,209,0,.16); color: var(--gelb); display: grid; place-items: center; font-weight: 700; }
.antwort.gewaehlt { background: var(--gelb); color: var(--tinte); transform: scale(.985); }
.antwort.gewaehlt .bst { background: var(--tinte); color: var(--gelb); }
.zurueck { background: none; border: 0; color: #b9babd; font: 500 15px Rubik, sans-serif; padding: 14px 0; cursor: pointer; }
.karte-rein { animation: rein .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.ergebnis { text-align: left; }
.ergebnis .du-bist { color: var(--gelb); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.ergebnis h1 { font-size: clamp(44px, 11vw, 84px); margin: 6px 0 16px; color: var(--gelb); }
.ergebnis p { font-size: 19px; color: #e7e7e9; max-width: 36ch; }
.ergebnis .passt { display: inline-block; margin: 6px 0 26px; background: #2b2c31; border-left: 5px solid var(--gelb); padding: 12px 16px; border-radius: 8px; }
.balken { margin: 4px 0 28px; display: grid; gap: 8px; max-width: 420px; }
.balken div { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; font-size: 14px; color: #c9cacd; }
.balken span { display: block; height: 10px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.balken span i { display: block; height: 100%; background: var(--gelb); border-radius: 99px; width: 0; transition: width .8s cubic-bezier(.2,.8,.2,1); }

/* Formular */
.formkarte { background: var(--weiss); color: var(--tinte); border-radius: 20px; padding: 26px 22px; box-shadow: var(--schatten); }
.formkarte h2 { font-size: clamp(26px, 5vw, 34px); margin: 0 0 6px; }
.formkarte .unter { color: var(--leise); margin: 0 0 20px; }
.reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .reihe { grid-template-columns: 1fr; } }
.feld { margin-bottom: 14px; }
.feld label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.feld label small { color: var(--leise); font-weight: 400; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 52px; border: 2px solid var(--linie); border-radius: 12px; padding: 12px 14px;
  font: 400 17px Rubik, sans-serif; color: var(--tinte); background: #fff; transition: border-color .15s ease; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 4px rgba(251,209,0,.55); }
.datei { position: relative; display: flex; align-items: center; gap: 14px; border: 2px dashed var(--linie); border-radius: 12px; padding: 16px; cursor: pointer; }
.datei:hover { border-color: var(--grau); }
.datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.datei .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--gelb-hell); display: grid; place-items: center; font-size: 22px; }
.datei .liste { font-size: 14px; color: var(--leise); }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--leise); margin: 6px 0 18px; }
.haken input { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 1px; accent-color: var(--tinte); }
.fehler { background: #fbe5e5; color: var(--fehler); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-weight: 500; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formkarte .knopf { width: 100%; }
.leise { color: var(--leise); font-size: 14px; }

/* Stelle */
.stellenkopf { background: var(--nacht); color: #fff; padding: 36px 0 44px; }
.stellenkopf h1 { font-size: clamp(34px, 7vw, 64px); margin: 10px 0 10px; }
.stellenkopf .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.stellenkopf .meta span { background: #2b2c31; border-radius: 999px; padding: 6px 12px; font-size: 15px; }
.zwei { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; padding: 36px 0 56px; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } }
.text { white-space: pre-line; font-size: 17px; }
.text h3 { font-size: 20px; }
.stellentext h3 { font: 700 15px/1.2 Rubik, sans-serif; letter-spacing: .08em; text-transform: uppercase; margin: 26px 0 10px;
  display: inline-block; background: var(--gelb); padding: 6px 10px; border-radius: 6px; }
.stellentext h3:first-child { margin-top: 0; }
.stellentext ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.stellentext li { position: relative; padding-left: 26px; }
.stellentext li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 2px;
  background: var(--tinte); transform: rotate(45deg); }
.stellentext p { margin: 0 0 12px; }

/* Danke */
.danke { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); background: var(--gelb); display: grid; place-items: center; padding: 40px 0; }
.danke .haken-gross { width: 88px; height: 88px; border-radius: 50%; background: var(--tinte); color: var(--gelb); display: grid; place-items: center; font-size: 46px; margin-bottom: 20px; }
.danke h1 { font-size: clamp(40px, 9vw, 72px); margin: 0 0 14px; }
.danke p { font-size: 19px; max-width: 34ch; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
