/* Local-only palette overrides. The production Stippler stylesheet remains unchanged. */
html[data-stippler-palette] {
  --svp-on-orange: var(--sv-ink);
  --svp-on-blue: var(--sv-white);
  --svp-support: var(--sv-sand);
  --sv-shadow: 0 16px 38px color-mix(in srgb, var(--sv-ink) 14%, transparent);
  --sv-shadow-soft: 0 8px 24px color-mix(in srgb, var(--sv-ink) 10%, transparent);
}

html[data-stippler-palette="1"] {
  --sv-sand: #85cefc;
  --sv-orange: #df9555;
  --sv-orange-dark: #bd7440;
  --sv-grey: #f3f5fa;
  --sv-ink: #244a60;
  --sv-blue: #2f6e91;
  --sv-blue-dark: #244a60;
  --sv-white: #ffffff;
  --sv-muted: #60788b;
  --sv-line: #d5deeb;
  --svp-support: #a8b4d6;
  --svp-on-orange: #17394a;
}

html[data-stippler-palette="2"] {
  --sv-sand: #83a6c7;
  --sv-orange: #f29e01;
  --sv-orange-dark: #c77f00;
  --sv-grey: #f5f8fb;
  --sv-ink: #5f7488;
  --sv-blue: #5f7488;
  --sv-blue-dark: #4b6073;
  --sv-white: #ffffff;
  --sv-muted: #64758d;
  --sv-line: #d9e8f5;
  --svp-support: #d9e8f5;
  --svp-on-orange: #324556;
  --svp-light-section-gradient: linear-gradient(
    125deg,
    color-mix(in srgb, var(--svp-support) 92%, transparent) 0%,
    color-mix(in srgb, var(--svp-support) 58%, transparent) 68%,
    transparent 100%
  );
}

html[data-stippler-palette="3"] {
  --sv-sand: #91bed4;
  --sv-orange: #f27451;
  --sv-orange-dark: #cd5738;
  --sv-grey: #f4f8fb;
  --sv-ink: #38547d;
  --sv-blue: #38547d;
  --sv-blue-dark: #293f5e;
  --sv-white: #ffffff;
  --sv-muted: #63748b;
  --sv-line: #d9e8f5;
  --svp-support: #d9e8f5;
  --svp-on-orange: #1c2f47;
}

html[data-stippler-palette="4"] {
  --sv-sand: #ffae57;
  --sv-orange: #ff9421;
  --sv-orange-dark: #d97000;
  --sv-grey: #f7f3ef;
  --sv-ink: #173f4f;
  --sv-blue: #1d8bb3;
  --sv-blue-dark: #146b89;
  --sv-white: #ffffff;
  --sv-muted: #60737c;
  --sv-line: #e5d9cd;
  --svp-support: #b58f67;
  --svp-on-orange: #173f4f;
}

html[data-stippler-palette="5"] {
  --sv-sand: #b5f1f5;
  --sv-orange: #4eb2ef;
  --sv-orange-dark: #348fc7;
  --sv-grey: #f3f3f3;
  --sv-ink: #183f55;
  --sv-blue: #197da8;
  --sv-blue-dark: #125b7b;
  --sv-white: #ffffff;
  --sv-muted: #587282;
  --sv-line: #cde8ed;
  --svp-support: #3acff5;
  --svp-on-orange: #183f55;
}

html[data-stippler-palette="6"] {
  --sv-sand: #5cccff;
  --sv-orange: #ffa943;
  --sv-orange-dark: #b2660b;
  --sv-grey: #f3f8fa;
  --sv-ink: #164d69;
  --sv-blue: #1d83b2;
  --sv-blue-dark: #155f80;
  --sv-white: #ffffff;
  --sv-muted: #587383;
  --sv-line: #cbe7f2;
  --svp-support: #43c4ff;
  --svp-on-orange: #164d69;
  --svp-section-blue: #43c4ff;
  --svp-section-blue-soft: #5cccff;
  --svp-on-section-blue: #164d69;
}

html[data-stippler-palette="2"] :where(
  .sv-section--grey,
  .sv-profile-section,
  .sv-contact-section,
  .sv-about-story,
  .sv-sell-faq-section,
  .sv-about-page .sv-about-facts,
  .sv-about-page .sv-about-method,
  .sv-sell-page .sv-sell-process
) {
  background-color: var(--sv-grey);
  background-image: var(--svp-light-section-gradient);
}

html[data-stippler-palette="2"] .sv-profile-section {
  background-color: var(--sv-white);
  background-image: linear-gradient(
    45deg,
    color-mix(in srgb, var(--svp-support) 96%, transparent) 0%,
    color-mix(in srgb, var(--svp-support) 68%, transparent) 24%,
    color-mix(in srgb, var(--svp-support) 24%, transparent) 48%,
    transparent 68%
  );
}

html[data-stippler-palette="6"] :is(
  .sv-search-panel,
  .sv-filter-toolbar,
  .sv-profile-stat,
  .sv-quote--featured,
  .sv-cta-card--blue,
  .sv-dark-panel,
  .sv-footer,
  .sv-about-facts,
  .sv-about-method,
  .sv-about-owner-copy,
  .sv-sell-hero,
  .sv-sell-form-aside,
  .sv-sell-page .sv-sell-form-layout,
  .sv-sell-page .sv-sell-wizard
) {
  color: var(--svp-on-section-blue);
  background: var(--svp-section-blue);
}

html[data-stippler-palette="6"] .sv-dark-panel {
  background:
    radial-gradient(circle at 0 100%, color-mix(in srgb, var(--svp-section-blue-soft) 88%, transparent), transparent 42%),
    var(--svp-section-blue);
}

html[data-stippler-palette="6"] .sv-about-hero::before,
html[data-stippler-palette="6"] .sv-sell-hero-points div {
  background: var(--svp-section-blue);
}

html[data-stippler-palette="6"] :is(
  .sv-search-panel,
  .sv-profile-stat,
  .sv-quote--featured,
  .sv-cta-card--blue,
  .sv-dark-panel,
  .sv-footer,
  .sv-about-facts,
  .sv-about-method,
  .sv-about-owner-copy,
  .sv-sell-hero,
  .sv-sell-form-aside,
  .sv-sell-page .sv-sell-form-layout,
  .sv-sell-page .sv-sell-wizard
) :is(h1, h2, h3, h4, p, a, span, strong, li, cite, blockquote) {
  color: var(--svp-on-section-blue);
}

html[data-stippler-palette="6"] :is(
  .sv-search-panel,
  .sv-filter-toolbar,
  .sv-profile-stat,
  .sv-quote--featured,
  .sv-cta-card--blue,
  .sv-dark-panel,
  .sv-footer,
  .sv-about-facts,
  .sv-about-method,
  .sv-about-owner-copy,
  .sv-sell-hero,
  .sv-sell-form-aside,
  .sv-sell-page .sv-sell-form-layout,
  .sv-sell-page .sv-sell-wizard
) :is(.sv-button--orange, .sv-button--light) {
  color: var(--svp-on-section-blue);
}

html[data-stippler-palette="6"] .sv-category-cta::before {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--svp-section-blue) 98%, transparent) 0%,
    color-mix(in srgb, var(--svp-section-blue) 94%, transparent) 38%,
    color-mix(in srgb, var(--svp-section-blue) 52%, transparent) 62%,
    transparent 100%
  );
}

html[data-stippler-palette="6"] .sv-footer::after,
html[data-stippler-palette="6"] .sv-dark-panel::after {
  border-color: color-mix(in srgb, var(--svp-on-section-blue) 14%, transparent);
  box-shadow:
    0 0 0 48px color-mix(in srgb, var(--svp-on-section-blue) 5%, transparent),
    0 0 0 96px color-mix(in srgb, var(--svp-on-section-blue) 3%, transparent);
}

html[data-stippler-palette="6"] :is(
  .sv-footer-bottom,
  .sv-about-method-grid,
  .sv-about-fact,
  .sv-sell-page .sv-sell-wizard-page
) {
  border-color: color-mix(in srgb, var(--svp-on-section-blue) 22%, transparent);
}

html[data-stippler-palette] .sv-button--orange,
html[data-stippler-palette] .sv-cta-card--orange,
html[data-stippler-palette] .sv-detail-page-section .sv-detail-price-card,
html[data-stippler-palette] .sv-about-page .sv-about-owner-actions a:first-child {
  color: var(--svp-on-orange);
}

html[data-stippler-palette] .sv-button--orange {
  box-shadow: 0 9px 22px color-mix(in srgb, var(--sv-orange) 34%, transparent);
}

html[data-stippler-palette] .sv-button--blue {
  color: var(--svp-on-blue);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--sv-blue) 28%, transparent);
}

html[data-stippler-palette="4"] .sv-button--blue,
html[data-stippler-palette="6"] .sv-button--blue {
  background: var(--sv-blue-dark);
}

html[data-stippler-palette] .sv-contact-info-card {
  background:
    radial-gradient(circle at 108% -8%, color-mix(in srgb, var(--sv-blue) 72%, transparent), transparent 38%),
    linear-gradient(145deg, var(--sv-blue-dark) 0%, var(--sv-ink) 58%, color-mix(in srgb, var(--sv-ink) 84%, #000) 100%);
}

html[data-stippler-palette="2"] .sv-contact-info-card {
  background:
    radial-gradient(circle at 108% -8%, color-mix(in srgb, #83a6c7 74%, transparent), transparent 40%),
    linear-gradient(145deg, #53697d 0%, #5f7488 58%, #6b7f91 100%);
}

html[data-stippler-palette="2"] .sv-category-cta::before {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, #5f7488 98%, transparent) 0%,
    color-mix(in srgb, #5f7488 94%, transparent) 38%,
    color-mix(in srgb, #5f7488 54%, transparent) 62%,
    transparent 100%
  );
}

html[data-stippler-palette="2"] .sv-page-hero {
  background:
    linear-gradient(
      color-mix(in srgb, #5f7488 92%, transparent),
      color-mix(in srgb, #5f7488 92%, transparent)
    ),
    var(--sv-page-hero-image, linear-gradient(135deg, #83a6c7, #5f7488));
}

html[data-stippler-palette="6"] .sv-contact-info-card {
  color: var(--svp-on-section-blue);
  background:
    radial-gradient(circle at 108% -8%, color-mix(in srgb, var(--svp-section-blue-soft) 90%, transparent), transparent 42%),
    var(--svp-section-blue);
}

html[data-stippler-palette="6"] .sv-contact-info-card :is(h2, h3, h4, p, a, span, strong, small) {
  color: var(--svp-on-section-blue);
}

html[data-stippler-palette="6"] .sv-contact-info-card .sv-contact-method {
  border-color: color-mix(in srgb, var(--svp-on-section-blue) 18%, transparent);
  color: var(--svp-on-section-blue);
  background: color-mix(in srgb, var(--sv-white) 34%, transparent);
}

html[data-stippler-palette="6"] .sv-contact-info-card .sv-contact-method:hover {
  border-color: color-mix(in srgb, var(--sv-orange) 78%, transparent);
  background: color-mix(in srgb, var(--sv-white) 48%, transparent);
}

html[data-stippler-palette="6"] .sv-contact-info-card::after {
  border-color: color-mix(in srgb, var(--svp-on-section-blue) 12%, transparent);
  box-shadow:
    0 0 0 44px color-mix(in srgb, var(--svp-on-section-blue) 4%, transparent),
    0 0 0 88px color-mix(in srgb, var(--svp-on-section-blue) 3%, transparent);
}

html[data-stippler-palette] .sv-hero-stripe,
html[data-stippler-palette] .sv-about-page .sv-about-hero-visual::before,
html[data-stippler-palette] .sv-sell-page .sv-sell-hero-orbit {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--svp-support) 92%, transparent) 0%,
    color-mix(in srgb, var(--svp-support) 58%, transparent) 68%,
    transparent 100%
  );
}

html[data-stippler-palette] .sv-inner-hero::before {
  background: linear-gradient(
    180deg,
    var(--sv-sand),
    color-mix(in srgb, var(--sv-sand) 18%, transparent)
  );
}

html[data-stippler-palette] .sv-badge,
html[data-stippler-palette] .sv-step:nth-child(even) .sv-step-icon,
html[data-stippler-palette] .sv-principle-icon--orange,
html[data-stippler-palette] .sv-profile-list i,
html[data-stippler-palette] .sv-quote:nth-child(2) .sv-review-avatar,
html[data-stippler-palette] .sv-inner-checklist li::before,
html[data-stippler-palette] .sv-sell-timeline-item:nth-child(even) .sv-process-number,
html[data-stippler-palette] .sv-about-page .sv-about-method-grid article:nth-child(even) > span {
  color: var(--svp-on-orange);
}

@media (prefers-reduced-motion: reduce) {
  html[data-stippler-palette] * {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 820px) {
  html[data-stippler-palette] .sv-hero {
    background: linear-gradient(
      180deg,
      var(--sv-white) 0 48%,
      color-mix(in srgb, var(--svp-support) 74%, transparent) 48% 83%,
      var(--sv-grey) 83%
    );
  }
}


/* Stippler CTA, shared sales wizard and content-width alignment - 2026-08-18 */
:root { --sv-content-width: 1400px; }
html[data-stippler-palette="2"] .sv-search-panel {
  width: min(calc(100% - 40px), var(--sv-content-width));
  max-width: var(--sv-content-width);
}
html[data-stippler-palette="2"] .sv-button--orange {
  box-shadow: 0 5px 11px rgba(242, 158, 1, 0.20);
}
html[data-stippler-palette="2"] .sv-button--orange:hover {
  box-shadow: 0 7px 14px rgba(242, 158, 1, 0.24);
}
.sv-cta-switcher {
  display: grid;
  width: min(100%, 430px);
  margin: 0 auto 18px;
  padding: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--sv-radius-xs) + 2px);
  background: rgba(255, 255, 255, 0.08);
}

.sv-cta-switcher__button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--sv-radius-xs);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font: 800 11px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.sv-cta-switcher__button:hover {
  color: var(--sv-white);
}

.sv-cta-switcher__button:focus-visible {
  outline: 3px solid rgba(255, 193, 121, 0.7);
  outline-offset: 2px;
}

.sv-cta-switcher__button.is-active {
  color: var(--sv-ink);
  background: var(--sv-white);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}

/* The sales wizard is shared by /verkauf and the Home CTA. */
.sv-search-panel .sv-sell-wizard-page {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sv-search-panel .sv-sell-wizard-page-head {
  display: flex;
  margin-bottom: 18px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.sv-search-panel .sv-sell-wizard-page-head p {
  margin: 0 0 3px;
  color: var(--sv-orange);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sv-search-panel .sv-sell-wizard-page-head h3 {
  margin: 0;
  color: var(--sv-white);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}

.sv-search-panel .sv-sell-wizard-page-head > span {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.sv-search-panel .sv-sell-wizard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sv-search-panel .sv-sell-wizard-grid--details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.sv-search-panel .sv-sell-wizard-content .sv-form-field {
  gap: 7px;
}

.sv-search-panel .sv-sell-wizard-content .sv-form-field > label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sv-search-panel .sv-sell-wizard-content .sv-form-field > label small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
}

.sv-search-panel .sv-sell-wizard-content .sv-field,
.sv-search-panel .sv-sell-wizard-content .sv-select,
.sv-search-panel .sv-sell-wizard-content .sv-textarea {
  height: 46px;
  border-color: transparent;
  border-radius: var(--sv-radius-xs);
  background: var(--sv-white);
}

.sv-search-panel .sv-sell-wizard-content .sv-field:focus,
.sv-search-panel .sv-sell-wizard-content .sv-select:focus,
.sv-search-panel .sv-sell-wizard-content .sv-textarea:focus {
  border-color: var(--sv-orange);
  box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.18);
}

.sv-search-panel .sv-sell-wizard-content .sv-textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.sv-search-panel .sv-sell-wizard-grid--details .sv-sell-wizard-upload {
  grid-column: auto;
}

.sv-search-panel .sv-sell-wizard-content .sv-upload {
  min-height: 132px;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: var(--sv-radius-xs);
  background: rgba(255, 255, 255, 0.08);
}

.sv-search-panel .sv-sell-wizard-content .sv-upload strong {
  color: var(--sv-white);
}

.sv-search-panel .sv-sell-wizard-content .sv-upload span,
.sv-search-panel .sv-sell-wizard-content .sv-upload-status {
  color: rgba(255, 255, 255, 0.56);
}

.sv-search-panel .sv-sell-wizard-content .sv-attachment {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--sv-white);
  background: rgba(255, 255, 255, 0.08);
}

.sv-search-panel .sv-sell-wizard-summary {
  display: grid;
  margin-bottom: 18px;
  padding: 14px 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: var(--sv-radius-xs);
  background: rgba(255, 255, 255, 0.08);
}

.sv-search-panel .sv-sell-wizard-summary > span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sv-search-panel .sv-sell-wizard-summary > strong {
  overflow: hidden;
  color: var(--sv-white);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-search-panel .sv-sell-wizard-summary > button {
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--sv-orange);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sv-search-panel .sv-sell-wizard-consent {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.sv-search-panel .sv-sell-wizard-consent a {
  color: var(--sv-sand);
}

.sv-search-panel .sv-sell-wizard-error {
  margin: 16px 0 0;
  border-radius: var(--sv-radius-xs);
}

.sv-search-panel .sv-sell-wizard-actions {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sv-search-panel .sv-sell-wizard-actions--end {
  justify-content: flex-end;
}

.sv-search-panel .sv-sell-wizard-content .sv-sell-wizard-actions .sv-button--light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--sv-white);
  background: transparent;
}

.sv-search-panel .sv-sell-wizard-success {
  padding: 34px;
  border-radius: var(--sv-radius-sm);
  color: var(--sv-ink);
  background: var(--sv-white);
}

.sv-sell-wizard-grid--registration {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto !important;
  align-items: end;
}

.sv-sell-wizard-grid--vehicle,
.sv-sell-wizard-grid--contact {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.sv-sell-wizard-grid--contact .sv-form-field:last-child {
  grid-column: auto !important;
}

.sv-sell-wizard-next {
  min-width: 148px;
  align-self: end;
}

.sv-sell-wizard-actions--back {
  justify-content: flex-start !important;
}

@media (max-width: 820px) {
  .sv-search-panel .sv-sell-wizard-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sv-search-panel .sv-sell-wizard-page-head > span {
    text-align: left;
  }

  .sv-search-panel .sv-sell-wizard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sv-sell-wizard-grid--registration {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .sv-sell-wizard-grid--registration .sv-sell-wizard-next {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 560px) {
  .sv-cta-switcher {
    width: 100%;
  }

  .sv-search-panel .sv-sell-wizard-grid,
  .sv-sell-wizard-grid--registration {
    grid-template-columns: 1fr !important;
  }

  .sv-search-panel .sv-sell-wizard-grid--details .sv-sell-wizard-upload {
    grid-column: 1;
  }

  .sv-search-panel .sv-sell-wizard-summary {
    grid-template-columns: 1fr auto;
  }

  .sv-search-panel .sv-sell-wizard-summary > span {
    grid-column: 1 / -1;
  }

  .sv-search-panel .sv-sell-wizard-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .sv-search-panel .sv-sell-wizard-actions--end {
    flex-direction: column;
  }

  .sv-search-panel .sv-sell-wizard-actions .sv-button,
  .sv-sell-wizard-next {
    width: 100%;
  }

  .sv-sell-wizard-grid--registration .sv-sell-wizard-next {
    grid-column: auto;
    justify-self: stretch;
  }
}
