/* Visual layer for this configurator only. No scripts, imports or remote assets.
   Shared partner styles and all application behavior remain unchanged. */
@font-face {
  font-family: 'woschn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/woschn-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'woschn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/woschn-Bold.otf') format('opentype');
}

body.standortcheck {
  --check-ink: #181818;
  --check-muted: #454545;
  --check-line: #d9d9d6;
  --check-surface: #f3f3f0;
  --check-accent-wash: #f3f0ff;
  --check-focus: #4000ff;
  --check-success-duration: 640ms;
  --check-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --text-dark: var(--check-ink);
  --text-medium: #282828;
  --text-light: var(--check-muted);
  --border: var(--check-line);
  --check-font: 'woschn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--check-font);
  font-size: 18px;
  font-weight: 400;
  color: var(--check-ink);
  background: #fff;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.standortcheck :is(button, input, select, textarea) {
  font-family: var(--check-font);
  caret-color: var(--check-focus);
}
.standortcheck ::selection { background: #ded5ff; color: #202020; }
.standortcheck #cookie-banner { font-family: var(--check-font) !important; }

/* Single-column form. No side image, decorative panel or replacement artwork. */
.standortcheck .konfig-header {
  height: 76px;
  padding: 0 32px;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--check-line);
}
.standortcheck .konfig-header .logo img { height: 27px; }
.standortcheck .konfig-header .close-link {
  min-height: 44px;
  font-size: 1rem;
  font-weight: 400;
  gap: 8px;
}
.standortcheck .konfig-layout {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 76px;
}
.standortcheck .konfig-visual {
  display: none;
}

/* One reading column, with the question leading rather than its containers. */
.standortcheck .konfig-form { padding: 44px 32px 56px; }
.standortcheck .konfig-form-inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.standortcheck .konfig-progress { gap: 16px; align-items: center; margin-bottom: 28px; }
.standortcheck .progress-count { flex: 0 0 auto; font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--primary); line-height: 1.5; }
.standortcheck .progress-track { display: flex; flex: 1; align-items: center; gap: 6px; min-width: 0; }
.standortcheck .progress-dot,
.standortcheck .progress-dot.active {
  flex: 1;
  width: auto;
  height: 4px;
  border-radius: 2px;
  background: var(--check-accent-wash);
  transition: background-color 160ms ease;
}
.standortcheck .progress-dot.done { background: var(--primary); }
.standortcheck .progress-dot.active { background: var(--primary); }
.standortcheck .step-label {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--primary);
}
.standortcheck .konfig-step h2 {
  margin-bottom: 16px;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
}
/* Headings receive focus for screen-reader orientation, not as input controls. */
.standortcheck .konfig-step h2[tabindex="-1"]:focus { outline: none; }
.standortcheck .konfig-step .subtitle {
  max-width: 56ch;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.standortcheck .konfig-step:not([data-step="3"]) h2 { margin-bottom: 24px; }
.standortcheck .konfig-step h2:has(+ .step-hint:not(:empty)) { margin-bottom: 8px; }
.standortcheck #concernTitle { margin-bottom: 36px; }
.standortcheck .step-hint { font-size: 1.0625rem; line-height: 1.5; color: var(--check-muted); margin: 0 0 24px; }
.standortcheck .step-hint:empty { display: none; }
.standortcheck .concern-options { gap: 0; border-top: 1px solid var(--check-line); }
.standortcheck .concern-option {
  min-height: 72px;
  padding: 18px 16px;
  border: 0;
  border-bottom: 1px solid var(--check-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  gap: 20px;
  transform: none;
  transition: background-color 140ms ease, color 140ms ease;
}
.standortcheck .concern-option > span:first-child { flex: 1; }
.standortcheck .concern-option > span:last-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--primary);
}
.standortcheck .concern-option:hover { background: #fff; }
.standortcheck .concern-option[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}
.standortcheck .concern-option[aria-pressed="true"] > span:last-child { color: #fff; }
.standortcheck .concern-option:active { transform: none; background: #eeedf0; }
.standortcheck .concern-reassurance {
  text-align: left;
  font-size: 1rem;
  margin-top: 24px;
}
.standortcheck .konfig-step[data-step="-3"] .concern-reassurance {
  text-align: center;
  font-size: 0.875rem;
}

/* Existing counters and disclosures, presented as aligned equipment rows. */
.standortcheck .equipment-list { gap: 0; border-top: 1px solid var(--check-line); }
.standortcheck .equipment-card,
.standortcheck .equipment-card.active {
  border: 0;
  border-bottom: 1px solid var(--check-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.standortcheck .equipment-row { padding: 20px 0; gap: 14px; }
.standortcheck .equipment-card.active { border-bottom-color: var(--primary); }
.standortcheck .equipment-card.active .equipment-name,
.standortcheck .equipment-card.active .equipment-count { color: var(--primary); }
.standortcheck .equipment-card.active .equipment-count { background: transparent; }
.standortcheck .equipment-name { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.standortcheck .equipment-desc { font-size: 1rem; color: var(--check-muted); }
.standortcheck .equipment-counter { gap: 3px; }
.standortcheck .equipment-counter-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c6c6c4;
  background: #fff;
  color: var(--check-ink);
  box-shadow: none;
}
.standortcheck .equipment-counter-btn--plus { background: var(--primary); border-color: var(--primary); color: #fff; }
.standortcheck .equipment-counter-btn:disabled { background: #f5f5f3; border-color: #dededa; color: #999; opacity: 1; }
.standortcheck .equipment-count {
  font-family: var(--check-font);
  font-size: 1.375rem;
  font-weight: 700;
  width: 46px;
  border-radius: 4px;
}
.standortcheck .equipment-details-inner { padding: 0; }
.standortcheck .equipment-details-inner label { padding-top: 0; border-top: 0; font-size: 1rem; font-weight: 700; }
.standortcheck .equipment-details-inner label span { color: var(--check-muted); }
.standortcheck .check-field-hint { margin: -8px 0 24px; font-size: 1rem; line-height: 1.6; color: var(--check-muted); }
.standortcheck .equipment-selection-hint { margin-top: 20px; font-size: 1rem; color: var(--check-muted); }
/* Keep count feedback for screen readers without a second visible instruction. */
.standortcheck .check-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Familiar native fields, consistent borders and visible keyboard focus. */
.standortcheck .form-group { gap: 20px; }
.standortcheck .form-field { gap: 8px; }
.standortcheck .form-field label { font-size: 1rem; font-weight: 700; }
.standortcheck .form-field input,
.standortcheck .form-field select,
.standortcheck .form-field textarea,
.standortcheck .manufacturer-select,
.standortcheck .address-input {
  min-height: 52px;
  border: 1px solid #b8b8b5;
  border-radius: 4px;
  background-color: #fff;
  color: var(--check-ink);
  box-shadow: none;
  font-size: 1.125rem;
  font-weight: 400;
  transition: border-color 140ms ease;
}
.standortcheck .form-field input::placeholder,
.standortcheck .form-field textarea::placeholder,
.standortcheck .address-input::placeholder { color: var(--check-muted); opacity: 1; }
.standortcheck .form-field input:focus,
.standortcheck .form-field select:focus,
.standortcheck .form-field textarea:focus,
.standortcheck .manufacturer-select:focus,
.standortcheck .address-input:focus {
  border-color: var(--check-focus);
  outline: 2px solid var(--check-focus);
  outline-offset: 2px;
  box-shadow: none;
}
/* The collapsing details clip overflow; keep the select focus ring inside. */
.standortcheck .manufacturer-select:focus { outline-offset: -2px; }
.standortcheck .address-input[aria-invalid="true"] { border-color: #b42318; }
.standortcheck .address-suggestions { border-radius: 4px; box-shadow: 0 8px 20px #00000014; }
.standortcheck .location-card { border-radius: 4px; box-shadow: none; background: var(--check-surface); }
.standortcheck .location-card .loc-icon { background: transparent; border-radius: 0; }
.standortcheck .location-card .loc-address { font-size: 1.125rem; font-weight: 700; }
.standortcheck .loc-remove { min-width: 44px; min-height: 44px; }
.standortcheck .add-location-btn { min-height: 44px; font-size: 1rem; font-weight: 400; }
.standortcheck .contact-optional summary { font-size: 1rem; padding: 10px 0; }
.standortcheck .konfig-nav { margin-top: 28px; gap: 16px; }
.standortcheck .btn-next,
.standortcheck .btn-back {
  min-height: 52px;
  border-radius: 4px;
  padding: 14px 24px;
  font-family: var(--check-font);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: none;
  transform: none;
  transition: background-color 140ms ease, color 140ms ease;
}
.standortcheck .btn-next::before { display: none; }
.standortcheck .btn-next { background: var(--primary); color: #fff; }
.standortcheck .btn-next:hover { transform: none; box-shadow: none; background: var(--primary); }
.standortcheck .btn-next:disabled { background: #e9e9e6; color: #686864; opacity: 1; }
.standortcheck .btn-back { font-weight: 400; background: #fff; border-color: #b8b8b5; }
.standortcheck .trust-hints { justify-content: center; gap: 20px; font-size: 0.875rem; }
.standortcheck .trust-hints svg { color: var(--check-muted); }
.standortcheck .privacy-note { font-size: 0.9375rem; text-align: center; line-height: 1.6; }

/* Confirmation: centered acknowledgement, left-aligned reading content.
   This decorative flourish runs only on the already-confirmed result screen;
   it is NOT a progress report for saving or reviewing the location. */
.standortcheck .konfig-step[data-step="3"] { animation: none; }
.standortcheck .check-success-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 72px;
  margin: 0 auto 20px;
  background: none;
  border-radius: 0;
  color: #fff;
}
.standortcheck .check-success-icon svg {
  width: 64px;
  height: 64px;
  padding: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  opacity: 1;
  transform: none;
}
.standortcheck .check-success-icon::before,
.standortcheck .check-success-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 16px;
  width: 64px;
  height: 64px;
  border: 3px solid transparent;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.standortcheck .check-success-icon::before { border-color: var(--check-accent-wash); }
.standortcheck .check-success-icon::after {
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  transform-origin: center;
}
.standortcheck :is(#confirmationLabel, #resultTitle, #confirmationIntro, #confirmationContact) { text-align: center; }
.standortcheck #confirmationLabel { margin-bottom: 12px; }
.standortcheck #resultTitle { margin-bottom: 14px; }
.standortcheck #confirmationIntro { max-width: 46ch; margin: 0 auto 14px; }
.standortcheck .check-contact-note { max-width: 52ch; font-size: 1rem; line-height: 1.65; margin: 0 auto 32px; color: var(--check-muted); }
.standortcheck .review-focus {
  padding: 28px 30px;
  background: var(--primary);
  border: 0;
  border-radius: 12px;
  color: #fff;
  text-align: left;
}
.standortcheck .review-eyebrow { text-transform: none; letter-spacing: 0; color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.standortcheck .review-focus h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; color: #fff; margin-bottom: 12px; }
.standortcheck .review-focus p,
.standortcheck .review-next-steps p { font-size: 1.125rem; line-height: 1.65; }
.standortcheck .review-focus p { color: #fff; }
.standortcheck .review-focus ::selection { background: #fff; color: var(--primary); }
.standortcheck .review-next-steps { gap: 24px; margin: 32px 0; }
.standortcheck .review-next-steps strong { font-size: 1.125rem; font-weight: 700; }
.standortcheck .review-step-number { border: 0; border-radius: 50%; width: 32px; height: 32px; flex-basis: 32px; font-size: 1rem; font-weight: 700; color: var(--primary); background: var(--check-accent-wash); }
.standortcheck .review-summary summary { font-size: 1.0625rem; font-weight: 700; color: var(--primary); }
.standortcheck .review-summary dl { font-size: 1.0625rem; }
.standortcheck .check-reassurance { font-size: 1.0625rem; line-height: 1.65; }
.standortcheck .check-home-link { font-size: 1rem; font-weight: 700; }

/* One short confirmation sequence. Geometry is reserved to avoid layout shifts.
  Each stage is brief: rotate the wheel, fade it out, reveal the existing SVG check. */
@media (prefers-reduced-motion: no-preference) {
  .standortcheck .konfig-step[data-step="3"].active .check-success-icon::before {
    animation: check-confirm-track var(--check-success-duration) linear both;
  }
  .standortcheck .konfig-step[data-step="3"].active .check-success-icon::after {
    animation: check-confirm-wheel var(--check-success-duration) linear both;
  }
  .standortcheck .konfig-step[data-step="3"].active .check-success-icon svg {
    animation: check-confirm-mark var(--check-success-duration) var(--check-ease-out) both;
  }
}
@keyframes check-confirm-track {
  0%, 45% { opacity: 1; }
  65%, 100% { opacity: 0; }
}
@keyframes check-confirm-wheel {
  0% { opacity: 1; transform: rotate(-90deg); }
  45% { opacity: 1; }
  65% { opacity: 0; }
  100% { opacity: 0; transform: rotate(270deg); }
}
@keyframes check-confirm-mark {
  0%, 60% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

/* Optical strengthening of the narrow Regular outlines; no extra font or script.
   A fraction of a pixel keeps body copy lighter than Bold but less spindly. */
.standortcheck :is(.subtitle, .step-hint, .review-focus p, .review-next-steps p, .check-contact-note,
  .check-reassurance, .check-field-hint, .equipment-desc, .equipment-selection-hint,
  .concern-reassurance, .review-summary dl, .privacy-note) {
  -webkit-text-stroke: 0.15px currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .standortcheck .concern-option:hover { background: var(--check-accent-wash); }
  .standortcheck .concern-option[aria-pressed="true"]:hover { background: var(--primary-dark); }
  .standortcheck .equipment-counter-btn:hover:not(:disabled) { background: #eaeae7; border-color: #aaa; }
  .standortcheck .equipment-counter-btn--plus:hover:not(:disabled),
  .standortcheck .btn-next:hover:not(:disabled) { background: var(--primary-dark); border-color: var(--primary-dark); }
  .standortcheck .btn-back:hover { background: var(--check-surface); }
}

@media (max-width: 900px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .standortcheck .konfig-header { height: 68px; padding: 0 24px; }
  .standortcheck .konfig-layout { grid-template-columns: minmax(0, 1fr); padding-top: 68px; }
  .standortcheck .konfig-form { padding: 40px 24px 32px; }
  .standortcheck .konfig-step h2 { font-size: 2.125rem; }
}
@media (max-width: 480px) {
  .standortcheck .konfig-header { padding: 0 20px; }
  .standortcheck .konfig-header .logo img { height: 24px; }
  .standortcheck .konfig-form { padding: 28px 20px 32px; }
  .standortcheck .konfig-step h2 { font-size: 2rem; }
  .standortcheck .konfig-step .subtitle { font-size: 1.125rem; margin-bottom: 24px; }
  .standortcheck .concern-option { min-height: 68px; font-size: 1.125rem; padding: 16px 12px; gap: 12px; }
  .standortcheck .equipment-row { gap: 10px; padding: 18px 0; }
  .standortcheck .equipment-name { font-size: 1.125rem; }
  .standortcheck .equipment-desc { font-size: 1rem; }
  .standortcheck .equipment-counter { gap: 0; }
  .standortcheck .equipment-count { width: 40px; }
  .standortcheck .check-field-hint { font-size: 1rem; }
  .standortcheck .konfig-nav > .btn-back { flex: 0 0 auto; padding: 14px 16px; }
  .standortcheck .konfig-nav > .btn-next { padding: 14px 16px; }
  .standortcheck .review-focus { padding: 24px 22px; }
  .standortcheck .review-focus h3 { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .standortcheck .check-success-icon svg { animation: none; opacity: 1; transform: none; }
  .standortcheck .check-success-icon::before,
  .standortcheck .check-success-icon::after { animation: none; display: none; }
  .standortcheck .visual-slide--cover,
  .standortcheck .concern-option,
  .standortcheck .progress-dot,
  .standortcheck .btn-next,
  .standortcheck .btn-back { transition: none; }
}

/* Show required information after an attempted next step. */
.standortcheck input[aria-invalid="true"],
.standortcheck select[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.14);
}
.standortcheck .equipment-count[aria-invalid="true"] { color: #b42318; }
.standortcheck .field-error { color: #b42318; font-size: 0.9375rem; line-height: 1.5; margin: 8px 0 0; }
.standortcheck .field-error[hidden] { display: none; }
