.cp-service-quote {
  min-width: 0;
}

.cp-service-quote > [hidden],
.cp-service-quote .cpv-promo-public[hidden] {
  display: none;
}

.cp-service-quote-panel,
.cp-home-hero__quote {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(14px, 2.8vw, 27px);
  border: 1px solid #dce7f5;
  border-radius: clamp(17px, 2.7vw, 25px);
  background:
    radial-gradient(ellipse 90% 42% at 16% 0%, rgb(255 255 255 / 85%), transparent),
    radial-gradient(ellipse 78% 48% at 100% 100%, rgb(77 154 249 / 9%), transparent),
    #fff;
  box-shadow: 0 18px 44px #00133234;
  color: #011e48;
  scroll-margin-top: 6rem;
}

.cp-service-quote-panel > h2,
.cp-home-hero__quote > h2 {
  margin: 0 0 14px;
  color: #011e48;
  font-family: var(--cp-head, system-ui, sans-serif);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.21;
}

.cp-service-quote-fallback > :last-child {
  margin-bottom: 0;
}

.cp-service-quote .cpv-grid {
  max-width: none;
}

.cp-service-quote .cpv-surface {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 17px;
  box-shadow: none;
}

.cp-service-quote .cpv-row__amount {
  min-height: 50px;
}

.cp-service-quote .cpv-input {
  height: 48px;
  font-size: clamp(1.9rem, 11cqw, 2.55rem);
}

.cp-service-quote .cpv-input::placeholder {
  color: #6f8098;
}

.cp-service-quote .cpv-divider {
  margin-block: 3px;
}

.cp-service-quote .cpv-meta {
  padding-top: 7px;
}

.cp-service-quote .cpv-promo-public {
  margin-top: 6px;
}

.cp-service-quote .cpv-promo-public .cpv-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid #c1d3ed;
  border-radius: 10px;
  background: #fff;
  color: #153b70;
  font-size: .82rem;
  line-height: 1.2;
  text-align: left;
}

.cp-service-quote .cpv-promo-public .cpv-switch:disabled {
  border-color: #dce5f2;
  background: #f1f5fa;
  color: #526984;
}

.cp-service-quote .cpv-switch svg {
  flex: none;
}

.cp-service-quote .cpv-promo-public .cp-calc-promo-on,
.cp-service-quote .cpv-promo-public [aria-checked="true"] .cp-calc-promo-off {
  display: none;
}

.cp-service-quote .cpv-promo-public [aria-checked="true"] .cp-calc-promo-on {
  display: inline;
}

.cp-service-quote .cpv-promo-public [aria-checked="true"] {
  background: #e1edff;
  border-color: #7ea6df;
}

.cp-service-quote .cpv-promo-notice {
  margin: 0;
}

.cp-service-quote .cpv-promo-notice:not(:empty) {
  margin-top: 7px;
  padding: 8px 10px;
  border-inline-start: 3px solid #ffc300;
  border-radius: 9px;
  background: #fff4d1;
  color: #011e48;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.4;
}

.cp-service-quote .cpv .cpv-actions {
  display: block;
  margin-top: 11px;
}

.cp-service-quote .cpv a.cpv-wa {
  width: 100%;
  background: #117143;
  color: #fff;
  box-shadow: none;
}

.cp-service-quote .cpv a.cpv-wa:hover {
  background: #0d5c36;
}

.cp-service-quote .cpv .cpv-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  margin-top: 6px;
  padding-top: 3px;
  border-top: 1px solid #e8eff8;
}

.cp-service-quote .cpv-links .cpv-link {
  min-height: 44px;
  color: #405776;
}

.cp-service-quote .cpv-links .cpv-link::before {
  content: none;
}

.cp-service-quote .cpv-links .cpv-link--receipt {
  flex: none;
  padding: 3px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #405776;
  font-size: 13px;
  box-shadow: none;
}

.cp-service-quote .cpv-links .cpv-link:not(:disabled):hover,
.cp-service-quote .cpv-links .cpv-link[aria-expanded="true"] {
  color: #0744c1;
}

@media (max-width: 520px) {
  .cp-service-quote .cpv .cpv-links {
    gap: 5px;
  }

  .cp-service-quote .cpv-links .cpv-link {
    flex: 1 1 28%;
    justify-content: center;
    gap: 4px;
    font-size: .76rem;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  .cp-service-quote .cpv-links .cpv-link svg {
    display: none;
  }
}

.cp-service-quote .cpv-foot__t {
  color: #465769;
  white-space: normal;
}

body:has(.cp-service-quote .cpv:not([hidden])) .cpwa {
  display: none;
}

:is(.cp-guide, .cp-zelle) .articlehero--with-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "quote" "photo";
  align-items: start;
  gap: 16px;
}

:is(.cp-guide, .cp-zelle) .articlehero--with-quote > .herocopy {
  grid-area: copy;
  margin: 0;
}

:is(.cp-guide, .cp-zelle) .articlehero--with-quote > .herocopy .lead {
  margin: 0;
}

:is(.cp-guide, .cp-zelle) .articlehero--with-quote > .cover {
  grid-area: photo;
  margin: 0;
}

.articlehero--with-quote > .cp-service-quote-panel {
  grid-area: quote;
  margin: 0;
}

@media (min-width: 820px) {
  :is(.cp-guide, .cp-zelle) .articlehero--with-quote {
    grid-template-columns: minmax(0, 1.12fr) minmax(348px, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "copy quote" "photo quote";
    column-gap: clamp(18px, 3vw, 38px);
  }
}
