/* Candidate Flow® Bewerberportal · Anmeldung (Tokens aus der Farbwelt B des CF-Brandbooks) */
@font-face { font-family: "Roobert"; font-weight: 300 900; font-style: normal; font-display: swap; src: url("/assets/app/Roobert-VF.woff2") format("woff2"); }
:root {
  --cf-graphit: #24272c; --cf-apricot: #f4b497; --cf-apricot-hover: #ee9f7a; --cf-eisblau: #e8eef5;
  --cf-pfirsich: #f8e9df; --cf-grau-4: #5e626b; --cf-fokus: #006dca; --cf-fehler: #b3261e; --cf-weiss: #fff;
  --cf-grau-1: #eeeff2; --cf-grau-3: #6b6f78; --cf-mint-hell: #f7f9fc; --cf-lav-hell: #fbd9c8; --cf-gruen: #0f7a52; --cf-gruen-f: #d8f5e6;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--cf-eisblau); color: var(--cf-graphit);
  font: 500 16px/1.5 Roobert, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
.buehne { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.karte { width: 100%; max-width: 440px; background: var(--cf-weiss); border-radius: 6px; padding: 32px; }
.karte-marke { margin: 0 0 28px; }
.marke { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--cf-graphit); text-decoration: none; }
.cf-logo { display: block; width: 148px; height: auto; }
.marke-zusatz { padding-left: 12px; border-left: 1px solid #d2d4d9; font-size: 14px; font-weight: 500; line-height: 18px; color: var(--cf-grau-4); }
h1 { margin: 0 0 16px; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 16px; }
.formular p { margin: 0; }
.formular { display: grid; gap: 12px; }
label { font-weight: 600; font-size: 15px; }
input[type="email"], input[type="text"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c9ced6; border-radius: 6px;
  font: inherit; color: inherit; background: var(--cf-weiss);
}
select { appearance: none; padding-right: 40px; background: var(--cf-weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2324272c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
textarea { min-height: 96px; resize: vertical; }
.feld { display: grid; gap: 6px; }
.formular:has(.feld) { gap: 16px; }
.formular + .klein { margin-top: 12px; }
#code { font-size: 24px; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.haken { display: flex; gap: 10px; align-items: center; font-weight: 500; min-height: 44px; }
.haken input { width: 20px; height: 20px; accent-color: var(--cf-graphit); }
.pille {
  min-height: 48px; border: 0; border-radius: 999px; padding: 0 28px; background: var(--cf-apricot);
  color: var(--cf-graphit); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; cursor: pointer;
}
a.pille { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pille:hover { background: var(--cf-apricot-hover); }
.pille.zweit { background: var(--cf-eisblau); }
.pille[disabled] { opacity: 0.6; cursor: progress; }
.textlink { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; color: var(--cf-graphit); text-decoration: underline; cursor: pointer; justify-self: start; }
:is(input, select, textarea, button, a):focus-visible { outline: 3px solid var(--cf-fokus); outline-offset: 2px; }
.klein { font-size: 14px; color: var(--cf-grau-4); margin: 0; }
.hinweis { background: var(--cf-pfirsich); border-radius: 6px; padding: 12px 14px; }
.fehler { color: var(--cf-fehler); margin: 0; }
a { color: inherit; }

/* ---------- Anmeldung, zweispaltig (wie Vorschau) ---------- */
.an-seite { background: var(--cf-weiss); letter-spacing: -0.02em; -webkit-font-smoothing: antialiased; }
.anmeldung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); min-height: 100vh; min-height: 100dvh; }
.an-spalte { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding: 28px 56px; }
.an-kopf { display: flex; align-items: center; height: 44px; }
.an-mitte { display: flex; flex-direction: column; justify-content: center; flex: 1; width: 100%; max-width: 440px; margin: 0 auto; padding: 48px 0; }
.an-figur { display: none; width: 72px; height: auto; margin-bottom: 20px; }
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; }
.an-schritt h1 { margin: 0; font-size: clamp(36px, 4.2vw, 48px); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.lead { margin: 16px 0 0; font-size: 18px; line-height: 1.5; color: var(--cf-grau-4); }
.an-schritt .hinweis { margin: 24px 0 0; font-size: 15px; }
.an-form { display: grid; gap: 20px; margin-top: 36px; }
.an-form .feld { gap: 8px; }
.an-form input[type="email"], .an-form input[type="text"] { min-height: 60px; padding: 14px 20px; font-size: 18px; border-color: #d2d4d9; transition: border-color .15s ease; }
.an-form input:hover { border-color: var(--cf-grau-3); }
.an-form input::placeholder { color: #9a9ea6; }
.an-form .fehler { font-size: 15px; }
.an-form #code { font-size: 26px; letter-spacing: 0.4em; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 60px; padding: 0 28px; border: 0; border-radius: 100px; background: var(--cf-graphit); color: var(--cf-weiss); font: 600 17px/1 Roobert, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: -0.02em; text-decoration: none; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.pill:hover { background: #383c44; }
.pill:active { transform: scale(.99); }
.pill[disabled] { opacity: .6; cursor: progress; }
.pill svg { width: 18px; height: 18px; flex: none; }
.an-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 28px 0 0; font-size: 14px; line-height: 1.4; color: var(--cf-grau-3); }
.an-meta span { display: inline-flex; align-items: center; gap: 6px; }
.an-meta svg { width: 16px; height: 16px; flex: none; color: var(--cf-gruen); }
.an-hinweis { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: 10px; background: var(--cf-mint-hell); font-size: 14px; line-height: 1.45; color: var(--cf-grau-4); }
.an-hinweis p { margin: 0; }
.an-hinweis svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--cf-graphit); }
.an-hinweis a { font-weight: 600; color: var(--cf-graphit); white-space: nowrap; }
.an-zurueck { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 44px; margin: 0 0 28px -10px; padding: 0 14px 0 10px; border: 0; border-radius: 100px; background: none; font: 600 15px/1 Roobert, -apple-system, sans-serif; color: var(--cf-grau-4); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.an-zurueck:hover { background: var(--cf-eisblau); color: var(--cf-graphit); }
.an-zurueck svg { width: 18px; height: 18px; }
.an-schritt .haken { font-size: 15px; }
.an-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; font-size: 14px; line-height: 1.4; color: var(--cf-grau-3); }
.an-fuss nav { display: flex; gap: 12px; }
.an-fuss a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; text-decoration: none; }
.an-fuss a:hover { color: var(--cf-graphit); text-decoration: underline; text-underline-offset: 4px; }

.an-buehne { position: relative; margin: 12px; border-radius: 18px; background: linear-gradient(180deg, #e8eef5 0%, #f8e9df 100%); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 56px 56px 0; }
.an-buehne::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 156px; background: url("/assets/anmeldung/signalkante.svg") repeat-x 0 100% / 192px 156px; z-index: -1; }
.an-buehne .eyebrow { color: var(--cf-grau-4); }
.an-buehne h2 { margin: 0; font-size: 44px; line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; max-width: 520px; text-wrap: balance; }
.an-buehne > p { margin: 16px 0 0; max-width: 460px; font-size: 17px; line-height: 1.5; color: var(--cf-grau-4); }
.an-mock { position: relative; margin: clamp(104px, 15vh, 150px) auto 0; width: min(460px, 100%); padding: 22px 22px 18px; border-radius: 6px; background: var(--cf-weiss); box-shadow: 0 8px 32px rgba(25, 27, 35, .08); }
.an-mock-figur { position: absolute; right: 28px; top: -84px; width: 76px; height: auto; }
.an-mock-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.an-mock-kopf b { display: block; font-size: 18px; line-height: 1.25; font-weight: 600; }
.an-mock-kopf div > span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--cf-grau-3); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 100px; background: var(--cf-eisblau); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.tag.lav { background: var(--cf-apricot); }
.tag.lav-hell { background: var(--cf-lav-hell); }
.tag.ok { background: var(--cf-gruen-f); color: var(--cf-gruen); }
.tag.kontur { background: var(--cf-weiss); box-shadow: inset 0 0 0 1px #d2d4d9; }
.bedarf { display: inline-flex; align-items: center; gap: 6px; }
.bedarf::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e07a52; }
.meter { display: flex; gap: 4px; margin-top: 18px; height: 26px; }
.meter i { flex: 1; border-radius: 3px; background: var(--cf-grau-1); }
.meter i.voll { background: linear-gradient(180deg, #f4b497, #e07a52); }
.meter i.heute { background: var(--cf-graphit); }
.kz-reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.kz { padding: 14px 14px 12px; border-radius: 5px; background: var(--cf-mint-hell); }
.kz b { display: block; font-size: 26px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kz small { font-size: 13px; font-weight: 500; color: var(--cf-grau-3); }
.kz span { display: block; margin-top: 8px; font-size: 12px; line-height: 1.3; color: var(--cf-grau-4); }
.an-mock ul { margin: 16px 0 0; padding: 0; list-style: none; }
.an-mock li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--cf-grau-1); font-size: 14px; line-height: 1.2; font-weight: 600; }
.an-mock li small { display: block; font-size: 12px; line-height: 1.3; font-weight: 500; color: var(--cf-grau-3); }
.an-mock li .tag { margin-left: auto; }
.av { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; font-size: 11px; font-weight: 600; }
.av.a { background: var(--cf-pfirsich); } .av.c { background: #d6deea; } .av.d { background: #f6e6dc; }
.an-abstand { height: clamp(120px, 19vh, 190px); flex: none; }
@media (max-width: 1100px) { .an-spalte { padding: 24px 40px; } .an-buehne { padding: 48px 40px 0; } .an-buehne h2 { font-size: 38px; } }
@media (max-width: 899px) {
  .anmeldung { grid-template-columns: 1fr; background: linear-gradient(180deg, #e8eef5 0, #f8e9df 220px, var(--cf-weiss) 440px); }
  .an-buehne { display: none; }
  .an-figur { display: block; }
  .an-spalte { padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .an-mitte { justify-content: flex-start; padding: 40px 0 32px; }
  .cf-logo { width: 132px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
