/* Window in front of a manufacturer's website (round 2, docs/LEAD-GENERIERUNG.md section 7),
   built by assets/js/modules/website-offer/website-offer.js on model and manufacturer pages.
   Plain CSS, no SCSS source; buttons use the site's .btn classes. On phones a bottom sheet. */
.website-offer{
  width:calc(100% - 32px);
  max-width:440px;
  max-height:calc(100% - 32px);
  padding:0;
  border:0;
  border-radius:12px;
  background:#fff;
  color:#174441;
  box-shadow:0 18px 50px rgba(15,46,43,.3);
  overflow:auto;
}
.website-offer::backdrop{background:rgba(15,46,43,.5)}
.website-offer__body{position:relative;display:flex;flex-direction:column;gap:12px;padding:22px 20px 20px;font-size:16px;line-height:1.45}
.website-offer__grip{display:none;width:40px;height:4px;border-radius:2px;background:#d4dddb;align-self:center}
.website-offer__close{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f4f3;color:#586968;font-size:16px;line-height:1;cursor:pointer}
.website-offer__title{margin:0;padding-right:40px;font-size:21px;line-height:1.2;font-weight:700}
.website-offer__title:focus{outline:none}
.website-offer__sub{margin:-4px 0 0;font-size:14px;color:#586968}
.website-offer__btn{display:flex;width:100%;justify-content:center;text-align:center}
.website-offer__sep{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#586968}
.website-offer__sep::before,.website-offer__sep::after{content:"";flex:1;height:1px;background:#d4dddb}
.website-offer__form{display:flex;flex-direction:column;gap:10px;margin:0}
.website-offer__offer,.website-offer__lead,.website-offer__notice,.website-offer__trust{margin:0}
.website-offer__lead{font-size:15px;color:#586968}
.website-offer__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.website-offer__field{display:flex;flex-direction:column;gap:4px;min-width:0}
.website-offer__field label{font-weight:600;font-size:15px}
.website-offer__field input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #d4dddb;border-radius:4px;background:#fff;color:#174441;font:inherit}
.website-offer__field input:focus{outline:3px solid #ffd600;outline-offset:1px}
.website-offer__field input[aria-invalid="true"]{border-color:#b3123a}
.website-offer__error{margin:0;color:#b3123a;font-size:14px}
.website-offer__suggest{margin:0;font-size:14px}
.website-offer__suggest button{padding:0;border:0;background:none;color:#174441;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.website-offer__known{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;border:1px solid #d4dddb;border-radius:8px;background:#f1f4f3}
.website-offer__known div{display:flex;flex-direction:column;gap:2px;min-width:0}
.website-offer__known span{overflow-wrap:anywhere}
.website-offer__link{padding:0;border:0;background:none;color:#174441;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.website-offer__stay{align-self:center}
.website-offer__notice{font-size:13px;color:#586968}
.website-offer__notice a{color:inherit}
.website-offer__trust{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;font-size:14px;font-weight:600;color:#1d6b45}
@media (max-width:575px){
  .website-offer{width:100%;max-width:100%;max-height:94%;margin:auto 0 0;border-radius:16px 16px 0 0}
  .website-offer__body{padding:10px 16px 18px}
  .website-offer__grip{display:block}
}
@media (max-width:360px){
  .website-offer__row{grid-template-columns:minmax(0,1fr)}
}
