/* Recruiting-Funnels (Webwise) – gemeinsames Stylesheet. Markenfarben je Funnel über die Variablen unten. */

@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("fonts/roboto-latin-400.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("fonts/roboto-latin-700.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("fonts/roboto-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("fonts/roboto-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
/* Flaggen-Emojis auch unter Windows (Twemoji, CC-BY 4.0) */
@font-face { font-family: "Flags"; font-display: swap; src: url("fonts/TwemojiCountryFlags.woff2") format("woff2");
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F; }

/* Standardfarben (Rot wie im PACCO-Logo); ein Funnel kann --red, --red-dark, --red-tint, --red-light überschreiben */
:root {
  --red: #C9111E;
  --red-dark: #A80E19;
  --red-tint: #FBE9EA;
  --red-light: #FF6B74;
  --red-focus: rgba(201, 17, 30, .35);
  --on-red-soft: #FCE0E2;
  --ink: #1E1E1F;
  --ink-2: #2B2B2D;
  --steel: #9A9A9E;
  --paper: #EFEFED;
  --white: #FFFFFF;
  --text: #1E1E1F;
  --muted: #5F5F66;
  --line: #DCDCDA;
  --ok: #157A3C;
  --ok-tint: #E7F4EC;
  --radius: 10px;
  --radius-lg: 16px;
  --font: "Flags", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body[data-kind]:not([data-page="start"]) { background: var(--paper); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }
main { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Kopf- und Fußzeile ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo img { height: 40px; width: auto; }
.header-cta { font-weight: 700; font-size: 15px; color: var(--red); text-decoration: none; padding: 8px 14px; border: 2px solid var(--red); border-radius: 999px; }
.header-cta:hover { background: var(--red); color: #fff; }
.header-note { font-size: 13px; color: var(--muted); }
.site-footer { background: var(--ink); color: #B9B9BE; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: #E4E4E7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px; border: 0; border-radius: var(--radius);
  background: var(--red); color: #fff; font-size: 18px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color 150ms ease, transform 150ms ease;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .answer:focus-visible, .header-cta:focus-visible { outline: 3px solid var(--red-focus); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: #F2F2F2; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.text-link { display: inline-block; margin-top: 20px; color: var(--muted); font-size: 15px; text-underline-offset: 3px; }

/* ---------- Antworten (Liste) ---------- */
.answers { display: grid; gap: 10px; margin-top: 24px; }
.answer {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 14px 10px 10px;
  border: 2px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; cursor: pointer;
  font-size: 17px; font-weight: 700; transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.answer:hover { border-color: var(--red); }
.answer-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--red-tint); color: var(--red); transition: inherit; }
.answer-icon svg { width: 24px; height: 24px; }
.answer-label { flex: 1; }
.answer-go { width: 20px; height: 20px; color: var(--steel); flex: none; }
.answer.is-picked { background: var(--red); border-color: var(--red); color: #fff; }
.answer.is-picked .answer-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.answer.is-picked .answer-go { color: #fff; }
.answer-multi .box { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 6px; background: #fff; }
.answer-multi .box svg { width: 16px; height: 16px; color: #fff; stroke-width: 3; opacity: 0; }
.answer-multi[aria-pressed="true"] { border-color: var(--red); background: var(--red-tint); }
.answer-multi[aria-pressed="true"] .box { background: var(--red); border-color: var(--red); }
.answer-multi[aria-pressed="true"] .box svg { opacity: 1; }

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 40px 0 80px; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
/* roter und grauer Keil wie im Logo */
.hero::before { left: 0; right: 0; bottom: 0; height: 48px; background: var(--red); clip-path: polygon(100% 0, 100% 100%, 0 100%); z-index: 1; }
.hero::after { right: 0; top: 0; bottom: 0; width: 46%; background: var(--ink-2); clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 128px; } .hero::before { height: 80px; } .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.hero-title { margin-top: 14px; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
@media (min-width: 640px) { .hero-title { font-size: 54px; } }
@media (min-width: 1100px) { .hero-title { font-size: 64px; } }
.hero-lead { margin-top: 18px; max-width: 520px; font-size: 18px; color: #D6D6DA; }
.hero-points { margin-top: 24px; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.hero-points svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }

/* Startfrage direkt im Hero, ohne eigenen Kasten */
.hero-quiz { max-width: 520px; }
@media (min-width: 960px) { .hero-quiz { justify-self: end; width: 100%; } }
.hero-quiz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: #D6D6DA; }
.hero .step-count { padding: 4px 10px; border-radius: 99px; background: var(--red); color: #fff; letter-spacing: .08em; }
.hero-quiz-title { margin-top: 8px; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
@media (min-width: 640px) { .hero-quiz-title { font-size: 30px; } }
.hero .answers { margin-top: 20px; }
.hero .answer { min-height: 60px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .32); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 4px 14px rgba(0, 0, 0, .25); }
.hero .answer:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .7); }
.hero .answer-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--red); color: #fff; }
.hero .answer-icon svg { width: 20px; height: 20px; }
.hero .answer-go { color: rgba(255, 255, 255, .75); }
.hero .answer.is-picked { background: var(--red); border-color: var(--red); }
.hero .answer.is-picked .answer-icon { background: transparent; color: #fff; }
.hero-quiz-note { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: #B9B9BE; }
.hero-quiz-note img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.hero-quiz-note strong { color: #fff; }

/* ---------- Startseite: Inhalte ---------- */
.facts { background: var(--red); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 22px 12px 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.fact:nth-child(odd) { padding-right: 16px; }
@media (min-width: 900px) { .fact { border-bottom: 0; padding: 28px 24px; border-left: 1px solid rgba(255, 255, 255, .2); } .fact:first-child { border-left: 0; padding-left: 0; } }
.fact strong { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
@media (min-width: 640px) { .fact strong { font-size: 36px; } }
.fact span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-red-soft); }

.band { padding: 64px 0; }
@media (min-width: 960px) { .band { padding: 96px 0; } }
.band-paper { background: var(--paper); }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.label::before { content: ""; width: 24px; height: 3px; background: var(--red); }
.h2 { margin-top: 12px; font-size: 32px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
@media (min-width: 640px) { .h2 { font-size: 40px; } }
.split { display: grid; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.split-head p:last-child, .band-head p:last-child { margin-top: 16px; color: var(--muted); font-size: 17px; }
.band-head { max-width: 720px; }
.band-head .label + .h2 + p { margin-top: 16px; }

.why { display: grid; gap: 4px; }
.why li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.why li:first-child { border-top: 0; padding-top: 0; }
.why-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: #fff; }
.why-icon svg { width: 26px; height: 26px; }
.why h3, .offer h3, .needs h3, .flow h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.why p, .offer p, .needs p, .flow p { margin-top: 4px; color: var(--muted); }

.offer { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 768px) { .offer { grid-template-columns: 1fr 1fr; gap: 16px 24px; } }
.offer li { display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--red); }
.tick { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red-tint); color: var(--red); }
.tick svg { width: 18px; height: 18px; stroke-width: 3; }

.needs { display: grid; gap: 0; counter-reset: none; }
.needs li { display: flex; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.needs li:first-child { border-top: 0; padding-top: 0; }
.num { flex: none; width: 44px; font-size: 28px; font-weight: 700; color: var(--red); letter-spacing: -0.02em; }

.flow { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.flow li { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); }
.flow-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: var(--red); color: #fff; }
.flow-icon svg { width: 24px; height: 24px; }

.closing { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 56px 0; }
.closing::before { content: ""; position: absolute; left: -10%; top: 0; width: 45%; height: 100%; background: var(--red); clip-path: polygon(0 0, 100% 0, 40% 100%, 0 100%); opacity: .9; }
.closing-inner { position: relative; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .closing { padding: 72px 0; } .closing-inner { grid-template-columns: 1fr auto; padding-left: 30%; } }
.closing .h2 { margin-top: 0; }
.closing p { margin-top: 10px; color: #D6D6DA; font-size: 17px; max-width: 560px; }

/* ---------- Fragen-Seiten ---------- */
.quiz { padding: 28px 16px 56px; }
@media (min-width: 640px) { .quiz { padding: 48px 24px 80px; } }
.quiz-card { width: 100%; max-width: 600px; margin: 0 auto; padding: 22px 20px 28px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 28px rgba(0, 0, 0, .06); }
@media (min-width: 640px) { .quiz-card { padding: 28px 36px 36px; } }
.quiz-card.center { text-align: center; }
.step-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; padding: 6px 0; }
.back:hover { color: var(--text); }
.back svg { width: 18px; height: 18px; }
.step-count { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.step-bar { height: 6px; margin: 10px 0 26px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.step-bar span { display: block; height: 100%; border-radius: 99px; background: var(--red); transition: width 500ms ease; }
.quiz-title { font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
@media (min-width: 640px) { .quiz-title { font-size: 30px; } }
.quiz-hint { margin-top: 10px; color: var(--muted); font-size: 16px; }
.quiz-error { min-height: 22px; margin: 12px 0 4px; color: var(--red); font-size: 14px; }
.quiz-card > .btn-block { margin-top: 4px; }

.ok-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 12px; border-radius: 99px; background: var(--ok-tint); color: var(--ok); font-size: 14px; font-weight: 700; }
.ok-badge svg { width: 18px; height: 18px; }

.round-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 4px auto 20px; border-radius: 50%; background: var(--red-tint); color: var(--red); }
.round-icon svg { width: 36px; height: 36px; }
.info-box { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); text-align: left; }
.info-box h2 { font-size: 18px; line-height: 1.3; }
.info-box p { margin-top: 4px; color: var(--muted); }
.info-box .btn { margin-top: 16px; }
.info-strong { display: flex; gap: 14px; align-items: flex-start; background: var(--red-tint); }
.info-strong svg { flex: none; width: 24px; height: 24px; color: var(--red); margin-top: 2px; }
.info-strong p { margin-top: 0; color: var(--text); }

.done-mark { width: 80px; height: 80px; margin: 4px auto 22px; }
.done-mark circle { fill: var(--ok); }
.done-mark path { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 500ms ease-out 200ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .done-mark path { animation: none; stroke-dashoffset: 0; } }

.timeline { margin-top: 28px; text-align: left; }
.timeline li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.timeline li > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); font-weight: 700; color: var(--muted); }
.timeline li.done > span { background: var(--ok); color: #fff; }
.timeline li.done > span svg { width: 18px; height: 18px; stroke-width: 3; }
.timeline h2 { font-size: 17px; line-height: 1.4; }
.timeline p { color: var(--muted); }

/* ---------- Kontaktformular ---------- */
.quiz-wide .contact-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .quiz-wide .contact-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } .quiz-wide .quiz-card { max-width: none; } }
.contact-aside { display: none; padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
@media (min-width: 900px) { .contact-aside { display: block; position: sticky; top: 24px; } }
.contact-aside img { width: 100%; height: auto; border-radius: var(--radius); }
.aside-name { margin-top: 14px; font-weight: 700; font-size: 18px; line-height: 1.3; }
.aside-name span { font-weight: 400; font-size: 14px; color: #B9B9BE; }
.mini-flow { margin-top: 20px; display: grid; gap: 14px; font-size: 15px; color: #E4E4E7; }
.mini-flow li { display: flex; gap: 12px; align-items: flex-start; }
.mini-flow svg { flex: none; width: 20px; height: 20px; color: var(--red-light); margin-top: 2px; }

.form { margin-top: 24px; }
.field { margin-bottom: 16px; }
.field > label:not(.consent) { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); }
.input-box {
  position: relative; display: flex; align-items: center; height: 54px; border: 2px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color 120ms ease;
}
.input-box:focus-within { border-color: var(--ink); }
.input-box > input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text); border-radius: var(--radius); }
.input-box > input::placeholder { color: #A1A1A6; }
.field.has-error .input-box { border-color: var(--red); }
.field .error { display: none; margin-top: 6px; color: var(--red); font-size: 14px; }
.field.has-error .error { display: block; }

.country-btn { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 10px 0 12px; border: 0; border-right: 1px solid var(--line); background: var(--paper); cursor: pointer; border-radius: 8px 0 0 8px; font-size: 16px; }
.country-btn .flag { font-size: 20px; line-height: 1; }
.country-btn .dial { font-weight: 700; }
.country-btn svg { width: 14px; height: 14px; color: var(--muted); }
.country-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: -2px; right: -2px; display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .16); overflow: hidden; }
.country-list.open { display: block; }
.country-list .search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.country-list .search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.country-list .search input { flex: 1; height: 48px; border: 0; outline: 0; font: inherit; }
.country-list ul { margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; }
.country-list li button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; text-align: left; cursor: pointer; font-size: 15px; }
.country-list li button:hover, .country-list li button:focus-visible { background: var(--paper); outline: 0; }
.country-list li button[aria-selected="true"] { background: var(--red-tint); color: var(--red); font-weight: 700; }
.country-list .flag { font-size: 20px; }
.country-list .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--red); flex: none; cursor: pointer; }
.form > .btn { margin-top: 8px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }
.form-note svg { flex: none; width: 18px; height: 18px; color: var(--ok); }
.form-fail { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--red-tint); color: var(--red-dark); font-size: 14px; text-align: center; }
.form-fail.show { display: block; }

.shake { animation: shake 350ms ease; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }

/* Handy: Hero kürzer, damit die erste Frage schneller sichtbar ist */
@media (max-width: 639px) {
  .hero { padding: 28px 0 64px; }
  .hero-title { font-size: 36px; margin-top: 10px; }
  .hero-lead { display: none; }
  .hero-points { margin-top: 18px; gap: 8px; }
  .hero-points li { font-size: 16px; }
  .hero-grid { gap: 24px; }
  .header-cta { font-size: 14px; padding: 6px 12px; }
}

/* Bewerben-Buttons nach den Abschnitten */
.cta-row { margin-top: 40px; }
.split > .cta-row { grid-column: 1 / -1; margin-top: 8px; }
@media (max-width: 639px) { .cta-row .btn { width: 100%; } }

/* Auswertung vor dem Formular */
.checker { position: relative; width: 84px; height: 84px; margin: 4px auto 22px; }
.checker .ring { position: absolute; inset: 0; border-radius: 50%; border: 5px solid var(--red-tint); border-top-color: var(--red); animation: spin 900ms linear infinite; }
.checker svg { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; color: var(--red); }
.checker.is-done .ring { animation: none; border-color: var(--ok); }
.checker.is-done svg { color: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }
.eval-list { margin-top: 24px; display: grid; gap: 10px; text-align: left; }
.eval-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--paper); opacity: .45; transition: opacity 250ms ease; }
.eval-list li.done { opacity: 1; }
.eval-list .state { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: background-color 250ms ease, border-color 250ms ease; }
.eval-list .state svg { width: 14px; height: 14px; color: #fff; stroke-width: 3; opacity: 0; }
.eval-list li.done .state { background: var(--ok); border-color: var(--ok); }
.eval-list li.done .state svg { opacity: 1; }
.eval-list .q { font-weight: 700; }
.eval-list .a { margin-left: auto; color: var(--muted); font-size: 14px; text-align: right; }

/* Konfetti auf der Kontaktseite */
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 40; }
.confetti i { position: absolute; top: -20px; left: 0; width: 8px; height: 14px; border-radius: 2px; }

/* Cookie-Banner (nur aktiv, wenn in config.js eine Pixel-ID steht) */
.consent-banner {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; max-width: 760px; margin: 0 auto;
  display: grid; gap: 16px; padding: 18px 20px; border-radius: var(--radius-lg);
  background: var(--ink); color: #E4E4E7; box-shadow: 0 16px 50px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.5;
  animation: banner-in 300ms ease-out both;
}
@keyframes banner-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 720px) { .consent-banner { grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 20px 24px; } }
.consent-title { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 4px; }
.consent-banner a { color: #fff; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { min-height: 46px; padding: 10px 20px; font-size: 16px; }
.btn-dark { background: #3A3A3D; color: #fff; }
.btn-dark:hover { background: #4A4A4E; }
.link-btn { padding: 0; border: 0; background: none; color: #E4E4E7; font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn[hidden] { display: none; }

/* Seite „Leider nicht“ */
.quiz-card.nofit { padding: 0; overflow: hidden; text-align: center; }
.nofit-top { position: relative; padding: 32px 24px 28px; background: var(--ink); color: #fff; overflow: hidden; }
.nofit-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--red); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.nofit-top > * { position: relative; z-index: 1; }
.nofit-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--red); color: #fff; }
.nofit-icon svg { width: 32px; height: 32px; }
.nofit-top p { margin-top: 10px; color: #D6D6DA; }
.req-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 12px; }
.req-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 14px; font-weight: 700; }
.req-chips svg { width: 18px; height: 18px; color: var(--red-light); }
.nofit-body { padding: 24px 20px 28px; text-align: left; }
@media (min-width: 640px) { .nofit-body { padding: 28px 36px 32px; } }
.nofit-tip { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nofit-tip:first-child { padding-top: 0; }
.nofit-tip svg { flex: none; width: 24px; height: 24px; color: var(--red); margin-top: 2px; }
.nofit-tip p { color: var(--muted); }
.nofit-tip strong { display: block; color: var(--text); font-size: 17px; }
.nofit-body .btn { margin-top: 22px; }
.nofit-body .text-link { display: block; text-align: center; }
