/* WUMM Jobs – Bewerbungsseiten im Design des jeweiligen Betriebs.
   Farben kommen pro Firma als CSS-Variablen (siehe <style> im Kopf jeder Stelle). Keine externen Schriften. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --primary: #2D1B69;
  --on-primary: #ffffff;
  --accent: #FFD400;
  --bg: #FFFBF2;
  --card: #ffffff;
  --text: #141414;
  --muted: #5a5d66;
  --line: #e2e1dc;
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* Kopfzeile */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; max-width: 560px; margin: 0 auto; min-height: 64px; }
.top img { max-height: 40px; max-width: 180px; width: auto; }
.top .back { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.top .back:hover { color: var(--text); }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 0 16px; max-width: 528px; }
@media (min-width: 560px) { .progress { margin: 0 auto; } }
.progress span { display: block; height: 100%; background: var(--primary); border-radius: 99px; transition: width .35s ease; }

/* Landing */
.hero { position: relative; color: var(--on-primary); background: var(--primary); overflow: hidden; }
.hero .img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.72) 100%); }
.hero .inner { position: relative; max-width: 560px; margin: 0 auto; padding: 48px 16px 32px; }
.hero.has-img .inner { padding-top: 160px; }
.eyebrow { display: inline-block; background: var(--accent); color: var(--on-accent, #111); font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 5px 10px; border-radius: 99px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(28px, 7.5vw, 40px); line-height: 1.12; margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
.hero p.sub { margin: 0; font-size: 18px; opacity: .94; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); border-radius: 99px; padding: 5px 12px; font-size: 14px; }

.section { padding-top: 26px; }
.section h2 { font-size: 21px; margin: 0 0 12px; font-weight: 750; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.benefits .ic { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #111); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.salary { margin-top: 12px; font-size: 15px; color: var(--muted); }

details.more { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 10px; }
details.more summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
details.more[open] summary::after { content: "–"; }
details.more .body { padding: 0 18px 16px; }
details.more ul { margin: 0; padding-left: 20px; }
details.more li + li { margin-top: 6px; }

.person { display: flex; gap: 14px; align-items: center; }
.person img, .person .ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--line); flex: 0 0 64px; }
.person .ph { display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.person b { display: block; }
.person small { color: var(--muted); display: block; overflow-wrap: anywhere; }

.cta-bar { position: sticky; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(0,0,0,0), var(--bg) 35%); margin-top: 24px; }
.cta-bar .wrap { padding: 0; }
.btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; background: var(--primary); color: var(--on-primary); font-weight: 750; font-size: 18px; padding: 17px 20px; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.14); transition: transform .1s ease, opacity .2s; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.hint { text-align: center; font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* Fragen */
.step { padding-top: 28px; padding-bottom: 40px; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } .progress span { transition: none; } }
.step h2 { font-size: clamp(23px, 6vw, 28px); line-height: 1.2; margin: 0 0 8px; font-weight: 780; }
.step p.lead { color: var(--muted); margin: 0 0 22px; }
.options { display: grid; gap: 12px; }
.options.grid2 { grid-template-columns: 1fr 1fr; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 18px; cursor: pointer; font-size: 17px; font-weight: 600; transition: border-color .15s, background .15s, transform .1s; }
.opt:hover { border-color: var(--primary); }
.opt:active { transform: scale(.985); }
.opt.sel { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--card)); }
.opt .emo { font-size: 26px; line-height: 1; flex: 0 0 auto; }
.options.grid2 .opt { flex-direction: column; justify-content: center; text-align: center; padding: 22px 12px; min-height: 120px; }
.options.grid2 .opt .emo { font-size: 34px; }
.multi-next { margin-top: 18px; }

/* Formular */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; font: inherit; font-size: 17px; padding: 14px 15px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field textarea { min-height: 96px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .row2 { grid-template-columns: 1fr; gap: 0; } }
.file { display: flex; align-items: center; gap: 12px; border: 2px dashed var(--line); border-radius: 12px; padding: 14px; background: var(--card); cursor: pointer; }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file:focus-within { border-color: var(--primary); }
.file span { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { background: #fde8e8; color: #9b1c1c; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 14px; }

.thanks { text-align: center; padding-top: 48px; padding-bottom: 48px; }
.thanks .big { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #111); display: grid; place-items: center; font-size: 42px; margin: 0 auto 20px; font-weight: 800; }
.thanks .person { text-align: left; margin-top: 28px; }
.thanks .more-jobs { margin-top: 22px; font-size: 15px; }

/* Fußzeile */
.foot { max-width: 560px; margin: 0 auto; padding: 28px 16px 36px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .by { width: 100%; text-align: center; opacity: .85; }

/* Karriereseite eines Betriebs */
.jobrows { display: grid; gap: 10px; }
.jobrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; text-decoration: none; transition: border-color .15s, transform .1s; }
.jobrow:hover { border-color: var(--primary); }
.jobrow b { font-size: 17px; line-height: 1.3; }
.jobrow small { color: var(--muted); grid-column: 1; }
.jobrow .go { grid-row: 1 / span 2; grid-column: 2; font-size: 22px; color: var(--primary); }

/* Rechtstexte */
.legal h1 { font-size: 28px; line-height: 1.2; margin: 8px 0 16px; }
.legal h2 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 15px; }
.legal .card { margin-bottom: 18px; }
.todo { background: #FFD400; color: #2D1B69; font-weight: 700; padding: 0 4px; border-radius: 4px; }

/* Demo auf wumm.at: kleiner Hinweis oben */
.is-demo .demo-flag { position: sticky; top: 0; z-index: 5; background: #2D1B69; color: #FFFBF2; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 10px; text-transform: uppercase; }

/* Stellenseite für Leute aus Anzeigen (Florian 20.11.2026): Knopf ganz oben im Bild, Abschluss unten, Kontakt im Footer */
.hero-cta { margin-top: 22px; max-width: 440px; }
.hero .btn { background: var(--accent); color: var(--on-accent, #111); font-size: 19px; box-shadow: 0 10px 26px rgba(0,0,0,.30); }
.hero .hint { color: inherit; opacity: .92; text-align: left; margin-top: 10px; }
.cta-end { padding: 8px 0 4px; }
.cta-end .wrap { padding: 0 16px; }
.cta-end .wrap > * { margin-left: 0; }
.cta-punkte { list-style: none; margin: 0 0 16px; padding: 18px 18px 16px; display: grid; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cta-punkte li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.cta-punkte .ic { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #111); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.foot .kontakt { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 15px; color: var(--text); margin-bottom: 10px; }
.foot .kontakt b { width: 100%; text-align: center; }
.foot .kontakt a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.person small a { text-decoration: underline; text-underline-offset: 2px; }
