/* Bewerbungsformular Vertrieb — Mischung aus dem alten Look (digitalxresults.de/termin: Papier-Grund,
   Knopf in Tinte, Blau nur als Akzent) und dem Hub-Look „Glas“ (seit 29-11-2026): Glas-Karte mit
   Lichtkante und weitem Schatten, Rundung 24 px, Felder/Antworten/Knöpfe als Pille, zwei leise
   Lichtquellen im Grund. Eine Frage pro Schritt. Schrift Inter, selbst ausgeliefert (keine Google-Fonts). */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/bewerbungen/datei/inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/bewerbungen/datei/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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 {
  --paper: #F5F3ED; --ink: #0E1533; --ink-soft: #575C72;
  --accent: #2563EB; --accent-deep: #1D4ED8;
  --line: rgba(14, 21, 51, .1); --feld: #FAFAF7;
  --good: #1F9D62; --bad: #D2483F;
  --pille: 999px; --ring: inset 0 0 0 1px var(--line);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(56rem 36rem at 0% 0%, rgba(37, 99, 235, .10), transparent 60%),
    radial-gradient(56rem 36rem at 100% 100%, rgba(55, 102, 194, .07), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Kopf, Hero */
.fhead { display: flex; justify-content: center; padding: 28px 0 6px; }
.marke { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; }
.fhero { max-width: 860px; margin: 0 auto; padding: 26px 20px 0; text-align: center; }
.fh1 {
  font-weight: 700; font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.45rem); line-height: 1.08;
  letter-spacing: -.03em; text-wrap: balance; max-width: 24ch; margin: 0 auto;
}
.acc { font-style: italic; color: var(--accent); }
.fsub {
  font-size: clamp(.98rem, .92rem + .3vw, 1.0625rem); line-height: 1.5; color: var(--ink-soft);
  max-width: 36rem; margin: .7rem auto 0; text-wrap: pretty;
}
.fbook { padding: clamp(1.2rem, 3vw, 2rem) 0 clamp(2.4rem, 6vw, 3.8rem); }
.fwrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* Karte */
.bk {
  max-width: 500px; margin: 0 auto; border-radius: 24px; font-size: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(14, 21, 51, .08), 0 30px 60px -34px rgba(14, 21, 51, .32);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
}
.qzb__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 1rem; }
.qzb__head b { display: block; font-weight: 600; font-size: 1.02rem; line-height: 1.2; letter-spacing: -.015em; }
.qzb__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .4rem; font-size: .8125rem; color: var(--ink-soft); }
.qzb__meta span { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--pille); background: var(--feld); box-shadow: var(--ring); }
.qzb__meta svg { width: 13px; height: 13px; }
.qzb__back {
  flex: none; display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; margin: -10px -8px 0 0;
  font-size: .8125rem; font-weight: 500; color: var(--ink-soft); background: none; border: 0; padding: 0 8px; border-radius: var(--pille);
}
.qzb__back:hover { color: var(--ink); }
.qzb__back svg { width: 14px; height: 14px; }
.qzb__bar { height: 3px; margin: 0 1.5rem; border-radius: var(--pille); background: var(--line); overflow: hidden; }
.qzb__bar i { display: block; height: 100%; width: 0; border-radius: var(--pille); background: var(--accent); transition: width .6s var(--ease); }

.qzb__body { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem 1.5rem 1.5rem; }
.qzb__body.neu { animation: qzin .3s ease-out; }
@keyframes qzin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.bk__field { display: flex; flex-direction: column; gap: .9rem; }
.qzb__q { display: block; font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.qzb__hint { font-size: .84rem; color: var(--ink-soft); margin-top: -.3rem; }

/* Eingabefeld */
.in {
  width: 100%; height: 48px; padding: 0 1.125rem; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--feld); border: 1px solid var(--line); border-radius: var(--pille);
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
.in::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
.in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); background: #fff; }
.in.is-bad { border-color: var(--bad); }
.bk__err { font-size: .8125rem; color: var(--bad); font-weight: 500; margin-top: -.4rem; padding-left: 1.125rem; }

/* Antwort-Kacheln (Einfachauswahl) — ruhig, Auswahl in Tinte wie der Knopf */
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%;
  min-height: 48px; padding: .55rem 1.125rem; text-align: left; font-size: 15px; font-weight: 500;
  background: var(--feld); border: 1px solid var(--line); border-radius: 24px;
  transition: border-color .16s, background .16s, color .16s, box-shadow .16s;
}
.opt:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); background: #fff; }
.opt svg { width: 16px; height: 16px; flex: none; opacity: 0; }
.opt.is-sel { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 22px -12px rgba(14, 21, 51, .5); }
.opt.is-sel svg { opacity: 1; }

/* Checkbox */
.check {
  display: flex; align-items: flex-start; gap: .7rem; padding: .8rem .9rem; cursor: pointer;
  background: var(--feld); border: 1px solid var(--line); border-radius: 18px; font-size: 14px; line-height: 1.45;
}
.check input {
  flex: none; appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 6px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent); background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }

/* Knopf */
.bk__btn {
  display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; height: 48px;
  border-radius: var(--pille); background: linear-gradient(180deg, #1b2550, var(--ink)); color: #fff; font-weight: 600; font-size: 15px; border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 26px -12px rgba(14, 21, 51, .55);
  transition: background .16s;
}
.bk__btn:hover { background: linear-gradient(180deg, #232e5e, #141c40); }
.bk__btn svg { width: 15px; height: 15px; }
.bk__btn[disabled] { cursor: progress; background: #1b2550; box-shadow: none; }
.bk__spin { display: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.bk__btn[disabled] .bk__spin { display: inline-block; }
.bk__btn[disabled] svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.bk__legal { font-size: .75rem; line-height: 1.45; color: var(--ink-soft); text-align: center; margin-top: -.3rem; }
.bk__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.bk__fehler { font-size: .84rem; color: var(--bad); font-weight: 500; text-align: center; }

/* Fertig */
.fertig { text-align: center; padding: .6rem 0 .4rem; }
.fertig i {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%;
  background: color-mix(in srgb, var(--good) 12%, #fff); color: var(--good);
}
.fertig i svg { width: 24px; height: 24px; }
.fertig b { display: block; font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: .35rem; }
.fertig p { color: var(--ink-soft); font-size: .93rem; text-wrap: pretty; }

/* Fuß */
.ffoot { padding: 2rem 20px 2.2rem; text-align: center; font-size: .8125rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.ffoot:empty { display: none; }
.ffoot a { color: inherit; text-decoration: none; }
.ffoot a:hover { color: var(--ink); }
.ffoot span { margin: 0 .45rem; opacity: .5; }

/* Impressum, Datenschutz */
a.marke { color: inherit; text-decoration: none; }
.recht { max-width: 680px; width: 100%; margin: 0 auto; padding: 34px 20px 3rem; }
.recht .fh1 { text-align: left; margin: 0 0 1.4rem; max-width: none; }
.recht h2 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; margin: 1.8rem 0 .5rem; }
.recht p { font-size: .93rem; line-height: 1.65; color: var(--ink); margin: 0 0 .8rem; text-wrap: pretty; }
.recht a { color: var(--accent-deep); text-underline-offset: 2px; }
.recht .stand { color: var(--ink-soft); font-size: .84rem; margin-top: -.8rem; }
.recht .zurueck { margin-top: 2.2rem; }

@media (max-width: 560px) {
  .qzb__head { padding: 1.1rem 1.1rem .9rem; }
  .qzb__bar { margin: 0 1.1rem; }
  .qzb__body { padding: 1.5rem 1.1rem 1.4rem; }
  .qzb__q { font-size: 1.125rem; }
  .fhead { padding: 22px 0 8px; }
  .fhero { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .qzb__body.neu { animation: none; }
  .qzb__bar i { transition: none; }
}
