.website-heizreport {
  & .__invitation a { color: var(--blue); }
  & iframe { min-height: 24rem; scroll-margin-top: 8rem; }
}

.heizreport-embed {
  margin: 0; padding: 24px; color: var(--ink); background: var(--bg); font: 400 17px/1.6 var(--f-body);

  & * { box-sizing: border-box; }
  & :is(h1, h2, h3) { font-family: var(--f-display); }
  & :is(button, input, select, textarea) { font-family: inherit; }
  & a { color: var(--blue); }
  & .__terms { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
  &[data-foerderreport-modal-locked="true"] { position: static !important; overflow: visible; }
  & #wp_check_script {
    padding: 0;

    & :is(h1, h2, h3) { color: var(--ink); }
    & .option { border-radius: var(--r); }
    & .option.selected { box-shadow: none; background: var(--tint); }
    & button { border-radius: var(--r); font-weight: 600; cursor: pointer; }
    & .progress-bar { background: var(--blue); }
    & .nav-buttons { max-width: min(100%, 640px); }
    & h2 { font-size: 28px; line-height: 1.2; }
    & h3 { font-size: 20px; line-height: 1.3; }
  }
  & #heizreport-foerderrechner {
    & :is(.foerderRechnerContainer, .foerderRechnerContainer input, .foerderRechnerContainer select) { font-family: inherit; }
    & .foerderRechnerContainer button { border-radius: var(--r); }
    & .foerderRechner-slider-head { flex-wrap: wrap; }
    & .foerderRechnerContainer:has(.foerderRechner-modal-open) > form { display: none; }
    & .foerderRechner-modal-background { display: none; }
    & .foerderRechner-modal {
      position: relative; top: auto; left: auto; width: 100%; max-width: 640px;
      height: auto; max-height: none; margin: 0 auto; padding: 0; border: 0;
    }
    & :is(.foerderRechner-modal-header, .foerderRechner-modal-content) { width: 100%; margin: 16px 0; border: 0; }
    & .foerderRechner-modal-header { padding-right: 32px; }
    & .foerderRechner-modal-close { right: 0; }
  }

  @media (max-width: 768px) {
    padding: 16px;

    & #wp_check_script .options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; }
    & #wp_check_script .option { width: auto; min-width: 0; min-height: 72px; padding: 12px 8px; gap: 8px; }
    & #wp_check_script .option svg { width: 24px; height: 24px; }
  }

  @media (prefers-reduced-motion: reduce) {
    & * { animation: none !important; transition: none !important; }
  }
}
