:root {
  --purple: #6841bd;
  --purple-dark: #3e2a72;
  --purple-deep: #24183f;
  --magenta: #d91b87;
  --pink: #f6d9eb;
  --lavender: #f2edfb;
  --lavender-2: #e8ddf7;
  --ink: #2d2736;
  --muted: #6f6877;
  --border: #ddd7e5;
  --surface: #ffffff;
  --surface-soft: #fbf9fd;
  --success: #18784a;
  --success-bg: #e6f5ed;
  --warning: #9b5a00;
  --warning-bg: #fff4da;
  --danger: #a91e3a;
  --danger-bg: #fde8ed;
  --shadow: 0 18px 48px rgba(45, 24, 75, .10);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8f6fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8f6fb; color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.top-line { height: 6px; background: linear-gradient(90deg, var(--purple), var(--magenta)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 96px;
  padding: 14px clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(500px, 620px) 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(104, 65, 189, .14);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; text-decoration: none; }
.brand-main-logo { width: 210px; max-height: 54px; object-fit: contain; object-position: left center; flex: 0 0 auto; }
.brand-partners { display: inline-flex; align-items: center; gap: 14px; padding-left: 14px; border-left: 1px solid rgba(104, 65, 189, .18); }
.brand-partners img { width: auto; object-fit: contain; }
.brand-partner-fir { height: 54px; }
.brand-partner-trovarit { height: 34px; }
.main-nav { display: flex; justify-content: center; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 700; color: var(--muted); font-size: .94rem; }
.main-nav a:hover { color: var(--purple); }
.header-meta { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-size: .86rem; }
.header-meta time { font-weight: 800; color: var(--purple-dark); }
.header-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: var(--success-bg); color: var(--success); font-weight: 800; }
.header-meta i { width: 8px; height: 8px; background: var(--success); border-radius: 50%; }

main { overflow: hidden; }
.hero {
  max-width: 1500px;
  margin: 0 auto;
  padding: 76px clamp(22px, 5vw, 80px) 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: 54px;
  align-items: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 20px -14vw auto auto;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,27,135,.14), rgba(104,65,189,.04) 52%, transparent 68%);
  z-index: -1;
}
.hero-kicker, .eyebrow, .dialog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 900;
  color: var(--magenta);
}
.hero h1 { margin: 16px 0 20px; max-width: 940px; font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .99; letter-spacing: -.055em; color: var(--purple-deep); }
.hero-lead { max-width: 850px; margin: 0; font-size: clamp(1.07rem, 1.7vw, 1.32rem); line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  border: 0;
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: linear-gradient(135deg, var(--purple), var(--magenta)); color: white; box-shadow: 0 12px 26px rgba(104,65,189,.23); }
.button.secondary { background: white; color: var(--purple-dark); border: 1px solid var(--border); }
.button.ghost { background: transparent; color: var(--purple-dark); border: 1px solid var(--border); }
.button.large { min-height: 56px; padding: 15px 22px; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.text-button { border: 0; padding: 0; background: none; color: var(--purple); text-decoration: underline; cursor: pointer; font-weight: 800; }
.hero-facts { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(125px, 1fr)); gap: 10px; max-width: 900px; }
.hero-facts span { border-left: 3px solid var(--purple); padding: 2px 10px 2px 13px; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.hero-facts strong { display: block; color: var(--ink); font-size: .96rem; }
.legal-note { margin: 18px 0 0; max-width: 860px; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.hero-prize { background: linear-gradient(145deg, var(--purple-deep), var(--purple-dark)); color: white; border-radius: 30px; padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-prize::after { content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%; right: -90px; top: -100px; background: rgba(217,27,135,.25); }
.prize-label { font-size: .77rem; text-transform: uppercase; letter-spacing: .12em; color: #eadffa; font-weight: 900; }
.prize-icon { margin: 20px 0 10px; width: 58px; height: 58px; position: relative; z-index: 1; }
.prize-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-prize h2 { margin: 0 0 24px; font-size: 1.65rem; line-height: 1.2; max-width: 410px; }
.hero-prize ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.hero-prize li { display: grid; grid-template-columns: 1fr; gap: 3px; border-top: 1px solid rgba(255,255,255,.17); padding-top: 17px; }
.hero-prize li strong { font-size: 1rem; }
.hero-prize li span { color: rgba(255,255,255,.72); line-height: 1.45; font-size: .9rem; }

.value-section { background: white; padding: 80px clamp(22px, 5vw, 80px); border-block: 1px solid var(--border); }
.section-intro { max-width: 880px; margin: 0 auto 38px; text-align: center; }
.section-intro.compact { margin-bottom: 24px; }
.section-intro h2 { margin: 12px 0 12px; color: var(--purple-deep); font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }
.section-intro p { margin: 0 auto; max-width: 760px; color: var(--muted); line-height: 1.65; }
.process-cards { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-cards article { padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface-soft); }
.process-cards article > span { color: var(--magenta); font-weight: 950; font-size: .78rem; letter-spacing: .1em; }
.process-cards h3 { margin: 16px 0 8px; color: var(--purple-dark); }
.process-cards p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .92rem; }
.application-benefit { max-width: 1240px; margin: 28px auto 0; padding: 22px 24px; border-radius: 20px; background: var(--lavender); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.application-benefit > div { display: flex; align-items: center; gap: 16px; }
.benefit-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: white; background: var(--magenta); font-size: 1.45rem; font-weight: 900; flex: 0 0 auto; }
.application-benefit strong { display: block; color: var(--purple-dark); }
.application-benefit p { margin: 4px 0 0; color: var(--muted); }

.application-section { padding: 82px clamp(14px, 3.2vw, 54px); max-width: 1540px; margin: 0 auto; }

.deadline-banner { max-width: 760px; margin: 18px auto 0; padding: 13px 16px; border-radius: 14px; background: var(--lavender); color: var(--purple-dark); display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; }
.deadline-banner strong { color: var(--magenta); }
.deadline-banner span { color: var(--muted); font-size: .86rem; }
.privacy-gate { max-width: 1140px; margin: 0 auto 24px; border: 1px solid var(--border); border-radius: 22px; padding: 26px; background: white; box-shadow: 0 10px 34px rgba(57,34,92,.08); }
.privacy-gate.is-complete { border-color: rgba(104,65,189,.55); box-shadow: 0 10px 34px rgba(104,65,189,.11); }
.privacy-gate-heading { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.privacy-gate-heading .section-index { margin-top: 2px; white-space: nowrap; }
.privacy-gate h3 { margin: 0 0 8px; color: var(--purple-deep); font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.privacy-gate p { margin: 0; color: var(--muted); line-height: 1.55; }
.privacy-gate-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.privacy-gate-actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.privacy-gate-status { color: var(--purple-dark); font-weight: 850; font-size: .86rem; display: flex; align-items: center; gap: 8px; }
.privacy-gate-status span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: var(--lavender); color: var(--purple); }
.privacy-start-button { min-height: 60px; padding: 16px 25px; font-size: 1rem; }
.form-shell { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; transition: opacity .2s ease; }
.form-shell.is-locked { opacity: .28; pointer-events: none; filter: grayscale(.25); }
.stepper { position: sticky; top: 104px; padding: 18px; background: var(--purple-deep); border-radius: 24px; color: white; box-shadow: var(--shadow); }
.stepper-title { font-weight: 900; font-size: 1.05rem; padding: 4px 6px 15px; }
.step-tab { width: 100%; display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; text-align: left; padding: 11px 9px; border: 0; border-radius: 13px; color: rgba(255,255,255,.67); background: transparent; cursor: pointer; }
.step-tab:hover { background: rgba(255,255,255,.07); }
.step-tab.is-active { background: rgba(255,255,255,.12); color: white; }
.step-tab.is-complete .step-number { background: var(--success); color: white; }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.11); font-weight: 900; }
.step-tab strong, .step-tab small { display: block; }
.step-tab strong { font-size: .91rem; }
.step-tab small { font-size: .73rem; margin-top: 2px; color: inherit; opacity: .72; }
.progress-card, .resume-card { margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.08); }
.progress-head { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; }
.progress-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.12); margin: 10px 0; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f77bc2, white); transition: width .25s ease; }
.progress-card p, .resume-card p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.45; font-size: .72rem; }
.resume-card strong { display: block; font-size: .79rem; margin-bottom: 5px; }
.resume-card .text-button { margin-top: 8px; color: white; font-size: .75rem; }
.form-column { min-width: 0; }
#applicationForm { background: white; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.form-step { display: none; padding: clamp(24px, 3.7vw, 52px); }
.form-step.is-active { display: block; }
.section-heading { margin-bottom: 26px; }
.section-index { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--lavender); color: var(--purple); font-weight: 900; font-size: .75rem; }
.section-heading h2 { margin: 11px 0 7px; font-size: clamp(1.75rem, 3vw, 2.55rem); color: var(--purple-deep); letter-spacing: -.03em; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.55; }

.question-card { padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: white; margin-bottom: 18px; transition: border .18s ease, box-shadow .18s ease; }
.question-card.has-error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(169,30,58,.08); }
.question-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.question-title > span:first-child { min-width: 36px; height: 32px; display: grid; place-items: center; padding: 0 8px; border-radius: 10px; background: var(--lavender); color: var(--purple); font-weight: 950; font-size: .82rem; }
.question-title h3 { margin: 0; flex: 1; color: var(--purple-dark); font-size: 1.12rem; }
.required-note, .selection-counter { color: var(--muted); font-size: .74rem; font-weight: 800; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: block; position: relative; }
.field > span, .range-field > span, .stage-fieldset legend { display: block; color: var(--ink); font-weight: 800; font-size: .84rem; margin-bottom: 7px; }
.field b, .stage-fieldset b { color: var(--magenta); }
.field em { color: var(--muted); font-weight: 500; font-style: normal; font-size: .77rem; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: 11px; background: white; padding: 12px 13px; color: var(--ink); outline: none; transition: border .15s ease, box-shadow .15s ease; }
textarea { resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(104,65,189,.11); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.char-count { display: block; margin-top: 5px; text-align: right; color: var(--muted); font-size: .7rem; }
.compact-top { margin-top: 15px; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice, .autonomy, .commitment { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 13px; cursor: pointer; background: var(--surface-soft); }
.choice:hover, .autonomy:hover, .commitment:hover { border-color: #b7a7d2; }
.choice input, .autonomy input, .commitment input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--purple); flex: 0 0 auto; }
.choice:has(input:checked), .autonomy:has(input:checked), .commitment:has(input:checked) { border-color: var(--purple); background: var(--lavender); }
.choice span, .commitment span { line-height: 1.35; }
.choice strong, .choice small, .commitment strong, .commitment small { display: block; }
.choice small, .commitment small { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.warning-choice:has(input:checked) { border-color: var(--danger); background: var(--danger-bg); }
.conditional { margin-top: 14px; padding: 15px; border-radius: 13px; background: var(--lavender); }
.hint { margin: 14px 0 0; display: flex; align-items: flex-start; gap: 8px; color: var(--muted); line-height: 1.45; font-size: .79rem; }
.hint > span { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); color: var(--purple); font-weight: 900; font-size: .7rem; }
.hint.important { color: var(--purple-dark); }
.hint.important > span { background: var(--pink); color: var(--magenta); }
.hint.example { background: var(--surface-soft); border-radius: 11px; padding: 10px 12px; }
.example-top { margin: 0 0 16px; }
.question-intro { margin: -5px 0 17px; color: var(--muted); line-height: 1.55; }
.compliance-card { background: linear-gradient(145deg, #fff, var(--lavender)); }
.risk-warning, .unclear-warning { margin-top: 15px; border-radius: 13px; padding: 14px; display: grid; gap: 4px; }
.risk-warning { background: var(--danger-bg); color: var(--danger); border: 1px solid #f3bdc9; }
.unclear-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #f1d396; }
.risk-warning[hidden], .unclear-warning[hidden], .conditional[hidden] { display: none; }
.risk-warning span, .unclear-warning span { font-size: .82rem; line-height: 1.45; }

.subsection-banner { margin: 32px 0 16px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 15px; background: var(--purple-deep); color: white; }
.subsection-banner > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--magenta); font-weight: 950; }
.subsection-banner strong, .subsection-banner small { display: block; }
.subsection-banner small { color: rgba(255,255,255,.68); margin-top: 2px; }
.process-table { display: grid; gap: 8px; }
.process-row { display: grid; grid-template-columns: .75fr 1.25fr 1.25fr; gap: 8px; }
.process-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 900; color: var(--muted); padding: 0 8px; }
.process-row label { position: relative; }
.process-row label > span { position: absolute; left: 10px; top: 13px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; background: var(--lavender); color: var(--purple); font-size: .72rem; font-weight: 900; z-index: 1; }
.process-row label input { padding-left: 40px; }
.source-list { display: grid; gap: 9px; }
.source-choice { display: grid; grid-template-columns: 20px minmax(150px, .45fr) minmax(230px, 1fr); gap: 10px; align-items: center; padding: 10px 11px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); }
.source-choice:has(input[type="checkbox"]:checked) { border-color: var(--purple); background: var(--lavender); }
.source-choice > input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--purple); }
.source-choice > span { font-weight: 800; font-size: .86rem; }
.source-detail { padding: 9px 11px; background: white; }
.source-detail:disabled { opacity: .45; }
.numbered-inputs { display: grid; gap: 10px; }
.numbered-inputs label { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; }
.numbered-inputs label > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--lavender); color: var(--purple); font-weight: 950; }
.autonomy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.autonomy { flex-direction: column; min-height: 145px; }
.autonomy input { position: absolute; top: 14px; right: 14px; }
.auto-level { font-size: .72rem; font-weight: 950; color: var(--magenta); }
.autonomy strong { margin-top: auto; color: var(--purple-dark); }
.autonomy small { color: var(--muted); }
.acceptance-list { display: grid; gap: 13px; }
.acceptance-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); }
.acceptance-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--purple); color: white; font-weight: 950; }
.sentence-builder { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.sentence-builder label { color: var(--muted); font-size: .72rem; font-weight: 800; }
.sentence-builder input { margin-top: 5px; }
.sentence-preview { grid-column: 2; margin: 8px 0 0; color: var(--purple-dark); font-weight: 800; font-size: .83rem; }
.range-card output { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: var(--magenta); color: white; font-weight: 900; font-size: .8rem; }
.range-field input[type="range"] { padding: 0; border: 0; accent-color: var(--purple); box-shadow: none; }
.range-labels { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); margin-top: 6px; }
.stage-fieldset { margin: 18px 0 0; padding: 16px; border: 1px solid var(--border); border-radius: 14px; display: grid; gap: 9px; }
.stage-fieldset legend { padding: 0 6px; }
.booking-row { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--lavender); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.booking-row strong, .booking-row span { display: block; }
.booking-row span { color: var(--muted); font-size: .78rem; margin-top: 3px; }

.form-navigation { min-height: 82px; border-top: 1px solid var(--border); background: var(--surface-soft); padding: 16px clamp(24px, 3.7vw, 52px); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.autosave-status { opacity: 0; color: var(--success); font-weight: 800; font-size: .8rem; transition: opacity .2s ease; }
.autosave-status.is-visible { opacity: 1; }
.review-status { margin-bottom: 20px; padding: 16px; border-radius: 14px; display: flex; gap: 12px; align-items: center; background: var(--success-bg); color: var(--success); }
.review-status.has-errors { background: var(--danger-bg); color: var(--danger); }
.review-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: currentColor; color: white; font-weight: 950; }
.review-status strong, .review-status span { display: block; }
.review-status span { margin-top: 3px; font-size: .8rem; opacity: .8; }
.review-content { display: grid; gap: 15px; }
.review-group { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.review-group-head { padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; background: var(--lavender); }
.review-group-head h3 { margin: 0; color: var(--purple-dark); font-size: .95rem; }
.review-edit { border: 0; background: none; color: var(--purple); cursor: pointer; font-weight: 850; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); }
.review-item { padding: 13px 15px; background: white; min-width: 0; }
.review-item small, .review-item strong { display: block; }
.review-item small { color: var(--muted); margin-bottom: 4px; }
.review-item strong { word-break: break-word; line-height: 1.45; font-size: .88rem; }
.review-missing { color: var(--danger); font-weight: 700; }
.submission-card { margin-top: 18px; }
.submit-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.technical-note { margin: 15px 0 0; padding: 11px; border-radius: 11px; background: var(--warning-bg); color: var(--warning); line-height: 1.45; font-size: .74rem; }

.contact-section { padding: 70px clamp(22px, 5vw, 80px); display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center; max-width: 1300px; margin: 0 auto; }
.contact-section h2 { margin: 10px 0; color: var(--purple-deep); font-size: clamp(1.8rem, 3vw, 2.75rem); }
.contact-section p { color: var(--muted); }
.contact-card { padding: 24px; border-radius: 20px; background: var(--purple-deep); color: white; display: grid; gap: 8px; }
.contact-card strong { font-size: 1.1rem; }
.contact-card span { color: rgba(255,255,255,.7); }
.partner-strip { padding: 22px clamp(22px, 5vw, 80px); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 32px; background: white; flex-wrap: wrap; }
.partner-strip .partner-logo { display: block; width: auto; object-fit: contain; }
.partner-logo-fir { max-width: 320px; max-height: 90px; }
.partner-logo-trovarit { max-width: 260px; max-height: 58px; }
.partner-logo-edih { max-width: 220px; max-height: 64px; }
.partner-logo-tuwas { max-width: 145px; max-height: 82px; }
footer { padding: 22px clamp(22px, 5vw, 80px); background: var(--purple-deep); color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer img { width: 170px; filter: brightness(0) invert(1); opacity: .9; }
footer p { margin: 0; font-size: .8rem; }
.footer-reset { color: rgba(255,255,255,.8); font-size: .75rem; }

.success-dialog { width: min(620px, calc(100% - 28px)); border: 0; border-radius: 24px; padding: 0; box-shadow: 0 30px 90px rgba(24,13,43,.35); color: var(--ink); }
.success-dialog::backdrop { background: rgba(24,13,43,.68); backdrop-filter: blur(4px); }
.success-dialog { padding: 30px; }
.dialog-close { position: absolute; right: 18px; top: 15px; border: 0; background: var(--lavender); color: var(--purple-dark); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.25rem; }
.success-dialog h2 { margin: 11px 0 11px; color: var(--purple-deep); font-size: 1.7rem; }
.success-dialog p { color: var(--muted); line-height: 1.55; }
.dialog-actions { margin-top: 20px; display: flex; justify-content: flex-end; gap: 10px; }
.success-dialog { text-align: center; }
.success-icon { width: 54px; height: 54px; margin: 0 auto; display: grid; place-items: center; border-radius: 17px; background: var(--success-bg); color: var(--success); font-size: 1.5rem; font-weight: 950; }
.discount-box { margin: 20px 0; padding: 18px; border-radius: 16px; background: var(--lavender); }
.discount-box small, .discount-box strong, .discount-box span { display: block; }
.discount-box strong { margin: 8px 0; font-size: 1.6rem; color: var(--magenta); letter-spacing: .06em; }
.discount-box span { color: var(--muted); font-size: .77rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; z-index: 50; max-width: min(520px, calc(100% - 28px)); padding: 12px 16px; border-radius: 12px; background: var(--purple-deep); color: white; box-shadow: var(--shadow); font-weight: 800; font-size: .84rem; transition: opacity .2s ease, transform .2s ease; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1320px) {
  .site-header { grid-template-columns: minmax(500px, 1fr) auto; }
  .main-nav { display: none; }
  .header-meta { justify-self: end; }
  .hero { grid-template-columns: 1fr; }
  .hero-prize { max-width: 760px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .process-cards { grid-template-columns: repeat(2, 1fr); }
  .form-shell { grid-template-columns: 1fr; }
  .stepper { position: static; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .stepper-title { grid-column: 1 / -1; }
  .progress-card, .resume-card { grid-column: span 2; margin-top: 4px; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { padding: 11px 16px; min-height: 68px; grid-template-columns: 1fr auto; gap: 10px; }
  .brand { gap: 10px; }
  .brand-main-logo { width: 122px; }
  .brand-partners { gap: 8px; padding-left: 10px; }
  .brand-partner-fir { height: 34px; }
  .brand-partner-trovarit { height: 23px; }
  .header-meta time { display: none; }
  .header-meta span { font-size: .7rem; }
  .hero { padding: 48px 20px 45px; }
  .hero h1 { font-size: clamp(2.35rem, 13vw, 3.6rem); }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-actions .button { width: 100%; }
  .value-section { padding: 58px 18px; }
  .process-cards { grid-template-columns: 1fr; }
  .application-benefit, .booking-row { align-items: stretch; flex-direction: column; }
  .application-benefit .button, .booking-row .button { width: 100%; }
  .application-section { padding: 58px 10px; }
  .privacy-gate { padding: 20px 14px; }
  .privacy-gate-heading { grid-template-columns: 1fr; }
  .privacy-gate-options { grid-template-columns: 1fr; }
  .privacy-gate-actions { align-items: stretch; flex-direction: column; }
  .privacy-start-button { width: 100%; }
  .deadline-banner { align-items: flex-start; flex-direction: column; }
  .stepper { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .progress-card, .resume-card { grid-column: 1 / -1; }
  .form-step { padding: 24px 15px; }
  .question-card { padding: 18px 14px; }
  .grid-2, .grid-3, .choice-grid-2, .autonomy-grid, .sentence-builder { grid-template-columns: 1fr; }
  .process-head { display: none; }
  .process-row { grid-template-columns: 1fr; padding: 13px; border: 1px solid var(--border); border-radius: 14px; }
  .source-choice { grid-template-columns: 22px 1fr; }
  .source-choice .source-detail { grid-column: 1 / -1; }
  .acceptance-item { grid-template-columns: 1fr; }
  .acceptance-number { width: 30px; height: 30px; }
  .sentence-preview { grid-column: 1; }
  .review-grid { grid-template-columns: 1fr; }
  .form-navigation { flex-wrap: wrap; padding: 14px 15px; }
  .form-navigation .button { flex: 1; }
  .autosave-status { order: 3; width: 100%; text-align: center; }
  .submit-actions { flex-direction: column; }
  .contact-section { padding: 58px 20px; }
  .partner-strip { flex-wrap: wrap; }
  footer { flex-direction: column; text-align: center; }
}


/* Version 3 – Review 07.08.2026 */
.hero-competition-title {
  display: block;
  width: fit-content;
  font-size: clamp(1.45rem, 2.6vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: none;
  color: var(--magenta);
  font-weight: 950;
}
.hero h1 { margin-top: 20px; }
.prize-value {
  margin: 4px 0 22px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  position: relative;
  z-index: 1;
}
.prize-value small, .prize-value strong { display: block; }
.prize-value small { color: rgba(255,255,255,.7); font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; }
.prize-value strong { margin-top: 4px; font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.05; }
.value-section .section-intro .eyebrow { font-size: 1.02rem; letter-spacing: .13em; }
.process-cards article > span {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--magenta);
}
.process-cards h3 { margin-top: 14px; font-size: 1.13rem; }
@media (max-width: 760px) {
  .hero-competition-title { font-size: clamp(1.25rem, 7vw, 1.8rem); }
  .process-cards article > span { font-size: 1.55rem; }
}

/* Version 3.1 – Prozessualer Weg zur Lösung */
.solution-flow {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  padding: 12px 0 6px;
}
.flow-phase-labels {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 12px;
  margin: 0 0 15px;
}
.flow-phase-labels span {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.phase-selection {
  color: var(--purple-dark);
  background: var(--lavender);
  border: 1px solid var(--border);
}
.phase-sprint {
  color: white;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
}
.flow-steps {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 6px 20px;
}
.flow-steps::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 1%;
  right: 1%;
  top: 19%;
  bottom: 9%;
  background: linear-gradient(90deg, rgba(106,67,192,.07), rgba(216,27,140,.12));
  clip-path: polygon(0 0, 100% 20%, 100% 80%, 0 100%);
  border-radius: 24px;
}
.flow-steps::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  top: 67px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  opacity: .32;
  border-radius: 999px;
}
.flow-step {
  position: relative;
  min-width: 0;
  text-align: center;
  padding: 0 10px 20px;
}
.flow-number {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--purple);
  box-shadow: 0 10px 26px rgba(82,53,137,.12);
  color: var(--purple-deep);
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}
.flow-step:nth-child(n+3) .flow-number {
  border-color: var(--magenta);
  color: var(--magenta);
}
.flow-content {
  min-height: 214px;
  padding: 20px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 22px rgba(57,34,92,.055);
}
.flow-content h3 {
  margin: 0 0 8px;
  color: var(--purple-dark);
  font-size: 1.08rem;
  line-height: 1.2;
}
.flow-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--purple-dark);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.2;
}
.flow-step:nth-child(n+3) .flow-meta {
  background: rgba(216,27,140,.09);
  color: var(--magenta);
}
.flow-content p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.52;
}
@media (max-width: 1080px) {
  .flow-phase-labels { display: none; }
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
    padding: 6px 0;
  }
  .flow-steps::before {
    left: 40px;
    right: auto;
    top: 5px;
    bottom: 5px;
    width: 66px;
    clip-path: polygon(12% 0, 88% 0, 70% 100%, 30% 100%);
  }
  .flow-steps::after {
    left: 72px;
    right: auto;
    top: 46px;
    bottom: 46px;
    width: 3px;
    height: auto;
  }
  .flow-step {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
    text-align: left;
    padding: 12px 0;
  }
  .flow-number { margin: 0 auto; }
  .flow-content { min-height: 0; text-align: left; }
  .flow-meta { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .flow-step { grid-template-columns: 94px minmax(0, 1fr); }
  .flow-number { width: 64px; height: 64px; font-size: 2rem; border-width: 3px; }
  .flow-steps::before { left: 22px; width: 50px; }
  .flow-steps::after { left: 46px; top: 36px; bottom: 36px; }
  .flow-content { padding: 16px 14px; }
  .flow-content h3 { font-size: 1rem; }
}


/* Version 3.2 – Detailoptimierungen Bewerbungsformular */
/* Pflichtangaben werden über das Pflichtfeld-Badge hervorgehoben; keine zusätzliche farbige Seitenlinie. */
.question-card:has(input[required], select[required], textarea[required], [data-required-commitment]):not(:has(.required-note)) .question-title h3::after {
  content: "Pflichtfeld";
  display: inline-flex;
  margin-left: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--magenta);
  font-size: .66rem;
  font-weight: 900;
  vertical-align: middle;
  letter-spacing: .01em;
}
.required-note {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--magenta);
  font-weight: 900;
}
.field:has(input[required], select[required], textarea[required]) > span { color: var(--purple-dark); }
.field:has(input[required], select[required], textarea[required]) > span b,
.stage-fieldset legend b { font-size: 1.08em; font-weight: 950; }

/* 2.3 – Beispiel direkt im Prozessraster */
.process-example-row {
  margin-bottom: 4px;
  padding: 10px;
  border: 1px solid #dbcfea;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--purple-dark);
  font-size: .79rem;
  line-height: 1.42;
}
.process-example-row > div { min-width: 0; }
.process-example-row strong { display: block; margin-top: 5px; }
.example-badge {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: white;
  color: var(--magenta);
  font-size: .66rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* 2.10 – Autonomiegrade als klar erkennbare Zahlenfolge */
.auto-level {
  font-size: clamp(1.9rem, 3.3vw, 2.65rem);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 950;
  color: var(--magenta);
}
.autonomy { min-height: 165px; }

@media (max-width: 760px) {
  .process-example-row { padding: 12px; }
  .process-example-row > div + div { margin-top: 7px; }
}

@media (max-width: 560px) {
  .site-header { position: relative; grid-template-columns: 1fr; }
  .brand { flex-wrap: wrap; }
  .brand-partners { border-left: 0; padding-left: 0; width: 100%; }
  .brand-partner-fir { height: 32px; }
  .brand-partner-trovarit { height: 22px; }
  .header-meta { justify-self: start; }
}
