/* HM V8.1 0.4.39 - user-approved correction scope, TEST only.
   Load AFTER acceptance.css. The original price/offer logic is untouched. */

/* All steps use the entire width supplied by the Elementor container.
   Never break out to 100vw, never force a fixed 900px checkout column. */
body :is(.hmbr81-original,.hmbr81-v81-result-host),
body :is(.hmbr81-original,.hmbr81-v81-result-host) > #hm-angebotsfinder.hm-of,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-progress,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .frame,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app__card,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app__form,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app__summary-list {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) > #hm-angebotsfinder.hm-of {
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__person .hmbr81-app__formgrid,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__payment .hmbr81-app__formgrid,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__contract > .hmbr81-app__field {
  width:100%!important;
  max-width:none!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app__card {
  padding:20px!important;
}

/* Tariff navigation: fix the top-aligned label and inconsistent min/max widths.
   Preserve the dark-green split arrow and the original submit handler. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-action {
  display:flex!important;
  justify-content:flex-end!important;
  width:100%!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-action > button.hm-of-submit.hmbr81-original-next {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:290px!important;
  min-width:290px!important;
  max-width:100%!important;
  min-height:56px!important;
  height:56px!important;
  padding:0 0 0 20px!important;
  margin:0!important;
  border:0!important;
  border-radius:5px!important;
  font:750 1rem/1.35 "Bricolage Grotesque",Arial,sans-serif!important;
  color:#fff!important;
  text-align:left!important;
  white-space:nowrap!important;
  background:#005e52!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-action > button.hm-of-submit.hmbr81-original-next::after {
  box-sizing:border-box!important;
  display:flex!important;
  flex:0 0 52px!important;
  align-self:stretch!important;
  align-items:center!important;
  justify-content:center!important;
  width:52px!important;
  min-height:56px!important;
  height:auto!important;
  padding:0!important;
  margin-left:auto!important;
  border-radius:0 5px 5px 0!important;
  background:#00473e!important;
  color:#fff!important;
  font:700 1.35rem/1 "Bricolage Grotesque",Arial,sans-serif!important;
}

/* HanseMerkur-inspired three-panel review: tariff, animal, personal/payment. */
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-title {
  font:750 clamp(1.5rem,2.3vw,2rem)/1.25 "Bricolage Grotesque",Arial,sans-serif!important;
  color:#00a075!important;
  margin:0 0 24px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-list {
  display:flex!important;
  flex-direction:column!important;
  gap:15px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review.hmbr81-app__review--insurer {
  box-sizing:border-box!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #dbeae1!important;
  border-radius:5px!important;
  background:#fff!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review.hmbr81-app__review--insurer > summary {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:54px!important;
  margin:0!important;
  padding:13px 18px!important;
  list-style:none!important;
  border:0!important;
  background:#edf6f2!important;
  color:#005e52!important;
  font:750 1rem/1.35 "Bricolage Grotesque",Arial,sans-serif!important;
  cursor:pointer!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review--insurer > summary::-webkit-details-marker {display:none!important;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review--insurer > summary::marker {content:'';}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review--insurer > summary:focus-visible {
  outline:2px solid #005e52!important;
  outline-offset:-3px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review-chevron {
  display:block;
  flex:0 0 10px;
  width:10px;
  height:10px;
  margin-right:4px;
  border-right:2px solid #005e52;
  border-bottom:2px solid #005e52;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .15s ease;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review--insurer[open] > summary .hmbr81-app__review-chevron {
  transform:translateY(3px) rotate(225deg);
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review.hmbr81-app__review--insurer > .hmbr81-app__review-inside {
  box-sizing:border-box!important;
  width:100%!important;
  padding:18px 22px 22px!important;
  background:#fff!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-section {
  width:100%;min-width:0;color:#1c2423;
  font:400 1rem/1.48 "Bricolage Grotesque",Arial,sans-serif!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-subhead {
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;min-height:32px;margin:0 0 5px;
  font:700 1rem/1.35 "Bricolage Grotesque",Arial,sans-serif;
  color:#111;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-subhead--secondary {margin-top:0;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__section-edit {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:4px!important;
  border:1px solid transparent!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#005e52!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__section-edit:hover,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__section-edit:focus-visible {
  background:#edf6f2!important;
  border-color:#cce2d5!important;
  color:#005e52!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__section-edit::before,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__section-edit::after {display:none!important;content:none!important;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__section-edit svg {display:block;pointer-events:none;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-line {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,48%) minmax(0,1fr);
  align-items:baseline;
  gap:12px;
  padding:5px 0;
  font:400 1rem/1.45 "Bricolage Grotesque",Arial,sans-serif;
  color:#172b25;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair > span,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-line > span {min-width:0;overflow-wrap:anywhere;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair > strong,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-line > strong {
  min-width:0;
  font:700 1rem/1.45 "Bricolage Grotesque",Arial,sans-serif;
  color:#101e19;
  overflow-wrap:anywhere;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair--editable {
  grid-template-columns:minmax(0,48%) minmax(0,1fr) 34px;
  align-items:center;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair--editable .hmbr81-app__section-edit {
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair--strong {
  padding:11px 0 2px;
  font-weight:750;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair--strong > span,
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair--strong > strong {font-weight:750!important;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-separator {
  height:0;
  border-top:1px solid #e7ece9;
  margin:17px 0;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-minihead {
  display:block;font:700 1rem/1.4 "Bricolage Grotesque",Arial,sans-serif;
  color:#111;margin:6px 0;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-addon {
  display:grid;
  grid-template-columns:20px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:4px 0;
  font:400 1rem/1.45 "Bricolage Grotesque",Arial,sans-serif;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-addon strong {font-weight:700;text-align:right;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-addon-icon {
  display:flex;align-items:center;justify-content:center;
  font:800 1.25rem/1 "Bricolage Grotesque",Arial,sans-serif;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-addon-icon.is-included {color:#00a075;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-addon-icon.is-excluded {color:#b91620;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-not-included {
  margin:9px 0 4px!important;
  font:400 1rem/1.4 "Bricolage Grotesque",Arial,sans-serif!important;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-age-note {
  margin:5px 0!important;
  font:400 .92rem/1.45 "Bricolage Grotesque",Arial,sans-serif!important;
  color:#577166;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-contact {
  display:block;width:100%;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-payment {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  padding-top:4px;
  font:400 1rem/1.45 "Bricolage Grotesque",Arial,sans-serif;
}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-payment > strong {font-weight:700;margin-bottom:5px;}
body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-iban {overflow-wrap:anywhere;letter-spacing:.015em;}

@media(max-width:620px){
  body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-visual .hmbr81-app__card {padding:12px!important;}
  body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-action {
    justify-content:stretch!important;
  }
  body :is(.hmbr81-original,.hmbr81-v81-result-host) #hm-angebotsfinder.hm-of .hm-of-calculator-content form.hm-of-form > .hm-of-action > button.hm-of-submit.hmbr81-original-next {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-title {margin-bottom:16px!important;}
  body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__review.hmbr81-app__review--insurer > .hmbr81-app__review-inside {
    padding:12px 14px 16px!important;
  }
  body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair,
  body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-line {
    grid-template-columns:minmax(0,46%) minmax(0,1fr);
    gap:8px;
    padding:6px 0;
  }
  body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-pair--editable {
    grid-template-columns:minmax(0,46%) minmax(0,1fr) 30px;
    gap:6px;
  }
  body :is(.hmbr81-original,.hmbr81-v81-result-host) .hmbr81-app__summary-addon {grid-template-columns:19px minmax(0,1fr) auto;gap:6px;}
}

/* 0.4.40 – selected optional cover and clear payment total. */
.hmbr81-visual .addon.on{border-color:#00a075;background:#f1fbf5}
.hmbr81-visual .addon .plus.on{background:#005e52!important;color:#fff!important;border-color:#005e52!important;font-weight:800}
.hmbr81-visual .addon .plus:not([disabled]):hover{background:#edf6f2;color:#005e52;border-color:#00a075}
.hmbr81-visual .hmbr81-addon-note{font-size:1rem;line-height:1.45;margin-top:8px!important}
.hmbr81-visual .hmbr81-save-addon-warning{color:#885220;font-size:.875rem;line-height:1.4;margin:0}
.hmbr81-visual .hmbr81-app__summary-payment-total{display:block;color:#005e52;font-size:1rem;font-weight:750;margin-top:6px}
@media(max-width:560px){.hmbr81-visual .addons .flex-head{flex-wrap:wrap}.hmbr81-visual .addon-bottom{flex-wrap:wrap}}
.hmbr81-visual .addon .plus.on:hover{background:#005e52!important;color:#fff!important;border-color:#005e52!important}
