.schepers-quote {
  --quote-red: #c41c28;
  --quote-red-dark: #9f1720;
  --quote-green: #4a9d55;
  --quote-gray: #595857;
  --quote-light: #f5f5f3;
  --quote-border: #d8d8d5;
  color: #1e1e1e;
  font-family: "PT Sans", Arial, sans-serif;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 6rem;
}

.schepers-quote *, .schepers-quote *::before, .schepers-quote *::after { box-sizing: border-box; }
body.schepers-quote-is-submitting { overflow: hidden; }
.schepers-quote__container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.schepers-quote__intro { max-width: 760px; margin: 0 0 2.5rem; }
.schepers-quote__eyebrow { margin: 0 0 .5rem; color: var(--quote-red); font-size: .85rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.schepers-quote__intro h1 { margin: 0 0 .8rem; font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.schepers-quote__intro > p:last-child { max-width: 680px; margin: 0; color: var(--quote-gray); font-size: 1.12rem; line-height: 1.65; }
.schepers-quote__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.schepers-quote__main { min-width: 0; overflow: hidden; border: 1px solid var(--quote-border); border-radius: 12px; background: #fff; box-shadow: 0 16px 45px rgba(0, 0, 0, .08); }

.schepers-quote__progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 1.5rem; border-bottom: 1px solid var(--quote-border); background: #fafafa; }
.schepers-quote__progress button { position: relative; display: flex; gap: .65rem; align-items: center; min-width: 0; padding: 1.2rem .5rem; border: 0; background: transparent; color: #777; font: inherit; text-align: left; cursor: pointer; }
.schepers-quote__progress button::after { content: ""; position: absolute; right: .5rem; bottom: -1px; left: .5rem; height: 3px; background: transparent; }
.schepers-quote__progress button span { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border: 2px solid #aaa; border-radius: 50%; font-size: .8rem; font-weight: 700; }
.schepers-quote__progress button strong { overflow: hidden; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.schepers-quote__progress button.is-active { color: var(--quote-red); }
.schepers-quote__progress button.is-active::after { background: var(--quote-red); }
.schepers-quote__progress button.is-active span { border-color: var(--quote-red); background: var(--quote-red); color: #fff; }
.schepers-quote__progress button.is-complete span { border-color: var(--quote-green); background: var(--quote-green); color: transparent; }
.schepers-quote__progress button.is-complete span::after { content: "✓"; position: absolute; color: #fff; }

.schepers-quote__form { padding: clamp(1.25rem, 4vw, 2.5rem); }
.schepers-quote__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.schepers-quote.is-initialized .schepers-quote__step { display: none; }
.schepers-quote.is-initialized .schepers-quote__step.is-active { display: block; animation: quote-fade .22s ease-out; }
.schepers-quote__step legend { display: block; width: 100%; margin: 0 0 .45rem; padding: 0; font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
.schepers-quote__step legend:focus { outline: none; }
.schepers-quote__step-intro { margin: 0 0 2rem; color: var(--quote-gray); line-height: 1.55; }
.schepers-quote__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.schepers-quote__grid[hidden] { display: none; }
.schepers-quote__field { min-width: 0; margin-bottom: 1.3rem; }
.schepers-quote__field--full { width: 100%; }
.schepers-quote__field label, .schepers-quote__label { display: block; margin-bottom: .5rem; font-size: .96rem; font-weight: 700; line-height: 1.35; }
.schepers-quote__field label > span, .schepers-quote__label > span { color: var(--quote-red); }
.schepers-quote__field-help { margin: -.15rem 0 .75rem; color: var(--quote-gray); font-size: .92rem; line-height: 1.45; }
.schepers-quote__field[hidden] { display: none; }
.schepers-quote input[type="text"], .schepers-quote input[type="email"], .schepers-quote input[type="tel"], .schepers-quote input[type="number"], .schepers-quote input[type="date"], .schepers-quote input[type="time"], .schepers-quote select, .schepers-quote textarea { width: 100%; min-width: 0; min-height: 52px; padding: .8rem .95rem; border: 2px solid #c7c7c4; border-radius: 8px; outline: 0; background: #fff; color: #1e1e1e; font: inherit; transition: border-color .18s ease, box-shadow .18s ease; }
.schepers-quote textarea { min-height: 112px; resize: vertical; }
.schepers-quote input:focus, .schepers-quote select:focus, .schepers-quote textarea:focus { border-color: var(--quote-red); box-shadow: 0 0 0 4px rgba(196, 28, 40, .12); }
.schepers-quote input::placeholder, .schepers-quote textarea::placeholder { color: #81817f; opacity: 1; }
.schepers-quote input:invalid:not(:placeholder-shown) { border-color: var(--quote-red); }
.schepers-quote__choices { display: flex; flex-wrap: wrap; gap: .8rem; }
.schepers-quote__choices label, .schepers-quote__checkbox-grid label { display: flex; gap: .55rem; align-items: center; min-height: 48px; margin: 0; padding: .65rem .85rem; border: 1px solid var(--quote-border); border-radius: 8px; background: #fff; font-weight: 400; cursor: pointer; }
.schepers-quote__choices input, .schepers-quote__checkbox-grid input, .schepers-quote__privacy input { width: 19px; height: 19px; accent-color: var(--quote-red); }
.schepers-quote__checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.schepers-quote__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid #ececea; }
.schepers-quote__button { display: inline-flex; gap: .65rem; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.4rem; border: 2px solid var(--quote-red); border-radius: 8px; background: var(--quote-red); color: #fff; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.schepers-quote__button:hover, .schepers-quote__button:focus-visible { border-color: var(--quote-red-dark); background: var(--quote-red-dark); color: #fff; transform: translateY(-1px); }
.schepers-quote__button:focus-visible { outline: 3px solid rgba(196, 28, 40, .25); outline-offset: 2px; }
.schepers-quote__button--secondary { margin-right: auto; border-color: #aaa; background: #fff; color: #333; }
.schepers-quote__button--secondary:hover, .schepers-quote__button--secondary:focus-visible { border-color: #777; background: #f3f3f3; color: #111; }
.schepers-quote__button:disabled { opacity: .65; cursor: wait; transform: none; }

.schepers-quote__help { position: sticky; top: 1.5rem; display: grid; gap: 1rem; }
.schepers-quote__help-card { padding: 1.5rem; border-left: 5px solid var(--quote-green); border-radius: 8px; background: rgba(74, 157, 85, .1); }
.schepers-quote__help-card[hidden] { display: none; }
.schepers-quote__help-card h2 { margin: 0 0 .7rem !important; font-size: 1.2rem !important; line-height: 1.3; }
.schepers-quote__help-card p { margin: 0; color: #3d4d3f; line-height: 1.55; }
.schepers-quote__contact-card { display: grid; gap: .4rem; padding: 1.35rem; border-radius: 8px; background: var(--quote-gray); color: #fff; }
.schepers-quote__contact-card a { color: #fff; font-weight: 700; text-decoration: none; }
.schepers-quote__contact-card a:hover { text-decoration: underline; }
.schepers-quote__summary { margin: 1rem 0 1.5rem; padding: 1.25rem; border-radius: 8px; background: var(--quote-light); }
.schepers-quote__summary h2 { margin: 0 0 1rem !important; font-size: 1.2rem !important; }
.schepers-quote__summary dl { display: grid; gap: .65rem; margin: 0; }
.schepers-quote__summary dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; }
.schepers-quote__summary dt { font-weight: 700; }
.schepers-quote__summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.schepers-quote__privacy { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem 0; line-height: 1.45; cursor: pointer; }
.schepers-quote__privacy input { flex: 0 0 auto; margin-top: .12rem; }
.schepers-quote__loading-modal { position: fixed; z-index: 99999; inset: 0; display: grid; padding: 1.25rem; place-items: center; background: rgba(25, 25, 25, .72); backdrop-filter: blur(4px); }
.schepers-quote__loading-modal[hidden] { display: none; }
.schepers-quote__loading-modal:focus { outline: none; }
.schepers-quote__loading-card { width: min(100%, 470px); padding: clamp(2rem, 6vw, 3rem); border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .24); text-align: center; }
.schepers-quote__loading-card h2 { margin: 0 0 .65rem; color: #1e1e1e; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.2; }
.schepers-quote__loading-card p { margin: 0; color: var(--quote-gray); font-size: 1.02rem; line-height: 1.55; }
.schepers-quote__bus-animation { position: relative; height: 82px; margin: 0 auto 1.5rem; overflow: hidden; border-radius: 8px; }
.schepers-quote__bus-animation::before { content: ""; position: absolute; right: 0; bottom: 10px; left: 0; height: 3px; background: repeating-linear-gradient(90deg, #bbb 0 24px, transparent 24px 40px); animation: quote-road 1s linear infinite; }
.schepers-quote__bus { position: absolute; bottom: 17px; left: calc(50% - 45px); width: 90px; height: 45px; border: 3px solid var(--quote-red-dark); border-radius: 10px 15px 6px 6px; background: var(--quote-red); animation: quote-bus .55s ease-in-out infinite alternate; }
.schepers-quote__bus::before { content: ""; position: absolute; top: 6px; right: 8px; left: 8px; height: 17px; border-radius: 4px 8px 3px 3px; background: repeating-linear-gradient(90deg, #eaf6fa 0 16px, var(--quote-red-dark) 16px 20px); }
.schepers-quote__bus::after { content: ""; position: absolute; bottom: -10px; left: 12px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: #292929; box-shadow: 49px 0 0 -3px #292929, 49px 0 0 0 #fff, 49px 0 0 3px #292929; }
.schepers-quote__honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.schepers-quote__alert { margin: 0 0 1.5rem; padding: 1rem 1.2rem; border-left: 5px solid var(--quote-red); border-radius: 6px; background: rgba(196, 28, 40, .1); }
.schepers-quote__success { max-width: 760px; margin: 1rem auto; padding: clamp(2rem, 6vw, 4rem); border: 1px solid var(--quote-border); border-radius: 12px; background: #fff; box-shadow: 0 16px 45px rgba(0, 0, 0, .08); text-align: center; }
.schepers-quote__success:focus { outline: none; }
.schepers-quote__success-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 1.25rem; place-items: center; border-radius: 50%; background: var(--quote-green); color: #fff; font-size: 2rem; font-weight: 700; }
.schepers-quote__success h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; }
.schepers-quote__success p { color: var(--quote-gray); font-size: 1.08rem; line-height: 1.6; }
.schepers-quote__reference { padding: .8rem; border-radius: 6px; background: var(--quote-light); }

@keyframes quote-fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes quote-road { to { background-position-x: -40px; } }
@keyframes quote-bus { to { transform: translateY(-3px) rotate(-.5deg); } }

@media (max-width: 991px) {
  .schepers-quote__layout { grid-template-columns: 1fr; }
  .schepers-quote__help { position: static; grid-row: 1; }
  .schepers-quote__contact-card { display: none; }
}

@media (max-width: 767px) {
  .schepers-quote { padding-top: 2rem; }
  .schepers-quote__container { width: min(100% - 1rem, 1180px); }
  .schepers-quote__progress { padding: 0 .35rem; }
  .schepers-quote__progress button { flex-direction: column; gap: .35rem; justify-content: center; padding: .9rem .2rem; text-align: center; }
  .schepers-quote__progress button strong { width: 100%; font-size: .72rem; }
  .schepers-quote__grid, .schepers-quote__checkbox-grid { grid-template-columns: 1fr; gap: 0; }
  .schepers-quote__checkbox-grid { gap: .55rem; }
  .schepers-quote__actions { flex-direction: column-reverse; }
  .schepers-quote__button, .schepers-quote__button--secondary { width: 100%; margin: 0; }
  .schepers-quote__summary dl > div { grid-template-columns: 1fr; gap: .15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .schepers-quote *, .schepers-quote *::before, .schepers-quote *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
