.offerte-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.offerte-honeypot {
  display: none;
}

.offerte-wrap .section-title {
  font-size: 1.5rem;
  line-height: 1.25;
}

.offerte-wrap.is-post-submit > .section-title,
.offerte-wrap.is-post-submit > .services-intro {
  display: none;
}

.offerte-card {
  position: relative;
}

.offerte-flow {
  isolation: isolate;
  position: relative;
  overflow: visible;
  transition: min-height 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.offerte-panel {
  transition: transform 1.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.offerte-panel--form {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 34px);
}

.offerte-panel--thanks {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: start center;
  padding: 0;
  transform: translateX(calc(-100vw - 96px));
  opacity: 1;
  pointer-events: none;
}

.offerte-flow.is-complete .offerte-panel--form {
  transform: translateX(calc(100vw + 96px));
  pointer-events: none;
}

.offerte-flow.is-complete .offerte-panel--thanks {
  transform: translateX(0);
  pointer-events: auto;
}

.offerte-flow.is-settled {
  max-width: 560px;
  margin-inline: auto;
  overflow: visible;
}

.offerte-flow.is-settled .offerte-panel--form {
  display: none;
}

.offerte-flow.is-settled .offerte-panel--thanks {
  position: relative;
  inset: auto;
  padding: 0;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.offerte-thanks-card {
  width: min(100%, 520px);
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--line) 82%, var(--brand) 18%);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 2.9vw, 30px);
  display: grid;
  gap: 16px;
}

.offerte-thanks-title {
  margin: 0;
  font-size: clamp(1.24rem, 2.4vw, 1.58rem);
  line-height: 1.25;
}

.offerte-thanks-copy {
  margin: 0;
  line-height: 1.5;
  color: color-mix(in oklab, var(--text) 80%, var(--muted) 20%);
}

.offerte-redirect {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.offerte-redirect__label {
  font-size: 0.95rem;
  color: var(--muted);
}

.offerte-redirect__track {
  height: 36px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--line) 84%, var(--brand) 16%);
  background: color-mix(in oklab, var(--card) 92%, var(--line) 8%);
  overflow: hidden;
}

.offerte-redirect__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
background: linear-gradient(
  90deg,
  color-mix(in oklab, var(--brand) 86%, #fff 14%),
  color-mix(in oklab, var(--brand) 74%, #fff 26%)
);
}

.offerte-wrap > .services-intro {
  margin: 0 0 16px;
}

.offerte-form {
  display: grid;
  gap: 20px;
  margin-top: 0;
}

.offerte-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.offerte-form .form-row.is-single {
  grid-template-columns: 1fr;
}

.offerte-field label:not(.offerte-file-btn) {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

.offerte-field input,
.offerte-field select,
.offerte-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  padding: 12px 14px;
  box-sizing: border-box;
  line-height: 1.35;
}

.offerte-field input,
.offerte-field select {
  min-height: 48px;
}

.offerte-field select {
  height: 48px;
}

.offerte-field textarea {
  min-height: 150px;
  resize: vertical;
}

.offerte-checks {
  margin: 2px 0;
  padding: 0;
  border: 0;
}

.offerte-checks legend {
  font-weight: 700;
  margin-bottom: 10px;
}

.offerte-meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.offerte-options-grid {
  display: grid;
  gap: 12px;
}

.offerte-options-grid label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.offerte-options-grid input {
  margin-top: 3px;
}

.offerte-form input[type="radio"],
.offerte-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  display: inline-grid;
  place-content: center;
  border: 1.5px solid color-mix(in oklab, var(--muted) 64%, var(--line) 36%);
  background: var(--card);
  cursor: pointer;
transition:
  border-color 0.14s ease,
  background-color 0.14s ease,
  box-shadow 0.14s ease;
}

.offerte-form input[type="radio"] {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.offerte-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.offerte-form input[type="radio"]::before,
.offerte-form input[type="checkbox"]::before {
  content: "";
  transform: scale(0);
  transition: transform 0.14s ease;
}

.offerte-form input[type="radio"]::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.offerte-form input[type="radio"]:checked {
  border-color: var(--brand);
}

.offerte-form input[type="radio"]:checked::before {
  transform: scale(1);
}

.offerte-form input[type="checkbox"]::before {
  width: 8px;
  height: 5px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}

.offerte-form input[type="checkbox"]:checked {
  border-color: var(--brand);
  background: var(--brand);
}

.offerte-form input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.offerte-form input[type="radio"]:focus-visible,
.offerte-form input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.offerte-audience-hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.offerte-werkzaamheden {
  display: grid;
  gap: 14px;
}

.offerte-werkzaamheden .offerte-checks {
  margin: 0;
}

.offerte-checks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.offerte-checks-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.offerte-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.45;
  margin-top: 10px;
}

.offerte-consent input[type="checkbox"] {
  width: 13px;
  height: 13px;
  margin-top: 4px;
  flex: 0 0 13px;
}

.offerte-consent input[type="checkbox"]::before {
  width: 6px;
  height: 3px;
  border-width: 1.6px;
}

.offerte-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}

.offerte-file-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.offerte-file-btn {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  margin-bottom: 0;
}

.offerte-file-btn svg {
  width: 28px;
  height: 28px;
  display: block;
  transform: scale(1.2);
  transform-origin: center;
}

.offerte-file-btn span {
  display: inline-block;
  line-height: 1;
}

.offerte-file-name {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.offerte-submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  padding: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}

.offerte-submit {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(50%, 420px);
  min-height: 58px;
  margin-top: 5px;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.offerte-submit-stack {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.offerte-form-error {
  margin: 0;
  font-size: 0.94rem;
  color: #b42318;
  text-align: center;
}

.offerte-footer-link {
  text-align: center;
}

@media (max-width: 760px) {
.offerte-form {
  gap: 16px;
}

.offerte-form .form-row,
.offerte-checks-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.offerte-submit {
  width: min(100%, 360px);
}

}
