/* =========================================================
   MedStaff – Umfrage für Praxen (index.html auf medstaff-umfrage.de)
   Baut auf basis.css auf: Farben, Schrift und Formen nach dem MedStaff-Logo.
   ========================================================= */

.is-locked, .is-locked body { overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Nav: Logo + Fortschritt ---------- */
.nav--survey { min-width: 0; width: min(100%, 760px); }
.nav__prog { display: flex; align-items: center; gap: 12px; margin-left: 24px; font-size: 14px; color: var(--on-bg-2); }
.nav__prog b { min-width: 3.2em; text-align: right; font-weight: var(--w-black); color: var(--on-bg); font-variant-numeric: tabular-nums; }
.prog { position: relative; width: 140px; height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.prog i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--brand); transition: width .5s var(--ease-out); }

/* ---------- Einleitung ---------- */
.survey .subhero__sub { max-width: 700px; }
.intro { display: grid; gap: 14px; max-width: 1040px; margin: 56px auto 0; padding: 0 20px; }

.variants-hint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .4);
}
.variants-hint__text b { display: block; font-size: 26px; line-height: 1.1; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.variants-hint__text p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: #4a4a4a; }
.variants-hint__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vcard {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  border-radius: 19px;
  background: var(--accent-soft);
  transition: background-color .2s, transform .25s var(--ease-out);
}
.vcard:hover { background: var(--accent-soft-2); transform: translateY(-2px); }
.vcard__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: var(--on-brand); }
.vcard__ico svg, .point__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vcard small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); font-weight: var(--w-black); }
.vcard b { display: block; font-size: 20px; line-height: 1.15; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.vcard em { display: block; margin-top: 2px; font-style: normal; font-size: 14px; line-height: 1.3; color: var(--ink-2); }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.point { padding: 22px 22px 24px; border-radius: 22px; background: var(--panel); }
.point__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--white); color: var(--accent-text); }
.point__ico svg { width: 22px; height: 22px; }
.point b { display: block; margin-top: 16px; font-size: 18px; font-weight: var(--w-black); letter-spacing: -.01em; }
.point p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--on-bg-2); }
.intro__cta { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Abschnitte ---------- */
.survey .page { padding-bottom: 140px; }
.block { max-width: 760px; margin: 120px auto 0; padding: 0 20px; scroll-margin-top: 100px; }
.block__head { display: flex; align-items: center; gap: 16px; margin: 0 4px 24px; }
.block__head--wide { max-width: 720px; }
.block__num {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 26px;
  font-weight: var(--w-black);
}
.block__head h2 { font-size: 34px; line-height: 1.05; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.block__head p { margin-top: 6px; font-size: 16px; line-height: 1.4; color: var(--on-bg-2); }

/* ---------- Fragen ---------- */
.qlist { display: grid; gap: 10px; }
.q {
  padding: 22px 24px 24px;
  border-radius: 19px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, .45);
  scroll-margin-top: 120px;
  transition: box-shadow .25s;
}
.q__label { font-size: 18px; line-height: 1.3; font-weight: var(--w-black); letter-spacing: -.01em; text-wrap: pretty; }
.q__req { font-style: normal; color: var(--accent-text); }
.q__hint { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.q__err { font-size: 14px; color: #c8322f; }
.q__err:not(:empty) { margin-top: 12px; }
.q.is-missing { box-shadow: 0 0 0 2px #e5484d, 0 12px 30px -22px rgba(0, 0, 0, .45); }

/* Auswahl-Chips (echte Radio-/Checkbox-Felder) */
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.opt { position: relative; display: inline-flex; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.opt span {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 13px;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.2;
  transition: background-color .2s, color .2s, transform .15s var(--ease-out);
}
.opt:hover span { background: #e6ebee; }
.opt:active span { transform: scale(.97); }
.opt input:checked + span { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.opt input[type="checkbox"]:checked + span::before {
  content: "";
  width: 14px; height: 14px; margin-left: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.opt input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.opt.is-off { cursor: not-allowed; }
.opt.is-off span { opacity: .4; }

/* Skala: fünf gleich breite Felder */
.opts--scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.opts--scale .opt span { width: 100%; justify-content: center; text-align: center; padding: 10px 4px; font-size: 13.5px; letter-spacing: -.01em; white-space: nowrap; }

/* Textfelder */
.input {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* verhindert Zoom auf iOS */
  transition: border-color .2s, background-color .2s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--accent-text); background: var(--white); }
.input--area { resize: vertical; min-height: 92px; line-height: 1.45; }
.opts + .input.other { margin-top: 10px; }
.input-wrap { position: relative; }
.input-wrap--short { max-width: 240px; }
.input-wrap__suffix { position: absolute; right: 14px; bottom: 13px; font-size: 15px; color: var(--ink-2); pointer-events: none; }
.input-wrap .input { padding-right: 70px; }

/* Regler */
.range { --p: .5; margin-top: 14px; }
.range__val {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  font-weight: var(--w-black);
  letter-spacing: var(--title-tracking);
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.range:not(.is-set) .range__val { font-size: 17px; line-height: 33px; font-weight: var(--w-regular); letter-spacing: 0; color: var(--ink-3); }
.range input {
  -webkit-appearance: none; appearance: none;
  display: block;
  width: 100%;
  height: 36px;
  margin: 6px 0 0;
  background: transparent;
  cursor: pointer;
}
.range input::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand) calc(var(--p) * 100%), var(--surface) 0);
}
.range:not(.is-set) input::-webkit-slider-runnable-track { background: var(--surface); }
.range input::-moz-range-track { height: 8px; border-radius: 99px; background: var(--surface); }
.range input::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--brand); }
.range:not(.is-set) input::-moz-range-progress { background: transparent; }
.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px; margin-top: -10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent-text);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35);
  transition: transform .15s var(--ease-out);
}
.range input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent-text); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.range:not(.is-set) input::-webkit-slider-thumb { border-color: var(--ink-3); }
.range:not(.is-set) input::-moz-range-thumb { border-color: var(--ink-3); }
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(18, 140, 154, .35); outline-offset: 2px; }
.range__sub { margin-top: 12px; padding: 10px 14px; border-radius: 11px; background: var(--surface-2); font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.range__sub:empty { display: none; }
.range__sub b { font-weight: var(--w-black); color: var(--ink); }
.range__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }

/* ---------- Die zwei Varianten ---------- */
.models { max-width: 1302px; margin: 140px auto 0; padding: 0 20px; scroll-margin-top: 100px; }
.models .block__head { margin-bottom: 28px; }
.models__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start; }
/* Zwei Spalten: Abschnitte beider Varianten beginnen auf gleicher Höhe */
.models:not(.is-toggle) .model { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
.models__switch { display: none; }
.models:not(.is-toggle) .only-toggle,
.models.is-toggle .only-split { display: none; }

.model { min-width: 0; padding: 32px 24px 24px; border-radius: 38px; background: var(--panel); scroll-margin-top: 110px; }
.model__head { padding: 0 6px; }
.tag--panel { height: 28px; font-size: 13px; }
.model__head h3 { margin-top: 14px; font-size: 44px; line-height: 1; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.model__head h3 small { font-size: .45em; font-weight: 700; letter-spacing: -.01em; color: var(--on-bg-2); white-space: nowrap; }
.model__head p { margin-top: 10px; font-size: 18px; line-height: 1.4; color: var(--on-bg-2); text-wrap: pretty; }

.steps { display: grid; gap: 14px; margin: 26px 0 0; padding: 0 6px; list-style: none; }
.steps li { display: flex; gap: 14px; }
.steps li > span {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: var(--w-black);
}
.steps b { display: block; font-size: 17px; font-weight: var(--w-black); }
.steps p { margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--on-bg-2); }

.facts {
  display: grid;
  margin: 24px 0 0;
  padding: 6px 20px;
  border-radius: 19px;
  background: var(--white);
  color: var(--ink);
}
.facts > div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 13px 0; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--ink-2); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.4; font-weight: var(--w-black); }

/* Ausprobieren */
.try { margin-top: 28px; }
.try__tabs { display: flex; gap: 4px; width: fit-content; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.try__tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; font-size: 15px; color: var(--on-bg-2); transition: background-color .25s, color .25s; }
.try__tabs button:hover { color: var(--on-bg); }
.try__tabs button.is-active { background: var(--white); color: var(--ink); }
.try__tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.try__tabs .l-short { display: none; }
.try__note { margin: 12px 8px 0; font-size: 14px; line-height: 1.4; text-align: center; color: var(--on-bg-2); }

.stage {
  position: relative;
  display: grid;
  height: 640px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(160deg, #f1fbf6, #d6f2e5);
  color: var(--ink);
}
.view { grid-area: 1 / 1; display: grid; place-items: center; padding: 20px; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.stage[data-view="praxis"] .view--app,
.stage[data-view="app"] .view--praxis { opacity: 0; transform: scale(.97); pointer-events: none; visibility: hidden; }

/* Praxis-Demo im Browserfenster */
.sim {
  display: flex; flex-direction: column;
  width: min(100%, 460px);
  height: 500px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(10, 30, 40, .45);
}
.sim__bar { display: flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.sim__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e6e6e6; }
.sim__url { margin: 0 auto; padding: 4px 14px; border-radius: 99px; background: var(--surface); font-size: 12px; color: var(--ink-2); }
.sim__body { position: relative; flex: 1; overflow: hidden; }
.sim__step {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 22px 22px 18px;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(18px);
  visibility: hidden;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
.sim__step.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.sim__kicker { font-size: 12px; color: var(--ink-2); }
.sim h5 { margin: 4px 0 16px; font-size: 24px; line-height: 1.1; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.sim__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sim__chips button, .sim__days button {
  padding: 10px 14px;
  border-radius: 11px;
  background: var(--surface);
  font-size: 15px;
  transition: background-color .2s, color .2s, transform .15s var(--ease-out);
}
.sim__chips button:hover, .sim__days button:hover { background: #e6ebee; }
.sim__chips button:active, .sim__days button:active { transform: scale(.97); }
.sim__chips button.is-on, .sim__days button.is-on { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.sim__chips--time { margin-top: 10px; }
.sim__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sim__days button { display: grid; justify-items: center; padding: 10px 6px; }
.sim__days small { font-size: 12px; opacity: .75; }
.sim__days b { font-size: 22px; line-height: 1.1; font-weight: var(--w-black); }
.sim__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 16px;
  transition: background-color .2s, opacity .2s, transform .15s var(--ease-out);
}
.sim__btn:hover { background: var(--brand-hover); }
.sim__btn:active { transform: scale(.98); }
.sim__btn:disabled { opacity: .35; cursor: not-allowed; }
.sim__btn svg, .sim__todo svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sim__list { display: grid; gap: 8px; }
.sim__in { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease-out) calc(var(--i) * .15s), transform .5s var(--ease-out) calc(var(--i) * .15s); }
.sim__in.is-in { opacity: 1; transform: none; }
.sim-person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.sim-person img, .sim-person__av { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.sim-person__av { display: grid; place-items: center; background: var(--accent-soft-2); color: var(--accent-text); font-size: 14px; font-weight: var(--w-black); }
.sim-person > div { flex: 1; min-width: 0; }
.sim-person b { display: block; font-size: 15px; font-weight: var(--w-black); }
.sim-person small { display: block; font-size: 12px; color: var(--ink-2); }
.sim-person__score { display: inline-flex !important; align-items: center; gap: 4px; }
.sim-person__score svg { width: 12px; height: 12px; fill: #f5a524; stroke: none; }
.sim__pick { flex: none; padding: 8px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; transition: background-color .2s; }
.sim__pick:hover { background: #000; }

.sim__rows { display: grid; margin: 0 0 14px; }
.sim__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; }
.sim__rows > div + div { border-top: 1px solid var(--line); }
.sim__rows dt { color: var(--ink-2); }
.sim__rows dd { margin: 0; text-align: right; font-weight: var(--w-black); }
.sim__todo { display: flex; gap: 8px; padding: 10px 12px; border-radius: 11px; background: #fff6e5; color: #7a4b00; font-size: 13px; line-height: 1.4; }
.sim__todo--good { background: var(--accent-soft); color: var(--accent-text); }

.sim__step--done, .sim__step--wait { align-items: center; justify-content: center; gap: 0; text-align: center; }
.sim__step--done > p:not(.sim__todo), .sim__step--wait > p { margin-bottom: 14px; font-size: 15px; line-height: 1.45; color: #4a4a4a; }
.sim__step--done .sim-person { width: 100%; margin-bottom: 12px; text-align: left; }
.sim__step--done .sim__todo { text-align: left; }
.sim__step--done h5, .sim__step--wait h5 { margin-bottom: 8px; }
.sim__ok { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.sim__ok svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sim__step.is-active .sim__ok { animation: pop .5s var(--ease-spring) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
/* Wartezeiten: Glocke bzw. Profilbild, Fortschrittsbalken, Countdown */
.sim__bell { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }
.sim__bell svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 10%; }
.sim__step.is-active .sim__bell svg { animation: ring 1.6s var(--ease-out) infinite; }
@keyframes ring { 0%, 50%, 100% { transform: none; } 10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 30% { transform: rotate(8deg); } 40% { transform: rotate(-4deg); } }
.sim__avatar img { width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--accent-soft); }
.sim__step--wait .sim__kicker { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-text); }
.sim__step--wait .sim__kicker svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sim__wait { width: 100%; margin-top: 4px; padding: 12px 14px; border-radius: 11px; background: #fff6e5; color: #7a4b00; text-align: left; }
.sim__wait p { margin: 8px 0 0 !important; font-size: 13px !important; line-height: 1.45; color: inherit !important; }
.sim__wait b { font-weight: var(--w-black); }
.sim__wait [data-count] { font-variant-numeric: tabular-nums; font-weight: var(--w-black); }
.sim__wait-bar { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: rgba(122, 75, 0, .14); }
.sim__wait-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: #e09b1a; transition: width var(--dur) linear; }

.sim__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; height: 44px; padding: 0 10px 0 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.sim__meter { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.sim__meter.is-done { color: var(--accent-text); font-weight: var(--w-black); }
.sim__meter svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sim__reset { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.sim__reset:hover { background: var(--surface); color: var(--ink); }
.sim__reset svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* App der Studierenden im Smartphone-Rahmen */
.app-phone { position: relative; width: 290px; height: 600px; padding: 10px; border-radius: 46px; background: #141414; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.app-phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 36px; background: #f4f7f6; }

/* Studierenden-Simulation im Handy (nutzt die Schritte, Wartezeiten und den Zähler der Praxis-Demo) */
.ssim__status { position: relative; display: flex; align-items: center; justify-content: space-between; flex: none; height: 34px; padding: 0 22px 0 26px; font-size: 12px; }
.ssim__status b { font-weight: var(--w-black); }
.ssim__status i { position: absolute; left: 50%; top: 9px; width: 74px; height: 20px; margin-left: -37px; border-radius: 99px; background: #141414; }
.ssim__status span { width: 22px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); opacity: .8; }
.ssim .sim__step { padding: 10px 16px 14px; }
.ssim h5 { margin: 4px 0 10px; font-size: 21px; line-height: 1.1; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.ssim .sim__kicker { display: inline-flex; align-items: center; gap: 4px; }
.ssim .sim__kicker svg { width: 13px; height: 13px; fill: none; stroke: var(--accent-text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ssim .sim__btn { flex: none; height: 44px; font-size: 15px; }
.ssim .sim__rows { margin-bottom: 12px; }
.ssim .sim__rows > div { padding: 8px 0; font-size: 12.5px; }
.ssim .sim__foot { height: 40px; padding: 0 6px 0 14px; font-size: 12px; background: var(--white); }
.ssim .sim__meter { min-width: 0; font-size: 11.5px; white-space: nowrap; }
.ssim .sim__reset { padding: 6px 8px; }
.ssim .sim__reset span { display: none; }
.ssim .sim__reset svg { width: 16px; height: 16px; }
.ssim .sim__step--done > p:not(.sim__todo), .ssim .sim__step--wait > p { font-size: 14px; }
.ssim__text { margin-bottom: 12px; font-size: 13.5px; line-height: 1.45; color: #4a4a4a; }
.ssim__jobs { display: grid; gap: 10px; padding-bottom: 6px; }
.ssim__job { --u: .172px; position: relative; width: 100%; min-height: calc(669 * var(--u)); text-align: left; font: inherit; cursor: pointer; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .3); transition: transform .2s var(--ease-out), box-shadow .2s; }
.ssim__job:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .35); }
.ssim__job:active { transform: scale(.98); }
.ssim__job .job__price, .ssim__job .job__rate, .ssim__job .job__title { display: block; }
.ssim__job .job__meta { margin-top: calc(30 * var(--u)); }
.ssim__job .job__row > span { white-space: normal; }

.model__rate { margin-top: 36px; }
.model__rate h4 { margin: 0 6px 14px; font-size: 22px; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.model__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.arrow { width: 16px; height: 16px; }

/* Umschalter (Smartphone & Tablet) */
.models.is-toggle .models__grid { grid-template-columns: 1fr; }
.models.is-toggle .model:not(.is-active) { display: none; }
.models.is-toggle .models__switch {
  position: sticky;
  top: 92px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 520px;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(14, 31, 46, .86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 30px -16px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.models__switch button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; font-size: 16px; color: var(--on-bg-2); transition: background-color .25s, color .25s; }
.models__switch button.is-active { background: var(--white); color: var(--ink); font-weight: var(--w-black); }
.sw__state { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .7; }
.models__switch button.is-done .sw__state {
  opacity: 1;
  box-shadow: none;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1f2e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.models__switch button:not(.is-active).is-done .sw__state { background-color: rgba(255, 255, 255, .25); }

/* ---------- Fazit, Warteliste, Absenden ---------- */
.qlist--contact { margin-top: 10px; }
.q--optin { display: grid; gap: 4px; padding: 14px; }
.optin { display: flex; gap: 14px; padding: 12px 10px; border-radius: 13px; cursor: pointer; transition: background-color .2s; }
.optin:hover { background: var(--surface-2); }
.optin input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.optin__box {
  flex: none;
  width: 26px; height: 26px; margin-top: 1px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 2px #cdd6dc;
  transition: background-color .2s, box-shadow .2s;
}
.optin__box--sm { width: 22px; height: 22px; border-radius: 6px; }
input:checked + .optin__box {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1f2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: none;
}
input:focus-visible + .optin__box { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.optin__text b { display: block; font-size: 17px; line-height: 1.3; font-weight: var(--w-black); }
.optin__text small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

.contact { margin: 6px 10px 6px 50px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.field { display: block; }
.field--wide { grid-column: 1 / -1; }
.field > span { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.field .input, .field input { margin-top: 6px; }
.field input { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font: inherit; font-size: 16px; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--accent-text); background: var(--white); }
.consent { position: relative; display: flex; gap: 12px; margin-top: 16px; font-size: 14px; line-height: 1.45; color: #4a4a4a; cursor: pointer; }
.consent a, .submit__note a { text-decoration: underline; text-underline-offset: 2px; }

.submit { display: grid; justify-items: center; gap: 14px; margin-top: 32px; text-align: center; }
.btn--big { height: 56px; padding: 0 30px; font-size: 18px; }
.btn:disabled { opacity: .6; cursor: progress; }
.submit__missing { padding: 10px 16px; border-radius: 11px; background: #fff; color: #c8322f; font-size: 15px; }
.submit__error { max-width: 540px; padding: 14px 18px; border-radius: 14px; background: #fff6e5; color: #5c3a00; font-size: 15px; line-height: 1.5; text-align: left; }
.submit__error b { font-weight: 800; }
.submit__note { max-width: 460px; font-size: 14px; line-height: 1.45; color: var(--on-bg-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Danke ---------- */
.thanks { max-width: 640px; margin: 56px auto 0; padding: 0 20px; }
.thanks__card { display: grid; justify-items: center; gap: 12px; padding: 40px 32px 32px; border-radius: 32px; background: var(--white); color: var(--ink); text-align: center; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .4); }
.thanks__check { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: var(--on-brand); animation: pop .6s var(--ease-spring) both; }
.thanks__check svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thanks h2 { margin-top: 6px; font-size: 36px; font-weight: var(--w-black); letter-spacing: var(--title-tracking); }
.thanks p { font-size: 17px; line-height: 1.5; color: #4a4a4a; }
.thanks__wait { padding: 12px 16px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-text) !important; }
.thanks__share { display: grid; justify-items: center; gap: 12px; width: 100%; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.thanks__share b { font-size: 17px; font-weight: var(--w-black); }
.thanks__again { margin-top: 6px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1099.98px) {
  .variants-hint { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 809.98px) {
  .nav--survey { padding: 0 18px 0 20px; }
  .nav__prog { gap: 10px; margin-left: 16px; }
  .nav__prog-label { display: none; }
  .prog { width: 96px; }

  .intro { margin-top: 40px; padding: 0 12px; }
  .variants-hint { padding: 22px 18px 18px; border-radius: 24px; }
  .variants-hint__text b { font-size: 23px; }
  .variants-hint__cards { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; gap: 10px; }
  .point { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .point b { margin-top: 0; align-self: center; }
  .point p { grid-column: 2; margin-top: 2px; }

  .block { margin-top: 88px; padding: 0 12px; }
  .block__head { gap: 14px; margin: 0 6px 18px; }
  .block__num { width: 48px; height: 48px; font-size: 22px; }
  .block__head h2 { font-size: 28px; }
  .block__head p { font-size: 15px; }
  .q { padding: 18px 16px 20px; border-radius: 17px; }
  .q__label { font-size: 17px; }
  .opt span { min-height: 40px; padding: 8px 14px; font-size: 15px; }
  .opts--scale { grid-template-columns: 1fr; }
  .opts--scale .opt span { justify-content: flex-start; padding: 10px 16px; font-size: 15px; }

  .models { margin-top: 100px; padding: 0 12px; }
  .models.is-toggle .models__switch { top: 88px; }
  .models__switch button { font-size: 15px; }
  .model { padding: 26px 12px 16px; border-radius: 25px; }
  .model__head h3 { font-size: 36px; }
  .model__head p { font-size: 16px; }
  .facts { padding: 4px 16px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .stage { height: auto; min-height: 600px; border-radius: 20px; }
  .view { padding: 14px 10px; }
  .sim { height: 520px; }
  .sim__step { padding: 18px 16px 16px; }
  .app-phone { width: 280px; height: 560px; border-radius: 42px; }
  .app-phone__screen { border-radius: 33px; }
  .model__rate h4 { font-size: 20px; }
  .try__tabs button { padding: 8px 13px; font-size: 14px; white-space: nowrap; }
  .try__tabs .l-long { display: none; }
  .try__tabs .l-short { display: inline; }
  .model__foot .btn { white-space: normal; height: auto; min-height: 48px; padding: 12px 18px; text-align: center; }

  .contact { margin: 4px 4px 4px 10px; }
  .fields { grid-template-columns: 1fr; }
  .thanks__card { padding: 32px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .sim__step, .view, .sim__in, .prog i { transition: none; }
  .sim__step.is-active .sim__bell svg { animation: none; }
  .sim__step.is-active .sim__ok, .thanks__check { animation: none; }
}

/* ---------- Rechtliche Seiten ---------- */
.nav__back { margin-left: auto; padding: 8px 14px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font-size: 15px; font-weight: 700; transition: background-color .2s; }
.nav__back:hover { background: var(--brand-hover); }
.legal mark { padding: 0 4px; border-radius: 4px; background: #fff3c4; color: inherit; }
