/* ==========================================================================
   Zirkus Jobs: Talent-Check und Bewerbung. Hell und ruhig, damit nichts vom Lesen ablenkt.
   Die Jobs-Seite selbst liegt als Code-Modul in WordPress (wordpress/jobs-code-modul.txt).
   Schriften nur lokal. Animiert wird nur transform und opacity.
   ========================================================================== */
:root {
  --blau: #001F51;
  --blau-tief: #00153a;
  --blau-hoch: #072a63;
  --rose: #FF006E;
  --rose-stark: #D6005E;
  --schnee: #FDF8F8;
  --weiss: #FFFFFF;
  --text: #001F51;
  --leise: rgba(0, 31, 81, .68);
  --linie: rgba(0, 31, 81, .14);
  --hell-leise: rgba(255, 255, 255, .78);
  --hell-linie: rgba(255, 255, 255, .18);

  --kopf: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --fliess: 'Quicksand', 'Helvetica Neue', Arial, sans-serif;
  --rand: clamp(16px, 5vw, 56px);
  --breit: 1120px;
  --schmal: 640px;
  --rund: 16px;
  --sanft: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--schnee); color: var(--text); font-family: var(--fliess); font-size: 17px; font-weight: 500; line-height: 1.6; overflow-wrap: break-word; }
h1, h2, h3 { margin: 0; font-family: var(--kopf); color: inherit; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }

/* Bausteine */
.eyebrow { font-family: var(--kopf); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hell-leise); }
.eyebrow--dunkel { color: var(--rose-stark); }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--rose-stark); color: var(--weiss); font-family: var(--kopf); font-weight: 800; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .2s var(--sanft), opacity .2s; }
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: scale(.98); }
.knopf:disabled { opacity: .6; cursor: progress; transform: none; }
.knopf--gross { min-height: 58px; padding: 16px 34px; font-size: 1.1rem; }
.pfeil { display: inline-flex; gap: 8px; font-weight: 700; color: var(--rose-stark); text-underline-offset: 3px; }
.pfeil::after { content: '→'; transition: transform .2s var(--sanft); }
.pfeil:hover::after { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; padding: 7px 14px; background: var(--weiss); border-radius: 12px; }
.logo img { height: 28px; width: auto; }

/* ---------- Test und Bewerbung ---------- */
.app { min-height: 100dvh; }
.leiste { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 10px var(--rand); background: var(--blau); }
.leiste .logo { padding: 5px 11px; border-radius: 10px; }
.leiste .logo img { height: 24px; }
.fort { flex: 1 1 200px; color: var(--hell-leise); font-size: .84rem; font-weight: 700; }
.fort__text { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; }
.fort__balken { height: 6px; overflow: hidden; background: var(--hell-linie); border-radius: 999px; }
.fort__balken span { display: block; height: 100%; width: 0; background: var(--rose); border-radius: 999px; transition: width .35s var(--sanft); }
.rahmen { max-width: var(--schmal); margin: 0 auto; padding: clamp(24px, 6vw, 56px) var(--rand) 64px; }
.ansicht h1 { font-size: clamp(1.7rem, 5.6vw, 2.5rem); font-weight: 900; line-height: 1.1; }
.ansicht .eyebrow + h1 { margin-top: 8px; }
.ansicht > .knopf, .ansicht > .pfeil { margin-top: 26px; }
.lead-hell { margin-top: 16px; font-size: 1.08rem; }
.lead-hell a, .formular a, .leise a { color: var(--rose-stark); font-weight: 700; }
.leise { margin-top: 14px; color: var(--leise); font-size: .95rem; }

.zurueck { margin: 0 0 12px -8px; padding: 8px; background: none; border: 0; color: var(--leise); font-weight: 700; cursor: pointer; }
.zurueck:hover { color: var(--blau); }
.ansicht h1.frage { font-size: clamp(1.28rem, 4.4vw, 1.7rem); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.optionen { display: grid; gap: 10px; margin-top: 22px; }
.option { display: flex; gap: 14px; align-items: flex-start; width: 100%; min-height: 56px; padding: 15px 16px; text-align: left; line-height: 1.4; background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--rund); cursor: pointer; transition: transform .15s var(--sanft); }
@media (hover: hover) { .option:hover { border-color: var(--blau); } } /* am Handy bliebe der Rahmen sonst auf der nächsten Frage stehen */
.option:active { transform: scale(.99); }
.option__punkt { flex: none; width: 20px; height: 20px; margin-top: 2px; border: 2px solid var(--linie); border-radius: 50%; }
.option[aria-pressed="true"] { border-color: var(--rose-stark); background: #fff0f6; }
.option[aria-pressed="true"] .option__punkt { border: 6px solid var(--rose-stark); }

.formular { display: grid; margin-top: 24px; }
.formular > label:not(.haken), .wahl legend { margin: 16px 0 6px; font-family: var(--kopf); font-size: .95rem; font-weight: 800; }
.formular > label:first-child { margin-top: 0; }
.frei { font-family: var(--fliess); font-weight: 500; color: var(--leise); }
.formular input:not([type]), .formular input[type="text"], .formular input[type="email"], .formular input[type="tel"], .formular select { width: 100%; min-height: 50px; padding: 11px 14px; background: var(--weiss); border: 2px solid var(--linie); border-radius: 12px; }
.formular input:focus, .formular select:focus { border-color: var(--blau); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.haken { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .96rem; line-height: 1.45; cursor: pointer; }
.haken input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rose-stark); }
.formular .knopf { margin-top: 22px; width: 100%; }
.meldung { margin-top: 16px; padding: 12px 14px; background: #fff0f6; border-left: 4px solid var(--rose-stark); border-radius: 6px; font-weight: 700; }
.wahl { margin: 0; padding: 0; border: 0; min-width: 0; }
.wahl legend { padding: 0; margin-top: 0; }
.wahl__punkt { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; padding: 13px 14px; background: var(--weiss); border: 2px solid var(--linie); border-radius: 12px; cursor: pointer; }
.wahl__punkt:has(input:checked) { border-color: var(--rose-stark); background: #fff0f6; }
.wahl__punkt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rose-stark); }
.wahl__punkt strong { display: block; font-family: var(--kopf); font-weight: 800; line-height: 1.25; }
.wahl__punkt small { display: block; margin-top: 2px; font-size: .9rem; color: var(--leise); }

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