/* KFZ Gutachten Linsmaier – Block 10 / Gutachten-Check */
.iwfc-project-check,
.iwfc-project-check * {
  box-sizing: border-box;
}

.iwfc-project-check {
  --kgl-yellow: #ffd656;
  --kgl-yellow-strong: #f4c52f;
  --kgl-yellow-soft: #fff8dc;
  --kgl-ink: #17191c;
  --kgl-copy: #53575d;
  --kgl-line: #e5e2d9;
  --kgl-white: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 24px;
  background: #fff;
  color: var(--kgl-ink);
  font-family: inherit;
}

.iwfc-project-check__background,
.iwfc-project-check__grid,
.iwfc-project-check__glow,
.iwfc-project-check__shape {
  position: absolute;
  pointer-events: none;
}

.iwfc-project-check__background {
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.iwfc-project-check__grid {
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(21, 23, 26, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 23, 26, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 38%, #000 78%, transparent);
}

.iwfc-project-check__glow--left {
  width: 460px;
  height: 460px;
  left: -300px;
  top: 18%;
  border-radius: 50%;
  background: rgba(255, 214, 86, .11);
  filter: blur(12px);
}

.iwfc-project-check__glow--right {
  width: 520px;
  height: 520px;
  right: -360px;
  bottom: -170px;
  border-radius: 50%;
  background: rgba(255, 214, 86, .10);
  filter: blur(18px);
}

.iwfc-project-check__shape {
  width: 170px;
  height: 92px;
  border: 1px solid rgba(218, 169, 19, .18);
  border-radius: 20px;
  transform: rotate(11deg);
}

.iwfc-project-check__shape--one {
  right: 4%;
  top: 12%;
}

.iwfc-project-check__shape--two {
  left: 2%;
  bottom: 9%;
  transform: rotate(-8deg);
}

.iwfc-project-check__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.iwfc-project-check__intro {
  max-width: 820px;
  margin: 0 0 clamp(38px, 4vw, 54px);
  text-align: left;
}

.iwfc-project-check__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 11px;
  padding: 8px 14px 8px 9px;
  margin: 0 0 22px;
  border: 1px solid rgba(201, 155, 10, .30);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(17, 20, 24, .05);
  color: #2b2d30;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.iwfc-project-check__kicker-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(214, 166, 18, .36);
  border-radius: 8px;
  background: var(--kgl-yellow-soft);
}

.iwfc-project-check__kicker-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iwfc-project-check__title {
  max-width: 900px;
  margin: 0;
  color: var(--kgl-ink);
  font-size: clamp(36px, 3.35vw, 50px);
  font-weight: 730;
  letter-spacing: -.043em;
  line-height: 1.06;
}

.iwfc-project-check__lead {
  max-width: 760px;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--kgl-yellow);
  color: var(--kgl-copy);
  font-size: 17px;
  line-height: 1.68;
}

.iwfc-project-check__layout {
  display: grid;
  grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: stretch;
}

.iwfc-project-check__aside {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.5vw, 46px);
  border: 1px solid rgba(255, 214, 86, .38);
  border-radius: 22px;
  background: linear-gradient(145deg, #202226 0%, #141619 100%);
  box-shadow: 0 24px 55px rgba(17, 19, 22, .14);
  color: #fff;
}

.iwfc-project-check__aside::after {
  position: absolute;
  width: 210px;
  height: 118px;
  right: -62px;
  top: -24px;
  border: 1px solid rgba(255, 214, 86, .22);
  border-radius: 22px;
  transform: rotate(13deg);
  content: "";
}

.iwfc-project-check__person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.iwfc-project-check__portrait {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  overflow: hidden;
  border: 3px solid var(--kgl-yellow);
  border-radius: 50%;
  background: #e8e8e8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.iwfc-project-check__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 22%;
}

.iwfc-project-check__person strong,
.iwfc-project-check__person span {
  display: block;
}

.iwfc-project-check__person strong {
  margin-bottom: 5px;
  font-size: 21px;
  line-height: 1.2;
}

.iwfc-project-check__person span {
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
  line-height: 1.45;
}

.iwfc-project-check__aside-copy {
  margin: 0 0 27px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.68;
}

.iwfc-project-check__benefits {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.iwfc-project-check__benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .91);
  font-size: 14px;
  line-height: 1.42;
}

.iwfc-project-check__benefits svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  padding: 4px;
  border: 1px solid rgba(255, 214, 86, .48);
  border-radius: 6px;
  fill: none;
  stroke: var(--kgl-yellow);
  stroke-width: 2.2;
}

.iwfc-project-check__phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.iwfc-project-check__phone span,
.iwfc-project-check__phone a {
  display: block;
}

.iwfc-project-check__phone span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .60);
  font-size: 12px;
}

.iwfc-project-check__phone a {
  color: #fff;
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
}

.iwfc-project-check__phone-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--kgl-yellow);
  color: var(--kgl-ink);
}

.iwfc-project-check__phone-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.iwfc-project-check__funnel-shell {
  min-width: 0;
}

.iwf {
  height: 100%;
  min-width: 0;
  padding: clamp(28px, 3.6vw, 48px);
  border: 1px solid var(--kgl-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 58px rgba(22, 25, 29, .09);
  color: var(--kgl-ink);
}

.iwf__form {
  height: 100%;
  margin: 0;
}

.iwf__honeypot,
.iwf__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.iwf__progress {
  margin-bottom: 32px;
}

.iwf__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  color: #6d7075;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.iwf__progress-track {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceae4;
}

.iwf__progress-track > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  border-radius: inherit;
  background: var(--kgl-yellow);
  transition: width .35s ease;
}

.iwf__step[hidden],
.iwf__conditional[hidden] {
  display: none !important;
}

.iwf__step.is-active {
  animation: iwf-fade-in .28s ease both;
}

@keyframes iwf-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.iwf__step-head {
  margin-bottom: 25px;
}

.iwf__eyebrow {
  margin: 0 0 9px;
  color: #8b6c0f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .095em;
  line-height: 1.3;
  text-transform: uppercase;
}

.iwf__step-head h3,
.iwf--success h3 {
  margin: 0;
  color: var(--kgl-ink);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.12;
  outline: none;
}

.iwf__step-head > p:last-child,
.iwf--success > p {
  margin: 12px 0 0;
  color: var(--kgl-copy);
  font-size: 15px;
  line-height: 1.58;
}

.iwf__error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #d56b62;
  border-radius: 9px;
  background: #fff3f1;
  color: #8b2922;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  outline: none;
}

.iwf__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding: 0;
  margin: 0;
  border: 0;
}

.iwf__options--concern {
  grid-template-columns: 1fr;
}

.iwf-choice {
  position: relative;
  min-width: 0;
}

.iwf-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.iwf-choice label {
  display: flex;
  min-height: 66px;
  height: 100%;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #dfddd7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(22, 24, 27, .035);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.iwf-choice label:hover {
  border-color: rgba(197, 148, 0, .48);
  box-shadow: 0 9px 22px rgba(22, 24, 27, .07);
  transform: translateY(-1px);
}

.iwf-choice input:focus-visible + label {
  outline: 3px solid rgba(255, 214, 86, .42);
  outline-offset: 2px;
}

.iwf-choice input:checked + label {
  border-color: #e1b72e;
  background: var(--kgl-yellow-soft);
  box-shadow: inset 0 0 0 1px rgba(238, 189, 33, .24), 0 9px 23px rgba(134, 99, 0, .09);
}

.iwf-choice__indicator {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1.5px solid #b9b7b1;
  border-radius: 50%;
  background: #fff;
}

.iwf-choice input:checked + label .iwf-choice__indicator {
  border-color: #d2a20a;
  background: var(--kgl-yellow);
}

.iwf-choice input:checked + label .iwf-choice__indicator::after {
  position: absolute;
  width: 7px;
  height: 4px;
  left: 6px;
  top: 6px;
  border-left: 2px solid #151719;
  border-bottom: 2px solid #151719;
  transform: rotate(-45deg);
  content: "";
}

.iwf-choice__text {
  min-width: 0;
  flex: 1;
}

.iwf-choice__text strong,
.iwf-choice__text small {
  display: block;
}

.iwf-choice__text strong {
  color: #232528;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

.iwf-choice__text small {
  margin-top: 3px;
  color: #696d72;
  font-size: 12px;
  line-height: 1.42;
}

.iwf-choice__action {
  color: #8a6a0d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.iwf__question-group {
  padding: 0;
  margin: 0 0 24px;
  border: 0;
}

.iwf__question-group > legend {
  width: 100%;
  margin: 0 0 11px;
  padding: 0;
  color: #2d3033;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.iwf-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.iwf-fields--location {
  grid-template-columns: minmax(220px, 350px);
}

.iwf-field--full {
  grid-column: 1 / -1;
}

.iwf-field__label {
  display: block;
  margin: 0 0 8px;
  color: #303236;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.4;
}

.iwf-field__label span {
  color: #7b7e83;
  font-size: 11px;
  font-weight: 500;
}

.iwf-input,
.iwf-textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d8d6d0;
  border-radius: 10px;
  background: #fff;
  color: #202225;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.iwf-textarea {
  min-height: 104px;
  resize: vertical;
}

.iwf-input:focus,
.iwf-textarea:focus {
  border-color: #d3a81e;
  box-shadow: 0 0 0 3px rgba(255, 214, 86, .25);
}

.iwf-input.is-invalid,
.iwf-textarea.is-invalid,
.iwf-choice input.is-invalid + label,
.iwf-consent input.is-invalid + .iwf-consent__box,
.iwf-field input[type="file"].is-invalid + * {
  border-color: #c94e45;
}

.iwf-field--upload {
  margin-bottom: 20px;
}

.iwf-upload {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px dashed #d0b75d;
  border-radius: 12px;
  background: #fffdf5;
  cursor: pointer;
}

.iwf-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.iwf-upload__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--kgl-yellow);
  color: #17191b;
  font-size: 24px;
  line-height: 1;
}

.iwf-upload strong,
.iwf-upload small {
  display: block;
}

.iwf-upload strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.iwf-upload small {
  color: #6e7175;
  font-size: 12px;
  line-height: 1.4;
}

.iwf__area-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  margin: 0 0 24px;
  border: 1px solid #e4dfcc;
  border-radius: 10px;
  background: #fffdf6;
}

.iwf__area-note > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 6px;
  background: var(--kgl-yellow);
  color: #202225;
  font-size: 12px;
  font-weight: 800;
}

.iwf__area-note p {
  margin: 0;
  color: #5f6267;
  font-size: 12px;
  line-height: 1.52;
}

.iwf-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 22px 0 0;
  color: #65686d;
  font-size: 12px;
  line-height: 1.52;
  cursor: pointer;
}

.iwf-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.iwf-consent__box {
  position: relative;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border: 1.5px solid #aaa9a4;
  border-radius: 5px;
  background: #fff;
}

.iwf-consent input:checked + .iwf-consent__box {
  border-color: #d0a008;
  background: var(--kgl-yellow);
}

.iwf-consent input:checked + .iwf-consent__box::after {
  position: absolute;
  width: 7px;
  height: 4px;
  left: 5px;
  top: 5px;
  border-left: 2px solid #151719;
  border-bottom: 2px solid #151719;
  transform: rotate(-45deg);
  content: "";
}

.iwf-consent a {
  color: #4f3f0c;
  font-weight: 700;
}

.iwf__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  margin-top: 28px;
  border-top: 1px solid #e8e5dd;
}

.iwf-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.iwf-btn--primary {
  margin-left: auto;
  border-color: #deb020;
  background: var(--kgl-yellow);
  box-shadow: 0 9px 24px rgba(155, 114, 0, .16);
  color: #17191b;
}

.iwf-btn--primary:hover {
  background: #ffcf38;
  box-shadow: 0 12px 28px rgba(155, 114, 0, .23);
  transform: translateY(-1px);
}

.iwf-btn--back {
  border-color: #ddd9cf;
  background: #fff;
  color: #4e5156;
}

.iwf-btn:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.iwf__submit-note {
  margin: 11px 0 0;
  color: #76797d;
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.iwf--success {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.iwf-success__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid #e1b62c;
  border-radius: 18px;
  background: var(--kgl-yellow);
  color: #17191b;
  font-size: 30px;
  font-weight: 800;
}

.iwf-success__urgent {
  width: 100%;
  padding: 18px;
  margin-top: 26px;
  border: 1px solid #e3dec9;
  border-radius: 12px;
  background: #fffdf4;
}

.iwf-success__urgent span,
.iwf-success__urgent a {
  display: block;
}

.iwf-success__urgent span {
  margin-bottom: 5px;
  color: #65686c;
  font-size: 12px;
}

.iwf-success__urgent a {
  color: #1e2023;
  font-size: 17px;
  font-weight: 780;
  text-decoration: none;
}

@media (max-width: 980px) {
  .iwfc-project-check__layout {
    grid-template-columns: 1fr;
  }

  .iwfc-project-check__aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }

  .iwfc-project-check__person,
  .iwfc-project-check__aside-copy,
  .iwfc-project-check__phone {
    grid-column: 1;
  }

  .iwfc-project-check__benefits {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin: 0;
  }
}

@media (max-width: 720px) {
  .iwfc-project-check {
    padding: 68px 16px;
  }

  .iwfc-project-check__kicker {
    max-width: 100%;
    font-size: 10px;
    letter-spacing: .065em;
  }

  .iwfc-project-check__title {
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.08;
  }

  .iwfc-project-check__lead {
    margin-top: 19px;
    font-size: 15px;
    line-height: 1.62;
  }

  .iwfc-project-check__aside {
    display: block;
    padding: 26px 22px;
    border-radius: 18px;
  }

  .iwfc-project-check__portrait {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .iwfc-project-check__person strong {
    font-size: 19px;
  }

  .iwfc-project-check__benefits {
    margin-bottom: 26px;
  }

  .iwf {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .iwf__progress {
    margin-bottom: 26px;
  }

  .iwf__progress-meta {
    font-size: 10px;
  }

  .iwf__step-head h3,
  .iwf--success h3 {
    font-size: clamp(25px, 7.7vw, 31px);
  }

  .iwf__options,
  .iwf-fields {
    grid-template-columns: 1fr;
  }

  .iwf-fields--location {
    grid-template-columns: 1fr;
  }

  .iwf-choice label {
    min-height: 61px;
    padding: 12px;
  }

  .iwf-choice__action {
    display: none;
  }

  .iwf__nav {
    flex-wrap: wrap;
    padding-top: 21px;
    margin-top: 23px;
  }

  .iwf-btn {
    min-height: 50px;
  }

  .iwf-btn--primary {
    flex: 1 1 220px;
  }

  .iwf__submit-note {
    text-align: left;
  }

  .iwf--success {
    min-height: 420px;
  }
}

@media (max-width: 440px) {
  .iwfc-project-check__phone {
    align-items: flex-end;
  }

  .iwf__progress-meta {
    align-items: flex-end;
  }

  .iwf__progress-meta span:last-child {
    max-width: 48%;
    text-align: right;
  }

  .iwf__nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .iwf-btn--primary {
    width: 100%;
  }
}

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